Martin Hawlisch
20886d86d2
* 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
62b8e334af
* src/GrampsBSDDB.py (upgrade_*): Use transaction for commits.
...
svn: r4713
2005-05-27 19:14:20 +00:00
Alex Roitman
5610229889
Merge SOUR_REPO branch with main trunk
...
svn: r4712
2005-05-27 17:43:04 +00:00
Alex Roitman
557638b510
* src/const.py.in: Define integer constants for standard events.
...
svn: r4707
2005-05-27 14:04:53 +00:00
Martin Hawlisch
8d2be247db
* src/plugins/TestcaseGenerator.py: Support for event references.
...
svn: r4705
2005-05-27 13:48:47 +00:00
Martin Hawlisch
7454281990
* src/EditPerson.py: typo
...
svn: r4704
2005-05-27 11:23:46 +00:00
Martin Hawlisch
9dc724d32f
* 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
50ac810074
* 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
4b3ce014fd
Update
...
svn: r4696
2005-05-26 21:35:43 +00:00
Alex Roitman
38175f4fc3
Update
...
svn: r4695
2005-05-26 21:31:35 +00:00
Alex Roitman
73e63940d2
Update
...
svn: r4694
2005-05-26 21:24:23 +00:00
Alex Roitman
2ef5c5bfd2
* src/RelLib.py (EventRef): Add class.
...
svn: r4693
2005-05-26 21:03:24 +00:00
Martin Hawlisch
07d92eb9ca
remove debugging output
...
svn: r4686
2005-05-26 07:29:58 +00:00
Martin Hawlisch
e4c5d452de
* 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
bce9cf71b9
* src/plugins/TestcaseGenerator.py: Add place, media and source references.
...
svn: r4684
2005-05-26 05:48:14 +00:00
Alex Roitman
d9c8ebef56
* 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
06913ac261
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
4cb7fdabd0
fix ScratchPad window close bug.
...
svn: r4670
2005-05-25 06:56:41 +00:00
Alex Roitman
8a2270ff07
* 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
6d002fb835
conflict resolution
...
svn: r4668
2005-05-25 03:58:27 +00:00
Martin Hawlisch
7da67a91a3
* src/plugins/PHPGedViewConnector.py: Enhanced version.
...
svn: r4667
2005-05-24 21:39:49 +00:00
Alex Roitman
ce05310959
Merge from 2.0.1
...
svn: r4666
2005-05-24 13:08:06 +00:00
Don Allingham
16b52bcb0f
* configure.in: bump up verison number to 2.1.0
...
svn: r4610
2005-05-18 03:42:01 +00:00
Julio Sánchez
db0780e453
* src/po/es.po: remerge from 2.0.0
...
svn: r4556
2005-05-11 19:25:32 +00:00
Don Allingham
5ceb929937
* src/EditPerson.py: remerge from 2.0.0
...
svn: r4553
2005-05-11 17:25:14 +00:00
Alex Roitman
5fa8323b81
Update
...
svn: r4550
2005-05-11 14:27:32 +00:00
Alex Roitman
69287c81f8
Merge changes made in gramps20 into HEAD
...
svn: r4549
2005-05-11 14:04:47 +00:00
Frode Jemtland
bd0ac77097
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
7178dc86d7
* src/gramps_main.py: fix beta warning dialog
...
svn: r4499
2005-05-07 02:41:08 +00:00
Don Allingham
19a362f865
* src/ListBox.py: added to CVS
...
* src/Makefile.am: added ListBox.py
svn: r4470
2005-05-03 11:50:33 +00:00
Don Allingham
9b7fe2ab46
* 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
f844fb5bf1
* 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
f1bdbd1ebd
* 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
3fe467503f
* 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
f4ee9a4418
* 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
7a6dc34425
fix some eventlist handling errors
...
svn: r4442
2005-04-28 22:21:20 +00:00
Don Allingham
de0ab260d4
* 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
32aae7d0e7
* src/StartupDialog.py (__init__): Catch Schema errors
...
svn: r4436
2005-04-27 19:48:24 +00:00
Martin Hawlisch
62af2a64fc
* src/gramps_main.py (__init__): Avoid TypeError in schema error message
...
svn: r4434
2005-04-27 18:30:57 +00:00
Alex Roitman
9c92bf317f
Merge changes made in gramps20 into HEAD
...
svn: r4431
2005-04-26 16:04:21 +00:00
Martin Hawlisch
1493ed9ee1
* src/PedView.py: Removed navigation buttons in flavour of a menu
...
svn: r4430
2005-04-26 13:53:25 +00:00
Eero Tamminen
6b139a0695
improve translation consistency
...
svn: r4417
2005-04-24 19:01:09 +00:00
Don Allingham
5a620927b6
* 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
6656af3e3a
translations improvements
...
svn: r4409
2005-04-23 20:50:52 +00:00
Don Allingham
6e59b083df
typo fixes
...
svn: r4407
2005-04-23 16:03:24 +00:00
Don Allingham
1b1291065a
* 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
7e102285e4
* 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
464f08e5f2
updated Finnish translation
...
svn: r4393
2005-04-20 21:14:49 +00:00
Martin Hawlisch
c1e1f31ace
* GenericFilter.py: Don't crash on corrupt database
...
svn: r4382
2005-04-19 19:34:22 +00:00
Martin Hawlisch
6c9aedeaf7
* src/gramps_main.py: Removed canvas specific calls of the PedView
...
svn: r4380
2005-04-19 19:28:53 +00:00
Martin Hawlisch
1646dff377
small tweaking of text display
...
svn: r4378
2005-04-19 16:12:44 +00:00
Martin Hawlisch
1d6ec38629
* 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
9bd9116204
* 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
4dfc846191
* 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
159d22fd2d
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
e063c81249
* 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
958e07cace
fix typo
...
svn: r4369
2005-04-17 19:27:54 +00:00
Eero Tamminen
315367e81d
fix typos
...
svn: r4368
2005-04-17 17:48:42 +00:00
Martin Hawlisch
1f96107362
* 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
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