James G Sack
e21d552013
Added support for blacklisted (eg, obsolete/retired) type values.
...
Updated unittest to verify changes. No effect on existing code.
Basic pieces are ready for fixing #1680 , but now awaiting a translation
strategy and code for reading a database with blacklisted values.
At that point #1680 fix will simply require adding a line like
_BLACKLIST=[CAUSEDEATH]
to eventtype.py.
svn: r10405
2008-03-27 07:24:06 +00:00
James G Sack
bca1d41204
Some cleanup prior to an upcoming change for bug #1680 .
...
Minor optimization in _init_map (replace loop w/ list-comprehension
Remove unused variables VALUE_POS, STRING_POS,
At call to self.set, remove unnecessary logic that duplicates
else-clause within the set() function itself
svn: r10404
2008-03-27 03:11:48 +00:00
James G Sack
76ee14989f
Avert potential exception when initializing with a tuple of length 1 or 0
...
This fixes a side-effect of revision 10398.
Also add unittest for grampstype.py, to test this fix
svn: r10403
2008-03-27 02:36:55 +00:00
Zsolt Foldvari
6bb0c17384
Removing InstanceType calls from gen.lib modules. Required by the
...
GrampsTypeMeta changes.
svn: r10402
2008-03-26 18:45:58 +00:00
Jérôme Rapinat
695168661e
fr.po: typo
...
svn: r10401
2008-03-26 12:38:22 +00:00
Zsolt Foldvari
93998976ff
Removing InstanceType calls from gen.lib modules. Required by the
...
GrampsTypeMeta changes.
svn: r10399
2008-03-25 23:38:24 +00:00
Zsolt Foldvari
8e5591ee16
Fixing: none of the types subclassed from GrampsType can be initialized with
...
value 0.
svn: r10398
2008-03-25 22:59:59 +00:00
Zsolt Foldvari
3f23e4b899
Introducing GrampsTypeMeta in gen.lib.grampstype.GrampsType.
...
This way the subclassed type classes don't have to import and call init_map().
svn: r10397
2008-03-25 22:55:58 +00:00
Doug Blank
29ed9a79fe
0001972: Fixed untranslated filter names in FilterByName\n and 'and' in family description
...
svn: r10396
2008-03-25 15:06:01 +00:00
Erik De Richter
a10e0c4cba
update nl.po
...
svn: r10395
2008-03-25 08:39:15 +00:00
Erik De Richter
15f77fc185
typos dutch translation
...
svn: r10385
2008-03-24 07:50:33 +00:00
Brian Matherly
8281f7157d
0001950: BUG: Book report, Ancestor Tree - selecting desired person do not work
...
svn: r10381
2008-03-23 19:33:31 +00:00
James G Sack
5f5e83f512
removed duplicate NUM_CHILD entry in _DATAMAP list
...
svn: r10379
2008-03-23 18:49:12 +00:00
James G Sack
0f21524aa7
#1853 , #1679 , #1849 : Remove code that auto-generates descripion field
...
for events in imported gedcom. Such descriptions can always be done via
the "Extract event descriptions from event data" tool if really wanted.
svn: r10378
2008-03-23 02:54:52 +00:00
Benny Malengier
746c5cfa31
0001937: Don't know GTK color !
...
Changes make this warning appear less, so partially resolved
svn: r10376
2008-03-22 15:41:33 +00:00
Erik De Richter
5498fd1efe
typos in dutch translation
...
svn: r10370
2008-03-22 11:47:31 +00:00
Doug Blank
4a283dd93f
Changes to allow Menu Options to be used in other places
...
svn: r10369
2008-03-21 22:58:35 +00:00
Benny Malengier
1a2fb30f20
set bookmarks editor transient too
...
0001968: twice help click on bookmark closes application
svn: r10368
2008-03-21 22:43:11 +00:00
Benny Malengier
fe6840666c
Export of gpkg saves paths in tarfile as path in database.
...
Import of gpkg exports media in home dir, sets base media path to that dir, so user can
easily change position with move in filemanager, and change of base media path
0001966: import of gpkg copies media files to hidden dir & not accessible
svn: r10366
2008-03-21 22:28:28 +00:00
Raphael Ackermann
799c6a6a33
Add a gtk loop in Bookmarks.edit() and only close the Bookmark editor if gtk.RESPONSE_CLOSE is issued
...
0001968: twice help click on bookmark closes application
svn: r10364
2008-03-21 21:58:41 +00:00
Erik De Richter
4209bfb402
nl.po
...
svn: r10362
2008-03-21 14:07:55 +00:00
Erik De Richter
9f3ba337e1
/src/plugins/NotRelated.py
...
svn: r10361
2008-03-21 12:18:27 +00:00
Erik De Richter
f3f60ac483
/po/nl.po
...
svn: r10360
2008-03-21 09:13:29 +00:00
Kees Bakker
d579d8543a
Moving many functions from BasePage to NavWebReport. Introducing new
...
functions to deal with disk file and functions that deal with URLs.
Changed to selection of the extra two subdirectories so that the ppl
tree is much better balanced (not all files in one directory).
* src/plugins/NarrativeWeb.py
svn: r10357
2008-03-20 22:24:36 +00:00
Peter Landgren
5a3a1c4910
Updates Swedish translation.
...
svn: r10353
2008-03-20 09:32:40 +00:00
Peter Landgren
f7ea60bc13
Correct fill colors #1942
...
svn: r10351
2008-03-20 07:52:17 +00:00
Brian Matherly
5918599acf
0001957: Orientation switch doesn't work for Graphviz reports.
...
0001940: GS PDF output is broken for Graphiz graphs. Page size depends on dpi
svn: r10346
2008-03-20 03:18:35 +00:00
Gary Burton
b8e54e6e81
Bug #1909 check to see if database is already open.
...
svn: r10345
2008-03-19 21:32:01 +00:00
Gary Burton
8ce30ced20
Remove extraneous bracket
...
svn: r10342
2008-03-19 21:17:10 +00:00
Erik De Richter
32eaa990a7
link to wiki manual
...
svn: r10341
2008-03-19 19:17:20 +00:00
Benny Malengier
9e04df1611
issue 0001941: Filter side bar grows to cover all information in view
...
svn: r10339
2008-03-19 11:32:18 +00:00
Gary Burton
b06e1b67b9
Allow event details to include an address clause. See gedcom specification at http://homepages.rootsweb.com/~pmcbride/gedcom/55gcch2.htm#EVENT_DETAIL
...
svn: r10336
2008-03-18 22:12:49 +00:00
Kees Bakker
742467a3bf
Using the NWeb_Mainz_*.png images for background.
...
* src/data/NWeb-Screen_Mainz.css
svn: r10334
2008-03-18 14:50:58 +00:00
Kees Bakker
5da7180dd9
Moved create_file() and create_link_file to NavWebReport.
...
Solved a problem with "CurrentSection" which wasn't set in a translated
environment.
Eliminated several options in BasePage, by referring to report.options
(to keep them in one place only).
Lots of other little changes.
* src/plugins/NarrativeWeb.py
svn: r10333
2008-03-17 21:09:16 +00:00
Doug Blank
bf35fba015
Fixed surname count on Top Surnames and Surname Cloud Gramplets
...
svn: r10329
2008-03-17 03:32:20 +00:00
Jérôme Rapinat
11d8b92beb
pl.po: update translation
...
svn: r10328
2008-03-16 08:20:50 +00:00
Brian Matherly
6c526f3ef2
0001938: Substring filter for notes does not work.
...
svn: r10326
2008-03-15 21:10:30 +00:00
Peter Landgren
b078464281
Decimal comma/point, Issue 1939, fixed.
...
svn: r10321
2008-03-15 09:08:54 +00:00
Peter Landgren
610443812b
Update sv.po
...
svn: r10318
2008-03-15 08:02:58 +00:00
Peter Landgren
51e3fe7e75
Unnessecary empty translatable string made untranslatable
...
svn: r10317
2008-03-15 08:02:10 +00:00
Brian Matherly
f184e22720
0001779: Texts "in." and "cm." on Document Options tab is not translatable
...
svn: r10314
2008-03-15 04:23:23 +00:00
Gary Burton
08d840311b
Revert change made in revision 10298
...
svn: r10312
2008-03-14 23:50:54 +00:00
Kees Bakker
f637b709d6
The surname pages now have the proper SiteTitle. And the page title
...
looks better too, I think. (More testing is needed.)
Usage of variable names 'id' and 'type' is corrected.
* src/plugins/NarrativeWeb.py
svn: r10310
2008-03-14 21:07:35 +00:00
Erik De Richter
5cc13c8dfd
update dutch translation
...
new gramps.pot
svn: r10308
2008-03-14 16:55:44 +00:00
Brian Matherly
68ad749f6a
0001908: BUG: running tools from command line
...
svn: r10303
2008-03-14 04:26:44 +00:00
Brian Matherly
3febc1e429
0001905: BUG in book command line report KeyError: 'bookname'
...
svn: r10301
2008-03-14 03:54:42 +00:00
Gary Burton
1464abffab
Bug 1280 make sure source media pages are created before the gallery
...
svn: r10298
2008-03-13 23:29:01 +00:00
Kees Bakker
e32e602b50
Two small bugfixes found by pylint.
...
* src/plugins/NarrativeWeb.py
svn: r10296
2008-03-13 22:35:26 +00:00
Kees Bakker
a8a59c9f7c
Major reorganisation of NarrativeWeb.py
...
Pass instance of NavWebReport down to BasePage instead of doing it by
many function arguments. There are still a few "TODO" and "FIXME" notes
in the code. At least one test succeeded to create exactly the same HTML
output. One test, what more do you need?
Pylint reports rating of 8.01/10, but I'm sure I can do better :-)
* src/plugins/NarrativeWeb.py
svn: r10295
2008-03-13 22:28:22 +00:00
Kees Bakker
dfe4088d86
Remove marker argument of note.get().
...
Eliminate 'up' parameter of person_link().
* src/plugins/NarrativeWeb.py
svn: r10294
2008-03-13 20:31:33 +00:00