John Wiegley
d1444f4c97
Fixed a reference to HAVE_EDIT
2012-05-20 18:17:12 -05:00
John Wiegley
a916ed87bc
Guard against an incorrect use of assert()
2012-05-20 15:31:49 -05:00
John Wiegley
2345f48094
Changed all ASSERTS_ON -> !NO_ASSERTS
2012-05-20 15:25:10 -05:00
John Wiegley
1b1c7cd4ac
A few more CMake-related fixes
2012-05-20 15:23:52 -05:00
John Wiegley
a9bdcc3301
Work around collision between Format's put & Graph
2012-05-20 15:03:22 -05:00
John Wiegley
4681e58d7f
Converted the Ledger build system to use CMake
2012-05-20 04:48:05 -05:00
John Wiegley
a38ed141c1
Switched to Boost.PropertyTree for XML generation
2012-05-18 01:31:01 -06:00
John Wiegley
c8f58ea686
Added support for building with Clang and libc++ in C++11
2012-04-28 05:23:36 -05:00
John Wiegley
878afc6d47
Added 'lowered' helper function
2012-04-04 02:26:50 -05:00
John Wiegley
70941cbd4a
Added to_string(std::size_t)
2012-03-13 10:34:26 -05:00
John Wiegley
a2b6a81cae
DO_VERIFY() was always true in optimized builds
2012-03-11 05:15:56 -05:00
John Wiegley
c62ceeef5a
Added to_string() and operator+(const char *, string)
2012-03-09 01:28:51 -06:00
John Wiegley
150ca971ad
Call boost::regex, not boost::make_regex
2012-03-07 03:38:24 -06:00
John Wiegley
e2afc783db
Increased file copyrights to 2012
2012-02-29 22:32:23 -06:00
John Wiegley
d3d13329d9
Made the --debug option's argument a regex
2012-02-28 01:37:19 -06:00
John Wiegley
0759071565
Another fix for Boost.Filesystem v3
2011-03-25 16:42:49 -04:00
John Wiegley
8388baafd3
Support Boost 1.46 and Boost.Filesystem v3
2011-02-28 16:24:15 -05:00
John Wiegley
0f8e0251f4
Fixed a bug preventing g++ 4.6 from working
2011-02-04 22:53:22 -05:00
John Wiegley
2208ac1226
Fixes for compilation as C++0x code
2011-02-04 22:39:41 -05:00
John Wiegley
c9730d781c
Fixed compiler warnings when building with Clang
2011-02-04 03:07:47 -05:00
John Wiegley
968a6f3c0a
Changes for building with Visual Studio 2008
2010-06-15 05:14:00 -04:00
John Wiegley
dea2aed0b5
Untabified all source files
2010-06-11 17:02:25 -04:00
John Wiegley
1417b40fdf
Enabled timers and logging in NDEBUG builds
2010-06-05 04:49:10 -04:00
John Wiegley
b848ace768
Allow opt -NDEBUG build to complete without warnings
2010-06-04 06:02:00 -04:00
John Wiegley
93e0d8c67a
Abstracted an sha1sum() function
2010-03-06 00:57:56 -05:00
John Wiegley
ab416f759f
Updated copyrights to 2003-2010
2010-03-05 22:14:10 -05:00
John Wiegley
b06df8533b
Added ledger::string(Iter, Iter) constructor
2009-11-17 21:28:56 -05:00
John Wiegley
ef3adb5fe0
Move a typedef in utils.h
2009-11-12 15:43:58 -05:00
John Wiegley
31f85cc803
Use ledger::string only if VERIFY_ON or BOOST_PYTHON
2009-11-11 18:02:47 -05:00
John Wiegley
ac885a9075
All strings passed to Python are now Unicode objects
2009-11-10 18:44:08 -05:00
John Wiegley
6cdb79e2a6
XML reporting now works via the "xml" command
2009-11-09 03:42:35 -05:00
John Wiegley
2c80227339
Added basic foundation for XML reporting
2009-11-09 02:17:26 -05:00
John Wiegley
394c7bd8df
Removed a bunch of empty comments
2009-11-08 14:59:11 -05:00
John Wiegley
817f1ae161
std::string now only intercepted if STRING_VERIFY_ON
2009-11-05 02:27:42 -05:00
John Wiegley
b14c814fec
Whitespace fix
2009-11-04 20:40:42 -05:00
John Wiegley
e182f01de1
Parse \n and such in all strings read with READ_INTO
2009-10-31 03:07:28 -04:00
John Wiegley
a757b19f51
Added serialization methods for most type
...
This allows journal_t objects to be completed serialized to disk and
deserialized.
2009-10-30 18:06:37 -04:00
John Wiegley
ddfd00afe1
Made the id function available in post contexts
2009-10-27 04:00:59 -04:00
John Wiegley
feff681f44
Improved argument parsing logic used by the REPL
...
It now handles quoted strings, although it doesn't understand escape
sequences yet.
2009-10-26 17:17:01 -04:00
John Wiegley
26ae1fdfad
New valexpr functions: id, idstring, magnitude
...
id returns a unique SHA1 id of a transaction.
idstring is the string that the SHA1 is based on.
magnitude is the sum of the positive side of a transaction.
2009-10-25 05:01:47 -04:00
John Wiegley
588f2ef2f5
Fixed many compiler warnings from g++ 4.4
2009-10-25 05:01:39 -04:00
John Wiegley
110f0b8023
Enabled use of pre-compiled headers by default
2009-03-10 17:02:03 -04:00
John Wiegley
c11d325712
Reduced the #include dependency tree to a minimum
2009-03-04 23:53:43 -04:00
John Wiegley
38122c2224
Corrected warnings g++-4.3.3 was complaining about
2009-02-28 04:54:54 -04:00
John Wiegley
238bd7f8a5
Marked all strings needing internationalization
...
These strings are now collected automagically in the file po/ledger.pot.
If you'd like to produce a translation, just run this command after
building Ledger:
msginit -l LOCALE -o LANG.po -i po/ledger.pot
Where LOCALE is a string like de or en_GB, and LANG is a short
descriptive word for your language.
Then send me this .po file so I can commit it to the Ledger sources
(alternatively, you could maintain the file in a fork on GitHub), and
setup the build script to format and install your new message catalog
during a "make install".
2009-02-25 03:51:42 -04:00
John Wiegley
944c63e6f2
The Great Renaming, Part II
...
The last commit did not contain the majority of changes because of a
slight mishap. This contains the real changeset.
2009-02-23 19:07:30 -04:00
John Wiegley
ea75613760
--exchange option now accepts multiple commodities
...
They must be separated by a comma, and all whitespace is ignored.
2009-02-22 17:51:11 -04:00
John Wiegley
bc2983928d
Compilation verification code only with debugging
...
Previously, --verify would work even if the sources were built with
default options. However, in the interests of performance, --verify is
now only available if --enable-debug was passed to configure.
2009-02-16 17:15:52 -04:00
John Wiegley
6f2e3b8864
Properly handle UTF-8 characters in commodity strings.
2009-02-12 02:34:39 -04:00
John Wiegley
4a28e1765c
Fixed some #include ordering issues.
2009-02-07 19:36:51 -04:00