Merge branch 'maint'

This commit is contained in:
John Ralls 2015-12-21 10:26:59 -08:00
commit e4d3e90070
25 changed files with 33279 additions and 7239 deletions

454
ChangeLog
View File

@ -1,6 +1,454 @@
2015-12-19 John Ralls
* Update the po files from the Translation Project. (HEAD, origin/maint, origin/HEAD, maint)
2015-12-19 Pedro Albuquerque
* Add new Portugal-Portuguese Translation.
2015-12-18 John Ralls
* Fix test failure due to trying to parse nanoseconds, which we don't actually use.
2015-12-18 Geert Janssens
* Bug 746155 - Reports: html-acct-table prepend-row! & prepend-col! unknown variables
2015-12-17 John Ralls
* Bug 756335 - When importing, date selection causes exit crash
2015-12-17 John Ralls
* Correct detection of marker commodity splits.
2015-12-14 John Ralls
* Use @SHELL@ instead of hardcode /bin/sh in test shell scripts. (origin/el-cap)
2015-12-10 John Ralls
* Bug 759224 - illegal dates in stock transactions cause corrupt file.
2015-12-12 Mechtilde
* update de.po via gnucash.pot after building myself
2015-12-12 Mechtilde
* update de.po via gnucash.pot after building myself
2015-12-12 Mechtilde
* some more German translation
2015-12-01 Mechtilde
* add more German Translation
2015-11-28 Mechtilde
* add German Translation
2015-11-01 Mechtilde
* remove some fuzzy
2015-12-11 Geert Janssens
* Fix uninitialized warning in previous commit
2015-12-11 Geert Janssens
* Improve the revert action
2015-12-11 Geert Janssens
* Have a more generic mechanism to set Save action's sensitivity and use it for Revert action as well
2015-12-11 Geert Janssens
* Remove a couple of obsolete FIXME comments
2015-12-10 Geert Janssens
* Make dirty handling as currently defined by qof_alt_dirty_mode the only dirty handling mode
2015-12-10 Mike Evans
* Bug 759294 - New the billing term are not saved during invoice editing. Prevent editing the terms from the invoice view. This has to be edited via the edit invoice button or menu Edit->Edit Invoice. The dropdown in the invoice view has been replaced with an edit text box set to non-editable in the glade file.
2015-12-10 Geert Janssens
* Bug 745101 - No warning when quitting with unsaved file
2015-12-10 Geert Janssens
* Disable a couple of debug tests in python
2015-12-10 Geert Janssens
* Revert "Bug 745101 - No warning when quitting with unsaved file"
2015-12-10 Geert Janssens
* Bug 745101 - No warning when quitting with unsaved file
2015-12-08 John Ralls
* Fix broken exchange rate edits when using trading accounts.
2015-12-05 Bob-IT
* Correct Spelling Mistake
2015-12-04 Geert Janssens
* Followup on bug 682800 to fix row balances in register reports
2015-11-15 Peter Broadbery
* Some fixes to the previous commit so that it works on both guile-1.8 and 2.0
2015-11-19 John Ralls
* Revert the Language-Team in ar.po.
2015-11-17 Mike Alexander
* Set val_imbalance in gnc_transaction_balance_trading.
2015-11-17 Mike Alexander
* Remove the code in on_matcher_ok_clicked that builds refs_list.
2015-11-17 Mike Alexander
* Avoid assert in gnc_split_register_balance_trans if default_account is null.
2015-11-13 Peter Broadbery
* Move test-account and test-split into engine/test directory
2015-11-13 Peter Broadbery
* Moved test-extras.scm to engine directory.
2015-11-09 Peter Broadbery
* cash-flow.scm: Use hashtables for accounts as well
2015-11-12 Peter Broadbery
* engine-utilities.scm: Add a couple of hashtable functions.
2015-11-09 Peter Broadbery
* cash-flow.scm: Use a hashtable instead of a list.
2015-11-12 Peter Broadbery
* engine-utilities.scm: Add a specialised hashtable.
2015-11-09 Peter Broadbery
* cashflow: use the much faster gnc:account-get-trans-type-splits-interval
2015-11-08 Peter Broadbery
* Add cashflow test
2015-10-31 Peter Broadbery
* report-utilities: Add a very small test to show that splits are unique for account-get-trans-type-splits-interval
2015-11-09 Peter Broadbery
* cashflow: Further separate work into a per-split section.
2015-11-12 Peter Broadbery
* standard-reports/cash-flow.scm: break out main calculation part
2015-11-12 Peter Broadbery
* Move account & split.scm to engine-utilities
2015-11-09 Peter Broadbery
* reports: Add account and split module, plus tests.
2015-11-08 Peter Broadbery
* Add and use a macro for loading modules.
2015-11-11 John Ralls
* Updated Arabic Translation by Abdulsalam Alshilash.
2015-11-05 Bill Nottingam
* Bug 742321 - Reset temporary prefs on application startup
2015-11-03 Geert Janssens
* Bug 756720 - configure fails to find libgoffice 0.10-10 (0.10.18-1)
2015-11-03 Mark Haanen
* Add new account chart for Duch small businesses.
2015-10-22 root
* disable recursion for balance and balance (usd)
2015-11-01 Geert Janssens
* Reduce code duplication
2015-10-30 yomlogs
* Bug 757378: display the user-defined display symbol for non-currency commodities.
2015-10-31 Mechtilde
* some more German translation
2015-10-29 Mechtilde
* more corr in German translation
2015-10-13 Mechtilde
* corr translation in German
2015-10-30 John Ralls
* Don't require prices in Scheduled Transactions with marker commodity splits.
2015-10-27 John Ralls
* Rename GNOME_COMPILE_WARNINGS to just COMPILE_WARNINGS.
2015-10-27 John Ralls
* Revert "Use gnc_pricedb_has_prices instead of testing the return value of get_prices."
2015-10-24 John Ralls
* Merge branch 'single-price' into maint
2015-10-24 John Ralls
* Fix leaking QofBook in most of the engine unit tests.
2015-10-18 John Ralls
* Use gnc_pricedb_has_prices instead of testing the return value of get_prices.
2015-10-16 John Ralls
* Remove be->price_lookup conditional clauses.
2015-09-15 John Ralls
* Prevent F::Q from updating PRICE_SOURCE_EDIT_DLG prices.
2015-09-12 John Ralls
* Remove unnecessary and harmful price rounding.
2015-09-09 John Ralls
* Implement user-entered-price preference.
2015-09-09 John Ralls
* Fold separate call of gnc_pricedb_lookup_latest() into lookup_price.
2015-09-03 John Ralls
* Use an enum for internal representation of Price Sources.
2015-09-03 John Ralls
* Extract function lookup_price in dialog_transfer.c
2015-09-01 John Ralls
* Adjust split_register to match transfer dialog checking inverted prices.
2015-09-01 John Ralls
* Fix missing initialization of price_value.
2015-09-01 John Ralls
* Change CURRENCY_DENOM to 10000, matching what F::Q returns.
2015-09-01 John Ralls
* Extract function round_price(), consistently apply it.
2015-08-28 John Ralls
* Create a rounding policy for prices in the pricedb.
2015-08-28 John Ralls
* Rename _gnc_xfer_dialog_set_exchange_rate and use it consistently.
2015-08-28 John Ralls
* Provide gnc_numeric_invert() convenience function.
2015-08-28 John Ralls
* Use price_value when referring to a gnc_numeric.
2015-08-25 John Ralls
* Price-quotes: Modify quotes on same day instead of creating new ones.
2015-08-23 John Ralls
* Edit split-based prices instead of adding.
2015-08-23 John Ralls
* Check for an existing price before adding one in split_reg.
2015-08-23 John Ralls
* In the transfer dialog use the price_edit value for the saved price.
2015-08-22 John Ralls
* Fix up whitespace in dialog-transfer.c.
2015-08-22 John Ralls
* Refactor gnc_xfer_dialog_response_cb with several extract-functions.
2015-08-22 John Ralls
* Don't store prices of source invoice.
2015-08-21 John Ralls
* Replace the price source and type strings with defines.
2015-10-23 John Ralls
* Revert "Merge branch 'single-price' into maint"
2015-10-23 John Ralls
* Revert "Fix rename failure for gnc_xfer_dialog_set_exchange_rate."
2015-10-23 John Ralls
* Revert "Fix price-reading crash if the price needs to be inverted."
2015-10-23 John Ralls
* Revert "Bug 756339 - Prices table not updated"
2015-10-16 John Ralls
* Fix typo.
2015-10-15 John Ralls
* Add Business Ledger to Doxygen docs.
2015-10-15 John Ralls
* Document the Register Core CellBlock class.
2015-10-15 John Ralls
* Create a new Register2 group in Register and add the Reg2-specific files to it.
2015-10-13 John Ralls
* Correct UK VAT Account types.
2015-10-13 John Ralls
* Add messages.mo to gitignore.
2015-10-13 John Ralls
* Add all register classes and such to Doxygen documentation.
2015-10-13 John Ralls
* Doxygen: Silence obsolete parameter warnings and suppress private struct names.
2015-10-11 John Ralls
* Some extract-function refactors to xaccTransScrubImbalance.
2015-10-11 John Ralls
* Delete unused function gnc-_split_reg_handle_exchange_cb.
2015-10-10 John Ralls
* Bug 756339 - Prices table not updated
2015-10-10 John Ralls
* Bug 756335 - When importing, date selection causes exit crash
2015-10-10 Geert Janssens
* Bug 646129 - Account selection in reports: 'Select Children' doesn't actually select children if they are collapsed
2015-05-20 Stefan Soeffing
* Bug 627692 - Report options, Account Selection, "select all" => not all accounts selected, only visible ones
2015-10-10 Geert Janssens
* Revert "- Report options, Account Selection, "select all" => not all accounts selected, only visible ones"
2015-05-20 Stefan Soeffing
* - Report options, Account Selection, "select all" => not all accounts selected, only visible ones
2015-10-09 John Ralls
* Bug 755781 - Files with copyright but no grant of license.
2015-08-31 Robert Fewell
* Bug 754533 No Account Templates Error Patch
2015-10-05 John Ralls
* Release 2.6.9 (tag: 2.6.9)
2015-10-05 John Ralls
* Fix price-reading crash if the price needs to be inverted.
2015-10-05 John Ralls
* Fix header warnings in TP translations.
2015-10-05 John Ralls
* Apply latest translations from the Translation Project.
2015-10-05 John Ralls
* Msgmerge-update the po files.
2015-10-05 Mechtilde 2015-10-05 Mechtilde
* some more translation (HEAD, pull-37) * some more translation
2015-10-05 Mechtilde 2015-10-05 Mechtilde
@ -12,7 +460,7 @@
2015-10-02 John Ralls 2015-10-02 John Ralls
* Remove duplicate call to gnc_set_default_directory(). (origin/maint, maint) * Remove duplicate call to gnc_set_default_directory().
2015-10-01 John Ralls 2015-10-01 John Ralls
@ -464,7 +912,7 @@
2015-06-02 Mike Evans 2015-06-02 Mike Evans
* Bug 734183 - Set value to zero before calling gnc_exp_parser_parse. (github/maint) * Bug 734183 - Set value to zero before calling gnc_exp_parser_parse.
2015-05-31 Geert Janssens 2015-05-31 Geert Janssens

69
NEWS
View File

@ -1,11 +1,70 @@
Version history: Version history:
------- ------- ------- -------
2.6.8 - 27 September 2015 2.6.10 - 20 December 2015
Announcement: GnuCash 2.6.8 Release 2015-09-27 Announcement: GnuCash 2.6.10 Release 2015-12-20
GnuCash 2.6.8 released GnuCash 2.6.10 released
The GnuCash development team humbly announces GnuCash 2.6.9, the The GnuCash development team proudly announces GnuCash 2.6.10, the
ninth maintenance release in the 2.6-stable series, a snap release to repair a serious bug on Microsoft Windows. tenth maintenance release in the 2.6-stable series.
The following bugs are fixed:
Bug 627692 - Report options, Account Selection, "select all" => not all
accounts selected, only visible ones
Bug 646129 - Account selection in reports: 'Select Children' doesn't
actually select children if they are collapsed.
Bug 662126 - Cannot create scheduled transaction for dividend reinvestment
Bug 742321 - Reset temporary prefs on application startup
Bug 745101 - No warning when quitting with unsaved file.
When the file was first created without the New File Assistant.
Bug 746155 - Reports: html-acct-table prepend-row! & prepend-col!
unknown variables Fixed following the suggestions by
Tony Kerns.
Bug 754192 - Since Last Run Dialog asks for security price even if not
needed.
Bug 754533 - No Account Templates Error Patch
Bug 755781 - Files with copyright but no grant of license.
Bug 756335 - When importing, date selection causes exit crash
Bug 756339 - Prices table not updated
Bug 756720 - configure fails to find libgoffice 0.10-10 (0.10.18-1)
While we can't support libgoffice 0.10 because that would
require gtk3 we can improve the error message if no libgoffice
0.8.x version is found.
Bug 757378 - Display the user-defined display symbol for non-currency
commodities.
Bug 759224 - illegal dates in stock transactions cause corrupt file.
Bug 759294 - New the billing term are not saved during invoice editing.
Prevent editing the terms from the invoice view.
Other repairs that weren't marked as bugs in git:
Revert the automatic inversion of prices whose value is less than 1.0.
This corrects several regressions from 2.6.8 and 2.6.9; it proved to
be to big a change for a maintenance branch and will re-appear in the
next major release.
Fix test failure due to trying to parse nanoseconds, which we don't
actually use.
Use @SHELL@ instead of hardcode /bin/sh in test shell scripts.
This is a workaround for MacOS X 10.11's System Integrity Protection.
Improve the revert action: Ask user confirmation and don't ask to save
before reverting
Have a more generic mechanism to set Save action's sensitivity and use it
for Revert action as well
Avoid assert in gnc_split_register_balance_trans if default_account is null.
Performance improvements in the Cash Flow report.
Add new account chart for Duch small businesses.
Add some developer documentation.
New Translations:
Portugal Portuguese
Updated Translations:
Arabic, German
2.6.9 - 5 October 2015
Announcement: GnuCash 2.6.8 Release 2015-10-05
GnuCash 2.6.9 released
The GnuCash development team humbly announces GnuCash 2.6.9, the ninth
maintenance release in the 2.6-stable series, a snap release to repair
a serious bug on Microsoft Windows.
The following bugs are fixed: The following bugs are fixed:
Bug 755920 - Crash (Freeze) when using File Save As.. in Windows OS Bug 755920 - Crash (Freeze) when using File Save As.. in Windows OS

View File

@ -97,7 +97,7 @@ TP_LINGUAS="az ca cs da eu fa ja nl pt rw sk sr sv tr uk zh_CN"
dnl already marked as external at TP: dnl already marked as external at TP:
GC_LINGUAS="ar bg de el en_GB es fi fr gu he hi hu it kn ko lt lv mr nb ne pl pt_BR ro ru ta te ur vi zh_TW " GC_LINGUAS="ar bg de el en_GB es fi fr gu he hi hu it kn ko lt lv mr nb ne pl pt_BR ro ru ta te ur vi zh_TW "
dnl not marked or no TP team: dnl not marked or no TP team:
NEW_LINGUAS="as brx doi es_NI kok kok@latin ks mai mni mni@bengali" NEW_LINGUAS="as brx doi es_NI kok kok@latin ks mai mni mni@bengali pt_PT"
ALL_LINGUAS="$TP_LINGUAS $GC_LINGUAS $NEW_LINGUAS" ALL_LINGUAS="$TP_LINGUAS $GC_LINGUAS $NEW_LINGUAS"

874
po/az.po

File diff suppressed because it is too large Load Diff

1225
po/ca.po

File diff suppressed because it is too large Load Diff

870
po/cs.po

File diff suppressed because it is too large Load Diff

870
po/da.po

File diff suppressed because it is too large Load Diff

870
po/eu.po

File diff suppressed because it is too large Load Diff

870
po/fa.po

File diff suppressed because it is too large Load Diff

870
po/ja.po

File diff suppressed because it is too large Load Diff

870
po/nl.po

File diff suppressed because it is too large Load Diff

870
po/pt.po

File diff suppressed because it is too large Load Diff

25626
po/pt_PT.po Normal file

File diff suppressed because it is too large Load Diff

906
po/rw.po

File diff suppressed because it is too large Load Diff

870
po/sk.po

File diff suppressed because it is too large Load Diff

870
po/sr.po

File diff suppressed because it is too large Load Diff

870
po/sv.po

File diff suppressed because it is too large Load Diff

872
po/tr.po

File diff suppressed because it is too large Load Diff

870
po/uk.po

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -192,7 +192,7 @@ _get_vars_helper(Transaction *txn, void *var_hash_data)
gnc_commodity *split_cmdty = NULL; gnc_commodity *split_cmdty = NULL;
GncGUID *acct_guid = NULL; GncGUID *acct_guid = NULL;
Account *acct; Account *acct;
gnc_numeric split_amount; gboolean split_is_marker = TRUE;
s = (Split*)split_list->data; s = (Split*)split_list->data;
@ -203,13 +203,26 @@ _get_vars_helper(Transaction *txn, void *var_hash_data)
NULL); NULL);
acct = xaccAccountLookup(acct_guid, gnc_get_current_book()); acct = xaccAccountLookup(acct_guid, gnc_get_current_book());
split_cmdty = xaccAccountGetCommodity(acct); split_cmdty = xaccAccountGetCommodity(acct);
split_amount = xaccSplitGetAmount(s); // existing... ------------------------------------------
if (!gnc_numeric_zero_p(split_amount) && first_cmdty == NULL) if (credit_formula && strlen(credit_formula) != 0)
{
gnc_sx_parse_vars_from_formula(credit_formula, var_hash, NULL);
split_is_marker = FALSE;
}
if (debit_formula && strlen(debit_formula) != 0)
{
gnc_sx_parse_vars_from_formula(debit_formula, var_hash, NULL);
split_is_marker = FALSE;
}
g_free (credit_formula);
g_free (debit_formula);
if (!split_is_marker && first_cmdty == NULL)
{ {
first_cmdty = split_cmdty; first_cmdty = split_cmdty;
} }
if (!gnc_numeric_zero_p(split_amount) && if (!split_is_marker &&
! gnc_commodity_equal(split_cmdty, first_cmdty)) ! gnc_commodity_equal(split_cmdty, first_cmdty))
{ {
GncSxVariable *var; GncSxVariable *var;
@ -226,18 +239,6 @@ _get_vars_helper(Transaction *txn, void *var_hash_data)
g_hash_table_insert(var_hash, g_strdup(var->name), var); g_hash_table_insert(var_hash, g_strdup(var->name), var);
g_string_free(var_name, TRUE); g_string_free(var_name, TRUE);
} }
// existing... ------------------------------------------
if (credit_formula && strlen(credit_formula) != 0)
{
gnc_sx_parse_vars_from_formula(credit_formula, var_hash, NULL);
}
if (debit_formula && strlen(debit_formula) != 0)
{
gnc_sx_parse_vars_from_formula(debit_formula, var_hash, NULL);
}
g_free (credit_formula);
g_free (debit_formula);
} }
return 0; return 0;

View File

@ -898,7 +898,7 @@
(let loop ((current (car objects)) (let loop ((current (car objects))
(rest (cdr objects))) (rest (cdr objects)))
(let ((val (getter current))) (let ((val (getter current)))
(if val (if (and val (string? val))
(begin (begin
(set! do-parsing #t) (set! do-parsing #t)
(set! formats (checker val formats)))) (set! formats (checker val formats))))

View File

@ -1018,33 +1018,33 @@
(define (gnc:html-acct-table-set-row-env! acct-table row env) (define (gnc:html-acct-table-set-row-env! acct-table row env)
(gnc:html-acct-table-set-cell! acct-table row -1 env)) (gnc:html-acct-table-set-cell! acct-table row -1 env))
(define (gnc:html-acct-table-append-row acct-table objects) (define (gnc:html-acct-table-append-row! acct-table newrow)
(gnc:html-table-append-row! (gnc:html-table-append-row!
(gnc:_html-acct-table-matrix_ acct-table) (gnc:_html-acct-table-matrix_ acct-table)
(map (map
(lambda (x) (gnc:make-html-table-cell (list x))) (lambda (x) (gnc:make-html-table-cell (list x)))
objects))) newrow)))
(define (gnc:html-acct-table-prepend-row! acct-table newrow) (define (gnc:html-acct-table-prepend-row! acct-table newrow)
(gnc:html-table-prepend-row! (gnc:html-table-prepend-row!
(gnc:_html-acct-table-matrix_ acct-table) (gnc:_html-acct-table-matrix_ acct-table)
(map (map
(lambda (x) (gnc:make-html-table-cell (list x))) (lambda (x) (gnc:make-html-table-cell (list x)))
objects))) newrow)))
(define (gnc:html-acct-table-append-col acct-table objects) (define (gnc:html-acct-table-append-col! acct-table newcol)
(gnc:html-table-append-col! (gnc:html-table-append-col!
(gnc:_html-acct-table-matrix_ acct-table) (gnc:_html-acct-table-matrix_ acct-table)
(map (map
(lambda (x) (gnc:make-html-table-cell (list x))) (lambda (x) (gnc:make-html-table-cell (list x)))
objects))) newcol)))
(define (gnc:html-acct-table-prepend-col! acct-table newrow) (define (gnc:html-acct-table-prepend-col! acct-table newrow)
(gnc:html-table-prepend-col! (gnc:html-table-prepend-col!
(gnc:_html-acct-table-matrix_ acct-table) (gnc:_html-acct-table-matrix_ acct-table)
(map (map
(lambda (x) (gnc:make-html-table-cell (list x))) (lambda (x) (gnc:make-html-table-cell (list x)))
objects))) newcol)))
(define (gnc:html-acct-table-remove-last-row! acct-table) (define (gnc:html-acct-table-remove-last-row! acct-table)
(gnc:html-table-remove-last-row! (gnc:_html-acct-table-matrix_ acct-table))) (gnc:html-table-remove-last-row! (gnc:_html-acct-table-matrix_ acct-table)))

View File

@ -530,9 +530,9 @@
(export gnc:html-acct-table-set-cell!) (export gnc:html-acct-table-set-cell!)
(export gnc:html-acct-table-get-row-env) (export gnc:html-acct-table-get-row-env)
(export gnc:html-acct-table-set-row-env!) (export gnc:html-acct-table-set-row-env!)
(export gnc:html-acct-table-append-row) (export gnc:html-acct-table-append-row!)
(export gnc:html-acct-table-prepend-row!) (export gnc:html-acct-table-prepend-row!)
(export gnc:html-acct-table-append-col) (export gnc:html-acct-table-append-col!)
(export gnc:html-acct-table-prepend-col!) (export gnc:html-acct-table-prepend-col!)
(export gnc:html-acct-table-remove-last-row!) (export gnc:html-acct-table-remove-last-row!)
(export gnc:html-acct-table-render) (export gnc:html-acct-table-render)

View File

@ -88,6 +88,7 @@ endif
clean-local: clean-local:
$(RM) -rf gnucash $(RM) -rf gnucash
$(RM) *.log
noinst_DATA = .scm-links noinst_DATA = .scm-links
CLEANFILES = .scm-links CLEANFILES = .scm-links