Don Allingham
320988d7ca
moved files to DataViews
...
svn: r6071
2006-03-04 15:37:04 +00:00
Martin Hawlisch
664994757e
* src/Models/Makefile.am: Added file
...
* Editors/__init__.py: Added file
svn: r6070
2006-03-04 14:29:39 +00:00
Don Allingham
3de6baa8bc
fix image path
...
svn: r6069
2006-03-04 06:45:54 +00:00
Don Allingham
58842b8567
create new Editors submodule
...
svn: r6067
2006-03-04 05:24:16 +00:00
Don Allingham
a5ab186d41
module rename
...
svn: r6066
2006-03-04 04:35:28 +00:00
Don Allingham
7f9c9853f7
module rename
...
svn: r6065
2006-03-04 04:31:50 +00:00
Don Allingham
d3f09759a7
module rename
...
svn: r6063
2006-03-04 04:26:08 +00:00
Don Allingham
2caaf13371
fix Makefile.am files
...
svn: r6061
2006-03-04 02:56:23 +00:00
Alex Roitman
6e2953b959
* src/plugins/stock_link.png: Remove (already present in
...
src/images, used by ScratchPad only).
* src/Config, src/Mime, src/images: Ignore Makefiles.
svn: r6060
2006-03-04 00:19:54 +00:00
Don Allingham
0f46b2c3a6
set up for installation
...
svn: r6059
2006-03-03 23:48:11 +00:00
Martin Hawlisch
f6195a9040
* src/Makefile.am: More updates to latest file moves/remanes to make "make distcheck" work for me
...
svn: r6057
2006-03-03 12:49:39 +00:00
Martin Hawlisch
ee498ebaf4
* src/plugins/TestcaseGenerator.py: Feed in more data, support Repositories, properly set types as (id,str) tuples instead of custom strings.
...
svn: r6056
2006-03-03 12:31:35 +00:00
Martin Hawlisch
ac8b4c35f9
2006-03-03 Martin Hawlisch <Martin.Hawlisch@gmx.de>
...
* src/Mime/__init__.py: Honour renamed files
* src/Makefile.am: Images have been moved into subdir (makes "make" work again)
* src/FamilyView.py (info_string): Done crash is None as handle was
given (e.g. no father in family)
svn: r6055
2006-03-03 08:43:02 +00:00
Don Allingham
c14fb7c520
rename module
...
svn: r6053
2006-03-03 04:27:56 +00:00
Don Allingham
3a4d651257
module renames
...
svn: r6051
2006-03-03 00:38:41 +00:00
Don Allingham
6da19d03af
module renames
...
svn: r6050
2006-03-03 00:34:20 +00:00
Alex Roitman
a3de395e16
Add Mime package
...
svn: r6047
2006-03-03 00:23:04 +00:00
Don Allingham
4a04791292
update new installation paths
...
svn: r6046
2006-03-03 00:17:58 +00:00
Alex Roitman
e65c5f4836
Add Config package
...
svn: r6044
2006-03-03 00:10:52 +00:00
Alex Roitman
ab07389727
* src/*png, src/*jpg: move under images directory.
...
svn: r6043
2006-03-02 23:37:16 +00:00
Alex Roitman
33526c400b
* calendar, filers: Remove directories.
...
svn: r6040
2006-03-02 23:08:28 +00:00
Don Allingham
f87e5365b3
make distcheck fixes
...
svn: r6039
2006-03-02 21:28:27 +00:00
Alex Roitman
bb2396df3f
* src/GrampsLogger/Makefile.am (pkgdata_PYTHON): Typo.
...
* configure.in: Generate Makefile-s in new directories.
* src/Makefile.am (SUBDIRS): Typo.
svn: r6036
2006-03-02 20:44:39 +00:00
Alex Roitman
84fd885fef
* *png, *jpg: Add proper svn:mime-type, remove mime-type.
...
svn: r6035
2006-03-02 20:19:05 +00:00
Alex Roitman
432ebe6bbd
Remove .cvsignore files from all directories.
...
svn: r6034
2006-03-02 19:30:29 +00:00
Don Allingham
5a0db4f57d
fixed mime types
...
svn: r6021
2006-03-02 16:09:34 +00:00
Don Allingham
f545e1d769
* src/EditSecondary.py: Base class for standard secondary object
...
editors (not including reference editors)
* src/AddrEdit.py: Base on EditSecondary
* src/AttrEdit.py: Base on EditSecondary
* src/LocEdit.py: Base on EditSecondary
* src/NameEdit.py: Base on EditSecondary
* src/UrlEdit.py: Base on EditSecondary
svn: r6019
2006-03-02 04:32:37 +00:00
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
Richard Taylor
fd279d348c
Added more columns
...
svn: r5874
2006-02-03 16:42:19 +00:00
Richard Taylor
7ef194d5ee
added initial fast model implementation
...
svn: r5872
2006-02-03 15:49:59 +00:00
Don Allingham
833e5f7d96
* src/PersonView.py: history
...
* src/EditPerson.py: start the save routine.
svn: r5871
2006-02-03 05:31:42 +00:00
Don Allingham
c980bd42bd
* src/DdTargets.py: add support for data items in sources
...
* src/EventEdit.py: use DisplayTabs
* src/gramps.glade: New EventEditor with display tabs
* src/DisplayTabs.py: specify data _DND_TYPE, don't enable d-n-d if
_DND_TYPE not defined
svn: r5868
2006-02-02 22:48:21 +00:00
Don Allingham
f0b3fafd91
* src/EditMedia.py: break out of ImageSelect, since ImageSelect
...
will probably go away. Add media editing ability using DisplayTabs.
* src/MediaView.py: call EditMedia
* src/gramps.glade: clean up media editor dialog
svn: r5867
2006-02-02 19:43:42 +00:00
Don Allingham
2d9449b77e
* src/DisplayState.py: add standard function for using WATCH cursor
...
* src/PageView.py: enable watch cursor when it is necessary to
rebuild a page.
svn: r5866
2006-02-02 17:00:37 +00:00
Alex Roitman
2607f4180e
* src/GrampsDb/_GrampsBSDDB.py (transaction_begin,
...
transaction_commit): only do secondary index magic if not
instructde otherwise; (BdbTransaction.__init__): accept additional
argument, pass it on to Transaction class.
* src/GrampsDb/_GrampsDbBase.py (Transaction.__init__): accept
additional argument for no_magic.
* src/GrampsDb/_ReadGedcom.py (NoteParser): count people during
first pass; (parse_gedcom_file): start transaction with or without
secondary index magic.
* src/GrampsDb/_ReadXML.py (LineParser):count people during
first pass; (parse): start transaction with or without secondary
index magic.
svn: r5865
2006-02-02 14:53:31 +00:00
Don Allingham
6e61a0afaa
* src/EditPerson.py: unused code
...
* src/ImgManip.py: convienence code
* src/Sources.py: DisplayManager-ize the SourceEditor
svn: r5864
2006-02-02 05:20:42 +00:00
Don Allingham
edcf50b4e6
* src/DisplayTabs.py: Hook up editors
...
* src/EditFamily.py: Add _DND_TYPE
* src/UrlEdit.py: Add type selector
* src/Utils.py: add type/string maps for url types
* src/gramps.glade: add type selector comboboxentry
* src/ObjectSelector/_ObjectSelectorWindow.py: fix window management
so that the system is closed properly
svn: r5863
2006-02-01 21:57:11 +00:00
Alex Roitman
006d2995a2
* src/GrampsDb/_GrampsBSDDB.py (_find_from_handle): Revert the
...
change, as it does not seem to bring any speedup.
svn: r5862
2006-02-01 19:11:25 +00:00
Alex Roitman
c867ab1937
* src/GrampsDb/_GrampsBSDDB.py (_find_by_handle): delegate key
...
lookup to dbmap.db; (transaction_commit, transaction_begin):
Enable removing/rebuilding of the secondary index.
* src/GrampsDb/_ReadXML.py (LineParser): Improve first pass.
svn: r5861
2006-02-01 06:25:51 +00:00
Alex Roitman
b13d42d960
* src/GrampsDb/_GrampsDbBase.py (find_next_*_gramps_id): check
...
whether the key exists, do not read.
* src/GrampsDb/_GrampsBSDDB.py (find_next_*_gramps_id): Remove
methods, as there's no need to override ones the DbBase now.
svn: r5860
2006-01-31 20:39:25 +00:00
Don Allingham
3bb985186d
* src/EditPerson.py: clean up building notebook pages
...
* src/DisplayTabs.py: support for drag-n-drop
svn: r5859
2006-01-31 15:13:54 +00:00
Alex Roitman
2c1d8b226c
* src/GrampsDb/_GrampsBSDDB.py (get_gramps_ids): Move to
...
GrampsDbBase; (_get_obj_from_gramps_id,_find_from_handle): Only
read data if the key exists.
* src/GrampsDb/_GrampsDbBase.py (get_gramps_ids,has_gramps_id):
Add methods; (check_*_from_handle): Add methods that make sure
that object exists in the db, create as necessary, but do not read
if it exists; (_check_from_handle): Add lower-level method;
(_find_from_handle): Only read data if the key exists.
* src/GrampsDb/_GrampsInMemDB.py (get_gramps_ids): Move to
GrampsDbBase.
* src/GrampsDb/_ReadXML.py: Multiple improvements.
svn: r5858
2006-01-31 01:41:55 +00:00
Don Allingham
2c4f2b8225
* src/DdTargets.py: Add support for EventRef
...
* src/DisplayTabs.py: Drag and drop support in base class
* src/EditPerson.py: remove unused functions
* src/edit_person.glade: privacy flag change
* src/gramps.glade: add tooltip
svn: r5857
2006-01-30 05:01:21 +00:00
Alex Roitman
ed311ea2d2
* src/Exporter.py: Set initial person in case there's no active.
...
* src/ViewManager.py (find_initial_person): Remove method.
* src/GrampsDb/_GrampsDbBase.py (find_initial_person): Add method.
svn: r5856
2006-01-29 22:05:20 +00:00
Alex Roitman
79ae8c886f
* src/GrampsDb/_WriteXML.py (write_place_obj): Always write ptitle.
...
* src/GrampsDb/_ReadXML.py: Prase file and ptitle tags.
* example/gramps/example.gramps: Update XML example.
svn: r5855
2006-01-29 21:39:36 +00:00
Don Allingham
dc1f60787c
* src/DisplayTabs.py: hook up event ref editor
...
svn: r5854
2006-01-29 05:53:17 +00:00
Alex Roitman
8c39741dae
* doc/grampsxml.dtd: Events preceed people.
...
* doc/grampsxml.rng: Events preceed people.
* src/GrampsDb/_WriteXML.py: Events preceed people.
* src/GrampsDb/_ReadXML.py: Parse old and new style events, old
witnesses, new eventrefs.
svn: r5853
2006-01-29 05:12:01 +00:00
Alex Roitman
dbdd8fe0e6
* src/GnomeMime.py: Import neede modules.
...
svn: r5852
2006-01-29 04:53:08 +00:00
Don Allingham
dfcdcab183
* src/DisplayTabs.py: add SourceRefModel, NameEmbedList,
...
AddrEmbedList
* src/EditPerson.py: Use new EmbedLists
* src/ViewManager.py: set max value on set_fraction
* src/edit_person.glade: remove old lists
* src/GrampsDb/_ReadGedcom.py: fix types
svn: r5850
2006-01-29 04:30:16 +00:00
Don Allingham
698ba24d11
* src/DisplayTabs.py: add SourceRefModel
...
* src/EditFamily.py: fix variable names
svn: r5849
2006-01-28 20:38:03 +00:00
Don Allingham
01041620c5
* src/GrampsDb/_GrampsBSDDB.py: qualify strxfrm
...
svn: r5848
2006-01-28 19:32:09 +00:00
Alex Roitman
52ba278ea1
* src/GrampsDb/_GrampsBSDDB.py: Typos.
...
* src/GrampsDb/_WriteXML.py: Minor corrections.
* doc/grampsxml.rng: Updates.
* example/gramps/example.gramps: New XML example.
svn: r5847
2006-01-28 04:23:37 +00:00
Alex Roitman
6104ff1053
* doc/grampsxml.rng: Update to reflect new XML.
...
svn: r5846
2006-01-28 01:05:04 +00:00
Alex Roitman
d5c04162a2
* doc/grampsxml.dtd: Update to reflect new XML.
...
* src/GrampsDb/_ReadGedcom.py (parse_repo_ref_caln): Properly set
media type.
* src/GrampsDb/_WriteXML.py: More XML updates.
svn: r5845
2006-01-28 00:43:27 +00:00
Alex Roitman
9b90eeb365
* src/GrampsDb/_ReadGedcom.py: Typo.
...
* src/GrampsDb/_GrampsBSDDB.py: Correct duplicate event IDs on upgrade.
* src/GrampsDb/_WriteXML.py: More XML updates.
svn: r5844
2006-01-27 20:38:33 +00:00
Don Allingham
3b1f96013a
* src/GrampsDb/_ReadGedcomp.py: preselect gramps ids for events
...
svn: r5843
2006-01-27 18:53:22 +00:00
Alex Roitman
25c2210169
* src/GrampsDb/_ConstXML.py: More XML export fixes.
...
* src/GrampsDb/_GrampsBSDDB.py: More XML export fixes.
* src/GrampsDb/_GrampsDbBase.py: More XML export fixes.
* src/GrampsDb/_GrampsInMemDB.py: More XML export fixes.
* src/GrampsDb/_WriteXML.py: More XML export fixes.
svn: r5842
2006-01-27 06:54:35 +00:00
Don Allingham
e71ae9e24e
* src/GrampsDb/_ReadGedcom.py: fix repeated translation call
...
svn: r5841
2006-01-27 05:01:48 +00:00
Alex Roitman
bad0627976
* src/GrampsDb/_WriteXML.py: Handle some of new XML.
...
svn: r5840
2006-01-27 02:13:17 +00:00
Alex Roitman
607d14e942
* src/GrampsDb/_ConstXML.py: Add new file.
...
* src/GrampsDb/Makefile.am: Ship new file.
* src/GrampsDb/_GrampsBSDDB.py: Convert family and parent family
relations from integer to tuple on upgrade.
* src/GrampsDb/_WriteGedcom.py: Convert from tuple to string.
svn: r5839
2006-01-26 22:58:49 +00:00
Don Allingham
33360a9a7f
* src/DisplayModels.py: optimization
...
* src/DisplayTabs.py: improved docs
* src/ViewManger.py: remove import_tool_callback
svn: r5838
2006-01-26 22:31:34 +00:00
Alex Roitman
f958ac04cf
'generic' for the namespace argument; Remove unneeded import.
...
svn: r5837
2006-01-26 19:49:40 +00:00
Alex Roitman
df11430fc2
* src/GenericFilters.py (get_filters): Use default value of
...
'generic' for the namespace argument.
svn: r5836
2006-01-26 19:47:42 +00:00
Alex Roitman
5152e29d9c
* src/GrampsDb/_GrampsBSDDB.py: Add proper upgrade path from
...
within load.
svn: r5833
2006-01-25 21:06:23 +00:00
Don Allingham
3f1c047124
* src/DisplayTabs.py: use idle_loop to load data for source
...
backreferences
* src/EditSource.py: close the BackReferences tab to turn off the
idle loop if still active
* src/GrampsDb/_GrampsBSDDB.py: close secondary indexes before primary
svn: r5829
2006-01-25 17:59:22 +00:00
Don Allingham
086b1f5e17
* src/DisplayTabs.py: SourceRef tab
...
* src/EditSource.py: New source ref dialog
* src/grampsl.glade: New source ref dialog
* src/GrampsDb/_GedTokens.py: repository tokens
* src/GrampsDb/_ReadGedcom.py: repository support
svn: r5828
2006-01-25 05:07:10 +00:00
Alex Roitman
4f5f5df408
* src/GrampsDb/_GrampsBSDDB.py (load): Set max locks and objects
...
to 25000; Add DB_RECOVER flag to the environment.
svn: r5827
2006-01-25 00:03:31 +00:00
Don Allingham
c0aeb95246
* src/DisplayModels.py: Fix column handling for repositories
...
* src/RepositoryView.py: Columns for repositories
* src/GrampsDb/_GrampsDbBase.py: default columns settings for repositories
* src/GrampsDb/_ReadGedcom.py: Import repository information
* src/RelLib/_Event.py: check Event type values
svn: r5826
2006-01-24 21:09:34 +00:00
Don Allingham
e4e6e2e7de
* src/DisplayTabs.py: Add source ref model/tab
...
* src/PeopleModel.py: specify handle column
* src/PersonView.py: fix selection column
* src/EditFamily.py: remove icon in father/mother column, add source tab
svn: r5825
2006-01-24 04:13:21 +00:00
Don Allingham
d2092f04d7
* src/DisplayState.py: Warning log handler, add timeout handler
...
svn: r5824
2006-01-23 22:36:34 +00:00
Don Allingham
4b01a84b63
* src/DisplayState.py: Warning log handler
...
* src/EditFamily.py: remove icon in father/mother column
* src/EditPerson.py: remove commented out code
* src/GrampsWidgets.py: add WarnButton
* src/ViewManager.py: use WarnButton in the status bar
* src/GrampsDb/_GedTokens.py: Add HEAD
* src/GrampsDb/_ReadGedcom.py: New min-lexical analyzer
svn: r5823
2006-01-23 21:48:34 +00:00
Don Allingham
e67691eba7
* src/DisplayState.py: add info button
...
* src/ViewManager.py: add info button
* src/GrampsWidgets.py: add optional size to icon button
svn: r5822
2006-01-23 04:09:20 +00:00
Don Allingham
b275006372
* src/GrampsDb/_ReadGedcom.py: fix event handling, fix skip_record
...
svn: r5821
2006-01-23 01:55:29 +00:00
Don Allingham
5a04ba7350
* src/Makefile.am: remove PeopleView.py
...
* src/PeopleView.py: removed, replaced by PersonView
* src/PersonView.py: set ellipsize property
* src/GrampsDb/_ReadGedcom.py: fix event handling
svn: r5820
2006-01-23 01:27:46 +00:00
Don Allingham
ecd05e4e79
* src/PeopleModel.py: fix sorting of subnames
...
* src/Utils.py: fix GEDCOM mappings
* src/GrampsDb/_ReadGedcom.py: More updates, bring up to the new RelLib
svn: r5816
2006-01-22 02:06:46 +00:00
Alex Roitman
61a061e930
* src/ViewManager.py (pulse_progressbar): Print percentage text;
...
Set cursor to WATCH on open and import.
svn: r5815
2006-01-21 20:55:06 +00:00
Don Allingham
72afadb1ff
* src/PageView.py: remove debug statements
...
* src/ViewManager.py: check for existing action group before removing
svn: r5814
2006-01-21 05:05:25 +00:00
Alex Roitman
868b662213
* src/GrampsDb/_GrampsDbBase.py: Move _update_reference_map into
...
_commite_base.
* src/GrampsDb/_GrampsBSDDB.py: Move _update_reference_map into
_commite_base.
svn: r5811
2006-01-20 21:52:26 +00:00
Don Allingham
ee7ad60fa8
* src/GenericFilter.py: implement short-circuit if only rule is
...
Everyone
* src/NameDisplay.py: optimization
* src/PeopleModel.py: optimization of data building
svn: r5810
2006-01-20 21:43:40 +00:00
Don Allingham
6df41590dd
* src/GrampsDb/_GrampsBSDDB.py: remove function call in find_surname
...
svn: r5809
2006-01-20 20:23:38 +00:00
Alex Roitman
d03d8273a9
* src/GrampsDb/_GrampsBSDDB.py (transaction_begin,
...
transaction_commit): disable secondary index removal/rebuilding
due to bugs in bsddb; (_update_reference_map): explicitly check
for addition versus update.
svn: r5808
2006-01-20 19:23:42 +00:00
Don Allingham
c7a48305fd
* src/PageView.py: add ellipsize, better dirty/clean management,
...
set fixed column width and fixed height
* src/GrampsDb/_GrampsDbBase.py: handle default column sizes
svn: r5807
2006-01-20 18:18:03 +00:00
Richard Taylor
9ed1b57ce5
added automake stuff
...
svn: r5806
2006-01-20 16:39:58 +00:00
Richard Taylor
1e82885901
added header to Objectselector
...
svn: r5805
2006-01-20 16:31:25 +00:00
Richard Taylor
e6b645cd2b
integrated object selector into edit family
...
svn: r5804
2006-01-20 10:30:35 +00:00
Don Allingham
24e095c818
* src/DisplayModels.py: use dirty flag to only draw when requested
...
* src/PageView.py: use dirty flag to only draw when requested
* src/PeopleView.py: use dirty flag to only draw when requested
* src/PeopleModel.py: provide simple caching
* src/ViewManager.py: control dirty flags
svn: r5803
2006-01-20 05:33:38 +00:00
Richard Taylor
37239cd822
working filters in Person view
...
svn: r5802
2006-01-19 21:13:00 +00:00
Alex Roitman
6d46005a71
* src/plugins/ChangeNames.py (on_ok_clicked): Properly set batch
...
transaction.
* src/GrampsDb/_GrampsDbBase.py (transaction_begin): Add batch
argument; (set_batch): Remove method.
svn: r5800
2006-01-19 18:18:55 +00:00
Richard Taylor
568ba555b1
ground work for filters
...
svn: r5799
2006-01-19 16:52:29 +00:00
Alex Roitman
679d900a66
* src/GrampsDb/_GrampsBSDDB.py (transaction_begin): Disconnect
...
unneeded secondary indices; (transaction_commit): Create new
secondary indices to replace the ones removed.
svn: r5798
2006-01-19 16:30:45 +00:00
Richard Taylor
b8bf7b79dc
added new button for person view.
...
svn: r5797
2006-01-19 16:03:09 +00:00
Alex Roitman
85451fb764
* src/GrampsDb/_ReadGrdb.py (importData): Properly set batch
...
transaction.
* src/plugins/Check.py: Properly set batch transaction.
* src/plugins/ImportGeneWeb.py: Properly set batch transaction.
* src/plugins/ImportvCard.py: Properly set batch transaction.
* src/plugins/TestCaseGenerator.py: Properly set batch transaction.
svn: r5796
2006-01-19 04:30:40 +00:00
Don Allingham
2c2bcaf04f
* src/GrampsDb/_ReadGedcom.py: fix MARNM
...
svn: r5795
2006-01-19 04:25:36 +00:00
Alex Roitman
5b0cd6fe27
* src/GrampsDb/_ReadXML.py (parse): Properly set batch transaction.
...
svn: r5794
2006-01-19 04:18:12 +00:00
Don Allingham
f7585d2e1c
* src/GrampsWidgets.py: edit label for column header
...
svn: r5792
2006-01-19 02:06:27 +00:00
Don Allingham
d3e381faca
* src/EditFamily.py: monitor for changed people and update if needed,
...
CellRendererCombo for child relations
svn: r5791
2006-01-18 22:33:27 +00:00
Alex Roitman
8fbe67e6b0
* src/GrampsDb/_GrampsBSDDB.py: upgrade from gramps20.
...
svn: r5790
2006-01-18 22:02:24 +00:00
Alex Roitman
e22e5cf09a
* src/GrampsDb/_GrampsBSDDB.py (rebuild_secondary): Proper
...
rebuild; convert surnames secondary index to DUPSORTed BTREE.
svn: r5789
2006-01-18 21:00:02 +00:00
Alex Roitman
f8ee1159db
* src/GrampsDb/_GrampsBSDDB.py (rebuild_secondary): Proper rebuild.
...
svn: r5788
2006-01-18 20:37:15 +00:00
Don Allingham
6f89860046
* src/DisplayTabs.py: mediatab improvements
...
* src/EditFamily.py: monitor for changed people and update if needed.
svn: r5787
2006-01-18 19:36:23 +00:00
Alex Roitman
a2674e2607
* src/GrampsDb/_GrampsBSDDB.py (load): Use BTREE for
...
reference_map; sort reference_map_referenced_map index.
* src/GrampsDb/_ReadGedcom.py (parse_record): Restore add def_src.
svn: r5786
2006-01-18 16:51:06 +00:00