Compare commits

..
1126 Commits
Author SHA1 Message Date
Jérôme RapinatandJohn Ralls 9f0f9be8ea update NEWS
svn: r23470
2013-11-08 09:25:13 -08:00
John Ralls 870f5334ec Prepare mac build for 4.0.2 release.
svn: r23469
2013-11-08 09:24:53 -08:00
Doug BlankandJohn Ralls cdbcbd1446 Python3 spacing
svn: r23466
2013-11-07 11:35:21 -08:00
Doug BlankandJohn Ralls 17ac22d959 Python3 spacing
svn: r23464
2013-11-07 11:34:59 -08:00
Doug BlankandJohn Ralls 7e1eb33466 Python3 syntax
svn: r23463
2013-11-07 11:34:31 -08:00
Doug BlankandJohn Ralls 2c266cada1 Missing newline
svn: r23462
2013-11-07 11:34:05 -08:00
Mirko LeonhäuserandJohn Ralls 92f65f5628 updated german translation
svn: r23460
2013-11-07 11:33:40 -08:00
Jérôme RapinatandJohn Ralls 959162e862 6918: http://lintian.debian.org/tags/old-fsf-address-in-copyright-file.html
svn: r23456
2013-11-07 11:33:16 -08:00
Doug BlankandJohn Ralls 61347c3093 Added callback parameter to __init__ method so that all editors have a uniform signature (called from Note Link)
svn: 23454
2013-11-07 11:32:35 -08:00
Doug BlankandJohn Ralls dd818829bd Fix long columns of text that span pages
svn: r23453
2013-11-07 11:32:09 -08:00
Paul FranklinandJohn Ralls a4c17b6573 add Greek date handler to NEWS
svn: r23452
2013-11-07 11:31:37 -08:00
Vassilii KhachaturovandJohn Ralls 4aa97e3ee9 merge gramps34 news
svn: r23451
2013-11-07 11:31:02 -08:00
Mirko Leonhäuser e127df70c5 updated german translation
svn: r23443
2013-10-30 20:33:47 +00:00
Mirko Leonhäuser 2e28011a25 updated german translation
svn: r23441
2013-10-29 22:14:52 +00:00
Jérôme Rapinat 5bb0d47b2c 7151: update start of Ramadan in France
svn: r23439
2013-10-29 17:52:02 +00:00
Paul Franklin 72aae8ea69 typos
svn: r23436
2013-10-29 15:35:14 +00:00
Mirko Leonhäuser 3c55f8c668 updated german translation
svn: r23428
2013-10-27 20:57:33 +00:00
Mirko Leonhäuser e5586c67da updated german translation
svn: r23427
2013-10-27 13:10:31 +00:00
Jérôme Rapinat 8015627b30 7154: fix Norwegian Bokmål's header
svn: r23425
2013-10-27 00:54:14 +00:00
Paul Franklin 5732e96e8b updated Arabic translation (by Muhammad Bashir Al-Noimi)
svn: r23423
2013-10-26 20:56:32 +00:00
Vassilii Khachaturov 6971d583ac RU: translation update
svn: r23403
2013-10-25 11:39:36 +00:00
Vassilii Khachaturov 1541ad9543 RU: translation update for navweb
svn: r23402
2013-10-25 11:38:55 +00:00
Vassilii Khachaturov 18fb7ac41a RU: fix name editor keywords
svn: r23400
2013-10-25 11:15:43 +00:00
Jérôme Rapinat 88314f3ccd 7154: fix Norwegian Bokmål's header
svn: r23398
2013-10-25 11:01:10 +00:00
Jérôme Rapinat e39cb42091 merge some strings (need review) for Breton
svn: r23396
2013-10-25 09:27:20 +00:00
Jérôme Rapinat 0837003bc9 merge some strings from gramps34 and Devhelp (Gtk/Gnome API)
svn: r23395
2013-10-25 09:11:25 +00:00
Jérôme Rapinat d982726200 update template
svn: r23394
2013-10-25 08:39:56 +00:00
Zdenek Hatas 395a4f6110 czech translation update
svn: r23379
2013-10-24 08:41:10 +00:00
Paul Franklin 841f5c261b 7150: crash on backup or export
svn: r23366
2013-10-22 16:52:53 +00:00
Vassilii Khachaturov 47b9144ed1 5098: fix a runaway merge artifact
svn: r23365
2013-10-22 15:07:47 +00:00
Erik De Richter 940fb10ecc updated dutch translation
svn: r23358
2013-10-20 21:20:21 +00:00
Vassilii Khachaturov ba541e6c03 7125/7102: port my fix from gramps34
svn: r23355
2013-10-20 16:47:38 +00:00
Paul Franklin 2bf775fad3 7124: Complete Individual Report does incomplete translation
svn: r23353
2013-10-20 16:46:31 +00:00
Vassilii Khachaturov e8f7341fb5 fix RU translation of WebCal
svn: r23352
2013-10-20 14:46:09 +00:00
Vassilii Khachaturov 70ad7761e6 RU translation update
svn: r23344
2013-10-20 11:05:06 +00:00
Erik De Richter 647cc6b50d updated dutch translation
svn: r23342
2013-10-19 20:43:54 +00:00
Erik De Richter ccd8490f33 updated dutch translation
svn: r23341
2013-10-19 20:37:27 +00:00
Doug Blank f488b4c33e Fixed new Gtk Drag/Drop names
svn: r23337
2013-10-19 03:02:50 +00:00
Paul Franklin 902fa3da89 added SVN properties, and SVN "Id" lines if needed
svn: r23333
2013-10-17 19:01:17 +00:00
Doug Blank 0f8e1c52e0 6678: Database Differences Report crashes 4.0 beta svn 21228
svn: r23330
2013-10-17 12:07:04 +00:00
Paul Franklin 196d52c6e5 7129: the Family Group Report doesn't show "family" attributes
svn: r23319
2013-10-13 21:10:46 +00:00
Mirko Leonhäuser 365f8e7c2e updated german translation
svn: r23317
2013-10-13 17:53:34 +00:00
Doug Blank a39ea168ab 7090: wrong age for dead people reported by webcal
svn: r23306
2013-10-11 11:46:06 +00:00
Jérôme Rapinat df8ec14bcf either fix apostrophe into 'data/tips.xml.in' to avoid message like 'byte 0xd0 in position 7', or remove unicode_literals from po/update_po.py
svn: r23304
2013-10-11 08:31:40 +00:00
Jérôme Rapinat 8149b4fe72 7110: alternate possessive form, which will limit issues on parsing
svn: r23303
2013-10-11 08:26:07 +00:00
Jérôme Rapinat 1577a6d8af 7110: typo on AppData file, improve description; 7092 7110: update template and french translation
svn: r23302
2013-10-11 08:10:55 +00:00
Paul Franklin aea3259e63 7092: API for reporting issues ["interim" solution, from Nick Hall]
svn: r23300
2013-10-11 00:00:53 +00:00
Jérôme Rapinat fe1f262312 7110: add up-to-date screenshots to AppData file; typo on the french translation
svn: r23295
2013-10-10 15:47:32 +00:00
Mirko Leonhäuser b5f614df8e updated german translation
svn: r23293
2013-10-09 20:51:48 +00:00
Paul Franklin 386205877b 7102: XML: Gramps does not export 'very low' value (0) for confidence into citation
svn: r23288
2013-10-09 16:19:47 +00:00
Josip Pisoj 75fe63893f 0007114: GtkSpell: language code in a human readable format
svn: r23283
2013-10-08 17:12:11 +00:00
Doug Blank f060bf400d 7006: double entries in de gendex.txt file
svn: r23282
2013-10-08 16:40:00 +00:00
Vassilii Khachaturov 2b1df84121 7068: back-port from trunk
svn: r23281
2013-10-08 13:05:34 +00:00
Vassilii Khachaturov 63d6fe766f 7100: reapply fix from trunk after CR by dsblank
svn: r23278
2013-10-08 12:10:20 +00:00
Doug Blank 98b54ebd8b Add Gallery 'Make Active Media', typo
svn: r23273
2013-10-08 01:29:08 +00:00
Doug Blank eb71691372 Add Gallery 'Make Active Media', typo
svn: r23272
2013-10-08 01:12:44 +00:00
Doug Blank d395c4c515 Add Gallery 'Make Active Media'
svn: r23269
2013-10-08 01:03:54 +00:00
Nick Hall 918be87230 Freeze headings when scrolling
svn: r23266
2013-10-07 22:03:12 +00:00
Jérôme Rapinat cd01cb92ef 7105: missing event_ref_list into get_citation_child_list method
svn: r23262
2013-10-07 14:41:38 +00:00
Jérôme Rapinat 13eeb38282 7110: Add AppData file
svn: r23259
2013-10-07 09:38:29 +00:00
Jérôme Rapinat 38b090de64 7110: Add AppData file
svn: r23258
2013-10-07 09:20:16 +00:00
Jérôme Rapinat 8f43a5ae44 7110: Add AppData file
svn: r23257
2013-10-07 09:12:16 +00:00
Jérôme Rapinat dfde3b7931 7110: Add AppData file
svn: r23253
2013-10-07 08:21:57 +00:00
Jérôme Rapinat 3f76c8742a minor improvement
svn: r23252
2013-10-06 16:22:03 +00:00
Jérôme Rapinat 3321252b97 typo
svn: r23251
2013-10-06 16:16:53 +00:00
Jérôme Rapinat 3947c86636 7081: QuestionDialog module moved to gramps.gui.dialog
svn: r23248
2013-10-05 16:38:57 +00:00
Erik De Richter 19ac1c6f98 updated dutch translation
svn: r23245
2013-10-03 18:43:47 +00:00
Mirko Leonhäuser 516cea49df updated german translation
svn: r23241
2013-10-02 11:35:40 +00:00
Jérôme Rapinat c25d544828 7072: fix level for citationref into person
svn: r23239
2013-10-02 08:17:21 +00:00
Jérôme Rapinat 556da18dde 7081: No QuestionDialog module into gramps.gui.utils
svn: r23238
2013-10-02 08:13:58 +00:00
Jérôme Rapinat c9b5c60634 7071: age on date now displays all individuals, update titles
svn: r23235
2013-10-01 08:54:25 +00:00
Vassilii Khachaturov 48f0826235 7088: remove SDN version reporting
Revert "7066: Reapply from trunk sdn version reporting"

This reverts commit dc5f50175abcdaa41ff07eccc688af047bc877e9.

svn: r23231
2013-09-30 19:29:04 +00:00
Nick Hall 727932794e 7066: Fix hebrew calendar and remove sdn import
svn: r23228
2013-09-30 17:41:01 +00:00
Nick Hall 74f0259505 Move missing Gtk Spell warning
svn: r23223
2013-09-30 12:44:43 +00:00
Vassilii Khachaturov 49c89c1022 7088: rm warning on `import sdn' failure
svn: r23220
2013-09-30 11:45:01 +00:00
Nick Hall 98ebecf03c Revert change to suppress warnings
svn: r23217
2013-09-28 14:00:29 +00:00
Vassilii Khachaturov 42462e4bf2 7089: same bug in 3 more reports
reapply r23214 from trunk

svn: r23215
2013-09-28 00:00:37 +00:00
Vassilii Khachaturov de6841b6cd 7089: webcal mistreats non-gregorian event dates
svn: r23208
2013-09-26 22:05:16 +00:00
Paul Franklin ef02b35311 7088: provide a config option to suppress the warning about missing "sdn"
svn: r23206
2013-09-26 21:52:44 +00:00
Vassilii Khachaturov 17bb3fa639 7037: proxy crash with complex person filter
svn: r23200
2013-09-25 22:23:37 +00:00
Vassilii Khachaturov f8009903c7 friendlier test failure diags
svn: r23198
2013-09-25 15:51:47 +00:00
Vassilii Khachaturov 1d4bb780a2 skip MatchDateTest on non-English locales
svn: r23196
2013-09-25 14:50:39 +00:00
Vassilii Khachaturov 736de69fb9 6881: latin_american broken for partial families
svn: r23192
2013-09-25 11:11:24 +00:00
Paul Franklin 8b64a00c51 enable Arabic date handler in gramps40
svn: r23190
2013-09-24 16:28:46 +00:00
Tim G L Lyons 3e2456b59a 0006802: In Narrative Web report most Family Maps are missing. Problem due to single apostrophe (closing single quotation mark) which needs to be escaped.
svn: r23188
2013-09-24 11:29:51 +00:00
Vassilii Khachaturov 2ad8bb0df2 7037: proxy crash with complex person filter
filter parameter shadowed the global filter :-)

svn: r23183
2013-09-23 15:56:46 +00:00
Vassilii Khachaturov 0908abf1a2 7045: enable cal switch in editor on empty dates
svn: r23178
2013-09-21 08:58:00 +00:00
Vassilii Khachaturov 9dc5890ca7 6940: ErrorReportAssistant_Test.test_buffer_recall
reapply from trunk

svn: r23170
2013-09-20 11:27:45 +00:00
Mirko Leonhäuser 8c25a7e9ce updated german translation
svn: r23165
2013-09-19 17:02:56 +00:00
Erik De Richter 9f04c31db8 updated dutch translation
svn: r23164
2013-09-19 07:40:10 +00:00
Vassilii Khachaturov 6df93d7182 7063: endless loop in probably_alive_range
Port from gramps34 branch my fix after retest by the bug submitter.

    Add a hack protection for descendants like we already have
    for ancestors, and add a debug printout.

svn: r23161
2013-09-18 14:48:13 +00:00
Doug Blank 2741628972 AgeOnDate: backported changes that show reasoning for dead/alive status and age estimate
svn: r23158
2013-09-17 23:52:11 +00:00
Vassilii Khachaturov 63f022348b 7034,7045,7065: back-merge my fixes from trunk
Back-merge from trunk changes to date.py and date_test.py
from the following commits (cumulative, clean apply).

Tests pass (but need to block the CAL_FRENCH on date_test.py:199,
because of bug# 7068 -- skipping it wasn't back-ported in this commit as
it is about the fully fixed issues only!)

	commit fa49752824bd58802773439b35faa39f2d34b151
	Author: Vassilii Khachaturov <vassilii@tarunz.org>
	Date:   Sat Sep 14 15:44:04 2013 +0000

		provide sensible defautls for all Date.set params

		git-svn-id: svn+ssh://svn.code.sf.net/p/gramps/code/trunk@23126 4ae1f11a-8b86-4847-b8af-ab372f36d1fd

	commit 3f32597699f3b372324ad87e6f7a04abac6d19e7
	Author: Vassilii Khachaturov <vassilii@tarunz.org>
	Date:   Sat Sep 14 15:11:09 2013 +0000

		7045: Setting an invalid date does not raise

		do the sanity checks on a separate date object,
		so that the uncertainty expressed with 0 d/m isn't removed

		git-svn-id: svn+ssh://svn.code.sf.net/p/gramps/code/trunk@23124 4ae1f11a-8b86-4847-b8af-ab372f36d1fd

	commit 12edf7e97626e01931c4063b2d94bec3b299a2ed
	Author: Vassilii Khachaturov <vassilii@tarunz.org>
	Date:   Sat Sep 14 14:23:58 2013 +0000

		7065: Calendar conversion broken for negative date

		fixed, repro steps work as expected now
		date_test still broken due to further blocking issues,
		see #7045

		git-svn-id: svn+ssh://svn.code.sf.net/p/gramps/code/trunk@23123 4ae1f11a-8b86-4847-b8af-ab372f36d1fd

	commit 091d4461e9715ab06f1ef6ab3b67517d6608daf3
	Author: Vassilii Khachaturov <vassilii@tarunz.org>
	Date:   Sat Sep 14 13:24:40 2013 +0000

		7045: Date.set on invalid date does not raise

		refactor _zero_adjust_ymd out of 3 cut-and-paste cases
		the bug with the code inside it remains -- the negative years
		should not be clamped to positive ones!!!!

		git-svn-id: svn+ssh://svn.code.sf.net/p/gramps/code/trunk@23122 4ae1f11a-8b86-4847-b8af-ab372f36d1fd

	commit 5987046ac4cac407a4be506da9242f7a5000d878
	Author: Vassilii Khachaturov <vassilii@tarunz.org>
	Date:   Sat Sep 14 13:00:19 2013 +0000

		7045: Date.set on invalid date does not raise

		Now it does, but another test breaks:

		Traceback (most recent call last):
		  File "/usr/lib/python2.7/unittest/loader.py", line 252, in _find_tests
			module = self._get_module_from_name(name)
		  File "/usr/lib/python2.7/unittest/loader.py", line 230, in _get_module_from_name
			__import__(name)
		  File "/home/vassilii/Gramps/gramps/gen/lib/test/date_test.py", line 136, in <module>
			d.set(quality,modifier,calendar,(4,11,-90,False),"Text comment")
		  File "/home/vassilii/Gramps/gramps/gen/lib/date.py", line 1600, in set
			format(original, value))
		DateError: Invalid year -90 passed in value (4, 11, -90, False)

		because the corresponding year gets adjusted from -90 to 1...

		git-svn-id: svn+ssh://svn.code.sf.net/p/gramps/code/trunk@23121 4ae1f11a-8b86-4847-b8af-ab372f36d1fd

	commit d8876cceb64629ce0a025ff714e4875768ab88a6
	Author: Vassilii Khachaturov <vassilii@tarunz.org>
	Date:   Sat Sep 14 11:50:58 2013 +0000

		7034: fix test_copy_ymd_preserves_orig

		broken in r23083

		git-svn-id: svn+ssh://svn.code.sf.net/p/gramps/code/trunk@23120 4ae1f11a-8b86-4847-b8af-ab372f36d1fd

	commit 7c163636c8e48149a5b09c211ff3dc146ebd84b2
	Author: Vassilii Khachaturov <vassilii@tarunz.org>
	Date:   Tue Sep 10 17:19:16 2013 +0000

		7034: add remove_stop_date parameter

		git-svn-id: svn+ssh://svn.code.sf.net/p/gramps/code/trunk@23083 4ae1f11a-8b86-4847-b8af-ab372f36d1fd

	commit b45e20da3bd67d864420f99cf59fbb9929c58851
	Author: Vassilii Khachaturov <vassilii@tarunz.org>
	Date:   Mon Sep 9 19:31:13 2013 +0000

		7034: probably_alive() failing when no birth-death

		further refactoring of set_.../set2_... common code
		added accessor get_stop_ymd analogous to get_ymd

		git-svn-id: svn+ssh://svn.code.sf.net/p/gramps/code/trunk@23068 4ae1f11a-8b86-4847-b8af-ab372f36d1fd

	commit f13a3fc23e7f0763c49e605b428b6a175c3f9eeb
	Author: Vassilii Khachaturov <vassilii@tarunz.org>
	Date:   Mon Sep 9 19:31:00 2013 +0000

		7034: probably_alive() failing when no birth-death

		docstring update

		git-svn-id: svn+ssh://svn.code.sf.net/p/gramps/code/trunk@23067 4ae1f11a-8b86-4847-b8af-ab372f36d1fd

	commit 9ee312d7ed02520b99d2ca1b28f75c87846aa3c6
	Author: Vassilii Khachaturov <vassilii@tarunz.org>
	Date:   Sun Sep 8 19:35:15 2013 +0000

		refactor test

		git-svn-id: svn+ssh://svn.code.sf.net/p/gramps/code/trunk@23059 4ae1f11a-8b86-4847-b8af-ab372f36d1fd

	commit 07ca997ebd885ad4d1b205907a00509099ac8f9a
	Author: Vassilii Khachaturov <vassilii@tarunz.org>
	Date:   Sun Sep 8 19:23:23 2013 +0000

		consistency between offset and non-offset setters

		added ugly parameter _update2 to set_yr_mon_day, needs refactoring

		git-svn-id: svn+ssh://svn.code.sf.net/p/gramps/code/trunk@23058 4ae1f11a-8b86-4847-b8af-ab372f36d1fd

	commit 67a904c529642668fbe34bfc97ef2915278ecbdb
	Author: Vassilii Khachaturov <vassilii@tarunz.org>
	Date:   Sun Sep 8 19:23:12 2013 +0000

		fix set_yr_mon_day_offset for compound dates

		now calls set2_yr_mon_day_offset

		git-svn-id: svn+ssh://svn.code.sf.net/p/gramps/code/trunk@23057 4ae1f11a-8b86-4847-b8af-ab372f36d1fd

	commit 3db06c36d6449ec75cde49b433349cddad40d596
	Author: Vassilii Khachaturov <vassilii@tarunz.org>
	Date:   Sun Sep 8 19:23:02 2013 +0000

		refactor set_yr_mon_day and set2_yr_mon_day

		refactor common base

		git-svn-id: svn+ssh://svn.code.sf.net/p/gramps/code/trunk@23056 4ae1f11a-8b86-4847-b8af-ab372f36d1fd

	commit 4192680c72cc0028c22fa207fe3f1ff0940358b3
	Author: Vassilii Khachaturov <vassilii@tarunz.org>
	Date:   Sun Sep 8 19:22:52 2013 +0000

		raise DateError in set2_... if not is_compound()

		refactor Date to always use is_compound instead of repeating
		its logic everywhere

		git-svn-id: svn+ssh://svn.code.sf.net/p/gramps/code/trunk@23055 4ae1f11a-8b86-4847-b8af-ab372f36d1fd

	commit 44195ede18c5a887d4440b4132bd5321f76ce5ff
	Author: Vassilii Khachaturov <vassilii@tarunz.org>
	Date:   Sun Sep 8 19:22:40 2013 +0000

		Add some UT for Date.set2_... and fix bugs

		Cut and paste is evil ;-) fix bugs before I refactor the code...

		git-svn-id: svn+ssh://svn.code.sf.net/p/gramps/code/trunk@23054 4ae1f11a-8b86-4847-b8af-ab372f36d1fd

	commit 14f6e3a3f35e0ff7b67006bf4996ce63ae665098
	Author: Vassilii Khachaturov <vassilii@tarunz.org>
	Date:   Sun Sep 8 19:22:30 2013 +0000

		7034: probably_alive() failing when no birth-death

		docstring fix

		git-svn-id: svn+ssh://svn.code.sf.net/p/gramps/code/trunk@23053 4ae1f11a-8b86-4847-b8af-ab372f36d1fd

svn: r23156
2013-09-17 18:58:06 +00:00
Jérôme Rapinat 75ca7e1f8c update template and french translation
svn: r23155
2013-09-17 15:22:01 +00:00
Doug Blank 3c488f4a6d provide a default null handler for logging; rename locale debug with leading dot
svn: r23154
2013-09-17 15:15:26 +00:00
Jérôme Rapinat d06c31dcc3 $ intltool-update -m
svn: r23152
2013-09-17 15:03:10 +00:00
Doug Blank 35933c6645 7069: Narrated Web Site media pages do not include multiple references
svn: r23147
2013-09-17 10:35:14 +00:00
Tim G L Lyons 56f1f7f22a Fix citation filters so they no longer try to filter citations with a sources filter. Citation filter now allows specification of both source and citation data. When a citation is shown in a search or a filtered citation tree view, the corresponding source is also shown.
svn: r23142
2013-09-16 21:39:09 +00:00
Doug Blank 92e5b89b8a 6774: Recursive call in GEDCOM export preview calculation
svn: r23136
2013-09-15 03:01:44 +00:00
Vassilii Khachaturov 95c805f325 7066: Reapply from trunk sdn version reporting
Merged from
	commit dbae40dd1edad52023b828d5eef0fe7eb3684fb6
	Author: Vassilii Khachaturov <vassilii@tarunz.org>
	Date:   Sat Sep 14 19:42:48 2013 +0000

		7066: use sdn module from Calendar package on pypi

		Unfortunately, no package on ubuntu for sdn...

		Bug fixed on trunk, when sdn is present on the system.
		Verified that sdn roundtrip works.
		date_test now fails on 1789-13-4(French) recognized as invalid,
		as it probably should -- I guess this one is a test bug.

		git-svn-id: svn+ssh://svn.code.sf.net/p/gramps/code/trunk@23127 4ae1f11a-8b86-4847-b8af-ab372f36d1fd

	M       gramps/gen/lib/calendar.py
--->M       gramps/grampsapp.py

svn: r23132
2013-09-14 23:24:20 +00:00
Vassilii Khachaturov 1cba16a406 7066: fix our algorithm based on jewish.c in sdn
It looks like we had an earlier fork of the same code,
and the upstream had some bugs fixed.

svn: r23131
2013-09-14 23:18:44 +00:00
Vassilii Khachaturov dcf62ff1d9 Cope with UnicodeDecodeError on git svn output
svn: r23130
2013-09-14 23:18:33 +00:00
Vassilii Khachaturov 67f33a0c69 add get_git_svn_revision and fall back to it
reapply from trunk

svn: r23119
2013-09-13 21:43:58 +00:00
Jérôme Rapinat 132c3c60ac wrap description on about dialog
svn: r23114
2013-09-13 13:01:02 +00:00
Jérôme Rapinat 05b4916e68 6028: gen module should be gramps.gen
svn: r23113
2013-09-13 10:46:43 +00:00
Jérôme Rapinat 98a1397c35 test: wrap on about dialog?
svn: r23112
2013-09-13 09:47:26 +00:00
Vassilii Khachaturov 02a9501fb9 5098: refactor to use User.progress
Re-apply the reverted commit now that the underlying problem
in gramps/gui/user.py is fixed.

svn: r23108
2013-09-13 08:30:27 +00:00
Vassilii Khachaturov e49af1998c 7061: docstring update
svn: r23107
2013-09-13 08:08:15 +00:00
Paul Franklin 790753e99c add Arabic date handler to gramps40, for further testing
svn: r23105
2013-09-13 00:08:20 +00:00
Vassilii Khachaturov ceea27df84 7061: rename gui.user.User.progress to ._progress
it shadowed the gen.user.User.progress (the context manager),
breaking the ``with user.progress() ... as step:'' idiom!

svn: r23103
2013-09-12 21:30:22 +00:00
Vassilii Khachaturov acc627b06b Revert "5098: refactor to use User.progress"
OOPS. This was tested only with "runtest.sh", but turns out
things are broken with GUI :-) Reverting for now @gramps40,
will investigate on trunk!

svn: r23098
2013-09-12 20:20:19 +00:00
Vassilii Khachaturov 97799c1303 5098: refactor old code to use User.progress
Reapply from trunk.
    Now that #7061 is done, all the old code should no longer use
    User.begin_.../step_.../end_progress directly any more, preferring
    the context manager instead.
The only reject is on gramps/gen/merge/diff.py that doesn't have
any progress callbacks on gramps40. I'm leaving it untouched.

svn: r23097
2013-09-12 19:50:15 +00:00
Vassilii Khachaturov c4f4bb2128 7061: Add User.progress context manager
reapply from trunk

svn: r23094
2013-09-12 17:56:50 +00:00
Mirko Leonhäuser 648334623e updated german translation
svn: r23088
2013-09-11 17:42:05 +00:00
Doug Blank 96438738b9 living proxy did not exclude living people with iter_people()
svn: r23085
2013-09-11 02:13:11 +00:00
Doug Blank a584c5dfed Ignore meaningless @IDENT@ on CONT or CONC line as detailed at http://www.tamurajones.net/IdentCONT.xhtml
svn: r23079
2013-09-10 16:49:29 +00:00
Vassilii Khachaturov dcd006b8e6 7013: strip underscores from accept/reject labels
reapply from trunk

svn: r23078
2013-09-10 12:42:36 +00:00
Doug Blank 5ce28808c6 7053: Narrated Website report crashes; check for family == None on lookup
svn: r23075
2013-09-10 10:09:46 +00:00
Erik De Richter 71aa77a26c updated dutch translation
svn: r23072
2013-09-10 06:43:02 +00:00
Paul Franklin 0f652ce5ef enable suppression of minor missing-package warning (spell checking)
svn: r23069
2013-09-09 20:55:05 +00:00
Serge Noiraud 828408d244 Geography : bug#0006930 : incorrect string in geoplaces
svn: r23065
2013-09-09 15:31:46 +00:00
Tim G L Lyons b26ce84857 Fix error where displaying Date or Confidence in Citation Tree View gave AttributeError: 'NoneType' object has no attribute 'encode'
svn: r23062
2013-09-09 11:27:53 +00:00
Jérôme Rapinat 1076baad72 6028: same change for cli (thank you Nick); still something wrong with my config (GrampsLocale init)
svn: r23050
2013-09-07 09:36:28 +00:00
Nick Hall 14d051aaf1 6028: Fix imports for documentation generation
svn: r23048
2013-09-06 23:09:27 +00:00
John Ralls 0b0a37e2d5 [r23046]Bug 7040: 4.0.2 svn 23029M fails to start catastrophically
svn: r23047
2013-09-06 19:10:32 +00:00
Zdenek Hatas 659f868583 czech translation update
svn: r23044
2013-09-06 13:54:25 +00:00
Vassilii Khachaturov b161383e94 7040: gramps40 svn fails to start catastrophically
indentation fix

svn: r23043
2013-09-06 11:32:30 +00:00
Jérôme Rapinat 18539be359 6028: try to update API(s) documentation
svn: r23042
2013-09-06 09:25:17 +00:00
Nick Hall 745bf7d96f Fix bug listing gramplets already in gramplet bar
svn: r23040
2013-09-05 22:46:46 +00:00
Vassilii Khachaturov 3f32fbcab0 add __main__ for stand-alone test runs
svn: r23038
2013-09-05 08:32:00 +00:00
Vassilii Khachaturov 2a6e1a2f1e rm obsolete utility pre-gramps40 file
svn: r23037
2013-09-05 08:31:49 +00:00
John Ralls 0ddc83fb52 [r23030]Bug 7040: 4.0.2 svn 23029M fails to start catastrophically
svn: r23031
2013-09-04 14:06:00 +00:00
Doug Blank d88b3dd0d0 7034 and 6965: missing method
svn: r23027
2013-09-04 10:39:26 +00:00
Jérôme Rapinat 15cf8de5e5 update french translation
svn: r23026
2013-09-04 09:05:43 +00:00
Doug Blank 7bd8ff1f5d 7034: probably_alive() failing when no birth-death dates specified; 6965: Probably Alive fails when birth date is a range
svn: r23022
2013-09-04 02:49:34 +00:00
John Ralls a45839799d [r20136]Change grampslocale logger to use __name__ instead of 'grampslocale'
Attempt to suppress 'No handler for logger grampslocale' messages by enrolling the logger in the module hierarchy.

svn: r23020
2013-09-03 23:31:20 +00:00
John Ralls c31b633134 [r23015]Simplify display_url to just use htmlview or webbrowser
svn: r23019
2013-09-03 23:31:07 +00:00
John Ralls 793e937963 [r23014]Avoid bogus rel-calc translation error message in C locale
svn: r23018
2013-09-03 23:30:53 +00:00
John Ralls ad3ccbdfa9 [r23013]minor cleanup
svn: r23017
2013-09-03 23:30:37 +00:00
John Ralls f088797e9f [r23011]Bug 7036: [Win32]Setting LANG crashes Gramps
Also fixes Bug 6919: No automatic language selection in Windows
Thanks to Helge Herz.

svn: r23012
2013-09-03 17:44:14 +00:00
John Ralls 4b7c9361e0 [r23009]Bug 7017: Consolidate run_file into open_file_with_default_application
svn: r23010
2013-09-03 16:36:00 +00:00
Jérôme Rapinat 7eb5e86acb update french translation
svn: r23000
2013-09-01 15:44:41 +00:00
Jérôme Rapinat 8655414c18 update template
svn: r22999
2013-09-01 15:31:58 +00:00
Doug Blank 2f48b52031 Webapp: update empty.sql to latest db design
svn: r22996
2013-09-01 13:04:06 +00:00
Doug Blank 0592f41f2b Webapp: search refinements
svn: r22994
2013-09-01 12:32:44 +00:00
Mirko Leonhäuser c8bcf58315 updated german translation
svn: r22991
2013-09-01 12:01:52 +00:00
Doug Blank 78db437ce7 Webapp: use cuni for python3 compatibility
svn: r22990
2013-09-01 11:42:43 +00:00
Doug Blank c771b25cb5 Use cuni rather than unicode
svn: r22987
2013-09-01 11:20:14 +00:00
Doug Blank 124eed0ac7 7025: issue with python3 and unicode string
svn: r22985
2013-09-01 11:05:02 +00:00
Vassilii Khachaturov c8bae282e0 clean up tmp test files in the end
reapply from trunk

svn: r22984
2013-09-01 07:39:30 +00:00
John Ralls e6766f5ba1 [r22981]Fix misguided change to poll_external signature
svn: r22982
2013-09-01 04:34:29 +00:00
Doug Blank 824b11fd48 7025: 4.0.2 svn 22976M fails to start catastrophically
svn: r22979
2013-09-01 02:34:16 +00:00
Doug Blank 3a7b78e74f Webapp: put .distinct() last to remove duplicate matches in queries
svn: r22978
2013-09-01 02:12:13 +00:00
Doug Blank 8cc04c5598 Webapp changes to properly show unicode data in html
svn: r22976
2013-08-31 13:46:31 +00:00
Nick Hall ad40ffe102 Remove tagging code introduced in error
svn: r22973
2013-08-31 10:15:36 +00:00
Vassilii Khachaturov 314bbe6ca0 6960: Error merging citations
Reapply from trunk these commits:
commit 1594f61ea2dbd9eddb44a800c26f170ff5702491
Author: vassilii <vassilii@4ae1f11a-8b86-4847-b8af-ab372f36d1fd>
Date:   Fri Aug 30 22:33:58 2013 +0000

    6960: Bless Source with an IndirectCitationBase

    git-svn-id: svn+ssh://svn.code.sf.net/p/gramps/code/trunk@22970
4ae1f11a-8b86-4847-b8af-ab372f36d1fd

commit 6ec4b56d6530bd98638cb66365e6205d057f48ca
Author: vassilii <vassilii@4ae1f11a-8b86-4847-b8af-ab372f36d1fd>
Date:   Fri Aug 30 22:03:14 2013 +0000

    6960: mergecitations has broken copy of MCQ

    The MergeCitations batch tool had a cut-and-pasted code
    replicating MergeCitationQuery logic. Naturally, it diverged :-)
    Removed MergeCitations.Merge and use MergeCitationQuery instead.

    git-svn-id: svn+ssh://svn.code.sf.net/p/gramps/code/trunk@22969
4ae1f11a-8b86-4847-b8af-ab372f36d1fd

svn: r22971
2013-08-30 22:43:57 +00:00
Nick Hall 21fd8f2cfb Fix regular expressions in sidebar filters
svn: r22967
2013-08-30 20:34:01 +00:00
Vassilii Khachaturov 8c3e4701d9 Finish merging bug# 6960 fix from trunk
I don't know why git diff didn't pick up citation.py :(

svn: r22963
2013-08-30 19:14:58 +00:00
Vassilii Khachaturov d9eab10013 6960: Error merging citations
Merge back to gramps40 my work on the bug fix.

svn: r22962
2013-08-30 19:00:39 +00:00
Vassilii Khachaturov dacf5f4d3b flags HAS_CLIMERGE and HAS_EXPORTRAW to skip tests
Reapply from trunk my commit r22948

svn: r22961
2013-08-30 19:00:23 +00:00
Nick Hall a474703187 6874: Use shorter names in add gramplet list. Remove old attributes gramplet.
svn: r22958
2013-08-30 18:09:35 +00:00
Nick Hall d1c0be81f8 6786: Invoke editor on double-click in backlinks gramplet
svn: r22955
2013-08-30 16:06:31 +00:00
John Ralls 1dc39d8c1c [r22949]Bug 7017 GUI stuck when external viewer launched
subprocess.checked_call seems to wait on the process that xdg-open
starts, but subprocess.wait doesn't.

svn: r22951
2013-08-29 23:31:33 +00:00
John Ralls 649c105536 [r22842]Clean up some leftovers from 22841
svn: r22950
2013-08-29 23:31:26 +00:00
Doug Blank 0880f52c44 Fix dbdjango to be up to date with bsddb of gramps40: added checksum for Media; SourceAttribute and CitationAttribute gained a private flag; all primary objects got tags
svn: r22946
2013-08-29 19:14:52 +00:00
Tim G L Lyons 1a1420b61d 0006849: citationtreeview with search bar only searches in sources, not citation data
0006848: citationtreeview corrupts when search bar open and edit occurs
0006829: Searching into source/citation selector disallows to select all related citations, only matching rows

by fixing treebasemodel so it properly deals with secondary objects, and also citationtreemodel so it adds secondary odes even when the parent is not present.

svn: r22940
2013-08-29 18:06:12 +00:00
Vassilii Khachaturov ca929cfb2f 6960: error merging citations
merge_ref_test still fails...

svn: r22937
2013-08-29 16:20:29 +00:00
Vassilii Khachaturov 0e3c01d6aa Back-merge the UT for gui.user as well
svn: r22934
2013-08-29 12:54:10 +00:00
Vassilii Khachaturov 207ed2434c 7021: pass ArgHandler.user to import_new_db
reapply r22929 from trunk

svn: r22933
2013-08-29 12:44:55 +00:00
Vassilii Khachaturov 0afdb2e361 7016: new cmdline switches -y/--yes and -q/--quiet
reapply r22916 from trunk

testing on gramps40: UT

svn: r22932
2013-08-29 12:41:31 +00:00
Vassilii Khachaturov 4bfb2e082c 7013: Impl. User.prompt based on QuestionDialog2
Reapply r22914 from trunk

Unit tests pass

svn: r22931
2013-08-29 12:35:18 +00:00
Doug Blank 3bec0ee5aa languages was set to a list; should be a :-separated string
svn: r22928
2013-08-29 01:19:58 +00:00
Doug Blank 92ef108c94 Move css, javascript and web images to data so that they can be found by webapp
svn: r22927
2013-08-28 23:51:42 +00:00
Nick Hall 322185b339 4735: Check for updates in a separate thread
svn: r22925
2013-08-28 23:34:20 +00:00
Doug Blank 26c3aa31d7 Changes for webapp to work with gramps40
svn: r22923
2013-08-28 23:08:21 +00:00
Doug Blank 196ad8feb7 7020: Date filtering fails to work on Family Events in 3.4.6 or 4.0.2; typo, missing 'not'; changed date before and after max to be 9999
svn: r22917
2013-08-28 11:52:48 +00:00
Vassilii Khachaturov 68ed5a2838 7009: endless exception loop starting w/o DISPLAY
constfunc.has_display() was using check_init(),
which, on Gtk3, was happy to initalize even that the display was N/A.
Amended the test with an attempt to actually get the Gdk default display.

svn: r22909
2013-08-22 22:39:31 +00:00
Vassilii Khachaturov 405db681a6 7009: endless exception loop starting w/o DISPLAY
Building testing ground for the bug investigation,
after reading the grampsgui.py code...

svn: r22908
2013-08-22 22:39:17 +00:00
Mirko Leonhäuser fc0749b359 updated german translation
svn: r22907
2013-08-22 17:20:25 +00:00
Nick Hall d78136bf7c Add date validation to filters
svn: r22904
2013-08-22 17:13:25 +00:00
Vassilii Khachaturov 1524c0b7e5 6878: CLI import/export plugins broken w/o DISPLAY
Replace a hardwired ProgressMeter with proper calls to User

Tested with impex.sh with and without DISPLAY env

svn: r22901
2013-08-21 18:54:21 +00:00
Vassilii Khachaturov 09d16526e9 6957: support gender in vcard import
forgotten merge cleanup

svn: r22900
2013-08-21 18:54:05 +00:00
Vassilii Khachaturov f92f5d08bf 6953: remove "undo history warning" under CLI
Port my fix from gramps34.
In addition, the Check tool now has a hardwired dependency
on ProgressMeter. Make a nullifying mock locally and
only set it to the real thing only under GUI.

Tested with impex.sh (further stages after check still fail,
see bug #6878).

svn: r22899
2013-08-21 17:24:41 +00:00
Vassilii Khachaturov 949c41107a action 'tool' CLI handler broken w/o DISPLAY
Preparing to port my fix for 6953: remove "undo history warning"
when the BatchTool run from cli (e.g., "check")
from gramps34, the ground state was worse in gramps40...

svn: r22898
2013-08-21 17:24:18 +00:00
Paul Franklin 0bba5fcfdb add and enable Greek date handler (from Zissis Papadopoulos)
svn: r22896
2013-08-21 16:55:05 +00:00
Vassilii Khachaturov 4d2ae8df74 6871: workaround gtk RTL bug in MultiTreeView
optimizing cleanup

svn: r22890
2013-08-21 07:32:23 +00:00
Vassilii Khachaturov 9ba12c2e33 6871: workaround gtk RTL bug in MultiTreeView
Blend of Nick's and my fix for the bug.

svn: r22887
2013-08-20 21:51:44 +00:00
Nick Hall a3a9542f0f Add datehandler unit test
svn: r22884
2013-08-20 19:46:40 +00:00
Nick Hall fd53fccf5e 6871: Remove vertical grid lines for RTL display
svn: r22882
2013-08-20 16:06:14 +00:00
Erik De Richter b09ab860b7 updated dutch translation
svn: r22874
2013-08-16 20:36:05 +00:00
Nick Hall 02ca10097a Simplify status bar and fix justification of filter status
svn: r22871
2013-08-15 22:08:12 +00:00
Paul Franklin 31e5815ea4 6998: Descendant Tree Report crashes gramps 4.0.2 svn 22863M
svn: r22868
2013-08-14 22:43:47 +00:00
Mirko Leonhäuser 524348a3d5 updated german translation
svn: r22866
2013-08-14 18:26:01 +00:00
Jérôme Rapinat 736b13c04f update Lithuanian translation (contribution by Mindaugas Baranauskas)
svn: r22864
2013-08-14 10:00:52 +00:00
Espen Berg ebf8dfa311 Revised Norwegian bokmål
svn: r22863
2013-08-13 20:38:25 +00:00
Nick Hall 8f7723308f Fix bug in note filters
svn: r22861
2013-08-13 18:39:28 +00:00
Nick Hall 342e6053df 6995: Fix bug in event citation filter
svn: r22858
2013-08-13 18:23:43 +00:00
Nick Hall 12fd97eaab Automatic update for old rules using regular expressions
svn: r22854
2013-08-11 14:12:24 +00:00
Vassilii Khachaturov 8e34bc809b 6909: Gedcom export adds birth place/date in death
_remaining_events method did the _dump_event_stats indiscriminately,
even if the event in question was skipped during processing as
a birth/death one. Moving the call into the _process_person_event
thus aligning the logic with _remaining_events's docstring.

svn: r22851
2013-08-11 13:32:34 +00:00
Paul Franklin f2c6833cfc give the graphvizdialog's format_str a more-unique name
(to help distinguish it from the name displayer's format_str)


svn: r22845
2013-08-10 18:37:38 +00:00
John Ralls 6a5d9aab86 [r22840]Consolidate mslocales and self._lang_map
into a single dict for easier maintenance

Thanks to Paul Franklin for suggesting it

svn: r22841
2013-08-09 22:19:16 +00:00
Nick Hall e4efaaa7b7 Remove redundant imports
svn: r22838
2013-08-09 21:36:57 +00:00
John Ralls ee076d2c91 [r22833]Fix crash when Gramps is passed an invalid locale
svn: r22836
2013-08-09 20:01:42 +00:00
John Ralls 82ea4e8685 [r22832]Ensure en_US encoding is UTF-8
svn: r22835
2013-08-09 20:01:37 +00:00
John Ralls 6473f22f17 [r22831]GrampsLocale:Add Greek and English to MSlocales
svn: r22834
2013-08-09 20:01:31 +00:00
Nick Hall e1cd73c4fb Convert old rules to use regular expression code in the base class
svn: r22829
2013-08-09 17:31:25 +00:00
Nick Hall 27cc9e4e6e Combine three new rules with existing rules
svn: r22827
2013-08-09 14:06:27 +00:00
Peter Landgren aab10936c0 Some Swedish updates.
svn: r22825
2013-08-09 12:52:52 +00:00
Nick Hall bbc73d6442 Add regular expressions to rules
svn: r22822
2013-08-08 22:51:03 +00:00
Nick Hall b54199d7d0 python3 fix
svn: r22820
2013-08-08 13:01:57 +00:00
Nick Hall 894701e2f2 Fix for Windows line separator
svn: r22818
2013-08-08 12:45:01 +00:00
Nick Hall fe98bbd6ff 6950: Add new rule for events with places matching filter
svn: r22815
2013-08-07 23:25:57 +00:00
Vassilii Khachaturov 5a6aa0d259 comment/docstring fixes
svn: r22812
2013-08-07 08:20:32 +00:00
Vassilii Khachaturov 76d17ca38d 6883: non-Western fonts broken in PS reports
Port my fix from gramps34 branch.
Ditches old PSDrawDoc code, instead we have a common backend
for PDF and PS generation using Cairo.
Added bonus: PS is now an available backend for text reports, too!

svn: r22810
2013-08-06 22:26:05 +00:00
Vassilii Khachaturov a145b8b8f2 Added tags file
svn: r22809
2013-08-06 22:25:52 +00:00
Nick Hall ceffc5750f Convert VCard unit tests to use ElementTree
svn: r22806
2013-08-06 18:47:27 +00:00
Jérôme Rapinat b2d09de02f update Lithuanian translation (contribution by Mindaugas Baranauskas)
svn: r22802
2013-08-06 10:29:26 +00:00
Nick Hall a2f01e1a7d 6969: Connect to switch-page signal after the initial gramplets have been added
svn: r22800
2013-08-05 18:35:32 +00:00
Nick Hall c075bea146 Close database files before removing them
svn: r22793
2013-08-03 16:46:10 +00:00
Nick Hall b4c1863683 Add unit test for latitide/longitude conversion
svn: r22791
2013-08-01 20:45:37 +00:00
Nick Hall df82eb9629 Convert callback test to use assert methods
svn: r22788
2013-07-31 20:11:47 +00:00
Nick Hall 0fd947e202 Add command to run unit tests from setup.py
svn: r22786
2013-07-31 18:21:33 +00:00
Nick Hall d07666ae91 Move rotate handler test
svn: r22784
2013-07-31 16:47:28 +00:00
Nick Hall c8c0164038 Unit test python3 fixes
svn: r22782
2013-07-30 22:06:29 +00:00
Nick Hall adb63c0c5e Fix date unit test
svn: r22780
2013-07-30 19:59:44 +00:00
Nick Hall 15538da4a1 Remove superfluous console output in unit tests
svn: r22778
2013-07-30 16:58:13 +00:00
Nick Hall cabbcead8f Remove redundant import
svn: r22776
2013-07-30 16:51:38 +00:00
Vassilii Khachaturov 66d3dde97a 6663: RecentFiles.do_save() doesn't do XML escape
ported my fix from gramps34, changes to gtk3 negligible

svn: r22774
2013-07-30 15:10:02 +00:00
Nick Hall 297e9906a9 Fix merge ref unit test
svn: r22771
2013-07-30 00:20:37 +00:00
Nick Hall 561886f41e Fix bug in unit test script
svn: r22769
2013-07-29 16:52:30 +00:00
Nick Hall 471b6beace Fix and move db unit tests
svn: r22767
2013-07-29 16:34:16 +00:00
Jérôme Rapinat dcd8757a77 .deb package more compliant according to Debian policy
svn: r22765
2013-07-29 16:28:34 +00:00
Vassilii Khachaturov 056d82895e 6957: VCF export/import should support [x-]gender
port from gramps34

svn: r22763
2013-07-29 08:53:08 +00:00
Nick Hall a9cad8c0d2 Convert db unit test to use unittest module
svn: r22760
2013-07-28 18:54:14 +00:00
Nick Hall d5eb5ec8f1 Fix and move keyword unit test
svn: r22758
2013-07-28 18:10:27 +00:00
Nick Hall 0f8ff56fbe Fix and move config unit test
svn: r22756
2013-07-28 17:33:55 +00:00
Nick Hall b7c5c77676 Fix and move CLI unit test
svn: r22754
2013-07-28 16:20:14 +00:00
Nick Hall 183e985747 Fix unit tests
svn: r22752
2013-07-28 14:57:22 +00:00
Nick Hall d6ff126d5a 6954: Output command line messages and progress information to stderr rather than stdout
svn: r22750
2013-07-28 14:21:43 +00:00
Vassilii Khachaturov 62ca742313 6951: import/export test suite runner broken
Ported from gramps34 my commits r22744,5.
Adjusted for gramps40 path layout changes.

svn: r22746
2013-07-28 13:50:03 +00:00
Vassilii Khachaturov fa21fde40c 6952: in RU locale, gramps --help is wrong for -u
svn: r22742
2013-07-28 09:47:52 +00:00
Paul Franklin e15963f9f6 6946: global name 'UNITYPE' is not defined - can't open old database
svn: r22738
2013-07-26 19:12:55 +00:00
Paul Franklin ca7ca5bc8d show more LDS temples on the screen
svn: r22735
2013-07-24 19:11:56 +00:00
Paul Franklin 9fa2057154 6872: wrong size of svg image in Family Lines Graph
svn: r22732
2013-07-24 16:27:09 +00:00
Vassilii Khachaturov 32b559c623 Reviving RunAllTests.py on gramps40/trunk
Porting from gramps34 my fix for 6935, 6937, 6938.

Import with full "gramps." qualification from the tests,
to overcome the relative import problem (see bug# 6938 for context).

All testing code has been adjusted to the filename and paths
changes since gramps34.
Same as on gramps34, one test fails still, will investigate if
it is a test or a code bug:
    ERROR: test_buffer_recall
    (ErrorReportAssistant_Test.ErrorReportAssistantTest)
    Test that simple recall of messages works.
    ----------------------------------------------------------------------
    Traceback (most recent call last):
      File "./GrampsLogger/ErrorReportAssistant_Test.py", line 60, in
    test_buffer_recall
        rotate_handler=rh)
      File "../gramps/gui/logger/_errorreportassistant.py", line 81, in
    __init__
        self.build_page1()
      File "../gramps/gui/logger/_errorreportassistant.py", line 267, in
    build_page1
        self._reset_error_details()
      File "../gramps/gui/logger/_errorreportassistant.py", line 178, in
    _reset_error_details
        self._error_detail.get_record()))
    AttributeError: 'str' object has no attribute 'get_record'

svn: r22729
2013-07-24 06:23:33 +00:00
Paul Franklin b5b6a59f4f CLI --config values should be enterable in gramps.ini form (e.g. 0 or 1)
svn: r22727
2013-07-24 00:01:12 +00:00
Mirko Leonhäuser 8da09bd9f3 updated german translation
svn: r22725
2013-07-23 16:34:12 +00:00
Vassilii Khachaturov e880bd9e10 6936: spelling and other fixes in RU rel calc
svn: r22721
2013-07-22 21:03:45 +00:00
Vassilii Khachaturov 88092e89eb 6932: check for broken GTK install on linux only
svn: r22716
2013-07-22 12:00:31 +00:00
Peter Landgren d71131840f Translated three new strings.
svn: r22715
2013-07-22 09:09:47 +00:00
Paul Franklin ff667d774f add the missing import to the 3139 fix I added, sigh
svn: r22712
2013-07-21 20:48:45 +00:00
John Ralls 7922f1ad61 [r22710]GrampsLocale: Don't set to 'C' if LANG is en_US
Not required, Gtk has an 'en' translation

Ref. http://www.gramps-project.org/bugs/view.php?id=6867

svn: r22711
2013-07-21 20:24:40 +00:00
Paul Franklin 7d9f42dc90 3139: boolean command line options have to be specified as foo=true ...
The solution was suggested by Doug Blank.


svn: r22708
2013-07-21 20:04:05 +00:00
John Ralls 127567278e [r22705]Bug 6928: Windows: If LANG not equal en_GB Graphic Reports
in some cases produce empty PDF sheets or force graphviz to crash

Problem was due to calling localized float() when parsing a C-locale xml file

svn: r22706
2013-07-21 19:28:20 +00:00
Vassilii Khachaturov 7301dccc55 2974: .rtf docgen doesn't escape backslashes
svn: r22703
2013-07-21 11:08:38 +00:00
Vassilii Khachaturov 1f90437ca3 6864: change warning to a more user-friendly one
s/Gramps ignored namemap value/Gramps ignored a name grouping/g

svn: r22700
2013-07-21 06:57:33 +00:00
Vassilii Khachaturov 4e0cad08b2 6884: RTF reports broken for intl chars
Re-applied my fix from trunk

svn: r22697
2013-07-20 16:33:14 +00:00
Mirko Leonhäuser 0f86ee2044 updated german translation
svn: r22693
2013-07-17 18:04:04 +00:00
Vassilii Khachaturov 3eb71e18a7 6915: not related tool treats siblings as not rel.
Applied patch from ennoborg, thanks!
(merge from trunk)

svn: r22691
2013-07-16 17:21:33 +00:00
Vassilii Khachaturov 8eed4a3d0d 6923: runtest.sh broken in gramps40/trunk
Merged fix from trunk:
    Fixed the file locations to work for the gramps40/trunk layout.

    Also porting my fix from gramps34 branch for
    6837: runtest.sh runs some reports that no longer exist

    git-svn-id: svn+ssh://svn.code.sf.net/p/gramps/code/trunk@22684 4ae1f11a-8b86-4847-b8af-ab372f36d1fd

svn: r22686
2013-07-16 11:21:07 +00:00
Vassilii Khachaturov 6e895bacf4 6867: warn on gtk translation missing
Merge the fix from trunk:
    Give a dev-oriented warning on console and pop up a UI
    warning dialog for the user, when an inconsistent
    translation configuration is detected between gramps and gtk
    (happens when a langpack is missing on Ubuntu systems, e.g.)

    git-svn-id: svn+ssh://svn.code.sf.net/p/gramps/code/trunk@22683 4ae1f11a-8b86-4847-b8af-ab372f36d1fd

svn: r22685
2013-07-16 11:20:56 +00:00
Paul Franklin b5c3cf70ea 6922: Export gpkg crashes in svn 22654M
svn: r22681
2013-07-15 18:37:50 +00:00
Serge Noiraud 66b9e798ed Bug #6917 : Gtk2 to Gtk3 port of colorsel to get_color_selection()
svn: r22679
2013-07-14 12:25:02 +00:00
Paul Franklin 6a45bc4a40 revert the Finnish date-format change (remove the four I added)
svn: r22677
2013-07-13 20:56:24 +00:00
Paul Franklin a8307d21aa correct the Finnish date-format choices (add the other four)
svn: r22674
2013-07-13 20:02:32 +00:00
Paul Franklin 666f6d5b1a added and/or clarified various date handler comments
also slightly reformatted a few date handler lines
and fixed one (locale-specific) date handler typo


svn: r22671
2013-07-13 18:00:38 +00:00
Mirko Leonhäuser 9f37049777 updated german translation
svn: r22668
2013-07-09 17:16:28 +00:00
Paul Franklin ad79a3f1bb standardize date handler's internal argument names, for easier comparisons
svn: r22666
2013-07-09 01:31:42 +00:00
Paul Franklin a3b7807233 ignore bad Record Gramplet/Report data (the data-verification tool catches them)
svn: r22663
2013-07-08 21:52:38 +00:00
Peter Landgren bdc77e74ab Update after some user input.
svn: r22659
2013-07-08 11:27:21 +00:00
Paul Franklin 4e00345ff6 Span maximums and minimums must always be positive numbers
svn: r22656
2013-07-08 01:44:17 +00:00
Serge Noiraud 485798010d Geography : add Id property to cairoprint.py
svn: r22654
2013-07-05 18:08:30 +00:00
Serge Noiraud 99e0bd6c42 Geography : add printing functionality for all geography views.
svn: r22651
2013-07-05 17:30:41 +00:00
Mirko Leonhäuser 214132889a updated german translation
svn: r22648
2013-07-03 21:32:43 +00:00
Doug Blank ca5d0f39a5 Undo changes for 6878
svn: r22646
2013-07-03 20:23:01 +00:00
Doug Blank d79cf3a9dc 6081: Crash after double-click on .gpkg file
svn: r22644
2013-07-03 12:54:42 +00:00
Doug Blank cb2621e73c 6878: Running CLI options when DISPLAY not set barfs
svn: r22641
2013-07-03 01:09:15 +00:00
Paul Franklin 94e161cff1 6818: Enable Relationships support on RelationshipGraph (GraphViz)
svn: r22637
2013-07-01 16:59:30 +00:00
Benny Malengier 5578efc16c GTK3 wants to deprecate unicode menu
svn: r22635
2013-07-01 08:42:22 +00:00
Paul Franklin 7b67220a4f make sure relationship calculator's relationships are in the UI language
svn: r22632
2013-06-30 17:51:55 +00:00
Benny Malengier f64e256bcb 6807: validatedmaskedentry: no attribute '_block_changed'
svn: r22631
2013-06-30 15:52:18 +00:00
Benny Malengier 8232f4ee4d GTK3: make sure menu shows up
svn: r22629
2013-06-30 13:41:29 +00:00
Benny Malengier f892473c24 GTK 3.9 removes unicode-menu
svn: r22626
2013-06-30 07:54:21 +00:00
Mirko Leonhäuser 3231d71fd1 updated german translation
svn: r22625
2013-06-29 00:33:03 +00:00
Paul Franklin cab8525520 enable suppression of two minor missing-package warnings
svn: r22623
2013-06-28 17:53:19 +00:00
Nick Hall 10be3da71f 6841: Fix RTL text style bug
svn: r22617
2013-06-27 13:08:16 +00:00
Benny Malengier 66b6683a4a 6848: citationtreeview corrupts when search bar open and edit occurs
svn: r22609
2013-06-25 22:10:51 +00:00
Benny Malengier a23408c7a5 In case of errors with fg_color, enormous amount of error messages. This patch
grabs wrong fg_color, and skips action, avoiding the error messages. Error goes to debug.


svn: r22608
2013-06-25 22:07:43 +00:00
Benny Malengier fdc766db72 avoid critical gdk error by processing events only when window visible :
Gdk-CRITICAL **: gdk_error_trap_pop_internal: assertion `trap != NULL' failed


svn: r22607
2013-06-25 22:06:32 +00:00
Paul Franklin 58fdfa622b added GPL "boilerplate", SVN properties, and SVN Id line as needed
svn: r22597
2013-06-24 19:30:56 +00:00
Vassilii Khachaturov e3f6ed1f17 6838: report cli crash ignoring unknown param
Port my fix from gramps34

svn: r22595
2013-06-24 18:14:42 +00:00
John Ralls c3b82c944e Update for Gramps-4.0.1
svn: r22594
2013-06-24 18:14:11 +00:00
Peter Landgren 0d70aae90e Fixed some fuzzy strings.
svn: r22590
2013-06-24 12:49:24 +00:00
Vassilii Khachaturov f6a473ed51 std propset for a new file.
svn: r22589
2013-06-24 12:23:30 +00:00
Vassilii Khachaturov 71abad6b6a 4571: RTL support in fanchart
Merge my work on trunk to gramps40 now that 4.0.1 is out,
as this fix is targeted for 4.0.2.

svn: r22588
2013-06-24 12:12:41 +00:00
Jérôme Rapinat eb1c153280 bump to 4.0.2
svn: r22587
2013-06-24 10:18:17 +00:00
Jérôme Rapinat 927e27ec4a ready for 4.0.1
svn: r22585
2013-06-24 09:10:05 +00:00
Jérôme Rapinat 5e76adbb02 better wording
svn: r22584
2013-06-24 08:53:08 +00:00
Erik De Richter a376e81052 updated dutch translation
svn: r22583
2013-06-24 07:41:33 +00:00
Paul Franklin 889c036804 make sure relationship calculator tool's relationships are in the UI language
svn: r22580
2013-06-24 01:59:06 +00:00
Paul Franklin 163696883c neaten top gramps40 ar.po lines
svn: r22579
2013-06-24 01:55:35 +00:00
John Ralls 4e4c119f9f [r22576]Move the HTML resources from gramps/plugins/webstuff
To data and images so that they're together with the other resources
instead of in site-package/gramps. Aside from a better source and
installation layout, this makes it easier to bundle them.

svn: r22577
2013-06-23 23:13:13 +00:00
Vassilii Khachaturov 00ab1b1337 6740: root cursor corruption
back-port from trunk, after successful retest by Nick

svn: r22574
2013-06-23 19:33:00 +00:00
Paul Franklin e2b6f1cfef added SVN Id property, and SVN Id line if needed
svn: r22573
2013-06-23 17:59:40 +00:00
Mirko Leonhäuser eed914c638 updated german translation
svn: r22570
2013-06-23 12:27:45 +00:00
Jérôme Rapinat 1fd8ee9346 add Ukrainian relationship calculator (by Fedir)
svn: r22568
2013-06-23 10:22:03 +00:00
Jérôme Rapinat e769b8bef1 support Arabic on installation
svn: r22564
2013-06-23 09:08:18 +00:00
Jérôme Rapinat b4b3f8a1b0 enable Arabic support on lang_map (reports)
svn: r22563
2013-06-23 09:04:36 +00:00
Jérôme Rapinat ba11af72ac enable Ukrainian date handler (by Fedir)
svn: r22562
2013-06-23 08:54:17 +00:00
Jérôme Rapinat d24df59b1a update arabic translation (by Muhammad Bashir Al-Noimi)
svn: r22561
2013-06-23 08:52:04 +00:00
Jérôme Rapinat f808f35bd8 do not limit family's actors to mother and father, no relation between age of the person and child
svn: r22560
2013-06-23 08:43:46 +00:00
Julio Sánchez 78f34ebb5d Updated
svn: r22559
2013-06-23 07:15:31 +00:00
Nick Hall d0c7697b0e 6814: Fix gramplet positioning when using RTL locale
svn: r22556
2013-06-22 21:00:55 +00:00
Jérôme Rapinat 27764eddee new translation strings
svn: r22551
2013-06-21 17:30:18 +00:00
Mirko Leonhäuser 28a66e2e58 updated german translation
svn: r22546
2013-06-20 16:59:22 +00:00
Tim G L Lyons 66c6b85518 0006352: Bookmarking a source in the citation tree creates a blank bookmark. Disallow bookmarking a source in the Citation Tree View, and do not add sources to the history in the Citation Tree View.
svn: r22544
2013-06-20 16:43:24 +00:00
Paul Franklin 40f793f558 6821: CLI asks forever when trying to overwrite while exporting
svn: r22541
2013-06-20 16:34:00 +00:00
Jérôme Rapinat 5896d46bf2 6817: print should be now a function
svn: r22536
2013-06-20 14:26:31 +00:00
Jérôme Rapinat 81ca53e11c 6817: Enhancements for testing localized Relationship handlers (contribution by Fedir)
svn: r22534
2013-06-20 10:04:37 +00:00
Vassilii Khachaturov 2ed3878493 RU translation update
Merge from trunk, in preparation for 4.0.1 release.

svn: r22533
2013-06-20 10:02:03 +00:00
Jérôme Rapinat f60bc1fc8a updated Hungarian translation (by Lajos Nemeséri)
svn: r22531
2013-06-20 07:55:42 +00:00
Jérôme Rapinat aeeb1a3d72 Add Ukrainian holidays (contributions by Fedir)
svn: r22528
2013-06-20 07:20:31 +00:00
Vassilii Khachaturov 00eeea87ea Ported my fix for 6812 to gtk3
svn: r22524
2013-06-19 20:23:36 +00:00
Vassilii Khachaturov 4a6ee4567a Merge trunk ru.po and resolve fuzzies.
Merged as follows:
  msgmerge --no-wrap -C ru.po.trunk ru.po gramps.pot -o newru.po
Then resolved all fuzzy strings.

Thanks to Paul Franklin for prodding me so the current new
translations from the trunk available "for free" are included
on gramps40 as well!

svn: r22523
2013-06-19 20:23:26 +00:00
Vassilii Khachaturov 2091c7d30e test commit
testing my git/svn setup for gramps40

svn: r22522
2013-06-19 20:23:14 +00:00
Benny Malengier e3057fbcfc GTK3: convert deprecated code for the indicator in entryfield
svn: r22517
2013-06-19 06:55:44 +00:00
Fedik b9ffeb1e4a uk translation uptade
svn: r22509
2013-06-14 14:31:13 +00:00
Fedik 73d964ef2d uk translation uptade
svn: r22506
2013-06-14 08:51:24 +00:00
Paul Franklin 4bc36d85d3 6797: Alternate Names in Person Details Gramplet (patch by Heinz Brinker)
svn: r22504
2013-06-13 21:34:37 +00:00
Tim G L Lyons 023528e9cd 0000860: GEDCOM: Space in gramps id fails to properly export/import
svn: r22500
2013-06-13 18:06:33 +00:00
Fedik 85c0f37905 uk translation uptade
svn: r22497
2013-06-12 16:10:57 +00:00
Vassilii Khachaturov 0ec43c2441 Merge trunk ru.po and resolve fuzzies.
Merged as follows:
  msgmerge --no-wrap -C ru.po.trunk ru.po gramps.pot -o newru.po
Then resolved all fuzzy strings.

Thanks to Paul Franklin for prodding me so the current new
translations from the trunk available "for free" are included
on gramps40 as well!

svn: r22491
2013-06-11 10:51:01 +00:00
Vassilii Khachaturov 84b606a28e test commit
testing my git/svn setup for gramps40

svn: r22490
2013-06-11 10:07:39 +00:00
Serge Noiraud 4aa86a82f3 Geography : Gtk.Menu didn't work with gtk3.
svn: r22487
2013-06-10 20:42:29 +00:00
Paul Franklin 3c4fdbb9ae add "Id" line, and license line, to nl.po
svn: r22479
2013-06-04 21:23:15 +00:00
Erik De Richter 766c5b8eb4 updated dutch translation
svn: r22478
2013-06-04 18:43:31 +00:00
Paul Franklin d6b74db6e4 add some more names to data.gramps (more modern: divorces, etc.)
svn: r22475
2013-06-03 20:17:24 +00:00
Fedik 79ffa1145b uk translation uptade
svn: r22470
2013-06-02 10:50:58 +00:00
Erik De Richter b68ba08c65 updated dutch translation
svn: r22465
2013-05-31 19:26:54 +00:00
Zdenek Hatas 147adf3160 minor fixes
svn: r22460
2013-05-31 12:25:03 +00:00
Espen Berg dde8d5033d Some more revision of Norwegian bokmål
svn: r22458
2013-05-30 20:01:39 +00:00
Paul Franklin 4dfd6d7ad4 6058: Ambiguous pdf output file format values [fix by Peter]
(this was already fixed in gramps34 20445)


svn: r22447
2013-05-28 20:52:38 +00:00
Benny Malengier 0acc25953d GTK3: menu needs to survive function scope
svn: r22446
2013-05-28 15:32:24 +00:00
Paul Franklin 960787a33c add "Id" property, and "Id" line, and license line, if any were needed
svn: r22434
2013-05-27 19:31:49 +00:00
John Ralls e2ee60e243 [r22431]Remove extra Id line from maclocale.py
svn: r22432
2013-05-27 17:53:46 +00:00
Benny Malengier db4b8ff004 Fix bad scaling in address editor
svn: r22425
2013-05-26 19:36:59 +00:00
Benny Malengier fe318d77c3 6777: Crash on export to GEDCOM when there are addresses
svn: r22424
2013-05-26 19:31:44 +00:00
Paul Franklin 9e38800c97 6769: gramps crash for ancestor chart report
svn: r22421
2013-05-26 18:39:50 +00:00
John Ralls 546881c640 [r22417]Bugs 6099 & 6472: Don't leave zombies and report errors
Update spawnve() to subprocess.check_output()
Pop an ErrorDialog if the system's open command fails in
open_file_with_default_application()

svn: r22418
2013-05-24 23:39:17 +00:00
Paul Franklin 9f81ba6a54 revert change here, leave it in trunk
svn: r22416
2013-05-24 01:19:28 +00:00
Paul Franklin f99dfec5bc fix string FIXME, add context for translation, as string freeze is over
svn: r22414
2013-05-23 17:20:19 +00:00
Benny Malengier d32a91ed90 6724: Person selected jumps forward to next person inlist
svn: r22412
2013-05-22 21:23:36 +00:00
Benny Malengier c15d9a9249 6670: Some entries into tips.xml are increasing size of the 'Tip of the day' dialog
svn: r22409
2013-05-22 11:59:26 +00:00
Benny Malengier fb6ce753e8 6325: Cannot right-click on tables in Quick Views
svn: r22407
2013-05-22 11:07:46 +00:00
John Ralls 033c551cf2 Mac: Update Info.plist for 4.0.0 release
svn: r22399
2013-05-21 21:41:21 +00:00
John Ralls 7ca312c302 image paths and resource-path file
svn: r22398
2013-05-21 21:40:52 +00:00
John Ralls 5ec7f02a1d Fix osm-gps-map revision
svn: r22397
2013-05-21 21:32:04 +00:00
Espen Berg 6de4ac83b8 Some revision of Norwegian bokmål
svn: r22396
2013-05-21 20:53:28 +00:00
John Ralls aacf6106ab Fix bad filename on Gramps URL
svn: r22395
2013-05-21 19:03:44 +00:00
Espen Berg df05060a4d Some revision of Norwegian bokmål
svn: r22393
2013-05-21 18:23:04 +00:00
Paul Franklin 7992928798 1780: End of Line Report options window - changing Output Format cause change active tab to "report options"
This also happens on every other report, of course.
(This has already been committed to trunk and gramps34.)


svn: r22392
2013-05-21 17:41:23 +00:00
Paul Franklin 6868c08ba7 don't start a GraphViz report on the "Paper Options" tab
None of the other reports start on the "Paper Options" tab.
(This has already been committed to trunk and gramps34.)


svn: r22391
2013-05-21 17:36:14 +00:00
Fedik dd8de1d537 small uptades
svn: r22389
2013-05-21 15:20:22 +00:00
Jérôme Rapinat 87ebfaffa3 bump to 4.0.1
svn: r22388
2013-05-21 12:58:58 +00:00
Jérôme Rapinat 003de23ded 6403: update Russian translation, some labels (glade3) from trunk limit markup usage
svn: r22385
2013-05-21 09:35:21 +00:00
Jérôme Rapinat 1b58e7cd8a road to 4.0.0
svn: r22384
2013-05-21 09:15:43 +00:00
Jérôme Rapinat 18c3ac1bf0 update Polish translation (by Lukasz)
svn: r22383
2013-05-21 08:58:59 +00:00
Jérôme Rapinat 073b302687 merge content of russian translations for 3.4.x and trunk (Vassilii)
svn: r22382
2013-05-21 08:39:43 +00:00
Benny Malengier 2ed14d4929 6754: Gramps Python 2.7 close when chosing a place by typing the place name in the list
svn: r22381
2013-05-20 19:26:40 +00:00
Erik De Richter 1454474289 updated dutch translation
svn: r22379
2013-05-19 19:29:02 +00:00
Espen Berg 6b42681b08 Some revision of Norwegian bokmål
svn: r22378
2013-05-19 17:36:17 +00:00
Espen Berg 8716b87689 Some revision of Norwegian bokmål
svn: r22374
2013-05-19 15:49:58 +00:00
Jérôme Rapinat e87e28501e update french translation, one of these remaining messages looks complicated, need to ask to the devel list after release...
svn: r22373
2013-05-19 14:03:25 +00:00
John Ralls 7d121e8963 Update gramps40 gramps.modules to match gramps-svn
svn: r22371
2013-05-18 22:07:02 +00:00
John Ralls 3f375261f3 Remove superfluous GRAMPSI18N from gramps-40 gramps.launcher
svn: r22370
2013-05-18 22:06:30 +00:00
Nick Hall 4ab32f3b10 Update English (GB) translation
svn: r22369
2013-05-18 21:10:35 +00:00
Peter Landgren 326f5c80c3 Fixed a minor typo.
svn: r22368
2013-05-18 17:19:43 +00:00
Jérôme Rapinat 8faa02c176 add Ukrainian date handler to SVN for testing, not enabled yet (__init__.py), contribution by Fedir Zinchuk
svn: r22366
2013-05-18 15:24:49 +00:00
Jérôme Rapinat a741d87c2e update Slovak translation (by Lubo Vasko)
svn: r22365
2013-05-18 15:18:01 +00:00
Julio Sánchez 5f2ab46f2a Updated to new gramps.pot
svn: r22364
2013-05-18 14:10:14 +00:00
Jérôme Rapinat c826d6c0d7 various reviews from 3.4.x
svn: r22362
2013-05-18 06:57:05 +00:00
John Ralls 8040ce0ebd GrampsLocale: Disable debug logging for release
svn: r22360
2013-05-17 18:11:58 +00:00
Jérôme Rapinat 6f4b479b3f merge more recent content from 3.4.x
svn: r22359
2013-05-17 16:20:34 +00:00
Jérôme Rapinat 1de1e10659 merge more recent content from 3.4.x
svn: r22356
2013-05-17 16:03:18 +00:00
Jérôme Rapinat 6c67f25eb6 merge some entries from up-to-date Slovak translation (3.4.4); waiting for a review
svn: r22352
2013-05-17 15:17:07 +00:00
Jérôme Rapinat 9771ed0f34 merge some translation files with last template
svn: r22351
2013-05-17 15:03:46 +00:00
Jérôme Rapinat a02ef0fc8e new translation string (related to gedcom)
svn: r22350
2013-05-17 13:57:00 +00:00
Jérôme Rapinat 990ba0457e 6749: 'msgid' and 'msgstr' entries do not both begin with '\n'
svn: r22349
2013-05-17 13:15:03 +00:00
Zdenek Hatas e40ce4c76f czech translation update
svn: r22348
2013-05-17 13:14:09 +00:00
Jérôme Rapinat 6c196cdfe6 merge with last template
svn: r22346
2013-05-17 12:53:19 +00:00
Tim G L Lyons 64e0ed1e31 0006746: Problem in Portable version immediately after upgrading to 3.4.4-1 from 3.3.1.1
svn: r22344
2013-05-17 11:29:51 +00:00
Zdenek Hatas 2899990d1b czech translation update
svn: r22342
2013-05-17 09:50:47 +00:00
Jérôme Rapinat f97e8ef621 6750: patch Danish translation (by Lars Kristian Lundin)
svn: r22341
2013-05-17 09:10:36 +00:00
Jérôme Rapinat 822c267e0c 6749: too many errors, revert to rev22308
svn: r22340
2013-05-17 08:57:50 +00:00
Jérôme Rapinat 5f70dd3af6 6749: remaining one...
svn: r22339
2013-05-17 08:51:13 +00:00
Jérôme Rapinat 3dad5a32b4 6749: remove remaining patching lines
svn: r22338
2013-05-17 08:49:50 +00:00
Jérôme Rapinat 4b69296158 6749: conflicts on header
svn: r22337
2013-05-17 08:47:34 +00:00
Jérôme Rapinat e577b1569d 6749: 'msgid' and 'msgstr' entries do not both begin with '\n'
svn: r22336
2013-05-17 08:45:36 +00:00
Jérôme Rapinat 18cbf82142 6749: conflicts on the Dutch translation (thank you Harmen)
svn: r22335
2013-05-17 08:42:22 +00:00
Julio Sánchez 15cb5c8565 Minor fixes.
svn: r22331
2013-05-16 21:29:19 +00:00
Erik De Richter f1a0a703bc updated nl translation
svn: r22330
2013-05-16 21:19:33 +00:00
Zdenek Hatas b3237e146b czech translation update
svn: r22325
2013-05-16 13:33:28 +00:00
Julio Sánchez f524528cdc Updated for 4.0
svn: r22323
2013-05-16 09:59:05 +00:00
Espen Berg cf8341a8a6 Updated nb.po
svn: r22322
2013-05-15 21:08:31 +00:00
Jérôme Rapinat 57411ab25e typo (thank you zissis)
svn: r22319
2013-05-15 19:06:06 +00:00
Jérôme Rapinat ccad231d43 update Greek translation (by Zissis Papadopoulos)
svn: r22318
2013-05-15 19:01:38 +00:00
Jérôme Rapinat 5d6a47be90 update Polish translation (by yenidai)
svn: r22317
2013-05-15 18:57:29 +00:00
Erik De Richter c7071bd9dd updated dutch translation
svn: r22315
2013-05-15 18:07:15 +00:00
Erik De Richter 77ea97d533 updated nl translation
svn: r22308
2013-05-14 18:33:47 +00:00
Erik De Richter 1d2232bf47 updated nl translation
svn: r22307
2013-05-14 18:32:34 +00:00
Nick Hall c6ce33c35a Fix ListModel double click event
svn: r22305
2013-05-14 18:13:15 +00:00
Mirko Leonhäuser 4349a4d675 updated german translation
svn: r22303
2013-05-14 17:17:26 +00:00
Tim G L Lyons 45a5a85963 0006541: Gramps crashes during import gedcom. Ignore empty ALIA alias name.
svn: r22297
2013-05-14 15:42:28 +00:00
Tim G L Lyons a6e318a53a 0006394: GEDCOM import errors truncated too much. Error message extended to 66 chars as suggested (and continuation lines formatted to fall under initial line)
svn: r22294
2013-05-14 15:02:30 +00:00
Jérôme Rapinat d3b706d1ff update template via intltool
svn: r22292
2013-05-14 08:12:07 +00:00
Joan Creus b3b6899424 Translation update
svn: r22290
2013-05-13 23:51:50 +00:00
Tim G L Lyons 39af1b9f6c Encoding error in date parsing literals
svn: r22289
2013-05-13 23:12:34 +00:00
Tim G L Lyons 22fc9958e6 0006195: Import from pro-gen. Fix citations and sources. Also other fixes: Attach SOUR TEXT as note on citation. Ensure gramps_ids are not duplicated (change map record so it maps from Pro-Gen ID to handle), and format gramps_id according to the user's preference setting. Store 'aktenr' as REFN attribute or data. Store TITL (and _TITL2 and _TITL3) as comma separated Title. Store patronymic correctly. Prevent duplication of Baptism source text. Store RESI event for person address. Store family 'Relatie code' (FAM REFN/FAM CODE) as REFN. Note testing is limited by availability of test data.
svn: r22286
2013-05-13 23:04:52 +00:00
Paul Franklin 991740e333 any documentation is better than none
svn: r22284
2013-05-13 22:37:59 +00:00
Erik De Richter 2cca179793 updated nl translation
svn: r22281
2013-05-13 18:25:52 +00:00
Serge Noiraud 892eccf251 Geography : bug #6718 : The active place must have valid coordinates to set center and zoom.
svn: r22280
2013-05-13 16:51:33 +00:00
Zdenek Hatas 2e60dae5db czech translation update
svn: r22278
2013-05-13 13:18:04 +00:00
Jérôme Rapinat 219ca05113 upgrade to last stable schema (citation object)
svn: r22277
2013-05-13 13:01:48 +00:00
Fedik 90687fed1b small translation and uptades
svn: r22275
2013-05-13 12:03:24 +00:00
Paul Franklin f3acd4808c add name-format option and enable translated output for this report
svn: r22271
2013-05-12 22:34:41 +00:00
Tim G L Lyons c5703feb8d 0006515: Error building narrated web
Circular references (either direct or indirect) involving media->citation->media or media->citation->source->media cause NarrativeWeb to crash with "maximum recursion depth exceeded". Fix NarrativeWeb when constructing list of objects to be output by checking whether a media object has already been encountered.

Also fixes
0006418: Navweb crashes alpha4
0006630: Export Erzählende Webseite
0006643: Crash during making webstek report
0006652: [NarrativeWeb] Circular References lead to endless recursion (crash)
0006654: Unable to created narrated web report

svn: r22269
2013-05-12 16:44:47 +00:00
Jérôme Rapinat 91ca39af06 use "langue" instead of "traduction" as label into report dialog
svn: r22267
2013-05-12 08:54:45 +00:00
Mirko Leonhäuser 6ce41cb21a updated german translation
svn: r22265
2013-05-12 01:17:15 +00:00
Paul Franklin 5bf3a88dd6 enable translated output for this report
svn: r22262
2013-05-11 19:21:55 +00:00
Paul Franklin 25047a6918 more deferred translation for the relationship calculator
This enables it for spouse strings, which are done in the
main gen/relationship.py relationship calculator and not in
one of the language-specific relationship calculators


svn: r22260
2013-05-11 19:19:52 +00:00
Benny Malengier 04e7df5425 6580: Merging Media Notes fails
svn: r22259
2013-05-11 17:43:53 +00:00
Jérôme Rapinat 1d63127e5c update french translation
svn: r22256
2013-05-11 12:36:14 +00:00
Jérôme Rapinat 516ce38a54 update template
svn: r22255
2013-05-11 12:28:12 +00:00
Benny Malengier fa41eaf6a3 6716: Add extra surname, on tab away from field, value is not stored
svn: r22254
2013-05-11 12:07:18 +00:00
Erik De Richter 53512286d8 updated dutch translation
svn: r22249
2013-05-10 18:55:45 +00:00
Paul Franklin b9ebcb13d5 move five files with translatable strings out of POTFILES.skip
svn: r22246
2013-05-10 17:01:29 +00:00
Benny Malengier 3d23affc8a 6665: New errors when using pygobject 3.8: Cannot get n_columns on flatbasemodel
svn: r22244
2013-05-10 15:59:03 +00:00
Tim G L Lyons 83ebd2658b 0006713: Databases written with pickle protocol 3 (Python3) should not be opened with pickle protocol 2 (Python2). Also give warning when about to upgrade a Python2 database to Python3.
svn: r22242
2013-05-10 14:37:14 +00:00
Peter Landgren 670c47d9d9 Translation update after fix of POTFILES.
svn: r22240
2013-05-10 13:03:53 +00:00
Tim G L Lyons 1ac29c6e76 Fix to incorrect svn merge in commit 22218 see 0006686: Wrong bsddb upgrade message given
svn: r22237
2013-05-10 09:25:01 +00:00
Nick Hall 457d1b38a8 Fix scroll to mark bug on added page
svn: r22235
2013-05-10 00:07:06 +00:00
Nick Hall 7611cacc13 Simple table fix for numneric and checkbox columns
svn: r22233
2013-05-09 23:52:47 +00:00
Paul Franklin 26b785b3e8 defer translation for one more date, and cleanup translation
svn: r22231
2013-05-09 22:25:55 +00:00
Nick Hall fca6091ebd Convert numeric columns to unicode in simple table
svn: r22229
2013-05-09 21:47:29 +00:00
Benny Malengier 1118476e38 6259: Harcoded 'raw' characters into listing files are not properly displayed into Addons dialog
Gramps-addons listings has been fixed needing this change to have this working


svn: r22227
2013-05-09 20:41:41 +00:00
John Ralls 91a30eaaed [r22225]Fix path left over from debugging session
svn: r22226
2013-05-09 19:36:34 +00:00
Jérôme Rapinat 4abb1fb142 6529: new messages, cancelling database upgrade can corrupt the database
svn: r22224
2013-05-09 19:05:49 +00:00
Jérôme Rapinat 1e03f28138 6529: Cancelling database upgrade can corrupt the database
svn: r22223
2013-05-09 18:54:22 +00:00
Tim G L Lyons ff01477003 0006529: Cancelling database upgrade can corrupt the database. Ensure database is unlocked when cancelling upgrade. Make links in dialogues into clickable hyper-links. Ensure dialogue windows stays on top. Reword warning and error messages to use Bsddb version, schema version and Family Tree consistently, to be clearer about the choice the user is being offered, and to provide hyper-links to more information.
svn: r22218
2013-05-09 17:24:08 +00:00
Paul Franklin e795d5e7f8 enable deferred translation for this Span representation
svn: r22215
2013-05-09 17:04:31 +00:00
Jérôme Rapinat 2f0788f709 6706: odstab docgen was listed twice
svn: r22214
2013-05-09 10:53:30 +00:00
Jérôme Rapinat 58bb9dd6d4 6706: qml modules do not need translation yet
svn: r22212
2013-05-09 10:43:48 +00:00
Jérôme Rapinat 0ead3ea145 6706: some translation messages were missing, update template and french translation, add better comments on POTFILES.skip
svn: r22211
2013-05-09 10:33:11 +00:00
Jérôme Rapinat 0bb8426e64 6706: update POTFILES.in POTFILES.skip
svn: r22209
2013-05-09 07:38:25 +00:00
Paul Franklin 086732a6b4 enable translated output for this report
svn: r22207
2013-05-09 05:03:30 +00:00
Paul Franklin 0fb88fb531 enable deferred translation for a Span representation
svn: r22205
2013-05-09 05:01:27 +00:00
Jérôme Rapinat 4a299d79a7 6595, 5621: fix translation strings (were commented lines cause of xgettext bug); Thank you Paul!
svn: r22203
2013-05-08 09:14:52 +00:00
Jérôme Rapinat fc8f750338 6595, 5621: temp workaround for xgettext bug (not yet fixed on GNU gettext 0.18.2), see https://savannah.gnu.org/bugs/index.php?29216
svn: r22202
2013-05-08 09:09:53 +00:00
Paul Franklin 454180dcec better PEP-0008 (trans_text_ ==> trans_text)
PEP-0008 reserves the use of a trailing underscore for names
which conflict with Python keywords, which this doesn't.

The goal is to have a permanent name which is unique across
the gramps namespace, since it is defined (in po/genpot.sh
and po/update_po.py) as a keyword to flag strings to be put
into the translation "catalog" file (gramps.pot).

The new keyword "trans_text" is still unique.  (Also "_T_".)


svn: r22200
2013-05-07 18:59:15 +00:00
Paul Franklin f31c22cdaa "_ngettext" is no longer used as a gramps translation keyword
svn: r22198
2013-05-07 18:12:23 +00:00
Paul Franklin 865d32e042 enable translated output for this report
svn: r22196
2013-05-07 17:17:03 +00:00
Paul Franklin 87306fcf57 enable deferred translation for the relationship calculator
svn: r22194
2013-05-07 17:13:56 +00:00
Benny Malengier ded3b12080 6659: Justified paragraph layout does not work in "Custom Book Text" in book report
svn: r22191
2013-05-07 12:37:00 +00:00
Paul Franklin d551e2b5e4 enable translated output for this report
svn: r22188
2013-05-06 19:46:40 +00:00
Peter Landgren 58f59a5d67 Minor updates.
svn: r22186
2013-05-06 16:32:34 +00:00
Paul Franklin 757a6a721b add new keywords to po/genpot.sh, comment both scripts, and add "Id" lines
svn: r22182
2013-05-05 19:40:56 +00:00
Nick Hall fb22b83f14 6582: Fix problem with warning message
svn: r22180
2013-05-05 18:17:37 +00:00
Fedik 88c7dfd37d small translation
svn: r22179
2013-05-05 17:47:14 +00:00
Jérôme Rapinat a87b221292 6595: missing custom keywords support for intltool
svn: r22177
2013-05-05 12:52:55 +00:00
John Ralls 6f4b3cef8d [r22173]GrampsLocale: When checking translations check full locale first
So that e.g. en_GB will be preferred over en if en_GB is in fact the
desired translation.

svn: r22175
2013-05-04 20:34:18 +00:00
John Ralls b470d75c13 [r22172]Add translation to gen.merge.diff
svn: r22174
2013-05-04 20:34:09 +00:00
Paul Franklin 3c7a9ec14b enable translation of the "Endnotes" section header-word for these reports
svn: r22170
2013-05-04 19:30:22 +00:00
Paul Franklin a360db221f more flexible multi-column format for BooleanListOption
svn: r22168
2013-05-04 18:54:22 +00:00
Jérôme Rapinat 1fb9773e16 6595: add new keywords for xgettext (textual reports and L10N/I18N)
svn: r22166
2013-05-04 17:26:52 +00:00
Jérôme Rapinat 8afb1e4c29 6595: create a new template every time we are extracting strings from python modules
svn: r22165
2013-05-04 16:10:26 +00:00
Jérôme Rapinat 98d3606aff 6672: Gallery: 'TreePath' object does not support indexing; it also works with pygobject 3.3.2
svn: r22161
2013-05-04 14:23:23 +00:00
Jérôme Rapinat 2b3c2190d8 update french translation, todo: check why some event abbreviations and sentences are no more translated
svn: r22160
2013-05-04 13:38:31 +00:00
Jérôme Rapinat ce7181a96d 6576: add an optional helptext as tooltip on add_pos_int(); provide a list and sample of pango convenience markups and combinaisons
svn: r22158
2013-05-04 06:12:23 +00:00
Paul Franklin 7c205bf7fc enable translated output for this report
svn: r22155
2013-05-04 02:07:21 +00:00
Paul Franklin 9b109884ad disambiguate the local report argument name (vs. the similar global name)
svn: r22153
2013-05-03 19:13:52 +00:00
Mirko Leonhäuser 2d75b21b9e updated german translation
svn: r22151
2013-05-03 12:40:28 +00:00
Jérôme Rapinat 09306a357c 6668: number of arguments for notify_db_error() into Export assistant
svn: r22147
2013-05-02 18:06:59 +00:00
Jérôme Rapinat 022ff28d94 6656: division on hexadecimalcolor
svn: r22145
2013-05-02 17:22:16 +00:00
Jérôme Rapinat 2cec980066 6576: Set custom pango markup can generate GtkWarning, ValueError or TypeError
svn: r22143
2013-05-02 15:38:53 +00:00
Benny Malengier 8b452f95cb 6641: Complete Individual Report crashes gramps
svn: r22141
2013-05-02 13:26:36 +00:00
Benny Malengier a6f464592a 6659: Justified paragraph layout does not work
Actually: it works always, but pango does not justify partial lines...


svn: r22139
2013-05-02 08:51:26 +00:00
Paul Franklin 45849a93a6 enable translated output for this report
svn: r22135
2013-05-01 17:39:18 +00:00
Paul Franklin 1d470340cc enable translated output for this report
svn: r22133
2013-05-01 17:38:08 +00:00
Paul Franklin 9bbecacd9f enable translated output for this report
svn: r22131
2013-05-01 17:36:23 +00:00
Mirko Leonhäuser c6cdfe827f updated german translation
svn: r22130
2013-05-01 12:11:50 +00:00
Jérôme Rapinat 8c9acb6ef3 add New Zealand holidays (contribution by kerobe aka Ken B)
svn: r22126
2013-05-01 08:06:48 +00:00
Benny Malengier 18b34eea90 6624: import an exported XML crashes gramps 4.0 - Actually a logic bug python 2 does not crash on.
svn: r22124
2013-04-30 13:22:07 +00:00
Paul Franklin 1b0c7815da make the name consistent, across gramps
svn: r22120
2013-04-29 22:09:58 +00:00
Paul Franklin 6ea9a5ad70 enable translated output for this report
svn: r22118
2013-04-29 19:26:06 +00:00
Jérôme Rapinat 70ee3d822f 5751: revert r22107, even cosmetic (most labels on base filters are not displayed); only sidebar gui filter has a custom behavior (around level=2)
svn: r22115
2013-04-29 07:53:38 +00:00
Paul Franklin f60212f191 enable translated output for this report
svn: r22113
2013-04-28 19:28:19 +00:00
Joan Creus 6ed2aa9a0d Translation update
svn: r22112
2013-04-28 17:56:33 +00:00
Joan Creus f5bae80cf3 Translation update
svn: r22111
2013-04-27 18:58:58 +00:00
Jérôme Rapinat 9246af61a3 5751: revert 22108, using own filter rule, behavior and label via filtereditor
svn: r22110
2013-04-27 17:14:46 +00:00
Jérôme Rapinat a0cae8afcf 5751: use "Minimum Confidence" label into citation sidebar filter, it does not match only one level
svn: r22109
2013-04-27 16:35:27 +00:00
Jérôme Rapinat de88bb34c0 5751: use Minimum Confidence label according to current filter behavior
svn: r22108
2013-04-27 16:24:35 +00:00
Jérôme Rapinat 221020cca0 5751: use Minimum Confidence label according to current filter feature
svn: r22107
2013-04-27 15:58:55 +00:00
Paul Franklin bc7abbd85a enable multi-column paper choices, in report output
svn: r22105
2013-04-27 15:47:34 +00:00
Jérôme Rapinat caa75a3b2c typo
svn: r22104
2013-04-27 14:55:31 +00:00
Jérôme Rapinat 5d180993be 6669: Descriptions for file formats into Export dialog are ignored by the translation
svn: r22103
2013-04-27 14:51:36 +00:00
Joan Creus f2de23047c Translation update
svn: r22102
2013-04-27 10:39:56 +00:00
Joan Creus fc1a5d453b Translation update
svn: r22100
2013-04-26 20:59:21 +00:00
Erik De Richter d18e001324 updated dutch translation
svn: r22099
2013-04-26 05:59:58 +00:00
Erik De Richter e2c726831a svn: r22098 2013-04-25 18:02:21 +00:00
Joan Creus 7399bc73d1 Translation update
svn: r22097
2013-04-24 22:42:31 +00:00
Joan Creus 530e561537 Translation update
svn: r22096
2013-04-24 22:29:32 +00:00
Paul Franklin 26ebc3bda7 typos
svn: r22094
2013-04-24 01:01:26 +00:00
Paul Franklin 570d0e1ac1 enable translated output for this report
svn: r22092
2013-04-24 00:12:17 +00:00
Mirko Leonhäuser f6c39ffe17 updated german translation
svn: r22091
2013-04-23 19:04:45 +00:00
Paul Franklin da36417690 change GuiFamilyOption precedence to match GuiPersonOption
(that is, use any "overridden" value, then any "active"
family, then any family of the "active" person, and only
then fall back on others, such as a saved-away family option
value, or any family of the user's "default" person)


svn: r22089
2013-04-23 18:06:48 +00:00
Jérôme Rapinat b30869c6a4 update template and french translation
svn: r22088
2013-04-23 14:43:18 +00:00
Jérôme Rapinat 3dcc029dbd "Id" property should be into a comment
svn: r22087
2013-04-23 14:30:49 +00:00
Paul Franklin dc1d12947e enable translated output for this report
svn: r22083
2013-04-23 04:53:59 +00:00
Paul Franklin 89b6d05fd4 enable translated output for this report
svn: r22081
2013-04-23 04:52:58 +00:00
Paul Franklin 4dd28d5532 enable translated output for this report
svn: r22079
2013-04-23 04:51:54 +00:00
Paul Franklin 5c13786ac4 enable translated output for this report
svn: r22077
2013-04-23 04:50:44 +00:00
Paul Franklin e2be8e2875 enable translated output for this report
svn: r22075
2013-04-23 04:48:37 +00:00
Paul Franklin 42f014efeb reenable translated report title
svn: r22073
2013-04-22 18:17:24 +00:00
Jérôme Rapinat 59ed4f8a8f need context differences for the "To Do" translation string (patch by Harmen Huizinga)
svn: r22068
2013-04-22 07:28:31 +00:00
Mirko Leonhäuser 07db07eb87 updated german translation
svn: r22064
2013-04-21 18:23:27 +00:00
John Ralls f9e8c90b7d [r22062]GrampsLocale: Fix execption
'Foo has no attribute _Foo__get_type'
From moving the set_locale function to the superclass. One can get
carried away with enforcing private attributes...

svn: r22063
2013-04-21 18:02:47 +00:00
Joan Creus f405ef9f3a Translation update
svn: r22061
2013-04-21 11:36:35 +00:00
Jérôme Rapinat 7a012c2790 French translation: try to make it consistent
svn: r22060
2013-04-21 10:57:47 +00:00
Jérôme Rapinat bc1b99a85e minor update
svn: r22059
2013-04-21 10:42:22 +00:00
Jérôme Rapinat 34bb0b7769 from __future__ imports must occur at the beginning of the file
svn: r22058
2013-04-21 10:23:43 +00:00
Jérôme Rapinat 391155d14b indentation
svn: r22057
2013-04-21 10:20:20 +00:00
John Ralls 1436945239 [r22039]Bug 6533: Report plugin name
when failing to load an add-on translation
Message now says (e.g.) WARNING: Plugin ExtendedAttributes has no translation for any of your configured languages, using US English instead

svn: r22056
2013-04-20 23:24:11 +00:00
John Ralls f657238034 [r22038]GrampsLocale: Add explanatory comment
After I stopped myself from fixing something that was done right!

svn: r22055
2013-04-20 23:24:05 +00:00
John Ralls 821bf3b740 [r22037]GrampsLocale: Mac: Align flow of user preferences
to match other OSes.
Also add diagnostics to make Tim Lyons happy.

svn: r22054
2013-04-20 23:23:59 +00:00
John Ralls 8ce27e1be6 [r22036]GrampsLocale: Win32: Clean up extraneous conditions
don't set self.language prematurely

svn: r22053
2013-04-20 23:23:53 +00:00
John Ralls c338c75953 [r22035]GrampsLocale: Posix: Move LC_MESSAGES check
to setting self.language

svn: r22052
2013-04-20 23:23:48 +00:00
John Ralls 001b520199 [r22034]GrampsLocale: Add some debugging messages.
Move the warning about failure to after the last attempt.

svn: r22051
2013-04-20 23:23:41 +00:00
John Ralls c6f926188a [r22033]GrampsLocale: Init_from_environment: Change precedence
LC_MESSAGES takes precedence over LC_CTYPE for setting self.lang
$LANGUAGES overrides $LANG, $LC_FOO for setting translations

svn: r22050
2013-04-20 23:23:36 +00:00
John Ralls badaa407f6 [r22032]GrampsLocale: Fix indentation error
svn: r22049
2013-04-20 23:23:29 +00:00
John Ralls 14575a3bc8 [r22031]MacLocale: Make sure the overrides work correctly
And that we follow the user's preferences correctly or issue a warning that we've defaulted to US English if we can't.

svn: r22048
2013-04-20 23:23:23 +00:00
John Ralls edd40cafa3 [r22030]Supply a concatstrings PostScript function
To allow postscript documents to work without Ghostscript.

svn: r22047
2013-04-20 23:23:18 +00:00
John Ralls 50e43f51c9 [r22029]Use GrampsLocale.encoding to get the code set instead of locale
svn: r22046
2013-04-20 23:23:12 +00:00
John Ralls ea0a839ab1 [r22028]GrampsLocale: Replace gen.plug.utils gfloat()
With GrampsLocale.float().
Also remove gen.plug.utils gformat(), which was written to work
around string formatting with %f localizing the decimal point,
which it doesn't do. locale.format() does, but it wasn't being
used anyway.

svn: r22045
2013-04-20 23:23:07 +00:00
John Ralls 9284223d4b [r22027]GrampsLocale: Wrap locale.format and locale.format_string
To concentrate the locale dependency in grampslocale.py

svn: r22044
2013-04-20 23:22:59 +00:00
John Ralls 7c2469a3ca [r22026]Remove some imports of locale where nothing it exports was used.
svn: r22043
2013-04-20 23:22:53 +00:00
John Ralls 7005b63a43 [r22025]Take the localization debug info from GrampsLocale
instead of locale

svn: r22042
2013-04-20 23:22:44 +00:00
John Ralls 70345ef4b8 [r22024]GrampsLocale: Add GrampsLocale attributes numeric and currency
svn: r22041
2013-04-20 23:22:37 +00:00
John Ralls f2d7e62fc0 [r22023]MacLocale: Fix missing subscript.
svn: r22040
2013-04-20 23:22:31 +00:00
Paul Franklin c032fc8dae typos
svn: r22020
2013-04-19 16:57:48 +00:00
Erik De Richter 15f7b45d3f updated dutch translation
svn: r22019
2013-04-19 06:12:05 +00:00
Paul Franklin 9c44e4500f typo
svn: r22016
2013-04-18 20:56:06 +00:00
Paul Franklin 8aa2a6aa24 give the "ahnentafel" report a user-settable title string
(since many English speakers do not know what "ahnentafel" means)


svn: r22014
2013-04-18 19:08:19 +00:00
Paul Franklin fa35769714 add name-format option to the three GraphViz reports
svn: r22012
2013-04-18 17:16:16 +00:00
Jérôme Rapinat 53b67443f2 6645: unable to do Spanish kinship report, 4185: Julio's patch
svn: r22010
2013-04-18 09:05:14 +00:00
Paul Franklin feb36c5ce4 refactor: move name_format into stdoptions.py
svn: r22008
2013-04-17 20:49:14 +00:00
Erik De Richter b0a159ee2f updated dutch translation
svn: r22007
2013-04-17 19:24:35 +00:00
Paul Franklin 6d57f08ac0 6623: funny GUI report-language display
svn: r22005
2013-04-16 22:18:47 +00:00
Mirko Leonhäuser 9fc255371d updated german translation
svn: r22004
2013-04-16 17:46:50 +00:00
Paul Franklin 706e92be77 6462: GEDCOM import fails (patch by Enno Borgsteede)
svn: r22001
2013-04-15 22:01:08 +00:00
Benny Malengier 16cfc2af23 6618: Export CSV crashes gramps 4.0 beta
svn: r21999
2013-04-15 11:01:24 +00:00
Benny Malengier 77adb230c5 6635: retry of bug 6443, exec missing globals
svn: r21997
2013-04-15 09:40:47 +00:00
Benny Malengier 9503faed70 6623: funny GUI report-language display
svn: r21994
2013-04-15 09:15:34 +00:00
Erik De Richter 1e1e57c576 updated nl translation
svn: r21993
2013-04-14 20:02:24 +00:00
Erik De Richter fecaba830e updated nl translation
svn: r21992
2013-04-14 07:14:19 +00:00
Paul Franklin 5d13d706b6 add "Id" property and line, and stdoptions.py
svn: r21990
2013-04-13 23:34:50 +00:00
Paul Franklin 7ec9f36fe2 add "Id" property
svn: r21989
2013-04-13 21:03:07 +00:00
John Ralls d8b04d281d GrampsLocale: Restore the _hastag.py files
Accidentally deleted in r21968

svn: r21988
2013-04-13 19:47:59 +00:00
Paul Franklin dcb84fd166 add "Id" property
svn: r21987
2013-04-13 15:11:04 +00:00
John Ralls 3127dc08e2 [r21977]Remove unnecessary (and broken in Py3) import
svn: r21986
2013-04-13 14:38:02 +00:00
John Ralls 58c2b11013 [r21968]GrampsLocale: Remove get_translation()
Only one base translation per locale. To set up a different locale
on any axis (locale, domain, directory, or languages) instantiate a
secondary locale by calling GrampsLocale() with the appropriate
arguments.

svn: r21985
2013-04-13 14:37:34 +00:00
John Ralls d674eed2d4 [r21967]GrampsLocale: Integrate libtranslate functions into GrampsLocale
And remove libtranslate

svn: r21984
2013-04-13 14:35:30 +00:00
John Ralls 751ac2aef0 [r21966]GrampsLocale: Extract 2 reporting functions
set_translation() to the Report class
Add a new module stdoptions to gen.plug.report with function
add_localization_option(). The intent of stdoptions is to reduce the code-copying among reports; this is the first bit.

svn: r21983
2013-04-13 14:35:23 +00:00
John Ralls eb63ae3d8e [r21965]GrampsLocale: Add get_date and get_type functions
To enable GrampsLocale to replace libtranlate.py's Translation
class.

svn: r21982
2013-04-13 14:35:15 +00:00
John Ralls 6f7c65a038 [r21964]GrampsLocale: Add date_parser and date_displayer properties
svn: r21981
2013-04-13 14:35:08 +00:00
John Ralls 1e598e846a [r21963]MacLocale: Capture collation qualifications
svn: r21980
2013-04-13 14:35:02 +00:00
John Ralls 9f1ec6daf6 [r21962]GrampsLocale: Make dictionaries class variables
lang_map and country_map

svn: r21979
2013-04-13 14:34:56 +00:00
John Ralls 044452805b [r21961]GrampsLocale: Refactor/clean up initialization
Includes moving encoding to be a class variable.

svn: r21978
2013-04-13 14:34:49 +00:00
Nick Hall 5d3735123e 6622: Change regular expression rules to use search rather than match
svn: r21975
2013-04-13 14:30:12 +00:00
Fedik 89847f1df3 small translation and uptades
svn: r21973
2013-04-13 13:23:40 +00:00
Jérôme Rapinat f7a0036a41 update and merge Greek translation with last template (by Ζήσης Παπαδόπουλος)
svn: r21972
2013-04-13 06:27:55 +00:00
Mirko Leonhäuser b1b5b1dbfb updated german translation
svn: r21970
2013-04-13 00:11:28 +00:00
Jérôme Rapinat 24414d6285 update Hungarian translation (by Nemeséri Lajos)
svn: r21960
2013-04-12 07:22:53 +00:00
Fedik 86f069e05a small translation and uptades
svn: r21959
2013-04-11 20:01:41 +00:00
Jérôme Rapinat 40219c0b83 typo
svn: r21957
2013-04-11 07:51:29 +00:00
Jérôme Rapinat 84c9e42d96 merge french translation with last template
svn: r21956
2013-04-11 07:48:08 +00:00
Jérôme Rapinat 1cf906be39 update and merge Hungarian translation (by Nemeséri Lajos)
svn: r21955
2013-04-11 07:33:30 +00:00
Paul Franklin e0ed05653d add person-index entries, for book report
svn: r21954
2013-04-10 21:56:35 +00:00
Paul Franklin b7b2ba690a add TOC and index entries, for book report
svn: r21951
2013-04-10 20:25:35 +00:00
Paul Franklin 8725f2e236 add TOC entry, for book report
svn: r21950
2013-04-10 19:05:56 +00:00
Paul Franklin ca4c231eaa missing import
svn: r21947
2013-04-10 19:00:58 +00:00
Fedik cb6a42364b small translation and uptades
svn: r21946
2013-04-10 18:05:23 +00:00
Nick Hall f6b043da6f 6599: Fix python3 error
svn: r21944
2013-04-10 17:39:19 +00:00
Nick Hall f4aecf48c1 6599: Add regex parameter to rules which override the constructor
svn: r21942
2013-04-10 13:24:04 +00:00
Peter Landgren e4af48c0f3 BSDDB -> Bsddb.
svn: r21940
2013-04-10 12:58:54 +00:00
Peter Landgren bca4e0852f BSDDB -> Bsddb.
svn: r21939
2013-04-10 12:58:15 +00:00
Fedik 4862a5e072 small translation and uptades
svn: r21936
2013-04-09 18:09:15 +00:00
Nick Hall 516cc588c6 6599: Add regular expression option to rules using the match_substring method
svn: r21934
2013-04-09 13:51:38 +00:00
Jérôme Rapinat ad8908fe96 6608: typo
svn: r21930
2013-04-09 13:47:41 +00:00
Jérôme Rapinat 7b98d528f1 existing name for gexiv2 package
svn: r21929
2013-04-09 13:45:48 +00:00
Mirko Leonhäuser 342ea53dae updated german translation
svn: r21928
2013-04-08 17:52:06 +00:00
Paul Franklin 396de3564b enable "indent spouse" option to /not/ indent a spouse
svn: r21926
2013-04-08 15:08:14 +00:00
Peter Landgren 9e5922d13c Updated for Family Tree.
svn: r21924
2013-04-08 13:46:53 +00:00
Peter Landgren 35f6cba4f4 Updated for Family Tree.
svn: r21923
2013-04-08 13:44:45 +00:00
Peter Landgren 72014d89e3 Converted to Family Tree.
svn: r21922
2013-04-08 13:41:44 +00:00
Zdenek Hatas 1b1a0e5e92 czech translation update
svn: r21920
2013-04-08 09:52:06 +00:00
Jérôme Rapinat 5cfbeda670 check librsvg2 package naming (apt-get -s)
svn: r21919
2013-04-08 07:07:23 +00:00
Andre Marcelo Varenga 4c8b259002 Updating pt_BR translation
svn: r21917
2013-04-08 02:48:39 +00:00
Luigi Toscano df537dee58 Italian translation updates
svn: r21916
2013-04-07 22:50:02 +00:00
Luigi Toscano 5d29b90dcc Pending 'it' translation updates for 3.4, forward-port to 4.0 and trunk
svn: r21915
2013-04-07 21:36:50 +00:00
Mirko Leonhäuser a131ed20e4 updated german translation
svn: r21914
2013-04-07 11:04:40 +00:00
Nick Hall b240d979de 6599: Fix matching empty fields in empty locations using regular expressions
svn: r21912
2013-04-06 17:27:18 +00:00
Paul Franklin 1e5ae4aa4d clarify and qualify release information
svn: r21909
2013-04-06 16:56:57 +00:00
Jérôme Rapinat d167d8db03 typo, No module named versioin
svn: r21907
2013-04-06 11:56:38 +00:00
Jérôme Rapinat a182a68b9f need const.py into source tarball
svn: r21905
2013-04-06 09:40:49 +00:00
Jérôme Rapinat 0ba9247e64 no new messages, cosmetic changes into grampslocale; update string references (comments) ignored after compilation
svn: r21904
2013-04-06 08:04:42 +00:00
Peter Landgren 2105312fdf Partial translation update.
svn: r21903
2013-04-06 07:55:32 +00:00
Jérôme Rapinat b1b1308343 alpha5 -> beta
svn: r21902
2013-04-06 07:47:38 +00:00
John Ralls 5dc89962ba [r21899]GrampsLocale: Ensure self.encoding exists before testing it
svn: r21901
2013-04-05 23:54:58 +00:00
John Ralls 2eafc3ca08 [r21898]GrampsLocale: Clean up _init_from_environment even more
And do it right this time!

svn: r21900
2013-04-05 23:54:33 +00:00
Tim G L Lyons 3aae88f9c2 Put maxsize back
svn: r21895
2013-04-05 17:14:22 +00:00
Paul Franklin d4ed73da0e say pyexiv2 is no longer needed, and slight reformatting
svn: r21894
2013-04-05 17:00:58 +00:00
Jérôme Rapinat bc26b54d3e match filename for distutils commands
svn: r21890
2013-04-05 14:22:45 +00:00
Jérôme Rapinat 3edf31ebbc update and merge translations before 4.0.0 beta except for de, nb, nl, pt_BR, sv (activity)
svn: r21889
2013-04-05 13:46:58 +00:00
Tim G L Lyons b0e80e74b5 write.py: After the bsddb version has been upgraded, if the schema versions also needs to be upgraded, output a separate dialog asking the user whether he wants to upgrade the schema. (As requested by Benny).
svn: r21887
2013-04-05 10:54:13 +00:00
John Ralls 9979fd8792 [r21882]GrampsLocale: Improve windows handling of no locale
svn: r21885
2013-04-04 21:18:29 +00:00
John Ralls 5fc65f68ea [r21881]GrampsLocale: Ensure posix collation and calendar
are set correctly

svn: r21884
2013-04-04 21:18:22 +00:00
John Ralls 496cf30d6b [r21880]GrampsLocale: Better handling of unset $LANG or $LANG == 'C'
svn: r21883
2013-04-04 21:18:16 +00:00
Benny Malengier 2eeba5a9ae 6579: Check and Verify crashes
svn: r21878
2013-04-04 20:08:12 +00:00
Mirko Leonhäuser 78ada9190c updated german translation
svn: r21877
2013-04-04 18:08:43 +00:00
Benny Malengier 434d45ffd1 formatting cleanup
svn: r21876
2013-04-04 10:50:44 +00:00
Benny Malengier 028c832153 6590: gramps40 asciidoc.py crashes for at least some reports
svn: r21874
2013-04-04 10:13:36 +00:00
Benny Malengier 2cb36a7fb4 6591: converted bytes of media in a string to show in quickview
svn: r21872
2013-04-04 09:54:04 +00:00
Benny Malengier 4526da77ce More exception text
svn: r21870
2013-04-04 09:31:41 +00:00
Benny Malengier 40db10e378 fix python3 error and improve upgrade text
svn: r21868
2013-04-04 09:27:01 +00:00
Jérôme Rapinat 7a7e95410a update template before beta, merge some translation strings from 3.4.x (french)
svn: r21866
2013-04-04 07:51:53 +00:00
Jérôme Rapinat c7b6e840f0 update Debian control file according to README file
svn: r21861
2013-04-03 16:48:55 +00:00
Jérôme Rapinat 576dcb30d6 typo for handling one translated string
svn: r21860
2013-04-03 16:42:11 +00:00
John Ralls b204a48b42 [r21858]GrampsLocale: Fix MSWin Syntax error
Can't do everything the C way :-(

svn: r21859
2013-04-03 03:57:50 +00:00
John Ralls 8fe756f5e4 [r21854]GrampsLocale: Win: Check both forward and reverse mslocale
svn: r21857
2013-04-02 20:35:51 +00:00
John Ralls 0303212d49 [r21853]ImportProGen: Fix "with" statement syntax.
svn: r21856
2013-04-02 20:35:44 +00:00
John Ralls a67b7b7d11 [r21845]GrampsLocale: Report the plugin when complaining
About not being able to find a translation.
Well, that's usually the source of this warning. With an unsupported
locale it will say "share".

svn: r21855
2013-04-02 20:35:38 +00:00
Tim G L Lyons 019ad16239 0006529: Cancelling database upgrade can corrupt the database. Check whether the bsddb version has changed (or was originally unknown). If it is an upgrade, ask the user whether he has made a backup, and is ready to upgrade. If so, made a zip backup and open the database with the new bsddb version. Make messages on the dialogues more explicit with the version numbers mentioned.
svn: r21851
2013-04-02 16:05:36 +00:00
Paul Franklin d62b34125c send a CLI error string to stderr
svn: r21848
2013-04-02 05:07:21 +00:00
John Ralls 52b7276c7d [r21844][Bug 6495] Translator class should use english date
When "English" is set via libtranslate.

svn: r21846
2013-04-02 00:10:28 +00:00
Erik De Richter 75a02b10d7 updated dutch translation
svn: r21842
2013-04-01 18:27:06 +00:00
John Ralls 3f2d9f6219 [r21839]GrampsLocale: Fix NoneType error
svn: r21840
2013-04-01 17:38:28 +00:00
Paul Franklin efdaa1fd14 translate a few CLI strings
svn: r21838
2013-04-01 14:58:55 +00:00
Jérôme Rapinat 7ee109ea98 add some suggestions and recommendations
svn: r21835
2013-04-01 08:39:49 +00:00
John Ralls cd4585b100 [r21831][Bug 6553] Get Datehandler base language
from GRAMPS_LOCALE.calendar

svn: r21834
2013-03-31 22:51:38 +00:00
John Ralls 444a3f4c12 [r21830]GrampsLocale: Better initialization from environment
Splits out Win32 and Posix initializations to take account of the
fact that on Win32 setlocale() ignores environment variables and on
Posix it's not necessary to check them because setlocale() does the
right thing.

svn: r21833
2013-03-31 22:51:32 +00:00
John Ralls d3d80b443e [r21829]ImportProGen: Prevent leaking file handle
svn: r21832
2013-03-31 22:51:26 +00:00
Tim G L Lyons 9d8d1576b4 0006483: Listing the Family Trees can corrupt them. Changed get_dbdir_summary to exit if the bsddb_version is not the current bsddb and to return both BSDDB and schema version. Changed family_tree_summary to output both versions. Changed argparser and arghandler to additionally support -t (table) option to list family tree in tab delimited format.
svn: r21827
2013-03-31 22:09:05 +00:00
Erik De Richter ba12b62810 updated dutch translation
svn: r21823
2013-03-31 18:59:51 +00:00
Jérôme Rapinat 49ed4e0f53 debianize for dh_python2 support
svn: r21821
2013-03-31 17:07:21 +00:00
Paul Franklin 85300edd61 6589: no TOC entry for b.r. multi-page no-title ancestor/descendant trees
svn: r21819
2013-03-30 21:00:53 +00:00
Paul Franklin bc6c23bc65 6568: graphic descendant tree report inserts a bogus title
svn: r21817
2013-03-30 04:32:28 +00:00
Benny Malengier 2e7e0d7666 6568: graphic descendant tree report inserts a bogus title
svn: r21815
2013-03-29 20:47:08 +00:00
Benny Malengier cb2b4a1514 clarify use of all_handles methods
svn: r21814
2013-03-29 20:03:21 +00:00
Benny Malengier 07edb59c83 6417: alpha4 filtering screws up Export
svn: r21812
2013-03-29 19:39:35 +00:00
Benny Malengier 684fd1b6df 6492: Verify crashes with python 3
svn: r21810
2013-03-29 16:59:14 +00:00
Benny Malengier f9a872ad67 6460: Crash during Extract Event Description
svn: r21808
2013-03-29 15:57:05 +00:00
Benny Malengier cfd162ec85 6346: If a exporter plugin crashes, the Export Assistant can't be closed
svn: r21806
2013-03-29 13:18:53 +00:00
Tim G L Lyons c5982a4514 0006578: referencedbyselection.py process_object calls non-existant process_note method
svn: r21803
2013-03-28 23:32:30 +00:00
Jérôme Rapinat 1975ca92b7 6369: BooleanOption does not support underline
svn: r21799
2013-03-28 18:41:37 +00:00
Tim G L Lyons 75e3385777 0006544: No test for checking if Place handle exists when looking at media reference via proxy
svn: r21797
2013-03-28 18:29:18 +00:00
Jérôme Rapinat 10eb31e708 minor syntax error
svn: r21795
2013-03-28 18:10:51 +00:00
Benny Malengier e0ccf7e330 6369: Accelerator keys, Gtk and User Interface
svn: r21793
2013-03-28 16:52:58 +00:00
Benny Malengier 8ef935804e 6340: In Family Tree Manager window, naming a tree which takes it out of view does not scroll to new name
svn: r21791
2013-03-28 16:23:33 +00:00
Benny Malengier 594f273260 6577: Mulltiple drop from clipboard on embeddedlist not working
svn: r21789
2013-03-28 16:02:18 +00:00
Tim G L Lyons a421439a76 referencedbyselection.py. 0006493: crash during Calculate Preview of a filtered XML export.
svn: r21786
2013-03-28 14:29:25 +00:00
Benny Malengier 7ac463b03b 6569: transferring from the clipboard causes gramps40 svn 21740 to crash
svn: r21784
2013-03-28 13:54:05 +00:00
Benny Malengier 38a68f4fd2 6521: README needs to be updated, before release
svn: r21782
2013-03-28 12:30:28 +00:00
Benny Malengier 9fecd1aa53 6319: Remove libgrdb
svn: r21779
2013-03-28 12:24:23 +00:00
Benny Malengier 5fca8311f5 Python3 UnicodeDecodeError in python3 on unpickling data saved in python2
svn: r21778
2013-03-28 10:48:01 +00:00
Benny Malengier 4260777605 5163: Another crash in same editor.
svn: r21776
2013-03-28 10:02:40 +00:00
Benny Malengier b4c225fc35 6496: GUI Export fails in gramps40
svn: r21774
2013-03-28 09:09:29 +00:00
Benny Malengier da8cb286cd 6443: try to use remove unused objects tool
svn: r21771
2013-03-27 19:57:17 +00:00
Benny Malengier 2f0cf7d5b6 support python 3
svn: r21770
2013-03-27 19:56:54 +00:00
Benny Malengier 4c8d6a3215 6402: Error in ValidatedMaskedEntry widget
svn: r21767
2013-03-27 18:05:25 +00:00
Paul Franklin 4ca275e5b2 6561: v3.4.3 NarWeb creation fails for German, Swedish
svn: r21765
2013-03-27 17:00:40 +00:00
Benny Malengier a581dda843 6484: IndexError for sort_data/column on quick view table
svn: r21763
2013-03-27 14:22:39 +00:00
Benny Malengier 7da053e88e 6470: Crash by filtering with filter bar in person tree view
svn: r21760
2013-03-27 13:47:13 +00:00
Jérôme Rapinat 9cad62547e re-debianize
svn: r21758
2013-03-27 13:15:45 +00:00
Jérôme Rapinat 0cacbc4c16 do not need extra dependency for building
svn: r21757
2013-03-27 09:34:36 +00:00
John Ralls f2f148b7ba [r21753]GrampsLocale: Separate self.encoding from sys.stdout.encoding
Because python standard library functions encode to
locale.getpreferredencoding or sys.getdefaultencoding, not to
sys.stdout.encoding.

svn: r21756
2013-03-26 19:29:27 +00:00
Tim G L Lyons 67b6abb3df 0006564: svn 21740 restores bug 0006411 - Navweb crashes during creation of Media pages
svn: r21754
2013-03-26 19:28:53 +00:00
Paul Franklin 1f94813e59 restore SVN number to "gramps -v" output
svn: r21752
2013-03-26 19:02:37 +00:00
Paul Franklin 7d90a49fba slightly better CLI help
svn: r21749
2013-03-26 17:50:18 +00:00
Jérôme Rapinat c73cb0e70a only need next generation of python-gobject (<= 3.0.0) for building
svn: r21748
2013-03-26 16:10:05 +00:00
Jérôme Rapinat 49cf845b53 add a preinst script for .deb
svn: r21747
2013-03-26 15:52:33 +00:00
Jérôme Rapinat f3859a2fb9 start to migrate DEBIAN rules to distutils
svn: r21746
2013-03-26 15:41:39 +00:00
Jérôme Rapinat 40076dd093 no official release yet, what about gen.svn_revision?
svn: r21745
2013-03-26 14:37:17 +00:00
Erik De Richter 8a290a14a4 updated nl translation
svn: r21744
2013-03-26 09:55:18 +00:00
Benny Malengier cbb8d063df 6501: Cannot crop via mouse cursor into Media reference editor
svn: r21743
2013-03-25 20:04:33 +00:00
Benny Malengier 47be9a4e02 6528: Place Names with & in name fail to display
svn: r21740
2013-03-25 14:16:23 +00:00
Nick Hall b84ad06523 Fix literals. Use logging for warnings.
svn: r21738
2013-03-25 13:34:44 +00:00
Jérôme Rapinat 5a9686bad7 try to build .deb for 4.0; http://gramps-project.org/wiki/index.php?title=Debian, update control file
svn: r21736
2013-03-25 11:24:23 +00:00
Paul Franklin 4064b9917f totally revert the whole 21728/21729 open=>io.open changes
svn: r21735
2013-03-24 22:27:27 +00:00
Paul Franklin 0c791b2d14 revert 21728/21729 open=>io.open change, for Windows
svn: r21732
2013-03-24 17:45:40 +00:00
Paul Franklin 42d8a95512 modify (semi-revert) 21728/21729 open=>io.open change, for Windows
svn: r21731
2013-03-24 15:48:58 +00:00
Paul Franklin d5e63a30d5 more open=>io.open changes, as John advised
svn: r21728
2013-03-24 00:10:34 +00:00
Nick Hall 70f4ed3b32 Add Tag class to CallbackManager
svn: r21726
2013-03-23 22:26:25 +00:00
Jérôme Rapinat 8bbc216d17 6544: add warning if place on event is missing by using proxies sequence
svn: r21723
2013-03-23 17:12:45 +00:00
Paul Franklin d135d2f55b another open=>io.open change, as John advised
svn: r21721
2013-03-23 15:26:16 +00:00
Paul Franklin 8835e3f133 slight tweaks to booklist format
svn: r21718
2013-03-21 20:45:59 +00:00
Peter Landgren 93e95ad7da Some updates.
svn: r21717
2013-03-21 09:36:32 +00:00
Erik De Richter a0016381c4 updated nl translation
svn: r21714
2013-03-20 20:05:24 +00:00
Paul Franklin 6e8435baab CLI typos and slight code cleanup
svn: r21713
2013-03-20 16:16:21 +00:00
Jérôme Rapinat d72ef5e5dc 4687: missing content migration...
svn: r21710
2013-03-20 14:05:37 +00:00
Jérôme Rapinat 01f6e3e79e 4687: global name 'warn' is not defined
svn: r21707
2013-03-20 13:57:31 +00:00
Jérôme Rapinat 3eed3217f4 merge after 3.4.3 release
svn: r21705
2013-03-20 13:49:31 +00:00
Nick Hall a4314abb61 Fix bug in citations bottombar gramplet
svn: r21702
2013-03-19 23:15:11 +00:00
John Ralls 393323a670 [r21696]TreeBaseModel: Avoid TypeError when bisecting
svn: r21700
2013-03-19 18:34:44 +00:00
John Ralls 764f17b935 [r21695]GrampsLocale: Ensure correct stdout encoding
Replace stdout with one that uses a transcoding Streamwriter. This
better handles differences between Py2 and Py3 than does trying to
encode strings prior to output. In particular Py3's default stdout
demands unencoded strings and prints byte-strings when one tries to
pre-encode them.

svn: r21699
2013-03-19 18:34:34 +00:00
John Ralls 1f38fd43f5 [r21694]GrampsLocale: Use glocale.lang or glocale.language[0]
To get the default localization instead of locale.getlocale() or
glocale.get_translation().language().

svn: r21698
2013-03-19 18:34:11 +00:00
John Ralls 38cc711bde [r21693]GrampsLocale: Prevent some AttributeErrors
and 'referenced before assignment' errors.

svn: r21697
2013-03-19 18:33:31 +00:00
Paul Franklin bdcc43b911 6542: book report: graphic ancestor or descendant tree reports fail
svn: r21678
2013-03-18 18:54:01 +00:00
Tim G L Lyons b8f2f13e33 README file. Add PyICU as strongly recommended.
svn: r21676
2013-03-17 14:47:38 +00:00
Nick Hall 738c95dedc Revert change to const.py
svn: r21672
2013-03-17 12:29:04 +00:00
Tim G L Lyons 820816f409 Standardise messages about missing modules to include problem, consequence and what to do about it (currently including references to GEPS 029 where necessary).
svn: r21670
2013-03-17 11:40:08 +00:00
Paul Franklin a713d5c388 ignore any CLI book report "item" which crashes
svn: r21668
2013-03-16 22:50:21 +00:00
Nick Hall 8af82fae08 Add methods used for modal ProgressMeter to CLIDialog
svn: r21665
2013-03-16 21:47:29 +00:00
Nick Hall da39d249de Add modal option to ProgressMeter
svn: r21662
2013-03-16 19:48:21 +00:00
Jérôme Rapinat 56136e1083 6195: Import citation for pro-gen file format (patch by keestux)
svn: r21658
2013-03-16 10:23:42 +00:00
Nick Hall 063efad45f 6336: Convert to use DbGUIElement
svn: r21655
2013-03-15 21:02:44 +00:00
Nick Hall b885391182 6526: Check for invalid handle
svn: r21652
2013-03-15 16:17:11 +00:00
John Ralls 0e195c04c8 [r21646]GrampsLocale: Code cleanup
And make sure that setting lang on the GrampsLocale constructor
overrides the languages from the first instance.

svn: r21650
2013-03-14 23:08:06 +00:00
John Ralls 6e525893bd [r21645]Plugins: Limit addon translators
Only get an addon translator if the plugin has a locale directory
Prevents pointless warnings, esp. when the translations are in the
main Gramps message file.

svn: r21649
2013-03-14 23:07:59 +00:00
John Ralls e4202098b7 [r21644]GrampsLocale: Suppress double printing of log messages
Grampsapp.py sets a global handler, so install one only during the first
init and remove it when done.

svn: r21648
2013-03-14 23:07:47 +00:00
John Ralls 2629bf3dee [r21640]GrampsLocale: Reduce circular imports
Lets one import grampslocale directly in a test script:
>>> from gramps.gen.utils.grampslocale import GrampsLocale
>>> import os
>>> gl = GrampsLocale(lang='fr_FR.UTF-8', localedir=os.path.join('build', 'mo'))
>>> tr = gl.get_translation().gettext
>>> tr("List of known family trees in your database path\n")
u'Liste des arbres familiaux connus dans votre chemin de base de donn\xe9es\n'

svn: r21647
2013-03-14 23:07:40 +00:00
John Ralls 0fda971b4c [r21636]GrampsLocale: Better handle invalid/missing locale
svn: r21639
2013-03-12 22:33:28 +00:00
John Ralls 651b3776f0 [r21635]MacLocale: Extract function _mac_get_gramps_defaults
And correct line handling on the languages list.

svn: r21638
2013-03-12 22:33:22 +00:00
John Ralls cfea1e98dc GrampsLocale: Correct some differences with trunk
Thanks to Paul Franklin for pointing these out.

svn: r21637
2013-03-12 22:33:16 +00:00
Nick Hall 901ec7dc5c Fix VERSION_DIR path
svn: r21633
2013-03-12 17:01:13 +00:00
Nick Hall 06df52881e Remove post-install script for linux
svn: r21629
2013-03-12 14:53:00 +00:00
Nick Hall 13bb98be10 Remove redundant code
svn: r21627
2013-03-12 14:40:18 +00:00
Nick Hall 9c0f85b3c2 Fix some properties
svn: r21625
2013-03-12 14:23:19 +00:00
Jérôme Rapinat 5d1a7e3b4e typo on version (backport from trunk)
svn: r21624
2013-03-12 13:49:54 +00:00
John Ralls 553d82ba34 [r21616]GrampsLocale: Ensure that encoding gets set to something
In the C locale, locale.getlocale() returns [None, None]

svn: r21621
2013-03-11 22:54:43 +00:00
John Ralls bd61f08873 [r21615]Install image files to $(prefix)/share/gramps/images
Instead of $(prefix)/share/gramps/icons/hicolor, which was an old (early
Gtk2) theming requirement.

svn: r21620
2013-03-11 22:54:37 +00:00
John Ralls 13a49a63ff [r21614]Move VERSION, VERSION_TUPLE, major_version
from const.py to version.py

As noted in the previous change, importing const into setup.py tried to
initialize GrampsLocale and ResourcePath, which won't work. Since all we
want is the VERSION string, move that to a new file, gramps/version.py

svn: r21619
2013-03-11 22:54:31 +00:00
John Ralls 3a73837dc9 [r21613]Determine Paths at Runtime
Uses GRAMPS_RESOURCES to override the root location of the Gramps data
files (which would normally be $(prefix)/share). In setup.py install,
writes $(prefix)/share to gen/utils/resource-path, installs that file,
then deletes it again from the source tree. The presence or absence
determines whether Gramps is running from the source directory or from
an installation.

Const.py is now a static file; const.py.in is no longer used. Note that
because importing const into setup tried to initialize things that we
don't want initialized, VERSION is removed, and imported from
gramps.version -- a file which will be added in the next change.
Consequently, this commit will not run.

svn: r21618
2013-03-11 22:54:20 +00:00
John Ralls 3490ebc684 [r21612]GrampsLocale: Protect another setlocale instance
svn: r21617
2013-03-11 22:54:11 +00:00
Mirko Leonhäuser 2ebec70e21 updated german translation
svn: r21611
2013-03-11 20:23:21 +00:00
Tim G L Lyons 87d91cdc20 Exportgedcom and importgedcom. 0006382: ADDR tag in GEDCOM export does not contain a full address. On export, all the elements of the structured address are output as ADDR/CONT. On import the structured address takes precedence (as at present), but a warning is only given if an element in the free-form address is missing from the structured address.
svn: r21609
2013-03-11 18:44:37 +00:00
Nick Hall 6a23860df2 6237: Suppress Gramps ID in Narrative Web report
svn: r21606
2013-03-10 23:54:52 +00:00
Paul Franklin af3e34fef5 sync a few files in gramps40 and trunk
svn: r21604
2013-03-10 21:52:07 +00:00
John Ralls 1a5ad3b6f7 [r21597]Grampslocale: Protect from crashes due to passing bad strings to
setlocale

svn: r21600
2013-03-09 22:38:05 +00:00
John Ralls a323c33c30 [r21596]Mac: Improve language list handling
Make sure that lang overrides the language list only if $LANG is set. Don't add encodings to the language list (e.g., en_US, not en_US.UTF-8). Start collation with None, because `if collation:` is True for collation = "". defaults may have whitespace at the end of "root", so use "startswith".

svn: r21599
2013-03-09 22:38:00 +00:00
John Ralls 5ecdde56f4 [r21595]GrampsLocale: Improve handling the language list
Replace "en" with "C" when setting $LANGUAGE ("en" confuses GtkBuilder), and explicitly iterate over languages when finding
the translator, because left to itself gettext will ignore English.

svn: r21598
2013-03-09 22:37:54 +00:00
Paul Franklin aa21c636b2 slight tweaks to text, add text property
svn: r21593
2013-03-09 17:48:00 +00:00
Jérôme Rapinat f84cc66c58 update Portuguese (Europe) translation by Frederico Muñoz
svn: r21592
2013-03-09 16:43:55 +00:00
Jérôme Rapinat 61046f3b75 "os" is not defined
svn: r21587
2013-03-09 10:25:10 +00:00
Jérôme Rapinat 2dab9b146e typo for handling translated strings
svn: r21586
2013-03-09 09:17:59 +00:00
John Ralls 54320efc45 Mac: Update Info.plist for alpha5
svn: r21585
2013-03-09 00:01:38 +00:00
Paul Franklin 113fbcfc7f handle CLI pathological case
svn: r21583
2013-03-07 23:30:03 +00:00
John Ralls 7e8cc02568 Bundle libgexiv2, adjust data and icon paths back to share
svn: r21582
2013-03-07 23:27:10 +00:00
John Ralls cd7b83086d Mac: Add patch for gexiv2 so that libtool can link the Gir,
svn: r21580
2013-03-07 23:24:05 +00:00
Helge Herz fab25576db Revert of 21558 because of changes in the GTK package for Win
svn: r21579
2013-03-07 23:22:59 +00:00
John Ralls d7b4bab8a9 Mac: Add goocanvas, replace pyexiv2 with gexiv2
svn: r21578
2013-03-07 23:22:43 +00:00
Nick Hall c861968fd3 6128: Reverse bug fix keeping code refactor
svn: r21576
2013-03-07 22:54:58 +00:00
Tim G L Lyons 3cba0f2089 0006507: GEDCOM import: Repositories not imported correctly from FTM for Windows and Heredis
svn: r21570
2013-03-06 17:41:43 +00:00
Erik De Richter 3e3f5c0baf updated nl translation
svn: r21568
2013-03-06 10:15:51 +00:00
Jérôme Rapinat 80db60b332 check gettext syntax complains about missing '\n'
svn: r21566
2013-03-06 08:28:01 +00:00
Jérôme Rapinat c06e8d3b64 update on translations
svn: r21565
2013-03-06 08:18:51 +00:00
Jérôme Rapinat c19c5e2569 Bump alpha-version to 5
svn: r21564
2013-03-06 08:05:12 +00:00
John Ralls 992b161798 [r21561]get_unicode_path_from_env_var(): make no-op if it's already unicode
svn: r21563
2013-03-06 01:12:07 +00:00
John Ralls 2dee2c4d77 [r21560]Adapt HTMLRenderer NavigationView init args to new signature
svn: r21562
2013-03-06 01:11:59 +00:00
Helge Herz 96440156bd GEexiv2 vor Python 2.7.3 and Win (see 6464)
svn: r21558
2013-03-05 21:55:49 +00:00
Espen Berg 588089954a Some small revision of Norwegian bokmål language file for gramps40
svn: r21556
2013-03-05 19:37:45 +00:00
John Ralls 7e749a9e25 [r21554]GrampsLocale:Move setlocale from _set_from_environment to
__init_first_instance

So that encoding is set for Mac as well.

svn: r21555
2013-03-05 17:26:00 +00:00
Paul Franklin 3e0fd433b5 shorten the report name for easier CLI use
svn: r21553
2013-03-05 04:46:22 +00:00
Paul Franklin 8a4732a5d2 tweak the default format for the report
svn: r21550
2013-03-05 01:02:54 +00:00
Mirko Leonhäuser 8371684a98 updated german translation
svn: r21549
2013-03-04 18:36:58 +00:00
Paul Franklin 2828211c6a 6494: svn_revision module ignores translated SVN stdout value for "exported"
svn: r21547
2013-03-04 05:12:53 +00:00
Paul Franklin bf67b3e114 skip error msg if no file exists
svn: r21545
2013-03-04 00:42:39 +00:00
John Ralls d01f7bf7df [r21540]GrampsLocale: Add _win_bindtextdomain
Adapted from init_windows_gettext in Gramps3.
Libintl-8.dll must be on the path, just like all of the other C-library
dependencies.

svn: r21543
2013-03-03 23:59:44 +00:00
John Ralls 1d2b143be9 [r21539]GrampsLocale: Restore setlocale, add GrampsLocale.encoding
encoding to replace translation().info()['encoding'] which isn't
the encoding we're looking for.

svn: r21542
2013-03-03 23:59:39 +00:00
John Ralls debf8b601a [r21538]Win32:Apply \\ escape to all const paths
svn: r21541
2013-03-03 23:59:32 +00:00
Mirko Leonhäuser bcef9fc868 updated german translation
svn: r21537
2013-03-03 12:12:37 +00:00
Serge Noiraud fae194d1a0 Geography : #05742 note 27613 : cairo arguments differ from gtk2 draw arc.
svn: r21535
2013-03-03 10:58:30 +00:00
Jérôme Rapinat 7aa1c2bbde update Portuguese (Europe) translation by Frederico Muñoz
svn: r21532
2013-03-03 09:05:26 +00:00
Paul Franklin 2528da2f2d add ICU/PyICU to "gramps -v"
svn: r21530
2013-03-03 03:19:37 +00:00
Josip Pisoj 8ea29ede81 win32 fix
svn: r21529
2013-03-03 00:08:15 +00:00
John Ralls 4ca0c9f8c9 [r21526]GrampsLocale: Create GrampsTranslation attribute for language
Rather than relying on translators to correctly fill out po files

svn: r21528
2013-03-02 20:28:57 +00:00
John Ralls 5a8a7479dd [r21525]GrampsLocale: Fix glocale without import
svn: r21527
2013-03-02 20:28:49 +00:00
Tim G L Lyons c3f39e7d40 0005058: Note reference on Attribute for individual is not filtered on Export. Fixed many other note references that are not filtered out.
svn: r21523
2013-03-02 19:30:02 +00:00
Paul Franklin 5235a6a6ac add "Id" property
svn: r21521
2013-03-02 15:52:57 +00:00
Jérôme Rapinat 62475bbc87 6500: relative import
svn: r21520
2013-03-02 14:56:13 +00:00
Jérôme Rapinat a33eb1d799 6500: missing glocale
svn: r21519
2013-03-02 14:54:29 +00:00
Peter Landgren 6e73fc8924 Better translation for compare events.
svn: r21517
2013-03-02 13:45:02 +00:00
Helge Herz 06b8b291f8 adaption for python version less 3.x (see issue 6465) for details
svn: r21515
2013-03-02 13:42:17 +00:00
Tim G L Lyons 98fa69b717 0003428: When running with pythonw.exe, Windows may crash if you write to stdout. Some more print statements changed to log.warning.
svn: r21511
2013-03-01 13:12:29 +00:00
Tim G L Lyons 7c9ec32d22 Narrative Web: Fix alphabetic navigation bar and sorting in index pages using PyICU where available. Implements most collate contractions for western languages Gramps has been translated into. This fixes the following bugs:
0002933: Problems in Narrative Web Report with surnames beginning with V or W. Use collation primary difference to define index groupings. Special case for 'V' and 'W' in Swedish removed because the default CLDR has a primary difference between them.

0003434: NarrativeWeb new alphabet index sorted incorrectly. Fix Cyrillic sort order, and contractions for Slovak and Czech (among other languages).

0003933: References inside pages in NarWeb report and non-ascii characters. Sorting issues for Polish characters.

0004423: Web report does not handle Czech "CH" character properly. Dz contraction is not present in the CLDR. Slovak is similar.

0005088: Narrated Web Site Report sort order different Windows vs Linux. Resolved by using PyICU (if available).

0005645: can't sort greek names

0005767: Sorting in Narrative Webb does not work correctly. Fix sorting in Individuals, Surnames, Families, Events and Places to use PyICU (if available). This bug covers sorting in the index header (as well as in the body of the index pages).

svn: r21508
2013-03-01 12:41:19 +00:00
John Ralls e1fb1c5b14 [r21501]RelationshipCalculator: Promote no translation message to warning
And make it more specific.
Thanks to Tim Lyons.

svn: r21505
2013-02-28 20:09:18 +00:00
Serge Noiraud 7541dd5b2e Bug #06459 : change the lock strategy and split transactions in Merge citation.
svn: r21504
2013-02-28 19:57:35 +00:00
John Ralls e8bad4d4c8 [r21492]grampletpane: Fix typo, naked except.
Warn with the reason when Dashboard file can't be opened or parsed.

svn: r21500
2013-02-28 19:23:15 +00:00
John Ralls d704d9ac4b [r21491]MacLocale: Handle AppleCollationOrder returning "root"
svn: r21499
2013-02-28 19:23:04 +00:00
John Ralls d334e0043f [r21490]MacLocale: Allow $LANG to override defaults settings
For currency, calendar, and collation

svn: r21498
2013-02-28 19:22:55 +00:00
John Ralls dede164e69 [r21489]GrampsLocale: Handle errors in getting collation key from locale module
svn: r21497
2013-02-28 19:22:43 +00:00
John Ralls f309f210d1 [r21488]GrampsLocale: Restore call to locale.bindtextdomain() for GtkBuilder
Apparently some Linuxes require it for GtkBuilder to find the localization files. It's not supported on Win32, though, so don't try in that case.

svn: r21496
2013-02-28 19:22:35 +00:00
John Ralls ebe1d0139c [r21487]GrampsLocale: Set collation, currency, and calendar to lang
only on secondary locale objects.

svn: r21495
2013-02-28 19:22:27 +00:00
John Ralls ebcd0bb119 [r21486]GrampsLocale: Use absolute address for importing grampslocale
so that it works from outside of Gramps itself, in particular gramps-addons/contrib/make.py

svn: r21494
2013-02-28 19:22:21 +00:00
John Ralls fc8eb4f445 [r21485]GrampsLocale: Fix get_addon_translator path
Add the locale subdirectory.
Also clean out some cruft left over from the old implementation.

svn: r21493
2013-02-28 19:22:14 +00:00
Nick Hall 3ae8e5cc1e 6408: Restore warning message for missing GExiv2 module
svn: r21484
2013-02-28 15:05:03 +00:00
Jérôme Rapinat a03877e8c9 update Portuguese (Europe) translation by Frederico Muñoz
svn: r21481
2013-02-28 10:20:48 +00:00
Helge Herz 357eb8af19 Python less 3.x uses GdkPixbuf.new_subpixbuf instead dkPixbuf.subpixbuf issue 6487
svn: r21476
2013-02-27 22:21:10 +00:00
Paul Franklin c91eec3d5f rename .__next__ (formerly .next) as it is "NOT an iterator"
svn: r21475
2013-02-27 18:50:47 +00:00
Jérôme Rapinat 870f80fc83 6385: Three minor grammar issues
svn: r21473
2013-02-27 14:35:10 +00:00
Jérôme Rapinat 3ee5b1dec4 "Delete" label instead of "Remove" on Gtk button
svn: r21472
2013-02-27 14:29:32 +00:00
Jérôme Rapinat c37bfc9dbe 6385: Three minor grammar issues
svn: r21471
2013-02-27 14:19:30 +00:00
Jérôme Rapinat bb494a56ca update template and french translation
svn: r21470
2013-02-27 13:39:46 +00:00
Erik De Richter 4a512c7347 updated nl translation
svn: r21469
2013-02-27 10:48:15 +00:00
Paul Franklin e6034cde4b behave gracefully if no GExiv2 under Python3
svn: r21467
2013-02-26 20:36:18 +00:00
Mirko Leonhäuser 5e9837d484 updated german translation
svn: r21466
2013-02-26 19:05:14 +00:00
Tim G L Lyons 57fcc67498 Fix retrieval of version metadata for python3 Gramps.py -L, reverting inadvertent changes in revision 21463
svn: r21465
2013-02-26 18:44:07 +00:00
Tim G L Lyons 3872899ebc Fix retrieval of version metadata for python3 Gramps.py -L
svn: r21463
2013-02-26 17:34:37 +00:00
Tim G L Lyons ad20c91b4f Fix type error in "python3 Gramps.py -L"
svn: r21462
2013-02-26 17:28:41 +00:00
Paul Franklin 5df0c7d3ee 6409 and 6447 Python3 changes (possibly not done yet)
svn: r21460
2013-02-26 17:18:23 +00:00
Tim G L Lyons daae9242bf 0006410: Webcal report crashes and freezes alpha4. For python3 simply opening the file works.
svn: r21457
2013-02-26 17:14:28 +00:00
John Ralls 114a71c13c [r21451]GrampsLocale: Remove all calls to locale.setlocale and locale.bindtextdomain
svn: r21456
2013-02-26 00:24:13 +00:00
John Ralls 7d7cc6f789 [r21450]Addons: Check for two-letter lang as well as 5-char locale
E.g, check fr as well as fr_FR

svn: r21455
2013-02-26 00:23:44 +00:00
John Ralls b99e2e29df [r21449]grampletpane: Replace diagnostic prints with log warnings.
And improve warning when unable to save the Dashboard layout.

svn: r21454
2013-02-26 00:23:31 +00:00
John Ralls 44f065eabf [r21448]grampletpane: Use __future__.unicode_literals instead of cuni()
And get rid of the silly NL = "\n"

svn: r21453
2013-02-26 00:23:21 +00:00
John Ralls b126aa1fc3 [r21447]ConfigManager: Ensure key files are loaded and saved as utf-8
svn: r21452
2013-02-26 00:23:10 +00:00
Paul Franklin e2860c99f6 Python3 changes: __next__ and future division (which is not done yet)
svn: r21445
2013-02-25 18:52:10 +00:00
Paul Franklin 6cd609941f slightly reformat error message
svn: r21444
2013-02-25 16:13:03 +00:00
Jérôme Rapinat 4a23da9500 quick test and update on the french translation
svn: r21442
2013-02-25 14:02:33 +00:00
Jérôme Rapinat 73cdf3d86f update template
svn: r21441
2013-02-25 13:45:25 +00:00
Jérôme Rapinat d24586eb34 update translation strings index
svn: r21440
2013-02-25 13:39:56 +00:00
Jérôme Rapinat 158a5f93fb 6283: Re-enable optimization flag (-O) for python
svn: r21439
2013-02-25 07:26:36 +00:00
John Ralls 7ff24aa9d1 [r21436]Work around lack of locale.LC_MESSAGES on some Windows pythons
svn: r21437
2013-02-24 17:41:31 +00:00
John Ralls bb2bcc4185 Fix missed cuni() in save.
svn: r21434
2013-02-24 16:42:58 +00:00
Peter Landgren c8254b1c68 Fixed a typo, two " was missing.
svn: r21432
2013-02-24 15:27:54 +00:00
Nick Hall 8d06298921 6408: python3 fix
svn: r21431
2013-02-24 13:53:15 +00:00
Paul Franklin 4621970783 revert to the old report name
svn: r21428
2013-02-24 08:39:51 +00:00
Paul Franklin 123a6e0ecf sync gramps40 to trunk (two places)
svn: r21426
2013-02-24 06:06:42 +00:00
John Ralls 3d0fa7a00a Fix Py2 file encoding errors
svn: r21424
2013-02-24 01:49:24 +00:00
John Ralls 400523c7f3 [r21326] GrampsLocale: Correct setting GrampsLocale.languages
Test only first 5 or first 2 characters of the language id against the
list of available translations.

Thanks to Tim Lyons for exposing the error.

svn: r21423
2013-02-24 01:49:15 +00:00
John Ralls 0bbbc76852 [r21287] GrampsLocale: Allow for importing older PyICU packages
svn: r21422
2013-02-24 01:49:07 +00:00
John Ralls 252d2932df [r21282]GrampsLocale: Fix creation of second GrampsLocale
svn: r21421
2013-02-24 01:49:01 +00:00
John Ralls bffb6767aa [r21281] grampslocale: Pretty up the log messages.
svn: r21420
2013-02-24 01:48:42 +00:00
John Ralls 0c07855f37 [r21280]grampslocale.py: Protect against C.UTF-8 not being installed
svn: r21419
2013-02-24 01:48:29 +00:00
John Ralls 088c97106f [r21279]relationship.py: Fix not registering "en_GB" as english.
Also replace diagnostic print with proper logging.

svn: r21418
2013-02-24 01:48:24 +00:00
John Ralls bfa28faf55 [r21276]Handle junk at the end of revision strings
svn: r21417
2013-02-24 01:48:16 +00:00
John Ralls 8222d4c04c [r21275]GrampsLocale: Replace locale functions
locale.strcoll, locale.strxfrm, and conv*_tosrtkey

With GrampsLocale.sort_key (for strxfrm and conv*_tosrtkey) and
GrampsLocale.strcoll.

If ICU is available will use the correct ICU::Collator for the locale,
otherwise falls back to locale.strxfrm -- for which it temporarily
changes the LC_COLLATE locale.

svn: r21416
2013-02-24 00:55:46 +00:00
John Ralls 879c48f57d [r21274]GrampsLocale: Introduce new GrampsLocale attributes
currency, calendar, and collate

svn: r21415
2013-02-24 00:55:32 +00:00
John Ralls 7127f8f2da [r21273] GrampsLocale: Directly set glocale attributes
... in maclocale.mac_setup_localization()

svn: r21414
2013-02-24 00:55:23 +00:00
John Ralls db9daced3c [r21272]GrampsLocale: Extract function __init_from_environment
svn: r21413
2013-02-24 00:55:13 +00:00
John Ralls c42cb6beee [r21271] Add modules for ICU
svn: r21412
2013-02-24 00:55:06 +00:00
John Ralls efa53a0537 [r21236]GrampsLocale: Replace use of get_language_string
... with GrampsLocale.get_language_dict

Permits sorting by localized language name.
Also hides the language code, which the user doesn't really care about.
Removes get_language_string from libtranslate.py, no longer needed.

svn: r21411
2013-02-24 00:54:56 +00:00
John Ralls bbf16cb40c [r21235]GrampsLocale: Use module-specific logger for grampslocale.py
Fixes double-logging problem reported by Tim Lyons.

svn: r21410
2013-02-24 00:54:40 +00:00
John Ralls d62ff6059e [r21182]GrampsLocale: Restructure so for multiple GrampsLocale objects
Only the first dependent upon the environment. All may be created with
parameters which override environment variables or OS settings. See the
GrampsLocale docstring for details.

svn: r21409
2013-02-24 00:54:35 +00:00
John Ralls f3361500c0 [r21181]relationship.py: Remove unused import
svn: r21408
2013-02-24 00:54:26 +00:00
John Ralls df1157e9d4 [r21180]Fix platform detection on OSX
'darwin' is returned by sys.platform, not os.name.

svn: r21407
2013-02-24 00:54:18 +00:00
John Ralls 11ad512f2d [r21179]Fix undefined variable reference, make separate not-loaded
warning

Thanks to Pat Lefebre for reporting the error.

svn: r21406
2013-02-24 00:54:04 +00:00
John Ralls fd559d0d80 [r21170]GrampsLocale: Convert some late-added translations to
GRAMPS_LOCALE

svn: r21405
2013-02-24 00:53:58 +00:00
John Ralls 7a894d9a41 [r21168]GrampsLocale: get_relationship_calculator: Fix missed variable
name change.

svn: r21404
2013-02-24 00:53:47 +00:00
John Ralls b6b3fb8680 [r21156]Descendant Report: Fix changed Sort function name
svn: r21403
2013-02-24 00:53:37 +00:00
John Ralls 755b653925 [r21154]Import get_svn_revision into const.py
via const.py.in, of course

svn: r21402
2013-02-24 00:53:29 +00:00
John Ralls 592f68ab6e [r21153]PdfDocGen: Report cause of failure on all exceptions
not just file open ones. Expat can raise exceptions too!

svn: r21401
2013-02-24 00:53:20 +00:00
John Ralls 0986d69429 [r21152]GrampsLocale: Fix file encoding error in recentfiles
Expat wants a binary file, not a string file.

svn: r21400
2013-02-24 00:53:11 +00:00
John Ralls 98898ddb71 [r21151]GrampsLocale: Get the language code from the global translation
Instead of probing locale.getlocale() and environment variables

svn: r21399
2013-02-24 00:52:59 +00:00
John Ralls 8cbba85cf1 [r21150]GrampsLocale: Use the codeset from the singleton translation
Instead of locale.getlocale() or locale.nl_langinfo

svn: r21398
2013-02-24 00:52:48 +00:00
John Ralls c01846fb84 [r21149]Fix some file resource leaks
I.e., files left open when the opening function exits. This is
a PyDebug warning.

svn: r21397
2013-02-24 00:52:35 +00:00
John Ralls fccfdecd03 [r21148]GrampsLocale: Simplify the file-finding functions
Making use of the fact that GrampsLocale now knows what
encoding to use, and noting that filesystems don't use
more than one encoding to write filenames in directories.

Also specify the encoding on some more files

svn: r21396
2013-02-24 00:52:26 +00:00
John Ralls 3f408af0fa [r21147][Bug 6364] Fix file-opening failures due to unicode content.
svn: r21395
2013-02-24 00:52:07 +00:00
John Ralls 8cea2e239a [r21146]GrampsLocale: Replace calls to sys.getfilesystemencoding
On MSWin and OSX, this call always returns the correct
value (utf-8 on OSX, 'mbcs' on MSWin), but on Linux the
return value is bizarrely dependent upon the environment.

Replace it with a GrampsLocale function which returns 'utf-8'
(the correct value for most Linux file systems) regardless of
the environment.

Also replace its use in print and write functions: It's the
encoding of paths in the filesystem, not of the files's content,
nor of the terminal's capabilities. The former is almost
always utf-8 as long as we write the file, the latter is
given by sys.stdout.encoding. Use the 'backslashreplace' error
handler to avoid exceptions when we need to output unicode
text to an ASCII terminal.

svn: r21394
2013-02-24 00:51:57 +00:00
John Ralls 221c30976f [r21145][Bug 6222]: Get the addons language list from the primary
GrampsLocale instance.

svn: r21393
2013-02-24 00:51:38 +00:00
John Ralls e28e114c95 [r21144]GrampsLocale: Remove ggettext
svn: r21392
2013-02-24 00:51:17 +00:00
John Ralls 3788d52107 [r21143]Localization: Re-implement localization as a class, GrampsLocale
GrampsLocale is effectively a singleton: An instance is created in
const.py and retrieved everywhere.

Translations are provided via Translations classes, which are derived
from GNUTranslations and NullTranslations to provide extra functions
like sgettext.

svn: r21391
2013-02-24 00:46:03 +00:00
John Ralls 740c7036d7 [r21142]Rename trans.py and mactrans.py to grampslocale.py and
maclocale.py

Reflecting discussion on gramps-devel about their affecting more than
just translations.

Provide for a master GrampsLocale instance to be retrieved from
const.py, set by grampsapp.

svn: r21390
2013-02-24 00:45:50 +00:00
Nick Hall eeaf8697f0 6408: Display GExiv2 version rather than pyexiv2 version
svn: r21389
2013-02-23 23:36:23 +00:00
Nick Hall 3fabbe1ecb 6408: Convert Metadata Viewer from pyexiv2 to GExiv2. Move Edit Exif Metadata gramplet into gramps-addons.
svn: r21387
2013-02-23 21:11:29 +00:00
Helge Herz d10d572002 see issue 0006464
svn: r21384
2013-02-23 12:42:24 +00:00
John Ralls 3d0fa69bd0 ImportGedcom: Fix Python3 "dictionary changed size during iteration" errors
svn: r21380
2013-02-19 22:11:35 +00:00
John Ralls a84d51d6b7 Import ProGen: Use python3 print syntax
svn: r21379
2013-02-19 22:11:29 +00:00
John Ralls 88831f8398 Fix Py2 TypeError in GEDCOM export
Due to writing regular strings instead of unicode strings.

svn: r21378
2013-02-19 22:11:21 +00:00
Paul Franklin 945bec0d6c basedocclass==>docclass to match the 20695 changes
svn: r21373
2013-02-19 19:18:59 +00:00
Serge Noiraud dfb6be488d Geography : print suppression
svn: r21371
2013-02-18 19:57:11 +00:00
Serge Noiraud 22bcc94ec0 Geography : bug #06451 note 27413 : the ellipse become a line when it is too small
svn: r21369
2013-02-18 19:40:16 +00:00
Serge Noiraud d02f6a3fb1 Geography : bug #06466 : History change when clicking on one marker
bug #06451 : incomplete precedent patch


svn: r21367
2013-02-17 12:46:13 +00:00
Nick Hall 76eae75da2 Make availability of GraphViz settings depend on output format
svn: r21366
2013-02-16 21:37:07 +00:00
Serge Noiraud 657d8e233f Geography : bug #06451 : Don't see chinese characters in the geography view.
svn: r21363
2013-02-16 13:33:10 +00:00
Nick Hall 5bb9581b15 Improve the descriptions and tooltip for GraphViz aspect ratio option
svn: r21361
2013-02-15 19:44:00 +00:00
Peter Landgren d6c4298ff4 Fixed a typo.
svn: r21360
2013-02-15 08:46:02 +00:00
Paul Franklin 260170ce36 6448: Text Reports>Descendant Report gives an AttributeError: 'Sort' object has no attribute by_birthdate
svn: r21358
2013-02-14 23:42:02 +00:00
John Ralls 801f1b77aa [Bug 6413] Fix importing ProGen files
This isn't a perfect fix because it requires that the ProGen file is
encoded with CP437, which is guaranteed only in Version 3.21 and later.

svn: r21354
2013-02-14 18:36:07 +00:00
Mirko Leonhäuser d5dfa05ff9 updated german translation
svn: r21353
2013-02-13 22:35:21 +00:00
Paul Franklin 808002d419 6247: Crash when attempting to use Book Report
svn: r21352
2013-02-13 18:47:44 +00:00
Serge Noiraud 4dc0f01137 Geography : bug #6442 use the good glib with introspection.
svn: r21348
2013-02-13 13:39:58 +00:00
Tim G L Lyons aa7e0b49e4 Reinstate inadvertent removal of rev 19988 change for bug 5900
svn: r21347
2013-02-13 11:08:52 +00:00
Peter Landgren 3c103143a6 Fixed a typo.
svn: r21345
2013-02-12 15:44:05 +00:00
Serge Noiraud ef65c893ea Geography : replace GObject.timeout_add by glib.timeout_add as it is deprecated
svn: r21342
2013-02-12 08:38:19 +00:00
Erik De Richter 566c3fb32b updated nl translation
svn: r21339
2013-02-11 20:01:57 +00:00
Josip Pisoj db1bd1e114 win32_py3: open use system encoding
svn: r21338
2013-02-10 22:52:19 +00:00
Paul Franklin 866796f5dc 6379: Can not get ancestry or relationship tabs to work
svn: r21336
2013-02-10 21:11:37 +00:00
Erik De Richter fdf740b35c updated nl translation
svn: r21334
2013-02-10 19:29:32 +00:00
Josip Pisoj 1500556d99 win32 changes
svn: r21330
2013-02-10 17:37:56 +00:00
Helge Herz 5e4b2d3bdc Revert svn21254 as discussed in issue 6424
svn: r21328
2013-02-10 14:32:43 +00:00
Tim G L Lyons 880e6c44e7 Revert change 21304 for moving report_options file
svn: r21323
2013-02-08 17:09:50 +00:00
Serge Noiraud 4068bebb3e Geography : synchronize gramps and osm-gps-map for the free maps.
svn: r21319
2013-02-08 07:39:59 +00:00
Serge Noiraud 0465b9cf37 Geography : sometimes crash with unknown people or family.
svn: r21318
2013-02-07 23:25:46 +00:00
Josip Pisoj fed5cc6a71 win32-py3 fix:ValueError: strftime() requires year in [1; 9999]
svn: r21317
2013-02-07 21:43:19 +00:00
Josip Pisoj 69800680a3 adapt setup script for win32
svn: r21316
2013-02-07 21:41:02 +00:00
Tim G L Lyons a3a758fd13 0006411: Navweb crashes alpha4 when creating Media pages
svn: r21314
2013-02-07 16:42:16 +00:00
Benny Malengier eadae6dbc9 use latest gtkspell if available
svn: r21308
2013-02-06 09:24:12 +00:00
Tim G L Lyons 3ee843917e 0003968: [NarWeb] Save/Restore settings for Narrated Website Generation. Change report_options file to be in the database directory, and implement different default report file and directory names based on the Family Tree Name. N.B. On upgrading, if you want to preserve your report_options, copy the report_option.xml file from the .gramps directory to the applicable .gramps.grampsdb.<number> directory. Also don't forget that the default options are to EXCLUDE private and living data.
svn: r21305
2013-02-05 18:07:03 +00:00
Tim G L Lyons 43c49238f5 Fix processing of contractions, and changes to ensure code (after initial lines) for narrativeweb is the same for trunk and gramps34 and gramps40. Also change default name of output directory (see bug 3968) and use website-directory configuration item.
svn: r21303
2013-02-05 18:00:09 +00:00
Peter Landgren 641155478f Fix of gramps -v for Graphviz and ghostscript.
svn: r21302
2013-02-05 15:18:59 +00:00
Tim G L Lyons 6ca692e33a 0006397: Navweb crashes alpha4. date.get_start_date has no attribute 'is_valid'
svn: r21300
2013-02-05 12:17:59 +00:00
Gary Burton 41fdca39dd Bug #6358. gc.DEBUG_OBJECTS removed from python3. Also handle exceptions due to collected weak references.
svn: r21299
2013-02-04 22:01:19 +00:00
Tim G L Lyons bb3ac61359 Change format of console logging messages to have a meaningful timestamp
svn: r21297
2013-02-04 19:15:45 +00:00
John Ralls a00a5ba32d [r21155]Use IMAGE_DIR in geography.py so that map images can be found
when running from source directory.

svn: r21288
2013-02-04 02:15:55 +00:00
Gary Burton efdb6e9fd5 Fix memory leaks.
svn: r21284
2013-02-03 16:25:03 +00:00
Erik De Richter ff12fdc4a3 updated nl translation
svn: r21277
2013-02-02 07:57:33 +00:00
Tim G L Lyons 3ef8a88a11 export file select dialogue does not correctly reject empty filenames - two (probably long standing) coding errors: use of method name 'strip' instead of calling it, and does not isolate the filename from the full pathname
svn: r21269
2013-02-01 17:40:47 +00:00
Peter Landgren 117b5b6594 Updated translation.
svn: r21266
2013-02-01 09:24:29 +00:00
Nick Hall 6a5a78eee0 Fix for --install-scripts option and new --server option
svn: r21264
2013-01-31 22:41:10 +00:00
Jérôme Rapinat ba28adea94 6367: Update the Side/Bottombar text (patch by Patsyblefebre)
svn: r21259
2013-01-31 08:28:03 +00:00
John Ralls 17f938c978 Revert "[r21246]Allow hard-coded paths to be overridden with $XDG_DATA_DIRS"
This reverts r21247

svn: r21256
2013-01-30 14:51:52 +00:00
Benny Malengier 54034d4811 gdkpixbuf support on windows
svn: r21254
2013-01-30 10:05:06 +00:00
Erik De Richter 45fc795964 updated dutch translation
svn: r21252
2013-01-30 09:36:27 +00:00
Jérôme Rapinat 0d9884186a 6384: Update Danish translation by Lars Kristian Lundin
svn: r21250
2013-01-30 09:31:14 +00:00
Erik De Richter e593d753ee updated nl translation
svn: r21248
2013-01-30 08:57:31 +00:00
John Ralls 2cd6aa43e4 [r21246]Allow hard-coded paths to be overridden with $XDG_DATA_DIRS
Necessary for post-installation relocatability.
Also ensure that data installed to share/gramps is in mac bundle.

svn: r21247
2013-01-29 21:14:15 +00:00
Jérôme Rapinat 7c82a5df48 typo
svn: r21244
2013-01-29 15:08:54 +00:00
Jérôme Rapinat 23baca2f09 6377: Danish translation is incomplete (patch by Lars Kristian Lundin)
svn: r21241
2013-01-29 08:47:52 +00:00
Jérôme Rapinat 02fd2409c5 6377: Danish translation is incomplete
svn: r21238
2013-01-28 16:10:30 +00:00
John Ralls 3b4496a808 [r21157]Fix GeoGraphyView.__init__ arg list for simplified bookmarks
svn: r21234
2013-01-27 20:00:42 +00:00
John Ralls 235a1e72fd Mac: Update (and correct) Info.plist for alpha4
svn: r21233
2013-01-27 19:33:13 +00:00
John Ralls 1af985dbc7 Mac: Bump alpha-version to 4
svn: r21232
2013-01-27 17:48:19 +00:00
Jérôme Rapinat 378f24272c behavior has changed on gramplet bars, message needs an update too
svn: r21230
2013-01-27 16:50:13 +00:00
Jérôme Rapinat 6bc5bcf644 re-enable svn revision, alpha4 release has last bug fix for 6371 and fixed translations
svn: r21228
2013-01-26 09:47:46 +00:00
Jérôme Rapinat efbd0e95dd mismatching
svn: r21227
2013-01-26 09:36:37 +00:00
Gary Burton 45a6524247 Bug #6371. Fix memory leak caused by hanging reference to progress meter callback method.
svn: r21224
2013-01-26 09:28:28 +00:00
Jérôme Rapinat 13c58292e3 ready for alpha4
svn: r21222
2013-01-26 08:54:27 +00:00
Jérôme Rapinat 5d8e37807c 0005088: Narrated Web Site Report sort order different Windows vs Linux. Initial commit to resolve the issues on Linux and Mac (provided in both cases PyICU is installed). Windows still needs to be tested, and there may still be some other uses of strxfrm (or strcoll) that need to be fixed; by kulath, see rev21175
svn: r21221
2013-01-26 08:42:40 +00:00
Jérôme Rapinat 5feda5f56c do not need to translate webapp yet
svn: r21220
2013-01-25 15:27:29 +00:00
Doug Blank 5d46ae352d 6364: dead people are shown as alive in narrated web page export
svn: r21218
2013-01-25 12:51:05 +00:00
Mirko Leonhäuser 4c622a7b0f updated german translation
svn: r21217
2013-01-24 20:38:19 +00:00
Jérôme Rapinat 7e7ae7c42b update french translation, new template after checking missing references, Note: there is some webapp strings on template.
svn: r21216
2013-01-24 17:38:40 +00:00
Nick Hall 0e172acd4c 6307: Use untranslated string in filter
svn: r21215
2013-01-24 16:47:36 +00:00
Nick Hall c221c1076a 6360: Fix to work with new model
svn: r21213
2013-01-24 16:28:58 +00:00
Jérôme Rapinat b2ae97c544 typo
svn: r21211
2013-01-24 15:45:34 +00:00
Jérôme Rapinat 38f29ece86 listing missing references
svn: r21209
2013-01-24 15:34:21 +00:00
Erik De Richter 383bd9548a updated dutch translation
svn: r21208
2013-01-24 14:01:07 +00:00
Benny Malengier 97a37439d2 6288: crash: no attribute 'require_version' - better fix
svn: r21206
2013-01-24 08:44:52 +00:00
Jérôme Rapinat 3ba99eb0b0 update french translation
svn: r21205
2013-01-23 19:05:47 +00:00
John Ralls 1e02a60f14 [Bug #6361] try to run soundex tool
Updated for python3

svn: r21204
2013-01-22 22:22:48 +00:00
Mirko Leonhäuser a5ffbb5e08 Fixed one small german translation error
svn: r21202
2013-01-22 21:44:08 +00:00
Gary Burton c36181d024 Bug #6255. Do not use TextIOWrapper when running python2.
svn: r21200
2013-01-22 20:54:34 +00:00
Erik De Richter d91be2fd0b updated dutch translation
svn: r21193
2013-01-22 09:01:44 +00:00
Erik De Richter b23699d9ce updated dutch translation
svn: r21192
2013-01-22 08:19:18 +00:00
Erik De Richter 313dcb77c2 updated dutch translation
svn: r21191
2013-01-21 22:51:38 +00:00
Jérôme Rapinat 348fa98341 "grampletview" is now "dashboardview"
svn: r21190
2013-01-21 15:58:18 +00:00
Peter Landgren 7ac6856b60 Updated translation.
svn: r21185
2013-01-21 14:20:48 +00:00
Erik De Richter e60ffbf83b updated dutch translation
svn: r21183
2013-01-21 08:55:39 +00:00
Gary Burton 5735799057 Bug #6255. Wrap gzip files with TextIOWrapper to allow them to be read as text.
svn: r21176
2013-01-20 17:15:35 +00:00
John Ralls 0446b7405d Add goocanvas-2.0 to gramps dependencies
svn: r21172
2013-01-19 21:46:15 +00:00
Erik De Richter 7be387e8fd updated nl translation
svn: r21167
2013-01-18 19:25:21 +00:00
Nick Hall f0cc7f35d6 Use public interface of Gtk.TreeModel in listview code
svn: r21166
2013-01-18 18:53:38 +00:00
Nick Hall b7d5bed60a 6353: Fix error when setting colours
svn: r21164
2013-01-18 18:25:06 +00:00
Nick Hall c56fb05d1c Remove handle and tooltip columns from models
svn: r21162
2013-01-18 00:04:18 +00:00
Nick Hall 64a8895df9 Tidy up bookmark code
svn: r21161
2013-01-18 00:03:48 +00:00
Nick Hall afefbeedf8 Allow icons as column headings in listviews
svn: r21160
2013-01-17 23:52:07 +00:00
Nick Hall 64ca5d105f 1765: Add private column to views
svn: r21159
2013-01-17 23:51:48 +00:00
Nick Hall 1d3a687c0c 6333: Display optional close button in gramplet bar tabs
svn: r21141
2013-01-17 00:02:38 +00:00
Nick Hall fb56547589 6331: Fix spelling mistakes
svn: r21138
2013-01-15 21:07:16 +00:00
Benny Malengier e91a06dc1b 6338: NotImplementedError on Export a View to a spreadsheet from the People Category
svn: r21135
2013-01-15 19:48:54 +00:00
Nick Hall 096e57e36a Add family filter to match twins
svn: r21133
2013-01-15 18:28:11 +00:00
Benny Malengier 44ea1b0fa8 6330: Can't download ans install addons
svn: r21130
2013-01-15 10:59:06 +00:00
Benny Malengier 3c75de2327 Filter was not working, we need to query global variable when we need it, not once at start
svn: r21128
2013-01-15 10:18:28 +00:00
Benny Malengier ca287ac12e factor out double handle2internal
svn: r21126
2013-01-15 08:49:08 +00:00
Benny Malengier bb392985f0 6329: Crazy citations after XML import of bacuo from Gramps 3.4.3
svn: r21124
2013-01-15 08:43:16 +00:00
Benny Malengier 0625ed8109 6326: Running Export View crashes with 'tuple' object has no attribute 'get_indices'
svn: r21119
2013-01-14 18:57:33 +00:00
Doug Blank 5824a674d6 Changes for 1.6 svn
svn: r21118
2013-01-14 18:40:17 +00:00
Paul Franklin ee7ef78f6d more absolute addressing, not relative
svn: r21116
2013-01-14 18:26:19 +00:00
Doug Blank 6a287a6018 Rename Gramplet View to Dashboard View
svn: r21113
2013-01-14 11:50:32 +00:00
John Ralls 92ba36c349 Fix typo in GI_TYPELIB_PATH
svn: r21111
2013-01-13 21:07:03 +00:00
John Ralls 54fd78c12a Include gi typelibs in bundle
svn: r21109
2013-01-13 20:38:56 +00:00
John Ralls adb8a084a4 Build Graphviz with pango and freetype support
Otherwise it can't output PDFs.
Also update Boost to 1.52.0



svn: r21108
2013-01-13 20:38:27 +00:00
Erik De Richter c133edec8e updated dutch translation
svn: r21105
2013-01-13 19:57:22 +00:00
Nick Hall d3f8f73180 Updates to navigation sidebar
svn: r21104
2013-01-13 17:28:18 +00:00
Benny Malengier c081c5f6f5 6288: crash: no attribute 'require_version'
svn: r21099
2013-01-13 16:50:34 +00:00
Mirko Leonhäuser 41b4634d52 updated german translation
svn: r21095
2013-01-13 02:55:15 +00:00
John Ralls 26ac4a6856 Add lib/girepository folder to bundle
Also Pango environment to find modules


svn: r21094
2013-01-13 02:10:26 +00:00
Andre Marcelo Varenga d4cd826b6f Updating pt_BR translation
svn: r21093
2013-01-13 01:09:01 +00:00
Paul Franklin bd65cfcbea 6229: bug when creating a book reports
svn: r21091
2013-01-13 01:07:47 +00:00
Benny Malengier 8bf43ccabb 6315: Inserting action group 'Bookmarks' into UI manager which already has a group with this name
svn: r21086
2013-01-12 22:20:32 +00:00
Benny Malengier faac8fef8a 6318: Mention in the README that RCS is an optional package
svn: r21084
2013-01-12 15:00:36 +00:00
Benny Malengier 1f825771b5 6321: installed rcs and tried to make an archive
svn: r21082
2013-01-12 14:48:37 +00:00
Nick Hall e677f40cab 6306: Remove focus from the help button in detached gramplet windows
svn: r21081
2013-01-12 00:03:31 +00:00
Benny Malengier f9305d9e7f 6310: Warning dialog "No Home Person" should be helpful and more descriptive
svn: r21078
2013-01-11 22:50:42 +00:00
Benny Malengier 80625063a0 6291: No Text report, with output format ODF, is created
svn: r21076
2013-01-11 22:32:02 +00:00
Nick Hall 5923610e80 6312: Fix Dashboard category icon
svn: r21075
2013-01-11 22:11:07 +00:00
Nick Hall 904dd024c6 6307: Bug fixes for To Do gramplets
svn: r21072
2013-01-11 19:24:01 +00:00
Benny Malengier a4abc9f26a fix error from fix encoding issue for python 3
svn: r21069
2013-01-11 17:20:00 +00:00
Nick Hall f4e6ffb4be 6307: Improved ToDo gramplets
svn: r21068
2013-01-11 16:19:24 +00:00
Benny Malengier 385641f092 fix home button issue in python3
svn: r21065
2013-01-11 15:18:00 +00:00
Benny Malengier e292eb0400 6290: No Text report with output format PDF is created
6292: No Text report, with output format Print... , is created.


svn: r21063
2013-01-11 14:51:26 +00:00
Doug Blank af953dec7c Check for outdated const.py file
svn: r21062
2013-01-11 13:49:54 +00:00
Doug Blank 9a6f472ffd Return correct field types for media path, desc, and mime
svn: r21060
2013-01-11 13:22:43 +00:00
Doug Blank c572259d25 Media Description not reported, typo
svn: r21058
2013-01-11 13:19:46 +00:00
Benny Malengier e613f02469 fix encoding issue for python 3
svn: r21056
2013-01-11 13:04:50 +00:00
Doug Blank 722f0f7589 Need to log in to run reports
svn: r21054
2013-01-10 19:19:33 +00:00
John Ralls 2255acaa62 Updates fro gramps-4.0.0-alpha3
svn: r21052
2013-01-10 18:10:08 +00:00
Doug Blank cac68a4110 Gramps Version number now includes svn
svn: r21051
2013-01-10 17:43:28 +00:00
Nick Hall 599fe33470 6312: Rename Gramplets category to Dashboard
svn: r21049
2013-01-10 10:57:57 +00:00
Nick Hall 222525e035 6309: Wrap text in empty gramplet bar tab
svn: r21047
2013-01-09 19:55:06 +00:00
Benny Malengier 94d452d63c 6311: Export assistant to export a GEDCOM fail
svn: r21044
2013-01-09 10:20:19 +00:00
Benny Malengier b30220b72b 6311: Export assistant to export a GEDCOM fails
svn: r21043
2013-01-09 10:12:23 +00:00
Nick Hall 1604af190d Update .gitignore
svn: r21041
2013-01-08 21:56:44 +00:00
Nick Hall 711aba5272 Update MANIFEST.in
svn: r21040
2013-01-08 21:56:34 +00:00
Nick Hall 2aa9aa1f48 Fix svn revision import
svn: r21036
2013-01-08 18:33:08 +00:00
Nick Hall d62e751285 Change to absolute paths in const.py
svn: r21034
2013-01-08 17:31:57 +00:00
Benny Malengier 2553cdc642 6299: Calendar Gramplet does not display anything
6301: ImportError: No module named QuestionDialog


svn: r21031
2013-01-08 09:03:14 +00:00
Doug Blank 15e44633cf 6067: Narrative Web reports people as Living even when they have a deceased event (but without a date because it is unknown)
svn: r21030
2013-01-08 03:28:20 +00:00
Doug Blank e5194e1462 4646: reports cannot be run from the command line in a non-GUI environment
svn: r21029
2013-01-08 03:03:09 +00:00
Doug Blank af9f421d3f Removed extra else: typo
svn: r21026
2013-01-08 02:35:20 +00:00
Nick Hall a3a8444fbe Restore Makefiles removed by mistake
svn: r21025
2013-01-07 22:28:34 +00:00
Erik De Richter 3401e86c60 updated dutch translation
svn: r21023
2013-01-07 14:10:03 +00:00
Benny Malengier 4b6a95f211 fix error of revision 20699
svn: r21022
2013-01-07 09:17:30 +00:00
Benny Malengier d1765efa49 5972: GUI Crash (metaclass conflict) when some package (e.g. python-gnome2) installed
svn: r21020
2013-01-07 08:19:50 +00:00
Doug Blank 0bd44eeb84 Bugs 5972 and 6132: needed to remove python-gnome2 to run, GUI Crash (metaclass conflict) when some package (e.g. python-gnome2) installed, 6132: metaclass conflict in flatbasemodel.py
svn: r21018
2013-01-07 04:32:53 +00:00
Doug Blank 32b6b27dca typo in args error reporting
svn: r21017
2013-01-06 21:49:47 +00:00
Doug Blank 7dd022bddf display error messages correctly
svn: r21014
2013-01-06 21:40:19 +00:00
Benny Malengier 642f837658 6256: Can't create graph reports
svn: r21011
2013-01-06 21:35:34 +00:00
Doug Blank 5f24c8834c Don't show svnversion non-version response
svn: r21006
2013-01-06 00:34:12 +00:00
Jérôme Rapinat d60bbe812b new location for tips.xml, typo on path
svn: r21004
2013-01-05 14:36:49 +00:00
Jérôme Rapinat eee79d223b new location for tips.xml
svn: r21003
2013-01-05 14:24:51 +00:00
Benny Malengier ddd1aae5c3 06256: Can't create graph reports
svn: r21001
2013-01-05 13:33:03 +00:00
Benny Malengier 17824534cb 6282: Can't create text reports with RTF output format in python 3
svn: r21000
2013-01-05 13:32:12 +00:00
Nick Hall a8c1530436 6276: Fix error installing gramps.png
svn: r20998
2013-01-05 12:09:31 +00:00
Benny Malengier 47fd0cf00f 6256: Can't create graph reports
svn: r20995
2013-01-05 11:34:36 +00:00
Benny Malengier 5105b4fd44 6277: Out of index when creating textreort with PDF format
svn: r20993
2013-01-05 11:18:54 +00:00
Doug Blank 5b8d5b739a Version back to 4.0.0-alpha3; handle version number in const.py
svn: r20991
2013-01-05 02:49:54 +00:00
Nick Hall bb9601a2a0 Move images and data directories. Also svn version code from r20919.
svn: r20990
2013-01-04 23:46:24 +00:00
Paul Franklin 81e1237b3c revert accidental 20685 regression (iteritems)
svn: r20988
2013-01-04 22:58:09 +00:00
Nick Hall 236da6da81 File missed from last commit
svn: r20986
2013-01-04 22:34:09 +00:00
Nick Hall ca9f5de077 Convert filenames to lower case
svn: r20984
2013-01-04 22:28:57 +00:00
Nick Hall 36008d3abe Remove make files from svn:ignore properties
svn: r20983
2013-01-04 21:41:20 +00:00
Nick Hall 80d73f058c Remove remaining make files
svn: r20980
2013-01-04 18:08:04 +00:00
Nick Hall 8d19b0198f 6281: Rename GrampsBar to GrampletBar and move into widgets directory
svn: r20979
2013-01-04 18:06:15 +00:00
Peter Landgren 9c69c3523e Fix of divison issue. There might be more of them.
svn: r20976
2013-01-04 15:40:26 +00:00
Benny Malengier cae2814c97 6273: Detaching Gramplet in Sidebar/Bottombar views are not using full area
svn: r20973
2013-01-04 14:08:25 +00:00
Benny Malengier 421882c0e8 6270: Attempting to accidentally open Book Manager raises a Unhandled exception
svn: r20971
2013-01-04 13:28:20 +00:00
Erik De Richter 49585e1e96 updated dutch translation
svn: r20970
2013-01-03 19:45:50 +00:00
Erik De Richter 904397ff11 updated dutch translation
svn: r20968
2013-01-03 19:01:08 +00:00
Jérôme Rapinat 5aa70b08a6 we are in 2013
svn: r20966
2013-01-03 18:42:11 +00:00
Jérôme Rapinat d080d15352 ready for alpha3
svn: r20964
2013-01-03 18:20:37 +00:00
Jérôme Rapinat f3c4314a89 new strings added for alpha3
svn: r20963
2013-01-03 18:15:08 +00:00
Jérôme Rapinat 2284694530 typo
svn: r20962
2013-01-03 17:48:03 +00:00
Benny Malengier 15edee3a26 support for upgrade of database on python3
svn: r20960
2013-01-03 15:33:50 +00:00
Benny Malengier d0e698ffac note model with wrong tag handle, gracefully continue
svn: r20958
2013-01-03 15:09:18 +00:00
Benny Malengier addfaa933f FIX MAJOR ERROR blocking upgrade of old family trees !
svn: r20956
2013-01-03 11:26:13 +00:00
Benny Malengier e2fc32c4c0 Fix exec problem in python 2 after previous change
svn: r20954
2013-01-03 11:19:05 +00:00
Mirko Leonhäuser 46e8d865b1 updated german translation
svn: r20953
2013-01-03 11:18:16 +00:00
Benny Malengier c208b91184 Recover gracefully from some errors in python3
svn: r20950
2013-01-03 10:28:51 +00:00
Benny Malengier ab6342af70 6258: Error during start of Gramps for certain LANG values
svn: r20948
2013-01-03 09:50:36 +00:00
Doug Blank 715ddbbab3 6274: Tried to use Charts View and receive 'NameError: global name 'gen' is not defined'
svn: r20947
2013-01-03 05:41:28 +00:00
Erik De Richter cc936c589b updated dutch translation
svn: r20945
2013-01-03 00:04:42 +00:00
Doug Blank f554ffd57d URL for Welcome Gramplet was still pointing to 3.3 manual
svn: r20942
2013-01-02 20:26:23 +00:00
John Ralls 46e9edaf59 [r20933]Bug 6268: Fix check_po for python3
svn: r20940
2013-01-02 17:27:39 +00:00
Doug Blank 29620a31ef 6249: Please, add a tag when importing. Adds preference, and tag on import for CSV, XML, and GEDCOM. Cleaned up preferences, and added 'GEDCOM' to add source on import text.
svn: r20939
2013-01-02 07:12:22 +00:00
Doug Blank ca2fd738d0 Wait for report to exist before trying to download
svn: r20937
2013-01-02 03:20:16 +00:00
Doug Blank 821caa8a5f 4719: Narweb Privacy issue, probably_alive uses spouse birth/death directly
svn: r20936
2013-01-02 03:02:25 +00:00
Doug Blank 3a45e70f54 New URL for gramps-addons
svn: r20931
2013-01-01 20:08:45 +00:00
Erik De Richter 89f6c7d83e updated dutch translation
svn: r20928
2013-01-01 16:45:31 +00:00
Benny Malengier ca73e01512 6266: loading plugin manager gives error
svn: r20926
2013-01-01 16:28:47 +00:00
Benny Malengier bfcecc646d 6265: can not make back up
svn: r20923
2013-01-01 11:15:45 +00:00
Jérôme Rapinat 77f9760504 6203: typo when interrupting a gramplet
svn: r20920
2013-01-01 07:15:23 +00:00
Doug Blank 3a93d03a4a Two different types of selection data
svn: r20918
2012-12-31 20:55:52 +00:00
Doug Blank 03851db458 Changes for gtk3 clipboard to work
svn: r20913
2012-12-31 18:57:02 +00:00
Nick Hall 9f87dfd54b Improve check to prevent overwriting const.py
svn: r20911
2012-12-31 18:18:20 +00:00
Benny Malengier 711e25e5bb 6258: Error during start of Gramps for certain LANG values
svn: r20908
2012-12-31 15:00:35 +00:00
Doug Blank f1eecb349d Add timestamp to downloads
svn: r20907
2012-12-31 14:58:45 +00:00
Jérôme Rapinat 04baa6b50f 6112: use get_indices method on TreePath for "old" Gtk version (e.g, 3.6.1)
svn: r20903
2012-12-31 13:39:32 +00:00
Jérôme Rapinat c18d73ea8f update translation template
svn: r20901
2012-12-31 09:59:59 +00:00
Jérôme Rapinat 671f64c08c update NEWS and RELEASE_NOTES files, update ChangeLog (no revision)
svn: r20900
2012-12-31 09:48:50 +00:00
Jérôme Rapinat b9cd27550f Fix structure of build directory for locale files (merged from trunk; changes by Nick.H), road to alpha2
svn: r20899
2012-12-31 09:44:49 +00:00
Benny Malengier 8b26f688cb 6205: Gtk.CALENDAR needs a migration to new GI/GTK3 API
svn: r20896
2012-12-30 23:20:31 +00:00
Doug Blank e41c6db70d Added addons-url to config and Preferences; currently set to invalid URL, but will update in a couple of days when new addons URL comes on-line
svn: r20895
2012-12-30 22:00:58 +00:00
Benny Malengier fdcc02d1bd Fix divisionbyzero in python3
svn: r20888
2012-12-30 17:32:22 +00:00
Benny Malengier f4f5104b72 6205: Gtk.CALENDAR needs a migration to new GI/GTK3 API
Also: don't expand the calendar more than needed to show it.


svn: r20884
2012-12-30 15:41:54 +00:00
Jérôme Rapinat 0caf61b805 avoid specific case with decimal comparison
svn: r20882
2012-12-30 15:28:48 +00:00
Benny Malengier c46a66ecd1 More version strings
svn: r20880
2012-12-30 15:14:40 +00:00
Jérôme Rapinat 35d553b4eb typo
svn: r20879
2012-12-30 10:05:42 +00:00
Erik De Richter 8bc6d475d9 updated dutch translation
svn: r20877
2012-12-29 22:11:31 +00:00
Gary Burton b5fec9d1a3 Set the correct number of update callbacks. Bug #6219.
svn: r20875
2012-12-29 17:20:47 +00:00
Benny Malengier 1a5c516179 6112: Cannot install addons via dialog
svn: r20869
2012-12-28 20:33:01 +00:00
Benny Malengier 054d29612c 6208: Cannot iterate on attributes when trying to paginate via cairodoc
At same time, fix deprecated cairocontext


svn: r20863
2012-12-28 17:21:28 +00:00
Erik De Richter ad066ba200 updated dutch translation
svn: r20862
2012-12-28 16:51:41 +00:00
Benny Malengier ffb3b1e232 6123: Index into undohistory, correct fail on older gobject
svn: r20859
2012-12-28 13:01:28 +00:00
Benny Malengier 76c896f977 Improve hover handling on displaytabs
svn: r20858
2012-12-28 10:27:38 +00:00
Jérôme Rapinat 5e00312139 spacing, tab (fr) and paths for files (en, fr)
svn: r20855
2012-12-28 09:41:22 +00:00
Benny Malengier c7ad3f3295 correct wrong function call
svn: r20851
2012-12-27 17:50:58 +00:00
Mirko Leonhäuser 11723ffd8c updated german translation
svn: r20850
2012-12-27 12:13:26 +00:00
Benny Malengier cb9bebee1e Fix crash on callback after clean_up in gallerytab
svn: r20848
2012-12-26 23:18:50 +00:00
Benny Malengier a9ac56b33c bug 1772: follow cursor to completely resolve bug
svn: r20846
2012-12-26 22:39:40 +00:00
Benny Malengier 19038fab93 bug 1772, correct event handling
svn: r20844
2012-12-26 22:22:07 +00:00
Benny Malengier fd13311aa0 1. context menu on displaytabs showing
2. partially do bug 1772


svn: r20842
2012-12-26 22:15:03 +00:00
Benny Malengier ec0b9fb54b 1567: beautify Relation Ship Graph, remove - if no date of birth or death
svn: r20840
2012-12-26 18:19:17 +00:00
Benny Malengier 8b94955772 GTK3 conversion in tools
svn: r20838
2012-12-24 12:35:40 +00:00
Erik De Richter 9a229466fd updated dutch translation
svn: r20837
2012-12-24 08:16:52 +00:00
Benny Malengier 647c9cfef5 rows_reoredered patch not yet in GTK
svn: r20833
2012-12-23 14:07:16 +00:00
Fedik 29443339cb small translation and uptades
svn: r20832
2012-12-23 14:05:35 +00:00
Erik De Richter f4f2747c65 updated dutch translation
svn: r20830
2012-12-23 08:11:31 +00:00
John Ralls ba7913fe3c Restore include to git.gnome.org
svn: r20828
2012-12-23 02:20:13 +00:00
John Ralls 5526f64e1f Mods for Gtk3, Gramps 4.0.0
svn: r20827
2012-12-23 02:17:31 +00:00
Jérôme Rapinat 0a17eab461 spacing, tab (fr) and VERSION (en, fr)
svn: r20825
2012-12-22 19:48:21 +00:00
Jérôme Rapinat fcce312e0a update used paths and gramps versions
svn: r20823
2012-12-22 17:51:22 +00:00
Benny Malengier 4ed2b0bace Convert validated masked entry to normal gtk.entry with icon
Working background color change on error


svn: r20821
2012-12-22 13:24:21 +00:00
Benny Malengier 759075b3e4 rows_reordered is present again in GTK 3.8
svn: r20820
2012-12-22 09:24:00 +00:00
Erik De Richter 7f4956dd00 updated dutch translation
svn: r20818
2012-12-21 19:59:12 +00:00
Doug Blank e1ab03348e Someone optimized some code incorrectly; lines at bottom of calendar where placed off the page
svn: r20816
2012-12-21 18:57:32 +00:00
Doug Blank 2033fd6567 If you try to lookup an object too early, you might find that the tbl is still a dict; this protects such early lookups from crashing
svn: r20814
2012-12-21 18:34:44 +00:00
Jérôme Rapinat 7c6872c11a alpha1 environment, what should be the VERSION into gen/const.py.in ?
svn: r20810
2012-12-21 14:15:45 +00:00
Jérôme Rapinat 71f87a31b3 update content for 4.0.0-alpha1
svn: r20809
2012-12-21 14:09:38 +00:00
Jérôme Rapinat eb2ca43ff6 avoid fatal errors on norwegian bokmål translation, string status to fuzzy before review
svn: r20808
2012-12-21 13:47:14 +00:00
Jérôme Rapinat 71b951f31d avoid fatal errors on swedish translation, string status to fuzzy before review
svn: r20807
2012-12-21 13:38:45 +00:00
Jérôme Rapinat a542081e25 test update and merge processes with the french translation file
svn: r20806
2012-12-21 13:26:33 +00:00
Jérôme Rapinat 5b8da49bae do not need to check untranslated and fuzzy strings because they have not been reviewed yet; warning this script uses tab for the bloc indentation...
svn: r20804
2012-12-20 17:41:09 +00:00
Benny Malengier 4d7e1043ef On translation error, allow build to continue after asking user
svn: r20802
2012-12-20 16:40:23 +00:00
Jérôme Rapinat 2040716b9c common date handler for Norwegian Bokmål and Norwegian Nynorsk
svn: r20801
2012-12-20 14:16:30 +00:00
Brian Matherly 8a3a477ea4 Create 4.0 branch
svn: r20798
2012-12-20 13:31:33 +00:00
1642 changed files with 667576 additions and 1103403 deletions
-9
View File
@@ -1,9 +0,0 @@
# Make Github recognise Gramps as a Python project,
# by marking .sql files as text files!
# See: https://github.com/github/linguist/issues/2462
# https://github.com/github/linguist/blob/master/README.md
*.sql linguist-language=txt
# Have Github ignore js vendored files.
# https://github.com/gramps-project/gramps/tree/master/data/javascript
#data/javascript/*.js linguist-vendored
+1 -7
View File
@@ -10,12 +10,6 @@ dist/
data/tips.xml
gramps/plugins/lib/holidays.xml
po/.intltool-merge-cache
docs/_build/
# Editing
# Editor
tags
*.swp
# Testing
test/data
gramps/webapp/grampsdb/fixtures/initial_data.json
-29
View File
@@ -1,29 +0,0 @@
# After changing this file, check it on:
# http://lint.travis-ci.org/
language: c
#python:
# - 3.3
# - 3.4
install:
- git clone --depth=50 --branch=maintenance/gramps42 git://github.com/gramps-project/gramps.git gramps-project/gramps
- cd gramps-project/gramps
- time sudo apt-get update
- travis_retry sudo apt-get install gir1.2-pango gir1.2-gtk xdg-utils librsvg2-common libglib2.0-dev intltool
- travis_retry sudo apt-get install python3-gobject python3-gi python3-cairo python3-gi-cairo python3-bsddb3 python3-dev python3-nose
- travis_retry curl https://bootstrap.pypa.io/get-pip.py | sudo python3
- travis_retry sudo pip3 install Django==1.7
- travis_retry sudo pip3 install pyicu==1.8
- travis_retry sudo pip3 install mock
- python3 setup.py build
#before_script:
# - sudo Xvfb :99 -ac &
# - export DISPLAY=:99
script:
- mkdir -p /home/travis/.gramps/grampsdb/
- DJANGO_SETTINGS_MODULE=gramps.webapp.settings nosetests3 --exclude=TestcaseGenerator --exclude=vcard --exclude=merge_ref_test gramps
+104 -81
View File
@@ -1,4 +1,4 @@
**** This is Gramps Frequently Asked Questions ****
**** This is GRAMPS Frequently Asked Questions ****
The questions below frequently come up in mailing list discussions and forums.
This list is by no means complete. If you would like to add questions/answers
@@ -9,23 +9,23 @@ to this list, please email your suggestions to gramps-devel@lists.sf.net
==General==
1. What is Gramps?
1. What is GRAMPS?
2. Where do I get it and how much does it cost?
3. Does Gramps exist in other languages?
3. Does GRAMPS exist in other languages?
4. How do I keep backups?
5. Does Gramps support Unicode fonts? In particular, does it support non-Roman Unicode fonts?
6. What is needed to install Gramps under Linux, Solaris, or FreeBSD?
6. What is needed to install GRAMPS under Linux, Solaris, or FreeBSD?
7. Does it work with Windows (tm)?
8. Does it work with the Mac?
9. What are the Minimum Specs to run Gramps?
9. What are the Minimum Specs to run GRAMPS?
==Preferences==
@@ -33,43 +33,43 @@ to this list, please email your suggestions to gramps-devel@lists.sf.net
==Collaboration-Portability==
11. Is Gramps compatible with other genealogical software?
11. Is GRAMPS compatible with other genealogical software?
12. Can Gramps read files created by GenApp X?
12. Can GRAMPS read files created by GenApp X?
13. Can Gramps write files readable by GenApp X?
13. Can GRAMPS write files readable by GenApp X?
14. What standards does Gramps support?
14. What standards does GRAMPS support?
15. How do I import data from another genealogy program into Gramps?
15. How do I import data from another genealogy program into GRAMPS?
16. Can I install Gramps on a Linux Web Server and use it via a web browser? This would enable my relations worldwide to access and update it.
16. Can I install GRAMPS on a Linux Web Server and use it via a web browser? This would enable my relations worldwide to access and update it.
==Reports==
17. Can Gramps print a genealogical tree for my family?
17. Can GRAMPS print a genealogical tree for my family?
18. In what formats can Gramps output its reports?
18. In what formats can GRAMPS output its reports?
19. How can I change the default language in reports?
20. Is Gramps compatible with the Internet?
20. Is GRAMPS compatible with the Internet?
21. Can I create custom reports/filters/whatever?
22. Why are non-latin characters displayed as garbage in PDF/PS reports?
23. I would like to contribute to Gramps by writing my favorite report.
23. I would like to contribute to GRAMPS by writing my favorite report.
==Database - Gramps file formats==
==Database - GRAMPS file formats==
24. What is the maximum database size (bytes) Gramps can handle?
24. What is the maximum database size (bytes) GRAMPS can handle?
25. How many people can Gramps database handle?
25. How many people can GRAMPS database handle?
26. My database is really big. Is there a way around loading all the data into memory?
27. Can I run Gramps from a database on a NFS share?
27. Can I run GRAMPS from a database on a NFS share?
28. Why is the database format not portable?
@@ -77,116 +77,123 @@ to this list, please email your suggestions to gramps-devel@lists.sf.net
29. I found a bug and I want it fixed right now! What do I do?
30. Gramps should be a .... type of application
30. GRAMPS should be a .... type of application
==Gramps Webhosting ==
==GRAMPS Webhosting ==
31. How can I publish web sites generated by GRAMPS?
32. How do I submit my pages to the GRAMPS library site (http://library.gramps-project.org)?
33. After I upload my Family Web Page to library.gramps-project.org, is the password used for write privileges only or read privileges?
34. Do I view the Family Web Page with a url into my browser? Or through a link on a list of Family Web Pages on the GRAMPS-Project.org site?
31. How can I publish web sites generated by Gramps?
**** Questions and answers ****
==General==
1. What is Gramps?
1. What is GRAMPS?
Gramps is the Genealogical Research and Analysis Management Program System.
GRAMPS is the Genealogical Research and Analysis Management Program System.
In other words, it is a personal genealogy program letting you store, edit,
and research genealogical data using the powers of your computer.
2. Where do I get it and how much does it cost?
Gramps can be downloaded from http://sf.net/projects/gramps at no charge.
Gramps is an Open Source project covered by the GNU General Public License.
GRAMPS can be downloaded from http://sf.net/projects/gramps at no charge.
GRAMPS is an Open Source project covered by the GNU General Public License.
You have full access to the source code and are allowed to distribute the
program and source code freely.
3. Does Gramps exist in other languages?
3. Does GRAMPS exist in other languages?
Yes, at the moment Gramps is translated in 15 languages
Yes, at the moment GRAMPS is translated in 15 languages
4. How do I keep backups?
Use a recent version of Gramps! From 2.2.5 onwards there is an automatic backup utility.
It is extremely important to keep backups of your data, and keep them in a safe place. Gramps has a specific portable file format which is small, and human readable, denoted by .gramps. If you have allowed this in the preferences (In Edit menu->Preferences->General), Gramps will keep a backup of your database on exit. You can copy this backup file from time to time to a save location (eg a usb stick).
Use a recent version of GRAMPS! From 2.2.5 onwards there is an automatic backup utility.
It is extremely important to keep backups of your data, and keep them in a safe place. GRAMPS has a specific portable file format which is small, and human readable, denoted by .gramps. If you have allowed this in the preferences (In Edit menu->Preferences->General), GRAMPS will keep a backup of your database on exit. You can copy this backup file from time to time to a save location (eg a usb stick).
Note: The .gramps files are compressed. Clicking them will open Gramps. To see the XML select them and open them with a decompressing utility (like ark, gunzip), after which you can extract the XML file which is human readable.
Do not keep backups in GEDCOM. Not all information Gramps stores can be written in the GEDCOM. Hence, an export/import operation Gramps --> GEDCOM --> Gramps, will mean you lose data. Use the .gramps file format for backups!
Note: The .gramps files are compressed. Clicking them will open GRAMPS. To see the XML select them and open them with a decompressing utility (like ark, gunzip), after which you can extract the XML file which is human readable.
Do not keep backups in GEDCOM. Not all information GRAMPS stores can be written in the GEDCOM. Hence, an export/import operation GRAMPS --> GEDCOM --> GRAMPS, will mean you lose data. Use the .gramps file format for backups!
Do not keep backups in GRDB format. GRDB is a database, which might be computer dependent (read, not working on a different PC). Small damage to a GRDB file can also not be repaired. Use the .gramps file format for backups!
5. Does Gramps support Unicode fonts? In particular, does it support non-Roman Unicode fonts?
Yes. Gramps works internally with Unicode (UTF-8), so all alphabets can be used on all entry fields. All reports fully support this, although for PDF/PS you need to work with gnome-print or openoffice.
Yes. GRAMPS works internally with Unicode (UTF-8), so all alphabets can be used on all entry fields. All reports fully support this, although for PDF/PS you need to work with gnome-print or openoffice.
==Installation==
6. What is needed to install Gramps under Linux, Solaris, or FreeBSD?
6. What is needed to install GRAMPS under Linux, Solaris, or FreeBSD?
Gramps is a [http://en.wikipedia.org/wiki/Gtk GTK] application. Gramps needs to have the [http://en.wikipedia.org/wiki/Pygtk pygtk] libraries installed on the system. As long as these libraries are installed, Gramps should function. It will operate under the GNOME desktop, KDE desktop, or any other desktop. If the GNOME bindings for Python are installed on the system, Gramps will have additional functionality. The Gramps project recommends version 2.8 or higher of GTK.
GRAMPS is a [http://en.wikipedia.org/wiki/Gtk GTK] application. GRAMPS needs to have the [http://en.wikipedia.org/wiki/Pygtk pygtk] libraries installed on the system. As long as these libraries are installed, GRAMPS should function. It will operate under the GNOME desktop, KDE desktop, or any other desktop. If the GNOME bindings for Python are installed on the system, GRAMPS will have additional functionality. The GRAMPS project recommends version 2.8 or higher of GTK.
7. Does it work with Windows (tm)?
The Linux Genealogy CD can function as a live CD that you boot directly from. You can then run Linux and Gramps off the CD, even if your computer is entirely Windows.
The Linux Genealogy CD can function as a live CD that you boot directly from. You can then run Linux and GRAMPS off the CD, even if your computer is entirely Windows.
An experimental Windows installer is available, however we do not have the manpower to offer support for Windows. A windows mailing list is available however and we do do our best to solve windows related problems.
8. Does it work with the Mac?
The Fink project has ported some older versions of Gramps to OS X (tm). The Mac OS X port is not directly supported by the Gramps project, primarily because none of the Gramps developers have access to Mac OS X and because OS X is not Free Software.
The Fink project has ported some older versions of GRAMPS to OS X (tm). The Mac OS X port is not directly supported by the GRAMPS project, primarily because none of the GRAMPS developers have access to Mac OS X and because OS X is not Free Software.
This present version of Gramps (2.2.x) does not appear to have been ported by the Fink project. Please contact the Fink project for more information. However, some users had success in installing 2.2.x on Mac OSX either running in native mode or running on X11 using some of the fink packages.
This present version of GRAMPS (2.2.x) does not appear to have been ported by the Fink project. Please contact the Fink project for more information. However, some users had success in installing 2.2.x on Mac OSX either running in native mode or running on X11 using some of the fink packages.
9. What are the Minimum Specs to run Gramps?
9. What are the Minimum Specs to run GRAMPS?
We would recommend at least an 800x600 video display. For Gramps 2.0, the memory requirements have been reduced, and Gramps can run quite efficiently on a 256MB system, holding considerably more people. A system with 512MB should be able to hold around 200,000 people. Disk space requirements for databases are however considerably larger, with a typical database being several megabytes in size. For 120.000 people you must consider already 530Mb for the database. Pictures are stored on disk separately, so a large harddisk is necessary.
We would recommend at least an 800x600 video display. For GRAMPS 2.0, the memory requirements have been reduced, and GRAMPS can run quite efficiently on a 256MB system, holding considerably more people. A system with 512MB should be able to hold around 200,000 people. Disk space requirements for databases are however considerably larger, with a typical database being several megabytes in size. For 120.000 people you must consider already 530Mb for the database. Pictures are stored on disk separately, so a large harddisk is necessary.
==Preferences==
10. Can I change the dates in reports to 'day month year'
Yes, change in the preferences ("Edit->Preferences") the date for Gramps to the required format (eg YYYY-MM-DD or day mont year), and make the report. Your global date preferences will be used.
Yes, change in the preferences ("Edit->Preferences") the date for GRAMPS to the required format (eg YYYY-MM-DD or day mont year), and make the report. Your global date preferences will be used.
==Collaboration-Portability==
11. Is Gramps compatible with other genealogical software?
11. Is GRAMPS compatible with other genealogical software?
Gramps makes every effort to maintain compatibility with GEDCOM, the general standard of recording genealogical information. We have import and export filters that enable Gramps to read and write GEDCOM files.
GRAMPS makes every effort to maintain compatibility with GEDCOM, the general standard of recording genealogical information. We have import and export filters that enable GRAMPS to read and write GEDCOM files.
It is important to understand that the GEDCOM standard is poorly implemented -- virtually every genealogical software has its own "flavor" of GEDCOM. As we learn about new flavor, the import/export filters can be created very quickly. However, finding out about the unknown flavors requires user feedback. Please feel free to inform us about any GEDCOM flavor not supported by Gramps, and we will do our best to support it!
It is important to understand that the GEDCOM standard is poorly implemented -- virtually every genealogical software has its own "flavor" of GEDCOM. As we learn about new flavor, the import/export filters can be created very quickly. However, finding out about the unknown flavors requires user feedback. Please feel free to inform us about any GEDCOM flavor not supported by GRAMPS, and we will do our best to support it!
12. Can Gramps read files created by GenApp X?
12. Can GRAMPS read files created by GenApp X?
See above.
13. Can Gramps write files readable by GenApp X?
13. Can GRAMPS write files readable by GenApp X?
See above.
14. What standards does Gramps support?
14. What standards does GRAMPS support?
The nice thing about standards is that there never is a shortage of them. Gramps is tested to support the following flavors of GEDCOM: GEDCOM5.5, Brother's Keeper, Family Origins, Family Tree Maker, Ftree, GeneWeb, Legacy, Personal Ancestral File, Pro-Gen, Reunion, and Visual Genealogie.
The nice thing about standards is that there never is a shortage of them. GRAMPS is tested to support the following flavors of GEDCOM: GEDCOM5.5, Brother's Keeper, Family Origins, Family Tree Maker, Ftree, GeneWeb, Legacy, Personal Ancestral File, Pro-Gen, Reunion, and Visual Genealogie.
15. How do I import data from another genealogy program into Gramps?
15. How do I import data from another genealogy program into GRAMPS?
The best way is to create a new gramps database file (.grdb), and select the import option in the file menu. Here you select the GEDCOM you generated with the other program, and import it.
16. Can I install Gramps on a Linux Web Server and use it via a web browser? This would enable my relations worldwide to access and update it.
16. Can I install GRAMPS on a Linux Web Server and use it via a web browser? This would enable my relations worldwide to access and update it.
While Gramps can generate web sites, it does not provide a web interface that allows for editing. If this is a requirement, then [http://geneweb.org GeneWeb] or [http://phpgedview.sourceforge.net PhpGedView] are programs more likely to meet your needs. However, you may wish to ask yourself the following questions:
While GRAMPS can generate web sites, it does not provide a web interface that allows for editing. If this is a requirement, then [http://geneweb.org GeneWeb] or [http://phpgedview.sourceforge.net PhpGedView] are programs more likely to meet your needs. However, you may wish to ask yourself the following questions:
* Do I really want relatives or other people to directly edit my genealogy database?
* Do I implicitly trust, without verification, any data that people may enter?
* Do these people have the same understanding of good genealogy practice that I have?
@@ -197,7 +204,7 @@ You may also want to consider the effects of possible downtime of your site if y
==Reports==
17. Can Gramps print a genealogical tree for my family?
17. Can GRAMPS print a genealogical tree for my family?
Yes. Different people have different ideas of what a genealogical tree is.
Some think of it as a chart going from the distant ancestor and listing
@@ -205,14 +212,14 @@ all his/her descendants and their families. Others think it should be a
chart going from the person back in time, listing the ancestors and their
families. Yet other people think of a table, text report, etc.
Gramps can produce any of the above, and many more different charts and
GRAMPS can produce any of the above, and many more different charts and
reports. Moreover, the plugin architechture enables users (you) to create
their own plugins which could be new reports, charts, or research tools.
18. In what formats can Gramps output its reports?
18. In what formats can GRAMPS output its reports?
Text reports are available in HTML, PDF, ODT, LaTeX, and RTF formats. Graphical reports (charts and diagrams) are available in PostScript, PDF, SVG, ODS, and Graphviz formats.
Text reports are available in HTML, PDF, ODT, LaTeX, and RTF formats. Graphical reports (charts and diagrams) are available in PostScript, PDF, SVG, ODS, and GraphViz formats.
19. How can I change the default language in reports?
@@ -220,11 +227,11 @@ Text reports are available in HTML, PDF, ODT, LaTeX, and RTF formats. Graphical
The reports are in the language of your linux installation. You can change it by installing extra language packs, see [Howto: Change the language of reports] on wiki.
20. Is Gramps compatible with the Internet?
20. Is GRAMPS compatible with the Internet?
Gramps can store web addresses and direct your browser to them. It can import
GRAMPS can store web addresses and direct your browser to them. It can import
data that you download from the Internet. It can export data that you could
send over the Internet. Gramps is familiar with the standard file formats
send over the Internet. GRAMPS is familiar with the standard file formats
widely used on the Internet (e.g. JPEG, PNG, and GIF images, MP3, OGG, and
WAV sound files, QuickTime, MPEG, and AVI movie files, etc). Other than that,
there is little that a genealogical program can do with the Internet :-)
@@ -234,7 +241,7 @@ there is little that a genealogical program can do with the Internet :-)
Yes. There are many levels of customization. One is creating or modifying
the templates used for the reports. This gives you some control over
the fonts, colors, and some layout of the reports. You can also use Gramps
the fonts, colors, and some layout of the reports. You can also use GRAMPS
controls in the report dialogs to tell what contents should be used for a
particular report. In addition to this, you have an ability to create your
own filters -- this is useful in selecting people based on criteria set
@@ -246,47 +253,47 @@ knowledge of programming in Python.
22. Why are non-latin characters displayed as garbage in PDF/PS reports?
This is a limitation of the built-in fonts of PS and PDF formats. To print non-Latin text, use the Print... in the format selection menu of the report dialog. This will use the gnome-print backend, which supports PS and PDF creation, as well as direct printing. (Note: you might need to install gnome-print separately as it is not required for Gramps).
This is a limitation of the built-in fonts of PS and PDF formats. To print non-Latin text, use the Print... in the format selection menu of the report dialog. This will use the gnome-print backend, which supports PS and PDF creation, as well as direct printing. (Note: you might need to install gnome-print separately as it is not required for GRAMPS).
If you only have Latin text, the PDF option will produce a smaller PDF compared to that created by gnome-print, simply because no font information will be embedded.
23. I would like to contribute to Gramps by writing my favorite report.
23. I would like to contribute to GRAMPS by writing my favorite report.
How do I do that?
The easiest way to contribute to reports, filters, tools, etc. is to copy an existing Gramps report, filter, or tool. If you can create what you want by modifying existing code -- great! If your idea does not fit into the logic of any existing Gramps tool, you will need to write your own plugin from scratch. Help is available on the [Developers Portal] on wiki, or on the developers mailing list: gramps-devel@lists.sourceforge.net.
The easiest way to contribute to reports, filters, tools, etc. is to copy an existing GRAMPS report, filter, or tool. If you can create what you want by modifying existing code -- great! If your idea does not fit into the logic of any existing GRAMPS tool, you will need to write your own plugin from scratch. Help is available on the [Developers Portal] on wiki, or on the developers mailing list: gramps-devel@lists.sourceforge.net.
To test your work in progress, you may save your plugin under $HOME/.gramps/plugins directory and it should be found and imported on startup. The correctly written plugin will register itself with Gramps, create menu item, and so on.
To test your work in progress, you may save your plugin under $HOME/.gramps/plugins directory and it should be found and imported on startup. The correctly written plugin will register itself with GRAMPS, create menu item, and so on.
If you are happy with your plugin and would like to contribute your code back to the Gramps project, you are very welcome to do so by contacting us at gramps-devel@lists.sourceforge.net
If you are happy with your plugin and would like to contribute your code back to the GRAMPS project, you are very welcome to do so by contacting us at gramps-devel@lists.sourceforge.net
==Database - Gramps file formats==
==Database - GRAMPS file formats==
24. What is the maximum database size (bytes) Gramps can handle?
24. What is the maximum database size (bytes) GRAMPS can handle?
Gramps has no hard limits on the size of a database that it can handle. Starting with 2.0.0 release, Gramps no longer loads all data into memory, which allows it to work with a much larger database than before. In reality, however, there are practical limits. The main limiting factors are the available memory on the system and the cache size used for BSDDB database access. With common memory sizes these days, Gramps should have no problem using databases with tens of thousands of people.
GRAMPS has no hard limits on the size of a database that it can handle. Starting with 2.0.0 release, GRAMPS no longer loads all data into memory, which allows it to work with a much larger database than before. In reality, however, there are practical limits. The main limiting factors are the available memory on the system and the cache size used for BSDDB database access. With common memory sizes these days, GRAMPS should have no problem using databases with tens of thousands of people.
25. How many people can Gramps database handle?
25. How many people can GRAMPS database handle?
See above. Again, this is dependent on how much memory you have, see [Gramps Performance] on wiki.
See above. Again, this is dependent on how much memory you have, see [GRAMPS Performance] on wiki.
26. My database is really big. Is there a way around loading all the data into memory?
Starting with 2.0.0 release, Gramps no longer loads all data into memory, which allows it to work with a much larger database than before. The fileformat used is .grdb which means gramps database.
Starting with 2.0.0 release, GRAMPS no longer loads all data into memory, which allows it to work with a much larger database than before. The fileformat used is .grdb which means gramps database.
27. Can I run Gramps from a database on a NFS share?
27. Can I run GRAMPS from a database on a NFS share?
Yes you can.
28. Why is the database format not portable?
The biggest issue with Gramps portability lies with 'transactions'. With
Gramps 2.2, we added support for atomic transactions to protect data.
The biggest issue with GRAMPS portability lies with 'transactions'. With
GRAMPS 2.2, we added support for atomic transactions to protect data.
With atomic transactions, multiple changes are committed as a single
unit. Either all the changes make it, or none of the changes make it.
You are never left in a situation with a partial set of changes. A side
@@ -334,25 +341,41 @@ If the above explanations seem vague, please follow this link:
http://www.chiark.greenend.org.uk/~sgtatham/bugs.html
30. Gramps should be a .... type of application
30. GRAMPS should be a .... type of application
The surest way to see it happen is to get it done by yourself. Since Gramps is free/open source, nobody prevents you from taking all of the code and continuing its development in whatever direction you see fit. In doing so, you may consider giving your new project another name to avoid confusion with the continuing Gramps development. If you would like the Gramps project to provide advice, expertise, filters, etc., we will gladly cooperate with your new project, to ensure compatibility or import/export options to your new format of a project.
The surest way to see it happen is to get it done by yourself. Since GRAMPS is free/open source, nobody prevents you from taking all of the code and continuing its development in whatever direction you see fit. In doing so, you may consider giving your new project another name to avoid confusion with the continuing GRAMPS development. If you would like the GRAMPS project to provide advice, expertise, filters, etc., we will gladly cooperate with your new project, to ensure compatibility or import/export options to your new format of a project.
If, however, you would like the Gramps project to adopt your strategy, you would need to convince Gramps developers that your strategy is good for Gramps and superior to the present development strategy.
If, however, you would like the GRAMPS project to adopt your strategy, you would need to convince GRAMPS developers that your strategy is good for GRAMPS and superior to the present development strategy.
HINT: if Gramps developers are still not convinced after about three
HINT: if GRAMPS developers are still not convinced after about three
messages sent to gramps-devel, maybe you are better off on your own
rather than with a company of retards who can't fully realize the
potential of your great idea :-)
==Gramps Webhosting ==
==GRAMPS Webhosting ==
31. How can I publish web sites generated by Gramps?
31. How can I publish web sites generated by GRAMPS?
Since Gramps generates HTML pages, you can upload the pages to your personal web site. If you do not have a personal web site, and still wish to have your pages available on the internet.
Since GRAMPS generates HTML pages, you can upload the pages to your personal web site. If you do not have a personal web site, and still wish to have your pages available on the internet, the GRAMPS project can provide space for you at the http://library.gramps-project.org, see the [webhosting article] on wiki.
**** End of Gramps Frequently Asked Questions ****
32. How do I submit my pages to the GRAMPS library site (http://library.gramps-project.org)?
If you wish to submit pages to the GRAMPS library site, you will need to contact the GRAMPS project, typically by sending a message to the gramps-users mailing list. You will then be given a username and password that will allow you to upload your files to the site. After you upload the files (in a gzip'ed tar file), the GRAMPS project will install the pages for you on the site.
33. After I upload my Family Web Page to library.gramps-project.org, is the password used for write privileges only or read privileges?
In order to prevent abuse of the library.gramsp-project.org site, the password given allows uploads only. If you wish to have a username and password combination to restrict read access to your pages, you will need to contact the GRAMPS project, and we could set this up for you. However, the read and write accounts will be separate accounts.
34. Do I view the Family Web Page with a url into my browser? Or through a link on a list of Family Web Pages on the GRAMPS-Project.org site?
The main page on the library.gramps-project.org site will contain an index of the available family sites. However, there will be a unique URL for each site as well.
**** End of GRAMPS Frequently Asked Questions ****
$Id$
Executable → Regular
+3 -2
View File
@@ -1,4 +1,3 @@
#! /usr/bin/env python3
#
# Gramps - a GTK+/GNOME based genealogy program
#
@@ -16,9 +15,11 @@
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
# $Id$
"""
This is a stub to start Gramps. It is provided for the sole reason of being
able to run gramps from the source directory without setting PYTHONPATH
+36 -40
View File
@@ -1,55 +1,50 @@
$Id$
This file contains some useful details on the installation from source code
for Gramps. It does not cover installation of a pre-built binary package.
for GRAMPS. It does not cover installation of a pre-built binary package.
For that use your package manager, the rest is already done by the packager.
Uninstall old version
---------------------
If you do a source install in the same place as an existing install,
If you do a source install in the same place of an existing install,
you need to remove the old version first. You can delete the old
version by deleting the installed directories. For example, if your installation prefix is /usr/local, remove the following:
/usr/local/share/gramps
version by deleting the installed directories (for example,
/usr/share/gramps
/usr/local/lib/pythonx.x/site-packages/gramps
If you installed with a package manager you might instead need to remove
/usr/local/lib/pythonx.x/dist-packages/gramps
replacing pythonx.x with the python version you used, e.g. python3.4.
Also remove any gramps .egg files that are installed along with the gramps
directory and the file /usr/local/bin/gramps.
/usr/lib/pythonx.x/site-packages/gramps
/usr/lib/pythonx.x/dist-packages/gramps
where pythonx.x is python2.7 or whatever version you installed gramps with.
Also remove the gramps .egg files that are installed along with the gramps
directory.
If you don't know the list of all files that Gramps installed, you can
reinstall it with the --record option, and take a look at the list this
produces (so python setup.py install --record grampsfiles.txt
Gramps is a python application, so loading happens on reading the
GRAMPS is a python application, so loading happens on reading the
files, meaning that files of a previous version that are no longer
present in the new version can still be loaded, making the new install
unstable!
distutils install
-----------------
We do not check all dependencies of Gramps, see README for a list of
all required and optional dependencies. Missing dependencies will
result in runtime errors.
We do not check all dependencies of Gramps, see README for a
list of all required and optional dependencies. On running Gramps, errors will
be returned if dependencies are missing.
If you are building from released tarball, you should be able to just
run
To build and install, whether from a tarball or git repo:
python setup.py build
sudo python setup.py install
python setup.py install
You can avoid using sudo for the install step by specifying a prefix to which you have write priviledge. The default is /usr/local, which is usually owned by root. You can learn of more options with
python setup.py --help
One can use gramps from the command line without installing it by
setting the following environment variables, but that won't provide
things like MIME type and desktop entries.
export PYTHONPATH="/top/grampsdir/gramps:$PYTHONPATH"
export GRAMPS_RESOURCES="/top/grampsdir"
See below for ways to invoke Gramps.
where the last must be done as root. You can work with Gramps if you only build
it by pointing the PYTHONPATH to the build directory, but things like MIME type
and desktop entries will not be created then.
Typical install directories in linux (ubuntu) are:
* /usr/local/lib/python3.4/dist-packages/gramps/ : the gramps python module
* /usr/local/lib/python2.7/dist-packages/gramps/ : the gramps python module
* /usr/local/share/mime-info : mime info so gramps opens files automatically
* /usr/local/share/icons/gnome : our icons
* /usr/local/share/doc/gramps : documentation, also example .gramps and .gedcom
@@ -62,35 +57,41 @@ Typical install directories in linux (ubuntu) are:
Running Gramps
--------------
Gramps is python only, so no compilation is needed, you can even run gramps
from the source directory.
from the source directory.
a) You installed Gramps, then you can run it with the command
gramps
gramps
b) You installed Gramps, and want to start it from the PYTHONPATH. In this
case use the command:
python -c 'from gramps.grampsapp import main; main()'
The executable 'gramps' in /usr/local/bin or /usr/bin from a) does
The executable 'gramps' in /usr/local/bin or /usr/bin from a) does
this for you.
b) You downloaded the Gramps source code to a directory, and want to run it.
You can start Gramps from the source code directory with
First, copy/rename the gramps/gen/const.py.in to gramps/gen/const.py.
Edit this file if needed. Now you can start Gramps from the source code
directory with
python Gramps.py
See gramps/gen/const.py how Gramps finds its resource directories in case
you encounter problems.
Custom directory installation
-------------------------------------
If you would like to install Gramps without being root, or in an
If you would like to install GRAMPS without being root, or in an
alternative location on windows, supply the --root argument to setup.py
For example:
python setup.py install --root ~/test
or
python setup.py install --root ~/test --enable-packager-mode
The last option, --enable-packager-mode, is needed if you want to disable
execution of post-install mime processing. If you don't have root/admin
access, this will be needed
Packager's issues
------------------
@@ -99,8 +100,3 @@ To create a source distribution run:
python setup.py sdist
If Gramps is built outside of the source tree in a temporary location (e.g. when
packaging for a distribution), the --resourcepath option can be used to specify
the path to the installed location of the Gramps resources (e.g. /usr/share):
python setup.py install --resourcepath=/usr/share
+1 -1
View File
@@ -1,7 +1,6 @@
include AUTHORS
include COPYING
include FAQ
include Gramps.py
include INSTALL
include LICENSE
include MANIFEST.in
@@ -22,6 +21,7 @@ recursive-include windows *
# Remove files created in the build
exclude data/tips.xml
#exclude gramps/gen/const.py
exclude gramps/plugins/lib/holidays.xml
exclude po/.intltool-merge-cache
global-exclude *.pyc
+3 -350
View File
@@ -1,350 +1,3 @@
2015-10-12
Version 4.2.1,
* Support for Retina and HiDPI Display, added 24px icons
* Fix verification tool with "Estimate missing or inexact dates"
* Fix missing link in hourglass graph report
* Sort custom place types in editors
* Allow Easter calculation with python3
* Fix crash on Descendants-detailed report
* FanChartDescendants View should at least have 2 generations
* Allow hyphenated gramps-id in Graphviz reports
* Complete Individual Report fails to run
* Fix broken wiki help links
* Set TextOption widget to expand vertically
* Unused Object Dialog box too small
* Short cut keys does not work in 'Change Event Types' dialog
* Update some Tips of the day
* Error when extracting place names
* Custom filters for note text repaired
* Fix Pedigreeview crash when selecting Compact view
* Set "visable_window" in GtkEventBox to fix transparency
* Faster scrolling
** cache database access for column values
** cache do_get_path lookups
** speed up load access on treeviews with no filters
** new LRU size of 1k (was 250)
** use cache in do_get_path from siblings
* Avoid using person-centric date matching for places
* Use place title as default name in GEDCOM import
* Ensure place names are not empty after upgrade
* Fix proxy to include all referenced place objects
* Fix bug that prevented any addons being loaded onto the Mac version
* Remove copy button from family tree manager
* Consistency for name fields on Person Editor
* [Geography] Place.set_name(name) requires a PlaceName()
* [Geography] Fix and improvements on place selection
* Limit problems with existing selection in media reference editor
* Stability fixes on Mac port
* Mac port localization crash with non-standard locale (e.g. en_IT).
* Fix color on history
* Fix countries selector for holidays
* Fix missing markups into textual reports
* All sidebars with Types now show custom types in combo list
* [New] Added Places to CSV import/export
* Some fixes on installer (setup.py)
* Various improvements on gen.plug.utils
* Fix graph reports [in Greek locale]
* New date handler for Hungarian locale
* Updated translations : cs, de, el, en_GB, fi, fr, hu, is, sv
2015-08-02
Version 4.2.0,
* New date and language fields on place name
* Review on GtkBuilder, fix some Gtk3 warnings and move from deprecated methods
* Change icons and buttons handling methods
* Enhanced Place Editor and new Place Name editor
* New widget: use own interactive-search
* Ability to import kml data into Geography views
* Enhancement for removing multiple selected items from Views (action group)
* Add drag support on more Views, Selectors and Editors
* Add right-click "Copy all" to ListModel and all QuickTables
* Review Alternate Place handling and edition
* New 'Place' configuration keys set by user (settings)
* New filter rule: is enclosed by
* Consistency on Privacy option for reports
* Consistency on "Name-format" options for reports
* Add DeferredFilter class (a subclass of GenericFilter)
* New textual Report: Links on Notes
* Fix alphabetic index and toc bug in books
* Enhancements on Style Editor
* Enhancements on End Notes into textual reports
* Changes on Individuals complete textual report
* Changes on Ancestors Tree draw report: Include Siblings
* Add name-format option, and deferred translation on Records report
* Add deferred translation on Timeline draw report
* Enable attributes gramplet on Source and Citation Views
* New place locations gramplet
* Optimizations around index, Flat and TreeView models
* Enhanced samples files
* All importers return now an ImportInfo object
* Experimental gwplus (geneweb) import file format support
* Remove experimental HTML renderer view
* New test scripts
* New Date handler for Japanese
* Review on Slovenian and Czech Date Handlers
* Implement both "traditional" and "simplfied" Chinese (translations and dates)
* Serbian review
2015-05-01
Version 4.1.3, "Thou shalt not count to five", a maintenance release.
* Fix db upgrade failure
* GtkDialog mapped without a transient parent
* [Gedcom} SUBN and SUBM record handling
* [Gedcom] Import/export round trip causes lost information
* [Gedcom] Entering a witness to an event such as marriage might be ignored
* [Gedcom] Gramps can't import estim. date period exported by itself
* [Gedcom] 1/4 and 1/2 ANSEL characters not supported on importing ANSEL
* [Gedcom] Importing file containing multibyte UTF-8 characters fails
* [Gedcom] Import fails for ANSI file under python 3
* [Gedcom] Failure importing ANSEL encoded gedcom file.
* [Gedcom] Characters ignored on a Gedcom encoded ANSI (cp1252 West Europe, USA)
* [Gedcom] NameError in importer
* [Gedcom] Event address is lost on import, i.e. disconnected from event
* Crash on geneweb export with python3
* GuiColorOption missing avail-changed event handler
* Bad generation of [timeline report] ODT files since 4.0.0
* Fix bad handle in explanation note for unknown event
* Fix spurious generation of empty 'Alternative Name' in place.merge()
* Support creating directories in various scenarios
* Attempting to add a bookmark causes an error
* Long series of "unhandled exception" popup boxes while doing a check & repair
* Crash when trying to link existing place as an enclosing place using P0001 number
* HTML view fails to load
* Relationship Graph crashes
* Python3 needs new_subpixbuf not subpixbuf
* Regression: running gramps from crontab fails
* tag_map is not initialized
* Some labels now fit better on citations sidebar filter
* Event columns in web narrative are too narrow
* Problem by start program (launcher)
* Translation string missing in Not Related tool for help and close button
* Date format month/year is not well reported at editing time [in Italian]
* Fix unknown gender relationships handler for the french locale
* Fix a handle type bug on sidebar filter
* Tidy up About dialog
* Cleanup on some man files
* Convert some remaining unicode literals
* Fix mac menubar setting
* Enable python3 to run po/update_po.py
* Updated translations: cs, de, fr, is, nl
2015-02-28
Version 4.1.2, "That's no ordinary rabbit", a maintenance release.
* Error converting python2 utf-8 strings to python3 str when loading data from database
* Removing a parent place from a place leaves a dangling reference
* Error during checking the database
* Stubborn blank space in database won't be removed, fix removing rows in flat list views
* Database upgrade fails if default media path is not set
* Error converting database after upgrade to Gramps 4.1.1
* Error in a single place within the places section
* Entries from the add-or-choose selector of Place/Source/Media/Note cannot be dragged
* Enclosing places tab should work like other similar tabs, new place reference editor
* Association editor refuses dropped persons
* Error on opening twice an object from clipboard
* Incorrect spacing in export assistant file chooser
* New Event types are saved as a disordered list
* Always display main participants
* Place titles can now be generated on-the-fly by a place displayer, default is still to use the place title field
* GEDCOM import of embedded notes attached to media does not work
* Crash on Ancestry.com .ged import; consistent.
* Errors handling owner/submitter information in GEDCOM files.
Only import researcher from GEDCOM or XML if the family tree was originally empty.
* GEDCOM export does not export media attached to citations.
* The fanchart view crashes if max generation is set to 1 away.
* Sidebar Filters do not match placetypes in new placeview, two new filter rules (HasTitle, HasData)
* Fix bug when family has no parents
* Fix bad handle in explanation note for unknown event
* Some labels now fit better on citations sidebar filter
* Views in Geography should not always use the last option set by the user
* Request for keyboard-controlled zoom on Geography view
* Error geography view - Displaying main menu
* Configure screen needs a file selector to select directory for "offline mode" files
* Filter panel on geography view displays improperly
* Detailed descendant report crashes, bibliography (citations)
* Can't disable box shadow in SVG descendant tree
* Descendant tree graphical report, syntax error in svg output
* Regression: Complete Individual report has partially-untranslated output
* Events Page in Narrative Report not working
* Gramps freeze after defining a report style with German cm values
* Various problems with docgen.TextDoc.add_media_object
* Report event attribute name is not translated
* Records Gramplet uses wrong text
* Closing detached gramplet causes python to crash
* Cannot reduce size of gramplets detached from a gramplet bar
* Gramplets don't fill window when detached from dashboard
* ImageMetadata doesn't show metadata
* typo on GLib call, used by an addon only
* Fix error setting gramplet tab label
* Check for active person in session log gramplet
* Spurious spaces in CLI List Family Trees, tab delimited output.
Print statements changed to assemble the whole line before output.
* Gtk3 warning and custom undoableentry widget, see bugzilla_id 644927
* Warnings: deprecated Gtk properties and errors loading theme icon.
Fix: database manager dialog is inconsistent for older gtk+3 versions.
Warnings: deprecated Gtk properties and errors loading theme icon.
Fix: Error loading theme icon 'gtk-apply'
* gramps fails to start with gtk+-3.13.3
* Places in data.gramps are not in the new Place hierarchy
* Upgrade the version of some dependencies for Mac OS and Windows OS.
* Keywords entry in gramps.desktop does not work
* 'Available Gramps Updates for Addons' window not on top
* Some text not translatable in context menu fancharts
* Fix for Unit test
* date inflections in _datehandler.py, update for Ukrainian, Russian, Croatian
* Better support for Serbian and Turkish locales
* New translation: Icelandic
* Re-enable Turkish support after a major review. Thank you Uğur.
* Updated translations: cs, de, eo, fi, fr, hr, hu, it, nb, nn, ru, sk, sr, sv, uk, zh_CN
2014-10-24
Version 4.1.1, "MachineThatGoes...Ping!", a maintenance release.
* Fix custom place types in the place editor
* Allow place type combobox to receive focus.
* Store custom place types in the metadata table
* Fix place type for places without a main location
* Fix bug adding parent places to a new place
* Prevent user creating a cycle in the place hierarchy
* Avoid infinite loop when place cycle encountered
* Prevent creation of a place cycle when merging
* Fix error when no place is selected
* Check that a place has been selected when saving.
* Use the standard place selection widget to be consistent.
* Add a new Top Level place through the Place Reference Editor
* Fix backlinks code in place report
* Backlinks for places can now also be places as well as events.
* Fix check and repair tool for empty placerefs
* Update location utilities to work with proxies
* Place report does not run
* Update place details gramplet
* Locations are now displayed in a new separate gramplet.
* Add check for empty handle in gramplets
* Check DB lock on the recent opened trees list
* Sidebarfilter gramplet does not fit well into People, Events or Media views
* Fix new event default type considering existing events with *default* role
* Rebuild secondary indexes after database upgrade
* Importing gedcom files containing multibyte UTF-8 characters fails
* Ahnentafel Report did not use Christening Date if no Birth Date
* [Narweb:] Missing webpage for media under some circumstances
* Fix narrated web report with gendex option enabled
* Tweak to "default" CSS choice for the narrated web report
* Invalid link for Merge citation Help button
* Fix 'todo' gramplet
* Fix path when using drag & drop to add media
* Limit the number of generations displayed in the ancestor gramplet
* Export of a subset of the tree failed
* Fix issues in python3, and bytes-string mismatch with ICU
* Fix url/uri handling with non-ascii characters under linux and mac
* Fix name format on graphical reports
* Fix name format on textual reports
* Better GUI support for embeded custom attributes list on media object
* Better keys for search under linux shells (.desktop file)
* 'Unknown' person in detailed ancestor report can not be translated
* Translations don't show in many labels
* Ensure python text domain gets the right encoding.
* Translate some punctuation marks
* Various fixes around Geography and osmgpsmap
* Allow gramplets to be displayed in the dashboard only
* Update FSF address
* Add Arabic-script, Islamic-date, Thai script, Married Name and more dates examples
* Fix on czech date handler for calculated and estimated dates
* Enhance Serbian date handler to handle Cyrillic dates
* Simplify Canadian Ash Wednesday holiday
* Re-enable Esperanto support (for non-Windows OS only) after a large review
* New translation: Serbian
* Various fixes in German and Czech
* Updated translations: ar, cs, de, fi, fr, it, sv
2014-06-15
Version 4.1.0, the "Name go in book", new major release.
* GEP 006: Better Place handling
* New Tags support on Event, Place, Repository, Source, and Citation
* Source/Citation Data becomes Attributes
* Add optional support for checksum on Media object
* New place hierarchies model
* By default, you can choose navigator modes with a drop down.
* New Place editor
* Enhanced MediaReference Editor
* Some debug tools move to new gramplets
* Full Python 3 support
* New functions and widgets related to Place and Media selections
* Enhancements on to_struct()
* New methods on Date handlers
* Better support on translation for inflection rules
2014-05-22
Version 4.0.4, "Not the comfy chair", a maintenance release.
* Upgrade to db version 17 fails in Python 3 due to use of iteritems
* Database corrupted - TypeError: unhashable type: 'list'
* Fix bug in abandon changes and quit
* Consistency on create_id method
* Better handling for non-ASCII characters on database-path
* Better support for ANSEL characters
* 'Display as' field in Name Editor reverts to Preferences default
* Fix vcard date converter
* View does not communicate over proxy server with autorisation
* Enhanced Bookmark support
* Event gramplet filter does not have field for primary role,
* New HasDayOfWeek filter rule
* Error when leaving a Gramps type field blank in an editor
* Fix creation of events with same Gramps-ID
* Crash when opening details of a person
* Fix spacing on dialogs for some recent linux distribution
* date editor and Date class allow e.g. Hebrew dates with newyear (Mar25)
* Fix crash in fan chart view when scrolling
* Poor contrast mouse on mouse over
* Drag and drop only one data into Editors tabs
* Enhancements and consitency on events gramplet, selector and view
* Sometimes says 'no data exists for note' when saving
* Enhanced Citation Editor
* Do not always raise errors when some plugins are hidden
* Remove hover selection from embedded lists
* Fix update of active object after merge
* Cleanup on warnings and messages around locale directory
* Media Editor error if Path value was changed to a non existing file
* Register history objects at startup
* Avoid dumb encoding error when compiling gpr file
* Work around Py2Cairo
* Given Name Cloud Gramplet splits up given names into words
* Users should not be allowed to edit and delete 'default' style into Style Editor
* Filename Decoding Error in Graphical Reports
* Missing closing bracket in Web_Basic-Spruce.css
* Reorder tool: global name 'gen' is not defined
* Fix start in East Asian language, force UTF-8 locale on Mac
* Fix apple_collation
* Spelling messages at random cause hang for a few seconds.
* Media viewer list crashes during start if one try to select an entry where the media isn't available
* 'Available Gramps Updates for Addons' window not on top
* HTML View fails to load
* Paper names and Styles values are now translated
* Sort failure using glocale.sort_key
* Improve support for collation variants
* Translate some punctuation marks
* Fix unit tests and python3 issues
* Fix Relationships handler for Portuguese
* Updated translations: ar, cs, de, fi, fr, he, it, lt, nb, nl, pl, pt_BR, ru, sv, uk
2014-01-27
Version 4.0.3, "It's tomorrow, ask me now", a maintenance release.
* Fix copy via context menu on Views into Charts Category
* Fix Tab sequence in Name Editor
* Fix citations gramplet into media view
* Fix unhandled exception when inspecting media
* Fix Citation sidebar filter for python3
* Fix add link to a "Html code" note
* Fix message on backup dialog
* Fix space for selection lists
* Fix spell with myspell and LANG
* Fix changes root cursor to hand
* Recent file parser now gives the file location
* Fix vertical overflows on check and repair-tool dialog
* Fix custom key/value (data item) on Database difference report
* Fix unhandled exception in media exif information under Windows OS
* Fix person selector in searchfilter under Windows OS
* Starting Gramps without console is now possible under Windows OS
* Specific OS handling
* Common fixes and changes with 3.4.7.
* Updated translations: ca, de, fi, fr, ru
2013-11-08
Version 4.0.2, "Welcome to our humble abode", a maintenance release.
* Citation merge works better for all objects with citations
@@ -439,7 +92,7 @@ Version 3.4.4 of Gramps! "The Ministry of Silly Names", a maintenance release.
* Various updated translations: ca, de, fr, it, nl, pt_BR, ru, sv, uk
2013-03-19
Version 3.4.3 of Gramps! "Whenever life gets you down, Mrs. Brown", a maintenance release.
Version 3.4.3 of Gramps! "'Whenever life gets you down, Mrs. Brown'", a maintenance release.
* Sorting (both in the main display window, and particularly in Narrative Web output) now uses PyICU (if that module is available). Inclusion of PyICU is 'strongly recommended'. This resolves a number of bugs particularly related to sorting of non-Latin characters, and sorting on MS Windows and Mac OS X. Some changes have been made in Narrative Web to support contractions for alphabetic indices.
* The automatic Addon checking and download now works once again (the location used in Gramps 3.4.2 and before had been changed, so the the automatic process was no longer working).
* Import from Pro-Gen has been updated (at last) to take account of the change to Citations (in 3.4.0)
@@ -447,8 +100,8 @@ Version 3.4.3 of Gramps! "Whenever life gets you down, Mrs. Brown", a maintenanc
* GEDCOM Repositories not imported correctly from FTM for Windows and Heredis.
* Fixes to a number of errors in filtering notes.
* Fix some errors in determining whether someone is alive (e.g. for filtering out alive people).
* Make availability of Graphviz settings depend on output format
* Improve the descriptions and tooltip for Graphviz aspect ratio option
* Make availability of GraphViz settings depend on output format
* Improve the descriptions and tooltip for GraphViz aspect ratio option
* Fixed update problems with citation bottombar gramplet (bug #6336)
* Fixed Open Document Text output in Book report (bug #6457)
* A number of changes to Narrative Web:
+38 -21
View File
@@ -1,21 +1,24 @@
$Id$
Please read the COPYING file first.
Please read the INSTALL file if you intend to build from source.
If building from source, also read the INSTALL file (at least through the
"SUPER-SHORT VERSION") before going further.
Requirements
--------------------------------
The following packages *MUST* be installed in order for Gramps to work:
Python 3.2 or greater
GTK 3.10 or greater
pygobject 3.12 or greater
Python 2.7 or greater, Python 3.2 or greater (or both python versions)
GTK 3.0 or greater
pygobject 3.3.2 or greater
cairo, pango, pangocairo with introspection bindings (the gi packages)
librsvg2 (svg icon view)
xdg-utils
bsddb3
bsddb3 is required for Python 3.2 (not python 2.7)
The following package is needed for full translation of the interface
to your language:
language-pack-gnome-xx
language-pack-gnome-xx
Translation of GTK elements to your language, with
xx your language code; e.g. for Dutch you need
language-pack-gnome-nl. The translation of the
@@ -24,13 +27,21 @@ to your language:
The following packages are *STRONGLY RECOMMENDED* to be installed:
osmgpsmap Used to show maps in the geography view.
osmgpsmap Used to show maps in the geography view.
It may be osmgpsmap, osm-gps-map, or python-osmgpsmap,
but the Python bindings for this must also be present.
Without this the GeoView will not be active, see
https://gramps-project.org/wiki/index.php?title=Gramps_4.2_Wiki_Manual_-_Categories#Geography_Category
http://gramps-project.org/wiki/index.php?title=Gramps_4.0_Wiki_Manual_-_Main_Window#Geography_Category
!! PACKAGERS: unfortunately, at the moment (March 2013),
the patches which gramps 4.0 needs osm-gps-map to have
are not yet released (as a new osm-gps-map version). The
osm-gps-map sources must be dated 6 February 2013 (or
later) to have the necessary patches. You may obtain
it from: http://nzjrs.github.com/osm-gps-map/ or else
http://sourceforge.net/projects/gramps/files/Dependencies
(The necessary version seems to be 0.8 -- or later.)
Graphviz Enable creation of graphs using Graphviz engine.
GraphViz Enable creation of graphs using GraphViz engine.
Without this, three reports cannot be run.
Obtain it from: http://www.graphviz.org
@@ -42,25 +53,23 @@ The following packages are *STRONGLY RECOMMENDED* to be installed:
sorting is done through built-in libraries. PyICU is
fairly widely available through the package managers of
distributions. See http://pyicu.osafoundation.org/
(These are Python bindings for the ICU package.
https://pypi.python.org/pypi/PyICU/)
(These are Python bindings for the ICU package.)
The following packages are optional
gtkspell Enable spell checking in the notes. Gtkspell depends on
gtkspell Enable spell checking in the notes. Gtkspell depends on
enchant. A version of gtkspell with gobject introspection
is needed, so minimally version 3.0.0
rcs The GNU Revision Control System (RCS) can be used to manage
multiple revisions of your family trees. See info at
https://gramps-project.org/wiki/index.php?title=Gramps_4.2_Wiki_Manual_-_Manage_Family_Trees#Archiving_a_Family_Tree
http://www.gramps-project.org/wiki/index.php?title=Gramps_4.0_Wiki_Manual_-_Manage_Family_Trees#Archiving_a_Family_Tree
Only rcs is needed, NO python bindings are required
PIL Python Image Library is needed to crop
images and also to convert non-JPG images to
JPG so as to include them in LaTeX output.
(For Python3 a different source may be needed,
python-imaging or python-pillow or python3-pillow)
(For Python3 a different source may be needed.)
GExiv2 Enables Gramps to manage Exif metadata embedded in your
media. Gramps needs version 0.5 or greater.
@@ -68,12 +77,20 @@ The following packages are optional
ttf-freefont More font support in the reports
gir-webkit Required for the (user-downloadable) HtmlView plugin
gir-webkit GObject introspection data of WebKit is required for the
hidden view 'Htmlview', which allows websites to be
opened in Gramps. Users can unhide the view in the
plugin manager. A html renderer must be installed to
use the view.
!! PACKAGERS, Test if on your distribution
webkit and Gramps is stable. If you obtain crashes, patch
src/plugins/view/htmlrenderer.py and
src/plugins/view/geoview.gpr.py, so as to remove:
from gi.repository import WebKit as webkit
goocanvas2 Required for the (user-downloadable) GraphView plugin
goocanvas2:
Required for the (user-downloadable) Graphview plugin
No longer needed in 4.1:
?
No longer needed in 4.0:
pygoocanvas, pygtk, pyexiv2
No longer needed in 3.3:
@@ -81,12 +98,12 @@ No longer needed in 3.3:
No longer needed in 3.2:
python glade bindings
No longer needed in 3.1:
yelp Gnome help browser. No offline help is shipped see Gramps website for User manual
yelp Gnome help browser. At the moment no help is shipped
Documentation
---------------------------------
The User Manual is maintained on the Gramps website,
The User Manual is now maintained on the gramps website,
http://www.gramps-project.org/wiki/index.php?title=User_manual
--------------------------------
+62 -6
View File
@@ -1,13 +1,69 @@
Major enhancements in Gramps 4.2.0:
$Id$
* GEP 36: GEPS 036: Extended Alternative Place Name Handling:
https://gramps-project.org/wiki/index.php?title=GEPS_036:_Extended_Alternative_Place_Name_Handling
Gramps 4.0.0, the "The Miracle of Birth", release.
* GEP interactive search: own interactive-search box.
This is a major release, don't upgrade before verifying your system can run it.
As one of the very first big ($5.4 million), multi-platform (Linux,
Windows, Mac OS X, ...), non-Gnome GTK applications, Gramps makes the
jump to GTK 3. At the same time python 2.7 and python 3 are supported,
though the last must still be considered experimental. Gramps 4.0
further uses distutils for distribution, so the install sequence is changed.
The Gramps developers have tried to make Gramps 4.0 as identical as
possible to 3.4, so no data changes are done, nor are there big interface
changes. In other words, a .gramps backup file of version 4.0 will open
without problems in Gramps 3.4, giving users the possibility to fully try Gramps 4.0.
Don't be mistaken though, a huge amount of code is new and changed!
In order to bring this release we thank the many developers who helped
the GTK support on Mac, Windows and Linux forward. Note however,
Gramps 4.0 will only work on a top of a very recent sortware stack.
A Windows installer will probably not be available soon. In Linux current
distro's don't contain the optional packages in the form Gramps 4.0 needs.
All this should make clear you can safely keep using version 3.4 and wait
for packagers to catch up. People who cannot upgrade the required components
but want to use Gramps 4.0 should use it in Virtualbox.
* Speedup on Tree and Flat Views
Major enhancements in Gramps 4.0.0:
* GEP 8: code reorganization:
http://www.gramps-project.org/wiki/index.php?title=GEPS_008:_File_Organization
* GEP 26: Replace make:
http://www.gramps-project.org/wiki/index.php?title=GEPS_026:_Replace_%27make%27_for_Gramps_build
* GEP 29: Gtk 3:
http://www.gramps-project.org/wiki/index.php?title=GEPS_029:_GTK3-GObject_introspection_Conversion
* GEP 31: Python 3 support:
http://www.gramps-project.org/wiki/index.php?title=GEPS_031:_Python_3_support
* Completely reworked localization handling
Others changes in Gramps 4.0.0:
* The Gramplet view has been renamed Dashboard. This to avoid an overload
of the word Gramplet, and to make it more clear to new users what can
be expected in this view
* GTK 3 uses new themes, so users not on Gnome must set a nice GTK 3
theme to fully appreciate Gramps 4.0. Install a GTK 3 theme and set it.
If Gramps looks ugly, you made an error in this step.
* Different sidebar navigators can be installed
* New Ancestor Fan Chart View and Descendant Fan Chart View, which offer
a lot of insight in your family tree on a small space. Direct printing
is available from these views.
* All wizards are reworked, so the exporter dialog, help and bug report
dialog are different from version 3.4, but offer the same functions
* New To Do Gramplets listing all To Do Notes
* More reports support output in a different language than the interface language
* Narrative Web has been reworked to make it more stable.
More info in the manual
http://www.gramps-project.org/wiki/index.php?title=Gramps_4.2_Wiki_Manual_-_What%27s_new%3F
http://www.gramps-project.org/wiki/index.php?title=Gramps_4.0_Wiki_Manual_-_What%27s_new%3F
Everybody is invited to update the manual to make it current!
+45 -45
View File
@@ -1,142 +1,142 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Id$ -->
<authors xmlns:html="http://www.w3.org/1999/xhtml">
<author title="author">
<author uid="rshura" title="author">
Alex Roitman &lt;<html:a href="mailto:shura@gramps-project.org">shura@gramps-project.org</html:a>&gt;
</author>
<author title="contributor">
<author uid="asleinius" title="contributor">
Arturas Sleinius &lt;<html:a href="mailto:asleinius@users.sourceforge.net">asleinius@users.sourceforge.net</html:a>&gt;
</author>
<author title="author">
<author uid="bmcage" title="author">
Benny Malengier &lt;<html:a href="mailto:benny.malengier@gramps-project.org">benny.malengier@gramps-project.org</html:a>&gt;
</author>
<author title="contributor">
<author uid="borilg" title="contributor">
Boril Gourinov &lt;<html:a href="mailto:boril.gourinov@gmail.com">boril.gourinov@gmail.com</html:a>&gt;
</author>
<author title="author">
<author uid="pez4brian" title="author">
Brian Matherly &lt;<html:a href="mailto:brian@gramps-project.org">brian@gramps-project.org</html:a>&gt;
</author>
<author title="author">
<author uid="dallingham" title="author">
Don Allingham &lt;<html:a href="mailto:don@gramps-project.org">don@gramps-project.org</html:a>&gt;
</author>
<author title="author">
<author uid="dpeterso" title="author">
Donald A. Peterson &lt;<html:a href="mailto:"></html:a>&gt;
</author>
<author title="author">
<author uid="dsblank" title="author">
Doug Blank &lt;<html:a href="mailto:doug.blank@gmail.com">doug.blank@gmail.com</html:a>&gt;
</author>
<author title="contributor">
<author uid="eerot" title="contributor">
Eero Tamminen &lt;<html:a href="mailto:eerot@users.sourceforge.net">eerot@users.sourceforge.net</html:a>&gt;
</author>
<author title="contributor">
<author uid="erikdrgm" title="contributor">
Erik De Richter &lt;<html:a href="mailto:erikdrgm@users.sourceforge.net">erikdrgm@users.sourceforge.net</html:a>&gt;
</author>
<author title="contributor">
<author uid="espenbe" title="contributor">
Espen Berg &lt;<html:a href="mailto:espenbe@gmail.com">espenbe@gmail.com</html:a>&gt;
</author>
<author title="contributor">
<author uid="gburto01" title="contributor">
Gary Burton &lt;<html:a href="mailto:gary.burton@zen.co.uk">gary.burton@zen.co.uk</html:a>&gt;
</author>
<author uid="gbritton" title="contributor">
Gerald Britton &lt;<html:a href="mailto:gerald.britton@gmail.com">gerald.britton@gmail.com</html:a>&gt;
</author>
<author title="contributor">
<author uid="jgsack" title="contributor">
James G Sack &lt;<html:a href="mailto:jgsack@san.rr.com">jgsack@san.rr.com</html:a>&gt;
</author>
<author title="contributor">
<author uid="has_no_svn_access" title="contributor">
Janne Kovesjärvi &lt;<html:a href="mailto:janne.kovesjarvi@gmail.com">janne.kovesjarvi@gmail.com</html:a>&gt;
</author>
<author title="contributor">
<author uid="has_no_svn_access" title="contributor">
Jason Simanek &lt;<html:a href="mailto:jsimanek@gmail.com">jsimanek@gmail.com</html:a>&gt;
</author>
<author title="contributor">
<author uid="romjerome" title="contributor">
Jérôme Rapinat &lt;<html:a href="mailto:romjerome@yahoo.fr">romjerome@yahoo.fr</html:a>&gt;
</author>
<author title="contributor">
<author uid="jcreus" title="contributor">
Joan Creus &lt;<html:a href="mailto:joan.creus@gmail.com">joan.creus@gmail.com</html:a>&gt;
</author>
<author title="contributor">
<author uid="josip" title="contributor">
Josip Pisoj &lt;<html:a href="mailto:josip@pisoj.com">josip@pisoj.com</html:a>&gt;
</author>
<author title="contributor">
<author uid="jsanchez" title="contributor">
Julio Sánchez &lt;<html:a href="mailto:julio.sanchez@gmail.com">julio.sanchez@gmail.com</html:a>&gt;
</author>
<author title="contributor">
<author uid="keesb" title="contributor">
Kees Bakker &lt;<html:a href="mailto:kees.bakker@xs4all.nl">kees.bakker@xs4all.nl</html:a>&gt;
</author>
<author title="contributor">
<author uid="kdorichev" title="contributor">
Konstantin Dorichev &lt;<html:a href="mailto:kdorichev@gmail.com">kdorichev@gmail.com</html:a>&gt;
</author>
<author title="contributor">
<author uid="has_no_svn_access" title="contributor">
Lubo Vasko &lt;<html:a href="mailto:pgval@inMail.sk">pgval@inMail.sk</html:a>&gt;
</author>
<author title="contributor">
<author uid="ltosky" title="contributor">
Luigi Toscano &lt;<html:a href="mailto:luigi.toscano@tiscali.it">luigi.toscano@tiscali.it</html:a>&gt;
</author>
<author title="contributor">
<author uid="has_no_svn_access" title="contributor">
Luiz Gonzaga dos Santos Filho &lt;<html:a href="mailto:lfilho@gmail.com">lfilho@gmail.com</html:a>&gt;
</author>
<author title="contributor">
<author uid="has_no_svn_access" title="contributor">
Łukasz Rymarczyk &lt;<html:a href="mailto:yenidai@poczta.onet.pl">yenidai@poczta.onet.pl</html:a>&gt;
</author>
<author title="contributor">
<author uid="m_d_n" title="contributor">
Michiel Nauta &lt;<html:a href="mailto:m.d.nauta@hetnet.nl">m.d.nauta@hetnet.nl</html:a>&gt;
</author>
<author title="contributor">
<author uid="leonhaeuser" title="contributor">
Mirko Leonhäuser &lt;<html:a href="mailto:mirko@leonhaeuser.de">mirko@leonhaeuser.de</html:a>&gt;
</author>
<author title="contributor">
<author uid="has_no_svn_access" title="contributor">
Morten Bo Johansen &lt;<html:a href="mailto:mbj@spamcop.net">mbj@spamcop.net</html:a>&gt;
</author>
<author title="author">
<author uid="loshawlos" title="author">
Martin Hawlisch &lt;<html:a href="mailto:martin.hawlisch@gmx.de">martin.hawlisch@gmx.de</html:a>&gt;
</author>
<author title="contributor">
<author uid="nick-h" title="contributor">
Nick Hall &lt;<html:a href="mailto:nick__hall@hotmail.com">nick__hall@hotmail.com</html:a>&gt;
</author>
<author title="contributor">
<author uid="ldnp" title="contributor">
Peter Landgren &lt;<html:a href="mailto:peter.talken@telia.com">peter.talken@telia.com</html:a>&gt;
</author>
<author title="contributor">
<author uid="acraphae" title="contributor">
Raphael Ackermann &lt;<html:a href="mailto:raphael.ackermann@gmail.com">raphael.ackermann@gmail.com</html:a>&gt;
</author>
<author title="author">
<author uid="hippy" title="author">
Richard Taylor &lt;<html:a href="mailto:rjt-gramps@thegrindstone.me.uk">rjt-gramps@thegrindstone.me.uk</html:a>&gt;
</author>
<author title="contributor">
<author uid="noirauds" title="contributor">
Serge Noiraud &lt;<html:a href="mailto:Serge.Noiraud@free.fr">Serge.Noiraud@free.fr</html:a>&gt;
</author>
<author title="contributor">
<author uid="has_no_svn_access" title="contributor">
Sigmund Lorentsen &lt;<html:a href="mailto:sigmund.lorentsen@tele2.no">sigmund.lorentsen@tele2.no</html:a>&gt;
</author>
<author title="contributor">
<author uid="betula" title="contributor">
Stefan Bjork &lt;<html:a href="mailto:betula@users.sourceforge.net">betula@users.sourceforge.net</html:a>&gt;
</author>
<author title="contributor">
<author uid="s_charette" title="contributor">
Stéphane Charette &lt;<html:a href="mailto:stephanecharette@gmail.com">stephanecharette@gmail.com</html:a>&gt;
</author>
<author title="author">
<author uid="twaugh" title="author">
Tim Waugh &lt;<html:a href="mailto:twaugh@redhat.com">twaugh@redhat.com</html:a>&gt;
</author>
<author title="contributor">
<author uid="vassilii" title="contributor">
Vassilii Khachaturov &lt;<html:a href="mailto:vassilii@tarunz.org">vassilii@tarunz.org</html:a>&gt;
</author>
<author title="contributor">
<author uid="matlas" title="contributor">
Zdeněk Hataš &lt;<html:a href="mailto:zdenek.hatas@gmail.com">zdenek.hatas@gmail.com</html:a>&gt;
</author>
<author title="author">
<author uid="robhealey1" title="author">
Rob G. Healey &lt;<html:a href="mailto:robhealey1@gmail.com">robhealey1@gmail.com</html:a>&gt;
</author>
<author title="contributor">
<author uid="zfoldvar" title="contributor">
Zsolt Foldvari &lt;<html:a href="mailto:zfoldvar@users.sourceforge.net">zfoldvar@users.sourceforge.net</html:a>&gt;
</author>
<author title="contributor">
<author uid="ander882" title="contributor">
Craig J. Anderson &lt;<html:a href="mailto:ander882@hotmail.com">ander882@hotmail.com</html:a>&gt;
</author>
<author title="author">
<author uid="kulath" title="author">
Tim G L Lyons &lt;<html:a href="mailto:tim.g.lyons@gmail.com">tim.g.lyons@gmail.com</html:a>&gt;
</author>
<author title="author">
<author uid="jralls" title="author">
John Ralls &lt;<html:a href="mailto:jralls@ceridwen.us">jralls@ceridwen.us</html:a>&gt;
</author>
</authors>
+1 -1
View File
@@ -16,7 +16,7 @@
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
----------------------------------------------------------------------------
+1 -1
View File
@@ -16,7 +16,7 @@
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
# $Id: Web_Basic-Blue.css 15540 2010-06-07 16:32:00Z robhealey1 $
#
-8
View File
@@ -248,14 +248,6 @@ table.primobjlist tr.BeginLetter td, table.primobjlist tr.BeginSurname td {
td.ColumnLetter, td.ColumnRowLabel {
font-weight: bold;
}
/* bug #8213 testing by Stephane, 2014-12-6 */
td.ColumnEvent, td.ColumnDate {
white-space: nowrap;
}
td.ColumnPlace, td.ColumnDescription {
width: 20%
}
/* end of customizations by Stephane */
td.ColumnBirth, td.ColumnDeath, td.ColumnPartner, td.ColumnParents {
font-size: 90%;
}
-1
View File
@@ -514,7 +514,6 @@ i + div.grampsstylednote p {
}
div.grampsstylednote p {
margin-bottom: 0.5em;
}
/* Subsection : Family Map
----------------------------------------------------- */
+1 -1
View File
@@ -17,7 +17,7 @@
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
******************************************************
+1 -1
View File
@@ -16,7 +16,7 @@
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
# $Id$
#
+1 -1
View File
@@ -16,7 +16,7 @@
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
# $Id$
#
+1 -1
View File
@@ -17,7 +17,7 @@
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
******************************************************
Regular → Executable
+1 -1
View File
@@ -17,7 +17,7 @@
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
**************************************************************************************************
+1 -1
View File
@@ -17,7 +17,7 @@
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
**************************************************************************************************
+1 -1
View File
@@ -16,7 +16,7 @@
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
# $Id: $
#
+1 -1
View File
@@ -16,7 +16,7 @@
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
**************************************************************************************************
+1 -1
View File
@@ -16,7 +16,7 @@
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
# $Id$
#
+4 -3
View File
@@ -3,9 +3,10 @@
<id type="desktop">gramps.desktop</id>
<licence>CC0</licence>
<description>
<_p>Gramps is a genealogy program that is both intuitive for hobbyists and feature-complete for professional genealogists.</_p>
<_p>It gives you the ability to record the many details of the life of an individual as well as the complex relationships between various people, places and events.</_p>
<_p>All of your research is kept organized, searchable and as precise as you need it to be.</_p>
<_p>Gramps is a genealogy program that is both intuitive for hobbyists and feature-complete for professional genealogists.
It gives you the ability to record the many details of the life of an individual as well as the complex relationships between various people, places and events.
All of your research is kept organized, searchable and as precise as you need it to be.
</_p>
</description>
<url type="homepage">http://gramps-project.org/</url>
<screenshots>
-1
View File
@@ -8,6 +8,5 @@ Terminal=false
Type=Application
StartupNotify=true
Categories=GTK;Office;
_Keywords=Genealogy;Family History;Research;Family Tree;GEDCOM;
MimeType=application/x-gramps;application/x-gedcom;application/x-gramps-package;application/x-gramps-xml;
Exec=gramps %F
+1 -1
View File
@@ -16,7 +16,7 @@
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
$Id$
+15 -42
View File
@@ -5,7 +5,7 @@
#
# Copyright (C) 2001 Graham J. Williams
# Copyright (C) 2000-2007 Donald N. Allingham
# Copyright (C) 2010-2014 Nick Hall
# Copyright (C) 2010-2011 Nick Hall
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -19,21 +19,21 @@
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
# $Id$
-->
<!--
This is the Document Type Definition file for v1.7.1
This is the Document Type Definition file for v1.5.1
of the GRAMPS XML genealogy data format.
Please use the following formal public identifier to identify it:
"-//GRAMPS//DTD GRAMPS XML V1.7.1//EN"
"-//GRAMPS//DTD GRAMPS XML V1.5.1//EN"
For example:
<!DOCTYPE database PUBLIC "-//GRAMPS//DTD GRAMPS XML V1.7.1//EN"
"http://gramps-project.org/xml/1.7.1/grampsxml.dtd"
<!DOCTYPE database PUBLIC "-//GRAMPS//DTD GRAMPS XML V1.5.1//EN"
"http://gramps-project.org/xml/1.5.1/grampsxml.dtd"
[...]>
-->
@@ -62,7 +62,7 @@ DATABASE
<!ELEMENT database (header, name-formats?, tags?, events?, people?, families?,
citations?, sources?, places?, objects?, repositories?,
notes?, bookmarks?, namemaps?)>
<!ATTLIST database xmlns CDATA #FIXED "http://gramps-project.org/xml/1.7.1/">
<!ATTLIST database xmlns CDATA #FIXED "http://gramps-project.org/xml/1.5.1/">
<!-- ************************************************************
@@ -122,7 +122,6 @@ GENDER has values of M, F, or U.
<!ELEMENT name (first?, call?, surname*, suffix?, title?, nick?, familynick?, group?,
(daterange|datespan|dateval|datestr)?, noteref*, citationref*)>
<!-- (Unknown|Also Know As|Birth Name|Married Name|Other Name) -->
<!ATTLIST name
alt (0|1) #IMPLIED
type CDATA #IMPLIED
@@ -139,8 +138,6 @@ GENDER has values of M, F, or U.
<!ELEMENT familynick (#PCDATA)>
<!ELEMENT group (#PCDATA)>
<!ELEMENT surname (#PCDATA)>
<!-- (Unknown|Inherited|Given|Taken|Patronymic|Matronymic|Feudal|
Pseudonym|Patrilineal|Matrilineal|Occupation|Location) -->
<!ATTLIST surname
prefix CDATA #IMPLIED
prim (1|0) #IMPLIED
@@ -199,13 +196,12 @@ FAMILY
<!ELEMENT mother EMPTY>
<!ATTLIST mother hlink IDREF #REQUIRED>
<!-- (None|Birth|Adopted|Stepchild|Sponsored|Foster|Other|Unknown) -->
<!ELEMENT childref (citationref*,noteref*)>
<!ATTLIST childref
hlink IDREF #REQUIRED
priv (0|1) #IMPLIED
mrel CDATA #IMPLIED
frel CDATA #IMPLIED
mrel (None|Birth|Adopted|Stepchild|Sponsored|Foster|Other|Unknown) #IMPLIED
frel (None|Birth|Adopted|Stepchild|Sponsored|Foster|Other|Unknown) #IMPLIED
>
<!ELEMENT type (#PCDATA)>
@@ -219,8 +215,7 @@ EVENT
<!ELEMENT events (event)*>
<!ELEMENT event (type?, (daterange|datespan|dateval|datestr)?, place?, cause?,
description?, attribute*, noteref*, citationref*, objref*,
tagref*)>
description?, attribute*, noteref*, citationref*, objref*)>
<!ATTLIST event
id CDATA #IMPLIED
handle ID #REQUIRED
@@ -234,7 +229,7 @@ SOURCES
<!ELEMENT sources (source)*>
<!ELEMENT source (stitle?, sauthor?, spubinfo?, sabbrev?,
noteref*, objref*, srcattribute*, reporef*, tagref*)>
noteref*, objref*, data_item*, reporef*)>
<!ATTLIST source
id CDATA #IMPLIED
handle ID #REQUIRED
@@ -252,25 +247,16 @@ PLACES
<!ELEMENT places (placeobj)*>
<!ELEMENT placeobj (ptitle?, pname+, code?, coord?, placeref*, location*,
objref*, url*, noteref*, citationref*, tagref*)>
<!ELEMENT placeobj (ptitle?, coord?, location*, objref*, url*, noteref*,
citationref*)>
<!ATTLIST placeobj
id CDATA #IMPLIED
handle ID #REQUIRED
priv (0|1) #IMPLIED
change CDATA #REQUIRED
type CDATA #REQUIRED
>
<!ELEMENT pname (daterange|datespan|dateval|datestr)?>
<!ATTLIST pname
lang CDATA #IMPLIED
value CDATA #REQUIRED
>
<!ELEMENT ptitle (#PCDATA)>
<!ELEMENT code (#PCDATA)>
<!ELEMENT coord EMPTY>
<!ATTLIST coord
@@ -310,7 +296,6 @@ OBJECTS
<!ATTLIST file
src CDATA #REQUIRED
mime CDATA #REQUIRED
checksum CDATA #IMPLIED
description CDATA #REQUIRED
>
@@ -320,7 +305,7 @@ REPOSITORIES
<!ELEMENT repositories (repository)*>
<!ELEMENT repository (rname, type, address*, url*, noteref*, tagref*)>
<!ELEMENT repository (rname, type, address*, url*, noteref*)>
<!ATTLIST repository
id CDATA #IMPLIED
handle ID #REQUIRED
@@ -383,7 +368,7 @@ CITATIONS
<!ELEMENT citations (citation)*>
<!ELEMENT citation ((daterange|datespan|dateval|datestr)?, page?, confidence,
noteref*, objref*, srcattribute*, sourceref, tagref*)>
noteref*, objref*, data_item*, sourceref)>
<!ATTLIST citation
id CDATA #IMPLIED
handle ID #REQUIRED
@@ -508,13 +493,6 @@ SHARED ELEMENTS
value CDATA #REQUIRED
>
<!ELEMENT srcattribute EMPTY>
<!ATTLIST srcattribute
priv (0|1) #IMPLIED
type CDATA #REQUIRED
value CDATA #REQUIRED
>
<!ELEMENT place EMPTY>
<!ATTLIST place hlink IDREF #REQUIRED>
@@ -535,11 +513,6 @@ SHARED ELEMENTS
priv (0|1) #IMPLIED
>
<!ELEMENT placeref ((daterange|datespan|dateval|datestr)?)>
<!ATTLIST placeref
hlink IDREF #REQUIRED
>
<!ELEMENT region EMPTY>
<!ATTLIST region
corner1_x CDATA #REQUIRED
+42 -54
View File
@@ -4,7 +4,7 @@
# Gramps - a GTK+/GNOME based genealogy program
#
# Copyright (C) 2005-2007 Donald N. Allingham
# Copyright (C) 2010-2014 Nick Hall
# Copyright (C) 2010-2011 Nick Hall
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -18,10 +18,11 @@
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
# Written by Alex Roitman
# $Id$
-->
<!--
@@ -31,7 +32,7 @@
<grammar
datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes"
ns="http://gramps-project.org/xml/1.7.1/"
ns="http://gramps-project.org/xml/1.5.1/"
xmlns="http://relaxng.org/ns/structure/1.0">
<start><element name="database">
@@ -210,7 +211,16 @@
</define>
<define name="child-rel">
<text/>
<choice>
<value>Birth</value>
<value>Adopted</value>
<value>Stepchild</value>
<value>Sponsored</value>
<value>Foster</value>
<value>None</value>
<value>Other</value>
<value>Unknown</value>
</choice>
</define>
<define name="name-content">
@@ -221,7 +231,13 @@
<optional><attribute name="priv">
<ref name="priv-content"/>
</attribute></optional>
<optional><attribute name="type"><text/></attribute></optional>
<optional><attribute name="type"><choice>
<value>Unknown</value>
<value>Also Known As</value>
<value>Birth Name</value>
<value>Married Name</value>
<value>Other Name</value>
</choice></attribute></optional>
<optional><attribute name="sort"><text/></attribute></optional>
<optional><attribute name="display"><text/></attribute></optional>
<optional><element name="first"><text/></element></optional>
@@ -250,7 +266,20 @@
<value>1</value>
<value>0</value>
</choice></attribute></optional>
<optional><attribute name="derivation"><text/></attribute></optional>
<optional><attribute name="derivation"><choice>
<value>Unknown</value>
<value>Inherited</value>
<value>Given</value>
<value>Taken</value>
<value>Patronymic</value>
<value>Matronymic</value>
<value>Feudal</value>
<value>Pseudonym</value>
<value>Patrilineal</value>
<value>Matrilineal</value>
<value>Occupation</value>
<value>Location</value>
</choice></attribute></optional>
<optional><attribute name="connector"><text/></attribute></optional>
</define>
@@ -399,9 +428,6 @@
<zeroOrMore><element name="objref">
<ref name="objref-content"/>
</element></zeroOrMore>
<zeroOrMore><element name="tagref">
<ref name="tagref-content"/>
</element></zeroOrMore>
</define>
<define name="citation-content">
@@ -415,15 +441,13 @@
<zeroOrMore><element name="objref">
<ref name="objref-content"/>
</element></zeroOrMore>
<zeroOrMore><element name="srcattribute">
<ref name="srcattribute-content"/>
<zeroOrMore><element name="data_item">
<attribute name="key"><text/></attribute>
<attribute name="value"><text/></attribute>
</element></zeroOrMore>
<element name="sourceref">
<ref name="sourceref-content"/>
</element>
<zeroOrMore><element name="tagref">
<ref name="tagref-content"/>
</element></zeroOrMore>
</define>
<define name="source-content">
@@ -438,32 +462,22 @@
<zeroOrMore><element name="objref">
<ref name="objref-content"/>
</element></zeroOrMore>
<zeroOrMore><element name="srcattribute">
<ref name="srcattribute-content"/>
<zeroOrMore><element name="data_item">
<attribute name="key"><text/></attribute>
<attribute name="value"><text/></attribute>
</element></zeroOrMore>
<zeroOrMore><element name="reporef">
<ref name="reporef-content"/>
</element></zeroOrMore>
<zeroOrMore><element name="tagref">
<ref name="tagref-content"/>
</element></zeroOrMore>
</define>
<define name="place-content">
<ref name="primary-object"/>
<attribute name="type"><text/></attribute>
<optional><element name="ptitle"><text/></element></optional>
<oneOrMore><element name="pname">
<ref name="placename-content"/>
</element></oneOrMore>
<optional><element name="code"><text/></element></optional>
<optional><element name="coord">
<attribute name="long"><text/></attribute>
<attribute name="lat"><text/></attribute>
</element></optional>
<zeroOrMore><element name="placeref">
<ref name="placeref-content"/>
</element></zeroOrMore>
<zeroOrMore><element name="location">
<optional><attribute name="street"><text/></attribute></optional>
<optional><attribute name="locality"><text/></attribute></optional>
@@ -487,9 +501,6 @@
<zeroOrMore><element name="citationref">
<ref name="citationref-content"/>
</element></zeroOrMore>
<zeroOrMore><element name="tagref">
<ref name="tagref-content"/>
</element></zeroOrMore>
</define>
<define name="object-content">
@@ -497,8 +508,7 @@
<element name="file">
<attribute name="src"><text/></attribute>
<attribute name="mime"><text/></attribute>
<optional><attribute name="checksum"><text/></attribute></optional>
<optional><attribute name="description"><text/></attribute></optional>
<attribute name="description"><text/></attribute>
</element>
<zeroOrMore><element name="attribute">
<ref name="attribute-content"/>
@@ -528,9 +538,6 @@
<zeroOrMore><element name="noteref">
<ref name="noteref-content"/>
</element></zeroOrMore>
<zeroOrMore><element name="tagref">
<ref name="tagref-content"/>
</element></zeroOrMore>
</define>
<define name="bookmark-content">
@@ -673,14 +680,6 @@
<ref name="noteref-content"/>
</element></zeroOrMore>
</define>
<define name="srcattribute-content">
<optional><attribute name="priv">
<ref name="priv-content"/>
</attribute></optional>
<attribute name="type"><text/></attribute>
<attribute name="value"><text/></attribute>
</define>
<define name="url-content">
<optional><attribute name="priv">
@@ -745,17 +744,6 @@
<text/>
</define>
<define name="placename-content">
<attribute name="value"><text/></attribute>
<optional><attribute name="lang"><text/></attribute></optional>
<optional><ref name="date-content"/></optional>
</define>
<define name="placeref-content">
<attribute name="hlink"><data type="IDREF"/></attribute>
<optional><ref name="date-content"/></optional>
</define>
<define name="tagref-content">
<attribute name="hlink"><data type="IDREF"/></attribute>
</define>
+3 -3
View File
@@ -41,16 +41,16 @@ master_doc = 'index'
# General information about the project.
project = u'Gramps'
copyright = u'2015, Gramps project'
copyright = u'2012, Gramps project'
# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
# built documents.
#
# The short X.Y version.
version = '4.2'
version = '4.0'
# The full version, including alpha/beta/rc tags.
release = '4.2.0'
release = '4.0.0-alpha2'
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
+3 -3
View File
@@ -41,16 +41,16 @@ master_doc = 'cs'
# General information about the project.
project = u'Gramps'
copyright = u'2015, Gramps project'
copyright = u'2012, Gramps project'
# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
# built documents.
#
# The short X.Y version.
version = '4.2'
version = '4.0'
# The full version, including alpha/beta/rc tags.
release = '4.2.0'
release = '4.0.0'
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
+3 -3
View File
@@ -82,9 +82,9 @@ gramps(1) @VERSION@ gramps(1)
**-i** , **--import=** *FILE*
Import data from *FILE* . If you haven't specified a database, then
an empty database is created for you called Family Tree x
(where x is an incrementing number).
Import data from *FILE* . If you haven't specified a database then
a temporary database is used; this is deleted when you exit
gramps.
When more than one input file is given, each has to be preceded
by **-i** flag. The files are imported in the specified order, i.e.
+3 -3
View File
@@ -41,16 +41,16 @@ master_doc = 'fr'
# General information about the project.
project = u'Gramps'
copyright = u'2015, Gramps project'
copyright = u'2012, Gramps project'
# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
# built documents.
#
# The short X.Y version.
version = '4.2'
version = '4.0'
# The full version, including alpha/beta/rc tags.
release = '4.2.0'
release = '4.0.0-alpha2'
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
+3 -3
View File
@@ -82,8 +82,8 @@ gramps(1) @VERSION@ gramps(1)
**-i** , **--import=** *FICHIER*
Importer des données depuis un *FICHIER* . Si vous n'avez pas
spécifié de base de données, alors une base de données vide
est utilisée.
spécifié de base de données alors une base de données temporaire
est utilisée; elle sera effacée quand vous quitterez gramps.
Quand plus d'un fichier doit être importé, chacun doit être
précédé par la commande **-i** . Ces fichiers sont importés dans le
@@ -152,7 +152,7 @@ gramps(1) @VERSION@ gramps(1)
**Opération**
Si le premie argument de la ligne de commande ne commence pas par un
Si le premier argument de la ligne de commande ne commence pas par un
tiret (i.e. pas d'instruction), gramps va essayer d'ouvrir la base de
données avec le nom donné par le premier argument et démarrer une ses
sion interactive, en ignorant le reste de la ligne de commande.
+10 -11
View File
@@ -1,4 +1,4 @@
.TH "GRAMPS" "1" "09 March 2015" "4.2" "Gramps"
.TH "GRAMPS" "1" "28 December 2012" "4.0" "Gramps"
.SH NAME
gramps \- Gramps Documentation
.
@@ -28,7 +28,7 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
..
.\" Man page generated from reStructeredText.
.\" Man page generated from reStructuredText.
.
.sp
gramps(1) @VERSION@ gramps(1)
@@ -106,8 +106,8 @@ sources, vous devez utiliser l\(aqoption d\(aqimport.
.TP
.B \fB\-i\fP , \fB\-\-import=\fP \fIFICHIER\fP
Importer des données depuis un \fIFICHIER\fP . Si vous n\(aqavez pas
spécifié de base de données, alors une base de données vide
est utilisée.
spécifié de base de données alors une base de données temporaire
est utilisée; elle sera effacée quand vous quitterez gramps.
.sp
Quand plus d\(aqun fichier doit être importé, chacun doit être
précédé par la commande \fB\-i\fP . Ces fichiers sont importés dans le
@@ -172,7 +172,7 @@ Imprime le numéro de version pour gramps puis quitte.
.UNINDENT
.TP
.B \fBOpération\fP
Si le premie argument de la ligne de commande ne commence pas par un
Si le premier argument de la ligne de commande ne commence pas par un
tiret (i.e. pas d\(aqinstruction), gramps va essayer d\(aqouvrir la base de
données avec le nom donné par le premier argument et démarrer une ses
sion interactive, en ignorant le reste de la ligne de commande.
@@ -312,15 +312,15 @@ besoins
.INDENT 0.0
.TP
.B \fBAUTEURS\fP
Donald Allingham <\fI\%don@gramps\-project.org\fP>
\fI\%http://gramps\-project.org/\fP
Donald Allingham <\fI\%don@gramps-project.org\fP>
\fI\%http://gramps-project.org/\fP
.sp
Cette page man a d\(aqabord été écrite par :
Brandon L. Griffith <\fI\%brandon@debian.org\fP>
pour Debian GNU/Linux système.
.sp
Cette page man est maintenue par :
Gramps project <\fI\%xxx@gramps\-project.org\fP>
Gramps project <\fI\%xxx@gramps-project.org\fP>
.sp
La traduction française :
Jérôme Rapinat <\fI\%romjerome@yahoo.fr\fP>
@@ -330,14 +330,13 @@ La documentation\-utilisateur est disponible par un navigateur
standard sous la forme du manuel Gramps.
.sp
La documentation pour développeur est disponible sur le site
\fI\%http://www.gramps\-project.org/wiki/index.php?title=Portal:Developers\fP .
\fI\%http://www.gramps-project.org/wiki/index.php?title=Portal:Developers\fP .
.UNINDENT
.sp
gramps(1) @VERSION@ gramps(1)
.SH AUTHOR
Jerome Rapinat
.SH COPYRIGHT
2015, Gramps project
2012, Gramps project
.\" Generated by docutils manpage writer.
.\"
.
+1 -1
View File
@@ -104,7 +104,7 @@ If no action, import or export options are given on the command line then an int
.TP
.BI \-i,\-\^\-import= " FILE"
Import data from \fIFILE\fR. If you haven't specified a database, then an empty database is created for you called Family Tree x (where x is an incrementing number).
Import data from \fIFILE\fR. If you haven't specified a database then a temporary database is used; this is deleted when you exit gramps.
.br
When more than one input file is given, each has to be preceded by \fB\-i\fR
+3 -3
View File
@@ -41,16 +41,16 @@ master_doc = 'nl'
# General information about the project.
project = u'Gramps'
copyright = u'2015, Gramps project'
copyright = u'2012, Gramps project'
# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
# built documents.
#
# The short X.Y version.
version = '4.2'
version = '4.0'
# The full version, including alpha/beta/rc tags.
release = '4.2.0'
release = '4.0.0'
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
+3 -3
View File
@@ -41,16 +41,16 @@ master_doc = 'pl'
# General information about the project.
project = u'Gramps'
copyright = u'2015, Gramps project'
copyright = u'2012, Gramps project'
# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
# built documents.
#
# The short X.Y version.
version = '4.2'
version = '4.0'
# The full version, including alpha/beta/rc tags.
release = '4.2.0'
release = '4.0.0'
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
+3 -3
View File
@@ -41,16 +41,16 @@ master_doc = 'pt_BR'
# General information about the project.
project = u'Gramps'
copyright = u'2015, Gramps project'
copyright = u'2012, Gramps project'
# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
# built documents.
#
# The short X.Y version.
version = '4.2'
version = '4.0'
# The full version, including alpha/beta/rc tags.
release = '4.2.0'
release = '4.0.0'
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
+3 -3
View File
@@ -41,16 +41,16 @@ master_doc = 'sv'
# General information about the project.
project = u'Gramps'
copyright = u'2015, Gramps project'
copyright = u'2012, Gramps project'
# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
# built documents.
#
# The short X.Y version.
version = '4.2'
version = '4.0'
# The full version, including alpha/beta/rc tags.
release = '4.2.0'
release = '4.0.0'
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
+2 -2
View File
@@ -19,7 +19,7 @@
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
"""
update_man.py for command line documentation.
@@ -43,7 +43,7 @@ except:
DOCUTILS = False
LANGUAGES = ['sv', 'nl', 'pl', 'cs', 'pt_BR', 'fr']
VERSION = '4.2.0'
VERSION = '4.0.0'
DATE = ''
# You can set these variables from the command line.
+5 -4
View File
@@ -1,10 +1,10 @@
{% extends "admin/base.html" %}
{% load i18n %}
{% block title %}{{ title }} | Adminstration{% endblock %}
{% block title %}{{ title }} | My New Title{% endblock %}
{% block branding %}
<h1 id="site-name">Administration</h1>
<h1 id="site-name">My new title for the Admin site!</h1>
{% endblock %}
{% block nav-global %}
@@ -13,8 +13,9 @@
.ml {margin:0 10px 10px;display:block;float:left}
</style>
<a href="/" clas="ml">Home</a>
<a href="/admin/" class="ml">Administration home</a>
<a href="/" clas="ml">Website home</a>
<a href="/admin/" class="ml">Admin home</a>
<a href="/admin/members/invoice/" class="ml">Invoices</a>
<a href="/admin/auth/user/?is_active__exact=0" class="ml">New Users</a>
<a href="/admin/auth/user/" class="ml">All Users</a>
{% endif %}
+1 -1
View File
@@ -390,7 +390,7 @@ function buttonOut(button) {
<p id="createdate">
<a href="http://www.gramps-project.org/wiki/index.php?title=Gramps-Connect">Gramps-Connect, version {{gramps_version}}</a>.
</p>
<p id="copyright">&copy; 2009-2015 <a href="http://www.gramps-project.org/">www.gramps-project.org</a>
<p id="copyright">&copy; 2009-2012 <a href="http://www.gramps-project.org/">www.gramps-project.org</a>
</p>
{% endblock %}
</div>
+26 -28
View File
@@ -73,34 +73,6 @@
</table>
</div>
</div>
{% if user.is_superuser %}
{% if action == "edit" %}
{% make_button "Cancel" "/event/%s" event.handle args %}
<input type="hidden" id="place_return" name="place_return" value=""/>
<input type="hidden" name="action" value="save"/>
<input type="hidden" name="search" value="{{search}}"/>
<input type="hidden" name="page" value="{{page}}"/>
<input type="submit" value="Save"/>
{% else %}
{% ifequal action "add" %}
{% make_button "Cancel" "/event/" args %}
<input type="hidden" id="place_return" name="place_return" value=""/>
<input type="hidden" name="action" value="create"/>
<input type="hidden" name="search" value="{{search}}"/>
<input type="hidden" name="page" value="{{page}}"/>
<input type="submit" value="Create"/>
{% else %}
<div style="background-color: lightgray; padding: 2px 0px 0px 2px; clear: both;">
{% make_button "+Add Event" "/event/add" args %}
{% make_button "?Edit Event" "/event/%s/edit" event.handle args %}
{% make_button "-Delete Event" "/event/%s/delete" event.handle args %}
</div>
{% endifequal %}
{% endif %}
{% else %}
{% endif %}
<!-- Tabs -->
<div class="ui-tabs ui-widget ui-widget-content ui-corner-all" id="tabs" style="border: none;">
@@ -132,6 +104,32 @@
</div>
</div>
{% if user.is_superuser %}
{% if action == "edit" %}
{% make_button "Cancel" "/event/%s" event.handle args %}
<input type="hidden" id="place_return" name="place_return" value=""/>
<input type="hidden" name="action" value="save"/>
<input type="hidden" name="search" value="{{search}}"/>
<input type="hidden" name="page" value="{{page}}"/>
<input type="submit" value="Save"/>
{% else %}
{% ifequal action "add" %}
{% make_button "Cancel" "/event/" args %}
<input type="hidden" id="place_return" name="place_return" value=""/>
<input type="hidden" name="action" value="create"/>
<input type="hidden" name="search" value="{{search}}"/>
<input type="hidden" name="page" value="{{page}}"/>
<input type="submit" value="Create"/>
{% else %}
<div style="background-color: lightgray; padding: 2px 0px 0px 2px; clear: both;">
{% make_button "+Add Event" "/event/add" args %}
{% make_button "?Edit Event" "/event/%s/edit" event.handle args %}
{% make_button "-Delete Event" "/event/%s/delete" event.handle args %}
</div>
{% endifequal %}
{% endif %}
{% else %}
{% endif %}
</form>
{% endblock %}
+28 -29
View File
@@ -131,35 +131,6 @@
</div>
</div>
{% if user.is_superuser %}
{% if action == "edit" %}
{% make_button "Cancel" "/family/%s" family.handle args %}
<input type="hidden" id="father_return" name="father_return" value=""/>
<input type="hidden" id="mother_return" name="mother_return" value=""/>
<input type="hidden" name="action" value="save"/>
<input type="hidden" name="search" value="{{search}}"/>
<input type="hidden" name="page" value="{{page}}"/>
<input type="submit" value="Save"/>
{% else %}
{% ifequal action "add" %}
{% make_button "Cancel" "/family/" args %}
<input type="hidden" id="father_return" name="father_return" value=""/>
<input type="hidden" id="mother_return" name="mother_return" value=""/>
<input type="hidden" name="action" value="create"/>
<input type="hidden" name="search" value="{{search}}"/>
<input type="hidden" name="page" value="{{page}}"/>
<input type="submit" value="Create"/>
{% else %}
<div style="background-color: lightgray; padding: 2px 0px 0px 2px; clear: both;">
{% make_button "+Add Family" "/family/add" args %}
{% make_button "?Edit Family" "/family/%s/edit" family.handle args %}
{% make_button "-Delete Family" "/family/%s/delete" family.handle args %}
</div>
{% endifequal %}
{% endif %}
{% else %}
{% endif %}
<!-- Tabs -->
<div class="ui-tabs ui-widget ui-widget-content ui-corner-all" id="tabs" style="border: none;">
@@ -200,6 +171,34 @@
</div>
</div>
{% if user.is_superuser %}
{% if action == "edit" %}
{% make_button "Cancel" "/family/%s" family.handle args %}
<input type="hidden" id="father_return" name="father_return" value=""/>
<input type="hidden" id="mother_return" name="mother_return" value=""/>
<input type="hidden" name="action" value="save"/>
<input type="hidden" name="search" value="{{search}}"/>
<input type="hidden" name="page" value="{{page}}"/>
<input type="submit" value="Save"/>
{% else %}
{% ifequal action "add" %}
{% make_button "Cancel" "/family/" args %}
<input type="hidden" id="father_return" name="father_return" value=""/>
<input type="hidden" id="mother_return" name="mother_return" value=""/>
<input type="hidden" name="action" value="create"/>
<input type="hidden" name="search" value="{{search}}"/>
<input type="hidden" name="page" value="{{page}}"/>
<input type="submit" value="Create"/>
{% else %}
<div style="background-color: lightgray; padding: 2px 0px 0px 2px; clear: both;">
{% make_button "+Add Family" "/family/add" args %}
{% make_button "?Edit Family" "/family/%s/edit" family.handle args %}
{% make_button "-Delete Family" "/family/%s/delete" family.handle args %}
</div>
{% endifequal %}
{% endif %}
{% else %}
{% endif %}
</form>
{% endblock %}
+24 -25
View File
@@ -53,31 +53,6 @@
</tr>
</table>
{% if user.is_superuser %}
{% if action == "edit" %}
{% make_button "Cancel" "/media/%s" media.handle args %}
<input type="hidden" name="action" value="save"/>
<input type="hidden" name="search" value="{{search}}"/>
<input type="hidden" name="page" value="{{page}}"/>
<input type="submit" value="Save"/>
{% else %}
{% ifequal action "add" %}
{% make_button "Cancel" "/media/" args %}
<input type="hidden" name="action" value="create"/>
<input type="hidden" name="search" value="{{search}}"/>
<input type="hidden" name="page" value="{{page}}"/>
<input type="submit" value="Create"/>
{% else %}
<div style="background-color: lightgray; padding: 2px 0px 0px 2px; clear: both;">
{% make_button "+Add Media" "/media/add" args %}
{% make_button "?Edit Media" "/media/%s/edit" media.handle args %}
{% make_button "-Delete Media" "/media/%s/delete" media.handle args %}
</div>
{% endifequal %}
{% endif %}
{% else %}
{% endif %}
<!-- Tabs -->
<div class="ui-tabs ui-widget ui-widget-content ui-corner-all" id="tabs" style="border: none;">
@@ -105,6 +80,30 @@
</div>
</div>
{% if user.is_superuser %}
{% if action == "edit" %}
{% make_button "Cancel" "/media/%s" media.handle args %}
<input type="hidden" name="action" value="save"/>
<input type="hidden" name="search" value="{{search}}"/>
<input type="hidden" name="page" value="{{page}}"/>
<input type="submit" value="Save"/>
{% else %}
{% ifequal action "add" %}
{% make_button "Cancel" "/media/" args %}
<input type="hidden" name="action" value="create"/>
<input type="hidden" name="search" value="{{search}}"/>
<input type="hidden" name="page" value="{{page}}"/>
<input type="submit" value="Create"/>
{% else %}
<div style="background-color: lightgray; padding: 2px 0px 0px 2px; clear: both;">
{% make_button "+Add Media" "/media/add" args %}
{% make_button "?Edit Media" "/media/%s/edit" media.handle args %}
{% make_button "-Delete Media" "/media/%s/delete" media.handle args %}
</div>
{% endifequal %}
{% endif %}
{% else %}
{% endif %}
</form>
{% endblock %}
+17 -18
View File
@@ -70,6 +70,23 @@
</tr>
</table>
<!-- Tabs -->
<div class="ui-tabs ui-widget ui-widget-content ui-corner-all" id="tabs" style="border: none;">
<ul class="ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all">
<li class="ui-corner-top ui-state-default"><a class="tab-references" href="#tab-references">Reference</a></li>
<li class="ui-corner-top ui-state-default"><a class="tab-history" href="#tab-history">History</a></li>
</ul>
<div class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide" id="tab-references" style="background-color: #f4f0ec;">
{% note_reference_table note user action %}
</div>
<div class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide" id="tab-history" style="background-color: #f4f0ec;">
{% history_table note user action %}
</div>
</div>
</div>
</div>
{% if user.is_superuser %}
{% if action == "edit" %}
{% make_button "Cancel" "/note/%s" note.handle args %}
@@ -94,24 +111,6 @@
{% endif %}
{% else %}
{% endif %}
<!-- Tabs -->
<div class="ui-tabs ui-widget ui-widget-content ui-corner-all" id="tabs" style="border: none;">
<ul class="ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all">
<li class="ui-corner-top ui-state-default"><a class="tab-references" href="#tab-references">Reference</a></li>
<li class="ui-corner-top ui-state-default"><a class="tab-history" href="#tab-history">History</a></li>
</ul>
<div class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide" id="tab-references" style="background-color: #f4f0ec;">
{% note_reference_table note user action %}
</div>
<div class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide" id="tab-history" style="background-color: #f4f0ec;">
{% history_table note user action %}
</div>
</div>
</div>
</div>
</form>
{% endblock %}
+30 -32
View File
@@ -81,38 +81,6 @@
</div>
</div>
{% if logform %}
<table>
{{logform.as_table}}
</table>
{% endif %}
{% if user.is_superuser %}
{% if action == "edit" %}
{% make_button "Cancel" "/person/%s" person.handle args %}
<input type="hidden" name="action" value="save"/>
<input type="hidden" name="search" value="{{search}}"/>
<input type="hidden" name="page" value="{{page}}"/>
<input type="submit" value="Save"/>
{% else %}
{% ifequal action "add" %}
{% make_button "Cancel" "/person/" args %}
<input type="hidden" name="action" value="create"/>
<input type="hidden" name="search" value="{{search}}"/>
<input type="hidden" name="page" value="{{page}}"/>
<input type="submit" value="Create"/>
{% else %}
<div style="background-color: lightgray; padding: 2px 0px 0px 2px; clear: both;">
{% make_button "+Add Person" "/person/add" args %}
{% make_button "?Edit Person" "/person/%s/edit" person.handle args %}
{% make_button "-Delete Person" "/person/%s/delete" person.handle args %}
</div>
{% endifequal %}
{% endif %}
{% else %}
{% endif %}
<!-- Tabs -->
<div class="ui-tabs ui-widget ui-widget-content ui-corner-all" id="tabs" style="border: none;">
@@ -170,6 +138,36 @@
</div>
</div>
{% if logform %}
<table>
{{logform.as_table}}
</table>
{% endif %}
{% if user.is_superuser %}
{% if action == "edit" %}
{% make_button "Cancel" "/person/%s" person.handle args %}
<input type="hidden" name="action" value="save"/>
<input type="hidden" name="search" value="{{search}}"/>
<input type="hidden" name="page" value="{{page}}"/>
<input type="submit" value="Save"/>
{% else %}
{% ifequal action "add" %}
{% make_button "Cancel" "/person/" args %}
<input type="hidden" name="action" value="create"/>
<input type="hidden" name="search" value="{{search}}"/>
<input type="hidden" name="page" value="{{page}}"/>
<input type="submit" value="Create"/>
{% else %}
<div style="background-color: lightgray; padding: 2px 0px 0px 2px; clear: both;">
{% make_button "+Add Person" "/person/add" args %}
{% make_button "?Edit Person" "/person/%s/edit" person.handle args %}
{% make_button "-Delete Person" "/person/%s/delete" person.handle args %}
</div>
{% endifequal %}
{% endif %}
{% else %}
{% endif %}
</form>
{% endblock %}
+24 -25
View File
@@ -44,31 +44,6 @@
</tr>
</table>
{% if user.is_superuser %}
{% if action == "edit" %}
{% make_button "Cancel" "/repository/%s" repository.handle args %}
<input type="hidden" name="action" value="save"/>
<input type="hidden" name="search" value="{{search}}"/>
<input type="hidden" name="page" value="{{page}}"/>
<input type="submit" value="Save"/>
{% else %}
{% ifequal action "add" %}
{% make_button "Cancel" "/repository/" args %}
<input type="hidden" name="action" value="create"/>
<input type="hidden" name="search" value="{{search}}"/>
<input type="hidden" name="page" value="{{page}}"/>
<input type="submit" value="Create"/>
{% else %}
<div style="background-color: lightgray; padding: 2px 0px 0px 2px">
{% make_button "+Add Repository" "/repository/add" args %}
{% make_button "?Edit Repository" "/repository/%s/edit" repository.handle args %}
{% make_button "-Delete Repository" "/repository/%s/delete" repository.handle args %}
</div>
{% endifequal %}
{% endif %}
{% else %}
{% endif %}
<!-- Tabs -->
<div class="ui-tab ui-widget ui-widget-content ui-corner-all" id="tabs" style="border: none;">
@@ -96,6 +71,30 @@
</div>
</div>
{% if user.is_superuser %}
{% if action == "edit" %}
{% make_button "Cancel" "/repository/%s" repository.handle args %}
<input type="hidden" name="action" value="save"/>
<input type="hidden" name="search" value="{{search}}"/>
<input type="hidden" name="page" value="{{page}}"/>
<input type="submit" value="Save"/>
{% else %}
{% ifequal action "add" %}
{% make_button "Cancel" "/repository/" args %}
<input type="hidden" name="action" value="create"/>
<input type="hidden" name="search" value="{{search}}"/>
<input type="hidden" name="page" value="{{page}}"/>
<input type="submit" value="Create"/>
{% else %}
<div style="background-color: lightgray; padding: 2px 0px 0px 2px">
{% make_button "+Add Repository" "/repository/add" args %}
{% make_button "?Edit Repository" "/repository/%s/edit" repository.handle args %}
{% make_button "-Delete Repository" "/repository/%s/delete" repository.handle args %}
</div>
{% endifequal %}
{% endif %}
{% else %}
{% endif %}
</form>
{% endblock %}
+24 -25
View File
@@ -49,31 +49,6 @@
</div>
</div>
{% if user.is_superuser %}
{% if action == "edit" %}
{% make_button "Cancel" "/source/%s" source.handle args %}
<input type="hidden" name="action" value="save"/>
<input type="hidden" name="search" value="{{search}}"/>
<input type="hidden" name="page" value="{{page}}"/>
<input type="submit" value="Save"/>
{% else %}
{% ifequal action "add" %}
{% make_button "Cancel" "/source/" args %}
<input type="hidden" name="action" value="create"/>
<input type="hidden" name="search" value="{{search}}"/>
<input type="hidden" name="page" value="{{page}}"/>
<input type="submit" value="Create"/>
{% else %}
<div style="background-color: lightgray; padding: 2px 0px 0px 2px; clear: both;">
{% make_button "+Add Source" "/source/add" args %}
{% make_button "?Edit Source" "/source/%s/edit" source.handle args %}
{% make_button "-Delete Source" "/source/%s/delete" source.handle args %}
</div>
{% endifequal %}
{% endif %}
{% else %}
{% endif %}
<!-- Tabs -->
<div class="ui-tabs ui-widget ui-widget-content ui-corner-all" id="tabs" style="border: none;">
@@ -105,5 +80,29 @@
</div>
</div>
{% if user.is_superuser %}
{% if action == "edit" %}
{% make_button "Cancel" "/source/%s" source.handle args %}
<input type="hidden" name="action" value="save"/>
<input type="hidden" name="search" value="{{search}}"/>
<input type="hidden" name="page" value="{{page}}"/>
<input type="submit" value="Save"/>
{% else %}
{% ifequal action "add" %}
{% make_button "Cancel" "/source/" args %}
<input type="hidden" name="action" value="create"/>
<input type="hidden" name="search" value="{{search}}"/>
<input type="hidden" name="page" value="{{page}}"/>
<input type="submit" value="Create"/>
{% else %}
<div style="background-color: lightgray; padding: 2px 0px 0px 2px; clear: both;">
{% make_button "+Add Source" "/source/add" args %}
{% make_button "?Edit Source" "/source/%s/edit" source.handle args %}
{% make_button "-Delete Source" "/source/%s/delete" source.handle args %}
</div>
{% endifequal %}
{% endif %}
{% else %}
{% endif %}
</form>
{% endblock %}
+9 -10
View File
@@ -42,6 +42,15 @@
</tr>
</table>
<div class="ui-tabs ui-widget ui-widget-content ui-corner-all" id="tabs" style="border: none;">
<ul class="ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all">
<li class="ui-state-default ui-corner-top ui-tabs-selected ui-state-active"><a class="tab-references" href="#tab-references" style=":hover {color: black;}">Reference</a></li>
</ul>
<div class="ui-tabs-panel ui-widget-content ui-corner-bottom" id="tab-references" style="background-color: #f4f0ec;">
{% tag_reference_table tag user action %}
</div>
</div>
{% if user.is_superuser %}
{% if action == "edit" %}
{% make_button "Cancel" "/tag/%s" tag.handle args %}
@@ -66,16 +75,6 @@
{% endif %}
{% else %}
{% endif %}
<div class="ui-tabs ui-widget ui-widget-content ui-corner-all" id="tabs" style="border: none;">
<ul class="ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all">
<li class="ui-state-default ui-corner-top ui-tabs-selected ui-state-active"><a class="tab-references" href="#tab-references" style=":hover {color: black;}">Reference</a></li>
</ul>
<div class="ui-tabs-panel ui-widget-content ui-corner-bottom" id="tab-references" style="background-color: #f4f0ec;">
{% tag_reference_table tag user action %}
</div>
</div>
</form>
{% endblock %}
+6 -6
View File
@@ -27,7 +27,7 @@
<_tip number="14"><b>Calculating Relationships</b><br/>To check if two people in the database are related (by blood, not marriage) try the tool under &quot;Tools &gt; Utilities &gt; Relationship Calculator...&quot;. The exact relationship as well as all common ancestors are reported.</_tip>
<_tip number="15"><b>SoundEx can help with family research</b><br/>SoundEx solves a long standing problem in genealogy, how to handle spelling variations. The SoundEx Gramplet takes a surname and generates a simplified form that is equivalent for similar sounding names. Knowing the SoundEx Code for a surname is very helpful for researching Census Data files (microfiche) at a library or other research facility. To view the SoundEx codes for surnames in your database, add the SoundEx Gramplet.</_tip>
<_tip number="15"><b>SoundEx can help with family research</b><br/>SoundEx solves a long standing problem in genealogy, how to handle spelling variations. The SoundEx utility takes a surname and generates a simplified form that is equivalent for similar sounding names. Knowing the SoundEx Code for a surname is very helpful for researching Census Data files (microfiche) at a library or other research facility. To get the SoundEx codes for surnames in your database, go to &quot;Tools &gt; Utilities &gt; Generate SoundEx Codes...&quot;.</_tip>
<_tip number="16"><b>Setting Your Preferences</b><br/>&quot;Edit &gt; Preferences...&quot; lets you modify a number of settings, such as the path to your media files, and allows you to adjust many aspects of the Gramps presentation to your needs. Each separate view can also be configured under &quot;View &gt; Configure View...&quot;</_tip>
@@ -45,7 +45,7 @@
<_tip number="23"><b>Organising the Views</b><br/>Many of the views can present your data as either a hierarchical tree or as a simple list. Each view can also be configured to the way you like it. Have a look to the right of the top toolbar or under the &quot;View&quot; menu.</_tip>
<_tip number="24"><b>Navigating Back and Forward</b><br/>Gramps maintains a list of previous active objects such as People and Events. You can move forward and backward through the list using &quot;Go &gt; Forward&quot; and &quot;Go &gt; Back&quot; or the arrow buttons.</_tip>
<_tip number="24"><b>Navigating Back and Forward</b><br/>Gramps maintains a list of previous active objects such as People, Events and . You can move forward and backward through the list using &quot;Go &gt; Forward&quot; and &quot;Go &gt; Back&quot; or the arrow buttons.</_tip>
<_tip number="25"><b>Keyboard Shortcuts</b><br/>Tired of having to take your hand off the keyboard to use the mouse? Many functions in Gramps have keyboard shortcuts. If one exists for a function it is displayed on the right side of the menu.</_tip>
@@ -67,11 +67,11 @@
<_tip number="36"><b>Bookmarking Individuals</b><br/>The Bookmarks menu is a convenient place to store the names of frequently used individuals. Selecting a bookmark will make that person the Active Person. To bookmark someone make them the Active Person then go to &quot;Bookmarks &gt; Add Bookmark&quot; or press Ctrl+D. You can also bookmark most of the other objects.</_tip>
<_tip number="37"><b>Incorrect Dates</b><br/>Everyone occasionally enters dates with an invalid format. Incorrect date formats will show up in Gramps with a either a reddish background or a red dot on the right edge of the field. You can fix the date using the Date Selection dialog which can be opened by clicking on the date button. The format of the date is set under &quot;Edit &gt; Preferences &gt; Display&quot;.</_tip>
<_tip number="37"><b>Incorrect Dates</b><br/>Everyone occasionally enters dates with an invalid format. Incorrect date formats will show up in Gramps with a reddish background. You can fix the date using the Date Selection dialog which can be opened by clicking on the date button. The format of the date is set under &quot;Edit &gt; Preferences &gt; Display&quot;.</_tip>
<_tip number="38"><b>Listing Events</b><br/>Events are added using the editor opened with &quot;Person &gt; Edit Person &gt; Events&quot;. There is a long list of preset event types. You can add your own event types by typing in the text field, they will be added to the available events, but not translated.</_tip>
<_tip number="39"><b>Managing Names</b><br/>It is easy to manage people with several names in Gramps. In the Person Editor select the Names tab. You can add names of different types and set the preferred name by dragging it to the Preferred Name section.</_tip>
<_tip number="39"><b>Managing Names</b><br/>It is easy to manage people with several names in Gramps. In the Person Editor select the Names tab. You can add names of different types and set the prefered name by dragging it to the Prefered Name section.</_tip>
<_tip number="40"><b>Ancestor View</b><br/>The Ancestry View displays a traditional pedigree chart. Hold the mouse over an individual to see more information about them or right click on an individual to access other family members and settings. Play with the settings to see the different options.</_tip>
@@ -89,7 +89,7 @@
<_tip number="48"><b>Web Family Tree Format</b><br/>Gramps can export data to the Web Family Tree (WFT) format. This format allows a family tree to be displayed online using a single file, instead of many html files.</_tip>
<_tip number="49"><b>Making a Genealogy Website</b><br/>You can easily export your family tree to a web page. Select the entire database, family lines or selected individuals to a collection of web pages ready for upload to the World Wide Web.</_tip>
<_tip number="49"><b>Making a Genealogy Website</b><br/>You can easily export your family tree to a web page. Select the entire database, family lines or selected individuals to a collection of web pages ready for upload to the World Wide Web. The Gramps project provides free hosting of websites made with Gramps.</_tip>
<_tip number="50"><b>Reporting Bugs in Gramps</b><br/>The best way to report a bug in Gramps is to use the Gramps bug tracking system at http://bugs.gramps-project.org</_tip>
@@ -111,7 +111,7 @@
<_tip number="62"><b>The 'How and Why' of Your Genealogy</b><br/> Genealogy isn't only about dates and names. It is about people. Be descriptive. Include why things happened, and how descendants might have been shaped by the events they went through. Narratives go a long way in making your family history come alive.</_tip>
<_tip number="63"><b>Don't speak English?</b><br/>Volunteers have translated Gramps into more than 40 languages. If Gramps supports your language and it is not being displayed, set the default language in your operating system and restart Gramps.</_tip>
<_tip number="63"><b>Don't speak English?</b><br/>Volunteers have translated Gramps into more than 20 languages. If Gramps supports your language and it is not being displayed, set the default language in your operating system and restart Gramps.</_tip>
<_tip number="64"><b>Gramps Translators</b><br/>Gramps has been designed so that new translations can easily be added with little development effort. If you are interested in participating please email gramps-devel@lists.sf.net</_tip>
+14 -14
View File
@@ -1,18 +1,18 @@
Gramps for Debian
gramps for Debian
----------------------
This is the Debian package of the 4.0 series of GRAMPS.
This is the Debian package of GRAMPS.
It is a major update of Gramps to upgrade to GTK 3. A switch was also made to distutils from autotools.
Regarding the extra dependencies:
The 4.0 series of Gramps is being packaged for the experimental distribution until all dependencies are available
and it proves stable.
Webkit - gir1.2-webkit-3.0 crashes. Gramps has been patched disable the hidden
HTML view instead until a solution is found.
Goocanvas2 - The latest Goocanvas is not available in Debian yet. If you miss
the Graphview plugin, you could try installing the gir1.2-goocanvas-2.0-9 which
is available in Ubuntu.
-- Ross Gammon <rossgammon@mail.dk> Sat, 25 Jan 2014 18:00:00 +0100
Recommends: graphviz
Enable creation of graphs
Recommends: python-gtkmozembed
Recommends: python-webkit
Enable html rendering for Geographic view and Web view. If both
are installed webkit will be used. python-gtkmozembed may be more
stable.
Suggests: ttf-freefont
Allows more fonts in reports
Suggests: python-gtkspell python-enchant
allows spell checking in the notes. Both need to be installed.
-12
View File
@@ -1,15 +1,3 @@
gramps (4.0.3) precise; urgency=low
* - 4.0.4-git.f08e40 Experimental stream gramps.git
-- Jérôme Rapinat <romjerome@yahoo.fr> Tue, 04 Feb 2014 19:49:32 +0100
gramps (4.0.2) precise; urgency=low
* experimental .deb for gramps 4.0.2
-- Jérôme Rapinat <romjerome@yahoo.fr> Wed, 04 Dec 2013 10:23:36 +0100
gramps (4.0.1-2) precise; urgency=low
* bug 6918: make package more compliant according to Debian policy
+1 -1
View File
@@ -1 +1 @@
9
7
+11 -44
View File
@@ -1,50 +1,17 @@
Source: gramps
Maintainer: Gramps Development Team <gramps-devel@lists.sourceforge.net>
Section: python
Priority: optional
Maintainer: Ross Gammon <rossgammon@mail.dk>
Build-Depends-Indep:
dh-linktree,
gettext,
intltool,
libxml-parser-perl,
python3-all,
python3-setuptools
Build-Depends:
dh-python,
debhelper (>= 9.0.0)
Standards-Version: 3.9.5
Vcs-Git: git://anonscm.debian.org/collab-maint/gramps.git
Vcs-browser: http://anonscm.debian.org/gitweb/?p=collab-maint/gramps.git
Build-Depends-Indep: libxml-parser-perl, gettext, intltool
Build-Depends: python-all (>= 2.7.0), debhelper (>= 7.4.3)
Standards-Version: 3.9.1
Homepage: http://www.gramps-project.org/
X-Python-Version: >= 3.2
Package: python3-gramps
Package: gramps
Architecture: all
Depends:
gir1.2-gtk-3.0 (>= 3.10.0),
librsvg2-2,
python3-gi,
python3-gi-cairo,
python3-bsddb3,
xdg-utils,
${misc:Depends},
${python3:Depends}
Recommends:
graphviz,
libosmgpsmap-1.0-0,
gir1.2-osmgpsmap-1.0,
python3-pyicu
Suggests:
fonts-freefont-ttf,
gir1.2-gexiv2-0.10,
gir1.2-gtkspell3-3.0,
python3-pil,
rcs
Description: Genealogical research program
Gramps is an Open Source genealogy program written in Python, using
the GTK/GNOME interface. It is an extremely flexible program fitting
the needs for both the amateur genealogist and serious genealogical
researcher.
Gramps has the ability to import GEDCOM files exported from many
proprietary genealogy programs and can produce a large number of
reports in many popular formats.
Depends: ${misc:Depends}, ${python:Depends}, python-gobject (>= 3.3.2), librsvg2-2
Recommends: python-pyicu, python-osmgpsmap, graphviz, xdg-utils
Suggests: ttf-freefont, python-gtkspell, libgexiv2-1, rcs, python-imaging, python-pygoocanvas
Description: (Genealogical Research and Analysis Management
Programming System) is a full featured genealogy program supporting
a Python based plugin system.
+233 -296
View File
@@ -1,314 +1,251 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: Gramps
Source: http://gramps-project.org
This package was originally debianized by Brandon L. Griffith
<brandon@debian.org> on Sat, 19 May 2001 13:37:24 -0400.
Files: *
Copyright: 2000-2007, Alex Roitman
2000-2002, Bruce J. DeGrasse
2000-2008, Donald N. Allingham
2000-2007, Martin Hawlisch
2001, Andrés Sepúlveda
2001, David R. Hampton
2001-2013, Free Software Foundation, Inc.
2001, Graham J. Williams
2001, Jesper Zedlitz
2001-2013, The Gramps Project
2002, Gary Shao
2003-2006, Josiah Carlson
2004-2006, Eero Tamminen
2004-2013, Julio Sánchez
2004, Toshio Kuratomi
2005-2011, Serge Noiraud
2006-2011, Brian G. Matherly
2006, 2008-2011, Kees Bakker
2006-2008, Steve Hall
2007-2012, Benny Malengier
2007-2012, Douglas S. Blank
2007-2012, Gary Burton
2007-2011, Jerome Rapinat
2007, Johan Gronqvist
2007, Robert Cawley
2007-2009, Stephane Charette
2007, Thom Sturgill
2007-2008, Zsolt Foldvari
2008-2010, 2012, Craig J. Anderson
2008-2009, James Friedmann
2008-2009, Jason Simanek
2008, Lukasz Rymarczyk
2008-2010, Peter G. Landgren
2008, 2010, Raphael Ackermann
2008-2011, Reinhard Mueller
2008, 2011, Robert Cheramy
2008-2012, Rob G. Healey
2008, Stefan Siegel
2008-2010, Stephen George
2009-2010, Andrew I Baznikin
2009, 2011, The Dojo Foundation
2009, Florian Heinle
2009, Gerald W. Britton
2009, Igal Shapira
2009, 2011, John Resig
2009-2013, Nick Hall
2009, Pander Musubi
2009, Robert Ham
2009, Swoon on bug tracker
2009, Yevgeny Zegzda
2010, Gramps
2010, Jakim Friant
2010, Josip
2010, lcc & Robert Jerome
2010-2012, Michiel D. Nauta
2010-2013, Tim G L Lyons
2010-2011, Vlada Perić
2011, Adam Stein
2011-2012, Harald Rosemann
2011, 2013, Heinz Brinker
2011, Helge Herz
2011, 2013 John Ralls
2011, Matt Keenan
2011-2013, Paul Franklin
2012, Mathieu MD
2012, Nicolas Adenis-Lamarre
2013, Fedir Zinchuk
2013, Oleh Petrivk
2013, Vassilii Khachaturov
2013, Zissis Papadopoulos
License: GPL-2+
The current Debian maintainer is James A. Treacy <treacy@debian.org>
Files: data/javascript/jquery-1.3.2.min.js
Copyright: 2009, John Resig
License: MIT and GPL
It was downloaded from http://gramps-project.org
Files: data/javascript/jquery-1.7.1.js
Copyright: 2011, John Resig
2011, The Dojo Foundation
License: BSD and MIT and GPL-2
Upstream Authors:
Donald N. Allingham, Alexander Roitman, Martin Hawlisch, Richard Taylor,
Brian Matherly, Tim Waugh, Donald A. Peterson, David Hampton
Files: data/javascript/jquery-ui-1.7.2.custom.min.js
Copyright: 2009, jQuery UI Team (http://jqueryui.com/about/)
License: MIT and GPL-2
========================================================
Copyright: 2001-2006 Donald N. Allingham
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
Files: data/javascript/jquery.flexbox*
Copyright: 2008-2010, Noah Heldman and Fairway Technologies
License: Ms-PL
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
Files: data/jhtmlarea/Readme.txt
Copyright: 2009, Chris Pietschmann
License: Ms-RL
You should have received a copy of the GNU General Public License with
the Debian GNU/Linux distribution in file /usr/share/common-licenses/GPL;
if not, write to the Free Software Foundation, Inc., 59 Temple Place,
Suite 330, Boston, MA 02111-1307 USA
Files: data/jhtmlarea/scripts/jHtmlArea*
Copyright: 2009, Chris Pietschmann
License: Ms-RL
On Debian systems, the complete text of the GNU General Public
License can be found in /usr/share/common-licenses/GPL
Files: data/jhtmlarea/scripts/jquery-1.3.2*
Copyright: 2009, John Resig
2009, The Dojo Foundation
License: MIT
========================================================
The files in help/C directory are Copyright 2006 Alexander Roitman
This documentation is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
Files: data/jhtmlarea/scripts/jquery-ui-*
Copyright: 2009, jQuery UI Team (http://jqueryui.com/about)
License: MIT and GPL
This documentation is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
Files: debian/*
Copyright: 2001-2002, Brandon L. Griffith
2002, Alex Roitman
2002-2012, James A. Treacy
2013, Ross Gammon
License: GPL-2+
You should have received a copy of the GNU General Public License with
the Debian GNU/Linux distribution in file /usr/share/common-licenses/GPL;
if not, write to the Free Software Foundation, Inc., 59 Temple Place,
Suite 330, Boston, MA 02111-1307 USA
Files: gramps/webapp/grampsdb/view/png.py
Copyright: 2006, Johann C. Rocholl
2009, David Jones
2006, Nicko van Someren
License: MIT
========================================================
The files in help/fr directory are Copyright 2003-2006 Jerome Rapinat
This documentation is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
License: BSD
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
* Neither the name of the <organization> nor the
names of its contributors may be used to endorse or promote products
derived from this software without specific prior written permission.
.
THIS SOFTWARE IS PROVIDED BY John Resig ''AS IS'' AND ANY
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL <copyright holder> BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This documentation is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
License: GPL
This package is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; version 1 only of the License.
.
On Debian systems, the complete text of the GNU General
Public License can be found in `/usr/share/common-licenses/GPL'.
You should have received a copy of the GNU General Public License with
the Debian GNU/Linux distribution in file /usr/share/common-licenses/GPL;
if not, write to the Free Software Foundation, Inc., 59 Temple Place,
Suite 330, Boston, MA 02111-1307 USA
License: GPL-2
This package is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; version 2 only of the License.
.
This package is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
.
You should have received a copy of the GNU General Public License
along with this package; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
.
On Debian systems, the complete text of the GNU General
Public License can be found in `/usr/share/common-licenses/GPL-2'.
========================================================
The data/grampsxml.dtd file is Copyright 2001 Graham J. William
and Copyright 2000-2006 Donald N. Allingham
License: GPL-2+
This package is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
.
This package is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
.
You should have received a copy of the GNU General Public License
along with this package; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
.
On Debian systems, the complete text of the GNU General
Public License can be found in `/usr/share/common-licenses/GPL-2'.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
License: MIT
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, distribute, sublicense,
and/or sell copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following conditions:
.
The above copyright notice and this permission notice shall be included
in all copies or substantial portions of the Software.
.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
License: Ms-PL
This license governs use of the accompanying software. If you use the
software, you accept this license. If you do not accept the license, do not
use the software.
.
1. Definitions
.
The terms "reproduce," "reproduction," "derivative works," and "distribution"
have the same meaning here as under U.S. copyright law.
.
A "contribution" is the original software, or any additions or changes to the
software.
.
A "contributor" is any person that distributes its contribution under this
license.
.
"Licensed patents" are a contributor's patent claims that read directly on its
contribution.
.
2. Grant of Rights
.
(A) Copyright Grant- Subject to the terms of this license, including the
license conditions and limitations in section 3, each contributor grants you a
non-exclusive, worldwide, royalty-free copyright license to reproduce its
contribution, prepare derivative works of its contribution, and distribute its
contribution or any derivative works that you create.
.
(B) Patent Grant- Subject to the terms of this license, including the license
conditions and limitations in section 3, each contributor grants you a
non-exclusive, worldwide, royalty-free license under its licensed patents to
make, have made, use, sell, offer for sale, import, and/or otherwise dispose of
its contribution in the software or derivative works of the contribution in the
software.
.
3. Conditions and Limitations
.
(A) No Trademark License- This license does not grant you rights to use any
contributors' name, logo, or trademarks.
.
(B) If you bring a patent claim against any contributor over patents that you
claim are infringed by the software, your patent license from such contributor
to the software ends automatically.
.
(C) If you distribute any portion of the software, you must retain all copyright,
patent, trademark, and attribution notices that are present in the software.
.
(D) If you distribute any portion of the software in source code form, you may do
so only under this license by including a complete copy of this license with your
distribution. If you distribute any portion of the software in compiled or object
code form, you may only do so under a license that complies with this license.
.
(E) The software is licensed "as-is." You bear the risk of using it. The
contributors give no express warranties, guarantees or conditions. You may have
additional consumer rights under your local laws which this license cannot change.
To the extent permitted under your local laws, the contributors exclude the
implied warranties of merchantability, fitness for a particular purpose and
non-infringement.
You should have received a copy of the GNU General Public License with
the Debian GNU/Linux distribution in file /usr/share/common-licenses/GPL;
if not, write to the Free Software Foundation, Inc., 59 Temple Place,
Suite 330, Boston, MA 02111-1307 USA
License: Ms-RL
This license governs use of the accompanying software. If you use the software,
you accept this license. If you do not accept the license, do not use the software.
.
1. Definitions
The terms "reproduce," "reproduction," "derivative works," and "distribution" have
the same meaning here as under U.S. copyright law.
A "contribution" is the original software, or any additions or changes to the
software.
A "contributor" is any person that distributes its contribution under this license.
"Licensed patents" are a contributor's patent claims that read directly on its
contribution.
.
2. Grant of Rights
(A) Copyright Grant- Subject to the terms of this license, including the license
conditions and limitations in section 3, each contributor grants you a
non-exclusive, worldwide, royalty-free copyright license to reproduce its
contribution, prepare derivative works of its contribution, and distribute its
contribution or any derivative works that you create.
(B) Patent Grant- Subject to the terms of this license, including the license
conditions and limitations in section 3, each contributor grants you a
non-exclusive, worldwide, royalty-free license under its licensed patents to make,
have made, use, sell, offer for sale, import, and/or otherwise dispose of its
contribution in the software or derivative works of the contribution in the software.
.
3. Conditions and Limitations
(A) Reciprocal Grants- For any file you distribute that contains code from the
software (in source code or binary format), you must provide recipients the source
code to that file along with a copy of this license, which license will govern that
file. You may license other files that are entirely your own work and do not contain
code from the software under any terms you choose.
(B) No Trademark License- This license does not grant you rights to use any
contributors' name, logo, or trademarks.
(C) If you bring a patent claim against any contributor over patents that you claim
are infringed by the software, your patent license from such contributor to the
software ends automatically.
(D) If you distribute any portion of the software, you must retain all copyright,
patent, trademark, and attribution notices that are present in the software.
(E) If you distribute any portion of the software in source code form, you may do so
only under this license by including a complete copy of this license with your
distribution. If you distribute any portion of the software in compiled or object code
form, you may only do so under a license that complies with this license.
(F) The software is licensed "as-is." You bear the risk of using it. The contributors
give no express warranties, guarantees or conditions. You may have additional consumer
rights under your local laws which this license cannot change. To the extent permitted
under your local laws, the contributors exclude the implied warranties of
merchantability, fitness for a particular purpose and non-infringement.
========================================================
The src/TreeTips.py file is Copyright 2004 Toshio Kuratomi
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License with
the Debian GNU/Linux distribution in file /usr/share/common-licenses/GPL;
if not, write to the Free Software Foundation, Inc., 59 Temple Place,
Suite 330, Boston, MA 02111-1307 USA
========================================================
The src/data/fdl.txt file is Copyright 2000,2001,2002
Free Software Foundation, Inc.
59 Temple Place, Suite 330,
Boston, MA 02111-1307 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
========================================================
The file src/docgen/ODFDoc.py file is Copyright 2005-2006 Serge Noiraud
and Copyright 2005-2006 Donald N. Allingham
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License with
the Debian GNU/Linux distribution in file /usr/share/common-licenses/GPL;
if not, write to the Free Software Foundation, Inc., 59 Temple Place,
Suite 330, Boston, MA 02111-1307 USA
========================================================
The file src/Mime/_WinMime.py file is Copyright 2006 Brian Matherly
and Copyright 2006 Donald N. Allingham
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License with
the Debian GNU/Linux distribution in file /usr/share/common-licenses/GPL;
if not, write to the Free Software Foundation, Inc., 59 Temple Place,
Suite 330, Boston, MA 02111-1307 USA
========================================================
The src/plugins/Ancestors.py file is Copyright 2003 Tim Waugh
and Copyright 2003-2006 Donald N. Allingham
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License with
the Debian GNU/Linux distribution in file /usr/share/common-licenses/GPL;
if not, write to the Free Software Foundation, Inc., 59 Temple Place,
Suite 330, Boston, MA 02111-1307 USA
========================================================
The src/plugins/CountAncestors.py file is Copyright 2001 Jesper Zedlitz
and Copyright 2001-2006 Donald N. Allingham
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License with
the Debian GNU/Linux distribution in file /usr/share/common-licenses/GPL;
if not, write to the Free Software Foundation, Inc., 59 Temple Place,
Suite 330, Boston, MA 02111-1307 USA
========================================================
The files:
src/plugins/DetAncestralReport.py
src/plugins/DetDescendantReport.py
are Copyright 2000-2002 Bruce J. DeGrasse
and Copyright 2002-2006 Donald N. Allingham
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License with
the Debian GNU/Linux distribution in file /usr/share/common-licenses/GPL;
if not, write to the Free Software Foundation, Inc., 59 Temple Place,
Suite 330, Boston, MA 02111-1307 USA
========================================================
The files:
src/date_test.py
src/DataViews/_PedigreeView.py
src/plugins/DumpGenderStats.py
src/plugins/ExportVCalendar.py
src/plugins/ExportVCard.py
src/plugins/ImportGeneWeb.py
src/plugins/ImportvCard.py
src/plugins/TestcaseGenerator.py
src/plugins/WriteGeneWeb.py
are Copyright 2001-2006 Martin Hawlisch, Donald N. Allingham
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License with
the Debian GNU/Linux distribution in file /usr/share/common-licenses/GPL;
if not, write to the Free Software Foundation, Inc., 59 Temple Place,
Suite 330, Boston, MA 02111-1307 USA
========================================================
The files:
src/ReportBase/__init__.py
src/ReportBase/_Report.py
are Copyright 2001 David R. Hampton
and Copyright 2001-2006 Donald N. Allingham
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License with
the Debian GNU/Linux distribution in file /usr/share/common-licenses/GPL;
if not, write to the Free Software Foundation, Inc., 59 Temple Place,
Suite 330, Boston, MA 02111-1307 USA
+2
View File
@@ -0,0 +1,2 @@
NEWS
README
+2
View File
@@ -0,0 +1,2 @@
usr/share/pixmaps
usr/share/mime/packages
+5
View File
@@ -0,0 +1,5 @@
AUTHORS
FAQ
NEWS
README
TODO
+3
View File
@@ -0,0 +1,3 @@
/usr/bin/
/usr/share/
/etc
-2
View File
@@ -1,2 +0,0 @@
# Install icon to the correct place
debian/gramps.xpm usr/share/pixmaps/
+1
View File
@@ -0,0 +1 @@
data/man/gramps.1.in
+3
View File
@@ -0,0 +1,3 @@
?package(gramps):needs="X11" section="Applications/Office"\
title="gramps" command="/usr/bin/gramps"\
icon="/usr/share/pixmaps/gramps.xpm"
+3
View File
@@ -0,0 +1,3 @@
#!/bin/sh -e
#DEBHELPER#
+3
View File
@@ -0,0 +1,3 @@
#!/bin/sh -e
#DEBHELPER#
+14
View File
@@ -0,0 +1,14 @@
#! /bin/sh
set -e
# This was added by stdeb to workaround Debian #479852. In a nutshell,
# pycentral does not remove normally remove its symlinks on an
# upgrade. Since we're using python-support, however, those symlinks
# will be broken. This tells python-central to clean up any symlinks.
if [ -e /var/lib/dpkg/info/gramps.list ] && which pycentral >/dev/null 2>&1
then
pycentral pkgremove gramps
fi
#DEBHELPER#
+3
View File
@@ -0,0 +1,3 @@
#!/bin/sh -e
# #DEBHELPER#
+1
View File
@@ -0,0 +1 @@
2
+3 -30
View File
@@ -1,36 +1,9 @@
#!/usr/bin/make -f
# Uncomment this to turn on verbose mode.
export DH_VERBOSE=1
export DH_OPTIONS=-v
# This file was automatically generated by stdeb 0.6.0+git at
# Sun, 31 Mar 2013 16:54:38 +0200
%:
dh $@ --with python3 --buildsystem=pybuild
dh $@ --with python2 --buildsystem=python_distutils
# Override auto test because upstream do not use the standard unittest discover
override_dh_auto_test:
# Override of auto_build
override_dh_auto_build:
python3 setup.py build
# Override of auto_install to remove information from package
override_dh_auto_install:
#dh_auto_install
python3 setup.py install --resourcepath=/usr/share --root=debian/python3-gramps --install-layout=deb
# Remove duplicate copyright information
rm $(CURDIR)/debian/python3-gramps/usr/share/doc/gramps/COPYING
# Remove install file as it is not needed by package users
rm $(CURDIR)/debian/python3-gramps/usr/share/doc/gramps/INSTALL
# Remove duplicate license information
rm $(CURDIR)/debian/python3-gramps/usr/share/doc/gramps/LICENSE
ln -s /usr/share/common-licenses/GPL-2 $(CURDIR)/debian/python3-gramps/usr/share/doc/gramps/COPYING
# Make css style sheets and png icons non-executable
override_dh_fixperms:
dh_fixperms
chmod a-x $(CURDIR)/debian/python3-gramps/usr/share/gramps/css/Web_*.css
# Avoid compressing COPYING file so that it can appear in the "About" dialog
override_dh_compress:
dh_compress -X COPYING
-1
View File
@@ -1 +0,0 @@
1.8
+2
View File
@@ -0,0 +1,2 @@
shlibs:Depends=libbonobo2-0 (>= 2.4.3), libc6 (>= 2.3.2.ds1-4), libglib2.0-0 (>= 2.2.3), libgnomevfs2-0 (>= 2.4.1), libgnomevfs2-common (>= 2.4.1), liborbit2 (>= 1:2.8.0)
python:Depends=python (>= 2.3), python (<< 2.4)
+1 -1
View File
@@ -3,7 +3,7 @@
# You can set these variables from the command line.
SPHINXOPTS =
SPHINXBUILD = GRAMPS_RESOURCES=$$PWD/.. sphinx-build
SPHINXBUILD = sphinx-build
PAPER =
# Internal variables.
+3 -5
View File
@@ -3,9 +3,7 @@ Installation and building the docs
You need to install sphinx. Assuming you have installed the python setuptools, just do:
sudo easy_install sphinx
or
sudo pip install sphinx
sudo easy_install sphinx
Once installed, go to the docs directory, and do:
@@ -19,7 +17,7 @@ Documentation Guidelines
Doc strings in python files should be written in reStructured text: http://docutils.sourceforge.net/docs/user/rst/quickref.html
The typical docstring for Gramps should look like this:
The typical docstring for GRAMPS should look like this:
"""Brief synopsis
@@ -71,4 +69,4 @@ Change in many files something:
perl -pi -w -e "s/L{PersonRef}/:class:\`\~gen.lib.personref.PersonRef\`/g;" *.py
here L{PersonRef} is changed in :class:`~gen.lib.personref.PersonRef
`
`
+3 -4
View File
@@ -2,7 +2,7 @@
Code Documentation
##################
*Gramps* provides several general API. The most important is the *gen* module, providing access to all code that can be of interest outside of the Gramps program.
*GRAMPS* provides several general API. The most important is the *gen* module, providing access to all code that can be of interest outside of the GRAMPS program.
The :mod:`gen` Module
=======================
@@ -22,7 +22,7 @@ Contents:
gen/gen_proxy
gen/gen_utils
The Gramps Application
The GRAMPS Application
========================
Contents:
@@ -32,12 +32,11 @@ Contents:
corecli/cli
coregui/gui
coregui/gui_widgets
date
relationship
simple
Useful snippets
Usefull snippets
===================
Contents:
+4 -6
View File
@@ -25,7 +25,7 @@ sys.path.append(os.path.abspath(os.pardir))
# Add any Sphinx extension module names here, as strings. They can be extensions
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
extensions = ['sphinx.ext.autodoc', 'sphinx.ext.todo', 'sphinx.ext.coverage', 'sphinx.ext.viewcode']
extensions = ['sphinx.ext.autodoc', 'sphinx.ext.todo', 'sphinx.ext.coverage']
# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
@@ -41,16 +41,16 @@ master_doc = 'index'
# General information about the project.
project = u'Gramps'
copyright = u'2015, The Gramps Project'
copyright = u'2013, The Gramps Project'
# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
# built documents.
#
# The short X.Y version.
version = '4.2.0'
version = '4.0'
# The full version, including alpha/beta/rc tags.
release = '4.2.0-master'
release = '4.0.0'
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
@@ -89,8 +89,6 @@ pygments_style = 'sphinx'
# A list of ignored prefixes for module index sorting.
#modindex_common_prefix = []
# If true, todo entries will be included in the output.
todo_include_todos = True
# -- Options for HTML output ---------------------------------------------------
+19 -2
View File
@@ -153,6 +153,23 @@ Filter Editor
:undoc-members:
:show-inheritance:
*****************************
Gramps Bar
*****************************
.. automodule:: gramps.gui.widgets.grampletbar
.. autoclass:: DetachedWindow
:members:
:undoc-members:
:show-inheritance:
.. autoclass:: GrampletBar
:members:
:undoc-members:
:show-inheritance:
.. autoclass:: TabGramplet
:members:
:undoc-members:
:show-inheritance:
*****************************
Navigator
*****************************
@@ -163,7 +180,7 @@ Navigator
:show-inheritance:
*****************************
Plugin Manager
Plugins Manager
*****************************
.. automodule:: gramps.gui.pluginmanager
.. autoclass:: GuiPluginManager
@@ -198,7 +215,7 @@ Utils
:show-inheritance:
*****************************
View Manager
Views Manager
*****************************
.. automodule:: gramps.gui.viewmanager
.. autoclass:: ViewManager
-433
View File
@@ -1,433 +0,0 @@
####################################
The :mod:`gramps.gui.widgets` Module
####################################
.. automodule:: gramps.gui.widgets
*****************************
Basic Entry
*****************************
.. automodule:: gramps.gui.widgets.basicentry
.. autoclass:: BasicEntry
:members:
:undoc-members:
:show-inheritance:
*****************************
Buttons
*****************************
.. automodule:: gramps.gui.widgets.buttons
.. autoclass:: IconButton
:members:
:undoc-members:
:show-inheritance:
.. autoclass:: WarnButton
:members:
:undoc-members:
:show-inheritance:
.. autoclass:: SimpleButton
:members:
:undoc-members:
:show-inheritance:
.. autoclass:: PrivacyButton
:members:
:undoc-members:
:show-inheritance:
*****************************
Date Entry
*****************************
.. automodule:: gramps.gui.widgets.dateentry
.. autoclass:: DateEntry
:members:
:undoc-members:
:show-inheritance:
*****************************
Expand Collapse Arrow
*****************************
.. automodule:: gramps.gui.widgets.expandcollapsearrow
.. autoclass:: ExpandCollapseArrow
:members:
:undoc-members:
:show-inheritance:
*****************************
Fanchart
*****************************
.. automodule:: gramps.gui.widgets.fanchart
.. autoclass:: FanChartBaseWidget
:members:
:undoc-members:
:show-inheritance:
.. autoclass:: FanChartWidget
:members:
:undoc-members:
:show-inheritance:
.. autoclass:: FanChartGrampsGUI
:members:
:undoc-members:
:show-inheritance:
*****************************
Fanchart Descendant
*****************************
.. automodule:: gramps.gui.widgets.fanchartdesc
.. autoclass:: FanChartDescWidget
:members:
:undoc-members:
:show-inheritance:
.. autoclass:: FanChartDescGrampsGUI
:members:
:undoc-members:
:show-inheritance:
*****************************
Gramplet Bar
*****************************
.. automodule:: gramps.gui.widgets.grampletbar
.. autoclass:: DetachedWindow
:members:
:undoc-members:
:show-inheritance:
.. autoclass:: GrampletBar
:members:
:undoc-members:
:show-inheritance:
.. autoclass:: TabGramplet
:members:
:undoc-members:
:show-inheritance:
*****************************
Gramplet Pane
*****************************
.. automodule:: gramps.gui.widgets.grampletpane
.. autoclass:: LinkTag
:members:
:undoc-members:
:show-inheritance:
.. autoclass:: GrampletWindow
:members:
:undoc-members:
:show-inheritance:
.. autoclass:: GuiGramplet
:members:
:undoc-members:
:show-inheritance:
.. autoclass:: GridGramplet
:members:
:undoc-members:
:show-inheritance:
.. autoclass:: GrampletPane
:members:
:undoc-members:
:show-inheritance:
.. autoclass:: Configuration
:members:
:undoc-members:
:show-inheritance:
*****************************
Labels
*****************************
.. automodule:: gramps.gui.widgets.labels
.. autoclass:: LinkLabel
:members:
:undoc-members:
:show-inheritance:
.. autoclass:: EditLabel
:members:
:undoc-members:
:show-inheritance:
.. autoclass:: BasicLabel
:members:
:undoc-members:
:show-inheritance:
.. autoclass:: GenderLabel
:members:
:undoc-members:
:show-inheritance:
.. autoclass:: MarkupLabel
:members:
:undoc-members:
:show-inheritance:
.. autoclass:: DualMarkupLabel
:members:
:undoc-members:
:show-inheritance:
*****************************
Link Box
*****************************
.. automodule:: gramps.gui.widgets.linkbox
.. autoclass:: LinkBox
:members:
:undoc-members:
:show-inheritance:
*****************************
Menu Item
*****************************
.. automodule:: gramps.gui.widgets.menuitem
.. autoclass:: MenuItemWithData
:members:
:undoc-members:
:show-inheritance:
*****************************
Monitored Widgets
*****************************
.. automodule:: gramps.gui.widgets.monitoredwidgets
.. autoclass:: MonitoredCheckbox
:members:
:undoc-members:
:show-inheritance:
.. autoclass:: MonitoredEntry
:members:
:undoc-members:
:show-inheritance:
.. autoclass:: MonitoredEntryIndicator
:members:
:undoc-members:
:show-inheritance:
.. autoclass:: MonitoredSpinButton
:members:
:undoc-members:
:show-inheritance:
.. autoclass:: MonitoredText
:members:
:undoc-members:
:show-inheritance:
.. autoclass:: MonitoredType
:members:
:undoc-members:
:show-inheritance:
.. autoclass:: MonitoredDataType
:members:
:undoc-members:
:show-inheritance:
.. autoclass:: MonitoredMenu
:members:
:undoc-members:
:show-inheritance:
.. autoclass:: MonitoredStrMenu
:members:
:undoc-members:
:show-inheritance:
.. autoclass:: MonitoredDate
:members:
:undoc-members:
:show-inheritance:
.. autoclass:: MonitoredComboSelectedEntry
:members:
:undoc-members:
:show-inheritance:
.. autoclass:: MonitoredTagList
:members:
:undoc-members:
:show-inheritance:
*****************************
Multi Tree View
*****************************
.. automodule:: gramps.gui.widgets.multitreeview
.. autoclass:: MultiTreeView
:members:
:undoc-members:
:show-inheritance:
*****************************
Photo
*****************************
.. automodule:: gramps.gui.widgets.photo
.. autoclass:: Photo
:members:
:undoc-members:
:show-inheritance:
*****************************
Progress Dialog
*****************************
.. automodule:: gramps.gui.widgets.progressdialog
.. autoclass:: LongOpStatus
:members:
:undoc-members:
:show-inheritance:
.. autoclass:: ProgressMonitor
:members:
:undoc-members:
:show-inheritance:
.. autoclass:: GtkProgressDialog
:members:
:undoc-members:
:show-inheritance:
*****************************
Shortlist ComboEntry
*****************************
.. automodule:: gramps.gui.widgets.shortlistcomboentry
.. autoclass:: ShortlistComboEntry
:members:
:undoc-members:
:show-inheritance:
*****************************
Spring Separator
*****************************
.. automodule:: gramps.gui.widgets.springseparator
.. autoclass:: SpringSeparatorToolItem
:members:
:undoc-members:
:show-inheritance:
.. autoclass:: SpringSeparatorAction
:members:
:undoc-members:
:show-inheritance:
*****************************
Statusbar
*****************************
.. automodule:: gramps.gui.widgets.statusbar
.. autoclass:: Statusbar
:members:
:undoc-members:
:show-inheritance:
*****************************
Styled Text Buffer
*****************************
.. automodule:: gramps.gui.widgets.styledtextbuffer
.. autoclass:: LinkTag
:members:
:undoc-members:
:show-inheritance:
.. autoclass:: GtkSpellState
:members:
:undoc-members:
:show-inheritance:
.. autoclass:: StyledTextBuffer
:members:
:undoc-members:
:show-inheritance:
*****************************
Styled Text Editor
*****************************
.. automodule:: gramps.gui.widgets.styledtexteditor
.. autoclass:: StyledTextEditor
:members:
:undoc-members:
:show-inheritance:
*****************************
Tool ComboEntry
*****************************
.. automodule:: gramps.gui.widgets.toolcomboentry
.. autoclass:: ToolComboEntry
:members:
:undoc-members:
:show-inheritance:
*****************************
Undoable Buffer
*****************************
.. automodule:: gramps.gui.widgets.undoablebuffer
.. autoclass:: Stack
:members:
:undoc-members:
:show-inheritance:
.. autoclass:: UndoableInsert
:members:
:undoc-members:
:show-inheritance:
.. autoclass:: UndoableDelete
:members:
:undoc-members:
:show-inheritance:
.. autoclass:: UndoableBuffer
:members:
:undoc-members:
:show-inheritance:
*****************************
Undoable Entry
*****************************
.. automodule:: gramps.gui.widgets.undoableentry
.. autoclass:: UndoableInsertEntry
:members:
:undoc-members:
:show-inheritance:
.. autoclass:: UndoableDeleteEntry
:members:
:undoc-members:
:show-inheritance:
.. autoclass:: UndoableEntry
:members:
:undoc-members:
:show-inheritance:
*****************************
Undoable Styled Buffer
*****************************
.. automodule:: gramps.gui.widgets.undoablestyledbuffer
.. autoclass:: UndoableInsertStyled
:members:
:undoc-members:
:show-inheritance:
.. autoclass:: UndoableDeleteStyled
:members:
:undoc-members:
:show-inheritance:
.. autoclass:: UndoableApplyStyle
:members:
:undoc-members:
:show-inheritance:
.. autoclass:: UndoableStyledBuffer
:members:
:undoc-members:
:show-inheritance:
*****************************
Validated Combo Entry
*****************************
.. automodule:: gramps.gui.widgets.validatedcomboentry
.. autoclass:: ValidatedComboEntry
:members:
:undoc-members:
:show-inheritance:
*****************************
Validated Masked Entry
*****************************
.. automodule:: gramps.gui.widgets.validatedmaskedentry
.. autoclass:: FadeOut
:members:
:undoc-members:
:show-inheritance:
.. autoclass:: MaskedEntry
:members:
:undoc-members:
:show-inheritance:
.. autoclass:: ValidatableMaskedEntry
:members:
:undoc-members:
:show-inheritance:
*****************************
Value Action
*****************************
.. automodule:: gramps.gui.widgets.valueaction
.. autoclass:: ValueAction
:members:
:undoc-members:
:show-inheritance:
*****************************
Value Tool Item
*****************************
.. automodule:: gramps.gui.widgets.valuetoolitem
.. autoclass:: ValueToolItem
:members:
:undoc-members:
:show-inheritance:
-7
View File
@@ -10,13 +10,6 @@ DateParser
:undoc-members:
:show-inheritance:
DateStrings
===========
.. automodule:: gramps.gen.datehandler._datestrings
.. autoclass:: DateStrings
:members:
:show-inheritance:
DateDisplay
====================================
.. automodule:: gramps.gen.datehandler._datedisplay
+1 -1
View File
@@ -1,4 +1,4 @@
Developer Guide
===============
Please consult the API documentation, and the development section of `our wiki <https://gramps-project.org/wiki/index.php?title=Portal:Developers>`_\ .
Please consult the API documentation, and the development part of `our wiki <http://gramps-project.org>`_\ .
+3 -54
View File
@@ -24,28 +24,14 @@ AddressBase
:undoc-members:
:show-inheritance:
AttributeRootBase
====================================
.. automodule:: gramps.gen.lib.attrbase
.. autoclass:: AttributeRootBase
:members:
:undoc-members:
:show-inheritance:
AttributeBase
====================================
.. automodule:: gramps.gen.lib.attrbase
.. autoclass:: AttributeBase
:members:
:undoc-members:
:show-inheritance:
SrcAttributeBase
====================================
.. autoclass:: SrcAttributeBase
:members:
:undoc-members:
:show-inheritance:
CitationBase
====================================
.. automodule:: gramps.gen.lib.citationbase
@@ -54,13 +40,6 @@ CitationBase
:undoc-members:
:show-inheritance:
IndirectCitationBase
====================================
.. autoclass:: IndirectCitationBase
:members:
:undoc-members:
:show-inheritance:
DateBase
====================================
.. automodule:: gramps.gen.lib.datebase
@@ -268,13 +247,6 @@ Attribute
:undoc-members:
:show-inheritance:
AttributeRoot
====================================
.. autoclass:: AttributeRoot
:members:
:undoc-members:
:show-inheritance:
LdsOrd
====================================
.. automodule:: gramps.gen.lib.ldsord
@@ -351,14 +323,6 @@ PersonRef
:undoc-members:
:show-inheritance:
PlaceRef
====================================
.. automodule:: gramps.gen.lib.placeref
.. autoclass:: PlaceRef
:members:
:undoc-members:
:show-inheritance:
RepoRef
====================================
.. automodule:: gramps.gen.lib.reporef
@@ -368,7 +332,7 @@ RepoRef
:show-inheritance:
*****************************
Table objects
Table object
*****************************
Table object
@@ -378,14 +342,6 @@ Table object
:undoc-members:
:show-inheritance:
Tag
====================================
.. automodule:: gramps.gen.lib.tag
.. autoclass:: Tag
:members:
:undoc-members:
:show-inheritance:
*****************************
Date objects
*****************************
@@ -530,13 +486,6 @@ NoteType
:undoc-members:
:show-inheritance:
PlaceType
=========
.. automodule:: gramps.gen.lib.placetype
:members:
:undoc-members:
:show-inheritance:
RepositoryType
==============
.. automodule:: gramps.gen.lib.repotype
@@ -570,7 +519,7 @@ Privacy
*****************************
PrivateSourceNote
=================
============
.. automodule:: gramps.gen.lib.privsrcnote
.. autoclass:: PrivateSourceNote
+43 -66
View File
@@ -4,12 +4,12 @@ The :mod:`gramps.gen.utils` Module
.. automodule:: gramps.gen.utils
**********************************
Utilities
**********************************
Callback
Utils
====================================
.. automodule:: gramps.gen.utils.alive
:members:
:undoc-members:
:show-inheritance:
.. automodule:: gramps.gen.utils.callback
:members:
:undoc-members:
@@ -18,10 +18,7 @@ Callback
:members:
:undoc-members:
:show-inheritance:
Configuration
====================================
.. automodule:: gramps.gen.utils.configmanager
.. automodule:: gramps.gen.utils.cast
:members:
:undoc-members:
:show-inheritance:
@@ -29,10 +26,7 @@ Configuration
:members:
:undoc-members:
:show-inheritance:
Database
====================================
.. automodule:: gramps.gen.utils.alive
.. automodule:: gramps.gen.utils.configmanager
:members:
:undoc-members:
:show-inheritance:
@@ -40,62 +34,45 @@ Database
:members:
:undoc-members:
:show-inheritance:
.. automodule:: gramps.gen.utils.file
:members:
:undoc-members:
:show-inheritance:
.. automodule:: gramps.gen.utils.grampslocale
:members:
:undoc-members:
:show-inheritance:
.. automodule:: gramps.gen.utils.id
:members:
:undoc-members:
:show-inheritance:
.. automodule:: gramps.gen.utils.image
:members:
:undoc-members:
:show-inheritance:
.. automodule:: gramps.gen.utils.keyword
:members:
:undoc-members:
:show-inheritance:
.. automodule:: gramps.gen.utils.lds
:members:
:undoc-members:
:show-inheritance:
.. automodule:: gramps.gen.utils.maclocale
:members:
:undoc-members:
:show-inheritance:
.. automodule:: gramps.gen.utils.place
:members:
:undoc-members:
:show-inheritance:
.. automodule:: gramps.gen.utils.string
:members:
:undoc-members:
:show-inheritance:
.. automodule:: gramps.gen.utils.unknown
:members:
:undoc-members:
:show-inheritance:
File
====================================
.. automodule:: gramps.gen.utils.file
:members:
:undoc-members:
:show-inheritance:
Image
====================================
.. automodule:: gramps.gen.utils.image
:members:
:undoc-members:
:show-inheritance:
Locale
====================================
.. automodule:: gramps.gen.utils.grampslocale
:members:
:undoc-members:
:show-inheritance:
.. automodule:: gramps.gen.utils.maclocale
:members:
:undoc-members:
:show-inheritance:
.. automodule:: gramps.gen.utils.keyword
:members:
:undoc-members:
:show-inheritance:
Place
====================================
.. automodule:: gramps.gen.utils.place
:members:
:undoc-members:
:show-inheritance:
Other
====================================
.. automodule:: gramps.gen.utils.cast
:members:
:undoc-members:
:show-inheritance:
.. automodule:: gramps.gen.utils.id
:members:
:undoc-members:
:show-inheritance:
.. automodule:: gramps.gen.utils.lds
:members:
:undoc-members:
:show-inheritance:
.. automodule:: gramps.gen.utils.string
:members:
:undoc-members:
:show-inheritance:
+1 -1
View File
@@ -19,7 +19,7 @@
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
"""
update_doc.py for Gramps API(s) documentation.
+1 -1
View File
@@ -1,4 +1,4 @@
User Guide
==========
Please consult the manual which you find on `our wiki <https://gramps-project.org/wiki/index.php?title=User_manual>`_\ .
Please consult the manual which you find on `our wiki <http://www.gramps-project.org/wiki/index.php?title=User_manual>`_\ .
-7
View File
@@ -1,7 +0,0 @@
person,surname,given
a,"CSV Surname","Given 1"
b,"CSV Surname","Given 2"
marriage,mother,father
1,a,b
1 person surname given
2 a CSV Surname Given 1
3 b CSV Surname Given 2
4 marriage mother father
5 1 a b
Regular → Executable
+32 -32
View File
@@ -25,7 +25,7 @@
1 BIRT
2 TYPE Birth of Anna Hansdotter
2 DATE 2 OCT 1864
2 PLAC Löderup, Malmöhus Län, Sweden
2 PLAC Loderup, Malmous Lan, Sweden
1 DEAT
2 TYPE Death of Anna Hansdotter
2 DATE 29 SEP 1945
@@ -55,7 +55,7 @@
1 BIRT
2 TYPE Birth of Hans Peter Smith
2 DATE 17 APR 1904
2 PLAC Rønne, Bornholm, Denmark
2 PLAC Ronne, Bornholm, Denmark
1 DEAT
2 TYPE Death of Hans Peter Smith
2 DATE 29 JAN 1977
@@ -74,7 +74,7 @@
1 BIRT
2 TYPE Birth of Hanna Smith
2 DATE 29 JAN 1821
2 PLAC Gladsax, Kristianstad Län, Sweden
2 PLAC Gladsax, Kristianstad Lan, Sweden
1 FAMC @F0@
1 CHAN
2 DATE 21 DEC 2007
@@ -87,7 +87,7 @@
1 BIRT
2 TYPE Birth of Herman Julius Nielsen
2 DATE 31 AUG 1889
2 PLAC Rønne, Bornholm, Denmark
2 PLAC Ronne, Bornholm, Denmark
1 DEAT
2 TYPE Death of Herman Julius Nielsen
2 DATE 1945
@@ -128,7 +128,7 @@
1 BIRT
2 TYPE Birth of Gus Smith
2 DATE 11 SEP 1897
2 PLAC Rønne, Bornholm, Denmark
2 PLAC Ronne, Bornholm, Denmark
1 DEAT
2 TYPE Death of Gus Smith
2 DATE 21 OCT 1963
@@ -146,7 +146,7 @@
1 BIRT
2 TYPE Birth of Jennifer Anderson
2 DATE 5 NOV 1907
2 PLAC Rønne, Bornholm, Denmark
2 PLAC Ronne, Bornholm, Denmark
1 DEAT
2 TYPE Death of Jennifer Anderson
2 DATE 29 MAY 1985
@@ -163,7 +163,7 @@
1 BIRT
2 TYPE Birth of Lillie Harriet Jones
2 DATE 2 MAY 1910
2 PLAC Rønne, Bornholm, Denmark
2 PLAC Ronne, Bornholm, Denmark
1 DEAT
2 TYPE Death of Lillie Harriet Jones
2 DATE 26 JUN 1990
@@ -227,7 +227,7 @@
1 BIRT
2 TYPE Birth of Carl Emil Smith
2 DATE 20 DEC 1899
2 PLAC Rønne, Bornholm, Denmark
2 PLAC Ronne, Bornholm, Denmark
1 DEAT
2 TYPE Death of Carl Emil Smith
2 DATE 28 JAN 1959
@@ -245,11 +245,11 @@
1 BIRT
2 TYPE Birth of Hjalmar Smith
2 DATE 31 JAN 1893
2 PLAC Rønne, Bornholm, Denmark
2 PLAC Ronne, Bornholm, Denmark
1 DEAT
2 TYPE Death of Hjalmar Smith
2 DATE 25 SEP 1894
2 PLAC Rønne, Bornholm, Denmark
2 PLAC Ronne, Bornholm, Denmark
1 FAMC @F3@
1 CHAN
2 DATE 21 DEC 2007
@@ -262,7 +262,7 @@
1 BIRT
2 TYPE Birth of Martin Smith
2 DATE 19 NOV 1830
2 PLAC Gladsax, Kristianstad Län, Sweden
2 PLAC Gladsax, Kristianstad Lan, Sweden
1 DEAT
2 TYPE Death of Martin Smith
2 DATE BET 1899 AND 1905
@@ -270,7 +270,7 @@
1 BAPM
2 TYPE Baptism of Martin Smith
2 DATE 23 NOV 1830
2 PLAC Gladsax, Kristianstad Län, Sweden
2 PLAC Gladsax, Kristianstad Lan, Sweden
1 FAMC @F0@
1 FAMS @F2@
1 NOTE @N0002@
@@ -285,7 +285,7 @@
1 BIRT
2 TYPE Birth of Astrid Shermanna Augusta Smith
2 DATE 31 JAN 1889
2 PLAC Rønne, Bornholm, Denmark
2 PLAC Ronne, Bornholm, Denmark
1 DEAT
2 TYPE Death of Astrid Shermanna Augusta Smith
2 DATE 21 DEC 1963
@@ -304,7 +304,7 @@
1 BIRT
2 TYPE Birth of Gustaf Smith, Sr.
2 DATE 28 NOV 1862
2 PLAC Grostorp, Kristianstad Län, Sweden
2 PLAC Grostorp, Kristianstad Lan, Sweden
1 DEAT
2 TYPE Death of Gustaf Smith, Sr.
2 DATE BEF 23 JUL 1930
@@ -316,7 +316,7 @@
1 CHR
2 TYPE Christening of Gustaf Smith, Sr.
2 DATE 7 DEC 1862
2 PLAC Gladsax, Kristianstad Län, Sweden
2 PLAC Gladsax, Kristianstad Lan, Sweden
1 FAMC @F2@
1 FAMS @F3@
1 CHAN
@@ -343,7 +343,7 @@
1 BIRT
2 TYPE Birth of Kirsti Marie Smith
2 DATE 15 DEC 1886
2 PLAC Rønne, Bornholm, Denmark
2 PLAC Ronne, Bornholm, Denmark
1 DEAT
2 TYPE Death of Kirsti Marie Smith
2 DATE 18 JUL 1966
@@ -378,7 +378,7 @@
1 DEAT
2 TYPE Death of Anna Streiffert
2 DATE 2 FEB 1927
2 PLAC Rønne, Bornholm, Denmark
2 PLAC Ronne, Bornholm, Denmark
1 FAMS @F11@
1 CHAN
2 DATE 21 DEC 2007
@@ -407,11 +407,11 @@
1 BIRT
2 TYPE Birth of Magnes Smith
2 DATE 6 OCT 1858
2 PLAC Simrishamn, Kristianstad Län, Sweden
2 PLAC Simrishamn, Kristianstad Lan, Sweden
1 DEAT
2 TYPE Death of Magnes Smith
2 DATE 20 FEB 1910
2 PLAC Rønne, Bornholm, Denmark
2 PLAC Ronne, Bornholm, Denmark
1 FAMC @F2@
1 FAMS @F11@
1 CHAN
@@ -515,14 +515,14 @@
1 BIRT
2 TYPE Birth of Elna Jefferson
2 DATE 14 SEP 1800
2 PLAC Gladsax, Kristianstad Län, Sweden
2 PLAC Gladsax, Kristianstad Lan, Sweden
1 DEAT
2 TYPE Death of Elna Jefferson
2 PLAC Sweden
1 CHR
2 TYPE Christening of Elna Jefferson
2 DATE 16 SEP 1800
2 PLAC Gladsax, Kristianstad Län, Sweden
2 PLAC Gladsax, Kristianstad Lan, Sweden
1 FAMS @F0@
1 CHAN
2 DATE 21 DEC 2007
@@ -560,7 +560,7 @@
1 BIRT
2 TYPE Birth of Kerstina Hansdotter
2 DATE 29 NOV 1832
2 PLAC Smestorp, Kristianstad Län, Sweden
2 PLAC Smestorp, Kristianstad Lan, Sweden
1 DEAT
2 TYPE Death of Kerstina Hansdotter
2 DATE BEF 1908
@@ -577,7 +577,7 @@
1 BIRT
2 TYPE Birth of Martin Smith
2 DATE BET 1794 AND 1796
2 PLAC Tommarp, Kristianstad Län, Sweden
2 PLAC Tommarp, Kristianstad Lan, Sweden
1 DEAT
2 TYPE Death of Martin Smith
2 PLAC Sweden
@@ -594,7 +594,7 @@
1 BIRT
2 TYPE Birth of Ingeman Smith
2 DATE 29 JAN 1826
2 PLAC Gladsax, Kristianstad Län, Sweden
2 PLAC Gladsax, Kristianstad Lan, Sweden
1 FAMC @F0@
1 CHAN
2 DATE 21 DEC 2007
@@ -661,7 +661,7 @@
1 BIRT
2 TYPE Birth of Ingar Smith
2 DATE AFT 1823
2 PLAC Gladsax, Kristianstad Län, Sweden
2 PLAC Gladsax, Kristianstad Lan, Sweden
1 FAMC @F0@
1 CHAN
2 DATE 21 DEC 2007
@@ -674,7 +674,7 @@
1 BIRT
2 TYPE Birth of Hjalmar Smith
2 DATE 7 APR 1895
2 PLAC Rønne, Bornholm, Denmark
2 PLAC Ronne, Bornholm, Denmark
1 DEAT
2 TYPE Death of Hjalmar Smith
2 DATE 26 JUN 1975
@@ -682,7 +682,7 @@
1 BAPM
2 TYPE Baptism of Hjalmar Smith
2 DATE 3 JUN 1895
2 PLAC Rønne Bornholm, Denmark
2 PLAC Ronne Bornholm, Denmark
1 EVEN
2 TYPE Immi
2 DATE 14 NOV 1912
@@ -701,7 +701,7 @@
1 BIRT
2 TYPE Birth of Emil Smith
2 DATE 27 SEP 1860
2 PLAC Simrishamn, Kristianstad Län, Sweden
2 PLAC Simrishamn, Kristianstad Lan, Sweden
1 FAMC @F2@
1 CHAN
2 DATE 21 DEC 2007
@@ -712,7 +712,7 @@
1 MARR
2 TYPE Marriage of Martin Smith and Elna Jefferson
2 DATE ABT 1816
2 PLAC Gladsax, Kristianstad Län, Sweden
2 PLAC Gladsax, Kristianstad Lan, Sweden
1 CHIL @I11@
1 CHIL @I7@
1 CHIL @I4@
@@ -748,7 +748,7 @@
1 MARR
2 TYPE Marriage of Magnes Smith and Anna Streiffert
2 DATE 24 AUG 1884
2 PLAC Rønne, Bornholm, Denmark
2 PLAC Ronne, Bornholm, Denmark
1 CHAN
2 DATE 21 DEC 2007
3 TIME 01:35:26
@@ -805,7 +805,7 @@
1 MARR
2 TYPE Marriage of Gustaf Smith, Sr. and Anna Hansdotter
2 DATE 27 NOV 1885
2 PLAC Rønne, Bornholm, Denmark
2 PLAC Ronne, Bornholm, Denmark
1 CHIL @I26@
1 CHIL @I23@
1 CHIL @I21@
@@ -831,7 +831,7 @@
1 MARR
2 TYPE Marriage of Herman Julius Nielsen and Astrid Shermanna Augusta Smith
2 DATE 30 NOV 1912
2 PLAC Rønne, Bornholm, Denmark
2 PLAC Ronne, Bornholm, Denmark
1 CHAN
2 DATE 21 DEC 2007
3 TIME 01:35:26
Binary file not shown.
-782
View File
@@ -1,782 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE database PUBLIC "-//Gramps//DTD Gramps XML 1.5.0//EN"
"http://gramps-project.org/xml/1.5.0/grampsxml.dtd">
<database xmlns="http://gramps-project.org/xml/1.5.0/">
<header>
<created date="2015-05-14" version="3.4.0"/>
<researcher>
</researcher>
</header>
<events>
<event handle="_cde77b2c30c13ea85db" change="1426803047" id="E0000">
<type>Birth</type>
<dateval val="1823" type="before"/>
</event>
<event handle="_cde77b7eff96ae8455f" change="1426803072" id="E0001">
<type>Birth</type>
<dateval val="1823-03" type="before"/>
</event>
<event handle="_cde77be2a67401f7b16" change="1426803096" id="E0002">
<type>Birth</type>
<dateval val="1823-03-13" type="before"/>
</event>
<event handle="_cde7b70d22b30f00b14" change="1426802975" id="E0003">
<type>Birth</type>
<dateval val="1822" type="after"/>
</event>
<event handle="_cde7b8eb90e0a8792a9" change="1426802998" id="E0004">
<type>Birth</type>
<dateval val="1822-02" type="after"/>
</event>
<event handle="_cde7b95cb7e40432538" change="1426803021" id="E0005">
<type>Birth</type>
<dateval val="1822-02-13" type="after"/>
</event>
<event handle="_cde7b9b2b00713c42af" change="1426802885" id="E0006">
<type>Birth</type>
<dateval val="1821" type="about"/>
</event>
<event handle="_cde7b9f0da51d2ff10a" change="1426802925" id="E0007">
<type>Birth</type>
<dateval val="1821-01" type="about"/>
</event>
<event handle="_cde7ba310240e18a0ea" change="1426802949" id="E0008">
<type>Birth</type>
<dateval val="1821-01-13" type="about"/>
</event>
<event handle="_ce00f22be3443f0c30b" change="1426803671" id="E0009">
<type>Birth</type>
<dateval val="1851"/>
</event>
<event handle="_ce00f2ab83911df5354" change="1426803701" id="E0010">
<type>Birth</type>
<dateval val="1852-02"/>
</event>
<event handle="_ce00f2eb2f86d94ece0" change="1426803729" id="E0011">
<type>Birth</type>
<dateval val="1853-03-04"/>
</event>
<event handle="_cfa02e904f161e652da" change="1426793018" id="E0014">
<type>Birth</type>
<dateval val="1801-01"/>
</event>
<event handle="_cfa02efc75b0eb05cfa" change="1426793062" id="E0015">
<type>Birth</type>
<dateval val="1801-01-13"/>
</event>
<event handle="_cfa02f60fbe55ad36f7" change="1426793103" id="E0016">
<type>Birth</type>
<dateval val="1802-02"/>
</event>
<event handle="_cfa02fd93615614dc94" change="1426793153" id="E0017">
<type>Birth</type>
<dateval val="1802-02-13"/>
</event>
<event handle="_cfa030376d1228fb29b" change="1426793191" id="E0018">
<type>Birth</type>
<dateval val="1803-03"/>
</event>
<event handle="_cfa0308a9e766a18a5a" change="1426793225" id="E0019">
<type>Birth</type>
<dateval val="1803-03-13"/>
</event>
<event handle="_cfa0311ff9474a33dad" change="1426793404" id="E0020">
<type>Birth</type>
<dateval val="1804-04"/>
</event>
<event handle="_cfa0314208a175c695f" change="1426793300" id="E0021">
<type>Birth</type>
<dateval val="1804-04-13"/>
</event>
<event handle="_cfa031df6bb2f50f9c5" change="1426793365" id="E0022">
<type>Birth</type>
<dateval val="1805-05"/>
</event>
<event handle="_cfa0335efcf6eeb6bf6" change="1426793522" id="E0024">
<type>Birth</type>
<dateval val="1805-05-13"/>
</event>
<event handle="_cfa0342171e10e9a0c8" change="1426793602" id="E0025">
<type>Birth</type>
<dateval val="1806-06"/>
</event>
<event handle="_cfa03468bc76cf7a295" change="1426793631" id="E0026">
<type>Birth</type>
<dateval val="1807-07"/>
</event>
<event handle="_cfa034b07c9408b12cc" change="1426793660" id="E0027">
<type>Birth</type>
<dateval val="1808-08"/>
</event>
<event handle="_cfa034f8da44738c323" change="1426793690" id="E0028">
<type>Birth</type>
<dateval val="1809-09"/>
</event>
<event handle="_cfa03547c3765017895" change="1426793722" id="E0029">
<type>Birth</type>
<dateval val="1810-10"/>
</event>
<event handle="_cfa035965a02da81147" change="1426793754" id="E0030">
<type>Birth</type>
<dateval val="1811-11"/>
</event>
<event handle="_cfa035ee99b03f59cbc" change="1426793790" id="E0031">
<type>Birth</type>
<dateval val="1812-12"/>
</event>
<event handle="_cfa038cce441e73b1c5" change="1426794091" id="E0032">
<type>Birth</type>
<dateval val="1806-06-13"/>
</event>
<event handle="_cfa039308b34bf173be" change="1426794132" id="E0033">
<type>Birth</type>
<dateval val="1807-07-13"/>
</event>
<event handle="_cfa0399114e40ffcadf" change="1426794172" id="E0034">
<type>Birth</type>
<dateval val="1808-08-13"/>
</event>
<event handle="_cfa039f6e510c198300" change="1426794213" id="E0035">
<type>Birth</type>
<dateval val="1809-09-13"/>
</event>
<event handle="_cfa03a5c2fe4ce6e75d" change="1426794255" id="E0036">
<type>Birth</type>
<dateval val="1810-10-13"/>
</event>
<event handle="_cfa03aabe141219bb22" change="1426794287" id="E0037">
<type>Birth</type>
<dateval val="1811-11-13"/>
</event>
<event handle="_cfa03afa2ac4d140d9d" change="1426794319" id="E0038">
<type>Birth</type>
<dateval val="1812-12-13"/>
</event>
<event handle="_cfa0424ffcb19aed9f7" change="1426804001" id="E0039">
<type>Birth</type>
<datespan start="1876" stop="1877"/>
</event>
<event handle="_cfa042e5a0d52e9c63f" change="1426804044" id="E0040">
<type>Birth</type>
<datespan start="1876-06" stop="1877-07"/>
</event>
<event handle="_cfa0436b49b7746d225" change="1426804087" id="E0041">
<type>Birth</type>
<datespan start="1876-06-13" stop="1877-07-13"/>
</event>
<event handle="_cfa044b58de7b9a9759" change="1426803857" id="E0042">
<type>Birth</type>
<daterange start="1864" stop="1865"/>
</event>
<event handle="_cfa0454785d7f7fe074" change="1426803895" id="E0043">
<type>Birth</type>
<daterange start="1864-04" stop="1865-05"/>
</event>
<event handle="_cfa045f559074cd25a6" change="1426803934" id="E0044">
<type>Birth</type>
<daterange start="1864-04-13" stop="1865-05-13"/>
</event>
<event handle="_cfa05eab109493097d1" change="1426803468" id="E0045">
<type>Birth</type>
<dateval val="1849" quality="estimated"/>
</event>
<event handle="_cfa05fb82182cf228bc" change="1426803506" id="E0046">
<type>Birth</type>
<dateval val="1849-09" quality="estimated"/>
</event>
<event handle="_cfa0604633236ff9d43" change="1426803535" id="E0047">
<type>Birth</type>
<dateval val="1849-09-13" quality="estimated"/>
</event>
<event handle="_cfa060d09d433ae6313" change="1426803223" id="E0048">
<type>Birth</type>
<dateval val="1835" quality="calculated"/>
</event>
<event handle="_cfa062751af6a105a82" change="1426803248" id="E0049">
<type>Birth</type>
<dateval val="1835-05" quality="calculated"/>
</event>
<event handle="_cfa062e50d3096da9a5" change="1426803275" id="E0050">
<type>Birth</type>
<dateval val="1835-05-13" quality="calculated"/>
</event>
<event handle="_cfa063e88800cb80b33" change="1426803138" id="E0051">
<type>Birth</type>
<dateval val="1834" type="before" quality="calculated"/>
</event>
<event handle="_cfa064a6da37f0563f5" change="1426803166" id="E0052">
<type>Birth</type>
<dateval val="1834-04" type="before" quality="calculated"/>
</event>
<event handle="_cfa0654060124488afa" change="1426803189" id="E0053">
<type>Birth</type>
<dateval val="1834-04-13" type="before" quality="calculated"/>
</event>
<event handle="_cfa0670f11e1049f07b" change="1426803306" id="E0054">
<type>Birth</type>
<dateval val="1846" type="about" quality="estimated"/>
</event>
<event handle="_cfa067a8bbe2900a40c" change="1426803330" id="E0055">
<type>Birth</type>
<dateval val="1846-06" type="about" quality="estimated"/>
</event>
<event handle="_cfa0681c5085ac5e9e0" change="1426803354" id="E0056">
<type>Birth</type>
<dateval val="1846-06-13" type="about" quality="estimated"/>
</event>
<event handle="_cfa069a50b23f6b87fa" change="1426803388" id="E0057">
<type>Birth</type>
<daterange start="1848" stop="1849" quality="estimated"/>
</event>
<event handle="_cfa086bc43c31bcd49b" change="1426803415" id="E0058">
<type>Birth</type>
<daterange start="1848-08" stop="1849-09" quality="estimated"/>
</event>
<event handle="_cfa0873e5170a315aea" change="1426803439" id="E0059">
<type>Birth</type>
<daterange start="1848-08-13" stop="1849-09-13" quality="estimated"/>
</event>
<event handle="_cfa087488800cb80b33" change="1426803138" id="E0060">
<type>Birth</type>
<dateval val="1847" type="after" quality="estimated"/>
</event>
<event handle="_cfa08756da37f0563f5" change="1426803166" id="E0061">
<type>Birth</type>
<dateval val="1847-07" type="after" quality="estimated"/>
</event>
<event handle="_cfa0876060124488afa" change="1426803189" id="E0062">
<type>Birth</type>
<dateval val="1847-07-13" type="after" quality="estimated"/>
</event>
<event handle="_cfa0877ffcb19aed9f7" change="1426804001" id="E0063">
<type>Birth</type>
<datespan start="1878" stop="1879" quality="estimated"/>
</event>
<event handle="_cfa08785a0d52e9c63f" change="1426804044" id="E0064">
<type>Birth</type>
<datespan start="1878-08" stop="1879-09" quality="estimated"/>
</event>
<event handle="_cfa0879b49b7746d225" change="1426804087" id="E0065">
<type>Birth</type>
<datespan start="1878-08-13" stop="1879-09-13" quality="estimated"/>
</event>
<event handle="_d0545e83fa37336070a" change="1431629910" id="E0066">
<type>Birth</type>
<dateval val="1800-00-13"/>
</event>
</events>
<people home="_ce00f22fdb926a87cdd">
<person handle="_cde77b359d42a7abeb8" change="1426803052" id="I0000">
<gender>M</gender>
<name type="Birth Name">
<first>A</first>
<surname>Before-Person</surname>
</name>
<eventref hlink="_cde77b2c30c13ea85db" role="Primary"/>
</person>
<person handle="_cde77b89083519bcf0b" change="1426803077" id="I0001">
<gender>M</gender>
<name type="Birth Name">
<first>B</first>
<surname>Before-Person</surname>
</name>
<eventref hlink="_cde77b7eff96ae8455f" role="Primary"/>
</person>
<person handle="_cde77be591457afcffb" change="1426803099" id="I0002">
<gender>M</gender>
<name type="Birth Name">
<first>C</first>
<surname>Before-Person</surname>
</name>
<eventref hlink="_cde77be2a67401f7b16" role="Primary"/>
</person>
<person handle="_cde7b70f31a17456a2e" change="1426802978" id="I0003">
<gender>M</gender>
<name type="Birth Name">
<first>A</first>
<surname>After-Person</surname>
</name>
<eventref hlink="_cde7b70d22b30f00b14" role="Primary"/>
</person>
<person handle="_cde7b8ed6cd11b5562e" change="1426803002" id="I0004">
<gender>M</gender>
<name type="Birth Name">
<first>B</first>
<surname>After-Person</surname>
</name>
<eventref hlink="_cde7b8eb90e0a8792a9" role="Primary"/>
</person>
<person handle="_cde7b95ec952bc2b12d" change="1426803025" id="I0005">
<gender>M</gender>
<name type="Birth Name">
<first>C</first>
<surname>After-Person</surname>
</name>
<eventref hlink="_cde7b95cb7e40432538" role="Primary"/>
</person>
<person handle="_cde7b9b4e9e5e81800d" change="1426802890" id="I0006">
<gender>M</gender>
<name type="Birth Name">
<first>A</first>
<surname>About-Person</surname>
</name>
<eventref hlink="_cde7b9b2b00713c42af" role="Primary"/>
</person>
<person handle="_cde7b9f2d2e633055b9" change="1426802928" id="I0007">
<gender>M</gender>
<name type="Birth Name">
<first>B</first>
<surname>About-Person</surname>
</name>
<eventref hlink="_cde7b9f0da51d2ff10a" role="Primary"/>
</person>
<person handle="_cde7ba324d85d019053" change="1426802954" id="I0008">
<gender>M</gender>
<name type="Birth Name">
<first>C</first>
<surname>About-Person</surname>
</name>
<eventref hlink="_cde7ba310240e18a0ea" role="Primary"/>
</person>
<person handle="_ce00f22fdb926a87cdd" change="1426803678" id="I0009">
<gender>M</gender>
<name type="Birth Name">
<first>A</first>
<surname>Normal-Person</surname>
</name>
<eventref hlink="_ce00f22be3443f0c30b" role="Primary"/>
</person>
<person handle="_ce00f2aeb776bb53be5" change="1426803705" id="I0010">
<gender>M</gender>
<name type="Birth Name">
<first>B</first>
<surname>Normal-Person</surname>
</name>
<eventref hlink="_ce00f2ab83911df5354" role="Primary"/>
</person>
<person handle="_ce00f2eda384642791d" change="1426803733" id="I0011">
<gender>M</gender>
<name type="Birth Name">
<first>C</first>
<surname>Normal-Person</surname>
</name>
<eventref hlink="_ce00f2eb2f86d94ece0" role="Primary"/>
</person>
<person handle="_cfa02ea21cf2c08d6e2" change="1426793828" id="I0014">
<gender>M</gender>
<name type="Birth Name">
<first>B01</first>
<surname>Month-Person</surname>
</name>
<eventref hlink="_cfa02e904f161e652da" role="Primary"/>
</person>
<person handle="_cfa02f060870eef1f71" change="1426793996" id="I0015">
<gender>M</gender>
<name type="Birth Name">
<first>C01</first>
<surname>Month-Person</surname>
</name>
<eventref hlink="_cfa02efc75b0eb05cfa" role="Primary"/>
</person>
<person handle="_cfa02f6db513f4e1c14" change="1426793845" id="I0016">
<gender>M</gender>
<name type="Birth Name">
<first>B02</first>
<surname>Month-Person</surname>
</name>
<eventref hlink="_cfa02f60fbe55ad36f7" role="Primary"/>
</person>
<person handle="_cfa02fe4e8d3cad65e6" change="1426794012" id="I0017">
<gender>M</gender>
<name type="Birth Name">
<first>C02</first>
<surname>Month-Person</surname>
</name>
<eventref hlink="_cfa02fd93615614dc94" role="Primary"/>
</person>
<person handle="_cfa03042b93635f71a0" change="1426793861" id="I0018">
<gender>M</gender>
<name type="Birth Name">
<first>B03</first>
<surname>Month-Person</surname>
</name>
<eventref hlink="_cfa030376d1228fb29b" role="Primary"/>
</person>
<person handle="_cfa03092fb610f772ba" change="1426794027" id="I0019">
<gender>M</gender>
<name type="Birth Name">
<first>C03</first>
<surname>Month-Person</surname>
</name>
<eventref hlink="_cfa0308a9e766a18a5a" role="Primary"/>
</person>
<person handle="_cfa0314a7de1852f830" change="1426794043" id="I0021">
<gender>M</gender>
<name type="Birth Name">
<first>C04</first>
<surname>Month-Person</surname>
</name>
<eventref hlink="_cfa0314208a175c695f" role="Primary"/>
</person>
<person handle="_cfa031e7f6333a37f87" change="1426793893" id="I0022">
<gender>M</gender>
<name type="Birth Name">
<first>B05</first>
<surname>Month-Person</surname>
</name>
<eventref hlink="_cfa031df6bb2f50f9c5" role="Primary"/>
</person>
<person handle="_cfa03248bae711cb306" change="1426793877" id="I0023">
<gender>M</gender>
<name type="Birth Name">
<first>B04</first>
<surname>Month-Person</surname>
</name>
<eventref hlink="_cfa0311ff9474a33dad" role="Primary"/>
</person>
<person handle="_cfa033674d813cb83fb" change="1426794060" id="I0024">
<gender>M</gender>
<name type="Birth Name">
<first>C05</first>
<surname>Month-Person</surname>
</name>
<eventref hlink="_cfa0335efcf6eeb6bf6" role="Primary"/>
</person>
<person handle="_cfa03429a3506b90a17" change="1426793911" id="I0025">
<gender>M</gender>
<name type="Birth Name">
<first>B06</first>
<surname>Month-Person</surname>
</name>
<eventref hlink="_cfa0342171e10e9a0c8" role="Primary"/>
</person>
<person handle="_cfa03471249305e11a3" change="1426793926" id="I0026">
<gender>M</gender>
<name type="Birth Name">
<first>B07</first>
<surname>Month-Person</surname>
</name>
<eventref hlink="_cfa03468bc76cf7a295" role="Primary"/>
</person>
<person handle="_cfa034ba95d55bbb30d" change="1426793947" id="I0027">
<gender>M</gender>
<name type="Birth Name">
<first>B08</first>
<surname>Month-Person</surname>
</name>
<eventref hlink="_cfa034b07c9408b12cc" role="Primary"/>
</person>
<person handle="_cfa035043d730daedcc" change="1426793965" id="I0028">
<gender>M</gender>
<name type="Birth Name">
<first>B09</first>
<surname>Month-Person</surname>
</name>
<eventref hlink="_cfa034f8da44738c323" role="Primary"/>
</person>
<person handle="_cfa03553f6327fb3aa3" change="1426793727" id="I0029">
<gender>M</gender>
<name type="Birth Name">
<first>B10</first>
<surname>Month-Person</surname>
</name>
<eventref hlink="_cfa03547c3765017895" role="Primary"/>
</person>
<person handle="_cfa035a31fd38ced89e" change="1426793759" id="I0030">
<gender>M</gender>
<name type="Birth Name">
<first>B11</first>
<surname>Month-Person</surname>
</name>
<eventref hlink="_cfa035965a02da81147" role="Primary"/>
</person>
<person handle="_cfa035f87450688702b" change="1426793794" id="I0031">
<gender>M</gender>
<name type="Birth Name">
<first>B12</first>
<surname>Month-Person</surname>
</name>
<eventref hlink="_cfa035ee99b03f59cbc" role="Primary"/>
</person>
<person handle="_cfa038d6790220eb6a0" change="1426794095" id="I0032">
<gender>M</gender>
<name type="Birth Name">
<first>C06</first>
<surname>Month-Person</surname>
</name>
<eventref hlink="_cfa038cce441e73b1c5" role="Primary"/>
</person>
<person handle="_cfa039412cf2c81aaa6" change="1426794139" id="I0033">
<gender>M</gender>
<name type="Birth Name">
<first>C07</first>
<surname>Month-Person</surname>
</name>
<eventref hlink="_cfa039308b34bf173be" role="Primary"/>
</person>
<person handle="_cfa0399d5b4296c09ed" change="1426794177" id="I0034">
<gender>M</gender>
<name type="Birth Name">
<first>C08</first>
<surname>Month-Person</surname>
</name>
<eventref hlink="_cfa0399114e40ffcadf" role="Primary"/>
</person>
<person handle="_cfa03a00ae7431e3c10" change="1426794217" id="I0035">
<gender>M</gender>
<name type="Birth Name">
<first>C09</first>
<surname>Month-Person</surname>
</name>
<eventref hlink="_cfa039f6e510c198300" role="Primary"/>
</person>
<person handle="_cfa03a68a5e1f70d524" change="1426794260" id="I0036">
<gender>M</gender>
<name type="Birth Name">
<first>C10</first>
<surname>Month-Person</surname>
</name>
<eventref hlink="_cfa03a5c2fe4ce6e75d" role="Primary"/>
</person>
<person handle="_cfa03ab437d05844dc3" change="1426794291" id="I0037">
<gender>M</gender>
<name type="Birth Name">
<first>C11</first>
<surname>Month-Person</surname>
</name>
<eventref hlink="_cfa03aabe141219bb22" role="Primary"/>
</person>
<person handle="_cfa03b0c1635ed179a5" change="1426794327" id="I0038">
<gender>M</gender>
<name type="Birth Name">
<first>C12</first>
<surname>Month-Person</surname>
</name>
<eventref hlink="_cfa03afa2ac4d140d9d" role="Primary"/>
</person>
<person handle="_cfa0425f40e5bd7f546" change="1426804005" id="I0039">
<gender>M</gender>
<name type="Birth Name">
<first>A</first>
<surname>SpanFrom-Person</surname>
</name>
<eventref hlink="_cfa0424ffcb19aed9f7" role="Primary"/>
</person>
<person handle="_cfa0431254247adca83" change="1426804048" id="I0040">
<gender>M</gender>
<name type="Birth Name">
<first>B</first>
<surname>SpanFrom-Person</surname>
</name>
<eventref hlink="_cfa042e5a0d52e9c63f" role="Primary"/>
</person>
<person handle="_cfa0439de437d741e80" change="1426804091" id="I0041">
<gender>M</gender>
<name type="Birth Name">
<first>C</first>
<surname>SpanFrom-Person</surname>
</name>
<eventref hlink="_cfa0436b49b7746d225" role="Primary"/>
</person>
<person handle="_cfa044c262e1e5c8503" change="1426803860" id="I0042">
<gender>M</gender>
<name type="Birth Name">
<first>A</first>
<surname>RangeBetween-Person</surname>
</name>
<eventref hlink="_cfa044b58de7b9a9759" role="Primary"/>
</person>
<person handle="_cfa04565ce470dcd2f8" change="1426803898" id="I0043">
<gender>M</gender>
<name type="Birth Name">
<first>B</first>
<surname>RangeBetween-Person</surname>
</name>
<eventref hlink="_cfa0454785d7f7fe074" role="Primary"/>
</person>
<person handle="_cfa0460050935c9a427" change="1426803937" id="I0044">
<gender>M</gender>
<name type="Birth Name">
<first>C</first>
<surname>RangeBetween-Person</surname>
</name>
<eventref hlink="_cfa045f559074cd25a6" role="Primary"/>
</person>
<person handle="_cfa05ec0033766aaf99" change="1426803473" id="I0045">
<gender>M</gender>
<name type="Birth Name">
<first>A</first>
<surname>Estimated-Person</surname>
</name>
<eventref hlink="_cfa05eab109493097d1" role="Primary"/>
</person>
<person handle="_cfa05fccf2c4051824b" change="1426803510" id="I0046">
<gender>M</gender>
<name type="Birth Name">
<first>B</first>
<surname>Estimated-Person</surname>
</name>
<eventref hlink="_cfa05fb82182cf228bc" role="Primary"/>
</person>
<person handle="_cfa060511337394614d" change="1426803539" id="I0047">
<gender>M</gender>
<name type="Birth Name">
<first>C</first>
<surname>Estimated-Person</surname>
</name>
<eventref hlink="_cfa0604633236ff9d43" role="Primary"/>
</person>
<person handle="_cfa060e177361c262d1" change="1426803227" id="I0048">
<gender>M</gender>
<name type="Birth Name">
<first>A</first>
<surname>Calculated-Person</surname>
</name>
<eventref hlink="_cfa060d09d433ae6313" role="Primary"/>
</person>
<person handle="_cfa0627d4346f5a6156" change="1426803252" id="I0049">
<gender>M</gender>
<name type="Birth Name">
<first>B</first>
<surname>Calculated-Person</surname>
</name>
<eventref hlink="_cfa062751af6a105a82" role="Primary"/>
</person>
<person handle="_cfa062f0f6d6be03ddb" change="1426803278" id="I0050">
<gender>M</gender>
<name type="Birth Name">
<first>C</first>
<surname>Calculated-Person</surname>
</name>
<eventref hlink="_cfa062e50d3096da9a5" role="Primary"/>
</person>
<person handle="_cfa063f5677702eaa46" change="1426803142" id="I0051">
<gender>M</gender>
<name type="Birth Name">
<first>A</first>
<surname>Calculated-Before-Person</surname>
</name>
<eventref hlink="_cfa063e88800cb80b33" role="Primary"/>
</person>
<person handle="_cfa064bb7630e608798" change="1426803169" id="I0052">
<gender>M</gender>
<name type="Birth Name">
<first>B</first>
<surname>Calculated-Before-Person</surname>
</name>
<eventref hlink="_cfa064a6da37f0563f5" role="Primary"/>
</person>
<person handle="_cfa0654ca9f46930cc4" change="1426803193" id="I0053">
<gender>M</gender>
<name type="Birth Name">
<first>C</first>
<surname>Calculated-Before-Person</surname>
</name>
<eventref hlink="_cfa0654060124488afa" role="Primary"/>
</person>
<person handle="_cfa06717fb57c27f756" change="1426803310" id="I0054">
<gender>M</gender>
<name type="Birth Name">
<first>A</first>
<surname>Estimated-About-Person</surname>
</name>
<eventref hlink="_cfa0670f11e1049f07b" role="Primary"/>
</person>
<person handle="_cfa067b2e020880caf3" change="1426803333" id="I0055">
<gender>M</gender>
<name type="Birth Name">
<first>B</first>
<surname>Estimated-About-Person</surname>
</name>
<eventref hlink="_cfa067a8bbe2900a40c" role="Primary"/>
</person>
<person handle="_cfa068250bc3c821f3c" change="1426803357" id="I0056">
<gender>M</gender>
<name type="Birth Name">
<first>C</first>
<surname>Estimated-About-Person</surname>
</name>
<eventref hlink="_cfa0681c5085ac5e9e0" role="Primary"/>
</person>
<person handle="_cfa069b80556bceaf0b" change="1426803392" id="I0057">
<gender>M</gender>
<name type="Birth Name">
<first>A</first>
<surname>Estimated-RangeBetween-Person</surname>
</name>
<eventref hlink="_cfa069a50b23f6b87fa" role="Primary"/>
</person>
<person handle="_cfa086c6e4e248b4ac6" change="1426803418" id="I0058">
<gender>M</gender>
<name type="Birth Name">
<first>B</first>
<surname>Estimated-RangeBetween-Person</surname>
</name>
<eventref hlink="_cfa086bc43c31bcd49b" role="Primary"/>
</person>
<person handle="_cfa0874684b42b63ab7" change="1426803443" id="I0059">
<gender>M</gender>
<name type="Birth Name">
<first>C</first>
<surname>Estimated-RangeBetween-Person</surname>
</name>
<eventref hlink="_cfa0873e5170a315aea" role="Primary"/>
</person>
<person handle="_cfa087580556bceaf0b" change="1426803392" id="I0060">
<gender>M</gender>
<name type="Birth Name">
<first>A</first>
<surname>Estimated-After-Person</surname>
</name>
<eventref hlink="_cfa087488800cb80b33" role="Primary"/>
</person>
<person handle="_cfa08766e4e248b4ac6" change="1426803418" id="I0061">
<gender>M</gender>
<name type="Birth Name">
<first>B</first>
<surname>Estimated-After-Person</surname>
</name>
<eventref hlink="_cfa08756da37f0563f5" role="Primary"/>
</person>
<person handle="_cfa0877684b42b63ab7" change="1426803443" id="I0062">
<gender>M</gender>
<name type="Birth Name">
<first>C</first>
<surname>Estimated-After-Person</surname>
</name>
<eventref hlink="_cfa0876060124488afa" role="Primary"/>
</person>
<person handle="_cfa087780556bceaf0b" change="1426803392" id="I0063">
<gender>M</gender>
<name type="Birth Name">
<first>A</first>
<surname>Estimated-SpanFrom-Person</surname>
</name>
<eventref hlink="_cfa0877ffcb19aed9f7" role="Primary"/>
</person>
<person handle="_cfa08786e4e248b4ac6" change="1426803418" id="I0064">
<gender>M</gender>
<name type="Birth Name">
<first>B</first>
<surname>Estimated-SpanFrom-Person</surname>
</name>
<eventref hlink="_cfa08785a0d52e9c63f" role="Primary"/>
</person>
<person handle="_cfa0879684b42b63ab7" change="1426803443" id="I0065">
<gender>M</gender>
<name type="Birth Name">
<first>C</first>
<surname>Estimated-SpanFrom-Person</surname>
</name>
<eventref hlink="_cfa0879b49b7746d225" role="Primary"/>
</person>
<person handle="_d0545e25fed7da2d864" change="1431629912" id="I0066">
<gender>M</gender>
<name type="Birth Name">
<first>Zero-Month</first>
<surname>Month-Person</surname>
</name>
<eventref hlink="_d0545e83fa37336070a" role="Primary"/>
</person>
</people>
</database>
+14426 -17740
View File
File diff suppressed because it is too large Load Diff
+5 -3
View File
@@ -15,14 +15,16 @@
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
# gen/__init__.py
# $Id$
#
"""
The core gramps modules that provide the different packages
The core gramps module provides the different packages
Plugins are loaded dynamically, so that plugin directory is not included
Plugins are loaded dynamically, so they the plugin directory is not included
"""
__all__ = ["gen", "cli", "gui"]
+3 -1
View File
@@ -14,9 +14,11 @@
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
# $Id$
"""
Package init for the cli package.
"""
+71 -81
View File
@@ -22,11 +22,13 @@
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
# $Id$
"""
Module responsible for handling the command line arguments for Gramps.
Module responsible for handling the command line arguments for GRAMPS.
"""
#-------------------------------------------------------------------------
@@ -34,6 +36,7 @@ Module responsible for handling the command line arguments for Gramps.
# Standard python modules
#
#-------------------------------------------------------------------------
from __future__ import print_function
import os
import sys
@@ -43,7 +46,8 @@ import sys
#
#-------------------------------------------------------------------------
from gramps.gen.recentfiles import recent_files
from gramps.gen.utils.file import rm_tempdir, get_empty_tempdir
from gramps.gen.utils.file import (rm_tempdir, get_empty_tempdir,
get_unicode_path_from_env_var)
from gramps.gen.db import DbBsddb
from .clidbman import CLIDbManager, NAME_FILE, find_locker_name
@@ -52,7 +56,6 @@ from gramps.gen.plug.report import CATEGORY_BOOK, CATEGORY_CODE, BookList
from .plug import cl_report, cl_book
from gramps.gen.const import GRAMPS_LOCALE as glocale
_ = glocale.translation.gettext
from gramps.gen.constfunc import conv_to_unicode
#-------------------------------------------------------------------------
#
@@ -64,31 +67,24 @@ def _split_options(options_str):
Split the options for the action.
Rules:
* Entries in the list of options are separated by commas without
spaces between entries
* List values must be inclosed in brackets ("[" and "]")
* Entries within a list value are separated by commas
* Text values (as a value or as entries in a list) do not have to be
enclosed in quotes unless they include commas or quotation marks.
* Text containing double quotes must be contained in single quotes
* Text containing single quotes must be contained in double quotes
* Text cannot include both single and double quotes
* Entries in the list of options are separated by commas without
spaces between entries
* List values must be inclosed in brackets ("[" and "]")
* Entries within a list value are separated by commas
* Text values (as a value or as entries in a list) do not have to be
enclosed in quotes unless they include commas or quotation marks.
* Text containing double quotes must be contained in single quotes
* Text containing single quotes must be contained in double quotes
* Text cannot include both single and double quotes
Examples:
Multiple options specified::
report -p 'name=ancestor_chart,father_disp=["$n born $b"]'
Using text with commas and quotes::
title="This is some text with ,s and 's"
title='This is some text with ,s and "s'
Using a list of text::
textlist=[row1,row2,"row3 with ' and ,"]
* Multiple options specified:
report -p 'name=ancestor_chart,father_disp=["$n born $b"]'
* Using text with commas and quotes:
title="This is some text with ,s and 's"
title='This is some text with ,s and "s'
* Using a list of text
textlist=[row1,row2,"row3 with ' and ,"]
"""
name = ""
value = ""
@@ -151,16 +147,20 @@ class ArgHandler(object):
"""
This class is responsible for the non GUI handling of commands.
The handler is passed a parser object, sanitizes it, and can execute the
actions requested working on a :class:`.DbState`.
actions requested working on a DbState.
"""
def __init__(self, dbstate, parser, sessionmanager,
errorfunc=None, gui=False):
from .user import User
self.dbstate = dbstate
self.sm = sessionmanager
self.errorfunc = errorfunc
self.gui = gui
self.user = sessionmanager.user
self.user = User(error=self.__error,
auto_accept=parser.auto_accept,
quiet=parser.quiet)
if self.gui:
self.actions = []
self.list = False
@@ -213,7 +213,7 @@ class ArgHandler(object):
"""
if value is None:
return None
value = conv_to_unicode(value, sys.stdin.encoding)
value = get_unicode_path_from_env_var(value)
db_path = self.__deduce_db_path(value)
if db_path:
@@ -233,7 +233,7 @@ class ArgHandler(object):
else:
self.__error( _('Error: Input Family Tree "%s" does not exist.\n'
"If GEDCOM, Gramps-xml or grdb, use the -i option "
"to import into a Family Tree instead.") % value)
"to import into a family tree instead.") % value)
sys.exit(0)
def __handle_import_option(self, value, family_tree_format):
@@ -243,7 +243,8 @@ class ArgHandler(object):
"""
# Need to convert path/filename to unicode before opening
# For non latin characters in Windows path/file/user names
fname = conv_to_unicode(value, sys.stdin.encoding)
value = get_unicode_path_from_env_var(value)
fname = value
fullpath = os.path.abspath(os.path.expanduser(fname))
if fname != '-' and not os.path.exists(fullpath):
self.__error(_('Error: Import file %s not found.') % fname)
@@ -272,15 +273,15 @@ class ArgHandler(object):
def __handle_export_option(self, value, family_tree_format):
"""
Handle the "-e" or "--export" option.
.. note:: this can only happen in the CLI version.
Handle the "-e" or "--export" option.
Note: this can only happen in the CLI version.
"""
if self.gui:
return
# Need to convert path/filename to unicode before opening
# For non latin characters in Windows path/file/user names
fname = conv_to_unicode(value, sys.stdin.encoding)
value = get_unicode_path_from_env_var(value)
fname = value
if fname == '-':
fullpath = '-'
else:
@@ -320,8 +321,8 @@ class ArgHandler(object):
"""
Attempt to find a database path for the given parameter.
:returns: The path to a Gramps DB or None if a database can not be
deduced.
@return: The path to a Gramps DB
or None if a database can not be deduced.
"""
# First, check if this is the name of a family tree
db_path = self.dbman.get_family_tree_path(db_name_or_path)
@@ -344,16 +345,15 @@ class ArgHandler(object):
#-------------------------------------------------------------------------
def handle_args_gui(self):
"""
Method to handle the arguments that can be given for a GUI session.
:returns: the filename of the family tree that should be opened if
user just passed a famtree or a filename.
1. no options: a family tree can be given, if so, this name is tested
and returned. If a filename, it is imported in a new db and name of
new db returned
2. an open and/or import option can have been given, if so, this is
handled, and None is returned
method to handle the arguments that can be given for a GUI session.
Returns the filename of the family tree that should be opened if
user just passed a famtree or a filename
1/no options: a family tree can be given, if so, this name is
tested and returned. If a filename, it is imported
in a new db and name of new db returned
2/an open and/or import option can have been given, if so, this
is handled, and None is returned
"""
if self.open_gui:
# First check if a Gramps database was provided
@@ -391,10 +391,10 @@ class ArgHandler(object):
Depending on the given arguments, import or open data, launch
session, write files, and/or perform actions.
:param: climan: the manager of a CLI session
:type: :class:`.CLIManager` object
@param: climan: the manager of a CLI session
@type: CLIManager object
"""
# Handle the "-l" List Family Trees option.
if self.list:
print(_('List of known Family Trees in your database path\n'))
@@ -405,7 +405,6 @@ class ArgHandler(object):
% {'full_DB_path' : dirname, 'f_t_name' : name})
sys.exit(0)
# Handle the "-L" List Family Trees in detail option.
if self.list_more:
print(_('Gramps Family Trees:'))
summary_list = self.dbman.family_tree_summary()
@@ -414,33 +413,26 @@ class ArgHandler(object):
print(_("Family Tree \"%s\":") % summary[_("Family Tree")])
for item in sorted(summary):
if item != "Family Tree":
# translators: needed for French, ignore otherwise
print(_(" %(item)s: %(summary)s") % {
'item' : item,
'summary' : summary[item] } )
print(" %s: %s" % (item, summary[item]))
sys.exit(0)
# Handle the "-t" List Family Trees, tab delimited option.
if self.list_table:
print(_('Gramps Family Trees:'))
summary_list = self.dbman.family_tree_summary()
if not summary_list:
sys.exit(0)
# We have to construct the line elements together, to avoid
# insertion of blank spaces when print on the same line is used
line_list = [_("Family Tree")]
print(_("Family Tree"), end="")
for key in sorted(summary_list[0]):
if key != _("Family Tree"):
line_list += [key]
print("\t".join(line_list))
if key != "Family Tree":
print("\t ", end="")
print(key, end="")
print()
for summary in sorted(summary_list,
key=lambda sum: sum[_("Family Tree")].lower()):
line_list = [(_('"%s"') % summary[_("Family Tree")])]
print('"%s"' % summary[_("Family Tree")], end="")
for item in sorted(summary):
if item != _("Family Tree"):
# translators: ignore unless your quotation marks differ
line_list += [(_('"%s"') % summary[item])]
print("\t".join(line_list))
print("\t ", end="")
print('"%s"' % summary[item], end="")
print()
sys.exit(0)
self.__open_action()
@@ -473,10 +465,8 @@ class ArgHandler(object):
def __import_action(self):
"""
Take action for all given import files.
.. note:: Family trees are not supported.
Take action for all given import files. Note: Family trees are
not supported.
If a family tree is open, the import happens on top of it. If not
open, a new family tree is created, and the import done. If this
is CLI, the created tree is deleted at the end (as some action will
@@ -559,6 +549,12 @@ class ArgHandler(object):
if family_tree_format == plugin.get_extension():
import_function = plugin.get_import_function()
import_function(self.dbstate.db, filename, self.user)
if not self.cl:
if self.imp_db_path:
return self.sm.open_activate(self.imp_db_path)
else:
return self.sm.open_activate(self.open)
#-------------------------------------------------------------------------
#
@@ -654,14 +650,8 @@ class ArgHandler(object):
category = pdata.category
tool_class = eval('mod.' + pdata.toolclass)
options_class = eval('mod.' + pdata.optionclass)
tool.cli_tool(
dbstate=self.dbstate,
name=name,
category=category,
tool_class=tool_class,
options_class=options_class,
options_str_dict=options_str_dict,
user=self.user)
tool.cli_tool(self.dbstate, name, category, tool_class,
options_class, options_str_dict)
return
msg = _("Unknown tool name.")
else:
+55 -62
View File
@@ -22,11 +22,13 @@
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
# $Id$
"""
Module responsible for handling the command line arguments for Gramps.
Module responsible for handling the command line arguments for GRAMPS.
"""
#-------------------------------------------------------------------------
@@ -34,6 +36,7 @@ Module responsible for handling the command line arguments for Gramps.
# Standard python modules
#
#-------------------------------------------------------------------------
from __future__ import print_function
import sys
import getopt
import logging
@@ -46,9 +49,9 @@ import logging
from gramps.gen.const import LONGOPTS, SHORTOPTS
from gramps.gen.config import config
from gramps.gen.utils.cast import get_type_converter
from gramps.gen.utils.file import get_unicode_path_from_env_var
from gramps.gen.const import GRAMPS_LOCALE as glocale
_ = glocale.translation.gettext
from gramps.gen.constfunc import conv_to_unicode
_HELP = _("""
Usage: gramps.py [OPTION...]
@@ -130,58 +133,35 @@ class ArgParser(object):
"""
This class is responsible for parsing the command line arguments (if any)
given to gramps, and determining if a GUI or a CLI session must be started.
A filename and/or options may be specified as arguments.
The valid arguments are:
The valid options are:
-O, --open=FAMILY_TREE Open Family Tree
-C, --create=FAMILY_TREE Create on open if new Family Tree
-i, --import=FILENAME Import file
-e, --export=FILENAME Export file
-f, --format=FORMAT Specify Family Tree format
-a, --action=ACTION Specify action
-p, --options=OPTIONS_STRING Specify options
-d, --debug=LOGGER_NAME Enable debug logs
-l List Family Trees
-L List Family Trees in Detail
-t List Family Trees, tab delimited
-u, --force-unlock Force unlock of Family Tree
-s, --show Show config settings
-c, --config=SETTINGS Set config setting(s) and start Gramps
-y, --yes Don't ask to confirm dangerous actions
-q, --quiet Suppress progress indication output
-v, --version Show versions
-h, --help Display the help
--usage Display usage information
If the filename (no options) is specified, the interactive session is
launched using data from filename. In this mode (filename, no options), the
rest of the arguments are ignored. This is a mode suitable by default for
GUI launchers, mime type handlers, and the like.
Possible:
1/ FAMTREE : Just the family tree (name or database dir)
2/ -O, --open=FAMTREE, Open of a family tree
3/ -i, --import=FILE, Import a family tree of any format understood
by an importer, optionally provide -f to indicate format
4/ -e, --export=FILE, export a family tree in required format,
optionally provide -f to indicate format
5/ -f, --format=FORMAT : format after a -i or -e option
6/ -a, --action: An action (possible: 'report', 'tool')
7/ -p, --options=OPTIONS_STRING : specify options
8/ -u, --force-unlock: A locked database can be unlocked by giving
this argument when opening it
If the filename (no flags) is specified, the interactive session is
launched using data from filename.
In this mode (filename, no flags), the rest of the arguments is ignored.
This is a mode suitable by default for GUI launchers, mime type handlers,
and the like
If no filename or -i option is given, a new interactive session (empty
database) is launched, since no data is given anyway.
If -O or -i option is given, but no -e or -a options are given, an
interactive session is launched with the ``FILENAME`` (specified with -i).
interactive session is launched with the FILE (specified with -i).
If both input (-O or -i) and processing (-e or -a) options are given,
interactive session will not be launched.
When using import ot export options (-i or -e), the -f option may be
specified to indicate the family tree format.
Possible values for ``ACTION`` are: 'report', 'book' and 'tool'.
Configuration ``SETTINGS`` may be specified using the -c option. The
settings are of the form config.setting[:value]. If used without a value,
the setting is shown.
If the -y option is given, the user's acceptance of any CLI prompt is
assumed. (see :meth:`.cli.user.User.prompt`)
If the -q option is given, extra noise on sys.stderr, such as progress
indicators, is suppressed.
interactive session will not be launched.
"""
def __init__(self, args):
@@ -218,6 +198,25 @@ class ArgParser(object):
Fill in lists with open, exports, imports, and actions options.
Any errors are added to self.errors
Possible:
1/ Just the family tree (name or database dir)
2/ -O --open: Open of a family tree
3/ -i --import: Import a family tree of any format understood by
an importer, optionally provide -f to indicate format
4/ -e --export: export a family tree in required format, optionally
provide -f to indicate format
5/ -f --format=FORMAT : format after a -i or -e option
6/ -a --action: An action (possible: 'report', 'tool')
7/ -p --options=OPTIONS_STRING : specify options
8/ -u --force-unlock: A locked database can be unlocked by giving
this argument when opening it
9/ -s --show : Show config settings
10/ -c --config=config.setting:value : Set config.setting and start
Gramps without :value, the actual config.setting is shown
11/ -y --yes: assume user's acceptance of any CLI prompt (see cli.user.User.prompt)
12/ -q --quiet: suppress extra noise on sys.stderr, such as progress indicators
"""
try:
# Convert arguments to unicode, otherwise getopt will not work
@@ -226,8 +225,7 @@ class ArgParser(object):
# -Ärik is '-\xc3\x84rik' and getopt will respond :
# option -\xc3 not recognized
for arg in range(len(self.args) - 1):
self.args[arg+1] = conv_to_unicode(self.args[arg + 1],
sys.stdin.encoding)
self.args[arg+1] = get_unicode_path_from_env_var(self.args[arg + 1])
options, leftargs = getopt.getopt(self.args[1:],
SHORTOPTS, LONGOPTS)
except getopt.GetoptError as msg:
@@ -323,11 +321,9 @@ class ArgParser(object):
set_value = True
if config.has_default(setting_name):
setting_value = config.get(setting_name)
print(_("Current Gramps config setting: "
"%(name)s:%(value)s")
% {'name' : setting_name,
'value' : repr(setting_value)},
file=sys.stderr)
print(_("Current Gramps config setting: %s:%s")
% (setting_name, repr(setting_value)),
file=sys.stderr)
if set_value:
# does a user want the default config value?
if new_value in ("DEFAULT", _("DEFAULT")):
@@ -337,12 +333,10 @@ class ArgParser(object):
new_value = converter(new_value)
config.set(setting_name, new_value)
# translators: indent "New" to match "Current"
print(_(" New Gramps config setting: "
"%(name)s:%(value)s") %
{'name' : setting_name,
'value' : repr(
config.get(setting_name))},
file=sys.stderr)
print(_(" New Gramps config setting: %s:%s")
% (setting_name,
repr(config.get(setting_name))),
file=sys.stderr)
else:
need_to_quit = True
else:
@@ -377,8 +371,7 @@ class ArgParser(object):
# but not for non-latin characters in list elements
cliargs = "[ "
for arg in range(len(self.args) - 1):
cliargs += conv_to_unicode(self.args[arg + 1],
sys.stdin.encoding) + ' '
cliargs += get_unicode_path_from_env_var(self.args[arg + 1]) + " "
cliargs += "]"
self.errors += [(_('Error parsing the arguments'),
_("Error parsing the arguments: %s \n"
+51 -35
View File
@@ -17,9 +17,11 @@
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
# $Id$
"""
Provide the management of databases from CLI. This includes opening, renaming,
creating, and deleting of databases.
@@ -30,12 +32,17 @@ creating, and deleting of databases.
# Standard python modules
#
#-------------------------------------------------------------------------
from __future__ import print_function
import os
import sys
import time
import io
from urllib.parse import urlparse
from urllib.request import urlopen, url2pathname
if sys.version_info[0] < 3:
from urlparse import urlparse
from urllib2 import urlopen, url2pathname
else:
from urllib.parse import urlparse
from urllib.request import urlopen, url2pathname
import tempfile
#-------------------------------------------------------------------------
#
@@ -127,8 +134,7 @@ class CLIDbManager(object):
self._populate_cli()
def empty(self, val):
"""
Callback that does nothing
"""Callback that does nothing
"""
pass
@@ -138,7 +144,10 @@ class CLIDbManager(object):
current DB.
Returns ("Unknown", "Unknown", "Unknown") if invalid DB or other error.
"""
from bsddb3 import dbshelve, db
if config.get('preferences.use-bsddb3') or sys.version_info[0] >= 3:
from bsddb3 import dbshelve, db
else:
from bsddb import dbshelve, db
from gramps.gen.db import META, PERSON_TBL
from gramps.gen.db.dbconst import BDBVERSFN
@@ -208,7 +217,10 @@ class CLIDbManager(object):
retval[_("Locked?")] = _("no")
retval[_("Bsddb version")] = bsddb_version
retval[_("Schema version")] = schema_version
retval[_("Family Tree")] = name
if sys.version_info[0] < 3:
retval[_("Family Tree")] = name.encode(glocale.getfilesystemencoding())
else:
retval[_("Family Tree")] = name
retval[_("Path")] = dirpath
retval[_("Last accessed")] = time.strftime('%x %X',
time.localtime(tval))
@@ -216,11 +228,12 @@ class CLIDbManager(object):
return summary_list
def _populate_cli(self):
"""
Get the list of current names in the database dir
""" Get the list of current names in the database dir
"""
# make the default directory if it does not exist
dbdir = os.path.expanduser(config.get('behavior.database-path'))
if sys.version_info[0] < 3:
dbdir = dbdir.encode(glocale.getfilesystemencoding())
db_ok = make_dbdir(dbdir)
self.current_names = []
@@ -229,7 +242,7 @@ class CLIDbManager(object):
dirpath = os.path.join(dbdir, dpath)
path_name = os.path.join(dirpath, NAME_FILE)
if os.path.isfile(path_name):
file = io.open(path_name, 'r', encoding='utf8')
file = open(path_name)
name = file.readline().strip()
file.close()
@@ -257,8 +270,7 @@ class CLIDbManager(object):
return None
def family_tree_list(self):
"""
Return a list of name, dirname of the known family trees
"""Return a list of name, dirname of the known family trees
"""
lst = [(x[0], x[1]) for x in self.current_names]
return lst
@@ -275,7 +287,7 @@ class CLIDbManager(object):
"""
print(_('Import finished...'))
def create_new_db_cli(self, title=None, create_db=True):
def create_new_db_cli(self, title=None):
"""
Create a new database.
"""
@@ -287,15 +299,14 @@ class CLIDbManager(object):
if title is None:
name_list = [ name[0] for name in self.current_names ]
title = find_next_db_name(name_list)
name_file = io.open(path_name, "w", encoding='utf8')
name_file = open(path_name, "w")
name_file.write(title)
name_file.close()
if create_db:
# write the version number into metadata
newdb = DbBsddb()
newdb.write_version(new_path)
# write the version number into metadata
newdb = DbBsddb()
newdb.write_version(new_path)
(tval, last) = time_val(new_path)
@@ -315,14 +326,14 @@ class CLIDbManager(object):
A new database will only be created if an appropriate importer was
found.
:param filename: a fully-qualified path, filename, and
extension to open.
@param filename: a fully-qualified path, filename, and
extension to open.
:param user: a :class:`.cli.user.User` or :class:`.gui.user.User`
instance for managing user interaction.
@param user: a cli.User or gui.User instance for managing user
interaction.
:returns: A tuple of (new_path, name) for the new database
or (None, None) if no import was performed.
@return: A tuple of (new_path, name) for the new database
or (None, None) if no import was performed.
"""
pmgr = BasePluginManager.get_instance()
# check to see if it isn't a filename directly:
@@ -376,7 +387,7 @@ class CLIDbManager(object):
def is_locked(self, dbpath):
"""
Returns True if there is a lock file in the dirpath
returns True if there is a lock file in the dirpath
"""
if os.path.isfile(os.path.join(dbpath,"lock")):
return True
@@ -384,7 +395,7 @@ class CLIDbManager(object):
def needs_recovery(self, dbpath):
"""
Returns True if the database in dirpath needs recovery
returns True if the database in dirpath needs recovery
"""
if os.path.isfile(os.path.join(dbpath,"need_recover")):
return True
@@ -396,12 +407,10 @@ class CLIDbManager(object):
Returns old_name, new_name if success, None, None if no success
"""
try:
filepath = conv_to_unicode(filepath, 'utf8')
new_text = conv_to_unicode(new_text, 'utf8')
name_file = io.open(filepath, "r", encoding='utf8')
name_file = open(filepath, "r")
old_text=name_file.read()
name_file.close()
name_file = io.open(filepath, "w", encoding='utf8')
name_file = open(filepath, "w")
name_file.write(new_text)
name_file.close()
except (OSError, IOError) as msg:
@@ -439,6 +448,7 @@ def make_dbdir(dbdir):
if not os.path.isdir(dbdir):
os.makedirs(dbdir)
except (IOError, OSError) as msg:
msg = conv_to_unicode(str(msg), glocale.getfilesystemencoding())
LOG.error(_("\nERROR: Wrong database path in Edit Menu->Preferences.\n"
"Open preferences and set correct database path.\n\n"
"Details: Could not make database directory:\n %s\n\n") % msg)
@@ -454,7 +464,7 @@ def find_next_db_name(name_list):
while True:
title = "%s %d" % (DEFAULT_TITLE, i)
if title not in name_list:
return conv_to_unicode(title)
return title
i += 1
def find_next_db_dir():
@@ -466,6 +476,8 @@ def find_next_db_dir():
while True:
base = "%x" % int(time.time())
dbdir = os.path.expanduser(config.get('behavior.database-path'))
if sys.version_info[0] < 3:
dbdir = dbdir.encode(glocale.getfilesystemencoding())
new_path = os.path.join(dbdir, base)
if not os.path.isdir(new_path):
break
@@ -503,11 +515,15 @@ def find_locker_name(dirpath):
"""
try:
fname = os.path.join(dirpath, "lock")
ifile = io.open(fname, 'r', encoding='utf8')
ifile = open(fname, 'rb')
username = ifile.read().strip()
# Convert username to unicode according to system encoding
# Otherwise problems with non ASCII characters in
# username in Windows
username = conv_to_unicode(username, glocale.getfilesystemencoding())
# feature request 2356: avoid genitive form
last = _("Locked by %s") % username
ifile.close()
except (OSError, IOError, UnicodeDecodeError):
except (OSError, IOError):
last = _("Unknown")
return last
+19 -34
View File
@@ -16,14 +16,16 @@
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
# $Id$
"""
Provides the startcli function, which the main program calls for CLI
execution of Gramps.
execution of GRAMPS.
Provides also two small base classes: :class:`CLIDbLoader`, :class:`CLIManager`
Provides also two small base classes: CLIDbLoader, CLIManager
"""
#-------------------------------------------------------------------------
@@ -31,6 +33,8 @@ Provides also two small base classes: :class:`CLIDbLoader`, :class:`CLIManager`
# Python modules
#
#-------------------------------------------------------------------------
from __future__ import print_function
from gramps.gen.const import GRAMPS_LOCALE as glocale
_ = glocale.translation.gettext
import os
@@ -69,8 +73,8 @@ from gramps.gen.recentfiles import recent_files
#-------------------------------------------------------------------------
class CLIDbLoader(object):
"""
Base class for Db loading action inside a :class:`.DbState`. Only the
minimum is present needed for CLI handling
Base class for Db loading action inside a dbstate. Only the minimum is
present needed for CLI handling
"""
def __init__(self, dbstate):
self.dbstate = dbstate
@@ -92,11 +96,9 @@ class CLIDbLoader(object):
def _dberrordialog(self, msg):
"""
Show a database error.
:param msg: an error message
:type msg : string
.. note:: Inherit for GUI action
@param: msg : an error message
@type: string
@note: Inherit for GUI action
"""
self._errordialog( '', _("Low level database corruption detected")
+ '\n' +
@@ -206,12 +208,12 @@ class CLIDbLoader(object):
class CLIManager(object):
"""
Sessionmanager for Gramps. This is in effect a reduced :class:`.ViewManager`
Sessionmanager for GRAMPS. This is in effect a reduced viewmanager
instance (see gui/viewmanager), suitable for CLI actions.
Aim is to manage a dbstate on which to work (load, unload), and interact
with the plugin session
"""
def __init__(self, dbstate, setloader, user):
def __init__(self, dbstate, setloader):
self.dbstate = dbstate
if setloader:
self.db_loader = CLIDbLoader(self.dbstate)
@@ -219,7 +221,6 @@ class CLIManager(object):
self.db_loader = None
self.file_loaded = False
self._pmgr = BasePluginManager.get_instance()
self.user = user
def open_activate(self, path):
"""
@@ -247,13 +248,6 @@ class CLIManager(object):
_("Family Tree does not exist, as it has been deleted."))
return
if os.path.isfile(os.path.join(filename, "lock")):
self._errordialog(
_("The database is locked."),
_("Use the --force-unlock option if you are sure "
"that the database is not in use."))
return
if self.db_loader.read_file(filename):
# Attempt to figure out the database title
path = os.path.join(filename, "name.txt")
@@ -295,10 +289,7 @@ class CLIManager(object):
# apply preferred researcher if loaded file has none
res = self.dbstate.db.get_researcher()
owner = get_researcher()
# If the DB Owner Info is empty and
# [default] Researcher is not empty and
# database is empty, then copy default researcher to DB owner
if res.is_empty() and not owner.is_empty() and self.dbstate.db.is_empty():
if res.get_name() == "" and owner.get_name() != "":
self.dbstate.db.set_researcher(owner)
name_displayer.set_name_format(self.dbstate.db.name_formats)
@@ -322,10 +313,9 @@ class CLIManager(object):
def startcli(errors, argparser):
"""
Starts a cli session of Gramps.
:param errors: errors already encountered
:param argparser: :class:`.ArgParser` instance
Starts a cli session of GRAMPS.
errors : errors already encountered
argparser : ArgParser instance
"""
if errors:
#already errors encountered. Show first one on terminal and exit
@@ -345,13 +335,8 @@ def startcli(errors, argparser):
#we need to keep track of the db state
dbstate = DbState()
#we need a manager for the CLI session
from .user import User
user=User(auto_accept=argparser.auto_accept,
quiet=argparser.quiet)
climanager = CLIManager(dbstate, setloader=True, user=user)
climanager = CLIManager(dbstate, True)
#load the plugins
climanager.do_reg_plugins(dbstate, uistate=None)
# handle the arguments
+10 -7
View File
@@ -20,11 +20,12 @@
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
#
# cli.plug.__init__
#
# $Id$
#-------------------------------------------------------------------------
@@ -32,6 +33,7 @@
# Python modules
#
#-------------------------------------------------------------------------
from __future__ import print_function
import traceback
import os
import sys
@@ -59,6 +61,7 @@ from gramps.gen.plug.report import (CATEGORY_TEXT, CATEGORY_DRAW, CATEGORY_BOOK,
from gramps.gen.plug.report._paper import paper_sizes
from gramps.gen.const import USER_HOME
from gramps.gen.dbstate import DbState
from gramps.gen.constfunc import STRTYPE, conv_to_unicode_direct
from ..grampscli import CLIManager
from ..user import User
from gramps.gen.const import GRAMPS_LOCALE as glocale
@@ -76,13 +79,13 @@ def _convert_str_to_match_type(str_val, type_val):
str_val = str_val.strip()
ret_type = type(type_val)
if isinstance(type_val, str):
if isinstance(type_val, STRTYPE):
if ( str_val.startswith("'") and str_val.endswith("'") ) or \
( str_val.startswith('"') and str_val.endswith('"') ):
# Remove enclosing quotes
return str(str_val[1:-1])
return conv_to_unicode_direct(str_val[1:-1])
else:
return str(str_val)
return conv_to_unicode_direct(str_val)
elif ret_type == int:
if str_val.isdigit():
@@ -225,7 +228,7 @@ class CommandLineReport(object):
self.raw_name = name
self.option_class = option_class(name, database)
if category == CATEGORY_GRAPHVIZ:
# Need to include Graphviz options
# Need to include GraphViz options
self.__gvoptions = graphdoc.GVOptions()
menu = self.option_class.menu
self.__gvoptions.add_menu_options(menu)
@@ -306,7 +309,7 @@ class CommandLineReport(object):
self.options_help['papers'][2] = \
[ paper.get_name() for paper in paper_sizes
if paper.get_name() != 'Custom Size' ]
if paper.get_name() != _("Custom Size") ]
self.options_help['papero'][2] = [
"%d\tPortrait" % PAPER_PORTRAIT,
@@ -688,7 +691,7 @@ def run_report(db, name, **options_str_dict):
filename in clr.option_class.get_output()
"""
dbstate = DbState()
climanager = CLIManager(dbstate, setloader=False, user=User()) # don't load db
climanager = CLIManager(dbstate, False) # don't load db
climanager.do_reg_plugins(dbstate, None)
pmgr = BasePluginManager.get_instance()
cl_list = pmgr.get_reg_reports()
+5 -1
View File
@@ -16,11 +16,15 @@
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
# $Id$
""" Unittest for argparser.py """
from __future__ import print_function
import unittest
from ..argparser import ArgParser
import sys
+17 -71
View File
@@ -15,19 +15,16 @@
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
# $Id$
""" CLI tests for gramps """
import sys
import os
import unittest
import re
import io
import subprocess
from gramps.gen.const import TEMP_DIR
test_ged = """0 HEAD
1 SOUR min1r.ged min 1-rec
@@ -41,8 +38,8 @@ test_ged = """0 HEAD
"""
ddir = os.path.dirname(__file__)
min1r = os.path.join(ddir, "min1r.ged")
out_ged = os.path.join(ddir, "test_out.ged")
min1r = os.path.join(ddir,"min1r.ged")
out_ged = os.path.join(ddir,"test_out.ged")
class Test(unittest.TestCase):
def setUp(self):
@@ -55,8 +52,7 @@ class Test(unittest.TestCase):
@classmethod
def setUpClass(cls):
if not os.path.exists(min1r):
with io.open(min1r, "w") as f:
f.write(test_ged)
open(min1r,"wb").write(test_ged)
@classmethod
def tearDownClass(cls):
@@ -73,21 +69,14 @@ class Test(unittest.TestCase):
# This tests the fix for bug #1331-1334
# read trivial gedcom input, write gedcom output
def test2_exec_CLI(self):
pyexec = sys.executable
ifile = min1r
ofile = out_ged
gcmd = "Gramps.py -i %s -e %s" % (ifile, ofile)
process = subprocess.Popen("%s %s" % (pyexec ,gcmd),
stdin=subprocess.PIPE,
stdout=subprocess.PIPE,
stderr=subprocess.PIPE, shell=True)
result_str, err_str = process.communicate()
self.assertEqual(process.returncode, 0,
"executed CLI command %r" % gcmd)
rc = os.system("python %s" % gcmd)
self.assertEquals(rc, 0, "executed CLI cmmand %r" % gcmd)
# simple validation o output
self.assertTrue(os.path.isfile(ofile), "output file created")
with io.open(ofile) as f:
content = f.read()
content = open(ofile).read()
g = re.search("INDI", content)
self.assertTrue(g, "found 'INDI' in output file")
@@ -95,67 +84,24 @@ class Test(unittest.TestCase):
# get cleaned before (and after) running a CLI
# (eg cleanout stale files from prior crash-runs)
def test3_files_in_import_dir(self):
ddir = os.path.join(TEMP_DIR, "import_dbdir")
try:
os.makedirs(ddir)
except:
pass
bogofiles = [os.path.join(ddir, fn) for fn in ("family.db", "lock")]
from gramps.gen.const import TEMP_DIR
ddir = os.path.join(TEMP_DIR,"import_dbdir")
os.makedirs(ddir)
bogofiles = [os.path.join(ddir,fn)
for fn in ("family.db", "lock")]
for fn in bogofiles:
with io.open(fn, "w") as f:
f.write("garbage")
f = open(fn, "w").write("garbage")
# ~same as test 2
pyexec = sys.executable
ifile = min1r
ofile = out_ged
gcmd = "Gramps.py -i %s -e %s" % (ifile, ofile)
process = subprocess.Popen("%s %s" % (pyexec, gcmd),
stdin=subprocess.PIPE,
stdout=subprocess.PIPE,
stderr=subprocess.PIPE, shell=True)
result_str, err_str = process.communicate()
self.assertEqual(process.returncode, 0,
"executed CLI command %r" % gcmd)
rc = os.system("python %s" % gcmd)
self.assertEquals(rc, 0, "executed CLI cmmand %r" % gcmd)
for fn in bogofiles:
self.assertFalse(os.path.exists(fn))
class UnicodeTest(unittest.TestCase):
def setUp(self):
from gramps.cli.clidbman import CLIDbManager
from gramps.gen.config import set as setconfig, get as getconfig
from gramps.gen.dbstate import DbState
self.newpath = os.path.join(os.path.dirname(__file__),
'\u0393\u03c1\u03b1\u03bc\u03c3\u03c0')
self.newtitle = 'Gr\u00e4mps T\u00e9st'
os.makedirs(self.newpath)
self.old_path = getconfig('behavior.database-path')
setconfig('behavior.database-path', self.newpath)
self.cli = CLIDbManager(DbState())
def tearDown(self):
from gramps.gen.config import set as setconfig
for (dirpath, dirnames, filenames) in os.walk(self.newpath, False):
for afile in filenames:
os.remove(os.path.join(dirpath, afile))
for adir in dirnames:
os.rmdir(os.path.join(dirpath, adir))
os.rmdir(self.newpath)
setconfig('behavior.database-path', self.old_path)
# Test that clidbman will open files in a path containing
# arbitrary Unicode characters.
def test4_arbitrary_uncode_path(self):
(dbpath, title) = self.cli.create_new_db_cli(self.newtitle)
self.assertEqual(self.newpath, os.path.dirname(dbpath),
"Compare paths %s and %s" % (repr(self.newpath),
repr(dbpath)))
self.assertEqual(self.newtitle, title, "Compare titles %s and %s" %
(repr(self.newtitle), repr(title)))
if __name__ == "__main__":
unittest.main()
+7 -7
View File
@@ -16,11 +16,15 @@
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
# $Id$
""" Unittest for user.py """
from __future__ import print_function
import unittest
from .. import user
from ...gen.test.user_test import TestUser
@@ -149,6 +153,8 @@ class TestUser_quiet(unittest.TestCase):
@unittest.skipUnless(MOCKING, "Requires unittest.mock to run")
class TestUser_progress(unittest.TestCase):
_progress_begin_step_end = \
TestUser_quiet.test_progress_can_begin_step_end.__func__
def setUp(self):
self.user = user.User()
@@ -180,11 +186,5 @@ class TestUser_progress(unittest.TestCase):
pass
self.assertTrue(MockEP.called)
def _progress_begin_step_end(self):
self.user.begin_progress("Foo", "Bar", 0)
for i in range(10):
self.user.step_progress()
self.user.end_progress()
if __name__ == "__main__":
unittest.main()
+52 -42
View File
@@ -15,13 +15,23 @@
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
# $Id$
#
"""
The User class provides basic interaction with the user.
"""
#------------------------------------------------------------------------
#
# Python Modules
#
#------------------------------------------------------------------------
from __future__ import print_function
import sys
#------------------------------------------------------------------------
#
# Gramps Modules
@@ -46,19 +56,19 @@ _SPINNER = ['|', '/', '-', '\\']
class User(user.User):
"""
This class provides a means to interact with the user via CLI.
It implements the interface in :class:`.gen.user.User`
It implements the interface in gramps.gen.user.User()
"""
def __init__(self, callback=None, error=None, auto_accept=False, quiet=False):
"""
Init.
:param error: If given, notify_error delegates to this callback
:type error: function(title, error)
@param error: If given, notify_error delegates to this callback
@type error: function(title, error)
"""
user.User.__init__(self, callback, error)
self.steps = 0;
self.current_step = 0;
self._input = input
self._input = raw_input if sys.version_info[0] < 3 else input
def yes(*args):
return True
@@ -73,15 +83,15 @@ class User(user.User):
"""
Start showing a progress indicator to the user.
:param title: the title of the progress meter
:type title: str
:param message: the message associated with the progress meter
:type message: str
:param steps: the total number of steps for the progress meter.
a value of 0 indicates that the ending is unknown and the
meter should just show activity.
:type steps: int
:returns: none
@param title: the title of the progress meter
@type title: str
@param message: the message associated with the progress meter
@type message: str
@param steps: the total number of steps for the progress meter.
a value of 0 indicates that the ending is unknown and the
meter should just show activity.
@type steps: int
@returns: none
"""
self._fileout.write(message)
self.steps = steps
@@ -109,23 +119,22 @@ class User(user.User):
"""
self._fileout.write("\r100%\n")
def prompt(self, title, message, accept_label, reject_label, parent=None):
def prompt(self, title, message, accept_label, reject_label):
"""
Prompt the user with a message to select an alternative.
:param title: the title of the question, e.g.: "Undo history warning"
:type title: str
:param message: the message, e.g.: "Proceeding with the tool will erase
the undo history. If you think you may want to revert
running this tool, please stop here and make a backup
of the DB."
:type question: str
:param accept_label: what to call the positive choice, e.g.: "Proceed"
:type accept_label: str
:param reject_label: what to call the negative choice, e.g.: "Stop"
:type reject_label: str
:returns: the user's answer to the question
:rtype: bool
@param title: the title of the question, e.g.: "Undo history warning"
@type title: str
@param message: the message, e.g.: "Proceeding with the tool will
erase the undo history. If you think you may want to revert
running this tool, please stop here and make a backup of the DB."
@type question: str
@param accept_label: what to call the positive choice, e.g.: "Proceed"
@type accept_label: str
@param reject_label: what to call the negative choice, e.g.: "Stop"
@type reject_label: str
@returns: the user's answer to the question
@rtype: bool
"""
accept_label = accept_label.replace("_", "")
reject_label = reject_label.replace("_", "")
@@ -145,11 +154,11 @@ class User(user.User):
"""
Warn the user.
:param title: the title of the warning
:type title: str
:param warning: the warning
:type warning: str
:returns: none
@param title: the title of the warning
@type title: str
@param warning: the warning
@type warning: str
@returns: none
"""
self._fileout.write("%s %s" % (title, warning))
@@ -157,11 +166,11 @@ class User(user.User):
"""
Notify the user of an error.
:param title: the title of the error
:type title: str
:param error: the error message
:type error: str
:returns: none
@param title: the title of the error
@type title: str
@param error: the error message
@type error: str
@returns: none
"""
if self.error_function:
self.error_function(title, error)
@@ -172,9 +181,9 @@ class User(user.User):
"""
Notify the user of a DB error.
:param error: the error message
:type error: str
:returns: none
@param error: the error message
@type error: str
@returns: none
"""
self.notify_error(
_("Low level database corruption detected"),
@@ -187,4 +196,5 @@ class User(user.User):
"""
Displays information to the CLI
"""
self._fileout.write("{} {}\n".format(msg1, infotext))
self._fileout.write(msg1)
self._fileout.write(infotext)

Some files were not shown because too many files have changed in this diff Show More