Commit Graph

582 Commits

Author SHA1 Message Date
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
Laurent Tréguier 908f32e433 Properly recognize debug as block header 2018-10-11 05:43:18 +02:00
The Dlang Bot 18eea577f8
Merge pull request #398 from LaurentTreguier/issue-345
Fix #345 -  Case of trailing white space
merged-on-behalf-of: BBasile <BBasile@users.noreply.github.com>
2018-10-10 13:43:57 +02:00
Laurent Tréguier b928eb6d84
Fix #345 - Case of trailing white space 2018-10-10 13:37:06 +02:00
The Dlang Bot 810e4b464f
Merge pull request #396 from LaurentTreguier/debug-with-param
Debug with param
merged-on-behalf-of: BBasile <BBasile@users.noreply.github.com>
2018-10-09 15:50:10 +02:00
Laurent Tréguier 6ff47e106a
Fix else indentation after debug conditions 2018-10-09 13:19:07 +02:00
Laurent Tréguier 72dd6e83b3
Stop directly accessing top indent token
Accessing the top indent token without using the topIs* () methods is
unsafe and can lead to range violations.
2018-10-09 12:04:44 +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