Commit graph

3090 commits

Author SHA1 Message Date
John Wiegley
b3a3ecccf2 Fixed the guard test for calling setup_for_johnw 2010-01-17 16:50:20 -05:00
John Wiegley
d176abf625 Fix for date parsing when no year is given 2010-01-16 21:12:13 -05:00
John Wiegley
2919710a82 Fix in acprep to the way Boost is found 2010-01-16 21:06:54 -05:00
John Wiegley
e3c8b91b5f Merge branch 'next' 2009-12-09 14:03:57 -05:00
John Wiegley
f1a2a5a18d Cost of a post with neg. amount should be negative 2009-12-07 21:23:50 -05:00
John Wiegley
6d0ab845ea Allow relative includes in the current directory 2009-12-07 20:43:17 -05:00
John Wiegley
12db51e6bb Merge branch 'next' 2009-11-30 16:32:06 -05:00
John Wiegley
ad1343299a Merge branch 'maint' into next 2009-11-30 16:31:22 -05:00
John Wiegley
71fe07a037 Merged in all tags, to unite development history
Merge commit 'v2.4.1';
      commit 'v2.5';
      commit 'v2.6.1';
      commit 'v2.6.2';
      commit 'cpp-rewrite-2006' into next
2009-11-30 16:29:04 -05:00
John Wiegley
26fffc375c tools/push now uses -j16 for building opt 2009-11-30 16:23:49 -05:00
John Wiegley
e8a14d31b6 Merge branch 'next' 2009-11-25 14:20:07 -05:00
Aristid Breitkreuz
a3338a2a67 Added baseline tests for unrealized options
This includes another baseline test for --unrealized, and also new ones
for --unrealized-gains and --unrealized-losses.
2009-11-25 04:50:36 -05:00
John Wiegley
72aa0e0e44 Added some debugging code related to boost::regex 2009-11-25 04:40:03 -05:00
John Wiegley
2c90c10db1 Added support for a "fixed" directive
It lets you specify a fixed cost for a duration of a ledger file, for
example:

  fixed ecu $2

  2008/01/01 income
      assets🏦checking  1 ecu
      income:salary

  end fixed

This is equivalent to:

  2008/01/01 income
      assets🏦checking  1 ecu {=$2}
      income:salary
2009-11-25 04:39:59 -05:00
John Wiegley
a7424c1df9 Added a trim() value expression function 2009-11-25 02:48:58 -05:00
John Wiegley
4141afbfae * and | now comment chars, for the sake of Org-mode 2009-11-25 02:36:32 -05:00
John Wiegley
98ea23cd59 Merge branch 'next' 2009-11-25 00:05:22 -05:00
John Wiegley
f81b563339 Fix to several pathnames in acprep 2009-11-24 22:08:41 -05:00
Aristid Breitkreuz
6df3ea10f7 Added options: --unrealized-gains and --unrealized-losses
These options allow the user to specify what accounts names should be
used for these two types of accounts.  They are optional, and default
to:

  --unrealized-gains "Equity:Unrealized Gains"
  --unrealized-losses "Equity:Unrealized Losses"

These are intended to be set in one's ~/.ledgerrc file.
2009-11-24 05:08:28 -05:00
John Wiegley
a84c42fc17 Fixed regression tests relating to b1d6ea876c 2009-11-24 04:15:21 -05:00
John Wiegley
11a217a481 Very minor but easy optimization for symbol_scope_t
Lots of symbol_scope_t throwaway objects get created during value
expression calculation, and 99% of them are never used.  Therefore, the
std::map which each contains is now within an optional<> wrapper, so
that no constructor happens unless one is actually used.
2009-11-24 04:14:34 -05:00
John Wiegley
5cd8e59652 Set CFLAGS for the libintl.a build 2009-11-24 03:39:48 -05:00
John Wiegley
b1d6ea876c Don't migrate commodity details from pricing entries 2009-11-24 03:25:46 -05:00
John Wiegley
875c5366bb Optimized Mac build of Ledger now 32-bit and 64-bit 2009-11-24 02:49:00 -05:00
John Wiegley
68c3a9cfb7 Whitespace fix 2009-11-24 01:27:54 -05:00
John Wiegley
5ff2b88690 Don't link libintl.a against the Python ledger.so 2009-11-24 00:59:40 -05:00
John Wiegley
3b49eddfe4 Moved up to Boost 1.41 2009-11-24 00:59:37 -05:00
John Wiegley
98fdb135c8 Added even more missing virtual keywords! 2009-11-22 23:13:48 -05:00
John Wiegley
f01fa1a513 Merge branch 'next' 2009-11-21 15:19:42 -05:00
John Wiegley
acb24d6d22 Added several more missing virtual keywords 2009-11-21 07:10:57 -05:00
John Wiegley
ca1d4c5311 Added a missing virtual keyword 2009-11-21 05:38:38 -05:00
John Wiegley
dcc69f3f78 Added some more notes to README-1ST 2009-11-21 02:36:17 -05:00
John Wiegley
b0b29a54c8 Default to 40 transactions per screen in server.py 2009-11-21 02:16:07 -05:00
John Wiegley
635660579c server.py now wants a query string 2009-11-21 02:12:04 -05:00
John Wiegley
9e01d3948c Removed an explicit path reference 2009-11-21 02:08:53 -05:00
John Wiegley
5d4a0a39be The Python web server now uses jQuery Tablesorter 2009-11-21 02:06:01 -05:00
John Wiegley
eab95ad55b Fixed a regression test due to changes in amount.h 2009-11-20 23:41:53 -05:00
John Wiegley
d5e957204c Fixed Ledger/Python byte vs. char Unicode bridge 2009-11-20 23:23:44 -05:00
John Wiegley
bd455c9874 Added string conversion op for amounts and balances 2009-11-20 23:23:22 -05:00
John Wiegley
92d2310548 Extended python/server.py, which now uses Cheetah 2009-11-20 23:23:05 -05:00
John Wiegley
117dddabd4 Merge branch 'next' 2009-11-20 21:33:23 -05:00
John Wiegley
4e6ec09e4d Updated test/input/sample.dat 2009-11-20 18:29:49 -05:00
John Wiegley
ef5c0b37d5 Added baseline test for "sample.dat" contents 2009-11-20 18:24:22 -05:00
Aristid Breitkreuz
87a1b1a6c3 Several changes to the sample.dat file 2009-11-20 18:08:54 -05:00
John Wiegley
8c18f66dec Don't rely on the integral value of a boolean 2009-11-20 18:03:35 -05:00
John Wiegley
aa086686ea Normalized the value() method for Python numerics 2009-11-20 17:40:15 -05:00
John Wiegley
b00e7ac19a Added more documentation to python/demo.py 2009-11-20 05:56:24 -05:00
John Wiegley
73c3aa324b Python is enabled by default if building via acprep 2009-11-19 22:24:27 -05:00
John Wiegley
4e30fcdf40 Many improvements to Ledger's Python bindings 2009-11-19 22:24:24 -05:00
John Wiegley
6e31328bd6 Updated system dependencies lists 2009-11-19 16:47:46 -05:00