Commit Graph

16160 Commits

Author SHA1 Message Date
Geert Janssens
595e359301 CSV Import transform macro into function
A complex macro is difficult to debug, particularly if it uses
variables that were defined outside of the macro.
2014-09-26 16:52:50 +02:00
Geert Janssens
32193a4713 CSV Export: factor out function to generate regular expression 2014-09-26 16:52:49 +02:00
Geert Janssens
0c31c62753 Refactor OS-specific ifdef to reduce code duplication
Which results in reduced risk on typos in either branch
2014-09-26 16:52:49 +02:00
Robert Fewell
ea03301651 This patch just changes the white space to be of a consistent format. 2014-09-26 16:52:48 +02:00
Robert Fewell
ba1f8cb1c6 Part Bug fix for 729476, this changes the line endings to \r\n to make it more compatible with CSV format. 2014-09-26 16:52:47 +02:00
Robert Fewell
2b6a6d896c Part Bug fix for 729476, this fixes the quoting of quotes, newlines and separator to make it more compatible with CSV format. 2014-09-26 16:52:47 +02:00
Robert Fewell
b13f3dab2f This patch fixes bug 731519. The fix sets the upper limit before it sets the value of the end row spin button. 2014-09-26 16:52:46 +02:00
John Ralls
32105585d4 Bug 736703 - Scheduled transaction are registered without credit/debit
Use a default exchange rate of 1 instead of 0.
2014-09-25 16:59:58 -07:00
Geert Janssens
e693a68972 Bug 630638 - 'Process payment' should allow to select equity accounts for payment 2014-09-23 10:26:00 +02:00
Geert Janssens
97d6bffa0c Use same test for payment dialog transfer accounts and assign as payment checks 2014-09-23 10:24:42 +02:00
Geert Janssens
345f576bf7 Avoid undocumented dependency on progress page type in assistant to skip page
Instead, simply delete page when not needed
2014-09-22 23:30:16 +02:00
Robert Fewell
48f2e8bb7e This patch fixes bug 726888, cancel button is available on all pages of assistant. 2014-09-22 23:28:25 +02:00
Robert Fewell
7d7d201498 Use same default setting for quotes in csv import and export 2014-09-22 23:27:54 +02:00
Geert Janssens
5c207daebc Set default currency for French account chart templates 2014-09-22 16:06:03 +02:00
Geert Janssens
ef41cb6f32 Convert ISO-8859-1 account chart templates to UTF-8 2014-09-22 16:00:39 +02:00
Geert Janssens
fc874eadc2 Add context to generic translatable string
This was suggested in bug 671615 by Jérôme Rapinat.
2014-09-22 15:16:30 +02:00
Geert Janssens
c913013508 Bug 671615 - French: 'New Customer' button in Find Customer dialog is translated to 'Nouvel onglet'
This bug affected all translations, not only french
2014-09-22 15:16:29 +02:00
Geert Janssens
547b4d436f Bug 720427 - Review of french account templates
Fix gender issues
2014-09-22 15:16:29 +02:00
John Ralls
42013538df Bug 732545 - gnucash-2.6.3 segfaults when started
Check all strings before calling g_strsplit.
2014-09-21 17:56:54 -07:00
Mark Haanen
7e909d1008 Update Dutch translation, copied from the Translation Project. 2014-09-21 23:00:01 +02:00
Geert Janssens
2e4021978d Rewrite gfec_eval_file to avoid opening the file itself in guile
This is a continuation of
Bug 711567 - Cannot save a custom report if a path contain diacritic chars
However this commit deals with reading the file
2014-09-21 23:00:00 +02:00
Geert Janssens
db6c83cdb6 Swap static functions so the lower one can reuse the upper one 2014-09-21 22:59:59 +02:00
Geert Janssens
3e0d83b256 Bug 711567 - Cannot save a custom report if a path contain diacritic chars 2014-09-21 22:59:59 +02:00
Geert Janssens
9a5357855d Bug 695240 - mortgage wizard empty table 2014-09-21 22:33:01 +02:00
Geert Janssens
24cb06156f Provide strfmon function for platforms that don't have it 2014-09-21 22:33:01 +02:00
David Maline
afdce5e182 Bug 733506 - (ForwadDisableQIF) The forward button is not active even though a file is selected 2014-09-16 21:34:32 +02:00
Jethro Beekman
9d5e7037ed Bug 733283 - [PATCH] Loss of fractions when importing OFX investment transactions 2014-09-16 21:34:20 +02:00
Geert Janssens
5d18047068 Align perl module requirements with recent Finance::Quote versions 2014-09-16 12:00:26 +02:00
Dmitry Pavlov
a406186b76 Updated Russian translation from Dmitry Pavlov 2014-09-06 17:39:18 -07:00
Chenxiong Qi
27075b82eb - New Chart of Accounts Assistant is too large for screen
Add scrolled window as the container of New Book Options. Especially to
Business and Counters tabs, there are too many options there. A vertical
scollbar will display automatically.
2014-09-06 17:16:39 -07:00
Alex Aycinena
9ea36d7e96 Correct txf output to use a minus sign, rather than parenthesis, for debits, without regard to locale settings, as is required by the txf pseudo-standard; was previously incorrectly using parenthesis for negatives in Windows environments, for example. 2014-09-06 16:15:34 -07:00
lmat
3363a2c572 Replace C++ reserved words for future compatibility with C++ 2014-09-05 11:56:48 -07:00
John Ralls
29f6c08ae6 SQL: Save commodity namespace changes from template
When loading commodities erroneously made in namespace template,
gnc_commodity_table_insert changes the namespace to User. This
change wasn't being committed, requiring that it be changed every
time.

The obvious immediate commit didn't work because the SQL backend
suppresses commits during load for performance, so create a list
of changed commodities to commit later, then do so.

Thanks to Geert for noticing the problem and to Derek for suggesting
the list workaround.
2014-09-04 16:26:32 -07:00
hawk-lord
d088f4df35 Missing translation 2014-09-04 15:19:37 -07:00
hawk-lord
4612773d47 Added Swedish association accounts. 2014-09-04 15:19:32 -07:00
hawk-lord
784f38ae68 Added Swedish account files 2014-09-04 15:19:12 -07:00
Geert Janssens
6114a960a9 Add business lot scrubbing to Check & Repair->All/This transaction(s) 2014-09-02 22:45:12 +02:00
Geert Janssens
1015a43090 Make scrub in lot viewer scrub business lots using the new scrub functions. 2014-09-02 18:26:24 +02:00
Geert Janssens
9ca4649e6a Rewrite invoice payment logic to fix lot link proliferation
- most payments will behave is it did in 2.4.x
- when two or more documents are involved in the payment
  a lot link between those document lots will be created
2014-09-02 18:26:24 +02:00
Geert Janssens
afc790d3cf Refactor get_pay_split into gncOwnerFindOffsettingSplit
In this form it can be used both for scrubbing lot links and for adding new payments
2014-09-02 18:26:23 +02:00
Geert Janssens
e44bb5ffac Refactor gncOwnerReduceSplitTo out of reduce_biggest_split
It can now be used both for scrubbing and when applying payments
2014-09-02 18:26:23 +02:00
Geert Janssens
7b642081a3 Refactor gnc_doc_doc_link into gncOwnerSetLotLinkMemo and move it
It can now be used both for scrubbing and when applying payments
2014-09-02 18:26:23 +02:00
Geert Janssens
ac55c953ad Handle the case of scrubbing a lot link between two non-document lots 2014-09-02 18:26:22 +02:00
Geert Janssens
b5fa7ee380 Tweak the get_pay_split function to prefer the best possible match 2014-09-02 18:26:22 +02:00
Geert Janssens
85b910acc3 Refactor scrub_doc_pay_link into scrub_other_link and make it more generic
It can now be used both to
- move a payment to a document lot (its original use case)
- move a refund to a payment lot or the other way around
2014-09-02 18:26:22 +02:00
Geert Janssens
434b7f6ebb Add scrub function to reduce the amount of lot links used.
Only lot links between two or more document lots must remain.
All lot links between document and payment lots can be scrubbed.
2014-09-02 18:26:21 +02:00
Geert Janssens
413eb69707 Widen the scope of the subsplit merge scrub function
When used in a strict sense it will only merge splits
that are marked as subsplits of each other.
In relaxed mode it will merge any split two splits that
are both in the same lot and the same transaction.
2014-09-02 18:26:21 +02:00
Geert Janssens
da9071fe49 Move account type checking functions into the engine 2014-09-02 18:26:21 +02:00
Geert Janssens
58b5a8e1f9 Remove superfluous include statements 2014-09-02 18:26:20 +02:00
Geert Janssens
9cfc22f4f9 Small corrections in doxygen comments 2014-09-02 18:26:20 +02:00