Commit Graph

2553 Commits

Author SHA1 Message Date
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
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
519f43c6c2 () -> [], add IntEdit
svn: r5776
2006-01-17 15:07:01 +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
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
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
3bf46f706e edit changes
svn: r5759
2006-01-16 04:53:42 +00:00
Don Allingham
fec1677a7e added
svn: r5758
2006-01-16 04:51:23 +00:00
Don Allingham
c7495dd025 icons added
svn: r5756
2006-01-15 05:12:05 +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
7549856991 added
svn: r5750
2006-01-13 22:34:14 +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
Alex Roitman
9103adfe24 Update
svn: r5746
2006-01-13 19:20:20 +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
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
Don Allingham
41d480d8ab update
svn: r5740
2006-01-13 03:54:31 +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
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
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
80049496c0 Update
svn: r5727
2006-01-12 18:19:21 +00:00
Don Allingham
a79fc75c15 update
svn: r5726
2006-01-12 18:08:05 +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
a015158c65 selectors
svn: r5723
2006-01-12 04:40:03 +00:00
Don Allingham
b684f6f09e selectors
svn: r5722
2006-01-12 04:30:40 +00:00
Don Allingham
3e1320a89c selectors
svn: r5721
2006-01-12 04:19:31 +00:00
Don Allingham
b67806135e selectors
svn: r5720
2006-01-12 04:06:39 +00:00
Don Allingham
7b70750cdd added
svn: r5719
2006-01-12 00:07:11 +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
Don Allingham
667df5705f changed Family Edit
svn: r5716
2006-01-11 22:57:30 +00:00
Martin Hawlisch
8c0bbcb553 Using the GTK+-way to render text
svn: r5715
2006-01-11 17:13:45 +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
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
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
4846d3bc4a Update
svn: r5683
2006-01-06 20:56:06 +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