gnucash master: Multiple changes pushed

John Ralls jralls at code.gnucash.org
Sat Feb 18 18:52:10 EST 2017


Updated	 via  https://github.com/Gnucash/gnucash/commit/81da2f24 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/f7c7b424 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/4bf3713b (commit)
	 via  https://github.com/Gnucash/gnucash/commit/c1fa1d2f (commit)
	 via  https://github.com/Gnucash/gnucash/commit/2a2369b2 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/9f0b0865 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/07eb110d (commit)
	 via  https://github.com/Gnucash/gnucash/commit/5eb1fffa (commit)
	 via  https://github.com/Gnucash/gnucash/commit/03d6b7c2 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/02d9065d (commit)
	 via  https://github.com/Gnucash/gnucash/commit/bcffaea8 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/b78d7c72 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/260f1ba3 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/cfdaa073 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/2ac3ddec (commit)
	 via  https://github.com/Gnucash/gnucash/commit/93301cd2 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/a70637f3 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/979e6397 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/db73c39b (commit)
	 via  https://github.com/Gnucash/gnucash/commit/b682fe6b (commit)
	from  https://github.com/Gnucash/gnucash/commit/2d451801 (commit)



commit 81da2f24957f3c0635f126e028c323010512227d
Author: John Ralls <jralls at ceridwen.us>
Date:   Sat Feb 18 15:33:21 2017 -0800

    Silence the no lock table warnings in test-backend-dbi.

commit f7c7b424bda78b28a9c2af70e0fac3221044ae75
Author: John Ralls <jralls at ceridwen.us>
Date:   Sat Feb 18 15:32:41 2017 -0800

    Fix failure to drop the temp numeric table at the end of dbi_library_test.

commit 4bf3713bf090e383fd711024dd27c10408c4546c
Author: John Ralls <jralls at ceridwen.us>
Date:   Sat Feb 18 10:25:06 2017 -0800

    Make gnc_dbi_safe_sync_all safer.
    
    With SQLite3 and PGSql perform all of the safe_sync actions in a SQL transaction.
    Unfortunately MySQL commits the transaction on the first schema-altering
    query (CREATE_TABLE in this case) without decrementing sql_savepoint, so
    raising an error when we try to release the (non-existent) save point at
    the end of writing the tables, so we have to fall back on detecting a failed
    safe_sync at the next connection attempt.
    
    Add a GncDbiSqlConnection::check_and_rollback_failed_save() to restore
    the database after a failed safe_save; this is performed at the next connection.

commit c1fa1d2fde8136aae4082dab692638bf99c1e616
Author: John Ralls <jralls at ceridwen.us>
Date:   Thu Feb 16 12:10:56 2017 -0800

    Move begin_transaction in lock_database to include checking for the table…
    
    and creating it.

commit 2a2369b297052dc11c68fd031cf2307f7fcba9a4
Author: John Ralls <jralls at ceridwen.us>
Date:   Thu Feb 16 11:09:56 2017 -0800

    Add SAVEPOINT support to enable nested gnc_dbi_transaction calls.

commit 9f0b086546cda4853b46042f5d5e9ac95ac5aa19
Author: John Ralls <jralls at ceridwen.us>
Date:   Thu Feb 16 11:08:35 2017 -0800

    Use the transactional member functions instead of running queries directly.

commit 07eb110db75bbc4b837605318b431fe074fa20cc
Merge: 2d45180 5eb1fff
Author: John Ralls <jralls at ceridwen.us>
Date:   Wed Feb 15 15:51:58 2017 -0800

    Merge branch 'maint'

commit 5eb1fffa7ddd42b8175b8b5b2a205911fe6de8ab
Author: fell <frank.h.ellenberger at gmail.com>
Date:   Tue Feb 14 08:08:09 2017 +0100

    Review of pull request #125 from Mechtilde

commit 03d6b7c200e745fc962ae95090b10287e3efef18
Merge: b78d7c7 02d9065
Author: Frank H. Ellenberger <fellen at users.noreply.github.com>
Date:   Tue Feb 14 05:27:48 2017 +0100

    Merge pull request #125 from Mechtilde/TranslationDE
    
    Translation de

commit 02d9065db65727fe80bcc531eb7e5964faedea20
Author: Mechtilde <ooo at mechtilde.de>
Date:   Sun Feb 12 09:48:45 2017 +0100

    msgmerge with gnucash-2.6.15.pot

commit bcffaea86ed3c83cbdaafb6bb2e99e5b159e4974
Author: Mechtilde <ooo at mechtilde.de>
Date:   Mon Dec 26 09:16:06 2016 +0100

    translation tip_of_the_day

commit b78d7c72ce497ccd6c32ced8d197261c511c0055
Author: fell <frank.h.ellenberger at gmail.com>
Date:   Sun Feb 12 00:02:33 2017 +0100

    Improve comment about available languages

commit 260f1ba3124976c9ad620e197275135870772bed
Author: fell <frank.h.ellenberger at gmail.com>
Date:   Fri Feb 10 22:52:02 2017 +0100

    Set a separate translator comment to avoid pulling the whole file header
    comment in POT
    
    Follow up of commit 7432ba8

commit cfdaa073a104ba86b2b1cdd2b1ecc4f7863895fb
Author: fell <frank.h.ellenberger at gmail.com>
Date:   Fri Feb 10 21:48:14 2017 +0100

    Fix german language tag
    
    found by i18nspector

commit 2ac3ddec9c19c41cf0a423c65d512a8b28dc1812
Author: fell <frank.h.ellenberger at gmail.com>
Date:   Fri Feb 10 21:31:52 2017 +0100

    Update PACKAGE_BUGREPORT, set PACKAGE_URL
    
    We prefer bugzilla entries over emails

commit 93301cd285a88eb5b58b2902d23118bfa9edbc44
Author: John Ralls <jralls at ceridwen.us>
Date:   Sat Feb 4 17:36:09 2017 -0800

    Make gnc_dbi_safe_sync_all safer.
    
    Creates a new safe_sync function in struct provider and a new
    gnc_db_do_safe_sync_all function with the guts of gnc_dbi_do_safe_sync_all.
    The last calls the provider’s safe_sync function, which for SQLite3 and
    PGSql wraps the call to gnc_dbi_do_safe_sync_all in a SQL transaction.
    Unfortunately MySQL commits the transaction on the first schema-altering
    query (CREATE_TABLE in this case) without decrementing sql_savepoint, so
    raising an error when we try to release the (non-existent) save point at
    the end of writing the tables.
    
    Add a gnc_dbi_check_and_rollback_failed_save() to restore the database
    after a failed safe_save; this is performed at the next connection.

commit a70637f34d48461cb8551d205935d8b3663869af
Author: John Ralls <jralls at ceridwen.us>
Date:   Sat Feb 4 09:58:27 2017 -0800

    Move the transaction-lock on obtaining the database lock earlier.
    
    So that opening/creating the table is included. Also modify the condition
    to reduce code nesting.

commit 979e6397c15290550231d3c8ce18a1097157ccc0
Author: John Ralls <jralls at ceridwen.us>
Date:   Sat Feb 4 09:50:50 2017 -0800

    Add SAVEPOINT support to enable nested gnc_dbi_transaction calls.

commit db73c39bf182904d01b3531524481aa274a2462a
Author: John Ralls <jralls at ceridwen.us>
Date:   Sat Feb 4 09:41:45 2017 -0800

    Extract static gnc_dbi_transaction functions.
    
    To enable local calls (as opposed to just virtual calls via
    GncDbiSqlConnection) and replace all direct transaction queries with the
    new functions.

commit b682fe6b43a3388a7ba144d93a8590792ffe979f
Author: DIG <dig at comilfo>
Date:   Wed Feb 1 05:22:53 2017 +0300

    Small updates for Russian translation



Summary of changes:
 configure.ac                                    |    6 +-
 po/de.po                                        | 2037 +++++++++++------------
 po/ru.po                                        |    6 +-
 src/backend/dbi/gnc-backend-dbi.cpp             |   44 +
 src/backend/dbi/gnc-dbisqlconnection.cpp        |  189 ++-
 src/backend/dbi/gnc-dbisqlconnection.hpp        |   14 +-
 src/backend/dbi/test/test-backend-dbi-basic.cpp |   14 +-
 src/backend/sql/gnc-sql-backend.cpp             |    4 +-
 src/backend/sql/gnc-sql-connection.hpp          |    4 +-
 src/backend/sql/test/utest-gnc-backend-sql.cpp  |    4 +-
 src/engine/commodity-table.scm                  |    5 +-
 11 files changed, 1124 insertions(+), 1203 deletions(-)



More information about the gnucash-patches mailing list