commit 6aeb46f1cd34104e6c9134f079469b3385274f4c Author: Ben Gardner Date: Tue Feb 2 20:16:57 2016 -0600 Rework make_win32.sh to build outside of the source tree. commit b08b81937aa0ff9438d6479ddb83419356877b30 Author: Ben Gardner Date: Tue Feb 2 20:16:31 2016 -0600 Update version, config files, run update-defaults.sh, etc commit 34a104aa67cb26c2c3273b769412a403dd6674db Author: Ben Gardner Date: Mon Feb 1 20:54:41 2016 -0600 Update release steps commit a8f4771b2e4ad48d91f14d2c2ceba228c5f93c9d Author: bengardner Date: Sun Jan 31 19:23:17 2016 -0600 PAWN: Cannot modify the #define PATTERN at all So keep it as a single chunk. Go with CT_MACRO for the type for now. commit 41d1e76ccf3ce9d5c968422f2ffe11b1782adc4c Author: bengardner Date: Sun Jan 31 18:24:41 2016 -0600 Correctly parse PAWN #define args Parses the following with %1=>WORD #define xx(%1, %2) foo(%1, %2) commit 10478309dca1c5c5928a9851a4b5916a007969b0 Author: bengardner Date: Sun Jan 31 18:12:58 2016 -0600 Revert "Correctly parse VALA #define args" This reverts commit 602b49c1f98eb51ec9589aa9edf1ac6c1ac1e4c9. commit 602b49c1f98eb51ec9589aa9edf1ac6c1ac1e4c9 Author: bengardner Date: Sun Jan 31 13:38:48 2016 -0600 Correctly parse VALA #define args Parses the following with %1=WORD #define xx(%1, %2) foo(%1, %2) commit 0ce3c3d1107f3fee593c374b87d31e31be74db9e Merge: 244c9de 4c69239 Author: Ben Gardner Date: Sun Jan 31 12:53:26 2016 -0600 Merge pull request #427 from benwaffle/master Add some missing vala keywords commit 4c692395e54183409f31f86e12b51859a6bbc645 Author: Ben Iofel Date: Fri Jan 29 18:13:42 2016 -0500 Add some missing vala keywords commit 244c9de670ccfa47f63dffa7ce43643000d6d352 Merge: 62a2ad9 97fab82 Author: Ben Gardner Date: Thu Jan 28 17:12:06 2016 -0600 Merge pull request #423 from Lykurg/assume2 Automatic language detection for stdin (--assume) commit 97fab8240389a9bc829588ed24c2b295c6ec3bec Author: Lorenz Haas Date: Mon Jan 18 21:00:41 2016 +0100 Automatic language detection for stdin (--assume) While -f uses the simple automatic language detection with stdin one is out of luck. With the new argument --assume one can specify the filename Uncrustify should use to perform the automatic language detection even for content pushed to stdin. commit 62a2ad9977f189bb4f6efb44ebfe07deffdd1e42 Merge: 9a46c56 672fd1c Author: Ben Gardner Date: Wed Dec 9 17:32:30 2015 -0600 Merge pull request #413 from jlee975/patch-1 Address issue #373. Checks the chunk prior to the '::' and forces a space if it is a known keyword. commit 672fd1c0143c535be37bf2bca4ea276a9ba352d3 Author: jlee975 Date: Wed Dec 9 11:54:03 2015 -0600 Address issue #373 sp_before_dc should not apply to global scope operator. commit 9a46c565e315d3eae16085e759febc9c5e809591 Merge: 15ee014 eef47c5 Author: Ben Gardner Date: Tue Nov 24 21:33:10 2015 -0600 Merge pull request #372 from ravethetadpole/while_one_liners add nl_while_leave_one_liners commit 15ee014c5261a26d46d3479f0f7330db719f183a Author: Lorenz Haas Date: Fri Apr 24 14:01:11 2015 +0200 Doxygen comments in CPP style like '//:', '//=', '//~' where not handled properly when spaces were to be added with option sp_cmt_cpp_start. The new option sp_cmt_cpp_qttr treats those comment leadings as a unity, if set to TRUE. Before sp_cmt_cpp_start=add converted '//:foo' to '// :foo'. Now it will correctly be converted to '//: foo'. commit efe1adb92ec09073778247412bba38a8f5dd4e64 Merge: 97ac4c9 7d0f864 Author: Ben Gardner Date: Tue Nov 24 21:23:28 2015 -0600 Merge branch 'npnth-master' commit 7d0f864a52c0f58703ea1bc07cad592d3db10697 Merge: 97ac4c9 55581c4 Author: Ben Gardner Date: Tue Nov 24 21:22:26 2015 -0600 Merge branch 'master' of https://github.com/npnth/uncrustify into npnth-master commit 97ac4c96b24ab428a4325e05347cabe19cfdab93 Merge: 4d68949 c2c2ac0 Author: Ben Gardner Date: Tue Oct 27 16:26:25 2015 -0500 Merge pull request #392 from icyflame/patch-1 Add file links to the readme commit 4d6894996b26fd0ba26275b59ece063a5082bdb2 Author: Ben Gardner Date: Wed Oct 21 10:16:58 2015 -0500 Expand digraphs test a bit. commit 485eb91664716ffac58a49394e628e5e5db13af5 Author: Ben Gardner Date: Wed Oct 21 10:15:51 2015 -0500 Add option: enable_digraphs and disable digraphs by default commit c2c2ac07fc60efd80631c325e113963c1a605815 Author: Siddharth Kannan Date: Mon Aug 10 17:42:20 2015 +0530 Add file links to the readme - Instead of just referencing a file, add a link to it. - This makes the configuration file location much more prominent. commit fc5228ecd9f579f366919e5d13f26ae5149f80f1 Merge: b3f3e21 abf3bef Author: Ben Gardner Date: Thu Jul 30 15:28:13 2015 -0500 Merge pull request #385 from tpltnt/md-readme Readme markdown commit b3f3e216af06574e465fe315ef19927caff21ebc Merge: b6593c1 420c240 Author: Ben Gardner Date: Thu Jul 30 12:35:59 2015 -0500 Merge pull request #387 from dirk-thomas/fix_windows_warnings fix warnings on Windows commit 420c240949aacf87d1924e488f65e80e8923c171 Author: Dirk Thomas Date: Wed Jul 29 18:15:41 2015 -0700 fix warnings on Windows commit abf3bef2940b8e5450cc4fde46d3ddc6c92148a8 Author: tpltnt Date: Tue Jul 21 21:37:02 2015 +0200 added markdown to README, closes #383 * marked shell commands * separated list of steps commit 55581c4e060763aa5984194aa3f948baa870ba99 Author: Gilles Date: Thu Jul 9 21:35:10 2015 -0400 Handle Java's `synchronized(foo){ ... }` construction Add a new CT for `synchronized` for java, which behaves like a vanilla if/for/while/switch construction if a parenthesis follows the keyword (otherwise, tokenize_cleanup reverts it to being a qualifier). This adds options `nl_synchronized_brace`, `nl_before_synchronized`, and `nl_after_synchronized`, which work in the obvious way. Since `synchronized` requires braces, no special handling of braceless code is necessary. Also update defaults.cfg by update-default-cfg.sh to appropriately handle these new options and add tests 80060 and 80061. commit eef47c5b357912fe1c0136e338a895f580dc256e Author: RaveTheTadpole Date: Mon May 4 10:50:19 2015 -0500 add nl_while_leave_one_liners Preserve one-line while statements. It is a straightforward extension of other leave_one_liners options. commit b6593c1bd9f2d5f2980c7e219df9109bef49e845 Merge: 2f8c55d 27bbbfc Author: Ben Gardner Date: Fri Apr 3 16:58:54 2015 -0500 Merge branch 'Unity-Technologies-features/msref-support' commit 27bbbfc407aa11ecc3ee4f5d2597bce280be6ddf Merge: 2f8c55d c8b80c8 Author: Ben Gardner Date: Fri Apr 3 16:58:18 2015 -0500 Merge branch 'features/msref-support' of https://github.com/Unity-Technologies/uncrustify into Unity-Technologies-features/msref-support Conflicts: tests/cpp.test commit 2f8c55d3c41e6caeb71f8d9775ebefc60c43d511 Author: Ben Gardner Date: Fri Apr 3 16:31:05 2015 -0500 run_tests.py needs Python 2. commit 9ac5184a3c7ceceedbe2777eb992565e39264091 Author: Guy Maurel Date: Fri Mar 27 14:32:52 2015 +0100 correct the function keywords_are_sorted commit c0ee10411e8095c93c5baa845d168862f4ec2df1 Author: Guy Maurel Date: Mon Mar 30 17:12:54 2015 +0200 Typo commit c8b80c898214f3c572532e6acf39238031079632 Author: Scott Bilas Date: Wed Mar 25 08:15:38 2015 +0100 Fixing issues as per Ben's review comments on https://github.com/bengardner/uncrustify/pull/350 commit db37e6d0d01f050a530c7a1596099ea6a8ea249c Merge: f23de29 faa87cd Author: Ben Gardner Date: Tue Mar 24 22:10:13 2015 -0500 Merge pull request #346 from 4picht/master allow indent_ctor_init to be negative commit f23de290bd80cedc4b2544c2e6243abc0b2dc57f Merge: 40a6abd a940421 Author: Ben Gardner Date: Tue Mar 24 22:07:25 2015 -0500 Merge pull request #347 from clbr/issue314 Add a new option for indenting continued shift expressions commit 40a6abd8008c7156b64c23b3e49258206da54479 Merge: e4cd86e 12c1768 Author: Ben Gardner Date: Tue Mar 24 21:52:16 2015 -0500 Merge pull request #349 from Unity-Technologies/fixes/bit-colon-class Fix: C++ bitfields were being detected in structs, but not in classes commit e4cd86ecbd32e6bc56337a4f2ee11af28759b590 Merge: cd1c861 a0086de Author: Ben Gardner Date: Tue Mar 24 21:48:21 2015 -0500 Merge pull request #356 from iv-mexx/feature/fixObjCTernaryMethodCall Fix ObjC 'Methodcall in ternary expression' commit a0086de8b5e65c828c4a45058ea040e6d9836634 Author: MeXx Date: Wed Mar 25 00:47:19 2015 +0100 Added a more complicated testcase for ternary operator in ObjC commit 55c91fb34857184d6e5cd97b3899eca36cd07537 Merge: fa11a5e 2216026 Author: MeXx Date: Wed Mar 25 00:44:31 2015 +0100 Merge branch 'fixes/objective-c-ternary' into feature/fixObjCTernaryMethodCall commit 2216026a78ccd0904b4f1a23fc2cf735601c142e Author: MeXx Date: Mon Mar 23 22:33:45 2015 +0100 ObjC: Add testcase to reproduce ObjC methodcall-in-ternary-expression issue #355 commit 4da23e911865870cd2e7a1e3d2b6a5d79d7e3156 Author: Scott Bilas Date: Thu Mar 19 15:39:48 2015 +0100 Ok that last hard coded fix wasn't the best idea. Too many cases. What we really need is a stack of question counts that is associated with the OC messages. I also updated the unit test for the case that was failing. Note that this has to be interpreted as OC+ to pick up the '::' in the sample. commit 2f9fb388111d644bf23b2a610b8c19d14084c8be Author: Scott Bilas Date: Thu Mar 19 14:18:52 2015 +0100 Fixed issue 635. Just a new case that needed to be handled surrounding ternary and OC messages. commit fa11a5e0e7ecfbbed7e712bfe92a6496ba675ef6 Author: MeXx Date: Mon Mar 23 22:38:23 2015 +0100 ObjC/combine_labels: dont reduce question_count if the colon is inside a ObjC message call, fixes #355 commit ead319cab7b2012ccb0e8d7880fe7a18f5d73505 Author: MeXx Date: Mon Mar 23 22:33:45 2015 +0100 ObjC: Add testcase to reproduce ObjC methodcall-in-ternary-expression issue #355 commit 8f3027c635041fdcf90c263b35cfda3bbeeed291 Author: Scott Bilas Date: Thu Feb 26 11:46:15 2015 +0100 Pick a better number to base this on commit 083e919cdaaf3056bc3419b9ce659752bfa67296 Author: Scott Bilas Date: Wed Feb 25 16:04:59 2015 +0100 Implementing support for MS's C++ extensions for C++/CLI and WinRT on the ^ character acting as markup for a reference (similar to * for pointers). Conflicts: tests/cpp.test commit 12c1768e10bf5423b77dc97a9f6382eec5197144 Author: Scott Bilas Date: Wed Feb 25 15:00:17 2015 +0100 Fix: C++ bitfields were being detected in structs, but not in classes commit a94042179131b1f7da04c137243c74c22eabb4d5 Author: Lauri Kasanen Date: Fri Feb 13 21:04:57 2015 +0200 Add a new option for indenting continued shift expressions Fixes #314. Including both a new more extensive test case as well as an adapted existing test case. This project has been sponsored by The Measurement Factory. Signed-off-by: Lauri Kasanen commit faa87cda17b896abb6b0893ae85bed57730c1ff9 Author: Julian Picht Date: Mon Feb 23 10:51:28 2015 +0100 allow indent_ctor_init to be negative commit cd1c8619321efc96afc1ab1e7d09e924f008acaa Author: Ben Gardner Date: Thu Feb 19 20:49:42 2015 -0600 Allow casting of this in "(Foo)this" commit e13ae46d98fcb28448db8941ef65ffda47d4bd9c Author: Ben Gardner Date: Thu Feb 19 20:23:30 2015 -0600 run_tests.py: Don't add .test if it already has it commit bfdcd34d7d64dd030df10bd7e3bb0467934d4f33 Author: Ben Gardner Date: Thu Feb 19 20:23:08 2015 -0600 Add another semicolon removal test commit 85af83abab2f63cc9ef1ca9d4d0d6dba082ad479 Author: Ben Gardner Date: Thu Feb 19 20:22:46 2015 -0600 Prevent semicolon removal after 'new' statements by marking braces commit fd743dec0631d76100cf21c4875a55af5cc062ad Author: Ben Gardner Date: Thu Feb 19 20:08:50 2015 -0600 Add test for sp_between_new_paren commit 88ade49e56e7b081c4a468623251d6c535ea9f46 Author: Ben Gardner Date: Thu Feb 19 20:08:09 2015 -0600 Add new option sp_between_new_paren commit 8a23fdf630d24decce329c3663d7d73d3eb0a964 Author: Ben Gardner Date: Thu Feb 19 19:53:48 2015 -0600 Add a test for not splitting "} while" commit ec88fea43c2ac1dbd85e5cf07423bb4e872e34ac Author: Ben Gardner Date: Thu Feb 19 19:53:02 2015 -0600 Don't insert a newline in "do {} while()" via nl_after_brace_close commit 3801c8e4755a59f92b0ff3668470b37c5dd8103e Author: Ben Gardner Date: Thu Feb 19 19:46:08 2015 -0600 Add logging for adding newlines commit 288df3e25977ea8ead8ce19d31438240a29ab46c Author: Ben Gardner Date: Thu Feb 19 19:32:18 2015 -0600 Update test results for nl_squeeze_ifdef fix commit 2176b8bf65f93257a4e86b5f63db97b7192a193c Author: Ben Gardner Date: Thu Feb 19 19:30:37 2015 -0600 nl_squeeze_ifdef should not remove blanks before whole-file #endif. This was messing up my style. commit 32bd357e9beefb5e72469c78208861e3f57985a5 Merge: 3ea72e3 6155faf Author: Ben Gardner Date: Wed Feb 18 22:08:04 2015 -0600 Merge pull request #345 from shazron/npm-package Added package.json for npm commit 3ea72e33125db3f854f6285f8efd69bc42e05d4f Author: Ben Gardner Date: Wed Feb 18 22:07:39 2015 -0600 Run uncrustify on itself using etc/ben.cfg, with a few manual fixes. commit 1369245fbb8d1cbed4957a97d9dd6cce2a5ac6d7 Merge: 094e094 698dfcd Author: Ben Gardner Date: Wed Feb 18 21:53:04 2015 -0600 Merge pull request #341 from nicodecker/vbr_indent New options for indenting at virtual brace open commit 094e0947415d5228ede9ccc2ab00f7f93adefbfa Merge: 58a76e6 c6aca7b Author: Ben Gardner Date: Wed Feb 18 21:52:37 2015 -0600 Merge pull request #342 from nicodecker/doxygen_comments Option for space handling in doxygen comments commit 58a76e6131f6d23af8faa09401ff562552208041 Merge: f62fda6 b44f525 Author: Ben Gardner Date: Wed Feb 18 21:51:19 2015 -0600 Merge pull request #340 from nicodecker/frag_at_col Fixed wrong position of comment in case of --frag commit f62fda639756684d964d2b60c7549c6a9d176182 Merge: 5d839c3 40b536a Author: Ben Gardner Date: Wed Feb 18 21:50:42 2015 -0600 Merge pull request #343 from nicodecker/fix_cmd_processing Bugfix: Undesired effect of disable_processing_cmt commit 6155faf25f8a02578cf99b2b4fdbae7cfdea26d7 Author: Shazron Abdullah Date: Wed Feb 18 15:08:22 2015 -0700 Added package.json for npm commit 40b536ae657a7f3d6c7ec4df051ad172516a5af7 Author: Nico Decker Date: Wed Feb 18 13:05:23 2015 +0100 Bugfix: Undesired effect of enable_processing_cmt The same bug as existed for disable_processing_cmt exists for enable_processing_cmt as well. Fixed in the same way by treating NULL and "" equally. commit f68d75d9dba517a9217cc5dd0cd4e5ae1fe7ca50 Author: Nico Decker Date: Wed Feb 18 08:45:32 2015 +0100 Bugfix: Undesired effect of disable_processing_cmt The new option disable_processing_cmt that has been added recently had an undesired side effect. Unfortunatly, due to its nature, it was not revealed by the test facility. Configuration created before the option was introduced works fine even with versions containing the new option. But in the configuration created with those new versions the option was automatically set to "". In the code this lead to unformatted text after the first comment! Fixed by treating NULL and "" equally. commit c6aca7b2c95079ef51d573c2538bd3067255012f Author: Nico Decker Date: Wed Feb 18 08:27:56 2015 +0100 Option for space handling in doxygen comments Doxygen comments in CPP style like '//!', '//!<', '///' and '///<' where not handled properly when spaces were to be added with option sp_cmt_cpp_start. The new option sp_cmt_cpp_doxygen treats those comment leadins as a unity, if set to TRUE. Before sp_cmt_cpp_start=add converted '//!x' to '// !x'. No it will correctly be converted to '//! x'. commit 698dfcd40824635ba41d543abaec08b98d0abce0 Author: Nico Decker Date: Sat Feb 14 18:35:38 2015 +0100 Added test for indenting after vbrace-open commit b44f5259de9d834d4aaf863720b204ae138d413b Author: Nico Decker Date: Sat Feb 14 17:54:39 2015 +0100 Fixed wrong position of comment in case of --frag In case of command line option --frag the position configured in align_right_cmt_at_col was not correct anymore. commit 5d839c344385bec76d5cf029c3bdb1576e4ca0d3 Merge: 3105b16 fa34bee Author: Ben Gardner Date: Sat Feb 14 10:35:42 2015 -0600 Merge pull request #337 from nicodecker/frag_tabstop Fixed wrong tabstop behaviour in case --frag is used. commit 3105b166dc7fd7b25d550d9cd1fd28c44c222bb6 Merge: f0f17a1 73d1466 Author: Ben Gardner Date: Sat Feb 14 10:35:25 2015 -0600 Merge pull request #339 from nicodecker/frag_eof No eof/bof newline modifications for --frag commit 73d1466b974809a42e960b490ec80fe2b2a476fd Author: Nico Decker Date: Sat Feb 14 14:14:41 2015 +0100 No eof/bof newline modifications for --frag When command line option --frag is used there is no real end-of-file or begin-of-file; therefore do not perform any modifications concerning options - nl_end_of_file_min - nl_end_of_file - nl_start_of_file_min - nl_start_of_file commit 343cfd27900724643762613fec811fd1c2d1b785 Author: Nico Decker Date: Sat Feb 14 13:53:40 2015 +0100 Introduced new options indent_min_vbrace_open and indent_vbrace_open_on_tabstop. The new options allow to applay special indent after virtual braces and newline. commit fa34bee5a08abff08a71dddf019f1ffaf352afa9 Author: Nico Decker Date: Sat Feb 14 13:24:55 2015 +0100 Fixed wrong tabstop behaviour in case --frag is used. calc_next_tab_column() did not take indent of first line into accout when command line option --frag was used. commit f0f17a1599f8a775942f2796761c80b06abee1b7 Merge: 7757d42 ef37f0a Author: Ben Gardner Date: Fri Feb 13 09:26:38 2015 -0600 Merge pull request #333 from Unity-Technologies/fixes/encoding-ignore Fixed bug with my 'ignore' change that broke non-ASCII encodings. commit ef37f0a104f06e94caa74cad9f1f13ab8c9cebd4 Author: Scott Bilas Date: Thu Feb 12 16:46:23 2015 +0100 Fixed bug with my 'ignore' change that broke non-ASCII encodings. Added tests to keep it from coming back. commit 7757d42c2c5124e00ef0a346d3f5e8ea7bb79d29 Merge: 36cb55c ffaf3fb Author: Ben Gardner Date: Thu Feb 12 07:53:49 2015 -0600 Merge branch 'Unity-Technologies-features/string-replace-tab-chars' commit ffaf3fbdac70bd7befc47b415b0cc58a520cad40 Merge: 36cb55c 3a27deb Author: Ben Gardner Date: Thu Feb 12 07:53:17 2015 -0600 Merge branch 'features/string-replace-tab-chars' of https://github.com/Unity-Technologies/uncrustify into Unity-Technologies-features/string-replace-tab-chars commit 36cb55cbb585da4ecba2706a9b2e39bde4d4d2d3 Merge: 3c1b714 a97b482 Author: Ben Gardner Date: Thu Feb 12 07:47:12 2015 -0600 Merge pull request #332 from Unity-Technologies/fixes/indent-off-for-realz Made *INDENT-OFF* truly disable all reformatting commit 3c1b714f44ede1f9badd88f9dc8db2a739fe168a Merge: 0f4fdaa 1933349 Author: Ben Gardner Date: Thu Feb 12 07:46:12 2015 -0600 Merge pull request #330 from Unity-Technologies/fixes/windows-config-relative-paths Implementing code on Windows to deal with relative file paths from an 'include' in a config file commit 3a27debe358b9f3b092a2a016822e014411bdbf4 Author: Scott Bilas Date: Thu Feb 12 11:54:53 2015 +0100 New option 'string_replace_tab_chars' that will convert tab chars found in ordinary literal C style strings to '\t' instead. It's very difficult to have tab chars in strings participate in reformatting of the outer code in a consistent way. For example, unit tests that compare code in strings against files on disk will suddenly fail if the contents of the strings change in any way. Switching to \t chars is one way to avoid this problem, plus make the code more readable. Conflicts: src/options.h commit a97b4827d7d6d94206e63227dbe80b8c124ad9c4 Author: Scott Bilas Date: Thu Feb 12 11:52:08 2015 +0100 Made *INDENT-OFF* truly disable all reformatting. Previously was still reformatting tab chars found in the ignored chunks. commit e2e0f40a852bc0480a781a66141b81a9c0d1d67d Author: Scott Bilas Date: Thu Feb 12 11:29:57 2015 +0100 minor spelling fix commit 193334979f55229daabcdcd520eeeafdc108e399 Author: Scott Bilas Date: Thu Feb 12 10:59:27 2015 +0100 Implementing code on Windows to deal with relative file paths from an 'include' in a config file commit 0f4fdaa2468624c100723841e1796fa9eb2e8e51 Merge: b3f4c00 90e0d3a Author: Ben Gardner Date: Wed Feb 11 21:54:54 2015 -0600 Merge branch 'Unity-Technologies-staging' commit 90e0d3aa2c8c3695333752d8790ef304f92eb1a1 Merge: b3f4c00 5bb6bc4 Author: Ben Gardner Date: Wed Feb 11 21:54:31 2015 -0600 Merge branch 'staging' of https://github.com/Unity-Technologies/uncrustify into Unity-Technologies-staging Conflicts: tests/c-sharp.test commit b3f4c005638e476b2e653b44b558111efbfc1b23 Merge: 66812c4 5824499 Author: Ben Gardner Date: Wed Feb 11 21:51:55 2015 -0600 Merge pull request #325 from MarekFort/master Add support for indent_class_on_colon commit 66812c4cf8228ea6ef91fef16399b90c18ff49bf Merge: 2286fad 3f4406d Author: Ben Gardner Date: Wed Feb 11 21:50:43 2015 -0600 Merge pull request #327 from Unity-Technologies/fixes/delegate-semicolon-removal Fixed another case for bug #628 (older C# 'delegate' syntax) commit 2286fad0c73d83d0f477f386077dcf5b813d6d3e Merge: e3469f0 3a1e3bb Author: Ben Gardner Date: Wed Feb 11 21:48:49 2015 -0600 Merge pull request #321 from Ditti4/master Fix some mistakes in the documentation commit e3469f0eec27845c7237462bc3e31b53c7e11cd5 Merge: b5e20df 575453f Author: Ben Gardner Date: Wed Feb 11 21:46:29 2015 -0600 Merge pull request #328 from Unity-Technologies/features/option-processing-cmt New options and tests for enable_processing_cmt/disable_processing_cmt t... commit b5e20dfeea723bc9fd7f8f9384dbafe3688e778a Merge: 261cfdb 77dbf12 Author: Ben Gardner Date: Wed Feb 11 21:44:05 2015 -0600 Merge pull request #329 from mikekov/master Keep trailing space in C++ comments if it follows backslash to prevent '\' from turning into line continuation commit 77dbf12633753fa2377db8c10354bbad84e89e6d Author: Mike Date: Wed Feb 11 11:18:12 2015 -0800 Keep trailing space in C++ comments if it follows backslash to prevent '\' from becoming line continuation commit 575453f1144d79c9c47d1e30dfc8e47fb3cfb746 Author: Scott Bilas Date: Tue Feb 10 15:51:11 2015 +0100 New options and tests for enable_processing_cmt/disable_processing_cmt that permits overriding the default UNCRUSTIFY_ON_TEXT/UNCRUSTIFY_OFF_TEXT. commit 3f4406ddf9f73d3ebacd2a385ae84fd21303379c Author: Scott Bilas Date: Wed Feb 11 11:13:36 2015 +0100 Fixed another case for bug #628 (older C# 'delegate' syntax) commit 261cfdb0f19afa785fcab54d93e3522058c0645f Author: Ben Gardner Date: Tue Feb 10 22:08:02 2015 -0600 Add test for SF#628 commit 2e7f4d9660096e30d6c25e53e9e7bd068008561e Author: Ben Gardner Date: Tue Feb 10 22:07:29 2015 -0600 Fix marking of "=> { }" lambda expressions in C#. Prevents semicolon removal. commit e0706629876026a937bf36d2cafa9f7a990954c5 Author: Ben Gardner Date: Tue Feb 10 21:45:37 2015 -0600 Add C++ digraph test from SF#629 commit 8182cd2658a8fc53911ea169b93d34bea2a07524 Author: Ben Gardner Date: Tue Feb 10 21:44:31 2015 -0600 Add partial support for digraphs. Uncrustify may still choke on them in the input, but it won't create them. commit 5bb6bc4eaa184f973f74e4aaf04232b5eedf3ad9 Author: Scott Bilas Date: Tue Feb 10 00:10:17 2015 +0100 Fixed bug with backslash at end of comment affecting the next line in C#. C# has no preprocessor, and backslashes at EOL don't mean anything special. Also added tests for C# to verify fix, and to C++ to make sure normal behavior maintained. commit 9bad4d26b408b401a523687dbc6a55bba1ec7ef2 Author: Ben Gardner Date: Sun Feb 8 17:00:26 2015 -0600 Add tests for the new options. commit fa792758e12688aac95944204cb6430f4ad83d75 Author: Ben Gardner Date: Sun Feb 8 16:59:38 2015 -0600 Add options to control spacing in C# array types: "int [,,] x;" sp_before_mdatype_commas sp_between_mdatype_commas sp_after_mdatype_commas commit 5bfa2736a73d2ad6d6e91a33299bf2433a74c7b0 Author: Ben Gardner Date: Sun Feb 8 16:15:26 2015 -0600 Don't crash if the input ends with a VBRACE_CLOSE. Fixes SF#616. commit 5824499fad6bbfa87e2066a38ae2e4d50b044eb9 Author: Marek Fort Date: Sun Feb 8 15:20:07 2015 +0100 Add support for indent_class_on_colon commit 3a1e3bb0d06bcc4dc0f3ba235dea9aa227ea7df7 Author: Dittrich, Rico Date: Thu Feb 5 11:01:47 2015 +0100 Fix some mistakes in the documentation commit 4e20f20fbeabae560f3471a99a9191ea7718875b Merge: 3319eef 2b82c2b Author: Ben Gardner Date: Tue Jan 6 20:40:10 2015 -0600 Merge pull request #316 from npnth/nl_after_label_colon Add nl_after_label_colon option commit 2b82c2b06abd30ef7de2829b4fee7af3e068ceaf Author: Gilles Date: Tue Jan 6 18:22:37 2015 -0500 Add tests for nl_after_label_colon Ensure that nl_after_label_colon does not adversely affect colons in switch statements or bitfields. commit 3561d7d4dedfa125d1d0b212f8ce2fb1397f18e4 Author: Gilles Date: Tue Jan 6 18:07:00 2015 -0500 Remove newline dependence in CT_LABEL_COLON detection Make combine_labels default to viewing a WORD + COLON combination as a label, not a bitfield definition. Colons that are inside structs or typedefs are considered bitfields. This allows labels to be tagged as such even if they are not preceded by a newline. commit b4cbf3cd44ae1f2895617ba68c784deec2159e92 Author: Gilles Date: Tue Jan 6 17:15:28 2015 -0500 Add default value for nl_after_label_colon This option defaults to false commit 083c2cb3f6caeae6b570a22242a19b6d4c482d35 Author: Gilles Date: Tue Jan 6 16:42:29 2015 -0500 Add support for nl_after_label_colon Add as a boolean option nl_after_label_colon. If this is set to true, a newline is appended to any LABEL COLON token sequence. commit 3319eefebdd947da8da84272e67fdf392c00790b Merge: f65394e 083a4fc Author: Ben Gardner Date: Sat Jan 3 12:07:24 2015 -0600 Merge pull request #315 from npnth/master Unify handling of newlines following { among if/else commit 083a4fc7b517343e8790f22b418afd08fc209890 Author: Gilles Date: Thu Jan 1 22:50:56 2015 -0500 Add test for nl_remove_extra_newlines=2, nl_after_brace_open=false In this situation, ensure that both if and else treat their immediately-following open braces similarly. commit 12a955e769169d696eb9787451916568cfc84ac1 Author: Gilles Date: Thu Jan 1 22:34:52 2015 -0500 Make newlines_do_else handle braces like newlines_if_for_while_switch Remove option-checking in the handling of newlines directly after CT_BRACE_OPEN in newlines_do_else. This matches the way newlines_if_for_while_switch handles the same situation, preventing awkward mismatches visually between if/else blocks when nl_after_brace_open is false. commit f65394e32925d3978bf2838f76bf19fa9791a7e0 Author: Ben Gardner Date: Mon Dec 22 21:37:33 2014 -0600 Extract the commit log commit b82c7cbf7c8028fb91faa3767321e9e1c0f0e34b Author: Ben Gardner Date: Mon Dec 22 21:37:17 2014 -0600 Update changelog commit 2b76d7a8f4d0c80f3917064b2f4e8309ec55cb3a Author: Ben Gardner Date: Mon Dec 22 21:26:42 2014 -0600 Documentation and script updates for version 0.61. commit df5fe150195d38e63a173727bed8a60a296db4c5 Author: Ben Gardner Date: Mon Dec 22 21:16:19 2014 -0600 Bump version to 0.61 commit 15d8f44c4efac3323b991a6db91b4fcb88ace694 Author: Ben Gardner Date: Mon Dec 22 21:13:21 2014 -0600 Attempt to get cygwin builds working. Not tested. commit c6a251f4329dc6911ba48a4b9cae88a62acb2c45 Author: Ben Gardner Date: Mon Dec 22 14:02:50 2014 -0600 Add test for SF#607. commit d330fda6ab18f77bfe6cb57b6cc64aae4a38b48f Author: Ben Gardner Date: Mon Dec 22 14:02:08 2014 -0600 Do not mark the parent of the brace that contains a CS_PROPERTY as GETSET. Fixes SF#607 commit 7909e742826539ec3d075df82439c72a6e93ddd6 Author: Ben Gardner Date: Mon Dec 22 13:41:33 2014 -0600 C++11 supports the "final" keyword in class declarations. commit 64439c58dbd8f6f2ce29eac53080823d49880d7d Merge: ffa7ea0 5814e8d Author: Ben Gardner Date: Thu Dec 18 20:28:08 2014 -0600 Merge pull request #312 from lgauthier/master Added fix for issue #124 commit 5814e8db5033408759d4f2785ed440a7f364d60d Author: logan.gauthier@metova.com Date: Thu Dec 18 19:29:21 2014 -0600 Added fix for issue #124: https://github.com/bengardner/uncrustify/issues/124 commit ffa7ea0fdc2dcdd26042fb814455fa03b58d1a00 Author: Ben Gardner Date: Wed Dec 10 20:41:49 2014 -0600 C#: mark a property in "new List { 1, 2, 3 }" commit af87b4751cf5aabac349152e1307dd8767d0df0e Merge: 95ba72b e27e624 Author: Ben Gardner Date: Sat Nov 22 15:05:32 2014 -0600 Merge branch 'Twigz-feature/add-const-qualifier-rule' commit e27e624416ba523330879613bcebc410a3ad6232 Author: Ben Gardner Date: Sat Nov 22 15:04:39 2014 -0600 Whitespace cleanup commit 6364871846d53862fa8492217821e11fc838fdd8 Author: Twigz Date: Fri Nov 21 11:12:21 2014 -0500 Adds a new test commit 566d2afdd178477948347e8bafbf91198b236ba6 Author: Twigz Date: Fri Nov 21 11:12:04 2014 -0500 Adds a new test commit b460d25dd6e99b9132631f4bbb9af4fbde49cf81 Author: Twigz Date: Fri Nov 21 10:21:08 2014 -0500 Adds qualifier rule for spacing commit 95ba72baf7f0833edfaaca0b8f29f6b48ef077e6 Author: Ben Gardner Date: Wed Nov 12 22:27:05 2014 -0600 D: Treat [ ] like { } as far as indenting content with tabs. commit 2046245afc355162c1dfecad59f076545c52d9dd Author: Ben Gardner Date: Tue Oct 14 14:50:37 2014 -0500 Update the year in the man page commit 86079866990368c0f18819f5fcf5cc689d3335ee Author: Ben Gardner Date: Tue Oct 14 14:49:56 2014 -0500 Rework make_win32.sh to build with the latest mingw32. Add a few more files. commit 531332f38876a189f849b20f47612958093c0924 Author: Ben Gardner Date: Tue Oct 14 14:46:33 2014 -0500 Update BUGS a bit commit ddbf42b6952a21a067991e716ab88cac974401bc Author: Ben Gardner Date: Tue Oct 14 14:20:07 2014 -0500 Rename variable "interface", as that makes mingw unhappy commit 51e931879a9844194e15197646be03268bdaa05a Author: Ben Gardner Date: Tue Oct 14 14:17:12 2014 -0500 Fix includes for Windows/mingw build commit 48001de690daf92d6d272f8ef5c8e71c8f627333 Author: Ben Gardner Date: Tue Oct 14 09:33:55 2014 -0500 Add include path to pick up windows_compat.h commit 03eb1c70fd36c6a0a23a53ad47198cf8335c7ad3 Author: Ben Gardner Date: Mon Oct 6 21:56:45 2014 -0500 Update multi-line string test commit 573fd546db2ec2e5171fb538e95f282fdb75337e Author: Ben Gardner Date: Mon Oct 6 21:44:40 2014 -0500 Handle multi-line string spacing better. Fixes SF#602 commit 76ab215694fd733877f544635760658c1e021541 Author: Ben Gardner Date: Mon Oct 6 21:28:14 2014 -0500 unc_text: Encode NL and CR as unicode for logs commit da1ab3de1363959adc2d82c0fa17ac008f93aae7 Merge: 0cdc975 b28e364 Author: Ben Gardner Date: Mon Oct 6 20:46:59 2014 -0500 Merge pull request #298 from Unity-Technologies/staging Fix for bug #600 commit b28e364b3778a9ae2ca912302fdb2ab6a24987c3 Author: Scott Bilas Date: Mon Oct 6 11:52:03 2014 +0200 Fix for bug #600 (https://sourceforge.net/p/uncrustify/bugs/600/). The nullable type was consuming the CT_QUESTION and appending it to itself, but wasn't also adjusting its end column. commit 0cdc9750dea4cea8a7db43287707b7c9f264b967 Author: Ben Gardner Date: Wed Sep 10 21:25:26 2014 -0500 Update semicolon removal test to cover new case. commit 757e2ad22a820d111758b4e8d0c864295f26ed87 Author: Ben Gardner Date: Wed Sep 10 21:24:09 2014 -0500 Do not remove the semicolon in '...) {...};' commit a60da588119327d6888230b1c47267ede3645242 Author: Ben Gardner Date: Wed Sep 10 21:22:47 2014 -0500 Log which path removed the semicolon commit 85614066efd65591305f75ad93f47b607209ee61 Author: Ben Gardner Date: Wed Sep 10 21:22:09 2014 -0500 Add a LOG_FUNC_CALL() to update the line number of the top entry. commit 72348985ddd768053ed685e503cff5f66734d1cf Author: Ben Gardner Date: Wed Sep 10 21:06:59 2014 -0500 Fixed cast detection in "(int *[])value" commit f11229b716a88f072f6d84d5b1f68cf5a415fcfe Author: Ben Gardner Date: Wed Sep 10 17:17:50 2014 -0500 Skip the top function name in log_func_stack_inline() commit d9f939d3f9aa941f372df26cdb8c554d2c7fbb2f Author: Ben Gardner Date: Wed Sep 10 17:15:11 2014 -0500 Add test for multi-line C# @"" strings commit d236601bd10be25db3d3b52b0dfa147cbeae8b9e Author: Ben Gardner Date: Wed Sep 10 17:10:45 2014 -0500 Properly detect multi-line C# @"" strings commit e97370fc83980b385d961e8a4c27d3c3eb9d9515 Author: Ben Gardner Date: Wed Sep 10 17:09:59 2014 -0500 Use log_func_stack() instead of passing around the func name/line commit 5f99e44de4265402f38e989f2f86663fbbb09730 Author: Ben Gardner Date: Wed Sep 10 17:07:52 2014 -0500 Modify log_func_stack() a bit commit 94c189d6a50f6609b2c80c6da8d98998398e17ee Author: Ben Gardner Date: Wed Sep 10 17:03:53 2014 -0500 Add a bunch of calls to LOG_FUNC_ENTRY(); commit 6b888a6186d38b06196a4ea69482a75fa5654222 Author: Ben Gardner Date: Wed Sep 10 16:06:00 2014 -0500 Add a utility functions to track and log certain function calls commit 419b2a47a8c342226eb6a99b284d8e0ace401b4c Author: Ben Gardner Date: Sun Sep 7 14:49:18 2014 -0500 Add a "file_ext" config option to specify custom file extensions. commit 172ff959f226e687b3ebb51c1c0fd0a7e90e1079 Author: Ben Gardner Date: Sat Sep 6 16:50:51 2014 -0500 Update man page for --check option commit f4a02cb29a863657c83d9f04946e8a9bc3f56866 Author: Ben Gardner Date: Sat Sep 6 16:28:22 2014 -0500 Fix odd whitespace issue commit 6f815360cf8003c74078f17e65f398afbe770508 Author: Ben Gardner Date: Sat Sep 6 16:28:10 2014 -0500 Change log that indicates the detected encoding commit 7fe2a24d34ef992ab78516d6e55f0edd5221be9a Author: Ben Gardner Date: Sat Sep 6 16:27:46 2014 -0500 Add --check option to see if a file changes when uncrustified commit b9bb1655b24911bc4629126d6121fe559e8b7a02 Author: Ben Gardner Date: Sat Sep 6 15:51:21 2014 -0500 Add missing fclose() before exit. commit c9ccb161739bb0db9b61f4aabcaba09d48ac49f4 Author: Ben Gardner Date: Sat Sep 6 15:45:14 2014 -0500 Rename variable 'dq' to 'vv', as it is for a vector, not a deque commit 888e7ce045feed34d7633386cae050096312a435 Author: Ben Gardner Date: Sat Sep 6 15:44:42 2014 -0500 Add a hook to output the file to a byte deque. commit ff03971ad08da030ca850f5d9cf0916724909bcc Author: Ben Gardner Date: Sat Sep 6 15:41:13 2014 -0500 write_byte: protect against negative ch commit b3d0212545c278a9a5c8e6dcfb256f5d4ba49c18 Author: Ben Gardner Date: Sat Sep 6 15:40:45 2014 -0500 unicode.c: make exactly one place that writes to the output file commit 9432f7cad9e85cc3001fc933ab8920e373018662 Author: Ben Gardner Date: Sat Sep 6 15:34:39 2014 -0500 Don't pass the FILE or encoding to write_char(). Preparing for multiple output paths. commit 77473c4d192a18bb507f2db8daeeb97feb00c329 Author: Ben Gardner Date: Sat Sep 6 15:23:02 2014 -0500 unicode.c: Make all functions static that can be commit 16160b6ac5bc76a9e4caa39e8de4715b5f9446f6 Author: Ben Gardner Date: Sat Sep 6 15:20:20 2014 -0500 Remove unused code: write_string() commit 54aee73007f4c9141a4fbc2892393d9aa673756b Author: Ben Gardner Date: Wed Sep 3 11:27:26 2014 -0500 Add option sp_fparen_dbrace commit c0a12ac85f3110aaa6c010b2ef2e25075b8c1623 Author: Ben Gardner Date: Wed Sep 3 11:20:03 2014 -0500 Fix nl_paren_dbrace_open in ')\n{{' commit 4120cd976bacfe11189795138138030acf65d03d Author: Ben Gardner Date: Wed Sep 3 11:14:37 2014 -0500 Add tests for nl_paren_dbrace_open commit 608543dec51e4ccfd64d5e80116fcf440e89d7a1 Author: Ben Gardner Date: Wed Sep 3 11:14:04 2014 -0500 Add option nl_paren_dbrace_open commit 69f926e4797a1f514bc91c878b77b99737dbbb8b Author: Ben Gardner Date: Wed Sep 3 11:00:21 2014 -0500 Pass through func/line in set_paren_parent2() and flags_parens2() commit ae4f4449170dfbcac96db1b9eb695489230cfe53 Author: Ben Gardner Date: Wed Sep 3 10:59:23 2014 -0500 Mark the double-brace open/close with parent_type=CT_DOUBLE_BRACE commit 1d723646eaa1069de41dd0649def9a598bc14fca Author: Ben Gardner Date: Wed Sep 3 10:52:28 2014 -0500 Clean up the log text for set_chunk_type() and set_chunk_parent() commit 0e78cafcdfadc0698b2ceb9c11474473e8823505 Author: Ben Gardner Date: Wed Sep 3 10:39:41 2014 -0500 Use set_chunk_type() instead of direct chunk_t->type assignments commit 7cdd71589f8c420588228c7ceef5bb31207a1ded Author: Ben Gardner Date: Wed Sep 3 10:09:52 2014 -0500 Add function set_chunk_type() to log assignments to chunk_t.type commit 9f9e1c9944680d5fc064fe3d1f691dcb6d0a1056 Author: Ben Gardner Date: Wed Sep 3 10:01:36 2014 -0500 Add a log in set_paren_parent() commit 5d0d28a2eb61ef7eb20f1199dafe10e737db24d1 Author: Ben Gardner Date: Wed Sep 3 09:47:01 2014 -0500 Refactor parent_type assignments to use set_chunk_parent() for logging commit b002966cfc90c6ecd835ea6a1e0241bd8928b563 Author: Ben Gardner Date: Tue Sep 2 17:39:08 2014 -0500 Add special handling for Java double brace initializers commit 2f53e1681fa5d33e3a3a4052671c3d49d464d5ee Author: Ben Gardner Date: Tue Sep 2 17:04:31 2014 -0500 Update namespace indent test results commit d2f28752fbe980a7e100a6c720308ea46a80c865 Author: Ben Gardner Date: Tue Sep 2 17:03:11 2014 -0500 Rework indent_namespace_single_indent, don't indent the namespace commit adefc45c0f18078c9273607abe20aa2f156f212d Author: Ben Gardner Date: Tue Sep 2 16:46:31 2014 -0500 Add the token parent to the LINDPC log commit da1a8b2de08c9f7768eb5af7f2ed57ddf171c453 Author: Ben Gardner Date: Mon Sep 1 22:13:16 2014 -0500 Fix C-Sharp '#property' parsing commit 12d00abd4c33a04b1a1ddce40cc174a014b3ce84 Author: Ben Gardner Date: Mon Sep 1 21:53:09 2014 -0500 Add D language "static if" test commit ec025e4f1e993333b3c3ae4564b972c618115b3c Author: Ben Gardner Date: Mon Sep 1 21:49:33 2014 -0500 Add support for D language "static if" by merging the tokens commit 6218d70859db853bda2ccc0172b6f30dfef35eb3 Author: Ben Gardner Date: Mon Sep 1 21:21:56 2014 -0500 Update test results for new '( {' indent rule commit 19b781e661b78dbd88c35e2da549c146ec2d7c90 Author: Ben Gardner Date: Mon Sep 1 21:20:30 2014 -0500 Change default to have the '{' indent override the '(' indent. Example: gtkwidget.enabled.connect((widdget) => { message("Clicked"); }); The old way would have the brace indent relative to the open paren: gtkwidget.enabled.connect((widdget) => { message("Clicked"); }); commit da37c3a85fc898081004d19e3198f6ac3052341e Author: Ben Gardner Date: Mon Sep 1 21:07:31 2014 -0500 VALA also has preprocessors (#if/#else/#endif) commit d814973783c01b047c2911912459ee313f04ff59 Author: Ben Gardner Date: Mon Sep 1 20:59:06 2014 -0500 Change order of '--update-config' and config file required checks. commit e7ff01b89b69f47317f02db4c94e3bf5d45f718b Author: Ben Gardner Date: Mon Sep 1 20:56:24 2014 -0500 Add a TODO about complaining if --update-config is used with -f, etc commit ea04e51fdd98c1af67ad3372ca840fa4971571c2 Author: Ben Gardner Date: Mon Sep 1 20:55:47 2014 -0500 Do not require a config file if generating one commit 441b3acc1ffef8d02567707d4917529c9aff558b Author: Ben Gardner Date: Mon Sep 1 20:34:39 2014 -0500 Fix variable def continuation indent for pointer vars. Example: SomeType *a, *b; commit da75afc55f5221e1407181c6c84c54c362677539 Author: Ben Gardner Date: Mon Sep 1 19:26:35 2014 -0500 Update cmt_width test commit 040cf4036206278db5472cea2d061c9f616bdc81 Author: Ben Gardner Date: Mon Sep 1 19:22:59 2014 -0500 Do not wrap a comment word if nothing has been written on the line yet commit e8bf4cd13433216bb61a5f815a30b3bda7724486 Author: Ben Gardner Date: Mon Sep 1 16:25:00 2014 -0500 Add option sp_enum_paren commit 0de157e20f7306375fc7eb4da4fd4f9b0e3e5a25 Author: Ben Gardner Date: Mon Sep 1 15:37:54 2014 -0500 Add test for option indent_namespace_single_indent commit b536f4268d28f31fe45a03bcd78589f2029d11f0 Author: Ben Gardner Date: Mon Sep 1 15:37:20 2014 -0500 Add option indent_namespace_single_indent Thanks to gnoorlanderwork for the idea. commit 7f3296723c6f97adc7164c1fd3c922b1bd18a35c Author: Ben Gardner Date: Mon Sep 1 15:07:23 2014 -0500 Update tests for new align_same_func_call_params functionality commit 5513771a22ea83c56ddae18839e44c33a6bfa4de Author: Ben Gardner Date: Mon Sep 1 15:03:44 2014 -0500 Let align_same_func_call_params() handle "class.func()" commit 17671d126a7d0285dc10b0db595694cdf611af1c Author: Ben Gardner Date: Mon Sep 1 14:30:47 2014 -0500 Don't align stuff after the last comma in align_init_brace() commit 21e7af10b5ddf3a1f48f4f56ba7edfb457dc462f Author: Ben Gardner Date: Mon Sep 1 14:29:30 2014 -0500 Enhance reindent_line() log commit df323401e80fcd7c86d277820f7c2fd42738d54c Author: Ben Gardner Date: Mon Sep 1 14:28:48 2014 -0500 Add more SPACE logs commit 7b966dc0b4502f4a1943e258668449837446cbc5 Author: Ben Gardner Date: Sun Aug 31 23:36:31 2014 -0500 Update tests and results for latest code changes commit 2007ed17b1336406b81460d2381b8601a67ae0f1 Author: Ben Gardner Date: Sun Aug 31 23:34:18 2014 -0500 Move the 'force one space before a END comment' from output to space commit e4e368890b86bda15e1ec230479aefc8363293ed Author: Ben Gardner Date: Sun Aug 31 23:33:17 2014 -0500 space: drop vbrace tokens back to the previous and skip them commit ca1abde6b817dbccadbd81502aa1c2ecbdf9d163 Author: Ben Gardner Date: Sun Aug 31 23:32:10 2014 -0500 Force a space before a comment if there was a space in the input Otherwise try to keep them in the same column as the input. commit bc5e0894f37b0b76d7cc87eef7a60c8dc1b4c683 Author: Ben Gardner Date: Sun Aug 31 23:30:23 2014 -0500 Enhance the space log a bit (show final column) commit 8a6b5b51b2da83e9b107ffcba14b3c1e944f7f1a Author: Ben Gardner Date: Sun Aug 31 23:06:39 2014 -0500 Fix duplicate rule log for sp_before_semi/sp_special_semi commit be9ea6a4ac3cfbca60a8e4c09144d74fca3381fc Author: Ben Gardner Date: Sun Aug 31 22:21:24 2014 -0500 Keep track of the original whitespace (columns) before a token commit 6ce863d5a6b2c10d4e2a1580db1b4addb4358deb Author: Ben Gardner Date: Sun Aug 31 16:57:09 2014 -0500 Fix off-by-one error for indent_relative_single_line_comments commit 7d8e560bd8a67512bb8e17a867e01f3872b727d1 Author: Ben Gardner Date: Sat Aug 30 22:33:09 2014 -0500 Run update-default-cfg.sh again commit e1728472645c0dace8f6995e2c3ca0bf5fb5d2ef Author: Ben Gardner Date: Sat Aug 30 22:32:17 2014 -0500 Fix typo in indent_paren_open_brace description commit 02237e57fe852c2a179796777e5a269b50ef8442 Author: Ben Gardner Date: Sat Aug 30 22:30:55 2014 -0500 Run update-default-cfg.sh commit 5b1183a3f0af3ef8679698b105bc85561931ebf5 Author: Ben Gardner Date: Sat Aug 30 22:25:09 2014 -0500 Add test for option cmt_convert_tab_to_spaces commit 8b04b2cc8943fb2688fa118c413d8b93492f941b Author: Ben Gardner Date: Sat Aug 30 22:22:00 2014 -0500 Add option cmt_convert_tabs_to_spaces commit a76f64c867700babbdecb07e20614a97172072b0 Author: Ben Gardner Date: Sat Aug 30 22:20:07 2014 -0500 Revert logsev of whole file ifdef log commit 38c6c324e7cebc04c0831bddcbe80a1b15687120 Merge: 6209e9d 540e0b3 Author: Ben Gardner Date: Sat Aug 30 21:46:51 2014 -0500 Merge branch 'master' of git@github.com:bengardner/uncrustify.git commit 6209e9d288a97fbc46c8ea1cd772c906249dfdd0 Author: Ben Gardner Date: Sat Aug 30 21:46:05 2014 -0500 Update test for latest comment change commit f02f57730dff061975dfd3339357b0f01c1b780d Author: Ben Gardner Date: Sat Aug 30 21:37:11 2014 -0500 The comment continue should be " * " if not combining C++ comments commit 540e0b37abd802e3c2a92248063583a839d2983f Merge: 2b81408 3e00ee5 Author: Ben Gardner Date: Sat Aug 30 16:41:12 2014 -0500 Merge pull request #283 from Speedy37/master Fix parsing issue with Objective-C message send. commit 2b81408f08af6be29fa32adea9538759047378dc Author: Ben Gardner Date: Sat Aug 30 16:38:43 2014 -0500 Update test results based on other changes commit a15e4158741a69c51644d2695e68a0ea23f4b89c Author: Ben Gardner Date: Sat Aug 30 16:36:59 2014 -0500 Clean up ifdef_over_whole_file() usage a bit. commit c732f43af8def231f23beb6d523cd52f76504c8c Author: Ben Gardner Date: Sat Aug 30 16:30:13 2014 -0500 Cache the results of ifdef_over_whole_file() commit 6a3d100bdda9075394d09a89ae19d9573c6840ca Merge: 620747e 86ca62b Author: Ben Gardner Date: Sat Aug 30 16:00:01 2014 -0500 Merge branch 'no_include_guard_indent' of https://github.com/rdan/uncrustify into rdan-no_include_guard_indent commit 620747ec48e8e8aff87c0de68910b9fe15cd59b2 Author: Ben Gardner Date: Thu Aug 28 23:01:32 2014 -0500 Add tests for new '({\n' functionality commit 1a16cfc6e2d6d40d2b4862ac391e9ebe7c73d409 Author: Ben Gardner Date: Thu Aug 28 23:00:33 2014 -0500 Indent by brace in '({\n', add option indent_paren_open_brace to revert This is mainly for objective C code. commit c5e9583136dc576805dae5ea1ca2490622d56051 Author: Ben Gardner Date: Thu Aug 28 22:50:19 2014 -0500 Make the LINDPC logs much more verbose and easier to read commit 0f6dbafe9f79c4aad2d5c879ccb19c1a1e31edd1 Author: Ben Gardner Date: Fri Aug 22 20:00:21 2014 -0500 Add missing config for test 562 commit e85bc5a6eb32106f3d3d05d70d726be5c0492e5c Author: Ben Gardner Date: Fri Aug 22 15:20:33 2014 -0500 Update test results based on new comment substitution code commit 8e1742f64b8d14648d48ddce9126c866b26f0215 Author: Ben Gardner Date: Fri Aug 22 15:20:08 2014 -0500 Do comment keyword substitution before processing the comment. commit a91f95312e2b372f40ebca53021c666f15dadd38 Author: Ben Gardner Date: Fri Aug 22 12:54:43 2014 -0500 Add more tests commit 96a655df62e6d6ea92533de2906f8ea0367bb91b Author: Ben Gardner Date: Fri Aug 22 12:54:30 2014 -0500 Do comment keyword replacement earlier and directly on the comment text. commit b8d8b0202e31dac687b892f8c9a41fb687ec2024 Author: Ben Gardner Date: Fri Aug 22 12:53:36 2014 -0500 Enhance unc_text with insert(), erase(), rfind(), and replace(). commit 68c76717b183c4e80fee468e3d317c5be6c02d4a Author: Ben Gardner Date: Fri Aug 22 10:57:50 2014 -0500 Fix comment keyword substitution of 'fclass' inside a class commit 43edc60aa6d58a767193b5e8d43457d9708ec65f Author: Ben Gardner Date: Fri Aug 22 10:27:56 2014 -0500 Clean up index.html a bit commit 622a0cbe0db7257cfd32f882d88a34e35de5cdc7 Author: Ben Gardner Date: Thu Aug 21 23:11:26 2014 -0500 Add test for SF#562 commit 0ffb183bd3f6c55a393d1fcf37581d5913a836ec Author: Ben Gardner Date: Thu Aug 21 23:10:56 2014 -0500 Fix operator call detection in "baz(&operator[](bar));" commit a6ac4f0fedd98efe23fdd4f94087361b3eb522a5 Author: Ben Gardner Date: Thu Aug 21 21:57:21 2014 -0500 make_version.py: no need to split lines of uncrustify_version.h.in commit f4af8773e815af8f3feae6251f19ac4a7f211cda Author: Ben Gardner Date: Thu Aug 21 21:54:36 2014 -0500 Update make_version.py after the configure.ac rename commit e8e4c21a116fdea29def40aceaa0f4320f6b0d94 Author: Ben Gardner Date: Thu Aug 21 21:50:27 2014 -0500 Re-run autogen.sh on Ubuntu 14.04 commit f199bd478471e7db1477ac15c5da3af5451d20d9 Author: Ben Gardner Date: Thu Aug 21 21:45:37 2014 -0500 Rename configure.in to configure.ac commit 8b3f1083fe074cc14ea2e43ad18374ea1df09f3e Author: Ben Gardner Date: Thu Aug 21 21:44:25 2014 -0500 Add a script to update the version commit 1751709f4026da603f5ac5420669c4dcb50a48f8 Author: Ben Gardner Date: Thu Aug 21 21:01:32 2014 -0500 Do not remove semicolon in "return {a, b};" commit f815d6b3964295c5d9864df14988aff6f55d7a5e Author: Ben Gardner Date: Thu Aug 21 20:48:44 2014 -0500 Remove incorrect warning about unmatched VBRACE_OPEN at the EOF commit 94a2eabf307fc7534c3be3de36a8670ce2623e05 Author: Ben Gardner Date: Wed Aug 20 20:47:15 2014 -0500 Add test for GH#287 commit 39914d4e1e593f66f23505ce14cbfd4e5a69adf8 Author: Ben Gardner Date: Wed Aug 20 10:32:24 2014 -0500 Add test for SF#588 commit 7234f48a60ac0ec1a1798e1d9e535f4f104eea69 Author: Ben Gardner Date: Wed Aug 20 10:29:23 2014 -0500 Add support for VALA numeric identifiers: '@4' is a WORD, not a NUMBER commit 6f41f0ce00522f0bc3ccb1d475adfb8beb1eef72 Author: Ben Gardner Date: Wed Aug 20 10:28:36 2014 -0500 A change in preproc level should reset '<<' aligning. It probably should reset other aligning, too, but no one has complained. commit 71417801533cb5e0c7c112fafcd0bdd520c7edfc Merge: 80b7109 d33176e Author: Ben Gardner Date: Tue Aug 19 22:37:28 2014 -0500 Merge pull request #285 from PerfectCarl/patch-1 Mention VALA in -l option in the help message commit d33176e1afa755c1a9299fa5893c7179369e4339 Author: PerfectCarl Date: Tue Aug 19 11:08:36 2014 +0200 Mention VALA in -l option in the help message commit 80b7109e9465914721884681bcf7f8aa5d9a5ea4 Author: Ben Gardner Date: Mon Aug 18 14:56:47 2014 -0500 Add test for SF#594 commit 18393d0345ecff19da0c4e15c718b1656263b27c Author: Ben Gardner Date: Mon Aug 18 14:56:19 2014 -0500 Do not call tokenize_cleanup for the C language (and a few others). commit 3e00ee5dcb90f07056a02a995b9052f54fe6c8cb Author: Vincent Rouillé Date: Mon Aug 18 16:29:30 2014 +0200 Fix parsing issue with Objective-C message send. Parsing message like [(id)obj msg:var] was failing. commit add39bf18ae0f76f53d9d8703805c7543d61db15 Author: Ben Gardner Date: Sat Aug 16 20:30:01 2014 -0500 Add a test for SF#593 commit 1ac4301a450fc238ac4ff4f0a59579dbecb55e27 Author: Ben Gardner Date: Sat Aug 16 20:29:04 2014 -0500 indent_continue should also apply to class constructor calls. Not sure why that was explicitly disabled, but no tests failed after removing that check. commit 5d1bfcc1b2512283c1b72a79fd0abcc1a88543f4 Author: Ben Gardner Date: Fri Aug 15 16:09:45 2014 -0500 Split FUNC_CLASS into FUNC_CLASS_DEV, FUNC_CLASS_PROTO commit 05a5d5bcc6d524d3290fbc10deacbf623360adab Author: Ben Gardner Date: Fri Aug 15 15:22:02 2014 -0500 Remove invalid 'namespace' from C test commit ff21c4ff8dd77444143ce860f34620f71d82c2a6 Author: Ben Gardner Date: Fri Aug 15 15:19:58 2014 -0500 "namespace" is not a keyword in the C language. commit 173e61aa02b98499474b694291d6cb7be70a7434 Author: Ben Gardner Date: Fri Aug 15 15:08:07 2014 -0500 Fix null deref if file starts with a newline commit 8ca5edfa5b30fa55ef72fe5c5cc8d8e268f3edb9 Author: Ben Gardner Date: Wed Aug 13 09:39:32 2014 -0500 Missed a ctx.restore() in parse_code_placeholder() commit 53725db37577296299c3e5df961402cf6d24190b Author: Ben Gardner Date: Fri Aug 8 17:54:36 2014 -0500 Protect trailing space inside a multi-line string commit 397b2f95193c2ee04a8e9b6d1dbb73e244bfe0c0 Author: Ben Gardner Date: Fri Aug 8 17:44:17 2014 -0500 VALA verbatim string: missing setting nl_count commit 12eb6a6ababa2dab992fe73475c6f8ec34117036 Author: Ben Gardner Date: Fri Aug 8 17:34:34 2014 -0500 Rework parse_code_placeholder() commit 420b06637bb19be1f9dba5a285f07521772cf5e6 Author: Ben Gardner Date: Fri Aug 8 17:33:34 2014 -0500 Drop new option dont_protect_xcode_code_placeholders I don't see how anyone would not want this. commit a442258c580a71066b7b64cfe6fd033a7decb11c Merge: c55f777 6059686 Author: Ben Gardner Date: Fri Aug 8 17:24:03 2014 -0500 Merge branch 'jgross-xcode-placeholders' of https://github.com/JoshuaGross/uncrustify into JoshuaGross-jgross-xcode-placeholders Conflicts: tests/objective-c.test commit c55f777dda2be74ed7d264f4ec298d7393d0e241 Merge: f28d310 3214eac Author: Ben Gardner Date: Fri Aug 8 17:19:29 2014 -0500 Merge pull request #263 from mys007/master Fix Issue 262 commit f28d310ae56840e50b22c51d9da5a9e4027b061d Merge: ade7245 3111f77 Author: Ben Gardner Date: Fri Aug 8 17:16:50 2014 -0500 Merge branch 'master' of https://github.com/orudge/uncrustify into orudge-master Conflicts: src/punctuators.cpp commit ade7245cc6b1fda9239d5965bc47e2dfc8f1a369 Author: Ben Gardner Date: Fri Aug 8 17:07:14 2014 -0500 Clean up whitespace from merge commit 4d20bcaeef08eff40d60d389bea9e6e360d84a18 Merge: dbc35fe faa3a8e Author: Ben Gardner Date: Fri Aug 8 17:04:56 2014 -0500 Merge branch 'java-try' of https://github.com/Keepun/uncrustify into Keepun-java-try commit dbc35fee81a99dc1dcda4e92aa991313c2d5a2fa Merge: 034f7e2 fad09d7 Author: Ben Gardner Date: Fri Aug 8 16:58:16 2014 -0500 Merge pull request #277 from tintou/master Added missing vala punctuators. commit 034f7e218e3140b2261ae5a0b2b2b7513d9ffc26 Author: Ben Gardner Date: Mon Aug 4 22:53:47 2014 -0500 Add basic support for VALA verbatim strings. It looks like it is stripping trailing spaces in the string, but that is a separate issue. commit fad09d7ff1342a4f3bf3a27a7acb9bb32413a609 Author: Corentin Noël Date: Tue Jul 29 02:37:35 2014 +0200 Added :: as it might be used in some projects. commit 1839b061d7af045abbf1433dd89e3a53f44588d6 Author: Corentin Noël Date: Tue Jul 29 02:19:24 2014 +0200 Fixed missing vala ponctuators. commit 3111f775de155e7981aed56b6618a081e2db4767 Author: Owen Rudge Date: Fri Jul 18 15:12:41 2014 +0100 Fix right shift (">>") turning into "> >" in C# commit 3214eacea005b4ba73efdf7fe44d69b45518b327 Author: Martin Simonovsky Date: Sun Jun 1 13:21:16 2014 +0200 fixed operator priorities in line splittings commit faa3a8e407ad0b0c395b0b2c1b0f89c010d8164e Author: Keepun Date: Sat May 24 02:53:46 2014 +0400 Fix try-with-resources statement in Java 7 commit 36a0f44c54ee6301a5a208a12c08f97e59fcaa42 Author: Ben Gardner Date: Thu Apr 3 23:03:42 2014 -0500 Fix wrong test result. commit 1022db6785f99f26f944eb9d21690369a2eecde3 Author: Ben Gardner Date: Thu Apr 3 23:00:34 2014 -0500 Fix indent error if an open paren is the first thing on a line We cannot use the column of the paren until it has been indented, so indent it right away. Fixes SF#572 commit c883fb79794806105f01b02d45e8da69d288d9b5 Author: Ben Gardner Date: Thu Apr 3 22:58:42 2014 -0500 Enhance indent detailed logs - show the whole stack commit 4ddf2df6dbc480568f3d3a307eb29c5ae2361643 Author: Ben Gardner Date: Thu Apr 3 22:00:26 2014 -0500 Add test case for SF#574 commit 1bbac3f0021c44d9e2ff7b8a14bb1cda008b3b1a Author: Ben Gardner Date: Thu Apr 3 21:57:22 2014 -0500 Do not remove a newline before a function if preceded by a Vbrace close Fixes SF#574 commit f4b55060cb678f5ab86af43f37ca1da88dbcbb1c Author: Ben Gardner Date: Thu Apr 3 21:56:22 2014 -0500 Wrap newline_iarf() and newline_iarf_pair() in macros to trace calls commit 04a29f322b87d895b57792547f2fd1044b1403b9 Author: Ben Gardner Date: Thu Apr 3 21:37:44 2014 -0500 Work around labeling mix-up with ?: and OC messages commit 6059686712cacc0417ca652c291cdecaec577f26 Author: Joshua Gross Date: Sat Jan 25 21:44:42 2014 -0800 Handle Xcode code placeholders. commit 20cd06a17c4ac6e1ceffe59028cc80657a877d6d Author: Ben Gardner Date: Thu Jan 23 21:37:59 2014 -0600 Whitespace and style clean up commit 2c27e1c95bb205d02662d3095eae24a435d6d856 Author: Ben Gardner Date: Thu Jan 23 21:23:14 2014 -0600 Fix compile warning about uninitialized variable. The condition "can't happen", but may as well make the compiler happy. commit b4c8b3610166b580f557e0f90f9c091b63830e25 Author: Joshua Gross Date: Wed Oct 23 17:19:07 2013 -0700 * Fix a segfault parsing Objective-C blocks * More indenting options for Objective-C blocks, and passing blocks as method invocation parameters. * Fix `for...in` for Objective-C. * Allow methods to be invoked on Objective-C primitives, like NSStrings. * Unit tests for the above. Fix case of block literal being mistaken for block signature. Adding another test case for situations where extra space is added around a block passed in as the first argument of a C method invocation. Adding the cfg file for our new tests. Fix case where a block is passed as the first argument of a C-style method invocation; the parser marked the whole thing as a block type definition. Add another test for short ternary expressions and make sure it takes precedence over question mark spacing. Strengthening tests to make sure that short ternary doesn't break regular ternary expressions. Test showing how Uncrustify fails to treat messages on string literals properly. Allow messages to be sent to NSStrings. Add tests that show that casting to (id) breaks parsing (meaningless operation but syntactically valid). Allow `(id)[obj args]` as a valid Objective-C casting statement. Fix test case expected output. Fix for (x in y) for objective-c Improving indentation support of blocks being passed into message invocations. New options for indenting blocks in message invocations in different ways. Fix the block indentation options for Objective-C; it was very aggressively indenting more than was necessary. Mimic Objective-C style inline-block indentation. Prioritize aligning everything with the first message in a message invocation, if possible (as long as it doesn't force us to go below the current indentation level, we're fine). Xcode-style block-in-message indenting. Fix segfault Put parens around bitwise op Fix indentation Move check for for...in loops in Objective-C to a helper function in chunk_list.h Adding small test-case for for...in loops with id type declarations. Adding small test-case for for...in loops with id type declarations. commit 59aef5ceaba9e7dfa8f0e7a5d31cbe1d21cb2d53 Merge: b519818 b1ccf9d Author: Ben Gardner Date: Mon Jan 13 14:17:17 2014 -0800 Merge pull request #231 from Lykurg/fixspelling Fix typo in documentation commit b1ccf9dbbd34a0a8533423e25412e418e2a9af33 Author: Lykurg Date: Sun Jan 12 13:15:32 2014 +0100 Fix typo in documentation commit b519818ff9cc4225b4bcd905cc15b472c35f367d Author: Ben Gardner Date: Sun Jan 5 21:57:01 2014 -0600 Clean up formatting. commit f15390ebacb54c3c2a2780e26ba0259ca9d63bc6 Author: Joshua Gross Date: Mon Oct 28 16:26:50 2013 -0700 Differentiate between normal ternary (a ? b : c) and short ternary, (b ?: c) with option sp_cond_ternary_short commit 4b83d06c86ab949d1bc71d8eaa2cee9e9c7332bb Author: Tim Hütz Date: Sun Dec 29 12:35:48 2013 +0100 Fix build on Windows Added the missing include statements to build uncrustify on Windows (using Visual Studio Express 2013). commit 3dfe4933a0cf53cb966fb4312d4203911e66748e Author: Ben Gardner Date: Sat Jan 4 13:31:45 2014 -0600 Fix UniversalIndentGUI comment for newline options commit 8039738f68530f36a4edbaa254b2bdc0824ae594 Author: Ben Gardner Date: Mon Dec 16 20:50:01 2013 -0600 Update test 30750 for new option nl_brace_fparen commit 3ccea5e2702454f9da206f5b5f31c3cc13b33079 Author: Ben Gardner Date: Mon Dec 16 20:49:05 2013 -0600 Add option nl_brace_fparen to make test 30752 pass again commit fac76ee437b3e0a4adea2c6869f01aa3ff68d3ee Author: Ben Gardner Date: Mon Dec 16 20:48:31 2013 -0600 Fix option name: nl_brace_fparen commit 277e83780bc1f9f141b2ff3d8adf6dc38ec9133e Author: Ben Gardner Date: Mon Dec 16 20:45:23 2013 -0600 Whitespace cleanup. commit 4e1ce1982a698d6e36b90b59447179b9b004b9f5 Merge: 465c4cb 7c85198 Author: Ben Gardner Date: Mon Dec 16 20:37:49 2013 -0600 Merge branch 'alanf/space-between-block-and-square-brace' of https://github.com/alanf/uncrustify into alanf-alanf/space-between-block-and-square-brace commit 465c4cb4f770cf685bf7cc7611d4a85de0ccc97e Merge: f066915 a98ff1a Author: Ben Gardner Date: Mon Dec 16 17:37:02 2013 -0800 Merge pull request #205 from loudnate/patch-1 Correcting issues in default objc.cfg commit 7c85198f51d813884447bd2c8f2f9823aabc5252 Author: Alan Fineberg Date: Mon Dec 9 14:22:01 2013 -0800 Allow removal or addition of newlines after blocks. commit f066915cb48fff599321268e2bdc72d4a411ae9f Merge: 72fc222 b8ed112 Author: Ben Gardner Date: Tue Oct 15 20:37:57 2013 -0700 Merge pull request #207 from idpaterson/pull-requests/oc-ns-enum-alt Added support for NS_ENUM and NS_OPTIONS modern Obj-C enums commit b8ed112d479a23f7576e38f5e899eab4e38b9bea Author: ipaterson Date: Mon Oct 14 19:38:38 2013 -0400 Added basic support for NS_ENUM and NS_OPTIONS syntax using enum formatting rules. Fixes #143 and fixes #201. commit a98ff1aed753af485e855d2faab2c918258936f5 Author: Nate Date: Sun Oct 13 19:39:17 2013 -0700 Correcting issues in default objc.cfg commit 72fc222641ef6c592f70c5de5b92f04936bc6306 Author: Ben Gardner Date: Mon Oct 7 22:01:02 2013 -0500 Do a little code-style clean up commit 62d836458b8ef3efb2cd7f24ded256967511ee8d Merge: 5c571d4 e4d50b7 Author: Ben Gardner Date: Mon Oct 7 21:53:13 2013 -0500 Merge branch 'java-class-names-with-brackets' of https://github.com/npnth/uncrustify into npnth-java-class-names-with-brackets commit 5c571d415182a668bf053ba31130575079b8bd22 Author: ipaterson Date: Mon Oct 7 16:10:54 2013 -0400 Fixed handling of multiline arrays to match disctionaries. Previously the closing bracket was being aligned with the opening bracket, producing a very odd indentation. commit de982885cb09c2d91f1086e6473faaffab645029 Author: ipaterson Date: Mon Oct 7 16:05:56 2013 -0400 Fixed invalid Objective-C array literal syntax in tests. Arrays use square brackets, not braces. commit e4d50b74db2f21eda5505069cab7e639cb4f7137 Author: S. Gilles Date: Sat Sep 7 01:41:48 2013 -0400 Less fragile array-as-type handling Handle [], [N]-skipping in a better section of the code, which fixes some restrictions on the number of type tokens before an array for recognition (i.e. `final int[] a;' would be recognized, but `int a[];' would not). Test 80030 is updated to reflect this. commit 612c4aa8eea099e26f7abb80a5d14adb5b4bee45 Author: Ben Gardner Date: Thu Sep 5 20:49:12 2013 -0500 Update the README file to indicate that bugs should go on the sf.net site That info is also in the BUGS file, but github.com doesn't show that. commit e84a5811953b5fe95edb74e8268dd504a5d540e5 Author: Ben Gardner Date: Sat Aug 31 01:17:56 2013 -0500 Add another class colon test commit 058eac81bcb46c2804a30e684687b274e2a62eec Author: Ben Gardner Date: Sat Aug 31 01:17:15 2013 -0500 There cannot be variables to align in a class base list commit 25031c042320bbbd51a64dfc857f37371a361fbe Author: Ben Gardner Date: Sat Aug 31 01:14:15 2013 -0500 Mark stuff between a class base ':' and the '{' as IN_CLASS_BASE commit d2345631e2d49ada2c877eb0ad266c6d53c46373 Author: Ben Gardner Date: Sat Aug 31 00:38:35 2013 -0500 Update config files for the CLASS_COLON/CONSTR_COLON split commit 3dcffc22a4ec69afa82d4e35a3bab7943a62018e Author: Ben Gardner Date: Sat Aug 31 00:37:56 2013 -0500 New options: indent_constr_colon, nl_constr_colon, nl_constr_init_args, pos_constr_comma, pos_constr_colon This should finish the split between the class initializer list and base class list. commit cdadf3b0127a3c7ce37efa9525bcbbf45f0789e3 Author: Ben Gardner Date: Fri Aug 30 23:56:02 2013 -0500 Add options sp_after_constr_colon and sp_before_constr_colon Assuming that indent_ctor_init_leading was only meant to apply to the constructor colon, not the class declaration. No tests fail, but that may be because there is no test coverage. commit 0404165b13e37bdbcaed38cd1feb5d7c783795cd Author: Ben Gardner Date: Fri Aug 30 23:48:13 2013 -0500 Split the constructor initializer use CLASS_COLON into CONSTR_COLON. Keep all the options the same, so there is no change in test output. commit 25dd1fdc9923250ee0f1da92a8ceb3053ef0fa23 Author: Ben Gardner Date: Sat Aug 24 21:24:50 2013 -0500 Fix crash due to incorrect NULL check. commit 6d2b4980468c2f0c1d386fbe7d0625799463839b Author: Stephen Gilles Date: Wed Aug 21 17:02:10 2013 +0000 Simplify chunk_get_next_nisq commit ffb0d2693ea8d5d8c2e18c3e667e878d2f1bef03 Author: S. Gilles Date: Sat Aug 17 19:06:44 2013 -0400 Treat class names with array indicators as CT_TYPE in Java Extends the 'word followed by word is type' check to skip past intermediary (nested and stacked) sets of bracket. commit dd1dc2d81323bebdae2b85b2df49f6cddaaf2f2a Author: Ben Gardner Date: Thu Aug 15 00:48:18 2013 -0500 Use tok_ctx.expect() in a few more places. commit 28d53f6263d5ac24cc57f035a37fe898971ae84d Author: Ben Gardner Date: Thu Aug 15 00:28:46 2013 -0500 Remove unused local variable. commit 44cce3c3998233dc83c32d345e3db2e7bedbc1ca Merge: 5a2faae b2fbac9 Author: Ben Gardner Date: Thu Aug 15 00:26:01 2013 -0500 Merge branch 'master' of https://github.com/npnth/uncrustify into npnth-master commit 5a2faae9790991f0d8879e785e8d12606525c393 Merge: e11229f d8a4ec8 Author: Ben Gardner Date: Wed Aug 14 22:16:55 2013 -0700 Merge pull request #196 from villytiger/decltype Fix applying sp_before_dc rule with decltype commit d8a4ec8182c77f56b4389197c580d704bba0f706 Author: Ilya Lyubimov Date: Thu Aug 8 22:07:46 2013 +0400 Fix applying sp_before_dc rule with decltype Rule wasn't applied and one space was forcely added in the following example: std::vector v; decltype(v)::const_iterator it; commit b2fbac97eaf58220a60713ac939b9f6518cc9c8c Author: S. Gilles Date: Sun Aug 4 15:41:04 2013 -0400 Explicitly recognize '@interface' as class-like keyword In Java, treat '@interface' like the keyword 'class', including all implied indentation. This changes the results of 80010, and as such is a distinct commit. commit 9c208322522772aa0483dbf0a318e0e99a502f95 Author: S. Gilles Date: Sun Aug 4 04:10:13 2013 -0400 Better handling of Java interfaces Handle Java interfaces without relying on untracked newlines so that nl_remove_extra_newlines can be nonzero. Also handle the keyword @interface during tokenization so that it is not mishandled. Tests 80011-80014 are added as well. commit e11229f1d86ad0acbfa84f5863d0fd094817fc4b Author: Ben Gardner Date: Sat Jul 13 13:09:39 2013 -0500 Add tests for fix for SF#557 commit 860378c4ba6aa482711513e44ad90b1d59ee8c69 Author: Huang-Ming Huang Date: Sat Jul 13 13:07:06 2013 -0500 Fix function parameter classification bug commit b4a057cfd17618f459a80a589b46fdf696d5a4ec Author: Ben Gardner Date: Sat Jul 13 12:33:31 2013 -0500 Add test for github issue 137 - objc indent issue commit 2b268a241f7244fa2b24a6c30caa25df41796524 Author: Ben Gardner Date: Sat Jul 13 12:32:44 2013 -0500 Fix whitespace around '+' in last commit commit 0326d0594f48e8c771d524d18778dc2975690f04 Merge: 936558e 06c8ecb Author: Ben Gardner Date: Sat Jul 13 10:31:03 2013 -0700 Merge pull request #185 from mmcdole/master Fix nested block indentation in Objective-C commit 936558e04a1a234cfb3c5eee34ee68b06b418f1b Author: Ben Gardner Date: Sat Jul 13 12:15:44 2013 -0500 Trailing whitespace fix commit cde6fea68d1f593c8ed3972c70669cdaebc4188b Author: Ben Gardner Date: Sat Jul 13 12:15:27 2013 -0500 Add a test for the new sp_cond_xx_xx options commit 58a2138e587576ad27c469053df625bf80bc41be Author: Ben Gardner Date: Sat Jul 13 12:07:47 2013 -0500 Add sp_cond_colon_before/after and sp_cond_question_before/after. Thanks to Daniel Burr. commit 67ce0bfe08b4b5f9282c1eaf508a67009bfae4c2 Author: Ben Gardner Date: Sun Jun 30 22:00:55 2013 -0500 A stray colon in a 'for' statement is likely a FOR_COLON. Thanks to github user shhccie for finding the issue. commit 06c8ecb30abd418c7e6297f43449ce24cc91f6b3 Author: Matthew McDole Date: Wed Jun 26 15:48:07 2013 -0500 Fix issue with nested blocks in OC commit 41f04c88dfdf3aa1769add9fbcbe195d20a72457 Author: Ben Gardner Date: Wed Jun 12 22:19:41 2013 -0500 Add a test for the long brace comment options. commit 49f5cd579166085a5fc42e4d5850973126f8a0b3 Author: Ben Gardner Date: Wed Jun 12 22:19:02 2013 -0500 Grab the full namespace or function name. commit c0073178d2d4340e6a0fedf0c62b8907a0730eb1 Author: Ben Gardner Date: Wed Jun 12 21:53:27 2013 -0500 Don't use standard lib name for a variable. commit 9117dc60e1e5aa7b230541dfad90f72480af99bf Author: Ben Gardner Date: Wed Jun 12 21:53:00 2013 -0500 Fix crash bug when running test 10010 due to NULL pointer (ns_pc). commit 29e33a35adf05ba75d46ceb2df5f04c45000e5cc Author: Marius Zwicker Date: Tue Jun 11 17:05:46 2013 +0200 Added the option to add a comment after closing braces of namespaces, similar to functions commit 06fd7cd290136fe31c7687181599916fa8ff70c5 Author: Ben Gardner Date: Sat Jun 8 12:10:12 2013 -0500 Add test for SF#538. commit 1478a195ea804a501d6354d7b5fdbbca6c86e70b Author: Ben Gardner Date: Sat Jun 8 12:07:02 2013 -0500 Allow types (var defs) inside for(), if(), while() loops. commit 12b722905b2b53de37d74309d32756afdd3a03fc Author: Ben Gardner Date: Sat Jun 8 12:05:57 2013 -0500 Remove unused label. commit c6af5594221da60e725a3466f83178f2e956efc2 Author: Ben Gardner Date: Sat Jun 8 12:05:41 2013 -0500 Mark LVALUE in the first pass. commit acf6ae6abc4ffa096c93ff69acaa7006642043bc Author: Ben Gardner Date: Thu Jun 6 21:50:20 2013 -0500 Extend/add test case for SF#537 commit aacacc7c443315320108d03e3d292c448f964de3 Author: Ben Gardner Date: Thu Jun 6 21:43:09 2013 -0500 Extend the list of tokens that shouldn't be before a proto/def commit 485d7682a4cb5949c833c3260c950416d3d258bb Author: Ben Gardner Date: Thu Jun 6 21:18:40 2013 -0500 Try doing a class continuation indent. commit 20653f4ee86f0d44a95b756c5b1404a6ce2790ab Author: Ben Gardner Date: Thu Jun 6 20:51:30 2013 -0500 Add something to a test to cover "(*x)();" commit 395b0fc45ae23b1fa1d7d34c57a7bb86d2be3fe1 Author: Ben Gardner Date: Thu Jun 6 20:50:54 2013 -0500 Require *something* for a function type definition. commit a9bde78443c5da89ea5761e6a33ffe914ab6514e Author: Ben Gardner Date: Wed Jun 5 23:44:04 2013 -0500 Do a better job of skipping B:: in "A(B::*C)();" commit fd3cd8775ba6b940cec494a1d467049e69a6bf91 Author: Ben Gardner Date: Wed Jun 5 23:26:53 2013 -0500 Check the 'return' type for a function type. commit a5ecb4772c95dd818c474c1e38fa2dcc5087eff7 Author: Ben Gardner Date: Wed Jun 5 22:55:07 2013 -0500 Require '{', ';', or '=' after a function type. Fixes part of SF#532. commit 6bc77231195f6ca75472a428c8d5bc26629c4637 Author: Ben Gardner Date: Wed Jun 5 22:29:49 2013 -0500 Update test for C comment fix commit 6ad733743f5db519cd3edc84e7a300672361f0bf Author: Ben Gardner Date: Wed Jun 5 22:28:56 2013 -0500 Add some protection against adding a '*/' inside a C comment commit ed0b66aacd88b7e6c565c6feea20b216e977560d Author: Ben Gardner Date: Wed Jun 5 22:00:42 2013 -0500 No return type for constructor/destructor Affects nl_func_proto_type_name and nl_func_type_name. Fixes SF#530 commit 77681bfd703af2de55c2550317400b012c89ac8b Merge: a290e0c bdfe301 Author: Ben Gardner Date: Tue Jun 4 21:32:15 2013 -0700 Merge pull request #180 from berenm/cpp-lambdas Better support for C++11 lambdas formatting. commit a290e0c455383748f2e436671611dae758c711a9 Merge: 1e38539 61f8b86 Author: Ben Gardner Date: Tue Jun 4 21:29:13 2013 -0700 Merge pull request #181 from berenm/cpp-braced-init Support C++11 braced initializer lists. commit 61f8b869c18502375afacb8a325fd569ec4f500b Author: Beren Minor Date: Tue Jun 4 20:17:47 2013 +0200 Support C++11 braced initializer lists. commit bdfe301d4f21ee4be6940b200692f0fcf77bab0a Author: Beren Minor Date: Tue Jun 4 18:25:51 2013 +0200 Update etc/defaults.cfg with missing options, from --update-config-with-doc. commit faf210181cf57c5ecb895de1e83f710a6952772c Author: Beren Minor Date: Tue Jun 4 12:02:36 2013 +0200 Support newline addition/removal before opening brace for C++11 lambda. Add new nl_cpp_ldef_brace option to add/remove/force newline before C++11 lambda opening brace. commit 05ba0c5e7ab7cfcdcc5bdf3fa053ccd7f7705e6f Author: Beren Minor Date: Tue Jun 4 11:04:27 2013 +0200 Support one-liner C++11 lambdas. (Closes #162) Add new nl_cpp_lambda_leave_one_liners option to leave one-liner C++11 lambdas. commit 1e38539c662c662cf2b4d690be5addbb0b30c18f Merge: 2fc8bee 7ba2041 Author: Ben Gardner Date: Sat Jun 1 10:26:14 2013 -0500 Merge branch 'master' of github.com:bengardner/uncrustify commit 2fc8beea2586b931e22c80f03e18bbb138f324d8 Author: Ben Gardner Date: Sat Jun 1 10:24:31 2013 -0500 Fix code indent commit fa8987ebb27f89f66f0c9b13c9c8033aec393cdc Author: Ben Gardner Date: Sat Jun 1 10:20:24 2013 -0500 Use parens in 'if' statement commit f4f1d6dfec4ba24a0f32f8af7a2239e2ea8bc7dc Author: Ben Gardner Date: Sat Jun 1 10:20:59 2013 -0500 Undo change that breaks the @return comment in java comments commit 9c7ff6f05360f0bfc8bd992eeab23aa6a1095c85 Author: Florin Pop Date: Mon May 27 19:37:42 2013 +0200 Output Objective-C parameter names where $(javaparam) is used in a comment block. commit 7ba2041fb62f8f32969813ee59b4468df4cd83ad Merge: 6f840f2 7689235 Author: Ben Gardner Date: Sat Jun 1 08:09:09 2013 -0700 Merge pull request #173 from nightdelphin/fix_keyword Fix "finally" keyword in keywords.cpp commit 6f840f2da5f316a67146fe7a366b412593cd189c Author: Ben Gardner Date: Sun May 26 22:31:20 2013 -0500 Enhance test for align_same_func_call_params to cover brace levels. commit b338372bb6fd32c8faa7bac059ea6b3e7adbd879 Author: Ben Gardner Date: Sun May 26 22:30:25 2013 -0500 Fix align_same_func_call_params with different brace levels. commit a2741b1208eafeb3c12446c98008d1bcf4f088e3 Author: Ben Gardner Date: Sun May 26 22:03:08 2013 -0500 Add test for options sp_word_brace and sp_word_brace_ns commit 569d2cd0fa74376eef4ebb1b72c01ed65f86140f Author: Ben Gardner Date: Sun May 26 22:02:50 2013 -0500 Set defaults to new options to not change current behavior commit 7496a1d2b40b6c46ccf46e42698a04f4ced370a9 Author: Ben Gardner Date: Sun May 26 22:02:27 2013 -0500 Set the parent for the braces around get/set pairs. commit cdc3e28d68c9fd07287289fbb2dae8aa3e35dc08 Author: Ben Gardner Date: Sun May 26 22:00:11 2013 -0500 Add sp_word_brace_ns and sp_word_brace to control space in 'word {' Addresses SF#545 commit 1b5bdb93aa143de4ad50d2446b73ac390fd62c1d Author: Ben Gardner Date: Sun May 26 21:22:14 2013 -0500 Update test to cover SF#547 commit 3526839296295de7a5fa1f718e28a05656b5a0b2 Author: Ben Gardner Date: Sun May 26 21:21:50 2013 -0500 typename also indicates a function param type. commit 2158000a3652c4246051cab381308a1bf25faec2 Author: Ben Gardner Date: Sun May 26 21:08:22 2013 -0500 Add some logs that were useful in fixing SF#546 commit 77c2a484f64ebf50319bb5edf45bf06fb6915d4d Author: Ben Gardner Date: Sun May 26 21:07:53 2013 -0500 Add two other function template patterns to the nl_func_type_name test. commit 5c33a3175bd1f1b319bc84054ca6b4e9063840d6 Author: Ben Gardner Date: Sun May 26 21:06:26 2013 -0500 Fix nl_func_type_name for template functions. Fixes SF#546 commit 0288131faf20267b174f44ecf87c0ea426940d3c Author: Ben Gardner Date: Sat May 25 17:24:21 2013 -0500 Add test case for SF#548 commit 3716f7f6605e0d1689220a953e3baf0e910de191 Author: Ben Gardner Date: Sat May 25 17:19:27 2013 -0500 Add a new token for the 'class' in 'enum class'. May fix SF#548 commit 9936f1b7d5de8b72a0f2d7f768e62403f6196589 Author: Ben Gardner Date: Sat May 25 17:01:52 2013 -0500 Add test coverage for SF#549 commit cb9853b4cb653fccb8dee0321e3117bad9692b41 Author: Ben Gardner Date: Sat May 25 16:57:21 2013 -0500 Add test for SF#550 commit 4c3e74457e31e69e95a99fd7622644a5dbc45b18 Author: Ben Gardner Date: Sat May 25 16:52:46 2013 -0500 Don't remove braces if it contains a switch statement and other stuff. Fixes SF#549 commit c658f44a26fe827577866585b0c359323e1a2e01 Author: Ben Gardner Date: Sat May 25 12:08:46 2013 -0500 Don't try to align '<<' in enums. Fixes SF#550 commit 7689235fda8d378ea09825ab049c8df7d465cbaa Author: Ivan Nazarenko Date: Thu May 23 18:54:07 2013 +0300 Fix "finally" keyword in keywords.cpp commit 265ca86b5d94e67443dd960832acdf7db85e113a Author: Ben Gardner Date: Tue Apr 9 07:13:58 2013 -0500 Fix off-by-one in enc_text::find() commit 52076100951f58927502f84cbbf8c90643c67adf Author: Ben Gardner Date: Tue Apr 9 06:56:01 2013 -0500 create_one_liner: Bail if there is more than one newline This used to bail if there were any newlines, which prevented creating one liners. commit 7a0c75e5ca74bcf23de2fad92072d7bf030c738d Author: Ben Gardner Date: Tue Apr 9 06:54:02 2013 -0500 FORCE a space after a VBRACE OPEN instead of ADD commit be86509d80831f82c10fb38a12cb037798f69921 Author: Ben Gardner Date: Tue Apr 9 06:41:59 2013 -0500 Update test results for new option commit 43cdd73953b55107f12c5547e3d73f7c7f13600f Author: Ben Gardner Date: Tue Apr 9 06:41:24 2013 -0500 Move sp_cparen_oparen so it doesn't conflict with other options commit 3c8fe04e45d779a3b9d1838152bb953bdd9c643a Author: Ben Gardner Date: Tue Apr 9 06:04:59 2013 -0500 Add option sp_cparen_oparen Controls the spacing between a close paren and open paren. commit 20a311344bd331ac9bff4872582225111f1ff75f Merge: 816cbb9 620ff3c Author: Ben Gardner Date: Mon Mar 25 19:06:06 2013 -0700 Merge pull request #158 from madscientist/ms/wrap C++ comments with long first words were wrapped, leaving an empty comment line. commit 816cbb971be2a0ee6f2a2b8f898d3fbc228d2997 Merge: 84dde5e 37076b2 Author: Ben Gardner Date: Mon Mar 25 19:04:48 2013 -0700 Merge pull request #157 from madscientist/ms/stdin Allow "-" to mean read filenames from stdin with -F/--files. commit 620ff3ca8559f69381482336dd5b73872cf50f97 Author: Paul Smith Date: Sat Mar 16 19:10:26 2013 -0400 C++ comments with long first words were wrapped, leaving an empty comment line. commit 37076b29113a2f5ee40858e897cdef0c5a365400 Author: Paul Smith Date: Sat Mar 16 12:21:30 2013 -0400 Allow "-" to mean read filenames from stdin with -F/--files. commit 84dde5e2f8722dcfb511a1d264b0834b95f6f294 Author: Ben Gardner Date: Wed Jan 16 21:18:25 2013 -0600 Fix detection of '[xx] =' when aligning initializers. commit cc67666318862116caa3b6c1682926c333e20dbb Merge: 847c1f0 299f2b4 Author: Ben Gardner Date: Tue Jan 15 18:46:53 2013 -0800 Merge pull request #130 from rolandschulz/master Add option to disable tightening when aligning commit 847c1f08134c717bdf813e0d82f1ce1001ee23fc Author: Ben Gardner Date: Tue Jan 15 20:44:32 2013 -0600 Update semicolon removal test for typedefs. This addresses NS_ENUM & NS_OPTIONS declarations (OC). From: Jim Frisby commit 24d820b1db375efb142019eba47e5bb6e5b864dd Author: Ben Gardner Date: Tue Jan 15 20:34:52 2013 -0600 Do not remove semicolons if the parent is CT_TYPEDEF commit 299f2b4356a28764188ea55b239e8917748d3b99 Author: Roland Schulz Date: Tue Jan 1 16:05:28 2013 -0500 Add option to disable tightening when aligning Fixes #122 commit 15dc4bb3a821b823ce96e7cd288b48d274b0900c Merge: be4dc5d 6983fea Author: Ben Gardner Date: Mon Jan 14 06:05:44 2013 -0800 Merge pull request #128 from ryanmaxwell/master Correction for issue #127 commit be4dc5d7a229ea5280ef525876c27144dc747624 Author: Ben Gardner Date: Mon Jan 14 07:54:31 2013 -0600 Fix the version in the ChangeLog commit 6983fea0e95e21300ea3c2ed0fbc21605dd98291 Author: Ryan Maxwell Date: Tue Jan 8 16:16:07 2013 +1300 correct @finally keyword type commit 432aa0b373cb82928dcc359cc9246daa5d1a4f2e Author: Ben Gardner Date: Tue Jan 1 16:00:04 2013 -0600 Update commit.log commit 20f85c688334859635b21b95951b1e115540c69d Author: Ben Gardner Date: Tue Jan 1 15:59:23 2013 -0600 Run scripts/update-defaults.sh commit d85e6222393b36fde7aa8275abdea0c86ffe7f8d Author: Ben Gardner Date: Tue Jan 1 15:57:34 2013 -0600 Run autogen.sh on Ubuntu 12.10. commit f9282e34b98da6733c502448bbb88dd4ae28048a Author: Ben Gardner Date: Tue Jan 1 15:56:51 2013 -0600 Update the ChangeLog commit 5d1398028feaf5181a5e41e8893392bdac602afb Author: Ben Gardner Date: Tue Jan 1 15:25:38 2013 -0600 Add a few files to the workspace commit cae8a0b9c1b913e428e219865bb46fa58d4539fc Author: Ben Gardner Date: Tue Jan 1 15:25:13 2013 -0600 Update version number to 0.60 commit edfb4f0bd76c11af4d5bb7cd709c0857ab084042 Author: Ben Gardner Date: Sun Dec 30 14:56:49 2012 -0600 Fix labeling of OC @property statements commit 4154cb656fd3344b72c10b757087344adb1fa190 Author: Ben Gardner Date: Sun Dec 30 10:57:48 2012 -0600 Properly label 'using namespace XXX;' commit b3744a85a9273d05b80d05086cfc42024e1813c9 Author: Ben Gardner Date: Sat Dec 29 23:39:23 2012 -0600 Split 'prev' code in chunk_skip_to_match() to chunk_skip_to_match_rev() commit 182a0cae4cf0d2db4e41249043fd9ef9191ba54e Author: Ben Gardner Date: Sat Dec 29 23:25:32 2012 -0600 Fix the pawn-only keyword 'sleep', which is like return or sizeof. commit d625ef6006159aa9272cf9be7c497b802b4c7e65 Author: Ben Gardner Date: Sat Dec 29 23:24:46 2012 -0600 Update test results (missed a file in the last commit) commit 51fe304d6dbb1d4ddf2e30a9e4e6c04f62aa903c Author: Ben Gardner Date: Sat Dec 29 22:42:13 2012 -0600 Update config and test for indent_oc_block_msg commit 67d055ccfbcf7c3e9b2078b791e991c813eb847e Author: Ben Gardner Date: Sat Dec 29 22:38:53 2012 -0600 Add option: indent_oc_block_msg Indents blocks relative to the tag name inside messages. Really hacky, but it seems to work. commit 0edf827adcb8b509b58607faacecec906ed0980b Author: Ben Gardner Date: Sat Dec 29 15:51:59 2012 -0600 And and update tests for new ObjC options commit fa87f91938e520251d1380e0ebd2d69f7d11e1d7 Author: Ben Gardner Date: Sat Dec 29 15:47:04 2012 -0600 New option: indent_oc_msg_colon Insert a CT_SPACE in front of the longest arg to make it work. commit f3aa1441a79f5968436e4b607ed8d3c8b8209c0f Author: Ben Gardner Date: Sat Dec 29 15:43:09 2012 -0600 Finish option nl_oc_msg_leave_one_liner commit e2f941ab0c8f1f1d48cf88d4718efcb8e8b525bd Author: Ben Gardner Date: Sat Dec 29 15:42:18 2012 -0600 Extend flag_series to both set and clear flags. commit bc7a55d957419cb4c01fa7a3a0cbad6cbf2573c1 Author: Ben Gardner Date: Sat Dec 29 15:41:05 2012 -0600 Add m_skip_first to AlignStack to anchor the first line. commit 626c3e5de763176d3b6d148a958786b712fd2b55 Author: Ben Gardner Date: Sat Dec 29 10:52:39 2012 -0600 Add a comment for undo_one_liner() commit e6248d0b55c066e76bc18c64245ebb0d6975f9da Author: Ben Gardner Date: Sat Dec 29 10:52:16 2012 -0600 Add option: align_oc_msg_colon_first Controls whether the first OC message arg is aligned with the rest if it is short. commit d1fc8a0bdb2c04d057716be024063e4778b03799 Author: Ben Gardner Date: Sat Dec 29 10:50:40 2012 -0600 Add ChunkStack::Pop_Front() commit 493f3ed0bb1e3c21485ceaac1c6d7351ee5abe25 Author: Ben Gardner Date: Sat Dec 29 10:50:16 2012 -0600 Add options: nl_oc_msg_leave_one_liner and nl_oc_msg_args Splits OC message arguments to one-per-line. commit a317d7df902664efdcff5797685e9587a92b7bd7 Author: Ben Gardner Date: Sat Dec 29 10:43:02 2012 -0600 Rename ChunkStack::Push() to ChunkStack::Push_Back() commit 79a889b0e4847a39c2543a940214ab3e4be515a0 Author: Ben Gardner Date: Sat Dec 29 10:03:08 2012 -0600 Copy the level, pp_level and brace_level when inserting a newline. commit e1befa297644f4e53e79bd341cb68d3399203c31 Author: Ben Gardner Date: Fri Dec 28 14:58:06 2012 -0600 Do a better job of labeling 'extern (C)' stuff in D commit 3e92b23534e7e96e57f360fc24082eff6b06025d Author: Ben Gardner Date: Fri Dec 28 14:57:16 2012 -0600 Add option sp_extern_paren to control space in 'extern (C)' (D) commit c5916e04bc9f75d873660fa8e46baeb12ed1abd8 Author: Ben Gardner Date: Fri Dec 28 14:28:42 2012 -0600 Add test for the Java for-each construct. commit 9d193c556f240a168ec679aa1d4c7e478f82a87b Author: Ben Gardner Date: Fri Dec 28 14:26:40 2012 -0600 Allow splitting after a Java for-each colon. commit 3c3db622f1eb8bd5496d542ea2d80c88c0cd59a9 Author: Ben Gardner Date: Fri Dec 28 14:22:12 2012 -0600 Add options: sp_before_for_colon and sp_after_for_colon commit 7cbfd663b38859451612d7ad1b649359f6b808db Author: Ben Gardner Date: Fri Dec 28 14:03:57 2012 -0600 Label the ':' in the Java foreach: "for (TYPE VAR: EXPR) { }" commit ec14dea186351cf021e41bb7a7e7952a46734575 Author: Ben Gardner Date: Fri Dec 28 14:02:50 2012 -0600 Remove the date from token_names.h/make_token_names.sh commit 4f37cdf81942be97894ec467bada3f7c5f917590 Author: Ben Gardner Date: Thu Dec 27 19:50:20 2012 -0600 Skip the 'mutable' keyword in C++ lambda expressions Thanks to Jorge Amado commit 126a8b4474e9c260775a571804725316073a5db0 Author: Ben Gardner Date: Tue Dec 4 23:01:44 2012 -0600 Add option sp_after_oc_property commit dfff12d84896faa23e5832e0d28f8ffe78686935 Author: Ben Gardner Date: Tue Dec 4 22:53:05 2012 -0600 Update test for indent_oc_block option commit 697236aaf0b4b5979287e176f3a1773f25fe16db Author: Ben Gardner Date: Tue Dec 4 22:50:02 2012 -0600 Add option indent_oc_block to drop back the brace indent of OC blocks commit ba2faf474b574d85a570f145c8c65693490f9ec0 Author: Ben Gardner Date: Tue Dec 4 22:08:37 2012 -0600 Add a basic test for the '&&' C++ move operator commit 1ced8f481245a154a575d47acae6e286bffd8f95 Author: Ben Gardner Date: Tue Dec 4 22:08:16 2012 -0600 Allow the '&&' operator to be interpreted as CT_BYREF commit 3bb91cc5cdf5c914e59b630b0d1153c2aef8cc34 Author: Ben Gardner Date: Tue Dec 4 21:51:20 2012 -0600 Add option sp_before_pp_stringify and default sp_pp_stringify to ignore. commit 0b34f6412ad9c3fa45cc00edcae2f86710bc3db0 Author: Ben Gardner Date: Tue Dec 4 21:30:25 2012 -0600 Add test for sp_cmt_cpp_start fix commit 44e0253a1648e9ba8c905e9aa7877d07268645e1 Author: Ben Gardner Date: Tue Dec 4 21:26:43 2012 -0600 Fix C++ comment continuation on wrapped lines. commit a5b7aad662e80a56db10e990ec35b48d032e6223 Author: Ben Gardner Date: Tue Dec 4 21:20:15 2012 -0600 Add support for Objective C @throw and option sp_after_throw commit f91f1aa05b1f0f935fccebe50def5136a052f805 Author: Ben Gardner Date: Fri Nov 30 22:11:28 2012 -0600 Make a log less ambiguous, as there was the same text a few lines up. commit 9c3cf58acb6a45479147f4ccd849a83f3a0b9384 Author: Ben Gardner Date: Fri Nov 30 22:10:51 2012 -0600 Only flag parens after a function. This code may be redundant. commit a18e0a8c33e426cb04ca28e93165a46e9103e35c Author: Ben Gardner Date: Fri Nov 30 22:09:08 2012 -0600 Set the paren parent when marking a function call commit ce990e6d35316958c4f8a596c5c1efc1ef5e60e2 Author: Ben Gardner Date: Fri Nov 30 22:08:40 2012 -0600 Improve the flag_parens() log commit 53a19b1dbb088a468c50e6760785078503044126 Author: Ben Gardner Date: Fri Nov 30 20:32:23 2012 -0600 Add test case for SF#340 commit e9cf4852e0783dadfb8a1d98edaa78512371ef1b Author: Ben Gardner Date: Fri Nov 30 20:31:50 2012 -0600 Mark the parameter label with DONT_INDENT when aligning on the colon. Fixes SF#340 commit d5fabd4e79aabbc8cb0bb8f103c6a0a8c3776143 Author: Ben Gardner Date: Fri Nov 30 20:17:01 2012 -0600 Change template detection a little and enable for for Java commit 7556452ec8277f9b487b51b3682acec2d58536eb Author: Ben Gardner Date: Fri Nov 30 20:02:51 2012 -0600 Add missing ANGLE_OPEN/ANGLE_CLOSE to chunk_skip_to_match() commit 55d4795178842bdafcff18b3e510528ecd5a79bb Author: Ben Gardner Date: Tue Nov 27 22:40:17 2012 -0600 Rework test results based on recent changes. commit 93d0cc53ddaf5cc7e83b8515019c7700ec4183c4 Author: Ben Gardner Date: Tue Nov 27 22:38:07 2012 -0600 Add sp_after_tparen_close=remove to a few test config files commit 81d782116d6bce157c79609054d7419f0982cc06 Author: Ben Gardner Date: Tue Nov 27 22:31:14 2012 -0600 Rework ObjC block type, literal, and message marking commit f1152bde2a61f863730b5ef9d7377b7505abbcbd Author: Ben Gardner Date: Tue Nov 27 22:28:57 2012 -0600 Allow ObjC '^' to be used as a function pointer commit 31d47719c594f3f8c5a59c498f66702e94ef46ac Author: Ben Gardner Date: Tue Nov 27 22:27:15 2012 -0600 Use TPAREN_OPEN for aligning function defs commit 7a029ce0ea6e3489531ab28a84e4e4b335eeb2bf Author: Ben Gardner Date: Tue Nov 27 22:25:59 2012 -0600 Add sp_after_tparen_close and sp_ptr_star_paren commit 1e6cf7a2a3b568b33e8fc39c65a356b1069039dd Author: Ben Gardner Date: Tue Nov 27 22:05:57 2012 -0600 Make flag_parens() log who called it. commit 474fe3a8bec8f5f860598ca061859022b24b8a15 Author: Ben Gardner Date: Tue Nov 27 22:04:22 2012 -0600 Fix up fix_typedef() commit 2c5353d982c35ffa624fa369bdbbbd4741acb8dc Author: Ben Gardner Date: Tue Nov 27 22:01:54 2012 -0600 Clean up mark_function_type() and make it handle more cases. commit bfd9a034944c29c8566ceadcea39812fd6f8b2ee Author: Ben Gardner Date: Tue Nov 27 21:53:41 2012 -0600 Move log in align_typedefs and remove obsolete comment commit 4abb818058010d13478e924e443699e0c68b9565 Author: Ben Gardner Date: Mon Nov 26 23:04:43 2012 -0600 FUNC_WRAP and TYPE_WRAP need to be handled before the main loop. commit 6470b895835a897cfc0d195343c927525a277ea6 Author: Ben Gardner Date: Mon Nov 26 21:53:20 2012 -0600 Add an include statement to the config files to base of another config. commit e055dbc87cfae1b552dfa1512d87d04afd74dcc8 Author: Ben Gardner Date: Sun Nov 25 18:52:29 2012 -0600 Add TPAREN_OPEN and TPAREN_CLOSE for future function type stuff. commit 9c86d2f9f2ef023c48f709bbc7d1ae8a30241a77 Author: Ben Gardner Date: Sun Nov 25 18:49:24 2012 -0600 Change --decode to process all remaining args instead of just one. commit afc1f2aa1b1d3b765b3143613b718555fb0ddbd5 Author: Ben Gardner Date: Sun Nov 25 12:15:44 2012 -0600 Add a log sev for flag_parens() commit 3f528f93a2fd8a16aba5daed7a02a857e5afebda Author: Ben Gardner Date: Sun Nov 25 10:02:13 2012 -0600 Add '__thread' (C/C++) keyword commit 146b50958d9f9a58d9690fe778c14d4f758abb04 Author: Ben Gardner Date: Sun Nov 25 10:01:48 2012 -0600 Add '__block' (ObjC) keyword commit cf8c379422c360d6f87da219b817b0e8ba53fad8 Author: Ben Gardner Date: Sat Nov 24 15:04:44 2012 -0600 Try to clean up the objective C block code a little commit 2cb28330f9b0e4fd78d5d07364338ea1eda5667d Author: Ben Gardner Date: Sat Nov 24 15:04:11 2012 -0600 Make chunk_skip_to_match() go both ways. commit d5b3d1c4ebf793947a0f47a9a81d53f1dd2f3620 Author: Ben Gardner Date: Sat Nov 24 13:56:37 2012 -0600 Split out return type marking logic into mark_function_return_type() commit 877fc7f2bb65c3735a7c767d50d9f54e12ec3b36 Author: Ben Gardner Date: Sat Nov 24 13:25:47 2012 -0600 Objective C: @end marks the end of a statement commit 23cd8b3faf4f009ef68ec26df1095cdf4b5f5d4d Author: Ben Gardner Date: Sat Nov 24 13:25:20 2012 -0600 Objective C has the typedef keyword. commit dae38559646a0b4186e6464d9e40b1ed4c5d1213 Author: Ben Gardner Date: Fri Nov 23 15:21:30 2012 -0600 Split CT_CARET (^) from CT_ARITH commit 9fe010cbbca11f04ac31ca8a2f31f978ae805e38 Author: Ben Gardner Date: Fri Nov 23 13:38:02 2012 -0600 Patch over segfault in GH#107. commit 36c4414aa46b4d8378179bfc2630c363a10872ec Author: Ben Gardner Date: Thu Nov 22 11:03:10 2012 -0600 Update test results for nl_squeeze_ifdef change commit 114c2ac0f5e6be54fbefeeae050e12b46df09569 Author: Ben Gardner Date: Thu Nov 22 11:02:49 2012 -0600 Make nl_squeeze_ifdef work before #else and #endif commit a18cd338149d97938e28e07f64809949ea16e5a9 Author: Ben Gardner Date: Thu Nov 22 10:38:06 2012 -0600 Fix cmt_sp_after_star_cont when wrapping long comment lines. commit 83f2e0a7e832341485f6d37b980eefb9c77f489c Author: Ben Gardner Date: Wed Nov 21 20:20:48 2012 -0600 Add a test for bug SF#485 commit 07f1938707162f95209772de8821fdfe707ee282 Author: Ben Gardner Date: Wed Nov 21 20:18:28 2012 -0600 A colon starts a statement on the next token. Fixed SF#485 commit b2bd23da3c103b5d3a0877bce31991b6e62b45fd Author: Ben Gardner Date: Wed Nov 21 16:52:16 2012 -0600 Add test for variable aligning change for bug 495 commit cc503cb277767988e7f9c4aefbf3f8e51a396db5 Author: Ben Gardner Date: Wed Nov 21 16:47:48 2012 -0600 Align FUNC_CTOR_VAR with regular variables Patch from SF#495, thanks to Jean-Marc Bourguet commit 571d39af2e2ca5cec7d1665d25e2e2b640275b3a Author: Ben Gardner Date: Wed Nov 21 16:42:09 2012 -0600 Add a test for bug 484 commit 577f10774afd2a086c112fbc855db5f37876a635 Author: Ben Gardner Date: Wed Nov 21 16:41:35 2012 -0600 Do a better job of marking the C++ constructor initialization functions. Fixes SF#484. commit a8b1eb768712d0e0dd5efd00e0ff88027160b787 Author: Ben Gardner Date: Wed Nov 21 15:52:37 2012 -0600 Expand tests to cover new functionality commit 2305faab70e6df3096305a419bddeb3c49312959 Author: Ben Gardner Date: Wed Nov 21 15:52:14 2012 -0600 sp_cmt_cpp_start: Do not insert a space in '////' Thanks to sf.net user stsi commit 374c12df306f5d3f36c2026d734f758d87dc2e18 Author: Ben Gardner Date: Wed Nov 21 15:45:46 2012 -0600 Add a test for bug 481 commit 570a17c1f6b20ab0d2db31d4f62816bef257f865 Author: Ben Gardner Date: Wed Nov 21 15:45:28 2012 -0600 Always allow '[]' in prototypes. Fixes SF#481. commit 2654520e936bc91fbc18d4501b89965ee053c4b1 Author: Ben Gardner Date: Wed Nov 21 15:35:56 2012 -0600 Add a test for bug 472 commit 316bbcf34494b2dd2a1565d664ffaee6019bd79c Author: Ben Gardner Date: Wed Nov 21 15:35:11 2012 -0600 Handle old-school C function pointers as a prototype parameters. void foo(int, (void)); commit c2261b80c37d89ee56f7dcdd4cea00669e19e384 Author: Ben Gardner Date: Wed Nov 21 15:33:33 2012 -0600 C/C++ casts cannot be followed by a comma, close paren or semicolon. commit ebff0b4e9299711d3237e92e21099af3d7eb4da3 Author: Ben Gardner Date: Tue Nov 20 22:44:32 2012 -0600 nl_before_return and nl_after_return should also check for vbrace. commit dd9adc5775e7a56cd2c0c39220f246fbe449fa14 Author: Ben Gardner Date: Tue Nov 20 22:36:44 2012 -0600 Add a test for negative values of indent_continue commit bfb6771bea22b12447f0f670332f344cfe9dcde2 Author: Ben Gardner Date: Tue Nov 20 22:36:13 2012 -0600 Fix negative values for indent_continue. commit 86f2e99a784ea5c6c04b91c463db4f4ed7b355ff Author: Ben Gardner Date: Tue Nov 20 22:03:05 2012 -0600 Add a test to catch the tab-backslash-newline problem. commit 2faf4e699a49a0ca1c087bb135159afaa107bd93 Author: Ben Gardner Date: Tue Nov 20 22:02:25 2012 -0600 Do not allow a tab before a backslash-newline except if it was aligned. commit 102996568c1d3d53853b8142f27fe204cb30b772 Author: Ben Gardner Date: Tue Nov 20 21:43:44 2012 -0600 Expand the typedef aligning tests a bit. commit bf2a69a6e1ec7911e4b03da5fe944aa9570e796c Author: Ben Gardner Date: Tue Nov 20 21:37:09 2012 -0600 Rework typedef processing to handle 'typedef void foo(int);' commit 286d3d38c852d76808ac079cdb8852084a90e2e1 Author: Ben Gardner Date: Tue Nov 20 15:27:51 2012 -0600 Update tests for latest fixes. commit 71409716a860cef542e08d680574dea8f46670dc Author: Ben Gardner Date: Tue Nov 20 15:27:28 2012 -0600 Ignore vbraces when determining the comment position. commit b56f56b581a95c0cf86096c6162c7cb44749ddbb Author: Ben Gardner Date: Tue Nov 20 15:13:31 2012 -0600 Do not allow the removal of braces if it contains any preprocessors. commit 78438169b21759238252faf917231d4b9422e529 Author: Ben Gardner Date: Tue Nov 20 14:57:56 2012 -0600 Handle mod_full_brace_if_chain first so that braces are not toggled. Keep a flag to prevent a brace being virtualized. commit 70dfbd2d44ca1f7ff1c823bfbf9cdd2224b3c213 Author: Ben Gardner Date: Tue Nov 20 14:23:22 2012 -0600 Make nl_after_class force a newline after a semicolon for a class. commit 396480606490e9a22dc4e14d23e4ee3fd31d9e22 Author: Ben Gardner Date: Tue Nov 20 11:01:16 2012 -0600 Reuse the config file output code in the parsed output code. commit 55b5a029109a684851f77f05e8727bf6c53168b1 Author: Ben Gardner Date: Tue Nov 20 10:58:26 2012 -0600 Revert the test result 'fix'. The results are ugly, but correct. commit d93b3e57927ae6287d3d5aa336eb45e925213a1d Author: Ben Gardner Date: Tue Nov 20 10:57:50 2012 -0600 Fix prototype parameter marking when TYPE_WRAP is used. commit c7ba8cc65f8aa2995a241ff9145d967df2039aee Author: Ben Gardner Date: Tue Nov 20 10:23:52 2012 -0600 Add version to the 'parsed' output and make it usable as a config file. commit 00fa127f3e0192db96e089d754b95bc3ebb71f9f Author: Ben Gardner Date: Tue Nov 20 10:23:16 2012 -0600 Update test that had broken results, which were fixed by the last commit. commit 391b2919584ce149750d5ffe175fab0377f31a5a Author: Ben Gardner Date: Tue Nov 20 10:13:27 2012 -0600 Fix marking of unnamed parameters in prototypes. commit 235be8d12a7d16e1fcd7d7b6effd68e99727dc53 Author: Ben Gardner Date: Mon Nov 19 21:32:55 2012 -0600 Also handle: '[ func(a,b,c) selector ]' commit 0375f45fca8fef84ea1b4f764a2fff246aef707f Author: Ben Gardner Date: Mon Nov 19 21:32:19 2012 -0600 Update obj-c.cfg with new option: sp_after_oc_msg_receiver Add a test that uses it. commit 69523163bf7cd2aefebfd911551bf00e0a2ad1eb Author: Ben Gardner Date: Mon Nov 19 21:29:36 2012 -0600 Add Obj-C option: sp_after_oc_msg_receiver commit 24fe8b792003e513213f6c1d293063d61337afdc Author: Ben Gardner Date: Mon Nov 19 20:26:03 2012 -0600 nl_after_func_body should control the newline after a ObjC block expression. commit 9c131cea93862c88b8bb403ffe0e61620301026a Author: Ben Gardner Date: Mon Nov 19 14:29:04 2012 -0600 Update test results. I had changed the input but didn't update the results. commit 45519f9fe1b2e287760ebfce874277b40286db76 Author: Ben Gardner Date: Mon Nov 19 14:28:26 2012 -0600 Objective C messages: allow nested [] and protocols <> [ class self method ] ; [ [NSMutableString alloc] initWithString: @"" ]; commit 43e36321bc80deceb31c2b46a27bf865ea6feec4 Author: Ben Gardner Date: Sun Nov 18 22:37:43 2012 -0600 Add some more Objective C literal tests commit 90828710bab8306971767f0372abc8676e53c2ee Author: Ben Gardner Date: Sun Nov 18 22:35:33 2012 -0600 Do not do a space safety check on literal strings. commit cf4562d3ece8716d5bfa7257331369691b7a3401 Author: Ben Gardner Date: Sun Nov 18 22:11:25 2012 -0600 Parse Objective C literals: @2 or @"hello" commit 254c53bb55f51392ea6bbea73f9dad52ce6e3b02 Author: Ben Gardner Date: Sun Nov 18 21:48:49 2012 -0600 Clean up GCC compile warning about strict aliasing rules. commit 4e95ba9bb36c92f6807e322df2c15de3c79321a6 Author: Ben Gardner Date: Sun Nov 18 21:47:39 2012 -0600 Add a simple test for Java annotations commit b332a27a8f5fcd253bc736df4ed1d06b5882049a Author: Ben Gardner Date: Sun Nov 18 21:45:45 2012 -0600 Add basic support for Java annotations. New options: sp_annotation_paren nl_after_annotation nl_between_annotation Thanks to skarekar. commit 5421d10fca9a51e1311e3c791cbb8e2ab649eecd Author: Ben Gardner Date: Sun Nov 18 21:36:10 2012 -0600 Fix the 'package' keyword for Java, D, and ECMA. The Java 'package' keyword is nothing like 'namespace'. The D keyword is like 'private'. ECMA just has it as a reserved word. commit 5f403057e4bc4cfe0adf5e10a9702d1c68af257d Author: Ben Gardner Date: Sat Nov 10 11:53:50 2012 -0600 Add option sp_inside_sparen_open to mirror sp_inside_sparen_close commit 6407100375f6369bd2170d8d586af7742d4325c3 Author: Ben Gardner Date: Wed Oct 17 22:47:52 2012 -0500 Fix spelling errors in comments Thanks to Ger Hobbelt commit 97bae9f6766596f45ae1a6f3b960aeff468b7bf6 Author: Ben Gardner Date: Wed Oct 17 22:28:51 2012 -0500 Remove unused parameter to print_options() Thanks to Ger Hobbelt commit 46b78ef42a3ad960cee0eeb2c9b69f4cd6208e15 Author: Ben Gardner Date: Wed Oct 17 22:27:39 2012 -0500 Use the cross-platform 'safe' isalpha() wrapper. Thanks to Ger Hobbelt commit eb7ce00527e1f9fb7e1b9748a9458fdea4a0cf87 Author: Ben Gardner Date: Wed Oct 17 22:23:53 2012 -0500 Use the log_sev_t enum instead of int where it makes sense Thanks to Ger Hobbelt commit 4976ecf46bf5c99070442ed61d2c4d61d2313078 Author: Ben Gardner Date: Wed Oct 17 22:12:52 2012 -0500 Remove unused variable. Thanks to Ger Hobbelt commit 8177f573f0c6e5915b82fc785ac4314408933290 Author: Ben Gardner Date: Wed Oct 17 21:41:49 2012 -0500 Use EXIT_SUCCESS and EXIT_FAILURE instead of 0 and 1 for portability Thanks to Ger Hobbelt commit 9a96fd27e29d64ad813e9d99a135ef0e3079567b Author: Ben Gardner Date: Wed Oct 17 21:38:25 2012 -0500 Add some enum value comments Thanks to Ger Hobbelt commit 3653536c281c6bcc982da4bfe71a56536d734298 Author: Ben Gardner Date: Wed Oct 17 21:36:30 2012 -0500 Use GetEnvironmentVariableA() instead of GetEnvironmentVariable() Thanks to Ger Hobbelt commit db25fd2c9345eb506d57db33a501a81e68121976 Author: Ben Gardner Date: Wed Oct 17 21:35:15 2012 -0500 Whitespace cleanup a bit Thanks to Ger Hobbelt commit 6c430a023695451d5eb17027a098cc0d4e816aa6 Author: Ben Gardner Date: Wed Oct 17 21:13:02 2012 -0500 Uncrustify combined.cpp commit d35dc97ff2868e439cba3b5c331f442cc9391d13 Author: Ben Gardner Date: Wed Oct 17 21:09:16 2012 -0500 Update my preferred style and change mod_paren_on_return to ignore. commit 6bfecba0b345006c560793012d073db3b02bf585 Author: David Schaefgen Date: Tue Oct 16 09:38:47 2012 -0500 Finish FIX | Issue #99 Found an additional case, anonymous block arguments to Objective-C messages, i.e.: - (void)resetCells:(void (^)(UIView *view, NSUInteger idx))handler {...} or this in an @interface - (void)resetCells:(void (^)(UIView *view, NSUInteger idx))handler; commit 4eaee0e7f8b7621eb24a0fe24b7959047e74b011 Author: Ben Gardner Date: Mon Oct 15 20:46:09 2012 -0500 Fix the '>' + '>' => '>>' detection logic The memcmp() was incorrect since the token string storage was changed. The extra else if () logic added recently was not needed. At least, it didn't make any difference in the tests once tif was fixed. commit 3f06a2cd5f98fc9b2e32b4da99681df664677402 Author: Ben Gardner Date: Mon Oct 15 20:40:03 2012 -0500 Save off current template test results. Apparently, this "bool X = j<3>>1;" is now the template 'j' passed a value of 3 compared against 1. commit ab0cb3517a07482cd38e6857cdd5aa9cfdd2ac0f Author: Ben Gardner Date: Mon Oct 15 20:32:19 2012 -0500 Update test results for recent Objective C improvements. commit aea8b1b2a2eaac3f46bcb7afdeb92144187ce677 Merge: be15b03 e91557f Author: Ben Gardner Date: Fri Oct 12 10:39:47 2012 -0700 Merge pull request #89 from jasonfharris/master Request for fix to make ObjC handle method one liners (nl_func_leave_one_liners) commit be15b031d9aa3ca652184bc4fc9d602e4e54688e Merge: ccd991f 4be6c27 Author: Ben Gardner Date: Fri Oct 12 10:38:17 2012 -0700 Merge pull request #90 from aniec07/master Bug 3555610, bugs of >> worked on version 0.57 commit ccd991fc2e0a2865a79f11c82a92a863303b6788 Merge: bc39f8b 0befe17 Author: Ben Gardner Date: Fri Oct 12 10:36:18 2012 -0700 Merge pull request #100 from daschae/master FIX | issue 99 -> Type pointers in Objective-C block argument definitions and literal blocks star is arith rather than ptr_type commit 0befe17a9705c9a1849dc8fd44f60a131f0a45b0 Author: David Schaefgen Date: Thu Oct 11 18:24:01 2012 -0500 FIX | issue #99 Type pointers in Objective-C block argument definitions and literal blocks star is arith rather than ptr_type. Pass everything starting with the open paren through fix_fcn_def_params(chunk_t *) to process the arguments like function parameters. commit bc39f8b5dfc50037593247e6b290be802b479d72 Author: Ben Gardner Date: Wed Sep 26 21:45:23 2012 -0500 Fix tokenizing of comments such as '/*// ... */' commit 4be6c270cc1bd01164ab75a6a8e066b8de95e64a Author: Anirban Pramanick Date: Wed Aug 22 12:22:44 2012 +0530 Update src/tokenize_cleanup.cpp Changes pertaining to bugs of >> - ID: 3555610 Resolve conflict between template and comparator followed by shift operator The function handle_double_angle_close is called when then second '>' of '>>' is reached. pc is then '>' which is of comparator type. pc->prev is also of comparator type. We delete pc and make prev as CT_ARITH. We also make the next field of prev point to pc->next. prev now behaves has the current pc. This invokes a case of angle mismatch because earlier a '<' was opened and detected as ANGLE_OPEN, which should now be CT_COMPARE. Thus the while loop helps us detect this '<' and make it CT_COMPARE. commit 96a59eb2493c5fd7754baad18433817d3655d791 Author: Anirban Pramanick Date: Wed Aug 22 12:09:27 2012 +0530 Update tests/output/cpp/30103-templates.cpp bugs of >> - ID: 3555610 Resolve conflict between template and comparator followed by shift operator commit 648b2c2863a76eb5a830439467e73a510e15698b Author: Anirban Pramanick Date: Wed Aug 22 12:07:54 2012 +0530 Update tests/output/cpp/30102-templates.cpp Did not remove the syntax error line that was similar to bugs ID: 3555610 commit 7d47d1624ae6affa797d75cfcb4462d4bbaa7542 Author: Anirban Pramanick Date: Wed Aug 22 12:07:05 2012 +0530 Update tests/output/cpp/30102-templates.cpp bugs of >> - ID: 3555610 Resolve conflict between template and comparator followed by shift operator commit f6cfd7b9c394df1d18a984331e75f1fe94b2845d Author: Anirban Pramanick Date: Wed Aug 22 12:05:56 2012 +0530 Update tests/output/cpp/30101-templates.cpp bugs of >> - ID: 3555610 Resolve conflict between template and comparator followed by shift operator commit 92a4088e4d3725e82d637b50d1b9edbdddd653b4 Author: Anirban Pramanick Date: Wed Aug 22 12:04:10 2012 +0530 Update tests/output/cpp/30100-templates.cpp bugs of >> - ID: 3555610 Resolve conflict between template and comparator followed by shift operator commit 110fabb014714dbacb838efedd24e38e65eb92ea Author: Anirban Pramanick Date: Wed Aug 22 12:00:51 2012 +0530 Update tests/output/cpp/30023-templates.cpp bugs of >> - ID: 3555610 Test case to resolve conflict between template and comparator followed by shift operator. commit b99e585ddc4e22f0b26e991048c2b47a1da96737 Author: Anirban Pramanick Date: Wed Aug 22 11:53:16 2012 +0530 Update tests/input/cpp/templates.cpp Y>1>> x4 is detected as a syntax error in C++. However a condition like: if ( j<3>>1 ) is not a syntax error. But Uncrustify detects the latter as a template and forces a space making it as: if ( j<3> >1 ) which is a syntax error in C++. Therefore the required test condition should be: bool X = j<3>>1; where 3>>1 does not need to be specified explicitly inside brackets commit e91557f0682b2d046b764613c30831d5a1724a96 Author: Jason Date: Mon Aug 20 03:28:51 2012 +0200 fix leave function one liners alone for objective C methods commit acf6059a97e72b1b8fa596309accfc4c34d374c5 Merge: 65dd559 234a1e9 Author: Ben Gardner Date: Wed Jul 18 09:49:41 2012 -0700 Merge pull request #85 from kastiglione/fix-blocks-spacing Mark functions inside block expressions commit 65dd5597686d1772d951fc6698578afbf8ebf3ac Merge: 1712cbe 4c8a034 Author: Ben Gardner Date: Wed Jul 18 09:47:32 2012 -0700 Merge pull request #86 from Hackerpilot/master Add support for D's new lambda operator commit 4c8a0340cbb9c551e58618e5b485e304167a57fd Author: Hackerpilot Date: Sat Jul 14 22:42:20 2012 +0000 Added lambda operator to D commit 234a1e932de5b8bfd18ffa688ceb30d10cf30acb Author: Dave Lee Date: Mon Jul 2 22:39:23 2012 -0600 Mark functions inside block expressions commit 1712cbe29a4afd2b00ec4f4a5b1698a080be8215 Author: Ben Gardner Date: Tue Jun 26 22:02:03 2012 -0500 Expand the ObjC boxed test commit b48b7c8ca701a2f281d527f8bf63b8e48873255b Author: Ben Gardner Date: Tue Jun 26 22:01:43 2012 -0500 Treat ObjC boxed strings the same as other boxed types. commit d466c318dec17f37a3a6e85d3f273a409422dcea Merge: f450527 16fdfdf Author: Ben Gardner Date: Sun Jun 24 15:27:57 2012 -0700 Merge pull request #84 from GerHobbelt/issue-084 bugfix: wrong offset passed to peek() --> CRLF not recognized correctly commit f4505271868e251e694f2aff5da8804342b55505 Author: Ben Gardner Date: Sun Jun 24 16:44:29 2012 -0500 Add a test for Objective C boxed literals commit b875c33fe318810b0a69317c0800e46b25f32685 Author: Ben Gardner Date: Sun Jun 24 16:41:50 2012 -0500 Add new option: nl_brace_struct_var commit 16fdfdfcc8df54c5b4082f786b81995f8b80cc03 Author: Ger Hobbelt Date: Sun Jun 24 19:11:15 2012 +0200 wrong offset passed to peek() --> CRLF not recognized correctly (as peek(1) points 1 PAST the LF!) in D /+...+/ comments. commit f91bb5a01c76caef5ba035f73c20b5ff3424161a Author: Ben Gardner Date: Sun Jun 24 02:00:34 2012 -0500 Add options: sp_before_oc_dict_colon and sp_after_oc_dict_colon commit c0db5d7584ef6103abe7a820c5f28cd4bb2ef2eb Author: Ben Gardner Date: Sun Jun 24 01:59:14 2012 -0500 Add basic support for Objective-C boxed expressions. commit 2e5f32e87834ca1239dc1481091c85db134c5f92 Merge: cc65530 1b6c857 Author: Ben Gardner Date: Tue Jun 5 15:25:02 2012 -0700 Merge pull request #79 from pwaller/remove_ns_close_semicolon Remove semicolons after namespace close brace commit 1b6c857876e78b46d1a2c6d0c7ae8dbba1504fb7 Author: Peter Waller Date: Thu May 31 13:20:34 2012 +0100 Remove semicolons after namespace close brace commit 86ca62b2918a801ee4b1f2d1509439d313453cbb Merge: 7df80a1 cc65530 Author: rdan Date: Sat May 12 14:14:43 2012 +0200 Merge branch 'master' of git://github.com/bengardner/uncrustify into no_include_guard_indent commit 7df80a132e1176c5830ba307d26df19a7bafd12c Author: rdan Date: Sat May 12 14:05:29 2012 +0200 Tests updated to validate the modifications in this branch commit a4b6730f26ba978a2614ca754466a43ac3e510af Author: rdan Date: Mon May 7 20:15:03 2012 +0200 - Update of the management of the #include guard Specific actions were taken for preprocessor directives. It is now extended to all code: - code inside the "#include guard" is not indented - optimization of "ifdef_over_whole_file" to be able to call it several times - Update of the comment of some options to clarify their actions commit cc65530fb55a9b24fda73f46474bf26589b43020 Author: Ben Gardner Date: Fri May 4 22:44:42 2012 -0500 Remove incorrect labeling of CT_CLASS_COLON in mark_function(). The proper place is in combine_labels(). commit eb9bf3beda26457e3ff74d2359a16c14e8439a72 Author: Ben Gardner Date: Fri May 4 22:25:27 2012 -0500 nl_func_type_name[_class] should not affect template stuff Fixes SF#3523347 commit 3539361342da04a3286f0cf808d827ede1aba217 Author: Ben Gardner Date: Fri May 4 22:07:32 2012 -0500 Don't allow a definition or prototype after CT_ARITH. This is a hack that fixed SF#3522432. commit dfa082ded986d024b4c429b27d86851467e94473 Author: Ben Gardner Date: Fri May 4 22:06:32 2012 -0500 Don't start a statement on a ')' or ']'. commit 11fa9162d6ffec46eb3dd9ceb92ed5acfde360e0 Author: Ben Gardner Date: Fri May 4 22:03:18 2012 -0500 Improve logs for statement start detection commit 159921c86fb85bb44b9b8d18b5e44dfa56a459cc Merge: 088e4e1 a3a56c1 Author: Ben Gardner Date: Sat Apr 28 14:26:40 2012 -0700 Merge pull request #65 from JanX2/master Updated Xcode project with recent changes commit a3a56c1fad9d23afecc691723a622a3d9c678890 Author: Jan Weiß Date: Thu Apr 26 15:24:37 2012 +0200 Updating Xcode project with recent file changes. commit 2bff457c9f0255a9a753ab5fd314eabcf5e6d920 Author: Jan Weiß Date: Thu Apr 26 15:23:48 2012 +0200 Updating “.gitignore” for Xcode 4. commit 088e4e10adeee341e60d444b0a2bd07bdc960111 Author: Ben Gardner Date: Sat Apr 14 15:39:57 2012 -0500 Add test commit 62746441ccc52dee9b87e9ef133e8f7c6fab0831 Author: Oleg Smolsky Date: Sat Apr 14 15:36:30 2012 -0500 Fixed a small alignment bug in complex calls commit 7e40fd41ba6f99d43b2931deaec66534f52e637d Author: Ben Gardner Date: Sat Apr 7 15:43:29 2012 -0500 Fix detection of a cast in "(uint32)std::distance(a,b)" commit df0a2c1b661766f7581b9d47a1250abef7230633 Author: Ben Gardner Date: Fri Apr 6 11:54:08 2012 -0500 Add another C++ test case commit f420f11b6966f33382390366e7ecd216b2fd99b8 Author: Oleg Smolsky Date: Thu Apr 5 21:05:06 2012 -0700 Fixed multi-line indentation in the 'return' case commit 06d1642da17fb9407577943d51d93a2442f45747 Author: Ben Gardner Date: Fri Apr 6 11:35:40 2012 -0500 Update test results for latest fix to C++ lambda stuff commit 65867c045c4833d6d8034bbc6394d872c33c2b45 Author: Oleg Smolsky Date: Thu Apr 5 18:56:43 2012 -0700 Additional lambda/indent fix commit a54dfa1aa36561c025ed2ba56861f19436fb50af Author: Oleg Smolsky Date: Sun Apr 1 11:33:14 2012 -0700 Moved a hard-coded constant out into an option indent_ctor_init_leading = 4 # virtual indent from the ':' for member # initializers. Default is 2. # (applies to the leading colon case) this is needed for handling member initializer lists: Thread::Thread() : m_bStarted(false), m_log(/Thread) { .... } commit 9d3ab48b138ecdfbee4ddbd0e35fce31ae785b92 Author: Ben Gardner Date: Fri Apr 6 11:23:19 2012 -0500 Add an expanded test for '<<' alignment. The results may not be correct based on pending patches. commit 7a9f6a9b9fa75dd143a9b4fd91c1a2dee1eb46c6 Author: Ben Gardner Date: Thu Mar 29 19:36:18 2012 -0500 Update test for lambda return type commit 19dff2aea0dec7910fdae1065370e23ba2e7be1b Author: Ben Gardner Date: Thu Mar 29 19:35:58 2012 -0500 Handle C++ lambda return type commit bc1ea727dff5b73b86fc1a5f6f94690c5173e370 Author: Ben Gardner Date: Thu Mar 29 18:55:49 2012 -0500 Fix a few problems with the new options commit bd32896fd7f0fd73aa338b1a1340086097cbe649 Author: Ben Gardner Date: Thu Mar 29 18:55:19 2012 -0500 Add some tests for the new sp_cpp_lambda_xx options commit 7e2db96aa6cdba4e012e8adfa266a67e7cf2adda Author: Ben Gardner Date: Thu Mar 29 18:34:44 2012 -0500 Add sp_cpp_lambda_assign and sp_cpp_lambda_paren commit c12a4c5ce4929eaff377486b36da690037d58345 Author: Ben Gardner Date: Thu Mar 29 17:53:12 2012 -0500 Label C++11 lambda expressions commit 9e92b900e5766dc2e95f611c5627625f17a9262b Author: Ben Gardner Date: Thu Mar 29 17:18:42 2012 -0500 Correct input file. commit d28e0fd97037eb548e62f177435bb675de5521a8 Author: Ben Gardner Date: Thu Mar 29 11:16:53 2012 -0500 Add VS2011 project files (Oleg Smolsky) commit b5d0a2c5edba524f49f984078f8740b7743af30c Author: Ben Gardner Date: Tue Mar 27 21:24:23 2012 -0500 Add test cases for new '<<' aligning functionality commit 5ff36433c85ca55a3b4f6d972dbbb5d7e9082b62 Author: Ben Gardner Date: Tue Mar 27 21:23:52 2012 -0500 Fix aligning of '<<' in C++ From: Oleg Smolsky commit 9fa0183f6a2f08e4b5c0a5f433481277fce0cb52 Author: Ben Gardner Date: Tue Mar 27 21:10:25 2012 -0500 Add sp_permit_cpp11_shift From: Oleg Smolsky commit 5a930a5dc1e285513b52088f98a5dacd5fea4ea3 Merge: c6e500a 868501f Author: Ben Gardner Date: Tue Mar 20 21:23:55 2012 -0500 Merge branch 'master' of github.com:bengardner/uncrustify commit c6e500aaaba0abba230311471a52f8b34776cdde Merge: d519bfa bbbee52 Author: Ben Gardner Date: Tue Mar 20 21:21:32 2012 -0500 Merge branch 'rdan-20120129' of https://github.com/rdan/uncrustify into rdan-rdan-20120129 Conflicts: src/indent.cpp commit 868501f35dead19b3731eefb5a1435105665dbdf Merge: d519bfa 5542d0b Author: Ben Gardner Date: Tue Mar 20 19:16:30 2012 -0700 Merge pull request #57 from mkonig/mos_extensions Added a script that generates uncrustify_version.h on windows. commit d519bfa85552cebc5388b979668ea7c5d1c53853 Merge: 82f70d3 e2e0756 Author: Ben Gardner Date: Tue Mar 20 19:13:46 2012 -0700 Merge pull request #63 from bitserf/objc-method-spec-colons Tweak align_oc_decl_colon to also align colons of Objective-C method prototypes commit e2e075683a576be33afdab4eac922c3afd52bb2b Author: Leon Breedt Date: Wed Mar 21 03:10:34 2012 +1300 Tweak align_oc_decl_colon to also align colons of Obj-C method prototypes. commit 5542d0b29f741f0fb97b9c9a617a99a04f03d3a7 Author: Mirko König Date: Sat Feb 25 19:56:23 2012 +0100 Added a script that generates uncrustify_version.h on windows. Added this script to vs2008 solution to run as pre-build event. Added compat_win32.cpp to vs2008 solution file. commit bbbee52fd41dc240f3312d06cf4744e3337bf70e Author: rdan Date: Mon Feb 13 01:41:36 2012 +0100 Update of test file to try to avoid an "UNSTABLE" result (for 00617). It's still unstable because of "nl_max" which is applied everywhere even if another option specifies a different value (ex: nl_max is set to 2 to have a maximum of 1 consecutive blank line everywhere in the code. But we also want to have 2 blank lines after the declaration of local variables in a function). commit af232a0b7adc6ab1340f84c7fbc827a67f38887f Author: rdan Date: Mon Feb 13 00:50:12 2012 +0100 - Correction of my previous commit (bug detected with file "pp-if-indent.c", file added to tests). The bug is present only when the option added is active. - Correction of a bug that was already in uncrustify detected with file "pp-if-indent.c". It generated the following output: pp-if-indent.c:19 Unmatched PP_IF_INDENT pp-if-indent.c:21 Unmatched BRACE_OPEN pp-if-indent.c:30 Unmatched PP_IF_INDENT pp-if-indent.c:33 Unmatched BRACE_OPEN commit 82f70d3261904ac11caf7ca125a852ce10d0f6e2 Merge: e5d2eff bc43061 Author: Ben Gardner Date: Sun Feb 12 17:34:21 2012 -0600 Merge branch 'rdan-20120129' of https://github.com/rdan/uncrustify commit e5d2eff99f6f1042057d64dbbdaab817a7914606 Author: Ben Gardner Date: Sun Feb 12 17:27:10 2012 -0600 Don't include src/config.h, as that is generated by configure. commit b7cf7809161b5d47d0786e051a779cb1c9002eb7 Author: Ben Gardner Date: Sun Feb 12 17:23:09 2012 -0600 Add missing file to MS VC++ 2010 project file commit bc43061e83f77d726c5891a4ded770a787207dc9 Author: rdan Date: Sun Feb 12 13:31:44 2012 +0100 New option to force the indentation of function definition to start on the first column even if this function is defined inside a #if/#endif directive. commit d8c5e80b1463282cee7a9fea7d8852804a4dd2b0 Author: rdan Date: Sun Feb 12 13:07:29 2012 +0100 Correction of an issue: In the following code #if A void function(void) { } #endif A is qualified as Tag=CT_TYPE/Parent=FUNC_DEF instead of Tag=WORD/Parent=NONE. commit 95eb26256066b608063f42d8ca7ade73e8fb2922 Author: rdan Date: Sun Feb 12 13:02:48 2012 +0100 Updates to be able to generate the software with Visual C++ 2010 commit dc89e72f61320fc95a15638ddd03663e937620e4 Author: Ben Gardner Date: Tue Feb 7 08:06:41 2012 -0600 Add include of windows_compat.h to compat_win32.cpp commit 6358b4865f18a0a8f75f6a534447524682cdb4bc Author: Ben Gardner Date: Sat Jan 14 16:06:13 2012 -0600 Debugging: also log the column_indent commit 948ec99cfdc6acbb1d13b489d7d2bbe39059fba9 Author: Ben Gardner Date: Sat Jan 14 16:04:13 2012 -0600 Update tests to reflect the change in the last commit. commit c0b125fdfe6e6f5d02b466220961ac6731b4c728 Author: Ben Gardner Date: Sat Jan 14 16:02:26 2012 -0600 A #define body indent should have 1 level of tabs in mixed mode. commit 490986c7607c772cb76eb7bbf4eb62d3ccfc2bfa Author: Ben Gardner Date: Sat Jan 14 11:02:27 2012 -0600 Add custom type PROTO_WRAP for old-style prototype wrapper macros. commit 3359082eff68278e7d3b2cf0ebbdf0f914857852 Author: Ben Gardner Date: Sat Jan 14 10:22:38 2012 -0600 Rework the default config file check to avoid C99 constructs. Fixes a compile error on MS VC++ 2010. commit 7aba80646c66fc45dcb9e8fdc9542b7d1794cc5a Author: Ben Gardner Date: Sat Jan 14 10:13:42 2012 -0600 Fix compile issue on MS VC++ 2010 commit 2a220107fd1e0e9139c5bbe312b14b3b12e2cee7 Author: Ben Gardner Date: Sat Jan 7 21:48:41 2012 -0600 Add option: nl_version_brace Affects D commit 72c9645f0b57017063ed83f5db7e3d845eab56a7 Author: Ben Gardner Date: Sat Jan 7 21:48:15 2012 -0600 Add option: nl_scope_brace Affects D commit c4bdf597a32525548c43f80c4b36a9dabdb7475f Author: Ben Gardner Date: Sat Jan 7 21:10:15 2012 -0600 Fix crash if unittest is the first token in the file. commit 91701a4e5ec5de9cb4f71847da44e7f1ed3d8c26 Author: Ben Gardner Date: Sat Jan 7 21:09:48 2012 -0600 Add option: nl_unittest_brace commit 1691e461067922002c1dd5d3f42519715cce9001 Author: Ben Gardner Date: Sat Jan 7 16:59:35 2012 -0600 Add a few other C++ extensions. Fixes SF#3470255 commit 4dccc7487e0baaffb8f6a25a10adc8841514dcce Author: Ben Gardner Date: Sat Jan 7 16:40:14 2012 -0600 Add test for sp_before_template_paren commit bdf2c6671c5b97c3120749499685f9458f0bdd5c Author: Ben Gardner Date: Sat Jan 7 16:39:25 2012 -0600 Add option: sp_before_template_paren Controls the space for D in "class Foo(" and "template Foo(". commit 2501784474c6493bbfff3b7ede29ec8222a42b5c Author: Ben Gardner Date: Sat Jan 7 16:25:40 2012 -0600 Improve labeling of D templates. commit 3ffbfd5c7c0b6f618394ae6dfb4c1e88cc8a0b2c Author: Ben Gardner Date: Thu Jan 5 22:37:30 2012 -0600 Do a better job of marking types in a class commit e047b3d380003e3f6355dc8c88ef62b7ac063051 Author: Ben Gardner Date: Thu Jan 5 22:36:49 2012 -0600 Do a better job handling class forward declarations commit c321930e9ef4d989d596bdc068b17aaec0d8dad8 Author: Ben Gardner Date: Thu Jan 5 22:34:23 2012 -0600 Fix incorrect test commit c0c4354016756ddb02984341a3b79295c1f1ba57 Author: Ben Gardner Date: Thu Jan 5 21:34:02 2012 -0600 Use unc_text::equals() instead of memcmp() commit 044ebe1c4ad8e11f99d2d49a1134fae86b490e79 Author: Ben Gardner Date: Thu Dec 29 16:47:09 2011 -0600 Add ability to get config from UNCRUSTIFY_CONFIG env var to win32 commit d7b57f9fd59ff39e24503ffa8a822a1a46b48e29 Author: Ben Gardner Date: Thu Dec 29 15:27:10 2011 -0600 Update tests for nl_before_newline commit 3040f3887634b0f4331bee7b25f9f34f5f97adc7 Author: Ben Gardner Date: Thu Dec 29 15:26:02 2011 -0600 Add option: nl_before_return Move nl_after_return to the blankline group. commit 4e39f15b183b6e92531aa0bd88168515c4d8cbc3 Author: Ben Gardner Date: Wed Dec 28 00:54:34 2011 -0600 Save off working notes about #if/#else/#endif code threads commit 47fa9b294210f07ecabedbf75ee30ffa5603be12 Author: Ben Gardner Date: Wed Dec 28 00:50:15 2011 -0600 Handle function pointers with complex return types (ie, unsigned char). Fixes SF #3152653 commit 6226fdb03c02b8e3ecbea1bbda2ea5d945322457 Author: Ben Gardner Date: Wed Dec 28 00:25:49 2011 -0600 Change newline_iarf_pair() to handle 'force' as 'add' + newline limit. Fixed SF #3169766 commit 3ee41a21c7a8c76e1db7d208d4f8eab6dfaf7065 Author: Ben Gardner Date: Wed Dec 28 00:05:46 2011 -0600 Get nl_class_init_args=force to work Fixed SF #3444921 commit 4775d8990fc8552b4384a833386b2aea0fb665aa Author: Ben Gardner Date: Tue Dec 27 23:25:26 2011 -0600 The '*' in "*," is always likely to be a pointer in the following: FUNCDEF_MACRO( func, (arg1 *,arg2 *, arg3*)); Fixes SF #3464371 commit 37ebfd815d1ed8b5ba33b69d76da980c7ec6644c Author: Ben Gardner Date: Sat Nov 26 12:03:15 2011 -0600 From: Jim Meyering include for open, close, unlink Otherwise, I get errors like these on Fedora 16: uncrustify.cpp: In function 'bool file_content_matches(const string&,\ const string&)': uncrustify.cpp:903:16: error: 'close' was not declared in this scope uncrustify.cpp:915:45: error: 'read' was not declared in this scope ... uncrustify.cpp: In function 'void do_source_file(const char*,\ const char*, const char*, bool, bool)': uncrustify.cpp:1046:46: error: 'unlink' was not declared in this scope commit 1c8aedbd1e845196f2a46491b8479596e7404856 Merge: 34d4143 fbf046e Author: Ben Gardner Date: Sat Nov 26 09:56:03 2011 -0800 Merge pull request #47 from meyering/multi-line-comment--do-not-elide-utf8-characters do not elide UTF-8 characters from multi-line comments commit fbf046e03e41fb8c137c2ed49c120bf389cbbc75 Author: Jim Meyering Date: Fri Nov 25 19:47:25 2011 +0100 do not elide UTF-8 characters from multi-line comments Before this change, uncrustify would remove UTF-8 characters from multi-line comments. E.g., here, uncrustify would remove an a-acute from a 2-line comment: $ printf '/*\303\241\n*/\n' > utf8.c $ src/uncrustify -q utf8.c; wc -c utf8.c utf8.c.unc* 8 utf8.c 6 utf8.c.uncrustify This fixes it and adds a test to exercise the fix. * src/output.cpp (output_comment_multi_simple): Correct the type of "ch": use "int", not char, to avoid sign-extension with signed char. * tests/c.test: New file. * tests/input/c/cmt_multi_utf8.c: New file. * tests/output/c/02423-cmt_multi_utf8.c: New file. commit 34d41436cfc900c23edb55c161ae2086766ce56e Author: Ben Gardner Date: Tue Nov 15 21:23:18 2011 -0600 Update tests based on latest patch commit 2d0e192c23b3a24aa16566ca1aafaf0f470f5580 Author: Ben Gardner Date: Tue Nov 15 21:22:54 2011 -0600 From: Todd Richmond Rework function parameter line splitting. commit 6df0bc53655d8bb590f028166fb17c6796d408b9 Author: Ben Gardner Date: Tue Nov 15 21:15:43 2011 -0600 Whitespace cleanup commit e4f447789a2f6f4a1c1f0cb8e9e6c8871e67ee79 Author: Ben Gardner Date: Tue Nov 15 21:15:29 2011 -0600 From: Todd Richmond Don't split '>>' into '> >' for C++ templates. Fixes SF#3203335 commit 4d2960bf02e840fd2c9bf80b7a2cb9122770b3ea Author: Ben Gardner Date: Tue Nov 15 20:49:48 2011 -0600 From: Todd Richmond Add support for __try, __except, and __finally. commit ceb60d60580cbdfc8cf72daf7244df5847759ce1 Author: Ben Gardner Date: Tue Nov 15 20:44:36 2011 -0600 From: Todd Richmond Add copy constructor to AlignStack. commit a920c2b08afeac1e4312daeb768871e4600972f4 Author: Ben Gardner Date: Tue Nov 15 20:43:57 2011 -0600 From Todd Richmond Fix off-by-one error in align_same_func_call_params() commit 2d9f50feaef2b80854bed2ce64e4d6eec9c5bbcc Author: Ben Gardner Date: Tue Nov 15 20:38:59 2011 -0600 Run uncrustify against some of its source. commit 867f0f7dad29a9ab08e2394140e43749f3e4c3fb Author: Ben Gardner Date: Tue Nov 15 20:38:29 2011 -0600 From: Todd Richmond Update sun.cfg and update test results from the latest patch. commit 2e95b3c8bf4bf9d7ec688c769803ffaf3ca4be29 Author: Ben Gardner Date: Tue Nov 15 20:37:22 2011 -0600 From: Todd Richmond Add a slew of new options: nl_typedef_blk_start, nl_typedef_blk_end, nl_typedef_blk_in nl_var_def_blk_start, nl_var_def_blk_end, nl_var_def_blk_in nl_remove_extra_newlines From SF #3426576 commit b24579c1e5b68f8ce9757964c81686ce8a7a5b84 Author: Ben Gardner Date: Tue Nov 15 20:23:37 2011 -0600 Fix null dereferences commit 31265d3337be44b4499d3a673ff4a3622e27af53 Author: Ben Gardner Date: Tue Nov 15 20:18:57 2011 -0600 Fix spelling recommed => recommend commit 122b7e7b3f44d3c0ae72f703874d123ef6d5d053 Author: Ben Gardner Date: Thu Nov 10 05:58:31 2011 -0600 Fix aligning on '<<' in the presence of 'operator <<'. commit d723b22b89b3a460fa8a7e6975b89d3059b45ad3 Author: Ben Gardner Date: Thu Nov 10 05:52:17 2011 -0600 Increase the span of '<<' slignment so that 'q' and 'xyz' align in the following code snippet: void bar() { out << "q" // << "abc" // << "def" << "xyz"; } commit 158cc8abe5e3ce1c3b53b161dd1c5d5fcd2e847c Author: Ben Gardner Date: Thu Nov 10 05:38:37 2011 -0600 Update test results to reflect virtual brace comment spacing fix. commit 491b8927f2305b4ed7d727e7de2e77970ffc526c Author: Ben Gardner Date: Thu Nov 10 05:37:07 2011 -0600 From: Jim Meyering Fix handling of virtual braces when calculating the comment column. foo () { if (1) a = b; /* c */ } commit 7021e495105caffa5d2f47be65984c75254ac692 Author: Ben Gardner Date: Thu Nov 10 05:29:04 2011 -0600 Fix handling of templates in constructors: TOTO::~TOTO () { } commit 88bb98e5e8b0a03fdcf8522cb62bf7c5ba175f56 Author: Ben Gardner Date: Thu Nov 10 05:18:30 2011 -0600 From: Todd Richmond do_code_width() must be followed by newlines_cleanup_braces because breaking lines might also break one-liners such as enum x = { 1, var_too_long_for_code_width }; which reformats to enum x = { 1, var_too_long_for_code_width }; instead of putting the newline after the { commit 004a21be1b633306c6e655719a06d09bf7e3ee95 Author: Ben Gardner Date: Thu Nov 10 05:13:25 2011 -0600 From: Todd Richmond Allow a line split between two strings. commit 10c35ad427c9ab08f255f98ed60c1ffb57a668ec Author: Ben Gardner Date: Thu Nov 10 05:08:34 2011 -0600 Java also uses the ellipsis commit e6ccc2551d533b75c435dd34ea030ed9ed02b783 Author: Ben Gardner Date: Wed Nov 9 07:18:30 2011 -0600 Change '-F' handling to match what the usage info says, one file per line. More work is needed to support a prefix on windows, as drive letters aren't handled. commit 8c2cc60bbe4fedf012331d8641fec5dce27d97df Author: Ben Gardner Date: Wed Nov 9 07:01:53 2011 -0600 From: Todd Richmond Create new option ls_code_width to better control line width splitting. commit e1ebb8b1592832dbcd6b5664fa05f2c4e2208243 Author: Ben Gardner Date: Thu Nov 3 21:11:26 2011 -0500 From: Todd Richmond struct/enum/class variable definitions are using nl_after_struct/ nl_after_class newlines which were designed for the actual struct definition, not instances of the struct. This adds an extra newline within a var def block int x() { struct b c; struct d e; } formats to int x() { struct b c; struct d e; } commit 4bdae67aa0cbb5858aae1065eea23c4a5dde89f3 Author: Ben Gardner Date: Thu Nov 3 21:04:26 2011 -0500 From: Todd Richmond Two wide strings concatenated together without a space causes the second L to trail the first string instead of lead the 2nd string. #define x L"a"L"b" formats to L"a"L "b" instead of L"a" L"b" commit 1db8aaf384e2c74f98974df0d6a6ffa27903615b Author: Ben Gardner Date: Tue Oct 25 18:47:42 2011 -0500 From: Todd Richmond Rework long line splitting code. This patch does the following 1) makes indenting for indent_continue != 0 consistent except that >0 is old behavior of grouping constructs like ?: or functions 2) fixes a bug found with the fix for 3426636 (long typedefs). The old code never indented properly because it added indent_size to 0 instead of the previous indent. In test cases that showed up as a 3 char indent instead of 4 3) fix test cases for the long typedef lines. Note that your final typedef change caused typedefed functions to tread the arguments as a function which causes the lines to indent to the fparen. I think your change is correct behavior and only the test case needed an update commit 4a0e1d63861d883ddacfcd6b9bf4ddab6c5adb7b Author: Ben Gardner Date: Tue Oct 25 18:40:05 2011 -0500 Rework 'class' detection to allow 'class' as a member name. commit 53d716f543709bb0b6f1e524bc910c64ecebaf21 Merge: 716df3c d57307d Author: Ben Gardner Date: Tue Oct 25 18:29:42 2011 -0500 Merge branch 'master' of github.com:bengardner/uncrustify commit 716df3cfdad8f49daf4841c5b58593345ebbac6a Author: Ben Gardner Date: Tue Oct 25 18:27:31 2011 -0500 From: Todd Richmond If mod_full_brace_if = add and mod_full_brace_if_chain = true, it will eat a required line break after the closing if statement, regardless of having { } or not. if (a) b(); c(); reformats to if (a) b(); c(); commit d57307ddfec43dd3a9967b56b6b3e8cf935a2825 Merge: 0650864 c9768db Author: Ben Gardner Date: Mon Oct 24 10:29:55 2011 -0700 Merge pull request #45 from Uncommon/master Add missing files to Xcode project commit c9768db3e058dd2b63303f3f09d0a6a2ab479be6 Author: David Catmull Date: Mon Oct 24 11:19:46 2011 -0600 Add unc_text.cpp and unicode.cpp to the Xcode project commit 06508646f3cc0fbccb7ad6eeb0c50d42b847ff29 Author: Ben Gardner Date: Sat Oct 22 15:50:15 2011 -0500 Add a log when the comment cont_text is set. commit c9fce40717e12c2feaec7f7a469baa351c213426 Author: Ben Gardner Date: Sat Oct 22 15:49:33 2011 -0500 Detect a comment lead without requiring a space after a single '*'. commit e02dd8a41e466876bc39aa8eaf55c1d6aee6b596 Author: Ben Gardner Date: Sat Oct 22 15:48:05 2011 -0500 Insert a space between '*' and text in a comment line start. commit 0461e187859eb2b227073edd6b74ccc39359b1ca Author: Ben Gardner Date: Sat Oct 22 15:46:39 2011 -0500 Add unc_text::insert() commit cfa96cbe6c840ac11845cda0e55424cda764cd79 Author: Ben Gardner Date: Sat Oct 22 14:51:24 2011 -0500 Add a test for align_func_proto_span with align_on_operator commit abd74db2c35b9bfcf95d706d58ce3ab1e5d96562 Author: Ben Gardner Date: Sat Oct 22 14:37:03 2011 -0500 Set the gap on all aligned chunks commit 187f33f098806d9bd1cc4df618cd5e337381e0d4 Author: Ben Gardner Date: Sat Oct 22 14:34:49 2011 -0500 Set the start and amp style for align_func_proto commit 95cac2cff979de9391f983f1de4fcb5d90aec525 Author: Ben Gardner Date: Fri Oct 21 21:53:21 2011 -0500 Also need to end a typedef indent on an open paren commit ab66cf91f5b788ecd1a9f704f3f18ee5e1ac595f Author: Ben Gardner Date: Fri Oct 21 21:52:55 2011 -0500 Update code-width.c test with long typedefs commit fbd5ad351a12808679ed029eaa4e14b115ab3a12 Author: Ben Gardner Date: Fri Oct 21 21:44:27 2011 -0500 Use a continuation indent for typedefs that span two lines. Fixes SF 3426636 commit 0c8f3cc968820db79b04883a862f42355f3effdd Author: Ben Gardner Date: Thu Oct 20 22:21:20 2011 -0500 Allow '&' in a C-style cast. Ie, (Foo &). Fixes SF#3266678 commit ad9f2b11ec58e7d2458d07276263bb683bc87f19 Author: Ben Gardner Date: Thu Oct 20 21:54:03 2011 -0500 Remove unused variables that g++ 4.6 found. Signed-off-by: Ben Gardner commit db9c795e9d756ed3eff50510311b62436f51ac20 Author: Ben Gardner Date: Thu Oct 20 21:44:17 2011 -0500 From: Todd Richmond New option: align_pp_define_together Align #define functions and variables together commit f3f6ac39f834e31fa703109e1ccdccd76c64066c Author: Ben Gardner Date: Sat Oct 15 21:48:03 2011 -0500 Change the 'class' check to require a 'word' after to be value. Should now handle variables named 'interface' or members named 'class'. commit e5246380c0a64c878d070ff322b101509dc3813e Author: Ben Gardner Date: Sat Oct 15 21:37:27 2011 -0500 Back out absolute indent_continue check in split_line(), as it caused ls_func_split_full to fail. commit 0f22bda9daa368017a46bd66994fa206194c99be Author: Ben Gardner Date: Thu Oct 13 22:28:42 2011 -0500 Fix wording of the utf8_byte option commit 02342d6f0a241dfd52666334d0c363f7b5121bd4 Author: Ben Gardner Date: Thu Oct 13 22:28:20 2011 -0500 From: Todd Richmond Update sub.cfg commit 2720231d94a927f6ee9e83e9fecedef7e7b75e52 Author: Ben Gardner Date: Thu Oct 13 22:24:24 2011 -0500 Fix regression caused by labeling 'interface' as a keyword. commit 005fefb6fe223b45684d3f2f166cc6d1ad26450d Author: Ben Gardner Date: Thu Oct 13 22:06:04 2011 -0500 From: Todd Richmond Rework long line splitting commit e00f3545a4430f89d627d92f0bdaf63b6f18cbfc Author: Ben Gardner Date: Thu Oct 13 21:58:05 2011 -0500 From: Todd Richmond Add support for negative indent_continue values. commit 6aeed7a617bb0058092c36dc1cf5cbc6232b1831 Author: Ben Gardner Date: Thu Oct 13 21:55:05 2011 -0500 From: Todd Richmond Add project name to VS2010 project file commit d3a972aaf7ea9ef20c0f7c5436ae4d598aa381c4 Author: Ben Gardner Date: Thu Oct 13 21:49:16 2011 -0500 From: Todd Richmond uncrustify needs a "join" option to go with the other lead/trail options. The requirement is to remove extraneous newlines and merge them into the same format they would have if newlines were not found in the original. This is critical for function calls/deffs where arguments are not brought back together to maximize line length The attached diff is quite simple and resolves the test cases I tried so far. It also undoes the splits that were added by the over-aggressive splitting that I resolved in my previous large diff commit 345560f7d0c27e65725a91664e89ca544155df84 Author: Ben Gardner Date: Thu Oct 13 21:41:30 2011 -0500 From: Todd Richmond If mod_remove_extra_semicolon=true, extra semicolons will be removed from within a macro such as #define ENDSTRUCT }; There might be other modifying options as well that should not take effect within macros commit a36b09750273c9d3306e85684028d2cac0f32770 Author: Ben Gardner Date: Thu Oct 13 21:38:51 2011 -0500 From: Todd Richmond To denote that a string is unicode, L"string" is used, but uncustify will insert a space in the # cpp operator for common macros such as #define KEYWORD(_keyword_) L#_keyword_ which reformats to #define KEYWORD(_keyword_) L # _keyword_ sp_pp_stringify will remove the trailing space but not the leading space which is an invalid construct commit befe3c513e69a08a3e90dc759da01b338687f5a5 Author: Ben Gardner Date: Thu Oct 13 21:35:38 2011 -0500 From: Todd Richmond In Visual Studio in C/C++, the "interface" keyword should be treated like "class" as it allows derivations like ": public foo" commit 965c01bad535aa807e25f4b79a9a6495a3b18280 Author: Jim Meyering Date: Sun Oct 2 12:59:57 2011 +0200 handle a backslash followed by a literal newline Without this change, uncrustify's lexer would get confused for any C code containing a string like this: f ("\ Some text\n"); That led to a diagnostic like "Garbage in col 8: 5c" typically followed by a cascade of unwarranted diagnostics. The fix is to reset "escaped" also when handling a literal newline or a carriage return. Also included: a test case to exercise the bug/fix: tests/c.test tests/input/c/backslash-newline-lex.c tests/output/c/01060-backslash-newline-lex.c Signed-off-by: Ben Gardner commit c404574dd88dba6520ca545ed1b388d678049c21 Author: Ben Gardner Date: Sat Oct 8 21:34:42 2011 -0500 Update SlickEdit project files commit 68c59727a92ee887c110175258dacd27b589fcf8 Author: Ben Gardner Date: Sat Oct 8 20:57:13 2011 -0500 Add OpenPorts.se link commit 8efb7ea7ff46a7b6196f9233541bb63a1a9d3142 Author: Ben Gardner Date: Tue Oct 4 21:37:04 2011 -0500 Save off changes for version 0.59 commit ee20cffd27cafd99aac17c06e80ba954554fb76f Author: Ben Gardner Date: Tue Oct 4 21:06:02 2011 -0500 Update two tests to reflect recent change to mod_full_paren_if_bool commit 3dfc51bf551358630722b7e931588f7c5b01b20e Author: Ben Gardner Date: Tue Sep 27 21:01:18 2011 -0500 Fix comma and boolean op precedence with mod_full_paren_if_bool commit dfbd1a86c0490e0a016ab1a40b125e42ec291c29 Author: Ben Gardner Date: Tue Sep 27 20:55:32 2011 -0500 Change cast to fix warning: assuming signed overflow does not occur when assuming that (X - c) <= X is always true commit f30b92aac7008d942b36547e421c72d69ddbcc62 Author: Ben Gardner Date: Tue Sep 27 20:49:15 2011 -0500 Fix the log level in mark_change() commit e8f850c79ed93e16fca9e1902175419f05e95774 Author: Ben Gardner Date: Tue Sep 27 20:42:46 2011 -0500 Properly handle an empty source file commit 235ae27fa2dccfee5e44c7fb03bbf178b32d3260 Author: Ben Gardner Date: Tue Sep 27 20:40:44 2011 -0500 Don't add parens around BOOL comparisons if there is a preproc present commit cda1e865876bf577f74efac9fd4a720ff78b2a00 Merge: 3de9050 26804b5 Author: Ben Gardner Date: Mon Sep 19 21:21:24 2011 -0500 Merge branch 'master' of https://github.com/jott/uncrustify into jott-master commit 3de90503fc5b360c11ceb861bde3acc138d87ef4 Merge: 51ee3f4 74f6836 Author: Ben Gardner Date: Mon Sep 19 21:17:56 2011 -0500 Merge branch 'jott-aa107f1' commit 74f6836d4aef70a9b4c9ef46810fcefdc6caa798 Author: Ben Gardner Date: Mon Sep 19 21:17:43 2011 -0500 From: Jott Fixed a crash in indent_text. When a closing paren is missing at the end of a file, the next token is NULL. To reproduce, create a file with just x( in it and without a newline. commit 51ee3f4c7c39c4a337476c51ac576474cb3fac5d Merge: 0fa8fd4 6827f9f Author: Ben Gardner Date: Mon Sep 19 19:13:57 2011 -0700 Merge pull request #38 from jott/6827f9ff03920b7b2f178474292176c6078edc11 Fixed an infinite loop in parse_word. commit 26804b5098a0b1d7e288186caeadbd412e2297f6 Author: Jonas Hurrelmann Date: Mon Sep 19 21:39:10 2011 +0200 Added new files to the VS2008 project file. commit aa107f1bc6926def0152b182541650cdb43d3744 Author: Jonas Hurrelmann Date: Mon Sep 19 21:26:04 2011 +0200 Fixed a crash in indent_text. When a closing paren is missing at the end of a file, the next token is NULL. To reproduce, create a file with just x( in it and without a newline. commit 6827f9ff03920b7b2f178474292176c6078edc11 Author: Jonas Hurrelmann Date: Mon Sep 19 21:18:58 2011 +0200 Fixed an infinite loop in parse_word. When there are no more characters in the context, the parsing fails. Create a file with just #x in it and without a new line to reproduce. commit 0fa8fd44c6a4ebffbe9378c932c604dd814ad2af Author: Ben Gardner Date: Mon Sep 12 20:58:12 2011 -0500 Update the Win32 VS2010 project file (Todd Richmond) commit 2be051a1e0e155a96710bec43ab16c4eaffa79e2 Author: Ben Gardner Date: Mon Sep 12 20:56:53 2011 -0500 Fix some build issues under Win32 commit 60f3681da60462eda539b78e0c6c3eea823481e5 Author: Ben Gardner Date: Thu Sep 8 21:38:27 2011 -0500 Set the parent of '{' in cast '(foo){1,2,3}' Fixes SF #3406144 commit 2b6a3105f5bfeaef74821ffb714799871376ad62 Author: Ben Gardner Date: Wed Sep 7 21:34:18 2011 -0500 Add option nl_case_colon_brace commit ed129ba0f37055b4be02200e2bb644a51c29aa02 Merge: eb394d1 b144060 Author: Ben Gardner Date: Tue Sep 6 22:25:52 2011 -0500 Merge branch 'master' of https://github.com/hschmidt/uncrustify into hschmidt-master Conflicts: src/token_names.h Assuming that the change in test 50007 was intentional commit eb394d1ad6001cebf6ef2ef3572e1ae13a200e86 Merge: 9789753 caecd7c Author: Ben Gardner Date: Tue Sep 6 22:17:45 2011 -0500 Merge branch 'indent_ctor_init' of https://github.com/patnotz/uncrustify into patnotz-indent_ctor_init Conflicts: tests/cpp.test commit 978975355fa1e8280400df3d742b48498d6af1b3 Author: Ben Gardner Date: Tue Sep 6 22:10:31 2011 -0500 Rework the sp_before_tr_emb_cmt and sp_num_before_tr_emb_cmt options commit eaa5aef38a15b3c5aabb06943f8a2d0cea53dd04 Merge: 235adfd 6dcaa68 Author: Ben Gardner Date: Tue Sep 6 21:47:20 2011 -0500 Merge branch 'sp_before_tr_emb_cmt' of https://github.com/patnotz/uncrustify into patnotz-sp_before_tr_emb_cmt Conflicts: src/tokenize_cleanup.cpp commit 235adfd18147f35a196686efa2ddd084010ba505 Author: Ben Gardner Date: Tue Sep 6 21:22:00 2011 -0500 Remove commented out memset's commit 727d23421b17a960e5fb8fe80e331739be278724 Author: Ben Gardner Date: Mon Sep 5 20:26:07 2011 -0500 Remove some unused functions commit b18c4ee9b7a3240cfee3330559c8c4b64f1fc823 Author: Ben Gardner Date: Sun Sep 4 22:36:24 2011 -0500 Need to check the real previous when looking for the start of the file commit 00f7f5d2a50e3ee504772387e7071fcf0111d684 Author: Ben Gardner Date: Sun Sep 4 22:22:58 2011 -0500 Update some tests that had incorrect output due to newline issues commit c08cf0da0f2a8970848a6d601494beea49aff866 Author: Ben Gardner Date: Sun Sep 4 22:22:24 2011 -0500 Fix some output stability issues by running the newline code twice commit 9160e075dcb81d895cac3fd8aee9164ea8cd637b Author: Ben Gardner Date: Sat Sep 3 16:21:13 2011 -0500 Don't nest complex statements when creating an 'if' one-liner commit 6b4cdc6ddd259ea6b7c210a7fdf8064a4080c6bd Author: Ben Gardner Date: Sat Sep 3 16:12:48 2011 -0500 Fix some test output commit 5230fbb00bd0cc3e28dba2645139378b21212a3b Author: Ben Gardner Date: Sat Sep 3 16:12:10 2011 -0500 Improve blank line handling commit 2f05596f4f7423c8b06eb28dac3d9d629dd7d1a3 Author: Ben Gardner Date: Sat Sep 3 15:43:00 2011 -0500 Update test config to reflect new option name commit 8c57f4556d2ce43f3a6f41368f09b24db40aa6ab Author: Ben Gardner Date: Sat Sep 3 15:40:11 2011 -0500 Add test of UTF-16 input files w/o a BOM (output contains the BOM) commit 9e45777e294ce778a46e43ae0e0c75d9027e7948 Author: Ben Gardner Date: Sat Sep 3 15:37:45 2011 -0500 Force the BOM on UTF-16, detect UTF-16 encoding without a BOM commit a44d84381db4f0882a5fa2a47f49f4ecc73a12fa Author: Ben Gardner Date: Sat Sep 3 15:07:34 2011 -0500 Rework the Byte Order Mark stuff (more options) commit c16a2f1ea6f001a6b12a51ade1befb7a38662f16 Merge: ab8a73f 7ba9a91 Author: Ben Gardner Date: Sat Sep 3 12:06:05 2011 -0500 Merge branch 'unicode' commit ab8a73f782e1859bdb304189a2e2b098ad680d5a Author: Ben Gardner Date: Sat Sep 3 12:05:56 2011 -0500 Update vpj file commit bf40639ae0ab7b49e4dca7c5af0dddf5c173e63c Author: Ben Gardner Date: Sat Sep 3 12:05:37 2011 -0500 Fix error in comment commit 7ba9a91cd3a7f2ea5815ee61d7b838b7cb2bb36d Author: Ben Gardner Date: Sat Sep 3 12:02:16 2011 -0500 Save fixed test commit 1067a8b382521b62eadb099e23c80c3e649c81c6 Author: Ben Gardner Date: Sat Sep 3 12:01:21 2011 -0500 Fix 1-liner splitting in "{ get; set; }" commit b16542872982674f8896fa68a22c28a0a383c945 Author: Ben Gardner Date: Sat Sep 3 11:11:40 2011 -0500 Add tests for UTF-16 handling commit 1dac0422c9d52d0cb84d25d3eb8ed20569cdc9a6 Author: Ben Gardner Date: Sat Sep 3 11:08:08 2011 -0500 Fix UTF-16 handling and the BOM commit d6c084a4f7f25ae05a43364ef52a7fc5c89df6fa Author: Ben Gardner Date: Fri Sep 2 02:29:02 2011 -0500 Add test for force_utf8 commit d95d1fe639882fbe85e78403fbd871407ea14145 Author: Ben Gardner Date: Fri Sep 2 02:26:11 2011 -0500 Add force_utf8 commit 10d5b16f6f207bd51d05ef232a328fa67165e262 Author: Ben Gardner Date: Fri Sep 2 02:13:57 2011 -0500 fix test - no idea why it was broken previously commit 8742ac03b5a7670938440eb9ab8eff1f7517a40c Author: Ben Gardner Date: Fri Sep 2 02:13:35 2011 -0500 Fix a few UTF-8 bugs commit 85a24120bd4b693024b9d6428ca260a2426ec176 Author: Ben Gardner Date: Fri Sep 2 01:47:16 2011 -0500 get output_comment_multi() working commit 9d3e02ed8091f86f00d095613b40d826f68ac7d8 Author: Ben Gardner Date: Fri Sep 2 01:35:29 2011 -0500 save everything except output_comment_multi commit 090841b780f60c3ee9ff3c530f5693ea194196e1 Author: Ben Gardner Date: Fri Sep 2 01:13:02 2011 -0500 rework output_comment_multi_simple to use unc_text commit b895188f6b093010125c2b26c6802233f56f1f10 Author: Ben Gardner Date: Fri Sep 2 01:12:10 2011 -0500 More unc_text usage and cleanup commit f9736a041e65b92c6040776c73027c289b463e76 Author: Ben Gardner Date: Tue Aug 30 22:32:23 2011 -0500 Fix combining of C comments commit 911d7c9d316235275094a539341fe7e192b41fb2 Author: Ben Gardner Date: Tue Aug 30 22:28:17 2011 -0500 Fix more string-related issues commit 95ee11320e9bf26c6715d73b1fdcb4301207497a Merge: 5f4855d a0f6fbc Author: Ben Gardner Date: Fri Aug 26 19:21:23 2011 -0700 Merge pull request #32 from patnotz/testing-howto Tweaks to the TESTING how-to commit 878becb3b0f205974efe86fef36616326c706487 Author: Ben Gardner Date: Fri Aug 26 21:19:46 2011 -0500 Save off work commit 6dcaa6850aa475e76a83d77e7322c67cc1aee3ed Author: Pat Notz Date: Tue Aug 2 22:29:59 2011 -0600 Add option for controlling space before trailing/embedded comments Two new options: # Controls the spaces before a trailing or embedded comment sp_before_tr_emb_cmt = ignore # Number of spaces before a trailing or embedded comment sp_num_before_tr_emb_cmt = 0 commit a0f6fbcc77cd45c867514b24d0d3e499f2e00fe3 Author: Pat Notz Date: Fri Aug 26 11:36:38 2011 -0600 Tweaks to the TESTING how-to - correct "run-tests.py" to "run_tests.py" - add tip about 'run_tests.py LANG' - can do "cd tests; ./run_tests.py", not "./tests/run_tests.py" commit caecd7c26b58926fe00e9d3c110906d9f7e7050e Author: Pat Notz Date: Fri Aug 26 15:54:21 2011 -0600 Add indent_ctor_init option for extra indenting of ctor initializers if indent_ctor_init > 0 then that many extra spaces are added to the indetation of the constructor initializer list. commit 63b1c684256183f773eca6740564395631857674 Author: Ben Gardner Date: Thu Aug 25 20:42:09 2011 -0500 Save off Unicode work commit 5f4855d5a9165fc083c2ed2d65a988e2786054c1 Merge: 69486ca 9f6bdb7 Author: Ben Gardner Date: Thu Aug 25 18:41:04 2011 -0700 Merge pull request #29 from JanX2/master Fixed Xcode build settings commit 69486ca2d0187c8a3e0fe08da1ea1196f2d53237 Merge: 3437cff c44ee6d Author: Ben Gardner Date: Thu Aug 25 18:32:21 2011 -0700 Merge pull request #31 from patnotz/testing-howto Add TESTING file to document running and adding tests commit c44ee6dfb5b60e32725f8df25c9dc93f58177452 Author: Pat Notz Date: Tue Aug 23 10:16:34 2011 -0600 Add TESTING file to document running and adding tests The content of this file is from messages from Ger Hobbelt and Ben Gardner. commit fe42c67ae018c7ee44f276d0d4ab543710062678 Author: Ben Gardner Date: Thu Aug 18 22:31:37 2011 -0500 Add a completely untested unc_text class commit 97996a0b51d916d4f25f5b61aecbb4c367f5f19f Author: Ben Gardner Date: Wed Aug 17 22:28:55 2011 -0500 Add a start to UTF-8 and UTF-16 support commit 9f6bdb7f3880cf90eea86381a1ac7c96ea54f96a Author: Jan Weiß Date: Tue Aug 16 17:54:57 2011 +0200 Cleaning Xcode build settings. commit b4687cd969dba1ca92b51b6268aae109622ba5aa Author: Jan Weiß Date: Tue Aug 16 17:54:22 2011 +0200 Xcode project file touched by more recent Xcode version (3.2.5). commit a0639c2b9047e91e585bfbc009fc3eda961d137c Author: Ben Gardner Date: Sat Aug 13 22:56:16 2011 -0500 Fix comment commit 3437cffac02717c37c4f7b3d23adc7c73d2a2543 Author: Ben Gardner Date: Sat Aug 13 21:37:25 2011 -0500 Update test results for new sp_after_new option commit e7e09ab2b2b67341451bacc11472a6f5330c642d Author: Ben Gardner Date: Sat Aug 13 21:09:21 2011 -0500 Make do_space() static and don't log spacing if the 2nd chunk is a newline commit e0e50e81b0ba2c04242b7799d71dd2b6d77dcc01 Author: Ben Gardner Date: Sat Aug 13 21:08:49 2011 -0500 Add option sp_after_new commit 3bbe8521f46956d7d879505452b4c7b5273dfd88 Author: Ben Gardner Date: Sat Aug 13 21:07:52 2011 -0500 Mark the parent of '[]' in 'delete[] x' commit 7501cad6f93119ae3862a3b84d3934d6c9bd9df0 Author: Ben Gardner Date: Sat Aug 13 14:14:10 2011 -0500 Add new options: nl_after_class and nl_after_struct commit 46718ae6f0873340e19dde925837ac657274ef7b Author: Ben Gardner Date: Sat Aug 13 14:13:05 2011 -0500 Set the parent type of the semicolon after a class/struct/enum/union commit 97bba2218fc491ed48bac794a6c2f093a9628dbc Author: Ben Gardner Date: Wed Aug 10 22:02:20 2011 -0500 Add nl_property_brace to handle "public foo bar { get; set; }" commit 1b30ae951777f26fbbb463bb2cc8e19b222be459 Author: Ben Gardner Date: Wed Aug 10 21:44:11 2011 -0500 Fix the new option nl_after_func_body_class (too much cut-and-paste) Improve logging so see what changes blank lines. commit 20b21c2f7cd9c3b635b0fc124541e17074fdf941 Author: Ben Gardner Date: Sat Aug 6 22:56:10 2011 -0500 Yell if a macro function ending with a semicolon is detected. Using those in code confuses Uncrustify. commit 26a283192627880f598f857cf8892338098d038c Author: Ben Gardner Date: Sat Aug 6 22:55:15 2011 -0500 Update test for recent namespace/property fix commit 5f547a4988eab08f04d1d22c2c67a6a175fbd4bb Author: Ben Gardner Date: Sat Aug 6 22:50:42 2011 -0500 Fix detection of "void f(::a::b v);" commit 238d22c69c8a9bfc67bf029c1b6642f00fafc642 Author: Ben Gardner Date: Sat Aug 6 22:26:13 2011 -0500 Set the parent of everything between 'namespace' and '{' to fix false property detection in C#. commit ef8350ecdbcf65988f708f8d072513deb85bfd5a Author: Ben Gardner Date: Sat Aug 6 22:11:49 2011 -0500 Add option nl_after_func_body_class commit a746876a46f9c0437be10248760cef9ea11a3d8e Author: Ben Gardner Date: Sat Aug 6 21:51:19 2011 -0500 Check for embedded 0's in the input file. This causes undesired operation. commit bcee5c52f5922102e57c805141480bc5a41e14d1 Author: Ben Gardner Date: Sat Aug 6 21:38:30 2011 -0500 Keywords 'and' and 'or' may be in C/C++ '#if' statements commit 057d9e4188d182147d5bd459530b4785811fe117 Author: Ben Gardner Date: Sat Aug 6 21:28:34 2011 -0500 Add some additional null checks in newline_add_after() commit 25b916cee118fa9ec92d96a45bd1bfed5bfb95b5 Author: Ben Gardner Date: Sat Aug 6 21:00:50 2011 -0500 nl_before_throw only applies to after a ')'. commit e9d48e186b3969511d24a85c0c5def9ce278d757 Author: Ben Gardner Date: Thu Jul 28 21:50:10 2011 -0500 Use std::bitset for the log mask commit cb1dbd354b339ae81c03865ccf0e6fb60a4e03ca Author: Ben Gardner Date: Sat Jul 16 15:38:11 2011 -0500 Add missing test results commit 0ab0127350eccdaf085c2b5a4e082679746acad5 Author: Ben Gardner Date: Sat Jul 16 15:02:48 2011 -0500 Add config file for the 'sun' C++ format (Todd Richmond) commit 9519de3a7e44f903ce5fbc56b6182579fad8a1c4 Author: Ben Gardner Date: Sat Jul 16 14:57:41 2011 -0500 Add Visual Studio 2010 project file. commit f4c5357612d26e94a5951336d58c5b351dab3c65 Author: Ben Gardner Date: Thu Jul 7 22:19:54 2011 -0500 Clarify the description for nl_func_var_def_blk commit 6cbeb6fba003f19fc4a56261072accd34900cbd2 Author: Ben Gardner Date: Thu Jul 7 22:15:59 2011 -0500 The continuation indent applies to the next line, not the current Fixes SF#3348571 commit abb5ed155825b5756328d226881e041882a4e96b Author: Ben Gardner Date: Wed Jul 6 21:31:19 2011 -0500 Make the nl_func_var_def_blk option take priority over nl_before_if, etc Fixes SF#3348594 commit e7990ff73274f4d4ed6fe89853148c9a58d23efa Author: Ben Gardner Date: Wed Jul 6 20:37:57 2011 -0500 Remove arbitrary limits in align_same_func_call_params() commit 0fd87aad1bc102221d45d75caee772ea370e36fe Author: Ben Gardner Date: Wed Jul 6 20:30:12 2011 -0500 Fix align_same_func_call_params() Fixes SF#3354409 commit f6ab1b08e9327f22c4077a212c793b14c55b08cb Author: Ben Gardner Date: Tue Jul 5 22:07:29 2011 -0500 Use feof() to detect the end of the stdin stream. commit 5ddffe8ca744cbe8cfbff11632460b59769f4939 Author: Ben Gardner Date: Mon Jul 4 22:49:35 2011 -0500 Remove std:: prefix, now that we are "using namespace std". commit c3224461bfdda91c8414095b31aa87ece0817434 Author: Ben Gardner Date: Mon Jul 4 22:49:09 2011 -0500 Re-run update-default-cfg.sh commit 313c87ae4403b76c31a7302c6d6374f0fbae6f39 Author: Ben Gardner Date: Mon Jul 4 22:48:46 2011 -0500 Remove newline at the end of the option text. commit 7d627682a0b5aeed41abf467d5f3253641ea75fb Author: Ben Gardner Date: Mon Jul 4 22:46:29 2011 -0500 No longer need malloc() or realloc() commit f7d16638d056a2e1a2df0e6f298b786153f02e6b Author: Ben Gardner Date: Mon Jul 4 22:40:45 2011 -0500 Use std namespace and use std::vector for file data. commit 067d13ae43eaca6c67036d459f51617b53bc17c8 Author: Ben Gardner Date: Mon Jul 4 21:49:42 2011 -0500 Use std::map for custom keywords. commit 29371a4b44cb5af4375dcf2364af607c4c6952b7 Author: Ben Gardner Date: Mon Jul 4 21:48:17 2011 -0500 Use a std::map for the custom defines. commit 4c7c49574de4360bd233b67622f62dba1bb4d413 Author: Ben Gardner Date: Mon Jul 4 15:25:28 2011 -0500 Move add_long_preprocessor_conditional_block_comment() out of defines.cpp commit 183a3ab83f52c14d91fa71f6b9a845a4ff3ec55b Author: Ben Gardner Date: Sat Jul 2 17:32:11 2011 -0500 Remove unused typedefs and types. commit acc0a1488f581f1a5d3a0f389a29d645db24a13a Author: Ben Gardner Date: Sat Jul 2 17:24:14 2011 -0500 Rework ChunkStack to use std::deque and not manually manage memory commit c45d8a349f8964c6f36bece12c5fcfcbffd0a6bf Author: Ben Gardner Date: Sat Jul 2 16:15:23 2011 -0500 Replace C99 construct with new/delete. commit 7d2f25f76cd051e58d4599c07820778bbf6d543d Author: Ben Gardner Date: Fri Jun 17 14:47:50 2011 -0500 Add more to the C++ operator test commit adb08f32bc3b8f77dc5efb86bd3f33be3da82b2b Author: Ben Gardner Date: Fri Jun 17 14:45:58 2011 -0500 Clarify the description of sp_inside_square commit dd537926695d380f6aec1e4bd8ce551dd2f37219 Author: Ben Gardner Date: Fri Jun 17 14:44:35 2011 -0500 Properly handle 'operator []', 'operator new[]' and 'operator delete[]'. Fixes SF #3317841 commit 314cf189824f261afd6673f5b90cdb9f3ac92778 Author: Ben Gardner Date: Fri Jun 17 10:55:07 2011 -0500 Use the comment size as a guide for how large a line can be. Fixes SF #3317781 commit 2b9adf5b10bc501d4256bc77130c243d8bcd78e0 Author: Ben Gardner Date: Sat Jun 11 17:25:54 2011 -0500 Remove obsolete subversion $Id$ tags commit 59e7dd641a525f3eb6086fc2a3774ccaaed4c30f Author: Ben Gardner Date: Sat Jun 11 17:18:13 2011 -0500 Redo the options to tests/run_tests.py commit 4cfad57e4785c0989a9192a2a0f8baf9d7ac8ee1 Author: Ben Gardner Date: Sat Jun 11 17:06:27 2011 -0500 Extend the test script to check for stability. If a test passes, it runs uncrustify on the output and checks to see if it changes. commit 9073b78f0fb4219e229c4a161669eadc17a4e26b Author: Ben Gardner Date: Sat Jun 11 16:50:52 2011 -0500 Do not remove braces if set to AV_FORCE Fixes SF #3289119 commit 9db88d5c5831b599323fbd00290beaa64485e900 Author: Ben Gardner Date: Sat Jun 11 16:39:39 2011 -0500 Fix indent_cmt_with_tabs for comments in the first column. Fixes SF #3310758 commit 4cf28b5c5eafec045424084f69b21c1189e01ad7 Author: Ben Gardner Date: Sat Jun 11 16:34:30 2011 -0500 Sort the keyword table. @synthesize and @selector were out of order. commit 317b7f0e04f575dd3de1dd50bf863cbf7c9562a6 Author: Ben Gardner Date: Sat Jun 11 16:21:11 2011 -0500 Add handling for the Java assert statement Fixes SF #3304061 commit 4efe8c86ce16fc9fbfb00ab18725c3063e75dcfc Author: Ben Gardner Date: Sat Jun 11 16:18:37 2011 -0500 Add a test for the Java assert statement. commit b69eadfbc8f1b51b09fbb948373c486b2b7ef106 Author: Ben Gardner Date: Sat Jun 11 16:16:52 2011 -0500 Add a specific keyword for the Java 'assert' commit 28f342227228f6bed4fa65e92bf161ef6a898dca Author: Ben Gardner Date: Sat Jun 11 16:15:58 2011 -0500 Add test number ranges to each language test file commit 9e911263e5d1055ad28fcec4745d592421025efd Author: Ben Gardner Date: Sat Jun 11 16:12:27 2011 -0500 Renumber the C tests commit 6175a01d970d9bad6138fea083ecce3b283d6747 Author: Ben Gardner Date: Sat Jun 11 15:37:50 2011 -0500 Fix some NULL-derefs in add_long_preprocessor_conditional_block_comment() Closes SF #3306280 commit 116e2e6d87bc741a47b3dcbdefadc0323c3000ee Author: Ben Gardner Date: Sat Jun 11 15:29:07 2011 -0500 Try to do a better job at handling user-defined literal suffixes. Fixes the second issue in SF #3306237. commit d42b30e474ffd4aabe262b748520ff05ca1f9159 Author: Ben Gardner Date: Sat Jun 11 14:54:53 2011 -0500 Recognize the C++0x 'constexpr' keyword commit 983dd90b2a03525955c0faa854ddc953c8a18cb8 Author: Ben Gardner Date: Sat Jun 11 14:39:44 2011 -0500 Change parse_number() to allow decimal numbers starting with a 0, as in 08. Fixed the first issue in SF# 3306237. commit 92a6a6b2ccb7916d56aa6d3956b2e773bd9f82c8 Author: Ben Gardner Date: Tue Jun 7 20:50:38 2011 -0500 Remove diagnostic code about unexpect chunk in struct/enum/union commit 2cc9f6d51ba0d091c6e4e1b3f876528a6d2648b2 Author: Ben Gardner Date: Thu May 26 21:21:27 2011 -0500 Suppress log on expected chunk Fix SF #3307476 commit 586f958edf0d2303fe6411370958fe15a6465ae2 Author: Ben Gardner Date: Sun May 22 10:20:21 2011 -0500 Update tests for SF bug #3305534 commit df55dc01c7f5358f8572ea23df46374d0752458f Author: Ben Gardner Date: Sun May 22 10:10:26 2011 -0500 Fix detection of operator() function calls. Fixes SF #3305534 commit 7bf25d620c3fd11f2edaad43ba71139deae6ca9f Author: Ben Gardner Date: Thu May 19 22:13:45 2011 -0500 Uncrustify 0.58 commit 6ed81d30cf926218d873ea644fdfe016343cb1bf Author: Ben Gardner Date: Wed May 4 21:09:14 2011 -0500 Do not corrupt files that contain non-ASCII UTF-8 characters commit f4c1969ad44a8ae7c79dcb616aed2e70d81989a8 Author: Ben Gardner Date: Wed Apr 20 22:07:39 2011 -0500 Add missing test file commit 5b8cf13145ed0e104d6add03a338b8c80b1f6c1c Author: Ben Gardner Date: Wed Apr 20 21:50:19 2011 -0500 Add a test for aligning static class variables commit c581c009194be58024a1eaf53d9c753ffdde06f0 Author: Ben Gardner Date: Wed Apr 20 21:49:28 2011 -0500 Skip over member stuff 'foo::bar' when aligning variables. commit c6266ba06538ebda17cc3bcd8b9ba5a218dda324 Author: Ben Gardner Date: Wed Apr 20 21:37:47 2011 -0500 Back up past and class specifiers when aligning function prototypes and single-line functions. commit edaa77817e796fbd54c55106da068aa8789f4b36 Author: Ben Gardner Date: Sat Apr 16 23:40:34 2011 -0500 Fix '*' detection in "BYTE** c = new BYTE*[12];" commit 7925530f1e5405d738729607d9761c7e8f1ead98 Author: Ben Gardner Date: Sat Apr 16 23:20:24 2011 -0500 Label the '&' in 'TYPE &' as BYREF. commit 4b8f3fb5ace5d2286315dcc815a4e6c0d6bf700f Author: Ben Gardner Date: Sat Apr 16 22:57:07 2011 -0500 Handle MS extension: 'for each ( xx in yy )' commit 5885e05beac1496cb9ad5688f28edd9d63c198b0 Author: Ben Gardner Date: Sat Apr 16 22:42:58 2011 -0500 Fix the description for mod_add_long_ifdef_else_comment and mod_add_long_ifdef_endif_comment commit 837ccbf4713428383857453fcd1ef1831dfb2036 Author: Ben Gardner Date: Sat Apr 16 22:38:18 2011 -0500 Add test for D sized enums commit f9263ccd64d06fb2a9425ff55e8caaf522936645 Author: Ben Gardner Date: Sat Apr 16 22:35:43 2011 -0500 Correctly handle D sized enums in "enum x : int { ... }" commit 8438283ffd1ce36116c2b252362c835a7f4f7326 Author: Ben Gardner Date: Fri Apr 8 18:24:55 2011 -0500 Fix cut and paste error in description for cmt_insert_before_preproc commit bc33025cb4fa8772fe036cdc6f6cf1a665525f64 Author: Ben Gardner Date: Sat Mar 19 09:11:55 2011 -0500 Add inserted comment substitution for "$(message)". From: Kevin Hardman commit d633b408c604babcaf349b7418d519e3f8f0bd20 Author: Ben Gardner Date: Sat Mar 19 09:10:42 2011 -0500 Add new option cmt_insert_oc_msg_header. From: Kevin Hardman commit ce5edfe22ae1d6b0c3d27e516a8f2dff6b777fdc Author: Ben Gardner Date: Sat Mar 5 15:33:11 2011 -0600 The default for tok_split_gte is now false, so it needs to be set. commit 4a011f3b8d44762adadcef4f071bc04ab6c982ef Author: Ben Gardner Date: Sat Mar 5 15:29:17 2011 -0600 Fix detection of this: d[i].e * f(); Was detecting 'f()' as a function prototype, should be a function call. commit e02cea59246cd98e2e4682a126a15a83d8f9a2fa Author: Ben Gardner Date: Sat Mar 5 15:28:10 2011 -0600 Fix segfault introduced in the last commit. commit ee31f327f5b1faf197bb86c7942fb2e35a685c89 Author: Ben Gardner Date: Sat Mar 5 15:14:26 2011 -0600 Mark the parent of braces if an open brace follows a function call. Fixed SF issue 3171797. commit 01c2d27e0f8f4a4fccd037c4aabe00b7dd25eec2 Author: Ben Gardner Date: Sat Mar 5 14:48:01 2011 -0600 Change the default to NOT split '>=' if it could be the closing part of a template. commit 8a6089244856829128c3f0d2a7fe0b65010c765e Author: Ben Gardner Date: Fri Jan 21 22:25:13 2011 -0600 Add a hack to allow a something named 'class' that isn't part of a class definition. As in: "MyClass.class.getCanonicalName()" commit d57a1a30683db491fa00879509dfe506e3dad6c6 Author: Ben Gardner Date: Fri Jan 21 21:58:56 2011 -0600 Add some special handling to allow ObjC to use some keywords as identifiers commit 03b4a31c63a15b75d3c8759a6d92610e450c5ad6 Author: Ben Gardner Date: Thu Jan 6 10:23:33 2011 -0600 Add a test for detecting function parameters commit 3e4c826e4cacd760c3b7860a4366549be917b445 Author: Ben Gardner Date: Thu Jan 6 10:05:50 2011 -0600 Function parameters may be arrays. commit b1b19b9ddd9411f99ccd642308856d071f157440 Author: Ben Gardner Date: Thu Jan 6 10:04:38 2011 -0600 Use chunk_skip_to_match() instead of chunk_get_next_type() where appropriate commit af7ee0f748283ff39e20eae928fd6eab630c54dc Author: Ben Gardner Date: Sat Jan 1 13:42:12 2011 -0600 Change logic so that align_keep_tabs doesn't break align_with_tabs. commit 2ad8fc4030d34aebd55ff1a138a3208f558680d7 Author: Ben Gardner Date: Sat Jan 1 13:18:55 2011 -0600 Change some keywords to CT_WORD between '@interface' and '@end' (ObjC) commit a726617e74b739a54f6fda3487d17180de3e9ba1 Author: Ben Gardner Date: Sat Jan 1 12:46:44 2011 -0600 Allow function types inside function parameters in a prototype. commit a6f728ec83a5798f65566cf70f67b0eea44e2050 Author: Ben Gardner Date: Fri Dec 31 14:52:23 2010 -0600 Add tests for sp_catch_paren, sp_throw_paren, sp_version_paren and sp_scope_paren. commit 135d677b97e3dea11600ea0adce9228563a0e583 Author: Ben Gardner Date: Fri Dec 31 14:49:28 2010 -0600 Add new options for D: sp_scope_paren and sp_version_paren commit c6a66430edfc6d2e0705b396a0877511aa7d6042 Author: Ben Gardner Date: Fri Dec 31 14:28:23 2010 -0600 Add option sp_catch_paren commit 27df8f102b8848b347a5788206795b175bdd4c9d Author: ben Date: Fri Dec 31 13:51:16 2010 -0600 Only mark a colon as a CT_CLASS_COLON if at the same level as the parens. commit 6840f94af18dcc30f252bf0c45642673f7ba901b Author: ben Date: Fri Dec 31 12:15:00 2010 -0600 Add option tok_split_gte to disable splitting '>>=' and '>=' in template detection. commit e6528e71b685a73ee30da0eabe3521ce03c3d8a9 Author: ben Date: Fri Dec 31 11:33:11 2010 -0600 Don't right-align if align_on_tabstop is set. commit 5c2a8b36760bf64059a5b60bf6f827b190cdb2cd Author: ben Date: Fri Dec 31 11:31:00 2010 -0600 Remove some duplicate tab-calculating code. commit b144060febe17aea8a38ee758f125452281d454c Author: Hannes Schmidt Date: Sat Dec 4 16:06:49 2010 -0800 Fix detection of whether inside Obj-C msg send Fixes sp_before_send_oc_colon and sp_after_send_oc_colon that were probabably broken by 42b1ed31999d4926188acf881912b49958282dac. Also revives the intent of cb9c866934ff2937e59eebab7dfeb937de73f792 broken by the same commit. Signed-off-by: Hannes Schmidt commit a22f48121a9eeb207230c0063d0c51f38ce8fa82 Author: Ben Gardner Date: Thu Nov 25 10:46:38 2010 -0600 Add note about how to push a tag commit 0247755e1496b876c4fa5759eafb6ebc1b47a459 Author: Ben Gardner Date: Thu Nov 25 10:20:27 2010 -0600 Prep uncrustify 0.57 release commit cbb8025fd6ba45664ed49e7f4d4c4e215fc77b01 Author: Ben Gardner Date: Wed Nov 24 10:51:39 2010 -0600 Bail on template detection if we back up into a return and there is a boolean op in the angles. commit ef6ccbacb8583b22c9d3df8a2b3c9bf808628cf7 Author: Ben Gardner Date: Wed Nov 24 10:09:09 2010 -0600 Fix detection of anonymous bit fields in a structure commit bda365fd6805565584ab02237862cc961eb99723 Author: Ben Gardner Date: Sat Nov 20 10:25:09 2010 -0600 Fix incorrect removal of braces of an 'if' statement that is followed by and 'else' and have a nested 'if' before the 'else'. commit 2d1498c30ae7aa985fbde3d882ab2d35092b4adf Author: Ben Gardner Date: Mon Nov 15 17:22:08 2010 -0600 Don't change the '*' in the following to a ptr_type: struct { int a; } b[2 * SZ]; commit 233256cc6a661ff8ff56f31172602b11be9c4149 Author: Ben Gardner Date: Mon Nov 15 17:12:34 2010 -0600 Improve labeling of the angled brackets in protocol lists as in: @protocol Shape commit 5276460b2449fe3f4410a44c47ff29ff3ada3773 Author: Ben Gardner Date: Sat Nov 6 14:18:41 2010 -0500 Do not indent ignored text. commit 196b1e23fe67070290285ee9e180f2c3a1ff1949 Author: Ben Gardner Date: Thu Nov 4 10:09:44 2010 -0500 Add support for Q_SLOTS and Q_SIGNALS. (John Volpe) commit e936d42ed978b8e1497ec4b65171f52262795ff5 Author: Ben Gardner Date: Thu Nov 4 09:55:04 2010 -0500 Update test to cover classes declared with scope. commit a690b7bcce5371935c569c0d9564da23e125070f Author: Ben Gardner Date: Thu Nov 4 09:52:14 2010 -0500 Skip over '::' when looking for the class name. commit cf154549c630206d22e4fca3b27e1672cc6ed26a Author: Ben Gardner Date: Thu Nov 4 09:44:08 2010 -0500 Fix indent of ObjC class if there are no messages declared. commit 2382da103bd64ff866d0ce4a875436a5e8fd7740 Author: Ben Gardner Date: Thu Nov 4 09:16:23 2010 -0500 Check for indent-on on the current line before parsing off whitespace. commit 91808ad839f2aeb6566192beeac2f10f55027259 Author: Ben Gardner Date: Wed Nov 3 22:13:04 2010 -0500 Add D support for 'unittest' as a plain old symbol instead of a keyword. commit 49ddde72b5c528633c37341123a2a09da12db431 Author: Ben Gardner Date: Wed Nov 3 22:04:35 2010 -0500 Fix detection of " *INDENT-ON*" when the comment isn't in column 1. commit f7c0b6f5edf89f72cf9a01405d4611b8da1c5223 Author: Ben Gardner Date: Wed Nov 3 21:48:06 2010 -0500 Fix handling of multi-line CPP comments. These are '//' comments with escaped newlines. commit 4dffd493412a5811e0b1cbfe1b31470511c75e34 Author: Ben Gardner Date: Wed Nov 3 21:03:25 2010 -0500 Add support for the D template format that doesn't use parens. Example: "to!string(1.2)" or "TFoo!int.t x;" Fixed bug #3091128 commit 2b2ceb78c6db5e1b1a099c11a1932b740ebb075a Author: Ben Gardner Date: Thu Oct 7 21:52:27 2010 -0500 Treat 'try' followed by a colon as a qualifier to handle this format: A::A(int) try : B() { } catch (...) { } Otherwise, a virtual brace is inserted after 'try'. commit 4c5d7b7377efcda9e2c1573e2178ebe5a5386b55 Author: Ben Gardner Date: Thu Oct 7 21:40:14 2010 -0500 Fix detection of the language of files passed on the command line. commit 11fb326964e5096b75f2a3edb171851794163bb5 Author: Ben Gardner Date: Thu Oct 7 21:26:31 2010 -0500 Zero cpd.frame_count before scanning the file. Force the preproc parent type to the correct value in pf_check(). commit a0c308b86bff8f29609b3dbc866317293317de2f Author: Ben Gardner Date: Thu Oct 7 20:17:24 2010 -0500 Add minimal support for C++0x rvalue references commit 67365501baa5df7b617a97ede8597809f102b727 Author: Ben Gardner Date: Thu Oct 7 19:26:58 2010 -0500 Add support for the MS-specific '#@' charizing preprocessor operator commit 52a3525fed0b407a01dace8f959b22e369f84fc1 Author: Ben Gardner Date: Wed Sep 1 20:12:49 2010 -0500 Comment out mark_struct_union_body log statement. commit 247a8053952291032b134b8ef2d35f94e4707d8c Author: Ben Gardner Date: Sat Aug 28 17:58:14 2010 -0500 Update test for C++0x R strings with embedded newlines. commit a20c582e003cccb1fa2f8f0f696c71ea3799dac2 Author: Ben Gardner Date: Sat Aug 28 17:57:50 2010 -0500 Newlines may appear inside the C++0x R"(xxx)" strings commit d1db1dd3ffa9983f9c07ecd824fba68785b55f9d Author: Ben Gardner Date: Thu Aug 26 20:51:22 2010 -0500 Update the tests for the newly added C++0x literals. commit 5af337c38f0dd8025ae46e2ccbf290d2b43a2638 Author: Ben Gardner Date: Thu Aug 26 20:49:10 2010 -0500 Add support for C++0x string literals and the user-defined literals commit e63fe8b359ac2efa1e015c87ae4eb079de7071fa Author: Ben Gardner Date: Fri Aug 13 09:00:40 2010 -0500 'foreach' isn't a C++ keyword commit f543e31a8c6fe5b9b31fead5caafd970277319d8 Author: Ben Gardner Date: Wed Jul 28 21:41:59 2010 -0500 Fix incorrect log text commit 525014a12e3e5427e61f6f607d985fae87ab9657 Author: Ben Gardner Date: Wed Jul 28 21:41:47 2010 -0500 Improve support for D casts and const(type) qualifier. commit 0c9675a86e8225fe65bdaaf9a3138f6efe7c4d12 Author: Ben Gardner Date: Sun Jul 25 19:15:06 2010 -0500 Rework tests for new nl_func_def_xxx options commit fece00a87048a3e2631356c8d10ddd947498c6ad Author: Ben Gardner Date: Sun Jul 25 19:10:09 2010 -0500 Adjust config to pass with new options commit 2d1e4acc633a1ddf65d1f6a19c0c25ca29b8bbe8 Author: Ben Gardner Date: Sun Jul 25 19:09:41 2010 -0500 Add nl_func_def_paren, nl_func_def_start, nl_func_def_start_single, nl_func_def_end, nl_func_def_end_single, nl_func_def_empty commit 494715379a4b277fa72ff029ae9593f063125730 Author: Ben Gardner Date: Sun Jul 25 18:46:34 2010 -0500 Enhance tests for nl_func_def_args commit 462b272579de97a1140fd7a8fc7f3f3bb21ee198 Author: Ben Gardner Date: Sun Jul 25 18:45:35 2010 -0500 Add option nl_func_def_args, which is nl_func_decl_args for function defs. commit 022a9f957da6f907a07f492af2cdcbf9e3d7883b Author: Ben Gardner Date: Sun Jul 25 18:22:40 2010 -0500 Fix interaction between mod_case_brace and mod_move_case_brace commit 74b73e29483c52fba4b34decde389a837373fbc9 Author: Ben Gardner Date: Sun Jul 25 18:17:44 2010 -0500 Add more logging for inserting blank lines. commit 7449c779ffa8944adae43d4579515d1f1540de18 Author: Ben Gardner Date: Sun Jul 25 17:48:59 2010 -0500 Add option sp_func_call_paren_empty commit 033a4ff4fab8954f6f66e79245e550ef623dfe10 Author: Ben Gardner Date: Sun Jul 25 17:46:37 2010 -0500 Update tests for operator byref fix. SF bug #3023966 commit 54a60a6b912bfbd2fbe0366fe1907f4651d8c79f Author: Ben Gardner Date: Sun Jul 25 17:27:46 2010 -0500 Use column_indent for checking to see if a comment is off to the right. Fixed detection inside of switch statements. SF bug #3032787 commit e54a3e147d4e7f44a5f54a82e7c8469c819bf0c1 Author: Ben Gardner Date: Sun Jul 25 16:59:22 2010 -0500 Change operator tokens into a type before merging into CT_OPERATOR_VAL. Fixed SF bug #3023966. commit 508abd9c8fc41e14f0f498df27afa1234d8ec79b Author: Ben Gardner Date: Sun Jul 25 16:45:18 2010 -0500 Try to do a better job of handling struct/union bodies, reusing code. Fixes bug-3029014 commit 7425e9e102cc81381b366a814176e8914bede5f1 Author: Ben Gardner Date: Sun Jul 25 16:40:56 2010 -0500 Update test for bug 3029014 commit e2166d7634e28f44352bdab4e5d0e70cc8dd1606 Author: Ben Gardner Date: Sat Jul 24 11:45:31 2010 -0500 Add missing ChoicesReadable for lead_break, lead_force, etc. commit 931d0b7e5d381c9849695f1f56c3dd19fdea1e93 Author: Ben Gardner Date: Wed Jul 21 21:54:33 2010 -0500 Add a test for templates. Illustrates SF bug #3019852 commit d5f09b310e3ac6acb7cee023a16a8fe8d98f75d2 Author: Ben Gardner Date: Wed Jul 21 21:51:19 2010 -0500 Mark token after '+' as starting an expression Fixes SF bug 3032782 commit 07fc9a7e6179d77d0170ecadf66c285896f12542 Author: Ben Gardner Date: Fri Jul 16 17:16:24 2010 -0500 Add --frag option for indenting a code fragment. commit 5777fe7d9a354b074e579a18630f5e30b90bbea7 Author: Ben Gardner Date: Thu Jul 15 20:43:23 2010 -0500 Templates: Only split a '>?' if the '<' is at the top of the stack commit 9b77f5bfe4dd4593e3b5e0a9da64c252704b7b2c Author: Ben Gardner Date: Wed Jul 14 21:51:02 2010 -0500 Improve throw() handling. It is either like return or const. commit 73a33f4b4952992351d9e2c6ab05660b03a76c0f Author: Ben Gardner Date: Wed Jul 14 20:09:27 2010 -0500 Fix removal of braces when the body contains a braced statement + extra stuff commit 877bf9e44a20e8381ccd342d5f763789e12d10d9 Author: Ben Gardner Date: Tue Jun 8 07:53:44 2010 -0500 Increase the hard-coded template depth from 16 to 1024. commit aefb0814b43b59ca3abfbfc5366653efe065075c Author: Ben Gardner Date: Fri May 28 17:05:16 2010 -0500 Rebuild automake stuff after applying the last silent build patch. commit d2c438a56776a04c945972961a4cd11c96b9630b Author: Ben Gardner Date: Fri May 28 17:03:52 2010 -0500 Use silent rules instead of nostdinc A nice feature of automake is that it allows a VPATH build. That is, a build from outside the source tree. This is disabled in uncrustify via nostdinc in /src/Makefile.am. If the purpose of using nostdinc is to clean up the output of the build, I recommend using silent rules instead. commit 10ef222f462174a92d727f2afd669f346d0deb4c Author: Ben Gardner Date: Fri May 28 16:54:58 2010 -0500 Skip over CT_SPACE when looking for the chunk to align the open paren. commit 4b246dd11309323b446e31f4b75835f1289d471b Author: Ben Gardner Date: Fri May 28 16:18:22 2010 -0500 Close out the assign on a level drop inside a preprocessor. commit b120022d230e7c3e623269128ab27ea0838b8e11 Author: Ben Gardner Date: Fri May 28 15:41:20 2010 -0500 Clean up some minor (?) code issues. Tests still pass, so I doubt the code in question mattered too much. I'm sure someone will let me know if this change breaks something. commit 211a7366ea612ae18153b660a847f34ecd75ccf6 Author: Ben Gardner Date: Fri May 28 15:11:17 2010 -0500 Properly mark the return type of an operator function def/proto. commit f446787e4de9add6467646d3b17dcc9c50b2a157 Author: Ben Gardner Date: Fri May 28 14:44:28 2010 -0500 Update test to cover a class declaration with a macro before the class name. commit 56de0a62647e9fe5970e6ce5c5242af81be36006 Author: Ben Gardner Date: Fri May 28 14:43:24 2010 -0500 Handle macros in the class name, detecting the last word/type as the class. class MACRO foo { }; commit 84162ab363cb62b1e355d055aaaad23cf9b6429a Author: Ben Gardner Date: Fri May 28 14:24:05 2010 -0500 Reset the column after outputting the BOM. commit 5be5734967ad787c22d5e3a30d5c15d7646e8b6b Author: Ben Gardner Date: Mon May 17 18:23:44 2010 -0500 Clean up build and project files. Rebuild the makefiles. commit 3fce21b5dd8f61adf4aab3a8c71209e22d957452 Author: Ben Gardner Date: Mon May 17 18:21:09 2010 -0500 Reduce the number of places where the version needs to be manually entered. Automatically generate the man and version files. From: Ger Hobbelt commit efb84c2491d76b5f32e22b54561c69afb11796bf Author: Ben Gardner Date: Thu May 6 08:25:53 2010 -0500 Check for NULL to prevent a segmentation fault. Fixes Debian bug #580195. commit 9a25a81a035dd7c1fe3d25213be14b482d48465d Author: Ben Gardner Date: Sun Apr 25 16:49:26 2010 -0500 Fix newline handling between 'private:' and a constructor. Fixes bug 2983317 commit e635598c2ccf3a8d017bd2d88df59e3aa18326e4 Author: Ben Gardner Date: Wed Apr 21 07:56:03 2010 -0500 Fix spelling (paramter -> parameter) and regenerate the default configs. commit d256f0dfb9ec59b74d145da2b02bcbfc969980fa Author: Ben Gardner Date: Sun Apr 11 08:36:24 2010 -0500 Fix sp_paren_comma (was hard-coded to FORCE) commit a82bdbf9fa8b2f43340338329162ea61fde7496f Author: Ben Gardner Date: Tue Mar 30 19:03:11 2010 -0500 Do a better job of resolving '>>', '>=', '>>=' vs '> >' for templates. Affects C++ and C#. C# parses '>>' as two ANGLE_CLOSE and the logic must combine them when it is supposed to be a right shift. C++ parses '>>' as right shift and must peel off the leading '>' as needed. commit 7d5ef5c2d156b979ed1508ac1ad87ad4b40c39e6 Author: Ben Gardner Date: Tue Mar 30 18:59:57 2010 -0500 Add sp_angle_shift to control the space between two ANGLE_CLOSE. '>>' vs '> >' commit 48542c381460f20d5e5e4316e46c3a97d9d8fc35 Author: Ben Gardner Date: Tue Mar 30 18:07:47 2010 -0500 Make sp_cpp_cast_paren affect TYPE_WRAP. Example (assuming SLIST_HEAD is set as TYPE_WRAP): typedef SLIST_HEAD( , foo) foo_list_t; commit 495501c3a2e6e6450b4654b7524e4b87aee99775 Author: Ben Gardner Date: Tue Mar 30 18:00:46 2010 -0500 Add sp_paren_comma to handle the super-rare missing first argument in a macro. "typedef SLIST_HEAD( , foo) foo_list_t;" commit 2f37327eab974d6faa2148af43347eea9be653bd Author: Ben Gardner Date: Tue Mar 30 17:56:45 2010 -0500 For mod_full_brace_xxx, 'remove' must be done before 'add' to make 'force' work right. commit 174fc88607a0d4f0eb43bb66ccd7e5878bf33ebd Author: Ben Gardner Date: Tue Mar 30 17:55:34 2010 -0500 Label colons inside a function call as CT_LABEL_COLON commit 044aa182b0cc8ea2699345fc713dd672ec4c48c3 Author: Ben Gardner Date: Sat Mar 27 16:40:16 2010 -0500 Prep for version 0.56 commit bf91a0e8452d67043c1f173d4c3891ee5e28ac44 Author: Ben Gardner Date: Sat Mar 27 16:10:56 2010 -0500 Add sp_assign_default to control spacing around '=' in a prototype. commit 6a2668606926b8c5e11317438e5b5264578bed91 Author: Ben Gardner Date: Sat Mar 27 15:52:28 2010 -0500 Improve test for nl_func_type_name commit f85b85ca8d5eb24316dbab512bbbf6467b5ed280 Author: Ben Gardner Date: Sat Mar 27 15:46:53 2010 -0500 Improve align_oc_msg_colon_span with nested messages. commit 1eebba4b93bdb9e76ee0beff1c5c710b52025215 Author: Ben Gardner Date: Sat Mar 27 15:24:56 2010 -0500 sp_after_oc_at_sel_parens should not change space if followed by a square close. commit 18d8d2bba441dc81cf8f494bf3e6b689edebbe52 Author: Ben Gardner Date: Sat Mar 27 15:10:49 2010 -0500 Do a better job of labeling ObjC message statements. Examples: [class func: val name1: val1 name2: val2]; [class func: val : val1 : val2]; commit f099fadff2e38c28d2e0ad3d9b897dee19dc76f4 Author: Ben Gardner Date: Sat Mar 27 14:07:39 2010 -0500 Insert function comment after the access specifier. commit e2fd5395a37392dd0ec26a0acc402aee2fe28794 Author: Ben Gardner Date: Fri Mar 26 17:43:10 2010 -0500 Detect the C# using statement - using (xx) { } Add mod_full_brace_using and nl_using_brace commit 62a453f2c01f3a4938025c5750c485e4271c3310 Author: Emmanuel Christophe Date: Tue Mar 23 22:52:37 2010 +0800 Add test for indent_braces_no... options commit bd5f91f005dca20403680000b89b3fcbf5cb14d0 Author: Emmanuel Christophe Date: Mon Mar 22 22:18:09 2010 +0800 Add indent_braces_no_struct option commit feec2a8fd4572f81b5a2f38ce91a1237255885d4 Author: Emmanuel Christophe Date: Sat Mar 20 23:44:28 2010 +0800 Add indent_braces_no_class option commit b2354a0a0980bb827745372310b476b6c46afa45 Author: Ben Gardner Date: Mon Mar 8 19:29:00 2010 -0600 Add a script to build a win32 release zip on linux commit faec052dcf9bfbed8788a63e283917ef7901eadf Author: Ben Gardner Date: Mon Mar 8 17:52:20 2010 -0600 Use PRIx64 to show the flags, like is done everywhere else. commit 42b1ed31999d4926188acf881912b49958282dac Author: Ben Gardner Date: Fri Feb 19 21:55:58 2010 -0600 Add sp_inside_oc_at_sel_parens and sp_after_oc_at_sel_parens. Make some @selector options also apply to @protocol(). Set the PCF_IN_OC_MSG flag instead of changing the parent of everything inside a OC msg. commit b2bc11feb5717f553e16a074dee90195b3752bfb Author: Ben Gardner Date: Fri Feb 19 21:21:01 2010 -0600 Step back to a non-inserted token to get the backslash position. Fixes issue 2935688. commit 58d7dbd5d9a88ecaf47e9f6d17e7988f26a6491d Author: Ben Gardner Date: Fri Feb 19 20:59:29 2010 -0600 Fix mod_full_paren_if_bool interactions with ternary conditional (a?b:c) Fixes issue #2943323. commit 8909c9fc0c8f9f308c1ccef1bfc4cef5ce889d5d Author: Ben Gardner Date: Sun Jan 24 21:02:19 2010 -0600 Spelling: statment -> statement commit 5b4be42d368a2d8c049cd3361b1901649ec57c63 Author: Ben Gardner Date: Sat Jan 16 12:30:24 2010 -0600 Fix incorrect indenting inside enums. Bug 2930752. commit 10b633d6d50af6faf979953fd07f2aec5e0b7f6f Author: Ben Gardner Date: Sat Jan 9 11:09:56 2010 -0600 From: Mathieu Lacage Force uncrustify to respect the nl_func_leave_one_liners configuration option for constructors and destructors. i.e., if nl_func_leave_one_liners=True: Foo::Foo() {} is left as-is. Without this patch, it is transformed into: Foo::Foo() { } commit ba2bdf90a110bda22d5e865fadfd9db9afd2f74c Author: Ben Gardner Date: Tue Jan 5 21:16:19 2010 -0600 Don't mess with the position of a backslash-newline in a comment, unless in a preprocessor. commit 0578f7c5b5202481756c16bbd480ab4787f80961 Author: Ben Gardner Date: Thu Dec 31 13:33:18 2009 -0600 Change 'newline' to 'blank line' in some descriptions. Clarify an option description. -- Thanks Ronan (rdan) commit 921c1ca41e18772b1e70d90dc822508e2993221c Author: Ben Gardner Date: Thu Dec 31 13:31:35 2009 -0600 Add indent_first_bool_expr - Thanks to Ronan (rdan) commit e042712e0a623dd7db2df136fca4c391aa0fd9a2 Author: Ben Gardner Date: Thu Dec 31 13:15:55 2009 -0600 Update the vpj file commit 0796009c9f506159d19d12440595e6c9786b5d65 Author: Ben Gardner Date: Thu Dec 31 13:15:42 2009 -0600 Extend the pos_xxx options to have xx_break and xx_force options. xx_break adds a line break is one wasn't present and xx_force removes extra newlines so that there is either one before or one after. commit 49f7ce6dbdcf48aea20c114aaadc24afa4aca45a Author: Ben Gardner Date: Wed Dec 30 16:51:01 2009 -0600 Update template test for the latest fix. commit a9df57a0d1d2849d01121e04ecd7ffa104ebaac7 Author: Ben Gardner Date: Wed Dec 30 16:43:29 2009 -0600 Allow a function prototype to be wrapped in a function call at the top level. #define MACRO(a) a MACRO(void foo(void)); commit 38870ae909a97a4e6cc065437c23da70f977a678 Author: Ben Gardner Date: Wed Dec 30 14:15:48 2009 -0600 Indent ObjC msg declarations that span more than one line. commit 6a360a75b81c6e5e821d4711b0e2e8d375e7afa7 Author: Ben Gardner Date: Wed Dec 30 13:30:47 2009 -0600 Add option: align_oc_decl_colon commit d29556fc7ae373ed860842edee8d99163dbcf084 Author: Ben Gardner Date: Wed Dec 30 09:15:01 2009 -0600 Add a freebsd style test commit 096e5c1ce1cbf7df35146012ccce41e1f176e89d Author: Ben Gardner Date: Wed Dec 30 09:07:11 2009 -0600 Add indent_continue support to variable definition indenting. commit 09b97918833807fc7be2bc737d21ff4e98466ff6 Author: Ben Gardner Date: Wed Dec 30 08:50:33 2009 -0600 Update test results for recent change in nl_else_brace with regards to virtual braces. commit 74a1427b4c48c8cebeb192b635a184a5b7be941b Author: Ben Gardner Date: Wed Dec 30 08:47:59 2009 -0600 In if/for/while/switch/do/else statements, if a newline was added around the vbrace open, also add one around the vbrace close. commit 098fc1598fac6ea19b2328502dcdc919223352a6 Author: Ben Gardner Date: Wed Dec 30 08:46:52 2009 -0600 newline_add_before() and newline_add_after() should ignore virtual braces when checking to see if there is already a newline present. commit 541ca14b9226aad5184ebffba9ee463857ce0afc Author: Ben Gardner Date: Wed Dec 30 08:45:58 2009 -0600 New option: nl_after_vbrace_close commit cf53884b8a5b066aba1f5d82995eb7b2162337d6 Author: Ben Gardner Date: Wed Dec 30 08:03:10 2009 -0600 align_same_func_call_params: only align function calls that are right after a newline. commit 7e0dd190729658e3db8a64c408d83c7cac3fbe1d Author: Ben Gardner Date: Wed Dec 30 07:52:12 2009 -0600 If an exact option name match doesn't work, try comparing only alphanumeric characters. This will accept options that were copied from SF's broken web interface that have the underscore characters stripped. commit d66f78b95905e2680e378fe4dab5e68e1771fc30 Author: Ben Gardner Date: Tue Dec 29 15:00:01 2009 -0600 Enhance one-liner tests commit 3b8acea8a478238db3b27290efbace5fd9b19a86 Author: Ben Gardner Date: Tue Dec 29 14:46:38 2009 -0600 Make nl_if_brace, nl_else_brace, etc, able to insert a newline between the close paren and the "a++" in "if (foo) a++;". Will not do that if leave_xx_one_liners is true. commit bec510f9ce24a89c25df786266fdfce75f8abec9 Author: Ben Gardner Date: Tue Dec 29 14:29:16 2009 -0600 Mark virtual brace one-liners commit 1e86a51400bd99f94b120726f403f10e0f9996e8 Author: Ben Gardner Date: Tue Dec 29 13:58:51 2009 -0600 Mention that cmt_indent_multi disables keyword substitution in multi-line comments. commit e63d84a58f7f4f7e13553e5c49d011a5e2866d6f Author: Ben Gardner Date: Tue Dec 29 13:42:17 2009 -0600 Add tests for indent_var_def_cont commit 399530476d7280b7d5888dbae5a8a6a8979fa784 Author: Ben Gardner Date: Tue Dec 29 13:35:10 2009 -0600 Use an empty config instead of /dev/null commit aa5a2135aded6a19e7995b5072db6a18097dde73 Author: Ben Gardner Date: Tue Dec 29 13:27:24 2009 -0600 Add indent_var_def_cont and indent 'a' by one tabstop in 'int \n a, b, c;' commit e0cae88fb3559e4a60a7e22fee9d9ff67e03ac99 Author: Ben Gardner Date: Mon Dec 28 13:31:00 2009 -0600 Add option indent_var_def_cont commit f7891ea8ec39151cc23f52a22de6322c0e370daa Author: Ben Gardner Date: Tue Dec 29 13:24:02 2009 -0600 Variable definitions cannot appear in an enum commit 8d72d2210ef3c9fd080cffcb26f080e55b32d6a5 Author: Ben Gardner Date: Tue Dec 29 13:23:13 2009 -0600 Split the flag PCF_IN_ENUM, creating PCF_IN_STRUCT commit d55e99d732915ef38b2709b95dd7d00235bd3611 Author: Ben Gardner Date: Tue Dec 29 13:22:03 2009 -0600 Extend the flags variable to 64 bits commit 5c81851d01649f53ded1353d4471a5df27e4090d Author: Ben Gardner Date: Tue Dec 29 12:46:03 2009 -0600 Fix language check for PAWN and D enums. commit 992447afb354e34cd5b3cd3224c927fde113d6d9 Author: Ben Gardner Date: Mon Dec 28 11:31:03 2009 -0600 Expand test to cover nl_func_type_name with constructor variables. commit 7a3fe5a03884e7928d1cd5d3452d81f18b61490a Author: Ben Gardner Date: Mon Dec 28 11:29:54 2009 -0600 The fparen parent was being set too early, breaking proper handling of 'constructor' variables. commit 4d1c3f01cc6f056c8e4860145c8380ebf83ecc73 Author: Ben Gardner Date: Thu Dec 24 11:27:48 2009 -0600 Add LANG_CPP to 'foreach' commit 82b1ec3b5a705552b175fc80ee8d6c56e0edbd8c Author: Ben Gardner Date: Wed Dec 23 21:10:27 2009 -0600 Fix aligning '<<'. The code was too clever. commit 70363eb72ce236de774a89af0ca54195167078c4 Author: Ben Gardner Date: Wed Dec 23 20:42:10 2009 -0600 Make sp_before_dc handle any keyword before '::'. commit b18e56af0cdb1c312c30b7c84b449a3f9ea94d04 Author: Ben Gardner Date: Wed Dec 23 20:29:05 2009 -0600 Fix off-by-one problem with align_right_cmt_gap. Clarify what the option does. commit 3103fc2ff6163ba3c1b6bea0fe3c1f996d5946cc Author: Ben Gardner Date: Tue Dec 22 22:04:06 2009 -0600 Fix marking of a destructor commit bae94e27a383b7dfcc35147cdb7815608dad4121 Author: Ben Gardner Date: Tue Dec 22 20:17:45 2009 -0600 Split out and handle the Objective C '@protocol' commit a856c5fd63c1fb946cfbea2ac07199efdd7aa812 Author: Ben Gardner Date: Tue Dec 22 19:01:19 2009 -0600 Don't change PAREN_CLOSE to OC_CLASS_EXT commit df905852d2661f230151da2e55c15282115537a6 Author: Ben Gardner Date: Tue Dec 8 20:57:38 2009 -0600 Makefile.in is required to build with MinGW. commit c65e73ddc886f296e106e976df4dd800d9aefef2 Author: Ben Gardner Date: Tue Dec 8 19:10:07 2009 -0600 Change include of windows_compat.h so that it builds under MinGW/MinSys on Windows commit 714500275add5b811d4bc0604f1748b394f59cef Author: Ben Gardner Date: Sat Dec 5 22:20:42 2009 -0600 Finish removal of d.tokenize.cpp commit d99335251ac8974585c4e4763c1b724bc1b408d6 Merge: 3d40b0f 78d5e7c Author: Ben Gardner Date: Sat Dec 5 22:18:20 2009 -0600 Merge branch 'freebsd' commit 3d40b0f3ebe93eb333ca4ac6bb2f3dde03d37d93 Author: Ben Gardner Date: Sat Dec 5 22:10:34 2009 -0600 Update tests to reflect comment output improvements. commit b427544b4662856ffc0625a34e9e4690e4fe0077 Author: Ben Gardner Date: Sat Dec 5 22:15:54 2009 -0600 Add indent_cmt_with_tabs and rework the comment output code. commit 514d70eb81e80bc92f227a589a1e180437b73fdb Author: Ben Gardner Date: Sat Dec 5 21:59:54 2009 -0600 Clean up some aligning commit 6cb7a7ed7b759ff69846a34958213a212404c93d Author: Ben Gardner Date: Sat Dec 5 20:26:21 2009 -0600 Fix bug in align_tab_column() commit 8c63eb3ccb7b811bbfa3854d369407c2f15de511 Author: Ben Gardner Date: Sat Dec 5 18:25:43 2009 -0600 Filter out trailing spaces commit 78d5e7cbbdaef7aa3945885ccc69bc5bf8378323 Author: Ben Gardner Date: Sat Dec 5 22:10:34 2009 -0600 Update tests to reflect comment output improvements. commit 51c1f51f86cc4f79f8b0f050122035ec5599ddfd Author: Ben Gardner Date: Sat Dec 5 22:09:35 2009 -0600 Add indent_cmt_with_tabs and rework the comment output code. commit fe7e8204856a591cb89939619badf93489d4be2a Author: Ben Gardner Date: Sat Dec 5 21:59:54 2009 -0600 Clean up some aligning commit a5b683c4f644a9ba2ba5e9cf367903fd87eafb54 Author: Ben Gardner Date: Sat Dec 5 20:26:21 2009 -0600 Fix bug in align_tab_column() commit 622bb1cf4531bff6028e78de83ff367176cb9688 Author: Ben Gardner Date: Sat Dec 5 18:25:43 2009 -0600 Filter out trailing spaces commit 5e60ea5aa84dc60a3221026538d14995d8fb3b58 Merge: 837f579 72754d8 Author: Ben Gardner Date: Sat Dec 5 12:29:03 2009 -0600 Merge branch 'master' into freebsd commit 72754d8ce612b1f2e79a301bacd84456a410112a Author: Ben Gardner Date: Sat Dec 5 09:43:57 2009 -0600 Spelling corrections, thanks to Bill Cox commit 41086eb04d33d9c0589bdb9bf4d0c4b3e62692f7 Author: Ben Gardner Date: Sat Dec 5 09:40:12 2009 -0600 Add more patterns to .gitignore commit 837f579390c814f5969cc7fb539d14ead000a72b Author: Ben Gardner Date: Sat Dec 5 09:38:44 2009 -0600 save off work in the freebsd branch commit 2d39c44b4f8600600586213ae65584808c16ad14 Author: Ben Gardner Date: Sat Nov 28 20:31:37 2009 -0600 Add a start to the FreeBSD style (not yet perfect) commit c28ffcaeec772f85770e61c4ad09e4c994393272 Author: Ben Gardner Date: Sat Nov 28 20:18:03 2009 -0600 Add a note that the old K&R function declarations are not handled. commit 0bbae411beec75b78d368727aea2bdc61002d9be Author: Ben Gardner Date: Sat Nov 28 20:17:25 2009 -0600 Add option indent_continue commit ae7a414ff4f153d3aea6149b01dcfc412c3f4a4a Author: Ben Gardner Date: Fri Nov 27 21:54:47 2009 -0600 Update release step. commit 709abc9d725d5b95a031057f2ad143325b99220a Author: Ben Gardner Date: Fri Nov 27 21:46:26 2009 -0600 Save off auto-generated files. commit c842cf4d9515f6d52a7f1cf8e72a9269517585c3 Author: Ben Gardner Date: Fri Nov 27 21:46:07 2009 -0600 Missed some support files for Win32 and OSX commit f0e41e2ff8b0ba6782ee520f74748cb38a01f44f Author: Ben Gardner Date: Fri Nov 27 21:30:18 2009 -0600 Update the release steps. commit 22f60eb9e70b7162f879d3d5b4685b1692a516b5 Author: Ben Gardner Date: Fri Nov 27 21:29:50 2009 -0600 Update the default config files. commit fa38a4d0b356130780f2aafae4fa089dae7b0ea2 Author: Ben Gardner Date: Fri Nov 27 21:17:48 2009 -0600 Move changelog to the root so 'make dist' can pick it up. commit 3fec51af2bac389ec34e9817ae3b22c2b196e48a Author: Ben Gardner Date: Fri Nov 27 20:59:52 2009 -0600 Update vpj file commit 7a426d5c03d9ef6fd721bc4474b647ce01ff1540 Author: Ben Gardner Date: Fri Nov 27 20:59:27 2009 -0600 Makefile.in doesn't need to be checked in. commit ea1432b6691ad678e23b470eae7473ad6e3d9646 Author: Ben Gardner Date: Fri Nov 27 20:57:41 2009 -0600 Fix operator-related breakage in pawn. commit 2ca1ce44ccc6da68f254ef7d2f88c01c856050ae Author: Ben Gardner Date: Fri Nov 27 18:10:24 2009 -0600 Update makefile to get 'make dist' to work right. commit cdc226c38c2a0d87603f24cb72b61a4d40850b8a Author: Ben Gardner Date: Fri Nov 27 17:59:07 2009 -0600 Add the homepage URL commit 42ca2151714ef394392f929607b18e59a59707a9 Author: Ben Gardner Date: Fri Nov 27 15:32:29 2009 -0600 Run 'autogen.sh' on Ubuntu 9.10 commit 163dfc47d406c4d709271a75380575d16afae923 Author: Ben Gardner Date: Fri Nov 27 15:31:47 2009 -0600 Updates for release 0.55 commit 2daa03ce4df9479178d4c84c5965af895eb4d41d Author: Ben Gardner Date: Fri Nov 27 11:27:26 2009 -0600 Add nl_func_decl_start_single and nl_func_decl_end_single commit 18dba54313c8aea3e59593fdab2a7beeb01fe5e2 Author: Ben Gardner Date: Fri Nov 27 11:06:41 2009 -0600 Add new option: nl_after_vbrace_open_empty commit 285dd9175bab26d9f44538131852210a24de20ea Author: Ben Gardner Date: Fri Nov 27 10:30:49 2009 -0600 Fix possible out-of-bounds array access. commit 71daf98217f8ee4ade168f9cf786b99c119124f3 Author: Ben Gardner Date: Thu Nov 19 20:17:47 2009 -0600 'mutable' is a qualifier, just like const. Except different. commit 9855ec9cfd5b39daa35f389892cebcd48dd48452 Author: Ben Gardner Date: Thu Nov 19 20:08:54 2009 -0600 Update test commit 19463629dedebd2ac84d001ef6dbb4f419856654 Author: Ben Gardner Date: Thu Nov 19 20:05:15 2009 -0600 Don't insert a newline between a brace and comment for the else. commit d4270ec55aac03ad76b8816b07f2fcd7cc1ef15e Author: Ben Gardner Date: Thu Nov 19 19:42:51 2009 -0600 Fix test to reflect nl_struct_brace fix. commit 93be59cf4e1d56df7798a247a640edac14eecdb6 Author: Ben Gardner Date: Thu Nov 19 19:42:09 2009 -0600 pos_assign should not affect '=' followed by '{'. commit 3cda54e81789ccaf198ce498ed49d50c15464e56 Author: Ben Gardner Date: Thu Nov 19 19:30:47 2009 -0600 nl_struct_brace should not apply outside of a 'struct' declaration. // applies struct foo { int x; int y; }; // does not apply struct foo bar = { 5, 6 }; commit b209fe1639061db4a2f59b5bb1656ce64697dfbd Author: Ben Gardner Date: Thu Nov 19 18:55:53 2009 -0600 Change nl_create_if_one_liner to also work for 'else if' and 'else'. commit c20507f47e3d9db50e1d99eb91de9a4673955a17 Author: Ben Gardner Date: Sat Nov 14 18:13:33 2009 -0600 Fix align_on_tabstop commit e9c387ba3dd0f0d584156f12540d2668faafa635 Author: Ben Gardner Date: Sat Nov 14 18:13:21 2009 -0600 Fix align_with_tabs commit 90ca35b66e07ee5b9d695fde168eca016ee656c7 Author: Ben Gardner Date: Sat Nov 14 17:59:49 2009 -0600 Set PCF_WAS_ALIGNED when aligning chunks. commit 5c459ba07a32a2474522e31dd9873667fbd9ecde Author: Ben Gardner Date: Sat Nov 14 17:44:42 2009 -0600 Improve template test commit 405eb7bbd3c53b6b8daa48a2d79259e94d9b5941 Author: Ben Gardner Date: Sat Nov 14 17:44:21 2009 -0600 Add support for templates inside a #define Fixes SF bug #2887001 commit 619b83477d37796f591477c35bb2c70ca96a779f Author: Ben Gardner Date: Sat Nov 14 17:02:59 2009 -0600 Improve operator tests after recent bugfix. commit ef02353e0c7d20082bad9e2c9f5228f64a17c2d1 Author: Ben Gardner Date: Sat Nov 14 16:58:19 2009 -0600 Rework operator handling. Everything after the 'operator' keyword that is part of the operator type is put in one chunk. Fixes SF bug #2889468 commit f2941dd0dfa70431989d2d9f994532b3ac5aa019 Author: Ben Gardner Date: Sat Nov 14 13:32:23 2009 -0600 Improve test for nl_func_type_name commit b9f6aba423e6e08620ee83b7fe39d83f7b5bb823 Author: Ben Gardner Date: Sat Nov 14 13:31:58 2009 -0600 nl_func_type_name: Don't remove a newline after a brace open. Fixed SF bug #2889292 commit dc920c761a001e99305daf6d0531db50f0d47826 Author: Ben Gardner Date: Sat Nov 14 13:11:42 2009 -0600 Expand a test to include a destructor. commit 72846d01c88d2ab8a2843dffc97a3c04275e9608 Author: Ben Gardner Date: Sat Nov 14 13:11:01 2009 -0600 The destructor is part of the function name definition, not the type. Fixes SF bug #2892606. commit ce39ae62f6b69aaa86e4a6365bddb50b09083cad Author: Ben Gardner Date: Wed Nov 11 22:42:00 2009 -0600 Minor whitespace and comment changes Signed-off-by: Ben Gardner commit e28fc35ab98e7efe5449bbae1f9ae5a92ec1808a Author: rdan Date: Thu Nov 12 05:35:49 2009 +0800 Code updates to be able to run tests script in python under windoze with uncrustify compiled in debug mode with Visual C++ 2005 Signed-off-by: rdan commit b38dfb52efef5c703316bb9bcb33d64e1283b5ee Author: Ben Gardner Date: Sat Nov 7 13:36:36 2009 -0600 Clarify and rework sp_before_ellipsis. It only applies when after a non-punctuator. Fixes SF issue #2886991. commit ff4780d68465eb8b480a096c89310f85c5664f73 Author: Ben Gardner Date: Fri Nov 6 09:27:04 2009 -0600 Add new option sp_endif_cmt commit 0fb8f11ec1302854e408db82b9fa6aaebfab19aa Author: Ben Gardner Date: Fri Nov 6 07:49:24 2009 -0600 Update test to cover the bug where a close paren is added inside a preproc. commit 328aca7a107bdd9859079d431d71cabf2d52c037 Author: Ben Gardner Date: Fri Nov 6 07:48:25 2009 -0600 Fix SF issue #2892803. The close paren was being added inside a preprocessor line. commit ad62ea13b11112f478c5b8f9c974ae8a98820768 Author: Ben Gardner Date: Fri Nov 6 07:47:29 2009 -0600 Update SlickEdit project due to recent file deletions commit fc97bf3fb1396f7f2928ff59c0e74aabcfc91db2 Author: Ben Gardner Date: Thu Nov 5 17:46:27 2009 -0600 Do a little whitspace cleanup in make_token_names.sh commit 30297231a5cffd865db53ec007295163bf2b15ca Author: Ben Gardner Date: Thu Nov 5 17:44:52 2009 -0600 Add test for align_left_shift commit c8bba4c31bcc6e1956ee7519bcb037cbc07144ea Author: Ben Gardner Date: Thu Nov 5 17:44:29 2009 -0600 Fix align_left_shift with array indexes. Fixes #2887031 commit 0eef7440ba20893e8b895bacda426dd756fa2fdc Author: Ben Gardner Date: Thu Nov 5 17:42:01 2009 -0600 Remove unused files commit 011a65079177126b9e3c1d7c82e9c90594441e57 Merge: 80db493 d8e30f3 Author: Ben Gardner Date: Tue Oct 27 19:12:38 2009 -0500 Merge branch 'objc' Conflicts: src/align.cpp tests/run_tests.py commit 80db493b7f78d7ea9123c3a7a0b35a17597cc9c2 Author: Ben Gardner Date: Sun Oct 25 10:26:08 2009 -0500 Change exit value based on test results commit d8e30f3c3f11f867d52fe4c6b5e4fbeae5c05f7e Author: Ben Gardner Date: Sun Oct 25 10:22:30 2009 -0500 Add back in token_names.h - needed for Windows build, which cannot recreated it. commit 6ac52866038bb3000b4e0e825aaddf8587770d71 Author: Ben Gardner Date: Sun Oct 25 10:20:37 2009 -0500 Run uncrustify on its own code commit 264967863eaab7cd77dad767ffd2faf2bbc07724 Author: Ben Gardner Date: Sun Oct 25 10:10:16 2009 -0500 Run uncrustify on itself commit 5e696d6554fcec27f09ed244f1119cadcef52d89 Author: André Berg Date: Sun Oct 25 03:07:45 2009 +0800 Spelling fix. suprisingly -> surprisingly. Minor grammar tweaks. commit 809b47f672ee55915e203986a52633a26a762c30 Author: André Berg Date: Sun Oct 25 02:59:05 2009 +0800 Add OSX Xcode build & install instructions to README. commit d11d2dfbc83aa85ee9a6a06e7f86ac1f3a6f6221 Author: André Berg Date: Sat Oct 24 16:43:07 2009 +0800 Remove some unneeded left-overs. Shorten the more info url. commit adab7441278cf2f54712894fd2b1c0dce008dcfa Author: André Berg Date: Sat Oct 24 14:27:15 2009 +0800 Replace those pesky tabs in some config files with spaces. commit 305e94a0ced1ea2deb1169aa9322802b89c73b8b Author: André Berg Date: Sat Oct 24 14:26:27 2009 +0800 Update existing block tests to better demonstrate that spacing options work as intended. commit bdf8181f1a2a2251e465e646ec516a3ee22c8c72 Author: André Berg Date: Sat Oct 24 14:24:47 2009 +0800 Update existing test case which already was using blocks. commit dc82fcc501bbc75f00949d760c5a61da4a82acf3 Author: André Berg Date: Sat Oct 24 14:24:11 2009 +0800 Add and register more test cases for block caret spacing. commit 08678af3a74ef7e55949ecf358ae2fde99f17bcd Author: André Berg Date: Sat Oct 24 14:22:00 2009 +0800 Update objc.cfg file. commit 5e39d01fe8b4e7c63133c3853047843b3b40341a Author: André Berg Date: Sat Oct 24 14:19:50 2009 +0800 Add new options for space before and after a block pointer caret. commit 511bc74d7cb4cf17d7dccfaa8c953f7b73b281ed Author: André Berg Date: Sat Oct 24 13:06:29 2009 +0800 Add test cases for blocks. commit 2d7013d9290a7e60e18ed786d63a72e6931dcb98 Author: André Berg Date: Sat Oct 24 13:03:31 2009 +0800 Bug fix: Fix for detecting class category and extension parens. Was confusing type with parent_type earlier. commit b92b77b739d9b652071dbf8067f0cb19f6f9eb96 Author: André Berg Date: Sat Oct 24 12:49:32 2009 +0800 First (devel) version of changes for OC blocks support. - Register new chunk types in token_enum.h - Add early detection of block pointer caret to tokenize_cleanup.cpp - Do the marking in combine.cpp commit cb9c866934ff2937e59eebab7dfeb937de73f792 Author: André Berg Date: Thu Oct 22 00:24:41 2009 +0800 Bug fix: OC msg sends like [self class] are no longer marked as CT_CLASS. commit 1080cbdd00ee8b1535145d962265d16bb1bc85b2 Author: André Berg Date: Thu Oct 22 00:08:38 2009 +0800 Improvement: Change oc_msg_colon_align from boolean to span with number. Makes just much more sense that way. The align feature works great but a bit too aggressively since it would just go and align method calls happening at the very top of an enclosing method with method calls all the way at the bottom of the enclosing method. I think a span of 1 will fit what most Objective-C programmers use. Uptaded a lot of the oc test cases to test for this behaviour. Xcode project update: Add missing oc test cases. commit 0d8540ee1ab4f923e63474b31a355f467f47d1ae Author: André Berg Date: Wed Oct 21 19:33:19 2009 +0800 Update tests with real_world_file.m output. Make sure tests run cleanly. commit 257e93e999c2f8560160ebc4e42378665600bb6b Author: André Berg Date: Wed Oct 21 15:39:56 2009 +0800 Tests: Add a sample of real world objective-c code to the tests. This sample also includes blocks which currently are not marked in uncrustify. Will change that later. commit 8b97e6b3899da59c91e6ad4922da3d77cc63cbe7 Author: André Berg Date: Wed Oct 21 15:36:19 2009 +0800 Bug fix: line_len can become 0 here which subsequently causes a segmentation fault. This is a workaround because larger issues seem to be at stake as I have seen line to contain garbage value at some point half into the sentence. commit 7c44cc65fa378610d7f05230a3f128cd94504672 Author: André Berg Date: Tue Oct 20 00:47:31 2009 +0800 Fix for (Type **) problems in msg decls/specs. Fix for missing parent type inside msg decl/spec type parens: now correctly is OC_MSG_DECL/OC_MSG_SPEC. commit 80c7a10b4abca4e8fb583f49e9001fa1be002c8c Author: André Berg Date: Tue Oct 20 00:41:10 2009 +0800 Xcode project update: Rearranged some build scripts. Replaced some absolute group references with project relative ones. commit fe224a9c2ad6f11925539c0933f1cbcd63b74d33 Author: André Berg Date: Tue Oct 20 00:32:08 2009 +0800 Make run_tests.py return 0 on all success or 1 on failure. This plays better with shell script incorporating build systems. commit 441fa512bb0ef38217467ac4dd4b766345f485bb Author: André Berg Date: Tue Oct 20 00:24:17 2009 +0800 Add missing osx directory. commit 9884f5057576248f6014bb889b740f736ed25f6d Author: André Berg Date: Tue Oct 20 00:23:08 2009 +0800 obj.cfg again... dunno how that change got lost in the commit commit 4ac16b0c705a0a56c83be0fdcf47bbf4cbc9a30d Author: André Berg Date: Tue Oct 20 00:21:20 2009 +0800 Update objc.cfg. Add a few extra Xcode project specific entries to .gitignore. commit 344cf3524a5e6152668a168493339834a58ea946 Author: André Berg Date: Tue Oct 20 00:29:46 2009 +0800 Add new Objective-C test for a more complex method. Details follow... The complex_method.m test was showing a problem with method argument types in the form of (typeName **) where the first star would get parsed as ARITH and the the second star would get parsed as DEREF. I have a fix available, coming in one of the next commits. commit 67a83fb1248674908de7c8e14b82ac63a1032e9b Author: Ben Gardner Date: Sat Oct 17 14:33:18 2009 -0500 Clean up the home page. - add mention of Git - add FreeBSD ports link commit 23632dae52e5a30a8ff595d9bd9d6c6d2eede07a Author: Ben Gardner Date: Sat Oct 17 14:02:39 2009 -0500 Spelling fix: preceeded -> preceded commit fe25b6d06401b0a523e15a896831720c488bd5ce Author: Ben Gardner Date: Sat Oct 17 13:13:55 2009 -0500 Import r1644 from subversion