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
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