Commit Graph

  • 9893cd2f23 Merge pull request #6 from steinwurf/use-new-waf main Peter Vingelmann 2017-04-01 00:21:28 +02:00
  • 4721872e16 Fix wscript Peter Vingelmann 2017-04-01 00:19:06 +02:00
  • d90e294e95 Add new waf + resolve.json Peter Vingelmann 2017-04-01 00:17:31 +02:00
  • b4770867f4 Update .astylerc Peter Vingelmann 2017-03-29 02:34:40 +02:00
  • 64b7db1d01 Update README.rst Peter Vingelmann 2016-09-29 23:06:58 +02:00
  • 5744348980 Only change the return code if --print-changes is used with --dry-run Peter Vingelmann 2016-09-29 19:49:06 +02:00
  • bd2b2d8dd2 Indent an initializer block after an = sign Peter Vingelmann 2016-09-29 19:14:51 +02:00
  • 7ff42a49fc Add test cases for latest fix Peter Vingelmann 2016-09-29 19:09:06 +02:00
  • 7eb183de85 Do not add extra space after pointer return value in function signature. For example, this is correct code: stub::function<const uint8_t*(uint32_t)> coefficient_vector_data; Peter Vingelmann 2016-09-29 19:08:19 +02:00
  • e6fcceaaa6 Merge pull request #5 from steinwurf/add-tests Peter Vingelmann 2016-09-29 00:33:44 +02:00
  • 27c2c0e8ca Add test file for distorted style Peter Vingelmann 2016-09-29 00:32:43 +02:00
  • fab103cb47 Properly handle initializer blocks with double block openers. For example: std::map<uint32_t, uint32_t> generation_map( { {0, 100}, {1, 100}, {2, 100}, {3, 10}, {4, 10} }); Peter Vingelmann 2016-09-29 00:20:55 +02:00
  • d39345f7cd Add ample code examples in correct_style.cpp Peter Vingelmann 2016-09-28 03:26:12 +02:00
  • 90757717a5 Fix newline comparison on windows Peter Vingelmann 2016-09-27 21:04:01 +02:00
  • 2d9dba76cb Use universal newlines for comparison Peter Vingelmann 2016-09-27 20:46:56 +02:00
  • fbe87c1385 Implement basic formatting check Peter Vingelmann 2016-09-27 20:37:42 +02:00
  • a0df5545fa Update README.rst Peter Vingelmann 2016-09-26 16:36:15 +02:00
  • 7ec301d17f Add missing initializer: printChanges = false Peter Vingelmann 2016-09-24 03:53:03 +02:00
  • 1136d961a0 Update README.rst Peter Vingelmann 2016-09-24 03:15:59 +02:00
  • 5b3ab401d2 Update .astylerc Peter Vingelmann 2016-09-23 23:33:29 +02:00
  • 543fa70c92 Merge pull request #4 from steinwurf/fix-formatting Peter Vingelmann 2016-09-23 23:17:35 +02:00
  • 29a4b8d4a6 Basic handling for initializer blocks in statements Peter Vingelmann 2016-09-23 23:15:50 +02:00
  • 45885f5fb1 Clear isInStatement after template instantiation Peter Vingelmann 2016-09-23 02:42:37 +02:00
  • 8853a85181 Fix block opener recognition for "auto x -> y<arg>" Peter Vingelmann 2016-09-22 23:58:15 +02:00
  • 0933c3c033 Suppress multiple indents in template instantiation if line ends with < Peter Vingelmann 2016-09-22 22:55:55 +02:00
  • 27067bcbb5 Fixed 4-space alignment if the line ends with ( Peter Vingelmann 2016-09-22 22:50:24 +02:00
  • 81b77fc202 Do not perform right alignment for assignment and return if line ends with ( Peter Vingelmann 2016-09-22 00:29:29 +02:00
  • 063a8b06b6 Remove unneeded firstLineChar member in ASBeautifier Peter Vingelmann 2016-09-21 21:09:58 +02:00
  • a3ccecfa4a Remove special handling for NonInStatementArray Peter Vingelmann 2016-09-21 19:57:55 +02:00
  • f4ad8a3585 Remove special handling for "new" after the = sign Peter Vingelmann 2016-09-19 23:22:05 +02:00
  • c8020d8c1c Use symmetric layout for the closing bracket in template argument lists Peter Vingelmann 2016-09-19 23:03:41 +02:00
  • 7137b582a7 Fix line number in printChangedLine Peter Vingelmann 2016-09-19 20:05:24 +02:00
  • 008cc94a1e Adjust indentation when the line starts or ends with << Peter Vingelmann 2016-09-19 20:04:20 +02:00
  • 575c2d2e1f Add indentation for end-of-line "->" Peter Vingelmann 2016-09-19 19:23:52 +02:00
  • 77516152ef Merge pull request #3 from steinwurf/add-to-buildbot Peter Vingelmann 2016-09-16 23:47:16 +02:00
  • 1e2a537091 Update README.rst Peter Vingelmann 2016-09-16 23:45:35 +02:00
  • 0cd83dc1f3 Add .astylerc, waf and related scripts Peter Vingelmann 2016-09-16 23:07:49 +02:00
  • 4e8f6c8745 Merge pull request #2 from steinwurf/fix-formatting Peter Vingelmann 2016-09-16 22:42:05 +02:00
  • 5c9aefd388 registerInStatementIndent: Align with the next non-whitespace character Peter Vingelmann 2016-09-16 20:58:01 +02:00
  • c9a243fd41 Print full filenames with --print-changes (so the IDE can jump to the line) Peter Vingelmann 2016-09-16 19:53:37 +02:00
  • eb505347cb Keep spaceIndentCount for the current line to handle lambda expressions in multiline statements: std::generate(data.begin(), data.end(), [&]() { return randval(engine); }); Peter Vingelmann 2016-09-16 19:44:47 +02:00
  • 39a611a2e8 Fix invalid detection of >> in class headers Peter Vingelmann 2016-09-15 21:31:44 +02:00
  • 5d24aeba9a Fix issue when closing potential template instantiation Peter Vingelmann 2016-09-15 21:12:46 +02:00
  • 1548f1d070 Do not recognize the "template" disambiguator for dependent names as an actual template header Peter Vingelmann 2016-09-15 20:39:58 +02:00
  • c43ddc6964 Revert template disambiguator fix Peter Vingelmann 2016-09-15 19:33:20 +02:00
  • 03668a9b21 Fix line numbers with --print-changes Peter Vingelmann 2016-09-15 17:34:14 +02:00
  • e4ce7b36b0 Do not recognize the "template" disambiguator for dependent names as an actual template header Peter Vingelmann 2016-09-15 03:06:06 +02:00
  • b1259192ff Do not try to align multiple assignments if line ends with comma Peter Vingelmann 2016-09-15 02:07:08 +02:00
  • 53696ac249 Do not add extra space in variadic template argument: Args&&... args Peter Vingelmann 2016-09-14 21:55:53 +02:00
  • d11eb1a63d Do not terminate if no matching file was found for a wildcard Peter Vingelmann 2016-09-14 20:43:41 +02:00
  • 8458be2f70 Add --print-changes to print all changed lines (useful in dry-run mode) + Return the number of formatted files in this mode Peter Vingelmann 2016-09-14 20:19:13 +02:00
  • 91bff90bf2 Attach colon to constructor header and break line before member initializers Peter Vingelmann 2016-09-14 03:46:07 +02:00
  • 1bad21fe6b Provide basic indentation for template instantiation argument lists Peter Vingelmann 2016-09-13 02:19:29 +02:00
  • f3cd3f7c51 Allow max-instatement-indent to be less than 40 Peter Vingelmann 2016-09-10 04:55:59 +02:00
  • 52a1be339a Fix false detection of rvalue references in a class headers Peter Vingelmann 2016-09-10 04:54:08 +02:00
  • 25c4fdac73 Add firstLineChar member in ASBeautifier + Use symmetrical layout for closing brace in template argument list: Peter Vingelmann 2016-09-10 04:29:09 +02:00
  • a28cde5425 Do not dedent comments in multiline class headers + Do not add InStatementIndent for commas in class headers Peter Vingelmann 2016-09-10 03:25:39 +02:00
  • 7b791f1827 Merge pull request #1 from steinwurf/upgrade-to-svn-r511 Peter Vingelmann 2016-09-09 01:58:11 +02:00
  • a80ed8000a Upgrade to SVN r511 Peter Vingelmann 2016-09-09 00:17:30 +02:00
  • c8638db9b4 Initial commit with astyle version 2.05.1 Peter Vingelmann 2016-09-08 23:34:23 +02:00