Commit Graph

1628 Commits

Author SHA1 Message Date
Alex Roitman
a3e0bf4648 * src/RelLib.py (add_parent_family_handle,
change_parent_family_handle): Correct the docstring to reflect
tuple relationships.


svn: r4804
2005-06-08 14:02:45 +00:00
Alex Roitman
c2be8cceec * src/ChooseParens.py: Support for (int,str) relationships.
* src/FamilyView.py (new_child_after_edit): Use tuple relationships.
* src/SelectChild.py: Support for (int,str) relationships.
* src/gramps.glade (selec_child,modparents,familyDialog): Replace
ComboBoxes with ComboBoxEntries.


svn: r4803
2005-06-08 13:41:51 +00:00
Alex Roitman
979474ebb9 * src/gramps.glade (selecty_person): Change positioning; add icon.
* src/edit_person.glade (event_tab): Correct tooltips.
* src/SelectEvent.py: Add to CVS.
* src/Makefile.am: Ship SelectEvent.py file.
* src/SelectChild.py (build_list): Use mapping from Utils.
* src/ReadGrdb.py (importData): Properly copy event table.
* src/ListBox.py: Properly fill in the Combo maps without
collisions; Add Role to the EventListbox; Support selecting an
existing Event object.
* src/GrampsInMemDB.py: Support for event id table.
* src/GrampsDbBase.py: Support for event id table.
* src/GrampsBSDDB.py: Support for event id table; emit
event-delete signal when events are deleted.
* src/EventView.py: Support deleting events.
* src/EventEdit.py: Support deleting events; Proper adding events.


svn: r4801
2005-06-08 04:40:33 +00:00
Martin Hawlisch
f16f41cbda * various: const to RelLib transitition.
svn: r4800
2005-06-07 19:22:10 +00:00
Alex Roitman
16c906d7cb * src/EventView.py (build_columns): Do not artificially create
an extra column.


svn: r4798
2005-06-07 13:53:46 +00:00
Alex Roitman
b67a0d0e00 * src/DisplayModels.py: Support for event view.
* src/EventEdit.py: Commit event on OK.
* src/GrampsDbBase.py: Event column order and event cursor.
* src/GrampsInMemDB.py: Event cursor.
* src/gramps.glade: Event View, rework buttons.
* src/gramps_main.py: Event View support.
* src/EventView.py: Add to CVS.
* src/Makefile.am: Ship EventView.


svn: r4797
2005-06-07 05:08:50 +00:00
Alex Roitman
491b0cfdc7 * src/AttrEdit.py: proper type selector support.
* src/AutoComp.py (by_value): Use locale-aware sorting.
* src/EditPerson.py: Support select button for the event tab.
* src/EventEdit.py (EventRefEditor): Editor for both events and
event refs.
* src/ListBox.py: Support for select button; Proper removal of
entries; Proper Event/ref editing support; fixes for combos.
* src/NameEdit.py: Typo.
* src/edit_person.glade: Add select button to the event tab.
* src/gramps.glade: Add new editor for both events and refs.


svn: r4796
2005-06-06 23:50:33 +00:00
Alex Roitman
d4a8f824ac * src/DateHandler.py: Fix typo caught in gramps20 branch.
svn: r4793
2005-06-05 17:26:30 +00:00
Alex Roitman
719319baac * src/RelLib.py (Event): Add a list to store external witnesses.
svn: r4787
2005-06-05 05:16:27 +00:00
Julio Sánchez
704780e868 * src/po/es.po: version merge fix
svn: r4786
2005-06-05 05:11:32 +00:00
Alex Roitman
9ee0f10127 Merge changes between 2.0.1 and 2.0.2 with the main trunk
svn: r4785
2005-06-05 04:01:56 +00:00
Don Allingham
97b0b31fab * src/AttrEdit.py: support get_type/set_type in dropdown menu
* src/EditPerson.py: remove items properly based off EventRef


svn: r4781
2005-06-04 02:54:59 +00:00
Don Allingham
b239854bb4 event/name type fixes
svn: r4780
2005-06-03 22:38:14 +00:00
Martin Hawlisch
e523edce30 * src/EditSource.py (ReposRefListView): Display repository type as text
svn: r4773
2005-06-03 14:18:06 +00:00
Martin Hawlisch
dce8f86240 * 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
8c624a2ba1 * 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
9285e8ee56 * src/RelLib.py (Family.set_relationship): Update doc string.
svn: r4763
2005-06-03 04:18:38 +00:00
Alex Roitman
0258aad197 * 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
1946c31ba6 * src/gramps.glade:
svn: r4756
2005-06-02 04:44:51 +00:00
Don Allingham
778b584916 * 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
35ffafc48c * various: More support for event refs.
svn: r4753
2005-06-01 20:45:45 +00:00
Alex Roitman
455a723b7b * 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
fe11852d1f * 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
5fc30a579a * src/AutoComp.py (StandardCustomSelector): Add autocompletion.
svn: r4745
2005-05-31 18:40:17 +00:00
Alex Roitman
123f3a2f5b * 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
2c6f640ac5 * 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
5652f21069 * 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
Martin Hawlisch
c4195cf7ef * src/src/GrampsBSDDB.py (upgrade_7): Handle case of not set default person
svn: r4735
2005-05-30 15:25:17 +00:00
Alex Roitman
f4f4af3e21 * 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
8969589bae * src/GrampsBSDDB.py (upgrade_7): Enforce str for the default handle.
svn: r4726
2005-05-28 06:35:15 +00:00
Martin Hawlisch
51d1c21ab7 * 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
00fa684aa9 * 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
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
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
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
8dccff6eeb update
svn: r4715
2005-05-27 19:37:55 +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
8f894a12a8 * src/RelLib.py (EventRef): Add class.
svn: r4693
2005-05-26 21:03:24 +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