Richard Taylor
9b7a711d99
converted Assistant to gobject and added signals
...
svn: r5681
2006-01-06 17:40:54 +00:00
Richard Taylor
ea97dcd015
integration of logging framework
...
svn: r5680
2006-01-06 15:23:28 +00:00
Richard Taylor
d62d7ae447
added unittest for
...
ErrorReportAssistant
svn: r5679
2006-01-06 12:17:32 +00:00
Don Allingham
a8f2942ff1
* src/GrampsGconfKeys.py: family view detail options
...
* src/GrampsIniKeys.py: family view detail options
* src/Navigation.py: fix overflow bug
* src/PageView.py: toggle initial value
fix gender mouseover, inclusion options
* src/data/gramps.schemas: new keys for family view detail
svn: r5678
2006-01-06 05:08:51 +00:00
Don Allingham
2db481e691
* src/FamiyView.py: use gender markers, remove Family/Parents,
...
fix gender mouseover
svn: r5677
2006-01-05 23:23:55 +00:00
Don Allingham
a5a50fc7f5
* src/FamiyView.py: use gender markers
...
svn: r5676
2006-01-05 23:00:59 +00:00
Richard Taylor
cfb8cc47a4
enabled rotate_handler output.
...
svn: r5674
2006-01-05 19:07:27 +00:00
Richard Taylor
ce52de5804
added initial logging framwork.
...
svn: r5673
2006-01-05 16:02:27 +00:00
Don Allingham
8eece3d712
* src/FamilyView.py: Incorporate Steve Hall's identing ideas, general classes
...
* src/ViewManager.py: Open/OpenRecent MenuToolButton goodness :-), default icon
svn: r5671
2006-01-05 05:12:48 +00:00
Don Allingham
4b545e8ad2
* src/DisplayView.py: Open/OpenRecent MenuToolButton goodness :-)
...
* src/ViewManager.py: Open/OpenRecent MenuToolButton goodness :-)
svn: r5670
2006-01-04 21:06:28 +00:00
Don Allingham
744776903e
* src/FamlyView.py: enable menu buttons, siblings
...
* src/PageView.py: move home function into this class
* src/PersonView.py: move home function out of this class
svn: r5669
2006-01-04 18:56:06 +00:00
Martin Hawlisch
fe1d99928a
* src/FamilyView.py: Handle active person == None
...
svn: r5668
2006-01-04 18:00:02 +00:00
Don Allingham
b9f7fadea9
* src/FamilyView.py: fix place == None problem
...
svn: r5666
2006-01-04 16:42:39 +00:00
Don Allingham
e3f27ec68c
* src/FamilyView.py: provide hyper links
...
svn: r5664
2006-01-04 05:39:39 +00:00
Alex Roitman
ab4ce85db0
* src/DisplayState.py (push): Typo.
...
svn: r5662
2006-01-03 23:51:20 +00:00
Don Allingham
27d0144765
* src/FamilyView.py: new format
...
svn: r5658
2006-01-03 22:07:34 +00:00
Martin Hawlisch
e739d24062
* src/PedView.py: Dont use a black border for living people
...
svn: r5655
2006-01-02 22:11:19 +00:00
Martin Hawlisch
cfd706ee2e
* src/ViewManager.py (post_load): Request interface rebuild after upgrading the database
...
svn: r5654
2006-01-02 16:00:05 +00:00
Martin Hawlisch
d359e95901
* src/PedView.py: Show marriage data; optimized cell debugging
...
svn: r5653
2006-01-02 15:22:34 +00:00
Eero Tamminen
210cfa87b1
manpage fix
...
svn: r5652
2006-01-01 15:15:30 +00:00
Martin Hawlisch
99ea089639
* src/PedView.py: Some pixel shifting; Tooltips for child relations; Sibling with childs bold
...
svn: r5648
2005-12-30 21:05:47 +00:00
Martin Hawlisch
2a4f2cda98
* src/plugins/TestcaseGenerator.py: Use new RelLib API
...
* src/GrampsDb/_GrampsBSDDB.py (_update_reference_map): Dont crash if no_longer_required_references dont exist in the database
svn: r5647
2005-12-30 15:56:21 +00:00
Martin Hawlisch
e91d774f2a
* src/PedView.py: Use ReportUtils to generate text; highlight selected person; enable Tooltips; Optionally show peoples images
...
svn: r5646
2005-12-30 14:12:24 +00:00
Martin Hawlisch
a0c8752fb0
* src/ReportUtils.py: Use new RelLib API
...
svn: r5645
2005-12-30 14:04:19 +00:00
Don Allingham
85fbf617d1
* src/GrampsLocale.py: handle platform specific locale issues
...
* src/DateDisplay.py: use GrampsLocale
* src/DateParser.py: use GrampsLocale
* src/DisplayModels.py: use GrampsLocale
* src/Exporter.py: start conversion to Assistant
* src/RecentFiles.py: fcntl option for broken platforms
* src/StartupDialog.py: convert to Assistant
* src/ViewManager.py: remove debug statement
* src/RelLib/_PrimaryObject.py: use GrampsLocale
* src/plugins/Checkpoint.py: use GrampsLocale
* src/plugins/NavWebPage.py: use GrampsLocale
svn: r5644
2005-12-30 03:57:31 +00:00
Martin Hawlisch
1abaa98a40
* src/PedView.py: Use a DrawingArea for nicer person boxes
...
* src/GrampsDb/_GrampsDbBase.py (_update_reference_map): Sync parameters to other classes
* src/GrampsDb/_ReadXML.py (stop_event): Catch invalid event
svn: r5643
2005-12-29 22:34:18 +00:00
Don Allingham
af21245530
* src/gramps_main.py: move gnome program init to gramps.py
...
* src/gramps.py: add gnome program init
* src/StartupDialog.py: use Assistant instead of gnome.ui.druid
svn: r5642
2005-12-29 20:33:19 +00:00
Don Allingham
f9b6f79093
* src/Assistant.py: added
...
svn: r5641
2005-12-29 19:52:12 +00:00
Don Allingham
b0807932ad
* src/ArgHandler.py: remove DbPrompter dependency
...
* src/GrampsGconfKeys.py: Support for saving window size
* src/GrampsIniKeys.py: Support for saving window size
* src/GrampsKeys.py: more gracefully handling missing gconf
* src/Makefile.am: Fixed moved files
* src/Report.py: clean up
* src/ScratchPad.py: use GrampsDisplay instead of gnome.help_display
* src/StartupDialog.py: clean up
* src/ViewManager.py: save window size
* src/gramps_main.py: don't require gnome
* src/data/gramps.schemas: keys for saving window size
svn: r5640
2005-12-29 18:36:59 +00:00
Martin Hawlisch
957f6d9b0f
* src/PedView.py: Added alternate version of the tree; Tree is now centered;
...
svn: r5639
2005-12-29 18:23:45 +00:00
Martin Hawlisch
49817c40dc
* src/PedView.py: Add new submenu showing people that share the same event. This for example lists witnesses.
...
svn: r5638
2005-12-29 18:09:06 +00:00
Don Allingham
44df525bb6
* src/Makefile.am: add PythonMime and GnomeMime
...
svn: r5637
2005-12-28 23:00:33 +00:00
Don Allingham
34435d8711
* src/GnomeMime.py: GNOME based mime handling
...
* src/PythonMime.py: Python based mime handling
* src/AddMedia.py: gnome code isolation
* src/DisplayState.py: gnome code isolation
* src/EditPerson.py: gnome code isolation
* src/EditRepository.py: gnome code isolation
* src/GnomeMime.py: gnome code isolation
* src/GrampsDisplay.py: gnome code isolation
* src/GrampsMime.py: gnome code isolation
* src/ImageSelect.py: gnome code isolation
* src/ImgManip.py: gnome code isolation
* src/PluginMgr.py: toolbar/menu support
* src/Plugins.py: toolbar/menu support
* src/RepositoryRefEdit.py: gnome code isolation
* src/SelectObject.py: gnome code isolation
* src/Utils.py: gnome code isolation
* src/ViewManager.py: toolbar/menu support, gnome code isolation
* src/GrampsDb/_GrampsBSDDB.py: unified messaging
* src/GrampsDb/_ReadGedcom.py: unified messaging
* src/plugins/WriteFtree.py: gnome code isolation
svn: r5636
2005-12-28 22:58:26 +00:00
Don Allingham
8189db333e
* src/Bookmarks.py: remove debugging statements
...
* src/DisplayState.py: remove extra rebuild request
* src/Plugins.py: start support of Report menu
* src/ViewManager.py: tie in report support
svn: r5634
2005-12-26 05:11:37 +00:00
Alex Roitman
876730d889
* src/EditPlace.py: Change arguments, use correct track.
...
* src/PlaceView.py: Call EditPlace with new arguments.
* src/Sources.py: Minor.
svn: r5633
2005-12-26 04:52:21 +00:00
Don Allingham
fbdfb92449
* src/Bookmarks.py: get bookmark menu working
...
* src/EditPlace.py: menu tracking
svn: r5632
2005-12-25 04:01:47 +00:00
Don Allingham
8cb5f9673e
* src/DisplayState.py: recent file support
...
* src/ViewManager.py: recent file support
* src/DisplayState.py: recent file support
* src/EditPerson.py: Window management
* src/EditSource.py: Window management
* src/EventEdit.py: Window management
* src/ListBox.py: Window management
* src/Sources.py: Window management
* src/UrlEdit.py: Window management
* src/ViewManager.py: Window management
svn: r5631
2005-12-24 19:18:18 +00:00
Don Allingham
b7040cb2e3
* DisplayState.py: recent file support
...
* EditPerson.py: Window management
* EditSource.py: Window management
* EventEdit.py: Window management
* ListBox.py: Window management
* Sources.py: Window management
* UrlEdit.py: Window management
* ViewManager.py: Window management
svn: r5629
2005-12-24 00:09:04 +00:00
Alex Roitman
822c770f7e
* doc/grampsxml.dtd: Describe new XML.
...
* doc/grampsxml.rng: Describe new XML.
svn: r5627
2005-12-23 21:32:55 +00:00
Alex Roitman
0d7edcd59e
* src/DisplayState.py: Simplify ID generation for UIManager.
...
* src/EditPerson.py: Use id(self) instead of self.
* src/EditPlace.py: Use id(self) instead of self.
* src/EditSource.py: Use id(self) instead of self.
* src/EventEdit.py: Use id(self) instead of self.
svn: r5625
2005-12-23 20:09:02 +00:00
Alex Roitman
8aa4a8abde
* src/EditPerson.py: Swap menu/submenu labels.
...
* src/EventEdit.py: Menu label fixes.
svn: r5624
2005-12-23 19:36:53 +00:00
Don Allingham
04d0822569
* src/AddrEdit.py: More window management
...
* src/AttrEdit.py: More window management
* src/DisplayState.py: added push_message
* src/EditPerson.py: More window management
* src/ListBox.py: More window management
* src/NameEdit.py: More window management
* src/Navigation.py: More window management
* src/PeopleModel.py: More window management
* src/PersonView.py: More window management
* src/ViewManager.py: better handling of ui and action groups
svn: r5623
2005-12-23 05:35:32 +00:00
Alex Roitman
c30167137c
* src/ToolTips.py (PersonTip.get_tip): Use new birth_ref interface.
...
svn: r5622
2005-12-23 02:04:54 +00:00
Alex Roitman
79a520b949
* src/MediaView.py: Skip empty selections.
...
svn: r5621
2005-12-23 02:00:35 +00:00
Alex Roitman
6fafacf793
* test/RunAllTests.py: Change header.
...
* src/EventEdit.py: Fix build_ methods.
* src/DisplayState.py: window management improvements
svn: r5620
2005-12-23 00:40:35 +00:00
Don Allingham
848c95b7e4
* src/EditPerson.py: window management improvements
...
* src/EditPlace.py: window management improvements
* src/EditSource.py: window management improvements
* src/EventEdit.py: window management improvements
* src/EventView.py: window management improvements
* src/ListBox.py: window management improvements
* src/NameEdit.py: window management improvements
* src/SourceView.py: window management improvements
* src/Sources.py: window management improvements
svn: r5618
2005-12-22 23:43:32 +00:00
Richard Taylor
4d36b334bc
* src/ImageSelect.py: changed display_refs to use find_backlink_handles and updated
...
GlobalMediaProperties to use new UI model.
* src/MediaView.py: changed call to GlobalMediaProperties to use new UI params.
* src/Utils.py: added support for Gtk.labels to bold/unbold/temp label util funcs.
svn: r5617
2005-12-22 13:35:37 +00:00
Richard Taylor
b2b6cb0ad5
* src/EditPlace.py: changed display_references to use find_backlink_handles
...
* src/EditRepository.py: modified to use find_backlink_handles and fixed subtle bug
* src/RelLib/_Source.py: added reporef_list to referent object lists so that backref
are put in reference_map
* test/GrampsDb/GrampsDbBase_Test.py: added unittest for source/reference backlinks
* test/GrampsDb/GrampsDbTestBase.py: added unittest for source/reference backlinks
svn: r5616
2005-12-22 12:02:06 +00:00
Don Allingham
55f22b5550
* src/Bookmark.py: start of reimplementation
...
* src/PersonView.py: commit fixes
svn: r5615
2005-12-22 06:13:11 +00:00
Alex Roitman
d84bbc9282
* src/DisplayState.py: Work out parent_window, correct close method.
...
* src/EventEdit.py: Use parent_window; get rid of parent; remove
unused code.
svn: r5614
2005-12-22 06:08:33 +00:00
Don Allingham
7d65ff02a1
* src/GrampsDb/_GrampsBSDDB.py: refactor remove and id function
...
svn: r5613
2005-12-22 05:40:27 +00:00
Alex Roitman
08b31d3e09
* src/GrampsDb/_GrampsBSDDB.py (close): close reference_map tables.
...
* src/ViewManager.py (quit): Add function to properly quit.
svn: r5612
2005-12-22 04:36:26 +00:00
Alex Roitman
9c5a61cef9
Update
...
svn: r5611
2005-12-21 23:39:06 +00:00
Alex Roitman
a35019474d
* src/GrampsDb/Makefile.am, .cvsignore: Add to CVS.
...
* configure.in: Create Makefile in new directory.
svn: r5610
2005-12-21 23:37:50 +00:00
Alex Roitman
73c8bdd045
privacy flag and comment to the privacy flag and note of the new
...
EventRef for old witness_by_ID references.
svn: r5608
2005-12-21 20:15:45 +00:00
Alex Roitman
77a45226c0
* src/EventEdit.py: Use more descriptive menu label.
...
* src/GrampsDb/_GrampsBSDDB.py (gramps_upgrade_9): Convert witness
comment to the EventRef note for old witness_by_ID references.
svn: r5606
2005-12-21 20:06:30 +00:00
Alex Roitman
6efeca22e7
* src/DisplayState.py: Factor out recursive action function.
...
* src/EditPerson.py: Use person handle to identify the window.
* src/EventEdit.py: Use more descriptive menu label.
svn: r5605
2005-12-21 19:48:18 +00:00
Don Allingham
379107f849
* src/DisplayState.py: remove print statements
...
* src/ViewManger.py: Fix const.app_*
svn: r5604
2005-12-21 18:59:51 +00:00
Alex Roitman
9258121699
* src/DisplayState.py (remove_item): Add code to adjust other
...
item's tracks after deleting an item; (move_item_down):
Recursively walk the items under a given item and lower the track
entry.
svn: r5603
2005-12-21 18:24:38 +00:00
Richard Taylor
97cbb53f91
src/EditSource.py: fixed small mistake in display_references
...
svn: r5601
2005-12-21 16:57:11 +00:00
Richard Taylor
939da0c152
src/EditSource.py: changed display_references to use find_backlink_handles
...
svn: r5600
2005-12-21 15:45:30 +00:00
Richard Taylor
9f31ce3a55
src/EditRepository.py: hack to work with current state of Address
...
svn: r5599
2005-12-21 12:16:54 +00:00
Richard Taylor
9eb1f99b86
move database code into new package
...
svn: r5598
2005-12-21 11:27:05 +00:00
Richard Taylor
d850b72fcf
added import for Note class
...
svn: r5597
2005-12-21 07:35:13 +00:00
Alex Roitman
0b5040e07e
* src/DisplayState.py (ManagedWindow.close): Add default argument.
...
svn: r5596
2005-12-21 07:07:12 +00:00
Alex Roitman
4c26af4eea
* src/GrampsBSDDB.py (gramps_upgrade_9): Upgrade witness list in
...
the old Event object.
* src/RelLib/_Event.py: Remove external witnesses altogether.
* src/RelLib/_Witness.py: Make even emptier (needed for upgrade only).
* src/RelLib/__init__.py: Expose Witness (needed for upgrade only).
svn: r5595
2005-12-21 00:08:47 +00:00
Alex Roitman
0899df3342
* src/RelLib/__init__.py: More breaking up in RelLib;
...
* src/RelLib/Makefile.am: Ship new files;
* src/RelLib/ various files: add more files.
svn: r5593
2005-12-20 20:48:18 +00:00
Richard Taylor
1a102afbd1
removed get_backlink_handles from RelLib
...
svn: r5592
2005-12-20 14:31:01 +00:00
Alex Roitman
849e569d45
* src/RelLib.py: Remove file (replaced by the package dir).
...
* src/RelLib: Add directory.
* src/RelLib/__init__.py, src/RelLib/_helper.py,
src/RelLib/_secondary.py, src/RelLib/Researcher.py,
src/RelLib/GenderStats.py, src/RelLib/Person.py,
src/RelLib/Family.py, src/RelLib/Event.py, src/RelLib/Place.py,
src/RelLib/Source.py, src/RelLib/MediaObject.py,
src/RelLib/Repository.py, src/RelLib/Makefile.am,
src/RelLib/.cvsignore: Add to CVS.
* src/configure.in: Create Makefile in src/RelLib.
svn: r5587
2005-12-20 02:38:07 +00:00
Don Allingham
835647d309
* src/ReadXML.py: handle _NAME_TRANS keyerror exception
...
svn: r5586
2005-12-20 00:01:09 +00:00
Alex Roitman
33e58d3e2b
* src/RelLib.py: Add privacy flag to all objects via making
...
PrimaryObject inherit from PrivacyBase; Add AddressBase and
UrlBase classes to manage Address and Url lists in other objects;
Add tuple type to the Url class; make Repository inherit from
AddressBase and UrlBase to be able to store lists of both.
* src/GrampsBSDDB.py (gramps_upgrade_9): Provide upgrade for the
changes in RelLib.
svn: r5585
2005-12-19 23:18:03 +00:00
Alex Roitman
83dc1752c7
* src/GrampsBSDDB.py (gramps_upgrade_9): Convert all Name and
...
Attribute objects to use tuple types.
* src/RelLib.py (Name.set_type): Typo in the wrapper code.
svn: r5584
2005-12-19 16:22:33 +00:00
Richard Taylor
bd1b437256
* src/RelLib.py: added get_backlink_handles method to PrimaryObject
...
* test/GrampsDbBase_Test.py: factored out common db test methods
* test/GrampsDbTestBase.py: new base class for unittests that
need to create database records
* test/RelLib_Test.py: unittest for the
* get_backlink_handles method
svn: r5583
2005-12-19 13:45:05 +00:00
Alex Roitman
05a4cf032a
* src/GrampsBSDDB.py (gramps_upgrade_9): Switch to using keys in
...
upgrade. When using DB cusrsor, modifying the record sometimes
confuses the cursor operation. Possibly this only happens if
secondary indexes are involved.
svn: r5581
2005-12-18 03:30:13 +00:00
Don Allingham
a4e6bd186f
* src/GrampsBSDDB.py: associate functions return str instead
...
of unicode
svn: r5577
2005-12-18 01:28:35 +00:00
Richard Taylor
56d3c6658c
tests and fixes for reference_map.
...
svn: r5576
2005-12-17 22:16:03 +00:00
Richard Taylor
9f891c2913
moved to using in keys rather than class names in the referece_map table
...
svn: r5575
2005-12-17 22:02:48 +00:00
Richard Taylor
fff5c3e595
* src/GrampsDbBase.py: fixed UNDO buffer issue
...
* test/GrampsDbBase_Test.py: improved performance test
* test/RunAllTests.py: added -p cmdline flag
svn: r5571
2005-12-17 21:13:45 +00:00
Richard Taylor
e102387e98
fix for cursor set
...
svn: r5570
2005-12-17 20:13:23 +00:00
Richard Taylor
e68a559e74
added a crude performance test.
...
svn: r5564
2005-12-16 16:31:38 +00:00
Richard Taylor
7dfe9ebe05
further work to complete the reference_map implementation.
...
svn: r5563
2005-12-16 11:59:13 +00:00
Alex Roitman
3a323a757a
* src/RelLib.py (RepoRef): Typos.
...
* src/Utils.py: Typos.
svn: r5562
2005-12-16 06:03:15 +00:00
Don Allingham
67ad476ed9
* src/ViewManger.py: progress bar added back in
...
* src/ReadXML.py: handle markers
svn: r5560
2005-12-15 23:48:06 +00:00
Don Allingham
cb89ccf8f7
* src/DisplayState.py: Window management completed
...
svn: r5559
2005-12-15 21:50:14 +00:00
Alex Roitman
04e8f39991
* src/GrampsBSDDB.py: go back to a single load function;
...
finish gramps_upgrade_9.
* src/ViewManager: Go back to the old way of load/upgrade.
svn: r5558
2005-12-15 21:26:55 +00:00
Alex Roitman
9a6ddb1b73
Update
...
svn: r5557
2005-12-15 21:21:19 +00:00
Richard Taylor
705a0c2a77
added delete support for the reference_map
...
svn: r5556
2005-12-15 17:48:48 +00:00
Richard Taylor
bbd223633a
reference_map implementation.
...
svn: r5555
2005-12-15 17:32:10 +00:00
Richard Taylor
bfc33b5983
sequencial scan implementation of get_backlink_handles
...
svn: r5554
2005-12-15 12:03:24 +00:00
Alex Roitman
a595fad677
* src/GrampsBSDDB.py: Rename upgrade to avoid collision; add DB
...
upgrade routine; require DB to be at least version 5 (gramps
2.0.0); separate primary and secondary load (may need to reverse
later).
* src/GrampsDbBase.py: Rename upgrade to avoid collission.
* src/RelLib.py (Witness.py): Add empty class to enable upgrades
from the earlier DB versions.
* src/ViewManager.py: move upgrade into the DB class (may need to
reverse later).
svn: r5553
2005-12-15 06:19:37 +00:00
Don Allingham
17def2e4b6
* src/DisplayState.py: start of Windows menu
...
* src/ReadGedcom.py: sync database with transaction
* src/ViewManager.py: WinMenu support
svn: r5551
2005-12-15 04:45:20 +00:00
Martin Hawlisch
80fb555300
* src/gramps.glade: Fix Tip of the day
...
svn: r5548
2005-12-14 10:53:33 +00:00
Alex Roitman
fbb843eafa
* src/EditPerson.py: Call child editors with new arguments.
...
* src/EventEdit.py: Use new window management.
* src/ListBox.py: Use new arguments.
* src/PersonView.py: Add track argument to EditPerson.
svn: r5547
2005-12-14 06:54:02 +00:00
Alex Roitman
070e1f07b8
* src/DisplayState.py: Correct and add comments.
...
svn: r5546
2005-12-14 04:06:42 +00:00
Don Allingham
dcbe6c9326
* src/EditPerson.py: fix after merge
...
* src/GrampsDbBase.py: fix after merge
* src/edit_person.glade: fix after merge
svn: r5545
2005-12-14 01:23:23 +00:00
Alex Roitman
b08882b5b2
* various: merge changes made in gramps20 up until R2_0_9 tag.
...
svn: r5544
2005-12-13 02:07:16 +00:00
Richard Taylor
b00ab966eb
src/EditSource.py: Connected up add/del/edit buttons for Repos tab.
...
svn: r5543
2005-12-12 12:04:49 +00:00
Don Allingham
0a2ed36cd5
* src/FamilyView.py: Fixed FamilyView layout
...
svn: r5492
2005-12-07 05:09:01 +00:00
Alex Roitman
1feee85cc6
Update
...
svn: r5483
2005-12-06 06:44:26 +00:00
Alex Roitman
2f962b5f96
merge changes from gramps20
...
svn: r5482
2005-12-06 06:38:09 +00:00