Commit Graph

129 Commits

Author SHA1 Message Date
Paul Culley
2974f82aad bug 9445; fix XML export of notes so lead/trail spaces are preserved (#379) 2017-05-05 15:29:15 +10:00
Paul Franklin
0a58ce69f9 9995: Bug in the Name Editor / Group As 2017-03-22 17:23:03 -07:00
Paul Franklin
95762e864f tidy up some translatable string things 2017-03-16 19:44:57 -07:00
Sam Manzi
e1ba3d0523 Merge pull request #343 from prculley/gladeleak
Bug 9913: Fix Glade file loading to avoid loading and leaving extra toplevels
2017-02-25 15:44:27 +11:00
Nick Hall
f92ee329a9 Avoid using 'shell=True' when running a subprocess 2017-02-24 22:32:24 +00:00
Nick Hall
a8e6f7b9a3 Use current environment and executable in process
The GRAMPSHOME environment variable is not unset after the
gen/utils/test/file_test unit test.  This caused the Gramps
process to fail with an environment error.
2017-02-23 18:43:20 +00:00
Nick Hall
d0b50caea1 Change "GRAMPS" to "Gramps" in comments and docstrings 2017-02-20 19:05:48 +00:00
Nick Hall
9ca01a3211 9945: Write PlaceID links in CSV export
When places are included in the export use PlaceID links,
otherwise generate a formatted place for the event.
2017-02-11 18:46:11 +00:00
prculley
ef647b0680 Remove unused glade files 2017-02-08 16:23:14 -06:00
Sam Manzi
d52a8f0a61 Editorial Indent as per review. 2017-02-01 11:33:11 +11:00
prculley
267a762262 Fix CSV export options for new parameters 2017-01-28 10:49:49 -06:00
prculley
8fa6fad67a Fix Gedcom export to have a more detailed progress indication 2017-01-17 10:31:23 -06:00
romjerome
14142ff5e3 9824: pylint errors: explicit import for modules and variables on .gpr.py
was pull request #284
2016-12-21 11:39:23 +01:00
Paul Culley
e584704e7b Update Merge tests to actually run
So this was a lot of work...

Updated to use lxml, steep learning curve for someone who never examined XML before...

The merge test code needed some updates because it was last used with an older version of the Gramps XML.

Found another bug in the mergefamilyquery code when test started running; another nonetype issue.

Found another bug in the mergepersonquery code when test started running; another nonetype issue.

Couldn't get the subprocess stuff to work right, so changed code to just call Gramps with capture, similar to export_tests. This in turn required that importxml and exportxml be slightly changed to support StringIO redirection of stdin and stdout.

And test_util needed a change to allow stdout to accept an unencoded stream, so I added an option to use BytesIO for this test as well.

Added some code to save input, result, and expected data to files in Gramps temp directory for debugging whenever an error occurred. Easier to use my editor in diff mode than look at the outputs.
2016-12-06 11:17:54 +11:00
prculley
d21ead1c8d Bug 8887 Add PEDI and _FREL/_MREL Gedcom Tag Export support 2016-10-29 16:50:22 -05:00
Sam Manzi
42f66f9f47 Add Export Options filter to Vcard Export 2016-09-17 08:12:51 +10:00
prculley
6ccb2cfcd3 Fix trailing whitespace 2016-09-06 11:00:20 -05:00
prculley
daf0de5692 Gedcom Export; fix support for PHON, FAX, EMAIL, WWW tags to v5.5.1 standard 2016-09-06 10:22:18 -05:00
Paul Franklin
1caffd5cc4 remove dead code
Don commented out these lines in db0d291b74 on 26 January
2007, so I think it's safe to assume they won't be missed
2016-08-04 18:41:08 -07:00
Paul Franklin
d9ec7d5e2a 8128: GtkDialog mapped without a transient parent 2016-08-01 12:16:58 -07:00
Doug Blank
e257403b7d Merge pull request #202 from prculley/bug9552
Bug9552 Export to '.wft' file crashes if Unicode characters are present on Windows
2016-07-16 17:42:53 -04:00
prculley
f7f708225f Bug 9552 Web Family tree export should be utf-8 2016-07-16 16:14:43 -05:00
prculley
d524bdd512 bug 9501 CSV import/export messes up places 2016-07-16 15:49:17 -05:00
prculley
a016457f5a Fix Bug 9569 Vcard export order is not consistent 2016-07-07 12:06:44 -05:00
Paul Franklin
de382fdb0c fix typos ("log.warn" => "LOG.warning" => "log.warning") 2016-07-05 23:06:01 -07:00
Paul Franklin
62d8487f14 change some "place_displayer" strings to the shorter "_pd" 2016-07-02 20:50:31 -07:00
prculley
495e7801d7 9499: Fix CSV import of utf-8 encoded files exported by Gramps 2016-06-29 22:23:03 +01:00
prculley
342bdac02c fix LOG.warn() deprecation warning 2016-06-29 09:44:18 -05:00
prculley
403f53cc57 Bug 9545 and 9546 Vcard export on Windows problems 2016-06-25 10:11:30 -05:00
Nick Hall
f688a96e9a Tidy up class definitions
All python3 classes are new-style classes.  It is no longer
necessary to inherit from object.
2016-05-10 16:06:49 +01:00
Doug Blank
cec4bd7a15 Merge pull request #124 from sam-m888/MissedWithOpen
Missed 'open' statements
2016-04-30 02:56:10 -04:00
Sam Manzi
1c0823bc23 Move Return out of block 2016-04-30 10:02:31 +10:00
Sam Manzi
eb4b4d083f Fixes for Missed 'open' statements 2016-04-28 10:34:22 +10:00
Sam Manzi
af9baca35e Change Exportgedcoms open 2016-04-27 19:28:26 +10:00
Doug Blank
95c39a9e1d Export XML: don't crash when exporting filtered/proxied data 2016-04-26 11:44:36 -04:00
Dale Athanasias
a9685a64ff Missed 'open' statements
From: Dale Athanasias <dalegrind@hotmail.com>
Mon, 25 Apr 2016 13:41:18 +1000
Subject: Missed 'open' statements

Hi Sam,
Here's a few files with missed 'open' statements:
gramps/gen/filters/_filterlist.py
gramps/plugins/export/exportftree.py
gramps/plugins/database/bsddb_support/write.py

And some older files which you probably left alone for a reason?
windows/nonAIO/builder/build_GrampsWin32.py
windows/nonAIO/check_gtk_install.py
windows/nonAIO/builder/make_launcher.py
windows/nonAIO/builder/check_gtk_install.py
windows/nonAIO/nsis/gcheck.py

Regards
-
Dale

Re: Prefer with to open files
https://github.com/gramps-project/gramps/pull/113
2016-04-26 14:29:40 +10:00
Doug Blank
af726ec808 Add compression option on XML export 2016-04-20 07:26:36 -04:00
Enno Borgsteede
9fe3f6ad05 8153 GEDCOM 5.5.1 Support Custom Event on export 2016-04-10 14:13:39 +10:00
romjerome
6fabb04bbe 9151: [Regression] vCal Export File format invalid
Do not encode text anymore (patch by Serge)

Fix an invalid RRULE for annual recurence

TODO: maybe try to update to VCalendar 2.0 (iCal)?
2016-03-16 11:19:15 +01:00
romjerome
79c193f74b 9242: multiple lines on firstname can corrupt ODT file
fix gramps XML file via import/export but do not know the cause
2016-03-07 15:05:19 +01:00
SNoiraud
9dc962be1f 9153 : vCard Export does not work 2016-01-27 10:57:05 +01:00
Doug Blank
c19f4b47a9 Rename database methods: _object to _media 2016-01-24 18:15:50 -05:00
Doug Blank
157604b40e Rename *_media_object methods to *_media 2016-01-23 21:53:14 -05:00
Doug Blank
2eeda93617 Renamed get_object_from to get_media_from 2016-01-23 19:00:13 -05:00
Doug Blank
6faed565f4 8556: ValueError: underlying buffer has been detached (from Paul's patch) 2015-12-13 11:29:24 -05:00
Nick Hall
31bcba8d5d Fix bug introduced in commit 8dffe66
The fix function can be passed a str or int.
2015-12-08 11:08:51 +00:00
Nick Hall
8dffe6639b Remove remaining conv_to_unicode calls 2015-12-05 16:57:05 +00:00
Nick Hall
415540e4a6 Unicode conversion not required for FileChooserDialog methods 2015-11-28 23:48:43 +00:00
Nick Hall
a86890002f Remove redundant io imports 2015-10-05 19:20:08 +01:00
Nick Hall
2d92101438 Replace GRAMPS with Gramps in comments 2015-09-07 21:58:52 +01:00