Commit Graph

3305 Commits

Author SHA1 Message Date
Don Allingham
b5aa6154b3 * src/Utils.py: handle missing/invalid encoding
* src/DisplayModels/_BaseModel.py: handle None vs. 0


svn: r7997
2007-01-27 23:08:08 +00:00
Don Allingham
d2633548af 2007-01-27 Don Allingham <don@gramps-project.org>
* src/Editors/_EditPerson.py (EditPerson._image_button_press): check
	for window already being open (#882)



svn: r7995
2007-01-27 18:28:29 +00:00
Don Allingham
db0d291b74 2007-01-26 Don Allingham <don@gramps-project.org>
* src/GrampsDb/_WriteGedcom.py: make unicode the default for export
	* src/GrampsDb/gedcompexport.glade: remove unused dialog
	* src/plugins/WritePkg.py: don't attempt to delete missing media objects.



svn: r7993
2007-01-27 05:30:15 +00:00
Brian Matherly
176c51d3ca 0000876: Calendar would print beyond a day's borders if too many, or too long
svn: r7992
2007-01-26 15:06:52 +00:00
Brian Matherly
be857dc7d1 * src/ReportBase/ReportUtils.py: 0000875: _ReportUtils.py has incorrect conversion cm2pt
svn: r7991
2007-01-26 14:55:11 +00:00
Don Allingham
cf741608c6 (MediaView.define_actions): add tooltip for view menu
svn: r7990
2007-01-26 14:00:29 +00:00
Don Allingham
0cbafc964d 2007-01-26 Don Allingham <don@gramps-project.org>
* src/DataViews/_MediaView.py: fix accelerator entries
	* src/DataViews/_RepositoryView.py: fix accelerator entries
	* src/DataViews/_SourceView.py: fix accelerator entries
	* src/DataViews/_EventView.py: fix accelerator entries
	* src/DataViews/_FamilyList.py: fix accelerator entries
	* src/DataViews/_PlaceView.py: fix accelerator entries
	* src/DataViews/_PersonView.py: fix accelerator entries
	* src/ViewManager.py: fix accelerator entries
	* src/PageView.py: fix accelerator entries
	


svn: r7989
2007-01-26 12:56:52 +00:00
Richard Taylor
5824ee19ef wrap in EventBox so that clipping work properly.
svn: r7988
2007-01-26 08:33:49 +00:00
Don Allingham
4812f0c8cc * src/DataViews/_MediaView.py: keybindings
* src/DataViews/_RepositoryView.py: keybindings
	* src/DataViews/_SourceView.py: keybindings
	* src/DataViews/_EventView.py: keybindings
	* src/DataViews/_FamilyList.py: keybindings
	* src/DataViews/_PlaceView.py: keybindings
	* src/DataViews/_PersonView.py: keybindings
	* src/ViewManager.py: keybindings
	* src/PageView.py: keybindings

2007-01-25  Benny Malengier  <benny.malengier@ugent.be>
	* src/Filters/Rules/Place/Makefile.am: add new files
	* src/Filters/Rules/Place/_InLatLonNeighborhood.py: added
	* src/Filters/Rules/Place/_HasNoteMatchingSubstringOf.py: added
	* src/Filters/Rules/Place/__init__.py: add new filters

2007-01-25  Don Allingham  <don@gramps-project.org>


svn: r7985
2007-01-26 05:09:25 +00:00
Don Allingham
cbe3804391 2007-01-25 Don Allingham <don@gramps-project.org>
* src/DataViews/_MediaView.py: fix goto-gramps-id key press
	* src/DataViews/_RepositoryView.py: fix goto-gramps-id key press
	* src/DataViews/_SourceView.py: fix goto-gramps-id key press
	* src/DataViews/_EventView.py: fix goto-gramps-id key press
	* src/DataViews/_FamilyList.py: fix goto-gramps-id key press
	* src/DataViews/_PedigreeView.py: fix goto-gramps-id key press
	* src/DataViews/_PlaceView.py: fix goto-gramps-id key press
	* src/DataViews/_PersonView.py: fix goto-gramps-id key press
	* src/DataViews/_RelationView.py: fix goto-gramps-id key press
	* src/ViewManager.py: fix goto-gramps-id key press
	* src/PageView.py: fix goto-gramps-id key press



svn: r7984
2007-01-26 00:15:21 +00:00
Alex Roitman
0bd3fab3c8 2007-01-25 Alex Roitman <shura@gramps-project.org>
* src/GrampsDb/_GrampsDbBase.py (find_backlink_handles): Correctly
	iterate only over requested tables; don't mix up the primary and
	the referenced objects.



svn: r7983
2007-01-25 17:04:37 +00:00
Brian Matherly
76f1afe06d * src/plugins/IndivComplete.py: Put children on new lines
svn: r7981
2007-01-25 12:54:57 +00:00
Don Allingham
2bf872a8c3 2007-01-24 Don Allingham <don@gramps-project.org>
* src/Editors/_EditSourceRef.py: remove debug statements
	* src/AddMedia.py: remove debug statements
	* src/ArgHandler.py: remove debug statements



svn: r7980
2007-01-25 05:37:24 +00:00
Alex Roitman
37b246608a 2007-01-24 Alex Roitman <shura@gramps-project.org>
* src/RelLib/_Event.py (Event): Change inheritance order.
	* src/RelLib/_Family.py (Family): Change inheritance order.
	* src/RelLib/_MediaObject.py (MediaObject): Change inheritance order.
	* src/RelLib/_Place.py (Place): Change inheritance order.
	* src/RelLib/_Repository.py (Repository): Change inheritance order.
	* src/RelLib/_Person.py (Person): Change inheritance order.
	* src/RelLib/_Source.py (Source): Change inheritance order.
	(_has_handle_reference, _remove_handle_references,
	_replace_handle_reference): Add methods to report correct
	repository references.
	* src/DisplayTabs/_BackRefModel.py (__init__): Remove extra statement.



svn: r7979
2007-01-25 05:26:22 +00:00
Brian Matherly
3451ed3e5e * src/docgen/RTFDoc.py: Properly escape "\n" characters
svn: r7978
2007-01-25 04:29:39 +00:00
Brian Matherly
c6c5c8be50 * src/docgen/ODFDoc.py: Add "open with" option for book reports
* src/docgen/OpenOfficeDoc.py: Add "open with" option for book reports
* src/plugins/BookReport.py: Add "open with" option for book reports
* src/PluginUtils/_PluginMgr.py: Add "open with" option for book reports

svn: r7976
2007-01-25 03:22:46 +00:00
Brian Matherly
0cebd61da3 * src/plugins/Calendar.py: 0000871: Holidays do not work in Windows
* src/plugins/holidays.xml: 0000871: Holidays do not work in Windows

svn: r7975
2007-01-25 01:43:31 +00:00
Brian Matherly
de6bc22670 * src/docgen/PSDrawDoc.py: 0000869: PostScript print option will crash
* src/ReportBase/__init__.py: 0000869: PostScript print option will crash
* src/ReportBase/_PrintTools.py: 0000869: PostScript print option will crash

svn: r7972
2007-01-24 19:45:57 +00:00
Brian Matherly
8fcf9c81d3 * src/plugins/Calendar.py: 0000858: Patch for calendar enhancements and new Birthday Report
* src/plugins/holidays.xml: add holidays for France

svn: r7969
2007-01-24 14:51:32 +00:00
Brian Matherly
ed7a1c81da * src/docgen/PdfDoc.py: 0000870: docgen/PdfDoc.py offset error, and missing italics
svn: r7968
2007-01-24 12:53:51 +00:00
Don Allingham
069412bc4c (BaseModel.delete_row_by_handle): fix sort array after delete
svn: r7967
2007-01-24 04:45:11 +00:00
Don Allingham
fea8b51093 * src/DataViews/_MediaView.py: add view option
* src/images/Makefile.am: add stock_zoom
	* src/images/stock_zoom.png: added
	* src/gramps_main.py: register stock_zoom as a stock icon


svn: r7965
2007-01-24 00:23:39 +00:00
Don Allingham
217a8be23b 2007-01-23 Don Allingham <don@gramps-project.org>
* src/GrampsDb/_GrampsBSDDB.py: initialize the next gramps_id
	indexes to the length of the tables to prevent a walk of the db 
	entries.
	* src/DisplayModels/_BaseModel.py: handle row-insert properly
	* src/PageView.py: handle row adding properly



svn: r7963
2007-01-23 17:02:55 +00:00
Alex Roitman
f9cc65b4d5 * src/ViewManager.py (vb_clicked): Put back the code that used to
enforce the current view button;
	(switch_page_on_dnd): block and unblock button clicking during DnD.


svn: r7962
2007-01-23 05:17:12 +00:00
Alex Roitman
6f5077713a 2007-01-22 Alex Roitman <shura@gramps-project.org>
* src/ViewManager.py (vb_clicked): Add the code that used to
	enforce the current view button (commented out).



svn: r7961
2007-01-23 05:01:26 +00:00
Don Allingham
f73c997a71 2007-01-22 Don Allingham <don@gramps-project.org>
* src/DisplayModels/_BaseModel.py: avoid rebuild on delete
	* src/PageView.py:  avoid rebuild on delete



svn: r7960
2007-01-23 04:24:41 +00:00
Alex Roitman
a7b3fb28bd Update
svn: r7959
2007-01-23 03:39:16 +00:00
Alex Roitman
58b1a424bb 2007-01-22 Alex Roitman <shura@gramps-project.org>
* src/Editors/_EditSource.py (query_response): Remove sourcerefs
	from repos (indirectly, through secondary objects).
	* src/Editors/_EditPlace.py (query_response): Avoid db walk.
	* src/DataViews/_FamilyList.py (remove): Set busy cursor.
	* src/DataViews/_PlaceView.py (remove): Set busy cursor.
	* src/DataViews/_SourceView.py (remove): Set busy cursor.
	* src/DataViews/_MediaView.py (remove): Set busy cursor.
	* src/DataViews/_EventView.py (remove): Set busy cursor.
	* src/DataViews/_RepositoryView.py (remove): Set busy cursor.
	* src/Editors/_EditEventRef.py (DelEventQuery): Remove unneeded class.
	* src/Filters/Rules/_HasTextMatchingSubstringOf.py: Remove
	unneeded import.
	* src/Filters/Rules/Person/_HasTextMatchingSubstringOf.py
	(cache_sources): Adapt to changes in get_source_referents.
	* src/Utils.py (get_source_referents): Use reference map, add
	repositories to the search results;
	(get_media_referents): Use reference map.



svn: r7958
2007-01-23 03:37:13 +00:00
Brian Matherly
8582d6b11e * src/plugins/Calendar.py: 0000858: Patch for calendar enhancements and new Birthday Report
svn: r7957
2007-01-23 03:29:59 +00:00
Brian Matherly
1a57769135 * src/ReportBase/_ReportUtils.py: Add function "get_address_str"
* src/plugins/DetDescendantReport.py: Add addresses (0000791)
* src/plugins/DetAncestralReport.py: Add addresses (0000791)
* src/plugins/IndivComplete.py: Add addresses (0000791)
* src/plugins/NarrativeWeb.py: use "get_address_str"
* src/plugins/FamilyGroup.py: use "get_address_str"

svn: r7956
2007-01-23 01:51:33 +00:00
Don Allingham
c43c32a644 2007-01-22 Don Allingham <don@gramps-project.org>
* src/ViewManager.py: import of gramps package
	* src/ArgHandler.py: import of gramps package
	* src/GrampsDb/_ReadGedcom.py: catch bad LDS ords



svn: r7955
2007-01-22 17:51:43 +00:00
Martin Hawlisch
664d8823d2 * src/GrampsDb/_ReadGedcom.py (func_repo_addr): Properly parse address
svn: r7954
2007-01-22 15:28:46 +00:00
Martin Hawlisch
94fc96718f * src/ArgHandler.py, src/DbLoader.py: Print out more precise error messages when trying to open gpkg or geneweb files.
svn: r7953
2007-01-22 09:19:57 +00:00
Don Allingham
2406378435 * src/GrampsDb/_GrampsDBCallback.py: sys.getfilesystemencoding()
* src/GrampsDb/_GrampsBSDDB.py: sys.getfilesystemencoding()
	* src/Exporter.py: sys.getfilesystemencoding()
	* src/ReportBase/_FileEntry.py: sys.getfilesystemencoding()
	* src/Editors/_EditMedia.py: sys.getfilesystemencoding()
	* src/DisplayTabs/_SourceEmbedList.py: sys.getfilesystemencoding()
	* src/plugins/WriteCD.py: sys.getfilesystemencoding()
	* src/plugins/WritePkg.py: sys.getfilesystemencoding()
	* src/plugins/Check.py: sys.getfilesystemencoding()
	* src/plugins/EventCmp.py: sys.getfilesystemencoding()
	* src/AddMedia.py: sys.getfilesystemencoding()
	* src/DisplayModels/_BaseModel.py: sys.getfilesystemencoding()
	* src/DateEdit.py: sys.getfilesystemencoding()
	* src/ArgHandler.py: sys.getfilesystemencoding()
	* src/DbLoader.py: sys.getfilesystemencoding()


svn: r7951
2007-01-22 03:56:23 +00:00
Don Allingham
2d0c2bed65 2007-01-21 Don Allingham <don@gramps-project.org>
* src/GrampsDb/_GrampsBSDDB.py: catch exceptions
	* src/DisplayState.py: catch exceptions
	* src/DbLoader.py: catch exceptions (DbLoader.read_file): catch exception
	* src/Filters/SideBar/_SidebarFilter.py: add tooltips for dates
	* src/Filters/SideBar/_PersonSidebarFilter.py: add tooltips for dates



svn: r7949
2007-01-22 02:17:52 +00:00
Richard Taylor
aaf56531cf objectselector work.
svn: r7947
2007-01-21 21:23:06 +00:00
Don Allingham
182bd47b5c * src/DisplayModels/_PeopleModel.py: save current filter for rebuild (#838)
svn: r7946
2007-01-21 05:17:06 +00:00
Don Allingham
10c75e48b6 * src/BaseDoc.py: save/load paragraph description (#850)
svn: r7945
2007-01-21 04:14:59 +00:00
Don Allingham
a41031ddef * src/QuestionDialog.py: close window before calling callback
if the view is not in focus. Fix delete display by calling build_tree


svn: r7944
2007-01-21 00:16:08 +00:00
Don Allingham
81abc62ace 2007-01-20 Don Allingham <don@gramps-project.org>
* src/DataViews/_PersonView.py (PersonView.change_db): apply
	dirty flag to initial build to prevent forcing of build on load
	if the view is not in focus.



svn: r7943
2007-01-20 22:49:09 +00:00
Alex Roitman
44a479b3d8 * src/DataViews/_EventView.py (remove): Use reference map to find
references to remove. 
	* src/ViewManager.py (undo,redo): Busy cursor.
	* src/DataViews/_PersonView.py (delete_person_response): Busy cursor;
	Use reference map to find references to remove.


svn: r7940
2007-01-20 17:21:45 +00:00
Alex Roitman
581989107b * src/GrampsDb/_GrampsDbBase.py (transaction_commit): Remove
backend-specific call.
	* src/GrampsDb/_GrampsBSDDB.py (transaction_commit): Move surname
	list build to work for any batch transaction.
	* src/GrampsDb/_GrampsInMemDB.py (transaction_commit): Add method.


svn: r7939
2007-01-20 16:55:08 +00:00
Alex Roitman
d6f654a0e0 2007-01-20 Alex Roitman <shura@gramps-project.org>
* src/Utils.py (profile): Accept and pass additional arguments.
	* src/DataViews/_PersonView.py (delete_person_response): Busy cursor.



svn: r7937
2007-01-20 09:35:40 +00:00
Don Allingham
c2b4c7cdbb * src/GrampsDb/_GrampsDbBase.py: add append_list task
* src/GrampsDb/_ReadGrdb.py: copy bookmarks properly on import


svn: r7936
2007-01-20 05:06:49 +00:00
Don Allingham
1b9e4e8f50 2007-01-19 Don Allingham <don@gramps-project.org>
* src/DataViews/_FamilyList.py: remove loop
	* src/PageView.py: check for null model



svn: r7935
2007-01-20 04:22:31 +00:00
Alex Roitman
6d776c2f94 2007-01-19 Alex Roitman <shura@gramps-project.org>
* src/GrampsDb/_GrampsInMemDB.py: Support the cached surname list.
	* src/GrampsDb/_GrampsBSDDB.py: Support the cached surname list.
	* src/GrampsDb/_GrampsDbBase.py: Support the cached surname list.



svn: r7932
2007-01-19 16:53:49 +00:00
Don Allingham
1a674f00be 2007-01-18 Don Allingham <don@gramps-project.org>
* src/DataViews/Utils.py: add profile function



svn: r7931
2007-01-19 05:16:41 +00:00
Richard Taylor
c965f773f3 more optimisations to name display.
svn: r7930
2007-01-18 16:30:28 +00:00
Martin Hawlisch
e62527c42a * src/DataViews/_PedigreeView.py: Cache result of probably_alive(); Call find_tree() only once for all sizes; Cache results in FormattingHelper;
svn: r7929
2007-01-18 12:02:16 +00:00
Brian Matherly
28af33d307 src/plugins/NarrativeWeb.py: Add addresses to individual page.
svn: r7928
2007-01-18 04:31:08 +00:00