Commit Graph

11572 Commits

Author SHA1 Message Date
Charles Day
737473bce4 Bug #378734, #520570, #545316, #549115: Fix GNCDateEdit widget popup calendar problems.
-Fix popup button behavior (sometimes non-responsive)
-Make calendar clickable in modal dialogs
-Update design to be more like GtkComboBox, less like GtkCombo
-Adjust a few signal names, e.g. "focus-out-event" vs. "focus_out_event"
-Lose the GtkFrame shadowing; perhaps the GtkFrame is no longer needed 
-Add comments
-Add a few ENTER() and LEAVE() calls for debugging
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17493 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-09-05 05:08:33 +00:00
Andreas Köhler
ad9d3c7747 Bug #546064: Make gnucash.desktop survive a desktop entry specification 1.0 verification.
Patch from Saïvann Carignan.
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17492 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-09-03 20:43:17 +00:00
Charles Day
da0415bfb5 Bug #141002: QIF Import: Allow minus signs at the end of numeric values, e.g. "$10.00-".
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17490 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-09-03 00:11:32 +00:00
Charles Day
b55b08e4cf Bug #141003: QIF Import: Allow the British Pound symbol and the dollar symbol to be used interchangeably.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17489 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-09-02 20:20:09 +00:00
Christian Stimming
a1d189431e Add ignore pattern to POTFILES.in creation to ignore swig generated files.
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17488 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-09-02 07:13:13 +00:00
Andreas Köhler
0f1b50c2d4 Fix the i18n of the first and last string in the list of tips of the day.
Add a call to g_strstrip() on the tips to remove unwanted whitespace.
The first and last item should appear translated now.

BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17485 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-09-01 20:44:51 +00:00
Charles Day
c2eb587552 Bug 549738: Make "today" the default date of the aging reports.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17483 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-08-31 23:30:56 +00:00
Andreas Köhler
a2f05a3eae Bug #526313: Add currency Venezuelan Bolivar Fuerte (VEF).
It will replace the Venezuelan Bolivar (VEB) in 2008.
Patch from Frank H. Ellenberger.
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17482 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-08-31 04:20:22 +00:00
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