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
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
some-bot
494f70b429
Updated libdparse to v0.9.9.
2018-10-03 15:14: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
some-bot
0fc4149907
Updated libdparse to v0.9.8.
2018-09-29 14:24:12 +02:00
BBasile
7fb46c9aa5
Use automatic versioning ( #379 )
...
Use automatic versioning
merged-on-behalf-of: BBasile <BBasile@users.noreply.github.com>
2018-09-19 15:16:41 +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
1fd19a1375
deactivate testing with DMD nightly ( #383 )
...
deactivate testing with DMD nightly
merged-on-behalf-of: Laurent Tréguier <LaurentTreguier@users.noreply.github.com>
2018-09-08 13:40:50 +02:00
Brian Schott
ae76778801
Add index validity checks to the left paren/bracket code. Fixes #367 . ( #368 )
...
Add index validity checks to the left paren/bracket code. Fixes #367 .
merged-on-behalf-of: BBasile <BBasile@users.noreply.github.com>
2018-09-06 01:01:27 +02:00
BBasile
56097fd106
Deprecate enforce ex ( #377 )
...
Deprecate enforce ex
merged-on-behalf-of: BBasile <BBasile@users.noreply.github.com>
2018-09-06 01:01:08 +02:00
Stefan Koch
4256f988bf
Merge tag v0.8.2 into v0.x.x
2018-06-19 16:48:23 +02:00
Stefan Koch
cff6eb908e
Merge tag v0.7.2 into v0.8.x
2018-06-19 16:48:23 +02:00
BBasile
c58e54fe71
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>
* libdparse 687c0ca(687c0ca)...086cf06(086cf06) (28 commits)
> Merge pull request #242 from BBasile/issue-241
> Merge pull request #239 from kubo39/add-isIntegerLiteral
> Merge pull request #237 from BBasile/parse-virt-helpers
> Merge pull request #236 from JinShil/patch-2
> Merge pull request #235 from BBasile/upd-stdx-alloc
(...)
2018-06-19 16:46:39 +02:00