Commit Graph

1538 Commits

Author SHA1 Message Date
Martin Hawlisch
e34124272e * src/ArgHandler.py: Fixed typo
svn: r4352
2005-04-12 13:11:23 +00:00
Alex Roitman
4ac4e36230 * src/ArgHandler.py: Minor string changes.
* src/DbPrompter.py: Minor string changes.


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


svn: r4350
2005-04-12 01:55:42 +00:00
Richard Taylor
473828c8a9 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
d30ac900fe * src/SourceView.py (button_press,build_context_menu): Work with
multiple selections.


svn: r4346
2005-04-11 14:47:02 +00:00
Alex Roitman
2837586ceb * src/MergeData.py (on_merge_places_clicked): Commit event.
svn: r4345
2005-04-11 14:36:33 +00:00
Martin Hawlisch
d46ddf9866 * 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
b2677542df * src/plugins/Check.py: Fix events, that reference non existing places
svn: r4342
2005-04-11 10:11:04 +00:00
Martin Hawlisch
b6ba0b4b16 * src/PedView.py (load_canvas): Catch bug of not existing family
svn: r4341
2005-04-11 09:42:55 +00:00
Alex Roitman
0b88a1b15e * 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
9fe2349434 * 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
8d98e20f7e * NEWS: Update.
svn: r4336
2005-04-10 23:27:32 +00:00
Alex Roitman
2d12246115 Update
svn: r4335
2005-04-10 23:26:34 +00:00
Don Allingham
7951c5b16f * src/EventEdit.py: Add new places to the database.
svn: r4334
2005-04-10 22:08:11 +00:00
Don Allingham
9ed9f57c21 * src/Check.py: repair family types of "None" in the database
svn: r4332
2005-04-10 21:21:58 +00:00
Don Allingham
7a2634c8fa * src/Makefile.am: add MergePeople.py
svn: r4331
2005-04-10 14:38:06 +00:00
Don Allingham
dc4f6547d5 * 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
91fe41b753 * src/po/template.po: Update translation template.
svn: r4329
2005-04-09 18:49:50 +00:00
Richard Taylor
025bac3328 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
c987a9faff * 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
f70a65446a * 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
a83de42a94 * 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
43ace45a9c * src/PeopleModel.py (column_death_place): Use "Burial" and "Cremation" events
svn: r4324
2005-04-08 15:53:48 +00:00
Martin Hawlisch
0b442d3721 * 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
985d1f5dc7 * 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
62f20cb7b9 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
Martin Hawlisch
89c75e626f * src/GenericFilter.py: Call prepare/reset for nested filters
svn: r4319
2005-04-07 13:24:16 +00:00
Richard Taylor
0c112b11eb 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
d23b249b9d * 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
bda5b22484 * 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
61f8c4b6bc * 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
d91a531b43 * 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
6fc3fc5ce5 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
3db2253458 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
96660c6a49 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
7bb52a76db * src/PedView.py: Truncate place names because they tend to be loooong.
svn: r4309
2005-04-06 13:54:12 +00:00
Richard Taylor
0b6456511e 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
50d603224b * 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
2eca343616 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
6f6f57e55d * 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
379f097746 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
0514435d17 * src/GrampsBSDDB.py (upgrade_5): Make work with half-upgraded data.
svn: r4302
2005-04-06 04:39:02 +00:00
Don Allingham
80810426f9 * 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
34490376db * 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
0b50042f61 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
4dc68a517c * 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
e5cd5c0e3d * 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
641f13da22 * 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
44e34592bc * 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
49a6b5aca3 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