Commit Graph

590 Commits

Author SHA1 Message Date
Kotet 3af8edc57f Fix #361 - Unexpected empty new line if function header ends with a comment 2019-05-14 09:00:56 +09:00
The Dlang Bot 6d2a56e15e
Merge pull request #441 from kotet/issue-426
Fix #426
merged-on-behalf-of: Basile-z <Basile-z@users.noreply.github.com>
2019-05-13 11:06:56 +02:00
Kotet f8f34ff097 Fix #426 2019-05-13 17:49:12 +09:00
The Dlang Bot 999c044020
Merge pull request #440 from kotet/issue-0433
Fix #433
merged-on-behalf-of: Basile-z <Basile-z@users.noreply.github.com>
2019-05-13 08:57:58 +02:00
Kotet 2cc1f59235 Fix #433 2019-05-13 12:13:32 +09:00
The Dlang Bot 436d157b4f
Merge pull request #439 from dayllenger/readme
make readme look nicer
merged-on-behalf-of: Basile-z <Basile-z@users.noreply.github.com>
2019-04-14 05:15:26 +02:00
Viktor 0878430125 sort options and make links to "below" 2019-04-13 15:49:31 +03:00
Viktor ac5f8b18aa
make readme look nicer 2019-04-13 15:04:22 +03:00
Sebastian Wilzbach 793a575b1c Build win{32,64} binaries with LDC 2019-04-01 11:05:24 +02:00
Basile-z 313b886799 upgrade dependencies (#438)
upgrade dependencies
merged-on-behalf-of: Basile-z <Basile-z@users.noreply.github.com>
2019-04-01 09:00:24 +02:00
The Dlang Bot 54a84bd927
Merge pull request #437 from dlang-community/issue-436
Fix #436
merged-on-behalf-of: Brian Schott <Hackerpilot@users.noreply.github.com>
2019-02-22 03:20:39 +01:00
Hackerpilot b4e97d3381 Fix #436 2019-02-20 11:25:31 -08:00
Laurent Tréguier b34acc9f26 Update libdparse to v0.11.2 (#429)
Update libdparse to v0.11.2
merged-on-behalf-of: Basile-z <Basile-z@users.noreply.github.com>
2019-02-12 18:53:19 +01:00
Laurent Tréguier dae7d85c80 Fix #427 - Crash on invariant (#428)
Fix #427 - Crash on invariant
merged-on-behalf-of: Basile-z <Basile-z@users.noreply.github.com>
2019-02-11 13:55:33 +01:00
The Dlang Bot 6b9eddde5d
Merge pull request #424 from WebFreak001/fix-dubhash-spaces
Fix dubhash with spaces in folder name
merged-on-behalf-of: Jan Jurzitza <gh@webfreak.org>
2019-01-15 01:31:51 +01:00
WebFreak001 a79a43a9dc Fix dubhash with spaces in folder name 2019-01-14 20:33:17 +01:00
The Dlang Bot b00d3490bf
Merge pull request #423 from WebFreak001/aa3
fix array item access regression
merged-on-behalf-of: Brian Schott <Hackerpilot@users.noreply.github.com>
2019-01-12 22:01:28 +01: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
The Dlang Bot 989c0da60c
Merge pull request #422 from WebFreak001/aa2
Fix arrays in AAs, 2D arrays, long arrays
merged-on-behalf-of: Brian Schott <Hackerpilot@users.noreply.github.com>
2019-01-11 23:33:42 +01:00
WebFreak001 6dea7b689e fix otbs expected test result for 2d arrays 2019-01-11 22:23:04 +01:00
WebFreak001 98cd73ec80 Fix 2D (assoc) arrays & add tests
Fix #312
2019-01-11 22:06:57 +01:00
WebFreak001 eebd341343 Allow multilineAt to stop at commas 2019-01-11 22:05:41 +01:00
WebFreak001 733898e013 more informative dump function 2019-01-11 22:04:52 +01:00
Brian Schott 188c0dca03
Merge pull request #421 from WebFreak001/aa
Associative array formatting & space_before_aa_colon option
2019-01-11 12:55:15 -08:00
WebFreak001 60b2cff18a Adjust issue0017 for now (minor improvement) 2019-01-11 20:22:30 +01:00
WebFreak001 1da1ca6545 Fix isMultilineAt for array + refactor right bracket
Refactor formatRightBracket into own function
2019-01-11 20:19:50 +01:00
WebFreak001 48b2b84c33 Add documentation/comments & undo minor name change 2019-01-11 01:11:03 +01:00
WebFreak001 fcad21ba61 Improve AA formatting
fix #143, fix Pure-D/code-d#188
2019-01-11 00:50:50 +01:00
WebFreak001 85c7d57167 make multiline checking code modular
Arrays and delegates now use the check whether a line is longer
than the max line length using easy to reuse code
2019-01-11 00:48:59 +01:00
WebFreak001 053b775cd1 Add details to indentation stack
This makes more advanced state handling easily possible.
Also moved isWrapIndent/isTempIndent into this, which allows
for exceptions for certain tokens and more control.
2019-01-11 00:47:50 +01:00
WebFreak001 6e4136a353 Make colon almost never break a line 2019-01-11 00:45:47 +01:00
WebFreak001 3b094b16d9 Add ArrayLiterals into arrayStartLocations list
This is done to properly format arrays in function arguments
2019-01-11 00:44:11 +01:00
BBasile 460096728b Cleanup, remove socimantic stuff, close #406 (#418)
Cleanup, remove sociomantic stuff, close #406
merged-on-behalf-of: BBasile <BBasile@users.noreply.github.com>
2019-01-02 16:20:15 +01:00
Jan Jurzitza c3537a5d51 Upgrade to libdparse 0.10.12 (#419)
Upgrade to libdparse 0.10.12
merged-on-behalf-of: BBasile <BBasile@users.noreply.github.com>
2018-12-31 02:00:47 +01:00
Sebastian Wilzbach fc4cb9eecc
Merge pull request #417 from WebFreak001/fix-releases
Build tagged releases in CIs
2018-12-27 16:54:44 +01:00
WebFreak001 909164708a Build tagged releases in CIs 2018-12-27 16:37:32 +01:00
Jan Jurzitza ced64acae0 fix dub dependency build (fix #413) (#414) 2018-12-09 12:56:38 +01:00
The Dlang Bot bb679b1b6e
Merge pull request #411 from LaurentTreguier/issue-407
Fix #407 - `dub run dfmt` keeps building dfmt anew each time
merged-on-behalf-of: BBasile <BBasile@users.noreply.github.com>
2018-11-14 18:51:28 +01:00
Laurent Tréguier 5508e9ced1
Fix #407 - `dub run dfmt` keeps building dfmt anew each time 2018-11-14 17:58:13 +01:00
Laurent Tréguier f4417dc1b5 Update libdparse to v0.10.x (#410)
Update libdparse to v0.10.x
merged-on-behalf-of: BBasile <BBasile@users.noreply.github.com>
2018-11-10 14:02:31 +01:00
The Dlang Bot fd1f2f5161
Merge pull request #409 from LaurentTreguier/empty-braces-double-spaces
Spaces inside empty braces
merged-on-behalf-of: Brian Schott <Hackerpilot@users.noreply.github.com>
2018-11-09 10:51:13 +01:00
Laurent Tréguier 67664c2835
Don't put spaces inside empty braces 2018-11-06 16:40:25 +01:00
BBasile dc8e7a087c Prevent running CI twice when PR originated from origin (#408)
Prevent running CI twice when PR originated from origin
merged-on-behalf-of: BBasile <BBasile@users.noreply.github.com>
2018-11-02 06:05:52 +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
The Dlang Bot 3917c32925
Merge pull request #402 from some-bot/merge-libdparse-v0.9.10
Update dlibparse to v0.9.10
merged-on-behalf-of: Dlang Community Bot <some-bot@users.noreply.github.com>
2018-10-13 16:02:16 +02:00
some-bot a1cb44eb80 Updated libdparse to v0.9.10. 2018-10-13 12:59:49 +00: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