Commit Graph
10097 Commits
Author SHA1 Message Date
Christian Stimming a57ed88ee0 Re-indentation of source code.
This re-indentation was done using astyle-1.24 using the following options:

 astyle --indent=spaces=4 --brackets=break --pad-oper --pad-header --suffix=none

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19627 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-10-03 12:27:44 +00:00
Christian Stimming 1f2994b1d3 Add wrapper for obtaining a list of business objects as list of owners, and add SWIG wrappers so that scheme can use it.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19625 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-10-02 14:59:33 +00:00
Christian Stimming 382d6733d7 Add a function gncBusinessGetList() that existed previously until r6680 so that a list of all customers can be obtained.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19624 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-10-02 14:59:21 +00:00
Christian Stimming e205c3fad5 Decrease number of test iterations in old engine tests - they take just way too long otherwise.
Also, nobody can actually give any reason as for why a higher number
of iterations would really cover more of our test cases. My suspicion
is that 2-3 iterations would be sufficient anyway, and only more
clever test case construction would give a larger test coverage.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19623 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-10-02 14:59:05 +00:00
Christian Stimming 62c4a0e781 Add word wrapping to very long label in dialog-tax-info
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19620 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-09-28 20:35:16 +00:00
J. Alex Aycinena c44254c424 Remove leading character N from tax code, but only if it is there, and remove leading blank character when no tax code.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19616 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-09-27 15:58:52 +00:00
Phil Longstaff ba5b74cbd9 Add kvp_frame_set_gdate() function
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19613 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-09-26 18:56:30 +00:00
Christian Stimming ff709cf863 Bug #554396: Implement a partial TXF output for capital gains
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19611 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-09-24 19:48:02 +00:00
Cristian Marchi ad617a443a Fix use of accelerator for a string.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19604 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-09-23 10:57:57 +00:00
Cristian Marchi 07c894e5a9 Fix use of accelerators for some strings.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19603 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-09-22 11:41:36 +00:00
Christian Stimming 334744d70f Enclose book kvp manipulation in begin/commit_edit in aqbanking plugin.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19600 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-09-21 19:26:49 +00:00
Christian Stimming 9238e82989 Bug #629641: Fixes WARN messages.
Bug in gncIDSearch.c causes "WARN <qof.class> [qof_class_get_parameter()] no
object of type string" to be emitted to error log.

Currently only affects Python bindings; InvoiceLookupByID(ID_STRING).

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19598 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-09-21 17:31:53 +00:00
John Ralls 866dbd0aa1 Fix typo in osx_accel_map, caused error in Accounts page Actions>Transfer accelerator
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19594 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-09-20 20:48:32 +00:00
Cristian Marchi e3d4064c78 Fixed a string not translatable.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19589 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-09-20 18:36:00 +00:00
Christian Stimming 75e9463b0a Fix addition of gnc_numeric that was wrong in r19511.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19588 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-09-20 18:08:21 +00:00
Cristian Marchi c791d53cf8 Revert to previous version for erroneous commit.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19587 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-09-20 11:01:56 +00:00
Cristian Marchi f59f361cc0 Updated Italian translation.po/it.po
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19586 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-09-20 10:45:41 +00:00
Christian Stimming 77e2bb9478 Win32: Fix function attributes when using gwenhywfar-4.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19582 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-09-16 16:13:24 +00:00
Geert Janssens b16e1b284b Bug #628960 - Column width unchanged after shortening translation string
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19569 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-09-11 10:36:29 +00:00
Geert Janssens b56930b2b6 Revert r19475. That revision fixed one rounding error, but introduced another one.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19568 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-09-11 09:55:05 +00:00
Geert Janssens 822da31e35 Add missing header, issue detected via failing make distcheck
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19566 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-09-09 21:28:37 +00:00
Geert Janssens 025f3dd92c Eliminate *-vicinity functions from e-guile reports.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19563 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-09-08 07:14:05 +00:00
Geert Janssens 071c442ec5 Fix typo in comment
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19562 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-09-07 22:14:04 +00:00
Geert Janssens 95edbd03d8 Bug #628865 - Error dialog displays password to MySql database when fails to connect
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19560 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-09-07 10:50:06 +00:00
Mike Alexander 670ad9e6a6 Fix bug 573702. When reading an old data file that doesn't have a template root
account for scheduled transactions invent one.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19559 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-09-07 01:14:24 +00:00
Christian Stimming 81a9dc1885 Add some disabled testing code that uses the stock gwenhywfar-gtk2 gui for online banking.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19558 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-09-06 19:50:50 +00:00
Geert Janssens 92fc0b1b8a Fix Stock Split Druid.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19556 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-09-06 10:22:25 +00:00
Christian Stimming 0871866c38 Bug #137017: Save the transaction date as a GDate directly, additionally.
This way, the date that was entered by the user is now at least saved
in the kvp and can later be retrieved in case we really fix the
timezone dependence of our txn's dates.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19555 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-09-05 20:21:00 +00:00
Christian Stimming 0b863f9c54 Add getter function for the date in a datecell as a GDate.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19554 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-09-05 20:20:47 +00:00
Christian Stimming 4ea1ea0208 Bug #370331: Store the numeric values of SX in their kvp as well, if possible.
For SX whose values do not depend on any variables, we now store
the numeric value as well. This way, we get rid of locale-dependent
parsing errors due to changing decimal separators in changing
locales - at least for SX which do not use variables.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19550 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-09-04 21:48:22 +00:00
Christian Stimming cee42d59e5 Fix counting of occurrence number w.r.t. the first valid date in the SX state.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19547 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-09-04 20:44:59 +00:00
Christian Stimming a4bb22b23c Clarify Derek's code to be licensed "GPL v2 or later" as he has confirmed in private email.
All of his other code has been licensed this way all along anyway.

After this change, all source code files are licensed under both
GPL version 2 and GPL version 3, which gives us enough flexibility in case any
requirements might switch to GPL v3-only. But currently we are for sure both.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19546 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-09-04 20:00:15 +00:00
Geert Janssens 8c4fa3a192 Spelling fixes in comments
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19545 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-09-04 13:24:46 +00:00
Geert Janssens be507f217a Add newly introduced gconf parameter in the default schema.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19538 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-09-03 14:36:24 +00:00
Geert Janssens 4ed6180b76 Bug #616697 - string "Payment rec'd..." should be more cleared.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19537 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-09-03 10:46:32 +00:00
Geert Janssens 92bd8a871e some bitrot in python bindings examples/tests, patch by Daniele Varrazzo
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19535 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-09-03 10:00:26 +00:00
Geert Janssens 01c2a41337 Bug #626681 - date fields missing in GUI, lost in change from 2.2.9 to 2.3.14
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19533 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-09-02 12:30:43 +00:00
Christian Stimming 4e7014e48a Add scheme wrapper for SX cashflow calculation, including a typemap for the resulting GHashTable.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19531 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-09-01 16:23:50 +00:00
Christian Stimming 4b3ef0786d Add scheme/swig typemap for GDate.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19530 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-09-01 16:23:21 +00:00
Geert Janssens ae0ff4cabe Spelling correction in comment.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19529 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-09-01 15:30:11 +00:00
John Ralls 90e985d6d5 Consolidate accelerator map loading for OSX with the others. Accelerator maps can't be modified interactively in OSX so there's no point to reloading the saved map.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19527 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-31 21:34:40 +00:00
Geert Janssens 4099500af1 Add vendor search to python bindings and refactors files gncIDSearch.c/h with vendor search.
Patch by Mike Evans.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19522 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-31 17:06:21 +00:00
Geert Janssens 6ee1c1045c Remove obsolete file from distribution list
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19519 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-31 14:35:38 +00:00
Geert Janssens 3ba2c90396 Make GnuCash more runtime relocatable by using dynamic paths in the environment file.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19518 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-31 14:31:35 +00:00
John Ralls 85f067604f Restored changes of r19477 inadvertently reverted in r19515
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19517 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-31 14:00:56 +00:00
Andreas Köhler 9341affafd Relicense code to GNU GPL v2 or later.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19516 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-30 22:43:58 +00:00
John Ralls 6c8d4b52a9 Update binreloc to use the free functions for bundle id and resource path
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19515 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-30 22:42:15 +00:00
Christian Stimming b1c5eb1477 Implement the evaluation of SX cashflow.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19511 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-29 20:37:20 +00:00
Christian Stimming d09d6a572e More const correctness and refactoring in gnc-sx-instance-model.c.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19510 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-29 20:37:05 +00:00
Geert Janssens afc9a8cfd5 Remove GNC_STANDARD_REPORTS_DIR from gnucash launcher as well.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19509 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-29 20:05:34 +00:00