Lennart Spitzner
bc70eb07e8
Change config setup(!), Refactor, Update deps
...
- config now uses foo_bar instead of _foo_bar;
- config now will accept missing keys;
- use latest butcher version;
- improve identity testing by moving into separate file.
2017-01-31 18:43:16 +01:00
Lennart Spitzner
508780466c
Adapt for butcher-0.2.0.0
2016-10-01 19:06:55 +02:00
Lennart Spitzner
1b7576dcd1
Fix --ghc-options handling
2016-09-06 15:29:13 +02:00
Lennart Spitzner
cb93a6903c
Fix horizontal alignment issue; Add testcases
2016-09-04 14:24:19 +02:00
Lennart Spitzner
a29836d09c
Refactor module structure; Clean up imports
2016-09-04 00:24:20 +02:00
Lennart Spitzner
b03996e401
Apply brittany on parts of its source; Add comments
2016-09-03 23:02:32 +02:00
Lennart Spitzner
3809ba9ef0
Fix some type sig layouting minor issue
2016-09-03 21:50:31 +02:00
Lennart Spitzner
48b2057d84
Improve horizontal alignments significantly (patterns)
2016-09-03 21:32:18 +02:00
Lennart Spitzner
fc47372005
Restore aligning on non-function bindings
2016-09-02 00:38:56 +02:00
Lennart Spitzner
371fad303d
Improve column aligning; Add config for aligning
2016-09-02 00:38:56 +02:00
Lennart Spitzner
395fe02644
Stop aligning patterns for different functions
2016-09-02 00:06:49 +02:00
Lennart Spitzner
8218b6e199
Fix tuple type multiline layouting
2016-09-01 15:19:56 +02:00
Lennart Spitzner
40509dc3f0
Fix comment omission on type vars and qual type
2016-09-01 14:37:17 +02:00
Lennart Spitzner
fedfeaaecd
Improve HsLam and OpApp layouting
2016-09-01 13:49:30 +02:00
Lennart Spitzner
8277e85187
Fix NonBottom/setBaseY getSpacing(s) interaction
...
- Rename NonBottom -> Always
2016-09-01 12:35:11 +02:00
Lennart Spitzner
cc9b1f6885
Fix comment placement for HsIf/HsLet
2016-08-18 15:27:10 +02:00
Lennart Spitzner
d0fcfc563e
Fix if-then-else comment placement issue
2016-08-18 01:14:11 +02:00
Lennart Spitzner
e67855fd98
Fix list comprehension comment placement issue
2016-08-18 00:59:12 +02:00
Lennart Spitzner
b58a8b0146
Fix commandline flag parsing (again, oops)
2016-08-12 20:57:37 +02:00
Lennart Spitzner
59cee6fb0e
Fix output validity check extensions missing
2016-08-12 17:05:50 +02:00
Lennart Spitzner
fb1aeb5739
Fix error printing to stdout->stderr
2016-08-12 15:01:15 +02:00
Lennart Spitzner
0229a50785
Replace all `briDocByExact` by `unknownNodeError`
2016-08-12 15:01:15 +02:00
Lennart Spitzner
d444c6e386
Add check of syntactic validity of output
2016-08-12 15:01:15 +02:00
Lennart Spitzner
bc09b21473
Fix endOfFile placement bug when there are multiline comments
2016-08-12 15:01:15 +02:00
Lennart Spitzner
39e565c182
Fix RecordUpd comment placement bug
2016-08-12 15:01:15 +02:00
Lennart Spitzner
b045c37bbd
Fix two column layouting bugs
2016-08-12 15:01:15 +02:00
Lennart Spitzner
d30a712a75
Fix line length calculation for column layouting
2016-08-12 15:01:15 +02:00
Lennart Spitzner
dd60900da4
Layout NegApp, RecordUpd with pun; Add some AnnKW
2016-08-12 15:01:15 +02:00
Lennart Spitzner
46ad20e8f9
Add comment-aware alternative filtering (type sig)
2016-08-12 15:01:15 +02:00
Lennart Spitzner
55709c9b17
Fix do let comment indentation problems
2016-08-12 15:01:14 +02:00
Lennart Spitzner
0a41843efd
Fix tuple parenthesis printing
2016-08-12 15:01:14 +02:00
Lennart Spitzner
5166b3dd9e
Improve comment handling (Add KW node; annotation transform)
2016-08-12 15:01:14 +02:00
Lennart Spitzner
5409b86adf
Add help to --ghc-options commandline flag
2016-08-12 15:01:14 +02:00
Lennart Spitzner
dd24316941
Fix the Semigroup.Last aeson instances (config breaking change :/)
2016-08-12 14:35:17 +02:00
Lennart Spitzner
6011726389
Show yaml representation when dumping config
2016-08-08 17:59:29 +02:00
Lennart Spitzner
1a70e4d949
Support --ghc-options; Rework config internals
2016-08-08 17:59:29 +02:00
Lennart Spitzner
d625c90461
Refactor Main/Brittany.hs, code structure
2016-08-08 17:34:17 +02:00
Lennart Spitzner
23f19e653f
Improve config file handling (local+user conf files)
2016-08-07 15:14:57 +02:00
Lennart Spitzner
214653bee5
Handle wildcards in expr/type
2016-08-07 14:26:27 +02:00
Gurkenglas
bcdfea8654
Factor out a return
2016-08-06 23:31:27 +02:00
Lennart Spitzner
b1f915d1c2
Change bounded search algorithm (change invariant)
2016-08-06 22:27:30 +02:00
Lennart Spitzner
cd9474a969
Change layouting for lambda, app; Fix exponential behaviour
2016-08-06 19:36:47 +02:00
Lennart Spitzner
0314569276
Implement/Improve record pun handling (Pat/Expr)
2016-08-06 15:03:45 +02:00
Lennart Spitzner
b4f749ea0c
Fix comment handling CPP special case
2016-08-06 15:03:45 +02:00
Lennart Spitzner
f54e3c6079
Some layouting improvements/fixes
2016-08-06 14:07:52 +02:00
Lennart Spitzner
52a4f7c11c
Implement pattern cases: {..} and ~
2016-08-06 14:07:13 +02:00
Lennart Spitzner
7f69ab8b43
Fix some record pattern case involving "pun"
2016-08-06 14:05:42 +02:00
Lennart Spitzner
705286be0a
Fix parenthesized operator printing
2016-08-06 14:03:45 +02:00
Lennart Spitzner
a1c153f0c5
Fix BDLines handling in getSpacings
2016-08-06 14:02:11 +02:00
Lennart Spitzner
02ee54f806
Fix EnsureIndent handling
2016-08-06 14:01:38 +02:00