Commit Graph

1578 Commits

Author SHA1 Message Date
Brian Matherly
07e1529f27 Refactoring the report system. Decouple MenuOptions from the code that displays them. (Book Report is broken and needs to be fixed.)
svn: r9875
2008-01-18 05:39:50 +00:00
Doug Blank
ae1912f431 2008-01-17 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/DataViews/GrampletView.py (Gramplet.link): added size, tooltip
	to links
	* src/plugins/DefaultGramplets.py: added SurnameCloudGramplet



svn: r9874
2008-01-18 02:58:14 +00:00
Benny Malengier
ea262ce318 2008-01-17 Benny Malengier <benny.malengier@gramps-project.org>
* src/plugins/WriteCD.py: check if gnome is the desktop, #1599



svn: r9868
2008-01-17 15:14:25 +00:00
Doug Blank
5856e4f10e Translation
svn: r9867
2008-01-17 12:30:36 +00:00
James G Sack
7ca360fcbc fix typo/parens causing exception
svn: r9864
2008-01-17 11:15:47 +00:00
Raphael Ackermann
d8852c6efe 2008-01-13 Jerome Rapinat <romjerome@yahoo.fr>
* src/plugins/NarrativeWeb.py: make Filter translatable
	0001490: Cannot translate few 'filter' labels

svn: r9860
2008-01-17 07:40:01 +00:00
Raphael Ackermann
719be42081 2008-01-15 Raphael Ackermann <raphael.ackermann@gmail.com>
* src/plugins/WriteCD.py
	* src/plugins/vcardexport.glade
	* src/plugins/ExportVCard.py
	* src/plugins/writeftree.glade
	* src/plugins/ExportCSV.py
	* src/plugins/csvexport.glade
	* src/plugins/vcalendarexport.glade
	* src/plugins/ExportVCalendar.py
	* src/plugins/genewebexport.glade
	* src/plugins/WriteGeneWeb.py
	* src/ExportAssistant.py
	* src/ExportOptions.py
	* src/ArgHandler.py
	work on mnemonics for export dialogues and doc string fixes

svn: r9855
2008-01-16 21:42:05 +00:00
Doug Blank
c49e80c554 2008-01-16 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/plugins/Makefile.am (pkgdata_PYTHON): missing backslash



svn: r9846
2008-01-16 13:57:01 +00:00
Martin Hawlisch
4b68c57530 * src/plugins/DateParserDisplayTest.py: Use Tool.ToolOptions instead of None as options_class to make it no longer crash
svn: r9843
2008-01-16 13:12:04 +00:00
Doug Blank
2cddb31ef2 * src/plugins/OnThisDay.py: date sortable
* src/plugins/SameSurnames.py: date sortable
	* src/plugins/siblings.py: date sortable
	* src/Simple/_SimpleAccess.py: simple method to get date_obj
	* src/Simple/_SimpleTable.py: manual override of link_col;
	removed call to quick_reports (could have been recursive)

2008-01-15  Douglas S. Blank  <dblank@cs.brynmawr.edu>


svn: r9831
2008-01-16 02:25:40 +00:00
Doug Blank
e304069be8 2008-01-15 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/PluginUtils/_Tool.py (Tool.__init__): pass in dbstate
	* src/PluginUtils/__init__.py (MenuToolOptions.__init__): 
	pass in dbstate
	* src/plugins/Calendar.py (CalendarOptions.add_menu_options): 
	standard defaults
	


svn: r9830
2008-01-15 21:08:32 +00:00
Doug Blank
a5a349219a 2008-01-15 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/plugins/SameSurnames.py (IncompleteSurname.apply): 
	can bring up people with empty surname

	* src/plugins/ImportCSV.py (CSVParser.process): fixed csv import with 
	no surname (bug #1603)


svn: r9826
2008-01-15 19:04:46 +00:00
Doug Blank
7971b173ca empty name appears as (blank)
svn: r9825
2008-01-15 18:41:09 +00:00
Doug Blank
d1bc327764 * src/plugins/ImportCSV.py (CSVParser.process): fixed csv import with no
surname (bug #1603)

2008-01-15  Douglas S. Blank  <dblank@cs.brynmawr.edu>


svn: r9823
2008-01-15 18:34:09 +00:00
Doug Blank
a453da4b6c 2008-01-15 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/plugins/DefaultGramplets.py (TopSurnamesGramplet.main): make
	clicking on data easier by clicking on entire line (bug #1594)



svn: r9822
2008-01-15 18:04:13 +00:00
Doug Blank
874d62eaf7 2008-01-15 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/plugins/SameSurnames.py (run): change description to just
	surname, not entire person (bug #1595)



svn: r9820
2008-01-15 17:40:17 +00:00
Jérôme Rapinat
1168635987 2008-01-15 Jerome Rapinat <romjerome@yahoo.fr>
* POTFILE.in : add missing plugins/References.py
        * fr.po: Translation update



svn: r9814
2008-01-15 10:14:46 +00:00
Raphael Ackermann
2225ac3d78 2008-01-15 Raphael Ackermann <raphael.ackermann@gmail.com>
* src/GrampsDbUtils/_GrampsDbWriteXML.py
    * src/GrampsDbUtils/_WriteGedcom.py
    * src/plugins/ExportCSV.py
    * src/plugins/ExportVCalendar.py
    * src/plugins/ExportVCard.py
    * src/plugins/WriteCD.py
    * src/plugins/WriteFtree.py
    * src/plugins/WriteGeneWeb.py
    * src/plugins/WritePkg.py
    * src/PluginUtils/_PluginMgr.py: pylint fixes
    pylint fixes and work on 0001597 

svn: r9812
2008-01-15 09:16:45 +00:00
Raphael Ackermann
9ec17fdf02 2008-01-13 Raphael Ackermann <raphael.ackermann@gmail.com>
* src/DbLoader.py: typo
	* src/plugins/ImportCSV.py: register text/csv as another mime type for csv
	0001410: Import auto-detect doesn't recognize csv
	* Changelog: fix format. Single tab before source files line, double space
	between date and name.

svn: r9810
2008-01-14 23:03:16 +00:00
Brian Matherly
789a33adfd Clean up PyLint warnings in GVHourGlass.py.
svn: r9789
2008-01-13 04:26:47 +00:00
Stéphane Charette
219a325c43 remember metric & custom paper size, issue #1481
svn: r9782
2008-01-12 11:37:21 +00:00
Stéphane Charette
7c37b80716 more report changes
svn: r9781
2008-01-12 03:26:44 +00:00
Raphael Ackermann
1abb8df85f 2008-01-10 Raphael Ackermann <raphael.ackermann@gmail.com>
* src/gen/db/dbdir.py: add doc, remove unused variable
    * src/GrampsDbUtils/_GrampsBSDDB.py: : add doc, remove unused variable
    * src/plugins/AncestorChart.py: cleanup unused vars
    * src/plugins/Calendar.py: typo in doc
    * src/plugins/ChangeNames.py: cleanup unused vars
    * src/plugins/DescendChart.py: cleanup unused vars
    * src/plugins/FamilyLines.py: cleanup unused vars
    * src/ReportBase/_ReportUtils.py: fix typo in variable Name

svn: r9779
2008-01-11 06:50:46 +00:00
Erik De Richter
abc7d85760 add note reordering
svn: r9777
2008-01-10 20:17:05 +00:00
Raphael Ackermann
c6a8810305 2008-01-09 Raphael Ackermann <raphael.ackermann@gmail.com> * src/plugins/ExportVCard.py: in write_person use b_date instead of date
svn: r9766
2008-01-09 16:34:19 +00:00
Brian Matherly
21f8c08ace 0001228: Descendent Chart doesn't respect the margin
svn: r9757
2008-01-09 05:13:27 +00:00
Raphael Ackermann
56d33a2c4f 2008-01-08 Raphael Ackermann <raphael.ackermann@gmail.com>
* src/Editors/_EditFamily.py: import fixes
	* src/plugins/FindDupes.py: variable typo fix
	0001428: In EditFamily: NameError



svn: r9752
2008-01-08 15:27:28 +00:00
Raphael Ackermann
9317748613 2008-07-07 Raphael Ackermann <raphael.ackermann@gmail.com
* src/DataViews/PersonView.py: removed unused import
	* src/plugins/EventCmp.py: fixed error introduced with previous change
	* src/gramps.py: removed unused import
	* src/PageView.py: removed unused import



svn: r9744
2008-01-07 20:07:52 +00:00
Raphael Ackermann
cee58d48ab * src/plugins/EventCmp.py: clean up imports and fix pylint error
0001496: in EventCmp.py: E:198:fix: Using variable 'l' before assignment

2008-01-07 Raphael Ackermann <raphael.ackermann@gmail.com


svn: r9743
2008-01-07 17:19:17 +00:00
Raphael Ackermann
dd3b3311a3 2008-01-07 Raphael Ackermann <raphael.ackermann@gmail.com
* src/plugins/CmdRef.py: clean up unused and broken imports and vars
	0001494: unresolved import WebPage in CmdRef.py



svn: r9742
2008-01-07 16:30:36 +00:00
Doug Blank
2fbee469a7 * src/plugins/DefaultGramplets.py: added gettext (thanks, Jim!)
2008-01-06  Douglas S. Blank  <dblank@cs.brynmawr.edu>


svn: r9736
2008-01-07 00:15:49 +00:00
Doug Blank
e35844de95 2008-01-06 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/DataViews/MyGrampsView.py:
	* src/DataViews/__init__.py:
	* src/DataViews/GrampletView.py:
	* src/DataViews/Makefile.am:
	* src/Config/_GrampsConfigKeys.py:
	* src/plugins/DefaultGramplets.py:
	* src/plugins/Makefile.am:
	* src/plugins/DefaultGadgets.py:
	* src/glade/gramps.glade:
	* po/POTFILES.in:
	Renamed Gadgets -> Gramplets, MyGrampsView -> GrampletView



svn: r9732
2008-01-06 22:57:34 +00:00
Benny Malengier
9664842702 * src/DataViews/MediaView.py:
* src/DataViews/RepositoryView.py:
	* src/DataViews/SourceView.py:
	* src/DataViews/EventView.py:
	* src/DataViews/PlaceView.py:
	* src/PageView.py:
	Remove unused double click procedure
	* src/plugins/SimpleBookTitle.py: remove use of AddMedia
	* src/Editors/AddMedia.py: added
	* src/AddMedia.py: removed
	* src/Editors/Makefile.am:
	* src/Makefile.am:
	* po/POTFILES.in:
	Move AddMedia to the editors directory
	* src/Editors/_EditMedia.py:
	Edit Media now works as other editors, spawning AddMedia when 
	select is clicked.
	* src/ManagedWindow.py: typo in comment
	* src/Config/_GrampsConfigKeys.py: Two new keys, rerun ./autogen.sh
	Still todo: make relative path work

2008-01-06  Benny Malengier <benny.malengier@gramps-project.org>


svn: r9722
2008-01-06 10:51:20 +00:00
Benny Malengier
aabef20651 2008-01-06 Benny Malengier <benny.malengier@gramps-project.org>
* src/plugins/DefaultGadgets.py: handle long text in standard way for 
		translation


svn: r9720
2008-01-06 10:25:36 +00:00
Brian Matherly
5c8214c843 0001408: Low Verbosity / Succinct option for the Detailed Ancestral/Descendant Reports (patch from James Friedmann <jfriedmannj@gmail.com> modified by Raphael Ackermann <raphael.ackermann@gmail.com> and Brian Matherly)
svn: r9716
2008-01-06 06:13:37 +00:00
Brian Matherly
218e3d585c 0001505: Verifying database signals dead father, when he is not a father. (Patch from Raphael Ackermann <raphael.ackermann@gmail.com>)
svn: r9715
2008-01-05 21:41:38 +00:00
Brian Matherly
81e521c53b More refactoring in the report system. More reports use MenuOptions now. BareReportDialog no longer has "center person".
svn: r9714
2008-01-05 20:42:05 +00:00
Brian Matherly
bf3900f043 Patch from Raphael Ackermann <raphael.ackermann@gmail.com> -- Fix 0001538: tabs and spaces are mixed in some source files
svn: r9713
2008-01-05 20:10:26 +00:00
Gary Burton
eb0d33414c 2008-01-05 Gary Burton <gary.burton@zen.co.uk>
* src/plugins/Verify.py: Remove a line of redundant code added yesterday.



svn: r9710
2008-01-05 09:58:45 +00:00
Gary Burton
d999733c22 * src/plugins/Verify.py: Allow the Verify Results window to be reused if
it is already instantiated. Bug #1532

2008-01-04  Gary Burton <gary.burton@zen.co.uk>


svn: r9708
2008-01-04 23:24:51 +00:00
Benny Malengier
af1fd6eb0a 2008-01-03 Benny Malengier <benny.malengier@gramps-project.org>
* src/plugins/RelCalc.py: managed window error, bug 1499



svn: r9700
2008-01-03 14:54:26 +00:00
Doug Blank
1e3ce27007 2008-01-03 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/ReportBase/_Constants.py: added QR_NOTE, QR_DATE
	* src/gen/lib/date.py: working on date math
	* src/plugins/AgeOnDate.py: new Quick View for age on date
	* src/plugins/DefaultGadgets.py: added Age on Date gadget
	* src/QuickReports.py: new constants
	* src/Simple/_SimpleTable.py: handle sort columns



svn: r9698
2008-01-03 14:18:18 +00:00
Doug Blank
cbce0ac6b4 2008-01-02 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/Simple/_SimpleTable.py (SimpleTable.row): added obj handlers
	* src/plugins/References.py: new quick report for listing refs



svn: r9682
2008-01-02 13:20:26 +00:00
Stéphane Charette
95496e6449 add_comment() and work in progress for the new GraphViz framework
svn: r9679
2008-01-02 08:43:19 +00:00
Doug Blank
d8e7e580d3 Added home/end to Python shell gadget
svn: r9677
2008-01-02 02:09:31 +00:00
Doug Blank
ef4005e1c9 Added history editor to Python shell gadget
svn: r9676
2008-01-01 22:32:54 +00:00
Peter Landgren
00e1beeb8c Added some comments
svn: r9674
2008-01-01 19:57:33 +00:00
Doug Blank
86786d2a1d thereport typo fixed
svn: r9663
2007-12-31 21:42:58 +00:00
Doug Blank
9e110b55ed Fixed translation issue
svn: r9661
2007-12-31 20:57:02 +00:00
Doug Blank
70a02003ba Date arithmetic
svn: r9658
2007-12-31 16:43:58 +00:00
Doug Blank
c5a0e0947b removed debug strings
svn: r9656
2007-12-31 14:00:30 +00:00
Doug Blank
ce1030db89 Add gadgets by translated name; save by real name
svn: r9655
2007-12-31 13:50:39 +00:00
Brian Matherly
f002f65c41 Proof of concept: adding a center person option instead of using active person in reports.
svn: r9652
2007-12-31 06:21:58 +00:00
Stéphane Charette
eb9d09aded more work-in-progress for GraphViz and FamilyLines
svn: r9650
2007-12-31 05:43:14 +00:00
Doug Blank
8855dd8a43 Added tooltips
svn: r9649
2007-12-31 04:40:21 +00:00
Doug Blank
8209b1d598 Updated welcome message
svn: r9648
2007-12-31 02:50:55 +00:00
Brian Matherly
e364f891d5 Rename "PeoplePickerOption" to "PersonListOption".
svn: r9646
2007-12-30 22:32:02 +00:00
Doug Blank
e2cb83448a 2007-12-30 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/plugins/OnThisDay.py: i18n changes
	* src/plugins/Makefile.am: added missing files
	* src/plugins/DefaultGadgets.py: i18n changes
	* src/QuickReports.py: allow callers to send obj directly
	* src/Simple/_SimpleTable.py: added support for objs
	* po/POTFILES.in: i18n changes



svn: r9640
2007-12-30 15:39:00 +00:00
Peter Landgren
a3380d2e69 Upgrade to 3.0, first rev
svn: r9637
2007-12-30 12:53:06 +00:00
Jérôme Rapinat
c9b3084ab4 /src/OnThisDay.py allow translation on paragraph
svn: r9636
2007-12-30 12:11:00 +00:00
Brian Matherly
e0543b0644 More updates to better support MenuOptions. FamilyLines seems to work now.
svn: r9634
2007-12-30 05:41:16 +00:00
Doug Blank
07bdb19028 2007-12-29 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/DataViews/MyGrampsView.py: show matching surnames
	* src/plugins/OnThisDay.py: refinement
	* src/plugins/SameSurnames.py: changed name
	* src/plugins/DefaultGadgets.py: calendar calls quickreport
	* src/QuickReports.py: new function to call qr directly
	* src/Simple/_SimpleAccess.py: new func to format dates



svn: r9633
2007-12-30 03:46:39 +00:00
Doug Blank
bca91ffad0 Getting ready for surname double-clicks
svn: r9632
2007-12-30 01:24:33 +00:00
Doug Blank
f7da658104 Added click/double click for QR that reference people
svn: r9631
2007-12-29 21:06:15 +00:00
Doug Blank
fcb4797ae4 2007-12-29 Douglas S. Blank <dblank@saliva.brynmawr.edu>
* src/DataViews/MyGrampsView.py: fixme's are fixed
	* src/DataViews/EventView.py: added quick report popup
	* src/plugins/SameSurnames.py: removed unneeded imports
	* src/plugins/siblings.py: removed unneeded imports
	* src/Simple/_SimpleTable.py: add date handler
	* src/plugins/OnThisDay.py: new event quick report



svn: r9630
2007-12-29 19:55:27 +00:00
Doug Blank
e8ed1b1b0e Calendar month fix; reattach expand bug gadget title save bug
svn: r9629
2007-12-29 17:56:23 +00:00
Doug Blank
74c4e3e30b No save if no gadgets; added news gadget
svn: r9627
2007-12-29 16:53:14 +00:00
Doug Blank
9e77d90748 Self is now translatable
svn: r9626
2007-12-29 16:06:08 +00:00
Doug Blank
50440b7839 Working on calendar signals
svn: r9623
2007-12-29 12:36:28 +00:00
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
Doug Blank
930e5c77ad Bug in printing lists in Python gadget
svn: r9620
2007-12-29 03:46:30 +00:00
Doug Blank
7a607fe6ff Adding calendar details
svn: r9619
2007-12-29 03:33:14 +00:00
Doug Blank
c4c6b80eea Added calendar gadget
svn: r9616
2007-12-28 19:12:05 +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
Doug Blank
6b0deef1eb Removed stub gadgets
svn: r9610
2007-12-28 07:46:26 +00:00
Brian Matherly
455a481dc6 Convert DetDescendantReport and DetAncestralReport to use MenuOption.
svn: r9606
2007-12-28 05:12:30 +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
3708d4f73f Convert DescendReport and AncestorReport to use MenuOption.
svn: r9599
2007-12-27 18:28:16 +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
a8769e138c Made a welcome to gramps gadget
svn: r9594
2007-12-26 18:32:09 +00:00
Doug Blank
9692af5e11 Substantial improvements to gadgets
svn: r9587
2007-12-26 08:26:33 +00:00
Doug Blank
735f1da31d Added detachable windows
svn: r9585
2007-12-25 17:51:37 +00:00
Doug Blank
fe8a8d4986 Fixed major issue with db/dbstate
svn: r9580
2007-12-25 04:34:42 +00:00
Doug Blank
36fe125220 added uistate to Python Gadget
svn: r9578
2007-12-24 23:36:11 +00:00
Doug Blank
6387436818 Fixed Python Gadget
svn: r9577
2007-12-24 22:29:39 +00:00
Doug Blank
713190823e Added Python Gadget
svn: r9576
2007-12-24 22:26:30 +00:00
Doug Blank
d5c9b439d8 Fixed Shell Gadget
svn: r9575
2007-12-24 21:41:13 +00:00
Doug Blank
00a472b8fa Added Shell Gadget
svn: r9574
2007-12-24 20:11:11 +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
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
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
Doug Blank
efcc234c0e Refinements: show relation, and self
svn: r9554
2007-12-21 13:35:24 +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
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
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
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
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
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
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
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
0b5dd35b23 Delete reports that have been unsupported for > 1 year.
svn: r9517
2007-12-16 04:33:30 +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
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
Brian Matherly
05575ad026 Refactor various aspects of the report system.
svn: r9496
2007-12-13 01:52:03 +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
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
027036a8c5 2007-12-09 Benny Malengier <benny.malengier@gramps-project.org>
Add support for name grouping import/export
	* src/GrampsDb/_GrampsDbWriteXML.py: write group table out
	* src/GrampsDb/_GrampsBSDDB.py: group table is no sec table, init it
		together with primary tables!
	* src/gen/db/base.py: obtain grouping keys
	* src/gen/db/dbdir.py: group table is no sec table, init it
		together with primary tables!
	* src/gen/utils/dbutils.py: grdb -> grdb copy of grouping table, 
		copy mediapath.
	* src/gen/proxy/proxybase.py: obtain grouping keys, add missing
		bookmark methods
	* src/gen/proxy/dbbase.py: add obtain grouping keys method
	* src/GrampsDbUtils/_ReadXML.py: read in group table
	* src/plugins/ReadGrdb.py: read in group table



svn: r9464
2007-12-09 10:18:59 +00:00
Doug Blank
4ede0511bf Added CalculateEstimatedDates.py
svn: r9461
2007-12-08 15:27:14 +00:00
Doug Blank
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
Doug Blank
a303f53386 2007-12-03 Douglas S.Blank <dblank@cs.brynmawr.edu>
* src/plugins/CalculateEstimatedDates.py: Refinements, use results tab
	* src/PluginUtils/_PluginWindows.py: Tool support for a results tab



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

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


svn: r9438
2007-12-02 18:41:21 +00:00
Doug Blank
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
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
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
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
ecfa4aa0c0 add USER_xxx constants to const, use them
svn: r9407
2007-11-26 05:11:19 +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
Jérôme Rapinat
8212127ecf /src/plugins/rel_fr.py update
svn: r9399
2007-11-24 19:47:04 +00:00
Jérôme Rapinat
b3d12508ca svn: r9396 2007-11-24 14:18:21 +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
36ac2f8190 2007-11-23 Benny Malengier <benny.malengier@gramps-project.org>
* src/plugins/all_relations.py: remove unnecessary import
	* src/plugins/siblings.py: add sibling relation if not normal
	* src/Relationship.py: improve sibling type calculation
	Issue #1323



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

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


svn: r9385
2007-11-22 16:13:10 +00:00
Benny Malengier
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
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
6437ee5d68 src/plugins/Makefile.am update
svn: r9371
2007-11-20 11:46:19 +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
Stéphane Charette
2e90dd01a2 issue 1381, Confidence:Normal
svn: r9363
2007-11-17 06:06:43 +00:00
Benny Malengier
8ae7f03c04 changed comment
svn: r9361
2007-11-16 21:27:42 +00:00
Martin Hawlisch
68129b0525 Move date tests from TestcaseGenerator to seperate plugin
svn: r9352
2007-11-16 08:14:57 +00:00