Commit Graph

15942 Commits

Author SHA1 Message Date
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
Geert Janssens
f8a27b7140 More ENTER/LEAVE corrections at function exit points 2014-09-02 18:26:20 +02:00
John Ralls
0e7011665a Balance ENTER with a LEAVE for all exit points.
For xaccLotFill and xaccLotScrubDoubleBalance, anyway.
2014-09-02 18:26:19 +02:00
Geert Janssens
87654e69f6 Bug 434462 - register color don't work correct with system theme color - Part 2
This commit fixes this for (business) entry ledgers.
2014-09-02 15:17:48 +02:00
Geert Janssens
ac1990fc9d Bug 434462 - register color don't work correct with system theme color - Part 1
This commit fixes this for ordinary registers. Entry ledgers (business) aren't handled yet.
2014-09-02 15:17:47 +02:00
Geert Janssens
61cd3f1106 Rename enum elements to make room for foreground equivalents 2014-09-02 15:17:47 +02:00
Geert Janssens
904afd8bd5 Refactor register color functions to reduce duplication 2014-09-02 15:17:46 +02:00
Geert Janssens
0a394c5bba Bug 711440 - Tab labels have different background colour than containing gui element 2014-09-02 15:05:26 +02:00
Mike Alexander
8d9b3c7c5d Bug 735769: Enable price and shares cells in a split if it is not in the trans currency.
The label for the cells are changed to "Exch. Rate" and "Oth. Curr." in this case.
2014-09-02 00:18:10 -04:00
Mike Alexander
668aab4a2b If the cursor moves from one register cell to another, refresh the register headers.
If trading accounts are on and the transaction is expanded then the headers
depend on the type of split the cursor is in.
2014-09-02 00:16:06 -04:00
Mike Alexander
483302aba0 Use guint64 instead of uint64_t with G_GUINT64_FORMAT to avoid warnings. 2014-08-31 18:34:24 -04:00
Mike Alexander
67f84774e9 Change gncOwnerGetBalanceInCurrency to only cosider lots that contain an invoice.
This function is currently only used in the owner tree code and this change
will cause payments not properly linked to invoices to be ignored when computing
owner balances.
2014-08-31 18:20:52 -04:00
Mike Alexander
a028ae0f98 Finish implementing the "Show zero balance owners" filter option.
It always showed nothing before.
2014-08-31 18:20:42 -04:00
Mike Alexander
95816477e4 The sense of the "Only show active customers" checkbox was inverted. 2014-08-31 18:20:26 -04:00
Geert Janssens
c9af8269fa Bug 707243 - Hard-coded font colors in account tree? 2014-08-29 22:48:16 +02:00
Mike Alexander
5db0cb98d4 Bug 722140: Add option to control inclusion of trading accounts in cash flow report. 2014-08-14 17:17:18 -04:00
John Ralls
e4d97f6d74 Fix test-backend-dbi segfault with libdbi-0.9.0.
dbi_inst must be initialized before it can be used.
2014-08-07 11:46:17 -07:00
John Ralls
551e5c6093 Fix uninitialized variable warning. 2014-08-07 11:45:40 -07:00
John Ralls
c286448fdb Add note about automake 1.14 to configure.ac
The note has the details, but I wasn't able to get gnucash to build with
automake 1.14 without passing --disable-dependency-tracking regardless of
whether I used the subdir-objects option. If I could figure out a good way
to poison configure with automake 1.14 I would.
2014-08-07 11:44:47 -07:00