./textproc/uncrustify, Source Code Beautifier for C-like languages

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 0.69.0, Package name: uncrustify-0.69.0, Maintainer: ryoon

Source Code Beautifier for C, C++, C#, ObjectiveC, D, Java, Pawn
and VALA. The goals of this project are simple: Create a highly
configurable, easily modifiable source code beautifier.


Required to build:
[lang/python27] [pkgtools/cwrappers]

Master sites:

SHA1: 4956ef18bb53037f0cfcb4881f34b4c210372ee0
RMD160: f1ecfefbfd8ad8ac75e3345c6f5951c0d8921775
Filesize: 1562.881 KB

Version history: (Expand)


CVS history: (Expand)


   2019-07-09 22:36:21 by Nia Alarie | Files touched by this commit (1)
Log message:
uncrustify: ... actually, PYTHON_VERSIONS_ACCEPTED is better here
   2019-07-09 22:23:07 by Nia Alarie | Files touched by this commit (1)
Log message:
uncrustify: Needs python to build, set PYTHON_FOR_BUILD_ONLY etc
   2019-05-14 14:54:18 by Ryo ONODERA | Files touched by this commit (4) | Package updated
Log message:
Update to 0.69.0

* Use CMake
* Install cfg files like before

Changelog:
Change highlights in uncrustify-0.69.0 (May 2019)
-------------------------------------------------------------------------------

Changing option:
  - The option name is changed from 'align_assign_func_proto' to \ 
'align_assign_func_proto_span'
      Mar  4 17:19:40 2019

New options:
  - align_constr_value_gap               Apr 24 2019
  - align_constr_value_span              Apr 24 2019
  - align_constr_value_thresh            Apr 24 2019
  - align_func_proto_thresh              Apr  5 2019
  - indent_col1_multi_string_literal     Mar 31 2019
  - sp_paren_noexcept                    Jan 13 2019
  - sp_paren_qualifier                   Jan 11 2019
  - sp_type_question                     Jan 11 2019
  - sp_inside_angle_empty                Dec 27 2018
  - nl_fdef_brace_cond                   Nov 29 2018
  - nl_func_call_start                   Nov 29 2018

Change highlights in uncrustify-0.68 (November 2018)
-------------------------------------------------------------------------------

New options:
  - align_same_func_call_params_span     Nov  9
  - align_same_func_call_params_thresh   Nov  9
  - nl_class_leave_one_liner_groups      Oct 17
  - nl_inside_namespace                  Aug 26
  - sp_return_brace                      Aug 21
  - align_assign_decl_func               Jul 24
  - sp_brace_brace                       Jul 23
  - sp_after_decltype                    Jul 22
  - sp_decltype_paren                    Jul 22
  - align_right_cmt_same_level           Jul 14
  - nl_oc_mdef_brace                     Jul  8
  - mod_enum_last_comma                  Jul  8
  - sp_type_ellipsis                     Jun 15
  - sp_paren_ellipsis                    Jun 15
  - sp_sizeof_ellipsis                   Jun 15
  - sp_sizeof_ellipsis_paren             Jun 15
  - indent_continue_class_head           May 30

Bugfix:
 - Issue # 1709, 1713, 1729, 1736, 1739, 1740, 1748, 1752, 1755, 1758, 1760,
     1762, 1763, 1776, 1778, 1782, 1783, 1784, 1786, 1788, 1789, 1804, 1827,
     1832, 1838, 1839, 1854, 1865, 1867, 1870, 1875, 1876, 1888, 1904, 1916,
     1917, 1918, 1919, 1942, 1946, 1947, 1958, 1960, 1962, 1965, 1969, 1979,
     1982, 1985, 1997, 2000, 2001, 2009, 2014, 2015, 2024, 2028, 2032, 2033,
     2035, 2037, 2046, 2055

Change highlights in uncrustify-0.67 (May 2018)
-------------------------------------------------------------------------------

Changing option:

Removed option:

New options:
  - indent_first_for_expr                Apr 29
  - indent_semicolon_for_paren           Apr 29
  - nl_oc_interface_brace                Apr 13
  - nl_oc_implementation_brace           Apr 13
  - indent_cpp_lambda_only_once          Mar 24
  - indent_cs_delegate_body              Mar 18
  - sp_after_noexcept                    Mar 18
  - indent_single_newlines               Mar  6
  - sp_after_ptr_block_caret             Feb 24
  - sp_after_oc_synchronized             Feb 24
  - sp_inside_square_oc_array            Feb 23
  - sp_oc_catch_paren                    Feb 23
  - sp_oc_catch_brace                    Feb 23
  - sp_oc_brace_catch                    Feb 23
  - nl_oc_catch_brace                    Feb 23
  - nl_oc_brace_catch                    Feb 23
  - nl_cs_property_leave_one_liners      Feb 16
  - indent_member_single                 Feb 10
  - sp_func_call_user_paren_paren        Feb  5
  - sp_func_call_user_inside_fparen      Feb  5
  - sp_inside_braces_oc_dict             Feb  5
  - nl_create_func_def_one_liner         Jan 17
  - nl_namespace_two_to_one_liner        Jan 15
  - nl_squeeze_paren_close               Jan 15
  - sp_fparen_brace_initializer          Jan 12
  - sp_cpp_before_struct_binding    2018 Jan 12
  - indent_align_paren                   Dec 14
  - nl_tsquare_brace                     Dec  9
  - indent_single_after_return           Nov 28
  - indent_off_after_return_new          Nov 28
  - indent_ignore_asm_block         2017 Nov 05

New keyword:
  - __unused                             Apr 21
  - @synchronized                        Feb 24
  - @available                           Feb 23
  - fixed                                Feb 16
  - @protected                           Feb  4
  - @public                              Feb  4
  - __autoreleasing                      Feb  4
  - __bridge                             Feb  4
  - __bridge_retained                    Feb  4
  - __bridge_transfer                    Feb  4
  - __declspec                           Feb  4
  - __has_include                        Feb  4
  - __has_include_next                   Feb  4
  - __strong                             Feb  4
  - __typeof                             Feb  4
  - __unsafe_unretained                  Feb  4
  - __weak                               Feb  4
  - self                                 Feb  4
  - unsafe_unretained               2018 Feb  4
  - where                           2017 Dec  6

Bugfix:
 - Debian issue #881249 "FTBFS on armel/i386/mips64el/s390x: cpp_33057 \ 
fails"
     is fixed
 - Adopt many bugfix and tests from UT:
     10000, 10002, 10003, 10004, 10005, 10006, 10007, 10008, 10009, 10011,
     10012, 10013, 10014, 10015, 10016, 10018, 10019, 10020, 10021, 10022,
     10023, 10024, 10025, 10027, 10028, 10029, 10030, 10031, 10032, 10033,
     10034, 10035, 10036, 10039, 10044, 10045, 10046, 10047, 10048, 10049,
     10050, 10051, 10052, 10053, 10054, 10054, 10055, 10056, 10057, 10058,
     10060, 10062, 10063, 10065, 10066, 10067, 10069, 10070, 10071, 10072,
     10073, 10074, 10075, 10076, 10077, 10078, 10079, 10080, 10100, 10102,
     10103, 10104,
     60001, 60002, 60003, 60004, 60005, 60006, 60007, 60008, 60009, 60011,
     60012, 60013, 60014, 60015, 60016, 60017, 60018, 60019, 60020, 60021,
     60022, 60023, 60024, 60025, 60026, 60027, 60028, 60029, 60030, 60031,
     60032, 60033, 60034, 60036, 60037, 60038, 60039, 60040

New:
  - Add crash handling for Windows

Change highlights in uncrustify-0.66 (November 2017)
-------------------------------------------------------------------------------

New options:
  - sp_arith_additive                    Oct 17
  - sp_angle_colon                       Oct 17
  - nl_func_call_empty                   Sep 30
  - nl_func_call_paren_empty             Sep 30
  - align_func_params_span               Sep 29
  - align_func_params_thresh             Sep 29
  - align_func_params_gap                Sep 29
  - nl_func_call_paren                   Jul 25
  - indent_paren_after_func_def          Jul 21
  - indent_paren_after_func_decl         Jul 21
  - indent_paren_after_func_call         Jul 21
  - nl_func_paren_empty                  Jul 07
  - nl_func_def_paren_empty              Jul 07
  - indent_switch_pp                     Jun 22
  - pp_indent_case                       Jun 22
  - pp_indent_func_def                   Jun 22
  - pp_indent_extern                     Jun 22
  - pp_indent_brace                      Jun 22

Changing option:
  - The option name is changed from 'align_number_left' to 'align_number_right'

Bugfix:
 - Issue # 548, 1098, 1103, 1108, 1112, 1127, 1134, 1158, 1165, 1170, 1187,
     1200, 1203, 1236, 1249, 1310, 1315, 1340, 1349, 1352, 1366 are fixed

Change highlights in uncrustify-0.65 (May 2017)
-------------------------------------------------------------------------------

New options:
  - nl_before_if_closing_paren                     May 12
  - sp_after_type_brace_init_lst_open              May 09
  - sp_before_type_brace_init_lst_close            May 09
  - sp_inside_type_brace_init_lst                  May 09
  - sp_type_brace_init_lst                         May 09
  - nl_type_brace_init_lst                         May 09
  - nl_type_brace_init_lst_open                    May 09
  - nl_type_brace_init_lst_close                   May 09
  - mod_sort_oc_property_class_weight              May 05
  - mod_full_brace_nl_block_rem_mlcond             Mar 17
  - sp_inside_newop_paren_open                     Mar 13
  - sp_inside_newop_paren                          Mar 13
  - sp_after_newop_paren                           Mar 13
  - sp_inside_newop_paren_close                    Mar 13
  - pp_ignore_define_body                          Feb 18
  - sp_enum_colon                                  Feb 13
  - nl_enum_class                                  Feb 13
  - nl_enum_class_identifier                       Feb 13
  - nl_enum_identifier_colon                       Feb 13
  - nl_enum_colon_type                             Feb 13
  - indent_param                                   Feb 01
  - include_category_0                             Jan 24
  - include_category_1                             Jan 24
  - include_category_2                       2017  Jan 24
  - force_tab_after_define                   2016  Dec 29
  - nl_max_blank_in_func                           Nov 26
  - indent_ternary_operator                        Nov 24
  - indent_using_block                             Oct 20

New:
  - emscripten interface
  - removal of autogen / configure build
  - list options that are now AT_UNUM type
  - change option name from align_number_left to align_number_right

Removed option:
  - dont_protect_xcode_code_placeholders

Removed MS calling convention keywords:
  - __cdecl, __clrcall, __fastcall, __stdcall, __thiscall, __vectorcall

Bugfix:
 - Issue # 324, 398, 404, 497, 525, 575, 633, 638, 643, 646, 663, 666,
     679, 682, 687, 726, 752, 753, 793, 815, 825, 842, 857, 859, 869, 870,
     889, 902, 916, 917, 928, 935, 938, 940, 972, 1002, 1005, 1020, 1030,
     1032, 1041, 1068, 1117, 1139 are fixed
 - Proposal #381, 876 are adopted.

Change highlights in uncrustify-0.64 (October 2016)
-------------------------------------------------------------------------------

New:
 - Support for new C#6 language elements. (Bug #672)
    Expression filter with the keyword 'when' in try/catch is now supported.
    Null conditional operator (?.) is now supported.

New options:
 - align_var_class_span                             Aug 23
 - align_var_class_thresh                           Aug 23
 - align_var_class_gap                              Aug 23
 - pos_enum_comma                                   Aug 14
 - indent_token_after_brace                         Aug  3
 - cmt_multi_first_len_minimum                      Aug  2
 - nl_enum_own_lines                                Aug  1
 - nl_func_class_scope                              Jul 26
 - nl_squeeze_ifdef_top_level                       Jul 24
 - sp_super_paren                                   Jul 21
 - sp_this_paren                                    Jul 21
 - sp_angle_paren_empty                             Jul 21
 - sp_after_operator_sym_empty                      Jul 20
 - sp_skip_vbrace_tokens                            Jul 13
 - indent_cs_delegate_brace                         Jul  9
 - cmt_insert_before_inlines                        Jun 29
 - cmt_insert_before_ctor_dtor                      Jun 29
 - mod_full_brace_if_chain_only                     Jun 28
 - nl_func_decl_start_multi_line                    Jun 28
 - nl_func_def_start_multi_line                     Jun 28
 - nl_func_decl_args_multi_line                     Jun 28
 - nl_func_def_args_multi_line                      Jun 28
 - nl_func_decl_end_multi_line                      Jun 28
 - nl_func_def_end_multi_line                       Jun 28
 - nl_func_call_start_multi_line                    Jun 28
 - nl_func_call_args_multi_line                     Jun 28
 - nl_func_call_end_multi_line                      Jun 28
 - use_options_overriding_for_qt_macros             Jun 16
 - sp_func_def_paren_empty                          Jun 15
 - sp_func_proto_paren_empty                        Jun 15
 - sp_func_class_paren_empty                        Jun 15
 - nl_oc_block_brace                                May 26
 - nl_split_if_one_liner                            May 26
 - nl_split_for_one_line                            May 24
 - nl_split_while_one_liner                         May 24
 - nl_after_func_class_proto                        May 12
 - nl_after_func_class_proto_group                  May 12 2016

Bugfix:
 - Bugs #620, #651, #654, #662, #663, #664, #670, #671, #672, #674 are fixed
 - Issues #322, #323, #359, #405, #408, #412, #478, #481, #495, #503, #509, \ 
#512, #513, #514,
    #518, #519, #520, #521, #522, #524, #529, #530, #533, #536, #539, #542,
    #543, #544, #546, #568 are fixed
 - Proposals #409, #477 are implemented
 - Issue #411 is partialy fixed

Change highlights in uncrustify-0.63 (Mar 2016)
-------------------------------------------------------------------------------

New:
 - The branch uncrustify4Qt is now merged.
 - A configuration file for the sources of uncrustify is provided:
     forUncrustifySources.cfg
 - Some considerations about the problem "stable" are described at
     forUncrustifySources.txt
 - Simplify expressions such as:
     if ((cpd.lang_flags & LANG_PAWN) != 0)
   to
     if (cpd.lang_flags & LANG_PAWN)
 - introduce CT_STDCALL to work with typedef void (__stdcall *func)(); Bug # 633
 - introduce some more MS calling conventions: __cdecl, __clrcall, __fastcall, \ 
__thiscall, __vectorcall
     https://msdn.microsoft.com/en-us/library/984x0h58.aspx

New options:
 - nl_before_func_class_def                         Apr 16
 - nl_before_func_class_proto                       Apr 16
 - nl_before_func_body_def                          Apr 25
 - nl_before_func_body_proto                        Apr 25
 - use_indent_continue_only_once                    Mar  7 2016

Bugfix:
 - Simplify some more expressions.
 - Bugfix for win32 for the flags.
 - make test c/ 00617 stable
 - make test c/ 02501 stable
 - The issue #467 and the test tests/output/c/02100-i2c-core.c are not yet fixed.
 - uncrustify all the sources with forUncrustifySources.cfg
 - better descriptions for options
 - bug #631 is fixed
 - produce a better dump output
 - DbConfig::configuredDatabase()->apply(db); is NOT a declaration of a variable
 - bug # 657 is fixed: change 'mode' if necessary for 'pos_class_comma'
 - fix 3 calls of unc_add_option for "align_oc_msg_colon_span",
     "indent_oc_block_msg", "indent_oc_msg_colon"
 - bugs #664, #662, #654, #653, #651 and #633 are fixed

Reverse:
 - space: drop vbrace tokens... 2014-09-01 06:33:17
   I cannot anderstand this change.
   It makes some troubles: Bug # 637
   No test file for it found
   Reverse the change until more informations could be found

Change:
 - CT_DC_MEMBER + CT_FOR into CT_DC_MEMBER + CT_FUNC_CALL

Some more Qt-macros:
 - Q_GADGET
 - for_each

Change highlights in uncrustify4Qt-0.62 (Oct 2015)
-------------------------------------------------------------------------------
This is an extention of uncrustify to support Qt-macros
 - Q_OBJECT
 - Q_EMIT
 - SLOT
 - SIGNAL
 - Q_FOREACH
 - Q_FOREVER

Change highlights in uncrustify4Qt-0.62 (Oct 2015)
-------------------------------------------------------------------------------
New options:
 - use_indent_func_call_param

Change highlights in uncrustify-0.62 (2 Feb 2016)
-------------------------------------------------------------------------------
This release is just a roll-up of the past year.
Many bugs were squashed and many options were added.

New options:
 - string_replace_tab_chars
 - disable_processing_cmt
 - enable_processing_cmt
 - enable_digraphs
 - indent_class_on_colon
 - indent_shift
 - indent_min_vbrace_open
 - indent_vbrace_open_on_tabstop
 - sp_after_mdatype_commas
 - sp_before_mdatype_commas
 - sp_between_mdatype_commas
 - sp_cmt_cpp_doxygen
 - sp_cmt_cpp_qttr
 - sp_between_new_paren
 - nl_while_leave_one_liners
 - nl_synchronized_brace
 - nl_before_synchronized
 - nl_after_synchronized
 - nl_after_label_colon

Change highlights in uncrustify-0.61 (22 Dec 2014)
-------------------------------------------------------------------------------
This release is just a roll-up of the past two years.
Many bugs were squashed and many options were added.

New options:
 - indent_paren_open_brace
 - indent_namespace_single_indent
 - indent_constr_colon
 - indent_oc_msg_prioritize_first_colon
 - indent_oc_block_msg_xcode_style
 - indent_oc_block_msg_from_keyword
 - indent_oc_block_msg_from_colon
 - indent_oc_block_msg_from_caret
 - indent_oc_block_msg_from_brace
 - sp_enum_paren
 - sp_cparen_oparen
 - sp_after_ptr_star_qualifier
 - sp_after_constr_colon
 - sp_before_constr_colon
 - sp_fparen_dbrace
 - sp_word_brace
 - sp_word_brace_ns
 - sp_cond_colon_before
 - sp_cond_colon_after
 - sp_cond_question_before
 - sp_cond_question_after
 - sp_cond_ternary_short
 - align_keep_extra_space
 - nl_cpp_lambda_leave_one_liners
 - nl_brace_square
 - nl_brace_fparen
 - nl_constr_init_args
 - nl_cpp_ldef_brace
 - nl_paren_dbrace_open
 - nl_constr_colon
 - pos_constr_comma
 - pos_constr_colon
 - mod_add_long_namespace_closebrace_comment
 - cmt_convert_tab_to_spaces
   2015-11-04 03:00:17 by Alistair G. Crooks | Files touched by this commit (797)
Log message:
Add SHA512 digests for distfiles for textproc category

Problems found locating distfiles:
	Package cabocha: missing distfile cabocha-0.68.tar.bz2
	Package convertlit: missing distfile clit18src.zip
	Package php-enchant: missing distfile php-enchant/enchant-1.1.0.tgz

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
   2014-03-31 10:31:44 by Thomas Klausner | Files touched by this commit (3) | Package updated
Log message:
Update to 0.60:

Change highlights in uncrustify-0.60 (1 Jan 2013)
-------------------------------------------------------------------------------
Objective C support was greatly enhanced in this release.
Many bugs were squashed and many options were added.

New options:
 - align_oc_msg_colon_first
 - align_pp_define_together
 - indent_ctor_init_leading
 - indent_func_def_force_col1
 - indent_oc_block
 - indent_oc_block_msg
 - indent_oc_msg_colon
 - ls_code_width
 - nl_after_annotation
 - nl_before_return
 - nl_between_annotation
 - nl_brace_struct_var
 - nl_oc_msg_args
 - nl_oc_msg_leave_one_liner
 - nl_remove_extra_newlines
 - nl_scope_brace
 - nl_typedef_blk_end
 - nl_typedef_blk_in
 - nl_typedef_blk_start
 - nl_unittest_brace
 - nl_var_def_blk_end
 - nl_var_def_blk_in
 - nl_var_def_blk_start
 - nl_version_brace
 - sp_after_for_colon
 - sp_after_oc_dict_colon
 - sp_after_oc_msg_receiver
 - sp_after_oc_property
 - sp_after_throw
 - sp_after_tparen_close
 - sp_annotation_paren
 - sp_before_for_colon
 - sp_before_oc_dict_colon
 - sp_before_pp_stringify
 - sp_before_template_paren
 - sp_cpp_lambda_assign
 - sp_cpp_lambda_paren
 - sp_extern_paren
 - sp_inside_sparen_open
 - sp_inside_tparen
 - sp_permit_cpp11_shift
 - sp_ptr_star_paren

Changed default:
 - sp_pp_stringify = ignore (was add)
   2013-04-29 23:31:13 by Joerg Sonnenberger | Files touched by this commit (38)
Log message:
Add a number of includes hidden by libstdc++'s name space pollution.
   2013-01-13 05:22:34 by Ryo ONODERA | Files touched by this commit (4)
Log message:
Import uncrustify-0.59 as textproc/uncrustify.

Source Code Beautifier for C, C++, C#, ObjectiveC, D, Java, Pawn
and VALA.  The goals of this project are simple: Create a highly
configurable, easily modifiable source code beautifier.