Commit Graph

3581 Commits

Author SHA1 Message Date
Don Allingham
7da9ba3e6a * src/GrampsDb/_GrampsDbBase.py: fix typo
* src/GrampsDb/_GrampsDBDir.py: check for writability, otherwise open as readonly
	* src/DbManager.py: use single, user configurable database path
	* data/gramps.schemas.in: set default path to ~/.gramps/grampsdb
	
2007-06-16  Don Allingham  <don@gramps-project.org>


svn: r8566
2007-06-17 00:57:21 +00:00
Alex Roitman
10430f3321 2007-06-16 Alex Roitman <shura@gramps-project.org>
* src/GrampsDbUtils/_ReadXML.py (start_url): Correctly parse url type.



svn: r8565
2007-06-17 00:47:33 +00:00
Don Allingham
9059ddedec 2007-06-16 Don Allingham <don@gramps-project.org>
* src/GrampsCfg.py: additional database path
	* src/Config/_GrampsConfigKeys.py: additional database path
	* src/DbManager.py: additional database path
	* src/GrampsDbUtils/Makefile.am: additional database path
	* src/Makefile.am: additional database path
	* data/gramps.schemas.in: additional database path



svn: r8563
2007-06-16 23:17:29 +00:00
Alex Roitman
7bc7631d25 2007-06-16 Brian Pepple <bpepple@fedoraproject.org>
* data/gramps.desktop.in: Fix desktop file to conform to desktop
	file specs.



svn: r8562
2007-06-16 20:17:05 +00:00
Alex Roitman
5c5921d9ea 2007-06-16 Alex Roitman <shura@gramps-project.org>
* src/Filters/Rules/Person/_IsChildOfFilterMatch.py
	(IsChildOfFilterMatch): Subclass MatchesFilter.
	* src/Filters/Rules/Person/_IsAncestorOfFilterMatch.py
	(IsAncestorOfFilterMatch): Subclass MatchesFilter.
	* src/Filters/Rules/Person/_IsDescendantOfFilterMatch.py
	(IsDescendantOfFilterMatch): Subclass MatchesFilter.
	* src/Filters/Rules/Person/_HasCommonAncestorWithFilterMatch.py
	(HasCommonAncestorWithFilterMatch): Subclass MatchesFilter.
	* src/Filters/Rules/Person/_IsParentOfFilterMatch.py
	(IsParentOfFilterMatch): Subclass MatchesFilter.
	* src/Filters/Rules/Person/_IsSiblingOfFilterMatch.py
	(IsSiblingOfFilterMatch): Subclass MatchesFilter.
	* src/Filters/Rules/Person/_IsSpouseOfFilterMatch.py
	(IsSpouseOfFilterMatch): Subclass MatchesFilter.



svn: r8560
2007-06-16 20:03:59 +00:00
Don Allingham
e9860079c3 2007-06-15 Don Allingham <don@gramps-project.org>
* src/GrampsDbUtils/_Backup.py: Optimization and documentation.



svn: r8557
2007-06-16 04:23:47 +00:00
Alex Roitman
b5f51cf15f 2007-06-14 Alex Roitman <shura@gramps-project.org>
* src/GrampsDbUtils/_Backup.py (__do_restore): Minor optimization.
	* src/GrampsDb/_GrampsDbBase.py (__get_from_handle): Pass txn.



svn: r8555
2007-06-15 05:47:07 +00:00
Don Allingham
2caf3dd35a 2007-06-14 Don Allingham <don@gramps-project.org>
* src/GrampsDbUtils/_Backup.py (__do_restore): use transactions during restore



svn: r8554
2007-06-15 04:35:59 +00:00
Brian Matherly
eb5135310f Improve text rendering for SVG reports (#0001072).
svn: r8553
2007-06-15 04:07:41 +00:00
Alex Roitman
b38a741d3d * src/ViewManager.py: Enable recent files.
* src/DisplayState.py (RecentDocsMenu.load): work out directories;
	(RecentDocsMenu.build): Use symbolic names for menu.
	* src/RecentFiles.py: Make work with directories and symbolic
	names; remove GNOME-related functionality.


svn: r8550
2007-06-14 05:32:06 +00:00
Alex Roitman
012374cff5 2007-06-13 Alex Roitman <shura@gramps-project.org>
* src/GrampsDb/_GrampsDBDir.py (open_undodb): Override the base
	method by using undo.db inside the data directory.



svn: r8549
2007-06-14 04:36:31 +00:00
Don Allingham
9b8759a25b * src/GrampsDbUtils/_Backup.py (__do_export): check for existance before deleting
2007-06-13  Don Allingham  <don@gramps-project.org>


svn: r8548
2007-06-14 04:26:46 +00:00
Don Allingham
06d9588736 * src/DbManager.py: handle cursor while rebuilding
* src/glade/gramps.glade: fix label placement

2007-06-13  Don Allingham  <don@gramps-project.org>


svn: r8547
2007-06-14 04:20:44 +00:00
Don Allingham
76e590472f 2007-06-13 Don Allingham <don@gramps-project.org>
* src/DbManager.py: handle broken dbs that have been opened
	* src/DbState.py: handle broken dbs that have been opened
	* src/GrampsDbUtils/_Backup.py: write intermediate file firs to make
	sure no errors occur when writing, then replace old backups

	* src/ViewManager.py: better rebuild recovery
	* src/GrampsDb/_GrampsDbConst.py: better rebuild recovery
	* src/GrampsDb/_GrampsDBCallback.py: better rebuild recovery
	* src/DbManager.py: better rebuild recovery
	* src/glade/gramps.glade: better rebuild recovery
	* src/const.py.in: better rebuild recovery
	* src/QuestionDialog.py: better rebuild recovery
	* src/GrampsDbUtils/_ReadGedcom.py: better rebuild recovery
	* src/ArgHandler.py: better rebuild recovery
	* src/DbLoader.py: better rebuild recovery

2007-06-12  Don Allingham  <don@gramps-project.org>


svn: r8546
2007-06-13 22:48:28 +00:00
Brian Matherly
5bd7f917c8 Improve tooltip for latin-1 option in the Relationship Graph report.
svn: r8543
2007-06-13 11:53:06 +00:00
Brian Matherly
165cebcd68 Fix width error AbiWord2Doc.py.
svn: r8542
2007-06-13 04:27:33 +00:00
Brian Matherly
dae8c99230 Enhance source endnotes in some text reports.
svn: r8541
2007-06-13 04:13:00 +00:00
Don Allingham
c730a8f5c4 2007-06-12 Don Allingham <don@gramps-project.org>
* src/ViewManager.py: detection and recovery from db errors
	* src/GrampsDb/_GrampsDBDir.py: detection and recovery from db errors
	* src/GrampsDb/_GrampsBSDDB.py: detection and recovery from db errors
	* src/DbManager.py: detection and recovery from db errors
	* src/DbState.py: detection and recovery from db errors
	* src/ArgHandler.py: detection and recovery from db errors



svn: r8539
2007-06-12 23:31:40 +00:00
Don Allingham
e05e6b4edd 2007-06-11 Don Allingham <don@gramps-project.org>
* src/ViewManager.py: Improve backup strategy
	* src/GrampsDb/_GrampsDBDir.py: Improve backup strategy
	* src/DbManager.py: Improve backup strategy
	* src/glade/gramps.glade: Improve backup strategy
	* src/Errors.py: Improve backup strategy
	* src/GrampsDbUtils/_Backup.py: Improve backup strategy



svn: r8538
2007-06-12 04:29:15 +00:00
Alex Roitman
6bf09da13d 2007-06-06 Alex Roitman <shura@gramps-project.org>
* src/DisplayState.py (DisplayState.__signals__): Port fixes from
	2.2 tree. 
	* src/FilterEditor/_EditFilter.py: Port fixes from 2.2 tree.
	* src/FilterEditor/_FilterEditor.py: Port fixes from 2.2 tree.
	* data/grampsxml.rng: Port fixes from 2.2 tree.
	* data/grampsxml.dtd: Port fixes from 2.2 tree.
	* src/GrampsDb/_GrampsDbWriteXML.py (_xml_version): Bump up version.



svn: r8536
2007-06-07 05:06:14 +00:00
Don Allingham
033df090d3 * src/GrampsDb/_GrampsBSDDB.py: fix __ issue
svn: r8533
2007-06-04 02:59:36 +00:00
Don Allingham
b58adad1bb * src/GrampsDb/_GrampsCursor.py: added
svn: r8532
2007-06-04 02:52:49 +00:00
Don Allingham
2615728437 2007-06-03 Don Allingham <don@gramps-project.org>
* src/Simple/__init__.py: add



svn: r8531
2007-06-04 02:49:31 +00:00
Alex Roitman
a9791011c3 2007-06-01 Alex Roitman <shura@gramps-project.org>
* src/DbLoader.py (_OPEN_FORMATS): Remove grdb from the native
	format list.
	* src/GrampsDbUtils/_GrampsDbWRFactories.py
	(gramps_db_reader_factory):  remove grdb read from the factories,
	it is a plugin now.
	* src/plugins/ReadGrdb.py: Register import; made module a plugin.



svn: r8530
2007-06-02 05:51:39 +00:00
Brian Matherly
b022218241 changelog formatting
svn: r8529
2007-06-02 04:26:56 +00:00
Brian Matherly
d9ad05dfb8 proper changelog format
svn: r8528
2007-06-02 04:19:51 +00:00
Brian Matherly
9cd009102e Fix title error HtmlDoc.py.
svn: r8527
2007-06-02 04:10:37 +00:00
Don Allingham
fafacb096f 2007-05-24 Don Allingham <don@gramps-project.org>
* src/Simple/Makefile.am: added
	* src/DataViews/_PedigreeView.py: catch loop in relationships, 
	indicated by a recursion limit exception.



svn: r8517
2007-05-25 03:50:01 +00:00
Don Allingham
fe0e24310b * configure.in: update Simple/Makefile
* src/Simple/_SimpleAccess.py: Move to Simple package
	* src/Simple/_SimpleDoc.py: Move to Simple package
	* src/Makefile.am: Move to Simple package
	* src/DataViews/_PersonView.py: Simple package support
	* src/plugins/all_events.py: Simple package supprt

2007-05-20  Don Allingham  <don@gramps-project.org>


svn: r8502
2007-05-21 04:07:00 +00:00
Don Allingham
263ab79ad9 2007-05-20 Don Allingham <don@gramps-project.org>
* src/Lru.py: pylint fixes
	* src/DisplayState.py: pylint fixes
	* src/Errors.py: pylint fixes
	* src/DbState.py: pylint fixes



svn: r8501
2007-05-21 03:44:18 +00:00
Don Allingham
a598df4f6d * src/Bookmarks.py: pylint fixes
* src/ColumnOrder.py: pylint fixes
	* src/DateEdit.py: pylint fixes
	* src/DbLoader.py: pylint fixes
	* src/ManagedWindow.py: pylint fixes

2007-05-19  Don Allingham  <don@gramps-project.org>


svn: r8498
2007-05-20 04:35:46 +00:00
Don Allingham
659814e22d 2007-05-19 Don Allingham <don@gramps-project.org>
* src/AutoComp.py: removal of unused functions
	* src/BaseDoc.py: clean up and add documentation



svn: r8497
2007-05-20 03:43:38 +00:00
Brian Matherly
6ecc393988 Fix gallery image links generated on Win32 for the Narrative Web Report.
svn: r8494
2007-05-18 18:45:49 +00:00
Brian Matherly
53c0a7443e Remove Gnome dependencies from all glade files.
svn: r8484
2007-05-17 02:43:11 +00:00
Brian Matherly
ab912fa605 0000806: default for narrative website should be protect living
svn: r8483
2007-05-17 02:34:05 +00:00
Brian Matherly
c020882e40 0001043: Dropdown list in htmloptions in Family Group Report has very large size
svn: r8479
2007-05-16 02:09:04 +00:00
Brian Matherly
ada7cb037d Sort strings, not lists in Narrative Web combo boxes.
svn: r8477
2007-05-15 12:01:25 +00:00
Brian Matherly
26ef497eaa Catch possible crash in Pedigree View.
svn: r8475
2007-05-15 11:40:25 +00:00
Don Allingham
247e0020ed 2007-05-14 Don Allingham <don@gramps-project.org>
* src/DataViews/_PedigreeView.py: catch errors
	* src/DataViews/_RelationView.py: catch errors
	* src/ReportBase/_ReportDialog.py: catch errors
	* src/ReportBase/_SimpleAccess.py: fix marriage place/date values
	* src/Editors/_EditFamily.py: catch errors
	* src/DisplayTabs/_EmbeddedList.py: catch errors
	* src/plugins/FindDupes.py: catch errors
	* src/plugins/Verify.py: catch errors
	* src/AddMedia.py: fix scale_simple types
	* src/AutoComp.py: pylint fixes
	* src/ImgManip.py: pylint fixes
	* src/LdsUtils.py: new temple types
	* src/DbLoader.py: error types



svn: r8473
2007-05-15 04:17:12 +00:00
Brian Matherly
4f675b6768 0001044: ReportWeb Site, tab Page Generation - items in dropdown list do not sort correctly
svn: r8472
2007-05-15 03:55:08 +00:00
Brian Matherly
48394f8bab * src/plugins/NarrativeWeb.py: Fix reference paths on Windows.
svn: r8467
2007-05-14 03:44:34 +00:00
Benny Malengier
04df3f6e89 2007-05-11 Benny Malengier <bm@cage.ugent.be>
* src/GrampsDbUtils/_ReadXML.py:
	* src/GrampsDb/_GrampsDbWriteXML.py:
        Merge gramps2 privacy changes of Don, add privacy to note of sourceref and lds_ord

	* src/GrampsDbUtils/_ReadXML.py: partly fix #1053, import privacy of person, family,


svn: r8463
2007-05-11 22:31:39 +00:00
Benny Malengier
11190e66d9 2007-05-10 Benny Malengier <bm@cage.ugent.be>
* src/GrampsDb/_ReadXML.py: partly fix #1053, import privacy of person, family,
        media, source, place and repo correct. Still to do: sourceref and lds_ordinance



svn: r8459
2007-05-10 22:07:25 +00:00
Don Allingham
f8b10aff87 2007-05-08 Don Allingham <don@gramps-project.org>
* src/GrampsDb/_GrampsDbBase.py (GrampsDbBookmarks.insert): fix
	bookmark insertion (#1050)
	* src/Editors/_EditFamily.py: fix sort columns



svn: r8454
2007-05-10 02:43:56 +00:00
Benny Malengier
5b4807732d 2007-05-09 Benny Malengier <bm@cage.ugent.be>
* src/glade/gramps.glade: fix #797
	* src/glade/gramps.glade: fix #796
	* src/GrampsDbUtils/_ReadXML.py: Set specific notetype on import/read of pre 2.3 xml, 
          inherit privacy of creating object for pre 2.3 xml as much as possible.



svn: r8453
2007-05-09 19:27:15 +00:00
Brian Matherly
92b3f4da04 Change the default directory for the narrative web report so people don't generate the report in their database directory.
svn: r8448
2007-05-09 03:34:30 +00:00
Don Allingham
7b7abd95dd * src/DataViews/_PersonView.py:
* src/PageView.py:
	* src/Filters/SideBar/_MediaSidebarFilter.py:
	* src/Filters/SideBar/_SidebarFilter.py:
	* src/Filters/SideBar/_SourceSidebarFilter.py:
	* src/Filters/SideBar/_EventSidebarFilter.py:
	* src/Filters/SideBar/_FamilySidebarFilter.py:
	* src/Filters/SideBar/_PlaceSidebarFilter.py:
	* src/Filters/SideBar/_RepoSidebarFilter.py:
	* src/Filters/SideBar/_NoteSidebarFilter.py:
	* src/Filters/SideBar/_PersonSidebarFilter.py: Pass dbstate to SidebarFilters

2007-05-07  Don Allingham  <don@gramps-project.org>


svn: r8444
2007-05-08 04:08:25 +00:00
Don Allingham
87764d64c0 2007-05-07 Don Allingham <don@gramps-project.org>
* src/ReportBase/_SimpleDoc.py: add support for tabs
	* src/BaseDoc.py: add support for tabs	
	* src/docgen/TextBufDoc.py: add support for tabs



svn: r8443
2007-05-08 02:56:33 +00:00
Benny Malengier
c5916814e8 * src/GrampsDb/_GrampsBSDDB.py: upgrade of grdb now sets correct notetype, and
inherits the public/private setting of the parent object it is created from, 
          instead of defaulting to public.

2007-05-07 Benny Malengier <bm@cage.ugent.be>


svn: r8442
2007-05-07 23:02:03 +00:00
Benny Malengier
0182f42307 2007-05-07 Benny Malengier <bm@cage.ugent.be>
* src/Editors/_EditPlace.py:
	* src/Editors/_EditAddress.py:
	* src/Editors/_EditLdsOrd.py:
	* src/Editors/_EditSourceRef.py:
	* src/Editors/_EditSource.py:
	* src/Editors/_EditRepoRef.py:
	* src/Editors/_EditAttribute.py:
	* src/Editors/_EditPersonRef.py:
	* src/Editors/_EditNote.py:
	* src/Editors/_EditPerson.py:
	* src/Editors/_EditMediaRef.py:
	* src/Editors/_EditEventRef.py:
	* src/Editors/_EditMedia.py:
	* src/Editors/_EditRepository.py:
	* src/Editors/_EditName.py:
	* src/Editors/_EditChildRef.py:
	* src/Editors/_EditFamily.py:
	* src/Editors/_EditEvent.py:
	* src/RelLib/_NoteType.py:
	* src/DisplayTabs/_NoteTab.py:
	* src/GrampsWidgets.py:
	* TODO:
	Implement using a specific notetype instead of General for notes created as part of a
        primary or secondary object. Add list of types to ignore for inclusion in MonitoredDataType in a general manner.
        List remaining issues in TODO for multiple notes.



svn: r8441
2007-05-07 20:41:16 +00:00