Commit Graph

2231 Commits

Author SHA1 Message Date
Martin Hawlisch
d07c0ebe29 * src/RelLib.py: Move constants from RelLib to const
* src/plugins/TestcaseGenerator.py: Move constants from RelLib to const


svn: r4721
2005-05-27 20:59:59 +00:00
Don Allingham
4e4264952a update due to death of TransTable
svn: r4720
2005-05-27 20:56:22 +00:00
Alex Roitman
9ec64315eb Update
svn: r4719
2005-05-27 20:34:43 +00:00
Alex Roitman
1baf572544 * src/ChooseParents.py: Fix constants.
* src/FamilyView.py: Fix constants.
* src/PedView.py: Fix constants.
* src/ReadGedcom.py: Fix constants.
* src/ReadXML.py: Fix constants.
* src/SelectChild.py: Fix constants.
* src/WriteXML.py: Fix constants.


svn: r4718
2005-05-27 20:32:33 +00:00
Alex Roitman
29f33e9db9 Update
svn: r4717
2005-05-27 20:13:11 +00:00
Alex Roitman
b9746a58e9 * src/const.py.in: Get rid of TransTable use in favor of int contsants.
* src/GrampsBSDDB.py (upgrade_2): Use proper constants.
* src/RelLib.py: Move constants out to const.py.in.


svn: r4716
2005-05-27 20:09:28 +00:00
Martin Hawlisch
e3e50aefcf * src/RelLib.py: RepoRef now derives BaseObject to enable full-text search
* src/GenericFilter.py: Enable Repositories in full-text search filter


svn: r4714
2005-05-27 19:32:43 +00:00
Alex Roitman
05ad2bea2a * src/GrampsBSDDB.py (upgrade_*): Use transaction for commits.
svn: r4713
2005-05-27 19:14:20 +00:00
Alex Roitman
fed2cd87e6 Merge SOUR_REPO branch with main trunk
svn: r4712
2005-05-27 17:43:04 +00:00
Alex Roitman
c0818faa93 * src/const.py.in: Define integer constants for standard events.
svn: r4707
2005-05-27 14:04:53 +00:00
Martin Hawlisch
9c4ce38f04 * src/plugins/TestcaseGenerator.py: Support for event references.
svn: r4705
2005-05-27 13:48:47 +00:00
Martin Hawlisch
b7e530dccd * src/EditPerson.py: typo
svn: r4704
2005-05-27 11:23:46 +00:00
Martin Hawlisch
a044409e4a * src/RelLib.py: Add wrappers for old event handle API including a DeprecationWarning (this makes HEAD no longer completely defunct); Add checks for EventRef class type
svn: r4703
2005-05-27 09:47:31 +00:00
Alex Roitman
33396348db * src/EditPerson.py: Support for event references.
* src/FamilyView.py: Support for event references.
* src/ListBox.py: Support for event references.
* src/PedView.py: Support for event references.
* src/RelLib.py: Support for event references.


svn: r4700
2005-05-27 05:07:26 +00:00
Alex Roitman
d29b4c8ffc Update
svn: r4696
2005-05-26 21:35:43 +00:00
Alex Roitman
b654e2e84a Update
svn: r4695
2005-05-26 21:31:35 +00:00
Alex Roitman
8811c44ad2 Update
svn: r4694
2005-05-26 21:24:23 +00:00
Alex Roitman
8f894a12a8 * src/RelLib.py (EventRef): Add class.
svn: r4693
2005-05-26 21:03:24 +00:00
Martin Hawlisch
5cc4c5b9b6 remove debugging output
svn: r4686
2005-05-26 07:29:58 +00:00
Martin Hawlisch
63f788bad9 * src/PedView.py (rebuild_trees): Resize matching is now done later by idle callback; (add_table_to_notebook): Work with PyGtk < 2.4;(format_relation): Adapt format to availably space.
svn: r4685
2005-05-26 06:33:48 +00:00
Martin Hawlisch
107239fb4c * src/plugins/TestcaseGenerator.py: Add place, media and source references.
svn: r4684
2005-05-26 05:48:14 +00:00
Alex Roitman
25c9f77a18 * src/EditPlace.py: WATCH cursor and temp label for References tab.
* src/EditSource.py: Improve manipulating notebook tab labels.
* src/Utils.py (temp_label): Add function;
(bold_label,unbold_label): Properly set cursor to default.
* src/gramps.glade (event editor, source editor, place editor):
Add icons to notebook tabs.


svn: r4683
2005-05-26 05:04:36 +00:00
Richard Taylor
d2a89b0f89 2005-05-25 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
* src/plugins/ScratchPad.py: disabled search because it does not do
		  what the user expects.


svn: r4671
2005-05-25 07:24:39 +00:00
Richard Taylor
9d19ad4095 fix ScratchPad window close bug.
svn: r4670
2005-05-25 06:56:41 +00:00
Alex Roitman
f57b31016f * src/EditSource.py (__init__): set cursor to WATCH before displaying
references; call display_references when idle;
(display_references): set cursor to LEFT_PTR when done.
* src/ListModel.py (__init__): Typo.
* src/Utils.py (bold_label,unbold_label): make work with both
labels and their parent containers.


svn: r4669
2005-05-25 05:09:11 +00:00
Don Allingham
956b65327a conflict resolution
svn: r4668
2005-05-25 03:58:27 +00:00
Martin Hawlisch
340e9a8eb7 * src/plugins/PHPGedViewConnector.py: Enhanced version.
svn: r4667
2005-05-24 21:39:49 +00:00
Alex Roitman
d7ce524379 Merge from 2.0.1
svn: r4666
2005-05-24 13:08:06 +00:00
Julio Sánchez
c56c2bbfaf * src/po/es.po: remerge from 2.0.0
svn: r4556
2005-05-11 19:25:32 +00:00
Don Allingham
b39724bcd6 * src/EditPerson.py: remerge from 2.0.0
svn: r4553
2005-05-11 17:25:14 +00:00
Alex Roitman
ed5c7adc82 Update
svn: r4550
2005-05-11 14:27:32 +00:00
Alex Roitman
2a77676b36 Merge changes made in gramps20 into HEAD
svn: r4549
2005-05-11 14:04:47 +00:00
Frode Jemtland
90a4d68cef Updated the po file with the latest template. Merged the template file with
the finished translation in the 2.0 brance. 0 fuzzy and 0 untranslated..... :)


svn: r4519
2005-05-09 12:25:55 +00:00
Don Allingham
09c961bf10 * src/gramps_main.py: fix beta warning dialog
svn: r4499
2005-05-07 02:41:08 +00:00
Don Allingham
f17c41cec6 * src/ListBox.py: added to CVS
* src/Makefile.am: added ListBox.py


svn: r4470
2005-05-03 11:50:33 +00:00
Don Allingham
e9b4823d09 * src/EditPerson.py: start of new gallery
* src/ImageSelect.py: start of new gallery
* src/Witness.py: fix listmodel
* src/const.py.in: LDS temple names
* src/edit_person.glade: start of new gallery


svn: r4465
2005-05-03 04:06:03 +00:00
Don Allingham
ccbf79cc5c * src/const.py.in: convert Alternate Birth and Alternate Death to
Birth and Death


svn: r4448
2005-05-01 04:22:08 +00:00
Don Allingham
5351dad9bc * src/EditPerson.py: Add support for inline editing
* src/EventEdit.py: Don't commit events here - should be commited
elsewhere
* src/ListModel.py: Add support for table callback functions
to update data after inline editing


svn: r4447
2005-04-30 23:45:17 +00:00
Alex Roitman
a71db16ccd * src/edit_person.glade: Compact name edit button.
* src/EditPerson.py: remove dead logic for birth/death editing,


svn: r4446
2005-04-29 15:52:06 +00:00
Martin Hawlisch
c69cc1f7e1 * src/plugins/PHPGedViewConnector.py, src/plugins/phpgedview.glade: New files. Start of a client interface for phpGedView. unfinished. Put them in CVS to not loose them.
svn: r4445
2005-04-29 15:45:34 +00:00
Don Allingham
45bd976f69 fix some eventlist handling errors
svn: r4442
2005-04-28 22:21:20 +00:00
Don Allingham
d3b7cda0e3 * src/EditPerson.py: rewrite of tabbed lists
* src/EventEdit.py: bold the label
* src/ListModel.py: allow column types to be specified
* src/edit_person.glade: tab improvements


svn: r4437
2005-04-28 04:48:30 +00:00
Martin Hawlisch
2fa2879c1c * src/StartupDialog.py (__init__): Catch Schema errors
svn: r4436
2005-04-27 19:48:24 +00:00
Martin Hawlisch
00ce9a19fa * src/gramps_main.py (__init__): Avoid TypeError in schema error message
svn: r4434
2005-04-27 18:30:57 +00:00
Alex Roitman
a7ca0ddf7f Merge changes made in gramps20 into HEAD
svn: r4431
2005-04-26 16:04:21 +00:00
Martin Hawlisch
7549d625e6 * src/PedView.py: Removed navigation buttons in flavour of a menu
svn: r4430
2005-04-26 13:53:25 +00:00
Eero Tamminen
b987eabc85 improve translation consistency
svn: r4417
2005-04-24 19:01:09 +00:00
Don Allingham
c9f9d2163c * src/ListModel.py: keep track of data index
* src/EventEdit.py: use new label scheme for tabs that uses an
icon to indicate used tabs


svn: r4410
2005-04-24 03:39:07 +00:00
Eero Tamminen
f057b30363 translations improvements
svn: r4409
2005-04-23 20:50:52 +00:00
Don Allingham
b6ce79fbbe typo fixes
svn: r4407
2005-04-23 16:03:24 +00:00
Don Allingham
5c137d199c * src/AddrEdit.py: use new label scheme for tabs that uses an
icon to indicate used tabs
* src/AttrEdit.py: use new label scheme for tabs that uses an
icon to indicate used tabs
* src/NameEdit.py: use new label scheme for tabs
* src/Date.py: incorporate instance check form gramps20 branch
* src/EditPerson.py: add additional fields for name edit, handle
lds page better, adapt to new label scheme
* src/GrampsDbBase.py: fix typos
* src/GrampsGEDDB.py: fix undo handling
* src/GrampsInMemDB.py: fix undo handling
* src/GrampsXMLDB.py: fix undo handling
* src/PeopleView.py: don't reselect an already selected person
* src/Utils.py: new tab scheme
* src/edit_person.glade new tab scheme
* src/gramps_main.py: 1->True, 0->False replacements
* src/DbPrompter.py: bring up to date with gramps20 branch
* src/DisplayModels.py: bring up to date with gramps20 branch
* src/ReadGedcom.py: bring up to date with gramps20 branch
* src/Relationship.py: bring up to date with gramps20 branch


svn: r4406
2005-04-23 15:53:30 +00:00
Martin Hawlisch
1153713d67 * src/GrampsDbBase.py (_find_from_handle,find_object_from_handle,
find_place_from_handle): Fix typo


svn: r4405
2005-04-23 06:56:05 +00:00
Eero Tamminen
80289df516 updated Finnish translation
svn: r4393
2005-04-20 21:14:49 +00:00
Martin Hawlisch
2b0dcea160 * GenericFilter.py: Don't crash on corrupt database
svn: r4382
2005-04-19 19:34:22 +00:00
Martin Hawlisch
915b6a4f51 * src/gramps_main.py: Removed canvas specific calls of the PedView
svn: r4380
2005-04-19 19:28:53 +00:00
Martin Hawlisch
37eb1c23b4 small tweaking of text display
svn: r4378
2005-04-19 16:12:44 +00:00
Martin Hawlisch
2521330c56 * src/GrampsDbBase.py (create_id): Use sys.maxint to get the maximum possible integer number
svn: r4377
2005-04-19 14:47:02 +00:00
Martin Hawlisch
715cf4c956 * src/PedView.py: Replaced gnome canvas by an implementation that uses gtk+ only. Still incomplete.
* src/gramps_main.py: Removed canvas specific calls of the PedView


svn: r4376
2005-04-19 11:40:16 +00:00
Don Allingham
7cac4ec348 * src/edit_person.glade: re-add edit_person.glade
* src/EditPerson.py: start of new EditPerson dialog
* src/ListModel.py: enhancements for the start of inline editing
* src/Makefile.am: add edit_person.glade
* src/ReadXML.py: commit transactions properly
* src/const.py.in: add edit_person.glade back in


svn: r4375
2005-04-19 04:20:17 +00:00
Frode Jemtland
1f7940d505 Merged in the new strings from template.po. Commited it before fixing any of the new strings.
We now are two persons doing this translation.


svn: r4371
2005-04-18 09:35:24 +00:00
Don Allingham
2b3c28538c * src/GrampsBSDDB.py: actually perform the commits during the
transaction_commit task, instead of the commit_* tasks
* src/GrampsInMem.py: actually perform the commits during the
transaction_commit task, instead of the commit_* tasks
* src/GrampsDbBase.py: actually perform the commits during the
transaction_commit task, instead of the commit_* tasks


svn: r4370
2005-04-17 22:34:56 +00:00
Eero Tamminen
23e05663c6 fix typo
svn: r4369
2005-04-17 19:27:54 +00:00
Eero Tamminen
d0bf15e690 fix typos
svn: r4368
2005-04-17 17:48:42 +00:00
Martin Hawlisch
21aaf39e32 * src/plugins/WebPage.py (dump_gendex): Files are named by GRAMPS ID; Alway print fields for birth/death; Fixed typo in DateHandler
svn: r4367
2005-04-16 12:16:56 +00:00
Don Allingham
8da903e032 * 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
daea55dc65 * src/FamilyView.py: make load_family more robust to signals
svn: r4363
2005-04-14 20:43:14 +00:00
Matthieu Pupate
07e41f9f6b French translation (in progress)
svn: r4362
2005-04-14 20:13:02 +00:00
Martin Hawlisch
c359826710 * 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
680c20e65e * 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
838ceb67bb * src/gramps_main.py: check for reentrancy into the undo handler
svn: r4359
2005-04-13 22:04:52 +00:00
Don Allingham
61a5f5e168 * 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
26afdf71e9 * src/WriteGedcom.py: fixed problem with skipping events
svn: r4357
2005-04-13 17:29:52 +00:00
Don Allingham
2022576648 * src/FamilyView.py: commit family before people when committing
new spouse.


svn: r4355
2005-04-13 02:46:19 +00:00
Don Allingham
2a3935a235 typo
svn: r4354
2005-04-12 16:23:07 +00:00
Don Allingham
dd96e0fb24 * src/EventEdit.py: more robust handler for new place after an edit
svn: r4353
2005-04-12 15:16:04 +00:00
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
Alex Roitman
af4cd4228d Merge STABLE translations with the current template
svn: r4349
2005-04-12 00:58:59 +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
36706136fa Cleaner implementation of reference removal
svn: r4347
2005-04-11 14:54:40 +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
c4018628ad Typo
svn: r4340
2005-04-11 00:07:10 +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
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