Charles Day
a1dd4517b9
Win32 build: Fix a typo to get trunk working on win32/mingw again.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17479 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-08-26 17:09:03 +00:00
Charles Day
fd987c0b3d
Bug #548891 : QIF Import: Prevent crashing when the mapping preferences can't be saved.
...
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17477 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-08-21 17:47:10 +00:00
Charles Day
a8820e769b
AUTHORS: Add Frank Ellenberger and update my own details.
...
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17476 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-08-21 00:13:36 +00:00
Phil Longstaff
7c36cf65f6
Add begin-edit/commit-edit calls around lot manipulation when posting
...
an invoice. This keeps the sql backend from trying to save a lot with
a null account.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17475 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-08-20 12:31:00 +00:00
Phil Longstaff
290b0c6f12
Additional win32 packaging changes for installation (including libdbi).
...
Provided by Nathan Buchanan
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17474 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-08-20 12:09:10 +00:00
Phil Longstaff
0bf3700fa2
Add support to build trunk with libdbi and dbi backend on win32/mingw
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17473 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-08-17 16:38:31 +00:00
Charles Day
390fbb00e7
Bug #543061 : Fix the smallest fraction of IDR currency to match ISO 4217.
...
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17472 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-08-15 17:04:36 +00:00
Charles Day
9a69bfd8c2
Bug #454340 : Prevent duplicate rows after editing a security. These changes are similar to what was done for the price tree model in r17441 and r17470.
...
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17471 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-08-14 16:41:33 +00:00
Charles Day
6209ea2f0f
Update a few comments to fix typos and inaccuracies, or to add further clarification.
...
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17470 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-08-14 15:52:34 +00:00
Charles Day
8ed5e2853a
Usability: Security Editor: Previously, nothing happened when a namespace 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@17469 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-08-13 17:47:08 +00:00
Charles Day
9a653982fe
Usability: Sort commodity trees on the commodity name by default. This allows for a consistent default sort even if commodities are quickly removed from and re-added to the model. This can happen, for example, when a commodity is edited in the Security Editor.
...
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17468 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-08-13 17:44:11 +00:00
Charles Day
fca4b45dcc
Prices: Emit a qof event when a price is changed. This allows the Price Editor to immediately update its display. Previously, price changes would only get shown when the mouse happened to pass over the affected row. Theoretically other parts of GnuCash, such as reports, could now be made to watch for price changes and automatically refresh themselves.
...
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17467 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-08-12 20:12:37 +00:00
Christian Stimming
9812f77182
Bug #529816 : Clarify i18n strings and comments concerning CUSIP and ISIN.
...
Patch by Frank H. Ellenberger.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17464 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-08-12 19:14:52 +00:00
Charles Day
b3c41e46ce
Transfer dialog: Don't round quotes pulled from the price db.
...
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17463 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-08-12 18:05:37 +00:00
Charles Day
d89d96ce88
Bug #547335 : Get the exchange rate dialog "to" amount working again when launched via the register instead of the menu.
...
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17462 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-08-11 21:55:50 +00:00
Charles Day
c20038064f
Bug #545722 : Get the GNCDateEdit control working on Win32 again. Don't assume that the content returned by localtime() will not be changed out from under you.
...
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17459 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-08-08 23:38:45 +00:00
Charles Day
10df25faca
Bug #522095 : Refresh the summary bar when new prices are downloaded.
...
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17458 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-08-08 21:36:48 +00:00
Charles Day
5dd0c682ed
Don't round values that will be displayed as expressions. Save some space in fractional displays by, for example, showing "1 + 1/8" instead of "1 + 1 / 8". Simplify fractional display of values less than 1 by, for example, showing "1/3" instead of "0 + 1 / 3".
...
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17457 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-08-07 19:40:15 +00:00
Charles Day
eb29fc8e6d
Make gnc_numeric values of zero always convertible to decimal form.
...
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17456 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-08-07 18:18:00 +00:00
Charles Day
96863860d0
Bug #541970 : When finding a "nearest in time" price, break ties by preferring the older price. This has the benefit of using a price that actually existed at the given time, and better addresses the case in which both price times have been defaulted to midnight. Previously, the newer price was preferred.
...
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17454 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-08-04 16:41:15 +00:00
Phil Longstaff
1f96188647
Don't rely on g_value_transform(). Added cases for G_TYPE_INT, G_TYPE_INT64
...
and G_TYPE_DOUBLE. If new GValue types are used in the future and
g_value_transform() *is* called, a warning message will be logged with the
type name.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17453 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-08-03 18:10:27 +00:00
Charles Day
0bdc6aa496
Bug #543780 : Scrub the transfer dialog calculation of the "to" amount:
...
-Check account value to avoid causing a CRIT message.
-Reorganize function for smaller size and more readability.
-Add some comments (there were none).
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17451 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-08-02 21:53:23 +00:00
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