Commit Graph

182 Commits

Author SHA1 Message Date
Kotet f8f34ff097 Fix #426 2019-05-13 17:49:12 +09:00
Kotet 2cc1f59235 Fix #433 2019-05-13 12:13:32 +09:00
Hackerpilot b4e97d3381 Fix #436 2019-02-20 11:25:31 -08:00
WebFreak001 bdac7361a5 Add test for issue0112 without array item 2019-01-12 12:37:06 +01:00
WebFreak001 7f41c8ae7f fix array item access regression 2019-01-12 12:25:46 +01:00
WebFreak001 98cd73ec80 Fix 2D (assoc) arrays & add tests
Fix #312
2019-01-11 22:06:57 +01:00
WebFreak001 60b2cff18a Adjust issue0017 for now (minor improvement) 2019-01-11 20:22:30 +01:00
WebFreak001 fcad21ba61 Improve AA formatting
fix #143, fix Pure-D/code-d#188
2019-01-11 00:50:50 +01:00
Laurent Tréguier 67664c2835
Don't put spaces inside empty braces 2018-11-06 16:40:25 +01:00
Bastiaan Veelo 92d5e1ac8c Allow comments in selective imports. (#403)
Allow comments in selective imports.
merged-on-behalf-of: Brian Schott <Hackerpilot@users.noreply.github.com>
2018-10-19 01:45:52 +02:00
Laurent Tréguier 6ad2fbb6fc Fix #287 - Extra space after import in delegate 2018-10-15 10:14:23 +02:00
Laurent Tréguier 049f86ebfd Fix #349 - Wrong indentation of access modifier after break of long line 2018-10-11 05:43:37 +02:00
Laurent Tréguier 2578dbf2a7 Fix #267 - Indentation with debug inconsistent 2018-10-11 05:43:18 +02:00
Laurent Tréguier 908f32e433 Properly recognize debug as block header 2018-10-11 05:43:18 +02:00
Laurent Tréguier b928eb6d84
Fix #345 - Case of trailing white space 2018-10-10 13:37:06 +02:00
Laurent Tréguier 6ff47e106a
Fix else indentation after debug conditions 2018-10-09 13:19:07 +02:00
Laurent Tréguier c84db53c7c Fix #372 - Improper indentation after single-line catch (#395)
Fix #372 - Improper indentation after single-line catch
merged-on-behalf-of: BBasile <BBasile@users.noreply.github.com>
2018-10-08 13:32:15 +02:00
Laurent Tréguier f3463cdd34 Fix #326 - Spaces missing after attributes in function literals (#394)
Fix #326 - Spaces missing after attributes in function literals
merged-on-behalf-of: BBasile <BBasile@users.noreply.github.com>
2018-10-07 20:47:28 +02:00
Laurent Tréguier 16c3811261 Fix #286 - Weird indentation in else branch after wrapping expression (#393)
Fix #286 - Weird indentation in else branch after wrapping expression
merged-on-behalf-of: BBasile <BBasile@users.noreply.github.com>
2018-10-07 19:56:08 +02:00
Laurent Tréguier 886903f8ea Fix #246 - Questionable indentation for multiple `with` statements 2018-10-07 12:36:17 +02:00
Basile Burg dca9e15483 fix #244 - Wrong indentation for bool enums 2018-10-03 12:07:54 +02:00
Laurent Tréguier 5e6dd58502 Properly format enum member attributes and parameter attributes 2018-09-29 22:52:49 +02:00
Laurent Tréguier 647bb6daa9 Support for DIP1009 (new contracts syntax), #375 (#376)
Support for DIP1009 (new contracts syntax), #375
merged-on-behalf-of: BBasile <BBasile@users.noreply.github.com>
2018-09-10 14:15:14 +02:00
BBasile 46788e53ba Handle do as contract header and handle body as identifier (#360)
Handle `do` as contract header and handle `body` as identifier
merged-on-behalf-of: Brian Schott <Hackerpilot@users.noreply.github.com>
2018-06-14 23:29:47 +02:00
Hackerpilot c4b9178e81 Better formatting for UFCS chains 2018-05-09 16:06:12 +02:00
Stefan Koch eb576e21fd Add empty test files 2018-03-08 11:57:07 +01:00
Stefan Koch 0cc3543c2b Add tests 2018-03-07 21:18:25 +01:00
BBasile b01c624ef0 fix #236 - Allow constraints to be indented by a single tab (#337)
fix #236 - Allow constraints to be indented by a single tab
merged-on-behalf-of: BBasile <BBasile@users.noreply.github.com>
2018-03-02 16:26:54 +01:00
Brian Schott 5ce4df17a2
Merge pull request #324 from dlang-community/issue-313
Fix #313, and implement a better fix for #314
2018-02-04 16:58:22 -08:00
Hackerpilot a8ac400830 Fix #313, and implement a better fix for #314 2018-02-02 04:48:57 -08:00
Hackerpilot 5aedb2b84b Fix #321 2018-02-02 00:52:30 -08:00
Hackerpilot 1ca3bd9255 Fix #314 2018-01-29 14:18:59 -08:00
Kotet 8cd9265384 Fix test 2017-11-27 07:37:09 +09:00
Kotet a163eb105f Add support for `static foreach`
Fix #303
2017-11-25 13:20:49 +09:00
Hackerpilot 00fda4f5eb Fix #248 2017-10-25 13:26:35 -07:00
Hackerpilot 019d42a4dc Fix #273 2017-03-07 16:12:27 -08:00
Hackerpilot 821f9439e4 Fix #251 2016-06-30 17:41:13 -07:00
Hackerpilot c353f484a6 Update dparse 2016-04-28 15:27:57 -07:00
Hackerpilot d6861cc5a2 Fix #241 2016-04-28 15:23:00 -07:00
Hackerpilot 2031dbdc71 Fix parse error 2016-03-27 22:47:30 -07:00
Hackerpilot 65ac0871fd Fix #229 2016-02-25 14:02:12 -08:00
Hackerpilot fd214032a4 Fix bug with multi-line string literals 2016-02-01 00:35:26 -08:00
Hackerpilot 0ea6b340a4 Fix #226 2016-01-26 12:56:19 -08:00
Hackerpilot e6fe5df515 Improve line wrapping heuristics 2016-01-25 05:24:09 -08:00
Hackerpilot 0eea53a628 Fix #225 2016-01-22 19:06:09 -08:00
Hackerpilot e2d23726b9 Fix #224 2016-01-22 18:48:36 -08:00
Hackerpilot 268657831b Fix #219 2016-01-22 04:53:20 -08:00
Hackerpilot 98f443d3f1 Fix #220 2016-01-22 04:48:29 -08:00
Hackerpilot ee8fcd41f4 Fix #223 2016-01-22 01:51:44 -08:00
Hackerpilot 08c2d0c5e8 Fix #222 2016-01-21 22:11:32 -08:00
Hackerpilot db2ad1354b Fix #221 2016-01-20 17:00:46 -08:00
Hackerpilot 3c6ea77a12 Fix an incredibly annoying bug where line break info was being ignored when wrapping at commas 2016-01-20 03:28:31 -08:00
Hackerpilot cac45e3607 Fix formatting issue 2016-01-20 02:58:42 -08:00
Hackerpilot e8a6b40432 Fix issue where constraints would not be detected correctly while formatting. 2016-01-20 02:43:10 -08:00
Hackerpilot 24be6ddc2e Run dfmt on itself and debug some wrapping calculations 2016-01-19 05:20:31 -08:00
Hackerpilot 7ec932a1e3 Indentation rework 2016-01-19 03:58:19 -08:00
Hackerpilot 7fa11c8505 Initial work on #215 2016-01-18 17:59:26 -08:00
Hackerpilot ca49180a95 Fix #213 2016-01-18 15:32:49 -08:00
Hackerpilot 7a9a895f64 Fix #210 and run dfmt on itself 2016-01-18 15:10:39 -08:00
Hackerpilot 65a55493da Fix #212 2016-01-18 14:18:09 -08:00
Hackerpilot 75c3278a32 Fix #216 2016-01-18 14:06:47 -08:00
Hackerpilot bab1a5f592 Fix #209 2016-01-15 18:01:48 -08:00
Hackerpilot 382258eb97 Fix #208 2016-01-15 16:29:00 -08:00
Hackerpilot f14c6e1226 Fix #207 2016-01-14 16:02:24 -08:00
Hackerpilot 3e5307f081 Fix #206 2016-01-14 14:40:16 -08:00
Hackerpilot 86b61ce2fc Tests for #205 2016-01-14 14:28:15 -08:00
Hackerpilot 9fc36fe587 Fix #204 2016-01-13 20:52:26 -08:00
Hackerpilot 8c3e151561 Better line breaking for UFCS chains 2016-01-13 04:52:32 -08:00
Hackerpilot b3faa3103c Fix #194 2015-12-14 15:24:48 -08:00
Hackerpilot f9b1997283 Fix #190 2015-10-09 14:21:30 -07:00
Hackerpilot a9426cb44f Fix #189 2015-09-17 22:58:39 -07:00
Hackerpilot d771955ad3 Fix #186 2015-09-17 02:52:35 -07:00
Hackerpilot 0389d798d7 Fix #187 2015-09-16 17:20:16 -07:00
Hackerpilot b0d6da28f5 Fix #185 2015-09-16 17:07:39 -07:00
Brian Schott 23df06cdc9 Merge pull request #179 from Hackerpilot/issue-172
#172
2015-08-24 13:32:11 -07:00
Hackerpilot 43cfa09e7e Fix #177 2015-08-24 13:28:16 -07:00
Hackerpilot 699ae10458 #172 2015-08-24 12:44:52 -07:00
Andreas Zwinkau eea508f930 enum can also be used in is() expressions
fixes #174
2015-08-21 19:13:08 +02:00
Hackerpilot 17eedb50c0 Fix #166 2015-08-10 16:37:09 -07:00
Hackerpilot 47a972693d Fix #162 2015-08-10 16:19:43 -07:00
Hackerpilot 6fb035ff8b Fix #169 2015-08-10 16:04:56 -07:00
Hackerpilot bef02a3b55 Implement #130 2015-06-08 03:05:11 -07:00
Hackerpilot 959405eda5 Implement #97 2015-06-08 02:25:49 -07:00
Hackerpilot 95308b9fc5 Tests for #102 2015-06-04 19:23:02 -07:00
Hackerpilot 8fbb3a513c Fix #76 2015-06-04 19:20:58 -07:00
Hackerpilot dabde52b9c Bring back the 'dfmt off'/'dfmt on' feature that was missing from this branch for some stupid reason 2015-06-04 18:15:12 -07:00
Hackerpilot 6c3c4b8d00 Fix #158 2015-06-04 17:56:52 -07:00
Hackerpilot 8889dff850 Fix #156 2015-05-20 02:48:48 -07:00
Hackerpilot 070bbcdd1d Fix #155 2015-05-13 14:43:42 -07:00
Hackerpilot 4fff6dc635 Fix #153 2015-05-13 14:39:34 -07:00
Hackerpilot c194335be9 Fix #154 2015-05-13 14:21:35 -07:00
Hackerpilot 98686f7dd1 Fix #152 2015-05-12 16:40:33 -07:00
Hackerpilot 5f424b085f Revert "Fix #125"
This reverts commit 2f7d42087c.
2015-05-08 00:06:05 -07:00
Hackerpilot 6639b00eef Fix #150 2015-05-07 23:56:50 -07:00
Hackerpilot cdfb21ab77 Merge branch 'master' of https://github.com/Hackerpilot/dfmt 2015-05-07 23:51:30 -07:00
Hackerpilot 56ea97efbb Fix #151 2015-05-07 23:51:15 -07:00
Hackerpilot 2f7d42087c Fix #125 2015-04-29 12:19:29 -07:00
Hackerpilot b868dbcaa6 Fix #148 2015-04-29 11:39:37 -07:00
Hackerpilot 53dd109d75 Fix #146 2015-04-28 22:39:47 -07:00
Hackerpilot f34a6b6d07 Fix #147 2015-04-28 22:26:49 -07:00