John Wiegley
cd50fe0547
More improvements to nail_down; fixes #715
2012-03-19 00:41:32 -05:00
John Wiegley
f9088f8836
Added --verify-memory and missing TRACE_[CD]TOR calls
2012-03-18 01:01:30 -05:00
John Wiegley
f96a205c03
Make --days-of-week an alias for --dow
2012-03-17 05:55:11 -05:00
John Wiegley
37347bad56
Add experimental support for select queries
2012-03-13 10:35:08 -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
cb317f9d39
Added format_datetime valexpr function
2012-03-13 03:40:16 -05:00
John Wiegley
cf67fcbd06
Resolved a huge performance issue with 'pricedb'
2012-03-12 05:48:10 -05:00
John Wiegley
62c04deb87
Quieted several compiler warnings from Clang
2012-03-11 05:08:55 -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
363670d35b
Tighten up argument passing related to fn_market()
2012-03-11 03:55:25 -05:00
John Wiegley
2303aa993c
Allow balances to be passed to nail_down
...
Fixes #679
2012-03-11 03:06:50 -05:00
John Wiegley
0d9d845338
Corrected a rounding error in nail_down
...
Fixes #678
2012-03-11 03:06:03 -05:00
John Wiegley
6ddd935e4a
--percent now plays well with -X and -V
2012-03-10 21:58:43 -06:00
John Wiegley
2a4d7e1af0
Added --immediate option
2012-03-10 21:58:28 -06:00
John Wiegley
860610fdaf
Added --dc option, for debit/credit style reports
2012-03-10 21:34:51 -06:00
John Wiegley
7b45a664f2
Make --lot-notes the primary name, not --lot-tags
2012-03-10 21:33:31 -06:00
John Wiegley
02225a014a
Give a better error when sequences are mis-indexed
2012-03-10 21:32:38 -06:00
John Wiegley
50f202c4e8
Make --lot-notes a synonym for --lot-tags
2012-03-10 01:01:26 -06:00
John Wiegley
77e9e3bfb9
Allow --budget-format to be used
2012-03-09 14:11:13 -06:00
John Wiegley
318b5f49ff
Fixed the behavior of fn_nail_down
2012-03-09 07:02:53 -06:00
John Wiegley
59f5ebe2df
Reworked the way that options are handled
2012-03-09 03:51:53 -06:00
John Wiegley
9f81c798ee
fn_market can now accept a commodity name for arg 0
2012-03-08 01:08:08 -06:00
John Wiegley
113fb0ee6a
Added --historical option
2012-03-08 01:00:16 -06:00
John Wiegley
21e8b7f6f0
Added nail_down() for pinning market value exprs
2012-03-08 00:55:06 -06:00
John Wiegley
b1107f85ae
Removed value_t::price and balance_t::price
2012-03-07 10:32:24 -06:00
John Wiegley
b6adc8f460
Use unique_ptr instead of std::auto_ptr
2012-03-05 17:46:42 -06:00
John Wiegley
477a9106e3
Prettified some code in report.cc
2012-03-05 17:45:45 -06:00
John Wiegley
dc9ecc600a
Guard against double-freeing of report objects
2012-03-05 15:17:59 -06:00
John Wiegley
5d8cb30774
Implemented first cut at price conversion logic
2012-03-05 05:03:52 -06:00
John Wiegley
48ab6ad1db
Switched to using Boost.Graph for commodity pricing
2012-03-05 05:03:52 -06:00
John Wiegley
58d912827d
Make --value a synonym for market
2012-03-05 05:03:51 -06:00
John Wiegley
4406155475
Make --change a synonym for --gain
2012-03-05 05:03:51 -06:00
John Wiegley
e2afc783db
Increased file copyrights to 2012
2012-02-29 22:32:23 -06:00
John Wiegley
656e46e182
Renamed actual/effective dates to primary/auxiliary
2012-02-28 03:02:16 -06:00
John Wiegley
aa9b07d79b
Added --rich-data for 'convert', and SHA1 checksum checking
2012-02-26 15:45:15 -06:00
John Wiegley
4a18317e7c
Added --auto-match option, for use with 'convert'
2012-02-26 02:16:09 -06:00
John Wiegley
c47350dce9
Corrected handling of nested definitions
2012-02-21 03:53:00 -06:00
John Wiegley
c3a9a7d2c5
Fixed many Clang type conversion warnings with static_cast
2012-02-17 15:17:52 -06:00
John Wiegley
41971c97dd
Use value_t::to_long()
2012-02-17 15:17:05 -06:00
John Wiegley
8c4e145c57
Added round() and unround() valexpr functions
2011-10-24 15:22:18 -05:00
John Wiegley
f0791bbd72
Cleanup whitespace
2011-08-18 14:48:38 -04:00
John Wiegley
add6f6ca2a
Removed unused variables
2011-08-18 14:46:36 -04:00
John Wiegley
cf35984971
Use Boost iterator_facade to create new iterators
2011-07-19 23:29:41 -05:00
John Wiegley
c2b5b1a516
Whitespace corrections
2011-02-10 23:00:41 -05:00
John Wiegley
2208ac1226
Fixes for compilation as C++0x code
2011-02-04 22:39:41 -05:00
John Wiegley
958a61ede5
New command: org, for displaying Org-mode tables
2010-12-22 15:34:06 -05:00
John Wiegley
dafe7c891a
Added "top_amount" value expr function
2010-12-22 15:32:34 -05:00
John Wiegley
e162455ebb
Minor simplifications to valexpr parser
...
The most significant change is the way CONS sequences are parsed, and
that now instead of =/:=, the operators are ==/=.
2010-09-05 01:38:47 -04:00
John Wiegley
61fcfd0698
The "print" valexpr function no longer adds spaces
2010-06-26 01:08:23 -04:00
John Wiegley
8a29c03490
Added "format" value expression function
...
This function evaluates formatting strings, returning a string. For
example:
format("%(amount)")
This is equivalent to "to_string(amount)".
2010-06-24 20:37:31 -04:00