John Wiegley
ed0deb95c2
Strip \r from all lines read.
2008-07-17 18:31:36 -04:00
John Wiegley
a210e8ba56
Fixed several issues with clocking out in a timelog, which was leading to an
...
invalid memory access.
2008-07-17 18:08:22 -04:00
John Wiegley
78813fc616
Rather than just aborting, report an intelligent error if the comma operator
...
is missing one of its operands in a value expression. This kind of reporting
still needs to be done for all the other operators as well.
2008-07-17 17:49:08 -04:00
John Wiegley
6815aac361
Removed unnecessary assert.
2008-07-17 17:44:26 -04:00
John Wiegley
a2e16273f6
Check whether this_bal actually finds a matching commodity value, otherwise
...
it's a divide by zero.
2008-07-17 17:37:03 -04:00
John Wiegley
95f323f137
Added several more date/time fixes from Nathan Jones. Fixes #49 .
2008-07-17 06:19:40 -04:00
John Wiegley
f482d120fd
Correct several glaring issues with interval_t and the date parser, which has
...
all but entirely ruined Ledger's date handling capabilities.
2008-07-17 06:12:32 -04:00
John Wiegley
0f83b9f0c3
Moved the sequencing of a call to node.reset, since the intervening expression
...
can throw an exception which would leave us with an unexpected NULL pointer.
2008-07-17 06:12:04 -04:00
John Wiegley
45f6aa3f93
Reverted changes to option.cc in commit 2bdafd71, since I do not want to
...
change the exclusive (as opposed to inclusive) behavior of -e DATE.
2008-07-17 05:02:36 -04:00
John Wiegley
4eaad4f332
Removed incorrect statement about there being no Emacs mode for Ledger. Fixes
...
#10 .
2008-07-16 03:59:49 -04:00
John Wiegley
f3b182ca80
Patch from Nathan Jones so that trailing whitespace after account names in a
...
transaction with no amount is not parsed as a special name. Fixes #3 .
2008-07-16 03:54:50 -04:00
John Wiegley
0e54ef9c08
Added COPYING and TAGS to the ignore list.
2008-07-13 22:50:33 -04:00
John Wiegley
7ddb1415b6
Added #include lines for building on Debian lenny.
2008-07-13 22:50:21 -04:00
Nathan Jones
885355f367
Fix compile errors with gcc 4.3
2008-05-23 01:29:12 -06:00
Nathan Jones
780135281d
Fix compile errors with gcc 4.3
2008-05-20 17:13:34 -06:00
John Wiegley
ac63dcfc06
Added TAGS file to the ignore list
2008-05-20 17:12:41 -06:00
John Wiegley
2ead28363a
Most things are building, but not the Python code
2008-05-12 05:10:08 -04:00
John Wiegley
6f345c6578
Changed PYTHON_HOME path in acprep
2008-05-11 20:50:13 -04:00
John Wiegley
83b052e744
Use git-describe to determine the current Ledger source version.
2008-05-11 20:50:12 -04:00
John Wiegley
53b9ec2f0c
Renamed configure.in to configure.tmpl.
...
Added configure.in file to the ignore list.
2008-05-11 20:50:12 -04:00
John Wiegley
daee971cbc
Got the unit tests compiling again (though not running yet).
2008-05-09 05:17:44 -04:00
John Wiegley
d159501993
The code is compiling again, but it's far from being able to run yet.
2008-05-08 02:50:19 -04:00
John Wiegley
7ecbf3e125
Added full copyright notice.
2008-05-08 02:50:19 -04:00
John Wiegley
b45037e334
Migrated over both code and build environment from was-v3.0 branch.
2008-05-08 02:50:19 -04:00
John Wiegley
289cc97d45
Exchanged old test files for the new testing code in was-v3.0.
2008-05-08 02:50:18 -04:00
John Wiegley
627769ccc8
Changed from using .cvsignore to .gitignore.
2008-05-08 02:50:05 -04:00
John Wiegley
225338d784
option.cc: Include unistd.h, to pull in the prototype for access(). This was
...
preventing OpenBSD 4 from building.
acprep (CXXFLAGS): Don't use the compile flag -Wno-long-double except on OS X.
2008-05-07 04:19:37 -04:00
John Wiegley
9fb55716c0
Updated ChangeLog.
2008-05-07 03:43:00 -04:00
John Wiegley
ef2dac2b50
datetime.h (class date_t, operator-): [ #34 ] Changed two methods to allow
...
compiling under FreeBSD 8. Functionality was not changed.
2008-05-07 03:40:52 -04:00
John Wiegley
7603e3f8f2
Updated the build process in acprep and configure.in to run without issues,
...
and to work with the Buildbot.
2008-05-07 03:40:52 -04:00
John Wiegley
67b257a441
[ #31 ] Escaped some @-symbols in the Texi file which were not properly escaped.
2008-05-07 03:40:47 -04:00
John Wiegley
c4ae3355bb
Restored a missing history note re: v2.4.1.
2008-05-07 01:35:48 -04:00
John Wiegley
c31089e884
Updated the ChangeLog to reflect the repository's entire history.
2008-05-02 14:32:33 -04:00
John Wiegley
fcae023196
Reverted the master branch back to the state of v2.6.0.90, because I intend to
...
be much more thorough about what gets commited to the master and why. This
will still be the branch where new work will be checked in, but only after
thorough review in a development branch.
2008-05-02 01:24:29 -04:00
John Wiegley
4d9339a08a
Support the --local option to acprep, which says not to use ~/Products.
2008-04-24 00:34:19 -04:00
John Wiegley
cb0a436d94
Fixed acprep so that it builds Ledger again. Somehow it got completely
...
broken at some point.
2008-04-20 19:34:25 -04:00
John Wiegley
7dd43dd334
Restored a missing history note re: v2.4.1.
2008-04-13 22:31:37 -04:00
John Wiegley
671ccd16d4
Added a class operator hack to allow building on FreeBSD 8.
2008-04-13 06:04:24 -04:00
John Wiegley
22a920867b
changes
2008-04-13 05:49:22 -04:00
John Wiegley
5eb8e02451
Always initialize tm_isdst to -1.
2008-04-13 05:48:45 -04:00
John Wiegley
46887bad42
Fixed a possible memory corruption bug (rare).
2008-04-13 05:48:45 -04:00
John Wiegley
f60717d3f4
*** no comment ***
2008-04-13 05:48:45 -04:00
John Wiegley
7adb262823
*** no comment ***
2008-04-13 05:48:45 -04:00
John Wiegley
86a6af6974
*** no comment ***
2008-04-13 05:48:44 -04:00
John Wiegley
80c472733b
*** no comment ***
2008-04-13 05:48:44 -04:00
John Wiegley
022594bb2f
*** no comment ***
2008-04-13 05:48:44 -04:00
John Wiegley
fd3ae9b4dd
*** no comment ***
2008-04-13 05:48:44 -04:00
John Wiegley
3030e604f4
Don't cleanup commodities if Ledger was built in release mode.
2008-04-13 05:48:44 -04:00
John Wiegley
e13d017255
(DEF_VALUE_CMP_OP): Convert amounts to balance and balance_pair when
...
comparing with those types.
2008-04-13 05:48:44 -04:00
John Wiegley
d0158a80ea
*** no comment ***
2008-04-13 05:48:44 -04:00