ledger/src
Alexis Hildebrandt 6a5d6a88cd Fix crash when accessing the transaction code via post.xact.code using python
ledger would abort with the following error message:
  TypeError: No Python class registered for C++ class boost::optional<std::string>

The changes pass a CallPolicy to make_getter when adding the transaction
code property for python, so that the correct to_python conversion is
made. For details see:
http://www.boost.org/doc/libs/1_52_0/libs/python/doc/v2/faq.html#topythonconversionfailed
2012-11-19 23:00:58 +01:00
..
account.cc Resolve account.date to latest post in the account 2012-08-09 16:56:53 -05:00
account.h Converted the Ledger build system to use CMake 2012-05-20 04:48:05 -05:00
amount.cc Bug 634 and 488, Corrected behavior of floor, and added ceiling 2012-10-25 22:28:26 -07:00
amount.h Bug 634 and 488, Corrected behavior of floor, and added ceiling 2012-10-25 22:28:26 -07:00
annotate.cc Converted the Ledger build system to use CMake 2012-05-20 04:48:05 -05:00
annotate.h Converted the Ledger build system to use CMake 2012-05-20 04:48:05 -05:00
archive.cc Converted the Ledger build system to use CMake 2012-05-20 04:48:05 -05:00
archive.h Converted the Ledger build system to use CMake 2012-05-20 04:48:05 -05:00
balance.cc Switched to Boost.PropertyTree for XML generation 2012-05-18 01:31:01 -06:00
balance.h Bug 634 and 488, Corrected behavior of floor, and added ceiling 2012-10-25 22:28:26 -07:00
chain.cc Allow the equity command to strip annotations 2012-03-19 04:18:56 -05:00
chain.h Critical fix to temporary destruction order 2012-03-11 05:09:06 -05:00
CMakeLists.txt Also using Clang's PCH with my "cxx" compiler 2012-05-27 03:02:42 -05:00
commodity.cc Converted the Ledger build system to use CMake 2012-05-20 04:48:05 -05:00
commodity.h Converted the Ledger build system to use CMake 2012-05-20 04:48:05 -05:00
compare.cc Increased file copyrights to 2012 2012-02-29 22:32:23 -06:00
compare.h Increased file copyrights to 2012 2012-02-29 22:32:23 -06:00
context.h Always store absolute paths internally 2012-08-02 16:13:58 -05:00
convert.cc Switch to using Boost.Format 2012-05-14 21:44:00 -06:00
convert.h Increased file copyrights to 2012 2012-02-29 22:32:23 -06:00
csv.cc fix account mapping in csv conversion 2012-10-18 13:45:40 -07:00
csv.h Always call TRACE_CTOR at the end of constructors 2012-03-20 02:10:40 -05:00
draft.cc Converted the Ledger build system to use CMake 2012-05-20 04:48:05 -05:00
draft.h Resolve some issues with proof builds 2012-04-15 01:17:01 -05:00
emacs.cc Increased file copyrights to 2012 2012-02-29 22:32:23 -06:00
emacs.h Increased file copyrights to 2012 2012-02-29 22:32:23 -06:00
error.cc Switch to using Boost.Format 2012-05-14 21:44:00 -06:00
error.h Switch to using Boost.Format 2012-05-14 21:44:00 -06:00
expr.cc Switch to using Boost.Format 2012-05-14 21:44:00 -06:00
expr.h Converted the Ledger build system to use CMake 2012-05-20 04:48:05 -05:00
exprbase.h Converted the Ledger build system to use CMake 2012-05-20 04:48:05 -05:00
filters.cc fix comment in display_filter_posts::output_rounding(post_t) 2012-11-06 12:31:01 +00:00
filters.h Converted the Ledger build system to use CMake 2012-05-20 04:48:05 -05:00
flags.h Converted the Ledger build system to use CMake 2012-05-20 04:48:05 -05:00
format.cc Converted the Ledger build system to use CMake 2012-05-20 04:48:05 -05:00
format.h Always call TRACE_CTOR at the end of constructors 2012-03-20 02:10:40 -05:00
generate.cc Switch to using Boost.Format 2012-05-14 21:44:00 -06:00
generate.h Increased file copyrights to 2012 2012-02-29 22:32:23 -06:00
global.cc Fixes Bug 695, ledger ignores --init-file 2012-10-25 10:39:48 -07:00
global.h Fixes Bug 695, ledger ignores --init-file 2012-10-25 10:39:48 -07:00
history.cc Fix compilation warning: ensure a destructor is properly defined to avoid 2012-08-14 01:23:32 -04:00
history.h Fix compilation warning: ensure a destructor is properly defined to avoid 2012-08-14 01:23:32 -04:00
item.cc Added filebase and filepath values 2012-10-23 14:10:19 -07:00
item.h Converted the Ledger build system to use CMake 2012-05-20 04:48:05 -05:00
iterators.cc Converted the Ledger build system to use CMake 2012-05-20 04:48:05 -05:00
iterators.h Always call TRACE_CTOR at the end of constructors 2012-03-20 02:10:40 -05:00
journal.cc Switch to using Boost.Format 2012-05-14 21:44:00 -06:00
journal.h Converted the Ledger build system to use CMake 2012-05-20 04:48:05 -05:00
lookup.cc Converted the Ledger build system to use CMake 2012-05-20 04:48:05 -05:00
lookup.h Increased file copyrights to 2012 2012-02-29 22:32:23 -06:00
main.cc Guard against global_scope being NULL 2012-10-31 14:57:19 -05:00
mask.cc Converted the Ledger build system to use CMake 2012-05-20 04:48:05 -05:00
mask.h Converted the Ledger build system to use CMake 2012-05-20 04:48:05 -05:00
op.cc Converted the Ledger build system to use CMake 2012-05-20 04:48:05 -05:00
op.h Converted the Ledger build system to use CMake 2012-05-20 04:48:05 -05:00
option.cc Switch to using Boost.Format 2012-05-14 21:44:00 -06:00
option.h Converted the Ledger build system to use CMake 2012-05-20 04:48:05 -05:00
org.cc Always call TRACE_CTOR at the end of constructors 2012-03-20 02:10:40 -05:00
org.h Increased file copyrights to 2012 2012-02-29 22:32:23 -06:00
output.cc Converted the Ledger build system to use CMake 2012-05-20 04:48:05 -05:00
output.h Increased file copyrights to 2012 2012-02-29 22:32:23 -06:00
parser.cc Switch to using Boost.Format 2012-05-14 21:44:00 -06:00
parser.h Converted the Ledger build system to use CMake 2012-05-20 04:48:05 -05:00
pool.cc Converted the Ledger build system to use CMake 2012-05-20 04:48:05 -05:00
pool.h Converted the Ledger build system to use CMake 2012-05-20 04:48:05 -05:00
post.cc Switched to Boost.PropertyTree for XML generation 2012-05-18 01:31:01 -06:00
post.h Converted the Ledger build system to use CMake 2012-05-20 04:48:05 -05:00
precmd.cc Made join_args() a global function 2012-03-13 10:34:16 -05:00
precmd.h Increased file copyrights to 2012 2012-02-29 22:32:23 -06:00
predicate.h Converted the Ledger build system to use CMake 2012-05-20 04:48:05 -05:00
print.cc right-justify amount_expr text in print report where possible 2012-11-06 12:31:01 +00:00
print.h Increased file copyrights to 2012 2012-02-29 22:32:23 -06:00
pstream.h Silenced a warning in the very latest Clang 2012-04-28 05:24:07 -05:00
ptree.cc Converted the Ledger build system to use CMake 2012-05-20 04:48:05 -05:00
ptree.h Added a "json" report command 2012-05-18 01:38:39 -06:00
py_account.cc Increased file copyrights to 2012 2012-02-29 22:32:23 -06:00
py_amount.cc Allow dates to be passed to Python value() method 2012-03-30 00:51:06 -05:00
py_balance.cc Tighten up argument passing related to fn_market() 2012-03-11 03:55:25 -05:00
py_commodity.cc Allow post.cost to work in Python 2012-03-29 15:56:05 -05:00
py_expr.cc Increased file copyrights to 2012 2012-02-29 22:32:23 -06:00
py_format.cc Increased file copyrights to 2012 2012-02-29 22:32:23 -06:00
py_item.cc Allow post.cost to work in Python 2012-03-29 15:56:05 -05:00
py_journal.cc Added --verify-memory and missing TRACE_[CD]TOR calls 2012-03-18 01:01:30 -05:00
py_post.cc Fix to Python value() method handling 2012-03-30 00:51:06 -05:00
py_session.cc Started writing Python unit tests 2012-03-01 05:50:07 -06:00
py_times.cc Increased file copyrights to 2012 2012-02-29 22:32:23 -06:00
py_utils.cc Increased file copyrights to 2012 2012-02-29 22:32:23 -06:00
py_value.cc Allow dates to be passed to Python value() method 2012-03-30 00:51:06 -05:00
py_xact.cc Fix crash when accessing the transaction code via post.xact.code using python 2012-11-19 23:00:58 +01:00
pyfstream.h Always call TRACE_CTOR at the end of constructors 2012-03-20 02:10:40 -05:00
pyinterp.cc Converted the Ledger build system to use CMake 2012-05-20 04:48:05 -05:00
pyinterp.h Converted the Ledger build system to use CMake 2012-05-20 04:48:05 -05:00
pyledger.cc Increased file copyrights to 2012 2012-02-29 22:32:23 -06:00
pyutils.h Work around collision between Format's put & Graph 2012-05-20 15:03:22 -05:00
query.cc Switch to using Boost.Format 2012-05-14 21:44:00 -06:00
query.h Always call TRACE_CTOR at the end of constructors 2012-03-20 02:10:40 -05:00
quotes.cc Converted the Ledger build system to use CMake 2012-05-20 04:48:05 -05:00
quotes.h Tighten up argument passing related to fn_market() 2012-03-11 03:55:25 -05:00
report.cc Added missing break; statement in report.cc 2012-10-26 15:46:10 -07:00
report.h Bug 634 and 488, Corrected behavior of floor, and added ceiling 2012-10-25 22:28:26 -07:00
scope.cc Switch to using Boost.Format 2012-05-14 21:44:00 -06:00
scope.h Converted the Ledger build system to use CMake 2012-05-20 04:48:05 -05:00
select.cc Converted the Ledger build system to use CMake 2012-05-20 04:48:05 -05:00
select.h Add experimental support for select queries 2012-03-13 10:35:08 -05:00
session.cc Converted the Ledger build system to use CMake 2012-05-20 04:48:05 -05:00
session.h Added option --day-break 2012-03-17 05:27:43 -05:00
stats.cc Switch to using Boost.Format 2012-05-14 21:44:00 -06:00
stats.h Increased file copyrights to 2012 2012-02-29 22:32:23 -06:00
stream.cc Increased file copyrights to 2012 2012-02-29 22:32:23 -06:00
stream.h Increased file copyrights to 2012 2012-02-29 22:32:23 -06:00
system.hh.in Removed an unnecessary #define 2012-05-20 16:06:43 -05:00
temps.cc Fix problems with <Adjustment> postings 2012-03-20 04:56:03 -05:00
temps.h Fix problems with <Adjustment> postings 2012-03-20 04:56:03 -05:00
textual.cc Corrected a typo 2012-10-31 00:14:47 -05:00
timelog.cc Added "last_checkout_cleared" valexpr variable 2012-05-07 01:53:53 -05:00
timelog.h Added "last_checkout_cleared" valexpr variable 2012-05-07 01:53:53 -05:00
times.cc Converted the Ledger build system to use CMake 2012-05-20 04:48:05 -05:00
times.h Converted the Ledger build system to use CMake 2012-05-20 04:48:05 -05:00
token.cc Switch to using Boost.Format 2012-05-14 21:44:00 -06:00
token.h Increased file copyrights to 2012 2012-02-29 22:32:23 -06:00
unistring.h Always call TRACE_CTOR at the end of constructors 2012-03-20 02:10:40 -05:00
utils.cc Don't use __has_feature in utils.cc 2012-08-02 13:11:24 -05:00
utils.h Fixed a reference to HAVE_EDIT 2012-05-20 18:17:12 -05:00
value.cc Bug 634 and 488, Corrected behavior of floor, and added ceiling 2012-10-25 22:28:26 -07:00
value.h Bug 634 and 488, Corrected behavior of floor, and added ceiling 2012-10-25 22:28:26 -07:00
views.cc Converted the Ledger build system to use CMake 2012-05-20 04:48:05 -05:00
views.h Converted the Ledger build system to use CMake 2012-05-20 04:48:05 -05:00
xact.cc Implemented Bug551 Automatic Transactions are cleared base on parent 2012-10-23 13:07:39 -07:00
xact.h Converted the Ledger build system to use CMake 2012-05-20 04:48:05 -05:00