Commit Graph

1975 Commits

Author SHA1 Message Date
Don Allingham
d251bbe7c1 * src/EditPerson.py: fix focus_out_event signal handling
* src/DisplayTabs.py: provide double click/edit button handling
for back references.


svn: r6018
2006-03-01 23:27:45 +00:00
Alex Roitman
4954953968 * src/Exporter.py (Exporter): Callback support, busy cursor.
* src/ViewManager.py (ViewManager): Move progress bar handling
into DisplayState.
* src/DisplayState.py (DisplayState): Move progress bar here.
* src/Assistant.py (Assistant.set_busy_cursor): Add method.
* src/plugins/WritePkg.py: Callback support.
* src/GrampsDb/_WriteGedcom.py: Callback support.


svn: r6016
2006-03-01 06:16:36 +00:00
Don Allingham
6f8ae3cd51 * src/AddrEdit.py: remove already_exist check in favor of exception
* src/AttrEdit.py: remove already_exist check in favor of exception
* src/DisplayState.py: remove already_exist variable
* src/DisplayTabs.py: handle exception
* src/EditEventRef.py: remove already_exist check in favor of exception
* src/EditFamily.py: update to derive from EditPrimary
* src/EditMedia.py: update to derive from EditPrimary
* src/EditMediaRef.py: remove already_exist check in favor of exception
* src/EditPerson.py: update to derive from EditPrimary
* src/EditPlace.py: update to derive from EditPrimary
* src/EditRepository.py:update to derive from EditPrimary
* src/EditSource.py: update to derive from EditPrimary
* src/EditSourceRef.py: remove already_exist check in favor of exception
* src/Errors.py: new exception
* src/EventEdit.py: update to derive from EditPrimary
* src/EventView.py: catch exception of window already exists
* src/FamilyList.py: catch exception of window already exists
* src/FamilyView.py: catch exception of window already exists
* src/GrampsWidgets.py: typos
* src/NameEdit.py: remove already_exist check in favor of exception
* src/PedView.py: catch exception of window already exists
* src/PersonView.py: catch exception of window already exists
* src/PlaceView.py: catch exception of window already exists
* src/Plugins.py: catch exception of window already exists
* src/UrlEdit.py: remove already_exist check in favor of exception
* src/const.py.in: dynamically determine path
* src/gramps.glade: name changes
* src/gramps.py: set path


svn: r6014
2006-03-01 05:08:11 +00:00
Alex Roitman
2dd4571b39 * src/plugins/WritePkg.py (PackageWriter.export): Add existing
image filenames to the archive.
* src/GrampsDb/_WriteXML.py: Improve callback use, add another
strip_photo option.
* src/ViewManager.py: Typos.
* src/Exporter.py: Start for callback support.
* src/GrampsDb/_WriteGedcom.py: Callback support.


svn: r6013
2006-03-01 05:04:22 +00:00
Alex Roitman
e3397ecf96 * src/ViewManager.py (ViewManager.import_data): Properly process
non-native (plugin) imports; (_do_import): factor common code into
the new method.
* src/GrampsDb/_ReadXML.py (GrampsParser.__init__): Skip updating
if callback is empty (non-callable).
* src/docgen/HtmlDoc.py (HtmlDoc.load_tpkg): Use tarfile.
* src/ArgHandler.py (ArgHandler.cl_import): Use tarfile.
* src/plugins/WritePkg.py (PackageWriter.export): Use tarfile.
* src/plugins/ReadPkg.py (impData): Use tarfile module.


svn: r6012
2006-03-01 00:26:29 +00:00
Alex Roitman
577ced2969 * various: merge changes made in gramps20 up until R2_0_10_real tag.
* configure.in: Bump up release number.
* Release: Version 2.0.10 "Holy Hand Grenade of Antioch" released.


svn: r6011
2006-02-28 19:54:35 +00:00
Don Allingham
fc3b828b00 * src/DisplayTabs.py: repository reference editor
* src/EditRepository.py: repository reference editor
* src/EditSource.py: repository reference editor
* src/GrampsWidgets.py: more readonly support
* src/RepositoryRefEdit.py: removed
* src/gramps.glade: repository reference editor
* src/EditRepositoryRef.py: added - repository reference editor


svn: r5993
2006-02-26 04:29:39 +00:00
Don Allingham
d95c1d7e17 * src/DisplayTabs.py: backreference tabs
* src/EditEventRef.py: backreference tabs
* src/EditMedia.py: backreference tabs
* src/EditMediaRef.py: backreference tabs
* src/EditPlace.py: backreference tabs
* src/EditSource.py: backreference tabs
* src/EventEdit.py: backreference tabs
* src/gramps.glade: notebook tab fixes


svn: r5987
2006-02-24 22:00:20 +00:00
Alex Roitman
f21f724316 * src/RelLib/_Person.py (Person.get_handle_referents): Add
birth_ref and death_ref to the list of referents.


svn: r5983
2006-02-24 20:20:22 +00:00
Don Allingham
44c661a16b * src/EditEventRef.py: switch to monitored widgets, place selector
* src/EventEdit.py: switch to monitored widgets, place selector
* src/GrampsWidgets.py: place selection widget
* src/GrampsDb/_GrampsDbBase.py: move completion widget, handle
place lists


svn: r5980
2006-02-24 05:05:46 +00:00
Don Allingham
1020a104ff * src/EditPlace.py: use monitored widgets
* src/EditSource.py: use monitored widgets
* src/EventEdit.py: use monitored widgets
* src/GrampsWidgets.py: start of monitored place
* src/GrampsDb/_GrampsDbBase.py: monitor place changes


svn: r5975
2006-02-23 03:13:15 +00:00
Alex Roitman
69c5b7d43b * src/EditSourceRef.py (__init__): Typos.
* src/DisplayTabs.py (GalleryTab.add_button_clicked): Typos.


svn: r5970
2006-02-22 19:11:36 +00:00
Don Allingham
13d4d27af9 * src/EditMediaRef.py: added
* src/EditPerson.py: call EditMediaRef
* src/EditPlace.py: remove import ImageSelect
* src/DisplayTabs.py: media double click
* src/UrlEdit.py: Full edit functionality
* src/ImageSelect.py: removed


svn: r5969
2006-02-22 04:33:34 +00:00
Don Allingham
89f0479a6c * src/AddrEdit.py: Full edit functionality
* src/AttrEdit.py: Full edit functionality
* src/DisplayTabs.py: call EditEventRef
* src/EditSourceRef.py: Full edit functionality
* src/EventEdit.py: separate out EditEventRef
* src/GrampsWidgets.py: Add date, menu, type handling widgets
* src/NameEdit.py: Full edit functionality
* src/gramps.glade: fix names and privacy buttons
* src/EditEventRef.py: broken out of EditEvent


svn: r5967
2006-02-22 00:12:52 +00:00
Don Allingham
a167440cc6 * src/GrampsWidgets.py: Add monitored widgets for type and combo
* src/EditFamily.py: use MonitoredType
* src/EditSourceRef.py: complete monitoring of values
* src/gramps.glade: add text field


svn: r5966
2006-02-21 05:13:15 +00:00
Don Allingham
ac5d9287bd * src/DisplayTabs.py: connect new EditSourceRef editor
* src/EditSourceRef.py: update data on save
* src/gramps.glade: hide src_edit_ref by default
* src/plugins/Makefile.am: Calendar.py and holidays.xml


svn: r5964
2006-02-20 04:59:20 +00:00
Don Allingham
bd405f8367 * src/DisplayModels.py: display date properly
* src/DisplayTabs.py: fix create_buttons default value
* src/GrampsDb/_ReadGedcom.py: handle the "FORM" value for
PLAC definition


svn: r5956
2006-02-19 04:45:54 +00:00
Don Allingham
4cb3558234 fix character translation
svn: r5952
2006-02-17 22:40:42 +00:00
Don Allingham
3b94e2abf1 * src/GrampsDb/_GedTokens.py: fix constant table
* src/GrampsDb/_ReadGedcom.py: ALIA fix


svn: r5943
2006-02-16 15:30:59 +00:00
Don Allingham
2dd0d8002b * src/DisplayTabs.py: Set up for EditSourceRef
* src/GrampsMime.py: handle special mime types
* src/gramps.glade: add sourceref editor
* src/GrampsDb/_GedTokens.py: Unused tokens, FTM 3.0 tokens
* src/GrampsDb/_ReadGedcom.py: use TOKEN_IGNORE
* src/EditSourceRef.py: added


svn: r5942
2006-02-16 05:06:40 +00:00
Don Allingham
f14d881fb7 * src/DisplayState.py: Manage history on db change
* src/Navigation.py: Manage history on db change


svn: r5918
2006-02-10 05:36:32 +00:00
Don Allingham
e17636f239 * src/PedView.py: fix quote
* src/PersonView.py: reset db and build tree on database reload
* src/GrampsDb/_GrampsDbBase.py: clear active on database change


svn: r5917
2006-02-10 05:10:35 +00:00
Don Allingham
84a5a1e133 * src/FamilyView.py: initialize Family
svn: r5916
2006-02-10 04:20:57 +00:00
Don Allingham
30e03eb193 * src/EditFamily.py: fix empty gramps_id for new families
* src/GrampsWidgets.py: fix empty gramps_id for new families


svn: r5913
2006-02-10 03:37:20 +00:00
Don Allingham
76ff5f0771 * src/DisplayTabs.py: fix editing of person events
* src/EditPerson.py: sort out birth/death references
* src/EventEdit.py: Handle event references properly
* src/PageView.py: Add setting default person
* src/PersonView.py: Add SetActive action
* src/ViewManager.py: move ColumnEdit action


svn: r5912
2006-02-10 01:10:52 +00:00
Alex Roitman
37a0d42890 * src/data/gramps.desktop: Add French strings.
svn: r5909
2006-02-09 18:58:09 +00:00
Alex Roitman
e3c1b51913 * src/data/gramps.desktop: Improve Russian string, add Office
category.


svn: r5908
2006-02-09 18:54:13 +00:00
Don Allingham
51ffb47d4b * src/PeopleModel.py: clear data cache
svn: r5907
2006-02-09 05:10:20 +00:00
Don Allingham
dcdd9e9765 * src/EditFamily.py: set focus on surname
* src/EditPerson.py: hook up add child
* src/PersonView.py: fix delete person dispay
* src/ViewManager.py: re-enable bookmark functions


svn: r5902
2006-02-09 00:35:46 +00:00
Don Allingham
47091ad736 * src/DisplayTabs.py: pychecker fixes
* src/EditMedia.py: Handle Note types properly
* src/EditPerson.py: minor cleanup
* src/EventEdit.py: pychecker fixes
* src/MediaView.py: Don't call NoteEditor, use EditMedia instead
* src/PageView.py: pychecker fixes
* src/PersonView.py: typo
* src/gramps.glade: Handle note types in media editor


svn: r5901
2006-02-08 21:13:05 +00:00
Richard Taylor
200b8cc17d tidied up the class strucand added documentation to ObjectSelector
svn: r5900
2006-02-08 16:32:47 +00:00
Don Allingham
9103dbfd0c * src/DisplayTabs.py: reordering items in a Gallery
svn: r5899
2006-02-08 16:20:03 +00:00
Richard Taylor
7c6d9c02ee fixed add button in object selector.
svn: r5898
2006-02-08 15:29:46 +00:00
Richard Taylor
bca4bdf580 integrated treeview/model into objectselector.
svn: r5897
2006-02-08 15:03:06 +00:00
Don Allingham
f8fba0a3b5 * src/DisplayModels.py: gobject.TYPE_STRING -> str
* src/EditFamily.py: privacy widget
* src/EditPerson.py: privacy widget
* src/EventEdit.py: save support
* src/GrampsWidgets.py: Add PrivacyButton support
* src/PageView.py: make sure active before updating rows
* src/edit_person.glade: privacy icons
* src/gramps.glade: privacy icons


svn: r5895
2006-02-08 05:08:28 +00:00
Don Allingham
92f12f906b * src/SourceView.py: fix source query dialog, fix source deleting
svn: r5894
2006-02-07 04:16:47 +00:00
Don Allingham
034e02ecca * src/SourceView.py: fix source query dialog
* src/ansel_utf8.py: fix unicode conversion
* src/GrampsDb/_GrampsDbBase.py: fix surname detection
* src/GrampsDb/_ReadGedcomp.py: fix note importation


svn: r5893
2006-02-07 03:07:31 +00:00
Don Allingham
63adbbaaf0 * src/EditFamily.py: Complete save operation, handle new family
* src/EditMedia.py: Add file selector button
* src/FamilyList.py: Save properly
* src/edit_person.glade: lock icon
* src/gramps.glade: file selector button


svn: r5892
2006-02-06 23:44:09 +00:00
Alex Roitman
87c76ed6fb * src/GrampsDb/_GrampsBSDDB.py (transaction_commit): Typo.
svn: r5891
2006-02-06 21:24:39 +00:00
Don Allingham
2d4de12f87 * src/EditFamily.py: start apply operation, data saving
svn: r5890
2006-02-06 05:03:44 +00:00
Don Allingham
694d3d7671 * src/AttrEdit.py: remove unused parameters
* src/EditFamily.py: start apply operation


svn: r5889
2006-02-05 22:23:53 +00:00
Don Allingham
fffadfd0a2 * src/DisplayModels.py: handle places correctly
* src/DisplayTabs.py: Add LocationTab
* src/EditPlace.py: update to use DisplayTabs
* src/ImageSelect.py: remove SelectObject
* src/LocEdit.py: use DisplayManager
* src/gramps.glade: update editors
* src/GrampsDb/_GrampsDbBase.py: use db_is_open
* src/RelLib/_Place.py: typo


svn: r5887
2006-02-05 19:00:25 +00:00
Don Allingham
91564dff90 * src/ChooseParents.py: removed
* src/ListBox.py: removed


svn: r5885
2006-02-05 05:19:51 +00:00
Don Allingham
30c8de7bc3 * src/TransTable.py: removed
* src/AddSpouse.py: removed
* src/Marriage.py: removed
* src/GrampsDb/_ReadGedcom.py: remove useless comparea


svn: r5884
2006-02-05 01:23:25 +00:00
Don Allingham
1504419e4b * src/AddMedia.py: relative path support
* src/AddrEdit.py: add DisplayTab support
* src/DdTargets.py: repository references support
* src/DisplayTabs.py: repository reference support
* src/EditMedia.py: save support
* src/EditSource.py: save support
* src/ImageSelect.py: remove unused stuff
* src/Sources.py: use object instead of gobject.TYPE_PYOBJECT
* src/Utils.py: relative path calculator
* src/ViewManager.py: change cwd to directory of the file so that
relative paths work
* src/edit_person.glade: fix size
* src/gramps.glade: add relative path indicator
* src/GrampsDb/_ReadGedcom.py: remove useless compare


svn: r5883
2006-02-04 23:29:44 +00:00
Don Allingham
bb9731bea7 * src/AttrEdit.py: use DisplayTabs
* src/NameEdit.py: use DisplayTabs
* src/gramps.glade: use DisplayTabs


svn: r5882
2006-02-04 04:52:16 +00:00
Alex Roitman
c944cbd013 * src/PeopleModel.py: Correct column numbers.
* src/GrampsDb/_ReadGedcom.py (parse_header_source): Typo.
* src/RelLib/_RepoRef.py (unserialize): Return unserialized object.


svn: r5881
2006-02-04 00:56:54 +00:00
Alex Roitman
6bf86aa119 * src/Makefile.am: Remove absent glade files from the list.
* src/GrampsDb/Makefile.am: Ship new glade files; correct directory.


svn: r5880
2006-02-04 00:12:32 +00:00
Don Allingham
996295cd11 * src/DisplayTabs.py: Handle notes properly
* src/EventEdit.py: commit modified events
* src/PeopleModel.py: remove unused functions
* src/PersonView.py: remove debug


svn: r5876
2006-02-03 22:31:46 +00:00
Alex Roitman
7329720f07 * RelLib/_*.py: Make objects serialize all the way down to built-in
python objects, so that Gramps classes are never pickled.
* Date.py, CalSdn.py: Move to RelLib.
* src/dates/Date_*.py: Use new Date.
* src/plugins/*.py: Use new Date.
* src/GrampsDb/_*.py: Use new Date, new unserialize.
* src/*.py: Use new Date.


svn: r5875
2006-02-03 22:03:53 +00:00