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
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
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
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
8882a71c1a
fix typo
...
svn: r5819
2006-01-22 04:08:37 +00:00
Don Allingham
195a285edd
update
...
svn: r5818
2006-01-22 03:05:48 +00:00
Alex Roitman
afa5763291
Update
...
svn: r5817
2006-01-22 02:43:55 +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
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
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
Don Allingham
6f61b03a2e
* src/GrampsDb/_ReadGedcom.py: avoid recommitting children unless
...
absolutely necessary.
svn: r5801
2006-01-19 19:55:58 +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
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
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
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
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
e27b19b5d1
added
...
svn: r5784
2006-01-18 04:15:22 +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
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
816621de69
* src/GrampsDb/_ReadGedcom.py: optimize UI updates, add test code
...
svn: r5771
2006-01-17 03:52:25 +00:00
Alex Roitman
ac4e672470
Update
...
svn: r5770
2006-01-17 03:50:55 +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
Alex Roitman
9103adfe24
Update
...
svn: r5746
2006-01-13 19:20:20 +00:00
Alex Roitman
0830c8a042
Update
...
svn: r5743
2006-01-13 05:04:52 +00:00
Alex Roitman
7797a81840
Update
...
svn: r5742
2006-01-13 04:43:08 +00:00
Alex Roitman
4e25098210
Update
...
svn: r5741
2006-01-13 04:07:07 +00:00
Alex Roitman
d54060e33f
Update
...
svn: r5739
2006-01-13 03:18:27 +00:00
Alex Roitman
c6ccd56d4a
Update
...
svn: r5738
2006-01-13 03:08:52 +00:00
Alex Roitman
9985ff96f7
Update
...
svn: r5737
2006-01-13 02:48:23 +00:00
Alex Roitman
04a9d8eb3e
Update
...
svn: r5736
2006-01-13 02:38:25 +00:00
Alex Roitman
cab907050c
Update
...
svn: r5735
2006-01-13 02:35:11 +00:00
Alex Roitman
01508cf6c0
Update
...
svn: r5734
2006-01-13 01:01:19 +00:00
Alex Roitman
44ba558709
Update
...
svn: r5733
2006-01-13 00:57:01 +00:00
Alex Roitman
0e2bd09f3a
Cut long lines
...
svn: r5730
2006-01-12 23:34:33 +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
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
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
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
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
2b86d6abd3
Update
...
svn: r5688
2006-01-06 21:30:51 +00:00
Alex Roitman
48c55d8780
Update
...
svn: r5687
2006-01-06 21:26:52 +00:00
Alex Roitman
aaecc33c72
Update
...
svn: r5686
2006-01-06 21:25:49 +00:00
Alex Roitman
e14a557072
Update
...
svn: r5685
2006-01-06 21:23:27 +00:00
Alex Roitman
196b99b833
Update
...
svn: r5684
2006-01-06 21:18:50 +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
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
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
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
55f22b5550
* src/Bookmark.py: start of reimplementation
...
* src/PersonView.py: commit fixes
svn: r5615
2005-12-22 06:13:11 +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
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
611cdd48da
Update
...
svn: r5607
2005-12-21 20:08:07 +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
Richard Taylor
9eb1f99b86
move database code into new package
...
svn: r5598
2005-12-21 11:27:05 +00:00