Commit Graph

775 Commits

Author SHA1 Message Date
Richard Taylor
b00f2e8645 2005-04-04 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
* src/plugins/ScratchPad.py: made clear buttons sensitive to contents of
	list and current selection. Added support for PERSON_LINK dnd.
	* src/DdTargets.py: added PERSON_LINK target and simplified generation of
	targets lists.
	* src/FamilyView.py: added dnd of person handles to and from the child list.
	* src/PeopleView.py: added dnd of person handles from the person list.


svn: r4303
2005-04-06 09:28:54 +00:00
Martin Hawlisch
0e310a0719 * src/plugins/TestcaseGenerator.py: Small changes to family generation
* src/plugins/StatisticsChart.py: Added statistics for Surnames, Number of Families and Event Types


svn: r4278
2005-04-01 20:32:06 +00:00
Richard Taylor
2d42bb07f5 2005-04-01 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
* src/DdTargets.py: added dnd type for media objects
	* src/ImageSelect.py: altered dnd code to use gramps specific dnd target
	when dnd is used between gramps windows.
	* src/plugins/ScratchPad.py: added support for media object. This is still
	a little simplistic. It would be nice to generate thumbnails as tooltips and
	to access some of the image meta data in the ui.


svn: r4274
2005-04-01 15:15:36 +00:00
Richard Taylor
48dfcc8f00 2005-04-01 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
* src/plugins/ScratchPad.py (ScratchPadListView.register_wrapper_classes,
	ScratchPadName): added support for Names
	* src/EditPerson.py (EditPerson.__init__, EditPerson.name_drag_data_get,
	EditPerson.name_drag_begin, EditPerson.name_drag_data_received): added dnd for Names
	* src/DdTargets.py (_DdTargets.__init__, _DdTargets.all_gramps_types,
	_DdTargets.all_gramps_targets): added Names as dnd target.


svn: r4272
2005-04-01 14:22:26 +00:00
Richard Taylor
8e27911ccc 2005-04-01 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
* src/plugins/ScratchPad.py: changed pickle to cPickle. cPickle is much faster.
	* src/EditPerson.py: changed pickle to cPickle. cPickle is much faster.
	* src/EditPlace.py: changed pickle to cPickle. cPickle is much faster.
	* src/Marriage.py: changed pickle to cPickle. cPickle is much faster.
	* src/Sources.py: changed pickle to cPickle. cPickle is much faster.


svn: r4271
2005-04-01 13:39:34 +00:00
Richard Taylor
68d6129de1 2005-04-01 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
* src/plugins/ScratchPad.py (ScratchPadListView.object_drag_data_received,
	ScratchPadListView.on_object_select_row): disables drop that originates from the
	pad itself and enabled dropping into the correct row as indicated by the
	UI.


svn: r4270
2005-04-01 13:22:28 +00:00
Martin Hawlisch
73864c588e * src/plugins/TestcaseGenerator.py: Added generation of invalid event references of persons
* src/plugins/Check.py: Check for invalid event references of persons


svn: r4269
2005-04-01 09:59:18 +00:00
Martin Hawlisch
692fafe9c9 * src/plugins/Check.py: new database callback scheme; Use Utils.family_name.
* src/plugins/ChangeNames.py: new database callback scheme
* src/plugins/TestcaseGenerator.py: new database callback scheme


svn: r4268
2005-04-01 07:39:21 +00:00
Alex Roitman
ff098f8093 * src/plugins/ScratchPad.py (ScratchPadWindow.__init__): Minor change.
svn: r4266
2005-04-01 05:09:59 +00:00
Alex Roitman
6ed43eb355 * src/GrampsBSDDB.py (upgrade): Delegate particular versioned
upgrades to separate methods; provide upgrade_5 method.
* src/RelLib.py: Remove place from MediaObjects; minor improvements.
* src/SourceView.py (button_press): Proper selection on double-click.
* src/plugins/Check.py (check_for_broken_family_links): Typo.


svn: r4265
2005-04-01 04:34:31 +00:00
Martin Hawlisch
ef004a26a8 * plugins/TestcaseGenerator.py: Added a dialog to specify what is to be generated and a
ProgressBar. Enhanced family tree generation and randomized names a little more. You can
now generate thousands of people :-)


svn: r4263
2005-03-31 14:23:39 +00:00
Richard Taylor
24c870a234 2005-03-31 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
* src/plugins/stock_link.png: added icon for scratchpad display
	* src/DdTargets.py (all_text): new method to return all text ddtypes
	* src/TreeTips.py (__treetip_show): added support for tips to be callable
	methods so that tips can be generated on the fly.
	* src/plugins/Makefile.am: added stock_link.png icon
	* src/plugins/ScratchPad.py: almost complete rewrite to make proper use
	of gtk widgets and make more flexible for adding support for new
	dnd object types. Added link icon if the object is a link to a primary
	object.


svn: r4262
2005-03-31 13:16:20 +00:00
Don Allingham
b2de2eaa67 * src/MergePeople.py: provide more date in compare window, fix event
merging for families. Copy alternate names.
* src/plugins/Merge.py: support for new merge technique
* src/PeopleView.py: divide rebuild_data into two functions
* src/PeopleModel.py: clean up insertion functions
* src/gramps_main.py: remove unused code


svn: r4261
2005-03-31 04:30:44 +00:00
Martin Hawlisch
0a8fa3357b small typo
svn: r4257
2005-03-30 20:44:12 +00:00
Martin Hawlisch
a8a02b241e * plugins/TestcaseGenerator.py: Added some more testcases of invalid relations
* plugins/Check.py: Added some comments an handling for some more invalid references


svn: r4256
2005-03-30 10:37:40 +00:00
Richard Taylor
14526ad71d 2005-03-29 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
* src/plugins/ScratchPad.py (on_object_select_row): fixed the drop of
	text into TextView widgets.


svn: r4250
2005-03-29 15:19:26 +00:00
Richard Taylor
0bb98262c9 2005-03-29 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
* src/DdTargets.py: add family targets to target list functions
	* src/Marriage.py (at_dest_drag_data_received, ev_dest_drag_data_received,
	ev_source_drag_data_get, at_source_drag_data_get): fixed dnd methods and
	added use of DdTarget types.
	* src/plugins/ScratchPad.py (generate_family_event_tooltip,
	generate_family_event_tooltip, redraw_object_list): added support for
	family events and attributes.


svn: r4249
2005-03-29 13:16:24 +00:00
Alex Roitman
adfdc9c807 * src/RelLib.py (NoteBase,PlaceBase): Add new classes.
* src/ReadGedcom.py: Use get_note for comments.
* src/ReadXML.py: Use get_note for comments.
* src/Sources.py: Use get_note for comments.
* src/WriteGedcom.py: Use get_note for comments.
* src/WriteXML.py: Use get_note for comments.
* src/plugins/Ancestors.py: Use get_note for comments.
* src/plugins/FtmStyleAncestors.py: Use get_note for comments.
* src/plugins/FtmStyleDescendants.py: Use get_note for comments.
* src/plugins/NavWebPage.py: Use get_note for comments.
* src/plugins/ScratchPad.py: Use get_note for comments.
* src/plugins/WebPage.py: Use get_note for comments.


svn: r4246
2005-03-28 04:58:28 +00:00
Martin Hawlisch
510bc975ac * src/plugins/Check.py (check_parent_relationships): Catch some more database errors. Messages in the report still need some work.
* src/plugins/TestcaseGenerator.py: New plugin that creates some of the errors that crashed Check.py before.


svn: r4241
2005-03-26 21:59:15 +00:00
Martin Hawlisch
bbb46e93c6 * src/plugins/Check.py (check_parent_relationships): typo
svn: r4239
2005-03-26 15:00:05 +00:00
Martin Hawlisch
501596d92a * src/plugins/Check.py: Add check for child handle in family, that does no longer exist in database
svn: r4238
2005-03-26 10:53:27 +00:00
Richard Taylor
0b5eeddbd1 2005-03-25 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
* src/ScratchPad.py (ScratchPadWindow): moved content of pad to a
	class attribute so that it is preserved when the pad is closed.
	* src/ScratchPad.py (add_itself_to_menu, remove_itself_from_menu):
	removed large section of commented code.


svn: r4237
2005-03-25 21:20:12 +00:00
Alex Roitman
5f0f7001fa * src/plugins/FilterEditor.py: single instance, help.
* src/rule.glade: icon, help.
* src/plugins/SoundGen.py: single instance, icon, help.
* src/soundex.glade: help.
* src/plugins/RelCalc.py: icon.
* src/plugins/ScratchPad.py: single instance, help.
* src/scratchpad.glade: help.


svn: r4235
2005-03-25 03:34:52 +00:00
Alex Roitman
0f1878e639 * src/plugins/ChangeTypes.py: icon, window management, single instance.
* src/plugins/changetype.glade: delete event.
* src/plugins/ReorderIds.py: Disable for the time being.
* src/plugins/Eval.py: icon, window management, single instance.
* src/plugins/eval.glade: dialog.
* src/plugins/Leak.py: icon, window management, single instance.
* src/plugins/leak.glade: dialog.


svn: r4234
2005-03-25 00:24:37 +00:00
Alex Roitman
405ff3259b Update
svn: r4233
2005-03-24 18:54:30 +00:00
Alex Roitman
aca6e4ad2d * src/RelLib.py (Witness.__init__): Typo.
* src/plugins/Check.py (cleanup_missing_photos): Use new mediaref
detection/removal, icons, window management.
* src/plugins/summary.glade: non-modal dialog.
* src/plugins/Verify.py (VerifyResults): Use title once.


svn: r4232
2005-03-24 17:17:01 +00:00
Richard Taylor
cced1bce37 2005-03-24 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
* src/DdTargets.py: new module to manage drag and drop target data.
	* src/Makefile.am: added DdTargets.py
	* src/ScratchPad.py: modified to use DdTargets.py. This is the first
	stage. I will look at modifying EditPersons.py to use DdTargets.py next


svn: r4231
2005-03-24 13:44:54 +00:00
Alex Roitman
77b07938b4 * src/gramps_main.py (tool_callback): Typo.
* src/QuestionDialog.py: Use gramps icon.
* src/plugins/EventCmp.py: HIG; single instance; help.
* src/plugins/eventcmp.glade: HIG; help.
* src/plugins/Desbrowser.py: HIG, help, rebuild model after edit.
* src/plugins/desbrowse.glade: help, info label.
* src/plugins/PatchNames.py: HIG, help, single instance.
* src/plugins/patchnames.glade: HIG, help.
* src/plugins/Merge.py: HIG, help, single instance.
* src/plugins/merge.glade: HIG, help.
* src/plugins/ChangeNames.py: HIG, help, single instance.


svn: r4230
2005-03-24 06:22:25 +00:00
Alex Roitman
2c47e2bfb2 * src/plugins/Verify.py (VerifyResults): Add class for displaying
results; help for the settings window; single instance of the tool.
* src/plugins/verify.glade: HIG compliance, break things into tabs.


svn: r4229
2005-03-24 03:27:02 +00:00
Alex Roitman
13dfeb6be8 * src/Sources.py: Use get_date_object (not get_date) for source refs.
* src/ReadXML.py: Use get_date_object for source refs.
* src/WriteXML.py: Use get_date_object for source refs.
* src/WriteGedcom.py: Use get_date_object for sourcerefs.
* src/plugins/FtmStyleAncestors.py: Use get_date_object for sourcerefs.
* src/plugins/FtmStyleDescendants.py: Use get_date_object for sourcerefs.
* src/plugins/NavWebPage.py: Use get_date_object for sourcerefs.
* src/plugins/WebPage.py: Use get_date_object for sourcerefs.
* src/RelLib.py (DateBase): Add base class for keeping Date;
(MediaBase): Do not inherit from BaseObject; (Event,MediaObject,LdsOrd,
Address,Name,SourceRef): Inherit all date-related methods from DateBase.


svn: r4222
2005-03-22 23:59:51 +00:00
Don Allingham
038147b649 * src/GrampsDbBase.py: handle new column
* src/PeopleModel.py: add cause of death field
* src/PeopleView.py: add cause of death field
* src/gramps.glade: add scratchpad button
* src/gramps_main.py: add scratchpad button press callback
* src/plugins/ScratchPad.py: call alternate dialog
* src/plugins/scratchpad.glade: provide alternate dialog based
on gtk.Dialog that implements the help button.


svn: r4213
2005-03-19 23:44:01 +00:00
Richard Taylor
b31ebf5ee3 2005-03-18 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
* src/plugins/ScratchPad.py: Tidy up of drag target type handling.
	* src/EditPerson.py (x_drag_data_received): fixed problem with
	drag and drop of objects that have srcrefs.


svn: r4206
2005-03-18 12:16:41 +00:00
Martin Hawlisch
7f7c81d080 * src/Exporter.py (build_info_page): proofreading; (build_format_page): shrink the size of the window by using tooltips to display the format description.
* src/plugins/ExportVCard.py: New (unfinished) plugin to export addresses to pim applications.
* src/plugins/vcardexport.glade: GUI for the Exporter Druid of vCard export
* src/plugins/ExportVCalendar.py: New (unfinished) plugin to export events for calendaring applications.
* src/plugins/vcalendarexport.glade: GUI for the Exporter Druid of vCalendar export


svn: r4197
2005-03-17 12:51:14 +00:00
Martin Hawlisch
fd67637913 * src/plugins/ImportvCard.py: A quickly hacked version of a vCard importer. Maybe it is useful for someone.
* src/const.py.in: added mime for vCard import.


svn: r4196
2005-03-16 22:40:42 +00:00
Alex Roitman
11c61d5766 * src/GenericFilter.py (HasTextMatchingSubstringOf): Minor.
* src/plugins/FilterEditor.py (EditRule:__init__): Typo.
* ChangeLog.old: Add to CVS the pre-2005 ChangeLog; Split off current.


svn: r4195
2005-03-16 16:38:20 +00:00
Martin Hawlisch
09cff3f693 * src/GenericFilter.py (HasTextMatchingSubstringOf): add checkboxes for case and regexp matching; (HasTextMatchingRegexpOf)
Added wrapper to use regexp matching in HasTextMatchingSubstringOf
* src/gramps_main.py: Add new regular expression filter
* src/plugins/FilterEditor.py (EditRule:__init__): Treat params of new filter as boolean.
* TODO: Add parameter definition of Filter Rules to the filter itself, so it can be removed from the filter editor and used by
PeopleView.


svn: r4193
2005-03-16 14:13:33 +00:00
Richard Taylor
1e49f78a37 2005-03-16 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
* src/ScratchPad.py (ScratchPad): improved the generation of
	tooltip information for most object types.


svn: r4192
2005-03-16 13:52:04 +00:00
Martin Hawlisch
1c452df605 * src/plugins/ImportGeneWeb.py: fixed small typos
svn: r4188
2005-03-15 21:04:44 +00:00
Alex Roitman
0b892faff2 * src/GenericFilter.py (HasTextMatchingSubstringOf):
Rename FullTextSearch as well as its descriptions.
* src/gramps_main.py: Change string for filter menu.
* src/plugins/FilterEditor.py (EditRule.__init__): Hide window while
drawing.
* src/DateEdit.py (DateEditorDialog.__init__): Hide window while
drawing.


svn: r4186
2005-03-15 16:26:30 +00:00
Richard Taylor
d85c655092 2005-03-15 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
* src/Makefile.am : Added TreeTip.py to list of installed modules.
	* src/TreeTip.py: New module that implements tooltips on TreeView rows.
	* src/plugins/Makefile.am: Added ScratchPad.py and scratchpad.glade.
	* src/plugins/ScratchPad.py: New module to implement a scratch pad for
	temporary storage of drag and drop objects.
	* src/plugins/scratchpad.glade: New glade file for ScratchPad window.


svn: r4184
2005-03-15 13:48:18 +00:00
Martin Hawlisch
1869866af9 * src/plugins/NavWebPage.py: Catch invalid HomeNote object
svn: r4158
2005-03-10 22:19:19 +00:00
Alex Roitman
5438164231 * src/plugins/FilterEditor.py (on_delete_event,close_filter_editor):
Update filter ComboBox in the main window.
* src/gramps_main.py (init_filters): Clear layout before rebuilding.


svn: r4140
2005-03-09 01:08:49 +00:00
Alex Roitman
b99f1b4019 * src/plugins/Makefile.am: Stop shipping ReadNative.py.
svn: r4114
2005-03-03 05:43:41 +00:00
Alex Roitman
164cfe3983 * src/plugins/FilterEditor.py: Multiple fixes.
* src/GenericFilter.py: Multiple fixes.


svn: r4112
2005-03-03 05:13:47 +00:00
Alex Roitman
028ed21efc * src/DbPrompter.py (ImportDbPrompter.chooser): Explicitly
import XML and GEDCOM.
* src/plugins/FilterEditor.py (MySelect.get_text): Typo.


svn: r4108
2005-03-02 14:00:51 +00:00
Alex Roitman
c36385735a * src/DbPrompter.py (format_maker): Add mnemonic activation target
to the format selector label; Use new import format; don't treat
native formats as plugins anymore.
* src/PluginMgr.py: Add format name to import registration.
* src/ReadGedcom.py: Cleanups; Don't register already native import.
* src/ReadXML.py: Don't register already native import.
* src/data/gramps.xml: Add magic patterns for XML, GEDCOM, and GW.
* src/plugins/ImportGeneWeb.py: Register with format name.
* src/plugins/ReadNative.py: Remove obsolete file.
* src/plugins/ReadPkg.py: Lots of cleanups; Register with format name.


svn: r4105
2005-02-28 01:51:21 +00:00
Don Allingham
572e90a270 * src/plugins/NavWebPage.py: add the ability to have notes
attached to the Introduction and Home pages


svn: r4103
2005-02-27 23:43:20 +00:00
Don Allingham
3731aad2b3 * src/AddMedia.py: use new find_mime_type_pixbuf instead of
find_icon
* src/ImageSelect.py: remove internal media widgets, use new
find_mime_type_pixbuf instead of find_icon
* src/ImgManip.py: catch pixbuf_new_from_file exception
* src/MediaView.py: use new find_mime_type_pixbuf instead of
find_icon
* src/SelectObject.py: use new find_mime_type_pixbuf instead of
find_icon
* various: replace the deprecated gtk.TRUE/gtk.FALSE with
True/False


svn: r4085
2005-02-24 00:25:34 +00:00
Don Allingham
2d0d34bd95 1.1.90 release
svn: r4074
2005-02-22 03:55:34 +00:00
Alex Roitman
6755b7e04e * src/ReportUtils.py (rgb_color): Add docs; (child_str): Fixes.
* src/plugins/Ancestors.py: Misc fixes.
* src/plugins/DetAncestralReport.py: Properly call child_str.
* src/plugins/DetDescendantReport.py: Properly call child_str.
* src/plugins/FtmStyleAncestors.py: Properly call child_str.
* src/plugins/FtmStyleDescendants.py: Properly call child_str.


svn: r4073
2005-02-22 03:43:53 +00:00
Don Allingham
352d7d4196 * src/ReportUtils.py: use today for age calculation if not
death date exists.
* src/plugins/NavWebPage.py: handle privacy if requested


svn: r4064
2005-02-20 23:27:55 +00:00
Alex Roitman
acd05b555d * doc/gramps-manual/C/usage.xml: Update.
* doc/gramps-manual/C/gramps-manual.xml: Chunk to depth 3.
* doc/gramps-manual/C/figures/gedcom-export.png: Update.
* doc/gramps-manual/C/figures/export-druid.png: Add figure.
* src/Exporter.py: Change labels, support CD export (lame).
* src/WriteGedcom.py: Correct label.
* src/WriteXML.py: Return status on success.
* src/plugins/WriteCD.py: Support for wizard (lame).
* src/plugins/WritePkg.py: Correct label.
* src/ArgHandler.py: Re-enable CD export.


svn: r4059
2005-02-19 22:33:24 +00:00
Alex Roitman
14052b42db * src/ArgHandler.py: Command line support for geneweb import
and export; Fix command line exports for gedcom, XML, and package.
* src/Exporter.py (help): Point to correct manual section.
* src/const.py.in: Add a constant for geneweb mime type name.
* src/plugins/WriteFtree.py: Support wizard and fix command line mode.
* src/plugins/writeftree.glade: Support export wizard.
* src/plugins/WritePkg.py: Support wizard and fix command line mode.
* src/plugins/ImportGeneWeb.py: Comment out debugging messages.
* src/plugins/WriteGeneWeb.py: Support for command-line export.


svn: r4054
2005-02-19 19:05:48 +00:00
Eero Tamminen
0faaae0201 Fix StatisticsChart.py date object checking
svn: r4048
2005-02-18 19:22:06 +00:00
Eero Tamminen
88cf2f9227 get option value from correct field
svn: r4039
2005-02-16 21:02:39 +00:00
Don Allingham
064311fc73 * src/AddMedia.py: handle "note only" media object
* src/DisplayModels.py: handle media type of None
* src/ImageSelect.py: Add "internal note" check box
* src/MediaView.py: handle media type of None
* src/NoteEdit.py: use glade definition
* src/gramps.glade: add note editor
* src/plubins/NavWebPage.py: Add default pages


svn: r4035
2005-02-16 05:41:33 +00:00
Alex Roitman
7a2a3d401d * src/plugins/DetAncestralReport.py: Typos.
* src/plugins/DetDescendantReport.py: Typos.


svn: r4030
2005-02-14 21:39:59 +00:00
Don Allingham
f47f7b0d7f * src/plugins/NavWebPage.py: More enhancements
* src/Sort.py: sort places by title


svn: r4026
2005-02-13 03:54:47 +00:00
Don Allingham
2db8fad3cd * src/plugins/NavWebpage.py: Build template pages for unused
pages, add Surname List and Individual List pages.


svn: r4024
2005-02-10 01:44:05 +00:00
Alex Roitman
094c52c13f * src/plugins/NavWebPage.py (display_relationships): Pass
another argument to display_spouse(); (display_spouse): Use spacers
for additional spouses. Use unique registration name
* src/ReportUtils.py (find_spouse): Typo.


svn: r4022
2005-02-04 13:54:02 +00:00
Don Allingham
8f2d56c922 * src/plugins/NavWebPage.py: more progress
svn: r4020
2005-02-04 03:54:48 +00:00
Don Allingham
dd093aacfc * src/plugins/GraphViz.py: fix MALE/FEMALE/UNKNOWN
svn: r4019
2005-02-03 00:32:20 +00:00
Eero Tamminen
2581aa31fb better colors for pies
svn: r4018
2005-02-02 20:50:14 +00:00
Alex Roitman
aa41d93ec1 * src/Report.py: Proper translatable strings for generation numbers.
* src/ReportUtils.py: More report-related methods.
* src/plugins/DetAncestralReport.py: Use ReportUtils methods.
* src/plugins/DetDescendantReport.py: Use ReportUtils methods.


svn: r4016
2005-02-02 05:09:07 +00:00
Alex Roitman
7c272cbb34 * src/ReportUtils.py: More report-related methods.
* src/plugins/DetAncestralReport.py: Use ReportUtils methods.
* src/plugins/DetDescendantReport.py: Use ReportUtils methods.


svn: r4011
2005-02-01 05:08:16 +00:00
Don Allingham
f7df43643f * various: Change Person.male, Person.female, and Person.unkwown
to Person.MALE, Person.FEMALE and Person.UNKNOWN

* gramps.spec.in: bring up to date, support Fedora Core and Mandrake
* src/plugins/NavWebPage.py: Start of the Narrative Web Page plugin


svn: r4008
2005-02-01 03:46:29 +00:00
Alex Roitman
724e5b89ca Update
svn: r4006
2005-01-31 05:33:10 +00:00
Alex Roitman
4385ae0b7c * src/ReportUtils.py (born_died_str,married_str): Use NameDisplay
to properly display names; (get_birth_death_strings, child_str,
born_str, died_str, buried_str): Add functions; (draw_legend): Use
correct style for the legend text, using write_at().
* src/docgen/OpenOffice.org (write_at): Accept paragraph style name.
* src/docgen/LPRDoc.org (draw_bar): Properly draw and use color
for the bar; (write_at): Correctly transform coordinates.
* src/plugins/StatisticsChart.py: Replace tabs with spaces.


svn: r4005
2005-01-31 05:31:30 +00:00
Alex Roitman
2d626f508b * src/plugins/GraphViz.py (GraphVizDialog.__init__):
Use proper response ID;  (GraphVizGraphics.__init__): set up self.doc;
(EmptyDoc.init): Add empty method.


svn: r3990
2005-01-29 22:05:21 +00:00
Eero Tamminen
3a8dfc04bf Added Pie chart support to StatisticsChart plugin
svn: r3989
2005-01-29 20:41:22 +00:00
Eero Tamminen
5bcbb04bb8 Add 5 new statistics to StatisticsChart.py plugin
svn: r3988
2005-01-29 17:11:02 +00:00
Guillaume Pratte
520e7f74e9 Modified Files:
* configure.in : changed fr_FR to fr.
 * src/plugins/rel_fr.py : added fr_CA and fr_CA.UTF-8 to the locale list.
Added Files:
 * src/po/fr.po : version from the STABLE branch.
Removed Files:
 * src/po/fr_FR.po


svn: r3973
2005-01-27 05:17:12 +00:00
Don Allingham
a19bd386f4 * src/DbPrompter.py: gnome.vfs vs. gnomevfs, tolerence
* src/GrampsMime.py: gnome.vfs vs. gnomevfs tolerence
* src/ImageSelect.py: gnome.canvas vs. gnomecanvas tolerence
* src/NameDisplay.py: gnome.vfs vs. gnomevfs tolerence
* src/PedView.py: gnome.canvas vs. gnomecanvas tolerence
* src/Utils.py: remove mime handling, use GrampsMime
* src/plugins/WriteCD.py: gnome.vfs vs. gnomevfs tolerence


svn: r3971
2005-01-27 03:18:21 +00:00
Eero Tamminen
a1edfc1fbc made cli report name consistent with naming of other reports
svn: r3962
2005-01-25 20:24:25 +00:00
Eero Tamminen
98dbcea73d fix StatisticsChart.py chart output, improve code
svn: r3961
2005-01-25 19:56:23 +00:00
Alex Roitman
e9cee32736 * src/ReportUtils.py (born_died_str,married_str,child_str):
Add functions.
* src/plugins/FtmStyleDescendants.py,
src/plugins/FtmStyleAncestors.py: Use common strings from ReportUtils.


svn: r3960
2005-01-25 04:46:52 +00:00
Alex Roitman
f05004329e * src/Report.py (BareReportDialog.init_interface): Set up buttons
with proper response values; (report): Ignore everything except
RESPONSE_OK.
* src/plugins/BookReport.py (BookReportSelector.on_setup_clicked,
BookReportDialog.__init__): Ignore everything except RESPONSE_OK.


svn: r3956
2005-01-24 23:39:50 +00:00
Alex Roitman
da2668c07a Update
svn: r3949
2005-01-24 16:40:36 +00:00
Alex Roitman
159c0eb08f * src/Report.py: Fix adding styles and calling doc.init().
* src/BaseDoc.py: Restructure header; Replace tabs with spaces.
* src/plugins/AncestorChart.py (calc): Remove doc.init() call.
* src/plugins/AncestorChart2.py (calc): Remove doc.init() call.
* src/plugins/Ancestors.py (define_table_styles): Add method.
* src/plugins/FamilyGroup.py (define_table_styles): Add method.
* src/plugins/FanChart.py (define_graphics_styles): Add method.
* src/plugins/FtmStyleDescendants.py (define_table_styles):
Add method.
* src/plugins/FtmStyleAncestors.py: Minor cleanups
* src/plugins/IndivComplete.py (define_table_styles): Add method.
* src/plugins/IndivSummary.py (define_table_styles): Add method.
* src/plugins/Partition.py: Remove from CVS.
* src/plugins/StatisticsChart.py (define_graphics_styles):
Add method.
* src/plugins/TimeLine.py (define_graphics_styles): Add method.


svn: r3948
2005-01-24 16:33:47 +00:00
Eero Tamminen
961426c030 Complete refactoring of the Extract class
svn: r3946
2005-01-22 21:46:55 +00:00
Eero Tamminen
cd047ba03a preliminary multiple statistics chart support
svn: r3945
2005-01-21 21:55:10 +00:00
Eero Tamminen
7c2adb8e19 use non-localized descriptions for cli help
svn: r3944
2005-01-21 21:46:11 +00:00
Eero Tamminen
65e574a7d6 added a few TODOs
svn: r3943
2005-01-21 19:05:37 +00:00
Alex Roitman
ff42dac0d1 * src/Utils.py (roman, pt2cm, cm2pt): Remove functions.
* src/ReportUtils.py (roman): Add function.
* src/docgen/OpenOfficeDoc.py (pt2cm): Remove function.
* src/docgen/PSDrawDoc.py (pt2cm): Remove function.
* src/plugins/AncestorChart2.py: Use ReportUtils.
* src/plugins/AncestorChart.py: Use ReportUtils.
* src/plugins/DesGraph.py: Use ReportUtils.
* src/plugins/FanChart.py: Use ReportUtils.
* src/plugins/StatisticsChart.py: Use ReportUtils.
* src/plugins/TimeLine.py: Use ReportUtils.


svn: r3937
2005-01-19 04:47:36 +00:00
Eero Tamminen
6694f7e139 numerous changes to GraphViz.py, see Changelog
svn: r3931
2005-01-18 21:00:58 +00:00
Alex Roitman
4d8158d041 update
svn: r3922
2005-01-17 20:50:41 +00:00
Alex Roitman
ece2cf7d42 * src/plugins/GraphViz.py: Remove bogus UI labels.
svn: r3921
2005-01-17 20:46:32 +00:00
Alex Roitman
e5dc04dc55 * src/docgen/PdfDoc.py: Port table and image fixes from STABLE.
* src/plugins/Ancestors.py (person_name): Avoid overriding builtin.


svn: r3919
2005-01-17 05:12:34 +00:00
Alex Roitman
5c08a9cb9a * src/plugins/FamilyGroup.py (dump_parent): Typo.
svn: r3917
2005-01-16 18:55:38 +00:00
Alex Roitman
82edf5a99d * src/plugins/GraphViz.py: Restore "Place/cause when no date"
option that was available before in RelGraph; rename 'show
family nodes' into 'sfn'.
* src/plugins/StatisticsChart.py: Rename 'sort' into 'sortby'.


svn: r3913
2005-01-15 05:51:48 +00:00
Alex Roitman
c29f7d3122 * src/plugins/BookReport.py: Switch to saving/restoring/registering
items by the non-localized name.
* src/plugins/GraphViz.py: Many various fixes.


svn: r3911
2005-01-14 05:02:20 +00:00
Alex Roitman
b71df1c117 * src/Report.py: Typos.
* src/plugins/WebPage.py: Typos.


svn: r3910
2005-01-13 18:21:04 +00:00
Alex Roitman
1ec6ff4afa * src/plugins/Check.py: Typos.
svn: r3909
2005-01-13 18:00:49 +00:00
Alex Roitman
6e4e9a73b1 * src/plugins/WebPage.py: Fix templates.
svn: r3906
2005-01-12 04:16:22 +00:00
Alex Roitman
979ef1a6bc * src/plugins/GraphViz.py: Support for graphical report
if dot was found on the system.


svn: r3904
2005-01-12 00:48:42 +00:00
Alex Roitman
52bc1dbacc Update
svn: r3903
2005-01-11 23:01:54 +00:00
Eero Tamminen
083192ce53 fixes to StatisticsChart
svn: r3901
2005-01-11 20:31:51 +00:00
Alex Roitman
c76e7fa59a More fixes
svn: r3894
2005-01-11 03:17:56 +00:00
Alex Roitman
7987f99536 * src/plugins/StatisticsChart.py: Misc fixes.
svn: r3893
2005-01-11 02:19:29 +00:00
Alex Roitman
a7e4980555 Some fixes
svn: r3892
2005-01-11 00:28:53 +00:00