Commit Graph

2171 Commits

Author SHA1 Message Date
Alex Roitman
7441034117 * src/Date.py (is_empty): Consider non-text-only date with
empty numerical fields an empty date.


svn: r5320
2005-10-14 16:32:07 +00:00
Martin Hawlisch
23828c68ce * src/plugins/TestcaseGenerator.py: Randomize SourceRefs
svn: r5319
2005-10-14 11:28:49 +00:00
Julio Sánchez
916e94bdc3 * src/ChooseParents.py: give unknown sex to the new parent, so that
guessing works


svn: r5318
2005-10-14 08:28:29 +00:00
Don Allingham
b74de932ee * various: add explict calls to garbage collection
svn: r5317
2005-10-14 04:30:47 +00:00
Alex Roitman
29022a6f1e * src/WriteXML.py (write_xml_data): Use ISO date in the created
attribute; (get_iso_date): Return empty string on empty date;
(write_date): Write quality attributes, if any.
* src/ReadXML.py (start_daterange,start_dateval): Parse quality
attributes.


svn: r5315
2005-10-14 00:25:22 +00:00
Alex Roitman
9307f2221a * example/gramps/data.gramps: Update example data to conform with
the format changes and the DTD.
* doc/grampsxml.dtd, doc/grampsxml.rng: Update.


svn: r5313
2005-10-13 20:02:48 +00:00
Martin Hawlisch
e9b39cf952 * src/plugins/TestcaseGenerator.py: Randomize more; Add LDS events
svn: r5312
2005-10-13 09:25:30 +00:00
Alex Roitman
fb6cc6e535 * doc/grampsxml.dtd: Typo.
svn: r5311
2005-10-13 07:03:22 +00:00
Don Allingham
28ce296be0 * src/plugins/NavWebPage.py: option for choosing the ancestor graph
svn: r5309
2005-10-13 04:17:56 +00:00
Alex Roitman
8c069a57ca * doc/grampsxml.rng: Add to CVS.
svn: r5307
2005-10-13 00:31:49 +00:00
Don Allingham
838406caa6 * src/data/main*.css: improved css styles for ancestor graphs
* src/plugins/NavWebPage.py: 4 generation ancestor graph


svn: r5306
2005-10-12 23:00:43 +00:00
Don Allingham
054497f793 * src/ReportUtils.py: handle "unknown_gender_name" in parameter arrays
svn: r5305
2005-10-12 14:27:52 +00:00
Don Allingham
8c2e2f357e * src/plugins/NavWebPage.py: first pass at ancestor map
* src/data/main*.css: ancestor css styles


svn: r5304
2005-10-12 03:46:11 +00:00
Don Allingham
ffed1c6ff2 * src/EditPerson.py: handle adding death/birth record correctly
svn: r5303
2005-10-11 20:39:32 +00:00
Alex Roitman
07e3140ff0 * src/plugins/GraphViz.py: Typos.
svn: r5302
2005-10-11 15:33:11 +00:00
Martin Hawlisch
c6de44d0de * src/plugins/TestcaseGenerator.py: Add some date events
svn: r5301
2005-10-11 11:02:15 +00:00
Don Allingham
ad49a9e202 * src/GrampsDBCallback.py: doc changes
* src/NameDisplay.py: remove nickname support
* src/QuestionDialog.py: handle missing icons for pychecker
* src/Report.py: set a default size for the window (600)
* src/ReportUtils.py: doc changes, add common_name
* src/plugins/DetAncestralReport.py:


svn: r5300
2005-10-11 03:56:53 +00:00
Don Allingham
69bc0f70b7 * src/Date.py: set default modifier properly, fix compare and sortval
assignment
* src/RelLib.py: fix source reference date comparison


svn: r5299
2005-10-10 22:00:29 +00:00
Julio Sánchez
91ed326d7a * src/WriteGedcom.py: fixed error caused by incomplete migration to
handle-based storage API


svn: r5298
2005-10-10 07:56:18 +00:00
Don Allingham
88f4a669de * src/Spell.py: give more intelligent error message if spelling
checker is not found.
* src/plugins/DescendChart.py: fixed type detection to handle both
unicode and str.


svn: r5297
2005-10-10 03:30:07 +00:00
Don Allingham
5993b7590f * src/plugins/NavWebPage.py: fixed typo in Creative Commons messages
svn: r5296
2005-10-10 02:18:09 +00:00
Don Allingham
9756ac2f7c * src/Bookmarks.py: use GrampsDisplay for help
* src/MergeData.py: use GrampsDisplay for help
* src/MergePeople.py: use GrampsDisplay for help


svn: r5295
2005-10-09 03:18:41 +00:00
Alex Roitman
8fa8bb103b * doc/grampsxml.dtd: Fix order, add missing contents.
svn: r5290
2005-10-07 16:28:10 +00:00
Martin Hawlisch
d44d8c8277 * src/plugins/TestcaseGenerator.py: Feed in more data
svn: r5289
2005-10-07 13:37:59 +00:00
Alex Roitman
c3b626c960 * doc/gramps-manual/C/cmdplug.xml: Add new section documenting
plugin options (Reports and Tools).
* src/build_cmdplug: Add script to refresh the new doc section.
* doc/gramps-manual/C/Makefile.am: Ship new file.
* doc/gramps-manual/C/gramps-manual.xml: Define new entity.
* doc/gramps-manual/C/cmdline.xml: Include new section.
* src/Makefile.am: Define new make target (cmdplug).
* src/PluginMgr.py: Include human-readable names in CLI plugins
registration.
* src/Report.py: Allow instantiation of command-line report
without adding item-specific options.
* src/Tool.py: Allow instantiation of command-line tool
without adding item-specific options.
* src/plugins/CmdRef.py: Add options for inclusion into the manual
and the target filename; Use human-readable names for titles; Add
section with common options; Add name option.


svn: r5288
2005-10-07 07:14:09 +00:00
Alex Roitman
4d49d66df5 * src/WriteXML.py: Switch from preferred to alt name attribute.
* doc/grampsxml.dtd: Update.
* src/ReadXML.py: Bring in sync with format changes.


svn: r5287
2005-10-06 23:31:14 +00:00
Don Allingham
c21cf57674 * src/plugins/DetAncestralReport.py: fix margin on note paragraph
* src/DateEdit.py: try using standard icons


svn: r5286
2005-10-06 22:09:38 +00:00
Alex Roitman
4f86f7d28b * src/plugins/CmdRef.py: Work out Report docs.
* src/Report.py: Typo.


svn: r5285
2005-10-06 21:53:49 +00:00
Martin Hawlisch
19db60b609 * src/plugins/CmdRef.py: New file. Work in progress.
svn: r5282
2005-10-06 20:07:25 +00:00
Don Allingham
d4dec7ff60 * src/docgen/AbiWord2Doc.py: handle superscript properly
* src/ReportUtils.py: remove name generation from list_person_str
* src/plugins/DetAncestralReport.py: fix child list, use roman numerals


svn: r5281
2005-10-06 20:03:21 +00:00
Alex Roitman
2d81701115 * src/ArgHandler.py: Do actions prior to exports.
* doc/gramps.1.in: Document new execution order.


svn: r5280
2005-10-06 19:49:25 +00:00
Alex Roitman
95c876e51d * src/TreeTips.py: Typo.
* src/plugins/ScratchPad.py: Convert to new API.
* src/plugins/DumpGenderStats.py: Convert to new API.


svn: r5279
2005-10-06 19:15:49 +00:00
Stefan Bjork
8cfdeab55c * src/plugins/rel_sv.py: Obviosly, level=1 to get_parents means
parents, not level=0.
* src/po/sv.po: Updates and changes.


svn: r5278
2005-10-06 15:37:35 +00:00
Alex Roitman
cd28f97e1e dialog; Convert plugin reloading tool to new API.
svn: r5277
2005-10-06 06:09:48 +00:00
Alex Roitman
b4426eb514 * src/Plugins.py: Factor out common code for plugins; fix tool
dialog.


svn: r5276
2005-10-06 05:57:29 +00:00
Don Allingham
484a656897 * src/GrampsDisplay.py: move gnome help and url control into this
module
* various: switch from direct gnome calls to GrampsDisplay calls
* src/TreeTips.py: don't register type if pygtk > 2.8.0


svn: r5274
2005-10-06 00:44:52 +00:00
Alex Roitman
028fc7266b * doc/grampsxml.dtd: Add to CVS (replaces gramps.dtd).
* src/WriteXML.py: Bring in sync with the DTD:
  + add PUBLIC declaration of the DTD file
  + remove db stats as attributes of the database element
  + prepend all handles and hlinks with "_" (conform to XML ID)
  + replace "aka" with "name", "name" with "name preferred=1"


svn: r5272
2005-10-05 23:50:10 +00:00
Julio Sánchez
a0a164621b * src/plugins/ReorderIds.py: handle more cases correctly
svn: r5271
2005-10-05 20:58:44 +00:00
Alex Roitman
561716a398 * src/plugins/PatchNames.py: Convert to new API.
* src/plugins/RelCalc.py: Convert to new API.
* src/plugins/ReorderIds.py: Convert to new API.
* src/plugins/SoundGen.py: Convert to new API.
* src/plugins/Rebuild.py: Convert to new API.


svn: r5270
2005-10-05 04:39:17 +00:00
Don Allingham
278b7751ba * src/DateParser.py: handle non-matching dates as strings properly
svn: r5269
2005-10-04 15:48:58 +00:00
Stefan Bjork
2b60db6940 * src/dates/Date_sv.py: Fixes. No differences from english version
on test data.


svn: r5268
2005-10-04 12:48:28 +00:00
Alex Roitman
fbae0315da * src/plugins/EventCmp.py: Convert to new API.
* src/plugins/Merge.py: Convert to new API.


svn: r5267
2005-10-04 04:52:54 +00:00
Don Allingham
054a803b86 * src/Utils.py: grab the first word of a command line string
* src/plugins/DetAncestralReport.py: work on spouse information


svn: r5266
2005-10-04 03:41:41 +00:00
Don Allingham
569af0f288 * src/ReportUtils.py: add pronoun/name support to child strings
* src/plugin/DetAncestralReport.py: Add support for ReportUtils
* src/plugin/DetDescendantReport.py: Add support for ReportUtils
* src/plugins/ImportGenweb.py: fix date handling to support
date ranges and date modifiers.


svn: r5265
2005-10-02 18:25:39 +00:00
Martin Hawlisch
fa5fb849d9 * src/plugins/TestcaseGenerator.py: corrected options help dict
svn: r5264
2005-10-02 11:55:32 +00:00
Alex Roitman
dd697dcb69 * src/plugins/DesGraph.py: Use correct constant.
* src/plugins/Eval.py: Convert to new API.
* src/plugins/Leak.py: Convert to new API.


svn: r5263
2005-10-02 02:51:01 +00:00
Alex Roitman
2eef51be37 * src/plugins/Check.py: Convert to new API.
svn: r5262
2005-10-02 02:04:36 +00:00
Alex Roitman
66922b94cc Update
svn: r5261
2005-10-01 19:58:48 +00:00
Alex Roitman
cf92aa1fe4 * src/plugins/verigy.glade: Use separate windows for errors and
warnings.


svn: r5260
2005-10-01 19:32:03 +00:00
Alex Roitman
ece8b3cc0c * src/plugins/Verify.py: Convert to new API.
svn: r5259
2005-10-01 19:30:20 +00:00
Alex Roitman
b202b65f1c * src/docgen/KwordDoc.py: Remove unused latin_utf8 import.
* src/plugins/FilterEditor.py: Convert to new API.
* src/plugins/DesBrowse.py: Convert to new API.


svn: r5258
2005-10-01 06:08:50 +00:00
Don Allingham
a391498dc0 * src/docgen/AbiWord2Doc.py: fix latin encoding issues
* src/docgen/KwordDoc.py: fix latin encoding issues
* src/docgen/OpenSpreadSheet.py: fix latin encoding issues
* src/plugins/GraphViz.py: fix latin encoding issues


svn: r5257
2005-09-30 02:15:27 +00:00
Don Allingham
efc4e76449 * src/plugins/DetAncestralReport.py: Fixed generation string
* src/plugins/DetDescendantReport.py: Fixed generation string


svn: r5256
2005-09-30 00:46:51 +00:00
Martin Hawlisch
8d3d21436c * src/plugins/ExportVCalendar.py: Removed unused code
* src/plugins/ExportVCard.py: Removed unused code
* src/plugins/ImportGeneWeb.py: Removed unused code
* src/plugins/ImportvCard.py: Removed unused code
* src/plugins/TestcaseGenerator.py: Removed unused code
* src/plugins/WriteGeneWeb.py: Removed unused code


svn: r5255
2005-09-29 21:01:07 +00:00
Don Allingham
ebd9b9f7d9 * src/WriteGedcom.py: handle broken family
* src/ReportUtils.py: fix born_str to not depend on death date
* example/gedcom/sample.ged: remove broken refererence (I01)


svn: r5254
2005-09-29 18:58:11 +00:00
Martin Hawlisch
8e82ce6149 * src/plugins/ImportGeneWeb.py: convert witout using latin_utf8.py
* src/plugins/ImportvCard.py: remove unused latin_utf8.py include
* src/plugins/TestcaseGenerator.py: remove unused latin_utf8.py include


svn: r5251
2005-09-29 13:13:51 +00:00
Don Allingham
b8034741df * src/NameDisplay.py: Add display_formal
* src/Report.py: remove generation strings
* src/docgen/OpenOfficeDoc.py: Fix leading space after tab.
* src/plugins/AncestorReport.py: Use ReportUtils strings
instead of local strings


svn: r5250
2005-09-29 04:28:36 +00:00
Eero Tamminen
411cae1644 Update Finnish translation
svn: r5249
2005-09-28 20:21:28 +00:00
Martin Hawlisch
b68d819ffd * src/plugins/TestcaseGenerator.py: Use new tool/option api
svn: r5248
2005-09-28 12:20:32 +00:00
Don Allingham
b18503a0c3 * src/ReadXML.py: store then restore read only flag on load
svn: r5247
2005-09-28 03:10:01 +00:00
Alex Roitman
1e67047f6c * src/const.py.in: Remove report and tool categories.
* src/Plugins.py: Switch report and tool category constants.
* src/PluginMgr.py: Switch report and tool category constants.
* src/Report.py, src/Tool.py: Move constants.
* src/plugins/ChangeNames.py, src/plugins/ChangeTypes.py,
src/plugins/Checkpoint.py: switch category constants.


svn: r5245
2005-09-27 05:10:54 +00:00
Alex Roitman
4d3a6ffae7 * all reports: switch categories from const to Report module.
svn: r5243
2005-09-27 04:54:17 +00:00
Don Allingham
f517351802 * src/docgen/PSDrawDoc.py: locale independent floating point
* src/DateDisplay.py: Better french republican date handling
* src/DateParser.py: Better french republican date handling


svn: r5242
2005-09-27 03:45:19 +00:00
Alex Roitman
56038d9b63 * src/plugins/Checkpoint.py: Convert to new scheme, improve.
* src/plugins/checkpoint.glade: Add to CVS.
* src/plugins/Makefile.am: Ship new glade file.


svn: r5241
2005-09-27 00:52:38 +00:00
Stefan Bjork
e346ae7a4f Manual update. Don't shoot the messenger.
svn: r5236
2005-09-26 21:13:03 +00:00
Alex Roitman
c3af4c65a0 * src/plugins/ChangeNames.py: Convert to the new scheme.
svn: r5235
2005-09-26 21:03:31 +00:00
Don Allingham
e03996c6de * src/data/tips.xml: removed the tip mentioning column sorting
in people view.


svn: r5231
2005-09-25 04:01:46 +00:00
Don Allingham
1c60276c14 * src/latin_utf8.py: removed
* src/ReadGedcom.py: added latin_utf8 functions
* src/Spell.py: better error checking on import


svn: r5225
2005-09-24 16:41:17 +00:00
Don Allingham
b9adcb8f0e * doc/gramps-manual/C/faq.xml: more updates
* doc/gramps-manual/C/getstart.xml: more updates
* doc/gramps-manual/C/gramps-manual.xml: more updates
* doc/gramps-manual/C/mainwin.xml: more updates
* doc/gramps-manual/C/usage.xml: more updates


svn: r5223
2005-09-24 04:40:17 +00:00
Don Allingham
50f2226da6 * src/WriteGedcom.py: handle patronymics
svn: r5222
2005-09-24 02:24:26 +00:00
Martin Hawlisch
0fc8d53798 * src/GrampsDbBase.py: Properly validate ID prefix strings
svn: r5221
2005-09-23 22:06:01 +00:00
Alex Roitman
374e117c17 Merge changes done in the TOOL_OPT branch as follows:
* src/Tool.py: Add to CVS: Generic tool interface.
* src/ArgHandler.py: Support command line mode for tools.
* src/PluginMgr.py: New tool registration scheme.
* src/Plugins.py: Convert to tool registration scheme.
* src/const.py.in: Add tool categories.
* src/plugins/ChangeTypes.py: Convert to new scheme.
* src/Options.py: Add to CVS: generic options interface.
* src/ReportOptions.py: Keep only report-specific option
handling.
* src/Makefile.am: Ship new files.

* src/plugins/Checkpoint.py: Minor improvements for the RCS.
* src/plugins/Makefile.am: Ship Checkpoint.py.


svn: r5220
2005-09-23 21:41:23 +00:00
Don Allingham
20fb8825cd * doc/gramps-manual/C/*.xml
svn: r5217
2005-09-23 04:50:31 +00:00
Don Allingham
0903bc88d2 * src/ReportUtils.py: More UNKNOWN gender handling, and more
complete burial strings
* src/plugins/DetAncestralReport.py: defer pronoun handling to
ReportUtils
* src/plugins/DetDescendantReport.py: defer pronoun handling to
ReportUtils


svn: r5216
2005-09-22 03:04:46 +00:00
Alex Roitman
3c8a820cf4 * src/ReportUtils.py: Add UNKNOWN gender case throughout.
svn: r5215
2005-09-21 22:16:48 +00:00
Martin Hawlisch
11e9730fb9 * src/dates/Date_de.py: Fix month name
svn: r5214
2005-09-21 20:59:19 +00:00
Don Allingham
693879e004 * src/ChooseParents.py: fix unbound variable when neither parents
exist.


svn: r5213
2005-09-21 19:09:26 +00:00
Don Allingham
e1ae9c619e * src/plugins/DetAncestralReport.py: fix endnotes for null sources
* src/plugins/DetDescendantReport.py: fix endnotes for null sources
* src/plugins/FtmStyleAncestors.py: fix endnotes for null sources


svn: r5212
2005-09-21 17:13:26 +00:00
Don Allingham
fd28cfeac7 * src/ReportUtils.py: fix typo
* src/plugins/NavWebPage.py: handle contact page issues, including
random commas and missing image.


svn: r5208
2005-09-21 14:20:46 +00:00
Don Allingham
089a8c4d06 * src/ImgManip.py: update thumbnail if out of date
svn: r5207
2005-09-21 03:58:10 +00:00
Alex Roitman
6e5c529ba1 * src/plugins/DetAncestralReport.py (write_person,write_children):
Remove boldface, since it should be handled by the style;
(make_default_style): handle boldface heading by the style.
* src/plugins/DetDescendantReport.py (write_person,
write_children): Remove boldface, since it should be handled by
the style; (make_default_style): handle boldface heading by the
style.


svn: r5206
2005-09-21 02:49:42 +00:00
Alex Roitman
8a76c381cc * gramps.sh.in: Revert escaping the arguments, as this lumps all
the args into a single word. If filenames contain spaces then they
should be escaped by the user.


svn: r5204
2005-09-20 19:48:11 +00:00
Alex Roitman
8ddf81d04b * INSTALL: Provide correct examples for the local install.
svn: r5203
2005-09-20 17:58:26 +00:00
Don Allingham
7a72837537 * src/ReportUtils.py: better string handling
* doc/gramps-manual/C/getstart.xml: updates from editors
* doc/gramps-manual/C/mainwin.xml: updates from editors
* doc/gramps-manual/C/usage.xml: updates from editors


svn: r5202
2005-09-20 04:21:50 +00:00
Don Allingham
d0be789223 * src/DescendReport.py: fix indentation
svn: r5195
2005-09-16 04:11:48 +00:00
Don Allingham
012d4a68fd * src/CalSdn.py: fix Hebrew date parsing
* src/DescendReport.py: enhanced to add spouses and places


svn: r5193
2005-09-15 03:51:49 +00:00
Don Allingham
f99f517f04 * src/ReadGedcom.py: fix forward referencing named notes
svn: r5192
2005-09-14 14:34:13 +00:00
Don Allingham
b62eaef5fe * src/NameEdit.py: preserve custom name types
svn: r5191
2005-09-13 03:34:59 +00:00
Don Allingham
83b7e669dc * src/plugins/ScratchPad.py: handle unicode better
* src/DdTargets.py: handle unicode better


svn: r5189
2005-09-12 20:38:59 +00:00
Don Allingham
1b7a21225f * src/NameDisplay: include nickname if available
* src/plugins/ScratchPad.py: Handle null handle


svn: r5188
2005-09-12 03:18:08 +00:00
Don Allingham
02d2c7cd73 * src/ImageSelect.py: fix adding a new image that is actually
already in the database.


svn: r5187
2005-09-11 03:08:49 +00:00
Don Allingham
d117110b4c * src/plugins/NavWebPage.py: suppress dates on list pages for restricted
people


svn: r5186
2005-09-07 01:43:03 +00:00
Don Allingham
757c3cae1f * doc/gramps-manual/C/getstart.xml: text and graphics improvements
* doc/gramps-manual/C/mainwin.xml: text and graphics improvements
* doc/gramps-manual/C/usage.xml: text and graphics improvements


svn: r5185
2005-09-07 00:42:19 +00:00
Eero Tamminen
8759066b4e inprove strings
svn: r5184
2005-09-06 19:17:22 +00:00
Don Allingham
1ca8867a78 * NEWS: update for 2.0.8
* src/data/Makefile.am: install main6.css
* src/plugins/NavWebPage.py: Catch exception if thumbnailer fails.


svn: r5182
2005-09-06 01:58:05 +00:00
Eero Tamminen
dc465ec4bf fix DateParser
svn: r5181
2005-09-05 18:52:21 +00:00
Don Allingham
d4181a3e1e * NEWS: update for 2.0.7 release
svn: r5180
2005-09-05 00:43:39 +00:00
Don Allingham
7c11d689e0 * src/DateDisplay.py: handle BCE better
svn: r5179
2005-09-05 00:06:17 +00:00
Don Allingham
1bf7432260 * src/ReadXML.py: read the patronymic portion of a name properly.
svn: r5178
2005-09-04 22:37:24 +00:00
Eero Tamminen
021141b84f Finish Finnish date support
svn: r5176
2005-09-04 20:22:39 +00:00