Commit Graph

3914 Commits

Author SHA1 Message Date
Alex Roitman
4487df24da 2006-05-15 Alex Roitman <shura@gramps-project.org>
* src/GrampsDb/_GrampsXMLDB.py: Use callback, call parent's
	close() on close.
	* src/GrampsDb/_GrampsGEDDB.py: Use callback, call parent's
	close() on close.
	* src/GrampsDb/_WriteXML.py: Use new callback class.
	* src/GrampsDb/_WriteGedcom.py: Use new callback class.
	* src/GrampsDb/_DbUtils.py (db_copy): Update secondary indices for
	the InMem databases.



svn: r6679
2006-05-16 03:47:58 +00:00
Don Allingham
8139998822 * src/ViewManager.py: new stock icon support
* src/gramps_main.py: new stock icon support
	* src/PageView.py: new stock icon support
	* src/images/stock_new-html.png: added
	* src/images/stock_delete-bookmark.png: added
	* src/images/stock_export.png: added
	* src/images/stock_edit-bookmark.png: added
	* src/images/stock_add-bookmark.png: added
	* src/images/stock_undo-history.png: added
	* src/images/stock_bookmark.png: added


svn: r6678
2006-05-16 03:35:10 +00:00
Don Allingham
48d83819e3 2006-05-15 Don Allingham <don@gramps-project.org>
* src/DisplayTabs/_DataEmbedList.py: disable DND



svn: r6677
2006-05-16 02:14:25 +00:00
Alex Roitman
00a1f11a12 * src/ViewManager.py (save_as_activate): Use Save button in dialog.
svn: r6676
2006-05-15 22:04:49 +00:00
Don Allingham
b16f290c0f * src/DisplayTabs/_PersonEventEmbedList.py: fix selection of default type
svn: r6675
2006-05-15 21:59:14 +00:00
Alex Roitman
934d154d5a 2006-05-15 Alex Roitman <shura@gramps-project.org>
* src/GrampsDb/_DbUtils.py: import proper class.



svn: r6674
2006-05-15 21:56:57 +00:00
Alex Roitman
8884528ee1 * src/Selectors/_Select*.py: Subclass from BaseSelector.
* src/Selectors/Makefile.am: Ship new file.
	* src/Selectors/_BaseSelector.py: Add new file.



svn: r6673
2006-05-15 20:50:25 +00:00
Don Allingham
a97e7e2abd * src/Filters/__init__.py: add SidebarFilter, PersonSidebarFilter
* src/Filters/_SidebarFilter.py: added
	* src/Filters/_PersonSidebarFilter.py: added


svn: r6672
2006-05-15 20:37:19 +00:00
Don Allingham
bfef16e318 2006-05-15 Don Allingham <don@gramps-project.org>
* src/DataViews/_PersonView.py: cleaner interface to filters
	* src/plugins/RelCalc.py: cleaner interface to filters
	* src/PeopleModel.py: cleaner interface to filters
	* src/Selectors/_SelectPerson.py: cleaner interface to filters



svn: r6671
2006-05-15 18:49:35 +00:00
Alex Roitman
ce0983129c * src/DataViews/_SourceView.py (edit,on_double_click): Catch exception.
svn: r6670
2006-05-15 16:03:10 +00:00
Alex Roitman
e2330971df In .:
2006-05-15  Alex Roitman  <shura@gramps-project.org>
	* configure.in: Generate new Makefile.
	* src/Makefile.am: adapt to new module.
	* src/Selectors: separate selectors in their own module.
	* src/Select*.py: move to Selectors.
	* src/DataViews/_FamilyView.py: Use new module.
	* src/Editors/_EditLdsOrd.py: Use new module.
	* src/Editors/_EditPersonRef.py: Use new module.
	* src/Editors/_EditFamily.py: Use new module.
	* src/DisplayTabs/_SourceEmbedList.py: Use new module.
	* src/DisplayTabs/_RepoEmbedList.py: Use new module.
	* src/DisplayTabs/_EventEmbedList.py: Use new module.
	* src/DisplayTabs/_GalleryTab.py: Use new module.
	* src/plugins/FilterEditor.py: Use new module.
	* src/plugins/SimpleBookTitle.py: Use new module.
	* src/PluginUtils/_Report.py: Use new module.

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



svn: r6669
2006-05-15 15:53:42 +00:00
Alex Roitman
8b64f038a1 In .:
* src/Makefile.am (gdir_PYTHON): Add new file.
	* src/SelectRepository.py: Add new file.
	* src/DisplayTabs/_RepoEmbedList.py: Add share button.

In po:
	* POTFILES.in: Add new file.


svn: r6668
2006-05-15 06:40:54 +00:00
Alex Roitman
162844404d * configure.in: Set up for 2.1.3.
svn: r6667
2006-05-15 05:40:09 +00:00
Alex Roitman
00e46b9a0c * src/GrampsDb/_ReadXML.py (start_url): Parse URL type.
svn: r6666
2006-05-15 05:37:54 +00:00
Alex Roitman
042bcff01c * example/gramps/exapmle.gramps: Add repositories, use new XML.
* example/gramps/data.gramps: Add repositories, use new XML.


svn: r6665
2006-05-15 04:44:38 +00:00
Don Allingham
f08d35b169 * src/DataViews/_RepositoryView.py: column fixes
* src/DataViews/_SourceView.py: column fixes
	* src/DataViews/_EventView.py: column fixes
	* src/DataViews/_FamilyList.py: column fixes
	* src/DataViews/_PlaceView.py: column fixes
	* src/DataViews/_PersonView.py: column fixes
	* src/DisplayModels.py: column/sort fixes
	* src/PageView.py: column/sort fixes


svn: r6664
2006-05-15 04:14:03 +00:00
Alex Roitman
e1e2b71d27 Update
svn: r6663
2006-05-15 04:13:46 +00:00
Alex Roitman
bab5e5447d 2006-05-14 Alex Roitman <shura@gramps-project.org>
* src/DateHandler/__init__.py: Remove unneeded imports.
	* src/plugins/Calendar.py (print_page): Use GrampsLocale._months.



svn: r6662
2006-05-15 04:13:31 +00:00
Brian Matherly
fccd0c3db1 src/plugins/FamilyGroup.py: Fix for Event and EventType changes.
svn: r6661
2006-05-15 01:29:44 +00:00
Brian Matherly
8cb771c5d1 src/PluginUtils/_ReportUtils.py: Change strings to include gender instead of "child of"
svn: r6660
2006-05-15 00:43:41 +00:00
Don Allingham
ccba2edd14 2006-05-14 Don Allingham <don@gramps-project.org>
* src/DateHandler/__init__.py: import DateParser and DateDisplay
	* src/DataViews/_PersonView.py: default gender filter to "any"
	* configure.in: bump up to 2.1.2



svn: r6659
2006-05-14 23:01:00 +00:00
Alex Roitman
f5020f947f Update
svn: r6658
2006-05-14 20:32:19 +00:00
Alex Roitman
cde80a95dd * src/DateHandler/__init__.py: Proper import sequence.
* src/DateHandler/_DateHandler.py: Split into parts.
	* src/DateHandler/_DateUtils.py: Add new file.
	* src/DateHandler/_Date_sk.py: Bring to the new module structure.
	* src/DateHandler/Makefile.am (pkgdata_PYTHON): Ship new file.
	* src/GrampsDb/_ReadGedcom.py: Import from proper module.



svn: r6657
2006-05-14 20:14:59 +00:00
Alex Roitman
01aa512a38 In .:
* src/plugins/ChangeTypes.py (init_gui): Work around intltool bug.
In po:
2006-05-14  Alex Roitman  <shura@gramps-project.org>
	* gramps.pot: update.



svn: r6656
2006-05-14 19:27:38 +00:00
Alex Roitman
c32018c533 * src/plugins/Summary.py: Set titles properly.
svn: r6655
2006-05-14 18:17:10 +00:00
Alex Roitman
ec3a29cbd8 * src/plugins/CountAncestors.py: Add window title, remove extra text.
svn: r6654
2006-05-14 18:07:03 +00:00
Alex Roitman
d35c6af27d 2006-05-14 Alex Roitman <shura@gramps-project.org>
* src/Filters/Rules/Person/_HasNoteRegexp.py: Import re module.



svn: r6653
2006-05-14 17:58:40 +00:00
Jérôme Rapinat
ef524056d1 update fr.po
svn: r6652
2006-05-14 10:19:49 +00:00
Brian Matherly
44a902aeff src/PluginUtils/_Report.py: Fix custom paper size bug (bug #0000084)
svn: r6651
2006-05-14 06:34:18 +00:00
Brian Matherly
6e73513f17 typo
svn: r6650
2006-05-14 05:57:15 +00:00
Brian Matherly
ee960b6457 src/plugins/NarrativeWeb.py: Add option for number of generations in ancestor graph (bug # 0000077)
svn: r6649
2006-05-14 05:51:46 +00:00
Don Allingham
9af1446b7f 2006-05-13 Don Allingham <don@gramps-project.org>
* src/DataViews/_FamilyView.py (FamilyView.redraw): handle history



svn: r6648
2006-05-14 02:37:15 +00:00
Alex Roitman
ca1a316f66 * src/plugins/CmdRef.py (CmdRef.write_ref): Change the module name.
svn: r6647
2006-05-14 02:24:22 +00:00
Alex Roitman
ff24becb7a * src/ViewManager.py (show_url): Set up link handler.
svn: r6646
2006-05-14 00:43:05 +00:00
Don Allingham
ae413b5323 2006-05-13 Don Allingham <don@gramps-project.org>
* src/plugins/RelCalc.py: provide default search value



svn: r6645
2006-05-14 00:41:39 +00:00
Alex Roitman
6bad607972 * src/Config/_GrampsIniKeys.py (get_default): Add optional arg
indicating type.


svn: r6644
2006-05-13 05:54:07 +00:00
Alex Roitman
04f07a9290 * src/Config/_GrampsGconfKeys.py (get_default): Allow other types.
* src/GrampsCfg.py (reset_colors): Emit color-set signal to
	trigget hex text updates.


svn: r6643
2006-05-13 05:53:47 +00:00
Don Allingham
7244395156 * src/DataViews/_PersonView.py: add non-functioning (for now) clear
button
	* src/Config/_GrampsGconfKeys.py: get_default fix


svn: r6642
2006-05-13 05:36:55 +00:00
Don Allingham
f5fcf90a0e 2006-05-12 Don Allingham <don@gramps-project.org>
* src/GrampsCfg.py: add revert option for colors
	* src/Config/_GrampsGconfKeys.py: added get_default
	* src/Config/_GrampsIniKeys.py: added get_default



svn: r6641
2006-05-13 05:12:19 +00:00
Alex Roitman
252496251a * data/gramps.schemas.in: Brighter colors to use with foreground.
svn: r6640
2006-05-13 04:59:06 +00:00
Don Allingham
722beca835 default colors
svn: r6639
2006-05-13 04:45:46 +00:00
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
99a8d2312f svn: r6636 2006-05-13 04:10:40 +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
Jérôme Rapinat
4ca49c03c7 update fr.po
svn: r6632
2006-05-12 19:31:12 +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
9fc80be5b0 better search buttons
svn: r6609
2006-05-10 19:56:59 +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
Jérôme Rapinat
2ee29d05f2 # /po/fr.po : use exact space and dot for fixing occupation:placedescription mistake on det_report (cannot commit with CVS the same fix for gramps 2.0.11)
svn: r6605
2006-05-10 13:12:47 +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
Don Allingham
1dae055ef2 test case
svn: r6590
2006-05-09 03:29: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
a91a87da50 Update
svn: r6586
2006-05-08 19:04:18 +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
07057b40a6 Update
svn: r6581
2006-05-08 17:57:47 +00:00
Alex Roitman
82b45e0b2b * src/GrampsDb/_ReadXML.py (start_childref): Typo.
svn: r6580
2006-05-08 17:50:12 +00:00