Alex Roitman
199c7ba22c
Update
...
svn: r5607
2005-12-21 20:08:07 +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
d231cc81ab
Update
...
svn: r5594
2005-12-20 22:52:54 +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
53d7bd0930
Update
...
svn: r5591
2005-12-20 06:10:36 +00:00
Alex Roitman
91612edf93
Update
...
svn: r5590
2005-12-20 05:53:01 +00:00
Alex Roitman
f65c94418e
Update
...
svn: r5588
2005-12-20 03:45:05 +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
Alex Roitman
854ca0ac67
Update
...
svn: r5579
2005-12-18 01:34:13 +00:00
Alex Roitman
5975d9cf4e
Update
...
svn: r5578
2005-12-18 01:29:54 +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
Alex Roitman
2990b9c72c
Update
...
svn: r5573
2005-12-17 21:26:01 +00:00
Richard Taylor
e89b8cda46
fixed tiny typo
...
svn: r5572
2005-12-17 21:19:41 +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
9c1db9ff45
work around for difference cursor.set behaviour
...
svn: r5569
2005-12-17 12:44:06 +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
Alex Roitman
7338eb715d
Update
...
svn: r5561
2005-12-16 00:49:54 +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
Jérôme Rapinat
f30ec19723
update French translation
...
svn: r5519
2005-12-09 11:44:56 +00:00
Don Allingham
323c9f244c
update
...
svn: r5505
2005-12-08 04:27:53 +00:00
Don Allingham
34e66709b8
* src/FamilyView.py: Fixed FamilyView layout
...
svn: r5492
2005-12-07 05:09:01 +00:00
Don Allingham
3dd92a48fe
fixed merge
...
svn: r5489
2005-12-06 21:09:00 +00:00
Don Allingham
c7e21a9faf
fix typo
...
svn: r5487
2005-12-06 20:45:41 +00:00
Alex Roitman
812800e11d
Update
...
svn: r5486
2005-12-06 20:43:23 +00:00
Alex Roitman
ce9b42953a
Update
...
svn: r5485
2005-12-06 20:09:47 +00:00
Alex Roitman
53a2368235
Update
...
svn: r5484
2005-12-06 19:54:16 +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
545f4fd478
update
...
svn: r5481
2005-12-06 04:41:32 +00:00
Don Allingham
38bdac4eea
more ui additions
...
svn: r5477
2005-12-05 22:54:59 +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
38e189191f
catch some more exceptions
...
svn: r5201
2005-09-16 20:11:47 +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
0307d94b86
* 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
svn: r5197
2005-09-16 13:18:52 +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
Alex Roitman
2c9b66e135
Update
...
svn: r5069
2005-08-12 19:00:43 +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
9d9f08129d
Update
...
svn: r5062
2005-08-12 16:30:19 +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