Commit graph

1485 commits

Author SHA1 Message Date
John Wiegley
5abbf44583 Corrected copy of format_t objects
Copying of sub-elements was causing pointer overlap.
2012-03-05 05:03:53 -06:00
John Wiegley
3ea5d88eb3 The last test is closer to working now 2012-03-05 05:03:52 -06:00
John Wiegley
8d6bf11334 All tests are working again but one 2012-03-05 05:03:52 -06:00
John Wiegley
5d8cb30774 Implemented first cut at price conversion logic 2012-03-05 05:03:52 -06:00
John Wiegley
e910878312 Changes to get all the code to compile 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
c8c2a17e28 Fixed invocation of lambda expressions
foo = x, y, z -> print(x, y, z)
  foo(1, 2, 3)

However, this still does not work:

  (x, y, z -> print(x, y, z))(1, 2, 3)
2012-03-05 05:03:51 -06:00
John Wiegley
35ace8816a Improvements to format parsing
Fixes #337
2012-03-02 10:58:16 -06:00
John Wiegley
8b9b9e9e72 Removed an old comment 2012-03-02 10:18:42 -06:00
John Wiegley
4e4cbc6f1e Removed unneeded code 2012-03-02 01:49:07 -06:00
John Wiegley
ddba59b703 This now works: ledger --import os eval 'os.path.isdir("/tmp")' 2012-03-02 01:36:58 -06:00
John Wiegley
a125f24d29 Allow --options to be added by the user in Python 2012-03-01 23:40:02 -06:00
John Wiegley
cfd7ffb126 Provide more context if a valexpr function call fails 2012-03-01 22:20:38 -06:00
John Wiegley
4e37748999 Re-enabled some necessary code 2012-03-01 22:09:42 -06:00
John Wiegley
7a141edb49 Propagate out parsing context counts 2012-03-01 22:09:17 -06:00
John Wiegley
0e81c60d70 Fixed a typo 2012-03-01 21:33:27 -06:00
John Wiegley
a3a877284a Was missing an assignment of context.scope 2012-03-01 21:18:49 -06:00
John Wiegley
72b1a948de Fixes to value_t to Python conversion 2012-03-01 17:45:25 -06:00
John Wiegley
f6c087cfe4 Added a new 'python' directive 2012-03-01 17:32:51 -06:00
John Wiegley
ff89cb9c4d Fixed a bug that was causing includes to crash
Fixes #661
2012-03-01 16:22:08 -06:00
John Wiegley
e493a3859c Use filesystem::complete not absolute with Boost < 1.46 2012-03-01 15:09:39 -06:00
John Wiegley
9ec9cdf41e Started writing Python unit tests 2012-03-01 05:50:07 -06:00
John Wiegley
944e580825 Refactored the notion of "the current parsing context" 2012-03-01 03:31:28 -06:00
John Wiegley
e2afc783db Increased file copyrights to 2012 2012-02-29 22:32:23 -06:00
John Wiegley
8021955292 Removed incorrect session.h include in textual.cc 2012-02-29 22:12:24 -06:00
John Wiegley
6989b0748b Fixed Python initialization problem with --import 2012-02-29 22:12:07 -06:00
John Wiegley
8013e09129 Added STR() utility function 2012-02-29 22:11:55 -06:00
John Wiegley
eac84f5e21 Removed comment that no longer made sense 2012-02-29 22:11:40 -06:00
John Wiegley
520ece2164 Fixed problem with the Python build 2012-02-29 14:43:16 -06:00
John Wiegley
5517871144 Corrected problem with parsing of leap days 2012-02-28 21:19:36 -06:00
John Wiegley
9376b0f7b6 Corrected behavior of >= and <= 2012-02-28 04:02:24 -06:00
John Wiegley
f4a8f6b248 XML account output now generates a <fullname> tag 2012-02-28 03:38:42 -06:00
John Wiegley
6cbceb8928 Apply timelog time to the check-in day
Fixes #546
2012-02-28 03:18:58 -06:00
John Wiegley
52bca153dd Change occurrences of auxiliary_date to just aux_date 2012-02-28 03:05:35 -06:00
John Wiegley
656e46e182 Renamed actual/effective dates to primary/auxiliary 2012-02-28 03:02:16 -06:00
John Wiegley
7a55c7ffc1 Allow xact notes on periodic transactions
Fixes #448
2012-02-28 02:47:22 -06:00
John Wiegley
6adfcc8469 Rewrite the way interval reports are generated 2012-02-28 02:34:37 -06:00
John Wiegley
887f429ae4 Added debug code for debugging interval reports 2012-02-28 01:37:29 -06:00
John Wiegley
d3d13329d9 Made the --debug option's argument a regex 2012-02-28 01:37:19 -06:00
John Wiegley
fc62402c60 Fixed nasty problem related to interval reporting 2012-02-28 00:08:39 -06:00
John Wiegley
6d04f60573 Fixed display problem in an error message 2012-02-28 00:08:21 -06:00
John Wiegley
acb3c57332 Correctly elide amount sometimes in "print" 2012-02-27 22:48:02 -06:00
John Wiegley
07137cc042 'end apply' doesn't need a qualifier 2012-02-27 12:39:12 -06:00
John Wiegley
440371d296 Added a TODO comment 2012-02-27 12:39:00 -06:00
John Wiegley
268127cf11 Added 'note' sub-directive to 'commodity' 2012-02-27 12:38:51 -06:00
John Wiegley
bee748cc93 Added a TODO comment 2012-02-27 12:38:39 -06:00
John Wiegley
d51d33d788 Added some missing variable names 2012-02-27 12:38:23 -06:00
John Wiegley
196816d5aa Added a TODO comment 2012-02-27 12:38:14 -06:00