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
53b30dff74
Update
...
svn: r5609
2005-12-21 23:32:27 +00:00
Alex Roitman
73c8bdd045
privacy flag and comment to the privacy flag and note of the new
...
EventRef for old witness_by_ID references.
svn: r5608
2005-12-21 20:15:45 +00:00
Alex Roitman
611cdd48da
Update
...
svn: r5607
2005-12-21 20:08:07 +00:00
Alex Roitman
77a45226c0
* src/EventEdit.py: Use more descriptive menu label.
...
* src/GrampsDb/_GrampsBSDDB.py (gramps_upgrade_9): Convert witness
comment to the EventRef note for old witness_by_ID references.
svn: r5606
2005-12-21 20:06:30 +00:00
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
793b6ba8b5
Update
...
svn: r5594
2005-12-20 22:52:54 +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
dacc33610d
Update
...
svn: r5591
2005-12-20 06:10:36 +00:00
Alex Roitman
9895a58b1a
Update
...
svn: r5590
2005-12-20 05:53:01 +00:00
Alex Roitman
4ed4d6b1ac
Update
...
svn: r5588
2005-12-20 03:45:05 +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
Alex Roitman
1ead842628
Update
...
svn: r5579
2005-12-18 01:34:13 +00:00
Alex Roitman
82c1553035
Update
...
svn: r5578
2005-12-18 01:29:54 +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
Alex Roitman
d35b4ea7b0
Update
...
svn: r5573
2005-12-17 21:26:01 +00:00
Richard Taylor
d6b21a628f
fixed tiny typo
...
svn: r5572
2005-12-17 21:19:41 +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
1a42ccf0fd
work around for difference cursor.set behaviour
...
svn: r5569
2005-12-17 12:44:06 +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
Alex Roitman
b68e6099ba
Update
...
svn: r5561
2005-12-16 00:49:54 +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