Commit graph

1498 commits

Author SHA1 Message Date
John Wiegley
c1bf4bdf69 Moved the --abbrev-len option to report_t. 2009-02-06 23:38:12 -04:00
John Wiegley
aea84dd9c5 Added two comments, to remind myself to check something. 2009-02-06 23:37:25 -04:00
John Wiegley
cdcd52dbaf Removed the nearly unknown --descend and --descend-if options. 2009-02-06 23:36:32 -04:00
John Wiegley
909f7b1aa3 Fixed a command-line parsing bug with "account not account". 2009-02-06 23:19:24 -04:00
John Wiegley
03dcc07089 Fixed two improper uses of @example{} (should have been @code{}). 2009-02-06 22:39:21 -04:00
John Wiegley
8f883b463d Change "@begin enumerate" to "@enumerate". 2009-02-06 22:33:35 -04:00
John Wiegley
8c3369b8ab Fixed the use of --effective when an entry has no especial effective date. 2009-02-06 22:20:56 -04:00
John Wiegley
182d5df307 Extended Ledger's font-lock expression, based on code from Timothy Stotts. 2009-02-06 15:20:06 -04:00
John Wiegley
7c77a1af31 Added skeletons for new chapters to the Ledger documentation.
They still need finishing, and some of them may eventually replace some
existing chapters.
2009-02-06 14:32:29 -04:00
John Wiegley
68d5bc1f32 Added #if 0'd Python stub code from 2.x days. It needs to be ported. 2009-02-06 14:31:38 -04:00
John Wiegley
ff2f3d23d4 Added stubs for all the Python integration classes. 2009-02-06 14:26:51 -04:00
John Wiegley
0bd232bb23 Corrected a mispelled #define. 2009-02-06 14:12:10 -04:00
John Wiegley
54d5d8ada4 Removed the now unused pushvar.h file. 2009-02-06 13:45:26 -04:00
John Wiegley
cf6babcf90 Restored all the option handlers from 2.6.2, but not the options themselves. 2009-02-06 03:31:41 -04:00
John Wiegley
ecc5a1aab5 Whitespace fix. 2009-02-06 03:30:53 -04:00
John Wiegley
a085f8e9ad Only initialize the amount_t module if it hasn't been already. 2009-02-06 03:30:45 -04:00
John Wiegley
b4662911cc Added note about the dependency on graphviz for building docs. 2009-02-06 00:46:50 -04:00
John Wiegley
6aedbf4743 Removed use of sudo in the Makefile. 2009-02-06 00:46:41 -04:00
John Wiegley
d853a58f5f Moved --pager handler back into report_t. 2009-02-05 21:54:46 -04:00
John Wiegley
408b819c6e Greatly simplified the way option and command handlers are defined. 2009-02-05 21:20:09 -04:00
John Wiegley
7b24e8f8e3 Moved some files around. 2009-02-05 21:18:25 -04:00
John Wiegley
29814cfa7c Removed debugging code from the Makefile. 2009-02-05 04:36:26 -04:00
John Wiegley
edb9cff4a2 Moved work.cc and global_scope_t into a new global.cc file. 2009-02-05 04:20:49 -04:00
John Wiegley
87cfef221a Quiet down the python module build. 2009-02-05 04:20:31 -04:00
John Wiegley
0e2a3a9c00 Moved much of the main.cc code into a new global_scope_t class. 2009-02-05 04:06:58 -04:00
John Wiegley
37006741d6 Support using Ledger as a script interpretor.
The file must begin with '#!/usr/bin/env ledger --script'.  You can add a -f
option to the options, but it must come before --script.
2009-02-05 03:49:49 -04:00
John Wiegley
327fdca8f4 Display value booleans as 0 and 1. 2009-02-05 03:49:14 -04:00
John Wiegley
7f5f53de82 Quiet the make output when rebuilding TAGS. 2009-02-05 03:48:56 -04:00
John Wiegley
d029990209 Create bound scopes for locating the total expr. 2009-02-05 02:45:29 -04:00
John Wiegley
4854cead4f When recompiled an expr_t, forget old definitions. 2009-02-05 02:45:29 -04:00
John Wiegley
b7632e7475 Removed an unnused member. 2009-02-05 02:45:29 -04:00
John Wiegley
c58cd88299 Reworked how the REPL is handled. 2009-02-05 02:45:26 -04:00
John Wiegley
4f174014b9 When copying an expr_t object, don't copy the compiled state. 2009-02-05 02:45:26 -04:00
John Wiegley
de816e8307 Whitespace fix. 2009-02-05 02:45:24 -04:00
John Wiegley
db52ad86d5 Don't give an error if the init file cannot be found. 2009-02-05 02:16:43 -04:00
John Wiegley
3f960be96c Removed all references to the old binary cache. 2009-02-04 20:57:14 -04:00
John Wiegley
066aef6090 Added a repl.sh sample script to the contrib/ directory. 2009-02-04 20:52:40 -04:00
John Wiegley
f8ba4165fe Clear the master account totals after a report is done. 2009-02-04 20:46:56 -04:00
John Wiegley
7d628d88ff Moved the --pager option to the session object, rather than the report object. 2009-02-04 20:46:45 -04:00
John Wiegley
863b5d8144 Added proper handling of SIGINT (C-c) and SIGPIPE (pager quits). 2009-02-04 20:46:08 -04:00
John Wiegley
04ac5ffcb4 Whitespace fix. 2009-02-04 20:45:43 -04:00
John Wiegley
b6d83f3c23 Fixed a long-standing g++ warning. 2009-02-04 20:45:34 -04:00
John Wiegley
8029fa4fd4 Updated the README to mention libedit. 2009-02-04 20:13:41 -04:00
John Wiegley
1c1f2c63de Don't give the user an error if libedit is not installed. 2009-02-04 20:12:23 -04:00
John Wiegley
796feb2634 Added code to quit more gracefully. Ctrl-C still needs work. 2009-02-04 20:11:27 -04:00
John Wiegley
ea1e898eec Minor fixes to the REPL when using libedit. 2009-02-04 19:58:56 -04:00
John Wiegley
2d941730b1 Largely removed all of Ledger's use of global variables, for the REPL's sake. 2009-02-04 19:55:27 -04:00
John Wiegley
73cf3b01fb Added structural support in main() for using a REPL. 2009-02-04 19:55:08 -04:00
John Wiegley
b9603a1512 Moved ptristream into its own file. 2009-02-04 03:54:29 -04:00
John Wiegley
1cc33531ea Simplified the textual parser, and improved metadata support. 2009-02-04 03:34:37 -04:00