Commit Graph

4324 Commits

Author SHA1 Message Date
Doug Blank
0fb8fad4ee 2007-12-29 Douglas S. Blank <dblank@saliva.brynmawr.edu>
* src/DataViews/MyGrampsView.py: renamed background to main
	* src/plugins/DefaultGadgets.py: call main (generator)



svn: r9622
2007-12-29 11:49:15 +00:00
Doug Blank
3fadb9f213 2007-12-28 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/plugins/SameSurnames.py: new quick report for showing 
	people with same surnames



svn: r9621
2007-12-29 04:42:37 +00:00
James G Sack
7216c72509 fix confusing dup function name (fn -> fn3)
svn: r9618
2007-12-29 03:00:46 +00:00
Benny Malengier
dc9f03b6c0 2007-12-28 Benny Malengier <benny.malengier@gramps-project.org>
* src/ViewManager.py: remove unused functions, add alt actions left/right
	* src/GrampsDb: deleted with _GrampsDbWriteXML.py,
		_GrampsDbFactories.py, _GrampsGEDDB.py, _GrampsXMLDB.py,
		__init__.py, Makefile.am, _GrampsInMemDB.py, _GrampsBSDDB.py.
		No more inmemory databases
	* src/GrampsDbUtils: moved here _GrampsDbWriteXML.py and _GrampsBSDDB.py
	* src/plugins/ReadGrdb.py:
	* src/plugins/Checkpoint.py:
	* src/ObjectSelector/_ObjectSelectorWindow.py:
	* src/DbManager.py:
	* src/GrampsDbUtils/_WriteGrdb.py:
	* src/GrampsDbUtils/__init__.py:
	* src/GrampsDbUtils/_GrampsDbWRFactories.py:
	* src/GrampsDbUtils/_WriteXML.py:
	* src/GrampsDbUtils/Makefile.am:
	* src/gramps_main.py:
	* src/RecentFiles.py: recent-files-gramps.xml, don't overwrite 2.2.x data
	* src/ArgHandler.py:
	* src/DbLoader.py: remove unused functions
	* src/Makefile.am:
	* po/POTFILES.in:
	* src/GrampsDbUtils/importdbdir.py: allow import of new database via cli
	Remove inMem Editing, move remaining to DbUtils, fix ArgHandler



svn: r9613
2007-12-28 15:09:01 +00:00
Stéphane Charette
5ea0cd4b3e work in progress converting FamilyLines to new GraphViz plugin
svn: r9612
2007-12-28 10:08:19 +00:00
Brian Matherly
455a481dc6 Convert DetDescendantReport and DetAncestralReport to use MenuOption.
svn: r9606
2007-12-28 05:12:30 +00:00
Doug Blank
c3bda4cb4c 2007-12-27 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/PluginUtils/_Options.py: Bug #1486, type error on option read



svn: r9605
2007-12-28 02:20:39 +00:00
Brian Matherly
935f32acff Fix thumbnail images and HTML labels for relationship graph (Graphviz).
svn: r9604
2007-12-27 22:23:40 +00:00
Brian Matherly
2faff1abfb _GraphvizReportDialog.py: Fix Graphviz generated PDF.
svn: r9603
2007-12-27 22:05:45 +00:00
Brian Matherly
8456e16cbc _GraphvisReportDialog.py: Fix to conform to 80 columns. Add Graphviz generated PDF as an option (requires Graphviz 2.16 to work)
svn: r9602
2007-12-27 21:47:11 +00:00
Brian Matherly
85fd9a2d1b src/Config/_GrampsConfigKeys.py: Better default for report output.
src/gen/db/dbconst.py: Remove constants that are duplicated in const.py.
src/GrampsDb/_GrampsBSDDB.py: Use ENV_DIR from const.py.

svn: r9601
2007-12-27 21:44:15 +00:00
Brian Matherly
88ff3ab413 Fix 0001431: Tried to run a statistics report:
svn: r9600
2007-12-27 18:39:11 +00:00
Brian Matherly
3708d4f73f Convert DescendReport and AncestorReport to use MenuOption.
svn: r9599
2007-12-27 18:28:16 +00:00
Doug Blank
65f93ebe47 * src/DataViews/MyGrampsView.py:
* src/DataViews/SourceView.py:
	* src/DataViews/__init__.py:
	* src/DataViews/NoteView.py:
	* src/DataViews/PersonView.py:
	* src/DataViews/RelationView.py:
	* src/DataViews/MapView.py:
	* src/DataViews/MediaView.py:
	* src/DataViews/RepositoryView.py:
	* src/DataViews/EventView.py:
	* src/DataViews/FamilyList.py:
	* src/DataViews/PedigreeView.py:
	* src/DataViews/PlaceView.py:
	* src/DataViews/Makefile.am:
	Renamed DataViews views to new style

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


svn: r9598
2007-12-27 15:24:30 +00:00
Doug Blank
becd01ef12 2007-12-27 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/DataViews/_MyGrampsView.py: added API for data save/load
	* src/plugins/DefaultGadgets.py: top surnames takes count; TODO saves



svn: r9597
2007-12-27 15:06:28 +00:00
Doug Blank
76cff3a349 * src/DataViews/_MyGrampsView.py: added tooltips, cleanup, menu work
* src/plugins/DefaultGadgets.py: fine tuning
	* src/glade/gramps.glade: added tooltips

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


svn: r9596
2007-12-26 23:14:13 +00:00
Doug Blank
697816aba6 * src/DataViews/_MyGrampsView.py: saves on quit only, load/save api
2007-12-26  Douglas S. Blank  <dblank@cs.brynmawr.edu>


svn: r9589
2007-12-26 16:48:51 +00:00
Doug Blank
8fca6769f9 2007-12-26 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/ViewManager.py: added __delete_pages called on quit
	* src/PageView.py: added on_delete method called on quit



svn: r9588
2007-12-26 15:48:51 +00:00
Brian Matherly
7067817868 Move the entire Gramps dir under "Application Data" in Windows.
svn: r9583
2007-12-25 05:54:41 +00:00
Brian Matherly
b4368a7b3a Fix database dir under windows.
svn: r9582
2007-12-25 05:35:58 +00:00
Brian Matherly
12bdeb40a6 Fix default fonts in GraphvizReportDialog
svn: r9581
2007-12-25 05:27:27 +00:00
Stéphane Charette
5f077e4795 more generic changes to the GraphViz base class
svn: r9579
2007-12-25 01:57:45 +00:00
Doug Blank
50492711e8 2007-12-24 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/DataViews/_MyGrampsView.py: new DataView for Gadgets
	* src/DataViews/__init__.py: import things from _MyGrampsView
	* src/Config/_GrampsConfigKeys.py: added data-views
	* src/glade/gramps.glade: added My Gramps Gadget gui
	* src/plugins/DefaultGadgets.py: sample gadgets



svn: r9573
2007-12-24 14:56:15 +00:00
Brian Matherly
677a0e280f Add _DocReportDialog.py to the Makefile.
svn: r9572
2007-12-24 14:12:29 +00:00
Brian Matherly
9da5862816 0001480: custom paper size is not editable for 2nd and any additional invocations of the report
svn: r9570
2007-12-24 04:41:11 +00:00
Brian Matherly
7aa7acb355 Fix 0001393: Detailed descendant report crash on too many references.
svn: r9569
2007-12-23 22:20:51 +00:00
Brian Matherly
096db6b3a0 Fix 0001160: Regular expressions, dash/separator and non-ASCII characters on ExtractCity
svn: r9568
2007-12-23 21:56:41 +00:00
Brian Matherly
4a77cfdd79 Add fields to translation strings in DetAncestralReport.py, DetDescendantReport.py, FanChart.py.
svn: r9567
2007-12-23 21:34:36 +00:00
Brian Matherly
b5946124b7 Updates to makefiles.
svn: r9566
2007-12-23 21:08:10 +00:00
Stéphane Charette
e9ebd454cc more graphviz based options
svn: r9562
2007-12-23 07:52:01 +00:00
Doug Blank
09e86586db 2007-12-21 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/plugins/lineage.py: moved to new quick view format
	* src/docgen/TextBufDoc.py: fixed transient window issue



svn: r9558
2007-12-22 01:23:52 +00:00
Gary Burton
101048e1ca * src/Editors/_EditEventRef.py: swap around delete/share buttons, bug #1477
2007-12-21 Gary Burton <gary.burton@zen.co.uk>


svn: r9557
2007-12-21 23:14:33 +00:00
Gary Burton
0e89fd5ed0 2007-12-21 Gary Burton <gary.burton@zen.co.uk>
* src/ScratchPad.py: allow items to be moved, feature #1465



svn: r9556
2007-12-21 22:16:28 +00:00
Doug Blank
c23b1259c8 2007-12-21 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/DataViews/_PersonView.py: pass create_quickreport uistate
	* src/Editors/_EditPrimary.py: pass create_quickreport uistate
	* src/plugins/all_events.py: use SimpleTable
	* src/plugins/siblings.py: use SimpleTable
	* src/QuickReports.py: pass create_quickreport uistate
	* src/Simple/_SimpleTable.py: Handles raw objects, click/doubleclick
	* src/PageView.py: pass create_quickreport uistate
	* src/docgen/TextBufDoc.py: need to make a managed window, transient



svn: r9552
2007-12-21 06:22:46 +00:00
Brian Matherly
f8d3f210f8 Misc improvements to Graphviz reports.
svn: r9551
2007-12-21 05:57:43 +00:00
Doug Blank
f84b9c816c 2007-12-20 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/plugins/siblings.py: Quick Reports under construction...
	* src/Simple/_SimpleDoc.py: added table style defaults
	* src/Simple/__init__.py: added SimpleTable
	* src/BaseDoc.py: added doc.type = "standard"
	* src/docgen/TextBufDoc.py: added doc.type = "gtk"
	* src/Simple/_SimpleTable.py: new file defining table



svn: r9550
2007-12-21 00:18:39 +00:00
Benny Malengier
7d5b16d3e0 * src/glade/gramps.glade: date keybindings, issue #1453
2007-12-20 Benny Malengier <benny.malengier@gramps-project.org>


svn: r9549
2007-12-20 20:45:43 +00:00
Benny Malengier
5f2bc1b3ec 2007-12-20 Benny Malengier <benny.malengier@gramps-project.org>
* src/plugins/rel_pt.py: RelLib -> gen.lib



svn: r9548
2007-12-20 19:20:35 +00:00
Benny Malengier
13bd98097b 2007-12-19 Benny Malengier <benny.malengier@gramps-project.org>
* src/Editors/_EditPrimary.py:
	* src/Editors/_EditPlace.py:
	* src/Editors/_EditSecondary.py:
	* src/Editors/_EditSourceRef.py:
	* src/Editors/_EditReference.py:
	* src/Editors/_EditRepoRef.py:
	* src/Editors/_EditNote.py:
	* src/Editors/_EditMediaRef.py:
	* src/Editors/_EditEventRef.py:
	* src/Editors/_EditName.py:
	* src/DisplayTabs/__init__.py:
	* src/DisplayTabs/_GalleryTab.py:
	* src/DisplayTabs/_BackRefList.py:
	* src/DisplayTabs/_ButtonTab.py:
	* src/DisplayTabs/_GrampsTab.py:
	Accelator keys on displaytabs, convert _all_ tabs to GrampsTab! 
	Feature #955 #1438



svn: r9545
2007-12-20 13:49:41 +00:00
Jérôme Rapinat
fb12457651 2007-12-20 Raphael Ackermann <raphael.ackermann@gmail.com>
* src/glade/gramps.glade : don't use C or O as accelerator keys on Name Editor, reserved for OK and Cancel buttons #1470
        * src/glade/edit_person.glade : accelerator keys are used double in person editor #1452

2007-12-20  Jerome Rapinat <romjerome@yahoo.fr>
        * src/Editors/_EditPerson.py : Unspecified gender dialog doesn't have mnemonics #1461



svn: r9544
2007-12-20 12:23:59 +00:00
Brian Matherly
6af58e348b Various enhancements to the Graphviz report system. Added GVRelGraph.py - adapted GraphViz.py to use Graphviz report system.
svn: r9541
2007-12-20 06:26:38 +00:00
Doug Blank
0f96422fd0 2007-12-20 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/plugins/ExportVCard.py: fixed date.get_text() as signal for text
	* src/plugins/ExportVCalendar.py: fixed date.get_text() ditto
	* src/plugins/WriteGeneWeb.py: fixed date.get_text() ditto



svn: r9540
2007-12-20 05:10:24 +00:00
Doug Blank
a3cc8799ae 2007-12-19 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/GrampsCfg.py: added a warning about duplicate pattern



svn: r9539
2007-12-20 03:55:43 +00:00
Peter Landgren
8fae20a72d Changelog update
svn: r9534
2007-12-19 16:38:43 +00:00
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