Commit Graph

4380 Commits

Author SHA1 Message Date
Benny Malengier
61b5c241db correct Changelog
svn: r9533
2007-12-19 09:48:54 +00:00
Benny Malengier
886e3299e4 2007-12-19 Benny Malengier <benny.malengier@gramps-project.org>
* src/gen/lib/person.py: sources in attributes of eventref are not seen
		 in ref tables
	* src/gen/lib/eventref.py: can contain sources, add methods for that
	* src/gen/lib/notebase.py: whitespace
	* src/plugins/Check.py: low level check of repo table, add check to 
		clean up referenced but not existing repos


svn: r9532
2007-12-19 09:47:17 +00:00
Doug Blank
21b0612e84 2007-12-18 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/Editors/_EditFamily.py: doubleclick now edits; fixed share popup
	* src/DisplayTabs/_EmbeddedList.py: fixed share popup
	* src/DisplayTabs/_GalleryTab.py: fixed share popup



svn: r9530
2007-12-19 00:50:33 +00:00
Gary Burton
29a40f4bca 2007-12-18 Gary Burton <gary.burton@zen.co.uk>
* src/plugins/DetAncestralReport.py: Remove some test code



svn: r9529
2007-12-18 19:10:39 +00:00
Doug Blank
3a10b36866 * src/DbManager.py: I was having some weird issues with the archive
file giving errors about "still in use". With these changes, I haven't
	had it happen... yet. Can't say for certain if these changes fixed it,
	or if there is another cause.

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


svn: r9528
2007-12-17 18:43:04 +00:00
Doug Blank
ca186628c7 2007-12-17 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/plugins/CalculateEstimatedDates.py: Give good defaults for Filter 
	and Enumerated Lists
	* src/plugins/Calendar.py: Give good defaults for Filter and Enumerated
	lists
	* src/PluginUtils/_MenuOptions.py: added a get_filter() method to return
	filter object; added a param to constructor to set default filter



svn: r9526
2007-12-17 05:09:34 +00:00
Brian Matherly
f5393d7d3a Properly initialize Filter option.
svn: r9525
2007-12-17 04:12:01 +00:00
Doug Blank
a163da2218 * src/ReportBase/_PaperMenu.py: get margins in PaperFrame constructor
* src/ReportBase/_DocReportDialog.py: pass margins to PaperFrame constructor
	* src/ReportBase/_ReportOptions.py: added getters/setters for margins

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


svn: r9523
2007-12-17 03:44:13 +00:00
Doug Blank
4ba6f344a7 * src/plugins/Calendar.py: fixed MenuOption's EnumeratedList to match
Brian's changes on 2007-12-15.

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


svn: r9522
2007-12-16 18:27:43 +00:00
Doug Blank
671726bf60 * src/DbManager.py: typo %{}s -> %()s; fixed rcs -q issue
* src/Utils.py: typo %{}s -> %()s 

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


svn: r9521
2007-12-16 17:35:16 +00:00
Doug Blank
15b2843d93 2007-12-16 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/plugins/ReadPkg.py: attempt to os.remove(directory) failed
	* src/GrampsDb/_GrampsDbFactories.py: import from gen.db



svn: r9520
2007-12-16 17:03:25 +00:00
Brian Matherly
3e9e629f56 Remove unnecessary code in Graphviz report dialog.
svn: r9518
2007-12-16 04:47:09 +00:00
Brian Matherly
0b5dd35b23 Delete reports that have been unsupported for > 1 year.
svn: r9517
2007-12-16 04:33:30 +00:00
Brian Matherly
a579d61dbc Fix application launch for PDFDoc.
svn: r9516
2007-12-16 04:17:46 +00:00
Brian Matherly
4860b1e422 Add Generic GraphViz options to the GraphVis report dialog for use by all graphviz related reports.
svn: r9515
2007-12-16 03:51:02 +00:00
Brian Matherly
71be179625 Fix TextOption and EnumeratedListOption in MenuOptions.py.
svn: r9514
2007-12-16 03:48:59 +00:00
Gary Burton
253990ff81 * src/DisplayTabs/_ChildModel.py:
* src/Editors/_EditFamily.py: add fallback for birth date (feature #1448)
2007-12-15 Gary Burton <gary.burton@zen.co.uk>
	* src/Editors/_EditFamily.py: emit family-update signal (bug #1416)



svn: r9513
2007-12-15 23:54:52 +00:00
Gary Burton
2eaaa8369e 2007-12-15 Gary Burton <gary.burton@zen.co.uk>
* src/Editors/_EditFamily.py: emit family-update signal #1416



svn: r9512
2007-12-15 21:56:34 +00:00
Doug Blank
8712649b7d * src/plugins/Calendar.py: Added relationships (feature #1086)
* src/PluginUtils/_MenuOptions.py: added get_center_person to filter option

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


svn: r9510
2007-12-15 17:09:44 +00:00
Doug Blank
95c3645f13 * src/plugins/WebCal.py: Temp fixes to keep running (bug #1441)
2007-12-15  Douglas S. Blank  <dblank@cs.brynmawr.edu>


svn: r9509
2007-12-15 15:49:53 +00:00
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
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
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
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
Zdeněk Hataš
62301615b9 Datehandler for czech language added.
svn: r9478
2007-12-10 13:10:13 +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
Alex Roitman
35de3a3e53 2007-12-09 Alex Roitman <shura@gramps-project.org>
* data/grampsxml.rng: Add namemaps and mediapath.
	* data/grampsxml.dtd: Add namemaps and mediapath.



svn: r9470
2007-12-09 20:06:18 +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
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
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
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
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
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
Alex Roitman
f92211cd7b 2007-11-30 Alex Roitman <shura@gramps-project.org>
* data/grampsxml.dtd: Add region to objref.
	* data/grampsxml.rng: Add region to objref.



svn: r9436
2007-12-01 05:06:07 +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
a13f3e950c 2007-11-29 Douglas S.Blank <dblank@cs.brynmawr.edu>
* po//POTFILES.in: renamed PluginStatus.py -> PluginWindows.py



svn: r9431
2007-11-29 12:48:58 +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
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
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
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
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
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
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
368b5f0c27 ChangeLog update Makefile for plugins
svn: r9372
2007-11-20 11:49:01 +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
Jérôme Rapinat
57d0b55a95 ChangeLog update commits
svn: r9364
2007-11-17 08:07:36 +00:00
Stéphane Charette
2e90dd01a2 issue 1381, Confidence:Normal
svn: r9363
2007-11-17 06:06:43 +00:00
Benny Malengier
6757c09f9e Remove rellibsrc/plugins/rel_pt.py
svn: r9360
2007-11-16 21:03:23 +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
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
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
James G Sack
6485880e4b belated changelog ehtry documanting R9320
svn: r9328
2007-11-11 03:01:15 +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
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
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
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
9a9ad2d44e fix broken ansel input module by porting (updated) 2.2 version;minor fix to test_util_test.py
svn: r9306
2007-11-06 08:07:15 +00:00
James G Sack
e7e34deced extract test code to seperate (_test) module
svn: r9303
2007-11-06 06:06:04 +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
James G Sack
8f2a4ca8c7 remove 2 configure-generated files from version control
svn: r9297
2007-11-05 22:17:46 +00:00
Stéphane Charette
535ba0f64a fix first part of issue #1280
svn: r9296
2007-11-05 07:16:10 +00:00
Martin Hawlisch
aa0a835330 * src/gen/lib/Makefile.am, src/gen/db/Makefile.am, src/gen/proxy/Makefile.am, src/gen/utils/Makefile.am: Fix path structure
svn: r9295
2007-11-04 20:41:12 +00:00
Stéphane Charette
1ac7e09eff limit image size in gallery
svn: r9294
2007-11-04 03:29:58 +00:00
Gary Burton
bdd2c23393 2007-11-03 Gary Burton <gary.burton@zen.co.uk>
* src/plugins/DetDescendantReport.py
	* src/plugins/DetAncestralReport.py
	Added functionality to print event and event reference notes. issue #1335



svn: r9292
2007-11-03 22:08:34 +00:00
Stéphane Charette
0aefbc706a issue #1340, don't display mime-type
svn: r9290
2007-11-03 05:43:12 +00:00
Martin Hawlisch
438302d10d * src/plugins/TestcaseGenerator.py: finalize RelLib -> gen.lib transitition
svn: r9289
2007-11-01 21:41:18 +00:00
Martin Hawlisch
63202e3630 * configure.in: We have a runtime check for Python 2.5. Do the same here by using AM_PATH_PYTHON(2.5)
svn: r9288
2007-11-01 17:37:10 +00:00
James G Sack
3ce249d923 CLI fixup: bugs 1331,2,3,4
svn: r9286
2007-10-31 21:47:58 +00:00
Martin Hawlisch
214a12846e * src/DataViews/_EventView.py: Add properties icon to column editor menu entry - the other views use that too.
svn: r9285
2007-10-31 20:47:43 +00:00
Doug Blank
22cf5aaa4c 2007-10-31 Blank <dblank@cs.brynmawr.edu>
* src/plugins/Calendar.py: added capitalize() to months/days; dst()
	* src/plugins/holidays.xml: uses dst() Daylight Saving Time function



svn: r9283
2007-10-31 14:30:54 +00:00
Benny Malengier
6ca7ab6928 2007-10-31 Benny Malengier <benny.malengier@gramps-project.org>
* src/plugins/all_relations.py: use collapse family
	* src/Relationship.py: add collopse equal family



svn: r9282
2007-10-31 12:21:42 +00:00
Doug Blank
61e31e9f16 2007-10-30 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/plugins/Calendar.py: added Peter Landgren's locale suggestions



svn: r9279
2007-10-31 01:13:53 +00:00
Gary Burton
5023c4a84f 2007-10-30 Gary Burton <gary.burton@zen.co.uk>
* src/gen/lib/person.py: setting the death index wrongly.



svn: r9277
2007-10-30 15:07:46 +00:00
Benny Malengier
a1399c28ba 2007-10-27 Benny Malengier <benny.malengier@gramps-project.org>
* src/plugins/rel_fr.py: add test procedure
	* src/Relationship.py: generlize test procedure



svn: r9273
2007-10-30 10:16:20 +00:00
Gary Burton
29b974160f 2007-10-29 Gary Burton <gary.burton@zen.co.uk>
* src/gen/lib/person.py: reset birth and death indexes after deleting
    an event. Fixes #1327



svn: r9269
2007-10-29 22:35:52 +00:00
Doug Blank
ee6bdfdd5e 2007-10-29 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/plugins/holidays.xml: removed SDate: use offset instead



svn: r9267
2007-10-29 21:33:18 +00:00
Benny Malengier
c1d399a435 2007-10-27 Benny Malengier <benny.malengier@gramps-project.org>
* src/DbManager.py: issue #1325, localize last date of change



svn: r9264
2007-10-29 09:41:12 +00:00
Gary Burton
d2f90213c2 * src/Editors/_EditPlace.py: fixed name of street MonitoredEntry
* src/Editors/_EditLocation.py: fixed name of street MonitoredEntry
	MonitoredEntry field for street wrongly named as city. Caused strange
	occasional drag and drop bug. issue #1304

2007-10-28 Gary Burton <gary.burton@zen.co.uk>


svn: r9262
2007-10-28 21:51:00 +00:00
Gary Burton
953e67aaf5 2007-10-28 Gary Burton <gary.burton@zen.co.uk>
* src/DisplayTabs/_EnbeddedList.py: Fixed crash when doing a drag and
	drop with an object that was deleted from a list. issue # 1326



svn: r9260
2007-10-28 16:33:32 +00:00
Benny Malengier
600c064bfa 2007-10-27 Benny Malengier <benny.malengier@gramps-project.org>
* src/Relationship.py: finish up step and inlaw, expand test routine
    Still to add: half-brother recognition, family collapse



svn: r9258
2007-10-28 10:53:06 +00:00
Gary Burton
0c256390aa 2007-10-28 Gary Burton <gary.burton@zen.co.uk>
* src/DisplayModels/_PeopleModel.py: removed a performance change added
	in revision 8734. This was causing issues #1322 & #1324
	Also replaced tab indentation with spaces



svn: r9257
2007-10-28 10:24:15 +00:00
Benny Malengier
7627efe116 * src/Relationship.py: fix typo
2007-10-27 Benny Malengier <benny.malengier@gramps-project.org>


svn: r9256
2007-10-27 09:41:52 +00:00
Benny Malengier
7dbfbc803a 2007-10-27 Benny Malengier <benny.malengier@gramps-project.org>
* src/Relationship.py: begin of extension to step and in-law
	NOT finished.



svn: r9255
2007-10-26 22:54:33 +00:00
Benny Malengier
fb34ae8add 2007-10-26 Benny Malengier <benny.malengier@gramps-project.org>
* src/Relationship.py: change api get_singular, add docu string
	* src/plugins/all_relations.py: call get_singular changed.



svn: r9253
2007-10-26 10:41:26 +00:00
Doug Blank
2bead748b9 2007-10-25 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/plugins/Calendar.py: display date on text report in locale;
	changed a font default; removed string date class: use offset instead



svn: r9251
2007-10-26 00:22:12 +00:00
Benny Malengier
d988130335 2007-10-26 Benny Malengier <benny.malengier@gramps-project.org>
* src/plugins/rel_nl.py: merge in changes of branch22
	* src/DisplayState.py: method to set rel class
	* src/ViewManager.py: call set rel class after loading plugins

	changed. Not for pl, there that method is inherited.


svn: r9250
2007-10-25 23:15:28 +00:00
Gary Burton
3c2cbe68f2 2007-10-25 Gary Burton <gary.burton@zen.co.uk>
* src/GrampsWidgets.py: allow MonitoredEntry widgets to be updated with
	empty strings. issue #1314



svn: r9248
2007-10-25 21:22:42 +00:00
Benny Malengier
256e67cb6c * src/plugins/lineage.py: gen variable conflicts with module gen
2007-10-25 Benny Malengier <benny.malengier@gramps-project.org>


svn: r9247
2007-10-25 20:22:31 +00:00
Benny Malengier
dbcfab0c0d 2007-10-25 Benny Malengier <benny.malengier@gramps-project.org>
* src/plugins/all_relations.py: don't import RelLib



svn: r9244
2007-10-25 07:10:38 +00:00
Benny Malengier
4e902b6f7a * src/plugins.py/rel_xx.py: return order of get_relationship_distance
changed. Not for pt, there that method is inherited.

2007-10-24 Benny Malengier <benny.malengier@gramps-project.org>


svn: r9241
2007-10-24 12:52:07 +00:00
Benny Malengier
b3d15e1dca 2007-10-24 Benny Malengier <benny.malengier@gramps-project.org>
* src/plugins/all_relations.py: collapse parents same family in one line
	* src/Relationship.py: change no parent family code



svn: r9240
2007-10-24 09:49:56 +00:00
Benny Malengier
1b70943814 * src/Relationship.py: internationalization of a string
2007-10-23 Benny Malengier <benny.malengier@gramps-project.org>


svn: r9239
2007-10-23 21:22:33 +00:00
Benny Malengier
0bc1336c51 * src/plugins/RelCalc.py: better comment, issue #1181
2007-10-23 Benny Malengier <benny.malengier@gramps-project.org>


svn: r9238
2007-10-23 20:59:06 +00:00
Benny Malengier
cb3771a715 2007-10-23 Benny Malengier <benny.malengier@gramps-project.org>
* src/Relationship.py: new algorithm to calculate relation
	* src/plugins/all_relations.py: begin of quick report to show extended relationship.



svn: r9237
2007-10-23 20:47:13 +00:00
Benny Malengier
48b7b5db8f 2007-10-22 Benny Malengier <benny.malengier@gramps-project.org>
* src/DisplayTabs/_GalleryTab.py: correctly update displaytab


svn: r9236
2007-10-22 20:45:34 +00:00
Benny Malengier
f8d26dede0 2007-10-22 Benny Malengier <benny.malengier@gramps-project.org>
* src/GrampsDb/_GrampsInMemDB.py: xml load/save not working, fixed #1319


svn: r9233
2007-10-22 18:47:20 +00:00
Doug Blank
4ad174fc44 2007-10-22 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/ReportBase/_MenuOptions.py: Refactored options, GEPS #005



svn: r9231
2007-10-22 04:21:14 +00:00
Doug Blank
84b7fd8f7d 2007-10-21 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/plugins/Calendar.py: select first/last marriage for maiden name



svn: r9230
2007-10-21 20:41:49 +00:00
Benny Malengier
dc428df5bb * src/DisplayTabs/_EmbeddedList.py: during rebuild, don't do select change
* src/DisplayTabs/_NoteTab.py: connect db note changes so tab updates
	* src/DisplayTabs/_ButtonTab.py: avoid double call of selection_change
	* src/DisplayTabs/_GrampsTab.py: method to add db connects, and set connects
	* src/Editors/_EditPrimary.py: on add tab pass db connection method
	* src/Editors/_EditSecondary.py: on add tab pass db connection method
	* src/Editors/_EditReference.py: on add tab pass db connection method

2007-10-21 Benny Malengier <benny.malengier@gramps-project.org>


svn: r9229
2007-10-21 18:25:44 +00:00
Benny Malengier
6462f4b339 2007-10-21 Benny Malengier <benny.malengier@gramps-project.org>
* src/Editors/_EditPerson.py: If a family changes, rebuild family backref of all 
	open editors. issue #1309, causing corrupt database.
	Also remove unneeded associations rebuild when family changes



svn: r9226
2007-10-21 08:04:01 +00:00
Brian Matherly
b3fcd5a4f5 Remove unused funtions setup_output_notebook and setup_post_process from the ReportDialog class.
svn: r9224
2007-10-21 04:23:54 +00:00
Brian Matherly
5fbff2823c Get book report working again.
svn: r9223
2007-10-21 04:20:05 +00:00
Gary Burton
8547df5480 2007-10-20 Gary Burton <gary.burton@zen.co.uk>
* src/plugins/NarrativeWeb.py: display event reference notes and attributes



svn: r9222
2007-10-20 21:26:43 +00:00
Benny Malengier
022596af8a * src/gramps_main.py: if error and terminate, don't show family manager before exit
* src/gramps.py: terminate if wrong python version

2007-10-20  Benny Malengier  <benny.malengier@gramps-project.org>


svn: r9221
2007-10-20 21:24:32 +00:00
Benny Malengier
fb0a6779d2 * src/gramps_main.py: terminate if wrong python version
2007-10-20  Benny Malengier  <benny.malengier@gramps-project.org>


svn: r9220
2007-10-20 18:14:02 +00:00
Benny Malengier
3844d8cb8e * src/DisplayTabs/_BackRefModel.py: allow repository in backref (backref of note)
* src/DisplayTabs/_BackRefList.py: allow edit of repository from backrefs

2007-10-20  Benny Malengier  <benny.malengier@gramps-project.org>


svn: r9218
2007-10-20 12:17:24 +00:00
Benny Malengier
b75de5748f 2007-10-20 Benny Malengier <benny.malengier@gramps-project.org>
* README: gramps 3.0 requires python 2.5



svn: r9217
2007-10-20 09:51:26 +00:00
Benny Malengier
132f884c4e 2007-10-19 Benny Malengier <benny.malengier@gramps-project.org>
* src/DisplayTabs/_EmbeddedList.py: traceback to console on ErrorDialog
	* src/DisplayTabs/_NoteTab.py:
	* src/Selectors/_SelectNote.py:
	* src/Selectors/_SelectorFactory.py:
	Share button on notetab, enable note selector, normal drag and drop


svn: r9215
2007-10-19 22:03:15 +00:00
Benny Malengier
0d285b9bb4 2007-10-19 Gary Burton <gary.burton@zen.co.uk>
* src/DisplayTabs/_EmbeddedList.py:
	* src/DisplayTabs/_ButtonTab.py:
	ENTER is edit on embedded lists, issue #1296


svn: r9214
2007-10-19 20:52:02 +00:00
Doug Blank
addfde0e5f 2007-10-18 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/BasicUtils/_NameDisplay.py: bug in making patterns with uppercase



svn: r9210
2007-10-19 00:14:13 +00:00
Benny Malengier
0f2327429e 2007-10-18 Benny Malengier <benny.malengier@gramps-project.org>
* src/DisplayTabs/__init__.py: add note backref
	* src/glade/gramps.glade: add notebook to note editor to show backref
	* src/DisplayTabs/_NoteTab.py: import editnote in method to avoid import loop
	* src/Editors/_EditNote.py: add notetab of backreferences
	* src/DisplayTabs/_NoteBackRefList.py: note backreferences list
	* src/DisplayTabs/Makefile.am: new backref file
	* po/POTFILES.in: new backref file


svn: r9209
2007-10-18 21:52:08 +00:00
Benny Malengier
f050646e31 2007-10-18 Benny Malengier <benny.malengier@gramps-project.org>
* src/DisplayModels/_BaseModel.py: remove comments
	* src/DisplayModels/_NoteModel.py: show all notes again in note view


svn: r9208
2007-10-18 20:49:45 +00:00
Benny Malengier
4a6723072e 2007-10-17 Benny Malengier <benny.malengier@gramps-project.org>
* src/GrampsDbUtils/_WriteGedcom.py: bug get_phon must be get_phone



svn: r9202
2007-10-17 08:47:16 +00:00
Doug Blank
b4cc165711 * src/plugins/Calendar.py: changed exp eval char to '>'
* src/plugins/holidays.xml: added easter and ash wed eval's

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


svn: r9201
2007-10-17 04:21:34 +00:00
Doug Blank
5d276ee146 2007-10-17 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/gen/lib/date.py: added method Date.offset(value) -> (y,m,d)



svn: r9200
2007-10-17 04:07:26 +00:00
Don Allingham
a1887f46b8 2007-10-16 Don Allingham <don@gramps-project.org>
* src/DataViews/_PersonView.py (PersonView.delete_person_response): 
	use gen.utils.delete_person_from_database



svn: r9199
2007-10-17 03:15:10 +00:00
Doug Blank
d24ef026a9 2007-10-16 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/plugins/Calendar.py: Fixed bug with maiden names, added some support for selecting name formats



svn: r9198
2007-10-17 01:32:51 +00:00
Brian Matherly
87416a3745 Patch from Gary Burton to support shared events in the Narrative web report.
svn: r9197
2007-10-16 12:09:20 +00:00
Benny Malengier
bd5512f31f 2007-10-16 Frederik De Richter <frederik.de.richter@googlemail.com>
* src/plugins/rel_nl.py: new version



svn: r9196
2007-10-16 08:41:25 +00:00
Doug Blank
f9606c4b03 2007-10-15 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/plugins/WebCal.py: fixed a wrong indent level
	* src/plugins/Calendar.py: handle divorces, weekdays, easter, eval values in XML



svn: r9191
2007-10-16 02:26:38 +00:00
Brian Matherly
8aaf924411 Create the directory if it doesn't exist for the web calendar.
svn: r9190
2007-10-15 12:26:31 +00:00
Don Allingham
c42bfa3caf 2007-10-14 Don Allingham <don@gramps-project.org>
* src/GrampsDb/_GrampsBSDDB.py: fix gen calls



svn: r9189
2007-10-15 01:35:31 +00:00
Benny Malengier
eb2bf6cd2e 2007-10-14 Benny Malengier <benny.malengier@gramps-project.org>
* src/DataViews/_PedigreeView.py: remove useless commented line


svn: r9186
2007-10-14 19:56:08 +00:00
Benny Malengier
d9de83e948 2007-10-14 Benny Malengier <benny.malengier@gramps-project.org>
* src/DisplayState.py: actiongroup made double, gives warnings (errors) in newer GTK


svn: r9184
2007-10-14 19:44:58 +00:00
Doug Blank
decba2fb22 2007-10-14 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/plugins/holidays.xml: Added German holidays (from Mirko Leonhaeuser)



svn: r9181
2007-10-14 18:36:37 +00:00
Doug Blank
b653ae202c * src/plugins/holidays.xml: Fixed Victoria Day (via James A. Treacy)
* src/plugins/holidays.xml: Added Swedish official holidays (via Peter L
andgren)

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


svn: r9179
2007-10-14 04:01:09 +00:00
Doug Blank
c10df62997 * src/BasicUtils/_NameDisplay.py: Feature Request #1018, optional parens and commas in NameDisplay, new "common" & "initials" keywords, and i18n
2007-10-13  Douglas S. Blank  <dblank@cs.brynmawr.edu>


svn: r9178
2007-10-14 03:40:57 +00:00
Doug Blank
b444a96dbe * src/Utils.py: uses MAX_AGE_PROB_ALIVE, MAX_SIB_AGE_DIFF, MIN_GENERATION_YEARS, AVG_GENERATION_GAP from Config (Bug #1217)
* src/Config/_GrampsConfigKeys.py: added MAX_AGE_PROB_ALIVE, MAX_SIB_AGE_DIFF, MIN_GENERATION_YEARS, AVG_GENERATION_GAP

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


svn: r9177
2007-10-14 03:29:12 +00:00
Doug Blank
4ae9327dd8 * src/plugins/Calendar.py: no negative years on calendar (no events show before they occur)
* src/plugins/Calendar.py: uses StringOption in MenuOption
	* src/ReportBase/_MenuOptions.py: adds StringOption (one line text entry)
	* src/ReportBase/__init__.py: adds StringOption



svn: r9176
2007-10-14 01:57:18 +00:00
Stéphane Charette
bdcbfb45d0 added Portuguese rel_pt.py contributed by Duarte Loreto <happyguy_pt@hotmail.com>
svn: r9172
2007-10-13 10:07:28 +00:00
Brian Matherly
7b4576c6fa 0001252: Unicode error in NarrativeWeb.py in gramps3.0
svn: r9170
2007-10-13 03:17:27 +00:00
Alex Roitman
aaa58638c1 2007-10-12 Alex Roitman <shura@gramps-project.org>
* src/plugins/unused.glade: Do not translate GTK stock ids.



svn: r9166
2007-10-12 16:43:16 +00:00
Benny Malengier
6f39d28313 * src/gramps_main.py: don't create filters dir, not needed
2007-10-12 Benny Malengier <benny.malengier@gramps-project.org> 


svn: r9165
2007-10-12 12:58:40 +00:00
Brian Matherly
563298e7c8 0001238: Web report: sort references for places and media (use locale.strcoll for sorting)
svn: r9162
2007-10-12 12:16:49 +00:00
Don Allingham
4c2e57cb2e 2007-10-12 Don Allingham <don@gramps-project.org>
* src/gen/lib/note.py (Note.get): fix typo



svn: r9161
2007-10-12 11:48:28 +00:00
Benny Malengier
5495c3f705 * src/Filters/Rules/Event/_MatchesSourceFilter.py: new filter
* src/Filters/Rules/Event/__init__.py: load new filter
	* src/Filters/Rules/Event/Makefile.am: distribute
	* src/Filters/Rules/Person/_MatchesEventFilter.py: new filter
	* src/Filters/Rules/Person/__init__.py: load new filter
	* src/Filters/Rules/Person/Makefile.am: distribute
	* po/POTFILES.in: translate new filters
	This is issue #1249

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


svn: r9160
2007-10-12 11:26:28 +00:00
Benny Malengier
1add2aa37b 2007-10-12 Benny Malengier <benny.malengier@gramps-project.org>
* src/gen/db/dbdir.py: do name group change from GrampsBSDDB to dbdir.


svn: r9159
2007-10-12 10:37:19 +00:00
Don Allingham
f0c2940c04 2007-10-11 Don Allingham <don@gramps-project.org>
* src/DisplayState.py: fix callback references
	* src/DbState.py: fix callback references



svn: r9156
2007-10-12 02:29:45 +00:00
Benny Malengier
95bd750cdb 2007-10-12 Benny Malengier <benny.malengier@gramps-project.org>
* src/Filters/_FilterParser.py: avoid unknown filters crashing
	* src/Filters/Rules/Person/__init__.py: remove private filter list and register, not used.


svn: r9154
2007-10-11 23:05:30 +00:00
Benny Malengier
a0c9947dbd 2007-10-11 Benny Malengier <benny.malengier@gramps-project.org>
* src/gen/db/base.py: allow check without gid creation on all objects
	* src/GrampsDbUtils/_ReadXML.py: on reference read, don't create gid.
	This also patches a privacy setting error on placeobj in place tag section


svn: r9151
2007-10-11 22:41:03 +00:00
Benny Malengier
9edf0e9446 2007-10-11 Benny Malengier <benny.malengier@gramps-project.org>
* src/DateHandler/__init__.py: use portuguese date handler


svn: r9142
2007-10-11 15:33:30 +00:00
Don Allingham
a8b10d1092 2007-10-11 Don Allingham <don@gramps-project.org>
* src/gen/db/base.py:
	* src/GrampsDb_GrampsDbWriteXML.py:
	* src/gen/db/__init__.py: fix callback call



svn: r9140
2007-10-11 12:58:16 +00:00
Benny Malengier
b67d69d299 2007-10-10 Duarte Loreto <happyguy_pt@hotmail.com>
* src/DateHandler/_Date_pt.py: portugese datehandler accompanying translation
	* po/POTFILES.in: new file in POTFILE
	* src/DateHandler/Makefile.am: add new file for distribution


svn: r9130
2007-10-10 19:38:47 +00:00
Don Allingham
5c5022e2cd 2007-10-09 Don Allingham <don@gramps-project.org>
* src/GrampsDb/Makefile.am: update
	* src/gen/db/Makefile.am: update
	* src/gen/lib/primaryobj.py: remove MarkupText dependency
	* src/Makefile.am: remove RelLib
	* po/POTFILES.in: update



svn: r9121
2007-10-10 03:41:44 +00:00
Alex Roitman
3bc809c61b 2007-10-09 Alex Roitman <shura@gramps-project.org>
* configure.in: remove obsolete RelLib/Makefile.in



svn: r9120
2007-10-09 20:26:35 +00:00
Benny Malengier
967ef1c163 2007-10-09 Benny Malengier <benny.malengier@gramps-project.org>
* src/gen/db/base.py: allow not to create gramps_id on add
	* src/GrampsDbUtils/_ReadXML.py: on sourceref, don't create gramps_id
	* src/GrampsDb/_GrampsInMemDB.py: remove gid from memory map only if not None


svn: r9119
2007-10-09 20:02:02 +00:00
Benny Malengier
96c5584960 wrong filename in changelog
svn: r9117
2007-10-09 13:16:35 +00:00
Benny Malengier
f01ae999c3 2007-10-09 Benny Malengier <benny.malengier@gramps-project.org>
* src/GrampsDb/_GrampsInMemDB.py: correctly store global name grouping
	* src/GrampsDb/_GrampsBSDDB.py: correctly store global name grouping
	* src/gen/lib/name.py: allow grouping equal to surname
	* src/Editors/_EditName.py: correct handling of name grouping, issue #647


svn: r9116
2007-10-09 13:05:56 +00:00
Alex Roitman
814e3d6695 * src/GrampsDbUtils/_WriteGedcom.py (__submitter): Remove old usage.
svn: r9111
2007-10-08 21:39:51 +00:00
Alex Roitman
c8278af85c * src/GrampsDbUtils/_ReadXML.py (stop_research): Remove old usage.
svn: r9110
2007-10-08 21:26:20 +00:00
Don Allingham
99febc759f * various: cleanup
2007-10-08  Don Allingham  <don@gramps-project.org>


svn: r9109
2007-10-08 21:19:32 +00:00
Don Allingham
c8d45e8b89 2007-10-08 Don Allingham <don@gramps-project.org>
* src/gen/lib/note.py: make independent of MarkupText.py



svn: r9106
2007-10-08 19:45:06 +00:00
Alex Roitman
e5fb6a7c40 * src/GrampsCfg.py (get_researcher): Remove old usage.
svn: r9105
2007-10-08 19:00:28 +00:00
Alex Roitman
7b6d8b5146 * src/gen/db/dbdir.py (__close_metadata): Store tuple;
(_load_metadata): Load from tuple;
	* src/gen/db/base.py (GrampsDbBase.set_researcher): Move details
	to the Researcher class.
	(set_from): Add method;
	(__init__): Copy from source if provided.


svn: r9104
2007-10-08 18:30:10 +00:00
Alex Roitman
5d94a0d690 2007-10-08 Alex Roitman <shura@gramps-project.org>
* src/gen/lib/researcher.py (serialize, unserialize): Add methods; 
	(set, get): Remove methods.



svn: r9103
2007-10-08 18:07:25 +00:00
Don Allingham
c86ca135a5 * src/gen/lib/attrbase.py: renamed from attributeBase.py
2007-10-08  Don Allingham  <don@gramps-project.org>


svn: r9102
2007-10-08 16:45:37 +00:00
Don Allingham
d58641415d 2007-10-08 Don Allingham <don@gramps-project.org>
* various: gen.lib integration. probably touches almost every file

	* various: gen.utils integration


svn: r9101
2007-10-08 16:41:39 +00:00
Don Allingham
8038bc0dca 2007-10-07 Don Allingham <don@gramps-project.org>
* various: gen.utils integrationk



svn: r9100
2007-10-08 04:02:34 +00:00
Benny Malengier
4f7ebd5b3e 2007-10-07 Gary Burton <gary.burton@zen.co.uk>
* src/DataViews/_RelationView.py: init scroll pos on new person, issue #442


svn: r9097
2007-10-07 20:16:51 +00:00
Benny Malengier
8740b50c2b 2007-10-07 Gary Burton <gary.burton@zen.co.uk>
* src/PageView.py: sort column retains filter value, issue #507


svn: r9095
2007-10-07 19:59:01 +00:00
Don Allingham
08c63b2e45 * src/gen/db/GrampsDbUtils/_Backup.py: use gen.db
2007-10-07  Don Allingham  <don@gramps-project.org>


svn: r9093
2007-10-07 17:00:55 +00:00
Don Allingham
9083803e21 2007-10-07 Don Allingham <don@gramps-project.org>
* src/gen/db/__init__.py: commit



svn: r9092
2007-10-07 14:25:45 +00:00
Don Allingham
32d7968365 2007-10-06 Don Allingham <don@gramps-project.org>
* various: creation of gen.db package



svn: r9091
2007-10-07 03:19:35 +00:00
Benny Malengier
e7f02d1855 2007-10-06 Benny Malengier <benny.malengier@gramps-project.org>
* src/DataViews/_RelationView.py: don't crash on missing media ref
	* src/DisplayTabs/_GalleryTab.py: on missing media ref, notify to run check tool
	* src/plugins/Check.py: add code to remove missing media ref in person,
	family, event, place, source.


svn: r9089
2007-10-06 12:58:11 +00:00
Benny Malengier
8bc8b9858e 2007-10-06 Benny Malengier <benny.malengier@gramps-project.org>
* src/plugins/Check.py: add remove empty objects.


svn: r9087
2007-10-06 09:08:29 +00:00
Zsolt Foldvari
2ced1e49f9 Create custom cell renderer for image labels in GalleryTab for better control.
svn: r9085
2007-10-05 15:04:27 +00:00
Benny Malengier
8c89fa68c7 2007-07-23 Johan Gonqvist <johan.gronqvist@gmail.com>
* src/plugins/Calendar.py: first day of calendar is an option.


svn: r9083
2007-10-05 12:55:08 +00:00