Commit Graph

5200 Commits

Author SHA1 Message Date
Doug Blank
19deae4720 2007-12-15 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/DataViews/_RelationView.py: Made suggestion by Stian:
	http://www.gramps-project.org/wiki/index.php?title=GEPS_002:_RelationView_Expand_and_Collapse#User_Contributions
	and addressed feature request #1404



svn: r9508
2007-12-15 15:16:33 +00:00
Benny Malengier
00511a133f 2007-12-14 Benny Malengier <benny.malengier@gramps-project.org>
* src/Editors/_EditEvent.py: first attribute tab THEN backref
	* src/DisplayTabs/_BackRefList.py: whitespace change
	* src/gen/lib/repo.py: correct error with source backref too
	* src/gen/lib/personref.py:
	* src/gen/lib/mediaref.py:
	* src/gen/lib/childref.py:
	* src/gen/lib/place.py:
	* src/gen/lib/address.py:
	* src/gen/lib/src.py:
	* src/gen/lib/person.py:
	* src/gen/lib/mediaobj.py:
	* src/gen/lib/eventref.py:
	* src/gen/lib/name.py:
	* src/gen/lib/family.py:
	* src/gen/lib/event.py:
	* src/gen/lib/ldsord.py:
	Add get_note_child_list method to allow recursive deletion of notes in
	child objects
	* src/gen/lib/notebase.py: add remove_note that recursively searches
		in the child secondary objects
	* src/plugins/Check.py: fix broken note links, fix broken repo-source link



svn: r9507
2007-12-14 22:18:19 +00:00
Jérôme Rapinat
662c35f10f svn: r9506 2007-12-14 16:28:56 +00:00
Zdeněk Hataš
0cf5866281 reencoded holidays.xml to utf-8, added czech national holidays.
svn: r9504
2007-12-14 13:57:49 +00:00
Jérôme Rapinat
fb2978a45a /src/_RelationView typo
svn: r9503
2007-12-14 13:01:49 +00:00
James G Sack
91824d8f2f fix #1439 failed to skip subordinates under NOTE
svn: r9501
2007-12-14 08:54:40 +00:00
James G Sack
cc81822eb0 added Gedcom read testing util and 1st try at testing
svn: r9500
2007-12-14 08:27:52 +00:00
James G Sack
726bb4e8b8 add simple logging feature for test modules
svn: r9499
2007-12-14 07:34:10 +00:00
Brian Matherly
6bf7737025 Fix MenuToolOptions.
svn: r9498
2007-12-13 05:31:13 +00:00
Doug Blank
6d3e7465d3 2007-12-12 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/GrampsCfg.py: fixed bug #1305, refresh view after name change

	
2007-12-12  Douglas S. Blank  <dblank@cs.brynmawr.edu>


svn: r9497
2007-12-13 02:22:06 +00:00
Brian Matherly
05575ad026 Refactor various aspects of the report system.
svn: r9496
2007-12-13 01:52:03 +00:00
Doug Blank
270706d35f Added another test
svn: r9494
2007-12-12 16:35:58 +00:00
Doug Blank
9871fcf645 2007-12-12 Douglas S. Blank <dblank@doraemon.brynmawr.edu>
* src/GrampsCfg.py: added Translation -> Pattern -> Translation
	so that one can see fully translated text, even if they type in
	English, or %codes
	* src/Utils.py: Fixed two bugs in translations of keywords
	* src/test/utils_test.py: unit tests for keywords/translations



svn: r9493
2007-12-12 16:24:40 +00:00
Doug Blank
f141905e0b 2007-12-11 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/GrampsCfg.py: added keyword and translation functions
	* src/Utils.py: Name Display Editor should work in locale



svn: r9491
2007-12-12 03:59:18 +00:00
Doug Blank
747ccb04cf Removed title() case business
svn: r9489
2007-12-11 14:35:57 +00:00
Doug Blank
0aba9e8e2b * src/ViewManager.py: exposed a private method via a new method,
post_load_newdb()
	* src/ArgHandler.py: made ArgHandler.handle_args() return filename,
	  and filetype, if commandline or recentfile
	* src/gramps_main.py: handles return values from AH.handle_args()

2007-12-10  Douglas S. Blank  <dblank@cs.brynmawr.edu>


svn: r9486
2007-12-11 02:49:58 +00:00
Doug Blank
10d24dd35f * src/DbManager.py: fixed issue in breaking lock on lock
which has already been removed

2007-12-10  Douglas S. Blank  <dblank@cs.brynmawr.edu>


svn: r9485
2007-12-11 00:04:38 +00:00
Doug Blank
1663cd245b 2007-12-10 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/GrampsCfg.py: Fixed bug in being able to edit the uneditable
	* src/BasicUtils/_NameDisplay.py: Renamed standard name patterns
	  to match new pattern name keywords



svn: r9484
2007-12-10 23:09:48 +00:00
Benny Malengier
283678e47e 2007-12-10 Benny Malengier <benny.malengier@gramps-project.org>
* src/gen/lib/notebase.py: change comment string
	* src/gen/lib/person.py: change comment string
	* src/gen/lib/event.py: add attr to list of sec objects, bug #1318



svn: r9481
2007-12-10 21:44:09 +00:00
Doug Blank
87ee404c3b Gave Ed a middle name, fixed error in %codes
svn: r9480
2007-12-10 14:20:22 +00:00
Zdeněk Hataš
7c2e374f46 new czech Datehandler
svn: r9479
2007-12-10 13:13:47 +00:00
Zdeněk Hataš
62301615b9 Datehandler for czech language added.
svn: r9478
2007-12-10 13:10:13 +00:00
Doug Blank
631f3cba6e Gave Ed a Paronymic, GIVEN bug, column name change
svn: r9477
2007-12-10 04:52:26 +00:00
Doug Blank
a297361898 2007-12-09 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/GrampsCfg.py: Rearranged name display preference settings
	* src/BasicUtils/_NameDisplay.py: allow title-case name patterns



svn: r9476
2007-12-10 01:51:39 +00:00
Benny Malengier
30e224ff35 * src/gen/db/dbdir.py: always use db.DB_RECOVER
2007-12-09 Benny Malengier <benny.malengier@gramps-project.org>


svn: r9475
2007-12-09 22:27:24 +00:00
Benny Malengier
77a9eb54cf 2007-12-09 Benny Malengier <benny.malengier@gramps-project.org>
* src/plugins/NarrativeWeb.py: Use Narrated word



svn: r9474
2007-12-09 22:21:54 +00:00
Benny Malengier
7deb79b6f3 2007-12-09 Benny Malengier <benny.malengier@gramps-project.org>
* src/Selectors/_SelectRepository.py: handle column changed, bug #1427



svn: r9468
2007-12-09 17:36:39 +00:00
Doug Blank
b12d33db45 2007-12-09 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/plugins/CalculateEstimatedDates.py: define set_title
	* src/plugins/OwnerEditor.py: define build_menu_names
	* src/PluginUtils/_PluginWindows.py: Fixed layer window issues



svn: r9467
2007-12-09 16:25:28 +00:00
Benny Malengier
c4bf352d49 * src/gen/db/dbdir.py: rebuild ref map correctly, bug #1421
2007-12-09 Benny Malengier <benny.malengier@gramps-project.org>


svn: r9466
2007-12-09 15:56:01 +00:00
Doug Blank
9f04eaad48 Fixed window on top issue, self.show() vs self.window.show()
svn: r9465
2007-12-09 15:53:47 +00:00
Benny Malengier
027036a8c5 2007-12-09 Benny Malengier <benny.malengier@gramps-project.org>
Add support for name grouping import/export
	* src/GrampsDb/_GrampsDbWriteXML.py: write group table out
	* src/GrampsDb/_GrampsBSDDB.py: group table is no sec table, init it
		together with primary tables!
	* src/gen/db/base.py: obtain grouping keys
	* src/gen/db/dbdir.py: group table is no sec table, init it
		together with primary tables!
	* src/gen/utils/dbutils.py: grdb -> grdb copy of grouping table, 
		copy mediapath.
	* src/gen/proxy/proxybase.py: obtain grouping keys, add missing
		bookmark methods
	* src/gen/proxy/dbbase.py: add obtain grouping keys method
	* src/GrampsDbUtils/_ReadXML.py: read in group table
	* src/plugins/ReadGrdb.py: read in group table



svn: r9464
2007-12-09 10:18:59 +00:00
Doug Blank
4ede0511bf Added CalculateEstimatedDates.py
svn: r9461
2007-12-08 15:27:14 +00:00
Doug Blank
e58d354a14 2007-12-07 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/PluginUtils/Makefile.am: Missing _PluginsWindows.py
	* po/test: new unittest dir
	* po/test/po_test.py: new unittest suite for POTFILES
	  and Makefiles
	* po/POTFILES.in: Missing CalculateEstimatedDates.py



svn: r9458
2007-12-08 05:02:09 +00:00
Doug Blank
824622f77a Added double-click, testing Window show variations
svn: r9456
2007-12-07 17:19:22 +00:00
Doug Blank
865404ced6 2007-12-06 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/PluginUtils/_MenuOptions.py: Fixed boolean option double label



svn: r9455
2007-12-07 03:45:08 +00:00
Doug Blank
dca7b6cc27 * src/PluginUtils/_PluginWindows.py: Removed unnecessary code
* src/PluginUtils/_MenuOptions.py: Added "Change" button for filter option

2007-12-06  Douglas S.Blank  <dblank@cs.brynmawr.edu>


svn: r9454
2007-12-07 03:09:58 +00:00
Doug Blank
4742947510 2007-12-06 Douglas S.Blank <dblank@cs.brynmawr.edu>
* src/PluginUtils/_PluginMgr.py: return values on load_plugins was 
	reversed: return True if errors.



svn: r9453
2007-12-07 01:05:32 +00:00
James G Sack
1ecf25c776 fix #1418 ASSO in/out errors
svn: r9452
2007-12-06 22:20:26 +00:00
Doug Blank
bd63b3db14 Refinements
svn: r9450
2007-12-06 17:32:40 +00:00
Doug Blank
095a4e3172 * src/plugins/CalculateEstimatedDates.py: pass in handle to link
* src/PluginUtils/_PluginWindows.py: New clickable text tests

2007-12-06  Douglas S.Blank  <dblank@cs.brynmawr.edu>


svn: r9449
2007-12-06 15:56:22 +00:00
Doug Blank
8be73592d6 2007-12-06 Douglas S.Blank <dblank@cs.brynmawr.edu>
* src/plugins/CalculateEstimatedDates.py: experimental click in text
	* src/PluginUtils/_PluginWindows.py: experimental write_results_link()



svn: r9448
2007-12-06 06:33:21 +00:00
Doug Blank
69fff5654a 2007-12-05 Douglas S.Blank <dblank@cs.brynmawr.edu>
* src/plugins/CalculateEstimatedDates.py: set quality CALCULATED on
	  added dates
	* src/PluginUtils/_PluginWindows.py: buttons are now Close and Apply
	* src/PluginUtils/_MenuOptions.py: 2 bugs: xml load; help/dict typo



svn: r9447
2007-12-06 04:23:12 +00:00
James G Sack
c630199892 add missing () to function call (obvious "typo") fixes bug RJ reported on -devel
svn: r9446
2007-12-05 22:20:08 +00:00
Benny Malengier
e6e33b8934 * src/gen/proxy/proxybase.py: remove unneeded assign
2007-12-04 Benny Malengier <benny.malengier@gramps-project.org>


svn: r9443
2007-12-04 20:32:55 +00:00
Benny Malengier
490a3957f1 2007-12-04 Benny Malengier <benny.malengier@gramps-project.org>
* src/gen/proxy/proxybase.py: add mediapath get
	* src/gen/proxy/dbbase.py: add mediapath methods



svn: r9442
2007-12-04 17:06:45 +00:00
Doug Blank
a303f53386 2007-12-03 Douglas S.Blank <dblank@cs.brynmawr.edu>
* src/plugins/CalculateEstimatedDates.py: Refinements, use results tab
	* src/PluginUtils/_PluginWindows.py: Tool support for a results tab



svn: r9441
2007-12-04 02:54:39 +00:00
Doug Blank
5cbf804684 Removed debugging statements
svn: r9440
2007-12-02 23:19:30 +00:00
Doug Blank
1e0c2d4b58 Bug fixes
svn: r9439
2007-12-02 23:18:22 +00:00
Doug Blank
ea61a85402 2007-12-02 Douglas S.Blank <dblank@cs.brynmawr.edu>
* src/gen/lib/date.py: added new method copy_ymd()
	* src/plugins/CalculateEstimatedDates.py: new tool based on 
	  MenuOptions: calculates estimated dates
	* src/PluginUtils/_PluginWindows.py: refactoring, cleanup

	* po/POTFILES.in: renamed PluginStatus.py -> PluginWindows.py


svn: r9438
2007-12-02 18:41:21 +00:00
Doug Blank
c545e281f4 2007-12-01 Douglas S.Blank <dblank@cs.brynmawr.edu>
* src/Editors/_EditFamily.py: fixed issues with latin american 
	surname guessing



svn: r9437
2007-12-01 15:32:05 +00:00
Benny Malengier
d1b65054a9 2007-11-30 Benny Malengier <benny.malengier@gramps-project.org>
* src/GrampsCfg.py: rel media path entry box
	* src/gen/db/base.py: methods for access
	* src/gen/db/dbdir.py: storage in BSDDB
	* src/GrampsDb/_GrampsDbWriteXML.py: write in header
	* src/GrampsDbUtils/_ReadXML.py: read relative path
	Start of adding relative media path to database



svn: r9435
2007-11-30 23:50:05 +00:00
Doug Blank
604336d764 2007-11-29 Dougas S. Blank <dblank@cs.brynmawr.edu>
* src/Editors/_EditFamily.py: reverse surname guess for father



svn: r9434
2007-11-29 22:07:05 +00:00
Doug Blank
56905cedd8 2007-11-29 Douglas S.Blank <dblank@cs.brynmawr.edu>
* src/ReportBase/__init__.py: import MenuReportOptions
	* src/ReportBase/_ReportOptions.py: import MenuOptions and
	  define MenuReportOptions
	* src/plugins/Calendar.py: get MenuReportOptions from ReportOptions
	* src/plugins/DescendChart.py: ditto
	* src/plugins/AncestorChart.py: ditto
	* src/plugins/GVHourGlass.py: ditto
	* src/plugins/FanChart.py: ditto
	* src/PluginUtils/__init__.py: define MenuToolOptions
	* src/PluginUtils/_MenuOptions.py: Remove circular dependancies



svn: r9433
2007-11-29 15:02:40 +00:00
Benny Malengier
8d64c728fc 2007-11-29 Benny Malengier <benny.malengier@gramps-project.org>
* src/DataViews/_RepositoryView.py:
	* src/gen/db/base.py:
	* src/DisplayModels/_RepositoryModel.py:
	Added a change column in repoview, model, database column storage



svn: r9432
2007-11-29 14:02:22 +00:00
Doug Blank
dc87456a37 * src/plugins/ImportCSV.py: add progress meter
2007-11-29  Douglas S. Blank  <dblank@cs.brynmawr.edu>


svn: r9430
2007-11-29 06:40:06 +00:00
Doug Blank
15f4b137da 2007-11-29 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/ViewManager.py: use PluginsWindows
	* src/PluginUtils/_PluginStatus.py: moved from
	* src/PluginUtils/_PluginWindows.py: moved to
	* src/PluginUtils/__init__.py: use PluginsWindows
	* src/PluginUtils/_Plugins.py: use PluginsWindows



svn: r9429
2007-11-29 06:32:59 +00:00
Doug Blank
a6247edf67 2007-11-28 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/PluginUtils/_MenuOptions.py: added comments
	* src/PluginUtils/_PluginStatus.py: added ToolManagedWindowBatch



svn: r9428
2007-11-29 03:08:07 +00:00
James G Sack
aa1c1a6286 forward port 2.2.x #1394 fix preemptively
svn: r9427
2007-11-29 03:00:07 +00:00
Doug Blank
d9e043c69b 2007-11-28 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/ReportBase/Makefile.am: removed _MenuOptions.py
	* src/PluginUtils/Makefile.am: added _MenuOptions.py



svn: r9426
2007-11-29 02:00:50 +00:00
Doug Blank
8d5e473a01 New
svn: r9425
2007-11-29 00:19:25 +00:00
Doug Blank
d2be7227f5 * src/ReportBase/_MenuOptions.py: removed/moved to PluginUtils
* src/ReportBase/__init__.py: removed Menu items
	* src/plugins/Calendar.py: uses MenuReportOptions
	* src/plugins/DescendChart.py: uses MenuReportOptions
	* src/plugins/AncestorChart.py: uses MenuReportOptions
	* src/plugins/GVHourGlass.py: uses MenuReportOptions
	* src/plugins/FanChart.py: uses MenuReportOptions
	* src/PluginUtils/__init__.py: imports Menu items

2007-11-28  Douglas S.Blank  <dblank@cs.brynmawr.edu>


svn: r9424
2007-11-28 23:33:40 +00:00
Doug Blank
3a7c546917 2007-11-28 Douglas S.Blank <dblank@cs.brynmawr.edu>
* src/ReportBase/_MenuOptions.py: removed global need for gtk here



svn: r9422
2007-11-28 22:21:18 +00:00
Benny Malengier
e8f08492bc 2007-11-28 Benny Malengier <benny.malengier@gramps-project.org>
* example/gramps/example.gramps: correct 3.0 example.gramps, stext is
	no longer used, xml no longer sorted on id on ouput.
	* src/gen/db/base.py: remove test code from Don



svn: r9421
2007-11-28 09:24:00 +00:00
Espen Berg
c8eeede587 Norwegian date handler applied
svn: r9419
2007-11-27 20:14:04 +00:00
Benny Malengier
4fb394530e 2007-11-27 Benny Malengier <benny.malengier@gramps-project.org>
* src/glade/gramps.glade: remove internal from addmedia
	* src/AddMedia.py: remove internal
	* src/Editors/_EditMedia.py: remove internal note code
	Note: no upgrade code for this. Old internal notes will be connected to 
	a media object with type 'Note' and have as type 'Media Note', 
	up to the case a user deletes these media and changes note type to eg
	report or changes the path to a real media object.



svn: r9418
2007-11-27 19:51:45 +00:00
Jérôme Rapinat
0614860e9f svn: r9416 2007-11-27 12:16:56 +00:00
Benny Malengier
f42d1870c5 2007-11-27 Benny Malengier <benny.malengier@gramps-project.org>
* src/ManagedWindow.py: new call_modal method. 
				Reports tools should use that
	* src/GrampsWidgets.py: improve a text string
	* src/plugins/NarrativeWeb.py: use call_modal, trunkate long filter
				names, better placement of selector note/media
	* src/ReportBase/_BareReportDialog.py: reports are modal but not 
				transient, remove bug to make them transient!



svn: r9415
2007-11-27 10:05:24 +00:00
Benny Malengier
1b9bb894c3 2007-11-26 Benny Malengier <benny.malengier@gramps-project.org>
* src/plugins/NarrativeWeb.py: new select 
contact-header-footer-intro
	* src/GrampsWidgets.py: widget for new select


svn: r9414
2007-11-26 21:53:58 +00:00
James G Sack
f9304ef86c revert r9411 -- better leave it broken
svn: r9412
2007-11-26 11:19:07 +00:00
James G Sack
f6b5ac971e #1096 (interim?) fix by testing isfile() before the remove()
svn: r9411
2007-11-26 10:21:18 +00:00
James G Sack
63a3f8479b switch CLI import to TEMP_DIR location; see new Utils functs
svn: r9409
2007-11-26 05:41:04 +00:00
James G Sack
97a720945f remove accidentally committed trial code
svn: r9408
2007-11-26 05:22:20 +00:00
James G Sack
ecfa4aa0c0 add USER_xxx constants to const, use them
svn: r9407
2007-11-26 05:11:19 +00:00
James G Sack
88f23700a0 #1397 add GrampsDbException handler in CLI import path (grdb not handled)
svn: r9406
2007-11-26 04:43:00 +00:00
James G Sack
f1e80ba499 really check-in regrtest this time
svn: r9405
2007-11-26 01:42:09 +00:00
James G Sack
db81451083 make date_test regrtest-compatible, minor tweak to regrtest
svn: r9404
2007-11-26 01:15:56 +00:00
Benny Malengier
ac82ef8754 2007-11-25 Benny Malengier <benny.malengier@gramps-project.org>
* src/gen/lib/notetype.py: type report, citation
	* src/plugins/NarrativeWeb.py: new selection of home note & home media
	* src/GrampsWidgets.py: NoteEntry, MediaEntry
	I intend to change the other note selectors likewise next.


svn: r9403
2007-11-25 19:07:50 +00:00
Doug Blank
5fdffbe292 * src/gen/lib/date.py: refer to Config values via Config.get()
* src/gen/lib/test/date_test.py: set Config values before testing

2007-11-25  Douglas S. Blank  <dblank@cs.brynmawr.edu>


svn: r9402
2007-11-25 18:13:19 +00:00
Doug Blank
0e82517d94 2007-11-25 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/Config/_GrampsGconfKeys.py: fixed changes in gconf interface



svn: r9401
2007-11-25 17:32:20 +00:00
Doug Blank
36c73d38b3 2007-11-25 Douglas S.Blank <dblank@cs.brynmawr.edu>
* src/gen/lib/test/date_test.py: turned each test into a case



svn: r9400
2007-11-25 05:16:12 +00:00
Jérôme Rapinat
8212127ecf /src/plugins/rel_fr.py update
svn: r9399
2007-11-24 19:47:04 +00:00
Benny Malengier
40d9440e86 2007-11-24 Benny Malengier <benny.malengier@gramps-project.org>
* src/GrampsWidgets.py: ObjEntry, PlaceEntry and NoteEntry inherit from 
it.


svn: r9398
2007-11-24 16:57:45 +00:00
Doug Blank
3d2b06a66a 2007-11-24 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/gen/lib/date.py: had to import calendar by path.name
	  (so that the import of date_test would work)
	* src/gen/lib/test: new test directory
	* src/gen/lib/test/date_test.py: unittests for date.py



svn: r9397
2007-11-24 16:35:57 +00:00
Jérôme Rapinat
b3d12508ca svn: r9396 2007-11-24 14:18:21 +00:00
Benny Malengier
49491384c9 2007-11-24 Benny Malengier <benny.malengier@gramps-project.org>
* src/Editors/_EditPerson.py: callback family update bug removed



svn: r9394
2007-11-24 13:53:04 +00:00
Jérôme Rapinat
bea7f00011 svn: r9393 2007-11-24 11:10:57 +00:00
Jérôme Rapinat
e9f8590f25 /src/DataViews/_PersonView use correct TransUtils for action|_Edit
svn: r9391
2007-11-23 16:23:07 +00:00
Benny Malengier
f000b4575a * src/plugins/rel_nl.py: new half sibling types
* src/plugins/rel_it.py: new half sibling types
	* src/Relationship.py: change the sibling type to distinguish
	side of relation. Correct bug in sibling type determination.

2007-11-23 Benny Malengier <benny.malengier@gramps-project.org>


svn: r9390
2007-11-23 15:02:30 +00:00
Benny Malengier
5a37ee41ea * src/DataViews/_RelationView.py: tooltip cleanup, see also #256
2007-11-23 Benny Malengier <benny.malengier@gramps-project.org>


svn: r9389
2007-11-23 09:05:04 +00:00
Benny Malengier
36ac2f8190 2007-11-23 Benny Malengier <benny.malengier@gramps-project.org>
* src/plugins/all_relations.py: remove unnecessary import
	* src/plugins/siblings.py: add sibling relation if not normal
	* src/Relationship.py: improve sibling type calculation
	Issue #1323



svn: r9388
2007-11-23 08:27:11 +00:00
Jérôme Rapinat
ebc943ed08 /src/plugins/rel_fr.py typo
svn: r9387
2007-11-22 17:02:07 +00:00
Jérôme Rapinat
1166a2482a /src/plugins/rel_fr.py use alternative for STEP
svn: r9386
2007-11-22 16:57:32 +00:00
Benny Malengier
28de76d2c0 * src/Config/_GrampsConfigKeys.py: key for gen search depth
* src/GrampsCfg.py: Gramps preferences allows to set search depth
			of relationship.
	* src/Relationship.py: methods to change generation depth of search
	* src/plugins/rel_fr.py: remove depth use
	* src/plugins/all_relations.py: use depth, correct remark print error
	* src/plugins/rel_pl.py: remove depth use
	* src/DisplayState.py: hook to change relclass depth from GrampsCfg
	See also issue #1290

2007-11-22 Benny Malengier <benny.malengier@gramps-project.org>


svn: r9385
2007-11-22 16:13:10 +00:00
Benny Malengier
0dca36536d * src/Relationship.py: remove old methods that are no longer used,
get_relationship() and get_relationship_distance()

2007-11-22 Benny Malengier <benny.malengier@gramps-project.org>


svn: r9384
2007-11-21 23:34:41 +00:00
Benny Malengier
14885c719e 2007-11-22 Benny Malengier <benny.malengier@gramps-project.org>
* src/plugins/relcalc.glade: don't do connect in glade, we need key
	* src/plugins/Leak.py: use os.sep, not + '/'
	* src/plugins/RelCalc.py: Don't keep recalculating relation map of the
	active person, do it once. 50% faster. Make sure all objects can be
	collected by the garbage collector
	* src/Relationship.py: allow to connect to database. Map of first 
	person is stored, only to be removed if database changed, or it
	concerns a different person. This reduces calculation with 50%
	* src/DisplayState.py: don't recalculate home person every time, don't
	call relationship calc on every click, only call it when the people
	are different



svn: r9383
2007-11-21 23:15:10 +00:00
Doug Blank
d6deb0c95b * src/gen/lib/date.py: added comparison operator for match()
* src/Utils.py: uses new match comparison

2007-11-21  Douglas S. Blank  <dblank@cs.brynmawr.edu>


svn: r9382
2007-11-21 20:05:18 +00:00
Doug Blank
d692868ce0 Fixed error in setting None values
svn: r9381
2007-11-21 15:11:14 +00:00
Doug Blank
5975600e6a typo
svn: r9380
2007-11-21 14:55:19 +00:00
Doug Blank
9ee75010b6 2007-11-21 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/Utils.py: probably_alive now takes date rather than year
	* src/gen/proxy/living.py: create date from year
	* src/gen/lib/date.py: added methods to do date math
	  and return Date object (set_yr_mon_day_offset, copy_offset_ymd)
	* src/plugins/Calendar.py: updated to use probably alive date
	* src/Filters/Rules/Person/_ProbablyAlive.py: parse entry as date



svn: r9379
2007-11-21 14:49:50 +00:00
Jérôme Rapinat
30fd8b8604 src/ReportBase/Makefile.am add missing _GraphvizReportDialog reference
svn: r9374
2007-11-20 14:53:49 +00:00
Jérôme Rapinat
6437ee5d68 src/plugins/Makefile.am update
svn: r9371
2007-11-20 11:46:19 +00:00
Alex Roitman
5d01d158a1 2007-11-19 Alex Roitman <shura@gramps-project.org>
* src/docgen/Makefile.am (dist_pkgdata_DATA): Use proper name.



svn: r9369
2007-11-19 15:49:37 +00:00
Brian Matherly
93a208dcf1 Fix crash with alternate parents in Individual Complete Report.
svn: r9368
2007-11-19 13:00:53 +00:00
Benny Malengier
3438c8973d 2007-11-19 Benny Malengier <benny.malengier@gramps-project.org>
* src/Relationship.py: many improvements and bug fixes
	* src/plugins/all_relations.py: bug fixes
	* src/plugins/RelCalc.py: use new API
	* src/plugins/rel_nl.py: finished, removed comment
	* src/plugins/rel_it.py: finished
	* src/plugins/rel_pl.py: move old code here away from Relationship
	* src/plugins/rel_pt.py: import gen.lib



svn: r9367
2007-11-18 23:39:14 +00:00
Brian Matherly
690b0bdb3c Fix 0001361: Web report: Directory name conflicts
svn: r9366
2007-11-18 14:19:33 +00:00
Martin Hawlisch
e7696a3a51 * src/DisplayModels/_RepositoryModel.py: Properly display the city
svn: r9365
2007-11-17 22:20:46 +00:00
Stéphane Charette
2e90dd01a2 issue 1381, Confidence:Normal
svn: r9363
2007-11-17 06:06:43 +00:00
Benny Malengier
8ae7f03c04 changed comment
svn: r9361
2007-11-16 21:27:42 +00:00
Jérôme Rapinat
8c0b4cb5ab src/DataViews/_PersonView.py typo for gettext context
svn: r9357
2007-11-16 17:03:56 +00:00
Jérôme Rapinat
3f6d58dbde /src/PageView.py typo for gettext context
svn: r9356
2007-11-16 16:59:52 +00:00
Jérôme Rapinat
7319fb97cb src/glade patch issue #1367
svn: r9355
2007-11-16 16:53:56 +00:00
Martin Hawlisch
802f0eb33f Trying to fix unicode filename handling on Windows. Patch ported from 2.2.
svn: r9354
2007-11-16 16:45:45 +00:00
Benny Malengier
5cf5857bed 2007-11-16 Jerome Rapinat <romjerome@yahoo.fr>
* src/glade/gramps.glade: correct mnemonic_widget
	* src/glade/edit_person.glade: correct mnemonic_widget
	ticket #1367



svn: r9353
2007-11-16 09:01:39 +00:00
Martin Hawlisch
68129b0525 Move date tests from TestcaseGenerator to seperate plugin
svn: r9352
2007-11-16 08:14:57 +00:00
Martin Hawlisch
df3c42318b Remember Seting of the PedigreeView in the config
svn: r9351
2007-11-16 07:59:05 +00:00
Brian Matherly
978d7b2987 0001369: Cannot translate (LivingProxy) references on NarrativeWeb dialog
svn: r9348
2007-11-13 12:46:56 +00:00
Benny Malengier
509b9b918a 2007-11-13 Benny Malengier <benny.malengier@gramps-project.org>
* src/plugins/GraphViz.py: issue #1362, code generation should not show
	open with ghostview, ..., instead show app with text/plain.



svn: r9347
2007-11-13 10:33:27 +00:00
James G Sack
3e196650b5 minor fix and update to test code
svn: r9345
2007-11-13 08:10:00 +00:00
Martin Hawlisch
a73c35757d * src/TipOfDay.py: Catch exceptions when parsing the tips file.
svn: r9344
2007-11-13 07:38:36 +00:00
Gary Burton
fc46116056 2007-11-12 Gary Burton <gary.burton@zen.co.uk>
* src/ScratchPad.py: fixed a crash when building tooltip. Not enough
	place holders in format string



svn: r9342
2007-11-12 21:28:02 +00:00
Benny Malengier
58211b2f79 * src/DataViews/_PersonView.py: translation: Edit object, not menu with action|_Edit
* src/PageView.py: translation: Edit object, not menu with action|_Edit
	issue #1370

2007-11-12 Benny Malengier <benny.malengier@gramps-project.org>


svn: r9339
2007-11-12 19:43:41 +00:00
Jérôme Rapinat
d04df1c3c8 src/plugins typo
svn: r9338
2007-11-12 18:40:26 +00:00
Benny Malengier
8f3c7808a1 * src/ViewManager.py: use import image
2007-11-12 Benny Malengier <benny.malengier@gramps-project.org>


svn: r9337
2007-11-12 16:01:31 +00:00
Benny Malengier
14d6cc70d0 2007-11-12 Benny Malengier <benny.malengier@gramps-project.org>
* src/images/gramps-import.png : import image
	* src/gramps_main.py: register import image
	* src/DbLoader.py: Use import not open in import dialog, issue #396



svn: r9336
2007-11-12 15:44:15 +00:00
Jérôme Rapinat
fc362508e8 src/plugins typo
svn: r9335
2007-11-12 13:09:09 +00:00
James G Sack
691baa87a5 fix #1364 typo in LDS_ORD_NAME table
svn: r9332
2007-11-12 08:22:04 +00:00
James G Sack
2d2bebdf5d fix Bug 1358 CLI leftovers
svn: r9331
2007-11-11 18:25:01 +00:00
Benny Malengier
a2be7edd5b 2007-11-10 Benny Malengier <benny.malengier@gramps-project.org>
* src/plugins/rel_nl.py: inlaw children are allowed
	* src/Relationship.py: inlaw children are allowed



svn: r9330
2007-11-11 11:32:04 +00:00
Jérôme Rapinat
cb1cb76aa7 /plugins/rel_fr.py update inlaw
svn: r9329
2007-11-11 11:27:29 +00:00
Gary Burton
4d0765cfa6 2007-11-10 Gary Burton <gary.burton@zen.co.uk>
* src/plugins/IndivComplete.py: added support for printing non-primary,
	non-family events.



svn: r9326
2007-11-10 23:11:03 +00:00
Benny Malengier
635ff9e829 2007-11-10 Benny Malengier <benny.malengier@gramps-project.org>
* src/plugins/all_relations.py: collapse inlaws
	* src/plugins/Ancestors.py: use new calling grandparent string
	* src/plugins/rel_nl.py: change to new API
	* src/plugins/rel_it.py: change comment
	* src/plugins/rel_pl.py: use old filter
	* src/Relationship.py: improvements, protected methods

2007-11-08 Benny Malengier <benny.malengier@gramps-project.org>


svn: r9325
2007-11-10 14:54:29 +00:00
Benny Malengier
6e329879a4 2007-11-07 Benny Malengier <benny.malengier@gramps-project.org>
* TODO: update
	* src/DisplayTabs/_EventEmbedList.py: catch managed window crash



svn: r9324
2007-11-09 11:51:57 +00:00
Stéphane Charette
4e9f909083 issue #1352, include all children as siblings in relationship view
svn: r9323
2007-11-08 09:12:01 +00:00
Stéphane Charette
766d9147b8 that'll teach me! -- typo in the typo
svn: r9322
2007-11-08 07:54:20 +00:00
Stéphane Charette
8eab0594bb typos, no functional change
svn: r9321
2007-11-08 07:43:42 +00:00
James G Sack
dd9e15b43d fix missing parent in import and add unit test
svn: r9320
2007-11-08 02:41:10 +00:00
Benny Malengier
60fc844167 * src/AddMedia.py: fix issue #1350, relative path not working addmedia
* src/Editors/_EditPerson.py: family rebuild callback error

2007-11-07 Benny Malengier <benny.malengier@gramps-project.org>


svn: r9317
2007-11-07 18:49:14 +00:00
Benny Malengier
070be15e0d 2007-11-07 Benny Malengier <benny.malengier@gramps-project.org>
* src/AddMedia.py: media crash, fix issue #1349, change unicode to Utils



svn: r9316
2007-11-07 11:11:41 +00:00
Benny Malengier
9147ed2a9a * src/plugins/all_relations.py: english issues
* src/Relationship.py: english issues

2007-11-06 Benny Malengier <benny.malengier@gramps-project.org>


svn: r9313
2007-11-06 19:46:07 +00:00
Benny Malengier
5cc8a5357b * src/Relationship.py: fix error with nephew, niece
2007-11-06 Benny Malengier <benny.malengier@gramps-project.org>


svn: r9312
2007-11-06 18:58:44 +00:00
Jérôme Rapinat
90a29e390b /plugins/rel_fr.py add inlaw
svn: r9311
2007-11-06 15:42:54 +00:00
Benny Malengier
f6d4bf1b60 * src/gramps.py: text error, issue #1342
2007-11-06 Benny Malengier <benny.malengier@gramps-project.org>


svn: r9310
2007-11-06 14:36:24 +00:00
Jérôme Rapinat
96b9841e69 /plugins/rel_fr.py use correct gen for nephew/niece (out of lists)
svn: r9309
2007-11-06 14:01:09 +00:00
Benny Malengier
7f973965e7 2007-11-06 Benny Malengier <benny.malengier@gramps-project.org>
* src/plugins/all_relations.py: refractor, use class
	* src/Relationship.py: further improvements
	* src/plugins/rel_pl.py: rename procedure to avoid conflict
	* src/plugins/rel_it.py: start of changes
	* src/DisplayState.py: use the new method get_one_relation



svn: r9308
2007-11-06 10:44:17 +00:00
James G Sack
013b725dc1 add missing gettext import
svn: r9307
2007-11-06 08:18:18 +00:00
James G Sack
6f5edcd1d1 fix broken ansel input module by porting (updated) 2.2 version;minor fix to test_util_test.py
svn: r9305
2007-11-06 08:03:40 +00:00
James G Sack
fd45b1d136 really commit this cli-test
svn: r9304
2007-11-06 06:18:17 +00:00
James G Sack
2adea9a5f5 extract test code to seperate (_test) module
svn: r9302
2007-11-06 05:37:29 +00:00
James G Sack
84a7a512f8 unittest framework kickoff
svn: r9301
2007-11-06 03:51:21 +00:00
Stéphane Charette
535ba0f64a fix first part of issue #1280
svn: r9296
2007-11-05 07:16:10 +00:00