gnucash maint: Multiple changes pushed

Geert Janssens gjanssens at code.gnucash.org
Fri Sep 26 10:32:20 EDT 2014


Updated	 via  https://github.com/Gnucash/gnucash/commit/c652455e (commit)
	 via  https://github.com/Gnucash/gnucash/commit/595e3593 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/32193a47 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/0c31c627 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/ea033016 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/ba1f8cb1 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/2b6a6d89 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/b13f3dab (commit)
	from  https://github.com/Gnucash/gnucash/commit/32105585 (commit)



commit c652455ebb0878c4346d7f0cd47d0a149a440546
Author: Geert Janssens <janssens-geert at telenet.be>
Date:   Fri Sep 26 16:48:06 2014 +0200

    Rework assistant csv import regex code to eliminate the mandatory dummy field (#eol).
    
    This consists of a couple of changes that are heavily interdependent:
    - read the csv file entirely in one string
    - tweak the regex so it knows the difference between the end of line and a newline in one of the fields
    - leverage the g_regex code to iterate over the full string directly

commit 595e359301199fde13e293f6dea5be9bd6168edb
Author: Geert Janssens <janssens-geert at telenet.be>
Date:   Fri Sep 26 16:38:30 2014 +0200

    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.

commit 32193a47130fc78a5966d6ba4de64f0e0342835d
Author: Geert Janssens <janssens-geert at telenet.be>
Date:   Fri Sep 26 16:26:58 2014 +0200

    CSV Export: factor out function to generate regular expression

commit 0c31c6275380a04464cb8dca09f497225781f377
Author: Geert Janssens <janssens-geert at telenet.be>
Date:   Thu Sep 25 21:17:19 2014 +0200

    Refactor OS-specific ifdef to reduce code duplication
    
    Which results in reduced risk on typos in either branch

commit ea0330165198a01a102420ab783345fac4aa55d0
Author: Robert Fewell <14uBobIT at gmail.com>
Date:   Fri Sep 19 16:30:28 2014 +0100

    This patch just changes the white space to be of a consistent format.

commit ba1f8cb1c62ff8a335c6499b8aa1bdddb5b24030
Author: Robert Fewell <14uBobIT at gmail.com>
Date:   Fri Sep 19 14:06:59 2014 +0100

    Part Bug fix for 729476, this changes the line endings to \r\n to make it more compatible with CSV format.

commit 2b6a6d896caf83ebcb2a42bcbbcdad698c4d8b53
Author: Robert Fewell <14uBobIT at gmail.com>
Date:   Fri Sep 19 11:36:21 2014 +0100

    Part Bug fix for 729476, this fixes the quoting of quotes, newlines and separator to make it more compatible with CSV format.

commit b13f3dab2fd665cf00e8fc1fe90d73666c19accf
Author: Robert Fewell <14uBobIT at gmail.com>
Date:   Fri Sep 19 13:24:00 2014 +0100

    This patch fixes bug 731519. The fix sets the upper limit before it sets the value of the end row spin button.



Summary of changes:
 src/import-export/csv-exp/assistant-csv-export.c   | 212 +++++----
 .../csv-exp/csv-transactions-export.c              | 264 +++++++----
 src/import-export/csv-exp/csv-tree-export.c        | 194 +++++---
 .../csv-imp/assistant-csv-account-import.c         | 193 ++++----
 .../csv-imp/assistant-csv-account-import.glade     |  85 +---
 .../csv-imp/assistant-csv-trans-import.c           | 504 ++++++++++-----------
 src/import-export/csv-imp/csv-account-import.c     | 215 +++++----
 src/import-export/csv-imp/csv-account-import.h     |   2 +-
 src/import-export/csv-imp/gnc-csv-model.c          | 334 +++++++-------
 src/import-export/csv-imp/gnc-csv-model.h          |  14 +-
 10 files changed, 1050 insertions(+), 967 deletions(-)



More information about the gnucash-patches mailing list