Commit Graph

11542 Commits

Author SHA1 Message Date
Phil Longstaff
4a4c1b6190 1) Rename col_type_handler_t -> GncSqlColumnTypeHandler
2) More doxygen comments



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17450 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-08-02 18:57:13 +00:00
Phil Longstaff
eab2cba9f5 Fix 'make check' compilation problems
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17449 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-08-02 18:49:39 +00:00
Phil Longstaff
d122ffbfe9 1) Fix make check problems
2) Update svn:ignore property



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17448 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-08-02 18:49:08 +00:00
Andreas Köhler
d003a99e5a Win32: Minor change for emacs compat.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17447 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-08-02 12:04:06 +00:00
Andreas Köhler
bf45b1d39d Add AC_LIBTOOL_WIN32_DLL.
This is necessary to build from a tarball with libtool v2 on Windows.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17446 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-08-01 22:04:02 +00:00
Phil Longstaff
9173035d57 Merge gda-dev2 branch into trunk.
This introduces the dbi backend and the --enable-dbi configure option.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17444 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-08-01 16:02:07 +00:00
Andreas Köhler
8bc6249efb Update latest stable version.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17443 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-31 07:56:05 +00:00
Charles Day
313815cf4b Bug #376298, #539640: Fix bugs and clean up the Price Editor code.
-Fix row duplication associated with adding new rows (bug #376298)
-Fix row disappearance associated with editing commodities (bug #539640)
-Fix bugs in creating price iters in gnc_tree_model_price_iter_nth_child()
-Fix a bunch of inaccurate and/or crash-causing debugging statements
-Better address "race condition" (see code comments)
-Some limited whitespace cleanup
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17441 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-30 21:42:47 +00:00
Charles Day
d4220928d6 Usability: Price Editor: Previously, nothing happened when a namespace or commodity row was activated. Now these rows will expand or collapse. It is often easier to double-click the row than hunt for the expander.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17440 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-30 20:57:30 +00:00
Charles Day
a8ab7e88ca Usability: Price Editor: Sort price trees on the commodity column by default. This allows for a consistent default sort even if commodities are removed from and re-added to the model. This can happen, for example, when a namespace or commodity is changed in another place (like the Security Editor) and gets removed and then re-added to the commodity db.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17439 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-30 20:54:01 +00:00
Andreas Köhler
f2f75d76b3 Add missing initialization inside gnc_ab_maketrans().
Patch from Micha Lenk.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17437 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-29 21:32:54 +00:00
Andreas Köhler
07a2e11d16 Fix gnc_ab_get_remote_name() to lookup the remote name instead of purpose.
Patch from Micha Lenk.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17436 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-29 21:32:44 +00:00
Charles Day
c40a6fa9bb Debugging: Fix a LEAVE() call to prevent crashing if commodity is NULL.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17435 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-29 04:22:19 +00:00
Charles Day
8bd5e9314f Report system: When computing average prices, don't assume all denominators will be identical. I tested this change with 15 years of data and saw no performance hit.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17434 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-28 20:28:09 +00:00
Charles Day
1591411ad3 Bug #483393: Report system: Allow mixed denominators in numeric collectors.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17433 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-28 20:08:09 +00:00
Charles Day
937a738e31 Bug #464771: Investment Portfolio report: If there is no price for a particular holding, show a zero price instead of crashing the report.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17430 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-27 23:28:41 +00:00
Charles Day
9085dadcfa Bug #309863, #341362: Prevent rounding when entering prices in the Price Editor and Stock Split druid, but also avoid fractional display if it is unnecessary.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17429 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-27 19:51:19 +00:00
Andreas Köhler
83de1c0bbc Import russian account templates from the stable branch.
This is to avoid losing them when making trunk the stable branch.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17425 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-27 16:21:18 +00:00
Andreas Köhler
2439d3692e Ignore a few generated files in local svn checkouts or git clones.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17424 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-27 16:10:27 +00:00
Andreas Köhler
172877f43e Add gnc-date.c to make-gnucash-potfiles.in and missing aqbanking files to POTFILES.in.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17423 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-27 16:08:21 +00:00
Charles Day
399a1eb989 Add a new function to the gnc_numeric library that converts denominators to exact powers of ten.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17421 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-27 15:33:23 +00:00
Charles Day
48aa22c1ba Bug #454827: Don't round derived commodity prices until the very last step.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17409 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-27 05:41:01 +00:00
Charles Day
ce8a8a52e5 Bug #341362: Stock splits: Prevent fractional prices by forcing conversion to decimal. (I used the same fraction setting as the price editor.)
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17407 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-25 00:24:45 +00:00
Andreas Köhler
524dc04434 Handle missing information when importing from aqbanking more gracefully.
The online_id used to match an aqbanking accountinfo to a gnucash account is the
concatenation of the bank code and account number found.  If the primer is NULL,
then fall back to "" instead of invalidating the whole id.

BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17405 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-24 23:46:14 +00:00
Christian Stimming
8f9c93c494 Remove superfluous tab in message
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17404 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-24 08:30:52 +00:00
Rolf Leggewie
a97be6c29f SKR04: Rechnungsabgrenzungskonten are used only by "bilanzierende Unternehmen" - hide them by default
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17402 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-23 22:35:14 +00:00
Rolf Leggewie
c71fbc467f SKR04: hide by default a couple of accounts that don't apply to EÜR-companies
* There are probably quite a lot more and possibly a few were incorrectly marked to be hidden
  The user can mark them as visible easily so it is not a big deal


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17401 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-23 21:56:54 +00:00
Rolf Leggewie
f896ffffaf SKR04: update URL from linuxwiki.de to wiki.gnucash.org
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17400 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-23 12:37:31 +00:00
Andreas Köhler
eef36b6e67 Make sure that the input of gnc_utf8_strip_invalid() is non-NULL.
Also, fix a caller in the aqbanking importer.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17370 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-22 22:14:56 +00:00
Charles Day
2e07dd82d5 Reports: Fix two parameter names that apparently were missed during the switch to report GUID's. In both cases, the parameter needed is a template ID, not a template name.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17367 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-22 15:28:26 +00:00
Charles Day
3022fddbf1 Bug #542967: Go back to using the name of the report template in the title of report options dialog boxes.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17365 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-21 02:58:50 +00:00
Andreas Köhler
7fea0935b0 Bug #543049: Import all balances and txns in aqbanking contexts returned.
* All aqbanking imports use the same code
* An account number returned by the bank may differ from the one sent, so that
  the correct result is not found
* The bank may also send transaction data and delete that on its servers.  This
  may lead to severe data loss if we did not tried to import of what is returned
  as much as possible

BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17347 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-20 02:09:16 +00:00
Andreas Köhler
8582d3290c Do not prepare the match page in the online banking wizard twice.
This would online_init() the api too often and lead to a crash.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17346 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-20 02:09:06 +00:00
Charles Day
35a35be305 QIF Import: Adjust the visual layout of commodity pages for better HIG compliance. Add tooltips and rework the documentation page. A number of phrases have been reworded, and I think this makes the commodity pages simpler, cleaner, and clearer, at least in English. Sorry, translators...
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17345 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-19 21:31:21 +00:00
Charles Day
d7c3fc3004 QIF Import: Prepend the default investment-related account names with the standard top-level accounts of "Income", "Expenses", and "Equity".
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17344 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-17 23:20:59 +00:00
Charles Day
580bdeeed1 QIF Import: Get better default column sizing on account mapping pages by using ellipses.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17343 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-17 18:21:29 +00:00
Charles Day
af87f37bfd Trial balance report: Skip unrealized gain calculation when price source is "average cost". This significantly improves performance with the default report options. Centralize and simplify unrealized gain code.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17342 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-16 17:23:06 +00:00
Charles Day
4ba416f35b Reports: Make "Average Cost" the default price source for several additional standard reports.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17341 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-16 15:55:50 +00:00
Charles Day
5931d415ff Reports: Make a mildly confusing error message more clear.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17340 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-16 15:39:17 +00:00
Charles Day
9b5b547659 Bug #463320: Fix trial balance report's unrealized gain calculation and inability to print unrealized gain credits. Use "Average Cost" as the default price source.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17339 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-16 15:29:19 +00:00
Andreas Köhler
d2bc2c6061 Run some iterations of the main loop in showbox_cb to give the window a chance to be showed.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17338 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-15 23:44:41 +00:00
Andreas Köhler
9b65e68fa2 The gwenhywfar callback function showbox_cb() must not return 0.
Return the id reserved for it instead.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17337 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-15 23:17:49 +00:00
Charles Day
75d9c9e1d6 QIF Import: Allow column resizing on account mappings pages. Reorganize a massive and messy function into reasonably-sized chunks.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17336 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-15 19:34:05 +00:00
Rolf Leggewie
7b66b7ad7b SKR04: accounts 4315 and 4400 were present twice. Renumber the entries related to 16%.
* update the numbers to reflect current situation after VAT increase
* partly fixes 542648


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17335 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-15 17:35:10 +00:00
Rolf Leggewie
bce0dd3f7f SKR04: remove and clean up the situation where a couple of DATEV codes had been entered twice
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17334 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-15 17:25:43 +00:00
Rolf Leggewie
7965c8a405 SKR04: remove erroneous space at the end of DATEV accounts 6458, 6660 and 6689
* this should be all accounts with that type of error now


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17333 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-15 15:22:49 +00:00
Rolf Leggewie
70c08d72f3 SKR04: remove erroneous space at the end of DATEV account number 1298
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17332 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-15 15:17:02 +00:00
Rolf Leggewie
b3837db674 SKR04: remove DATEV code 1400 from placeholder hierarchy account for "Abziehbare Vorsteuer"
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17331 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-15 15:13:41 +00:00
Rolf Leggewie
d5e8116537 SK04: replace the term Mehrwertsteuer with Umsatzsteuer
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17330 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-15 14:54:23 +00:00
Christian Stimming
7111518802 Require SWIG 1.3.31 because of the inline keyword in C headers.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17329 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-15 07:39:21 +00:00