David Reaver
a9959b30c2
Fix date of 1.2 release in CHANGES
2017-06-20 08:45:35 -07:00
Simon Michael
40699af34a
doc: update builtin manuals
2017-06-15 19:16:39 -07:00
Simon Michael
cca95d2974
doc: update builtin manuals
2017-06-15 19:16:39 -07:00
Simon Michael
d0771a8526
doc: regenerate builtin manuals
2017-06-15 19:16:39 -07:00
Simon Michael
1755f71202
bump version/month in all generated docs
2017-06-06 09:22:39 -07:00
Simon Michael
af11cd6243
bump package versions to 1.2.98 (1.3 alpha)
2017-06-06 09:21:51 -07:00
Simon Michael
2de0109953
allow megaparsec 5.3
2017-04-29 17:16:27 -07:00
Simon Michael
ff598f2635
doc: make changelogs from release notes
2017-03-31 18:11:44 -07:00
Simon Michael
6ee66979ff
doc: regenerate files
2017-03-31 18:01:32 -07:00
Simon Michael
1850fb732f
bump version to 1.2
2017-03-31 17:58:11 -07:00
Simon Michael
586d86488e
doc: regenerate files
2017-03-29 21:08:02 -07:00
Simon Michael
01a2aa9394
doc: update generated files
2017-03-29 14:35:59 -07:00
Simon Michael
7df15a8279
doc: flags/usage/manual cleanups
2017-03-29 14:20:30 -07:00
Simon Michael
b402fc7e7d
lib: optserror -> usageError, consolidate with other error functions ( #529 )
2017-03-29 08:00:51 -07:00
Simon Michael
59704dcb6b
doc: regenerate doc files
2017-03-27 05:12:03 -07:00
Peter Simons
e2c8a6ae42
Use more accurate license tag in Cabal file.
2017-03-15 23:07:57 +00:00
Simon Michael
3c13da3ca2
update cabal files to hpack 0.17.0/stack 1.4 format #512
2017-03-15 23:04:35 +00:00
Justin Le
600132445c
documentation changed to reflect new bs/is/cf and -V behavior
2017-02-04 16:38:18 -08:00
Simon Michael
a30583f6a1
allow megaparsec 5.2 #503
2017-02-01 16:24:37 -08:00
Simon Michael
6ed238a3d6
doc: regenerate built-in help
...
[ci skip]
2017-01-26 09:03:30 -08:00
Simon Michael
77c342f6e3
doc: ui, web: better screenshots layout in web manuals
...
[ci skip]
2017-01-26 09:02:46 -08:00
Simon Michael
ba1599cb97
doc: web: fix extra whitespace after synopsis in text manuals
2017-01-26 08:41:06 -08:00
Simon Michael
91dbeedee4
doc: document new --pivot
...
[ci skip]
2017-01-16 15:53:51 -08:00
Simon Michael
5345e2641a
regenerate cabal files with hpack
...
A few packages which included the Paths_* module no longer do,
and this seems ok with stack and cabal as far as I can tell.
That should be the only change, aside from a bunch of reorderings.
2017-01-16 14:23:47 -08:00
Simon Michael
20651ec426
ui, web: update manuals
2017-01-05 17:18:13 -08:00
Simon Michael
7f58d186bb
Merge commit '486cc47'
2017-01-05 17:17:02 -08:00
Simon Michael
83975d25eb
ui, web: sync some things in help & manual
2017-01-05 17:09:04 -08:00
Simon Michael
fe457fa12a
doc: update built-in docs
2017-01-05 10:43:06 -08:00
Simon Michael
631a95ba9c
bump version to 1.1.98 (1.2 alpha)
2017-01-05 10:43:06 -08:00
Simon Michael
dd86596d30
doc: rename _versions_ macro
2017-01-04 10:50:16 -08:00
Simon Michael
20bef095aa
doc: changelogs, release notes
2016-12-31 11:24:12 -08:00
Simon Michael
6072f2a8f4
doc: update generated doc files
2016-12-31 11:23:53 -08:00
Simon Michael
14c8e4d8f7
bump version to 1.1
2016-12-31 07:54:47 -08:00
Simon Michael
78f0c403fb
doc: update generated docs
2016-12-30 14:36:27 -08:00
Simon Michael
b8d1698865
api: serve on 127.0.0.1 by default, add --host ( fixes #432 )
...
Consistent with hledger-web now: serves only local requests by default,
uses --host to change this.
2016-11-21 08:01:06 -08:00
Simon Michael
1bcc091a44
web: add --host, rename --server to --serve ( #429 )
...
This came up in the context of Docker, but it seems it wasn't possible
for hledger-web to serve remote clients directly (without a proxy)
because of 127.0.0.1 being hardcoded ? Now that can be
changed with --host=IPADDR. The default base url also
uses this address, rather than "localhost" being hardcoded.
Also, the --server flag sounded too close in meaning to --host so
I've renamed it to --serve. The old spelling is still accepted,
at least through the next major release I suppose.
2016-11-21 07:38:58 -08:00
Simon Michael
6a36efb7ca
set base lower bound to 4.8 to enforce GHC 7.10+
...
hledger-lib had a valid install plan with GHC 7.8, but requires GHC 7.10 to compile (currently).
Require base 4.8+ everywhere so that stack/cabal will enforce a supported GHC version early.
Also, bump hledger-ui's "stability" to "stable".
2016-11-16 13:14:02 -08:00
Simon Michael
45684f2f79
tighten up dep bounds among the hledger packages
2016-10-27 14:37:14 -07:00
Simon Michael
6d0716b0a5
bump packages (excluding hledger-api and docs) to 1.0.1
2016-10-27 08:14:35 -07:00
Simon Michael
2e10f21f26
doc: update changelogs and relnotes outline (but not relnotes page) for 1.0.1
2016-10-27 08:10:24 -07:00
Simon Michael
d0e9b70e4f
doc: release note/changelog fixes
2016-10-27 07:43:44 -07:00
Simon Michael
8bc0538778
allow megaparsec 5.0 or 5.1 for stackage compatibility
2016-10-27 07:19:26 -07:00
Simon Michael
08f97dd9c8
doc: project/package change logs, web release notes
2016-10-26 13:34:28 -07:00
Simon Michael
315db5621a
doc: bump version to 1.0, update manuals & cabal files
2016-10-26 13:34:27 -07:00
Simon Michael
ee2ced7f65
set an upper bound on megaparsec
2016-10-26 13:34:27 -07:00
Dominik Süß
6b0972b752
Using full width on large screens
2016-10-26 10:14:45 -07:00
Dominik Süß
c0a6689c27
Improved highlighting
2016-10-26 10:14:45 -07:00
Dominik Süß
c6c2a93f01
Added nowrap to keep dates in line
2016-10-26 10:14:44 -07:00
Dominik Süß
c61aedd106
Setting column width at the first entry
2016-10-26 10:05:50 -07:00
Dominik Süß
aaf95eb372
Accounts are now bottom-aligned
2016-10-26 10:05:50 -07:00
Dominik Süß
9dab7c4148
Title now moves with sidebar
2016-10-26 10:05:50 -07:00
Dominik Süß
cb79e01880
Sidebar width is now limited to the column
...
This helps the spacing between the sidebar and the main-content
2016-10-26 10:05:50 -07:00
Dominik Süß
29ad412a2e
Increased visibility and now overflowing with ellipsis
2016-10-26 10:05:50 -07:00
Dominik Süß
f8f75cec52
Disabled Sidebar animations and fixed overflow
2016-10-26 10:05:50 -07:00
Dominik Süß
9b7dc72e5c
Removed useless import
2016-10-26 10:05:50 -07:00
Dominik Süß
eff37004f7
Fixed sidebar wonkyness
2016-10-26 10:05:50 -07:00
Dominik Süß
0567e00625
Fixed multi commodities in sidebar
2016-10-26 10:05:50 -07:00
Dominik Süß
5d677fc174
Persistent sidebar state
2016-10-26 10:05:50 -07:00
Dominik Süß
5b4d61f198
Removed garbage from my clipboard
2016-10-26 10:05:50 -07:00
Dominik Süß
93d85e3eae
Removed artifacts of conversion
2016-10-26 10:05:50 -07:00
Dominik Süß
956b63f27d
Re-Added searchbar clearing and journal highlighting
2016-10-26 10:05:50 -07:00
Dominik Süß
7d6887898a
Enhanced searchbar
2016-10-26 10:05:50 -07:00
Dominik Süß
4b6ad55cd8
Made backlinking work again
2016-10-26 10:05:50 -07:00
Dominik Süß
533d4ff2b8
Optimized for sm devices
2016-10-26 10:05:50 -07:00
Dominik Süß
e9feee098b
Responsive sidebar
2016-10-26 10:05:50 -07:00
Dominik Süß
ab2ebbbcad
Sidebar now works again
2016-10-26 10:05:50 -07:00
Dominik Süß
b29efba09d
Improved add-modal
2016-10-26 10:05:50 -07:00
Dominik Süß
817fc8d9ec
Highlighting active selection in the sidebar
2016-10-26 10:05:50 -07:00
Dominik Süß
55b507bf30
Unified tag spacing
2016-10-26 10:05:50 -07:00
Dominik Süß
962ddb3c3a
Adopted Bootstrap classes everywhere
2016-10-26 10:05:50 -07:00
Simon Michael
5aa4c91332
stack/cabal cleanups; drop GHC 7.6, 7.8 support
...
A (disabled) stack build plan for GHC 7.8 is included; supporting it
would need small code changes and a maintainer.
2016-10-21 14:47:22 -07:00
Dominik Süß
36d2998b77
Added .btn-default to unify buttons across browsers ( #418 )
2016-10-11 14:00:30 -07:00
Simon Michael
15ebae5c5f
lib, cli, web: try to fix building with GHC 7.4
2016-08-09 12:22:38 -07:00
Simon Michael
cf8ebd4ae2
pkg: rename, clean up oldtime flag
2016-08-09 12:03:23 -07:00
Simon Michael
1b65582908
pkg: clean up deps slightly
2016-08-09 12:02:57 -07:00
Simon Michael
4c313be10e
reorder yaml files consistently
2016-08-09 11:39:42 -07:00
Simon Michael
570de3a0a5
format package descriptions more nicely
2016-08-09 11:29:17 -07:00
Simon Michael
0302be1b15
tools: fix tested-with in package.yamls
2016-08-09 07:57:30 -07:00
Simon Michael
d165600155
lib, cli, web, api: use hpack (package.yaml) for all packages at last #371
...
Generated package.yaml files from the old cabal files with hpack-convert,
removed some problematic blank lines manually,
regenerated the cabal files from the package.yaml files with hpack.
Tests pass, looks like all the info is still there.
This means that from now on, we don't edit cabal files directly.
We edit the less verbose package.yaml files. stack will update
the cabal files automatically (or non-stack users can use hpack).
The changes to both are committed, as we still want to provide
the cabal files to downloaders.
2016-08-09 07:24:57 -07:00
Simon Michael
974b1e3be0
lib: simplify balance report types; haddocks
2016-08-08 17:23:21 -07:00
Simon Michael
7aa23f6ca2
doc: update generated manuals, and show 0.28dev there
2016-08-08 06:49:50 -07:00
Simon Michael
b7071dee84
lib: use Data.Default directly, not via cmdargs
2016-07-29 10:15:48 -07:00
Simon Michael
4022f5cb61
lib, web: fix some warnings after megaparsec change
2016-07-29 09:55:02 -07:00
Moritz Kiefer
4141067428
Replace Parsec with Megaparsec (see #289 ) ( #366 )
...
* Replace Parsec with Megaparsec (see #289 )
This builds upon PR #289 by @rasendubi
* Revert renaming of parseWithState to parseWithCtx
* Fix doctests
* Update for Megaparsec 5
* Specialize parser to improve performance
* Pretty print errors
* Swap StateT and ParsecT
This is necessary to get the correct backtracking behavior, i.e. discard
state changes if the parsing fails.
2016-07-29 08:57:10 -07:00
Simon Michael
b540b4336e
web: looser dependency on hledger/hledger-lib #353
2016-07-24 18:16:29 -07:00
Simon Michael
9ccd4e226f
doc: update generated manuals
2016-07-06 15:17:09 -07:00
Simon Michael
68a1a8687a
doc: generate really plain text manuals
...
Drop the nice ansi highlighting that won't work everywhere,
the unpredictable unicode hyphens, etc.
2016-06-11 21:34:20 -07:00
Simon Michael
e6769b26fc
doc: more macros, less redundancy, cleanups
2016-06-09 18:07:08 -07:00
Simon Michael
8986a8d3a0
doc: fix pivot option formatting, whitespace
2016-06-03 09:50:01 -07:00
Simon Michael
f21e9d1c25
doc: more deduplication of options help
...
Help for reporting options is now also defined once in lib.m4
(in addition to CliOptions.hs). Also fixed some duplication of general
options in docs. hledger-* manuals now include the full list of general
and reporting options; we assume that any inapplicable options get
harmlessly ignored and that this will not surprise users.
2016-06-03 09:38:06 -07:00
Simon Michael
a961988a88
bump cabal versions to 0.28
2016-05-29 00:00:59 -07:00
Simon Michael
f0baa30db0
doc: another help flag consistency fix
2016-05-28 23:51:14 -07:00
Simon Michael
656734ccd3
doc: define general options once
...
Well, twice: in lib.m4 and in CliOptions.hs. But no longer in every man page.
2016-05-28 23:50:37 -07:00
Simon Michael
df07ad0109
doc: parameterise and bump docs version to 0.28
2016-05-28 23:31:44 -07:00
Simon Michael
bd3212654c
doc: bring embedded help files up to date
2016-05-28 12:58:30 -07:00
Simon Michael
90c9735b7a
lib: textification: descriptions & codes
...
Slightly higher (with small files) and lower (with large files) maximum
residency, and slightly quicker for all.
hledger -f data/100x100x10.journal stats
<<ghc: 42858472 bytes, 84 GCs, 193712/269608 avg/max bytes residency (3 samples), 2M in use, 0.000 INIT (0.015 elapsed), 0.016 MUT (0.042 elapsed), 0.011 GC (0.119 elapsed) :ghc>>
<<ghc: 42891776 bytes, 84 GCs, 190816/260920 avg/max bytes residency (3 samples), 2M in use, 0.000 INIT (0.004 elapsed), 0.017 MUT (0.025 elapsed), 0.010 GC (0.015 elapsed) :ghc>>
hledger -f data/1000x1000x10.journal stats
<<ghc: 349575240 bytes, 681 GCs, 1396425/4091680 avg/max bytes residency (7 samples), 11M in use, 0.000 INIT (0.000 elapsed), 0.137 MUT (0.146 elapsed), 0.050 GC (0.057 elapsed) :ghc>>
<<ghc: 349927568 bytes, 681 GCs, 1397825/4097248 avg/max bytes residency (7 samples), 11M in use, 0.000 INIT (0.000 elapsed), 0.126 MUT (0.133 elapsed), 0.050 GC (0.057 elapsed) :ghc>>
hledger -f data/10000x1000x10.journal stats
<<ghc: 3424029496 bytes, 6658 GCs, 11403141/41077288 avg/max bytes residency (11 samples), 111M in use, 0.000 INIT (0.000 elapsed), 1.278 MUT (1.310 elapsed), 0.493 GC (0.546 elapsed) :ghc>>
<<ghc: 3427418064 bytes, 6665 GCs, 11127869/37790168 avg/max bytes residency (11 samples), 109M in use, 0.000 INIT (0.001 elapsed), 1.212 MUT (1.229 elapsed), 0.466 GC (0.519 elapsed) :ghc>>
hledger -f data/100000x1000x10.journal stats
<<ghc: 34306546248 bytes, 66727 GCs, 77030638/414617944 avg/max bytes residency (14 samples), 1012M in use, 0.000 INIT (0.000 elapsed), 12.965 MUT (13.164 elapsed), 4.771 GC (5.447 elapsed) :ghc>>
<<ghc: 34340246056 bytes, 66779 GCs, 76983178/416011480 avg/max bytes residency (14 samples), 1011M in use, 0.000 INIT (0.008 elapsed), 12.666 MUT (12.836 elapsed), 4.595 GC (5.175 elapsed) :ghc>>
2016-05-24 19:00:58 -07:00
Simon Michael
770dcee742
lib: textification: comments and tags
...
No change.
hledger -f data/100x100x10.journal stats
<<ghc: 42859576 bytes, 84 GCs, 193781/269984 avg/max bytes residency (3 samples), 2M in use, 0.000 INIT (0.001 elapsed), 0.016 MUT (0.020 elapsed), 0.009 GC (0.011 elapsed) :ghc>>
<<ghc: 42859576 bytes, 84 GCs, 193781/269984 avg/max bytes residency (3 samples), 2M in use, 0.000 INIT (0.001 elapsed), 0.015 MUT (0.018 elapsed), 0.009 GC (0.013 elapsed) :ghc>>
hledger -f data/1000x1000x10.journal stats
<<ghc: 349576344 bytes, 681 GCs, 1407388/4091680 avg/max bytes residency (7 samples), 11M in use, 0.000 INIT (0.000 elapsed), 0.124 MUT (0.130 elapsed), 0.047 GC (0.055 elapsed) :ghc>>
<<ghc: 349576280 bytes, 681 GCs, 1407388/4091680 avg/max bytes residency (7 samples), 11M in use, 0.000 INIT (0.000 elapsed), 0.126 MUT (0.132 elapsed), 0.049 GC (0.058 elapsed) :ghc>>
hledger -f data/10000x1000x10.journal stats
<<ghc: 3424030664 bytes, 6658 GCs, 11403359/41071624 avg/max bytes residency (11 samples), 111M in use, 0.000 INIT (0.000 elapsed), 1.207 MUT (1.228 elapsed), 0.473 GC (0.528 elapsed) :ghc>>
<<ghc: 3424030760 bytes, 6658 GCs, 11403874/41077288 avg/max bytes residency (11 samples), 111M in use, 0.000 INIT (0.002 elapsed), 1.234 MUT (1.256 elapsed), 0.470 GC (0.520 elapsed) :ghc>>
hledger -f data/100000x1000x10.journal stats
<<ghc: 34306547448 bytes, 66727 GCs, 76805504/414629288 avg/max bytes residency (14 samples), 1009M in use, 0.000 INIT (0.003 elapsed), 12.615 MUT (12.813 elapsed), 4.656 GC (5.291 elapsed) :ghc>>
<<ghc: 34306547320 bytes, 66727 GCs, 76805504/414629288 avg/max bytes residency (14 samples), 1009M in use, 0.000 INIT (0.009 elapsed), 12.802 MUT (13.065 elapsed), 4.774 GC (5.441 elapsed) :ghc>>
2016-05-24 19:00:57 -07:00
Simon Michael
c89c33b36e
lib: textification: parse stream
...
10% more allocation, but 35% lower maximum residency, and slightly quicker.
hledger -f data/100x100x10.journal stats
<<ghc: 39327768 bytes, 77 GCs, 196834/269496 avg/max bytes residency (3 samples), 2M in use, 0.000 INIT (0.010 elapsed), 0.020 MUT (0.092 elapsed), 0.014 GC (0.119 elapsed) :ghc>>
<<ghc: 42842136 bytes, 84 GCs, 194010/270912 avg/max bytes residency (3 samples), 2M in use, 0.000 INIT (0.009 elapsed), 0.016 MUT (0.029 elapsed), 0.012 GC (0.120 elapsed) :ghc>>
hledger -f data/1000x1000x10.journal stats
<<ghc: 314291440 bytes, 612 GCs, 2070776/6628048 avg/max bytes residency (7 samples), 16M in use, 0.000 INIT (0.000 elapsed), 0.128 MUT (0.144 elapsed), 0.059 GC (0.070 elapsed) :ghc>>
<<ghc: 349558872 bytes, 681 GCs, 1397597/4106384 avg/max bytes residency (7 samples), 11M in use, 0.000 INIT (0.004 elapsed), 0.124 MUT (0.133 elapsed), 0.047 GC (0.053 elapsed) :ghc>>
hledger -f data/10000x1000x10.journal stats
<<ghc: 3070026824 bytes, 5973 GCs, 12698030/62951784 avg/max bytes residency (10 samples), 124M in use, 0.000 INIT (0.002 elapsed), 1.268 MUT (1.354 elapsed), 0.514 GC (0.587 elapsed) :ghc>>
<<ghc: 3424013128 bytes, 6658 GCs, 11405501/41071624 avg/max bytes residency (11 samples), 111M in use, 0.000 INIT (0.001 elapsed), 1.343 MUT (1.406 elapsed), 0.511 GC (0.573 elapsed) :ghc>>
hledger -f data/100000x1000x10.journal stats
<<ghc: 30753387392 bytes, 59811 GCs, 117615462/666703600 avg/max bytes residency (14 samples), 1588M in use, 0.000 INIT (0.000 elapsed), 12.068 MUT (12.238 elapsed), 6.015 GC (7.190 elapsed) :ghc>>
<<ghc: 34306530696 bytes, 66727 GCs, 76806196/414629312 avg/max bytes residency (14 samples), 1009M in use, 0.000 INIT (0.010 elapsed), 14.357 MUT (16.370 elapsed), 5.298 GC (6.534 elapsed) :ghc>>
2016-05-24 19:00:57 -07:00
Simon Michael
102b76c17f
lib: textification: commodity symbols
...
hledger -f data/100x100x10.journal stats
<<ghc: 39288536 bytes, 77 GCs, 196608/269560 avg/max bytes residency (3 samples), 2M in use, 0.000 INIT (0.001 elapsed), 0.016 MUT (0.028 elapsed), 0.009 GC (0.012 elapsed) :ghc>>
<<ghc: 39290808 bytes, 77 GCs, 196608/269560 avg/max bytes residency (3 samples), 2M in use, 0.000 INIT (0.003 elapsed), 0.015 MUT (0.021 elapsed), 0.009 GC (0.011 elapsed) :ghc>>
hledger -f data/1000x100x10.journal stats
<<ghc: 314268960 bytes, 612 GCs, 2143219/6826152 avg/max bytes residency (7 samples), 16M in use, 0.000 INIT (0.009 elapsed), 0.135 MUT (0.151 elapsed), 0.065 GC (0.178 elapsed) :ghc>>
<<ghc: 314254512 bytes, 612 GCs, 2072377/6628024 avg/max bytes residency (7 samples), 16M in use, 0.000 INIT (0.000 elapsed), 0.130 MUT (0.134 elapsed), 0.064 GC (0.075 elapsed) :ghc>>
hledger -f data/10000x100x10.journal stats
<<ghc: 3070016592 bytes, 5965 GCs, 13138220/64266016 avg/max bytes residency (10 samples), 128M in use, 0.000 INIT (0.000 elapsed), 1.272 MUT (1.322 elapsed), 0.527 GC (0.595 elapsed) :ghc>>
<<ghc: 3069989896 bytes, 5973 GCs, 12687877/62848920 avg/max bytes residency (10 samples), 124M in use, 0.000 INIT (0.002 elapsed), 1.295 MUT (1.324 elapsed), 0.511 GC (0.570 elapsed) :ghc>>
hledger -f data/100000x100x10.journal stats
<<ghc: 30753448072 bytes, 59763 GCs, 121502982/673169248 avg/max bytes residency (14 samples), 1640M in use, 0.000 INIT (0.007 elapsed), 12.421 MUT (12.672 elapsed), 6.240 GC (7.812 elapsed) :ghc>>
<<ghc: 30753350528 bytes, 59811 GCs, 117616668/666703600 avg/max bytes residency (14 samples), 1588M in use, 0.001 INIT (0.011 elapsed), 13.209 MUT (13.683 elapsed), 6.137 GC (7.117 elapsed) :ghc>>
2016-05-24 19:00:57 -07:00
Simon Michael
2538d14ea7
lib: textification begins! account names
...
The first of several conversions from String to (strict) Text, hopefully
reducing space and time usage.
This one shows a small improvement, with GHC 7.10.3 and text-1.2.2.1:
hledger -f data/100x100x10.journal stats
string: <<ghc: 39471064 bytes, 77 GCs, 198421/275048 avg/max bytes residency (3 samples), 2M in use, 0.000 INIT (0.001 elapsed), 0.015 MUT (0.020 elapsed), 0.010 GC (0.014 elapsed) :ghc>>
text: <<ghc: 39268024 bytes, 77 GCs, 197018/270840 avg/max bytes residency (3 samples), 2M in use, 0.000 INIT (0.002 elapsed), 0.016 MUT (0.022 elapsed), 0.009 GC (0.011 elapsed) :ghc>>
hledger -f data/1000x100x10.journal stats
string: <<ghc: 318555920 bytes, 617 GCs, 2178997/7134472 avg/max bytes residency (7 samples), 16M in use, 0.000 INIT (0.001 elapsed), 0.129 MUT (0.136 elapsed), 0.067 GC (0.077 elapsed) :ghc>>
text: <<ghc: 314248496 bytes, 612 GCs, 2074045/6617960 avg/max bytes residency (7 samples), 16M in use, 0.000 INIT (0.003 elapsed), 0.137 MUT (0.145 elapsed), 0.067 GC (0.079 elapsed) :ghc>>
hledger -f data/10000x100x10.journal stats
string: <<ghc: 3114763608 bytes, 6026 GCs, 18858950/75552024 avg/max bytes residency (11 samples), 201M in use, 0.000 INIT (0.000 elapsed), 1.331 MUT (1.372 elapsed), 0.699 GC (0.812 elapsed) :ghc>>
text: <<ghc: 3071468920 bytes, 5968 GCs, 14120344/62951360 avg/max bytes residency (9 samples), 124M in use, 0.000 INIT (0.003 elapsed), 1.272 MUT (1.349 elapsed), 0.513 GC (0.578 elapsed) :ghc>>
hledger -f data/100000x100x10.journal stats
string: <<ghc: 31186579432 bytes, 60278 GCs, 135332581/740228992 avg/max bytes residency (13 samples), 1697M in use, 0.000 INIT (0.008 elapsed), 14.677 MUT (15.508 elapsed), 7.081 GC (8.074 elapsed) :ghc>>
text: <<ghc: 30753427672 bytes, 59763 GCs, 117595958/666457240 avg/max bytes residency (14 samples), 1588M in use, 0.000 INIT (0.008 elapsed), 13.713 MUT (13.966 elapsed), 6.220 GC (7.108 elapsed) :ghc>>
2016-05-24 19:00:49 -07:00
Simon Michael
0f5ee154c4
lib: simplify parsers; cleanups ( #275 )
...
The journal/timeclock/timedot parsers, instead of constructing (opaque)
journal update functions which are later applied to build the journal,
now construct the journal directly (by modifying the parser state). This
is easier to understand and debug. It also removes any possibility of
the journal updates being a space leak. (They weren't, in fact memory
usage is now slightly higher, but that will be addressed in other ways.)
Also:
Journal data and journal parse info have been merged into one type (for
now), and field names are more consistent.
The ParsedJournal type alias has been added to distinguish being-parsed
and finalised journals.
Journal is now a monoid.
stats: fixed an issue with ordering of include files
journal: fixed an issue with ordering of included same-date transactions
timeclock: sessions can no longer span file boundaries (unclocked-out
sessions will be auto-closed at the end of the file).
expandPath now throws a proper IO error (and requires the IO monad).
2016-05-23 00:44:19 -07:00
Simon Michael
72bdce39b6
ui: fix a recent reload breakage ( fixes #346 )
...
Commit 0a90ef4
a few weeks ago caused hledger-ui to show wrong balances
after reloading with the g key, if the journal had changed and you had
specified a query on the command line.
Now, journalReloadIfChanged reloads the full journal without filtering,
like journalReload and withJournalDo.
2016-05-20 08:20:08 -07:00
Simon Michael
7f5e09096f
lib: rename JournalContext to JournalParseState
2016-05-18 20:57:34 -07:00
Simon Michael
89b1cd1e5b
doc: readme for doc directories
2016-05-17 10:03:57 -07:00
Simon Michael
207922a023
lib: Commodity now has a CommoditySymbol and style
2016-05-08 08:07:27 -07:00
Simon Michael
1b674cbb44
web: show a proper not found page on 404
2016-05-06 19:30:23 -07:00
Simon Michael
e2ce7c4802
doc, tests: clarify what --date2 does
2016-05-06 16:57:24 -07:00
Simon Michael
46767406ed
web: document how initial query works ( fixes #314 )
2016-04-28 21:58:08 -07:00
Simon Michael
739c8dc4cc
web: preserve initial query when journal changes ( #314 )
...
The initial query specified by command line arguments is now preserved
when the journal is reloaded. This does not appear in the web UI, it's
like an invisible extra filter.
2016-04-28 21:48:30 -07:00
Simon Michael
7b1b1f5f8d
web: focus field after clicking add txn ( fixes #338 )
2016-04-28 20:53:08 -07:00
Simon Michael
b175b8cddf
web: drop redundant onClick; fix add txn tooltip ( #338 )
2016-04-28 20:52:24 -07:00
Simon Michael
3739f0e364
web: leave date field blank, avoid problems ( #322 )
2016-04-28 18:27:00 -07:00
Simon Michael
7ec3ebb66b
update tested-with
...
Note we seem to have lost GHC 7.4 compatibility. It should be fixable if
anyone cares.
2016-04-28 17:32:17 -07:00
Simon Michael
df1040014e
web: exit if an instance is already running ( #226 )
...
Also
- pause for 0.1s before opening the browser, to ensure the app is ready
- don't open a browser if the app fails to start
- terminate the server thread more carefully on exit, may resolve some
lingering background thread issues eg on windows
2016-04-22 11:21:33 -07:00
Simon Michael
91847fc6fd
data-files does not support wildcards after all
2016-04-20 13:23:05 -07:00
Simon Michael
33b5c5dc94
declare generated docs as data-files, sync hpack yamls
2016-04-20 12:47:17 -07:00
Simon Michael
80948d1db7
doc: also commit info files, should fix travis
2016-04-20 12:47:17 -07:00
Simon Michael
42c12fe631
cli, ui, web, api: --info, --man, info & man cmds
2016-04-19 19:21:29 -07:00
Simon Michael
3d129f6d31
shake: also generate info manuals
2016-04-18 17:54:55 -07:00
Simon Michael
25e2534794
doc: update all docs mentioning -h and --help
2016-04-18 17:00:54 -07:00
Simon Michael
f9362707b6
ui, web, api: fix -h, --help
2016-04-18 16:43:51 -07:00
Simon Michael
de542e52ac
web: drop cruft from .ghci
2016-04-18 15:28:54 -07:00
Simon Michael
b4a72da355
web: fix stack ghci duplicate main error
2016-04-18 15:26:54 -07:00
Simon Michael
82f35dddd0
doc: m4 macro for web table of contents
2016-04-16 11:00:39 -07:00
Simon Michael
4c291dc54e
doc: use macros not divs to select web/man content
...
Use slightly clearer m4 macros instead of special divs to mark content
as web only/man only. The temporary doc/*.md files are no longer needed,
slightly more redundant work is done.
2016-04-16 10:09:51 -07:00
Simon Michael
130d259cb1
site: show version links on manuals
2016-04-16 04:44:33 -07:00
Simon Michael
6a97a246dd
doc: use m4 for all manuals, shake cleanup
2016-04-16 03:50:30 -07:00
Simon Michael
e4cff6a30f
tools: .ghci for each package, sets shorter prompt
2016-04-15 16:06:45 -07:00
Simon Michael
b73bcda52a
include txt man pages in cabal tarballs
2016-04-13 22:38:53 -07:00
Simon Michael
bfa5e14373
doc: generate (and commit) text-rendred man pages
...
Intended for embedding in executables. Quick implementation,
hopefully these are fixed-width and compatible with all terminals.
2016-04-13 22:29:16 -07:00
Simon Michael
588f36d662
rename timelog format to timeclock
2016-04-12 21:13:19 -07:00
Simon Michael
8ee0c7fa76
doc: update man pages
2016-04-12 20:31:17 -07:00
Simon Michael
b4d491791c
doc: include nroff man pages in cabal tarballs
2016-04-12 11:25:46 -07:00
Simon Michael
5e71d749c4
doc: ensure all five main packages have a README
2016-04-12 11:13:01 -07:00
Simon Michael
b69b149d39
doc: hledger: add more content from old manual
2016-04-10 12:13:38 -07:00
Simon Michael
5754f2bb4a
doc: updates, merge some more from old manual
2016-04-09 14:23:55 -07:00
Simon Michael
5d9d155ca0
doc: misc cleanups
2016-04-07 21:59:30 -07:00
Simon Michael
69542160bb
doc: remove colons from man page headings
2016-04-07 08:55:53 -07:00
Simon Michael
443b870481
site: fix man page TOCs, add combined man page
2016-04-07 08:55:21 -07:00
Simon Michael
f3fb1a89f2
doc: exclude web content from nroffs
2016-04-06 08:20:27 -07:00
Simon Michael
24c2e7d471
doc: move man page source and nroff to PKG/doc/
2016-04-06 08:16:38 -07:00
Simon Michael
eab6b110bc
tools: simplify doc filtering class names
2016-04-05 16:17:08 -07:00
Simon Michael
2dbe07a666
doc: mark up man pages for man/web rendering
...
And commit the latest nroff output. It'll need retesting.
2016-02-21 02:32:40 -08:00
Simon Michael
494c74f81b
tools: hide package.yaml files to fix travis
...
The latest stack runs a buggy hpack that generates invalid
cabal files. Rename them to future-package.yaml for now.
2016-02-20 19:07:49 -08:00
Simon Michael
ec87da8b04
web: show the sidebar by default ( #310 )
2016-01-25 09:08:19 -08:00
Simon Michael
6fb76d979f
web: fix typo in "-f -" warning
2016-01-25 09:07:37 -08:00
Thomas R. Koll
9f49da3713
web: remove more deprecated html attributes (align) and fix a tag with duplicate style attribute
2015-12-18 23:12:39 +01:00
Thomas R. Koll
f9c1902cbb
web: delete a few unused files from Yesod default app
...
the normalize file is called but not delivered(?), anyways there is a newer version in bootstrap.css
2015-12-18 22:51:42 +01:00
Thomas R. Koll
3306c65ae5
web: colour for visited links needs to be important to stick
2015-12-18 10:14:35 +01:00
Thomas R. Koll
71f4dc53b1
web: in registerCharClick set the window.location.hash and listen to that event to highlight the new row
2015-12-18 10:14:09 +01:00