Commit Graph

2429 Commits

Author SHA1 Message Date
Don Allingham
b63f2ab86d remove expanduser
svn: r6219
2006-03-29 04:24:39 +00:00
Don Allingham
b2ea3cfaec remove expanduser
svn: r6218
2006-03-29 04:11:17 +00:00
Don Allingham
e2100245d4 remove convert dependency
svn: r6217
2006-03-29 03:21:29 +00:00
Brian Matherly
4761c816c5 Make the Family Group Report work. Eliminiate the use of depricated functions.
svn: r6216
2006-03-29 02:35:19 +00:00
Brian Matherly
ae7296cb25 Use filename instead of URI for XML parser (works on Windows and Linux)
svn: r6215
2006-03-29 02:25:04 +00:00
Don Allingham
9dd96871ff default application selection
svn: r6214
2006-03-28 20:11:48 +00:00
Martin Hawlisch
3b927c9db0 * src/DataViews/_PedigreeView.py (_PersonWidget_base): Use other name for the drag_begin callback to not conflict with a gtk.Widget internal method. The DnD icon works now.
svn: r6213
2006-03-27 08:07:57 +00:00
Don Allingham
414123d496 set drag and drop icon
svn: r6212
2006-03-27 05:06:10 +00:00
Martin Hawlisch
b956c5bc39 * src/DataViews/_PedigreeView.py: Open FamilyEditor to add missing parents
svn: r6210
2006-03-25 14:23:51 +00:00
Martin Hawlisch
d539636129 * src/DataViews/_PedigreeView.py: Add DnD support to the person boxes (a person can now be dragged to the ScratshPad or to a text-editor); Menu entry to copy person data (rendered as text) into clipboard
svn: r6209
2006-03-25 13:36:05 +00:00
Don Allingham
e9e42bcf75 Handle single parent families on add parent switch
svn: r6207
2006-03-25 03:47:47 +00:00
Don Allingham
f2899fb596 added repository reference editor
svn: r6206
2006-03-25 03:07:20 +00:00
Don Allingham
792362fcc2 handle add parent family switching
svn: r6203
2006-03-24 04:04:24 +00:00
Don Allingham
aa21d5477e unknown parent label on FamilyViwe
svn: r6201
2006-03-23 21:51:42 +00:00
Don Allingham
ab84fdd08c fix arglist
svn: r6199
2006-03-23 18:31:56 +00:00
Martin Hawlisch
771b6c1c02 Support for DnD of alternate locations of a place
svn: r6198
2006-03-23 16:41:51 +00:00
Brian Matherly
b2573566c1 Filter double drag and drops in Windows.
svn: r6197
2006-03-23 06:10:45 +00:00
Don Allingham
9f60846eef repository drag-n-drop
svn: r6196
2006-03-23 05:19:38 +00:00
Don Allingham
621d8757ee scratchpad/drag-n-drop fixes
svn: r6194
2006-03-22 23:03:57 +00:00
Martin Hawlisch
dcf4c6f2a2 Add wrappers for displaying the tuple types to unify their usage.
svn: r6193
2006-03-22 21:19:32 +00:00
Don Allingham
c7876be372 family warn dialog
svn: r6192
2006-03-22 03:57:51 +00:00
Don Allingham
7ef16d5c66 editor fixes
svn: r6191
2006-03-21 22:12:39 +00:00
Alex Roitman
add464937d * various: rename doc to data; move most of src/data to data.
svn: r6187
2006-03-21 18:56:27 +00:00
Don Allingham
be2bb20020 .ini settings
svn: r6186
2006-03-21 06:33:59 +00:00
Don Allingham
7fdb8314d9 lds specific data moved
svn: r6185
2006-03-21 06:23:45 +00:00
Brian Matherly
5e730fa3e5 os independent path
svn: r6184
2006-03-21 03:01:50 +00:00
Don Allingham
3ffa47bfb1 update data properly
svn: r6183
2006-03-21 02:39:01 +00:00
Don Allingham
f3b8387c06 use db.THREAD
svn: r6182
2006-03-21 00:05:07 +00:00
Don Allingham
6c198f1f5c performance enhancements
svn: r6179
2006-03-19 23:34:23 +00:00
Don Allingham
c4fcd98fdc object sharing support
svn: r6178
2006-03-19 06:49:03 +00:00
Alex Roitman
0b3ce97a46 * configure.in: Remove scrollkeeper checks and other unused statements
svn: r6177
2006-03-19 06:03:04 +00:00
Don Allingham
1b2250aa41 removed RelImage
svn: r6176
2006-03-19 03:50:47 +00:00
Don Allingham
a08d178f1b speed improvements until object selector is functional
svn: r6175
2006-03-19 03:25:31 +00:00
Alex Roitman
94f2cc074a * intltool-*.in: remove from svn.
svn: r6172
2006-03-18 07:47:53 +00:00
Don Allingham
06210f392c use SelectPerson for father instead of Object Selector
svn: r6171
2006-03-18 05:47:39 +00:00
Don Allingham
84648709d4 removal of families
svn: r6169
2006-03-18 01:30:23 +00:00
Alex Roitman
1c81540f6b * help: add new dir with new gnome-doc-utils infrastructure.
svn: r6163
2006-03-17 20:41:14 +00:00
Alex Roitman
08e916861f * configure.in: Multiple improvements.
* config.guess, config.sub: newer versions.
	* autogen.sh: Better gnome-common message.
	* src/TipOfDay.py (TipParser): skip messages with xml:lang
	attribute, because these are already supplied in the po file.


svn: r6162
2006-03-17 19:15:16 +00:00
Alex Roitman
c064cb8185 * various: Use TransUtils.sgettext instead of gettext.gettext to work out stripping the context.
svn: r6155
2006-03-16 20:24:27 +00:00
Alex Roitman
08649863ec Remove py-compile
svn: r6153
2006-03-16 19:09:16 +00:00
Alex Roitman
ddc69b9e9b Update
svn: r6152
2006-03-16 19:02:45 +00:00
Alex Roitman
c1a949cae5 * various: intltoolize and gettextize properly.
svn: r6144
2006-03-15 23:58:23 +00:00
Alex Roitman
edb238694b * src/GrampsDb/_GrampsBSDDB.py (update_empty,update_real): Add
functions for updating the display;
	(gramps_upgrade): Set up display updaters;
	(gramps_upgrade_9): Reflect progess of db upgrade.
	(low_level_9): Return status and length of the db.
	(_table_low_level_9): Return table length if successful.
	* src/ViewManager.py (post_load): Remove database upgrade, since
	db.load takes care of upgrade.


svn: r6143
2006-03-14 19:49:34 +00:00
Alex Roitman
1d5b63aaca * src/RelLib/_NoteBase.py (NoteBase.serialize): Work out the case of note being None -- leftover from gramps20.
svn: r6142
2006-03-14 03:46:54 +00:00
Alex Roitman
6d43f42860 * src/PluginUtils/_ReportOptions.py: Use correct namespace for the base clases from _Options module.
svn: r6139
2006-03-12 04:13:23 +00:00
Alex Roitman
ea5b865c64 Remove dependency on load_plugins
svn: r6136
2006-03-11 04:58:58 +00:00
Don Allingham
f2f376765b fix map view startup traceback
svn: r6135
2006-03-11 04:42:49 +00:00
Alex Roitman
199a9b7616 * src/Plugins.py, src/PluginMgr.py: Move to ReportUtils.
svn: r6133
2006-03-11 01:12:06 +00:00
Don Allingham
4521959d93 add remove function in FamilyView
svn: r6132
2006-03-10 22:57:22 +00:00
Don Allingham
6ea836078d add remove function in FamilyView
svn: r6131
2006-03-10 22:38:45 +00:00
Don Allingham
7eaa8084d9 icon fixes
svn: r6129
2006-03-10 21:05:00 +00:00
Don Allingham
b2e95112e1 MediaView integrity after add
svn: r6127
2006-03-10 04:29:08 +00:00
Don Allingham
d064e0bb8b Fix adding of places in internal map
svn: r6126
2006-03-10 03:26:21 +00:00
Don Allingham
ff4dcf2c9e commit places properly
svn: r6125
2006-03-10 02:46:19 +00:00
Don Allingham
e7f06df78e add/delete families better
svn: r6124
2006-03-09 22:37:19 +00:00
Alex Roitman
7784228360 * PluginUtils: Add module with Report and Tool utils.
svn: r6121
2006-03-09 20:49:29 +00:00
Don Allingham
628457e159 Add option to suppress tooltips in trees
svn: r6111
2006-03-09 19:07:13 +00:00
Don Allingham
b6a023b6a1 format fixes
svn: r6108
2006-03-09 03:07:41 +00:00
Don Allingham
e5847754d1 family selection
svn: r6107
2006-03-09 01:55:03 +00:00
Alex Roitman
0dc5b7dc6a Update
svn: r6105
2006-03-08 22:01:08 +00:00
Alex Roitman
3af54ec416 * src/GramspDb/_GrampsBSDDB.py: Minor fixes.
svn: r6104
2006-03-08 17:44:29 +00:00
Don Allingham
de2a6f4d1e make txn optional
svn: r6102
2006-03-08 17:22:45 +00:00
Don Allingham
e5375d15fc remove WindowsUtils
svn: r6101
2006-03-08 05:22:58 +00:00
Alex Roitman
86dfa9f69f * src/DateHadnler: Move all date parsers/displayers into new directory
svn: r6097
2006-03-08 00:55:04 +00:00
Don Allingham
208bd08bc1 improve family editor
svn: r6096
2006-03-07 23:49:26 +00:00
Don Allingham
62c98e70aa initialize families properly
svn: r6093
2006-03-07 03:35:46 +00:00
Don Allingham
4115e92d1c fix parameters
svn: r6092
2006-03-06 22:30:17 +00:00
Don Allingham
84b995dd6a family drag-n-drop support
svn: r6091
2006-03-06 20:59:00 +00:00
Don Allingham
913cdc4095 event ref commit
svn: r6090
2006-03-06 05:43:47 +00:00
Don Allingham
e93bff1a40 gender selection
svn: r6088
2006-03-06 05:29:24 +00:00
Don Allingham
35134198cf fix focus out event
svn: r6087
2006-03-06 05:22:45 +00:00
Don Allingham
f036c5a44b column editing
svn: r6085
2006-03-05 23:39:20 +00:00
Don Allingham
0f450408b6 image changes for lock icons
svn: r6084
2006-03-05 19:06:40 +00:00
Don Allingham
fcdf07ccdd new logging scheme
svn: r6080
2006-03-05 04:31:24 +00:00
Don Allingham
5ce0ba4f12 relocate glade files
svn: r6075
2006-03-04 22:53:46 +00:00
Don Allingham
743830672b set version number for svn
svn: r6073
2006-03-04 16:26:31 +00:00
Don Allingham
e5164dce32 module renames
svn: r6072
2006-03-04 16:08:52 +00:00
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
Don Allingham
6daee532d9 * src/DbPrompter.py: removed
* src/gramps.glade: delete unused stuff


svn: r5785
2006-01-18 05:16:10 +00:00
Don Allingham
4c669cba0d * src/ViewManger.py: progressbar callbacks
* src/GrampsDb/_GrampsBSDDB.py: progressbar callbacks
* src/GrampsDb/_GrampsGEDDB.py: progressbar callbacks
* src/GrampsDb/_ReadXML.py: progressbar callbacks
* src/GrampsDb/_ReadGedcom.py: progressbar callbacks


svn: r5783
2006-01-18 04:08:28 +00:00
Alex Roitman
37ee69aabe * src/GrampsDb/_ReadGedcom.py (parse_record): Do not add def_src
to person/family. Need to optimize the performance first.


svn: r5782
2006-01-17 21:50:39 +00:00
Alex Roitman
fdf1118e27 * src/GrampsDb/_GrampsDbBase.py: Set batch transaction property in
the constructor.
* src/GrampsDb/_GrampsBSDDB.py: Back to durable transactions, set
TXN_NOSYNC flag only on batch transactions.


svn: r5781
2006-01-17 21:17:14 +00:00
Richard Taylor
f7a15cf601 make ref update optional
svn: r5780
2006-01-17 21:10:20 +00:00
Alex Roitman
a01b665403 * src/GrampsDb/_GrampsDbBase.py (redo): Properly abort redo action
when no redo is available.


svn: r5778
2006-01-17 19:43:23 +00:00
Martin Hawlisch
7b1a104e2f * src/EventView.py (ui_definition): Add filter menu entry
* src/FamilyList.py (ui_definition): Add filter menu entry
* src/PlaceView.py (ui_definition): Add filter menu entry
* src/RepositoryView.py (ui_definition): Add filter menu entry
* src/SourceView.py (ui_definition): Add filter menu entry
* src/GenericFilter.py: Adding generic filter widget to be used in all list views; Custom filter rules now get prefixed by primary object type
* src/PageView.py: Add filter control to all list views
* src/PersonView.py: Filter handling moved to GenericFiler


svn: r5777
2006-01-17 15:11:15 +00:00
Richard Taylor
69388f8f2a UI improvements
svn: r5775
2006-01-17 14:54:46 +00:00
Richard Taylor
e41bf2831e selection and preview of person and family
svn: r5774
2006-01-17 13:43:29 +00:00
Richard Taylor
c6329f948c basic object selection now working
svn: r5773
2006-01-17 08:38:34 +00:00
Don Allingham
06731ccf4f * src/AddMedia.py: glade path
* src/AddrEdit.py: glade path
* src/AttrEdit.py: glade path
* src/DateEdit.py: glade path
* src/EventEdit.py: glade path
* src/GrampsCfg.py: glade path
* src/ImageSelect.py: glade path
* src/Sources.py: glade path
* src/StyleEditor.py: glade path
* src/const.py.in: glade path
* src/Marriage.py: glade path
* src/unlocked.png: added
* src/GrampsDb/_ReadGedcom.py: optimize UI updates, add test code


svn: r5772
2006-01-17 05:03:30 +00:00
Don Allingham
a88ebca896 * src/gramps.glade: remove lock border
* src/GrampsDb/_ReadGedcom.py: optimize UI updates


svn: r5769
2006-01-17 03:25:39 +00:00
Alex Roitman
c13b57ca18 transaction; set db.DB_TXN_NOSYNC flag on an environment;
Remove lock limits; set db.DB_LOG_AUTOREMOVE flag; add checkpoints
on: open, batch transaction start and end; close.
* src/GrampsDb/_GrampsDbBase.py (change_database, no_database):
close existing db before changing to the new one.


svn: r5768
2006-01-16 22:49:49 +00:00
Alex Roitman
cc83b089cf * src/ViewManager: Remov unused code.
* src/GrampsDb/_GrampsBSDDB.py: Do small txn during batch
transaction; set db.DB_TXN_NOSYNC flag on an environment.


svn: r5767
2006-01-16 22:07:24 +00:00
Martin Hawlisch
f9b6172435 * src/PedView.py: Edit on doublecklick; only right click gives optionsmenu; Colors similar to tango icons
svn: r5766
2006-01-16 21:53:56 +00:00
Don Allingham
1070ca5c17 * src/gramps.glade: reposition add/delete buttons, remove separator
between parents and relationship info


svn: r5765
2006-01-16 21:10:53 +00:00
Don Allingham
f895c54481 * src/gramps.glade: reposition add/delete buttons
svn: r5764
2006-01-16 20:49:59 +00:00
Richard Taylor
cea14516a8 refactored object frame in object selector
svn: r5760
2006-01-16 13:32:59 +00:00
Don Allingham
5bd4665b21 * src/DisplayTabs.py: add button control class
* src/EditFamily.py: add icons


svn: r5755
2006-01-15 04:49:13 +00:00
Don Allingham
b84af7731f * src/DisplayTabs.py: fix double click
* src/EditFamily.py: fix double click
* src/GrampsWidgets.py: add SimpleButton
* src/ToolTips.py: Family tool tip


svn: r5754
2006-01-15 01:26:47 +00:00
Richard Taylor
5b8a5e4154 futher development of ObjectSelector
svn: r5753
2006-01-14 22:21:56 +00:00
Don Allingham
84394c8805 * src/DisplayTabs.py: fix scrolled window
* src/EditFamily.py: delete button
* src/gramps.glade: clean up the window.


svn: r5752
2006-01-14 18:02:07 +00:00
Don Allingham
8f43528b12 * src/const.py.in: remove unused variables
* src/gramps.glade: remove unused dialogs


svn: r5751
2006-01-14 05:27:48 +00:00
Don Allingham
0e48f23eb2 * src/DisplayTabs.py: Move event list
* src/EditFamily.py: add editing of people, add relationship type
* src/EventEdit.py: move event list
* src/FamilyView.py: remove common widgets
* src/gramps.glade: EditFamily changes
* src/GrampsWidgets.py: Common widgets


svn: r5749
2006-01-13 22:28:54 +00:00
Alex Roitman
58d66f6708 * src/ViewManager.py: Proper label change for Undo/Redo.
svn: r5748
2006-01-13 20:53:10 +00:00
Richard Taylor
244e17066a added int edit
svn: r5747
2006-01-13 20:10:56 +00:00
Martin Hawlisch
586422eef0 * src/PedView.py: Use the same font as used in the gtk style
svn: r5745
2006-01-13 16:41:42 +00:00
Richard Taylor
2892a0e464 layout improvements
svn: r5744
2006-01-13 15:28:23 +00:00
Don Allingham
480bacfa5d * src/DisplayTabs.py: sub tabs for edit dialogs
* src/EditFamily.py: family editor integration
* src/gramps.glade: family editor changes


svn: r5732
2006-01-13 00:45:22 +00:00
Alex Roitman
f16b7b1ec3 Update
svn: r5731
2006-01-12 23:39:54 +00:00
Alex Roitman
bc05ec703a Cut long lines
svn: r5730
2006-01-12 23:34:33 +00:00
Richard Taylor
ab51961c95 initial outline of object selector
svn: r5729
2006-01-12 22:09:42 +00:00
Alex Roitman
f213a120a4 * src/ViewManager.py: Connect undo handler to the menu item.
* src/GrampsDb/_GrampsBSDDB.py: Place reference_map under
transaction management.
* src/GrampsDb/_GrampsDbBase.py: reference_map changes.


svn: r5728
2006-01-12 22:02:58 +00:00
Alex Roitman
c01010fc81 * src/Assistant.py: Many changes.
* src/Exporter.py: Work with new Assistant.
* src/StartupDialog.py: Work with new Assistant.
* src/GrampsLogger/_ErrorReportAssistant.py: Work with new Assistant.
* src/gedcomexport.glade, src/gedcomimport.glade: Move to GrampsDb.


svn: r5725
2006-01-12 06:09:14 +00:00
Don Allingham
696797281c * src/FamilyList.py: call family editor
* src/StartupDialog.py: pwm in try/except
* src/gramps.py: don't fail on missing SIG_CHILD


svn: r5724
2006-01-12 05:40:44 +00:00
Don Allingham
d0905989e8 * src/EditPerson.py: removed unused variable
* src/EditFamily.py: start of the family editor
* src/FamilyView.py: call family editor
* src/gramps.glade: family editor changes


svn: r5718
2006-01-12 00:06:33 +00:00
Martin Hawlisch
312696477f * src/PedView.py: Now using cairo :-) Changed menu handling
svn: r5714
2006-01-11 14:41:07 +00:00
Don Allingham
130fea4a89 * src/FamilyView.py: fix title
svn: r5712
2006-01-11 05:13:09 +00:00
Don Allingham
8aa784c76f * src/MapView.py: fix title
svn: r5711
2006-01-11 04:57:31 +00:00
Alex Roitman
8ccf0cedbd * src/flist.svg: Add new icon.
* src/gramps_main.py: Use new icon.


svn: r5710
2006-01-11 04:47:09 +00:00
Alex Roitman
4637e596cd * src/Assistant.py: More changes, still needs work.
* src/Exporter.py: More changes, still needs work.


svn: r5709
2006-01-11 01:26:17 +00:00
Alex Roitman
df94a019fe Update
svn: r5708
2006-01-11 00:35:55 +00:00
Don Allingham
c80d13f750 * src/FamilyView.py: add/edit/delete buttons for families added,
add support for no families or parents
* src/GrampsDb/_GrampsBSDDB.py: txn handling for get_handles
* src/GrampsDb/_GrampsDbBase.py: txn handling for get_handles
* src/GrampsDb/_GrampsGEDDB.py: txn handling for get_handles
* src/GrampsDb/_GrampsXMLDb.py: txn handling for get_handles


svn: r5707
2006-01-10 22:28:09 +00:00
Don Allingham
3e12c752d8 * src/FamilyView.py: add/edit/delete buttons for families added
svn: r5705
2006-01-10 19:10:39 +00:00
Alex Roitman
a9d54b432b * src/Assistant.py: Cosmeti c changes.
* src/Exporter.py: Start converting to Assistant.
* src/ViewManager.py: Add handler for Export; add hot keys for
import and export.


svn: r5704
2006-01-10 17:09:40 +00:00
Don Allingham
c5f2adb858 * relation.svg: Relationship view icon
* media.svg: Relationship view icon
* src/ViewManager.py: no background color for sidebar
* src/gramps_main.py: new icons


svn: r5703
2006-01-09 21:40:23 +00:00
Richard Taylor
5a582d86ab replace DisplayTrace with logger
svn: r5702
2006-01-09 11:28:44 +00:00
Richard Taylor
986323320d minor wording changes.
svn: r5701
2006-01-09 10:53:50 +00:00
Richard Taylor
e49f591535 polish error report UI
svn: r5700
2006-01-09 10:21:24 +00:00
Don Allingham
6c38b40b17 * src/person.svg: new icon
* src/gramps_main.py: add person.svg


svn: r5699
2006-01-09 03:30:22 +00:00
Don Allingham
0feddb7579 * src/gramps_main.py: Change "Family" title to "Relationships"
svn: r5698
2006-01-09 02:16:46 +00:00
Don Allingham
f38901bc23 * src/DisplayModels.py: Fix sorting
* src/FamilyList.py: Fix sorting
* src/PageView.py: Fix sorting
* src/GrampsDb/_GrampsDbBase.py: set default column sorting order


svn: r5697
2006-01-09 00:54:04 +00:00
Richard Taylor
41e81a1034 dont show exception twice.
svn: r5696
2006-01-08 20:31:39 +00:00
Richard Taylor
c2195c1074 improvements to Assistant and ErrorReportAssistant.
svn: r5695
2006-01-08 15:19:46 +00:00
Don Allingham
19eeabe953 * src/FamilyList.py: new family list view
* src/DisplayModels.py: model for family list
* src/GrampsDb/_GrampsDbBase.py: column order for family view


svn: r5694
2006-01-08 05:44:19 +00:00
Don Allingham
35f731f15c * src/PageView.py: support for ctrl-j for jump to person by gramps id
* src/PersonView.py: support for ctrl-j for jump to person by gramps id


svn: r5693
2006-01-08 04:40:33 +00:00
Don Allingham
613125aa70 * src/ToolTips.py: fix spacing
* src/ViewManager.py: remember toolbar/sidebar status.


svn: r5692
2006-01-08 03:06:58 +00:00
Don Allingham
ce9dec4026 * src/FamilyView.py: fix gtk.Table's bizzare way of handling empty
columns that are spanned.


svn: r5691
2006-01-08 01:25:04 +00:00
Don Allingham
b5940e9243 * src/GrampsLogger/_ErrorView.py: make dialog more HIG compliant
svn: r5690
2006-01-07 18:54:13 +00:00
Don Allingham
636d0df973 * src/DisplayModels.py: don't access db maps directly
* src/PeopleModel.py: don't access db maps directly
* src/FamilyView.py: add gender symbol to primary person
* src/GrampsDb/_GrampsBSDDB.py: provide access functions to avoid
redirect map access
* src/GrampsDb/_GrampsDbBase.py: provide access functions to avoid
redirect map access
* src/GrampsDb/_ReadGedcom.py: don't access db maps directly


svn: r5689
2006-01-06 22:08:40 +00:00
Alex Roitman
3c0c535d4a * src/GrampsLogger/.cvsignore: Add to CVS.
* src/const.py.in: Add directory for the db environment.
* src/GrampsDb/_GrampsDbBase.py: Use new logging;
(get_number_of_repositories): add method; (_del_*): add
placeholder methods -- must be overriden in derived classes.
* src/GrampsDb/_GrampsBSDDB.py: Use new logging; Add txn attribute
to the database; (open_table): rename dbopen; (get_*_cursor): Pass
txn to cursor constructors; (load): Open environment with
transaction-capable flags, open tables with AUTO_COMMIT flag;
(rebuild): use txn; (_delete_primary_from_reference_map): Use txn;
(_update_reference_map): Use txn; (_del_*)L Use txn; (remove_*):
remove unneeded functions (already in DbBase);
(_get_obj_from_gramps_id): Use txn;
(_commit_base,_do_commit,_find_from_handle): Add and use txn;
(transaction_commit): create and commit txn; do not sync().


svn: r5682
2006-01-06 20:55:49 +00:00
Richard Taylor
7ba73376a0 converted Assistant to gobject and added signals
svn: r5681
2006-01-06 17:40:54 +00:00
Richard Taylor
c3b6a03856 integration of logging framework
svn: r5680
2006-01-06 15:23:28 +00:00
Richard Taylor
767b22bd17 added unittest for
ErrorReportAssistant


svn: r5679
2006-01-06 12:17:32 +00:00
Don Allingham
b83a468103 * src/GrampsGconfKeys.py: family view detail options
* src/GrampsIniKeys.py: family view detail options
* src/Navigation.py: fix overflow bug
* src/PageView.py: toggle initial value
fix gender mouseover, inclusion options
* src/data/gramps.schemas: new keys for family view detail


svn: r5678
2006-01-06 05:08:51 +00:00
Don Allingham
fe4ddb7100 * src/FamiyView.py: use gender markers, remove Family/Parents,
fix gender mouseover


svn: r5677
2006-01-05 23:23:55 +00:00
Don Allingham
bae8dee874 * src/FamiyView.py: use gender markers
svn: r5676
2006-01-05 23:00:59 +00:00
Richard Taylor
2941de0fb6 enabled rotate_handler output.
svn: r5674
2006-01-05 19:07:27 +00:00
Richard Taylor
7f56bd88c7 added initial logging framwork.
svn: r5673
2006-01-05 16:02:27 +00:00
Don Allingham
85da63c33b * src/FamilyView.py: Incorporate Steve Hall's identing ideas, general classes
* src/ViewManager.py: Open/OpenRecent MenuToolButton goodness :-), default icon


svn: r5671
2006-01-05 05:12:48 +00:00
Don Allingham
e0b4b2ce79 * src/DisplayView.py: Open/OpenRecent MenuToolButton goodness :-)
* src/ViewManager.py: Open/OpenRecent MenuToolButton goodness :-)


svn: r5670
2006-01-04 21:06:28 +00:00
Don Allingham
57706e08f6 * src/FamlyView.py: enable menu buttons, siblings
* src/PageView.py: move home function into this class
* src/PersonView.py: move home function out of this class


svn: r5669
2006-01-04 18:56:06 +00:00
Martin Hawlisch
2af34cfb23 * src/FamilyView.py: Handle active person == None
svn: r5668
2006-01-04 18:00:02 +00:00
Don Allingham
2590bed36f * src/FamilyView.py: fix place == None problem
svn: r5666
2006-01-04 16:42:39 +00:00
Don Allingham
aa27c0fe59 * src/FamilyView.py: provide hyper links
svn: r5664
2006-01-04 05:39:39 +00:00
Alex Roitman
4a4e310948 * src/DisplayState.py (push): Typo.
svn: r5662
2006-01-03 23:51:20 +00:00
Don Allingham
fedf882434 * src/FamilyView.py: new format
svn: r5658
2006-01-03 22:07:34 +00:00
Martin Hawlisch
1f2566446e * src/PedView.py: Dont use a black border for living people
svn: r5655
2006-01-02 22:11:19 +00:00
Martin Hawlisch
e82c2c2084 * src/ViewManager.py (post_load): Request interface rebuild after upgrading the database
svn: r5654
2006-01-02 16:00:05 +00:00
Martin Hawlisch
daafb5af19 * src/PedView.py: Show marriage data; optimized cell debugging
svn: r5653
2006-01-02 15:22:34 +00:00
Eero Tamminen
6fa83cede0 manpage fix
svn: r5652
2006-01-01 15:15:30 +00:00
Martin Hawlisch
84cf1f964d * src/PedView.py: Some pixel shifting; Tooltips for child relations; Sibling with childs bold
svn: r5648
2005-12-30 21:05:47 +00:00
Martin Hawlisch
d54b225e53 * src/plugins/TestcaseGenerator.py: Use new RelLib API
* src/GrampsDb/_GrampsBSDDB.py (_update_reference_map): Dont crash if no_longer_required_references dont exist in the database


svn: r5647
2005-12-30 15:56:21 +00:00
Martin Hawlisch
7cdfd4505e * src/PedView.py: Use ReportUtils to generate text; highlight selected person; enable Tooltips; Optionally show peoples images
svn: r5646
2005-12-30 14:12:24 +00:00
Martin Hawlisch
943c2001c9 * src/ReportUtils.py: Use new RelLib API
svn: r5645
2005-12-30 14:04:19 +00:00
Don Allingham
d9b54a0da5 * src/GrampsLocale.py: handle platform specific locale issues
* src/DateDisplay.py: use GrampsLocale
* src/DateParser.py: use GrampsLocale
* src/DisplayModels.py: use GrampsLocale
* src/Exporter.py: start conversion to Assistant
* src/RecentFiles.py: fcntl option for broken platforms
* src/StartupDialog.py: convert to Assistant
* src/ViewManager.py: remove debug statement
* src/RelLib/_PrimaryObject.py: use GrampsLocale
* src/plugins/Checkpoint.py: use GrampsLocale
* src/plugins/NavWebPage.py: use GrampsLocale


svn: r5644
2005-12-30 03:57:31 +00:00
Martin Hawlisch
ce6afcea45 * src/PedView.py: Use a DrawingArea for nicer person boxes
* src/GrampsDb/_GrampsDbBase.py (_update_reference_map): Sync parameters to other classes
* src/GrampsDb/_ReadXML.py (stop_event): Catch invalid event


svn: r5643
2005-12-29 22:34:18 +00:00
Don Allingham
3c353073ee * src/gramps_main.py: move gnome program init to gramps.py
* src/gramps.py: add gnome program init
* src/StartupDialog.py: use Assistant instead of gnome.ui.druid


svn: r5642
2005-12-29 20:33:19 +00:00
Don Allingham
597b0c8474 * src/Assistant.py: added
svn: r5641
2005-12-29 19:52:12 +00:00
Don Allingham
9eb8d4b069 * src/ArgHandler.py: remove DbPrompter dependency
* src/GrampsGconfKeys.py: Support for saving window size
* src/GrampsIniKeys.py: Support for saving window size
* src/GrampsKeys.py: more gracefully handling missing gconf
* src/Makefile.am: Fixed moved files
* src/Report.py: clean up
* src/ScratchPad.py: use GrampsDisplay instead of gnome.help_display
* src/StartupDialog.py: clean up
* src/ViewManager.py: save window size
* src/gramps_main.py: don't require gnome
* src/data/gramps.schemas: keys for saving window size


svn: r5640
2005-12-29 18:36:59 +00:00
Martin Hawlisch
41d5a71f35 * src/PedView.py: Added alternate version of the tree; Tree is now centered;
svn: r5639
2005-12-29 18:23:45 +00:00
Martin Hawlisch
f21a0c8fcb * src/PedView.py: Add new submenu showing people that share the same event. This for example lists witnesses.
svn: r5638
2005-12-29 18:09:06 +00:00
Don Allingham
e8cc3b5c0d * src/Makefile.am: add PythonMime and GnomeMime
svn: r5637
2005-12-28 23:00:33 +00:00
Don Allingham
9b4536ee72 * src/GnomeMime.py: GNOME based mime handling
* src/PythonMime.py: Python based mime handling
* src/AddMedia.py: gnome code isolation
* src/DisplayState.py: gnome code isolation
* src/EditPerson.py: gnome code isolation
* src/EditRepository.py: gnome code isolation
* src/GnomeMime.py: gnome code isolation
* src/GrampsDisplay.py: gnome code isolation
* src/GrampsMime.py: gnome code isolation
* src/ImageSelect.py: gnome code isolation
* src/ImgManip.py: gnome code isolation
* src/PluginMgr.py: toolbar/menu support
* src/Plugins.py: toolbar/menu support
* src/RepositoryRefEdit.py: gnome code isolation
* src/SelectObject.py: gnome code isolation
* src/Utils.py: gnome code isolation
* src/ViewManager.py: toolbar/menu support, gnome code isolation
* src/GrampsDb/_GrampsBSDDB.py: unified messaging
* src/GrampsDb/_ReadGedcom.py: unified messaging
* src/plugins/WriteFtree.py: gnome code isolation


svn: r5636
2005-12-28 22:58:26 +00:00
Don Allingham
fb6b3fe2d7 * src/Bookmarks.py: remove debugging statements
* src/DisplayState.py: remove extra rebuild request
* src/Plugins.py: start support of Report menu
* src/ViewManager.py: tie in report support


svn: r5634
2005-12-26 05:11:37 +00:00
Alex Roitman
2146726bc1 * src/EditPlace.py: Change arguments, use correct track.
* src/PlaceView.py: Call EditPlace with new arguments.
* src/Sources.py: Minor.


svn: r5633
2005-12-26 04:52:21 +00:00
Don Allingham
516230ce2d * src/Bookmarks.py: get bookmark menu working
* src/EditPlace.py: menu tracking


svn: r5632
2005-12-25 04:01:47 +00:00
Don Allingham
2d73317658 * src/DisplayState.py: recent file support
* src/ViewManager.py: recent file support

* src/DisplayState.py: recent file support
* src/EditPerson.py: Window management
* src/EditSource.py: Window management
* src/EventEdit.py: Window management
* src/ListBox.py: Window management
* src/Sources.py: Window management
* src/UrlEdit.py: Window management
* src/ViewManager.py: Window management


svn: r5631
2005-12-24 19:18:18 +00:00
Don Allingham
318def7c23 * DisplayState.py: recent file support
* EditPerson.py: Window management
* EditSource.py: Window management
* EventEdit.py: Window management
* ListBox.py: Window management
* Sources.py: Window management
* UrlEdit.py: Window management
* ViewManager.py: Window management


svn: r5629
2005-12-24 00:09:04 +00:00
Alex Roitman
4f96128b79 * doc/grampsxml.dtd: Describe new XML.
* doc/grampsxml.rng: Describe new XML.


svn: r5627
2005-12-23 21:32:55 +00:00
Alex Roitman
2ed1502dad * src/DisplayState.py: Simplify ID generation for UIManager.
* src/EditPerson.py: Use id(self) instead of self.
* src/EditPlace.py: Use id(self) instead of self.
* src/EditSource.py: Use id(self) instead of self.
* src/EventEdit.py: Use id(self) instead of self.


svn: r5625
2005-12-23 20:09:02 +00:00
Alex Roitman
d9a3675fa0 * src/EditPerson.py: Swap menu/submenu labels.
* src/EventEdit.py: Menu label fixes.


svn: r5624
2005-12-23 19:36:53 +00:00
Don Allingham
5f29bf2381 * src/AddrEdit.py: More window management
* src/AttrEdit.py: More window management
* src/DisplayState.py: added push_message
* src/EditPerson.py: More window management
* src/ListBox.py: More window management
* src/NameEdit.py: More window management
* src/Navigation.py: More window management
* src/PeopleModel.py: More window management
* src/PersonView.py: More window management
* src/ViewManager.py: better handling of ui and action groups


svn: r5623
2005-12-23 05:35:32 +00:00
Alex Roitman
8b903b7073 * src/ToolTips.py (PersonTip.get_tip): Use new birth_ref interface.
svn: r5622
2005-12-23 02:04:54 +00:00
Alex Roitman
13987a5dae * src/MediaView.py: Skip empty selections.
svn: r5621
2005-12-23 02:00:35 +00:00
Alex Roitman
914a1b0c75 * test/RunAllTests.py: Change header.
* src/EventEdit.py: Fix build_ methods.

* src/DisplayState.py: window management improvements


svn: r5620
2005-12-23 00:40:35 +00:00
Don Allingham
66556116d0 * src/EditPerson.py: window management improvements
* src/EditPlace.py: window management improvements
* src/EditSource.py: window management improvements
* src/EventEdit.py: window management improvements
* src/EventView.py: window management improvements
* src/ListBox.py: window management improvements
* src/NameEdit.py: window management improvements
* src/SourceView.py: window management improvements
* src/Sources.py: window management improvements


svn: r5618
2005-12-22 23:43:32 +00:00
Richard Taylor
37ac4abccd * src/ImageSelect.py: changed display_refs to use find_backlink_handles and updated
GlobalMediaProperties to use new UI model.
	* src/MediaView.py: changed call to GlobalMediaProperties to use new UI params.
	* src/Utils.py: added support for Gtk.labels to bold/unbold/temp label util funcs.


svn: r5617
2005-12-22 13:35:37 +00:00
Richard Taylor
e3d70bb4a2 * src/EditPlace.py: changed display_references to use find_backlink_handles
* src/EditRepository.py: modified to use  find_backlink_handles and fixed subtle bug
	* src/RelLib/_Source.py: added reporef_list to referent object lists so that backref
	are put in reference_map
	* test/GrampsDb/GrampsDbBase_Test.py: added unittest for source/reference backlinks
	* test/GrampsDb/GrampsDbTestBase.py: added unittest for source/reference backlinks


svn: r5616
2005-12-22 12:02:06 +00:00
Don Allingham
18e3e8c5cf * src/Bookmark.py: start of reimplementation
* src/PersonView.py: commit fixes


svn: r5615
2005-12-22 06:13:11 +00:00
Alex Roitman
c14e5e5dc6 * src/DisplayState.py: Work out parent_window, correct close method.
* src/EventEdit.py: Use parent_window; get rid of parent; remove
unused code.


svn: r5614
2005-12-22 06:08:33 +00:00
Don Allingham
60ac61c36a * src/GrampsDb/_GrampsBSDDB.py: refactor remove and id function
svn: r5613
2005-12-22 05:40:27 +00:00
Alex Roitman
40b158c997 * src/GrampsDb/_GrampsBSDDB.py (close): close reference_map tables.
* src/ViewManager.py (quit): Add function to properly quit.


svn: r5612
2005-12-22 04:36:26 +00:00
Alex Roitman
8642de248f Update
svn: r5611
2005-12-21 23:39:06 +00:00
Alex Roitman
8255e3c148 * src/GrampsDb/Makefile.am, .cvsignore: Add to CVS.
* configure.in: Create Makefile in new directory.


svn: r5610
2005-12-21 23:37:50 +00:00
Alex Roitman
cdb40e2d82 privacy flag and comment to the privacy flag and note of the new
EventRef for old witness_by_ID references.


svn: r5608
2005-12-21 20:15:45 +00:00
Alex Roitman
a41aaee3ba * src/EventEdit.py: Use more descriptive menu label.
* src/GrampsDb/_GrampsBSDDB.py (gramps_upgrade_9): Convert witness
comment to the EventRef note for old witness_by_ID references.


svn: r5606
2005-12-21 20:06:30 +00:00
Alex Roitman
e51ee68d69 * src/DisplayState.py: Factor out recursive action function.
* src/EditPerson.py: Use person handle to identify the window.
* src/EventEdit.py: Use more descriptive menu label.


svn: r5605
2005-12-21 19:48:18 +00:00
Don Allingham
aa4f1c7ed4 * src/DisplayState.py: remove print statements
* src/ViewManger.py: Fix const.app_*


svn: r5604
2005-12-21 18:59:51 +00:00
Alex Roitman
aa11938737 * src/DisplayState.py (remove_item): Add code to adjust other
item's tracks after deleting an item; (move_item_down):
Recursively walk the items under a given item and lower the track
entry.


svn: r5603
2005-12-21 18:24:38 +00:00
Richard Taylor
cf2827bbf1 src/EditSource.py: fixed small mistake in display_references
svn: r5601
2005-12-21 16:57:11 +00:00
Richard Taylor
80069c6ad7 src/EditSource.py: changed display_references to use find_backlink_handles
svn: r5600
2005-12-21 15:45:30 +00:00
Richard Taylor
e311f8d039 src/EditRepository.py: hack to work with current state of Address
svn: r5599
2005-12-21 12:16:54 +00:00
Richard Taylor
deaaf16717 move database code into new package
svn: r5598
2005-12-21 11:27:05 +00:00
Richard Taylor
9c64f37c87 added import for Note class
svn: r5597
2005-12-21 07:35:13 +00:00
Alex Roitman
2a16977e94 * src/DisplayState.py (ManagedWindow.close): Add default argument.
svn: r5596
2005-12-21 07:07:12 +00:00
Alex Roitman
69bb5279e7 * src/GrampsBSDDB.py (gramps_upgrade_9): Upgrade witness list in
the old Event object.
* src/RelLib/_Event.py: Remove external witnesses altogether.
* src/RelLib/_Witness.py: Make even emptier (needed for upgrade only).
* src/RelLib/__init__.py: Expose Witness (needed for upgrade only).


svn: r5595
2005-12-21 00:08:47 +00:00
Alex Roitman
c71c808ca5 * src/RelLib/__init__.py: More breaking up in RelLib;
* src/RelLib/Makefile.am: Ship new files;
* src/RelLib/ various files: add more files.


svn: r5593
2005-12-20 20:48:18 +00:00
Richard Taylor
eefee74442 removed get_backlink_handles from RelLib
svn: r5592
2005-12-20 14:31:01 +00:00
Alex Roitman
7ef8c42e97 * src/RelLib.py: Remove file (replaced by the package dir).
* src/RelLib: Add directory.
* src/RelLib/__init__.py, src/RelLib/_helper.py,
src/RelLib/_secondary.py, src/RelLib/Researcher.py,
src/RelLib/GenderStats.py, src/RelLib/Person.py,
src/RelLib/Family.py, src/RelLib/Event.py, src/RelLib/Place.py,
src/RelLib/Source.py, src/RelLib/MediaObject.py,
src/RelLib/Repository.py, src/RelLib/Makefile.am,
src/RelLib/.cvsignore: Add to CVS.
* src/configure.in: Create Makefile in src/RelLib.


svn: r5587
2005-12-20 02:38:07 +00:00
Don Allingham
2a09f3d9d6 * src/ReadXML.py: handle _NAME_TRANS keyerror exception
svn: r5586
2005-12-20 00:01:09 +00:00
Alex Roitman
8b75efcfc3 * src/RelLib.py: Add privacy flag to all objects via making
PrimaryObject inherit from PrivacyBase; Add AddressBase and
UrlBase classes to manage Address and Url lists in other objects;
Add tuple type to the Url class; make Repository inherit from
AddressBase and UrlBase to be able to store lists of both.
* src/GrampsBSDDB.py (gramps_upgrade_9): Provide upgrade for the
changes in RelLib.


svn: r5585
2005-12-19 23:18:03 +00:00
Alex Roitman
3cd11c5465 * src/GrampsBSDDB.py (gramps_upgrade_9): Convert all Name and
Attribute objects to use tuple types.
* src/RelLib.py (Name.set_type): Typo in the wrapper code.


svn: r5584
2005-12-19 16:22:33 +00:00
Richard Taylor
14566e8b42 * src/RelLib.py: added get_backlink_handles method to PrimaryObject
* test/GrampsDbBase_Test.py: factored out common db test methods
* test/GrampsDbTestBase.py: new base class for unittests that
   need to create database records
* test/RelLib_Test.py: unittest for the
* get_backlink_handles method


svn: r5583
2005-12-19 13:45:05 +00:00
Alex Roitman
923b058032 * src/GrampsBSDDB.py (gramps_upgrade_9): Switch to using keys in
upgrade. When using DB cusrsor, modifying the record sometimes
confuses the cursor operation. Possibly this only happens if
secondary indexes are involved.


svn: r5581
2005-12-18 03:30:13 +00:00
Don Allingham
d8ba4dd42e * src/GrampsBSDDB.py: associate functions return str instead
of unicode


svn: r5577
2005-12-18 01:28:35 +00:00
Richard Taylor
6915016219 tests and fixes for reference_map.
svn: r5576
2005-12-17 22:16:03 +00:00
Richard Taylor
ff90348642 moved to using in keys rather than class names in the referece_map table
svn: r5575
2005-12-17 22:02:48 +00:00
Richard Taylor
a2a230411a * src/GrampsDbBase.py: fixed UNDO buffer issue
* test/GrampsDbBase_Test.py: improved performance test
	* test/RunAllTests.py: added -p cmdline flag


svn: r5571
2005-12-17 21:13:45 +00:00
Richard Taylor
9385212033 fix for cursor set
svn: r5570
2005-12-17 20:13:23 +00:00
Richard Taylor
2fce6de7e9 added a crude performance test.
svn: r5564
2005-12-16 16:31:38 +00:00
Richard Taylor
748337078b further work to complete the reference_map implementation.
svn: r5563
2005-12-16 11:59:13 +00:00
Alex Roitman
0d1c415391 * src/RelLib.py (RepoRef): Typos.
* src/Utils.py: Typos.


svn: r5562
2005-12-16 06:03:15 +00:00
Don Allingham
428d421096 * src/ViewManger.py: progress bar added back in
* src/ReadXML.py: handle markers


svn: r5560
2005-12-15 23:48:06 +00:00
Don Allingham
277113f59e * src/DisplayState.py: Window management completed
svn: r5559
2005-12-15 21:50:14 +00:00
Alex Roitman
163ffaad32 * src/GrampsBSDDB.py: go back to a single load function;
finish gramps_upgrade_9.
* src/ViewManager: Go back to the old way of load/upgrade.


svn: r5558
2005-12-15 21:26:55 +00:00
Alex Roitman
f5864a6c1f Update
svn: r5557
2005-12-15 21:21:19 +00:00
Richard Taylor
479b3833d9 added delete support for the reference_map
svn: r5556
2005-12-15 17:48:48 +00:00
Richard Taylor
6a81fa36bc reference_map implementation.
svn: r5555
2005-12-15 17:32:10 +00:00
Richard Taylor
db364e3d26 sequencial scan implementation of get_backlink_handles
svn: r5554
2005-12-15 12:03:24 +00:00
Alex Roitman
45ccf8db1b * src/GrampsBSDDB.py: Rename upgrade to avoid collision; add DB
upgrade routine; require DB to be at least version 5 (gramps
2.0.0); separate primary and secondary load (may need to reverse
later).
* src/GrampsDbBase.py: Rename upgrade to avoid collission.
* src/RelLib.py (Witness.py): Add empty class to enable upgrades
from the earlier DB versions.
* src/ViewManager.py: move upgrade into the DB class (may need to
reverse later).


svn: r5553
2005-12-15 06:19:37 +00:00
Don Allingham
fe78de0606 * src/DisplayState.py: start of Windows menu
* src/ReadGedcom.py: sync database with transaction
* src/ViewManager.py: WinMenu support


svn: r5551
2005-12-15 04:45:20 +00:00
Martin Hawlisch
7a6b9143c5 * src/gramps.glade: Fix Tip of the day
svn: r5548
2005-12-14 10:53:33 +00:00
Alex Roitman
7f98e3bc35 * src/EditPerson.py: Call child editors with new arguments.
* src/EventEdit.py: Use new window management.
* src/ListBox.py: Use new arguments.
* src/PersonView.py: Add track argument to EditPerson.


svn: r5547
2005-12-14 06:54:02 +00:00
Alex Roitman
c416e79e3a * src/DisplayState.py: Correct and add comments.
svn: r5546
2005-12-14 04:06:42 +00:00
Don Allingham
9dbbf2b512 * src/EditPerson.py: fix after merge
* src/GrampsDbBase.py: fix after merge
* src/edit_person.glade: fix after merge


svn: r5545
2005-12-14 01:23:23 +00:00
Alex Roitman
8f6b51ccb2 * various: merge changes made in gramps20 up until R2_0_9 tag.
svn: r5544
2005-12-13 02:07:16 +00:00
Richard Taylor
e14ffbfd48 src/EditSource.py: Connected up add/del/edit buttons for Repos tab.
svn: r5543
2005-12-12 12:04:49 +00:00
Don Allingham
34e66709b8 * src/FamilyView.py: Fixed FamilyView layout
svn: r5492
2005-12-07 05:09:01 +00:00
Alex Roitman
cf825940d2 Update
svn: r5483
2005-12-06 06:44:26 +00:00
Alex Roitman
97cdbe6af4 merge changes from gramps20
svn: r5482
2005-12-06 06:38:09 +00:00
Don Allingham
174e761dea * src/FamilyView.py: add more ui stuff
* src/ReadGedcom.py: set batch properly


svn: r5476
2005-12-05 22:22:10 +00:00
Don Allingham
4d6ec03bb5 * src/FamilyView.py: start of a new family view.
* src/gramps_main.py: register FamilyView


svn: r5474
2005-12-05 04:54:40 +00:00
Martin Hawlisch
a875550db1 * src/PersonView.py (edit): Work with missing active person
svn: r5200
2005-09-16 18:37:13 +00:00
Don Allingham
6cd2a0f8a0 * src/DisplayState.py: remove relationship display stuff for the time
being.


svn: r5199
2005-09-16 18:22:32 +00:00
Martin Hawlisch
971a8a29ec * 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
996b7be086 * Makefile.am: Disable install, show warning instead.
svn: r5196
2005-09-16 07:28:02 +00:00
Don Allingham
ac4f55f71b * src/EditPlace.py: fix windowing history
svn: r5194
2005-09-16 04:07:53 +00:00
Martin Hawlisch
2663b12f13 * 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
b0ff013e19 * 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
85985313eb 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
2a4c52797d 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
d974b58e2e 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