Commit Graph
100 Commits
Author SHA1 Message Date
Christian Stimming c7031ee702 Win32 build: Add debug output where xsltproc currently fails
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22877 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-04-06 20:13:18 +00:00
Christian Stimming 2b290cee85 Win32 build: Version update for libxslt, libxml2, goffice.
No special reason for this, though, except that it still compiles.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22876 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-04-05 19:42:20 +00:00
Christian Stimming 73b1789c6f Win32 build: Switch to another libgsf version 1.4.21 that has a .tar.bz2 available
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22873 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-04-04 19:46:30 +00:00
Christian Stimming 9d4a8b40d6 Win32 build: Can we get along without libgsf-gnome?
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22869 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-04-03 13:21:21 +00:00
Christian Stimming bb04aaa8ca Win32 build: Add probably missing libgsf configure argument
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22868 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-04-03 08:21:54 +00:00
Christian Stimming 9d70996b8d Win32 build: Remove check for pixman lib, because that one was removed in r22813.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22864 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-04-02 14:06:28 +00:00
Christian Stimming ca1435df60 Win32 build: Increase verbosity on check for installed gnome.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22863 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-04-02 06:59:08 +00:00
Christian Stimming 27dc5f3f77 Win32 build: Add more output for debugging.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22861 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-04-01 19:37:31 +00:00
Christian Stimming ba52d3c9e5 Win32 build: Add some more output into log on error conditions.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22857 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-03-31 21:28:56 +00:00
Christian Stimming bef51d212c Update libofx version to 0.9.6, released today
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22848 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-03-30 14:58:56 +00:00
Christian Stimming 2fd588dd32 Win32 build: Update libofx version... there was a 0.9.5 release last year.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22843 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-03-29 20:14:09 +00:00
Christian Stimming 94a92f1e45 Fix spell error in Russian translation, by enikulenkov.
Patch submitted as github pull request, see here:
https://github.com/enikulenkov/gnucash/commit/ceab7311fc6512349a73bfe927f7f0b53868d173
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22840 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-03-29 20:03:46 +00:00
Christian Stimming a10422268e Win32 build: Temporarily disable ja_JP guide htmlhelp because the hhc compiler seems to crash on this every time.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22838 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-03-29 16:42:30 +00:00
Christian Stimming a70b6dce3f Fix erroneous conversion from time64 to struct tm because the Sunday weekday has a different number in GDateTime vs. struct tm.
In struct tm, the weekday is in the range 0..6 with Sunday=0, but
in GDateTime the weekday is in the range 1..7 with Sunday=7. This should
better be added to the GDateTime documentation at g_date_time_get_day_of_week,
but apparently nobody documented this so far.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22830 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-03-22 21:40:01 +00:00
Christian Stimming c50b91505a Fix memory leaks due to localtime -> gnc_localtime replacement in r22618, r22626, r22627
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22829 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-03-22 21:39:49 +00:00
Christian Stimming ab0879d034 Again reorder the initialization in gnucash-bin: gtk_init_check must be called before gnc_module_system_init.
This commit reverts parts of r22399, because the gtk_init after
module_system_init caused some messed-up locale settings in dependent
modules (in particular, the aqbanking module).

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22828 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-03-22 21:39:37 +00:00
Christian Stimming 614e6f347f Bug #695423: Fix OFX Commodity Account handling.
Patch by Burke.
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22825 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-03-09 10:22:18 +00:00
Christian Stimming 94708c3fb8 Adding statement about GPLv2 and v3 license as discussed on gnucash-devel yesterday.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22824 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-03-06 20:28:58 +00:00
Christian Stimming 1f7ef9d7a6 Win32 installer: Update version numbers for gwenhywfar, aqbanking, ktoblzcheck.
Once this compiles, the resulting binary can also run SEPA online transfers.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22821 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-03-02 14:03:42 +00:00
Christian Stimming 82837dbf63 Minor bugfix: Guard against NULL pointer in sprintf argument.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22820 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-03-02 13:49:06 +00:00
Christian Stimming f65b2e1aa3 Fix erroneous widget lookup after a widget in the glade file has been renamed
This is a result of the glorious idea of glade to have all widget names
in one file have unique names, but not verifying that we really can
continue to do the lookup as before. Oh well.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22817 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-03-01 21:38:08 +00:00
Christian Stimming eb64b1008d Aqbanking SEPA transfer: Really test and finish the implementation.
Also, apparently the iTAN authentication method doesn't work unless
one activates the GTK2_GUI code in gnc-gwen-gui.c:70 but I need to check
this further.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22816 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-03-01 21:28:01 +00:00
Christian Stimming 1189b3bdc7 Aqbanking online transfer: Disable SEPA direct debit menu item again because no bank supports it.
The (SEPA) banks apparently only support multi-jobs, not single jobs, but the
former is not yet in aqbanking and not yet in gnucash.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22811 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-02-23 16:22:55 +00:00
Christian Stimming 3d322ca082 Set svn:eol-style property to LF on .h and .c that did not yet have it so far.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22810 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-02-23 16:11:40 +00:00
Christian Stimming 6c6dc51222 Also set svn:eol-style property LF on .js files so that the files will surely have LF line endings in SVN in all cases.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22809 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-02-23 15:58:09 +00:00
Christian Stimming df6c89eae3 Aqbanking online transfer: Disable the non-SEPA verification rules for SEPA transactions.
Eventually, the SEPA rules need to be implemented, but for now we
just allow any alphanumerics.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22786 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-02-19 21:05:14 +00:00
Christian Stimming ac23fa1183 Aqbanking online transfer: Set the date in the gnucash txn dialog to non-sensitive.
Users regularly expect that date to be the online job execution date,
but that's not what is implemented. So we prevent editing here at all.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22784 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-02-18 20:48:28 +00:00
Christian Stimming 37c66aea36 Minor update for SEPA (European) online transfers (after r22445)
Add direct debit. Make menu items sensitive correctly.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22783 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-02-18 20:37:08 +00:00
Christian Stimming 6b0ade1851 Get cutecash/C++ to compile again.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22767 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-02-08 20:47:42 +00:00
Christian Stimming bc34c7b23b Add some initial implementation for international (European) SEPA online transfers.
Needs testing, though - my bank doesn't offer it for me.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22445 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-10-16 20:06:10 +00:00
Christian Stimming 42a9a15285 Upgrade aqbanking package versions.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22428 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-09-30 19:05:48 +00:00
Christian Stimming d2b0242b6d Aqbanking plugin: Cache pointer to GncMainWindow each time the plugin command is started.
Hopefully fixes bug#684632.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22419 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-09-23 19:53:29 +00:00
Christian Stimming 05a6a1cc87 Minor improvement of OFX import with missing date field. Unfortunately libofx doesn't do this right in any case.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22376 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-09-09 20:26:58 +00:00
Christian Stimming 36654ff81a Fix windows/mingw build failure due to different struct tm length.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22213 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-06-10 19:59:19 +00:00
Christian Stimming bf6e5ba95f Fix compiler error about overflow of integer calculations.
To reproduce: gcc-4.6.1 and -O2 switched on.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22212 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-06-10 19:32:13 +00:00
Christian Stimming 08465a594a Bug #674494: Fix version and method of downloading isocodes in win32 packaging
Patch by Mark Jenkins

BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22157 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-04-22 20:51:16 +00:00
Christian Stimming 9d8fbe538e Bug #674495: Fix libbonoboui build for win32 packaging insists on availability of glade
Patch alters packaging/win32/libbonoboui-2.24.2.patch to not look for glade and not
build libbonoboui-2.24.2/glade

Patch by Mark Jenkins.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22156 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-04-22 20:49:01 +00:00
Christian Stimming c725033cea Finally clean up linker flags so that windows build builds again as well.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22150 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-04-17 19:55:33 +00:00
Christian Stimming a77ee1bc6f Increase trunk requirements to gtk-2.24, glib-2.28.
This means SVN trunk does no longer support a stock RHEL6 distribution.
See http://lists.gnucash.org/pipermail/gnucash-devel/2012-April/033877.html
and http://lists.gnucash.org/pipermail/gnucash-devel/2011-November/032931.html
for the discussion.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22148 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-04-15 18:57:05 +00:00
Christian Stimming 1052ebe778 Add library flags for newly introduced libutest-Split because Windows needs those.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22147 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-04-15 18:47:26 +00:00
Christian Stimming 374747c4f6 Check whether header <pow.h> really exists before including it.
The windows build has been failing for several days due to this.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22146 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-04-13 20:43:23 +00:00
Christian Stimming 9b5f2866b1 In online banking transfer, on the "To-Account" selection side, make the "Show Income/Expense" button active by default.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22145 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-04-13 20:04:08 +00:00
Christian Stimming 9150e2d7b9 In "Process Payment" and "New Order", let the customer field have keyboard focus.
In "New Job", focus the job name.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22144 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-04-10 20:24:51 +00:00
Christian Stimming d9e19467eb In the "New Customer" window, set keyboard focus to customer field.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22143 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-04-09 19:56:24 +00:00
Christian Stimming 3af935d7d2 Fix minor compiler errors of r22127.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22129 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-04-01 19:51:06 +00:00
Christian Stimming 78cbc3d097 Take read-only date setting of QofBook into account (no pun intended) when entering transaction into accounts.
The code will silently revert the entered date to the threshold and just
not allow any older date to be entered. I wonder whether we can display
some useful error message additionally, but unfortunately I didn't find
the place in the code where one single error message would have resulted,
only places where multiply (annoying) error messages would have resulted.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22124 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-03-26 20:15:04 +00:00
Christian Stimming 5aa445ef95 Take read-only setting of QofBook into account for the transaction duplication.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22123 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-03-25 20:18:42 +00:00
Christian Stimming b208b06b00 Fix segfault after behaviour change of qof_book_get_autoreadonly_gdate() in r22118.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22122 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-03-25 19:13:16 +00:00
Christian Stimming 176fba9b9f Rename internal function names for read-only option of r22107 also to "auto-read-only".
(Initially I thought there were a relation to the "freeze" state of a
transaction, but this turned out to be not the case.)

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22118 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-03-24 22:34:59 +00:00
Christian Stimming ed581152b9 Take read-only setting of QofBook into account for the transaction deletion as well.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22117 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-03-24 22:34:44 +00:00
Christian Stimming af3cec54df Make read-only lines in account register window (r22109) somewhat more visible by changing the background color slightly.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22116 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-03-24 22:34:32 +00:00
Christian Stimming 84379bac27 Fix threshold treatment in r22108, r22109 to make visualization and behaviour match.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22115 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-03-24 22:34:21 +00:00
Christian Stimming e6c0795652 Fix r22105 that was missing some dependency of the "optional" directory on other parts.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22111 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-03-23 20:52:13 +00:00
Christian Stimming 8cc8ffe374 Add auto-read-only feature for old transactions after N days, denoted by the new red line in the register.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22109 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-03-21 22:18:53 +00:00
Christian Stimming 298eab78f5 Add a second "red" divider line to the register to denote the read-only section for older transactions.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22108 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-03-21 22:18:41 +00:00
Christian Stimming bfbe9b87c4 Add option for automatically setting old transactions to read-only.
The number of days for this read-only threshold can be chosen.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22107 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-03-21 22:18:29 +00:00
Christian Stimming e058cf0352 Fix typo in r22026 (uh oh, broken all the way since then!)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22106 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-03-21 20:19:28 +00:00
Christian Stimming 00511d25ea Bug #671737: Let configure --disable-gui only build gui code
Patch by Kuang-che Wu.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22105 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-03-21 20:15:17 +00:00
Christian Stimming ec8fc423ba Bug #670008: Improve taxinvoice flexibility necessary to produce legally valid Australian Tax Invoice
Patch by Dmitry Smirnov:

 Original taxinvoice template lacks flexibility necessary to make
 legaly valid Australian Tax Invoices.
 This patch introduces customisation options
 useful to comply with Australian requirements, but not limited to.
 * Functional changes
   + Reference number moved to the right side from under the invoice
     owner address (improves visibility and makes invoice layout
     more compact)
   + added option to show Job Name
   + added option to show Job Number
   + added options to enable/disable columns with dynamic adjustments
     to the table layout.
   + added options to enable/disable display of some invoice elements
   + some spaces in Headings1 defaults replaced with non-breaking space
   + added "Thank you for your patronage" text as default value for
     footnote to match other invoices' defaults
 * Hardcoded messages in English are replaced with options and
   default values to match original report.
   This makes possible report localization, like changing
   "Invoice" to "Tax Invoice" where required by law etc.
 * New dialog element in [Report Options]:[General]
   + [Report Currency]
     (Because dollar sign '$' is used by many countries for their national
     currency, invoicing between Australia and New Zealand often
     causing confusion unless invoice currency is stated in the
     invoice.)
 * New dialog elements in [Report Options]:[Headings2]
   + Invoice number text (string)
   + To text (string)
   + Ref text (string)
   + Job Name text (string)
   + Job Number text (string)
 * New dialog elements page [Report Options]:[Elements]
   + column: Date (boolean)
   + column: Tax Rate (boolean)
   + column: Units (boolean)
   + row: Contact (boolean)
   + row: Address (boolean)
   + row: Invoice Number (boolean)
   + row: Company Name (boolean)
   + Invoice number next to title (boolean)
   + Show Job name (boolean)
   + Show Job number (boolean)
 * Fixed bug when customer name is listed twice above invoice owner address.
   (this change is hard to separate into standalone patch because fix
    involving changes affected by new customisation options)
 * Added modification date and copyright comments
 * spancols* variables renamed to have more readable names

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22103 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-03-19 21:01:19 +00:00
Christian Stimming 2e97104e94 Bug #670008: Add taxinvoice flexibility necessary to produce legally valid Australian Tax Invoice
Patch by Dmitry Smirnov:

Due to invoice limitations, Gnucash is not yet ready for small business use in
Australia. Lack of customisation options in taxinvoice do not allow to change
its presentation for compliance with legal requirements.

Those patches make taxinvoice practically useful for invoicing.
First patch introducing few changes to allow easy adjustments to report
presentation.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22102 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-03-19 20:49:15 +00:00
Christian Stimming bdb0786dc2 Bug #486658: [win32] Cannot use period on decimal keypad in my locale
Patch by Sebastien Alborini:

On win32, gdk never sends GDK_KP_Decimal, so this key cannot be detected.
Work around this by watching the underlying virtual keycode VK_DECIMAL.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22101 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-03-19 20:49:03 +00:00
Christian Stimming cf63a1664f Bug #671444: Remove the warning message about binreloc
Forwarded from debian http://bugs.debian.org/443774

Every time gnucash is started it prints the following message to the console:

 "main: binreloc relocation support was disabled at configure time."

 This unnecessarily worries people who usually take it as warning rather than
 normal informational message.

 It has been reported as especially annoying if gnucash is running
 as cron job because it requires special workaround against sending
 this message over email on each invocation.

 The attached patch suppresses printing the worthless message.

Given the current status of binreloc we're unlikely to use it so there is no
need to remind that it was disabled (which is default).

Thanks.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22100 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-03-19 20:48:48 +00:00
Christian Stimming b9212056de Bug #671737: Fix for configure --enable-python --enable-dbi --disable-gui
Patch by Kuang-che Wu.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22099 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-03-19 20:48:37 +00:00
Christian Stimming a92745a8ae [Win32 build] Update gwenhywfar/aqbanking versions.
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22097 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-03-19 20:31:50 +00:00
Christian Stimming 72c516d61b Bug #672161: Remove old CSV importer, now replaced by new one.
Patch by Robert Fewell.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22092 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-03-18 12:59:21 +00:00
Christian Stimming 6b5f4b7658 Revert r22083, "Adapt German account templates to updated tax rate."
A pure renaming is not the correct solution, I've been told.
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22090 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-03-18 11:43:22 +00:00
Christian Stimming 43b51df596 Re-indentation of source code.
As usual, re-indentation was done using astyle-1.24 using the following options:

  astyle --indent=spaces=4 --brackets=break --pad-oper --pad-header --suffix=none

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22089 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-03-16 20:27:09 +00:00
Christian Stimming df611e433d Add some more gitignores.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22088 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-03-16 20:26:50 +00:00
Christian Stimming 59aba947d7 Bug #672161: Fix double-free error when importer dialog is canceled
Patch by Robert Fewell:

There is an existing problem with the main matcher which can causes the
following errors if you have the relevant account register open:

CRIT <qof> qof_instance_get_editlevel: assertion `QOF_IS_INSTANCE(ptr)' failed

This is caused when you decide to not add all the transactions displayed on the
matcher dialog and then the system trying to delete the temporary transaction
twice. I think this patch comments out the offending lines, if correct I will
provide a patch to remove them.

The error below is only seen when the relevant account register is open and in
the preferences you have double line mode enabled. Not sure how it gets fired,
probably part of the register update process but it is because we do not have a
valid transaction any more.

CRIT <gnc.engine> xaccTransGetVoidReason: assertion `trans' failed

The function concerned is gnc_split_register_get_vnotes_entry and could be
solved by adding the following but not sure if this is a valid fix.

    if(trans == NULL)
        return g_strdup('\0');
    else
        return xaccTransGetVoidReason(trans);

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22087 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-03-16 20:26:36 +00:00
Christian Stimming c6141acc5a Bug #672161: New CSV account and transaction importer
Patch by Robert Fewell:

Firstly, this patch allows for the creating and updating accounts based on the CSV file
being imported. New accounts are created if the commodity required exists and
existing accounts are updated for the four fields: code, description, notes and
colour. This can be used for doing bulk updates of these fields and also for
importing the account structure from another file.

The second part is the change of the existing CSV importer to use an assistant
to guide you through the import. Additional features added is the ability to
specify the start and end row to be imported allowing you to jump over a header
or footer or just import a few rows. A currency format option was added which
was requested in another bug to overcome a problem they were having with the
downloaded format from there bank. You can also associate the account name to a
GnuCash account using the 'online_id' kvp, not sure if this is Ok or whether it
should be a different one.

To achieve the above, I split the dialogs used in import_account_matcher and
import_main_matcher into the dialog and the content so I could load the content
into the assistant saving on duplication, hope this makes sense.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22086 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-03-16 20:26:22 +00:00
Christian Stimming 725f25fb8a Bug #672157: New CSV account and transaction exporter
Patch by Robert Fewell:

I have put together a new feature to export the account tree and transactions
to a deliminated file. Both options allow you to select the deliminator and the
use of quotes. Every thing seems to work on the testing I have done but may be
some of the text and the headings in the output might need changing.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22085 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-03-16 20:26:04 +00:00
Christian Stimming e86177c2c1 Adapt German account templates to updated tax rate.
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22083 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-03-16 19:33:23 +00:00
Christian Stimming 09461590af Add some unittest for GncInvoice and posting/unposting an invoice.
I thought this would reproduce the crash when unposting a real invoice
with G_SLICE=always-malloc set. However, apparently this test case isn't
complete enough and does not crash. Maybe one needs to add further GncEntries?

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22082 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-03-14 22:26:54 +00:00
Christian Stimming c743bf4631 Update POTFILES.in after recent file move.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22081 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-03-14 22:26:42 +00:00
Christian Stimming e74d46a2ab [Cutecash] Follow-up for r22075: Removal of "calculation" module in CMake.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22078 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-03-13 13:18:51 +00:00
Christian Stimming ecdb6f078f Remove the separate "calculation" module and swallow it in app-utils.
Those few source files do not justify an extra loadable module. They are
just compiled-in into app-utils.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22075 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-03-11 22:05:22 +00:00
Christian Stimming 35ac83374e Replace g_list_append by g_list_prepend to increase performance.
To my surprise, this apparently also fixes a memory leak, but I don't know why.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22074 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-03-11 21:55:53 +00:00
Christian Stimming 29503a26d7 Fix minor memory leak: Return value of gnc_uri_get_components must get free'd.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22072 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-03-08 22:48:09 +00:00
Christian Stimming d90301b2bd Remove obsolete strspn() call that causes valgrind warnings about invalid read().
The strspn() call was added in r8500 but the usage of its return value
was removed in r10315, so it isn't neccesary anyway.

The macro GNC_DEPRECATED is defined nowhere and used nowhere else, so
we can remove that block altogether.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22071 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-03-08 22:47:59 +00:00
Christian Stimming af0709b732 Fix memory leak: Missing regfree() after regcomp().
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22070 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-03-08 21:20:07 +00:00
Christian Stimming 4d871fc9fd Remove potentially abandoned file (that has a GPLv2-only license, too).
The last contributors here, Josh Sled and Chris Lyttle, have put their
code under "GPLv2 and GPLv3" license, see r22063, but I'm too lazy to
look up the copyright holders on the file as a whole so I'd rather remove it.

If someone wants to add a similar packaging file again, feel free to do
so, but please don't use GPLv2-only code to do so.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22067 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-02-29 20:50:52 +00:00
Christian Stimming 1bb34fbefa Bug #670727: Extend license of 3 files to be GPLv2 and GPLv3.
This has been granted by the gnumeric copyright holders.
See https://bugzilla.gnome.org/show_bug.cgi?id=670727#c7

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22066 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-02-29 20:50:40 +00:00
Christian Stimming 7d5443fee5 Bug #670727: Clarify license of a file to be GPLv2 and GPLv3
gnc-dense-cal.h: License remark was forgotten in r19507, but the author
Josh Sled agreed on GPLv2 and GPLv3 licensing in his gnucash-devel
message on 2010-08-28.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22063 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-02-24 20:15:15 +00:00
Christian Stimming a919d56e50 [cutecash] add gnc-features.[hc] to cmake. Follow-up to r21981.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22056 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-02-19 20:32:41 +00:00
Christian Stimming 79e82ef1de Bug #668693: aqbanking: Use "focus-out-event" to track amount changes in transaction dialog
"amount-changed" is only emitted on KP_ENTER and thus doesn't help us while "changed" confuses the widget.

Patch by Johannes Schmid.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22054 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-02-19 11:00:37 +00:00
Christian Stimming b70c72fa46 Fix broken value-to-kvp conversion for number range option which doesn't get the kvp type correctly.
This seems to be have been broken all along since r7094.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22049 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-02-17 09:15:47 +00:00
Christian Stimming f5a1d18d65 Win32 build: Update gtk to 2.4.10 [21977] and update other packages to Nov 2011 versions as well.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21980 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-02-10 09:19:47 +00:00
Christian Stimming 1fcb6398d3 xml-backend: Fix an uninitialized variable
Patch by Johannes Schmid.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21914 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-01-29 20:26:10 +00:00
Christian Stimming 821331ae5a Disable "changed" callback on transaction amount field temporarily, as it does not yet seem to work correctly.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21913 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-01-29 20:25:58 +00:00
Christian Stimming c2458bfc68 reports: Make report Budget Flow 100% translatable
Patch by Aurimas Fišeras

BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21906 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-01-28 22:32:10 +00:00
Christian Stimming 6a3f8175ff Bug #668196: Fix installation of python bindings
With this patch, files are correctly installed together.

Patch by Vincent Untz.

BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21905 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-01-28 22:16:38 +00:00
Christian Stimming 4e7af62136 Re-indentation of source code.
As usual, re-indentation was done using astyle-1.24 using the following options:

    astyle --indent=spaces=4 --brackets=break --pad-oper --pad-header --suffix=none

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21904 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-01-28 22:12:37 +00:00
Christian Stimming a9c51ffc1c Bug #668693: aqbanking: Improve transaction UI
* Use expander to show/hide templates
* Disable execute button as long as field values are incorrect
* Use icons and tooltips in entries to indicate that an incorrect value was inserted

Patch by Johannes Schmid.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21903 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-01-28 22:12:26 +00:00
Christian Stimming 183aec5ec2 Bug #668693: aqbanking: Big code cleanup in transaction dialog
Patch by Johannes Schmid.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21902 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-01-28 22:12:12 +00:00
Christian Stimming 34100fde6f Bug #668693: aqbanking: Added API docs for transaction
Patch by Johannes Schmid.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21901 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-01-28 22:12:00 +00:00
Christian Stimming 1b6a3488fa Bug #668926: Fixes build on GNU/Hurd
A buffer of fixed size PATH_MAX is created, but this constant is non-existent
on GNU/Hurd, so the package FTBFS on that architecture.
The fix consists in using a dynamically (re-)allocated buffer, as recommended
on: http://www.gnu.org/software/hurd/hurd/porting/guidelines.html

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21900 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-01-28 22:05:50 +00:00
Christian Stimming e219d2cf89 Bug #668454: Make it easier to paste account/bank in online transaction dialog
Patch by Johannes Schmid (with indentation fixed by our usual astyle call):

The patch actually fixes two issues:

* Only allow digits in account/bank code field
* Filter spaces when pasting content.

This has annoyed me for a while because quite often I paste account
informations from the browser or some email into gnucash and people tend to
group the numbers like this:

BLZ: 763 510 40

The result of the paste is that the number looks like 763 510<end> because the
number of characters in the entry is limited. With the patch the spaces will be
removed and you will see

763 510 40 -> 76351040

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21874 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-01-22 21:09:34 +00:00
Christian Stimming 2dece71f26 Read-only mode: Don't create a LCK file when opening a file in read-only mode and also ignore existing locks.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21853 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-01-15 22:06:23 +00:00
Christian Stimming d4dc045db7 [Win32 build] Disable git.exe package again, as it might collide with DLLs.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21847 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-01-11 21:48:43 +00:00
Christian Stimming 06b8201bc8 Add dependency on qofbook.h for swig generated file.
Otherwise the old generated file complains about a missing declaration
from r21832.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21840 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-01-10 21:34:56 +00:00