Commit Graph

2907 Commits

Author SHA1 Message Date
Eero Tamminen
aebafcbc93 kludge quality until I have time to do it properly
svn: r4478
2005-05-03 20:26:03 +00:00
Eero Tamminen
8a1f01b287 update fi.po
svn: r4477
2005-05-03 20:01:31 +00:00
Martin Hawlisch
7c49fac9a9 * src/GenericFilter.py (HaveChildren): Match what it should
svn: r4476
2005-05-03 19:39:04 +00:00
Alex Roitman
b797fc392a * doc/gramps-manual/C/prefs.xml: Update.
* doc/gramps-manual/C/figures/prefs.png: Add new figure.


svn: r4475
2005-05-03 19:24:32 +00:00
Alex Roitman
1e51f917c2 Update
svn: r4474
2005-05-03 17:56:57 +00:00
Alex Roitman
3184b3ace2 Update
svn: r4473
2005-05-03 17:55:55 +00:00
Alex Roitman
0774bb6e19 * doc/gramps-manual/C/usage.xml: Update.
* doc/gramps-manual/C/figures/*.png: Add new figures.
* src/MergePeople.py: Minor cleanups; Help buttons.
* src/MergeData.py: Minor cleanups; Help buttons.
* src/mergedata.glade: Minor cleanups; Help buttons.


svn: r4472
2005-05-03 17:17:17 +00:00
Don Allingham
06ca7b40fd Fixed typo
svn: r4471
2005-05-03 16:47:14 +00:00
Alex Roitman
3346233bf0 * src/po/ru.po: Translation update.
svn: r4469
2005-05-03 04:58:21 +00:00
Alex Roitman
657650cd78 Update
svn: r4468
2005-05-03 04:46:57 +00:00
Alex Roitman
e03ad1b71d Update
svn: r4467
2005-05-03 04:46:49 +00:00
Alex Roitman
29cdd627f1 * src/AddrEdit.py: Correct manual section.
* src/AttrEdit.py: Correct manual section.
* src/Witness.py: Correct manual section.
* doc/gramps-manual/C/usage.xml: Update.
* doc/gramps-manual/C/figures/edit-*.png: Update.


svn: r4466
2005-05-03 04:46:38 +00:00
Alex Roitman
348b111817 Update
svn: r4464
2005-05-03 02:49:25 +00:00
Alex Roitman
bed103c9b8 * src/EditPlace.py: Correct manual section.
* src/EditSource.py: Correct manual section.
* src/EventEdit.py: Correct manual section.
* src/ImageSelect.py: Correct manual section.
* src/Marriage.py: Correct manual section.
* src/NameEdit.py: Correct manual section.
* doc/gramps-manual/C/usage.xml: Update.
* doc/gramps-manual/C/figures/edit-*.png: Update.


svn: r4463
2005-05-03 02:13:44 +00:00
Don Allingham
dc91adb896 * src/gramps.glade: remove place field, fixed parent relationships
svn: r4462
2005-05-03 01:37:53 +00:00
Don Allingham
11539c5054 * src/gramps.glade: remove place field
* src/ImageSelect.py: remove place handling


svn: r4461
2005-05-03 01:31:20 +00:00
Alex Roitman
cc59e73911 * src/DateEdit.py (DateEditorDialog.__init__): Correct manual section.
* doc/gramps-manual/C/usage.xml: Update.
* doc/gramps-manual/C/figures/edit-person-notes.png: Update.
* doc/gramps-manual/C/figures/date-selection.png: Add new figure.


svn: r4460
2005-05-02 23:27:50 +00:00
Don Allingham
5ff894307d readonly DB fixes, GEDCOM parsing fixes
svn: r4459
2005-05-02 22:27:12 +00:00
Don Allingham
893168feb6 Filtering fixes
svn: r4458
2005-05-02 21:50:15 +00:00
Martin Hawlisch
08c1a4865b * src/gramps_main.py: Disable fast merge on a readonly db
* src/plugins/Check.py: Disable on readonly db
* src/plugins/TestcaseGenerator.py: Disable on readonly db


svn: r4457
2005-05-02 21:20:08 +00:00
Alex Roitman
9b38528e44 Update
svn: r4456
2005-05-02 13:24:38 +00:00
Don Allingham
a2ef90f18b * src/po/template.po: updated for string changes
* src/Date.py: add the ui_calendar_names for translation for the ui
* src/DateEdit.py: use the new ui_calendar_names for the ui


svn: r4455
2005-05-02 04:13:20 +00:00
Alex Roitman
0dd5c07204 * src/EditPerson.py (on_help_clicked): Call appropriate manual section.
* doc/gramps-manual/C/usage.xml: Update.
* doc/gramps-manual/C/figures/edit-person-*.png: Update.
* configure.in: Bump up version, to distinguish from released 1.1.99.


svn: r4454
2005-05-02 02:32:52 +00:00
Don Allingham
cbe87ed537 * src/plugins/Check.py: delete families that contain only a
single parent and no children


svn: r4453
2005-05-01 20:20:19 +00:00
Frode Jemtland
88c0938174 J��rgen has washed up to string 1245
svn: r4452
2005-05-01 19:27:09 +00:00
Eero Tamminen
0612243444 fixed finnish date display
svn: r4451
2005-05-01 18:56:13 +00:00
Eero Tamminen
8727e99353 alaotsake -> alatunniste
svn: r4450
2005-05-01 18:52:59 +00:00
Frode Jemtland
49c3ae8e39 J��rgen has washed the translation up to string 1143
svn: r4449
2005-05-01 09:42:48 +00:00
Alex Roitman
5afd417efe Update
svn: r4444
2005-04-28 23:07:23 +00:00
Alex Roitman
8e25a95bf4 * src/EditPlace.py (on_add_url_clicked,on_update_url_clicked):
Use empty name when not available.
* src/UrlEdit.py (__init__): Work with empty names.


svn: r4443
2005-04-28 23:06:58 +00:00
Eero Tamminen
b55636be8f update Finnish translation, add initial Date_fi.py
svn: r4441
2005-04-28 21:12:05 +00:00
Eero Tamminen
8423913692 merged fi.po with new template.po
svn: r4440
2005-04-28 19:56:00 +00:00
Don Allingham
f187d9f103 fixed adding child to wrong family
svn: r4439
2005-04-28 19:03:33 +00:00
Frode Jemtland
941d616ca0 J��rgen writes:
vasket fram til sterng 145
(Washed until string 145)


svn: r4438
2005-04-28 07:43:47 +00:00
Martin Hawlisch
371ff606b7 * src/StartupDialog.py (__init__): Catch Schema errors
svn: r4435
2005-04-27 19:30:07 +00:00
Martin Hawlisch
b5c63cf625 * src/gramps_main.py (__init__): Avoid TypeError in schema error message
svn: r4433
2005-04-27 18:28:45 +00:00
Frode Jemtland
90a4bb1557 Fixed a couple strings.
svn: r4432
2005-04-27 07:15:24 +00:00
Martin Hawlisch
4e155a5e7b * src/MergePeople.py: Corrected gender display (closes #1190203)
svn: r4428
2005-04-26 12:42:00 +00:00
Frode Jemtland
0ae13453d4 First time translation for version 2.0 finished.
svn: r4427
2005-04-26 12:38:37 +00:00
Martin Hawlisch
26f4ef3bb3 * src/EditPerson.py (on_apply_person_clicked): Fix crash when changing gender caused by a family handle/object mismatch
svn: r4426
2005-04-26 12:25:00 +00:00
Martin Hawlisch
a918c72ef8 * src/FamilyView.py: Dont crash on empty database
svn: r4425
2005-04-25 09:24:11 +00:00
Alex Roitman
5a1fb9bddf * src/Report.py (GrampsStyleComboBox): Use non-translated style name.
svn: r4423
2005-04-25 03:33:00 +00:00
Alex Roitman
1a3160380d * src/EditSource.py (button_press): Proper invokation of editors.
* src/ImageSelect.py: Remove workarounds for window management.


svn: r4422
2005-04-25 03:02:07 +00:00
Don Allingham
398338bda8 update
svn: r4421
2005-04-25 02:30:28 +00:00
Alex Roitman
f530e27275 * configure.in: Add Finnish back to installed languages
* src/po/fi.po: Make translations more consistent + some fixes
* src/ReportUtils.py (died_str): Typo.
* src/plugins/DetDescendantReport.py (add_user_options): Typos.
* src/plugins/DetAncestralReport.py (add_user_options): Typos.
* src/gramps_main.py (on_home_clicked): Typo.
* src/rule.glade: Translate label.
* src/po/fi.po: Add to gramps20 branch.
* src/po/template.po: Update translation template.
* src/po/ru.po: Translation update.


svn: r4420
2005-04-24 21:01:31 +00:00
Don Allingham
24d55db257 * src/gramps.glade: remove REDO menu item
svn: r4419
2005-04-24 20:58:32 +00:00
Don Allingham
4faef6adc4 This commit was manufactured by cvs2svn to create branch 'gramps20'.
svn: r4418
2005-04-24 19:01:09 +00:00
Eero Tamminen
ec8605fb78 improve translation consistency
svn: r4417
2005-04-24 19:01:09 +00:00
Eero Tamminen
f95a450317 add Finnish back to installed alanguages
svn: r4416
2005-04-24 17:09:59 +00:00
Frode Jemtland
bfd5c4c4d4 First time translation for 2.0, finished up to string 1985
svn: r4415
2005-04-24 16:14:16 +00:00
Alex Roitman
46882b23cd * src/ReportUtils.py (list_person_str): Add missing periods;
Use burial_date and burial_place for named format string parameters.


svn: r4414
2005-04-24 15:00:40 +00:00
Alex Roitman
cde895aa1d * src/ReportUtils.py (list_person_str): Add missing periods.
svn: r4413
2005-04-24 14:57:08 +00:00
Alex Roitman
017e9f5791 * src/plugins/rel_ru.py (get_parents): Remove gettext string.
svn: r4412
2005-04-24 14:43:46 +00:00
Julio Sánchez
f657c59182 * src/po/es.po: Nearly complete update, but completely untested
svn: r4411
2005-04-24 06:08:28 +00:00
Eero Tamminen
e2b4e305b8 translations improvements
svn: r4409
2005-04-23 20:50:52 +00:00
Frode Jemtland
31df4d4e55 First time translation for 2.0 up to string 1555
svn: r4408
2005-04-23 19:10:45 +00:00
Frode Jemtland
116473a0b3 First time manual translation, upto string 1275
svn: r4404
2005-04-22 22:42:07 +00:00
Don Allingham
716a3119e7 * src/Date.py (__cmp__): check for Date instance before compare
* src/plugins/DetAncestralReport.py: fixed i18n strings
* src/ReadGedcom.py: handle FTM style of child/parent relationship
translation
* src/gedcomimport.py:


svn: r4403
2005-04-22 19:49:08 +00:00
Frode Jemtland
1ec714006e First translation up to line 625.
svn: r4402
2005-04-21 19:48:44 +00:00
Martin Hawlisch
26538760c8 Some more witness support
svn: r4401
2005-04-21 18:12:51 +00:00
Martin Hawlisch
8ff477aa0a update
svn: r4400
2005-04-21 18:12:13 +00:00
Martin Hawlisch
f4dd79c642 * src/ReadGedcom.py (parse_family_object): Support _WITN and _GODP; Ignore _LOC extended locations
svn: r4399
2005-04-21 14:20:26 +00:00
Frode Jemtland
970f851d4d First time translation up to string 350
svn: r4398
2005-04-21 14:09:14 +00:00
Martin Hawlisch
a391f7e96c * src/ReadGedcom.py (importData): Dont crash because of a short line;
svn: r4397
2005-04-21 12:25:35 +00:00
Martin Hawlisch
6fa55ea96b * src/ReadGedcom.py (parse_individual): Set Adoption event properly
svn: r4396
2005-04-21 11:52:08 +00:00
Martin Hawlisch
d43ec2d13c * src/ReadGedcom.py (parse_family_object): Set MediaRef properly
* src/Marriage.py (__init__): Properly get place title


svn: r4395
2005-04-21 09:54:53 +00:00
Don Allingham
3aebc669e3 * src/DbPrompter.py: handle runtime errors issued by
gnomevfs.get_mime_type


svn: r4394
2005-04-21 00:27:42 +00:00
Eero Tamminen
5664d7ad50 updated Finnish translation
svn: r4393
2005-04-20 21:14:49 +00:00
Eero Tamminen
8de4698877 fix typos
svn: r4392
2005-04-20 20:54:21 +00:00
Frode Jemtland
0c426c4fc5 Rough translated all the new translations.
First time manual translation up to string 200.


svn: r4391
2005-04-20 20:16:35 +00:00
Martin Hawlisch
8fab524810 * src/plugins/ExportVCalendar.py: Mark strings for translation; use proper family name
svn: r4390
2005-04-20 19:58:02 +00:00
Don Allingham
b97d0fa9f0 * src/plugins/DetAncestralReport.py: fixed i18n strings
* src/ReadGedcom.py: handle FTM style of child/parent relationship
translation
* src/gedcomimport.py:


svn: r4389
2005-04-20 19:44:08 +00:00
Eero Tamminen
390a84bd2f fix gettext usage
svn: r4388
2005-04-20 19:38:54 +00:00
Eero Tamminen
dab1b6c8a7 fix typo
svn: r4387
2005-04-20 19:35:32 +00:00
Don Allingham
2725773aa0 update
svn: r4386
2005-04-20 19:19:27 +00:00
Don Allingham
2603fb3c21 * src/ReadGedcom.py: handle FTM style of child/parent relationship
translation
* src/gedcomimport.py:


svn: r4385
2005-04-20 18:41:48 +00:00
Don Allingham
dc3fb33c1e * src/DisplayModels.py: fix bad index into list
* src/Relationship.py: handle race condition where the screen
wants to update with a stale family handle after the database
has been closed and the internal data has not be rebuilt.

* src/GenericFilter.py: Don't crash on corrupt database


svn: r4384
2005-04-20 16:45:00 +00:00
Frode Jemtland
17310bf436 Started with a couple of strings.
svn: r4383
2005-04-20 14:32:01 +00:00
Martin Hawlisch
ec549b3d69 * GenericFilter.py: Don't crash on corrupt database
svn: r4381
2005-04-19 19:33:56 +00:00
Eero Tamminen
b905316bbd fix typos
svn: r4379
2005-04-19 16:41:22 +00:00
Don Allingham
3b9b193b27 updated
svn: r4374
2005-04-19 04:05:53 +00:00
Guillaume Pratte
5fb99c86fd src/po/fr.po: Translation updated, but not finished
svn: r4373
2005-04-19 02:46:02 +00:00
Guillaume Pratte
1afc9c22d8 Translation updated, but not finished.
svn: r4372
2005-04-19 02:39:24 +00:00
Martin Hawlisch
1744d7407a * src/plugins/WebPage.py (dump_gendex): Files are named by GRAMPS ID; Alway print fields for birth/death; Fixed typo in DateHandler
svn: r4366
2005-04-16 06:57:48 +00:00
Don Allingham
350ed9e36d * src/plugins/Check.py: loop through family relationships until all
problems are resolved


svn: r4364
2005-04-15 04:50:15 +00:00
Don Allingham
5617c42d2c * src/FamilyView.py: make load_family more robust to signals
svn: r4363
2005-04-14 20:43:14 +00:00
Matthieu Pupate
aa44f2b10b French translation (in progress)
svn: r4362
2005-04-14 20:13:02 +00:00
Martin Hawlisch
79af9bdb0c * src/gramps_main.py (undo): Dont emit "database-changed"
* src/plugins/plugins/TestcaseGenerator.py: Added option to generate a new transaction for every change on the database. Useful for UNDO and signal testing.


svn: r4361
2005-04-14 13:18:20 +00:00
Don Allingham
c289f6c04b * src/EditSource.py: allow double click on reference to bring up the referece
editor
* src/EventEdit.py: don't require a callback
* src/ImageSelect.py: horrible hack for handling removing parent windows.
Alex: HELP!


svn: r4360
2005-04-14 00:26:38 +00:00
Don Allingham
2059945bc6 * src/gramps_main.py: check for reentrancy into the undo handler
svn: r4359
2005-04-13 22:04:52 +00:00
Don Allingham
223c363a47 * src/plugins/WebPage.py: fixed check on dialog run() return value,
changed deprecated gtk.mainiteration to gtk.main_iteration


svn: r4358
2005-04-13 18:16:20 +00:00
Don Allingham
87bf5fa71a * src/WriteGedcom.py: fixed problem with skipping events
svn: r4357
2005-04-13 17:29:52 +00:00
Don Allingham
398985027a * src/FamilyView.py: commit family before people when committing
new spouse.


svn: r4355
2005-04-13 02:46:19 +00:00
Don Allingham
0409d9110f typo
svn: r4354
2005-04-12 16:23:07 +00:00
Don Allingham
8cc28ad677 * src/EventEdit.py: more robust handler for new place after an edit
svn: r4353
2005-04-12 15:16:04 +00:00
Martin Hawlisch
bf17300ff6 * src/ArgHandler.py: Fixed typo
svn: r4352
2005-04-12 13:11:23 +00:00
Alex Roitman
3724f79a1e * src/ArgHandler.py: Minor string changes.
* src/DbPrompter.py: Minor string changes.


svn: r4351
2005-04-12 01:56:36 +00:00
Alex Roitman
eec33154e6 * src/po/template.po: Update translation template.
* src/po/ru.po: Some translation updates.


svn: r4350
2005-04-12 01:55:42 +00:00
Alex Roitman
376a05ffe0 Merge STABLE translations with the current template
svn: r4349
2005-04-12 00:58:59 +00:00
Richard Taylor
5196dea9a5 2005-04-11 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
* src/plugins/ScratchPad.py: hook up to 'database-changed' signal
	so that pad is cleared when a new database is opened.


svn: r4348
2005-04-11 19:29:54 +00:00
Alex Roitman
7b48299e09 Cleaner implementation of reference removal
svn: r4347
2005-04-11 14:54:40 +00:00
Alex Roitman
c5e45f59df * src/SourceView.py (button_press,build_context_menu): Work with
multiple selections.


svn: r4346
2005-04-11 14:47:02 +00:00
Alex Roitman
62ba24fd6b * src/MergeData.py (on_merge_places_clicked): Commit event.
svn: r4345
2005-04-11 14:36:33 +00:00
Martin Hawlisch
ad1621c3ea * src/plugins/ImportGeneWeb.py: Add line numbers to error messages; Support for "csrc" and "cbp" fields; Catch empty date
svn: r4343
2005-04-11 11:10:50 +00:00
Martin Hawlisch
88e5406249 * src/plugins/Check.py: Fix events, that reference non existing places
svn: r4342
2005-04-11 10:11:04 +00:00
Martin Hawlisch
78fcabe770 * src/PedView.py (load_canvas): Catch bug of not existing family
svn: r4341
2005-04-11 09:42:55 +00:00
Alex Roitman
cf06392e6c Typo
svn: r4340
2005-04-11 00:07:10 +00:00
Alex Roitman
dc65df18b6 * src/RelLib.py (BaseObject): add get_referenced_handles,
get_handle_referents, and get_referenced_handles_recursively methods.
(various subclasses): override get_referenced_handles and/or
get_handle_referents as appropriate.


svn: r4339
2005-04-10 23:40:18 +00:00
Alex Roitman
80a06b89dc * Release: Version 1.1.95 "When danger reared its ugly head,
he bravely turned his tail and fled" released.
* configure.in: Bump up the version number.


svn: r4338
2005-04-10 23:36:55 +00:00
Alex Roitman
e5bbce4b63 * NEWS: Update.
svn: r4336
2005-04-10 23:27:32 +00:00
Alex Roitman
550d6a8d6d Update
svn: r4335
2005-04-10 23:26:34 +00:00
Don Allingham
5bff9681c9 * src/EventEdit.py: Add new places to the database.
svn: r4334
2005-04-10 22:08:11 +00:00
Don Allingham
f8fd8d36da * src/Check.py: repair family types of "None" in the database
svn: r4332
2005-04-10 21:21:58 +00:00
Don Allingham
218c3959ab * src/Makefile.am: add MergePeople.py
svn: r4331
2005-04-10 14:38:06 +00:00
Don Allingham
3c2e3536ea * src/FamilyView.py: ignore None family types. This should never
occur, but we want to be safe.


svn: r4330
2005-04-09 22:20:15 +00:00
Alex Roitman
62bdc36e2b * src/po/template.po: Update translation template.
svn: r4329
2005-04-09 18:49:50 +00:00
Richard Taylor
419cd75ec6 2005-04-09 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
* src/GrampsDBCallback.py: block recursive signal calls, improved error
	reporting. All warnings are now printed to stderr even if logging
	is turned off.


svn: r4328
2005-04-09 13:04:36 +00:00
Don Allingham
4736f4ece9 * src/ChooseParents.py: pychecker changes
* src/DdTargets.py: pychecker changes
* src/FamilyView.py: pychecker changes
* src/GrampsCfg.py: pychecker changes
* src/MergeData.py: pychecker changes
* src/MergePeople.py: pychecker changes
* src/NameEdit.py: pychecker changes
* src/NoteEdit.py: pychecker changes
* src/RelLib.py: pychecker changes
* src/gramps_main.py: pychecker changes


svn: r4327
2005-04-09 03:11:03 +00:00
Don Allingham
02171a00af * src/GrampsDbBase.py: correctly handle signals when undoing a
delete operation
* src/PeopleView.py: remove unused signal
* src/gramps_main.py: handle history mechanism with new signal scheme,
avoiding the double active-changed when selecting an element


svn: r4326
2005-04-09 00:31:39 +00:00
Martin Hawlisch
b33612a7a1 * src/GenericFilter.py (FilterParser.startElement): Catch non existing filter rule and print an error message
svn: r4325
2005-04-08 18:52:05 +00:00
Martin Hawlisch
5184d567fa * src/PeopleModel.py (column_death_place): Use "Burial" and "Cremation" events
svn: r4324
2005-04-08 15:53:48 +00:00
Martin Hawlisch
571ff74418 * src/gramps_main.py: Added "Invert" checkbox for person filter; Fix "active-changed" signals to not cause Tracebacks.
* src/gramps.glade: Added "Invert" checkbox for person filter
* src/PeopleView.py (build_tree): Pass Invert state for Filter to PeopleModel
* src/PeopleModel.py: Enable invertation of filter result


svn: r4323
2005-04-08 10:49:26 +00:00
Martin Hawlisch
6c231bd277 * src/Utils.py (probably_alive): Added two more checks for birth and death year
svn: r4322
2005-04-08 09:40:15 +00:00
Richard Taylor
2b17686063 2005-04-08 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
* src/Utils.py (probably_alive): fix some bugs and added checking of ancestors.


svn: r4321
2005-04-08 08:09:18 +00:00
Eero Tamminen
155b48275a better variable name
svn: r4320
2005-04-07 20:06:39 +00:00
Martin Hawlisch
690bcd9e68 * src/GenericFilter.py: Call prepare/reset for nested filters
svn: r4319
2005-04-07 13:24:16 +00:00
Richard Taylor
6f25f47897 2005-04-07 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
* src/gramps_main.py: correct type signature for 'active-changed' signal.
	* src/GrampsDBCallback.py: improve the error reporting.


svn: r4318
2005-04-07 08:18:43 +00:00
Don Allingham
46fe87842a * src/FamilyView.py: keep track of local person during update, connect
active-changed signal
* src/gramps_main.py: keep track of active-changed, use local person


svn: r4317
2005-04-07 02:30:07 +00:00
Don Allingham
c538477ffe * src/FamilyView.py: keep track of local person during update
* src/PedView.py: update database pointer when database changed, update
active person
* src/gramps_main.py: keep track of active-changed


svn: r4316
2005-04-07 00:51:26 +00:00
Martin Hawlisch
f7a5765a44 * src/Utils.py (probably_alive): Add some checks to make current year parameter work.
svn: r4315
2005-04-06 20:56:24 +00:00
Martin Hawlisch
b0b84ebb1f Remove debugging code
svn: r4314
2005-04-06 20:49:19 +00:00
Martin Hawlisch
ad39f6be25 * src/gramps.glade: People View: Add label for filter text input field.
* src/GenericFilter.py (ProbablyAlive): Add check for input parameter, (HasSourceOf): get handle only once, removed unused code.
* src/gramps_main.py: Show label for filter input field.


svn: r4313
2005-04-06 20:26:15 +00:00
Richard Taylor
76c44f2694 2005-04-06 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
* src/GenericFilter.py: added a current year parameter to probably alive rule.
	* src/Utils.py: added a current year parameter to probably alive function.


svn: r4312
2005-04-06 15:52:52 +00:00
Richard Taylor
4aa708e30e 2005-04-06 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
* src/plugins/FilterEditor.py: Added source IDs into the source combobox.


svn: r4311
2005-04-06 15:25:16 +00:00
Richard Taylor
721af70faf 2005-04-06 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
* src/GenericFilter.py: Added HasSourceOf rule
	* src/plugins/FilterEditor.py: Added MySource combobox for selecting source IDs.


svn: r4310
2005-04-06 15:03:36 +00:00
Martin Hawlisch
698beec5c1 * src/PedView.py: Truncate place names because they tend to be loooong.
svn: r4309
2005-04-06 13:54:12 +00:00
Richard Taylor
109dd10307 2005-04-06 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
* src/DdTargets.py: added PERSON_LINK_LIST target.
	* src/FamilyView.py: corrected bug when person is droped if there is no current
	family.
	* src/PeopleView.py: enabled dnd of lists of people.
	* src/plugins/ScratchPad.py: support lists of people.


svn: r4308
2005-04-06 13:28:51 +00:00
Martin Hawlisch
6880a3d759 typo
svn: r4307
2005-04-06 13:07:15 +00:00
Martin Hawlisch
d64fc60c3a * src/plugins/ChangeNames.py: Block signal emission during run
* src/plugins/Check.py: Block signal emission during run
* src/plugins/ImportGeneWeb.py: Block signal emission during run
* src/plugins/ImportvCard.py: Block signal emission during run
* src/plugins/TestcaseGenerator.py: Block signal emission during run


svn: r4306
2005-04-06 10:22:18 +00:00
Richard Taylor
997d77068c 2005-04-06 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
* src/GrampsDBCallback.py: improved error reporting when there is an error in
	a callback function. Added unittest for exception in callback function.


svn: r4305
2005-04-06 10:04:32 +00:00
Martin Hawlisch
5b44756832 * src/gramps_main.py (post_load): Emit "database-changed" signal instead of calling change_db().
* src/PedView.py: Connect to "database-changed" signal and handle person-update signals to redraw the view.
* src/FamilyView.py (__init__) connect to database-changed signal, dont call change_cb because on initialisation there is no real database. (change_db): use database parameter supplied by signal emission.
* src/PeopleView.py (__init__) dont connect the signals, this will be done by change_db, (change_db): Use supplied database.
* src/SourceView.py (__init__): dont call change_cb because on initialisation there is no real database and this will be done by the signal.


svn: r4304
2005-04-06 09:40:41 +00:00
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
Alex Roitman
5827c03c6a * src/GrampsBSDDB.py (upgrade_5): Make work with half-upgraded data.
svn: r4302
2005-04-06 04:39:02 +00:00
Don Allingham
e5542af5c6 * src/DbPrompter.py: provide a better error message of DB open failure
* src/const.py.in: Add Martin Hawlisch and Richard Tayor to author list


svn: r4300
2005-04-05 15:31:04 +00:00
Martin Hawlisch
03bd54cd44 * src/PedView.py: Show Baptism/Burial as fallback for birth/death; Moved text generation for details view out of DispBox class so that PedigreeView can use the same string for max size calculation.
* src/PeopleModel.py: Show Baptism/Burial as fallback for birth/death. Based on patch from Jim Smart.
* src/PeopleView.py: Enable makup that PeopleModel can render fallback data in italics.


svn: r4299
2005-04-05 15:02:59 +00:00
Richard Taylor
67168c3ab5 2005-04-01 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
* src/GrampsDBCallback.py: added support for disconnecting callbacks,
	better test code and lots of logging. Improved the comments.


svn: r4298
2005-04-05 13:33:39 +00:00
Alex Roitman
d52de130ff * src/Marriage.py: proper window management on delete event.
* src/RelLib.py (Event.are_equal): Correction.
* src/Date.py (is_empty): Require empty text for a date to be empty.
* src/WriteXML (write_object): Remove places from Media.
* src/GrampsDbBase.py (undo): Typos.
* src/GrampsDBCallback: Pretty printing for warnings.


svn: r4297
2005-04-05 04:33:11 +00:00
Don Allingham
315775f279 * src/ChooseParents.py: fix father/mother relationship
* src/FamilyView.py: fix update of child pointers after add
* src/PeopleView.py: unselect previous entry on new goto_active_person
* src/MediaView.py: pass handle instead of GRAMPS ID during drag-n-drop


svn: r4296
2005-04-05 00:58:37 +00:00
Don Allingham
0dbc5c0341 * src/GrampsBSDDB.py: remove transaction.batch in favor of signal suppression
* src/GrampsDbBase.py: remove transaction.batch in favor of signal suppression
* src/GrampsInMemDB.py: remove transaction.batch in favor of signal suppression
* src/ReadGedcom.py: fix relation typo, enable/disable signals around import
* src/ReadXML.py: enable/disable signals around import
* src/gramps_main.py: disable signals before undo and exit


svn: r4295
2005-04-04 23:52:46 +00:00
Don Allingham
8239697464 * src/MedaiView.py: pass handle instead of GRAMPS ID during drag-n-drop
svn: r4294
2005-04-04 19:53:21 +00:00
Richard Taylor
0594e406d7 2005-04-01 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
* src/GrampsDBCallback.py: Don't check callbacks if the dict is empty.


svn: r4293
2005-04-04 19:28:55 +00:00
Don Allingham
1504585907 * src/GrampsDbBase.py: add "request_rebuild" to encapsulate rebuild
requests in the database instance
* src/ReadXML.py: use request_rebuild instead of directly emitting s
ignals
* src/ReadGedCom.py: use request_rebuild instead of directly emitting
signals


svn: r4292
2005-04-04 16:41:01 +00:00
Richard Taylor
81b7affc66 2005-04-01 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
* src/GrampsDBCallback.py: Added code to disable/enable signals on
	a per instance or all instance bassis. Improved test code and
	changed type checking to use isinstance instead of type().


svn: r4291
2005-04-04 15:53:40 +00:00
Alex Roitman
2fbbc07aef * src/ImageSelect.py (on_savephoto_clicked): Pass transaction to
savephoto; (savephoto): take transaction argument);
(on_photolist_drag_data_received): Pass transaction.


svn: r4290
2005-04-04 15:38:36 +00:00
Don Allingham
17bbd11d07 * src/FamilyView.py: commit family properly
* src/PedView.py: change_active_person typo
* src/PeopleView.py: don't change active person with updated
* src/SelectChild.py: Fix callbacks
* src/gramps_main.py: load active family on change


svn: r4289
2005-04-04 03:59:42 +00:00
Don Allingham
8126f34ec9 * src/ArgHandler.py: Make sure all databases are closed before
creating a new one.
* src/DisplayModels.py: Calculate new nodes properly after a
node has be deleted. The node hasn't been removed from the database
yet.
* src/EditPerson.py: Add check for unknown gender before closing
* src/EditSource.py: Remove unnecessary updates
* src/GrampsBSDDB.py: check for open in close()
* src/GrampsDbBase.py: spelling error
* src/MediaView.py: connect to database-changed
* src/PedView.py: remove unused update function
* src/PeopleView.py: connect to database-changed
* src/PlaceView.py: connect to database-changed
* src/SourceView.py: connect to database-changed, remove unnecessary
callback
* src/gramps_main.py: add database-changed signal


svn: r4288
2005-04-04 01:11:50 +00:00
Alex Roitman
9a6894df98 * src/AddMedia.py: Remove unneeded update argument.
* src/ArgHandler.py (auto_save_load): Mysterious workaround :-).
* src/EditPlace.py (display_references): Drop media objects;
(DeletePlaceQuery.query_response): use proper handle removal.
* src/GrampsBSDDB.py (remove_object): emit media signal.
* src/GrampsDbBase.py (GrampsDbBase): Add media-related signals;
(commit_media_object,transaction_commit,undo): emit media signals.
* src/ImageSelect.py (GlobalMediaProperties,DeleteMediaQuery):
Remove unneeded update argument.
* src/MediaView.py (media_add,media_update,media_delete): Add
callbacks; (change_db): connect callbacks to signals;
(popup_change_description): Call property editor without callback param;
(on_add_clicked): Call AddMedia without callback param;
(add_object,update_display,add_to_display): Remove unneeded methods;
(on_edit_clicked): call property editor without callback param;
(on_delete_clicked): call deleter without callback param;
(on_drag_data_received): Call property editor without callback param.
* src/PlaceView.py (new_place_after_edit): Remove unneeded method;
(delete_place): Remove unneeded tree update; (is_used) Add method;
(on_delete_clicked): Use new detection method.


svn: r4287
2005-04-04 00:27:06 +00:00
Don Allingham
94b27d450c * src/ReadGedcom.py: emit proper signals to notify of a database
rebuild, handle parent/child relationships better - eliminate
string types
* src/ReadXML.py: emit proper signals to notify of a database rebuild
* src/Sources.py: select just added handle after an addition


svn: r4286
2005-04-02 21:14:53 +00:00
Don Allingham
fc01bc440d * src/SourceView.py: fix multiple selection problem.
svn: r4285
2005-04-02 17:53:37 +00:00
Martin Hawlisch
52b0549e99 * src/EditPerson.py: Remove unneeded arguments.
* src/Marriage.py: Remove unneeded arguments.


svn: r4284
2005-04-02 06:12:46 +00:00
Don Allingham
429efefade * src/EditPerson.py: removed unused callback functions
* src/GrampsDbBase.py: remove duplicate signal emissions
* src/SourceView.py: reformat code
* src/Sources.py: catch source-add signal and redraw menu


svn: r4283
2005-04-02 05:33:06 +00:00
Alex Roitman
8ea7b9aee2 * src/EditPerson.py (on_edit_name_clicked): Remove unneeded argument.
svn: r4281
2005-04-02 00:11:21 +00:00
Don Allingham
9ed7d79704 * src/AddSpouse.py: remove unused callbacks
* src/FamilyView.py: remove unused callbacks


svn: r4280
2005-04-01 21:51:27 +00:00
Don Allingham
c4fbd798bd added
svn: r4279
2005-04-01 20:50:19 +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
Don Allingham
64277bb707 * src/GrampsDBCallback.py: rewrite of new callback scheme using python signals
* src/GrampsDbBase.py: handle signals instead of callback functions
* src/GrampsInMemDB.py: handle signals instead of callback functions
* src/Makefile.am: Add GrampsDBCallback.py
* src/PeopleView.py: handle signals instead of callback functions
* src/PlaceView.py: handle signals instead of callback functions
* src/SourceView.py: handle signals instead of callback functions


svn: r4277
2005-04-01 20:04:12 +00:00
Don Allingham
4306a639e7 * src/gramps.glade: disable scrollbars in Pedigree View
* src/PedView.py: Apply Martin Hawlisch's canvas resize patch


svn: r4276
2005-04-01 19:34:11 +00:00
Richard Taylor
4104ec0dcf 2005-04-01 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
* src/ImageSelect.py (on_photolist_drag_data_get): forgot to remove print statement.


svn: r4275
2005-04-01 15:58:33 +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
40be278f7d 2005-04-01 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
* src/ImageSelect.py (Gallery.on_drag_begin): tiny fix to correct image dnd


svn: r4273
2005-04-01 14:42:47 +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
Don Allingham
19fe252c4c * src/AddSpouse.py: new database callback scheme. This scheme
provides a registration mechanism to signal interested objects
when database commits occur. The eliminates most of all callback
functions tied to interface windows.
* src/AddrEdit.py: new database callback scheme
* src/AttrEdit.py: new database callback scheme
* src/ChooseParents.py: new database callback scheme
* src/EditPerson.py: new database callback scheme
* src/EditPlace.py: new database callback scheme
* src/EditSource.py: new database callback scheme
* src/EventEdit.py: new database callback scheme
* src/FamilyView.py: new database callback scheme
* src/GrampsBSDDB.py: new database callback scheme
* src/GrampsDbBase.py: new database callback scheme
* src/GrampsInMemDB.py: new database callback scheme
* src/Marriage.py: new database callback scheme
* src/NameEdit.py: new database callback scheme
* src/PeopleView.py: new database callback scheme
* src/PlaceView.py: new database callback scheme
* src/ReadGedcom.py: new database callback scheme
* src/ReadXML.py: new database callback scheme
* src/SourceView.py: new database callback scheme
* src/Sources.py: new database callback scheme
* src/gramps_main.py: new database callback scheme


svn: r4267
2005-04-01 05:33:22 +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
Alex Roitman
4e41a60fa9 Update
svn: r4264
2005-04-01 04:28:00 +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
Don Allingham
3555a567a3 * src/MergePeople.py: provide more date in compare window, fix event
merging for families. Copy alternate names.


svn: r4260
2005-03-31 03:54:17 +00:00
Don Allingham
deed870ac6 update
svn: r4259
2005-03-31 03:33:27 +00:00
Don Allingham
547379eadf * src/MergePeople.py: provide more date in compare window, fix event
merging for families.


svn: r4258
2005-03-31 03:30:16 +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
Don Allingham
94d4aa7288 update
svn: r4255
2005-03-30 03:50:25 +00:00
Don Allingham
9d2dffcc9d * src/ReadXML.py: handle date object on names
* src/gramps.glade: add menu items for merging
* src/MergePeople.py: new person merge
* src/gramps_main.py: merge handling callbacks
* src/mergedata.glade: updated interface for merging

* src/SourceView.py: connect SourceView.merge into the multiple
selection mechanism


svn: r4254
2005-03-30 01:45:14 +00:00
Alex Roitman
1856f08d98 * src/gramps_main.py (undo_callback,redo_callback): Minor
improvements, (read_file): Always re-initialize Undo and Redo items
to insensitive blanks after new database load; (post_load): Set up
database's callbacks for Undo and Redo after load.
* src/gramps.glade: Make Redo label non-stock to allow label change.


svn: r4253
2005-03-29 19:47:59 +00:00
Alex Roitman
753b5c28ec * src/gramps_main.py (delete_person_response): Object/handle mixups,
remove unneeded commits.


svn: r4252
2005-03-29 16:41:40 +00:00
Alex Roitman
d05a9a483a * src/Witness.py (WitnessEditor.__init__): Work around missing
reference.


svn: r4251
2005-03-29 16:05:50 +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
c5f181eecb Update
svn: r4248
2005-03-28 05:05:38 +00:00
Alex Roitman
18579c0a65 Update
svn: r4247
2005-03-28 04:59:04 +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
Don Allingham
7bc078bb43 * src/SourceView.py: connect SourceView.merge into the multiple
selection mechanism


svn: r4245
2005-03-28 04:36:09 +00:00
Alex Roitman
59e1448c9e * src/MergeData.py: Files for places and sources.
* src/PlaceView.py (build_context_menu): Typo.
* src/SourceView.py (__init__,build_tree): Allow multiple,
selections; (merge): Add placeholder method (borrowed from places,
needs work.
* src/gramps_main.py (on_views_switch_page): Enable merge button;
(on_merge_activate): Call merge for sources.


svn: r4244
2005-03-28 04:22:09 +00:00
Alex Roitman
eacd125000 * src/RelLib.py (Source.replace_source_references): Add method.
* src/MergeData.py (MergeSources.merge): Use new handle replacement.


svn: r4243
2005-03-27 06:14:06 +00:00