Commit Graph

3412 Commits

Author SHA1 Message Date
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
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
Don Allingham
4943f1f09a fix flist
svn: r5813
2006-01-21 03:34:57 +00:00
Don Allingham
8d5da7b928 remove skip feature
svn: r5812
2006-01-20 22:03:20 +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
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
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
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