Ben Boeckel
5e576e9ff0
fix-recursive-includes
...
Fix recursive includes beyond depth 3. Also add a test case for the bug.
2010-09-02 00:30:57 +00:00
Simon Michael
70bd8bb569
tools: handy monadic trace
2010-09-03 23:20:59 +00:00
Simon Michael
334974dedd
fix double error message output, clean up some ghc-version-specific imports
2010-09-03 23:39:11 +00:00
Simon Michael
0ea8a67c68
type signature
2010-09-05 16:05:38 +00:00
Simon Michael
d29b393ca2
fix a failing test, handle unicode better in errors
2010-09-05 18:18:50 +00:00
Simon Michael
4cd85ec767
encoded platform string helpers
2010-09-05 18:17:24 +00:00
Simon Michael
3531d4d54d
move split dependency to the right cabal file
2010-09-05 18:25:20 +00:00
Simon Michael
ce7e155934
parsing: fix obscured date parse errors with parsec 3; require split
...
With parsec 3, invalid date errors were not being reported properly.
This should be more robust.
2010-09-03 23:22:58 +00:00
Simon Michael
58e74ec857
bump version
2010-09-05 22:46:24 +00:00
Simon Michael
a8ab0906fd
bump version
2010-07-25 21:26:24 +00:00
Simon Michael
3436a27e68
installing: require cabal 1.6 or greater, set source-repository url
2010-09-05 22:49:20 +00:00
Simon Michael
cf62482102
web: show start and end dates of current filter period in heading, if any
2010-08-01 00:15:21 +00:00
Simon Michael
0773dde872
web: ui cleanups, replace balance/register with combo view
2010-07-27 22:49:45 +00:00
Simon Michael
0e40a9deee
bump version
2010-07-17 22:02:47 +00:00
Simon Michael
4120a874d8
test zero to 8 instead of 10 places, workaround for rounding error affecting a real-world transaction
2010-05-25 22:17:54 +00:00
Simon Michael
d52283f314
when reporting a balancing error, convert the error amount to cost
2010-05-25 22:18:36 +00:00
Simon Michael
586c824cac
display non-simple commodity names with double-quotes
...
This ensures print's output remains parseable. The other commands also
double-quote them, for consistency, like c++ ledger.
2010-05-27 01:38:23 +00:00
Simon Michael
63de5e0127
parsing: fix wrong parse error locations within postings
2010-07-08 02:51:17 +00:00
Simon Michael
3e9ad0ae13
parsing: don't let trailing whitespace in a timelog description mess up layout
2010-07-08 03:08:28 +00:00
Simon Michael
4f49094088
refactor: date spans, commodities
2010-07-11 18:56:36 +00:00
Simon Michael
e499efce77
type signature
2010-07-11 22:17:48 +00:00
Simon Michael
b5d1ebba30
print, register, balance: fix layout with mixed-commodity amounts
2010-07-11 22:51:36 +00:00
Simon Michael
2f6b82122f
tweak journal file auto-creation, add tests
2010-07-17 00:45:12 +00:00
Simon Michael
aaf14ffda1
fix a cabal dependency issue
2010-07-14 07:08:20 +00:00
Simon Michael
eefb04abfe
auto-create missing journal files rather than giving an error
2010-07-13 19:36:43 +00:00
Simon Michael
4dac3af181
bump convertible-text dependency to relax time dependency
2010-07-17 20:35:25 +00:00
Simon Michael
f9005f8aee
installing: constrain hledger-lib's time dependency to suit current hledger+yesod
2010-07-10 13:56:23 +00:00
Simon Michael
02706b66e7
update version
2010-07-17 21:01:07 +00:00
Simon Michael
4d5683d0a1
tools: bump version to indicate work-in-progress/prerelease status
2010-07-09 02:12:29 +00:00
Simon Michael
7d7159609b
refactor: much renaming of ledger -> journal, hopefully the right amount
2010-07-13 06:30:06 +00:00
Simon Michael
2a2b896c1d
webyesod: validate the journal before accepting an edit
2010-07-09 23:51:49 +00:00
Simon Michael
aa21f95b9e
webyesod: a destructive wiki-style edit form for journals
...
Warning: this is the first hledger feature which can alter your existing
journal data. You can now edit, or ERASE, the (top-level) journal file
through the web ui, and there is no access control. A numbered backup of
the file will be saved at each edit, in normal circumstances.
2010-07-09 23:00:04 +00:00
Simon Michael
73572e2d85
balance: with --flat, --drop N elides leading account name components. Feature or frill ?
2010-05-24 20:45:48 +00:00
Simon Michael
2f2e500eae
rename -fweb to -fweb610 and -fwebyesod to -fweb, misc cabal and docs cleanups
2010-07-10 13:58:35 +00:00
Simon Michael
8a64792ba7
smarter file reading: detect (or specify) intended data format and show appropriate error messages
...
New data reader modules need to provide just reader :: Reader, which is
the format name, a detector predicate, and a parser.
2010-06-25 14:56:48 +00:00
Simon Michael
1ec1f7c4ea
more file reading cleanup, try each known format in turn
...
Currently this is just the journal and timelog file formats. This is more
scalable, but when things go wrong there is no longer just a single parse
error. For now we'll just show the first error, the one from the journal
file parser.
2010-05-31 01:15:18 +00:00
Simon Michael
a848a835a2
clean up and combine I/O and parsing under Hledger.Read.*
...
This facilitates adding readers for new data formats. Timelog parsing is temporarily broken.
2010-05-30 19:11:58 +00:00
Simon Michael
f168124501
parsing: allow - before commodity symbol as well (also fixes a convert bug)
2010-05-26 23:44:08 +00:00
Simon Michael
b97d2690de
parsing: more robust double-quoted commodities - anything but a space or newline or double quote
2010-05-27 01:31:50 +00:00
Simon Michael
3305141206
parsing: allow spaces in double-quoted commodity symbols
2010-05-27 00:56:35 +00:00
Simon Michael
856f1f965a
docs: hledger-lib module haddock updates
2010-05-27 03:58:47 +00:00
Simon Michael
a048705542
doc: comment
2010-04-14 16:19:01 +00:00
Simon Michael
331ed6b407
refactor: cleanup
2010-04-14 21:37:03 +00:00
Simon Michael
b19b02962a
parsing: date parsing overhaul, don't exit on bad dates
...
- get rid of undefined parse errors due to guard
- don't call error from date parsers; let add re-prompt on bad dates
- years now must always have at least four digits
- clearer date parse errors
2010-04-14 21:49:34 +00:00
Simon Michael
a90d32ae78
hledger-lib requires safe
2010-04-14 22:38:54 +00:00
Simon Michael
f46cf82bed
parsing: simpler high-level parse error message
2010-04-15 16:14:50 +00:00
Simon Michael
bba4a32339
print: negative account patterns now exclude transactions containing any posting to a matched account
2010-04-15 23:08:27 +00:00
Simon Michael
ea14c64b20
bump version
2010-05-19 20:11:36 +00:00
Simon Michael
81e9e720ea
bump (and fix) version
2010-04-15 15:07:44 +00:00
Simon Michael
65cf381dbc
parsing: timelog entries now generate balanced transactions, using virtual postings
2010-05-23 18:54:14 +00:00