Alex Roitman
df94a019fe
Update
...
svn: r5708
2006-01-11 00:35:55 +00:00
Don Allingham
c80d13f750
* src/FamilyView.py: add/edit/delete buttons for families added,
...
add support for no families or parents
* src/GrampsDb/_GrampsBSDDB.py: txn handling for get_handles
* src/GrampsDb/_GrampsDbBase.py: txn handling for get_handles
* src/GrampsDb/_GrampsGEDDB.py: txn handling for get_handles
* src/GrampsDb/_GrampsXMLDb.py: txn handling for get_handles
svn: r5707
2006-01-10 22:28:09 +00:00
Don Allingham
3e12c752d8
* src/FamilyView.py: add/edit/delete buttons for families added
...
svn: r5705
2006-01-10 19:10:39 +00:00
Alex Roitman
a9d54b432b
* src/Assistant.py: Cosmeti c changes.
...
* src/Exporter.py: Start converting to Assistant.
* src/ViewManager.py: Add handler for Export; add hot keys for
import and export.
svn: r5704
2006-01-10 17:09:40 +00:00
Don Allingham
c5f2adb858
* relation.svg: Relationship view icon
...
* media.svg: Relationship view icon
* src/ViewManager.py: no background color for sidebar
* src/gramps_main.py: new icons
svn: r5703
2006-01-09 21:40:23 +00:00
Richard Taylor
5a582d86ab
replace DisplayTrace with logger
...
svn: r5702
2006-01-09 11:28:44 +00:00
Richard Taylor
986323320d
minor wording changes.
...
svn: r5701
2006-01-09 10:53:50 +00:00
Richard Taylor
e49f591535
polish error report UI
...
svn: r5700
2006-01-09 10:21:24 +00:00
Don Allingham
6c38b40b17
* src/person.svg: new icon
...
* src/gramps_main.py: add person.svg
svn: r5699
2006-01-09 03:30:22 +00:00
Don Allingham
0feddb7579
* src/gramps_main.py: Change "Family" title to "Relationships"
...
svn: r5698
2006-01-09 02:16:46 +00:00
Don Allingham
f38901bc23
* src/DisplayModels.py: Fix sorting
...
* src/FamilyList.py: Fix sorting
* src/PageView.py: Fix sorting
* src/GrampsDb/_GrampsDbBase.py: set default column sorting order
svn: r5697
2006-01-09 00:54:04 +00:00
Richard Taylor
41e81a1034
dont show exception twice.
...
svn: r5696
2006-01-08 20:31:39 +00:00
Richard Taylor
c2195c1074
improvements to Assistant and ErrorReportAssistant.
...
svn: r5695
2006-01-08 15:19:46 +00:00
Don Allingham
19eeabe953
* src/FamilyList.py: new family list view
...
* src/DisplayModels.py: model for family list
* src/GrampsDb/_GrampsDbBase.py: column order for family view
svn: r5694
2006-01-08 05:44:19 +00:00
Don Allingham
35f731f15c
* src/PageView.py: support for ctrl-j for jump to person by gramps id
...
* src/PersonView.py: support for ctrl-j for jump to person by gramps id
svn: r5693
2006-01-08 04:40:33 +00:00
Don Allingham
613125aa70
* src/ToolTips.py: fix spacing
...
* src/ViewManager.py: remember toolbar/sidebar status.
svn: r5692
2006-01-08 03:06:58 +00:00
Don Allingham
ce9dec4026
* src/FamilyView.py: fix gtk.Table's bizzare way of handling empty
...
columns that are spanned.
svn: r5691
2006-01-08 01:25:04 +00:00
Don Allingham
b5940e9243
* src/GrampsLogger/_ErrorView.py: make dialog more HIG compliant
...
svn: r5690
2006-01-07 18:54:13 +00:00
Don Allingham
636d0df973
* src/DisplayModels.py: don't access db maps directly
...
* src/PeopleModel.py: don't access db maps directly
* src/FamilyView.py: add gender symbol to primary person
* src/GrampsDb/_GrampsBSDDB.py: provide access functions to avoid
redirect map access
* src/GrampsDb/_GrampsDbBase.py: provide access functions to avoid
redirect map access
* src/GrampsDb/_ReadGedcom.py: don't access db maps directly
svn: r5689
2006-01-06 22:08:40 +00:00
Alex Roitman
3c0c535d4a
* src/GrampsLogger/.cvsignore: Add to CVS.
...
* src/const.py.in: Add directory for the db environment.
* src/GrampsDb/_GrampsDbBase.py: Use new logging;
(get_number_of_repositories): add method; (_del_*): add
placeholder methods -- must be overriden in derived classes.
* src/GrampsDb/_GrampsBSDDB.py: Use new logging; Add txn attribute
to the database; (open_table): rename dbopen; (get_*_cursor): Pass
txn to cursor constructors; (load): Open environment with
transaction-capable flags, open tables with AUTO_COMMIT flag;
(rebuild): use txn; (_delete_primary_from_reference_map): Use txn;
(_update_reference_map): Use txn; (_del_*)L Use txn; (remove_*):
remove unneeded functions (already in DbBase);
(_get_obj_from_gramps_id): Use txn;
(_commit_base,_do_commit,_find_from_handle): Add and use txn;
(transaction_commit): create and commit txn; do not sync().
svn: r5682
2006-01-06 20:55:49 +00:00
Richard Taylor
7ba73376a0
converted Assistant to gobject and added signals
...
svn: r5681
2006-01-06 17:40:54 +00:00
Richard Taylor
c3b6a03856
integration of logging framework
...
svn: r5680
2006-01-06 15:23:28 +00:00
Richard Taylor
767b22bd17
added unittest for
...
ErrorReportAssistant
svn: r5679
2006-01-06 12:17:32 +00:00
Don Allingham
b83a468103
* src/GrampsGconfKeys.py: family view detail options
...
* src/GrampsIniKeys.py: family view detail options
* src/Navigation.py: fix overflow bug
* src/PageView.py: toggle initial value
fix gender mouseover, inclusion options
* src/data/gramps.schemas: new keys for family view detail
svn: r5678
2006-01-06 05:08:51 +00:00
Don Allingham
fe4ddb7100
* src/FamiyView.py: use gender markers, remove Family/Parents,
...
fix gender mouseover
svn: r5677
2006-01-05 23:23:55 +00:00
Don Allingham
bae8dee874
* src/FamiyView.py: use gender markers
...
svn: r5676
2006-01-05 23:00:59 +00:00
Richard Taylor
2941de0fb6
enabled rotate_handler output.
...
svn: r5674
2006-01-05 19:07:27 +00:00
Richard Taylor
7f56bd88c7
added initial logging framwork.
...
svn: r5673
2006-01-05 16:02:27 +00:00
Don Allingham
85da63c33b
* src/FamilyView.py: Incorporate Steve Hall's identing ideas, general classes
...
* src/ViewManager.py: Open/OpenRecent MenuToolButton goodness :-), default icon
svn: r5671
2006-01-05 05:12:48 +00:00
Don Allingham
e0b4b2ce79
* src/DisplayView.py: Open/OpenRecent MenuToolButton goodness :-)
...
* src/ViewManager.py: Open/OpenRecent MenuToolButton goodness :-)
svn: r5670
2006-01-04 21:06:28 +00:00
Don Allingham
57706e08f6
* src/FamlyView.py: enable menu buttons, siblings
...
* src/PageView.py: move home function into this class
* src/PersonView.py: move home function out of this class
svn: r5669
2006-01-04 18:56:06 +00:00
Martin Hawlisch
2af34cfb23
* src/FamilyView.py: Handle active person == None
...
svn: r5668
2006-01-04 18:00:02 +00:00
Don Allingham
2590bed36f
* src/FamilyView.py: fix place == None problem
...
svn: r5666
2006-01-04 16:42:39 +00:00
Don Allingham
aa27c0fe59
* src/FamilyView.py: provide hyper links
...
svn: r5664
2006-01-04 05:39:39 +00:00
Alex Roitman
4a4e310948
* src/DisplayState.py (push): Typo.
...
svn: r5662
2006-01-03 23:51:20 +00:00
Don Allingham
fedf882434
* src/FamilyView.py: new format
...
svn: r5658
2006-01-03 22:07:34 +00:00
Martin Hawlisch
1f2566446e
* src/PedView.py: Dont use a black border for living people
...
svn: r5655
2006-01-02 22:11:19 +00:00
Martin Hawlisch
e82c2c2084
* src/ViewManager.py (post_load): Request interface rebuild after upgrading the database
...
svn: r5654
2006-01-02 16:00:05 +00:00
Martin Hawlisch
daafb5af19
* src/PedView.py: Show marriage data; optimized cell debugging
...
svn: r5653
2006-01-02 15:22:34 +00:00
Eero Tamminen
6fa83cede0
manpage fix
...
svn: r5652
2006-01-01 15:15:30 +00:00
Martin Hawlisch
84cf1f964d
* src/PedView.py: Some pixel shifting; Tooltips for child relations; Sibling with childs bold
...
svn: r5648
2005-12-30 21:05:47 +00:00
Martin Hawlisch
d54b225e53
* src/plugins/TestcaseGenerator.py: Use new RelLib API
...
* src/GrampsDb/_GrampsBSDDB.py (_update_reference_map): Dont crash if no_longer_required_references dont exist in the database
svn: r5647
2005-12-30 15:56:21 +00:00
Martin Hawlisch
7cdfd4505e
* src/PedView.py: Use ReportUtils to generate text; highlight selected person; enable Tooltips; Optionally show peoples images
...
svn: r5646
2005-12-30 14:12:24 +00:00
Martin Hawlisch
943c2001c9
* src/ReportUtils.py: Use new RelLib API
...
svn: r5645
2005-12-30 14:04:19 +00:00
Don Allingham
d9b54a0da5
* src/GrampsLocale.py: handle platform specific locale issues
...
* src/DateDisplay.py: use GrampsLocale
* src/DateParser.py: use GrampsLocale
* src/DisplayModels.py: use GrampsLocale
* src/Exporter.py: start conversion to Assistant
* src/RecentFiles.py: fcntl option for broken platforms
* src/StartupDialog.py: convert to Assistant
* src/ViewManager.py: remove debug statement
* src/RelLib/_PrimaryObject.py: use GrampsLocale
* src/plugins/Checkpoint.py: use GrampsLocale
* src/plugins/NavWebPage.py: use GrampsLocale
svn: r5644
2005-12-30 03:57:31 +00:00
Martin Hawlisch
ce6afcea45
* src/PedView.py: Use a DrawingArea for nicer person boxes
...
* src/GrampsDb/_GrampsDbBase.py (_update_reference_map): Sync parameters to other classes
* src/GrampsDb/_ReadXML.py (stop_event): Catch invalid event
svn: r5643
2005-12-29 22:34:18 +00:00
Don Allingham
3c353073ee
* src/gramps_main.py: move gnome program init to gramps.py
...
* src/gramps.py: add gnome program init
* src/StartupDialog.py: use Assistant instead of gnome.ui.druid
svn: r5642
2005-12-29 20:33:19 +00:00
Don Allingham
597b0c8474
* src/Assistant.py: added
...
svn: r5641
2005-12-29 19:52:12 +00:00
Don Allingham
9eb8d4b069
* src/ArgHandler.py: remove DbPrompter dependency
...
* src/GrampsGconfKeys.py: Support for saving window size
* src/GrampsIniKeys.py: Support for saving window size
* src/GrampsKeys.py: more gracefully handling missing gconf
* src/Makefile.am: Fixed moved files
* src/Report.py: clean up
* src/ScratchPad.py: use GrampsDisplay instead of gnome.help_display
* src/StartupDialog.py: clean up
* src/ViewManager.py: save window size
* src/gramps_main.py: don't require gnome
* src/data/gramps.schemas: keys for saving window size
svn: r5640
2005-12-29 18:36:59 +00:00
Martin Hawlisch
41d5a71f35
* src/PedView.py: Added alternate version of the tree; Tree is now centered;
...
svn: r5639
2005-12-29 18:23:45 +00:00
Martin Hawlisch
f21a0c8fcb
* src/PedView.py: Add new submenu showing people that share the same event. This for example lists witnesses.
...
svn: r5638
2005-12-29 18:09:06 +00:00
Don Allingham
e8cc3b5c0d
* src/Makefile.am: add PythonMime and GnomeMime
...
svn: r5637
2005-12-28 23:00:33 +00:00
Don Allingham
9b4536ee72
* src/GnomeMime.py: GNOME based mime handling
...
* src/PythonMime.py: Python based mime handling
* src/AddMedia.py: gnome code isolation
* src/DisplayState.py: gnome code isolation
* src/EditPerson.py: gnome code isolation
* src/EditRepository.py: gnome code isolation
* src/GnomeMime.py: gnome code isolation
* src/GrampsDisplay.py: gnome code isolation
* src/GrampsMime.py: gnome code isolation
* src/ImageSelect.py: gnome code isolation
* src/ImgManip.py: gnome code isolation
* src/PluginMgr.py: toolbar/menu support
* src/Plugins.py: toolbar/menu support
* src/RepositoryRefEdit.py: gnome code isolation
* src/SelectObject.py: gnome code isolation
* src/Utils.py: gnome code isolation
* src/ViewManager.py: toolbar/menu support, gnome code isolation
* src/GrampsDb/_GrampsBSDDB.py: unified messaging
* src/GrampsDb/_ReadGedcom.py: unified messaging
* src/plugins/WriteFtree.py: gnome code isolation
svn: r5636
2005-12-28 22:58:26 +00:00
Don Allingham
fb6b3fe2d7
* src/Bookmarks.py: remove debugging statements
...
* src/DisplayState.py: remove extra rebuild request
* src/Plugins.py: start support of Report menu
* src/ViewManager.py: tie in report support
svn: r5634
2005-12-26 05:11:37 +00:00
Alex Roitman
2146726bc1
* src/EditPlace.py: Change arguments, use correct track.
...
* src/PlaceView.py: Call EditPlace with new arguments.
* src/Sources.py: Minor.
svn: r5633
2005-12-26 04:52:21 +00:00
Don Allingham
516230ce2d
* src/Bookmarks.py: get bookmark menu working
...
* src/EditPlace.py: menu tracking
svn: r5632
2005-12-25 04:01:47 +00:00
Don Allingham
2d73317658
* src/DisplayState.py: recent file support
...
* src/ViewManager.py: recent file support
* src/DisplayState.py: recent file support
* src/EditPerson.py: Window management
* src/EditSource.py: Window management
* src/EventEdit.py: Window management
* src/ListBox.py: Window management
* src/Sources.py: Window management
* src/UrlEdit.py: Window management
* src/ViewManager.py: Window management
svn: r5631
2005-12-24 19:18:18 +00:00
Don Allingham
318def7c23
* DisplayState.py: recent file support
...
* EditPerson.py: Window management
* EditSource.py: Window management
* EventEdit.py: Window management
* ListBox.py: Window management
* Sources.py: Window management
* UrlEdit.py: Window management
* ViewManager.py: Window management
svn: r5629
2005-12-24 00:09:04 +00:00
Alex Roitman
4f96128b79
* doc/grampsxml.dtd: Describe new XML.
...
* doc/grampsxml.rng: Describe new XML.
svn: r5627
2005-12-23 21:32:55 +00:00
Alex Roitman
2ed1502dad
* src/DisplayState.py: Simplify ID generation for UIManager.
...
* src/EditPerson.py: Use id(self) instead of self.
* src/EditPlace.py: Use id(self) instead of self.
* src/EditSource.py: Use id(self) instead of self.
* src/EventEdit.py: Use id(self) instead of self.
svn: r5625
2005-12-23 20:09:02 +00:00
Alex Roitman
d9a3675fa0
* src/EditPerson.py: Swap menu/submenu labels.
...
* src/EventEdit.py: Menu label fixes.
svn: r5624
2005-12-23 19:36:53 +00:00
Don Allingham
5f29bf2381
* src/AddrEdit.py: More window management
...
* src/AttrEdit.py: More window management
* src/DisplayState.py: added push_message
* src/EditPerson.py: More window management
* src/ListBox.py: More window management
* src/NameEdit.py: More window management
* src/Navigation.py: More window management
* src/PeopleModel.py: More window management
* src/PersonView.py: More window management
* src/ViewManager.py: better handling of ui and action groups
svn: r5623
2005-12-23 05:35:32 +00:00
Alex Roitman
8b903b7073
* src/ToolTips.py (PersonTip.get_tip): Use new birth_ref interface.
...
svn: r5622
2005-12-23 02:04:54 +00:00
Alex Roitman
13987a5dae
* src/MediaView.py: Skip empty selections.
...
svn: r5621
2005-12-23 02:00:35 +00:00
Alex Roitman
914a1b0c75
* test/RunAllTests.py: Change header.
...
* src/EventEdit.py: Fix build_ methods.
* src/DisplayState.py: window management improvements
svn: r5620
2005-12-23 00:40:35 +00:00
Don Allingham
66556116d0
* src/EditPerson.py: window management improvements
...
* src/EditPlace.py: window management improvements
* src/EditSource.py: window management improvements
* src/EventEdit.py: window management improvements
* src/EventView.py: window management improvements
* src/ListBox.py: window management improvements
* src/NameEdit.py: window management improvements
* src/SourceView.py: window management improvements
* src/Sources.py: window management improvements
svn: r5618
2005-12-22 23:43:32 +00:00
Richard Taylor
37ac4abccd
* src/ImageSelect.py: changed display_refs to use find_backlink_handles and updated
...
GlobalMediaProperties to use new UI model.
* src/MediaView.py: changed call to GlobalMediaProperties to use new UI params.
* src/Utils.py: added support for Gtk.labels to bold/unbold/temp label util funcs.
svn: r5617
2005-12-22 13:35:37 +00:00
Richard Taylor
e3d70bb4a2
* src/EditPlace.py: changed display_references to use find_backlink_handles
...
* src/EditRepository.py: modified to use find_backlink_handles and fixed subtle bug
* src/RelLib/_Source.py: added reporef_list to referent object lists so that backref
are put in reference_map
* test/GrampsDb/GrampsDbBase_Test.py: added unittest for source/reference backlinks
* test/GrampsDb/GrampsDbTestBase.py: added unittest for source/reference backlinks
svn: r5616
2005-12-22 12:02:06 +00:00
Don Allingham
18e3e8c5cf
* src/Bookmark.py: start of reimplementation
...
* src/PersonView.py: commit fixes
svn: r5615
2005-12-22 06:13:11 +00:00
Alex Roitman
c14e5e5dc6
* src/DisplayState.py: Work out parent_window, correct close method.
...
* src/EventEdit.py: Use parent_window; get rid of parent; remove
unused code.
svn: r5614
2005-12-22 06:08:33 +00:00
Don Allingham
60ac61c36a
* src/GrampsDb/_GrampsBSDDB.py: refactor remove and id function
...
svn: r5613
2005-12-22 05:40:27 +00:00
Alex Roitman
40b158c997
* src/GrampsDb/_GrampsBSDDB.py (close): close reference_map tables.
...
* src/ViewManager.py (quit): Add function to properly quit.
svn: r5612
2005-12-22 04:36:26 +00:00
Alex Roitman
8642de248f
Update
...
svn: r5611
2005-12-21 23:39:06 +00:00
Alex Roitman
8255e3c148
* src/GrampsDb/Makefile.am, .cvsignore: Add to CVS.
...
* configure.in: Create Makefile in new directory.
svn: r5610
2005-12-21 23:37:50 +00:00
Alex Roitman
cdb40e2d82
privacy flag and comment to the privacy flag and note of the new
...
EventRef for old witness_by_ID references.
svn: r5608
2005-12-21 20:15:45 +00:00
Alex Roitman
a41aaee3ba
* src/EventEdit.py: Use more descriptive menu label.
...
* src/GrampsDb/_GrampsBSDDB.py (gramps_upgrade_9): Convert witness
comment to the EventRef note for old witness_by_ID references.
svn: r5606
2005-12-21 20:06:30 +00:00
Alex Roitman
e51ee68d69
* src/DisplayState.py: Factor out recursive action function.
...
* src/EditPerson.py: Use person handle to identify the window.
* src/EventEdit.py: Use more descriptive menu label.
svn: r5605
2005-12-21 19:48:18 +00:00
Don Allingham
aa4f1c7ed4
* src/DisplayState.py: remove print statements
...
* src/ViewManger.py: Fix const.app_*
svn: r5604
2005-12-21 18:59:51 +00:00
Alex Roitman
aa11938737
* src/DisplayState.py (remove_item): Add code to adjust other
...
item's tracks after deleting an item; (move_item_down):
Recursively walk the items under a given item and lower the track
entry.
svn: r5603
2005-12-21 18:24:38 +00:00
Richard Taylor
cf2827bbf1
src/EditSource.py: fixed small mistake in display_references
...
svn: r5601
2005-12-21 16:57:11 +00:00
Richard Taylor
80069c6ad7
src/EditSource.py: changed display_references to use find_backlink_handles
...
svn: r5600
2005-12-21 15:45:30 +00:00
Richard Taylor
e311f8d039
src/EditRepository.py: hack to work with current state of Address
...
svn: r5599
2005-12-21 12:16:54 +00:00
Richard Taylor
deaaf16717
move database code into new package
...
svn: r5598
2005-12-21 11:27:05 +00:00
Richard Taylor
9c64f37c87
added import for Note class
...
svn: r5597
2005-12-21 07:35:13 +00:00
Alex Roitman
2a16977e94
* src/DisplayState.py (ManagedWindow.close): Add default argument.
...
svn: r5596
2005-12-21 07:07:12 +00:00
Alex Roitman
69bb5279e7
* src/GrampsBSDDB.py (gramps_upgrade_9): Upgrade witness list in
...
the old Event object.
* src/RelLib/_Event.py: Remove external witnesses altogether.
* src/RelLib/_Witness.py: Make even emptier (needed for upgrade only).
* src/RelLib/__init__.py: Expose Witness (needed for upgrade only).
svn: r5595
2005-12-21 00:08:47 +00:00
Alex Roitman
c71c808ca5
* src/RelLib/__init__.py: More breaking up in RelLib;
...
* src/RelLib/Makefile.am: Ship new files;
* src/RelLib/ various files: add more files.
svn: r5593
2005-12-20 20:48:18 +00:00
Richard Taylor
eefee74442
removed get_backlink_handles from RelLib
...
svn: r5592
2005-12-20 14:31:01 +00:00
Alex Roitman
7ef8c42e97
* src/RelLib.py: Remove file (replaced by the package dir).
...
* src/RelLib: Add directory.
* src/RelLib/__init__.py, src/RelLib/_helper.py,
src/RelLib/_secondary.py, src/RelLib/Researcher.py,
src/RelLib/GenderStats.py, src/RelLib/Person.py,
src/RelLib/Family.py, src/RelLib/Event.py, src/RelLib/Place.py,
src/RelLib/Source.py, src/RelLib/MediaObject.py,
src/RelLib/Repository.py, src/RelLib/Makefile.am,
src/RelLib/.cvsignore: Add to CVS.
* src/configure.in: Create Makefile in src/RelLib.
svn: r5587
2005-12-20 02:38:07 +00:00
Don Allingham
2a09f3d9d6
* src/ReadXML.py: handle _NAME_TRANS keyerror exception
...
svn: r5586
2005-12-20 00:01:09 +00:00
Alex Roitman
8b75efcfc3
* src/RelLib.py: Add privacy flag to all objects via making
...
PrimaryObject inherit from PrivacyBase; Add AddressBase and
UrlBase classes to manage Address and Url lists in other objects;
Add tuple type to the Url class; make Repository inherit from
AddressBase and UrlBase to be able to store lists of both.
* src/GrampsBSDDB.py (gramps_upgrade_9): Provide upgrade for the
changes in RelLib.
svn: r5585
2005-12-19 23:18:03 +00:00
Alex Roitman
3cd11c5465
* src/GrampsBSDDB.py (gramps_upgrade_9): Convert all Name and
...
Attribute objects to use tuple types.
* src/RelLib.py (Name.set_type): Typo in the wrapper code.
svn: r5584
2005-12-19 16:22:33 +00:00
Richard Taylor
14566e8b42
* src/RelLib.py: added get_backlink_handles method to PrimaryObject
...
* test/GrampsDbBase_Test.py: factored out common db test methods
* test/GrampsDbTestBase.py: new base class for unittests that
need to create database records
* test/RelLib_Test.py: unittest for the
* get_backlink_handles method
svn: r5583
2005-12-19 13:45:05 +00:00
Alex Roitman
923b058032
* src/GrampsBSDDB.py (gramps_upgrade_9): Switch to using keys in
...
upgrade. When using DB cusrsor, modifying the record sometimes
confuses the cursor operation. Possibly this only happens if
secondary indexes are involved.
svn: r5581
2005-12-18 03:30:13 +00:00
Don Allingham
d8ba4dd42e
* src/GrampsBSDDB.py: associate functions return str instead
...
of unicode
svn: r5577
2005-12-18 01:28:35 +00:00
Richard Taylor
6915016219
tests and fixes for reference_map.
...
svn: r5576
2005-12-17 22:16:03 +00:00
Richard Taylor
ff90348642
moved to using in keys rather than class names in the referece_map table
...
svn: r5575
2005-12-17 22:02:48 +00:00
Richard Taylor
a2a230411a
* src/GrampsDbBase.py: fixed UNDO buffer issue
...
* test/GrampsDbBase_Test.py: improved performance test
* test/RunAllTests.py: added -p cmdline flag
svn: r5571
2005-12-17 21:13:45 +00:00
Richard Taylor
9385212033
fix for cursor set
...
svn: r5570
2005-12-17 20:13:23 +00:00
Richard Taylor
2fce6de7e9
added a crude performance test.
...
svn: r5564
2005-12-16 16:31:38 +00:00
Richard Taylor
748337078b
further work to complete the reference_map implementation.
...
svn: r5563
2005-12-16 11:59:13 +00:00
Alex Roitman
0d1c415391
* src/RelLib.py (RepoRef): Typos.
...
* src/Utils.py: Typos.
svn: r5562
2005-12-16 06:03:15 +00:00
Don Allingham
428d421096
* src/ViewManger.py: progress bar added back in
...
* src/ReadXML.py: handle markers
svn: r5560
2005-12-15 23:48:06 +00:00
Don Allingham
277113f59e
* src/DisplayState.py: Window management completed
...
svn: r5559
2005-12-15 21:50:14 +00:00
Alex Roitman
163ffaad32
* src/GrampsBSDDB.py: go back to a single load function;
...
finish gramps_upgrade_9.
* src/ViewManager: Go back to the old way of load/upgrade.
svn: r5558
2005-12-15 21:26:55 +00:00
Alex Roitman
f5864a6c1f
Update
...
svn: r5557
2005-12-15 21:21:19 +00:00
Richard Taylor
479b3833d9
added delete support for the reference_map
...
svn: r5556
2005-12-15 17:48:48 +00:00
Richard Taylor
6a81fa36bc
reference_map implementation.
...
svn: r5555
2005-12-15 17:32:10 +00:00
Richard Taylor
db364e3d26
sequencial scan implementation of get_backlink_handles
...
svn: r5554
2005-12-15 12:03:24 +00:00
Alex Roitman
45ccf8db1b
* src/GrampsBSDDB.py: Rename upgrade to avoid collision; add DB
...
upgrade routine; require DB to be at least version 5 (gramps
2.0.0); separate primary and secondary load (may need to reverse
later).
* src/GrampsDbBase.py: Rename upgrade to avoid collission.
* src/RelLib.py (Witness.py): Add empty class to enable upgrades
from the earlier DB versions.
* src/ViewManager.py: move upgrade into the DB class (may need to
reverse later).
svn: r5553
2005-12-15 06:19:37 +00:00
Don Allingham
fe78de0606
* src/DisplayState.py: start of Windows menu
...
* src/ReadGedcom.py: sync database with transaction
* src/ViewManager.py: WinMenu support
svn: r5551
2005-12-15 04:45:20 +00:00
Martin Hawlisch
7a6b9143c5
* src/gramps.glade: Fix Tip of the day
...
svn: r5548
2005-12-14 10:53:33 +00:00
Alex Roitman
7f98e3bc35
* src/EditPerson.py: Call child editors with new arguments.
...
* src/EventEdit.py: Use new window management.
* src/ListBox.py: Use new arguments.
* src/PersonView.py: Add track argument to EditPerson.
svn: r5547
2005-12-14 06:54:02 +00:00
Alex Roitman
c416e79e3a
* src/DisplayState.py: Correct and add comments.
...
svn: r5546
2005-12-14 04:06:42 +00:00
Don Allingham
9dbbf2b512
* src/EditPerson.py: fix after merge
...
* src/GrampsDbBase.py: fix after merge
* src/edit_person.glade: fix after merge
svn: r5545
2005-12-14 01:23:23 +00:00
Alex Roitman
8f6b51ccb2
* various: merge changes made in gramps20 up until R2_0_9 tag.
...
svn: r5544
2005-12-13 02:07:16 +00:00
Richard Taylor
e14ffbfd48
src/EditSource.py: Connected up add/del/edit buttons for Repos tab.
...
svn: r5543
2005-12-12 12:04:49 +00:00
Don Allingham
34e66709b8
* src/FamilyView.py: Fixed FamilyView layout
...
svn: r5492
2005-12-07 05:09:01 +00:00
Alex Roitman
cf825940d2
Update
...
svn: r5483
2005-12-06 06:44:26 +00:00
Alex Roitman
97cdbe6af4
merge changes from gramps20
...
svn: r5482
2005-12-06 06:38:09 +00:00
Don Allingham
174e761dea
* src/FamilyView.py: add more ui stuff
...
* src/ReadGedcom.py: set batch properly
svn: r5476
2005-12-05 22:22:10 +00:00
Don Allingham
4d6ec03bb5
* src/FamilyView.py: start of a new family view.
...
* src/gramps_main.py: register FamilyView
svn: r5474
2005-12-05 04:54:40 +00:00
Martin Hawlisch
a875550db1
* src/PersonView.py (edit): Work with missing active person
...
svn: r5200
2005-09-16 18:37:13 +00:00
Don Allingham
6cd2a0f8a0
* src/DisplayState.py: remove relationship display stuff for the time
...
being.
svn: r5199
2005-09-16 18:22:32 +00:00
Martin Hawlisch
971a8a29ec
* src/PageView.py (button_press): Catch problem with no loaded database
...
* src/PersonView.py (button_press): Catch problem with no loaded database
* src/GrampsDbBase.py (_get_from_handle): Catch problem with no loaded database
* src/MapView.py: Updates
* src/EditPerson.py: Change complete flag into marker combo
* src/GrampsDbBase.py: Add map for custom marker values
* src/PeopleModel.py: Add support for colored markers
* src/PersonView.py: Add support for colored markers
* src/RelLib.py: Change complete flag into marker combo
* src/Utils.py: Add marker types
* src/edit_person.glade: Change complete flag into marker combo
svn: r5198
2005-09-16 15:25:27 +00:00
Martin Hawlisch
996b7be086
* Makefile.am: Disable install, show warning instead.
...
svn: r5196
2005-09-16 07:28:02 +00:00
Don Allingham
ac4f55f71b
* src/EditPlace.py: fix windowing history
...
svn: r5194
2005-09-16 04:07:53 +00:00
Martin Hawlisch
2663b12f13
* src/gramps_main.py: pass DisplayState to TipOfDay
...
* src/TipOfDay.py: Use DisplayState
* src/const.py.in: add GRAMPS websites
* src/ViewManager.py: Add TipOfDay; Make GRAMPS websites work again
svn: r5124
2005-08-25 15:08:07 +00:00
Don Allingham
b0ff013e19
* src/DisplayState.py: fixe some window management syntax errros
...
* src/PageView.py: enable double click to edit
* src/EditPerson.py: tried to enable window management
* src/PersonView.py: make more compatible with base class
svn: r5114
2005-08-19 22:10:35 +00:00
Richard Taylor
85985313eb
2005-08-19 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
...
* src/EventEditor.py: hacked about to make add work at least.
svn: r5113
2005-08-19 15:51:14 +00:00
Richard Taylor
2a4c52797d
2005-08-19 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
...
* src/TreeTips.py: set default delay to 2s
svn: r5112
2005-08-19 15:34:31 +00:00
Richard Taylor
d974b58e2e
2005-08-17 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
...
* src/ToolTips.py: tooltip fix
svn: r5111
2005-08-19 15:27:25 +00:00
Richard Taylor
af1cb4ecc3
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
79eae9a5e9
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
fc2b33c116
Merge changes from gramps20 made since 2.0.5
...
svn: r5105
2005-08-18 05:58:28 +00:00
Martin Hawlisch
af49dc3f91
* src/Makefile.am
...
* src/plugins/Makefile.am: ScratchPad moved folder.
svn: r5095
2005-08-17 16:38:19 +00:00
Richard Taylor
096d11cfb7
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
36745efde0
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
f685c58ed2
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
b794a80a43
* 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
afa0df1e54
* 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
4424259671
* 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
03fc3bb613
* src/MapView.py: Dont fail if xearth is not installed
...
svn: r5066
2005-08-12 18:13:33 +00:00
Don Allingham
2c9e7fe552
Navigation menu fix
...
svn: r5065
2005-08-12 17:28:22 +00:00
Alex Roitman
4e4f558c6e
* 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
6356e91983
* 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
a02d60a6db
changes to work with ViewManager changes
...
svn: r5058
2005-08-12 10:09:48 +00:00
Don Allingham
0104f28509
* 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
28cd286af0
Update
...
svn: r5056
2005-08-12 02:54:09 +00:00
Alex Roitman
6419b4ea14
* 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
fbde48ac04
* various: added new views
...
svn: r5054
2005-08-12 02:35:27 +00:00
Don Allingham
5a68231d1d
New EventView
...
svn: r5053
2005-08-11 22:13:44 +00:00
Don Allingham
88dbc3b776
PersonNavView changes
...
svn: r5052
2005-08-11 17:19:03 +00:00
Martin Hawlisch
e77391a7e7
* 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
d0b11dc4ce
split UI and DB state
...
svn: r5049
2005-08-10 23:53:24 +00:00
Martin Hawlisch
26a0ed9203
* src/PedView.py: Better autoscaling; better ui management
...
svn: r5046
2005-08-10 15:25:46 +00:00
Alex Roitman
bad1414dfc
* 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
02ca5a73b5
* src/const.py.in: Remove obsolete constants.
...
svn: r5042
2005-08-09 14:43:04 +00:00
Martin Hawlisch
21302dbbf4
* 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
6fb39a605f
* 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
d3a5f623a6
* 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
42534975c3
Merge changes made between 2.0.3 and 2.0.5
...
svn: r4911
2005-07-08 20:24:54 +00:00
Martin Hawlisch
22ea21f744
* 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
258a3f4f95
* src/plugins/TestcaseGenerator.py: Update to new tuple types
...
svn: r4876
2005-06-24 22:12:30 +00:00
Martin Hawlisch
1cf3a2a99c
* 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
7b8f9b3788
Filter improvements
...
svn: r4852
2005-06-20 22:18:22 +00:00
Alex Roitman
0dbb160bdb
Update
...
svn: r4836
2005-06-16 15:39:54 +00:00
Alex Roitman
d1136c731c
* 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
fdf7867589
* src/EventEdit.py: Remove unused variable.
...
svn: r4834
2005-06-16 13:21:11 +00:00
Don Allingham
3aef013e12
* src/DisplayModels.py: fixed event type display
...
svn: r4832
2005-06-16 04:08:42 +00:00
Don Allingham
57730c36e0
* 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
32d3950455
* src/ListBox.py (EventListBox.set_place): Fix place setting.
...
svn: r4830
2005-06-16 03:46:47 +00:00
Alex Roitman
b840180846
* 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
96d8bc1dc8
* 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
20eeda40e8
* 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
c0590d4e7e
* src/gramps.glade: Minor update.
...
svn: r4814
2005-06-08 21:22:32 +00:00
Alex Roitman
30168ace63
* 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
7f76c26a59
* src/EditPerson.py: Make gender guessing work again
...
svn: r4812
2005-06-08 21:12:32 +00:00
Alex Roitman
35935f491f
* 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
778000cd38
* 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
d4705aeb25
* 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
97642f79f6
* 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
ac91138900
* 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
4575a43faa
* 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
6408226085
* 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
f4d4c73129
* 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
16723828fd
* various: const to RelLib transitition.
...
svn: r4800
2005-06-07 19:22:10 +00:00
Alex Roitman
5b1feeff12
* src/EventView.py (build_columns): Do not artificially create
...
an extra column.
svn: r4798
2005-06-07 13:53:46 +00:00
Alex Roitman
f2cf13f469
* 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
0d9a076141
* 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
b1db9871c3
* src/DateHandler.py: Fix typo caught in gramps20 branch.
...
svn: r4793
2005-06-05 17:26:30 +00:00
Alex Roitman
e651cfd29f
* src/RelLib.py (Event): Add a list to store external witnesses.
...
svn: r4787
2005-06-05 05:16:27 +00:00
Julio Sánchez
5ead07af98
* src/po/es.po: version merge fix
...
svn: r4786
2005-06-05 05:11:32 +00:00
Alex Roitman
4a642b4e8d
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
af5df18bcd
* 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
271f9d6a8b
event/name type fixes
...
svn: r4780
2005-06-03 22:38:14 +00:00
Martin Hawlisch
118e7dd628
* src/EditSource.py (ReposRefListView): Display repository type as text
...
svn: r4773
2005-06-03 14:18:06 +00:00
Martin Hawlisch
6af02b72af
* 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
aa942771ea
* 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
e1c3cb3989
* src/RelLib.py (Family.set_relationship): Update doc string.
...
svn: r4763
2005-06-03 04:18:38 +00:00
Alex Roitman
a13ae8e96d
* 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
ea089b6b25
* src/gramps.glade:
...
svn: r4756
2005-06-02 04:44:51 +00:00
Don Allingham
015d602722
* 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
4e8e4ee636
* various: More support for event refs.
...
svn: r4753
2005-06-01 20:45:45 +00:00
Alex Roitman
f242e619e0
* 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
d8e28d4c4c
* 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
7db59a7cab
* src/AutoComp.py (StandardCustomSelector): Add autocompletion.
...
svn: r4745
2005-05-31 18:40:17 +00:00
Alex Roitman
476fdeafb7
* 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
74e71e5df5
* 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
3a53aeda5d
* 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
a766caa5b9
* 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
88593afd19
* 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
2c6f08b9e3
* src/GrampsBSDDB.py (upgrade_7): Enforce str for the default handle.
...
svn: r4726
2005-05-28 06:35:15 +00:00
Martin Hawlisch
bb50c0f5df
* 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
bcf7649b87
* 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
c980a56abe
* 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
28f5eb383f
* 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
f1e31b8270
* 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
9eaf68f135
update
...
svn: r4715
2005-05-27 19:37:55 +00:00
Alex Roitman
62b8e334af
* src/GrampsBSDDB.py (upgrade_*): Use transaction for commits.
...
svn: r4713
2005-05-27 19:14:20 +00:00
Alex Roitman
5610229889
Merge SOUR_REPO branch with main trunk
...
svn: r4712
2005-05-27 17:43:04 +00:00
Alex Roitman
557638b510
* src/const.py.in: Define integer constants for standard events.
...
svn: r4707
2005-05-27 14:04:53 +00:00
Martin Hawlisch
8d2be247db
* src/plugins/TestcaseGenerator.py: Support for event references.
...
svn: r4705
2005-05-27 13:48:47 +00:00
Martin Hawlisch
7454281990
* src/EditPerson.py: typo
...
svn: r4704
2005-05-27 11:23:46 +00:00
Martin Hawlisch
9dc724d32f
* 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
50ac810074
* 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
2ef5c5bfd2
* src/RelLib.py (EventRef): Add class.
...
svn: r4693
2005-05-26 21:03:24 +00:00
Martin Hawlisch
e4c5d452de
* 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
bce9cf71b9
* src/plugins/TestcaseGenerator.py: Add place, media and source references.
...
svn: r4684
2005-05-26 05:48:14 +00:00
Alex Roitman
d9c8ebef56
* 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
06913ac261
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
4cb7fdabd0
fix ScratchPad window close bug.
...
svn: r4670
2005-05-25 06:56:41 +00:00
Alex Roitman
8a2270ff07
* 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
6d002fb835
conflict resolution
...
svn: r4668
2005-05-25 03:58:27 +00:00
Martin Hawlisch
7da67a91a3
* src/plugins/PHPGedViewConnector.py: Enhanced version.
...
svn: r4667
2005-05-24 21:39:49 +00:00
Alex Roitman
ce05310959
Merge from 2.0.1
...
svn: r4666
2005-05-24 13:08:06 +00:00
Don Allingham
16b52bcb0f
* configure.in: bump up verison number to 2.1.0
...
svn: r4610
2005-05-18 03:42:01 +00:00
Julio Sánchez
db0780e453
* src/po/es.po: remerge from 2.0.0
...
svn: r4556
2005-05-11 19:25:32 +00:00
Don Allingham
5ceb929937
* src/EditPerson.py: remerge from 2.0.0
...
svn: r4553
2005-05-11 17:25:14 +00:00
Alex Roitman
69287c81f8
Merge changes made in gramps20 into HEAD
...
svn: r4549
2005-05-11 14:04:47 +00:00
Don Allingham
7178dc86d7
* src/gramps_main.py: fix beta warning dialog
...
svn: r4499
2005-05-07 02:41:08 +00:00
Don Allingham
19a362f865
* src/ListBox.py: added to CVS
...
* src/Makefile.am: added ListBox.py
svn: r4470
2005-05-03 11:50:33 +00:00
Don Allingham
9b7fe2ab46
* 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
f844fb5bf1
* 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
f1bdbd1ebd
* 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
3fe467503f
* 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
f4ee9a4418
* 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
7a6dc34425
fix some eventlist handling errors
...
svn: r4442
2005-04-28 22:21:20 +00:00
Don Allingham
de0ab260d4
* 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
32aae7d0e7
* src/StartupDialog.py (__init__): Catch Schema errors
...
svn: r4436
2005-04-27 19:48:24 +00:00
Martin Hawlisch
62af2a64fc
* src/gramps_main.py (__init__): Avoid TypeError in schema error message
...
svn: r4434
2005-04-27 18:30:57 +00:00
Alex Roitman
9c92bf317f
Merge changes made in gramps20 into HEAD
...
svn: r4431
2005-04-26 16:04:21 +00:00
Martin Hawlisch
1493ed9ee1
* src/PedView.py: Removed navigation buttons in flavour of a menu
...
svn: r4430
2005-04-26 13:53:25 +00:00
Don Allingham
5a620927b6
* 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
1b1291065a
* 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
7e102285e4
* 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
c1e1f31ace
* GenericFilter.py: Don't crash on corrupt database
...
svn: r4382
2005-04-19 19:34:22 +00:00
Martin Hawlisch
1d6ec38629
* 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
9bd9116204
* 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
4dfc846191
* 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
e063c81249
* 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
958e07cace
fix typo
...
svn: r4369
2005-04-17 19:27:54 +00:00
Eero Tamminen
315367e81d
fix typos
...
svn: r4368
2005-04-17 17:48:42 +00:00
Martin Hawlisch
1f96107362
* 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
350ed9e36d
* 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
5617c42d2c
* src/FamilyView.py: make load_family more robust to signals
...
svn: r4363
2005-04-14 20:43:14 +00:00
Martin Hawlisch
79af9bdb0c
* 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
c289f6c04b
* 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
2059945bc6
* src/gramps_main.py: check for reentrancy into the undo handler
...
svn: r4359
2005-04-13 22:04:52 +00:00
Don Allingham
223c363a47
* 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
87bf5fa71a
* src/WriteGedcom.py: fixed problem with skipping events
...
svn: r4357
2005-04-13 17:29:52 +00:00
Don Allingham
398985027a
* src/FamilyView.py: commit family before people when committing
...
new spouse.
svn: r4355
2005-04-13 02:46:19 +00:00
Don Allingham
8cc28ad677
* src/EventEdit.py: more robust handler for new place after an edit
...
svn: r4353
2005-04-12 15:16:04 +00:00
Martin Hawlisch
bf17300ff6
* src/ArgHandler.py: Fixed typo
...
svn: r4352
2005-04-12 13:11:23 +00:00
Alex Roitman
3724f79a1e
* src/ArgHandler.py: Minor string changes.
...
* src/DbPrompter.py: Minor string changes.
svn: r4351
2005-04-12 01:56:36 +00:00
Alex Roitman
eec33154e6
* 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
5196dea9a5
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
c5e45f59df
* src/SourceView.py (button_press,build_context_menu): Work with
...
multiple selections.
svn: r4346
2005-04-11 14:47:02 +00:00
Alex Roitman
62ba24fd6b
* src/MergeData.py (on_merge_places_clicked): Commit event.
...
svn: r4345
2005-04-11 14:36:33 +00:00
Martin Hawlisch
ad1621c3ea
* 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
88e5406249
* src/plugins/Check.py: Fix events, that reference non existing places
...
svn: r4342
2005-04-11 10:11:04 +00:00
Martin Hawlisch
78fcabe770
* src/PedView.py (load_canvas): Catch bug of not existing family
...
svn: r4341
2005-04-11 09:42:55 +00:00
Alex Roitman
dc65df18b6
* 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
80a06b89dc
* 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
e5bbce4b63
* NEWS: Update.
...
svn: r4336
2005-04-10 23:27:32 +00:00
Alex Roitman
550d6a8d6d
Update
...
svn: r4335
2005-04-10 23:26:34 +00:00
Don Allingham
5bff9681c9
* src/EventEdit.py: Add new places to the database.
...
svn: r4334
2005-04-10 22:08:11 +00:00
Don Allingham
f8fd8d36da
* src/Check.py: repair family types of "None" in the database
...
svn: r4332
2005-04-10 21:21:58 +00:00
Don Allingham
218c3959ab
* src/Makefile.am: add MergePeople.py
...
svn: r4331
2005-04-10 14:38:06 +00:00
Don Allingham
3c2e3536ea
* 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
62bdc36e2b
* src/po/template.po: Update translation template.
...
svn: r4329
2005-04-09 18:49:50 +00:00
Richard Taylor
419cd75ec6
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
4736f4ece9
* 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
02171a00af
* 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
b33612a7a1
* 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
5184d567fa
* src/PeopleModel.py (column_death_place): Use "Burial" and "Cremation" events
...
svn: r4324
2005-04-08 15:53:48 +00:00
Martin Hawlisch
571ff74418
* 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
6c231bd277
* 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
2b17686063
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
690bcd9e68
* src/GenericFilter.py: Call prepare/reset for nested filters
...
svn: r4319
2005-04-07 13:24:16 +00:00