Commit Graph

2766 Commits

Author SHA1 Message Date
Don Allingham
271f9d6a8b event/name type fixes
svn: r4780
2005-06-03 22:38:14 +00:00
Martin Hawlisch
118e7dd628 * src/EditSource.py (ReposRefListView): Display repository type as text
svn: r4773
2005-06-03 14:18:06 +00:00
Martin Hawlisch
6af02b72af * src/DisplayModels.py (RepositoryModel): Display repository type as text
* src/RelLib.py (Repository): Serialize type as tuple not unicode


svn: r4767
2005-06-03 10:02:50 +00:00
Don Allingham
aa942771ea * src/DisplayModels.py: Handle EventRefs properly
* src/FamilyView.py: handle relationship types
* src/ReadXML.py: start of upgrade process
* src/RelLib.py: ROLE_PRIMARY -> PRIMARY


svn: r4765
2005-06-03 04:34:21 +00:00
Alex Roitman
d1aa27e3eb Update
svn: r4764
2005-06-03 04:23:37 +00:00
Alex Roitman
e1c3cb3989 * src/RelLib.py (Family.set_relationship): Update doc string.
svn: r4763
2005-06-03 04:18:38 +00:00
Alex Roitman
a13ae8e96d * src/ListModel.py: Check for the list to be long enough.
* src/gramps.glade: Replace ComboBox with ComboBoxEntry; remove
unneeded scrollwed window (caused warning).


svn: r4757
2005-06-02 13:23:20 +00:00
Don Allingham
ea089b6b25 * src/gramps.glade:
svn: r4756
2005-06-02 04:44:51 +00:00
Alex Roitman
a624fc2fde Update
svn: r4755
2005-06-02 04:30:04 +00:00
Don Allingham
015d602722 * src/EditPerson.py: Start event_ref integration
* src/EventEdit.py: Start event_ref integration
* src/ListModel.py: Start event_ref integration
* src/PersonModel.py: Start event_ref integration
* src/ListBox.py: Start event_ref integration


svn: r4754
2005-06-02 03:20:42 +00:00
Alex Roitman
4e8e4ee636 * various: More support for event refs.
svn: r4753
2005-06-01 20:45:45 +00:00
Alex Roitman
f242e619e0 * src/AutoComp.py (StandardCustomSelector): Provide an option to
use an existing ComboBoxEntry instance; add set_values method.
* src/RelLib.py (Family.__init__): Use tuple for type.
* src/Utils.py: Add event_roles mapping.
* src/AddSpouse.py, src/EditPerson.py, src/FamilyView.py,
src/ListBox.py, src/Marriage.py, src/NameEdit.py: Support tuple
types.
* src/gramps.glade: Replace ComboBox with ComboBoxEntry; add icons.


svn: r4748
2005-06-01 13:14:29 +00:00
Martin Hawlisch
d8e28d4c4c * src/EditSource.py, src/ListBox.py, src/ReadGedcom.py, src/WriteGedcom.py: Constants moved from const to Utils and RelLib
svn: r4746
2005-05-31 19:36:28 +00:00
Alex Roitman
7db59a7cab * src/AutoComp.py (StandardCustomSelector): Add autocompletion.
svn: r4745
2005-05-31 18:40:17 +00:00
Alex Roitman
476fdeafb7 * src/RelLib.py (Witness): Remove class, as it is obsoleted by the
EventRef class.


svn: r4744
2005-05-31 18:34:14 +00:00
Alex Roitman
44c3dcf88e Update
svn: r4743
2005-05-31 18:22:37 +00:00
Alex Roitman
1bed90520c Update
svn: r4742
2005-05-31 18:21:01 +00:00
Alex Roitman
74e71e5df5 * src/AutoComp.py (StandardCustomSelector): Add class to handle
(int,str) selections including custom strings.


svn: r4741
2005-05-31 18:17:38 +00:00
Alex Roitman
3a53aeda5d * src/RelLib.py: Move constants back to RelLib, as class attributes.
* src/Utils.py: Move constant mappings from const.py.in.
* src/const.py.in: Move constants and mappings elsewhere.
* various: Use constants from RelLib, not const.

* src/RelLib.py: Fix (int,str) types.

* src/GrampsBSDDB.py (upgrade_7): Handle case of not set default person


svn: r4737
2005-05-30 21:38:09 +00:00
Alex Roitman
095915429d * src/RelLib.py: Move constants back to RelLib, as class attributes.
* src/Utils.py: Move constant mappings from const.py.in
* src/const.py.in: Move constants and mappings elsewhere.
* various: Use constants from RelLib, not const.


svn: r4736
2005-05-30 20:41:43 +00:00
Martin Hawlisch
a766caa5b9 * src/src/GrampsBSDDB.py (upgrade_7): Handle case of not set default person
svn: r4735
2005-05-30 15:25:17 +00:00
Don Allingham
6bd1985556 added
svn: r4731
2005-05-29 03:54:08 +00:00
Alex Roitman
88593afd19 * src/RelLib.py: Delegate event handle reference lookup from
Person to EventRef class; (RepoRef.get_handle_referents): Remove
unneeded method (inherited from BaseObject).


svn: r4729
2005-05-28 16:21:58 +00:00
Alex Roitman
2c6f08b9e3 * src/GrampsBSDDB.py (upgrade_7): Enforce str for the default handle.
svn: r4726
2005-05-28 06:35:15 +00:00
Alex Roitman
5fda37f10f Fix constants
svn: r4724
2005-05-28 02:55:21 +00:00
Martin Hawlisch
bb50c0f5df * src/const.py.in: Replace static definition of lds_temple_to_abrev by dynamic generation from lds_temple_codes so they need to be defined only once.
svn: r4723
2005-05-27 21:39:39 +00:00
Martin Hawlisch
bcf7649b87 * src/gramps.glade: Add ScrolledWindow to RepositoryView to make it look like Source and Place View.
svn: r4722
2005-05-27 21:10:37 +00:00
Martin Hawlisch
c980a56abe * 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
8ac91ea894 update due to death of TransTable
svn: r4720
2005-05-27 20:56:22 +00:00
Alex Roitman
1bad62bfa7 Update
svn: r4719
2005-05-27 20:34:43 +00:00
Alex Roitman
28f5eb383f * 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
9e54f3d2b2 Update
svn: r4717
2005-05-27 20:13:11 +00:00
Alex Roitman
f1e31b8270 * 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
9eaf68f135 update
svn: r4715
2005-05-27 19:37:55 +00:00
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