Commit Graph

2947 Commits

Author SHA1 Message Date
Alex Roitman
0dc0a0b828 2006-05-12 Alex Roitman <shura@gramps-project.org>
* src/GrampsCfg.py (add_color): Update text label after color change.



svn: r6638
2006-05-13 04:30:47 +00:00
Don Allingham
ea6e81ccd6 * src/ViewManager.py: move ScratchPad to Edit
* src/DataViews/_PersonView.py: set up new filter fields, remove
	source field


svn: r6637
2006-05-13 04:25:45 +00:00
Don Allingham
1400f9a7bc * src/GrampsCfg.py: fix color dialog buttons
* src/Filters/Rules/Person/_HasEvent.py: handle EventType


svn: r6635
2006-05-13 03:53:06 +00:00
Don Allingham
4d3e94f5f0 2006-05-12 Don Allingham <don@gramps-project.org>
* src/DataViews/_PersonView.py: set up new filter fields
	* src/Filters/Rules/Person/_RegExpIdOf.py: added
	* src/Filters/Rules/Person/__init__.py: added new files
	* src/Filters/Rules/Person/_HasNoteMatchingSubstringOf.py
	* src/Filters/Rules/Person/_HasBirth.py: use loose_data_cmp
	* src/Filters/Rules/Person/_SearchName.py: search all fields
	* src/Filters/Rules/Person/_HasDeath.py: use loose_data_cmp
	* src/Filters/Rules/Person/_RegExpName.py: added
	* src/Filters/Rules/Person/_MatchIdOf.py: added
	* src/Filters/Rules/Person/_HasNoteRegexp.py: added
	* src/Filters/Rules/Person/Makefile.am: added new files
	* src/Filters/Rules/_RuleUtils.py: added loose_date_cmp

2006-04-26  Martin Hawlisch  <Martin.Hawlisch@gmx.de>


svn: r6634
2006-05-12 22:38:48 +00:00
Martin Hawlisch
e71a4bdf85 * data/gramps.schemas.in: Swap colors for ToDo and complete. Using green is more obvious for complete records.
svn: r6633
2006-05-12 19:48:45 +00:00
Don Allingham
4ef21b33f8 * src/GrampsCfg.py: update for selectable colors, default colors
* data/gramps.schemas.in: update for selectable colors, default colors


svn: r6631
2006-05-12 18:49:12 +00:00
Alex Roitman
cf1a9d194a In .:
2006-05-12  Alex Roitman  <shura@gramps-project.org>
	* src/UndoHistory.py (gtk_color_to_str): Better color to str.
	* src/QuestionDialog.py (QuestionDialog2.__init__): Use the
	underline for labels.
	* src/plugins/ChangeNames.py: Fix WM.
	* src/plugins/PatchNames.py: Fix WM.

In po:
	* gramps.pot: Update.


svn: r6630
2006-05-12 18:46:26 +00:00
Don Allingham
556eb3aa75 * src/GrampsCfg.py: update for selectable colors
* src/PeopleModel.py: update for selectable colors
	* data/gramps.schemas.in: update for selectable colors


svn: r6629
2006-05-12 18:20:18 +00:00
Don Allingham
683a291155 fix xml parsing path
svn: r6628
2006-05-12 17:20:19 +00:00
Don Allingham
10f2d4adb5 fix MonitoredDataType initialization
svn: r6627
2006-05-12 16:30:38 +00:00
Alex Roitman
cff4e1397d * src/Filters/Makefile.am (pkgdata_PYTHON): Add new files.
* po/POTFILES.in: Add missing files.

svn: r6626
2006-05-12 15:05:47 +00:00
Don Allingham
1b50ed8e78 2006-05-11 Don Allingham <don@gramps-project.org>
* src/DataViews/_PersonView.py: add additional fields, and build
	filter
	* src/PeopleModel.py: handle both search and filters
	* src/Filters/_GenericFilter.py: import RelLib



svn: r6625
2006-05-12 04:51:44 +00:00
Alex Roitman
4ba6ec794f (UndoHistory._selection_changed): Enable/disable buttons.
svn: r6624
2006-05-12 01:01:10 +00:00
Alex Roitman
03f4ed0409 2006-05-11 Alex Roitman <shura@gramps-project.org>
* src/UndoHistory.py (gtk_color_to_str): Correct byte color.



svn: r6623
2006-05-12 00:54:17 +00:00
Don Allingham
46068b01c1 fix marker type, search bar tuple problem
svn: r6622
2006-05-11 23:05:12 +00:00
Alex Roitman
e70020113b * src/UndoHistory.py: Paint all rows in a selected block; Require
exploicit button click on any action.


svn: r6621
2006-05-11 21:04:46 +00:00
Alex Roitman
4cf63c59ff (PeopleModel.column_marker_color): properly access marker value.
svn: r6620
2006-05-11 19:23:50 +00:00
Alex Roitman
340c97d388 2006-05-11 Alex Roitman <shura@gramps-project.org>
* src/PeopleModel.py (_MARKER_COL): Correct column numbers.



svn: r6619
2006-05-11 18:51:35 +00:00
Alex Roitman
e7971c78d4 * src/GrampsDb/_ReadXML.py (GrampsParser): Use UpdateCallback.
* src/GrampsDb/_ReadGedcom.py (GedcomParser): Use UpdateCallback.
	(get_total): Add function, remove unneeded class.
	(UpdateCallback.update_real): Allow optional argument; 
	(UpdateCallback.set_total): Add method.


svn: r6618
2006-05-11 06:16:45 +00:00
Alex Roitman
ae59d17a60 In .:
* src/GrampsDb/_DbUtils.py (db_copy): Use UpdateCallback class.
	* src/BasicUtils.py: Add module.
	* src/Makefile.am (gdir_PYTHON): Add new file.
In po:
2006-05-10  Alex Roitman  <shura@gramps-project.org>
	* POTFILES.in: Add new file.



svn: r6617
2006-05-11 05:11:47 +00:00
Alex Roitman
009b4b5cfa * src/DataViews/_MediaView.py (edit): Handle the exception.
svn: r6616
2006-05-11 00:33:17 +00:00
Alex Roitman
2062b130d6 * src/plugins/BookReport.py (__init__): Fix url.
svn: r6615
2006-05-11 00:18:48 +00:00
Alex Roitman
e5f4a26dd7 * src/plugins/ChangeTypes.py (run_tool): Disable/enable signals.
* src/plugins/ReorderIds.py (__init__): Disable/enable signals.
	* src/plugins/PatchNames.py (on_ok_clicked): Start transaction
	only if doing the changes; disable/enable signals.


svn: r6614
2006-05-11 00:06:43 +00:00
Alex Roitman
45b55a402c 2006-05-10 Alex Roitman <shura@gramps-project.org>
* src/plugins/SoundGen.py: Fix WM.



svn: r6613
2006-05-10 23:48:21 +00:00
Don Allingham
5956ba3640 change button order
svn: r6612
2006-05-10 21:26:59 +00:00
Don Allingham
374f689b8c inverted searches
svn: r6611
2006-05-10 20:56:22 +00:00
Alex Roitman
4f2b19a733 2006-05-10 Alex Roitman <shura@gramps-project.org>
* src/GrampsDb/_ReadGedcom.py (func_person_attr): Typos.



svn: r6610
2006-05-10 20:17:28 +00:00
Don Allingham
9b1f1800de fix search status bar message
svn: r6608
2006-05-10 17:34:54 +00:00
Don Allingham
e019db2e41 Search bar completion
svn: r6607
2006-05-10 16:08:56 +00:00
Alex Roitman
99db21d8fe * src/GrampsDb/_DbUtils.py (db_copy): Use batch transaction.
* src/GrampsDb/_GrampsBSDDB.py (transaction_begin): Proper indentation.


svn: r6606
2006-05-10 14:23:38 +00:00
Alex Roitman
cbd84af66b * src/GrampsDb/_GrampsBSDDB.py (load_from): Add method.
* src/GrampsDb/_GrampsXMLDB.py (load_from): Add method.
	* src/GrampsDb/_GrampsGEDDB.py (load_from): Add method.
	* src/GrampsDb/_GrampsDbBase.py (load_from): Add method.
	* src/GrampsDb/_WriteGrdb.py: Use db_copy.
	* src/GrampsDb/_DbUtils.py (db_copy): Add function.
	* src/ViewManager.py: Save as support.
	* src/DataViews/_MapView.py (enable_debug): Set to False to be
	able to see the output besides MapView.



svn: r6604
2006-05-10 05:52:55 +00:00
Don Allingham
545e9d044f * src/DataViews/_PersonView.py: search bar implementation
* src/PeopleModel.py: search bar implementation
	* src/PageView.py: search bar implementation
	* src/Filters/_SearchBar.py: search bar functionality
	* src/Filters/__init__.py: search bar functionality


svn: r6603
2006-05-10 04:02:45 +00:00
Don Allingham
b56b68278d 2006-05-09 Don Allingham <don@gramps-project.org>
* src/AddMedia.py: remember last directory for images for 
	the session



svn: r6602
2006-05-10 01:50:45 +00:00
Alex Roitman
6a517efce2 * src/plugins/FamilyGroup.py: Use triple quotes.
svn: r6601
2006-05-09 23:18:37 +00:00
Alex Roitman
e6eea70727 * src/Exporter.py (Exporter.native_export): Use callback.
* src/Utils.py (get_new_filename): Add path separator.
	* src/GrampsDb/_WriteGrdb.py: Proper export of tables with and
	without transaction support, add callback.


svn: r6600
2006-05-09 23:15:38 +00:00
Alex Roitman
710eb4cc13 * src/plugins/WriteCD.py: Correctly import XmlWriter.
svn: r6599
2006-05-09 22:00:07 +00:00
Alex Roitman
c50c23de4d * src/GrampsDb/_WriteXML.py (write_object): Check whether path is
empty before removing leading slash.


svn: r6598
2006-05-09 21:47:17 +00:00
Alex Roitman
82a5be28d6 * src/GrampsDb/_WriteGedcom.py: Bring to new API.
svn: r6597
2006-05-09 20:36:12 +00:00
Alex Roitman
cd6e3a59a6 * src/plugins/ExportVCard.py: Bring to new API.
* src/plugins/ExportVCalendar.py: Bring to new API.


svn: r6596
2006-05-09 19:54:23 +00:00
Alex Roitman
424c170b37 * src/plugins/WriteFtree.py: Bring to new API.
svn: r6595
2006-05-09 19:45:18 +00:00
Alex Roitman
dacf0cd0d5 2006-05-09 Alex Roitman <shura@gramps-project.org>
* src/Filters/_FilterMenu.py (build_filter_menu): Return the menu.
	* src/plugins/WriteGeneWeb.py: Bring to new API.



svn: r6594
2006-05-09 19:38:15 +00:00
Don Allingham
837f43b9e4 2006-05-09 Don Allingham <don@gramps-project.org>
* src/DataViews/_MapView.py: add tool tips to tool buttons
	* src/ViewManager.py: add tool tips to Open button



svn: r6593
2006-05-09 18:34:58 +00:00
Alex Roitman
6435be5852 2006-05-08 Alex Roitman <shura@gramps-project.org>
* src/GrampsDb/_GrampsDbBase.py (get_default_person): Use proper
	way of getting person from the handle.



svn: r6592
2006-05-09 04:33:21 +00:00
Don Allingham
9bc839681b 2006-05-08 Don Allingham <don@gramps-project.org>
* src/GrampsDb/_GrampsDbBase.py: get_default_handle()
	* src/DisplayState.py: use get_default_handle, fix race condition 



svn: r6591
2006-05-09 04:15:04 +00:00
Alex Roitman
f2a73acbea * src/GrampsDb/_GrampsBSDDB.py (load): Better non-TXN support.
* src/UndoHistory.py (__init__): Rename list to tree.



svn: r6589
2006-05-08 23:18:16 +00:00
Alex Roitman
bb10a41a60 Update
svn: r6588
2006-05-08 19:56:35 +00:00
Alex Roitman
5ea7f2bbb2 * src/DataViews/_PersonView.py (delete_person_response): Use child_ref.
svn: r6587
2006-05-08 19:08:03 +00:00
Alex Roitman
1063ff3d02 (GrampsInMemDB._del_*): Prpoper deletes.
svn: r6585
2006-05-08 18:54:56 +00:00
Alex Roitman
a19c4f2543 (GrampsInMemDB._del_family): Remove obsolete code.
svn: r6584
2006-05-08 18:47:42 +00:00
Alex Roitman
458ede1d8c * src/plugins/Leak.py: Typo.
* src/plugins/Eval.py: Convert to ManagedWindow.


svn: r6583
2006-05-08 18:21:11 +00:00
Alex Roitman
89d926bcd3 * src/GrampsDb/_GrampsBSDDB.py (gramps_upgrade_9): Add callname to
names during upgrade.


svn: r6582
2006-05-08 18:09:11 +00:00
Alex Roitman
82b45e0b2b * src/GrampsDb/_ReadXML.py (start_childref): Typo.
svn: r6580
2006-05-08 17:50:12 +00:00
Alex Roitman
50e7019db4 2006-05-08 Alex Roitman <shura@gramps-project.org>
* src/GrampsDb/_GrampsInMemDB.py (load): Define self.full_name
	prior to calling open_undodb().



svn: r6579
2006-05-08 17:47:22 +00:00
Don Allingham
b3a3019566 * configure.in: set for 2.1.1
* src/GrampsDb/_ReadXML.py: call name support
	* src/GrampsDb/_WriteXML.py: call name support


svn: r6576
2006-05-08 03:41:57 +00:00
Don Allingham
9212db19bc * src/DisplayState.py: include name and relationship on statusbar
svn: r6575
2006-05-08 01:42:30 +00:00
Don Allingham
b2af7f20dd * src/DataViews/_MediaView.py: tool tips
* src/DataViews/_RepositoryView.py: tool tips
	* src/DataViews/_SourceView.py: tool tips
	* src/DataViews/_EventView.py: tool tips
	* src/DataViews/_PedigreeView.py: tool tips
	* src/DataViews/_PlaceView.py: tool tips
	* src/DataViews/_PersonView.py: tool tips
	* src/ViewManager.py: tool tips
	* src/QuestionDialog.py: add info dialog
	* src/PageView.py: tool tips


svn: r6574
2006-05-08 01:15:19 +00:00
Don Allingham
426f451a0c 2006-05-07 Don Allingham <don@gramps-project.org>
* src/DataViews/_PersonView.py: rebuild tree on surname change,
	don't attempt to delete/insert, since this can cause things to
	hang.



svn: r6573
2006-05-07 21:54:56 +00:00
Alex Roitman
86cffe6504 2006-05-06 Alex Roitman <shura@gramps-project.org>
* src/GrampsDb/_GrampsBSDDB.py (load): Use common undodb
	methods; reset undo history.
	* src/GrampsDb/_GrampsInMemDB.py (load): Use common undodb
	methods; reset undo history.
	* src/GrampsDb/_GrampsXMLDB.py: Minor fix.
	* src/GrampsDb/_GrampsGEDDB.py: Minor fix.
	* src/GrampsDb/_GrampsDbBase.py: Undo history support.
	* src/UndoHistory.py: Fixes and additions.
	* src/ViewManager.py (post_load): Re-set undo/redo labels.



svn: r6569
2006-05-07 05:22:44 +00:00
Don Allingham
7c9539ca4c * src/PluginUtils/_ReportUtils.py: fix set_nick_name
* src/RelLib/_MediaRef.py: handle initialization of Ref object


svn: r6568
2006-05-07 04:24:23 +00:00
Don Allingham
3eab4b625d * src/DataViews/_PersonView.py: handle filter option correctly
svn: r6567
2006-05-07 03:50:24 +00:00
Don Allingham
89368ac926 2006-05-06 Don Allingham <don@gramps-project.org>
* src/DisplayTabs/_SourceEmbedList.py: fix icon
	* src/DisplayState.py: add relationship calculator option to statusbar



svn: r6566
2006-05-06 22:49:51 +00:00
Don Allingham
6ec79f12c7 2006-05-05 Don Allingham <don@gramps-project.org>
* src/DisplayTabs/_WebEmbedList.py: new icon



svn: r6564
2006-05-06 05:25:39 +00:00
Alex Roitman
bb39c0c19d * src/glade/gramps.glade: typo.
svn: r6563
2006-05-06 05:25:12 +00:00
Alex Roitman
d78ef15ade * src/Editors/_EditSourceRef.py (_create_tabbed_pages): Add data
and repository tabs.


svn: r6562
2006-05-06 05:20:19 +00:00
Don Allingham
0594736fe0 * src/DisplayTabs/_BackRefList.py: handle edit of events
* src/DisplayTabs/_NoteTab.py: stock_notes icon
	* src/DisplayTabs/_GrampsTab.py: handle named icons
	* src/glade/gramps.glade: hide date edit by default


svn: r6561
2006-05-06 05:12:33 +00:00
Alex Roitman
474df15920 2006-05-05 Alex Roitman <shura@gramps-project.org>
* src/GrampsDb/_GrampsDbBase.py (undo, redo): Add repository map
	to the tuple of tables.



svn: r6560
2006-05-06 04:48:30 +00:00
Don Allingham
8465a7f580 * src/DateEdit.py: ManagedWindow
* src/Editors/_EditAddress.py: new DateEdit interface
	* src/Editors/_EditLdsOrd.py: new DateEdit interface
	* src/Editors/_EditSourceRef.py: new DateEdit interface
	* src/Editors/_EditEventRef.py: new DateEdit interface
	* src/Editors/_EditMedia.py: new DateEdit interface
	* src/Editors/_EditName.py: new DateEdit interface
	* src/Editors/_EditEvent.py: new DateEdit interface
	* src/GrampsWidgets.py: new DateEdit interface


svn: r6559
2006-05-06 03:14:13 +00:00
Don Allingham
62dfbcee3b 2006-05-05 Don Allingham <don@gramps-project.org>
* src/Editors/_EditFamily.py: import ChildModel



svn: r6558
2006-05-06 02:35:47 +00:00
Alex Roitman
404cf87c93 In .:
2006-05-05  Alex Roitman  <shura@gramps-project.org>
	* src/UndoHistory.py: Add new file.
	* src/ViewManager.py: undo history support.
	* src/GrampsDb/_GrampsDbBase.py (Transaction.__init__): Add
	timestamp to the transaction.
	(GrampsDbBase.redo): Update undo history window.
	(GrampsDbBase.undo): Update undo history window.
	(GrampsDbBase.transaction_commit): Update undo history window.
	(GrampsDbBase.transaction_commit): Set transaction timestamp.
	(GrampsDbBase.__init__): Define undo_history_callback.
	* src/Makefile.am (gdir_PYTHON): Ship new file.

In po:
2006-05-05  Alex Roitman  <shura@gramps-project.org>
	* POTFILES.in: Add new file.



svn: r6557
2006-05-05 21:55:01 +00:00
Alex Roitman
43bc6b3e8c * src/GrampsDb/_GrampsBSDDB.py (gramps_upgrade_9): Add nickname
upgrade.


svn: r6556
2006-05-05 21:25:48 +00:00
Don Allingham
e6b7375948 nickname/call name changes
svn: r6555
2006-05-05 21:16:24 +00:00
Alex Roitman
4bc8483916 2006-05-05 Alex Roitman <shura@gramps-project.org>
* src/DisplayTabs/_MediaBackRefList.py: Import model.



svn: r6554
2006-05-05 17:47:52 +00:00
Don Allingham
6cead5c76b add undo history menu item
svn: r6553
2006-05-05 17:37:38 +00:00
Don Allingham
9447558f99 * src/glade/gramps.glade: add call name field, add id fields
* src/glade/edit_person.glade: add call name field
	* src/DataViews/_PersonView.py: start of filter sidebar,
	use hbox instead of hpaned
	* src/Editors/_EditPlace.py: add ID field
	* src/Editors/_EditSource.py: add ID field
	* src/Editors/_EditEventRef.py: add ID field
	* src/Editors/_EditEvent.py: add ID field


svn: r6551
2006-05-05 13:25:24 +00:00
Alex Roitman
84b2275799 In .:
* src/Makefile.am (gdir_PYTHON): Remove DisplayTabs.py.
	* src/plugins/Makefile.am (pkgdata_PYTHON): Ship rel_sk.py.

In po:
	Update.
	* gramps.pot: Update.


svn: r6549
2006-05-05 06:06:10 +00:00
Alex Roitman
f6c27f7552 * src/Filters/Rules/Makefile.am (pkgdata_PYTHON): Add mising files.
svn: r6547
2006-05-05 00:42:17 +00:00
Alex Roitman
4266dd4ec0 In .:
2006-05-04  Alex Roitman  <shura@gramps-project.org>
	* src/DisplayTabs.py: remove file.
	* src/DisplayTabs: Add package.

In po:
2006-05-04  Alex Roitman  <shura@gramps-project.org>
	* POTFILES.in: Add new files.



svn: r6546
2006-05-05 00:39:11 +00:00
Don Allingham
d8efc63cb8 2006-05-04 Don Allingham <don@gramps-project.org>
* src/DataViews/_PersonView.py: start of filter sidebar



svn: r6545
2006-05-04 23:48:53 +00:00
Alex Roitman
e5089fa799 (DataEmbedList): Hook up data map for sources.
svn: r6544
2006-05-04 20:45:07 +00:00
Alex Roitman
49b9de1063 2006-05-04 Alex Roitman <shura@gramps-project.org>
* src/SelectObject.py: Convert to managed window.
	* src/SelectEvent.py: Convert to managed window.
	* src/SelectSource.py: Convert to managed window.
	* src/DisplayTabs.py: Properly call selectors.



svn: r6543
2006-05-04 18:30:36 +00:00
Alex Roitman
9e8b7ad996 * src/DisplayTabs.py (NoteTab.build_interface): Add spacing to
radiobuttons.


svn: r6542
2006-05-04 04:53:55 +00:00
Alex Roitman
2fbe259fd5 2006-05-03 Alex Roitman <shura@gramps-project.org>
* src/plugins/ReorderIds.py (ReorderIds.reorder): Switch from
	cursors to keys iteration.



svn: r6541
2006-05-04 04:05:57 +00:00
Alex Roitman
4ea2ca6a28 * src/PluginUtils/_Tool.py (BatchTool): Add class taking care of
tools with batch transactions.
	(ActivePersonTool.pass): Remove method.
	* src/plugins/Check.py (Check): Derive from BatchTool.
	* src/plugins/ReorderIds.py (ReorderIds): Use batch transactions;
	derive from BatchTool.
	* src/plugins/ChangeTypes.py (ChangeTypes): Use batch
	transactions; derive from BatchTool. 
	* src/plugins/ChangeNames.py (ChangeNames): Derive from BatchTool.
	* src/plugins/PatchNames.py (PatchNames): Use batch transactions;
	derive from BatchTool.
	* src/glade/gramps.glade: Make both buttons' lables in
	questiondialog use underline property.
	(ViewManager.import_data): Add undo warning for imports.


svn: r6540
2006-05-04 02:05:50 +00:00
Don Allingham
23b7ec08d6 2006-05-03 Don Allingham <don@gramps-project.org>
* src/ViewManager.py: do a better job of building the buttons.



svn: r6539
2006-05-04 01:33:37 +00:00
Alex Roitman
896142ea23 (GrampsDbBase.transaction_begin): No aborting after batch transaction.
(GrampsBSDDB.transaction_begin): No aborting after batch transaction.


svn: r6537
2006-05-03 23:36:10 +00:00
Alex Roitman
a8b358725d * src/GrampsDb/_GrampsInMemDB.py (abort_changes): Remove method.
* src/GrampsDb/_GrampsDbBase.py (abort_changes): Remove method.
	* src/GrampsDb/_GrampsBSDDB.py (undo,redo): Use the status from
	GrampsDbBase undo/redo;
	(abort_changes): Remove method.
	* src/ViewManager.py (abort): Add method for abandoning changes.



svn: r6536
2006-05-03 23:21:49 +00:00
Alex Roitman
d7063762a6 2006-05-03 Alex Roitman <shura@gramps-project.org>
* configure.in: Set release to 0.SVN.
	* src/DataViews/_PersonView.py (define_actions): Change label.



svn: r6535
2006-05-03 22:43:28 +00:00
Don Allingham
cfcd1e4b62 sidebar-text option
svn: r6534
2006-05-03 22:21:59 +00:00
Don Allingham
15c3aee386 update RelView with db changes
svn: r6533
2006-05-03 18:33:31 +00:00
Don Allingham
3c29580307 Move ColumnEdit to local
svn: r6532
2006-05-03 17:39:06 +00:00
Alex Roitman
134a778b05 2006-05-03 Alex Roitman <shura@gramps-project.org>
* src/Editors/_EditPlace.py (_setup_fields): Typo.



svn: r6531
2006-05-03 16:59:22 +00:00
Alex Roitman
e5dffce271 * src/Filters/Rules/*: Add object-specific rules.
svn: r6529
2006-05-03 06:29:07 +00:00
Alex Roitman
2b5ee009d0 Update
svn: r6528
2006-05-03 06:25:50 +00:00
Alex Roitman
64768bb556 * src/GrampsWidgets.py (WarnButton): Replace event box with button.
svn: r6527
2006-05-03 03:03:41 +00:00
Alex Roitman
a20a57de81 * src/GrampsWidgets.py (IconButton): Replace event box with button.
svn: r6526
2006-05-03 02:33:29 +00:00
Alex Roitman
bec8625957 In .:
* configure.in: Generate new Makefiles.
In po:
2006-05-02  Alex Roitman  <shura@gramps-project.org>
	* POTFILES.in: Add new files.



svn: r6522
2006-05-03 01:05:46 +00:00
Alex Roitman
daedc4961b * src/GenericFilters.py: Remove.
* src/Filters: Move filtering to its own package.
	


svn: r6521
2006-05-03 01:02:54 +00:00
Don Allingham
34b9d39076 2006-05-02 Don Allingham <don@gramps-project.org>
* src/Config/_GrampsConfigKeys.py: add family-warn back in
	* data/gramps.schemas.in: add family-warn back in
	


svn: r6520
2006-05-02 19:13:05 +00:00
Alex Roitman
77f43f971e * src/RelLib/_BaseObject.py (PrivacyBase): Remove class, as it
already has its own module.


svn: r6519
2006-05-02 19:06:27 +00:00
Alex Roitman
3e4ec76b0a * src/AutoComp.py (StandardCustomSelector.fill): Adapt to new types.
svn: r6518
2006-05-02 17:32:54 +00:00
Alex Roitman
968b2dc4ba * src/GrampsDb/_GrampsBSDDB.py (gramps_upgrade_9): Add broken witness note.
svn: r6517
2006-05-02 15:19:25 +00:00
Alex Roitman
86762728be * src/DataViews/_PedigreeView.py (define_actions): Translate labels.
* src/DataViews/_SourceView.py (define_actions): Translate labels.
	* src/DataViews/_PlaceView.py (define_actions): Translate labels.
	* src/DataViews/_MediaView.py (define_actions): Translate labels.
	* src/DataViews/_RepositoryView.py (define_actions): Translate labels.
	* src/DataViews/_MapView.py (define_actions): Translate labels.
	* src/DataViews/_EventView.py (define_actions): Translate labels.
	* src/DataViews/_PersonView.py (define_actions) Translate labels.
	* src/PageView.py (BookMarkView.define_actions,
	PersonNavView.define_actions, ListView.define_actions): Translate
	labels.



svn: r6513
2006-05-02 05:50:46 +00:00
Alex Roitman
62d2e97e15 * src/plugins/rel_sk.py: Typo.
svn: r6512
2006-05-02 05:07:47 +00:00
Alex Roitman
0275896e11 * src/GrampsDb/_GrampsBSDDB.py (gramps_upgrade_9): Skip broken witness.
svn: r6511
2006-05-02 04:20:40 +00:00
Don Allingham
cacb294975 * src/DataViews/_PersonView.py: view specific key mapping support
* src/ViewManager.py: remember last View
	* src/Config/GrampsConfigKeys.py: LAST_VIEW key
	* src/PageView.py: key binding support
	* data/gramps.schemas.in: LAST_VIEW key


svn: r6510
2006-05-02 03:50:46 +00:00
Alex Roitman
3b3197d702 * src/GrampsDb/_GrampsDbBase.py (find_backlink_handles): Correctly
loop over all primary classes looking for a given handle.
	* src/RelLib/_Source.py (serialize, unserialize): properly save
	and restore marker.
	* src/RelLib/_MediaObject.py (serialize, unserialize): properly
	save and restore marker.
	* src/RelLib/_Place.py (serialize, unserialize): properly save and
	restore marker.
	* src/RelLib/_Repository.py (serialize, unserialize): properly
	save and restore marker.
	* src/RelLib/_Event.py (serialize, unserialize): properly save and
	restore marker.


svn: r6507
2006-05-01 23:08:09 +00:00
Don Allingham
41761b960d fix selectperson call
svn: r6506
2006-05-01 22:14:26 +00:00
Don Allingham
0ff454d71a expand/collapse all nodes in Person View
svn: r6505
2006-05-01 21:28:31 +00:00
Alex Roitman
f9942e1e10 In .:
2006-05-01  Alex Roitman  <shura@gramps-project.org>
	* various: merge changes from gramps20.

In po:
2006-05-01  Alex Roitman  <shura@gramps-project.org>
	* POTFILES.in: Add new file.



svn: r6504
2006-05-01 21:11:26 +00:00
Alex Roitman
45ebde94e6 2006-04-30 Alex Roitman <shura@gramps-project.org>
* src/plugins/Verify.py (Verify.run_tool): Typo.
	


svn: r6503
2006-05-01 05:55:14 +00:00
Don Allingham
097aef7956 2006-04-30 Don Allingham <don@gramps-project.org>
* src/DataViews.py/_PersonView.py: don't add handles of top level
	objects
	* src/GrampsWidgets.py: handle both types and tuples



svn: r6502
2006-04-30 23:26:38 +00:00
Brian Matherly
2945365fe8 * src/plugins/CountAncestors.py: Use positive numbers for generations to be consistent with the rest of GRAMPS
svn: r6501
2006-04-30 21:43:45 +00:00
Don Allingham
fd356770ce 2006-04-30 Don Allingham <don@gramps-project.org>
* src/RelLib/_Person.py: prevent duplicate entries in family lists



svn: r6500
2006-04-30 20:45:49 +00:00
Don Allingham
6d8c37f381 * src/Editors/_EditFamily.py: fix Select Person calls
* src/docgen/Makefile.am: add ODSDoc.py
	* po/POTFILES.in: add ODSDoc.py


svn: r6499
2006-04-30 04:17:54 +00:00
Don Allingham
cd3e17ba9f 2006-04-29 Don Allingham <don@gramps-project.org>
* src/NEWS: Updated for 2.1.0 release



svn: r6498
2006-04-30 01:46:28 +00:00
Brian Matherly
503405f167 * src/plugins/CountAncestors.py: Add percent of theoretical ancestors
svn: r6496
2006-04-29 23:17:58 +00:00
Don Allingham
0c2e17e0d2 2006-04-28 Don Allingham <don@gramps-project.org>
* src/AddMedia.py: assign handle to notes



svn: r6494
2006-04-29 02:13:47 +00:00
Brian Matherly
95a8b121a6 Add ODSDoc.py and use it in EventCmp.py
svn: r6493
2006-04-28 23:47:19 +00:00
Don Allingham
147fec220a * src/DataViews/_MediaView.py (MediaView.add): Fix call to AddMedia
svn: r6492
2006-04-28 23:13:15 +00:00
Don Allingham
835154caba * src/ViewManager.py: add ScratchPad to the View menu
* src/Editors/_EditFamily.py: Fix tooltips
	* src/glade/gramps.glade: remove predefined tooltips


svn: r6491
2006-04-28 22:58:43 +00:00
Don Allingham
8867cbeacc 2006-04-28 Don Allingham <don@gramps-project.org>
* src/AutoComp.py (StandardCustomSelector.fill): handle unicode
	in addition to str
	* src/ScratchPad.py (ScratchPadWindow.__init__): fix call to
	set_window, passing proper arguments



svn: r6489
2006-04-28 19:48:48 +00:00
Alex Roitman
2d17423e25 (ViewManager._init_lists): Translate menu labels.
svn: r6486
2006-04-28 17:02:53 +00:00
Alex Roitman
04448c2de3 2006-04-28 Alex Roitman <shura@gramps-project.org>
* src/ScratchPad.py (ScratchPadWindow.__init__): Allow only one
	instance; translate label; remove unneeded event handlers.
	* src/ViewManager.py (ViewManager.scratchpad): Catch exception.



svn: r6485
2006-04-28 16:56:19 +00:00
Alex Roitman
1e88f042b8 2006-04-27 Alex Roitman <shura@gramps-project.org>
* src/ViewManager.py (ViewManager.build_plugin_menu): Use unique
	command-line name for action menu.
	* src/plugins/GraphViz.py: Fix report.
	* src/PluginUtils/_PluginMgr.py (_register_standalone): Remove
	unneeded import.
	* src/PluginUtils/_Plugins.py (build_tools_menu, build_report_menu,
	build_plugin_menu, by_menu_name): Remove functions already
	re-implemented in ViewManager.
	* src/plugins/EventCmp.py: Correct button label.
	* src/plugins/StatisticsChart.py: Fix report.



svn: r6481
2006-04-28 04:33:28 +00:00
Don Allingham
e34ae58466 2006-04-27 Don Allingham <don@gramps-project.org>
* src/GrampsDb/_GrampsDbBase.py: fix custom event storing
	* src/GrampsDb/_GrampsBSDDB.py: fix custom event storing
	* src/Editors/_EditEventRef.py: fix custom event storing
	* src/Editors/_EditEvent.py: fix custom event storing
	* src/GrampsWidgets.py: fix custom data types
	* src/AutoComp.py: fix custom data types
	


svn: r6480
2006-04-28 03:32:04 +00:00
Brian Matherly
03d261d10c * src/docgen/OpenSpreadSheet.py: fix manifest so files open in calc
svn: r6479
2006-04-28 01:17:33 +00:00
Don Allingham
81f6548c5c 2006-04-27 Don Allingham <don@gramps-project.org>
* src/Editors/_EditReference.py: fix warn_box call
	* src/DisplayTabs.py: handle canceled edit box for media
	* src/AddMedia.py: ManagedWindow support
	* src/SelectPerson.py: ManagedWindow support



svn: r6478
2006-04-28 00:33:44 +00:00
Don Allingham
4f50bc6922 * src/Editors/_EditPerson.py (EditPerson._create_tabbed_pages):
initialize load_image callback
	* src/DisplayTabs.py (GalleryTab): call callback if defined when
	the list is updated, handle reorder inserting of None objects


svn: r6476
2006-04-27 21:56:36 +00:00
Alex Roitman
abfb1ec422 2006-04-27 Alex Roitman <shura@gramps-project.org>
* src/ViewManager.py (reports_clicked, tools_clicked): handle
	exception.
	* src/PluginUtils/_Plugins.py (PluginDialog.on_apply_clicked):
	Correctly call gui_tool, fix wm.	



svn: r6475
2006-04-27 21:32:44 +00:00
Don Allingham
296611251b * src/ViewManager.py: fix top on Config.set calls
* data/gramps.schemas.in: remove toolbar, now unused


svn: r6472
2006-04-27 20:52:58 +00:00
Don Allingham
951ac300ef * src/TipOfDay.py (TipOfDay.__init__): switch to ManagedWindow
svn: r6471
2006-04-27 20:36:32 +00:00
Don Allingham
0a12053f59 2006-04-27 Don Allingham <don@gramps-project.org>
* src/Editors/_EditFamily.py: provide add new parent option
	* src/Editors/_EditEvent.py: used set_window
	* src/glade/gramps.glade: add new buttons for add new parent



svn: r6470
2006-04-27 20:21:32 +00:00
Alex Roitman
7bd6984dcc * src/plugins/CmdRef.py: Fix tool.
svn: r6469
2006-04-27 19:35:43 +00:00
Alex Roitman
0f6e4ff82a 2006-04-27 Alex Roitman <shura@gramps-project.org>
* src/PluginUtils/_PluginStatus.py: Fix wm.
	* src/PluginUtils/_Plugins.py: Fix Reload tool. The re-building of
	the menus still needs to be fixed.
	* src/plugins/Leak.py: Fix wm.
	* src/docgen/LPRDoc.py: Import Errors module before it is called.
	* src/plugins/DumpGenderStats.py: Fix wm.



svn: r6468
2006-04-27 19:19:10 +00:00
Don Allingham
2ccd918953 * src/DisplayModels.py: flush cache on row update
svn: r6467
2006-04-27 18:31:41 +00:00
Don Allingham
f4a15e1b15 * src/DisplayTabs.py: check of event==None when determining default type
svn: r6465
2006-04-27 17:20:19 +00:00
Don Allingham
2713516e97 2006-04-27 Don Allingham <don@gramps-project.org>
* src/ViewManager.py: support for keypress events
	* src/gramps.py: fix gnome init



svn: r6464
2006-04-27 17:03:23 +00:00
Alex Roitman
f2cfa32f3b * src/plugins/PatchNames.py (PatchNames.on_ok_clicked): Properly
call update.


svn: r6462
2006-04-27 03:38:30 +00:00
Alex Roitman
9622d539f2 * src/plugins/Verify.py: Fix wm.
* src/plugins/RelCalc.py: Fix wm.
	* src/plugins/SoundGen.py: Fix wm.


svn: r6461
2006-04-27 02:35:47 +00:00
Alex Roitman
bb1ec48897 * src/plugins/Checkpoint.py: Fix wm.
svn: r6460
2006-04-27 02:04:05 +00:00
Alex Roitman
583c18fc16 * src/plugins/ReorderIds.py: Adapt to new API; rebuild for Events
and Repositories.


svn: r6459
2006-04-27 01:56:42 +00:00
Alex Roitman
f4f370c63c * src/GrampsLogger/_ErrorReportAssistant.py
(ErrorReportAssistant._get_sys_information): Add LANG to report.



svn: r6458
2006-04-27 01:40:32 +00:00
Alex Roitman
2c49ec5d56 * src/plugins/ChangeTypes.py: Fix wm; adapt to RelLib changes.
* src/plugins/ChangeNames.py: Fix wm.


svn: r6457
2006-04-27 00:10:07 +00:00
Alex Roitman
b695db42c4 * src/MergePeople.py: Adapt to RelLib changes.
* src/plugins/Merge.py: Properly call MergePeople; properly call
	update; set dbstate and uistate as instance attributes.



svn: r6456
2006-04-26 23:38:32 +00:00
Don Allingham
0d35757371 connect goto_handle function for bookmark callback
svn: r6455
2006-04-26 22:43:59 +00:00
Alex Roitman
5522b9a112 2006-04-26 Alex Roitman <shura@gramps-project.org>
* src/plugins/Check.py: Adapt to new family relation types.



svn: r6454
2006-04-26 22:43:18 +00:00
Don Allingham
cda7469626 force uimanager updates
svn: r6453
2006-04-26 22:15:22 +00:00
Don Allingham
d9515abc30 multiple bookmark lists
svn: r6452
2006-04-26 21:48:13 +00:00
Martin Hawlisch
a8bc2ebc47 * src/DataViews/_MapView.py: First badly hacked version of online map downloading.
svn: r6451
2006-04-26 20:15:10 +00:00
Alex Roitman
982105bc5d * src/GrampsCfg.py (build_window_key): Remove, as there's no need
to override the base class anymore.


svn: r6450
2006-04-26 05:15:38 +00:00
Alex Roitman
4340fa7bd7 * src/plugins/PatchNames.py: Adapt to new wm.
* src/PluginUtils/_Tool.py (gui_tool): handle exception.


svn: r6449
2006-04-26 05:09:44 +00:00
Alex Roitman
15d24114c0 update
svn: r6448
2006-04-26 05:04:11 +00:00
Alex Roitman
bcf38601b5 2006-04-25 Alex Roitman <shura@gramps-project.org>
* src/plugins/EventCmp.py (DisplayChart.on_write_table): Use
	FileChooser dialog.
	* src/plugins/eventcmp.glade: remove unused dialog.



svn: r6447
2006-04-26 05:03:56 +00:00
Don Allingham
50ec018a36 * src/Bookmarks.py: Don't use goto submenu
svn: r6446
2006-04-26 04:24:54 +00:00
Don Allingham
839d4f4a6b * src/ViewManager.py: new config changes, handle exception, enable Edit button
by default


svn: r6445
2006-04-26 04:03:04 +00:00
Don Allingham
d2c2a5d13b * src/GrampsCfg/py: move and rename tabs, change Prefixes for Formats
svn: r6444
2006-04-26 03:46:33 +00:00
Don Allingham
be93dc3abf * src/GrampsCfg/py: move and rename tabs
svn: r6443
2006-04-26 02:46:09 +00:00
Don Allingham
fdada9fe16 * src/ViewManager.py: new config changes, handle exception
svn: r6442
2006-04-26 02:14:37 +00:00
Don Allingham
d1ceee1503 2006-04-25 Don Allingham <don@gramps-project.org>
* src/ViewManager.py: new config changes
	* src/GrampsCfg.py: new config changes
	* src/Config/gen_schema_keys.py: new config changes
	* src/gramps_main.py: new config changes



svn: r6440
2006-04-26 02:00:24 +00:00
Alex Roitman
7b35c41965 * src/plugins/Desbrowser.py: Window Management fixes.
svn: r6437
2006-04-25 22:29:03 +00:00
Alex Roitman
46db6643cc * src/Bookmarks.py: Redraw "Go to bookmark" menu if changes were
made in the bookmard editor; Use fixed column widths in editor.



svn: r6436
2006-04-25 19:24:40 +00:00
Alex Roitman
05b7e26cf7 * src/plugins/EventCmp.py: Adapt to RelLib changes.
* src/GenericFilter.py (GenericFilter.check_and): Correct logic.
	* src/PluginUtils/_PluginStatus.py: Use new set_window.



svn: r6435
2006-04-25 18:36:52 +00:00
Alex Roitman
ffb8a386c2 2006-04-25 Alex Roitman <shura@gramps-project.org>
* src/Makefile.am: Include BaseDoc in the docmodules list.
	* src/GrampsDb/_GrampsBSDDB.py: Different order of closing.



svn: r6434
2006-04-25 17:02:37 +00:00
Brian Matherly
dff0fc3e95 make manual work in Windows
svn: r6433
2006-04-25 04:10:32 +00:00
Don Allingham
faf6d52a06 * src/GrampsDb/_GrampsBSDDB.py: handle data_map during
reload of the database


svn: r6432
2006-04-25 02:55:41 +00:00
Don Allingham
9f04f55701 Config method changed
svn: r6429
2006-04-24 21:04:01 +00:00
Don Allingham
58a772e451 2006-04-23 Don Allingham <don@gramps-project.org>
* src/DataViews/_MediaView.py: Column editor changes
	* src/DataViews/_RepositoryView.py: Column editor changes
	* src/DataViews/_SourceView.py: Column editor changes
	* src/DataViews/_EventView.py: Column editor changes
	* src/DataViews/_FamilyView.py: Column editor changes
	* src/DataViews/_PlaceView.py: Column editor changes
	* src/DataViews/_PersonView.py: Column editor changes
	* src/GrampsDb/_DbUtils.py: fix add_child_to_family to handle refs
	* src/ColumnOrder.py: format changes
	* src/glade/gramps.glade: format changes
	* src/SelectFamily.py: ManagedWindow support



svn: r6428
2006-04-24 04:06:17 +00:00
Alex Roitman
25949b819e 2006-04-23 Alex Roitman <shura@gramps-project.org>
* src/Utils.py: Make set_titles call ManagedWindow.set_titles
	with warning.
	* src/ManagedWindow.py: move set_titles here.
	* src/plugins/FilterEditor.py: Use new set_window method.
	* src/Editors/_Edit*.py: new set_window method.
	



svn: r6425
2006-04-23 22:18:01 +00:00
Don Allingham
2895926a1d * src/ColumnOrder.py: use ManagedWindow
* src/DataViews/_MediaView.py: ColumnOrder update
	* src/DataViews/_RepositoryView.py: ColumnOrder update
	* src/DataViews/_SourceView.py: ColumnOrder update
	* src/DataViews/_EventView.py: ColumnOrder update
	* src/DataViews/_PlaceView.py: ColumnOrder update
	* src/DataViews/_PersonView.py: ColumnOrder update


svn: r6424
2006-04-23 22:14:28 +00:00
Don Allingham
af404006c9 * src/ColumnOrder.py: preserved column width
svn: r6423
2006-04-23 21:58:17 +00:00
Alex Roitman
4dfb3d1608 * src/GrampsDb/_GrampsBSDDB.py (gramps_upgrade_9): Delete column
metadata.


svn: r6422
2006-04-23 21:32:11 +00:00
Don Allingham
3bce7bb1cc 2006-04-23 Don Allingham <don@gramps-project.org>
* src/GrampsCfg.py: remove familyview stuff
	* src/plugins/TestcaseGenerator.py: fix BIRTH, DEATH constants



svn: r6421
2006-04-23 21:17:50 +00:00
Alex Roitman
0f1dd36ca3 2006-04-23 Alex Roitman <shura@gramps-project.org>
* src/PluginUtils/_PluginStatus.py (PluginTrace.__init__): Set
	scrolling policy to auto;
	(PluginTrace.close_window): Add method.



svn: r6420
2006-04-23 20:59:21 +00:00
Brian Matherly
2b574eacfc typo
svn: r6419
2006-04-23 04:41:30 +00:00
Don Allingham
291173dc52 * src/GrampsDb/_GrampsDbBase.py: pychecker
* src/GrampsDb/_GrampsBSDDB.py: pychecker
	* src/RelLib/_CalSdn.py: pychecker
	* src/RelLib/_PrivateSourceNote.py: pychecker
	* src/RelLib/_GenderStats.py: pychecker
	* src/MergePeople.py: pychecker
	* src/SelectObject.py: pychecker
	* src/ScratchPad.py: pychecker
	* src/ImgManip.py: pychecker
	* src/docgen/ODFDoc.py: pychecker
	* src/docgen/OpenOfficeDoc.py: pychecker
	* src/docgen/LPRDoc.py: pychecker
	* src/SelectEvent.py: pychecker


svn: r6418
2006-04-23 04:29:14 +00:00
Brian Matherly
acde4393f8 Keep reports up with RelLib changes
svn: r6417
2006-04-23 02:58:53 +00:00
Don Allingham
cc1a0275e9 * src/DataViews/_MediaView.py: Shorten tab name
* src/DataViews/_RepositoryView.py: Shorten tab name
	* src/DataViews/_SourceView.py: Shorten tab name
	* src/DataViews/_EventView.py: Shorten tab name
	* src/DataViews/_FamilyView.py: Shorten tab name
	* src/DataViews/_FamilyList.py: Shorten tab name
	* src/DataViews/_PedigreeView.py: Shorten tab name
	* src/DataViews/_PlaceView.py: Shorten tab name
	* src/DataViews/_PersonView.py: Shorten tab name
	* src/DataViews/_MapView.py: Shorten tab name
	* src/glade/gramps.glade: remove unused option
	* src/const.py.in: bugtracker address fix


svn: r6416
2006-04-22 22:09:16 +00:00
Don Allingham
5b35a24272 2006-04-22 Don Allingham <don@gramps-project.org>
* src/GrampsDb/_ReadXML.py: fix Type str_from_xml calls



svn: r6415
2006-04-22 19:08:47 +00:00
Brian Matherly
6651f17ace misc reports: keep up with RelLib changes
svn: r6414
2006-04-22 06:56:48 +00:00
Alex Roitman
6f6d2f5ad2 2006-04-21 Alex Roitman <shura@gramps-project.org>
* src/PluginUtils/_ReportUtils.py (buried_str): Typo.
	* src/plugins/DetDescendantReport.py (write_children): Use child_refs.
	* src/plugins/DetAncestralReport.py (write_children): Use child_refs.
	* src/plugins/IndivComplete.py (write_fact): Use new event type.
	* src/docgen/KwordDoc.py (KwordDoc.close): Use tarile.



svn: r6413
2006-04-22 05:13:21 +00:00
Don Allingham
527d01a583 * src/StartupDialog.py: fix close
* src/plugins/Desbrowser.py: Use ActivPersonTool
	* src/PluginUtils/_Tool.py: active person tool added


svn: r6412
2006-04-22 04:48:40 +00:00
Don Allingham
a0f9a7c5eb * src/plugins/FilterEditor.py: fix close arguments
* src/plugins/ChangeNames.py: fix close arguments
	* src/plugins/Merge.py: fix close arguments
	* src/plugins/ChangeTypes.py: fix close arguments
	* src/plugins/PatchNames.py: fix close arguments


svn: r6411
2006-04-22 04:06:10 +00:00
Don Allingham
9a50249f14 * src/plugins/Desbrowser.py: check for active person
svn: r6410
2006-04-22 04:04:02 +00:00
Don Allingham
0b35225daa fix typos on XML import
svn: r6405
2006-04-21 22:24:54 +00:00
Don Allingham
8edee66a28 Fix warnboxes
svn: r6403
2006-04-21 20:45:10 +00:00
Don Allingham
7b76ddc625 Remove get_child_handle_list call
svn: r6402
2006-04-21 20:39:30 +00:00
Don Allingham
280606f458 Fix warnboxes
svn: r6401
2006-04-21 20:34:26 +00:00
Alex Roitman
c4ff682acd In .:
* src/GrampsDb/_ConstXML.py: Remove.
In po:
2006-04-21  Alex Roitman  <shura@gramps-project.org>
	* POTFILES.in: Remove obsolete file.



svn: r6399
2006-04-21 20:10:37 +00:00
Martin Hawlisch
dfafb7a537 * src/DataViews/_PedigreeView.py: Set dirty flag to force redrawing when changing tree style
* src/plugins/TestcaseGenerator.py: Update to new GrampsTypes



svn: r6398
2006-04-21 20:03:09 +00:00
Alex Roitman
52ead8b15d * src/RelLib/_GrampsType.py (set_from_xml_str): Remove extra def.
svn: r6397
2006-04-21 19:59:16 +00:00
Don Allingham
2fda127d99 Fix warnboxes
svn: r6396
2006-04-21 19:56:16 +00:00
Alex Roitman
409b235eab 2006-04-21 Alex Roitman <shura@gramps-project.org>
* src/PluginUtils/_PluginStatus.py: Many small fixes.
	* src/ManagedWindow.py (GrampsWindowManager.display_menu_list):
	Fix building the menu for child-less windows.



svn: r6395
2006-04-21 19:37:09 +00:00
Don Allingham
e9f2d922f7 Attribute Types
svn: r6392
2006-04-21 18:15:23 +00:00
Don Allingham
8243bb1079 updated PluginStatus dialog
svn: r6390
2006-04-21 17:08:34 +00:00
Don Allingham
e6d9cb2bf1 * src/DataViews/_EventView.py: pychecker fixes
* src/ViewManager.py: call scratchpad properly
	* src/GrampsCfg.py: pychecker fixes
	* src/Editors/_EditEvent.py
	* src/DisplayModels.py:pychecker fixes
	* src/DisplayTabs.py: pychecker fixes
	* src/ScratchPad.py: use ManagedWindow
	* src/GenericFilter.py: pychecker fixes
	* src/ImgManip.py: pychecker fixes
	* src/PageView.py: pychecker fixes
	* src/ArgHandler.py: pychecker fixes


svn: r6389
2006-04-21 04:14:00 +00:00
Don Allingham
f7c6a19c53 * src/Editors/_EditFamily.py: Handle marker type in UI
svn: r6388
2006-04-21 02:59:15 +00:00
Don Allingham
6ed8949106 2006-04-20 Don Allingham <don@gramps-project.org>
* src/DataViews/_FamilyViews.py: clean up
	* src/DataViews/_PedigreeViews.py: clean up
	* src/RelLib/_Name.py: fix type on set_type



svn: r6387
2006-04-21 02:05:56 +00:00
Alex Roitman
dce92d31a3 * src/GrampsDb/_GrampsBSDDB.py: Upgrade to new types.
* src/GrampsDb/_ReadGedcom.py: Adapt to new types.
	* src/RelLib/_Event.py: Properly set type.
	* src/RelLib/_EventRef.py: Properly set type.
	* src/RelLib/_Family.py: Properly set type.
	* src/RelLib/_Name.py: Properly set type.
	* src/RelLib/_Person.py: Properly set type.
	* src/RelLib/_PrimaryObject.py: Properly set type.
	* src/RelLib/_RepoRef.py: Properly set type.
	* src/RelLib/_Repository.py: Properly set type.
	* src/RelLib/_Url.py: Properly set type.


svn: r6386
2006-04-21 00:03:27 +00:00
Brian Matherly
e2ee414615 Fix space at beginning of paragraph for ODF doc.
svn: r6385
2006-04-20 23:01:35 +00:00
Don Allingham
6fe203dfe2 fix display of shared info warning box
svn: r6384
2006-04-20 22:32:17 +00:00
Alex Roitman
d505dee76a 2006-04-20 Alex Roitman <shura@gramps-project.org>
* src/RelLib/_EventRef.py (unserialize): Avoid class constructor.
	* src/RelLib/_Person.py (unserialize): Avoid class constructor.
	* src/RelLib/_Name.py (unserialize): Avoid class constructor.
	* src/RelLib/_Repository.py (unserialize): Avoid class constructor.
	* src/RelLib/_RepoRef.py (unserialize): Avoid class constructor.
	* src/GrampsDb/_WriteXML.py: Update to export new types.



svn: r6382
2006-04-20 18:20:55 +00:00
Alex Roitman
bc6bdddf90 Update
svn: r6381
2006-04-20 17:52:05 +00:00
Martin Hawlisch
d64cbdc51d * src/plugins/ImportGeneWeb.py: Use new type classes; Start of parsing relationships (unfinished)
svn: r6380
2006-04-20 16:26:12 +00:00
Don Allingham
dc11b217dd use correct field for building surname key
svn: r6379
2006-04-20 15:05:56 +00:00
Don Allingham
be545e2432 svn: r6377 2006-04-20 03:50:57 +00:00
Don Allingham
1d9dc8bda6 * src/RelLib/_Family.py: add remove_child_handle
svn: r6376
2006-04-20 03:44:11 +00:00
Don Allingham
4f1010bc65 2006-04-19 Don Allingham <don@gramps-project.org>
* src/DataViews/_EventView.py: more GrampsTypes changes
	* src/DataViews/_PedigreeView.py: more GrampsTypes changes
	* src/RelLib/_ChildRef.py: more GrampsTypes changes
	* src/RelLib/_Family.py: more GrampsTypes changes
	* src/RelLib/_Repository.py: more GrampsTypes changes
	* src/RelLib/_Event.py: more GrampsTypes changes
	* src/Editors/_EditPerson.py: more GrampsTypes changes
	* src/Editors/_EditEventRef.py: more GrampsTypes changes
	* src/Editors/_EditEvent.py: more GrampsTypes changes
	* src/PeopleModel.py: more GrampsTypes changes
	* src/DisplayTabs.py: more GrampsTypes changes
	* src/GrampsWidgets.py: more GrampsTypes changes
	* src/Utils.py: more GrampsTypes changes
	* src/PageView.py: more GrampsTypes changes



svn: r6373
2006-04-20 03:10:23 +00:00
Alex Roitman
a3a37a1712 2006-04-19 Alex Roitman <shura@gramps-project.org>
* src/Utils.py: Remove obsolete code.
	* src/DisplayTabs.py (EventRefModel.column_role): Adapt to new types.
	* src/PeopleModel.py: Adapt to new types.
	* src/plugins/TestcaseGenerator.py: Adapt to new types.
	* src/RelLib/Makefile.am: Ship new files.
	* src/RelLib/_EventRef.py: Adapt to new types.
	* src/RelLib/_PrimaryObject.py: Adapt to new types.
	* src/RelLib/_EventRoleType.py: Add new module.
	* src/RelLib/_RepoRef.py: Adapt to new types.
	* src/RelLib/_MarkerType.py: Add new module.
	* src/RelLib/_Family.py: Adapt to new types.
	* src/RelLib/_Person.py: Adapt to new types.
	* src/RelLib/_SourceMediaType.py: Add new module.
	* src/RelLib/__init__.py: Expose new modules.
	* src/Editors/_EditPerson.py: Use new type.
	* src/GrampsDb/_GrampsBSDDB.py (gramps_upgrade_9): Adapt to new types.
	* src/GrampsDb/_ConstXML.py: Comment out obsolete code.
	* src/GrampsDb/_ReadXML.py: Adapt to new types.
	* src/GrampsDb/_GrampsDbBase.py (commit_person): Properly use marker.
	* src/GrampsDb/_ReadGedcom.py: Adapt to new types.
	* src/DataViews/_FamilyView.py (write_relationship): Use new type.
	* src/DataViews/_PedigreeView.py (format_relation): Use new type.



svn: r6372
2006-04-20 00:44:44 +00:00
Don Allingham
86caffe6bd GrampsType support for FamilyRelations, Events
svn: r6371
2006-04-19 22:59:33 +00:00
Martin Hawlisch
ea3f1d727a * src/plugins/TestcaseGenerator.py: Use the new types
svn: r6370
2006-04-19 20:56:46 +00:00
Alex Roitman
38ea0a393b In .:
* src/RelLib/Makefile.am: Ship new file.
	* src/PluginUtils/_ReportUtils.py: Use fam relations from new module.
	* src/Relationship.py: Use family relations from new module.
	* src/Utils.py: Remove family relations.
	* src/RelLib/__init__.py: Expose new module.
	* src/RelLib/_Family.py: Adapt to new types.
	* src/GrampsDb/_ReadXML.py: Adapt to new types.
	* src/GrampsDb/_ConstXML.py: Remove family relations.
	* src/RelLib/_FamilyRelType.py: Add new class
In po:
2006-04-19  Alex Roitman  <shura@gramps-project.org>
	* POTFILES.in: Add new files.



svn: r6369
2006-04-19 18:27:51 +00:00
Alex Roitman
7d39f17460 * src/RelLib/_Event.py: Revert this change.
svn: r6368
2006-04-19 17:54:17 +00:00
Alex Roitman
4aee2a9898 2006-04-19 Alex Roitman <shura@gramps-project.org>
* src/RelLib/_Event.py: Add "personal" attribute to events.



svn: r6367
2006-04-19 17:31:20 +00:00
Alex Roitman
65d8a8e894 * data/grampsxml.dtd: Update.
* data/grampsxml.rng: Update.


svn: r6366
2006-04-19 05:14:37 +00:00
Don Allingham
506da3841b * src/Editors/_EditChildRef.py: fix call for MonitoredDataType
svn: r6365
2006-04-19 04:44:20 +00:00
Don Allingham
70368d4464 * src/Editors/_EditName.py: fix call for MonitoredDataType
svn: r6364
2006-04-19 04:42:49 +00:00
Don Allingham
a59f61a377 2006-04-18 Don Allingham <don@gramps-project.org>
* src/RelLib/__init__.py: added _EventType
	* src/RelLib/_EventType.py: added
	* src/RelLIb/Makefile.am: added _EventType.py



svn: r6363
2006-04-19 04:41:07 +00:00
Brian Matherly
f07a3b4032 Update for RelLib changes
svn: r6361
2006-04-19 04:06:27 +00:00
Don Allingham
2fa0eabb07 * src/GrampsDb/_ReadXML.py: new types
* src/GrampsDb/_ConstXML.py: new types
	* src/GrampsDb/_WriteXML.py: new types
	* src/Editors/_EditUrl.py: new types
	* src/Editors/_EditPerson.py: new types
	* src/Editors/_EditRepository.py: new types
	* src/Editors/_EditName.py: new types
	* src/Editors/_EditChildRef.py: new types
	* src/RelLib/__init__.py: new types
	* src/RelLib/_Url.py: new types
	* src/RelLib/_RepositoryType.py: new types
	* src/RelLib/_GrampsType.py: new types
	* src/RelLib/_UrlType.py: new types
	* src/RelLib/_Repository.py: new types
	* src/RelLib/_NameType.py: new types
	* src/RelLib/_ChildRefType.py: new types
	* src/DisplayTabs.py: new types
	* src/GrampsWidgets.py: new types
	* src/Utils.py: new types


svn: r6360
2006-04-19 03:57:10 +00:00
Alex Roitman
e12c7b0de3 * src/GrampsDb/_ReadXML.py: Parse old and new XML.
* src/GrampsDb/_WriteXML.py (dump_child_ref, dump_person_ref): Add
	methods.
	* src/RelLib/_ChildRef.py (ChildRef.set_mother_relation): Adapt to
	new types;
	(ChildRef.set_father_relation): Adapt to new types.
	* src/RelLib/_GrampsType.py (GrampsType.get_custom): Add method.
	(GrampsType.set): Allow setting from the same class instance.
	(GrampsType.is_default): Add method.


svn: r6358
2006-04-19 02:23:08 +00:00
Don Allingham
249b1ba53d 2006-04-18 Don Allingham <don@gramps-project.org>
* src/Editors/_EditFamily.py: button messages
	* src/DisplayTabs.py: remove property button stuff



svn: r6357
2006-04-18 23:22:21 +00:00
Alex Roitman
300debc524 2006-04-18 Alex Roitman <shura@gramps-project.org>
* src/DisplayTabs.py (BackRefList.create_buttons): Allow an
	additional argument to keep the caller happy.



svn: r6356
2006-04-18 22:34:50 +00:00
Don Allingham
c941e1b5c1 * src/DataViews/_PersonView.py: removal of inversion
* src/GenericFilter.py: Interface changes for filtering


svn: r6355
2006-04-18 22:12:19 +00:00
Don Allingham
22d5cf7d91 * src/Editors/__init__.py: added EditChildRef
* src/Editors/Makefile.am: added EditChildRef
	* src/Editors/_EditChildRef.py: added
	* src/Editors/_EditFamily.py: add child reference editor
	* src/DisplayTabs.py: add optional properties button
	* src/glade/gramps.glade: add child reference editor


svn: r6354
2006-04-18 20:27:53 +00:00
Don Allingham
f892c67806 2006-04-18 Don Allingham <don@gramps-project.org>
* src/plugins/Desbrowser.py: bring up to speed with ManagedWindow
	* src/GrampsWidgets.py: fix the type return value 



svn: r6353
2006-04-18 19:10:13 +00:00
Don Allingham
866b1400e3 image and screen updates
svn: r6352
2006-04-18 02:09:43 +00:00
Don Allingham
943f01ff9f Set author for source on gedcom import
svn: r6351
2006-04-17 22:33:13 +00:00
Brian Matherly
1ca0d3d9e1 src/plugins/DescendReport.py: Don't sort children (Bug #1453010)
svn: r6350
2006-04-17 04:09:00 +00:00
Don Allingham
48f497e500 event description on xml import
svn: r6349
2006-04-16 04:37:02 +00:00
Alex Roitman
6b776c860a 2006-04-15 Alex Roitman <shura@gramps-project.org>
* src/GrampsDb/_GrampsBSDDB.py (gramps_upgrade_9): Adapt to 
	ChildRefType.



svn: r6347
2006-04-15 19:48:12 +00:00
Don Allingham
1891d33470 handle child type callback
svn: r6346
2006-04-15 06:24:35 +00:00
Alex Roitman
282480d097 2006-04-14 Alex Roitman <shura@gramps-project.org>
* src/DisplayTabs.py (edit_button_clicked): Proceed only if
	selection exists.



svn: r6345
2006-04-14 22:31:23 +00:00
Don Allingham
f3dbd3471b Handle ChildRefType on XML import
svn: r6344
2006-04-14 16:00:46 +00:00
Martin Hawlisch
4f42564b0b typo
svn: r6343
2006-04-14 12:40:07 +00:00
Martin Hawlisch
71dcdd9c07 * src/DataViews/_PedigreeView.py: Fix ChildRef, Show person references
* src/Editors/_EditFamily.py: Typo
* src/GrampsDb/_GrampsDbBase.py (get_active_person): Handle case of no active person
* src/plugins/TestcaseGenerator.py: really generate shared events; use new GrampsType; randomize name type
* src/DataViews/_PersonView.py: DnD only for lines of persons; Fix set for python 2.3; fix get_parent_family_handle_list usage



svn: r6342
2006-04-14 12:39:17 +00:00
Don Allingham
2532be9de8 Start of new type classes
svn: r6340
2006-04-14 04:36:25 +00:00
Don Allingham
5982941741 ASSO tag support
svn: r6339
2006-04-13 20:24:19 +00:00
Martin Hawlisch
9ee7492b07 more ChildRef changes
svn: r6338
2006-04-13 19:44:35 +00:00
Don Allingham
deaca6ea3c Fix family/child refs
svn: r6337
2006-04-13 19:34:07 +00:00
Martin Hawlisch
db27730b91 Adapt to changes in RelLib
svn: r6336
2006-04-13 19:29:36 +00:00
Martin Hawlisch
b733444af0 Updates to use ChildRef
svn: r6335
2006-04-13 19:20:11 +00:00
Alex Roitman
7cd6ee2739 * src/RelLib/_PersonRef.py (serialize): Typo.
svn: r6334
2006-04-13 18:33:29 +00:00
Don Allingham
bce7c49fde Remove bad tab
svn: r6333
2006-04-13 18:30:17 +00:00
Alex Roitman
6e6f9fbfba * src/GrampsDb/_GrampsBSDDB.py: Upgrade path to new RelLib.
* src/RelLib/_Family.py: Require non-empty child_ref.


svn: r6332
2006-04-13 18:25:52 +00:00
Alex Roitman
e01e3ee517 Updates
svn: r6330
2006-04-13 17:10:29 +00:00
Don Allingham
221259886f Start childref conversion
svn: r6327
2006-04-13 16:16:00 +00:00
Martin Hawlisch
9fdfd50bc4 * src/RelLib/*: fix different typos.
* src/DataViews/_FamilyView.py: adapt changes in RelLib
	



svn: r6326
2006-04-13 11:21:33 +00:00
Alex Roitman
dac9f47bd4 * src/NameDisplay.py: Add constants to number name components.
* src/PeopleModel.py: Correct constants.


svn: r6324
2006-04-13 05:26:19 +00:00
Alex Roitman
776ba17993 Add ChildRef class, reorganize RelLib.
svn: r6320
2006-04-13 03:15:22 +00:00
Brian Matherly
6648e8c1b0 Add graph preview based on MIME type.
svn: r6319
2006-04-13 03:01:12 +00:00
Alex Roitman
3c84051355 Fix typo
svn: r6318
2006-04-12 16:41:33 +00:00
Alex Roitman
a7123580a7 * src/RelLib/_PersonRef.py: Add to repository.
* src/RelLib/Makefile.am: Ship new file.
	* src/RelLib/_Person.py: Add person_ref_list to store person-to-
	person references.


svn: r6317
2006-04-12 06:57:14 +00:00
Alex Roitman
c12e25d0ae * src/GrampsDb/_DbUtils.py (remove_parent_from_family): If removing family, also remove it from the child's parent_family_list.
svn: r6314
2006-04-12 03:06:25 +00:00
Alex Roitman
2fea3361e5 Update
svn: r6313
2006-04-11 22:28:32 +00:00
Martin Hawlisch
a53704e879 * src/images/mk_blue_marble.py: Provide fallback if jpegtrans does not work/exist.
svn: r6311
2006-04-11 17:04:42 +00:00
Martin Hawlisch
250f60b4f7 * src/images/mk_blue_marble.py: Properly exit on error to let make stop in that case.
svn: r6310
2006-04-11 11:31:02 +00:00
Martin Hawlisch
16e6f3fb9f * src/DataViews/_MapView.py: Reworked to display multiple smaller tiled map images
* src/images/mk_blue_marble.py: Script to create the map tiles out of the nasa blue marble image
* src/images/Makefile.am: Add map tile images and bootstrap them using mk_blue_marble.py



svn: r6307
2006-04-10 21:41:42 +00:00
Don Allingham
170ae90bcb Handle active person and Pedigree startup issues
svn: r6306
2006-04-10 20:56:09 +00:00
Alex Roitman
e45013e4e3 * src/GrampsDb/_ReadGedcom.py: LDS fixes.
* src/Editors/_EditLdsOrd.py: LDS fixes.
	* src/lds.py: LDS fixes.


svn: r6304
2006-04-10 18:38:13 +00:00
Alex Roitman
4ca9940ccb * src/ArgHandler.py: Get rid of obsolete self.parent.
svn: r6302
2006-04-10 18:17:00 +00:00
Don Allingham
6b970e3659 Fix adding spouse after family exists
svn: r6301
2006-04-10 16:11:03 +00:00
Alex Roitman
44e127abba Update
svn: r6300
2006-04-10 05:50:06 +00:00
Alex Roitman
3518581e45 * src/ViewManager.py (ViewManager.create_pages): Use toggle
buttons on the sidebar.
	(ViewManager.change_page): Turn off previously active button.


svn: r6299
2006-04-10 05:49:20 +00:00
Alex Roitman
3cae557ab2 Update
svn: r6298
2006-04-10 05:44:59 +00:00
Brian Matherly
2f6c5a71fa Improve graphic alignment in OO reports. (Bug 1370498)
svn: r6297
2006-04-10 04:29:29 +00:00
Alex Roitman
1ca64386fb (GrampsBSDDB._delete_primary_from_reference_map): Accept txn
argument; pass it on to self._remove_reference().
	* src/GrampsDb/_GrampsBSDDB.py (GrampsBSDDB._do_remove_object):
	Work out both regular and batch transactions.


svn: r6296
2006-04-10 01:45:36 +00:00
Alex Roitman
3360368431 * src/Makefile.am: Clean byte-compiled files.
* src/DataViews/Makefile.am: Clean byte-compiled files.
	* src/GrampsDb/Makefile.am: Clean byte-compiled files.
	* src/Config/Makefile.am: Clean byte-compiled files.
	* src/RelLib/Makefile.am: Clean byte-compiled files.
	* src/Editors/Makefile.am: Clean byte-compiled files.
	* src/plugins/Makefile.am: Clean byte-compiled files.
	* src/ObjectSelector/Makefile.am: Clean byte-compiled files.
	* src/TreeViews/Makefile.am: Clean byte-compiled files.
	* src/Models/Makefile.am: Clean byte-compiled files.
	* src/Mime/Makefile.am: Clean byte-compiled files.
	* src/GrampsLogger/Makefile.am: Clean byte-compiled files.
	* src/PluginUtils/Makefile.am: Clean byte-compiled files.
	* src/docgen/Makefile.am: Clean byte-compiled files.
	* src/DateHandler/Makefile.am: Clean byte-compiled files.


svn: r6295
2006-04-10 01:02:50 +00:00
Don Allingham
ebf97d467f Start of migrating tools to Managed Windows
svn: r6294
2006-04-09 22:53:53 +00:00
Don Allingham
ffae52385f remove empty families
svn: r6293
2006-04-08 05:56:31 +00:00
Brian Matherly
6ddcf8b7bc * src/docgen/PdfDoc.py: fix columns, error check images
* src/docgen/RTFDoc.py: error check images

svn: r6292
2006-04-08 01:59:33 +00:00
Don Allingham
1439dcf535 EditName call in EditPerson
svn: r6289
2006-04-07 20:28:41 +00:00
Don Allingham
809c06c760 restore attr_edit in glade file
svn: r6286
2006-04-07 04:32:43 +00:00
Don Allingham
eb66ad70ee select parents from relationship view
svn: r6283
2006-04-07 02:54:33 +00:00
Alex Roitman
d39038c8f9 * various: Revert back to using gettext except for the modules that need context -- those will use TransUtils.sgettext
svn: r6282
2006-04-06 22:02:46 +00:00
Alex Roitman
d59559b9ef * POTFILES.in: Add new files to the list.
* gramps.pot: regenerate the template.
	* src/Makefile.am (gdir_PYTHON): Add new files to the list.


svn: r6281
2006-04-06 21:51:33 +00:00
Alex Roitman
ab2b973638 * src/Editors/_EditLdsOrd.py (EditLdsOrd): Formatting.
* src/GrampsWidgets.py (MonitoredMenu): Factor out commong code.


svn: r6280
2006-04-06 21:28:19 +00:00
Don Allingham
cc755303cd remove missing recent files
svn: r6279
2006-04-06 16:50:05 +00:00
Don Allingham
c5949857fa default types for events
svn: r6278
2006-04-06 04:10:30 +00:00
Don Allingham
c7c18cb044 add family selector
svn: r6277
2006-04-06 03:35:19 +00:00
Don Allingham
8cc24678dc xml import/export with new lds scheme
svn: r6276
2006-04-06 02:34:58 +00:00
Don Allingham
b2b8c284a9 gedcom import/export with new lds scheme
svn: r6275
2006-04-06 01:42:14 +00:00
Don Allingham
455bedf69f Fix place selecton on LDS ords
svn: r6273
2006-04-05 21:30:27 +00:00
Don Allingham
a6acc06720 handle temple not set for LdsOrd
svn: r6272
2006-04-05 18:48:45 +00:00
Don Allingham
4f1d230de1 fix lds unserialize
svn: r6271
2006-04-05 17:15:44 +00:00
Brian Matherly
6769f01be2 Fix image handling problems for reports.
svn: r6269
2006-04-05 04:41:56 +00:00
Don Allingham
41cec5c783 lds status type to a constant
svn: r6268
2006-04-05 04:16:16 +00:00
Alex Roitman
c989069c93 Update
svn: r6263
2006-04-04 21:50:11 +00:00
Don Allingham
d761bee9a6 Start of better LDS support
svn: r6261
2006-04-04 18:07:23 +00:00
Martin Hawlisch
ecb78626c6 * src/plugins/TestcaseGenerator.py: Fix lds ord; Add new option to put a linebreak into each textfield
svn: r6260
2006-04-04 15:28:43 +00:00
Brian Matherly
7ce865cf79 minor report improvements
svn: r6259
2006-04-04 04:14:51 +00:00
Don Allingham
4fdcc06151 place autocompletion
svn: r6257
2006-04-02 18:35:12 +00:00
Brian Matherly
4e3480960b src/plugins/FamilyGroup.py: various fixes, add Marriage info
svn: r6256
2006-04-02 05:35:25 +00:00
Don Allingham
447f9ea7f8 dbstate.active fixes
svn: r6255
2006-04-02 04:15:11 +00:00
Brian Matherly
51b81e9bb3 Narrative Web Page should work now
svn: r6254
2006-04-01 17:38:34 +00:00
Martin Hawlisch
1da6281a79 * src/DisplayTabs.py (EventEmbedList.edit_button_clicked): Fix params of EditEventRef call
svn: r6253
2006-04-01 13:05:27 +00:00
Martin Hawlisch
8c2a5221da * src/DataViews/_PedigreeView.py: Work around the bug of dbstate.active not being updated when the active person was edited.
svn: r6251
2006-04-01 12:31:04 +00:00
Don Allingham
0db23b014a ManagedWindow
svn: r6249
2006-04-01 03:59:42 +00:00
Don Allingham
e45cf453ff remember custom attributes/events
svn: r6248
2006-03-31 23:46:34 +00:00
Don Allingham
07bcb66362 restore lds baptism status values
svn: r6244
2006-03-31 20:01:46 +00:00
Don Allingham
1f77128e56 empty object checks
svn: r6243
2006-03-31 19:46:41 +00:00
Brian Matherly
be7400586e src/plugins/NavWebPage.py: various fixes. Doesn't work yet.
svn: r6240
2006-03-31 05:37:41 +00:00
Don Allingham
8149c252b3 handle to ref conversions
svn: r6239
2006-03-31 04:19:06 +00:00
Brian Matherly
378e3e97c3 src/plugins/DecendReport.py: use full dates instead of just year.
svn: r6238
2006-03-31 03:55:06 +00:00
Brian Matherly
85be495c51 src/plugins/GraphViz.py: import const
svn: r6237
2006-03-31 01:23:48 +00:00
Don Allingham
41d125fc53 surname guessing
svn: r6236
2006-03-30 22:15:03 +00:00
Don Allingham
f13f54c107 check and repair fixes
svn: r6235
2006-03-30 17:29:30 +00:00
Don Allingham
f824eded45 autocompletion for surnames
svn: r6234
2006-03-30 16:29:59 +00:00
Don Allingham
031e340adb command handling
svn: r6233
2006-03-30 16:04:20 +00:00
Brian Matherly
68dc46cdd6 Remove use of deprecated functions. Supported graphical reports should work now.
svn: r6232
2006-03-30 05:15:54 +00:00
Brian Matherly
0c11137172 src/PluginUtils/_Plugins.py: remove statbox
svn: r6231
2006-03-30 03:29:18 +00:00
Don Allingham
052943f96c fix launch routine
svn: r6230
2006-03-30 03:24:04 +00:00
Brian Matherly
88686265a3 Remove use of deprecated functions. Supported text reports now work.
svn: r6229
2006-03-30 03:17:33 +00:00
Don Allingham
69240c8541 fix import
svn: r6227
2006-03-30 01:57:34 +00:00
Don Allingham
a312c2af18 dialog fixes, replace fork with spawn
svn: r6226
2006-03-29 22:51:27 +00:00
Don Allingham
47644bcc15 enable actiongroups on autoload
svn: r6225
2006-03-29 19:26:43 +00:00
Don Allingham
c783b72332 SelectObject support
svn: r6224
2006-03-29 17:56:11 +00:00
Don Allingham
5a3c856e4c fix place deletion
svn: r6223
2006-03-29 05:01:27 +00:00
Don Allingham
1cc09e129a remove 2.0.X warn message
svn: r6221
2006-03-29 04:48:50 +00:00
Don Allingham
b63f2ab86d remove expanduser
svn: r6219
2006-03-29 04:24:39 +00:00
Don Allingham
b2ea3cfaec remove expanduser
svn: r6218
2006-03-29 04:11:17 +00:00
Don Allingham
e2100245d4 remove convert dependency
svn: r6217
2006-03-29 03:21:29 +00:00
Brian Matherly
4761c816c5 Make the Family Group Report work. Eliminiate the use of depricated functions.
svn: r6216
2006-03-29 02:35:19 +00:00
Brian Matherly
ae7296cb25 Use filename instead of URI for XML parser (works on Windows and Linux)
svn: r6215
2006-03-29 02:25:04 +00:00
Don Allingham
9dd96871ff default application selection
svn: r6214
2006-03-28 20:11:48 +00:00
Martin Hawlisch
3b927c9db0 * src/DataViews/_PedigreeView.py (_PersonWidget_base): Use other name for the drag_begin callback to not conflict with a gtk.Widget internal method. The DnD icon works now.
svn: r6213
2006-03-27 08:07:57 +00:00
Don Allingham
414123d496 set drag and drop icon
svn: r6212
2006-03-27 05:06:10 +00:00
Martin Hawlisch
b956c5bc39 * src/DataViews/_PedigreeView.py: Open FamilyEditor to add missing parents
svn: r6210
2006-03-25 14:23:51 +00:00
Martin Hawlisch
d539636129 * src/DataViews/_PedigreeView.py: Add DnD support to the person boxes (a person can now be dragged to the ScratshPad or to a text-editor); Menu entry to copy person data (rendered as text) into clipboard
svn: r6209
2006-03-25 13:36:05 +00:00
Don Allingham
e9e42bcf75 Handle single parent families on add parent switch
svn: r6207
2006-03-25 03:47:47 +00:00
Don Allingham
f2899fb596 added repository reference editor
svn: r6206
2006-03-25 03:07:20 +00:00
Don Allingham
792362fcc2 handle add parent family switching
svn: r6203
2006-03-24 04:04:24 +00:00
Don Allingham
aa21d5477e unknown parent label on FamilyViwe
svn: r6201
2006-03-23 21:51:42 +00:00
Don Allingham
ab84fdd08c fix arglist
svn: r6199
2006-03-23 18:31:56 +00:00
Martin Hawlisch
771b6c1c02 Support for DnD of alternate locations of a place
svn: r6198
2006-03-23 16:41:51 +00:00
Brian Matherly
b2573566c1 Filter double drag and drops in Windows.
svn: r6197
2006-03-23 06:10:45 +00:00
Don Allingham
9f60846eef repository drag-n-drop
svn: r6196
2006-03-23 05:19:38 +00:00
Don Allingham
621d8757ee scratchpad/drag-n-drop fixes
svn: r6194
2006-03-22 23:03:57 +00:00
Martin Hawlisch
dcf4c6f2a2 Add wrappers for displaying the tuple types to unify their usage.
svn: r6193
2006-03-22 21:19:32 +00:00
Don Allingham
c7876be372 family warn dialog
svn: r6192
2006-03-22 03:57:51 +00:00
Don Allingham
7ef16d5c66 editor fixes
svn: r6191
2006-03-21 22:12:39 +00:00
Alex Roitman
add464937d * various: rename doc to data; move most of src/data to data.
svn: r6187
2006-03-21 18:56:27 +00:00
Don Allingham
be2bb20020 .ini settings
svn: r6186
2006-03-21 06:33:59 +00:00
Don Allingham
7fdb8314d9 lds specific data moved
svn: r6185
2006-03-21 06:23:45 +00:00
Brian Matherly
5e730fa3e5 os independent path
svn: r6184
2006-03-21 03:01:50 +00:00
Don Allingham
3ffa47bfb1 update data properly
svn: r6183
2006-03-21 02:39:01 +00:00
Don Allingham
f3b8387c06 use db.THREAD
svn: r6182
2006-03-21 00:05:07 +00:00
Don Allingham
6c198f1f5c performance enhancements
svn: r6179
2006-03-19 23:34:23 +00:00
Don Allingham
c4fcd98fdc object sharing support
svn: r6178
2006-03-19 06:49:03 +00:00
Alex Roitman
0b3ce97a46 * configure.in: Remove scrollkeeper checks and other unused statements
svn: r6177
2006-03-19 06:03:04 +00:00
Don Allingham
1b2250aa41 removed RelImage
svn: r6176
2006-03-19 03:50:47 +00:00
Don Allingham
a08d178f1b speed improvements until object selector is functional
svn: r6175
2006-03-19 03:25:31 +00:00
Alex Roitman
94f2cc074a * intltool-*.in: remove from svn.
svn: r6172
2006-03-18 07:47:53 +00:00
Don Allingham
06210f392c use SelectPerson for father instead of Object Selector
svn: r6171
2006-03-18 05:47:39 +00:00
Don Allingham
84648709d4 removal of families
svn: r6169
2006-03-18 01:30:23 +00:00
Alex Roitman
1c81540f6b * help: add new dir with new gnome-doc-utils infrastructure.
svn: r6163
2006-03-17 20:41:14 +00:00
Alex Roitman
08e916861f * configure.in: Multiple improvements.
* config.guess, config.sub: newer versions.
	* autogen.sh: Better gnome-common message.
	* src/TipOfDay.py (TipParser): skip messages with xml:lang
	attribute, because these are already supplied in the po file.


svn: r6162
2006-03-17 19:15:16 +00:00
Alex Roitman
c064cb8185 * various: Use TransUtils.sgettext instead of gettext.gettext to work out stripping the context.
svn: r6155
2006-03-16 20:24:27 +00:00
Alex Roitman
08649863ec Remove py-compile
svn: r6153
2006-03-16 19:09:16 +00:00
Alex Roitman
ddc69b9e9b Update
svn: r6152
2006-03-16 19:02:45 +00:00
Alex Roitman
c1a949cae5 * various: intltoolize and gettextize properly.
svn: r6144
2006-03-15 23:58:23 +00:00
Alex Roitman
edb238694b * src/GrampsDb/_GrampsBSDDB.py (update_empty,update_real): Add
functions for updating the display;
	(gramps_upgrade): Set up display updaters;
	(gramps_upgrade_9): Reflect progess of db upgrade.
	(low_level_9): Return status and length of the db.
	(_table_low_level_9): Return table length if successful.
	* src/ViewManager.py (post_load): Remove database upgrade, since
	db.load takes care of upgrade.


svn: r6143
2006-03-14 19:49:34 +00:00
Alex Roitman
1d5b63aaca * src/RelLib/_NoteBase.py (NoteBase.serialize): Work out the case of note being None -- leftover from gramps20.
svn: r6142
2006-03-14 03:46:54 +00:00
Alex Roitman
6d43f42860 * src/PluginUtils/_ReportOptions.py: Use correct namespace for the base clases from _Options module.
svn: r6139
2006-03-12 04:13:23 +00:00
Alex Roitman
ea5b865c64 Remove dependency on load_plugins
svn: r6136
2006-03-11 04:58:58 +00:00
Don Allingham
f2f376765b fix map view startup traceback
svn: r6135
2006-03-11 04:42:49 +00:00
Alex Roitman
199a9b7616 * src/Plugins.py, src/PluginMgr.py: Move to ReportUtils.
svn: r6133
2006-03-11 01:12:06 +00:00
Don Allingham
4521959d93 add remove function in FamilyView
svn: r6132
2006-03-10 22:57:22 +00:00
Don Allingham
6ea836078d add remove function in FamilyView
svn: r6131
2006-03-10 22:38:45 +00:00
Don Allingham
7eaa8084d9 icon fixes
svn: r6129
2006-03-10 21:05:00 +00:00
Don Allingham
b2e95112e1 MediaView integrity after add
svn: r6127
2006-03-10 04:29:08 +00:00
Don Allingham
d064e0bb8b Fix adding of places in internal map
svn: r6126
2006-03-10 03:26:21 +00:00
Don Allingham
ff4dcf2c9e commit places properly
svn: r6125
2006-03-10 02:46:19 +00:00
Don Allingham
e7f06df78e add/delete families better
svn: r6124
2006-03-09 22:37:19 +00:00
Alex Roitman
7784228360 * PluginUtils: Add module with Report and Tool utils.
svn: r6121
2006-03-09 20:49:29 +00:00
Don Allingham
628457e159 Add option to suppress tooltips in trees
svn: r6111
2006-03-09 19:07:13 +00:00
Don Allingham
b6a023b6a1 format fixes
svn: r6108
2006-03-09 03:07:41 +00:00
Don Allingham
e5847754d1 family selection
svn: r6107
2006-03-09 01:55:03 +00:00
Alex Roitman
0dc5b7dc6a Update
svn: r6105
2006-03-08 22:01:08 +00:00
Alex Roitman
3af54ec416 * src/GramspDb/_GrampsBSDDB.py: Minor fixes.
svn: r6104
2006-03-08 17:44:29 +00:00
Don Allingham
de2a6f4d1e make txn optional
svn: r6102
2006-03-08 17:22:45 +00:00
Don Allingham
e5375d15fc remove WindowsUtils
svn: r6101
2006-03-08 05:22:58 +00:00
Alex Roitman
86dfa9f69f * src/DateHadnler: Move all date parsers/displayers into new directory
svn: r6097
2006-03-08 00:55:04 +00:00
Don Allingham
208bd08bc1 improve family editor
svn: r6096
2006-03-07 23:49:26 +00:00
Don Allingham
62c98e70aa initialize families properly
svn: r6093
2006-03-07 03:35:46 +00:00
Don Allingham
4115e92d1c fix parameters
svn: r6092
2006-03-06 22:30:17 +00:00
Don Allingham
84b995dd6a family drag-n-drop support
svn: r6091
2006-03-06 20:59:00 +00:00
Don Allingham
913cdc4095 event ref commit
svn: r6090
2006-03-06 05:43:47 +00:00
Don Allingham
e93bff1a40 gender selection
svn: r6088
2006-03-06 05:29:24 +00:00
Don Allingham
35134198cf fix focus out event
svn: r6087
2006-03-06 05:22:45 +00:00
Don Allingham
f036c5a44b column editing
svn: r6085
2006-03-05 23:39:20 +00:00
Don Allingham
0f450408b6 image changes for lock icons
svn: r6084
2006-03-05 19:06:40 +00:00
Don Allingham
fcdf07ccdd new logging scheme
svn: r6080
2006-03-05 04:31:24 +00:00
Don Allingham
5ce0ba4f12 relocate glade files
svn: r6075
2006-03-04 22:53:46 +00:00
Don Allingham
743830672b set version number for svn
svn: r6073
2006-03-04 16:26:31 +00:00
Don Allingham
e5164dce32 module renames
svn: r6072
2006-03-04 16:08:52 +00:00
Don Allingham
320988d7ca moved files to DataViews
svn: r6071
2006-03-04 15:37:04 +00:00
Martin Hawlisch
664994757e * src/Models/Makefile.am: Added file
* Editors/__init__.py: Added file



svn: r6070
2006-03-04 14:29:39 +00:00
Don Allingham
3de6baa8bc fix image path
svn: r6069
2006-03-04 06:45:54 +00:00
Don Allingham
58842b8567 create new Editors submodule
svn: r6067
2006-03-04 05:24:16 +00:00
Don Allingham
a5ab186d41 module rename
svn: r6066
2006-03-04 04:35:28 +00:00
Don Allingham
7f9c9853f7 module rename
svn: r6065
2006-03-04 04:31:50 +00:00
Don Allingham
d3f09759a7 module rename
svn: r6063
2006-03-04 04:26:08 +00:00
Don Allingham
2caaf13371 fix Makefile.am files
svn: r6061
2006-03-04 02:56:23 +00:00
Alex Roitman
6e2953b959 * src/plugins/stock_link.png: Remove (already present in
src/images, used by ScratchPad only).
	* src/Config, src/Mime, src/images: Ignore Makefiles.


svn: r6060
2006-03-04 00:19:54 +00:00
Don Allingham
0f46b2c3a6 set up for installation
svn: r6059
2006-03-03 23:48:11 +00:00
Martin Hawlisch
f6195a9040 * src/Makefile.am: More updates to latest file moves/remanes to make "make distcheck" work for me
svn: r6057
2006-03-03 12:49:39 +00:00
Martin Hawlisch
ee498ebaf4 * src/plugins/TestcaseGenerator.py: Feed in more data, support Repositories, properly set types as (id,str) tuples instead of custom strings.
svn: r6056
2006-03-03 12:31:35 +00:00
Martin Hawlisch
ac8b4c35f9 2006-03-03 Martin Hawlisch <Martin.Hawlisch@gmx.de>
* src/Mime/__init__.py: Honour renamed files
        * src/Makefile.am: Images have been moved into subdir (makes "make" work again)
        * src/FamilyView.py (info_string): Done crash is None as handle was
        given (e.g. no father in family)




svn: r6055
2006-03-03 08:43:02 +00:00
Don Allingham
c14fb7c520 rename module
svn: r6053
2006-03-03 04:27:56 +00:00
Don Allingham
3a4d651257 module renames
svn: r6051
2006-03-03 00:38:41 +00:00
Don Allingham
6da19d03af module renames
svn: r6050
2006-03-03 00:34:20 +00:00
Alex Roitman
a3de395e16 Add Mime package
svn: r6047
2006-03-03 00:23:04 +00:00
Don Allingham
4a04791292 update new installation paths
svn: r6046
2006-03-03 00:17:58 +00:00
Alex Roitman
e65c5f4836 Add Config package
svn: r6044
2006-03-03 00:10:52 +00:00
Alex Roitman
ab07389727 * src/*png, src/*jpg: move under images directory.
svn: r6043
2006-03-02 23:37:16 +00:00
Alex Roitman
33526c400b * calendar, filers: Remove directories.
svn: r6040
2006-03-02 23:08:28 +00:00
Don Allingham
f87e5365b3 make distcheck fixes
svn: r6039
2006-03-02 21:28:27 +00:00
Alex Roitman
bb2396df3f * src/GrampsLogger/Makefile.am (pkgdata_PYTHON): Typo.
* configure.in: Generate Makefile-s in new directories.
	* src/Makefile.am (SUBDIRS): Typo.


svn: r6036
2006-03-02 20:44:39 +00:00
Alex Roitman
84fd885fef * *png, *jpg: Add proper svn:mime-type, remove mime-type.
svn: r6035
2006-03-02 20:19:05 +00:00
Alex Roitman
432ebe6bbd Remove .cvsignore files from all directories.
svn: r6034
2006-03-02 19:30:29 +00:00
Don Allingham
5a0db4f57d fixed mime types
svn: r6021
2006-03-02 16:09:34 +00:00
Don Allingham
f545e1d769 * src/EditSecondary.py: Base class for standard secondary object
editors (not including reference editors)
* src/AddrEdit.py: Base on EditSecondary
* src/AttrEdit.py: Base on EditSecondary
* src/LocEdit.py: Base on EditSecondary
* src/NameEdit.py: Base on EditSecondary
* src/UrlEdit.py: Base on EditSecondary


svn: r6019
2006-03-02 04:32:37 +00:00
Don Allingham
d251bbe7c1 * src/EditPerson.py: fix focus_out_event signal handling
* src/DisplayTabs.py: provide double click/edit button handling
for back references.


svn: r6018
2006-03-01 23:27:45 +00:00
Alex Roitman
4954953968 * src/Exporter.py (Exporter): Callback support, busy cursor.
* src/ViewManager.py (ViewManager): Move progress bar handling
into DisplayState.
* src/DisplayState.py (DisplayState): Move progress bar here.
* src/Assistant.py (Assistant.set_busy_cursor): Add method.
* src/plugins/WritePkg.py: Callback support.
* src/GrampsDb/_WriteGedcom.py: Callback support.


svn: r6016
2006-03-01 06:16:36 +00:00
Don Allingham
6f8ae3cd51 * src/AddrEdit.py: remove already_exist check in favor of exception
* src/AttrEdit.py: remove already_exist check in favor of exception
* src/DisplayState.py: remove already_exist variable
* src/DisplayTabs.py: handle exception
* src/EditEventRef.py: remove already_exist check in favor of exception
* src/EditFamily.py: update to derive from EditPrimary
* src/EditMedia.py: update to derive from EditPrimary
* src/EditMediaRef.py: remove already_exist check in favor of exception
* src/EditPerson.py: update to derive from EditPrimary
* src/EditPlace.py: update to derive from EditPrimary
* src/EditRepository.py:update to derive from EditPrimary
* src/EditSource.py: update to derive from EditPrimary
* src/EditSourceRef.py: remove already_exist check in favor of exception
* src/Errors.py: new exception
* src/EventEdit.py: update to derive from EditPrimary
* src/EventView.py: catch exception of window already exists
* src/FamilyList.py: catch exception of window already exists
* src/FamilyView.py: catch exception of window already exists
* src/GrampsWidgets.py: typos
* src/NameEdit.py: remove already_exist check in favor of exception
* src/PedView.py: catch exception of window already exists
* src/PersonView.py: catch exception of window already exists
* src/PlaceView.py: catch exception of window already exists
* src/Plugins.py: catch exception of window already exists
* src/UrlEdit.py: remove already_exist check in favor of exception
* src/const.py.in: dynamically determine path
* src/gramps.glade: name changes
* src/gramps.py: set path


svn: r6014
2006-03-01 05:08:11 +00:00
Alex Roitman
2dd4571b39 * src/plugins/WritePkg.py (PackageWriter.export): Add existing
image filenames to the archive.
* src/GrampsDb/_WriteXML.py: Improve callback use, add another
strip_photo option.
* src/ViewManager.py: Typos.
* src/Exporter.py: Start for callback support.
* src/GrampsDb/_WriteGedcom.py: Callback support.


svn: r6013
2006-03-01 05:04:22 +00:00
Alex Roitman
e3397ecf96 * src/ViewManager.py (ViewManager.import_data): Properly process
non-native (plugin) imports; (_do_import): factor common code into
the new method.
* src/GrampsDb/_ReadXML.py (GrampsParser.__init__): Skip updating
if callback is empty (non-callable).
* src/docgen/HtmlDoc.py (HtmlDoc.load_tpkg): Use tarfile.
* src/ArgHandler.py (ArgHandler.cl_import): Use tarfile.
* src/plugins/WritePkg.py (PackageWriter.export): Use tarfile.
* src/plugins/ReadPkg.py (impData): Use tarfile module.


svn: r6012
2006-03-01 00:26:29 +00:00
Alex Roitman
577ced2969 * various: merge changes made in gramps20 up until R2_0_10_real tag.
* configure.in: Bump up release number.
* Release: Version 2.0.10 "Holy Hand Grenade of Antioch" released.


svn: r6011
2006-02-28 19:54:35 +00:00
Don Allingham
fc3b828b00 * src/DisplayTabs.py: repository reference editor
* src/EditRepository.py: repository reference editor
* src/EditSource.py: repository reference editor
* src/GrampsWidgets.py: more readonly support
* src/RepositoryRefEdit.py: removed
* src/gramps.glade: repository reference editor
* src/EditRepositoryRef.py: added - repository reference editor


svn: r5993
2006-02-26 04:29:39 +00:00
Don Allingham
d95c1d7e17 * src/DisplayTabs.py: backreference tabs
* src/EditEventRef.py: backreference tabs
* src/EditMedia.py: backreference tabs
* src/EditMediaRef.py: backreference tabs
* src/EditPlace.py: backreference tabs
* src/EditSource.py: backreference tabs
* src/EventEdit.py: backreference tabs
* src/gramps.glade: notebook tab fixes


svn: r5987
2006-02-24 22:00:20 +00:00
Alex Roitman
f21f724316 * src/RelLib/_Person.py (Person.get_handle_referents): Add
birth_ref and death_ref to the list of referents.


svn: r5983
2006-02-24 20:20:22 +00:00
Don Allingham
44c661a16b * src/EditEventRef.py: switch to monitored widgets, place selector
* src/EventEdit.py: switch to monitored widgets, place selector
* src/GrampsWidgets.py: place selection widget
* src/GrampsDb/_GrampsDbBase.py: move completion widget, handle
place lists


svn: r5980
2006-02-24 05:05:46 +00:00
Don Allingham
1020a104ff * src/EditPlace.py: use monitored widgets
* src/EditSource.py: use monitored widgets
* src/EventEdit.py: use monitored widgets
* src/GrampsWidgets.py: start of monitored place
* src/GrampsDb/_GrampsDbBase.py: monitor place changes


svn: r5975
2006-02-23 03:13:15 +00:00
Alex Roitman
69c5b7d43b * src/EditSourceRef.py (__init__): Typos.
* src/DisplayTabs.py (GalleryTab.add_button_clicked): Typos.


svn: r5970
2006-02-22 19:11:36 +00:00
Don Allingham
13d4d27af9 * src/EditMediaRef.py: added
* src/EditPerson.py: call EditMediaRef
* src/EditPlace.py: remove import ImageSelect
* src/DisplayTabs.py: media double click
* src/UrlEdit.py: Full edit functionality
* src/ImageSelect.py: removed


svn: r5969
2006-02-22 04:33:34 +00:00
Don Allingham
89f0479a6c * src/AddrEdit.py: Full edit functionality
* src/AttrEdit.py: Full edit functionality
* src/DisplayTabs.py: call EditEventRef
* src/EditSourceRef.py: Full edit functionality
* src/EventEdit.py: separate out EditEventRef
* src/GrampsWidgets.py: Add date, menu, type handling widgets
* src/NameEdit.py: Full edit functionality
* src/gramps.glade: fix names and privacy buttons
* src/EditEventRef.py: broken out of EditEvent


svn: r5967
2006-02-22 00:12:52 +00:00
Don Allingham
a167440cc6 * src/GrampsWidgets.py: Add monitored widgets for type and combo
* src/EditFamily.py: use MonitoredType
* src/EditSourceRef.py: complete monitoring of values
* src/gramps.glade: add text field


svn: r5966
2006-02-21 05:13:15 +00:00
Don Allingham
ac5d9287bd * src/DisplayTabs.py: connect new EditSourceRef editor
* src/EditSourceRef.py: update data on save
* src/gramps.glade: hide src_edit_ref by default
* src/plugins/Makefile.am: Calendar.py and holidays.xml


svn: r5964
2006-02-20 04:59:20 +00:00
Don Allingham
bd405f8367 * src/DisplayModels.py: display date properly
* src/DisplayTabs.py: fix create_buttons default value
* src/GrampsDb/_ReadGedcom.py: handle the "FORM" value for
PLAC definition


svn: r5956
2006-02-19 04:45:54 +00:00
Don Allingham
4cb3558234 fix character translation
svn: r5952
2006-02-17 22:40:42 +00:00
Don Allingham
3b94e2abf1 * src/GrampsDb/_GedTokens.py: fix constant table
* src/GrampsDb/_ReadGedcom.py: ALIA fix


svn: r5943
2006-02-16 15:30:59 +00:00
Don Allingham
2dd0d8002b * src/DisplayTabs.py: Set up for EditSourceRef
* src/GrampsMime.py: handle special mime types
* src/gramps.glade: add sourceref editor
* src/GrampsDb/_GedTokens.py: Unused tokens, FTM 3.0 tokens
* src/GrampsDb/_ReadGedcom.py: use TOKEN_IGNORE
* src/EditSourceRef.py: added


svn: r5942
2006-02-16 05:06:40 +00:00
Don Allingham
f14d881fb7 * src/DisplayState.py: Manage history on db change
* src/Navigation.py: Manage history on db change


svn: r5918
2006-02-10 05:36:32 +00:00
Don Allingham
e17636f239 * src/PedView.py: fix quote
* src/PersonView.py: reset db and build tree on database reload
* src/GrampsDb/_GrampsDbBase.py: clear active on database change


svn: r5917
2006-02-10 05:10:35 +00:00
Don Allingham
84a5a1e133 * src/FamilyView.py: initialize Family
svn: r5916
2006-02-10 04:20:57 +00:00
Don Allingham
30e03eb193 * src/EditFamily.py: fix empty gramps_id for new families
* src/GrampsWidgets.py: fix empty gramps_id for new families


svn: r5913
2006-02-10 03:37:20 +00:00
Don Allingham
76ff5f0771 * src/DisplayTabs.py: fix editing of person events
* src/EditPerson.py: sort out birth/death references
* src/EventEdit.py: Handle event references properly
* src/PageView.py: Add setting default person
* src/PersonView.py: Add SetActive action
* src/ViewManager.py: move ColumnEdit action


svn: r5912
2006-02-10 01:10:52 +00:00
Alex Roitman
37a0d42890 * src/data/gramps.desktop: Add French strings.
svn: r5909
2006-02-09 18:58:09 +00:00
Alex Roitman
e3c1b51913 * src/data/gramps.desktop: Improve Russian string, add Office
category.


svn: r5908
2006-02-09 18:54:13 +00:00
Don Allingham
51ffb47d4b * src/PeopleModel.py: clear data cache
svn: r5907
2006-02-09 05:10:20 +00:00
Don Allingham
dcdd9e9765 * src/EditFamily.py: set focus on surname
* src/EditPerson.py: hook up add child
* src/PersonView.py: fix delete person dispay
* src/ViewManager.py: re-enable bookmark functions


svn: r5902
2006-02-09 00:35:46 +00:00
Don Allingham
47091ad736 * src/DisplayTabs.py: pychecker fixes
* src/EditMedia.py: Handle Note types properly
* src/EditPerson.py: minor cleanup
* src/EventEdit.py: pychecker fixes
* src/MediaView.py: Don't call NoteEditor, use EditMedia instead
* src/PageView.py: pychecker fixes
* src/PersonView.py: typo
* src/gramps.glade: Handle note types in media editor


svn: r5901
2006-02-08 21:13:05 +00:00
Richard Taylor
200b8cc17d tidied up the class strucand added documentation to ObjectSelector
svn: r5900
2006-02-08 16:32:47 +00:00
Don Allingham
9103dbfd0c * src/DisplayTabs.py: reordering items in a Gallery
svn: r5899
2006-02-08 16:20:03 +00:00
Richard Taylor
7c6d9c02ee fixed add button in object selector.
svn: r5898
2006-02-08 15:29:46 +00:00
Richard Taylor
bca4bdf580 integrated treeview/model into objectselector.
svn: r5897
2006-02-08 15:03:06 +00:00
Don Allingham
f8fba0a3b5 * src/DisplayModels.py: gobject.TYPE_STRING -> str
* src/EditFamily.py: privacy widget
* src/EditPerson.py: privacy widget
* src/EventEdit.py: save support
* src/GrampsWidgets.py: Add PrivacyButton support
* src/PageView.py: make sure active before updating rows
* src/edit_person.glade: privacy icons
* src/gramps.glade: privacy icons


svn: r5895
2006-02-08 05:08:28 +00:00
Don Allingham
92f12f906b * src/SourceView.py: fix source query dialog, fix source deleting
svn: r5894
2006-02-07 04:16:47 +00:00
Don Allingham
034e02ecca * src/SourceView.py: fix source query dialog
* src/ansel_utf8.py: fix unicode conversion
* src/GrampsDb/_GrampsDbBase.py: fix surname detection
* src/GrampsDb/_ReadGedcomp.py: fix note importation


svn: r5893
2006-02-07 03:07:31 +00:00
Don Allingham
63adbbaaf0 * src/EditFamily.py: Complete save operation, handle new family
* src/EditMedia.py: Add file selector button
* src/FamilyList.py: Save properly
* src/edit_person.glade: lock icon
* src/gramps.glade: file selector button


svn: r5892
2006-02-06 23:44:09 +00:00
Alex Roitman
87c76ed6fb * src/GrampsDb/_GrampsBSDDB.py (transaction_commit): Typo.
svn: r5891
2006-02-06 21:24:39 +00:00
Don Allingham
2d4de12f87 * src/EditFamily.py: start apply operation, data saving
svn: r5890
2006-02-06 05:03:44 +00:00
Don Allingham
694d3d7671 * src/AttrEdit.py: remove unused parameters
* src/EditFamily.py: start apply operation


svn: r5889
2006-02-05 22:23:53 +00:00
Don Allingham
fffadfd0a2 * src/DisplayModels.py: handle places correctly
* src/DisplayTabs.py: Add LocationTab
* src/EditPlace.py: update to use DisplayTabs
* src/ImageSelect.py: remove SelectObject
* src/LocEdit.py: use DisplayManager
* src/gramps.glade: update editors
* src/GrampsDb/_GrampsDbBase.py: use db_is_open
* src/RelLib/_Place.py: typo


svn: r5887
2006-02-05 19:00:25 +00:00
Don Allingham
91564dff90 * src/ChooseParents.py: removed
* src/ListBox.py: removed


svn: r5885
2006-02-05 05:19:51 +00:00
Don Allingham
30c8de7bc3 * src/TransTable.py: removed
* src/AddSpouse.py: removed
* src/Marriage.py: removed
* src/GrampsDb/_ReadGedcom.py: remove useless comparea


svn: r5884
2006-02-05 01:23:25 +00:00
Don Allingham
1504419e4b * src/AddMedia.py: relative path support
* src/AddrEdit.py: add DisplayTab support
* src/DdTargets.py: repository references support
* src/DisplayTabs.py: repository reference support
* src/EditMedia.py: save support
* src/EditSource.py: save support
* src/ImageSelect.py: remove unused stuff
* src/Sources.py: use object instead of gobject.TYPE_PYOBJECT
* src/Utils.py: relative path calculator
* src/ViewManager.py: change cwd to directory of the file so that
relative paths work
* src/edit_person.glade: fix size
* src/gramps.glade: add relative path indicator
* src/GrampsDb/_ReadGedcom.py: remove useless compare


svn: r5883
2006-02-04 23:29:44 +00:00
Don Allingham
bb9731bea7 * src/AttrEdit.py: use DisplayTabs
* src/NameEdit.py: use DisplayTabs
* src/gramps.glade: use DisplayTabs


svn: r5882
2006-02-04 04:52:16 +00:00
Alex Roitman
c944cbd013 * src/PeopleModel.py: Correct column numbers.
* src/GrampsDb/_ReadGedcom.py (parse_header_source): Typo.
* src/RelLib/_RepoRef.py (unserialize): Return unserialized object.


svn: r5881
2006-02-04 00:56:54 +00:00
Alex Roitman
6bf86aa119 * src/Makefile.am: Remove absent glade files from the list.
* src/GrampsDb/Makefile.am: Ship new glade files; correct directory.


svn: r5880
2006-02-04 00:12:32 +00:00
Don Allingham
996295cd11 * src/DisplayTabs.py: Handle notes properly
* src/EventEdit.py: commit modified events
* src/PeopleModel.py: remove unused functions
* src/PersonView.py: remove debug


svn: r5876
2006-02-03 22:31:46 +00:00
Alex Roitman
7329720f07 * RelLib/_*.py: Make objects serialize all the way down to built-in
python objects, so that Gramps classes are never pickled.
* Date.py, CalSdn.py: Move to RelLib.
* src/dates/Date_*.py: Use new Date.
* src/plugins/*.py: Use new Date.
* src/GrampsDb/_*.py: Use new Date, new unserialize.
* src/*.py: Use new Date.


svn: r5875
2006-02-03 22:03:53 +00:00
Richard Taylor
fd279d348c Added more columns
svn: r5874
2006-02-03 16:42:19 +00:00
Richard Taylor
7ef194d5ee added initial fast model implementation
svn: r5872
2006-02-03 15:49:59 +00:00
Don Allingham
833e5f7d96 * src/PersonView.py: history
* src/EditPerson.py: start the save routine.


svn: r5871
2006-02-03 05:31:42 +00:00
Don Allingham
c980bd42bd * src/DdTargets.py: add support for data items in sources
* src/EventEdit.py: use DisplayTabs
* src/gramps.glade: New EventEditor with display tabs
* src/DisplayTabs.py: specify data _DND_TYPE, don't enable d-n-d if
_DND_TYPE not defined


svn: r5868
2006-02-02 22:48:21 +00:00
Don Allingham
f0b3fafd91 * src/EditMedia.py: break out of ImageSelect, since ImageSelect
will probably go away. Add media editing ability using DisplayTabs.
* src/MediaView.py: call EditMedia
* src/gramps.glade: clean up media editor dialog


svn: r5867
2006-02-02 19:43:42 +00:00
Don Allingham
2d9449b77e * src/DisplayState.py: add standard function for using WATCH cursor
* src/PageView.py: enable watch cursor when it is necessary to
rebuild a page.


svn: r5866
2006-02-02 17:00:37 +00:00
Alex Roitman
2607f4180e * src/GrampsDb/_GrampsBSDDB.py (transaction_begin,
transaction_commit): only do secondary index magic if not
instructde otherwise; (BdbTransaction.__init__): accept additional
argument, pass it on to Transaction class.
* src/GrampsDb/_GrampsDbBase.py (Transaction.__init__): accept
additional argument for no_magic.
* src/GrampsDb/_ReadGedcom.py (NoteParser): count people during
first pass; (parse_gedcom_file): start transaction with or without
secondary index magic.
* src/GrampsDb/_ReadXML.py (LineParser):count people during
first pass; (parse): start transaction with or without secondary
index magic.


svn: r5865
2006-02-02 14:53:31 +00:00
Don Allingham
6e61a0afaa * src/EditPerson.py: unused code
* src/ImgManip.py: convienence code
* src/Sources.py: DisplayManager-ize the SourceEditor


svn: r5864
2006-02-02 05:20:42 +00:00
Don Allingham
edcf50b4e6 * src/DisplayTabs.py: Hook up editors
* src/EditFamily.py: Add _DND_TYPE
* src/UrlEdit.py: Add type selector
* src/Utils.py: add type/string maps for url types
* src/gramps.glade: add type selector comboboxentry
* src/ObjectSelector/_ObjectSelectorWindow.py: fix window management
so that the system is closed properly


svn: r5863
2006-02-01 21:57:11 +00:00
Alex Roitman
006d2995a2 * src/GrampsDb/_GrampsBSDDB.py (_find_from_handle): Revert the
change, as it does not seem to bring any speedup.


svn: r5862
2006-02-01 19:11:25 +00:00
Alex Roitman
c867ab1937 * src/GrampsDb/_GrampsBSDDB.py (_find_by_handle): delegate key
lookup to dbmap.db; (transaction_commit, transaction_begin):
Enable removing/rebuilding of the secondary index.
* src/GrampsDb/_ReadXML.py (LineParser): Improve first pass.


svn: r5861
2006-02-01 06:25:51 +00:00
Alex Roitman
b13d42d960 * src/GrampsDb/_GrampsDbBase.py (find_next_*_gramps_id): check
whether the key exists, do not read.
* src/GrampsDb/_GrampsBSDDB.py (find_next_*_gramps_id): Remove
methods, as there's no need to override ones the DbBase now.


svn: r5860
2006-01-31 20:39:25 +00:00
Don Allingham
3bb985186d * src/EditPerson.py: clean up building notebook pages
* src/DisplayTabs.py: support for drag-n-drop


svn: r5859
2006-01-31 15:13:54 +00:00
Alex Roitman
2c1d8b226c * src/GrampsDb/_GrampsBSDDB.py (get_gramps_ids): Move to
GrampsDbBase; (_get_obj_from_gramps_id,_find_from_handle): Only
read data if the key exists.
* src/GrampsDb/_GrampsDbBase.py (get_gramps_ids,has_gramps_id):
Add methods; (check_*_from_handle): Add methods that make sure
that object exists in the db, create as necessary, but do not read
if it exists; (_check_from_handle): Add lower-level method;
(_find_from_handle): Only read data if the key exists.
* src/GrampsDb/_GrampsInMemDB.py (get_gramps_ids): Move to
GrampsDbBase.
* src/GrampsDb/_ReadXML.py: Multiple improvements.


svn: r5858
2006-01-31 01:41:55 +00:00
Don Allingham
2c4f2b8225 * src/DdTargets.py: Add support for EventRef
* src/DisplayTabs.py: Drag and drop support in base class
* src/EditPerson.py: remove unused functions
* src/edit_person.glade: privacy flag change
* src/gramps.glade: add tooltip


svn: r5857
2006-01-30 05:01:21 +00:00
Alex Roitman
ed311ea2d2 * src/Exporter.py: Set initial person in case there's no active.
* src/ViewManager.py (find_initial_person): Remove method.
* src/GrampsDb/_GrampsDbBase.py (find_initial_person): Add method.


svn: r5856
2006-01-29 22:05:20 +00:00
Alex Roitman
79ae8c886f * src/GrampsDb/_WriteXML.py (write_place_obj): Always write ptitle.
* src/GrampsDb/_ReadXML.py: Prase file and ptitle tags.
* example/gramps/example.gramps: Update XML example.


svn: r5855
2006-01-29 21:39:36 +00:00
Don Allingham
dc1f60787c * src/DisplayTabs.py: hook up event ref editor
svn: r5854
2006-01-29 05:53:17 +00:00
Alex Roitman
8c39741dae * doc/grampsxml.dtd: Events preceed people.
* doc/grampsxml.rng: Events preceed people.
* src/GrampsDb/_WriteXML.py: Events preceed people.
* src/GrampsDb/_ReadXML.py: Parse old and new style events, old
witnesses, new eventrefs.


svn: r5853
2006-01-29 05:12:01 +00:00
Alex Roitman
dbdd8fe0e6 * src/GnomeMime.py: Import neede modules.
svn: r5852
2006-01-29 04:53:08 +00:00
Don Allingham
dfcdcab183 * src/DisplayTabs.py: add SourceRefModel, NameEmbedList,
AddrEmbedList
* src/EditPerson.py: Use new EmbedLists
* src/ViewManager.py: set max value on set_fraction
* src/edit_person.glade: remove old lists
* src/GrampsDb/_ReadGedcom.py: fix types


svn: r5850
2006-01-29 04:30:16 +00:00
Don Allingham
698ba24d11 * src/DisplayTabs.py: add SourceRefModel
* src/EditFamily.py: fix variable names


svn: r5849
2006-01-28 20:38:03 +00:00
Don Allingham
01041620c5 * src/GrampsDb/_GrampsBSDDB.py: qualify strxfrm
svn: r5848
2006-01-28 19:32:09 +00:00
Alex Roitman
52ba278ea1 * src/GrampsDb/_GrampsBSDDB.py: Typos.
* src/GrampsDb/_WriteXML.py: Minor corrections.
* doc/grampsxml.rng: Updates.
* example/gramps/example.gramps: New XML example.


svn: r5847
2006-01-28 04:23:37 +00:00
Alex Roitman
6104ff1053 * doc/grampsxml.rng: Update to reflect new XML.
svn: r5846
2006-01-28 01:05:04 +00:00
Alex Roitman
d5c04162a2 * doc/grampsxml.dtd: Update to reflect new XML.
* src/GrampsDb/_ReadGedcom.py (parse_repo_ref_caln): Properly set
media type.
* src/GrampsDb/_WriteXML.py: More XML updates.


svn: r5845
2006-01-28 00:43:27 +00:00
Alex Roitman
9b90eeb365 * src/GrampsDb/_ReadGedcom.py: Typo.
* src/GrampsDb/_GrampsBSDDB.py: Correct duplicate event IDs on upgrade.
* src/GrampsDb/_WriteXML.py: More XML updates.


svn: r5844
2006-01-27 20:38:33 +00:00
Don Allingham
3b1f96013a * src/GrampsDb/_ReadGedcomp.py: preselect gramps ids for events
svn: r5843
2006-01-27 18:53:22 +00:00
Alex Roitman
25c2210169 * src/GrampsDb/_ConstXML.py: More XML export fixes.
* src/GrampsDb/_GrampsBSDDB.py: More XML export fixes.
* src/GrampsDb/_GrampsDbBase.py: More XML export fixes.
* src/GrampsDb/_GrampsInMemDB.py: More XML export fixes.
* src/GrampsDb/_WriteXML.py: More XML export fixes.


svn: r5842
2006-01-27 06:54:35 +00:00
Don Allingham
e71ae9e24e * src/GrampsDb/_ReadGedcom.py: fix repeated translation call
svn: r5841
2006-01-27 05:01:48 +00:00
Alex Roitman
bad0627976 * src/GrampsDb/_WriteXML.py: Handle some of new XML.
svn: r5840
2006-01-27 02:13:17 +00:00
Alex Roitman
607d14e942 * src/GrampsDb/_ConstXML.py: Add new file.
* src/GrampsDb/Makefile.am: Ship new file.
* src/GrampsDb/_GrampsBSDDB.py: Convert family and parent family
relations from integer to tuple on upgrade.
* src/GrampsDb/_WriteGedcom.py: Convert from tuple to string.


svn: r5839
2006-01-26 22:58:49 +00:00
Don Allingham
33360a9a7f * src/DisplayModels.py: optimization
* src/DisplayTabs.py: improved docs
* src/ViewManger.py: remove import_tool_callback


svn: r5838
2006-01-26 22:31:34 +00:00
Alex Roitman
f958ac04cf 'generic' for the namespace argument; Remove unneeded import.
svn: r5837
2006-01-26 19:49:40 +00:00
Alex Roitman
df11430fc2 * src/GenericFilters.py (get_filters): Use default value of
'generic' for the namespace argument.


svn: r5836
2006-01-26 19:47:42 +00:00
Alex Roitman
5152e29d9c * src/GrampsDb/_GrampsBSDDB.py: Add proper upgrade path from
within load.


svn: r5833
2006-01-25 21:06:23 +00:00
Don Allingham
3f1c047124 * src/DisplayTabs.py: use idle_loop to load data for source
backreferences
* src/EditSource.py: close the BackReferences tab to turn off the
idle loop if still active
* src/GrampsDb/_GrampsBSDDB.py: close secondary indexes before primary


svn: r5829
2006-01-25 17:59:22 +00:00
Don Allingham
086b1f5e17 * src/DisplayTabs.py: SourceRef tab
* src/EditSource.py: New source ref dialog
* src/grampsl.glade: New source ref dialog
* src/GrampsDb/_GedTokens.py: repository tokens
* src/GrampsDb/_ReadGedcom.py: repository support


svn: r5828
2006-01-25 05:07:10 +00:00
Alex Roitman
4f5f5df408 * src/GrampsDb/_GrampsBSDDB.py (load): Set max locks and objects
to 25000; Add DB_RECOVER flag to the environment.


svn: r5827
2006-01-25 00:03:31 +00:00
Don Allingham
c0aeb95246 * src/DisplayModels.py: Fix column handling for repositories
* src/RepositoryView.py: Columns for repositories
* src/GrampsDb/_GrampsDbBase.py: default columns settings for repositories
* src/GrampsDb/_ReadGedcom.py: Import repository information
* src/RelLib/_Event.py: check Event type values


svn: r5826
2006-01-24 21:09:34 +00:00
Don Allingham
e4e6e2e7de * src/DisplayTabs.py: Add source ref model/tab
* src/PeopleModel.py: specify handle column
* src/PersonView.py: fix selection column
* src/EditFamily.py: remove icon in father/mother column, add source tab


svn: r5825
2006-01-24 04:13:21 +00:00
Don Allingham
d2092f04d7 * src/DisplayState.py: Warning log handler, add timeout handler
svn: r5824
2006-01-23 22:36:34 +00:00
Don Allingham
4b01a84b63 * src/DisplayState.py: Warning log handler
* src/EditFamily.py: remove icon in father/mother column
* src/EditPerson.py: remove commented out code
* src/GrampsWidgets.py: add WarnButton
* src/ViewManager.py: use WarnButton in the status bar
* src/GrampsDb/_GedTokens.py: Add HEAD
* src/GrampsDb/_ReadGedcom.py: New min-lexical analyzer


svn: r5823
2006-01-23 21:48:34 +00:00
Don Allingham
e67691eba7 * src/DisplayState.py: add info button
* src/ViewManager.py: add info button
* src/GrampsWidgets.py: add optional size to icon button


svn: r5822
2006-01-23 04:09:20 +00:00
Don Allingham
b275006372 * src/GrampsDb/_ReadGedcom.py: fix event handling, fix skip_record
svn: r5821
2006-01-23 01:55:29 +00:00
Don Allingham
5a04ba7350 * src/Makefile.am: remove PeopleView.py
* src/PeopleView.py: removed, replaced by PersonView
* src/PersonView.py: set ellipsize property
* src/GrampsDb/_ReadGedcom.py: fix event handling


svn: r5820
2006-01-23 01:27:46 +00:00
Don Allingham
ecd05e4e79 * src/PeopleModel.py: fix sorting of subnames
* src/Utils.py: fix GEDCOM mappings
* src/GrampsDb/_ReadGedcom.py:  More updates, bring up to the new RelLib


svn: r5816
2006-01-22 02:06:46 +00:00
Alex Roitman
61a061e930 * src/ViewManager.py (pulse_progressbar): Print percentage text;
Set cursor to WATCH on open and import.


svn: r5815
2006-01-21 20:55:06 +00:00
Don Allingham
72afadb1ff * src/PageView.py: remove debug statements
* src/ViewManager.py: check for existing action group before removing


svn: r5814
2006-01-21 05:05:25 +00:00
Alex Roitman
868b662213 * src/GrampsDb/_GrampsDbBase.py: Move _update_reference_map into
_commite_base.
* src/GrampsDb/_GrampsBSDDB.py: Move _update_reference_map into
_commite_base.


svn: r5811
2006-01-20 21:52:26 +00:00
Don Allingham
ee7ad60fa8 * src/GenericFilter.py: implement short-circuit if only rule is
Everyone
* src/NameDisplay.py: optimization
* src/PeopleModel.py: optimization of data building


svn: r5810
2006-01-20 21:43:40 +00:00
Don Allingham
6df41590dd * src/GrampsDb/_GrampsBSDDB.py: remove function call in find_surname
svn: r5809
2006-01-20 20:23:38 +00:00
Alex Roitman
d03d8273a9 * src/GrampsDb/_GrampsBSDDB.py (transaction_begin,
transaction_commit): disable secondary index removal/rebuilding
due to bugs in bsddb; (_update_reference_map): explicitly check
for addition versus update.


svn: r5808
2006-01-20 19:23:42 +00:00
Don Allingham
c7a48305fd * src/PageView.py: add ellipsize, better dirty/clean management,
set fixed column width and fixed height
* src/GrampsDb/_GrampsDbBase.py: handle default column sizes


svn: r5807
2006-01-20 18:18:03 +00:00
Richard Taylor
9ed1b57ce5 added automake stuff
svn: r5806
2006-01-20 16:39:58 +00:00
Richard Taylor
1e82885901 added header to Objectselector
svn: r5805
2006-01-20 16:31:25 +00:00
Richard Taylor
e6b645cd2b integrated object selector into edit family
svn: r5804
2006-01-20 10:30:35 +00:00
Don Allingham
24e095c818 * src/DisplayModels.py: use dirty flag to only draw when requested
* src/PageView.py: use dirty flag to only draw when requested
* src/PeopleView.py: use dirty flag to only draw when requested
* src/PeopleModel.py: provide simple caching
* src/ViewManager.py: control dirty flags


svn: r5803
2006-01-20 05:33:38 +00:00
Richard Taylor
37239cd822 working filters in Person view
svn: r5802
2006-01-19 21:13:00 +00:00
Alex Roitman
6d46005a71 * src/plugins/ChangeNames.py (on_ok_clicked): Properly set batch
transaction.
* src/GrampsDb/_GrampsDbBase.py (transaction_begin): Add batch
argument; (set_batch): Remove method.


svn: r5800
2006-01-19 18:18:55 +00:00
Richard Taylor
568ba555b1 ground work for filters
svn: r5799
2006-01-19 16:52:29 +00:00
Alex Roitman
679d900a66 * src/GrampsDb/_GrampsBSDDB.py (transaction_begin): Disconnect
unneeded secondary indices; (transaction_commit): Create new
secondary indices to replace the ones removed.


svn: r5798
2006-01-19 16:30:45 +00:00
Richard Taylor
b8bf7b79dc added new button for person view.
svn: r5797
2006-01-19 16:03:09 +00:00
Alex Roitman
85451fb764 * src/GrampsDb/_ReadGrdb.py (importData): Properly set batch
transaction.
* src/plugins/Check.py: Properly set batch transaction.
* src/plugins/ImportGeneWeb.py: Properly set batch transaction.
* src/plugins/ImportvCard.py: Properly set batch transaction.
* src/plugins/TestCaseGenerator.py: Properly set batch transaction.


svn: r5796
2006-01-19 04:30:40 +00:00
Don Allingham
2c2bcaf04f * src/GrampsDb/_ReadGedcom.py: fix MARNM
svn: r5795
2006-01-19 04:25:36 +00:00
Alex Roitman
5b0cd6fe27 * src/GrampsDb/_ReadXML.py (parse): Properly set batch transaction.
svn: r5794
2006-01-19 04:18:12 +00:00
Don Allingham
f7585d2e1c * src/GrampsWidgets.py: edit label for column header
svn: r5792
2006-01-19 02:06:27 +00:00
Don Allingham
d3e381faca * src/EditFamily.py: monitor for changed people and update if needed,
CellRendererCombo for child relations


svn: r5791
2006-01-18 22:33:27 +00:00
Alex Roitman
8fbe67e6b0 * src/GrampsDb/_GrampsBSDDB.py: upgrade from gramps20.
svn: r5790
2006-01-18 22:02:24 +00:00
Alex Roitman
e22e5cf09a * src/GrampsDb/_GrampsBSDDB.py (rebuild_secondary): Proper
rebuild; convert surnames secondary index to DUPSORTed BTREE.


svn: r5789
2006-01-18 21:00:02 +00:00
Alex Roitman
f8ee1159db * src/GrampsDb/_GrampsBSDDB.py (rebuild_secondary): Proper rebuild.
svn: r5788
2006-01-18 20:37:15 +00:00
Don Allingham
6f89860046 * src/DisplayTabs.py: mediatab improvements
* src/EditFamily.py: monitor for changed people and update if needed.


svn: r5787
2006-01-18 19:36:23 +00:00
Alex Roitman
a2674e2607 * src/GrampsDb/_GrampsBSDDB.py (load): Use BTREE for
reference_map; sort reference_map_referenced_map index.
* src/GrampsDb/_ReadGedcom.py (parse_record): Restore add def_src.


svn: r5786
2006-01-18 16:51:06 +00:00
Don Allingham
6daee532d9 * src/DbPrompter.py: removed
* src/gramps.glade: delete unused stuff


svn: r5785
2006-01-18 05:16:10 +00:00
Don Allingham
4c669cba0d * src/ViewManger.py: progressbar callbacks
* src/GrampsDb/_GrampsBSDDB.py: progressbar callbacks
* src/GrampsDb/_GrampsGEDDB.py: progressbar callbacks
* src/GrampsDb/_ReadXML.py: progressbar callbacks
* src/GrampsDb/_ReadGedcom.py: progressbar callbacks


svn: r5783
2006-01-18 04:08:28 +00:00
Alex Roitman
37ee69aabe * src/GrampsDb/_ReadGedcom.py (parse_record): Do not add def_src
to person/family. Need to optimize the performance first.


svn: r5782
2006-01-17 21:50:39 +00:00
Alex Roitman
fdf1118e27 * src/GrampsDb/_GrampsDbBase.py: Set batch transaction property in
the constructor.
* src/GrampsDb/_GrampsBSDDB.py: Back to durable transactions, set
TXN_NOSYNC flag only on batch transactions.


svn: r5781
2006-01-17 21:17:14 +00:00
Richard Taylor
f7a15cf601 make ref update optional
svn: r5780
2006-01-17 21:10:20 +00:00
Alex Roitman
a01b665403 * src/GrampsDb/_GrampsDbBase.py (redo): Properly abort redo action
when no redo is available.


svn: r5778
2006-01-17 19:43:23 +00:00
Martin Hawlisch
7b1a104e2f * src/EventView.py (ui_definition): Add filter menu entry
* src/FamilyList.py (ui_definition): Add filter menu entry
* src/PlaceView.py (ui_definition): Add filter menu entry
* src/RepositoryView.py (ui_definition): Add filter menu entry
* src/SourceView.py (ui_definition): Add filter menu entry
* src/GenericFilter.py: Adding generic filter widget to be used in all list views; Custom filter rules now get prefixed by primary object type
* src/PageView.py: Add filter control to all list views
* src/PersonView.py: Filter handling moved to GenericFiler


svn: r5777
2006-01-17 15:11:15 +00:00
Richard Taylor
69388f8f2a UI improvements
svn: r5775
2006-01-17 14:54:46 +00:00
Richard Taylor
e41bf2831e selection and preview of person and family
svn: r5774
2006-01-17 13:43:29 +00:00
Richard Taylor
c6329f948c basic object selection now working
svn: r5773
2006-01-17 08:38:34 +00:00
Don Allingham
06731ccf4f * src/AddMedia.py: glade path
* src/AddrEdit.py: glade path
* src/AttrEdit.py: glade path
* src/DateEdit.py: glade path
* src/EventEdit.py: glade path
* src/GrampsCfg.py: glade path
* src/ImageSelect.py: glade path
* src/Sources.py: glade path
* src/StyleEditor.py: glade path
* src/const.py.in: glade path
* src/Marriage.py: glade path
* src/unlocked.png: added
* src/GrampsDb/_ReadGedcom.py: optimize UI updates, add test code


svn: r5772
2006-01-17 05:03:30 +00:00
Don Allingham
a88ebca896 * src/gramps.glade: remove lock border
* src/GrampsDb/_ReadGedcom.py: optimize UI updates


svn: r5769
2006-01-17 03:25:39 +00:00
Alex Roitman
c13b57ca18 transaction; set db.DB_TXN_NOSYNC flag on an environment;
Remove lock limits; set db.DB_LOG_AUTOREMOVE flag; add checkpoints
on: open, batch transaction start and end; close.
* src/GrampsDb/_GrampsDbBase.py (change_database, no_database):
close existing db before changing to the new one.


svn: r5768
2006-01-16 22:49:49 +00:00
Alex Roitman
cc83b089cf * src/ViewManager: Remov unused code.
* src/GrampsDb/_GrampsBSDDB.py: Do small txn during batch
transaction; set db.DB_TXN_NOSYNC flag on an environment.


svn: r5767
2006-01-16 22:07:24 +00:00
Martin Hawlisch
f9b6172435 * src/PedView.py: Edit on doublecklick; only right click gives optionsmenu; Colors similar to tango icons
svn: r5766
2006-01-16 21:53:56 +00:00
Don Allingham
1070ca5c17 * src/gramps.glade: reposition add/delete buttons, remove separator
between parents and relationship info


svn: r5765
2006-01-16 21:10:53 +00:00
Don Allingham
f895c54481 * src/gramps.glade: reposition add/delete buttons
svn: r5764
2006-01-16 20:49:59 +00:00
Richard Taylor
cea14516a8 refactored object frame in object selector
svn: r5760
2006-01-16 13:32:59 +00:00
Don Allingham
5bd4665b21 * src/DisplayTabs.py: add button control class
* src/EditFamily.py: add icons


svn: r5755
2006-01-15 04:49:13 +00:00
Don Allingham
b84af7731f * src/DisplayTabs.py: fix double click
* src/EditFamily.py: fix double click
* src/GrampsWidgets.py: add SimpleButton
* src/ToolTips.py: Family tool tip


svn: r5754
2006-01-15 01:26:47 +00:00
Richard Taylor
5b8a5e4154 futher development of ObjectSelector
svn: r5753
2006-01-14 22:21:56 +00:00
Don Allingham
84394c8805 * src/DisplayTabs.py: fix scrolled window
* src/EditFamily.py: delete button
* src/gramps.glade: clean up the window.


svn: r5752
2006-01-14 18:02:07 +00:00
Don Allingham
8f43528b12 * src/const.py.in: remove unused variables
* src/gramps.glade: remove unused dialogs


svn: r5751
2006-01-14 05:27:48 +00:00
Don Allingham
0e48f23eb2 * src/DisplayTabs.py: Move event list
* src/EditFamily.py: add editing of people, add relationship type
* src/EventEdit.py: move event list
* src/FamilyView.py: remove common widgets
* src/gramps.glade: EditFamily changes
* src/GrampsWidgets.py: Common widgets


svn: r5749
2006-01-13 22:28:54 +00:00
Alex Roitman
58d66f6708 * src/ViewManager.py: Proper label change for Undo/Redo.
svn: r5748
2006-01-13 20:53:10 +00:00
Richard Taylor
244e17066a added int edit
svn: r5747
2006-01-13 20:10:56 +00:00
Martin Hawlisch
586422eef0 * src/PedView.py: Use the same font as used in the gtk style
svn: r5745
2006-01-13 16:41:42 +00:00
Richard Taylor
2892a0e464 layout improvements
svn: r5744
2006-01-13 15:28:23 +00:00
Don Allingham
480bacfa5d * src/DisplayTabs.py: sub tabs for edit dialogs
* src/EditFamily.py: family editor integration
* src/gramps.glade: family editor changes


svn: r5732
2006-01-13 00:45:22 +00:00
Alex Roitman
f16b7b1ec3 Update
svn: r5731
2006-01-12 23:39:54 +00:00
Alex Roitman
bc05ec703a Cut long lines
svn: r5730
2006-01-12 23:34:33 +00:00
Richard Taylor
ab51961c95 initial outline of object selector
svn: r5729
2006-01-12 22:09:42 +00:00
Alex Roitman
f213a120a4 * src/ViewManager.py: Connect undo handler to the menu item.
* src/GrampsDb/_GrampsBSDDB.py: Place reference_map under
transaction management.
* src/GrampsDb/_GrampsDbBase.py: reference_map changes.


svn: r5728
2006-01-12 22:02:58 +00:00
Alex Roitman
c01010fc81 * src/Assistant.py: Many changes.
* src/Exporter.py: Work with new Assistant.
* src/StartupDialog.py: Work with new Assistant.
* src/GrampsLogger/_ErrorReportAssistant.py: Work with new Assistant.
* src/gedcomexport.glade, src/gedcomimport.glade: Move to GrampsDb.


svn: r5725
2006-01-12 06:09:14 +00:00
Don Allingham
696797281c * src/FamilyList.py: call family editor
* src/StartupDialog.py: pwm in try/except
* src/gramps.py: don't fail on missing SIG_CHILD


svn: r5724
2006-01-12 05:40:44 +00:00
Don Allingham
d0905989e8 * src/EditPerson.py: removed unused variable
* src/EditFamily.py: start of the family editor
* src/FamilyView.py: call family editor
* src/gramps.glade: family editor changes


svn: r5718
2006-01-12 00:06:33 +00:00
Martin Hawlisch
312696477f * src/PedView.py: Now using cairo :-) Changed menu handling
svn: r5714
2006-01-11 14:41:07 +00:00
Don Allingham
130fea4a89 * src/FamilyView.py: fix title
svn: r5712
2006-01-11 05:13:09 +00:00
Don Allingham
8aa784c76f * src/MapView.py: fix title
svn: r5711
2006-01-11 04:57:31 +00:00
Alex Roitman
8ccf0cedbd * src/flist.svg: Add new icon.
* src/gramps_main.py: Use new icon.


svn: r5710
2006-01-11 04:47:09 +00:00
Alex Roitman
4637e596cd * src/Assistant.py: More changes, still needs work.
* src/Exporter.py: More changes, still needs work.


svn: r5709
2006-01-11 01:26:17 +00:00
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