Commit Graph

2390 Commits

Author SHA1 Message Date
David Hampton
22ee7eb47f Convert the account separator from a single character to a character
string.  This allows multibyte unicode characters to be the account
separator character. Fixes 333061.  Reworked a couple of routines that
pull account names into their component parts.  Also fixed a bug in
the new account dialog when creating multiple accounts at once.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13467 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-04 03:04:46 +00:00
Derek Atkins
516b99efd8 error out on g-wrap-1.3, gcc4, and error-on-warning. Fixes #330615.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13454 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-03 15:57:51 +00:00
Joshua Sled
9d3ee26a79 Fix SXEDITOR help target.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13446 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-03 01:54:44 +00:00
Christian Stimming
e61c217338 Finally, successfully implemented mt940 import. Completed #325170.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13444 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-02 22:04:05 +00:00
Christian Stimming
e0ebdf6d84 More work on mt940 import, #325170. Unfortunately not yet error-free.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13440 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-02 21:51:50 +00:00
Christian Stimming
03d6b727d6 Greek account templates converted to UTF-8, by Nikos Charonitakis
<nikosx@gmail.com>.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13437 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-02 20:55:02 +00:00
David Hampton
bf46ee7847 Move the storage for the account separator character into Account.c
(default ':') and set it with an accessor function at startup and when
it is changed in the preferences/gconf.  Eliminate unnecessary passing
around of the account separator character.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13435 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-02 07:20:33 +00:00
David Hampton
cbedb5a5e9 Convert all locations that parse input using the locale
thousands/decimal point characters to use unicode functions.  This
should allow multi-byte unicode characters to work as these separators
on input.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13434 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-02 00:24:54 +00:00
David Hampton
7694d2f473 Rework of Sylvain Defresne's patch to support multi-byte unicode
thousands separator and decimal point characters when printing
numbers.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13433 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-01 23:01:43 +00:00
Derek Atkins
6400f24335 Andrew Sackville-West's patch to add transaction links.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13431 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-01 19:14:57 +00:00
David Hampton
0087ca8676 Collapse the common parts of the "new account" and "edit account"
dialog validation code into a single routine.  Fixes 117812.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13429 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-01 03:54:43 +00:00
David Hampton
f3a90bdefb Andreas Köhler's patch to correctly build a html color value. Fixes
328933.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13428 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-01 03:28:49 +00:00
Joshua Sled
9bf79f4cf8 Terminate GOptionEntry array, preventing warnings and/or errors parsing command-line options.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13427 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-28 23:13:33 +00:00
David Hampton
665c332ce9 Set the GNOME_DISABLE_DEPRECATED flag for gnome versions up to 2.13.7.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13422 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-28 16:16:04 +00:00
David Hampton
1fddc8d224 Remove a unused function that calls deprecated gnome routines.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13419 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-28 05:18:34 +00:00
David Hampton
bc68e5f8b4 Convert the reconcile window from the old GnomeUIInfo menu/toolbar
widgets to the newer GtkAction based widgets.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13418 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-28 02:45:36 +00:00
Joshua Sled
d46ad76a70 Bug#332802: fix Export Accounts; remove price_lookup and export functions from GncFileBackend.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13417 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-28 02:27:59 +00:00
Joshua Sled
83aeccb25e Bug#332804: fix infinite loop in parsing malformed functions (e.g. "ipmt(1:2:)").
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13416 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-28 01:26:43 +00:00
Joshua Sled
9255df9093 Bug#137885: prevent crash on invalid function formula.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13415 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-28 01:01:44 +00:00
David Hampton
d85c866635 Add 'const' qualifiers to various functions.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13414 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-27 23:57:16 +00:00
David Hampton
43ed443da8 Check for the existence of a page before dereferencing it. Fixes
332680.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13413 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-27 16:08:39 +00:00
Derek Atkins
b67d5a7e99 Don't need to translate placeholder labels.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13412 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-27 15:16:58 +00:00
Derek Atkins
ac4ae4e58e Rework of Titi Ala'ilima's patch to apply payments directly to invoices. (#121420)
Apply a re-work of Titi Ala'ilima's patch to apply payments
	directly to invoices.  This fixes bug #121420.
	* src/business/business-core/gncInvoice.[ch]:
	  Add argument to the ProcessPayment API to allow the caller
	  to specify an invoice to post to first.
	* src/business/business-gnome/business-gnome-utils.[ch]:
	  Create an invoice-select API that lets you select an invoice
	  based on an owner (or not).  I.e., you can limit the invoice
	  search based on a selected owner.  If you change the owner
	  it invalidates the invoice search.
	* src/business/business-gnome/dialog-payment.[ch]:
	  Change the API from ..new_with_value() to ..new_with_invoice().
	  Pull the default amount from the invoice (if one exists).
	  Allow the user to select an invoice and apply payments there.
	  If the user changes the owner, invalidate the invoice.
	* src/business/business-gnome/business-options-gnome.c:
	  use the new invoice-select API instead of calling general_search
	  API directly.
	* src/business/business-gnome/dialog-invoice.c:
	  call the new dialog-payment API.  No need to compute the initial
	  value here; the payment dialog will compute it from the invoice
	  (instead of computing it from the invoice here).
	* src/business/business-gnome/glade/payment.glade:
	  Add invoice-selector label and box.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13411 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-27 05:42:45 +00:00
Joshua Sled
7b7477d7c4 Andreas Kohler's patch for barchart improvements: segment color setting, axis rotation and formatting.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13409 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-26 21:42:06 +00:00
David Hampton
66f35f8352 Create a consolidated directory for distribution specific scripts.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13404 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-26 21:05:21 +00:00
David Hampton
1d96f1b100 Restore GtkOptionMenu support because the newer GtkComboBox doesn't
support per item tooltips.  Fixes bug 332569.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13402 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-26 20:10:40 +00:00
Joshua Sled
7d4c8423f1 Add account-deletion handling for SXes. Bug#312730.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13400 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-26 19:55:17 +00:00
Neil Williams
8fffaf8c7a using new events with object argument
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13396 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-26 18:59:38 +00:00
Joshua Sled
e65ef1b051 Remove web browser "report".
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13392 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-26 14:53:37 +00:00
David Hampton
37ff4ec84e Remember the order in which the notebook tabs are referenced. When
closing a tab, switch to the tab that was previously in front, not the
first tab in the notebook.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13385 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-25 08:18:39 +00:00
David Hampton
a1dbbfe230 Provide the right edit menu sensitivity for the register page.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13384 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-24 23:17:10 +00:00
David Hampton
e82d670961 Remove unnecessary menu item. The same functionality exists in the
"Menus & Toolbars" preference panel.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13383 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-24 22:58:28 +00:00
Christian Stimming
8ee2861201 Let the account matcher accept a parent widget to avoid windows that
are lost behind other windows. Adapt importer modules accordingly.




git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13382 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-24 22:22:44 +00:00
Christian Stimming
26cc119630 Don't allow placeholder be selected for importing transactions. Fixes bug#327891.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13381 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-24 22:09:47 +00:00
Christian Stimming
f6fc0dfa91 Get MT940 importer compile again (experimental; requires
aqbanking-1.9.7). It is not yet tested with actual files. Bug#325170.




git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13380 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-24 21:59:29 +00:00
Christian Stimming
3d5d84836f Make gchar argument const because it is only used as a const.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13379 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-24 21:43:37 +00:00
David Hampton
f04fccd5d0 Andrew Sackville-West's to pass the rignt number of arguments to
gnc:register-guid.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13377 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-24 05:13:51 +00:00
David Hampton
fa8cae90e1 Minor code cleanup and consolidations.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13375 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-24 04:50:03 +00:00
Joshua Sled
e706e3f023 Add ebuild for gnucash 1.9/2.0 series.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13374 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-24 02:57:09 +00:00
Joshua Sled
546e7b17d7 Increment TOTD index on dialog init.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13373 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-24 02:54:33 +00:00
Joshua Sled
a25ee62408 note bug
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13372 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-24 02:47:56 +00:00
Joshua Sled
dc659525ce Bug#332359: use correct labels for x-axis.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13371 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-24 01:22:26 +00:00
Derek Atkins
15cb6d2214 add QOF_LIBS to link line because debian libtool is broken.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13367 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-23 17:16:11 +00:00
Derek Atkins
eb29ffd9f8 force a build from svn to have access to svn version info.
this might break the broken ebuild that forcibly removes the
	  .svn directories, but the ebuild is broken and shouldn't do that.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13366 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-23 01:39:05 +00:00
Derek Atkins
5cd8bdf5a1 include gtk-compat.h so we build against gtk-2.4.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13365 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-23 01:35:25 +00:00
David Hampton
fa9f8dea28 Cleanup patch from Andreas Köhler.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13364 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-22 22:35:03 +00:00
David Hampton
df6173132b Provide a callback whereby the core register code can tell the upper
layers that it has moved from an expanded transaction to a collapsed
transaction.  This lets the upper layer adjust the "split" transaction
toolbar button properly.  Fixes 332165.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13361 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-22 15:41:18 +00:00
David Hampton
66baad0f8e Fix from Andreas Köhler to deactivate the toolbar split button in an
auto-split register.  Fixes 330621.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13354 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-22 01:38:42 +00:00
David Hampton
c0dc99a3a6 Two fixes from Andreas Köhler. One fixes 331183, the problem where
editing a top-level account doesn't set the current parent.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13353 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-21 23:58:16 +00:00
Joshua Sled
81bf512533 Fix "default limit" QOF eventing stuff; thanks Andi.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13352 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-21 23:10:33 +00:00