Martin Hawlisch
59e55950a6
* src/PersonView.py (edit): Work with missing active person
...
svn: r5200
2005-09-16 18:37:13 +00:00
Don Allingham
24a2f68930
* src/DisplayState.py: remove relationship display stuff for the time
...
being.
svn: r5199
2005-09-16 18:22:32 +00:00
Martin Hawlisch
4b8208ead1
* src/PageView.py (button_press): Catch problem with no loaded database
...
* src/PersonView.py (button_press): Catch problem with no loaded database
* src/GrampsDbBase.py (_get_from_handle): Catch problem with no loaded database
* src/MapView.py: Updates
* src/EditPerson.py: Change complete flag into marker combo
* src/GrampsDbBase.py: Add map for custom marker values
* src/PeopleModel.py: Add support for colored markers
* src/PersonView.py: Add support for colored markers
* src/RelLib.py: Change complete flag into marker combo
* src/Utils.py: Add marker types
* src/edit_person.glade: Change complete flag into marker combo
svn: r5198
2005-09-16 15:25:27 +00:00
Martin Hawlisch
4c1087a211
* src/PageView.py (button_press): Catch problem with no loaded database
...
* src/PersonView.py (button_press): Catch problem with no loaded database
* src/GrampsDbBase.py (_get_from_handle): Catch problem with no loaded database
* src/MapView.py: Updates
svn: r5197
2005-09-16 13:18:52 +00:00
Don Allingham
d27db35a35
* src/EditPlace.py: fix windowing history
...
svn: r5194
2005-09-16 04:07:53 +00:00
Martin Hawlisch
ff7af5b673
* src/gramps_main.py: pass DisplayState to TipOfDay
...
* src/TipOfDay.py: Use DisplayState
* src/const.py.in: add GRAMPS websites
* src/ViewManager.py: Add TipOfDay; Make GRAMPS websites work again
svn: r5124
2005-08-25 15:08:07 +00:00
Don Allingham
f63b72f734
* src/DisplayState.py: fixe some window management syntax errros
...
* src/PageView.py: enable double click to edit
* src/EditPerson.py: tried to enable window management
* src/PersonView.py: make more compatible with base class
svn: r5114
2005-08-19 22:10:35 +00:00
Richard Taylor
fa58eca771
2005-08-19 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
...
* src/EventEditor.py: hacked about to make add work at least.
svn: r5113
2005-08-19 15:51:14 +00:00
Richard Taylor
f035e7b94b
2005-08-19 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
...
* src/TreeTips.py: set default delay to 2s
svn: r5112
2005-08-19 15:34:31 +00:00
Richard Taylor
9de8ebdfbf
2005-08-17 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
...
* src/ToolTips.py: tooltip fix
svn: r5111
2005-08-19 15:27:25 +00:00
Richard Taylor
f93ed35eff
2005-08-17 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
...
* src/DisplayModels.py: call new tooltips generator
* src/PeopleModel.py: call new tooltips generator
* src/ToolTips.py: new tooltips generator added
svn: r5110
2005-08-19 14:26:03 +00:00
Richard Taylor
fbfdbae3bd
2005-08-17 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
...
* src/DisplayModels.py: added basic tooltip support to models
* src/PageView.py: added basic tooltip support
* src/PeopleModel.py: added basic tooltip support
svn: r5109
2005-08-19 12:44:44 +00:00
Alex Roitman
704e0c4787
Merge changes from gramps20 made since 2.0.5
...
svn: r5105
2005-08-18 05:58:28 +00:00
Martin Hawlisch
b9f4134fdd
* src/Makefile.am
...
* src/plugins/Makefile.am: ScratchPad moved folder.
svn: r5095
2005-08-17 16:38:19 +00:00
Richard Taylor
d29c69cca4
2005-08-17 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
...
* src/RepositoryView.py: remove method now works again.
svn: r5094
2005-08-17 14:24:34 +00:00
Richard Taylor
acc123ca17
2005-08-17 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
...
* src/ScratchPad.py: fix some issues with new window management and dbstate
* src/scratchpad.glade: moved from src/plugins
* src/plugins/ScratchPad.py: removed
* src/plugins/scratchpad.glade: removed
svn: r5093
2005-08-17 13:51:53 +00:00
Richard Taylor
da29072138
2005-08-12 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
...
* src/EditRepository.py: fixes for lack of parent window handles
use of dbstate. Commented out code to bold labels for now as
Utils.bold_label does not work. Renamed DelReposQuery.
* src/EditSource.py: fixed repository ref edit code to use dbstate.
* src/RepositoryRefEdit.py: fixes for dbstate and commented out window
management code.
* src/RepositoryView.py: fixes for dbstate, commented out remove repos
code for now as it does not work. Fixes edit repository call.
svn: r5092
2005-08-17 09:30:10 +00:00
Alex Roitman
e44cf47799
* src/PedView.py (__init__): Define database variable.
...
* src/ViewManager.py (__init__): Define empty pages list.
* src/DisplayState.py (GrampsWindowManager,ManagedWindow): Add
classes for window management. Still unfinished.
svn: r5080
2005-08-15 03:45:16 +00:00
Don Allingham
56dea05049
* src/GrampsDbBase.py: keep track of open files
...
* src/MediaView.py: convert MediaView to handle pluggable views
* src/PersonView.py: update filter on page change
* src/ViewManager.py: change_database handling
* src/gramps.glade: remove unused blocks
* src/gramps_main.py: Add in MediaView
svn: r5075
2005-08-14 04:31:29 +00:00
Don Allingham
2fe3e67f7c
* src/ViewManager.py: set up about box and other HELP menu items
...
* src/const.py.in: strings for about box
* Makefile.am: install COPYING file to provide text for GPL.
svn: r5073
2005-08-13 03:23:02 +00:00
Alex Roitman
d7bf0b3301
Update
...
svn: r5069
2005-08-12 19:00:43 +00:00
Martin Hawlisch
5f3fb997c1
* src/MapView.py: Dont fail if xearth is not installed
...
svn: r5066
2005-08-12 18:13:33 +00:00
Don Allingham
3aae6812a7
Navigation menu fix
...
svn: r5065
2005-08-12 17:28:22 +00:00
Alex Roitman
3b370e1f0d
Update
...
svn: r5062
2005-08-12 16:30:19 +00:00
Alex Roitman
6216a6503e
* src/ArgHandler.py: start fixing.
...
* src/gramps_main.py: Run ArgHandler with new arguments.
svn: r5061
2005-08-12 16:25:43 +00:00
Martin Hawlisch
f69e15f35f
* src/MapView.py: Corrected coordinate handling; Show all location in map; fetch locations from xearth config file
...
svn: r5059
2005-08-12 11:29:06 +00:00
Richard Taylor
dca96503ea
changes to work with ViewManager changes
...
svn: r5058
2005-08-12 10:09:48 +00:00
Don Allingham
a3ec0b3e07
* src/RepositoryView.py: added back in
...
* src/gramps_main.py: added repository view
svn: r5057
2005-08-12 03:39:26 +00:00
Alex Roitman
3338178102
* src/DbState.py: Remove modeule.
...
* src/DisplayState.py: Rename from DbState, kepp only DisplayState
class.
* src/GrampsDbBase.py: Add DbState class.
* src/MapView.py: Swap zoom_in and zoom_out to reflect reality;
add place list with the ScrollableWindow, request size for the
place list.
* src/ViewManager.py: Use DisplayState.DisplayState.
* src/gramps_main.py: Use GrampsDbBase.DbState; add docstring;
svn: r5055
2005-08-12 02:50:56 +00:00
Don Allingham
9d62401d7b
* various: added new views
...
svn: r5054
2005-08-12 02:35:27 +00:00
Don Allingham
6839cb9a85
New EventView
...
svn: r5053
2005-08-11 22:13:44 +00:00
Don Allingham
30450e2efa
PersonNavView changes
...
svn: r5052
2005-08-11 17:19:03 +00:00
Martin Hawlisch
0a245a7f2d
* src/PedView.py: More work on it.
...
* src/MapView.py: New View showing locations on a map. Early unfinished version.
* src/gramps_main.py: Enable MapView
* src/land_shallow_topo_2048.jpg:
* src/land_shallow_topo_350.jpg: Two new map images downloaded from NASA so the are assumed to be public domain.
svn: r5050
2005-08-11 14:57:19 +00:00
Don Allingham
b39a328f9a
split UI and DB state
...
svn: r5049
2005-08-10 23:53:24 +00:00
Martin Hawlisch
363e219af7
* src/PedView.py: Better autoscaling; better ui management
...
svn: r5046
2005-08-10 15:25:46 +00:00
Alex Roitman
8a3ee2f56a
* src/ScratchPad.py: added
...
* src/stock_link.png: added
* src/DbState.py: better ui management, history management
* src/EditPerson.py: better ui management
* src/GrampsDbBase.py: better ui management
* src/PageView.py: better ui management
* src/PersonView.py: better ui management, history management
* src/ViewManager.py: better ui management
svn: r5044
2005-08-10 14:28:16 +00:00
Martin Hawlisch
edfdb754d8
update
...
svn: r5043
2005-08-09 15:22:21 +00:00
Alex Roitman
621761ef5c
* src/const.py.in: Remove obsolete constants.
...
svn: r5042
2005-08-09 14:43:04 +00:00
Martin Hawlisch
3a8f1f3039
* src/DbState.py: change_active_person now emits the signal, change_active_handle is only a wrapper for that.
...
* src/PageView.py (get_stock): Work around not existing definition of gtk.STOCK_MEDIA_MISSING by using gtk.STOCK_MISSING_IMAGE.
* src/PedView.py: Start using new PageView logic. Unfinished.
* src/gramps_main.py: Enable PedView
svn: r5041
2005-08-09 10:18:56 +00:00
Don Allingham
3e153e8f6e
* src/DbState.py: Added new class to keep track of database
...
status
* src/PageView.py: base class for pluggable views
* src/PersonView.py: new version of PeopleView
* src/ViewManager.py: view and database management class
svn: r5040
2005-08-09 04:41:20 +00:00
Don Allingham
f1b3c2c39f
* various: remove set_date/get_date removal to be replaced by
...
DateHandler calls
svn: r5031
2005-08-06 02:57:37 +00:00
Alex Roitman
895d7e1a53
Merge changes made between 2.0.3 and 2.0.5
...
svn: r4911
2005-07-08 20:24:54 +00:00
Martin Hawlisch
e8fbe69486
* src/RelLib.py: Use DeprecationWarning and api wrappers instead of assert to make HEAD a little more usable again until all transitition is done
...
svn: r4877
2005-06-24 23:17:02 +00:00
Martin Hawlisch
bd40aaf940
* src/plugins/TestcaseGenerator.py: Update to new tuple types
...
svn: r4876
2005-06-24 22:12:30 +00:00
Martin Hawlisch
91681e6aa7
* src/GrampsBSDDB.py (upgrade): Disable upgrade_7 until this is properly working to not accidently destroy a database from gramps20
...
svn: r4875
2005-06-24 22:00:03 +00:00
Don Allingham
9e39e88d2b
Filter improvements
...
svn: r4852
2005-06-20 22:18:22 +00:00
Alex Roitman
9720317989
* src/EventEdit.py: Hide warning message for new events and for
...
existing events with the default role; Only commit new Event when
OK clicked in the editor.
* src/RelLib.py: Add assertions for external witness methods.
* src/gramps.glade:
svn: r4835
2005-06-16 15:39:19 +00:00
Alex Roitman
d884d3457f
* src/EventEdit.py: Remove unused variable.
...
svn: r4834
2005-06-16 13:21:11 +00:00
Don Allingham
26ba860fc3
* src/DisplayModels.py: fixed event type display
...
svn: r4832
2005-06-16 04:08:42 +00:00
Don Allingham
0802e3a811
* src/ReadXML.py: build child/family relationships properly on
...
import, add missing event descriptions
* src/RelLib.py: type checking for set_role relationship types
svn: r4831
2005-06-16 03:56:13 +00:00
Alex Roitman
f9a01d5854
* src/ListBox.py (EventListBox.set_place): Fix place setting.
...
svn: r4830
2005-06-16 03:46:47 +00:00
Alex Roitman
3d595d685c
* src/events.png, src/repos.png, src/repos24.png: Add GNOME icons
...
for the stock calendar and drawer.
* src/events24.png: Update small icon.
* src/gramps.glade: Use new icons for the Event View and
Repository View side bar buttons. Add small icons to the main
notebook tabs.
svn: r4822
2005-06-14 13:45:09 +00:00
Alex Roitman
3e6bb33bf3
* src/ChooseParents.py: Correct use of types; Use family relations
...
between parents; Use EventRef for birth; Remove obsolete code.
* src/gramps.glade (familyDialog): Typo in widget name.
svn: r4816
2005-06-09 01:54:11 +00:00
Alex Roitman
f5ffcaeee7
* src/AutoComp.py (StandardCustomSelector.__init__): Compare
...
active_key to None.
* src/gramps.glade (marriageDialog): Remove displayed strings from
the Sttributes tab.
* src/Marriage.py: Delegate attribute handling to ListBox.
* src/ListBox.py (AttrListBox): Support both personal and family
attributes.
svn: r4815
2005-06-09 01:18:03 +00:00
Alex Roitman
27c0af8356
* src/gramps.glade: Minor update.
...
svn: r4814
2005-06-08 21:22:32 +00:00
Alex Roitman
16c1b632e4
* src/EditPerson.py: Commit events, since there may be changes
...
made no in the editor.
* src/EventEdit.py: Use combined mapping for all events.
* src/FamilyView.py: Proper display of child relations.
* src/Marriage.py: Commit events; properly call common event/ref
editor.
* src/Utils.py: Minor.
svn: r4813
2005-06-08 21:17:18 +00:00
Martin Hawlisch
a7778ace75
* src/EditPerson.py: Make gender guessing work again
...
svn: r4812
2005-06-08 21:12:32 +00:00
Alex Roitman
d7ba30cacc
* src/gramps.glade (Marriage): Re-work dialog similar to EditPerson.
...
* src/Utils.py (family_event_roles): Add mapping.
* src/RelLib.py (EventRef): Add FAMILY role.
* src/Marriage.py: Start using Listbox, so far for Events only.
* src/ListBox.py: Support both person and family primaries.
* src/EventEdit.py: Support both person and family primaries.
* src/EditPerson.py (on_apply_person_clicked): Do not commit
event, as this is done in the editor.
svn: r4809
2005-06-08 18:47:55 +00:00
Alex Roitman
399c5b61f4
* src/EventView.py (Module): Remove extra column.
...
* src/EventEdit.py (EventEditor.__init__): Remove obsolete code.
svn: r4808
2005-06-08 16:32:13 +00:00
Alex Roitman
5ae515056b
* src/gramps_main.py (init_interface): Set proper color for new icons.
...
* src/gramps.glade (gramps): Label new buttons, left-align labels.
* src/GrampsDbBase.py (get_event_column_order): Show date column.
* src/EventView.py (Module): Add "Last Changed" column; do not
hard-code handle column.
* src/DisplayModels.py (EventModel.__init__): Switch column order.
svn: r4807
2005-06-08 15:50:19 +00:00
Martin Hawlisch
3a29a38b53
* src/gramps_main.py (column_order): add Repository View; (init_interface): Remove unneeded callback
...
svn: r4806
2005-06-08 15:37:44 +00:00
Martin Hawlisch
ee5e8689f9
* src/EventView.py (column_names): Add missing column
...
* src/RepositoryView.py (column_names): Add missing columns
* src/GrampsDbBase.py: fix column_order methods
* src/DisplayModels.py (RepositoryModel): Remove parish column because it is not editable anyway
svn: r4805
2005-06-08 15:35:31 +00:00
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
05d1af7c0b
Update
...
svn: r4802
2005-06-08 04:45:41 +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
e4954cdf41
Update
...
svn: r4764
2005-06-03 04:23:37 +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
Alex Roitman
11eb15ec52
Update
...
svn: r4755
2005-06-02 04:30:04 +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
e0e1879ffc
Update
...
svn: r4743
2005-05-31 18:22:37 +00:00
Alex Roitman
a779675fd5
Update
...
svn: r4742
2005-05-31 18:21:01 +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
Alex Roitman
3771ee4ff9
* 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
c4195cf7ef
* 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
c60570bc9f
added
...
svn: r4731
2005-05-29 03:54:08 +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
Alex Roitman
f98d4f493e
Fix constants
...
svn: r4724
2005-05-28 02:55:21 +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
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
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
Eero Tamminen
c6ce98c899
better variable name
...
svn: r4320
2005-04-07 20:06:39 +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
260864b15f
Remove debugging code
...
svn: r4314
2005-04-06 20:49:19 +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
1475a9dfc2
typo
...
svn: r4307
2005-04-06 13:07:15 +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
Don Allingham
a73730ba1c
* 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
76c89d5f08
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
64b2a41b34
* 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
2f3cb14a98
* 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
0215ae6929
* 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
9c3bf10613
* 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
bfc4b88cda
* 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
306606d53c
* src/SourceView.py: fix multiple selection problem.
...
svn: r4285
2005-04-02 17:53:37 +00:00
Martin Hawlisch
a01d4401a3
* src/EditPerson.py: Remove unneeded arguments.
...
* src/Marriage.py: Remove unneeded arguments.
svn: r4284
2005-04-02 06:12:46 +00:00
Don Allingham
ea4beeb3ff
* 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
30d0904d71
* src/EditPerson.py (on_edit_name_clicked): Remove unneeded argument.
...
svn: r4281
2005-04-02 00:11:21 +00:00
Don Allingham
bee8f06854
* src/AddSpouse.py: remove unused callbacks
...
* src/FamilyView.py: remove unused callbacks
svn: r4280
2005-04-01 21:51:27 +00:00
Don Allingham
e0aea94362
added
...
svn: r4279
2005-04-01 20:50:19 +00:00
Martin Hawlisch
4abe4ea4be
* 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
c2b556d9f4
* 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
719727da75
* 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
71a3647ce5
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
5520c0286a
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
70ed37833e
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
3ee50ab98e
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