John Wiegley
9097bc8cd3
Made an assert more relaxed in item_context()
2012-03-19 04:02:49 -05:00
John Wiegley
e2a22cb8c2
Allow --input-date-format to specify separators
...
Fixes #650
2012-03-19 03:51:07 -05:00
John Wiegley
cd50fe0547
More improvements to nail_down; fixes #715
2012-03-19 00:41:32 -05:00
John Wiegley
60a281a55a
Corrected an error print in value.cc
2012-03-19 00:30:29 -05:00
John Wiegley
d6274fee19
Extend commodity_t::compare_by_commodity::operator()
2012-03-19 00:30:15 -05:00
John Wiegley
20edb3a340
Fixed bug relating to historical pricing
...
Fixes #681
2012-03-18 02:33:25 -05:00
John Wiegley
47d7f5a43b
Fix problem with -H and lack of pricing info
...
Fixes #691
2012-03-18 02:25:14 -05:00
John Wiegley
f9088f8836
Added --verify-memory and missing TRACE_[CD]TOR calls
2012-03-18 01:01:30 -05:00
John Wiegley
e7d26d53cf
Whitespace fix
2012-03-18 00:14:49 -05:00
John Wiegley
09cf0cbb2a
Change some #if guards to test for gcc 4.7
2012-03-17 23:14:17 -05:00
John Wiegley
bc31e4838b
Fixed #711 : Parsing of alias directive
2012-03-17 07:02:03 -05:00
John Wiegley
f96a205c03
Make --days-of-week an alias for --dow
2012-03-17 05:55:11 -05:00
John Wiegley
22c1b867f0
Added option --day-break
2012-03-17 05:27:43 -05:00
John Wiegley
00ff141ee7
Always close the last report output stream
...
Should fix #701
2012-03-16 15:31:30 -05:00
John Wiegley
6305855997
Don't allow trailing ws in abbrev. account segments
...
Fixes #358
2012-03-16 05:30:34 -05:00
John Wiegley
2605d8a711
Improved error reporting for bad account names
...
Fixes #374
2012-03-16 04:29:35 -05:00
John Wiegley
7462d09b21
Correct parsing of automated xact expressions
...
Fixes #458
2012-03-16 04:09:21 -05:00
John Wiegley
20c076dff9
Improved error reports about leading whitespace
2012-03-16 03:50:40 -05:00
John Wiegley
49ec40a939
pricedb was outputting redundant prices
...
Fixes #704
2012-03-16 03:09:13 -05:00
John Wiegley
11067d9cc6
Unexpected initial whitespace is an error (again)
...
Fixes #565
2012-03-16 02:39:42 -05:00
John Wiegley
a49e33a8ce
Don't add price exchanges for a commodity itself
...
Fixes #703
2012-03-16 01:00:20 -05:00
John Wiegley
610a3e1709
Don't map_prices if price commodity matches source
...
Fixes #680
2012-03-15 04:58:53 -05:00
John Wiegley
37347bad56
Add experimental support for select queries
2012-03-13 10:35:08 -05:00
John Wiegley
c4e942fcb1
Change abbrev_len to int(abbrev_len)
2012-03-13 10:34:51 -05:00
John Wiegley
70941cbd4a
Added to_string(std::size_t)
2012-03-13 10:34:26 -05:00
John Wiegley
a9c387377b
Made join_args() a global function
2012-03-13 10:34:16 -05:00
John Wiegley
927d404ad5
Added a syntax error check
2012-03-13 10:33:59 -05:00
John Wiegley
e65fc729bc
Made split_cons_expr a global function
2012-03-13 10:33:51 -05:00
John Wiegley
c8dd3d28e3
Added --time-report option
...
This is a rather basic option at the moment which only affects the
balance report. I use it as follows, for entering contractor hours into
a project planning application, where $1 is the contractor's timelog
file, and $2 is the date after which new entries appear in the file:
ledger -f $1 balance \
--account=payee \
--time-report \
-d "latest > [$2]" \
--datetime-format='%m/%d/%y %I:%M %p'
2012-03-13 03:45:06 -05:00
John Wiegley
2932e05c18
Account valexprs: earliest_checkin, latest_checkout
...
Lets you access the earliest/latest checkin/checkout times for timelog
entries in an account. Will be NULL if the account doesn't contain any.
2012-03-13 03:42:11 -05:00
John Wiegley
cfe8142b2b
Access to checkin/checkout of timelog entries
2012-03-13 03:41:00 -05:00
John Wiegley
cb317f9d39
Added format_datetime valexpr function
2012-03-13 03:40:16 -05:00
John Wiegley
f35f68823a
The anonymizer wasn't properly setting the journal
2012-03-13 00:04:44 -05:00
John Wiegley
dcd83203e6
posts_commodities_iterator wasn't setting the journal
2012-03-13 00:04:31 -05:00
John Wiegley
59cbcf703c
post_t's copy constructor wasn't copying xdata_
2012-03-13 00:03:56 -05:00
John Wiegley
72fc1824d0
dijkstra_shortest_paths should never return a reverse path
2012-03-12 23:04:16 -05:00
John Wiegley
098f3d45d7
Fixed speed issue with commodities reports
2012-03-12 22:38:52 -05:00
John Wiegley
be289fba1f
Fixed a few bugs related to apply directives
2012-03-12 22:38:36 -05:00
John Wiegley
cf67fcbd06
Resolved a huge performance issue with 'pricedb'
2012-03-12 05:48:10 -05:00
John Wiegley
ed42a7ebfe
Allow payee names to contain multiple spaces
2012-03-12 05:48:10 -05:00
John Wiegley
fb2e80406f
Ignore all trailing whitespace in Ledger journals
2012-03-12 05:48:10 -05:00
John Wiegley
8fe68c5fc3
Guarded against unreachable code warnings
2012-03-11 05:27:13 -05:00
John Wiegley
a2b6a81cae
DO_VERIFY() was always true in optimized builds
2012-03-11 05:15:56 -05:00
John Wiegley
fcc68a0041
Critical fix to temporary destruction order
2012-03-11 05:09:06 -05:00
John Wiegley
62c04deb87
Quieted several compiler warnings from Clang
2012-03-11 05:08:55 -05:00
John Wiegley
020de80f60
Make sure not to free global_scope unless --verify
2012-03-11 04:55:51 -05:00
John Wiegley
234348f7fa
Fixed a bug that was breaking optimized builds
2012-03-11 04:30:08 -05:00
John Wiegley
aebf77d5b4
Don't clean up at end if not needed
2012-03-11 04:27:11 -05:00
John Wiegley
fad24d40f7
When --percent is used, disable --decimal-comma after parsing
...
Fixes #674
2012-03-11 04:02:52 -05:00
John Wiegley
d93c5a7d43
Corrected a typo
2012-03-11 04:02:25 -05:00