Donate Share

Uncrustify Code Beautifier

File Release Notes and Changelog

Release Name: uncrustify-0.48

Notes:


Changes: Changes in uncrustify-0.48 (18-Jul-2008) ------------------------------------------------------------------------------- - Fix classification of '(' in '#if defined (FOO)' - Add sp_defined_paren - Fix handling of negative in '#if X < -1' - Revert a change that broke indent continuation in an assignment - Fix interaction between nl_squeeze_ifdef and nl_after_{if,for,while,switch,do} - Preprocessor indents are indents, so indent_with_tabs=1 should do tabs - Add pp_indent_count - Handle C++ style casts, such as 'int(42.0)' a bit better - Another rework of template detection - Add sp_before_nl_cont, defaults to 'add' - If a statement starts with 'operator', it is a function call - Change sp_angle_word to be more generic - Add sp_after_operator_sym for "operator ++(" vs "operator ++ (" - Add sp_template_angle for "template<" vs "template <" - Add support for " *INDENT-OFF* " and " *INDENT-ON* " - Shuffle around spacing priorities - Add handling for '...' in variadic templates - Extend nl_template_class to handle anything after 'template <...>' - Treat the template '<' the same as '(' for indenting - Add indent_template_param - Split internal CT_CAST into CT_C_CAST, CT_CPP_CAST and CT_D_CAST - Swap priority of sp_after_angle and sp_before_ptr_star - Change cmt_multi_indent=false to disable all reformatting (needs more work) - Fix align_var_def_span - it wasn't counting newlines when it recursed - Add nl_else_if - mod_full_brace_if: Don't remove braces around certain 'else' statements - Tweak template detection a bit more - Rework and simplify multi-line comment indenting - Add indent_else_if - Improve right-comment aligning - Fix detection of functions with a 'const' return type - Add sp_cond_colon and sp_cond_question - Fine-tune the right comment align stuff - Add cmt_multi_check_last - Add align_right_cmt_gap - Add nl_return_expr - Indent FPAREN_OPEN if after a newline but not before a newline - Give sp_after_operator_sym priority over sp_func_call_paren - Add align_same_func_call_params