Commit Graph
100 Commits
Author SHA1 Message Date
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
Christian Stimming 7075a77fc0 Let the libgncmod-test-engine be built by the noinst target instead of check target.
This is needed to compile the backend/sql test target, which requires
this library to be built even if this isn't the "check" target.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21826 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-01-08 20:08:54 +00:00
Christian Stimming e0e4994ed1 [Win32 build] Let git.exe be downloaded and unpacked as well. We might start using it sooner or later.
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21818 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-01-02 12:51:24 +00:00
Christian Stimming 3fcdf59adf 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@21816 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-01-01 20:36:46 +00:00
Christian Stimming fc268dba92 Read-only mode: More menu items grayed out: Close Book; Online Banking Setup.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21815 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-01-01 20:36:29 +00:00
Christian Stimming 3ad34bda49 [Cutecash] Remove removed files of r21799 also from CMake.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21814 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-01-01 19:49:28 +00:00
Christian Stimming f04b5c4443 [Win32 build] Update aqbanking version again.
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21812 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-01-01 19:43:03 +00:00
Christian Stimming e067a30f2d Read-only mode: Add "Revert file" menu item so that a file that might got changed from someone else can easily be reloaded.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21810 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-12-31 16:32:12 +00:00
Christian Stimming 6f3b555946 Add keyboard shortcut in menu (similar to r21652) for a few more items.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21809 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-12-31 16:32:01 +00:00
Christian Stimming 29aa98e460 Read-only mode: Add "Read-only" checkbox when opening a file/database.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21807 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-12-31 10:41:44 +00:00
Christian Stimming 9ab50b259a Export-to-PDF: Make output file name configurable, at least through gconf keys.
One gconf setting for the output date format, and another one for the actual
output file name string.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21804 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-12-30 22:06:12 +00:00
Christian Stimming e707b1227c Read-only mode: When using qof_session_swap_data, don't swap the read_only flag but only the rest of the QofBook.
Otherwise the temporary new session during "Save As" is read-only where in reality
it shouldn't be (but the old session should).

This makes "Save As" work correctly, but many UI elements don't get updated
to reflect the fact we've now got a read-write book again. (E.g., all open registers.)

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21795 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-12-29 22:14:43 +00:00
Christian Stimming 0e604fe8f3 Revert r21789 - not needed as r21791 adds required include flags in a better way.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21793 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-12-29 21:36:35 +00:00
Christian Stimming f23f4cde55 [Win32 build] Enable libxslt to be built in a cross-compile environment.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21789 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-12-29 19:50:56 +00:00
Christian Stimming 84308c2142 [Win32 build] Another aqbanking version update.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21788 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-12-29 19:50:40 +00:00
Christian Stimming 3e26c7943f Update versions of gwenhywfar, aqbanking to most recent ones.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21786 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-12-28 21:42:15 +00:00
Christian Stimming 2d4d0d490d Fix crash due to non-initialized variable. (Why didn't gcc complain here...)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21784 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-12-28 21:11:53 +00:00
Christian Stimming 944ea0918a Move "Print to PDF" menu item of r21722 right next to the "Print" menu item in the file menu.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21783 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-12-28 21:11:42 +00:00
Christian Stimming ddd7f28648 Win32 build: Switch weekly build to daily one.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21761 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-12-20 08:04:00 +00:00
Christian Stimming 8ec43f39ec Add customer-specific memory of PDF-Export output directory. Makes exporting to PDF rather easy.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21758 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-12-19 22:25:56 +00:00
Christian Stimming 042b069d84 Minor code documentation improvement of the export-to-pdf feature.
* Only propose output folders that actually exist.
* If the jobname already contains a full filename path, use it as proposed
output path.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21757 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-12-19 22:25:45 +00:00
Christian Stimming 81271aa62b Added icon for "Export to PDF", copied from GNOME icons (license: GPL)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21756 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-12-19 22:25:34 +00:00
Christian Stimming e5119362e5 [Cutecash] Add needed include path.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21750 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-12-19 11:44:15 +00:00
Christian Stimming 1c6debfd8a [Cutecash] Update libxml2 include path lookup.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21749 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-12-19 11:37:36 +00:00
Christian Stimming 4aead6ae7d [Cutecash] Fix cmake after file removal.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21748 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-12-19 11:37:25 +00:00
Christian Stimming 6ebd6f1afe Fix typos in r21743.
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21747 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-12-19 11:27:41 +00:00
Christian Stimming 4f7f700837 Fix typo in r21742.
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21746 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-12-19 11:27:29 +00:00
Christian Stimming 7b08c8f345 Make sure to ask for an export-to-PDF output folder every time.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21723 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-12-12 22:03:45 +00:00
Christian Stimming c5b86dd183 Add "Export to PDF" menu item for reports.
gnc_html_print gets an extra boolean argument to choose the "Export as PDF" option.
The GtkPrintOperation expects a full file name in set_export_filename, though.
We obtain one by asking the user for it.

This action still needs a more suitable icon.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21722 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-12-12 21:53:14 +00:00
Christian Stimming f4c07c8278 Remember the printing setting after a Report print job
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21716 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-12-11 21:50:27 +00:00