Martin Hawlisch
614a4a5e7d
* src/DataViews/_PedigreeView.py: Open FamilyEditor to add missing parents
...
svn: r6210
2006-03-25 14:23:51 +00:00
Martin Hawlisch
6d2e8b34c9
* 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
d426390f39
Handle single parent families on add parent switch
...
svn: r6207
2006-03-25 03:47:47 +00:00
Don Allingham
8c47f5d582
added repository reference editor
...
svn: r6206
2006-03-25 03:07:20 +00:00
Don Allingham
af7c175eac
handle add parent family switching
...
svn: r6203
2006-03-24 04:04:24 +00:00
Don Allingham
fbce343422
unknown parent label on FamilyViwe
...
svn: r6201
2006-03-23 21:51:42 +00:00
Don Allingham
8ca93e4c15
fix arglist
...
svn: r6199
2006-03-23 18:31:56 +00:00
Martin Hawlisch
989f859a5c
Support for DnD of alternate locations of a place
...
svn: r6198
2006-03-23 16:41:51 +00:00
Brian Matherly
2301a20787
Filter double drag and drops in Windows.
...
svn: r6197
2006-03-23 06:10:45 +00:00
Don Allingham
6a432cf0a1
repository drag-n-drop
...
svn: r6196
2006-03-23 05:19:38 +00:00
Don Allingham
389fa7263e
scratchpad/drag-n-drop fixes
...
svn: r6194
2006-03-22 23:03:57 +00:00
Martin Hawlisch
d6a44469e0
Add wrappers for displaying the tuple types to unify their usage.
...
svn: r6193
2006-03-22 21:19:32 +00:00
Don Allingham
936b073c02
family warn dialog
...
svn: r6192
2006-03-22 03:57:51 +00:00
Don Allingham
5d34cd3446
editor fixes
...
svn: r6191
2006-03-21 22:12:39 +00:00
Alex Roitman
253e31a47d
* various: rename doc to data; move most of src/data to data.
...
svn: r6187
2006-03-21 18:56:27 +00:00
Don Allingham
0328a4a943
.ini settings
...
svn: r6186
2006-03-21 06:33:59 +00:00
Don Allingham
e6f0bf7dda
lds specific data moved
...
svn: r6185
2006-03-21 06:23:45 +00:00
Brian Matherly
932025dfda
os independent path
...
svn: r6184
2006-03-21 03:01:50 +00:00
Don Allingham
7d884a7aa6
update data properly
...
svn: r6183
2006-03-21 02:39:01 +00:00
Don Allingham
312560a6ef
use db.THREAD
...
svn: r6182
2006-03-21 00:05:07 +00:00
Don Allingham
0742d69347
performance enhancements
...
svn: r6179
2006-03-19 23:34:23 +00:00
Don Allingham
56e93152d4
object sharing support
...
svn: r6178
2006-03-19 06:49:03 +00:00
Alex Roitman
4dbe382a67
* configure.in: Remove scrollkeeper checks and other unused statements
...
svn: r6177
2006-03-19 06:03:04 +00:00
Don Allingham
43c775b975
removed RelImage
...
svn: r6176
2006-03-19 03:50:47 +00:00
Don Allingham
32bfafecc9
speed improvements until object selector is functional
...
svn: r6175
2006-03-19 03:25:31 +00:00
Alex Roitman
e7359fe941
* intltool-*.in: remove from svn.
...
svn: r6172
2006-03-18 07:47:53 +00:00
Don Allingham
94686d5e25
use SelectPerson for father instead of Object Selector
...
svn: r6171
2006-03-18 05:47:39 +00:00
Don Allingham
50f00d12cb
removal of families
...
svn: r6169
2006-03-18 01:30:23 +00:00
Alex Roitman
5fc44d4627
* help: add new dir with new gnome-doc-utils infrastructure.
...
svn: r6163
2006-03-17 20:41:14 +00:00
Alex Roitman
9577aba0bf
* 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
93add4967a
* 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
488bfb3a7b
Remove py-compile
...
svn: r6153
2006-03-16 19:09:16 +00:00
Alex Roitman
94a5f98277
Update
...
svn: r6152
2006-03-16 19:02:45 +00:00
Alex Roitman
c6ea05e24d
* various: intltoolize and gettextize properly.
...
svn: r6144
2006-03-15 23:58:23 +00:00
Alex Roitman
87b930dbae
* 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
9159ead0ad
* 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
4da2ebca24
* 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
44040b095a
Remove dependency on load_plugins
...
svn: r6136
2006-03-11 04:58:58 +00:00
Don Allingham
598e518474
fix map view startup traceback
...
svn: r6135
2006-03-11 04:42:49 +00:00
Alex Roitman
6b9d4207ce
* src/Plugins.py, src/PluginMgr.py: Move to ReportUtils.
...
svn: r6133
2006-03-11 01:12:06 +00:00
Don Allingham
9d086fd022
add remove function in FamilyView
...
svn: r6132
2006-03-10 22:57:22 +00:00
Don Allingham
76d3f3daa1
add remove function in FamilyView
...
svn: r6131
2006-03-10 22:38:45 +00:00
Don Allingham
1be12a4da0
icon fixes
...
svn: r6129
2006-03-10 21:05:00 +00:00
Don Allingham
e338c13d75
MediaView integrity after add
...
svn: r6127
2006-03-10 04:29:08 +00:00
Don Allingham
99cd0fe2dc
Fix adding of places in internal map
...
svn: r6126
2006-03-10 03:26:21 +00:00
Don Allingham
1c147b3cd3
commit places properly
...
svn: r6125
2006-03-10 02:46:19 +00:00
Don Allingham
064ad83c6a
add/delete families better
...
svn: r6124
2006-03-09 22:37:19 +00:00
Alex Roitman
bd67a5ec84
* PluginUtils: Add module with Report and Tool utils.
...
svn: r6121
2006-03-09 20:49:29 +00:00
Don Allingham
45d3db4ea4
Add option to suppress tooltips in trees
...
svn: r6111
2006-03-09 19:07:13 +00:00
Don Allingham
07288ca97f
format fixes
...
svn: r6108
2006-03-09 03:07:41 +00:00
Don Allingham
ecac99da0e
family selection
...
svn: r6107
2006-03-09 01:55:03 +00:00
Alex Roitman
91210a5ece
Update
...
svn: r6105
2006-03-08 22:01:08 +00:00
Alex Roitman
dd42490860
* src/GramspDb/_GrampsBSDDB.py: Minor fixes.
...
svn: r6104
2006-03-08 17:44:29 +00:00
Don Allingham
43a88e5974
make txn optional
...
svn: r6102
2006-03-08 17:22:45 +00:00
Don Allingham
60f6d339e6
remove WindowsUtils
...
svn: r6101
2006-03-08 05:22:58 +00:00
Alex Roitman
c75449ef78
* src/DateHadnler: Move all date parsers/displayers into new directory
...
svn: r6097
2006-03-08 00:55:04 +00:00
Don Allingham
81fd449823
improve family editor
...
svn: r6096
2006-03-07 23:49:26 +00:00
Don Allingham
464a5c2edd
initialize families properly
...
svn: r6093
2006-03-07 03:35:46 +00:00
Don Allingham
0acfe774ff
fix parameters
...
svn: r6092
2006-03-06 22:30:17 +00:00
Don Allingham
b20db2bf8c
family drag-n-drop support
...
svn: r6091
2006-03-06 20:59:00 +00:00
Don Allingham
f5fc3e8cd6
event ref commit
...
svn: r6090
2006-03-06 05:43:47 +00:00
Don Allingham
c443e1d656
gender selection
...
svn: r6088
2006-03-06 05:29:24 +00:00
Don Allingham
0bd53c1a49
fix focus out event
...
svn: r6087
2006-03-06 05:22:45 +00:00
Don Allingham
9ffa6613a7
column editing
...
svn: r6085
2006-03-05 23:39:20 +00:00
Don Allingham
5ca9930d30
image changes for lock icons
...
svn: r6084
2006-03-05 19:06:40 +00:00
Don Allingham
dfeb7259b3
new logging scheme
...
svn: r6080
2006-03-05 04:31:24 +00:00
Don Allingham
71b3c72d70
relocate glade files
...
svn: r6075
2006-03-04 22:53:46 +00:00
Don Allingham
26ade2a6cc
set version number for svn
...
svn: r6073
2006-03-04 16:26:31 +00:00
Don Allingham
a3aedf85ae
module renames
...
svn: r6072
2006-03-04 16:08:52 +00:00
Don Allingham
34ed34e018
moved files to DataViews
...
svn: r6071
2006-03-04 15:37:04 +00:00
Martin Hawlisch
71b21cdafc
* src/Models/Makefile.am: Added file
...
* Editors/__init__.py: Added file
svn: r6070
2006-03-04 14:29:39 +00:00
Don Allingham
9c3922b36e
fix image path
...
svn: r6069
2006-03-04 06:45:54 +00:00
Don Allingham
7b4866ff49
create new Editors submodule
...
svn: r6067
2006-03-04 05:24:16 +00:00
Don Allingham
fcecd44628
module rename
...
svn: r6066
2006-03-04 04:35:28 +00:00
Don Allingham
e31d86d760
module rename
...
svn: r6065
2006-03-04 04:31:50 +00:00
Don Allingham
b6f95b2edf
module rename
...
svn: r6063
2006-03-04 04:26:08 +00:00
Don Allingham
a6aa3d7564
fix Makefile.am files
...
svn: r6061
2006-03-04 02:56:23 +00:00
Alex Roitman
9ef4680cc4
* 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
373bbe54d6
set up for installation
...
svn: r6059
2006-03-03 23:48:11 +00:00
Martin Hawlisch
2d93f05639
* 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
190389d0ba
* 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
5b9951ddc7
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
b558b4c748
rename module
...
svn: r6053
2006-03-03 04:27:56 +00:00
Don Allingham
af4480bbbc
module renames
...
svn: r6051
2006-03-03 00:38:41 +00:00
Don Allingham
ad92730150
module renames
...
svn: r6050
2006-03-03 00:34:20 +00:00
Alex Roitman
7286845b75
Add Mime package
...
svn: r6047
2006-03-03 00:23:04 +00:00
Don Allingham
4efbaaa16c
update new installation paths
...
svn: r6046
2006-03-03 00:17:58 +00:00
Alex Roitman
bc6848cf20
Add Config package
...
svn: r6044
2006-03-03 00:10:52 +00:00
Alex Roitman
72ff16c982
* src/*png, src/*jpg: move under images directory.
...
svn: r6043
2006-03-02 23:37:16 +00:00
Alex Roitman
595d418800
* calendar, filers: Remove directories.
...
svn: r6040
2006-03-02 23:08:28 +00:00
Don Allingham
b012610f40
make distcheck fixes
...
svn: r6039
2006-03-02 21:28:27 +00:00
Alex Roitman
7a0e24136b
* 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
3d930e6639
* *png, *jpg: Add proper svn:mime-type, remove mime-type.
...
svn: r6035
2006-03-02 20:19:05 +00:00
Alex Roitman
b3798a9f30
Remove .cvsignore files from all directories.
...
svn: r6034
2006-03-02 19:30:29 +00:00
Don Allingham
67be3992fb
fixed mime types
...
svn: r6021
2006-03-02 16:09:34 +00:00
Don Allingham
195e0eb9b3
* 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
987a35f110
* 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
632ad860df
* 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
26092c071a
* 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
3ec34df9c5
* 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
6044ca5317
* 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
2b96e371e1
* 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
c4010b28a4
* 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
c0756ed94b
* 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
8e965ac3e8
* 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
c157f3e50f
* 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
72d064f5b5
* 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
7c6a859323
* 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
14c02180ad
* 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
6a5ab6549a
* 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
7f42c25525
* 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
2cab6440c2
* 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
3a54eb7edd
* 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
0be2b36826
fix character translation
...
svn: r5952
2006-02-17 22:40:42 +00:00
Don Allingham
807ed8f4f4
* 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
039b7f3591
* 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
9617f77079
* 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
ebba95652f
* 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
8edb0798e2
* src/FamilyView.py: initialize Family
...
svn: r5916
2006-02-10 04:20:57 +00:00
Don Allingham
d9dad03bea
* 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
5cdd61e46b
* 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
fc9d58a0c9
* src/data/gramps.desktop: Add French strings.
...
svn: r5909
2006-02-09 18:58:09 +00:00
Alex Roitman
5ba83e7761
* src/data/gramps.desktop: Improve Russian string, add Office
...
category.
svn: r5908
2006-02-09 18:54:13 +00:00
Don Allingham
57359f125d
* src/PeopleModel.py: clear data cache
...
svn: r5907
2006-02-09 05:10:20 +00:00
Don Allingham
3b92398870
* 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
6c72bc6f77
* 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
85b3909ae3
tidied up the class strucand added documentation to ObjectSelector
...
svn: r5900
2006-02-08 16:32:47 +00:00
Don Allingham
d4623258e8
* src/DisplayTabs.py: reordering items in a Gallery
...
svn: r5899
2006-02-08 16:20:03 +00:00
Richard Taylor
18f908c9bd
fixed add button in object selector.
...
svn: r5898
2006-02-08 15:29:46 +00:00
Richard Taylor
80a0ab047d
integrated treeview/model into objectselector.
...
svn: r5897
2006-02-08 15:03:06 +00:00
Don Allingham
bc81ae7f5f
* 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
4a8f8e3cd6
* src/SourceView.py: fix source query dialog, fix source deleting
...
svn: r5894
2006-02-07 04:16:47 +00:00
Don Allingham
768ce714f7
* 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
8b8d359062
* 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
8f979710ec
* src/GrampsDb/_GrampsBSDDB.py (transaction_commit): Typo.
...
svn: r5891
2006-02-06 21:24:39 +00:00
Don Allingham
ec7a5f4658
* src/EditFamily.py: start apply operation, data saving
...
svn: r5890
2006-02-06 05:03:44 +00:00
Don Allingham
785631e35d
* src/AttrEdit.py: remove unused parameters
...
* src/EditFamily.py: start apply operation
svn: r5889
2006-02-05 22:23:53 +00:00
Don Allingham
61a4dcd5f0
* 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
b7577dc19a
* src/ChooseParents.py: removed
...
* src/ListBox.py: removed
svn: r5885
2006-02-05 05:19:51 +00:00
Don Allingham
11ec0429f6
* 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
388b3bad33
* 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
9393b15589
* 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
c0fdb8ad27
* 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
01a5806681
* 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
6c8eae791c
* 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
de0559e32c
* 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
b311f11c5c
Added more columns
...
svn: r5874
2006-02-03 16:42:19 +00:00
Richard Taylor
754231f151
added initial fast model implementation
...
svn: r5872
2006-02-03 15:49:59 +00:00
Don Allingham
64ba0101d4
* src/PersonView.py: history
...
* src/EditPerson.py: start the save routine.
svn: r5871
2006-02-03 05:31:42 +00:00
Don Allingham
8a45d47e09
* 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
d506af5c67
* 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
d88fa514e9
* 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
487cd028ed
* 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
da30e8d5fa
* 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
15bc78db47
* 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
dbc0c52fc5
* 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
265ea23bc4
* 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
04de8dc8d4
* 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
024b2a140e
* 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
9e7e630de0
* 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
9bdb810989
* 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
c1ddf79a8e
* 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
fce7809f3a
* 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
358b909333
* src/DisplayTabs.py: hook up event ref editor
...
svn: r5854
2006-01-29 05:53:17 +00:00
Alex Roitman
1fa6267ca1
* 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
2c47024571
* src/GnomeMime.py: Import neede modules.
...
svn: r5852
2006-01-29 04:53:08 +00:00
Don Allingham
03fc6ea109
* 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
1cd6feda90
* src/DisplayTabs.py: add SourceRefModel
...
* src/EditFamily.py: fix variable names
svn: r5849
2006-01-28 20:38:03 +00:00
Don Allingham
754a0400f0
* src/GrampsDb/_GrampsBSDDB.py: qualify strxfrm
...
svn: r5848
2006-01-28 19:32:09 +00:00
Alex Roitman
4bb5da16a4
* 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
81b8ed7fa1
* doc/grampsxml.rng: Update to reflect new XML.
...
svn: r5846
2006-01-28 01:05:04 +00:00
Alex Roitman
7bb8247a7f
* 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
9dcdd2ceeb
* 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
4a1177a9e6
* src/GrampsDb/_ReadGedcomp.py: preselect gramps ids for events
...
svn: r5843
2006-01-27 18:53:22 +00:00
Alex Roitman
954d093c0f
* 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
4719ba7d36
* src/GrampsDb/_ReadGedcom.py: fix repeated translation call
...
svn: r5841
2006-01-27 05:01:48 +00:00
Alex Roitman
94523aa953
* src/GrampsDb/_WriteXML.py: Handle some of new XML.
...
svn: r5840
2006-01-27 02:13:17 +00:00
Alex Roitman
da0fa1a5cf
* 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
8ff52f85ac
* 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
a5a812eb90
'generic' for the namespace argument; Remove unneeded import.
...
svn: r5837
2006-01-26 19:49:40 +00:00
Alex Roitman
a2bf6799cb
* 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
f38e3b4301
* src/GrampsDb/_GrampsBSDDB.py: Add proper upgrade path from
...
within load.
svn: r5833
2006-01-25 21:06:23 +00:00
Don Allingham
c852617e91
* 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
07c23e5ff2
* 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
f723ec0630
* 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
f48f1c03bb
* 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
253fa7639a
* 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
6ed9d0a161
* src/DisplayState.py: Warning log handler, add timeout handler
...
svn: r5824
2006-01-23 22:36:34 +00:00
Don Allingham
a484bfa838
* 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
88dbb8b1fc
* 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
b204a3bc70
* src/GrampsDb/_ReadGedcom.py: fix event handling, fix skip_record
...
svn: r5821
2006-01-23 01:55:29 +00:00
Don Allingham
9e83727f09
* 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
57b4c9dbc2
* 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
eaaa5fcccf
* 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
5af19711d8
* 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
ec6af75b7d
* 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
77a4023f9e
* 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
997be85261
* src/GrampsDb/_GrampsBSDDB.py: remove function call in find_surname
...
svn: r5809
2006-01-20 20:23:38 +00:00
Alex Roitman
85cb930006
* 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
8ff4bce687
* 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
f704db5004
added automake stuff
...
svn: r5806
2006-01-20 16:39:58 +00:00
Richard Taylor
3483b770a6
added header to Objectselector
...
svn: r5805
2006-01-20 16:31:25 +00:00
Richard Taylor
6fee6a5f79
integrated object selector into edit family
...
svn: r5804
2006-01-20 10:30:35 +00:00
Don Allingham
c5fc889410
* 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
8c439b364e
working filters in Person view
...
svn: r5802
2006-01-19 21:13:00 +00:00
Alex Roitman
65753f7ece
* 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
bb6b86ed01
ground work for filters
...
svn: r5799
2006-01-19 16:52:29 +00:00
Alex Roitman
d077387188
* 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
973610efb6
added new button for person view.
...
svn: r5797
2006-01-19 16:03:09 +00:00
Alex Roitman
d0ddac1282
* 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
13676fb42f
* src/GrampsDb/_ReadGedcom.py: fix MARNM
...
svn: r5795
2006-01-19 04:25:36 +00:00
Alex Roitman
84c0e8f9a8
* src/GrampsDb/_ReadXML.py (parse): Properly set batch transaction.
...
svn: r5794
2006-01-19 04:18:12 +00:00
Don Allingham
a3acfecb1a
* src/GrampsWidgets.py: edit label for column header
...
svn: r5792
2006-01-19 02:06:27 +00:00
Don Allingham
307c50c456
* 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
a25c241b8e
* src/GrampsDb/_GrampsBSDDB.py: upgrade from gramps20.
...
svn: r5790
2006-01-18 22:02:24 +00:00
Alex Roitman
5ae5219f8a
* 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
b5dc06a0d9
* src/GrampsDb/_GrampsBSDDB.py (rebuild_secondary): Proper rebuild.
...
svn: r5788
2006-01-18 20:37:15 +00:00
Don Allingham
f7f45779ee
* 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
ca3ec41ac7
* 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
9fde881632
* src/DbPrompter.py: removed
...
* src/gramps.glade: delete unused stuff
svn: r5785
2006-01-18 05:16:10 +00:00
Don Allingham
572a8a5724
* 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
d169d9c949
* 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
046b55b81e
* 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
90247368d9
make ref update optional
...
svn: r5780
2006-01-17 21:10:20 +00:00
Alex Roitman
fd2d95fcc2
* 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
f0ea0adf9e
* 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
d5ec08247d
UI improvements
...
svn: r5775
2006-01-17 14:54:46 +00:00
Richard Taylor
345b35c3b9
selection and preview of person and family
...
svn: r5774
2006-01-17 13:43:29 +00:00
Richard Taylor
58ef8176d4
basic object selection now working
...
svn: r5773
2006-01-17 08:38:34 +00:00
Don Allingham
1226c0d55a
* 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
0096bbfa5f
* 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
c09e8ba99d
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
e3395609b1
* 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
d8bfb75054
* 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
f924c6fbde
* 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
7e8cc5310c
* src/gramps.glade: reposition add/delete buttons
...
svn: r5764
2006-01-16 20:49:59 +00:00
Richard Taylor
0186f296d6
refactored object frame in object selector
...
svn: r5760
2006-01-16 13:32:59 +00:00
Don Allingham
01ccef522c
* src/DisplayTabs.py: add button control class
...
* src/EditFamily.py: add icons
svn: r5755
2006-01-15 04:49:13 +00:00
Don Allingham
fdaccccc59
* 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
4e6804cb9e
futher development of ObjectSelector
...
svn: r5753
2006-01-14 22:21:56 +00:00
Don Allingham
a5f80d4c11
* 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
c8bbadb15f
* 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
d6b890b7ed
* 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
8449b19cf2
* src/ViewManager.py: Proper label change for Undo/Redo.
...
svn: r5748
2006-01-13 20:53:10 +00:00
Richard Taylor
768ca71e64
added int edit
...
svn: r5747
2006-01-13 20:10:56 +00:00
Martin Hawlisch
ef43c29ded
* 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
4f077081b8
layout improvements
...
svn: r5744
2006-01-13 15:28:23 +00:00
Don Allingham
4d840ed97d
* 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
1866e43281
Update
...
svn: r5731
2006-01-12 23:39:54 +00:00
Alex Roitman
0e2bd09f3a
Cut long lines
...
svn: r5730
2006-01-12 23:34:33 +00:00
Richard Taylor
db8a2d574d
initial outline of object selector
...
svn: r5729
2006-01-12 22:09:42 +00:00
Alex Roitman
825f0e9f62
* 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
27289bf1ca
* 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
67032ee826
* 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
13c1041b93
* 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
1974b916cb
* src/PedView.py: Now using cairo :-) Changed menu handling
...
svn: r5714
2006-01-11 14:41:07 +00:00
Don Allingham
60fa009bf4
* src/FamilyView.py: fix title
...
svn: r5712
2006-01-11 05:13:09 +00:00
Don Allingham
aaba7669ec
* src/MapView.py: fix title
...
svn: r5711
2006-01-11 04:57:31 +00:00
Alex Roitman
6fd6018fbe
* 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
559853b491
* 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
d0f43a208c
Update
...
svn: r5708
2006-01-11 00:35:55 +00:00
Don Allingham
a357061713
* 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
c929fd14a6
* src/FamilyView.py: add/edit/delete buttons for families added
...
svn: r5705
2006-01-10 19:10:39 +00:00
Alex Roitman
edc9e9b881
* 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
9586db0f66
* 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
09292cbc15
replace DisplayTrace with logger
...
svn: r5702
2006-01-09 11:28:44 +00:00
Richard Taylor
d123f6ef77
minor wording changes.
...
svn: r5701
2006-01-09 10:53:50 +00:00
Richard Taylor
b0bba43803
polish error report UI
...
svn: r5700
2006-01-09 10:21:24 +00:00
Don Allingham
7601f47a76
* src/person.svg: new icon
...
* src/gramps_main.py: add person.svg
svn: r5699
2006-01-09 03:30:22 +00:00
Don Allingham
f9d8c30c6a
* src/gramps_main.py: Change "Family" title to "Relationships"
...
svn: r5698
2006-01-09 02:16:46 +00:00
Don Allingham
f9e333f696
* 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
2f1a21fb6e
dont show exception twice.
...
svn: r5696
2006-01-08 20:31:39 +00:00
Richard Taylor
b39afbb8f9
improvements to Assistant and ErrorReportAssistant.
...
svn: r5695
2006-01-08 15:19:46 +00:00
Don Allingham
b9b276742a
* 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
1f7c1c4f4a
* 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
04c3f9a9c8
* src/ToolTips.py: fix spacing
...
* src/ViewManager.py: remember toolbar/sidebar status.
svn: r5692
2006-01-08 03:06:58 +00:00
Don Allingham
eeb3754f94
* 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
50dc374fe8
* src/GrampsLogger/_ErrorView.py: make dialog more HIG compliant
...
svn: r5690
2006-01-07 18:54:13 +00:00
Don Allingham
182b5a4c43
* 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
99849a02c1
* 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
9b7a711d99
converted Assistant to gobject and added signals
...
svn: r5681
2006-01-06 17:40:54 +00:00
Richard Taylor
ea97dcd015
integration of logging framework
...
svn: r5680
2006-01-06 15:23:28 +00:00
Richard Taylor
d62d7ae447
added unittest for
...
ErrorReportAssistant
svn: r5679
2006-01-06 12:17:32 +00:00
Don Allingham
a8f2942ff1
* 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
2db481e691
* src/FamiyView.py: use gender markers, remove Family/Parents,
...
fix gender mouseover
svn: r5677
2006-01-05 23:23:55 +00:00
Don Allingham
a5a50fc7f5
* src/FamiyView.py: use gender markers
...
svn: r5676
2006-01-05 23:00:59 +00:00
Richard Taylor
cfb8cc47a4
enabled rotate_handler output.
...
svn: r5674
2006-01-05 19:07:27 +00:00
Richard Taylor
ce52de5804
added initial logging framwork.
...
svn: r5673
2006-01-05 16:02:27 +00:00
Don Allingham
8eece3d712
* 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
4b545e8ad2
* 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
744776903e
* 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
fe1d99928a
* src/FamilyView.py: Handle active person == None
...
svn: r5668
2006-01-04 18:00:02 +00:00
Don Allingham
b9f7fadea9
* src/FamilyView.py: fix place == None problem
...
svn: r5666
2006-01-04 16:42:39 +00:00
Don Allingham
e3f27ec68c
* src/FamilyView.py: provide hyper links
...
svn: r5664
2006-01-04 05:39:39 +00:00
Alex Roitman
ab4ce85db0
* src/DisplayState.py (push): Typo.
...
svn: r5662
2006-01-03 23:51:20 +00:00
Don Allingham
27d0144765
* src/FamilyView.py: new format
...
svn: r5658
2006-01-03 22:07:34 +00:00
Martin Hawlisch
e739d24062
* src/PedView.py: Dont use a black border for living people
...
svn: r5655
2006-01-02 22:11:19 +00:00
Martin Hawlisch
cfd706ee2e
* src/ViewManager.py (post_load): Request interface rebuild after upgrading the database
...
svn: r5654
2006-01-02 16:00:05 +00:00
Martin Hawlisch
d359e95901
* src/PedView.py: Show marriage data; optimized cell debugging
...
svn: r5653
2006-01-02 15:22:34 +00:00
Eero Tamminen
210cfa87b1
manpage fix
...
svn: r5652
2006-01-01 15:15:30 +00:00
Martin Hawlisch
99ea089639
* 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
2a4f2cda98
* 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
e91d774f2a
* 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
a0c8752fb0
* src/ReportUtils.py: Use new RelLib API
...
svn: r5645
2005-12-30 14:04:19 +00:00
Don Allingham
85fbf617d1
* 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
1abaa98a40
* 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
af21245530
* 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
f9b6f79093
* src/Assistant.py: added
...
svn: r5641
2005-12-29 19:52:12 +00:00
Don Allingham
b0807932ad
* 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
957f6d9b0f
* 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
49817c40dc
* 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
44df525bb6
* src/Makefile.am: add PythonMime and GnomeMime
...
svn: r5637
2005-12-28 23:00:33 +00:00
Don Allingham
34435d8711
* 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
8189db333e
* 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
876730d889
* 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
fbdfb92449
* src/Bookmarks.py: get bookmark menu working
...
* src/EditPlace.py: menu tracking
svn: r5632
2005-12-25 04:01:47 +00:00
Don Allingham
8cb5f9673e
* 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
b7040cb2e3
* 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
822c770f7e
* doc/grampsxml.dtd: Describe new XML.
...
* doc/grampsxml.rng: Describe new XML.
svn: r5627
2005-12-23 21:32:55 +00:00
Alex Roitman
0d7edcd59e
* 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
8aa4a8abde
* 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
04d0822569
* 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
c30167137c
* src/ToolTips.py (PersonTip.get_tip): Use new birth_ref interface.
...
svn: r5622
2005-12-23 02:04:54 +00:00
Alex Roitman
79a520b949
* src/MediaView.py: Skip empty selections.
...
svn: r5621
2005-12-23 02:00:35 +00:00
Alex Roitman
6fafacf793
* 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
848c95b7e4
* 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
4d36b334bc
* 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
b2b6cb0ad5
* 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
55f22b5550
* src/Bookmark.py: start of reimplementation
...
* src/PersonView.py: commit fixes
svn: r5615
2005-12-22 06:13:11 +00:00
Alex Roitman
d84bbc9282
* 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
7d65ff02a1
* src/GrampsDb/_GrampsBSDDB.py: refactor remove and id function
...
svn: r5613
2005-12-22 05:40:27 +00:00
Alex Roitman
08b31d3e09
* 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
9c5a61cef9
Update
...
svn: r5611
2005-12-21 23:39:06 +00:00
Alex Roitman
a35019474d
* 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
73c8bdd045
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
77a45226c0
* 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
6efeca22e7
* 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
379107f849
* src/DisplayState.py: remove print statements
...
* src/ViewManger.py: Fix const.app_*
svn: r5604
2005-12-21 18:59:51 +00:00
Alex Roitman
9258121699
* 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
97cbb53f91
src/EditSource.py: fixed small mistake in display_references
...
svn: r5601
2005-12-21 16:57:11 +00:00
Richard Taylor
939da0c152
src/EditSource.py: changed display_references to use find_backlink_handles
...
svn: r5600
2005-12-21 15:45:30 +00:00
Richard Taylor
9f31ce3a55
src/EditRepository.py: hack to work with current state of Address
...
svn: r5599
2005-12-21 12:16:54 +00:00
Richard Taylor
9eb1f99b86
move database code into new package
...
svn: r5598
2005-12-21 11:27:05 +00:00
Richard Taylor
d850b72fcf
added import for Note class
...
svn: r5597
2005-12-21 07:35:13 +00:00
Alex Roitman
0b5040e07e
* src/DisplayState.py (ManagedWindow.close): Add default argument.
...
svn: r5596
2005-12-21 07:07:12 +00:00
Alex Roitman
4c26af4eea
* 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
0899df3342
* 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
1a102afbd1
removed get_backlink_handles from RelLib
...
svn: r5592
2005-12-20 14:31:01 +00:00
Alex Roitman
849e569d45
* 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
835647d309
* src/ReadXML.py: handle _NAME_TRANS keyerror exception
...
svn: r5586
2005-12-20 00:01:09 +00:00
Alex Roitman
33e58d3e2b
* 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
83dc1752c7
* 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
bd1b437256
* 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
05a4cf032a
* 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
a4e6bd186f
* src/GrampsBSDDB.py: associate functions return str instead
...
of unicode
svn: r5577
2005-12-18 01:28:35 +00:00
Richard Taylor
56d3c6658c
tests and fixes for reference_map.
...
svn: r5576
2005-12-17 22:16:03 +00:00
Richard Taylor
9f891c2913
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
fff5c3e595
* 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
e102387e98
fix for cursor set
...
svn: r5570
2005-12-17 20:13:23 +00:00
Richard Taylor
e68a559e74
added a crude performance test.
...
svn: r5564
2005-12-16 16:31:38 +00:00
Richard Taylor
7dfe9ebe05
further work to complete the reference_map implementation.
...
svn: r5563
2005-12-16 11:59:13 +00:00
Alex Roitman
3a323a757a
* src/RelLib.py (RepoRef): Typos.
...
* src/Utils.py: Typos.
svn: r5562
2005-12-16 06:03:15 +00:00
Don Allingham
67ad476ed9
* 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
cb89ccf8f7
* src/DisplayState.py: Window management completed
...
svn: r5559
2005-12-15 21:50:14 +00:00
Alex Roitman
04e8f39991
* 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
9a6ddb1b73
Update
...
svn: r5557
2005-12-15 21:21:19 +00:00
Richard Taylor
705a0c2a77
added delete support for the reference_map
...
svn: r5556
2005-12-15 17:48:48 +00:00
Richard Taylor
bbd223633a
reference_map implementation.
...
svn: r5555
2005-12-15 17:32:10 +00:00
Richard Taylor
bfc33b5983
sequencial scan implementation of get_backlink_handles
...
svn: r5554
2005-12-15 12:03:24 +00:00
Alex Roitman
a595fad677
* 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
17def2e4b6
* 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
80fb555300
* src/gramps.glade: Fix Tip of the day
...
svn: r5548
2005-12-14 10:53:33 +00:00
Alex Roitman
fbb843eafa
* 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
070e1f07b8
* src/DisplayState.py: Correct and add comments.
...
svn: r5546
2005-12-14 04:06:42 +00:00
Don Allingham
dcbe6c9326
* 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
b08882b5b2
* various: merge changes made in gramps20 up until R2_0_9 tag.
...
svn: r5544
2005-12-13 02:07:16 +00:00
Richard Taylor
b00ab966eb
src/EditSource.py: Connected up add/del/edit buttons for Repos tab.
...
svn: r5543
2005-12-12 12:04:49 +00:00
Don Allingham
0a2ed36cd5
* src/FamilyView.py: Fixed FamilyView layout
...
svn: r5492
2005-12-07 05:09:01 +00:00
Alex Roitman
1feee85cc6
Update
...
svn: r5483
2005-12-06 06:44:26 +00:00
Alex Roitman
2f962b5f96
merge changes from gramps20
...
svn: r5482
2005-12-06 06:38:09 +00:00
Don Allingham
6b51f067f2
* 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
7e49f9679d
* 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
59e55950a6
* src/PersonView.py (edit): Work with missing active person
...
svn: r5200
2005-09-16 18:37:13 +00:00
Don Allingham
24a2f68930
* src/DisplayState.py: remove relationship display stuff for the time
...
being.
svn: r5199
2005-09-16 18:22:32 +00:00
Martin Hawlisch
4b8208ead1
* src/PageView.py (button_press): Catch problem with no loaded database
...
* src/PersonView.py (button_press): Catch problem with no loaded database
* src/GrampsDbBase.py (_get_from_handle): Catch problem with no loaded database
* src/MapView.py: Updates
* src/EditPerson.py: Change complete flag into marker combo
* src/GrampsDbBase.py: Add map for custom marker values
* src/PeopleModel.py: Add support for colored markers
* src/PersonView.py: Add support for colored markers
* src/RelLib.py: Change complete flag into marker combo
* src/Utils.py: Add marker types
* src/edit_person.glade: Change complete flag into marker combo
svn: r5198
2005-09-16 15:25:27 +00:00
Martin Hawlisch
a627957211
* Makefile.am: Disable install, show warning instead.
...
svn: r5196
2005-09-16 07:28:02 +00:00
Don Allingham
d27db35a35
* src/EditPlace.py: fix windowing history
...
svn: r5194
2005-09-16 04:07:53 +00:00
Martin Hawlisch
ff7af5b673
* src/gramps_main.py: pass DisplayState to TipOfDay
...
* src/TipOfDay.py: Use DisplayState
* src/const.py.in: add GRAMPS websites
* src/ViewManager.py: Add TipOfDay; Make GRAMPS websites work again
svn: r5124
2005-08-25 15:08:07 +00:00
Don Allingham
f63b72f734
* src/DisplayState.py: fixe some window management syntax errros
...
* src/PageView.py: enable double click to edit
* src/EditPerson.py: tried to enable window management
* src/PersonView.py: make more compatible with base class
svn: r5114
2005-08-19 22:10:35 +00:00
Richard Taylor
fa58eca771
2005-08-19 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
...
* src/EventEditor.py: hacked about to make add work at least.
svn: r5113
2005-08-19 15:51:14 +00:00
Richard Taylor
f035e7b94b
2005-08-19 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
...
* src/TreeTips.py: set default delay to 2s
svn: r5112
2005-08-19 15:34:31 +00:00
Richard Taylor
9de8ebdfbf
2005-08-17 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
...
* src/ToolTips.py: tooltip fix
svn: r5111
2005-08-19 15:27:25 +00:00
Richard Taylor
f93ed35eff
2005-08-17 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
...
* src/DisplayModels.py: call new tooltips generator
* src/PeopleModel.py: call new tooltips generator
* src/ToolTips.py: new tooltips generator added
svn: r5110
2005-08-19 14:26:03 +00:00
Richard Taylor
fbfdbae3bd
2005-08-17 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
...
* src/DisplayModels.py: added basic tooltip support to models
* src/PageView.py: added basic tooltip support
* src/PeopleModel.py: added basic tooltip support
svn: r5109
2005-08-19 12:44:44 +00:00
Alex Roitman
704e0c4787
Merge changes from gramps20 made since 2.0.5
...
svn: r5105
2005-08-18 05:58:28 +00:00
Martin Hawlisch
b9f4134fdd
* src/Makefile.am
...
* src/plugins/Makefile.am: ScratchPad moved folder.
svn: r5095
2005-08-17 16:38:19 +00:00
Richard Taylor
d29c69cca4
2005-08-17 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
...
* src/RepositoryView.py: remove method now works again.
svn: r5094
2005-08-17 14:24:34 +00:00
Richard Taylor
acc123ca17
2005-08-17 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
...
* src/ScratchPad.py: fix some issues with new window management and dbstate
* src/scratchpad.glade: moved from src/plugins
* src/plugins/ScratchPad.py: removed
* src/plugins/scratchpad.glade: removed
svn: r5093
2005-08-17 13:51:53 +00:00
Richard Taylor
da29072138
2005-08-12 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
...
* src/EditRepository.py: fixes for lack of parent window handles
use of dbstate. Commented out code to bold labels for now as
Utils.bold_label does not work. Renamed DelReposQuery.
* src/EditSource.py: fixed repository ref edit code to use dbstate.
* src/RepositoryRefEdit.py: fixes for dbstate and commented out window
management code.
* src/RepositoryView.py: fixes for dbstate, commented out remove repos
code for now as it does not work. Fixes edit repository call.
svn: r5092
2005-08-17 09:30:10 +00:00
Alex Roitman
e44cf47799
* src/PedView.py (__init__): Define database variable.
...
* src/ViewManager.py (__init__): Define empty pages list.
* src/DisplayState.py (GrampsWindowManager,ManagedWindow): Add
classes for window management. Still unfinished.
svn: r5080
2005-08-15 03:45:16 +00:00
Don Allingham
56dea05049
* src/GrampsDbBase.py: keep track of open files
...
* src/MediaView.py: convert MediaView to handle pluggable views
* src/PersonView.py: update filter on page change
* src/ViewManager.py: change_database handling
* src/gramps.glade: remove unused blocks
* src/gramps_main.py: Add in MediaView
svn: r5075
2005-08-14 04:31:29 +00:00
Don Allingham
2fe3e67f7c
* src/ViewManager.py: set up about box and other HELP menu items
...
* src/const.py.in: strings for about box
* Makefile.am: install COPYING file to provide text for GPL.
svn: r5073
2005-08-13 03:23:02 +00:00
Martin Hawlisch
5f3fb997c1
* src/MapView.py: Dont fail if xearth is not installed
...
svn: r5066
2005-08-12 18:13:33 +00:00
Don Allingham
3aae6812a7
Navigation menu fix
...
svn: r5065
2005-08-12 17:28:22 +00:00
Alex Roitman
6216a6503e
* src/ArgHandler.py: start fixing.
...
* src/gramps_main.py: Run ArgHandler with new arguments.
svn: r5061
2005-08-12 16:25:43 +00:00
Martin Hawlisch
f69e15f35f
* src/MapView.py: Corrected coordinate handling; Show all location in map; fetch locations from xearth config file
...
svn: r5059
2005-08-12 11:29:06 +00:00
Richard Taylor
dca96503ea
changes to work with ViewManager changes
...
svn: r5058
2005-08-12 10:09:48 +00:00
Don Allingham
a3ec0b3e07
* src/RepositoryView.py: added back in
...
* src/gramps_main.py: added repository view
svn: r5057
2005-08-12 03:39:26 +00:00
Alex Roitman
a63a354c77
Update
...
svn: r5056
2005-08-12 02:54:09 +00:00
Alex Roitman
3338178102
* src/DbState.py: Remove modeule.
...
* src/DisplayState.py: Rename from DbState, kepp only DisplayState
class.
* src/GrampsDbBase.py: Add DbState class.
* src/MapView.py: Swap zoom_in and zoom_out to reflect reality;
add place list with the ScrollableWindow, request size for the
place list.
* src/ViewManager.py: Use DisplayState.DisplayState.
* src/gramps_main.py: Use GrampsDbBase.DbState; add docstring;
svn: r5055
2005-08-12 02:50:56 +00:00
Don Allingham
9d62401d7b
* various: added new views
...
svn: r5054
2005-08-12 02:35:27 +00:00
Don Allingham
6839cb9a85
New EventView
...
svn: r5053
2005-08-11 22:13:44 +00:00
Don Allingham
30450e2efa
PersonNavView changes
...
svn: r5052
2005-08-11 17:19:03 +00:00
Martin Hawlisch
0a245a7f2d
* src/PedView.py: More work on it.
...
* src/MapView.py: New View showing locations on a map. Early unfinished version.
* src/gramps_main.py: Enable MapView
* src/land_shallow_topo_2048.jpg:
* src/land_shallow_topo_350.jpg: Two new map images downloaded from NASA so the are assumed to be public domain.
svn: r5050
2005-08-11 14:57:19 +00:00
Don Allingham
b39a328f9a
split UI and DB state
...
svn: r5049
2005-08-10 23:53:24 +00:00
Martin Hawlisch
363e219af7
* src/PedView.py: Better autoscaling; better ui management
...
svn: r5046
2005-08-10 15:25:46 +00:00
Alex Roitman
8a3ee2f56a
* src/ScratchPad.py: added
...
* src/stock_link.png: added
* src/DbState.py: better ui management, history management
* src/EditPerson.py: better ui management
* src/GrampsDbBase.py: better ui management
* src/PageView.py: better ui management
* src/PersonView.py: better ui management, history management
* src/ViewManager.py: better ui management
svn: r5044
2005-08-10 14:28:16 +00:00
Alex Roitman
621761ef5c
* src/const.py.in: Remove obsolete constants.
...
svn: r5042
2005-08-09 14:43:04 +00:00
Martin Hawlisch
3a8f1f3039
* src/DbState.py: change_active_person now emits the signal, change_active_handle is only a wrapper for that.
...
* src/PageView.py (get_stock): Work around not existing definition of gtk.STOCK_MEDIA_MISSING by using gtk.STOCK_MISSING_IMAGE.
* src/PedView.py: Start using new PageView logic. Unfinished.
* src/gramps_main.py: Enable PedView
svn: r5041
2005-08-09 10:18:56 +00:00
Don Allingham
3e153e8f6e
* src/DbState.py: Added new class to keep track of database
...
status
* src/PageView.py: base class for pluggable views
* src/PersonView.py: new version of PeopleView
* src/ViewManager.py: view and database management class
svn: r5040
2005-08-09 04:41:20 +00:00
Don Allingham
f1b3c2c39f
* various: remove set_date/get_date removal to be replaced by
...
DateHandler calls
svn: r5031
2005-08-06 02:57:37 +00:00
Alex Roitman
895d7e1a53
Merge changes made between 2.0.3 and 2.0.5
...
svn: r4911
2005-07-08 20:24:54 +00:00
Martin Hawlisch
e8fbe69486
* src/RelLib.py: Use DeprecationWarning and api wrappers instead of assert to make HEAD a little more usable again until all transitition is done
...
svn: r4877
2005-06-24 23:17:02 +00:00
Martin Hawlisch
bd40aaf940
* src/plugins/TestcaseGenerator.py: Update to new tuple types
...
svn: r4876
2005-06-24 22:12:30 +00:00
Martin Hawlisch
91681e6aa7
* src/GrampsBSDDB.py (upgrade): Disable upgrade_7 until this is properly working to not accidently destroy a database from gramps20
...
svn: r4875
2005-06-24 22:00:03 +00:00
Don Allingham
9e39e88d2b
Filter improvements
...
svn: r4852
2005-06-20 22:18:22 +00:00
Alex Roitman
cf9bfde518
Update
...
svn: r4836
2005-06-16 15:39:54 +00:00
Alex Roitman
9720317989
* src/EventEdit.py: Hide warning message for new events and for
...
existing events with the default role; Only commit new Event when
OK clicked in the editor.
* src/RelLib.py: Add assertions for external witness methods.
* src/gramps.glade:
svn: r4835
2005-06-16 15:39:19 +00:00
Alex Roitman
d884d3457f
* src/EventEdit.py: Remove unused variable.
...
svn: r4834
2005-06-16 13:21:11 +00:00
Don Allingham
26ba860fc3
* src/DisplayModels.py: fixed event type display
...
svn: r4832
2005-06-16 04:08:42 +00:00
Don Allingham
0802e3a811
* src/ReadXML.py: build child/family relationships properly on
...
import, add missing event descriptions
* src/RelLib.py: type checking for set_role relationship types
svn: r4831
2005-06-16 03:56:13 +00:00
Alex Roitman
f9a01d5854
* src/ListBox.py (EventListBox.set_place): Fix place setting.
...
svn: r4830
2005-06-16 03:46:47 +00:00
Alex Roitman
3d595d685c
* src/events.png, src/repos.png, src/repos24.png: Add GNOME icons
...
for the stock calendar and drawer.
* src/events24.png: Update small icon.
* src/gramps.glade: Use new icons for the Event View and
Repository View side bar buttons. Add small icons to the main
notebook tabs.
svn: r4822
2005-06-14 13:45:09 +00:00
Alex Roitman
3e6bb33bf3
* src/ChooseParents.py: Correct use of types; Use family relations
...
between parents; Use EventRef for birth; Remove obsolete code.
* src/gramps.glade (familyDialog): Typo in widget name.
svn: r4816
2005-06-09 01:54:11 +00:00
Alex Roitman
f5ffcaeee7
* src/AutoComp.py (StandardCustomSelector.__init__): Compare
...
active_key to None.
* src/gramps.glade (marriageDialog): Remove displayed strings from
the Sttributes tab.
* src/Marriage.py: Delegate attribute handling to ListBox.
* src/ListBox.py (AttrListBox): Support both personal and family
attributes.
svn: r4815
2005-06-09 01:18:03 +00:00
Alex Roitman
27c0af8356
* src/gramps.glade: Minor update.
...
svn: r4814
2005-06-08 21:22:32 +00:00
Alex Roitman
16c1b632e4
* src/EditPerson.py: Commit events, since there may be changes
...
made no in the editor.
* src/EventEdit.py: Use combined mapping for all events.
* src/FamilyView.py: Proper display of child relations.
* src/Marriage.py: Commit events; properly call common event/ref
editor.
* src/Utils.py: Minor.
svn: r4813
2005-06-08 21:17:18 +00:00
Martin Hawlisch
a7778ace75
* src/EditPerson.py: Make gender guessing work again
...
svn: r4812
2005-06-08 21:12:32 +00:00
Alex Roitman
d7ba30cacc
* src/gramps.glade (Marriage): Re-work dialog similar to EditPerson.
...
* src/Utils.py (family_event_roles): Add mapping.
* src/RelLib.py (EventRef): Add FAMILY role.
* src/Marriage.py: Start using Listbox, so far for Events only.
* src/ListBox.py: Support both person and family primaries.
* src/EventEdit.py: Support both person and family primaries.
* src/EditPerson.py (on_apply_person_clicked): Do not commit
event, as this is done in the editor.
svn: r4809
2005-06-08 18:47:55 +00:00
Alex Roitman
399c5b61f4
* src/EventView.py (Module): Remove extra column.
...
* src/EventEdit.py (EventEditor.__init__): Remove obsolete code.
svn: r4808
2005-06-08 16:32:13 +00:00
Alex Roitman
5ae515056b
* src/gramps_main.py (init_interface): Set proper color for new icons.
...
* src/gramps.glade (gramps): Label new buttons, left-align labels.
* src/GrampsDbBase.py (get_event_column_order): Show date column.
* src/EventView.py (Module): Add "Last Changed" column; do not
hard-code handle column.
* src/DisplayModels.py (EventModel.__init__): Switch column order.
svn: r4807
2005-06-08 15:50:19 +00:00
Martin Hawlisch
3a29a38b53
* src/gramps_main.py (column_order): add Repository View; (init_interface): Remove unneeded callback
...
svn: r4806
2005-06-08 15:37:44 +00:00
Martin Hawlisch
ee5e8689f9
* src/EventView.py (column_names): Add missing column
...
* src/RepositoryView.py (column_names): Add missing columns
* src/GrampsDbBase.py: fix column_order methods
* src/DisplayModels.py (RepositoryModel): Remove parish column because it is not editable anyway
svn: r4805
2005-06-08 15:35:31 +00:00
Alex Roitman
a3e0bf4648
* src/RelLib.py (add_parent_family_handle,
...
change_parent_family_handle): Correct the docstring to reflect
tuple relationships.
svn: r4804
2005-06-08 14:02:45 +00:00
Alex Roitman
c2be8cceec
* src/ChooseParens.py: Support for (int,str) relationships.
...
* src/FamilyView.py (new_child_after_edit): Use tuple relationships.
* src/SelectChild.py: Support for (int,str) relationships.
* src/gramps.glade (selec_child,modparents,familyDialog): Replace
ComboBoxes with ComboBoxEntries.
svn: r4803
2005-06-08 13:41:51 +00:00
Alex Roitman
979474ebb9
* src/gramps.glade (selecty_person): Change positioning; add icon.
...
* src/edit_person.glade (event_tab): Correct tooltips.
* src/SelectEvent.py: Add to CVS.
* src/Makefile.am: Ship SelectEvent.py file.
* src/SelectChild.py (build_list): Use mapping from Utils.
* src/ReadGrdb.py (importData): Properly copy event table.
* src/ListBox.py: Properly fill in the Combo maps without
collisions; Add Role to the EventListbox; Support selecting an
existing Event object.
* src/GrampsInMemDB.py: Support for event id table.
* src/GrampsDbBase.py: Support for event id table.
* src/GrampsBSDDB.py: Support for event id table; emit
event-delete signal when events are deleted.
* src/EventView.py: Support deleting events.
* src/EventEdit.py: Support deleting events; Proper adding events.
svn: r4801
2005-06-08 04:40:33 +00:00
Martin Hawlisch
f16f41cbda
* various: const to RelLib transitition.
...
svn: r4800
2005-06-07 19:22:10 +00:00
Alex Roitman
16c906d7cb
* src/EventView.py (build_columns): Do not artificially create
...
an extra column.
svn: r4798
2005-06-07 13:53:46 +00:00
Alex Roitman
b67a0d0e00
* src/DisplayModels.py: Support for event view.
...
* src/EventEdit.py: Commit event on OK.
* src/GrampsDbBase.py: Event column order and event cursor.
* src/GrampsInMemDB.py: Event cursor.
* src/gramps.glade: Event View, rework buttons.
* src/gramps_main.py: Event View support.
* src/EventView.py: Add to CVS.
* src/Makefile.am: Ship EventView.
svn: r4797
2005-06-07 05:08:50 +00:00
Alex Roitman
491b0cfdc7
* src/AttrEdit.py: proper type selector support.
...
* src/AutoComp.py (by_value): Use locale-aware sorting.
* src/EditPerson.py: Support select button for the event tab.
* src/EventEdit.py (EventRefEditor): Editor for both events and
event refs.
* src/ListBox.py: Support for select button; Proper removal of
entries; Proper Event/ref editing support; fixes for combos.
* src/NameEdit.py: Typo.
* src/edit_person.glade: Add select button to the event tab.
* src/gramps.glade: Add new editor for both events and refs.
svn: r4796
2005-06-06 23:50:33 +00:00
Alex Roitman
d4a8f824ac
* src/DateHandler.py: Fix typo caught in gramps20 branch.
...
svn: r4793
2005-06-05 17:26:30 +00:00
Alex Roitman
719319baac
* src/RelLib.py (Event): Add a list to store external witnesses.
...
svn: r4787
2005-06-05 05:16:27 +00:00
Julio Sánchez
704780e868
* src/po/es.po: version merge fix
...
svn: r4786
2005-06-05 05:11:32 +00:00
Alex Roitman
9ee0f10127
Merge changes between 2.0.1 and 2.0.2 with the main trunk
...
svn: r4785
2005-06-05 04:01:56 +00:00
Don Allingham
97b0b31fab
* src/AttrEdit.py: support get_type/set_type in dropdown menu
...
* src/EditPerson.py: remove items properly based off EventRef
svn: r4781
2005-06-04 02:54:59 +00:00
Don Allingham
b239854bb4
event/name type fixes
...
svn: r4780
2005-06-03 22:38:14 +00:00
Martin Hawlisch
e523edce30
* src/EditSource.py (ReposRefListView): Display repository type as text
...
svn: r4773
2005-06-03 14:18:06 +00:00
Martin Hawlisch
dce8f86240
* src/DisplayModels.py (RepositoryModel): Display repository type as text
...
* src/RelLib.py (Repository): Serialize type as tuple not unicode
svn: r4767
2005-06-03 10:02:50 +00:00
Don Allingham
8c624a2ba1
* src/DisplayModels.py: Handle EventRefs properly
...
* src/FamilyView.py: handle relationship types
* src/ReadXML.py: start of upgrade process
* src/RelLib.py: ROLE_PRIMARY -> PRIMARY
svn: r4765
2005-06-03 04:34:21 +00:00
Alex Roitman
9285e8ee56
* src/RelLib.py (Family.set_relationship): Update doc string.
...
svn: r4763
2005-06-03 04:18:38 +00:00
Alex Roitman
0258aad197
* src/ListModel.py: Check for the list to be long enough.
...
* src/gramps.glade: Replace ComboBox with ComboBoxEntry; remove
unneeded scrollwed window (caused warning).
svn: r4757
2005-06-02 13:23:20 +00:00
Don Allingham
1946c31ba6
* src/gramps.glade:
...
svn: r4756
2005-06-02 04:44:51 +00:00
Don Allingham
778b584916
* src/EditPerson.py: Start event_ref integration
...
* src/EventEdit.py: Start event_ref integration
* src/ListModel.py: Start event_ref integration
* src/PersonModel.py: Start event_ref integration
* src/ListBox.py: Start event_ref integration
svn: r4754
2005-06-02 03:20:42 +00:00
Alex Roitman
35ffafc48c
* various: More support for event refs.
...
svn: r4753
2005-06-01 20:45:45 +00:00
Alex Roitman
455a723b7b
* src/AutoComp.py (StandardCustomSelector): Provide an option to
...
use an existing ComboBoxEntry instance; add set_values method.
* src/RelLib.py (Family.__init__): Use tuple for type.
* src/Utils.py: Add event_roles mapping.
* src/AddSpouse.py, src/EditPerson.py, src/FamilyView.py,
src/ListBox.py, src/Marriage.py, src/NameEdit.py: Support tuple
types.
* src/gramps.glade: Replace ComboBox with ComboBoxEntry; add icons.
svn: r4748
2005-06-01 13:14:29 +00:00
Martin Hawlisch
fe11852d1f
* src/EditSource.py, src/ListBox.py, src/ReadGedcom.py, src/WriteGedcom.py: Constants moved from const to Utils and RelLib
...
svn: r4746
2005-05-31 19:36:28 +00:00
Alex Roitman
5fc30a579a
* src/AutoComp.py (StandardCustomSelector): Add autocompletion.
...
svn: r4745
2005-05-31 18:40:17 +00:00
Alex Roitman
123f3a2f5b
* src/RelLib.py (Witness): Remove class, as it is obsoleted by the
...
EventRef class.
svn: r4744
2005-05-31 18:34:14 +00:00
Alex Roitman
2c6f640ac5
* src/AutoComp.py (StandardCustomSelector): Add class to handle
...
(int,str) selections including custom strings.
svn: r4741
2005-05-31 18:17:38 +00:00
Alex Roitman
5652f21069
* src/RelLib.py: Move constants back to RelLib, as class attributes.
...
* src/Utils.py: Move constant mappings from const.py.in.
* src/const.py.in: Move constants and mappings elsewhere.
* various: Use constants from RelLib, not const.
* src/RelLib.py: Fix (int,str) types.
* src/GrampsBSDDB.py (upgrade_7): Handle case of not set default person
svn: r4737
2005-05-30 21:38:09 +00:00
Martin Hawlisch
c4195cf7ef
* src/src/GrampsBSDDB.py (upgrade_7): Handle case of not set default person
...
svn: r4735
2005-05-30 15:25:17 +00:00
Alex Roitman
f4f4af3e21
* src/RelLib.py: Delegate event handle reference lookup from
...
Person to EventRef class; (RepoRef.get_handle_referents): Remove
unneeded method (inherited from BaseObject).
svn: r4729
2005-05-28 16:21:58 +00:00
Alex Roitman
8969589bae
* src/GrampsBSDDB.py (upgrade_7): Enforce str for the default handle.
...
svn: r4726
2005-05-28 06:35:15 +00:00
Martin Hawlisch
51d1c21ab7
* src/const.py.in: Replace static definition of lds_temple_to_abrev by dynamic generation from lds_temple_codes so they need to be defined only once.
...
svn: r4723
2005-05-27 21:39:39 +00:00
Martin Hawlisch
00fa684aa9
* src/gramps.glade: Add ScrolledWindow to RepositoryView to make it look like Source and Place View.
...
svn: r4722
2005-05-27 21:10:37 +00:00
Martin Hawlisch
d07c0ebe29
* src/RelLib.py: Move constants from RelLib to const
...
* src/plugins/TestcaseGenerator.py: Move constants from RelLib to const
svn: r4721
2005-05-27 20:59:59 +00:00
Alex Roitman
1baf572544
* src/ChooseParents.py: Fix constants.
...
* src/FamilyView.py: Fix constants.
* src/PedView.py: Fix constants.
* src/ReadGedcom.py: Fix constants.
* src/ReadXML.py: Fix constants.
* src/SelectChild.py: Fix constants.
* src/WriteXML.py: Fix constants.
svn: r4718
2005-05-27 20:32:33 +00:00
Alex Roitman
b9746a58e9
* src/const.py.in: Get rid of TransTable use in favor of int contsants.
...
* src/GrampsBSDDB.py (upgrade_2): Use proper constants.
* src/RelLib.py: Move constants out to const.py.in.
svn: r4716
2005-05-27 20:09:28 +00:00
Martin Hawlisch
8dccff6eeb
update
...
svn: r4715
2005-05-27 19:37:55 +00:00
Alex Roitman
05ad2bea2a
* src/GrampsBSDDB.py (upgrade_*): Use transaction for commits.
...
svn: r4713
2005-05-27 19:14:20 +00:00
Alex Roitman
fed2cd87e6
Merge SOUR_REPO branch with main trunk
...
svn: r4712
2005-05-27 17:43:04 +00:00
Alex Roitman
c0818faa93
* src/const.py.in: Define integer constants for standard events.
...
svn: r4707
2005-05-27 14:04:53 +00:00
Martin Hawlisch
9c4ce38f04
* src/plugins/TestcaseGenerator.py: Support for event references.
...
svn: r4705
2005-05-27 13:48:47 +00:00
Martin Hawlisch
b7e530dccd
* src/EditPerson.py: typo
...
svn: r4704
2005-05-27 11:23:46 +00:00
Martin Hawlisch
a044409e4a
* src/RelLib.py: Add wrappers for old event handle API including a DeprecationWarning (this makes HEAD no longer completely defunct); Add checks for EventRef class type
...
svn: r4703
2005-05-27 09:47:31 +00:00
Alex Roitman
33396348db
* src/EditPerson.py: Support for event references.
...
* src/FamilyView.py: Support for event references.
* src/ListBox.py: Support for event references.
* src/PedView.py: Support for event references.
* src/RelLib.py: Support for event references.
svn: r4700
2005-05-27 05:07:26 +00:00
Alex Roitman
8f894a12a8
* src/RelLib.py (EventRef): Add class.
...
svn: r4693
2005-05-26 21:03:24 +00:00
Martin Hawlisch
63f788bad9
* src/PedView.py (rebuild_trees): Resize matching is now done later by idle callback; (add_table_to_notebook): Work with PyGtk < 2.4;(format_relation): Adapt format to availably space.
...
svn: r4685
2005-05-26 06:33:48 +00:00
Martin Hawlisch
107239fb4c
* src/plugins/TestcaseGenerator.py: Add place, media and source references.
...
svn: r4684
2005-05-26 05:48:14 +00:00
Alex Roitman
25c9f77a18
* src/EditPlace.py: WATCH cursor and temp label for References tab.
...
* src/EditSource.py: Improve manipulating notebook tab labels.
* src/Utils.py (temp_label): Add function;
(bold_label,unbold_label): Properly set cursor to default.
* src/gramps.glade (event editor, source editor, place editor):
Add icons to notebook tabs.
svn: r4683
2005-05-26 05:04:36 +00:00
Richard Taylor
d2a89b0f89
2005-05-25 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
...
* src/plugins/ScratchPad.py: disabled search because it does not do
what the user expects.
svn: r4671
2005-05-25 07:24:39 +00:00
Richard Taylor
9d19ad4095
fix ScratchPad window close bug.
...
svn: r4670
2005-05-25 06:56:41 +00:00
Alex Roitman
f57b31016f
* src/EditSource.py (__init__): set cursor to WATCH before displaying
...
references; call display_references when idle;
(display_references): set cursor to LEFT_PTR when done.
* src/ListModel.py (__init__): Typo.
* src/Utils.py (bold_label,unbold_label): make work with both
labels and their parent containers.
svn: r4669
2005-05-25 05:09:11 +00:00
Don Allingham
956b65327a
conflict resolution
...
svn: r4668
2005-05-25 03:58:27 +00:00
Martin Hawlisch
340e9a8eb7
* src/plugins/PHPGedViewConnector.py: Enhanced version.
...
svn: r4667
2005-05-24 21:39:49 +00:00
Alex Roitman
d7ce524379
Merge from 2.0.1
...
svn: r4666
2005-05-24 13:08:06 +00:00
Don Allingham
62c65fb454
* configure.in: bump up verison number to 2.1.0
...
svn: r4610
2005-05-18 03:42:01 +00:00
Julio Sánchez
c56c2bbfaf
* src/po/es.po: remerge from 2.0.0
...
svn: r4556
2005-05-11 19:25:32 +00:00
Don Allingham
b39724bcd6
* src/EditPerson.py: remerge from 2.0.0
...
svn: r4553
2005-05-11 17:25:14 +00:00
Alex Roitman
2a77676b36
Merge changes made in gramps20 into HEAD
...
svn: r4549
2005-05-11 14:04:47 +00:00
Don Allingham
09c961bf10
* src/gramps_main.py: fix beta warning dialog
...
svn: r4499
2005-05-07 02:41:08 +00:00
Don Allingham
f17c41cec6
* src/ListBox.py: added to CVS
...
* src/Makefile.am: added ListBox.py
svn: r4470
2005-05-03 11:50:33 +00:00
Don Allingham
e9b4823d09
* src/EditPerson.py: start of new gallery
...
* src/ImageSelect.py: start of new gallery
* src/Witness.py: fix listmodel
* src/const.py.in: LDS temple names
* src/edit_person.glade: start of new gallery
svn: r4465
2005-05-03 04:06:03 +00:00
Don Allingham
ccbf79cc5c
* src/const.py.in: convert Alternate Birth and Alternate Death to
...
Birth and Death
svn: r4448
2005-05-01 04:22:08 +00:00
Don Allingham
5351dad9bc
* src/EditPerson.py: Add support for inline editing
...
* src/EventEdit.py: Don't commit events here - should be commited
elsewhere
* src/ListModel.py: Add support for table callback functions
to update data after inline editing
svn: r4447
2005-04-30 23:45:17 +00:00
Alex Roitman
a71db16ccd
* src/edit_person.glade: Compact name edit button.
...
* src/EditPerson.py: remove dead logic for birth/death editing,
svn: r4446
2005-04-29 15:52:06 +00:00
Martin Hawlisch
c69cc1f7e1
* src/plugins/PHPGedViewConnector.py, src/plugins/phpgedview.glade: New files. Start of a client interface for phpGedView. unfinished. Put them in CVS to not loose them.
...
svn: r4445
2005-04-29 15:45:34 +00:00
Don Allingham
45bd976f69
fix some eventlist handling errors
...
svn: r4442
2005-04-28 22:21:20 +00:00
Don Allingham
d3b7cda0e3
* src/EditPerson.py: rewrite of tabbed lists
...
* src/EventEdit.py: bold the label
* src/ListModel.py: allow column types to be specified
* src/edit_person.glade: tab improvements
svn: r4437
2005-04-28 04:48:30 +00:00
Martin Hawlisch
2fa2879c1c
* src/StartupDialog.py (__init__): Catch Schema errors
...
svn: r4436
2005-04-27 19:48:24 +00:00
Martin Hawlisch
00ce9a19fa
* src/gramps_main.py (__init__): Avoid TypeError in schema error message
...
svn: r4434
2005-04-27 18:30:57 +00:00
Alex Roitman
a7ca0ddf7f
Merge changes made in gramps20 into HEAD
...
svn: r4431
2005-04-26 16:04:21 +00:00
Martin Hawlisch
7549d625e6
* src/PedView.py: Removed navigation buttons in flavour of a menu
...
svn: r4430
2005-04-26 13:53:25 +00:00
Don Allingham
c9f9d2163c
* src/ListModel.py: keep track of data index
...
* src/EventEdit.py: use new label scheme for tabs that uses an
icon to indicate used tabs
svn: r4410
2005-04-24 03:39:07 +00:00
Don Allingham
5c137d199c
* src/AddrEdit.py: use new label scheme for tabs that uses an
...
icon to indicate used tabs
* src/AttrEdit.py: use new label scheme for tabs that uses an
icon to indicate used tabs
* src/NameEdit.py: use new label scheme for tabs
* src/Date.py: incorporate instance check form gramps20 branch
* src/EditPerson.py: add additional fields for name edit, handle
lds page better, adapt to new label scheme
* src/GrampsDbBase.py: fix typos
* src/GrampsGEDDB.py: fix undo handling
* src/GrampsInMemDB.py: fix undo handling
* src/GrampsXMLDB.py: fix undo handling
* src/PeopleView.py: don't reselect an already selected person
* src/Utils.py: new tab scheme
* src/edit_person.glade new tab scheme
* src/gramps_main.py: 1->True, 0->False replacements
* src/DbPrompter.py: bring up to date with gramps20 branch
* src/DisplayModels.py: bring up to date with gramps20 branch
* src/ReadGedcom.py: bring up to date with gramps20 branch
* src/Relationship.py: bring up to date with gramps20 branch
svn: r4406
2005-04-23 15:53:30 +00:00
Martin Hawlisch
1153713d67
* src/GrampsDbBase.py (_find_from_handle,find_object_from_handle,
...
find_place_from_handle): Fix typo
svn: r4405
2005-04-23 06:56:05 +00:00
Martin Hawlisch
2b0dcea160
* GenericFilter.py: Don't crash on corrupt database
...
svn: r4382
2005-04-19 19:34:22 +00:00
Martin Hawlisch
2521330c56
* src/GrampsDbBase.py (create_id): Use sys.maxint to get the maximum possible integer number
...
svn: r4377
2005-04-19 14:47:02 +00:00
Martin Hawlisch
715cf4c956
* src/PedView.py: Replaced gnome canvas by an implementation that uses gtk+ only. Still incomplete.
...
* src/gramps_main.py: Removed canvas specific calls of the PedView
svn: r4376
2005-04-19 11:40:16 +00:00
Don Allingham
7cac4ec348
* src/edit_person.glade: re-add edit_person.glade
...
* src/EditPerson.py: start of new EditPerson dialog
* src/ListModel.py: enhancements for the start of inline editing
* src/Makefile.am: add edit_person.glade
* src/ReadXML.py: commit transactions properly
* src/const.py.in: add edit_person.glade back in
svn: r4375
2005-04-19 04:20:17 +00:00
Don Allingham
2b3c28538c
* src/GrampsBSDDB.py: actually perform the commits during the
...
transaction_commit task, instead of the commit_* tasks
* src/GrampsInMem.py: actually perform the commits during the
transaction_commit task, instead of the commit_* tasks
* src/GrampsDbBase.py: actually perform the commits during the
transaction_commit task, instead of the commit_* tasks
svn: r4370
2005-04-17 22:34:56 +00:00
Eero Tamminen
23e05663c6
fix typo
...
svn: r4369
2005-04-17 19:27:54 +00:00
Eero Tamminen
d0bf15e690
fix typos
...
svn: r4368
2005-04-17 17:48:42 +00:00
Martin Hawlisch
21aaf39e32
* src/plugins/WebPage.py (dump_gendex): Files are named by GRAMPS ID; Alway print fields for birth/death; Fixed typo in DateHandler
...
svn: r4367
2005-04-16 12:16:56 +00:00
Don Allingham
8da903e032
* src/plugins/Check.py: loop through family relationships until all
...
problems are resolved
svn: r4364
2005-04-15 04:50:15 +00:00
Don Allingham
daea55dc65
* src/FamilyView.py: make load_family more robust to signals
...
svn: r4363
2005-04-14 20:43:14 +00:00
Martin Hawlisch
c359826710
* src/gramps_main.py (undo): Dont emit "database-changed"
...
* src/plugins/plugins/TestcaseGenerator.py: Added option to generate a new transaction for every change on the database. Useful for UNDO and signal testing.
svn: r4361
2005-04-14 13:18:20 +00:00
Don Allingham
680c20e65e
* src/EditSource.py: allow double click on reference to bring up the referece
...
editor
* src/EventEdit.py: don't require a callback
* src/ImageSelect.py: horrible hack for handling removing parent windows.
Alex: HELP!
svn: r4360
2005-04-14 00:26:38 +00:00
Don Allingham
838ceb67bb
* src/gramps_main.py: check for reentrancy into the undo handler
...
svn: r4359
2005-04-13 22:04:52 +00:00
Don Allingham
61a5f5e168
* src/plugins/WebPage.py: fixed check on dialog run() return value,
...
changed deprecated gtk.mainiteration to gtk.main_iteration
svn: r4358
2005-04-13 18:16:20 +00:00
Don Allingham
26afdf71e9
* src/WriteGedcom.py: fixed problem with skipping events
...
svn: r4357
2005-04-13 17:29:52 +00:00
Don Allingham
2022576648
* src/FamilyView.py: commit family before people when committing
...
new spouse.
svn: r4355
2005-04-13 02:46:19 +00:00
Don Allingham
dd96e0fb24
* src/EventEdit.py: more robust handler for new place after an edit
...
svn: r4353
2005-04-12 15:16:04 +00:00
Martin Hawlisch
e34124272e
* src/ArgHandler.py: Fixed typo
...
svn: r4352
2005-04-12 13:11:23 +00:00
Alex Roitman
4ac4e36230
* src/ArgHandler.py: Minor string changes.
...
* src/DbPrompter.py: Minor string changes.
svn: r4351
2005-04-12 01:56:36 +00:00
Alex Roitman
8df6c325a8
* src/po/template.po: Update translation template.
...
* src/po/ru.po: Some translation updates.
svn: r4350
2005-04-12 01:55:42 +00:00
Richard Taylor
473828c8a9
2005-04-11 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
...
* src/plugins/ScratchPad.py: hook up to 'database-changed' signal
so that pad is cleared when a new database is opened.
svn: r4348
2005-04-11 19:29:54 +00:00
Alex Roitman
d30ac900fe
* src/SourceView.py (button_press,build_context_menu): Work with
...
multiple selections.
svn: r4346
2005-04-11 14:47:02 +00:00
Alex Roitman
2837586ceb
* src/MergeData.py (on_merge_places_clicked): Commit event.
...
svn: r4345
2005-04-11 14:36:33 +00:00
Martin Hawlisch
d46ddf9866
* src/plugins/ImportGeneWeb.py: Add line numbers to error messages; Support for "csrc" and "cbp" fields; Catch empty date
...
svn: r4343
2005-04-11 11:10:50 +00:00
Martin Hawlisch
b2677542df
* src/plugins/Check.py: Fix events, that reference non existing places
...
svn: r4342
2005-04-11 10:11:04 +00:00
Martin Hawlisch
b6ba0b4b16
* src/PedView.py (load_canvas): Catch bug of not existing family
...
svn: r4341
2005-04-11 09:42:55 +00:00
Alex Roitman
0b88a1b15e
* src/RelLib.py (BaseObject): add get_referenced_handles,
...
get_handle_referents, and get_referenced_handles_recursively methods.
(various subclasses): override get_referenced_handles and/or
get_handle_referents as appropriate.
svn: r4339
2005-04-10 23:40:18 +00:00
Alex Roitman
9fe2349434
* Release: Version 1.1.95 "When danger reared its ugly head,
...
he bravely turned his tail and fled" released.
* configure.in: Bump up the version number.
svn: r4338
2005-04-10 23:36:55 +00:00
Alex Roitman
8d98e20f7e
* NEWS: Update.
...
svn: r4336
2005-04-10 23:27:32 +00:00
Alex Roitman
2d12246115
Update
...
svn: r4335
2005-04-10 23:26:34 +00:00
Don Allingham
7951c5b16f
* src/EventEdit.py: Add new places to the database.
...
svn: r4334
2005-04-10 22:08:11 +00:00
Don Allingham
9ed9f57c21
* src/Check.py: repair family types of "None" in the database
...
svn: r4332
2005-04-10 21:21:58 +00:00
Don Allingham
7a2634c8fa
* src/Makefile.am: add MergePeople.py
...
svn: r4331
2005-04-10 14:38:06 +00:00
Don Allingham
dc4f6547d5
* src/FamilyView.py: ignore None family types. This should never
...
occur, but we want to be safe.
svn: r4330
2005-04-09 22:20:15 +00:00
Alex Roitman
91fe41b753
* src/po/template.po: Update translation template.
...
svn: r4329
2005-04-09 18:49:50 +00:00
Richard Taylor
025bac3328
2005-04-09 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
...
* src/GrampsDBCallback.py: block recursive signal calls, improved error
reporting. All warnings are now printed to stderr even if logging
is turned off.
svn: r4328
2005-04-09 13:04:36 +00:00
Don Allingham
c987a9faff
* src/ChooseParents.py: pychecker changes
...
* src/DdTargets.py: pychecker changes
* src/FamilyView.py: pychecker changes
* src/GrampsCfg.py: pychecker changes
* src/MergeData.py: pychecker changes
* src/MergePeople.py: pychecker changes
* src/NameEdit.py: pychecker changes
* src/NoteEdit.py: pychecker changes
* src/RelLib.py: pychecker changes
* src/gramps_main.py: pychecker changes
svn: r4327
2005-04-09 03:11:03 +00:00
Don Allingham
f70a65446a
* src/GrampsDbBase.py: correctly handle signals when undoing a
...
delete operation
* src/PeopleView.py: remove unused signal
* src/gramps_main.py: handle history mechanism with new signal scheme,
avoiding the double active-changed when selecting an element
svn: r4326
2005-04-09 00:31:39 +00:00
Martin Hawlisch
a83de42a94
* src/GenericFilter.py (FilterParser.startElement): Catch non existing filter rule and print an error message
...
svn: r4325
2005-04-08 18:52:05 +00:00
Martin Hawlisch
43ace45a9c
* src/PeopleModel.py (column_death_place): Use "Burial" and "Cremation" events
...
svn: r4324
2005-04-08 15:53:48 +00:00
Martin Hawlisch
0b442d3721
* src/gramps_main.py: Added "Invert" checkbox for person filter; Fix "active-changed" signals to not cause Tracebacks.
...
* src/gramps.glade: Added "Invert" checkbox for person filter
* src/PeopleView.py (build_tree): Pass Invert state for Filter to PeopleModel
* src/PeopleModel.py: Enable invertation of filter result
svn: r4323
2005-04-08 10:49:26 +00:00
Martin Hawlisch
985d1f5dc7
* src/Utils.py (probably_alive): Added two more checks for birth and death year
...
svn: r4322
2005-04-08 09:40:15 +00:00
Richard Taylor
62f20cb7b9
2005-04-08 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
...
* src/Utils.py (probably_alive): fix some bugs and added checking of ancestors.
svn: r4321
2005-04-08 08:09:18 +00:00
Martin Hawlisch
89c75e626f
* src/GenericFilter.py: Call prepare/reset for nested filters
...
svn: r4319
2005-04-07 13:24:16 +00:00
Richard Taylor
0c112b11eb
2005-04-07 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
...
* src/gramps_main.py: correct type signature for 'active-changed' signal.
* src/GrampsDBCallback.py: improve the error reporting.
svn: r4318
2005-04-07 08:18:43 +00:00
Don Allingham
d23b249b9d
* src/FamilyView.py: keep track of local person during update, connect
...
active-changed signal
* src/gramps_main.py: keep track of active-changed, use local person
svn: r4317
2005-04-07 02:30:07 +00:00
Don Allingham
bda5b22484
* src/FamilyView.py: keep track of local person during update
...
* src/PedView.py: update database pointer when database changed, update
active person
* src/gramps_main.py: keep track of active-changed
svn: r4316
2005-04-07 00:51:26 +00:00
Martin Hawlisch
61f8c4b6bc
* src/Utils.py (probably_alive): Add some checks to make current year parameter work.
...
svn: r4315
2005-04-06 20:56:24 +00:00
Martin Hawlisch
d91a531b43
* src/gramps.glade: People View: Add label for filter text input field.
...
* src/GenericFilter.py (ProbablyAlive): Add check for input parameter, (HasSourceOf): get handle only once, removed unused code.
* src/gramps_main.py: Show label for filter input field.
svn: r4313
2005-04-06 20:26:15 +00:00
Richard Taylor
6fc3fc5ce5
2005-04-06 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
...
* src/GenericFilter.py: added a current year parameter to probably alive rule.
* src/Utils.py: added a current year parameter to probably alive function.
svn: r4312
2005-04-06 15:52:52 +00:00
Richard Taylor
3db2253458
2005-04-06 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
...
* src/plugins/FilterEditor.py: Added source IDs into the source combobox.
svn: r4311
2005-04-06 15:25:16 +00:00
Richard Taylor
96660c6a49
2005-04-06 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
...
* src/GenericFilter.py: Added HasSourceOf rule
* src/plugins/FilterEditor.py: Added MySource combobox for selecting source IDs.
svn: r4310
2005-04-06 15:03:36 +00:00
Martin Hawlisch
7bb52a76db
* src/PedView.py: Truncate place names because they tend to be loooong.
...
svn: r4309
2005-04-06 13:54:12 +00:00
Richard Taylor
0b6456511e
2005-04-06 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
...
* src/DdTargets.py: added PERSON_LINK_LIST target.
* src/FamilyView.py: corrected bug when person is droped if there is no current
family.
* src/PeopleView.py: enabled dnd of lists of people.
* src/plugins/ScratchPad.py: support lists of people.
svn: r4308
2005-04-06 13:28:51 +00:00
Martin Hawlisch
50d603224b
* src/plugins/ChangeNames.py: Block signal emission during run
...
* src/plugins/Check.py: Block signal emission during run
* src/plugins/ImportGeneWeb.py: Block signal emission during run
* src/plugins/ImportvCard.py: Block signal emission during run
* src/plugins/TestcaseGenerator.py: Block signal emission during run
svn: r4306
2005-04-06 10:22:18 +00:00
Richard Taylor
2eca343616
2005-04-06 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
...
* src/GrampsDBCallback.py: improved error reporting when there is an error in
a callback function. Added unittest for exception in callback function.
svn: r4305
2005-04-06 10:04:32 +00:00
Martin Hawlisch
6f6f57e55d
* src/gramps_main.py (post_load): Emit "database-changed" signal instead of calling change_db().
...
* src/PedView.py: Connect to "database-changed" signal and handle person-update signals to redraw the view.
* src/FamilyView.py (__init__) connect to database-changed signal, dont call change_cb because on initialisation there is no real database. (change_db): use database parameter supplied by signal emission.
* src/PeopleView.py (__init__) dont connect the signals, this will be done by change_db, (change_db): Use supplied database.
* src/SourceView.py (__init__): dont call change_cb because on initialisation there is no real database and this will be done by the signal.
svn: r4304
2005-04-06 09:40:41 +00:00
Richard Taylor
379f097746
2005-04-04 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
...
* src/plugins/ScratchPad.py: made clear buttons sensitive to contents of
list and current selection. Added support for PERSON_LINK dnd.
* src/DdTargets.py: added PERSON_LINK target and simplified generation of
targets lists.
* src/FamilyView.py: added dnd of person handles to and from the child list.
* src/PeopleView.py: added dnd of person handles from the person list.
svn: r4303
2005-04-06 09:28:54 +00:00
Alex Roitman
0514435d17
* src/GrampsBSDDB.py (upgrade_5): Make work with half-upgraded data.
...
svn: r4302
2005-04-06 04:39:02 +00:00
Don Allingham
80810426f9
* src/DbPrompter.py: provide a better error message of DB open failure
...
* src/const.py.in: Add Martin Hawlisch and Richard Tayor to author list
svn: r4300
2005-04-05 15:31:04 +00:00
Martin Hawlisch
34490376db
* src/PedView.py: Show Baptism/Burial as fallback for birth/death; Moved text generation for details view out of DispBox class so that PedigreeView can use the same string for max size calculation.
...
* src/PeopleModel.py: Show Baptism/Burial as fallback for birth/death. Based on patch from Jim Smart.
* src/PeopleView.py: Enable makup that PeopleModel can render fallback data in italics.
svn: r4299
2005-04-05 15:02:59 +00:00
Richard Taylor
0b50042f61
2005-04-01 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
...
* src/GrampsDBCallback.py: added support for disconnecting callbacks,
better test code and lots of logging. Improved the comments.
svn: r4298
2005-04-05 13:33:39 +00:00
Alex Roitman
4dc68a517c
* src/Marriage.py: proper window management on delete event.
...
* src/RelLib.py (Event.are_equal): Correction.
* src/Date.py (is_empty): Require empty text for a date to be empty.
* src/WriteXML (write_object): Remove places from Media.
* src/GrampsDbBase.py (undo): Typos.
* src/GrampsDBCallback: Pretty printing for warnings.
svn: r4297
2005-04-05 04:33:11 +00:00
Don Allingham
e5cd5c0e3d
* src/ChooseParents.py: fix father/mother relationship
...
* src/FamilyView.py: fix update of child pointers after add
* src/PeopleView.py: unselect previous entry on new goto_active_person
* src/MediaView.py: pass handle instead of GRAMPS ID during drag-n-drop
svn: r4296
2005-04-05 00:58:37 +00:00
Don Allingham
641f13da22
* src/GrampsBSDDB.py: remove transaction.batch in favor of signal suppression
...
* src/GrampsDbBase.py: remove transaction.batch in favor of signal suppression
* src/GrampsInMemDB.py: remove transaction.batch in favor of signal suppression
* src/ReadGedcom.py: fix relation typo, enable/disable signals around import
* src/ReadXML.py: enable/disable signals around import
* src/gramps_main.py: disable signals before undo and exit
svn: r4295
2005-04-04 23:52:46 +00:00
Don Allingham
44e34592bc
* src/MedaiView.py: pass handle instead of GRAMPS ID during drag-n-drop
...
svn: r4294
2005-04-04 19:53:21 +00:00
Richard Taylor
49a6b5aca3
2005-04-01 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
...
* src/GrampsDBCallback.py: Don't check callbacks if the dict is empty.
svn: r4293
2005-04-04 19:28:55 +00:00
Don Allingham
a73730ba1c
* src/GrampsDbBase.py: add "request_rebuild" to encapsulate rebuild
...
requests in the database instance
* src/ReadXML.py: use request_rebuild instead of directly emitting s
ignals
* src/ReadGedCom.py: use request_rebuild instead of directly emitting
signals
svn: r4292
2005-04-04 16:41:01 +00:00
Richard Taylor
76c89d5f08
2005-04-01 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
...
* src/GrampsDBCallback.py: Added code to disable/enable signals on
a per instance or all instance bassis. Improved test code and
changed type checking to use isinstance instead of type().
svn: r4291
2005-04-04 15:53:40 +00:00
Alex Roitman
64b2a41b34
* src/ImageSelect.py (on_savephoto_clicked): Pass transaction to
...
savephoto; (savephoto): take transaction argument);
(on_photolist_drag_data_received): Pass transaction.
svn: r4290
2005-04-04 15:38:36 +00:00
Don Allingham
2f3cb14a98
* src/FamilyView.py: commit family properly
...
* src/PedView.py: change_active_person typo
* src/PeopleView.py: don't change active person with updated
* src/SelectChild.py: Fix callbacks
* src/gramps_main.py: load active family on change
svn: r4289
2005-04-04 03:59:42 +00:00
Don Allingham
0215ae6929
* src/ArgHandler.py: Make sure all databases are closed before
...
creating a new one.
* src/DisplayModels.py: Calculate new nodes properly after a
node has be deleted. The node hasn't been removed from the database
yet.
* src/EditPerson.py: Add check for unknown gender before closing
* src/EditSource.py: Remove unnecessary updates
* src/GrampsBSDDB.py: check for open in close()
* src/GrampsDbBase.py: spelling error
* src/MediaView.py: connect to database-changed
* src/PedView.py: remove unused update function
* src/PeopleView.py: connect to database-changed
* src/PlaceView.py: connect to database-changed
* src/SourceView.py: connect to database-changed, remove unnecessary
callback
* src/gramps_main.py: add database-changed signal
svn: r4288
2005-04-04 01:11:50 +00:00
Alex Roitman
9c3bf10613
* src/AddMedia.py: Remove unneeded update argument.
...
* src/ArgHandler.py (auto_save_load): Mysterious workaround :-).
* src/EditPlace.py (display_references): Drop media objects;
(DeletePlaceQuery.query_response): use proper handle removal.
* src/GrampsBSDDB.py (remove_object): emit media signal.
* src/GrampsDbBase.py (GrampsDbBase): Add media-related signals;
(commit_media_object,transaction_commit,undo): emit media signals.
* src/ImageSelect.py (GlobalMediaProperties,DeleteMediaQuery):
Remove unneeded update argument.
* src/MediaView.py (media_add,media_update,media_delete): Add
callbacks; (change_db): connect callbacks to signals;
(popup_change_description): Call property editor without callback param;
(on_add_clicked): Call AddMedia without callback param;
(add_object,update_display,add_to_display): Remove unneeded methods;
(on_edit_clicked): call property editor without callback param;
(on_delete_clicked): call deleter without callback param;
(on_drag_data_received): Call property editor without callback param.
* src/PlaceView.py (new_place_after_edit): Remove unneeded method;
(delete_place): Remove unneeded tree update; (is_used) Add method;
(on_delete_clicked): Use new detection method.
svn: r4287
2005-04-04 00:27:06 +00:00
Don Allingham
bfc4b88cda
* src/ReadGedcom.py: emit proper signals to notify of a database
...
rebuild, handle parent/child relationships better - eliminate
string types
* src/ReadXML.py: emit proper signals to notify of a database rebuild
* src/Sources.py: select just added handle after an addition
svn: r4286
2005-04-02 21:14:53 +00:00
Don Allingham
306606d53c
* src/SourceView.py: fix multiple selection problem.
...
svn: r4285
2005-04-02 17:53:37 +00:00
Martin Hawlisch
a01d4401a3
* src/EditPerson.py: Remove unneeded arguments.
...
* src/Marriage.py: Remove unneeded arguments.
svn: r4284
2005-04-02 06:12:46 +00:00
Don Allingham
ea4beeb3ff
* src/EditPerson.py: removed unused callback functions
...
* src/GrampsDbBase.py: remove duplicate signal emissions
* src/SourceView.py: reformat code
* src/Sources.py: catch source-add signal and redraw menu
svn: r4283
2005-04-02 05:33:06 +00:00
Alex Roitman
30d0904d71
* src/EditPerson.py (on_edit_name_clicked): Remove unneeded argument.
...
svn: r4281
2005-04-02 00:11:21 +00:00
Don Allingham
bee8f06854
* src/AddSpouse.py: remove unused callbacks
...
* src/FamilyView.py: remove unused callbacks
svn: r4280
2005-04-01 21:51:27 +00:00
Martin Hawlisch
4abe4ea4be
* src/plugins/TestcaseGenerator.py: Small changes to family generation
...
* src/plugins/StatisticsChart.py: Added statistics for Surnames, Number of Families and Event Types
svn: r4278
2005-04-01 20:32:06 +00:00
Don Allingham
c2b556d9f4
* src/GrampsDBCallback.py: rewrite of new callback scheme using python signals
...
* src/GrampsDbBase.py: handle signals instead of callback functions
* src/GrampsInMemDB.py: handle signals instead of callback functions
* src/Makefile.am: Add GrampsDBCallback.py
* src/PeopleView.py: handle signals instead of callback functions
* src/PlaceView.py: handle signals instead of callback functions
* src/SourceView.py: handle signals instead of callback functions
svn: r4277
2005-04-01 20:04:12 +00:00
Don Allingham
719727da75
* src/gramps.glade: disable scrollbars in Pedigree View
...
* src/PedView.py: Apply Martin Hawlisch's canvas resize patch
svn: r4276
2005-04-01 19:34:11 +00:00
Richard Taylor
71a3647ce5
2005-04-01 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
...
* src/ImageSelect.py (on_photolist_drag_data_get): forgot to remove print statement.
svn: r4275
2005-04-01 15:58:33 +00:00
Richard Taylor
5520c0286a
2005-04-01 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
...
* src/DdTargets.py: added dnd type for media objects
* src/ImageSelect.py: altered dnd code to use gramps specific dnd target
when dnd is used between gramps windows.
* src/plugins/ScratchPad.py: added support for media object. This is still
a little simplistic. It would be nice to generate thumbnails as tooltips and
to access some of the image meta data in the ui.
svn: r4274
2005-04-01 15:15:36 +00:00
Richard Taylor
70ed37833e
2005-04-01 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
...
* src/ImageSelect.py (Gallery.on_drag_begin): tiny fix to correct image dnd
svn: r4273
2005-04-01 14:42:47 +00:00
Richard Taylor
3ee50ab98e
2005-04-01 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
...
* src/plugins/ScratchPad.py (ScratchPadListView.register_wrapper_classes,
ScratchPadName): added support for Names
* src/EditPerson.py (EditPerson.__init__, EditPerson.name_drag_data_get,
EditPerson.name_drag_begin, EditPerson.name_drag_data_received): added dnd for Names
* src/DdTargets.py (_DdTargets.__init__, _DdTargets.all_gramps_types,
_DdTargets.all_gramps_targets): added Names as dnd target.
svn: r4272
2005-04-01 14:22:26 +00:00
Richard Taylor
7263714a87
2005-04-01 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
...
* src/plugins/ScratchPad.py: changed pickle to cPickle. cPickle is much faster.
* src/EditPerson.py: changed pickle to cPickle. cPickle is much faster.
* src/EditPlace.py: changed pickle to cPickle. cPickle is much faster.
* src/Marriage.py: changed pickle to cPickle. cPickle is much faster.
* src/Sources.py: changed pickle to cPickle. cPickle is much faster.
svn: r4271
2005-04-01 13:39:34 +00:00
Richard Taylor
3f8b592fad
2005-04-01 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
...
* src/plugins/ScratchPad.py (ScratchPadListView.object_drag_data_received,
ScratchPadListView.on_object_select_row): disables drop that originates from the
pad itself and enabled dropping into the correct row as indicated by the
UI.
svn: r4270
2005-04-01 13:22:28 +00:00
Martin Hawlisch
a187ad7ab8
* src/plugins/TestcaseGenerator.py: Added generation of invalid event references of persons
...
* src/plugins/Check.py: Check for invalid event references of persons
svn: r4269
2005-04-01 09:59:18 +00:00
Martin Hawlisch
a0429eabd3
* src/plugins/Check.py: new database callback scheme; Use Utils.family_name.
...
* src/plugins/ChangeNames.py: new database callback scheme
* src/plugins/TestcaseGenerator.py: new database callback scheme
svn: r4268
2005-04-01 07:39:21 +00:00
Don Allingham
862ba59a2f
* src/AddSpouse.py: new database callback scheme. This scheme
...
provides a registration mechanism to signal interested objects
when database commits occur. The eliminates most of all callback
functions tied to interface windows.
* src/AddrEdit.py: new database callback scheme
* src/AttrEdit.py: new database callback scheme
* src/ChooseParents.py: new database callback scheme
* src/EditPerson.py: new database callback scheme
* src/EditPlace.py: new database callback scheme
* src/EditSource.py: new database callback scheme
* src/EventEdit.py: new database callback scheme
* src/FamilyView.py: new database callback scheme
* src/GrampsBSDDB.py: new database callback scheme
* src/GrampsDbBase.py: new database callback scheme
* src/GrampsInMemDB.py: new database callback scheme
* src/Marriage.py: new database callback scheme
* src/NameEdit.py: new database callback scheme
* src/PeopleView.py: new database callback scheme
* src/PlaceView.py: new database callback scheme
* src/ReadGedcom.py: new database callback scheme
* src/ReadXML.py: new database callback scheme
* src/SourceView.py: new database callback scheme
* src/Sources.py: new database callback scheme
* src/gramps_main.py: new database callback scheme
svn: r4267
2005-04-01 05:33:22 +00:00
Alex Roitman
c427a2b0f4
* src/plugins/ScratchPad.py (ScratchPadWindow.__init__): Minor change.
...
svn: r4266
2005-04-01 05:09:59 +00:00
Alex Roitman
feb263c48e
* src/GrampsBSDDB.py (upgrade): Delegate particular versioned
...
upgrades to separate methods; provide upgrade_5 method.
* src/RelLib.py: Remove place from MediaObjects; minor improvements.
* src/SourceView.py (button_press): Proper selection on double-click.
* src/plugins/Check.py (check_for_broken_family_links): Typo.
svn: r4265
2005-04-01 04:34:31 +00:00
Alex Roitman
f7de2b1f0e
Update
...
svn: r4264
2005-04-01 04:28:00 +00:00
Martin Hawlisch
a546846787
* plugins/TestcaseGenerator.py: Added a dialog to specify what is to be generated and a
...
ProgressBar. Enhanced family tree generation and randomized names a little more. You can
now generate thousands of people :-)
svn: r4263
2005-03-31 14:23:39 +00:00
Richard Taylor
306b962470
2005-03-31 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
...
* src/plugins/stock_link.png: added icon for scratchpad display
* src/DdTargets.py (all_text): new method to return all text ddtypes
* src/TreeTips.py (__treetip_show): added support for tips to be callable
methods so that tips can be generated on the fly.
* src/plugins/Makefile.am: added stock_link.png icon
* src/plugins/ScratchPad.py: almost complete rewrite to make proper use
of gtk widgets and make more flexible for adding support for new
dnd object types. Added link icon if the object is a link to a primary
object.
svn: r4262
2005-03-31 13:16:20 +00:00
Don Allingham
1d6f8fba1d
* src/MergePeople.py: provide more date in compare window, fix event
...
merging for families. Copy alternate names.
* src/plugins/Merge.py: support for new merge technique
* src/PeopleView.py: divide rebuild_data into two functions
* src/PeopleModel.py: clean up insertion functions
* src/gramps_main.py: remove unused code
svn: r4261
2005-03-31 04:30:44 +00:00
Martin Hawlisch
5e1777d59e
* plugins/TestcaseGenerator.py: Added some more testcases of invalid relations
...
* plugins/Check.py: Added some comments an handling for some more invalid references
svn: r4256
2005-03-30 10:37:40 +00:00
Don Allingham
92d7132add
* src/ReadXML.py: handle date object on names
...
* src/gramps.glade: add menu items for merging
* src/MergePeople.py: new person merge
* src/gramps_main.py: merge handling callbacks
* src/mergedata.glade: updated interface for merging
* src/SourceView.py: connect SourceView.merge into the multiple
selection mechanism
svn: r4254
2005-03-30 01:45:14 +00:00
Alex Roitman
c25d2162ed
* src/gramps_main.py (undo_callback,redo_callback): Minor
...
improvements, (read_file): Always re-initialize Undo and Redo items
to insensitive blanks after new database load; (post_load): Set up
database's callbacks for Undo and Redo after load.
* src/gramps.glade: Make Redo label non-stock to allow label change.
svn: r4253
2005-03-29 19:47:59 +00:00
Alex Roitman
a1ede6bcfb
* src/gramps_main.py (delete_person_response): Object/handle mixups,
...
remove unneeded commits.
svn: r4252
2005-03-29 16:41:40 +00:00
Alex Roitman
f3041afc72
* src/Witness.py (WitnessEditor.__init__): Work around missing
...
reference.
svn: r4251
2005-03-29 16:05:50 +00:00
Richard Taylor
cc8eb16bfc
2005-03-29 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
...
* src/plugins/ScratchPad.py (on_object_select_row): fixed the drop of
text into TextView widgets.
svn: r4250
2005-03-29 15:19:26 +00:00
Richard Taylor
91ffd57ee5
2005-03-29 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
...
* src/DdTargets.py: add family targets to target list functions
* src/Marriage.py (at_dest_drag_data_received, ev_dest_drag_data_received,
ev_source_drag_data_get, at_source_drag_data_get): fixed dnd methods and
added use of DdTarget types.
* src/plugins/ScratchPad.py (generate_family_event_tooltip,
generate_family_event_tooltip, redraw_object_list): added support for
family events and attributes.
svn: r4249
2005-03-29 13:16:24 +00:00
Alex Roitman
f2f913bec9
Update
...
svn: r4247
2005-03-28 04:59:04 +00:00
Alex Roitman
b3fa7d644d
* src/RelLib.py (NoteBase,PlaceBase): Add new classes.
...
* src/ReadGedcom.py: Use get_note for comments.
* src/ReadXML.py: Use get_note for comments.
* src/Sources.py: Use get_note for comments.
* src/WriteGedcom.py: Use get_note for comments.
* src/WriteXML.py: Use get_note for comments.
* src/plugins/Ancestors.py: Use get_note for comments.
* src/plugins/FtmStyleAncestors.py: Use get_note for comments.
* src/plugins/FtmStyleDescendants.py: Use get_note for comments.
* src/plugins/NavWebPage.py: Use get_note for comments.
* src/plugins/ScratchPad.py: Use get_note for comments.
* src/plugins/WebPage.py: Use get_note for comments.
svn: r4246
2005-03-28 04:58:28 +00:00
Alex Roitman
d49a70b3f1
* src/MergeData.py: Files for places and sources.
...
* src/PlaceView.py (build_context_menu): Typo.
* src/SourceView.py (__init__,build_tree): Allow multiple,
selections; (merge): Add placeholder method (borrowed from places,
needs work.
* src/gramps_main.py (on_views_switch_page): Enable merge button;
(on_merge_activate): Call merge for sources.
svn: r4244
2005-03-28 04:22:09 +00:00
Alex Roitman
9efa0094df
* src/RelLib.py (Source.replace_source_references): Add method.
...
* src/MergeData.py (MergeSources.merge): Use new handle replacement.
svn: r4243
2005-03-27 06:14:06 +00:00
Don Allingham
c04ffca6e3
* src/MergeData.py: Add interface support for parents/family merging
...
svn: r4242
2005-03-26 23:50:56 +00:00
Martin Hawlisch
f0836d0233
* src/plugins/Check.py (check_parent_relationships): Catch some more database errors. Messages in the report still need some work.
...
* src/plugins/TestcaseGenerator.py: New plugin that creates some of the errors that crashed Check.py before.
svn: r4241
2005-03-26 21:59:15 +00:00
Don Allingham
b0d3ab87aa
* src/EventEdit.py: Display error message if event type not specified.
...
* src/gramps_main.py: fix merge callback
svn: r4240
2005-03-26 15:27:39 +00:00
Martin Hawlisch
bfcd1b8a34
* src/plugins/Check.py (check_parent_relationships): typo
...
svn: r4239
2005-03-26 15:00:05 +00:00
Martin Hawlisch
40cec6825e
* src/plugins/Check.py: Add check for child handle in family, that does no longer exist in database
...
svn: r4238
2005-03-26 10:53:27 +00:00
Richard Taylor
c6551bef5f
2005-03-25 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
...
* src/ScratchPad.py (ScratchPadWindow): moved content of pad to a
class attribute so that it is preserved when the pad is closed.
* src/ScratchPad.py (add_itself_to_menu, remove_itself_from_menu):
removed large section of commented code.
svn: r4237
2005-03-25 21:20:12 +00:00
Richard Taylor
90b319081e
2005-03-25 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
...
* src/Sources.py: converted to use DdTargets.py
* src/FamilyView.py: converted to use DdTargets.py
* src/EditPerson.py: converted to use DdTargets.py
* src/EditPlace.py: converted to use DdTargets.py
* src/Marriage.py: converted to use DdTargets.py
* src/DdTargets.py: added targets for FAMILY_EVENT, FAMILY_ATTRIBUTE,
CHILD and SPOUSE
svn: r4236
2005-03-25 21:05:09 +00:00
Alex Roitman
4c16bd7fc7
* src/plugins/FilterEditor.py: single instance, help.
...
* src/rule.glade: icon, help.
* src/plugins/SoundGen.py: single instance, icon, help.
* src/soundex.glade: help.
* src/plugins/RelCalc.py: icon.
* src/plugins/ScratchPad.py: single instance, help.
* src/scratchpad.glade: help.
svn: r4235
2005-03-25 03:34:52 +00:00
Alex Roitman
27aac5b936
* src/plugins/ChangeTypes.py: icon, window management, single instance.
...
* src/plugins/changetype.glade: delete event.
* src/plugins/ReorderIds.py: Disable for the time being.
* src/plugins/Eval.py: icon, window management, single instance.
* src/plugins/eval.glade: dialog.
* src/plugins/Leak.py: icon, window management, single instance.
* src/plugins/leak.glade: dialog.
svn: r4234
2005-03-25 00:24:37 +00:00
Alex Roitman
11e374e464
* src/RelLib.py (Witness.__init__): Typo.
...
* src/plugins/Check.py (cleanup_missing_photos): Use new mediaref
detection/removal, icons, window management.
* src/plugins/summary.glade: non-modal dialog.
* src/plugins/Verify.py (VerifyResults): Use title once.
svn: r4232
2005-03-24 17:17:01 +00:00
Richard Taylor
11df9a8830
2005-03-24 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
...
* src/DdTargets.py: new module to manage drag and drop target data.
* src/Makefile.am: added DdTargets.py
* src/ScratchPad.py: modified to use DdTargets.py. This is the first
stage. I will look at modifying EditPersons.py to use DdTargets.py next
svn: r4231
2005-03-24 13:44:54 +00:00
Alex Roitman
fbd8c05dd8
* src/gramps_main.py (tool_callback): Typo.
...
* src/QuestionDialog.py: Use gramps icon.
* src/plugins/EventCmp.py: HIG; single instance; help.
* src/plugins/eventcmp.glade: HIG; help.
* src/plugins/Desbrowser.py: HIG, help, rebuild model after edit.
* src/plugins/desbrowse.glade: help, info label.
* src/plugins/PatchNames.py: HIG, help, single instance.
* src/plugins/patchnames.glade: HIG, help.
* src/plugins/Merge.py: HIG, help, single instance.
* src/plugins/merge.glade: HIG, help.
* src/plugins/ChangeNames.py: HIG, help, single instance.
svn: r4230
2005-03-24 06:22:25 +00:00
Alex Roitman
3d0f39acd7
* src/plugins/Verify.py (VerifyResults): Add class for displaying
...
results; help for the settings window; single instance of the tool.
* src/plugins/verify.glade: HIG compliance, break things into tabs.
svn: r4229
2005-03-24 03:27:02 +00:00
Martin Hawlisch
d1e0b29d38
* doc/gramps-manual/de/*.xml: Incorporated changes from STABLE branch.
...
svn: r4227
2005-03-23 22:13:33 +00:00
Martin Hawlisch
e0b735ad45
* src/RelLib.py: Added self.get_date() to
...
get_text_data_child_list(). This way the date is searchable in the full-text search filter.
svn: r4225
2005-03-23 16:08:26 +00:00
Alex Roitman
f7d06a8b79
* src/RelLib.py (PrivacyBase): Add base class for privacy capabilities;
...
(PrivateSourceNote): Inherits from SourceNote and PrivacyBase;
(MediaRef,Url,Witness,SourceRef): Remove unneeded privacy methods.
* src/ImageSelect.py (GlobalMediaProperties.display_refs): Typos.
svn: r4223
2005-03-23 13:46:06 +00:00
Alex Roitman
1703b9669c
* src/Sources.py: Use get_date_object (not get_date) for source refs.
...
* src/ReadXML.py: Use get_date_object for source refs.
* src/WriteXML.py: Use get_date_object for source refs.
* src/WriteGedcom.py: Use get_date_object for sourcerefs.
* src/plugins/FtmStyleAncestors.py: Use get_date_object for sourcerefs.
* src/plugins/FtmStyleDescendants.py: Use get_date_object for sourcerefs.
* src/plugins/NavWebPage.py: Use get_date_object for sourcerefs.
* src/plugins/WebPage.py: Use get_date_object for sourcerefs.
* src/RelLib.py (DateBase): Add base class for keeping Date;
(MediaBase): Do not inherit from BaseObject; (Event,MediaObject,LdsOrd,
Address,Name,SourceRef): Inherit all date-related methods from DateBase.
svn: r4222
2005-03-22 23:59:51 +00:00
Alex Roitman
9cc2d40394
* src/RelLib.py: Move handle_reference methods from BaseObject to
...
PrimaryObject; (MediaBase): Remove recursive child-related operations
on mediarefs, since only primary objects have mediarefs;
Rename DataObj to PrivateObject; (People,Family,Event,MediaObject):
remove get_handleholder_list, add low-level handle reference detector.
svn: r4218
2005-03-22 16:23:53 +00:00
Alex Roitman
df5270253f
* src/RelLib.py (MediaBase): Add base class for media references;
...
(BaseObject): Add has_handle_reference, remove_handle_references,
and replace_handle_reference methods; (SourceNote): Add
replace_source_references method; (People,Family,Event,MediaObject):
Add handle_reference methods.
svn: r4217
2005-03-22 13:55:13 +00:00
Julio Sánchez
733ee979cf
* src/MergeData.py: further changes to adapt to new API
...
svn: r4216
2005-03-21 05:53:42 +00:00
Alex Roitman
68b1a6fef3
* src/gramps.glade: Add tolltip to scratchpad button.
...
svn: r4214
2005-03-20 02:33:36 +00:00
Don Allingham
11dd72bb27
* src/GrampsDbBase.py: handle new column
...
* src/PeopleModel.py: add cause of death field
* src/PeopleView.py: add cause of death field
* src/gramps.glade: add scratchpad button
* src/gramps_main.py: add scratchpad button press callback
* src/plugins/ScratchPad.py: call alternate dialog
* src/plugins/scratchpad.glade: provide alternate dialog based
on gtk.Dialog that implements the help button.
svn: r4213
2005-03-19 23:44:01 +00:00
Alex Roitman
31ce5db97d
* src/gramps.glade: Add date LED buttons for LDS dates.
...
* src/EditPerson.py (draw_lds): Add date LED buttons for LDS dates;
(lds_field): Always set date text for LDS dates.
* src/Marriage.py (__init__): Add date LED button for LDS date.
svn: r4212
2005-03-19 18:21:57 +00:00
Alex Roitman
0d5ba25da1
Update
...
svn: r4211
2005-03-19 18:12:04 +00:00
Alex Roitman
0faf777810
* doc/gramps-manual/C/figures/export-druid.png: Update.
...
* doc/gramps-manual/C/gramps-manual.xml: Update.
svn: r4208
2005-03-19 06:26:23 +00:00
Richard Taylor
25e6c350c8
2005-03-18 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
...
* src/plugins/ScratchPad.py: Tidy up of drag target type handling.
* src/EditPerson.py (x_drag_data_received): fixed problem with
drag and drop of objects that have srcrefs.
svn: r4206
2005-03-18 12:16:41 +00:00
Alex Roitman
a384bc20b7
* src/gramps_main.py (__init__): Catch "ErrorSchemaInvalid" exception
...
* src/Errors.py (GConfSchemaError): Add new exception.
* src/const.py.in: Remove exception string "ErrorSchemaInvalid"
(replaced by new class).
* src/GrampsGconfKeys.py (get_bool,get_int,get_string): Raise exception.
svn: r4204
2005-03-17 20:33:36 +00:00
Martin Hawlisch
4cee5528a5
* src/GrampsGconfKeys.py (get_bool,get_int,get_string): Raise exception when default value could not be get from gconf schema
...
* src/const.py.in: Add custom exception "ErrorSchemaInvalid"
* src/GrampsMime.py (mime_type_is_defined): New method that returns True/False
* src/gramps_main.py (__init__) Catch "ErrorSchemaInvalid" exception and check for installed MIME-type. Show error because installation is incomplete.
svn: r4200
2005-03-17 19:28:00 +00:00
Alex Roitman
c7c5368409
* acinclude.m4: Add macro for defining SHARED_MIME_DIR.
...
* configure.in: Use AM_SHARED_MIME macro.
* src/data/Makefile.am: Use defined GCONF_SCHEMA_FILE_DIR and
SHARED_MIME_DIR, not the hardcoded paths.
svn: r4199
2005-03-17 17:19:34 +00:00
Martin Hawlisch
efb007259f
* src/Exporter.py (build_info_page): proofreading; (build_format_page): shrink the size of the window by using tooltips to display the format description.
...
* src/plugins/ExportVCard.py: New (unfinished) plugin to export addresses to pim applications.
* src/plugins/vcardexport.glade: GUI for the Exporter Druid of vCard export
* src/plugins/ExportVCalendar.py: New (unfinished) plugin to export events for calendaring applications.
* src/plugins/vcalendarexport.glade: GUI for the Exporter Druid of vCalendar export
svn: r4197
2005-03-17 12:51:14 +00:00
Martin Hawlisch
72c4a6476a
* src/plugins/ImportvCard.py: A quickly hacked version of a vCard importer. Maybe it is useful for someone.
...
* src/const.py.in: added mime for vCard import.
svn: r4196
2005-03-16 22:40:42 +00:00
Alex Roitman
cd0ff124c2
* src/GenericFilter.py (HasTextMatchingSubstringOf): Minor.
...
* src/plugins/FilterEditor.py (EditRule:__init__): Typo.
* ChangeLog.old: Add to CVS the pre-2005 ChangeLog; Split off current.
svn: r4195
2005-03-16 16:38:20 +00:00
Alex Roitman
b02ca6f638
Update
...
svn: r4194
2005-03-16 16:37:33 +00:00
Martin Hawlisch
a30cffdb9d
* src/GenericFilter.py (HasTextMatchingSubstringOf): add checkboxes for case and regexp matching; (HasTextMatchingRegexpOf)
...
Added wrapper to use regexp matching in HasTextMatchingSubstringOf
* src/gramps_main.py: Add new regular expression filter
* src/plugins/FilterEditor.py (EditRule:__init__): Treat params of new filter as boolean.
* TODO: Add parameter definition of Filter Rules to the filter itself, so it can be removed from the filter editor and used by
PeopleView.
svn: r4193
2005-03-16 14:13:33 +00:00
Richard Taylor
78e8029352
2005-03-16 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
...
* src/ScratchPad.py (ScratchPad): improved the generation of
tooltip information for most object types.
svn: r4192
2005-03-16 13:52:04 +00:00
Richard Taylor
dea172a726
2005-03-16 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
...
* src/EditPerson.py (EditPerson.ev_drag_data_received): Fixed
drag and drop of events.
svn: r4191
2005-03-16 08:51:53 +00:00
Alex Roitman
84c2f9052f
* src/data/gramps.xml: Correct GW magic to not collide with XML.
...
svn: r4189
2005-03-16 06:04:45 +00:00
Martin Hawlisch
380a453855
* src/plugins/ImportGeneWeb.py: fixed small typos
...
svn: r4188
2005-03-15 21:04:44 +00:00
Alex Roitman
337dfdd99e
* src/GenericFilter.py (HasTextMatchingSubstringOf):
...
Rename FullTextSearch as well as its descriptions.
* src/gramps_main.py: Change string for filter menu.
* src/plugins/FilterEditor.py (EditRule.__init__): Hide window while
drawing.
* src/DateEdit.py (DateEditorDialog.__init__): Hide window while
drawing.
svn: r4186
2005-03-15 16:26:30 +00:00
Alex Roitman
8315acf6d4
* src/RelLib.py (Source.get_text_data_child_list,
...
Family.get_text_data_child_list): Add missing lists.
* src/GenericFilter.py (FullTextSearch): Correct description.
* src/GenericFilter.py (FullTextSearch): Added new filter that provides
a full-text search thru (nearly) all attributes and linked objects of a person.
svn: r4185
2005-03-15 15:56:47 +00:00
Richard Taylor
86c6d36e8f
2005-03-15 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
...
* src/Makefile.am : Added TreeTip.py to list of installed modules.
* src/TreeTip.py: New module that implements tooltips on TreeView rows.
* src/plugins/Makefile.am: Added ScratchPad.py and scratchpad.glade.
* src/plugins/ScratchPad.py: New module to implement a scratch pad for
temporary storage of drag and drop objects.
* src/plugins/scratchpad.glade: New glade file for ScratchPad window.
svn: r4184
2005-03-15 13:48:18 +00:00
Martin Hawlisch
40611a11f1
* src/GenericFilter.py (FullTextSearch): Added new filter thad provides
...
a full-text search thru (nearly) all attributes and linked objexts of a person.
* src/gramps_main.py: add the new filter to the menu.
* src/RelLib.py (Event,Source): fix get_text_data_child_list() to correct
attributes of the class; (Family): fix get_sourcref_child_list().
svn: r4183
2005-03-15 12:56:14 +00:00
Alex Roitman
2d45b02af4
* src/AddSpouse.py (select_spouse_clicked): Prevent adding oneself
...
and oneself's parents as a spouse; When aborting, do not close dialog.
* src/RelLib.py (BaseObject): Add base data class, to support
capabilites common to all gramps objects; (matches_string,
matches_regexp): Add methods for searching textual objects;
(Person,Family,Event,Place,Source,MediaRef,LdsOrd,Attribute,Address,
Name,Location,Note,Url,Witness,SourceRef): Add methods for determining
textual objects and children with textual objects.
svn: r4182
2005-03-15 05:23:12 +00:00
Don Allingham
cc849000a7
* src/gramps_main.py: use new GRAMPS homepage
...
svn: r4180
2005-03-14 23:30:26 +00:00
Alex Roitman
72821c9058
* src/DisplayTrace.py (__init__): Mark debian distros.
...
svn: r4177
2005-03-14 03:50:38 +00:00
Alex Roitman
6b8d0501f6
* src/EventEdit.py (get_place): Typo.
...
svn: r4173
2005-03-14 00:10:36 +00:00
Alex Roitman
35bc979e8e
* src/DateEdit.py (update_after_editor): Add method.
...
* src/EditPerson.py: Always have birth/death events (never None);
Use new update method for dates; Only commit death/birth if changed;
Only add new birth/death if non-empty.
* src/EventEdit.py: Translate stored event names before including in
menu; Exclude birth/death from menu; Do not add birth/death to the
custom event types; Only detect type change for non-birth/death.
* src/GrampsDbBase.py: Do not commit objects with empty handles.
* src/GrampsInMemDB.py: Do not commit objects with empty handles.
* src/Utils.py (family_name): Add clause for unknown parents.
svn: r4172
2005-03-13 22:10:40 +00:00
Martin Hawlisch
a40629dbbc
* src/GenericFilter.py (Rule,GenericFilter): New methods prepare() and
...
reset(), that are called before/after a filter is applied, to properly
support query caches; (IsWitness): new filter;
(RelationshipPathBetween,IsDescendantOf,IsLessThanNthGenerationDescendantOf,
IsMoreThanNthGenerationDescendantOf,IsChildOfFilterMatch,IsSiblingOfFilterMatch,
IsAncestorOf,IsAncestorOfFilterMatch,IsLessThanNthGenerationAncestorOf,
IsMoreThanNthGenerationAncestorOf,IsParentOfFilterMatch,HasCommonAncestorWith):
use prepare() and reset() to create a proper query cache. Currently the
cache was only created once after object creation and never updated.
* src/gramps_main.py: Add new filters to the menu.
svn: r4171
2005-03-13 19:49:38 +00:00
Alex Roitman
5a55d247df
* src/Utils.py (get_media_referents): Add function;
...
Add generic data recovery message.
* src/gramps_main.py (delete_person_clicked): Use generic data recovery
message.
* src/SourceView.py (on_delete_clicked): Use generic data recovery
message.
* src/EditSource.py (display_references): Change list headings.
* src/MediaView.py (on_delete_clicked): Use new mediaref detector;
Use generic data recovery message; (delete_objectmis-object_used):
Remove functions.
* src/ImageSelect.py (GlobalMediaProperties.display_ref): Use new
sourceref detection; (DeleteMediaQuery__init__): Accept object handle
and lists; (DeleteMediaQuery.query_response): Use new mediaref removal.
svn: r4161
2005-03-12 00:44:11 +00:00
Alex Roitman
70514fbb3a
* src/RelLib.py (SourceNote): Add methods for detection and removal
...
source references in itself and child objects; (SourceNote,Person,
Family,Event,Place,Source,MediaRef): Add method for determining child
sourceref-capable objects.
* src/Utils.py (get_source_referents): Add function.
* src/EditSource.py (display_references): Use new sourceref detection;
(DelSrcQuery.__init__): Accept object lists; (DelSrcQuery.query_response):
Use new sourceref removal.
* src/SourceView.py (on_delete_clicked): Use new sourceref detection;
(delete_source,is_used): Remove functions.
svn: r4160
2005-03-11 21:05:46 +00:00
Martin Hawlisch
33245ae20c
* src/GenericFilter.py (PersonWithIncompleteEvent,
...
FamilyWithIncompleteEvent, ProbablyAlive,PeoplePrivate):
Add filter rules.
* src/gramps_main.py (init_filters): Add new filters to the menu.
svn: r4159
2005-03-11 20:53:53 +00:00
Martin Hawlisch
2e6c2f1c10
* src/plugins/NavWebPage.py: Catch invalid HomeNote object
...
svn: r4158
2005-03-10 22:19:19 +00:00
Alex Roitman
eac22b2ff8
* src/GenericFilter.py (IsBookmarked,IncompleteNames,
...
HaveAltFamilies,HavePhotos,HaveChildren,NeverMarried,
MultipleMarriages,NoBirthdate): Add filter rules.
* src/gramps_main.py (init_filters): Add new filters to the menu.
svn: r4156
2005-03-10 19:01:00 +00:00
Alex Roitman
b867dca72c
Update
...
svn: r4155
2005-03-10 18:55:18 +00:00
Alex Roitman
c0bc367b86
* src/AddSpouse.py (select_spouse_clicked): Prevent adding child
...
of the family as a spouse in that family.
svn: r4154
2005-03-10 04:57:22 +00:00
Don Allingham
9041c520d5
* src/ChooseParents.py: Fix widget sensitivity problem, assign
...
integer value instead of string to relationship type
* src/FamilyView.py: fix child relationship display value
* src/GrampsBSDDB.py: upgrade to DB version 4 (remove string
relationship types)
svn: r4152
2005-03-10 01:38:08 +00:00
Don Allingham
9ad57e1c2f
* src/EditPerson.py: call new_after_edit instead of update_after_edit
...
for new people.
svn: r4151
2005-03-10 01:02:09 +00:00
Alex Roitman
ce1d3b0ed8
* src/FamilyView.py: Correct constants for birth relationship.
...
svn: r4150
2005-03-10 00:28:57 +00:00
Alex Roitman
4c545b90d0
* src/ReadXML.py (start_childof): Use integer relations.
...
* src/WriteXML.py (write_xml_data): Properly test frel.
* src/rule.glade: Change button label; add "need to close" label.
* src/EditPlace.py: Typo.
svn: r4149
2005-03-10 00:04:50 +00:00
Alex Roitman
d5e54d4ed4
Update
...
svn: r4148
2005-03-09 23:06:51 +00:00
Don Allingham
97a0add0a7
* src/EditPerson.py: add srcref as a drag and drop item
...
* src/EditPlace.py: add srcref as a drag and drop item
* src/Marriage.py: add srcref as a drag and drop item
* src/WriteGedcom.py: catch empty event
* src/Sources.py: add drag-n-drop for source references
svn: r4147
2005-03-09 22:59:24 +00:00
Alex Roitman
354f27f46a
* src/GenericFilter.py (IsDefaultPerson,IsSiblingOfFilterMatch):
...
Add filter rules.
svn: r4146
2005-03-09 17:47:23 +00:00
Don Allingham
82b719bddc
* srcNameEdit.py: assign date on close
...
svn: r4145
2005-03-09 17:12:58 +00:00
Alex Roitman
7714274635
* src/data/gramps.schemas: Place dont-ask key into interface dir.
...
* src/Marriage.py (did_data_change): Compare gramps_id, not handle.
svn: r4144
2005-03-09 16:25:15 +00:00
Alex Roitman
4646ad519f
* src/PedView.py: Import RelLib for accessing relationship constants.
...
* src/NameEdit.py: Use empty Date for newly created name.
svn: r4143
2005-03-09 16:06:22 +00:00
Alex Roitman
a6cf17065a
* src/ChooseParents.py: Stop parent selection window from being
...
modal; fix child/parent relations from strings to integers.
svn: r4142
2005-03-09 04:50:10 +00:00
Don Allingham
d0f69b802b
* src/ChooseParents.py: change _nsort to _model
...
* src/GrampsBSDDB.py: fix event secondary index function to that
the event name is used instead of the GRAMPS id.
svn: r4141
2005-03-09 03:58:44 +00:00
Alex Roitman
7cd4156a6b
* src/plugins/FilterEditor.py (on_delete_event,close_filter_editor):
...
Update filter ComboBox in the main window.
* src/gramps_main.py (init_filters): Clear layout before rebuilding.
svn: r4140
2005-03-09 01:08:49 +00:00
Alex Roitman
c46dff68a2
* src/EditPerson.py (__init__): Only set update sources if possible
...
(calls from ChooseParents don't provide the correct parent, but then
the full update goes on anyway).
* src/ChooseParents.py (mother_list_select_row,
father_list_select_row): Comment out auto-selection of parents.
svn: r4139
2005-03-08 22:24:41 +00:00
Alex Roitman
00e0bdfff8
* src/Marriage.py (on_add_clicked,on_event_update_clicked): Typos.
...
* src/AddSpouse.py (select_spouse_clicked): Typo.
svn: r4138
2005-03-08 22:02:49 +00:00
Alex Roitman
e1f5b991ec
* src/DbPrompter.py (ImportDbPrompter.chooser): Typo.
...
svn: r4137
2005-03-08 21:11:48 +00:00
Alex Roitman
c882cf1633
* src/EditPerson.py: Remove numerous multiple definitions.
...
* src/AttrEdit.py (__init__): Set text to translated attribute type.
* src/const.py.in (display_attr): Add function.
svn: r4132
2005-03-08 17:18:33 +00:00
Alex Roitman
ba1a7e55fe
* src/AddrEdit.py: Typo.
...
* src/EditPerson.py (on_add_addr_clicked): Typos.
* src/EditSource.py (display_references): Add lots of missed
source references.
* src/ImageSelect.py: Use PluginsMgr instead of Plugins.
svn: r4131
2005-03-08 03:14:25 +00:00
Don Allingham
01eb6f63f2
* src/RelLib.py: more documentation
...
svn: r4130
2005-03-08 01:11:50 +00:00
Alex Roitman
734753c196
* src/gramps_main.py (post_load): Upgrade even if no callback.
...
svn: r4127
2005-03-07 13:49:14 +00:00
Alex Roitman
7c702ed2d3
Update
...
svn: r4126
2005-03-07 13:47:17 +00:00