Commit Graph

3893 Commits

Author SHA1 Message Date
Don Allingham
5217058733 2007-06-19 Don Allingham <don@gramps-project.org>
* src/DbManager.py: handle RCS init properly, don't use gziped files
	* src/GrampsDbUtils/_WriteXML.py: pass compress argument properly

2007-06-19  Don Allingham  <don@gramps-project.org>
	* src/DbManager.py: parse comment for display in list
	* src/glade/gramps.glade: fix names of buttons on dbmanager



svn: r8606
2007-06-20 04:44:32 +00:00
Alex Roitman
542bbd9404 2007-06-19 Alex Roitman <shura@phy.ucsf.edu>
* src/FilterEditor/_FilterEditor.py (_find_dependent_filters):
	Add method to first find all filters fo deletion.



svn: r8603
2007-06-20 01:44:26 +00:00
Alex Roitman
8278778e65 2007-06-19 Alex Roitman <shura@gramps-project.org>
* src/FilterEditor/_FilterEditor.py (_do_delete_filter): Use a
	copy for iteration over the filters.



svn: r8597
2007-06-19 17:09:20 +00:00
Brian Matherly
5d4434fda0 Fix death source references in DDR and DAR.
svn: r8590
2007-06-19 04:32:06 +00:00
Brian Matherly
04a41cb464 * src/DbManager.py: make path recursive. Make default db dir consistent.
svn: r8589
2007-06-19 04:27:32 +00:00
Don Allingham
3ec91e149b * src/GrampsDb/_GrampsDBDir.py: revision control check in
* src/DbManager.py: revision control check in
	* src/glade/gramps.glade: revision control check in

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


svn: r8588
2007-06-19 03:59:10 +00:00
Don Allingham
3c84f349af * src/DbManager.py: check for revisions
2007-06-18  Don Allingham  <don@gramps-project.org>


svn: r8585
2007-06-18 23:04:05 +00:00
Don Allingham
b5ce4a2c59 2007-06-18 Don Allingham <don@gramps-project.org>
* src/GrampsDb/_GrampsDBDir.py: support lock file
	* src/DbManager.py: display locked file message



svn: r8584
2007-06-18 19:33:52 +00:00
Alex Roitman
cf52ebb90d 2007-06-18 Alex Roitman <shura@gramps-project.org>
* src/DateEdit.py (DateEditorDialog.switch_calendar): Only convert
	non-empty dates to new calendar.



svn: r8583
2007-06-18 18:33:28 +00:00
Alex Roitman
602d25b015 * src/GrampsCfg.py (NameFormatEditDlg.cb_format_changed): Catch
exception when format string is invalid.


svn: r8581
2007-06-18 05:00:51 +00:00
Alex Roitman
f3aa84f9dc 2007-06-17 Alex Roitman <shura@gramps-project.org>
* src/plugins/Verify.py: Clarification in wording: #1071.



svn: r8574
2007-06-18 00:51:04 +00:00
Don Allingham
493dfd0aae 2007-06-16 Don Allingham <don@gramps-project.org>
* src/DbManager.py: add user sorting to manager lists



svn: r8570
2007-06-17 03:09:26 +00:00
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
Don Allingham
6e065c407f 2007-05-06 Don Allingham <don@gramps-project.org>
* src/DataViews/_PersonView.py: add quick report
	* src/GrampsDb/_GrampsDbBase.py: use NotImplementedError instead of assertion
	* src/ReportBase/_SimpleAccess.py: added functionality
	* src/RelLib/_MediaObject.py: comments
	* src/RelLib/_Person.py: remove @sort comment
	* src/RelLib/_BasicPrimaryObject.py: 
	* src/plugins/all_events.py: comments
	* src/glade/gramps.glade: clean up width
	* src/gramps_main.py: added docgen to the search path
	* src/docgen/TextBufDoc.py: Added interface



svn: r8439
2007-05-07 03:39:46 +00:00
Brian Matherly
be7b8d6c94 Fix generation chart alignment for Narrative Web Tranquil style sheet.
svn: r8438
2007-05-06 21:28:12 +00:00
Brian Matherly
e4a7045838 Convert tabs to space-tabs in LaTeXDoc.py
svn: r8436
2007-05-05 04:01:35 +00:00
Benny Malengier
2209fe1c57 2007-05-03 Benny Malengier <bm@cage.ugent.be>
* src/plugins/rel_de.py:
	issue #0000929 , rel_de.py



svn: r8435
2007-05-03 21:35:13 +00:00
Don Allingham
9fd30ff3f9 2007-05-01 Don Allingham <don@gramps-project.org>
* src/ReportBase/_SimpleAccess.py: simplifed database access routines



svn: r8433
2007-05-02 04:05:41 +00:00
Benny Malengier
37255a3b02 2007-04-30 Benny Malengier <bm@cage.ugent.be>
* src/Editors/_EditPlace.py:
	* src/Editors/_EditSource.py:
	* src/Editors/_EditNote.py:
	* src/Editors/_EditPerson.py:
	* src/Editors/_EditRepository.py:
	* src/Editors/_EditFamily.py:
	* src/DisplayTabs/_NoteTab.py:
	Add meaningfull title to the note dialog instead of only the note number, when called from place, source, person, family or repo



svn: r8432
2007-04-30 20:50:41 +00:00
Brian Matherly
d7423fff15 Divide BaseDoc into BaseDoc, TextDoc and DrawDoc. TextDoc and DrawDoc are abstract interfaces that must be implemented by the corresponding document generators.
svn: r8431
2007-04-30 01:56:34 +00:00
Benny Malengier
6544ab67ad 2007-04-28 Benny Malengier <bm@cage.ugent.be>
* src/images/.../Makefile.am:
	* src/images/Makefile.am:
        * src/DataViews/_RelationView.py:
        * src/MarkupText.py:
        * src/gramps_main.py:
        * src/images/.../gramps-font-color...: 
        * src/images/.../gramps-font-bgcolor...:
        * src/images/.../gramps-parents-open...:
        * src/images/48x48/gramps-parents-add.png:
	New icons for add/share parents, clean up media icon, icons for fonts as asked by Zsolt, delete of no more needed icons  gramps-sharefamily, gramps-media-all. Reflect changes to images to makefiles. Use the new icons.



svn: r8430
2007-04-28 14:25:18 +00:00
Brian Matherly
26bda1fdae Fix errors in bookmark filters.
svn: r8429
2007-04-28 03:55:43 +00:00
Benny Malengier
852696cc5d 2007-04-27 Benny Malengier <bm@cage.ugent.be>
* src/images/22x22/Makefile.am:
	* src/images/16x16/Makefile.am:
	* src/images/48x48/Makefile.am:
	* src/images/scalable/Makefile.am:
	* src/images/Makefile.am:
	Reflect changes to images to makefiles



svn: r8424
2007-04-27 17:42:50 +00:00
Zsolt Foldvari
58cf8fede0 2007-04-27 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/MarkupText.py:
	* src/Editors/_EditNote.py:
	Rewrite of the note markup functionality, also fixes: #1024.



svn: r8422
2007-04-27 00:18:09 +00:00
Brian Matherly
3eebd910d5 Move Graphic Styles, Table Styles and Cell Styles into the StyleSheet class. All report styles are now defined in the "get_default_style()" function.
svn: r8421
2007-04-23 11:46:26 +00:00
Brian Matherly
4708a791a4 Escape still wasn't right in ODFDoc.py. Ancestor and descendant charts were displaying wrong.
svn: r8418
2007-04-22 13:29:05 +00:00
Brian Matherly
c36c05775e 0000970: _IsBookmarked.py causes crash
svn: r8416
2007-04-21 18:58:34 +00:00
Benny Malengier
eeda8e68fe 2007-04-21 Benny Malengier <bm@cage.ugent.be>
* src/Editors/_EditFamily.py : add up down arraw on children list
	* src/DisplayTabs/_EmbeddedList.py : generalize select method for
	up/down movement in list


svn: r8414
2007-04-21 08:09:51 +00:00
Don Allingham
dc2afe8f55 2007-04-20 Don Allingham <don@gramps-project.org>
* src/DisplayModels/_BaseModel.py (BaseModel.add_row_by_handle): 
	if search not defined, do an insert
	* src/GrampsDb/_ReadGedcom.py: fix calendar parsing
	* src/GrampsDb/_WriteGedcom.py: fix calendar generation



svn: r8413
2007-04-21 04:54:28 +00:00
Brian Matherly
1c2514d9b2 PROPERLY escape ampersands in ODFDoc.py
svn: r8406
2007-04-20 03:58:03 +00:00
Martin Hawlisch
5face56141 * src/DisplayModels/_NoteModel.py: colorize using marker
svn: r8404
2007-04-19 12:18:38 +00:00
Benny Malengier
44321f2c89 2007-04-18 Benny Malengier <bm@cage.ugent.be>
* src/DisplayTabs/_EmbeddedList.py
	* src/DisplayTabs/_BackRefList.py
	* src/DisplayTabs/_NoteTab.py
	* src/DisplayTabs/_ButtonTab.py
	Added move up and move down buttons to the EmbeddedList, use them only
	for now in NoteTab



svn: r8402
2007-04-18 21:49:29 +00:00
Brian Matherly
44b6c47171 generate DEFAULT_DIR for databases from const.home_dir
svn: r8400
2007-04-18 11:55:17 +00:00
Don Allingham
6edbffe3a3 2007-04-17 Don Allingham <don@gramps-project.org>
* src/DataViews/_FamilyList.py: add marriage date column
	* src/GrampsDb/_DbUtils.py: add function for finding a marriage event
	* src/DisplayModels/_FamilyModel.py: add marriage date column
	* src/GrampsDbUtils/_GedcomParse.py: handle place form handing
	* src/GrampsDbUtils/_GedcomLex.py: handle place form handing
	* src/GrampsDbUtils/_WriteGedcom.py: handle note list
	* src/docgen/ODFDoc.py: escape special characters



svn: r8398
2007-04-18 02:12:40 +00:00
Benny Malengier
ec251900c5 2007-04-17 Benny Malengier <bm@cage.ugent.be>
* src/images/
       * src/GrampsWidgets.py
       * src/glade/gramps.glade
       * src/glade/edit_person.glade
       * src/DisplayTabs/_NoteTab.py
       Added new icons for lock, unlock, viewmedia, and start using them.
       Removed old lock and view icons.



svn: r8393
2007-04-16 23:07:32 +00:00
Martin Hawlisch
03c01fa4f0 * src/ViewManager.py (create_pages): fix off-by-one error when preselecting last view
svn: r8391
2007-04-16 13:57:03 +00:00
Brian Matherly
a8621d50ea 0001012: Private source and private child references shown in narrative website.
svn: r8385
2007-04-15 19:12:57 +00:00
Brian Matherly
166dfc6e8b 0001017: Insufficient space in pedigree view of narrative website
svn: r8383
2007-04-15 02:22:04 +00:00
Brian Matherly
5ce7b7c539 0001011: XML import loses media objects when media object has no title.
svn: r8380
2007-04-12 11:51:53 +00:00
Brian Matherly
79fd3aaf39 Remove file check from _GrampsIniKeys.py. It is not needed.
svn: r8372
2007-04-09 15:49:24 +00:00
Brian Matherly
8d41368b7f Missing comma in Checkpoint.py.
svn: r8370
2007-04-09 11:42:32 +00:00
Brian Matherly
d731371b7f 0001006: Narrative Web: Media objects missing title (description), mime_type, or path, are displayed poorly.
svn: r8366
2007-04-09 03:40:11 +00:00
Don Allingham
6303d781c4 2007-04-08 Don Allingham <don@gramps-project.org>
* src/DisplayState.py (DisplayState.__init__): allocate 15 spaces for match label



svn: r8364
2007-04-09 03:01:14 +00:00
Brian Matherly
1f6f8565ba 0000896: Crash running Narrative Web report - system memory exhausted.
svn: r8363
2007-04-08 20:19:14 +00:00
Don Allingham
a712445a2b 2007-04-07 Don Allingham <don@gramps-project.org>
* src/plugins/Checkpoint.py: update from 2.2
	* src/GrampsDb/_GrampsDbWriteXML.py: clean up
	* src/Editors/_EditPrimary.py: prevent double OK clicks
	* src/Editors/_EditPlace.py: prevent double OK clicks
	* src/Editors/_EditSource.py: prevent double OK clicks
	* src/Editors/_EditPerson.py: prevent double OK clicks
	* src/Editors/_EditRepository.py: prevent double OK clicks
	* src/Editors/_EditFamily.py: prevent double OK clicks
	* src/Editors/_EditEvent.py: prevent double OK clicks



svn: r8361
2007-04-08 04:24:38 +00:00
Brian Matherly
00632c6a70 0000998: Source Ref link refers to nothing in Narrative web report.
svn: r8358
2007-04-06 02:42:52 +00:00
Brian Matherly
ea9b663908 0000996: Individual attributes do no include source reference citations in Narrative Web report.
svn: r8356
2007-04-05 12:13:33 +00:00
Brian Matherly
ab25044a7e 0000993: Checkpoint tool crashes in Windows
svn: r8353
2007-04-05 02:58:54 +00:00
Zsolt Foldvari
44cd99f74d 2007-04-04 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/GrampsWidgets.py (Statusbar): min width given in #chars;
	right alignment of a bar is enabled.
	* src/DisplayState.py (DisplayState.__init__): statusbar creation
	with modified parameters.



svn: r8350
2007-04-03 23:34:08 +00:00
Don Allingham
f32d7b6d1a 2007-04-02 Don Allingham <don@gramps-project.org>
* src/DisplayState.py: shorten match message
	* src/GrampsDb/Makefile.am: Added _HelperFunctions.py
	* src/GrampsDb/__init__.py: Added _HelperFunctions.py
	* src/GrampsDb/_HelperFunctions.py: Added support functions



svn: r8349
2007-04-03 04:05:36 +00:00
Don Allingham
5580ad12d3 * src/GrampsDb/_GrampsDbBase.py: handle close/delete of active database
* src/DbManager.py: clean up
	* src/DbState.py: issue database-changed signal on db close
	* src/GrampsDbUtils/_GedcomParse.py: fix adding of notes
	* src/DbLoader.py: don't give undo warning if importing into empty db


svn: r8347
2007-04-02 03:56:30 +00:00
Don Allingham
30ce0c5291 2007-04-01 Don Allingham <don@gramps-project.org>
* src/DataViews/_PedigreeView.py: display matches in statusbar
	* src/DataViews/_PersonView.py: display matches in statusbar
	* src/DataViews/_RelationView.py: display matches in statusbar
	* src/DisplayState.py: display matches in statusbar
	* src/DisplayModels/_BaseModel.py: display matches in statusbar
	* src/DisplayModels/_PeopleModel.py: display matches in statusbar
	* src/GrampsDbUtils/_GedcomParse.py: display matches in statusbar
	* src/PageView.py: display matches in statusbar
	* src/Filters/_SearchBar.py: display matches in statusbar
	* src/DbManager.py: fix default file name



svn: r8346
2007-04-01 22:37:10 +00:00
Zsolt Foldvari
a5732076d6 2007-04-01 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/GrampsWidgets.py (Statusbar._set_packing): Reverse packing style.


svn: r8345
2007-04-01 20:12:14 +00:00
Zsolt Foldvari
4697422bed 2007-04-01 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/GrampsWidgets.py: Statusbar widget added.
	* src/ViewManager.py: use custom Statusbar.



svn: r8344
2007-04-01 16:37:23 +00:00
Brian Matherly
c71b782345 Remove "self.font" and "self.media_list" from the BaseDoc interface as they are only common to a couple of formats.
svn: r8342
2007-04-01 04:21:44 +00:00
Brian Matherly
6a864bb44c Fix PaperStyle typos for AbiWord2Doc.
svn: r8341
2007-04-01 03:10:29 +00:00
Don Allingham
2002d9a1ba 2007-03-29 Don Allingham <don@gramps-project.org>
* src/ViewManager.py: load previous db if requested
	* src/gramps_main.py: load previous db if requested
	* src/ArgHandler.py: load previous db if requested



svn: r8340
2007-03-30 04:23:46 +00:00
Brian Matherly
698c28f230 Remove "get_newpage()" and "set_newpage()" from the ReportOptions class. They are not really options. The BookReportDialog now takes care of inserting page breaks.
svn: r8339
2007-03-30 02:30:42 +00:00
Don Allingham
a9a388bead 2007-03-28 Don Allingham <don@gramps-project.org>
* src/ViewManager.py: call dbmanager if no file loaded on startup
	* src/DbManger.py: open buttons and double click
	* src/gramps_main.py: use "Family Trees"



svn: r8336
2007-03-29 01:42:21 +00:00
Zsolt Foldvari
0cc78b2e89 * src/DataViews/_NoteView.py: enable shortcuts and drag-and-drop.
* src/Bookmarks.py (NoteBookmarks.make_label): better note label.
	* src/DisplayTabs/_NoteModel.py: better note label for preview.
	* src/DisplayTabs/_NoteTab.py: enable accepting drag-and-drop notes.
	* src/ScratchPad.py: ScratchPadNote added.
	* src/DdTargets.py: NOTE_LINK added.

2007-03-28  Zsolt Foldvari  <zfoldvar@users.sourceforge.net>


svn: r8334
2007-03-28 16:27:45 +00:00
Zsolt Foldvari
33fedc18d4 2007-03-28 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/DataViews/_NoteView.py: put back column editor support.
	* src/GrampsDb/_GrampsDbBase.py (get_note_column_order): fix default
	values.
	* src/DisplayModels/_NoteModel.py: include marker column.



svn: r8333
2007-03-28 14:00:03 +00:00
Don Allingham
e8387f71c7 do the sensible thing, prevent duplicate names when creating a new db.
svn: r8332
2007-03-28 04:05:16 +00:00
Don Allingham
e5f0c18781 2007-03-27 Don Allingham <don@gramps-project.org>
* src/ViewManager.py: pass dbstate to DbManager
	* src/DbManager.py: add icon, prevent deletion of open db, make buttons
	do the sensible thing



svn: r8331
2007-03-28 03:33:11 +00:00
Brian Matherly
58b1e800ca Remove "parse_report_options_frame()" and "parse_other_frames()" from the report interface. They are not used.
svn: r8330
2007-03-28 03:17:13 +00:00
Brian Matherly
adbf4b1dac Remove "enable_options()" from the report interface. All reports define all their own options. So it is not used.
svn: r8329
2007-03-28 02:47:03 +00:00
Zsolt Foldvari
a7083cf69c * src/GrampsDb/_DbUtils.py (db_copy): include missing Note table;
handling Note bookmarks.
	* src/GrampsDb/_GrampsDbWriteXML.py:
	* src/GrampsDb/_GrampsDBDir.py:
	* src/GrampsDb/_GrampsBSDDB.py:
	* src/Bookmarks.py:
	* src/GrampsDbUtils/_ReadXML.py:
	Handling Note bookmarks.

2007-03-27  Zsolt Foldvari  <zfoldvar@users.sourceforge.net>


svn: r8328
2007-03-27 21:47:18 +00:00
Zsolt Foldvari
5257824b63 * src/GrampsDbUtils/_ReadGrdb.py (importData): include missing Note
table; handle Note bookmarks.

2007-03-27  Zsolt Foldvari  <zfoldvar@users.sourceforge.net>


svn: r8327
2007-03-27 20:39:42 +00:00
Zsolt Foldvari
cbd230e24b 2007-03-27 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/GrampsDb/_GrampsDbBase.py: add note_bookmarks.
	* src/DataViews/_NoteView.py: 'add' and 'remove' functionalities added.
	* src/Editors/_EditNote.py: DeleteNoteQuery added.
	* src/DisplayTabs/_NoteModel.pya: unnecessary delete_tags call removed.
	* src/Utils.py: get_referents() and get_note_referents added();
	get_source_referents() and get_media_referents() rewritten.



svn: r8326
2007-03-27 18:28:26 +00:00
Brian Matherly
2151ad9780 Remove the "pagecount" option from the paper menu in the reports. It is not used.
svn: r8325
2007-03-27 12:04:07 +00:00
Don Allingham
51de7f3399 2007-03-27 Don Allingham <don@gramps-project.org>
* src/DbManager.py (DbManager.populate): make default directory if it
	does not exist



svn: r8324
2007-03-27 11:54:10 +00:00
Brian Matherly
4a6b730259 Remove "get_generations()" from the report options base classes. It was
forcing some reports to have the "page break between generations" options
even though they weren't using it. All reports now define all of their own
options.

svn: r8323
2007-03-27 11:50:26 +00:00
Brian Matherly
aa57b4b1a6 Make Detailed Descendant Report work with multiple notes.
svn: r8322
2007-03-27 04:25:25 +00:00
Brian Matherly
86fe9d11a8 fix for multiple notes.
svn: r8321
2007-03-27 04:18:14 +00:00
Don Allingham
911590e880 * src/ViewManager.py: integrate the new DbManager
* src/glade/gramps.glade: integrate the new DbManager
	* src/gramps_main.py: integrate the new DbManager
	* src/DbManager.py: integrate the new DbManager


svn: r8320
2007-03-27 03:18:49 +00:00
Don Allingham
bfe0e121fb 2007-03-26 Don Allingham <don@gramps-project.org>
* src/DisplayModels/_PeopleModel.py (PeopleModel._build_search_sub): 
	switch back to old format for handling cursor until bug can be resolved



svn: r8319
2007-03-26 22:16:10 +00:00
Zsolt Foldvari
6aad932574 2007-03-26 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/Editors/_EditNote.py (save): pass the handle to the callback
	instead of the object itself.
	* src/DisplayTabs/_NoteTab.py: pass the add and edit callback functions
	to EditNote; side button tooltips.



svn: r8318
2007-03-26 21:06:17 +00:00
Brian Matherly
dfed629290 Remove get_report_extra_menu_info() from _BareReportDialog as it is not used.
svn: r8317
2007-03-26 04:13:22 +00:00
Brian Matherly
7ee6b12070 Remove get_report_filters() function. Let reports define the filter options themselves.
svn: r8315
2007-03-25 20:35:33 +00:00
Don Allingham
d20b4833f9 2007-03-24 Don Allingham <don@gramps-project.org>
* src/ViewManager.py: add support for new directory type
	* src/GrampsDb/_GrampsDbBase.py: use normal pickle encoding
	* src/GrampsDb/_GrampsDBDir.py: new directory based type
	* src/GrampsDb/_GrampsDbFactories.py: add support for new directory type
	* src/Editors/_EditNote.py: only update on save
	* src/Selectors/_SelectPerson.py: use normal columns
	* src/GrampsDbUtils/_ReadGedcom.py: add support for new directory type
	* src/GrampsDbUtils/__init__.py: add support for new directory type
	* src/GrampsDbUtils/_Backup.py: fast pickle based backup
	* src/ArgHandler.py: add support for new directory type



svn: r8313
2007-03-25 02:25:37 +00:00
Zsolt Foldvari
be30e422b9 * src/Editors/_EditAddress.py:
* src/Editors/_EditLdsOrd.py:
	* src/Editors/_EditSourceRef.py:
	* src/Editors/_EditEventRef.py:
	* src/Editors/_EditMedia.py:
	* src/Editors/_EditName.py:
	* src/Editors/_EditEvent.py:
	* src/glade/gramps.glade:
	move date_entry(ValidatableMaskedEntry) out into glade.

2007-03-24  Zsolt Foldvari  <zfoldvar@users.sourceforge.net>


svn: r8312
2007-03-24 00:30:14 +00:00
Zsolt Foldvari
901f282088 2007-03-24 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/MarkupText.py (MarkupBuffer.set_text): better unicode encoding.
	* src/Editors/_EditPlace.py: source code encoding comment removed;
	EditPlace._validate_coordinate: proper unicode coding;
	EditPlace._setup_fields: longitude and latitude entries moved out to
	glade.
	* src/Editors/_EditNote.py (EditNote._local_init): redundant method
	call removed.
	* src/GrampsWidgets.py: enable custom widget support from glade;
	MonitoredEntry.connect: enable support for custom data for signal.
	* src/glade/gramps.glade (place_editor): include ValidatableMaskedEntry
	for longitude and latitude entries.
	* src/ManagedWindow.py (ManagedWindow.show): replace window.show() with
	window.show_all().



svn: r8311
2007-03-23 23:18:32 +00:00
Zsolt Foldvari
8c6223ba1e 2007-03-21 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/MarkupText.py (MarkupBuffer.set_text): convert unicode to byte
	string for parseString.
	* src/Editors/_EditAddress.py:
	* src/Editors/_EditLdsOrd.py:
	* src/Editors/_EditSourceRef.py:
	* src/Editors/_EditEventRef.py:
	* src/Editors/_EditMedia.py:
	* src/Editors/_EditName.py:
	* src/Editors/_EditEvent.py: attach ValidatableMaskedEntry into table
	with FILL=False yoption for having the validation error tip at right
	position.



svn: r8309
2007-03-21 22:11:52 +00:00
Brian Matherly
1b93bf11ea src/plugins/IndivComplete.py: handle multiple notes
svn: r8306
2007-03-20 12:05:58 +00:00
Brian Matherly
071d7cc6ec src/plugins/GraphViz.py: fix NameDisplay include
svn: r8305
2007-03-20 03:09:17 +00:00
Don Allingham
0d778ae075 2007-03-18 Don Allingham <don@gramps-project.org>
* src/ViewManager.py: use tooltips for buttons when text disabled (bug 959)
	* src/Editors/_EditSourceRef.py: fix help button (bug 960),  delete the cancel
	on the comment tab.
	* src/Editors/_EditReference.py: make sure help button is sensitive if used.
	* src/GrampsDbUtils/_GedcomParse.py: check for UTF16 BOM
	* src/ArgHandler.py: use STOCK_NEW for create of db (bug 947)
	* src/DbLoader.py: use STOCK_NEW for create of db (bug 947)



svn: r8304
2007-03-19 04:19:49 +00:00
Zsolt Foldvari
eacc71f544 2007-03-17 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/Editors/_EditPlace.py: better tooltip for coordinates; fix position
	of those tooltip.



svn: r8301
2007-03-17 20:07:11 +00:00
Brian Matherly
ab75a832f7 src/Editors/_EditPlace.py: Add the following comment at the top of the
file:
   # -*- coding: latin-1 -*-
See here: http://www.python.org/dev/peps/pep-0263/ for details.
I'm not sure if this is what we want to do, or if there is a better way,
But I needed to do something to get Gramps running again.

svn: r8300
2007-03-15 02:50:36 +00:00
Brian Matherly
2874f7a2fe 0000975: remove extra (/b) HTML tags in NarrativeWeb
svn: r8299
2007-03-14 03:26:10 +00:00
Brian Matherly
52286c98ee 0000976: NarrativeWeb: gramps ID always output regardless of setting
svn: r8297
2007-03-14 03:15:47 +00:00
Brian Matherly
be917a4c16 src/plugins/NarrativeWeb.py: 0000969: NarrativeWeb plugin: include the date in the media object pages
svn: r8295
2007-03-13 23:00:33 +00:00
Zsolt Foldvari
efcaf0d6e1 * src/Editors/_EditPlace.py (_setup_fields): validate coordinates
* src/glade/gramps.glade: delete long, lat entries from place_editor

2007-03-13  Zsolt Foldvari  <zfoldvar@users.sourceforge.net>


svn: r8293
2007-03-13 22:12:10 +00:00
Zsolt Foldvari
63e344754f 2007-03-13 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/RelLib/_Note.py: import const from MarkupText module
	* src/MarkupText.py: use actions instead of widgets on the interface;
	new helper functions
	* src/Editors/_EditNote.py: move widgets out to glade; implement new
	MarkupText buffer interface; use uimanager/toolbar for formatting
	* src/glade/gramps.glade: edit_note update



svn: r8292
2007-03-13 20:31:50 +00:00
Brian Matherly
7593dbfe69 src/ReportBase/_ReportDialog.py: don't catch all exceptions - we won't get a traceback.
svn: r8291
2007-03-11 22:21:19 +00:00
Brian Matherly
066c41d25a * src/plugins/NarrativeWeb.py: 0000950: include the date in the reference sections of the narrative web site
svn: r8288
2007-03-11 19:33:27 +00:00
Brian Matherly
e463a083a3 * src/plugins/NarrativeWeb.py: Support new note API
* src/ReportBase/_ReportUtils.py: Support new note API

svn: r8287
2007-03-10 04:25:23 +00:00
Don Allingham
32e6699bff 2007-03-08 Don Allingham <don@gramps-project.org>
* src/GrampsDbUtils/_GedcomParse.py
	* src/GrampsDbUtils/_GedcomChar.py
	* src/GrampsDbUtils/_GedcomLex.py



svn: r8286
2007-03-09 06:58:45 +00:00
Don Allingham
c1c6e32085 * src/GrampsDbUtils/_GedcomParse.py (GedcomParser.__parse_record): fix note handling
svn: r8281
2007-03-07 05:25:33 +00:00
Brian Matherly
56f70f5777 * src/plugins/AncestorChart.py: Deleted - just an old version of AncestorChart2.py
svn: r8279
2007-03-07 03:56:28 +00:00
Brian Matherly
8ab1d729aa * src/plugins/NarrativeWeb.py:
* src/ReportBase/_ReportUtils.py:
Fix 0000956: Event order within GRAMPS not replicated in web report

svn: r8278
2007-03-07 03:15:45 +00:00
Don Allingham
1736120c61 2007-03-06 Don Allingham <don@gramps-project.org>
* src/Editors/_EditFamily.py (EditFamily.save): disable data changed warning
	when saving the data - we know that it changed.



svn: r8276
2007-03-06 21:18:40 +00:00
Brian Matherly
a4f28f1a16 src/plugins/NarrativeWeb.py: Fix 0000954: e-mail address causes Narrative Web plugin to generate bad links
svn: r8274
2007-03-06 04:30:22 +00:00
Don Allingham
2ca305b204 2007-03-05 Don Allingham <don@gramps-project.org>
* src/ViewManager.py: support for close button on filter sidebar
	* src/DisplayModels/_BaseModel.py: support for marker coloring
	* src/DisplayModels/_FamilyModel.py: support for marker coloring
	* src/PageView.py: support for marker coloring
	* src/Filters/SideBar/_SidebarFilter.py: provide close button
	* src/Filters/SideBar/_PersonSidebarFilter.py: cleanup



svn: r8272
2007-03-06 04:13:14 +00:00
Brian Matherly
a88d60ad23 * src/plugins/GraphViz.py: Fix doc init.
svn: r8271
2007-03-06 04:06:04 +00:00
Brian Matherly
51d7922473 * src/docgen/GtkPrint.py: Fix 0000908: GtkPrint doesn't parse if you don't have pygtk version 2.10
svn: r8270
2007-03-06 03:01:43 +00:00
Brian Matherly
4d4b9441d0 * src/plugins/GraphViz.py: Fix 0000942: Relationship graph doesn't show preferred name format
svn: r8269
2007-03-06 02:26:55 +00:00
Brian Matherly
99b5a11b20 * src/plugins/TimeLine.py: Fix 0000943: Timeline doesn't show preferred name format
svn: r8267
2007-03-06 02:12:03 +00:00
Don Allingham
7787981804 * src/GrampsDbUtils/_GedcomParse.py: cleanup, reference note fixes
svn: r8265
2007-03-04 05:04:23 +00:00
Don Allingham
a7ad83b3ff 2007-03-03 Don Allingham <don@gramps-project.org>
* src/GrampsDb/_GrampsGEDDB.py: readonly database for GEDCOM
	* src/Editors/_EditNote.py: add additional fields
	* src/RelLib/_Note.py: cleanup
	* src/DisplayTabs/_NoteModel.py: display correctly
	* src/GrampsWidgets.py: readonly support for checkbox
	* src/glade/gramps.glade: note fixes
	* src/DisplayModels/_NoteModel.py: display data correctly
	* src/GrampsDbUtils/_GedcomParse.py: cleanup 
	* example/gramps/example.gramps: new note support
	* example/gedcom/sample.ged: new note support



svn: r8264
2007-03-04 02:55:43 +00:00
Brian Matherly
cd570de9e3 * src/plugins/AncestorChart2.py:
* src/plugins/DescendChart.py:
	Make AncestorChart and DescendChart consistent in options
* src/ReportBase/_BareReportDialog.py: remove get_report_extra_textbox_info
* src/ReportBase/_CommandLineReport.py:
* src/ReportBase/_ReportOptions.py:
	remove dispf

svn: r8263
2007-03-03 03:12:04 +00:00
Martin Hawlisch
12ac250d3e * src/GrampsDbUtils/_GedcomParse.py: Fix level of handle_source calls
* src/GrampsDbUtils/_GedcomLex.py: fix typo



svn: r8261
2007-03-02 16:24:14 +00:00
Don Allingham
d98a23b8d1 2007-02-28 Don Allingham <don@gramps-project.org>
* src/GrampsDbUtils/_GedcomParse.py: more enhancements
	* src/GrampsDbUtils/_GedcomChar.py: more enhancements
	* src/GrampsDbUtils/_GedcomTokens.py: more enhancements



svn: r8259
2007-03-01 05:18:46 +00:00
Martin Hawlisch
66b631f12e * src/plugins/ImportGeneWeb.py: Adapt to new Notes api; Some parsing fixes
svn: r8257
2007-02-28 16:42:38 +00:00
Don Allingham
dd6be5ad72 * src/GrampsDbUtils/_GedcomChar.py: handle stripping of newlines
* src/GrampsDbUtils/_GedcomLex.py: handle newlines and eof
	the declaration line, give notes and id/handle


svn: r8256
2007-02-28 05:20:30 +00:00
Don Allingham
0a75738eb5 2007-02-27 Don Allingham <don@gramps-project.org>
* src/GrampsDbUtils/_GedcomParse.py (GedcomParser.parse_fam): use
	parse_level



svn: r8255
2007-02-27 16:45:40 +00:00
Brian Matherly
d7d7ed340b * src/BaseDoc.py:
* src/docgen/PSDrawDoc.py:
* src/docgen/SvgDrawDoc.py:
* src/docgen/PdfDoc.py:
* src/docgen/OpenOfficeDoc.py:
* src/docgen/GtkPrint.py:
* src/docgen/LPRDoc.py:
* src/docgen/ODFDoc.py:
* src/plugins/StatisticsChart.py:
* src/plugins/Calendar.py:
* src/ReportBase/_ReportUtils.py:
Remove draw_bar function

svn: r8254
2007-02-27 04:10:43 +00:00
Brian Matherly
1f11a01c89 * src/plugins/WritePkg.py: Fix crash on gpkg export in Windows
svn: r8253
2007-02-27 02:40:38 +00:00
Don Allingham
19f4c3ab91 2007-02-26 Don Allingham <don@gramps-project.org>
* src/GrampsDbUtils/_GedcomParse.py: handle EVENTS with argument on
	the declaration line
	* src/GrampsDbUtils/_GedcomLex.py: handle EVENTS with argument on
	the declaration line



svn: r8251
2007-02-26 23:12:29 +00:00
Martin Hawlisch
66ea62668c * src/GrampsDbUtils/_GedcomParse.py: Fix creation of Nobility Title
svn: r8250
2007-02-26 20:54:08 +00:00
Martin Hawlisch
b9b069b620 * src/GrampsDbUtils/_GedcomParse.py: Parse MAP/LATI/LONG
* src/GrampsDbUtils/_GedcomTokens.py: Add MAP,LATI,LONG


svn: r8249
2007-02-26 19:59:53 +00:00
Martin Hawlisch
71f2c8d103 * src/RelLib/_AttributeType.py: Add WITNESS (used by GEDCOM parser to import textual event witness information
* src/GrampsDbUtils/_GedcomParse.py: Support for some types of Witness data



svn: r8246
2007-02-26 17:06:22 +00:00
Don Allingham
27b4846869 2007-02-26 Don Allingham <don@gramps-project.org>
* src/GrampsDbUtils/_GedcomParse.py: encode file name properly



svn: r8245
2007-02-26 16:42:42 +00:00
Zsolt Foldvari
551a36536e 2007-02-26 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/MarkupText.py: avoid creating empty elements in xml generator



svn: r8244
2007-02-26 14:23:59 +00:00
Alex Roitman
5ae0ac4550 Update
svn: r8243
2007-02-26 07:02:29 +00:00
Don Allingham
660b03cf05 * src/ViewManager.py: attribution for icons
* src/GrampsDbUtils/_GedcomParse.py: enhancements in parsing
	* src/GrampsDbUtils/_GedcomTokens.py: remove double AGNC


svn: r8241
2007-02-26 05:14:50 +00:00
Don Allingham
18984b840e 2007-02-25 Don Allingham <don@gramps-project.org>
* src/DataViews/__init__.py: Add NoteView
	* src/DataViews/_NoteView.py: Added
	* src/Config/_GrampsConfigKeys.py: Added new keys to handle note dialog 
	width
	* src/Editors/__init__.py: Add _EditNote.py
	* src/Editors/_EditNote.py: Added
	* src/DisplayTabs/_NoteTab.py: Updated to the new list format
	* src/GrampsWidgets.py: Add checkbox support
	* src/glade/gramps.glade: Added edit_note
	* data/gramps.schemas.in: new keys



svn: r8240
2007-02-26 01:39:16 +00:00
Brian Matherly
7ee2ff3f5c * src/plugins/AncestorChart2.py: Fix index error
svn: r8239
2007-02-25 23:04:03 +00:00
Brian Matherly
4b510b098c * src/BaseDoc.py:
* src/docgen/PSDrawDoc.py:
* src/docgen/SvgDrawDoc.py:
* src/docgen/PdfDoc.py:
* src/docgen/OpenOfficeDoc.py:
* src/docgen/GtkPrint.py:
* src/docgen/LPRDoc.py:
* src/docgen/ODFDoc.py:
* src/plugins/AncestorChart2.py:
* src/plugins/DescendChart.py:
* src/plugins/StatisticsChart.py:
* src/plugins/TimeLine.py:
Remove height and width from GraphicsStyle

svn: r8237
2007-02-25 21:53:38 +00:00
Benny Malengier
97e29e18d1 2007-02-25 Benny Malengier <bm@cage.ugent.be>
* src/gramps_main.py: new icons, register them
	* src/DateEdit.py : use icon
	* src/PageView.py : use icon
	* src/DisplayTabs/_AddrEmbedList.py and
	src/DisplayTabs/_AttrEmbedList.py : use icon


svn: r8236
2007-02-25 21:36:42 +00:00
Don Allingham
30e58297bd 2007-02-25 Don Allingham <don@gramps-project.org>
* src/DataViews/Makefile.am: install _NoteView.py
	* src/DisplayTabs/Makefile.am: install NoteModel.py
	* src/GrampsDbUtils/Makefile.am: install _GedcomChar.py and
	_GedcomLex.py
	
2007-02-25  Kees Bakker  <kees.bakker@xs4all.nl>
	* src/GrampsDbUtils/_GedcomUtils.py: Fix index checking on IDs



svn: r8233
2007-02-25 15:07:24 +00:00
Martin Hawlisch
ac3e84d207 * src/DataViews/_NoteView.py: Enable filter editor
* src/FilterEditor/_FilterEditor.py: Note Filter Editor
* src/FilterEditor/_EditRule.py: Note Filter Editor
* src/Filters/Rules/Note/_HasNote.py: Rename label
* src/Filters/Rules/Note/__init__.py: Add more rules
* src/Filters/Rules/__init__.py: Add Note Rules



svn: r8232
2007-02-25 12:19:47 +00:00
Don Allingham
706916af15 2007-02-24 Don Allingham <don@gramps-project.org>
* src/DisplayTabs/_NoteModel.py: added
	* src/DisplayTabs/_NoteTab.py: support new list
	* src/GrampsDbUtils/_GedcomParse.py: enhancements to parsing
	* src/GrampsDbUtils/_ReadGedcom.py: handle encoding properly
	* src/GrampsDbUtils/_GedcomChar.py: new encoding interface
	* src/GrampsDbUtils/_GedcomLex.py: cleanup



svn: r8231
2007-02-25 05:26:32 +00:00
Brian Matherly
a8ad1dcdcf * src/docgen/SvgDrawDoc.py.py: Fix XML error in draw_text.
svn: r8230
2007-02-24 22:34:22 +00:00
Brian Matherly
5aa3a0f4b0 * src/BaseDoc.py:
* src/ReportBase/_CommandLineReport.py:
* src/ReportBase/_ReportDialgo.py:
* src/docgen/PdfDoc.py:
* src/docgen/OpenOfficeDoc.py:
* src/docgen/ODFDoc.py:
* src/docgen/RDFDoc.py:
* src/docgen/KwordDoc.py:
* src/docgen/PSDrawDoc.py:
* src/docgen/SvgDrawDoc.py:
* src/docgen/HtmlDoc.py:
* src/docgen/AbiWord2Doc.py:
* src/docgen/LaTeXDoc.py:
* src/plugins/BookReport.py:
Add PaperStyle to BaseDoc

svn: r8229
2007-02-24 21:15:21 +00:00
Zsolt Foldvari
f5bfffad4e 2007-02-24 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/Makefile.am: update
	* src/BasicUtils/Makefile.am: update



svn: r8228
2007-02-24 20:58:51 +00:00
Martin Hawlisch
609bfbc9eb * src/Filters/_GenericFilter.py: Add GenericNoteFilter
* src/Filters/Rules/Makefile.am: Add new Note subfolder
* src/Filters/Rules/Note/*: Added new files
* src/Filters/SideBar/_NoteSidebarFilter.py: New file
* src/Filters/SideBar/Makefile.am: Add NoteSidebarFilter
* src/Filters/SideBar/__init__.py: Add NoteSidebarFilter
* src/DataViews/_NoteView.py: Enable NoteSidebarFilter
* po/POTFILES.in: Add the new files
* configure.in: Add new subfolder



svn: r8226
2007-02-24 19:16:50 +00:00
Don Allingham
0e92d73447 2007-02-23 Don Allingham <don@gramps-project.org>
* src/GrampsDbUtils./_GedcomParse.py: enhanced parsing based off testcases
	* src/GrampsDbUtils./_GedcomTokens.py: enhanced parsing based off testcases



svn: r8225
2007-02-24 06:13:30 +00:00
Alex Roitman
85f5facb3f 2007-02-23 Alex Roitman <shura@gramps-project.org>
* src/GrampsDb/_GrampsBSDDB.py (convert_notes_13): Typo preventing
	address upgrade.
	* src/GrampsDb/_GrampsDbWriteXML.py (write_address_list): Minor
	alignment corrections.
	* src/GrampsDb/_GrampsInMemDB.py (__init__): Define nid_trans.



svn: r8221
2007-02-24 00:24:57 +00:00
Don Allingham
57e7b3419a 2007-02-23 Don Allingham <don@gramps-project.org>
* src/GrampsDbUtils/_GedcomParse.py: handle error cases
	* src/GrampsDbUtils/_GedcomLex.py: handle error cases
	* src/GrampsDbUtils/_GedcomUtils.py: handle error cases



svn: r8219
2007-02-23 22:56:41 +00:00
Alex Roitman
9385c98706 2007-02-23 Alex Roitman <shura@phy.ucsf.edu>
* src/GrampsDb/_GrampsBSDDB.py (convert_notes_13): Skip empty notes.



svn: r8218
2007-02-23 21:17:41 +00:00
Don Allingham
ee407ca871 * src/GrampsDbUtils/_GedcomParser.py: fix a few bugs
svn: r8216
2007-02-23 06:03:02 +00:00
Don Allingham
7ea025b932 2007-02-22 Don Allingham <don@gramps-project.org>
* src/DataViews/_PedigreeView.py: remove redundant call
	* src/PageView.py: remove redundant call
	* src/ViewManager.py: pylint fixes



svn: r8212
2007-02-22 21:31:37 +00:00
Martin Hawlisch
83bb583b3e * plugins/TestcaseGenerator.py: Generate new Note objects
svn: r8211
2007-02-22 20:56:58 +00:00
Alex Roitman
29776e25b8 2007-02-22 Alex Roitman <shura@gramps-project.org>
* src/GrampsDb/_GrampsBSDDB.py (reindex_reference_map): Typo.
	* src/GrampsDb/_GrampsDbWriteXML.py (write_media_list): Typo.



svn: r8210
2007-02-22 20:42:51 +00:00
Alex Roitman
9bb2f90e0d 2007-02-21 Alex Roitman <shura@gramps-project.org>
* src/GrampsDb/_GrampsBSDDB.py (gramps_upgrade_13): Add upgrade
	path for 2.2.x data;
	(commit_13): A low-level commit hack to aid in upgrade_13;
	(convert_notes_13): Recursive converter for the notes in each
	object and its note-capable child objects.



svn: r8209
2007-02-22 07:52:54 +00:00
Zsolt Foldvari
bccf5acf4c 2007-02-21 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/MarkupText.py: raise error in case of parsing failure.
	* src/const.py.in: add argument support for debug switch.
	* src/ArgHandler.py (parse_arg): handle debug switch argument.



svn: r8207
2007-02-21 16:20:55 +00:00
Don Allingham
d9a15e920f * src/GrampsDbUtils/_ReadGedcom.py: more cleanup
* src/GrampsDbUtils/_GedcomTokens.py: more cleanup


svn: r8202
2007-02-21 05:07:14 +00:00
Alex Roitman
16785f84ad * data/grampsxml.dtd: Update DTD.
* data/grampsxml.rng: Update schema.


svn: r8201
2007-02-21 03:29:52 +00:00
Alex Roitman
302e3f1dbc * src/GrampsDb/_GrampsDbWriteXML.py (write_xml_data): Place notes
at the end.


svn: r8200
2007-02-21 02:54:12 +00:00
Alex Roitman
c076ac0f83 2007-02-20 Alex Roitman <shura@gramps-project.org>
* src/GrampsDbUtils/_ReadXML.py (start_noteref): Add method;
	(__init__): Use new method.



svn: r8199
2007-02-21 02:38:21 +00:00
Don Allingham
c7e9961040 2007-02-20 Don Allingham <don@gramps-project.org>
* src/GrampsDbUtils/_GedcomParse.py: Use the FAM->INDI mappings
	discovered in the StageOne parsing to fix missing relationships
	in Ancestry.com generated GEDCOM files.



svn: r8198
2007-02-20 23:58:39 +00:00
Benny Malengier
5cdb7b7336 2007-02-20 Benny malengier <bm@cage.ugent.be>
* gramps_main.py : register_stock_icons
        * src/images: delete old icons
	* src/images/48x48/: new icons
	* src/images/22x22/: new icons
	* src/images/16x16/: new icons
	* src/images/scalable/: new icons
	* src/glade/gramps.glade: use new icons
	* src/DataViews/_FamilyList.py: use new icons
	* src/DataViews/_RelationView.py: use new icons
	* src/DisplayTabs/_PersonBackRefList.py: use new icons



svn: r8196
2007-02-20 20:51:38 +00:00
Alex Roitman
9cdc858a36 * src/Config/Makefile.am (keys): Add "make keys" target to
regenerate the _rampsConfigKeys file.


svn: r8195
2007-02-20 20:49:44 +00:00
Alex Roitman
48d3cfdf0a * src/Config/_GrampsConfigKeys.py (RELEDITBTN): Regenerate the
file to add missing items.
	* data/gramps.schemas.in: Add missing key.


svn: r8194
2007-02-20 20:35:27 +00:00
Alex Roitman
801fc4ce94 Update
svn: r8193
2007-02-20 20:14:27 +00:00
Alex Roitman
7836382732 * src/RelLib/_Note.py (serialize,unserialize): Save and read
change.
	* src/RelLib/_Repository.py (serialize,unserialize): Save and read
	change.


svn: r8188
2007-02-20 07:21:16 +00:00
Alex Roitman
c603a7a2c7 2007-02-19 Alex Roitman <shura@gramps-project.org>
* src/GrampsDb/_GrampsDbWriteXML.py): Export top-level notes and
	note references.
	* src/RelLib/_Note.py (set_type,get_type): Add methods.



svn: r8187
2007-02-20 06:45:25 +00:00
Don Allingham
ad36ca1d56 2007-02-19 Don Allingham <don@gramps-project.org>
* src/DataViews/_NoteView.py: Display data and columns
	* src/RelLib/__init__.py: import NoteType
	* src/DisplayModels/_NoteModel.py: Display data and columns
	* src/GrampsDbUtils/_GedcomParse.py: note import improvements



svn: r8186
2007-02-20 04:35:34 +00:00
Brian Matherly
0a2d871480 * src/plugins/DescendChart.py: include blank pages option
* src/plugins/AncestorChart2.py: include blank pages option

svn: r8184
2007-02-20 03:49:50 +00:00
Don Allingham
a0d4ea5ab8 * src/Editors/_EditPlace.py: note list support
* src/Editors/_EditAddress.py: note list support
	* src/Editors/_EditLdsOrd.py: note list support
	* src/Editors/_EditSourceRef.py: note list support
	* src/Editors/_EditSource.py: note list support
	* src/Editors/_EditRepoRef.py: note list support
	* src/Editors/_EditAttribute.py: note list support
	* src/Editors/_EditPersonRef.py: note list support
	* src/Editors/_EditPerson.py: note list support
	* src/Editors/_EditMediaRef.py: note list support
	* src/Editors/_EditEventRef.py: note list support
	* src/Editors/_EditMedia.py: note list support
	* src/Editors/_EditRepository.py: note list support
	* src/Editors/_EditName.py: note list support
	* src/Editors/_EditChildRef.py: note list support
	* src/Editors/_EditFamily.py: note list support
	* src/Editors/_EditEvent.py: note list support
	* src/DisplayTabs/_NoteTab.py: note list support
	* src/GrampsDbUtils/_GedcomParse.py: note list support


svn: r8183
2007-02-20 01:36:26 +00:00
Alex Roitman
961a543cda Merge multiple notes branch
svn: r8182
2007-02-20 00:39:10 +00:00
Don Allingham
fa225335e6 2007-02-19 Don Allingham <don@gramps-project.org>
* src/GrampsDbUtils/_GedcomParse.py: fix PLAC/ADDR mappings



svn: r8171
2007-02-19 20:16:35 +00:00
Zsolt Foldvari
a5e91c6cf4 2007-02-19 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/GrampsWidgets.py (IconEntry): apply latest fixes from kiwi r5889



svn: r8169
2007-02-19 15:49:35 +00:00
Don Allingham
358b537986 2007-02-18 Don Allingham <don@gramps-project.org>
* src/GrampsDbUtils/_GedcomUtils.py: Add IdMapper class
	* src/GrampsDbUtils/_GedcomParser.py: refactoring



svn: r8167
2007-02-19 05:22:29 +00:00
Brian Matherly
f53f1abc21 * src/ReportBase/_PaperMenu.py: rename PaperStyle to PaperSize
* src/docgen/HtmlDoc.py: rename PaperStyle to PaperSize
* src/BaseDoc.py: rename PaperStyle to PaperSize
* src/plugins/Calendar.py: don't use tmargin

svn: r8166
2007-02-19 04:13:41 +00:00
Brian Matherly
cd68d34841 * src/plugins/AncestorChart2.py: Use a dict instead of an array to use less memory.
svn: r8165
2007-02-19 02:49:35 +00:00
Don Allingham
aa02f10882 2007-02-18 Don Allingham <don@gramps-project.org>
* src/GrampsDbUtils/_GedcomParse.py: more refactoring



svn: r8156
2007-02-18 19:53:14 +00:00
Martin Hawlisch
272b43b1f2 * src/GrampsDbUtils/_GedcomParse.py: Work around some Tracebacks
svn: r8155
2007-02-18 19:30:32 +00:00
Zsolt Foldvari
9d4b8bbb59 2007-02-16 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/DisplayTabs/_NoteTab.py: accelerators replaced with key-press
	signal handler.
	* src/DisplayTabs/_ButtonTab.py: accelerators removed; wrong concept.
	* src/DisplayTabs/_GrampsTab.py: accelerators removed; wrong concept.
	* src/Editors/_EditPrimary.py: accelerators removed; wrong concept.
	* src/Editors/_EditSecondary.py: accelerators removed; wrong concept.
	* src/Editors/_EditReference.py: accelerators removed; wrong concept.
	* src/ManagedWindow.py: accelerators removed; wrong concept.



svn: r8154
2007-02-18 18:08:26 +00:00
Richard Taylor
08cb17adde Make XML writer gtk independant again.
svn: r8144
2007-02-17 22:12:56 +00:00
Richard Taylor
625fbee200 More work on progress monitor.
svn: r8142
2007-02-17 19:59:21 +00:00
Brian Matherly
e197638418 * src/ReportBase/_Report.py: remove unused progress bar functions
svn: r8141
2007-02-17 14:16:24 +00:00
Zsolt Foldvari
d3b383109d 2007-02-16 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/data/mainX.css: enable formatted notes on narrative web
	* src/plugins/NarrativeWeb.py: enable formatted notes on narrative web
	* src/MarkupText.py: properly reset xml generator output: fix #924
	* src/ManagedWindow.py: enable accelerators in editor windows 
	* src/Editors/_EditPrimary.py: enable accelerators in editor windows
	* src/Editors/_EditSecondary.py: enable accelerators in editor windows
	* src/Editors/_EditReference.py: enable accelerators in editor windows
	* src/DisplayTabs/_NoteTab.py: enable accelerators in editor windows 
	* src/DisplayTabs/_ButtonTab.py: enable accelerators in editor windows
	* src/DisplayTabs/_GrampsTab.py: enable accelerators in editor windows



svn: r8137
2007-02-16 21:20:36 +00:00
Richard Taylor
b49ef36e5d more work on progress dialog.
svn: r8131
2007-02-16 20:06:11 +00:00
Richard Taylor
73344ccb1c Add prototype progress dialog.
svn: r8127
2007-02-16 13:06:49 +00:00
Richard Taylor
d912167cab more work on long operation framework.
svn: r8126
2007-02-16 08:55:50 +00:00
Don Allingham
91b7257b57 2007-02-15 Don Allingham <don@gramps-project.org>
* src/GrampsDbUtils/_GedcomParse.py: refactoring
	* src/GrampsDbUtils/_GedcomUtils.py: refactoring



svn: r8123
2007-02-16 00:07:24 +00:00
Brian Matherly
d5077d219a * src/docgen/PSDrawDoc.py: remove draw_wedge from BaseDoc
* src/ReportBase/_ReportUtils.py: remove draw_wedge from BaseDoc
* src/plugins/FanChart.py: remove draw_wedge from BaseDoc
* src/BaseDoc.py: remove draw_wedge from BaseDoc

svn: r8121
2007-02-15 04:07:53 +00:00
Brian Matherly
5b457e10bd * src/docgen/HtmlDoc.py: fix html template loading.
* src/ReportBase/_ReportDialog.py: fix html template loading.

svn: r8119
2007-02-15 03:14:03 +00:00
Brian Matherly
7d48cdfc1e * src/ReportBase/_ReportUtils.py: 0000922: Slight change to estimate_age, and an additional function
svn: r8118
2007-02-15 02:26:18 +00:00
Don Allingham
b52be035cd 2007-02-14 Don Allingham <don@gramps-project.org>
* src/GrampsDbUtils/_GedcomParse.py: gedcom refactoring



svn: r8117
2007-02-14 23:51:52 +00:00
Don Allingham
0bf7a554b1 2007-02-13 Don Allingham <don@gramps-project.org>
* src/GrampsDbUtils/_GedcomParse.py: gedcom refactoring



svn: r8113
2007-02-14 05:38:46 +00:00
Brian Matherly
76f1f1f01e * src/ViewManager.py: fix crash during backup on windows
svn: r8112
2007-02-14 03:59:21 +00:00
Don Allingham
c5f64b054b 2007-02-13 Don Allingham <don@gramps-project.org>
* src/GrampsDb/_GrampsGEDDB.py: gedcom refactoring
	* src/GrampsDbUtils/_GedcomParse.py: gedcom refactoring
	* src/GrampsDbUtils/_ReadGedcom.py: gedcom refactoring
	* src/GrampsDbUtils/_GedcomLex.py: gedcom refactoring
	* src/GrampsDbUtils/_GrampsDbWRFactories.py: gedcom refactoring
	* src/GrampsDbUtils/_GedcomUtils.py: added
	* src/GrampsDbUtils/Makefile.am: added _GedcomUtils.py



svn: r8110
2007-02-14 00:00:31 +00:00
Zsolt Foldvari
f0dfca7041 2007-02-13 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/GrampsWidgets.py: Merge trunk changes r7950:8105
	* src/MarkupText.py: cleanup



svn: r8106
2007-02-13 15:47:56 +00:00
Don Allingham
1d7e22bcca 2007-02-12 Don Allingham <don@gramps-project.org>
* src/GrampsDbUtils/_GedcomParse.py: cleanup



svn: r8104
2007-02-13 06:01:16 +00:00
Brian Matherly
e543bef596 * src/docgen/PSDrawDoc.py: Fix center_text and draw_bar
svn: r8099
2007-02-13 04:34:01 +00:00
Brian Matherly
8848e8c865 * src/plugins/AncestorChart2.py: Fix title color
* src/plugins/DescendChart.py: Fix title color
* src/plugins/TimeLine.py: Fix title color

svn: r8098
2007-02-13 04:32:13 +00:00
Don Allingham
ddccd7e7bc 2007-02-12 Don Allingham <don@gramps-project.org>
* src/plugins/FindDupes.py: backport from 2.2.6



svn: r8095
2007-02-12 23:52:59 +00:00
Zsolt Foldvari
4cd6d41f79 * src/MarkupText.py: cleanup
* src/DisplayTabs/_NoteTab.py (build_interface): debug log
	* src/const.py.in: add new command line arg '-d,--debug'
	* src/gramps.py (setup_logging): change root logger default level
	to WARNING
	* src/ArgHandler.py (parse_arg): handle command line arg: debug

2007-02-12  Zsolt Foldvari  <zfoldvar@users.sourceforge.net>


svn: r8093
2007-02-12 22:33:03 +00:00
Zsolt Foldvari
4f390df00d 2007-02-12 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/MarkupText.py: improvements
	* src/RelLib/_Note.py (get): try to remove tags only if note is
	formatted
	* src/DisplayTabs/_NoteTab.py: cleanup



svn: r8092
2007-02-12 19:53:30 +00:00
Brian Matherly
2a6e0cb197 Remove the write_at function. Use draw_text instead. Add center_text to SVGDoc
svn: r8089
2007-02-12 04:55:11 +00:00
Don Allingham
02096637b8 2007-02-11 Don Allingham <don@gramps-project.org>
* src/Merge/_MergePlace.py: merge from 2.2 tree
	* src/GrampsDbUtils/_GedcomParse.py: parsing improvements
	* src/GrampsDbUtils/_GedcomLex.py: parsing improvements

2007-02-11  Don Allingham  <don@gramps-project.org>
	* src/Merge/_MergePlace.py (MergePlaces.merge): fix typo on 
	add_source_reference
2007-02-07  Zsolt Foldvari  <zfoldvar@users.sourceforge.net>
	* src/DisplayTabs/_NoteTab.py: move "rich text" notes to 2.3 branch.

2007-02-06  Brian Matherly  <brian@gramps-project.org>
	* src/docgen/PdfDoc.py: provide a more useful error when reportlab crashes

2007-02-06  Douglas Blank  <dblank@cs.brynmawr.edu>
	* src/ReportBase/_ReportDialog.py: 0000905: Typo in catching exceptions in 
	  buggy reports
	* src/plugins/holidays.xml: 0000906: Canada holidays patch

2007-02-06  Don Allingham  <don@gramps-project.org>
	* src/GrampsDb/_ReadGedcom.py: fix cal/est parsing
	* src/DisplayTabs/_ButtonTab.py: catch window already being open
	* example/gedcom/sample.ged: Add est/cal samples



svn: r8088
2007-02-12 03:53:56 +00:00
Don Allingham
fc666133b7 2007-02-10 Don Allingham <don@gramps-project.org>
* src/GrampsDb/_GrampsGEDDB.py: new GEDCOM parser module
	* src/RelLib/_BaseObject.py: new GEDCOM parser module
	* src/RelLib/_AttributeBase.py: new GEDCOM parser module
	* src/plugins/PHPGedViewConnector.py: new GEDCOM parser module
	* src/GrampsDbUtils/_GedcomParse.py: new GEDCOM parser module
	* src/GrampsDbUtils/__init__.py: new GEDCOM parser module
	* src/GrampsDbUtils/_GedcomLex.py: new GEDCOM parser module
	* src/GrampsDbUtils/_GrampsDbWRFactories.py: new GEDCOM parser module
	* src/GrampsDbUtils/_GedcomTokens.py: renamed from _GedTokens.py
	* src/GrampsDbUtils/Makefile.am: new GEDCOM parser module
	* src/ArgHandler.py: new GEDCOM parser module
	* example/gedcom/sample.ged: added test cases

	* src/docgen/OpenOfficeDoc.py: remove unused functions
	* src/docgen/HtmlDoc.py: remove unused functions
	* src/docgen/LPRDoc.py: remove unused functions
	* src/docgen/ODFDoc.py: remove unused functions


svn: r8083
2007-02-11 06:03:29 +00:00
Brian Matherly
92f4e58fc0 Remove unused functions from BaseDoc
svn: r8082
2007-02-11 03:51:43 +00:00
Zsolt Foldvari
e54cbc8c51 2007-02-11 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/MarkupText.py: added
	* src/DisplayTabs/_NoteTab.py: handling 'rich text' notes
	* src/RelLib/_NoteBase.py: handling 'rich text' notes
	* src/RelLib/_Note.py: handling 'rich text' notes
	* src/GrampsDb/_GrampsBSDDB.py: handling 'rich text' notes
	* src/GrampsDbUtils/_ReadXML.py: handling 'rich text' notes
	* src/GrampsDbUtils/_WriteXML.py: handling 'rich text' notes
	* src/Merge/_MergeSource.py: handling 'rich text' notes
	* src/Merge/_MergePlace.py: handling 'rich text' notes
	* src/Merge/_MergePerson.py: handling 'rich text' notes
	* src/ReportBase/_ReportUtils.py: handling 'rich text' notes
	* src/ViewManager.py: cleanup



svn: r8081
2007-02-10 23:40:48 +00:00
Don Allingham
da92a9431b 2007-02-09 Don Allingham <don@gramps-project.org>
* src/plugins/Check.py: fix illegal family events
	* src/GrampsDbUtils/_GedcomParse.py: improve parsing
	* src/GrampsDbUtils/_GedcomLex.py: improve parsing
	* src/GrampsDbUtils/_GedTokens.py: improve parsing



svn: r8079
2007-02-09 23:16:57 +00:00
Don Allingham
f845b6f887 2007-02-08 Don Allingham <don@gramps-project.org>
* src/GrampsDbUtils/_GedcomLex.py: make more table driven
	* src/GrampsDbUtils/_GedcomParse.py: added



svn: r8078
2007-02-09 05:40:49 +00:00
Don Allingham
45d29dc2a6 2007-02-07 Don Allingham <don@gramps-project.org>
* src/GrampsDbUtils/_GedcomLex.py: start of a lexical analyzer
	* src/GrampsDbUtils/_GedTokens.py: additional tokens



svn: r8076
2007-02-08 06:09:46 +00:00
Zsolt Foldvari
0ae91eac93 2007-02-07 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/GrampsDbUtils/_WriteGedcom.py (export_data): more complete SUBM
	record on export.



svn: r8072
2007-02-07 10:40:56 +00:00
Brian Matherly
04d8c46637 * src/docgen/PdfDoc.py: provide a more useful error when reportlab crashes
svn: r8071
2007-02-07 04:40:14 +00:00
Brian Matherly
0336daf1f3 * src/plugins/holidays.xml: 0000906: Canada holidays patch
svn: r8069
2007-02-07 04:04:07 +00:00
Brian Matherly
2461850cbc * src/ReportBase/_ReportDialog.py: 0000905: Typo in catching exceptions in buggy reports
svn: r8066
2007-02-07 03:59:43 +00:00
Zsolt Foldvari
a4a831f880 delete Id keyword from ChangeLog line
svn: r8062
2007-02-06 12:41:01 +00:00
Don Allingham
abf15c7712 2007-02-05 Don Allingham <don@gramps-project.org>
* src/DataViews/_MediaView.py: view export support
	* src/DataViews/_RepositoryView.py: view export support
	* src/DataViews/_SourceView.py: view export support
	* src/DataViews/_EventView.py: view export support
	* src/DataViews/_FamilyList.py: view export support
	* src/DataViews/_PlaceView.py: view export support
	* src/DataViews/_PersonView.py: view export support
	* src/ViewManager.py: view export support
	* src/plugins/EventCmp.py: use new format
	* src/PageView.py: view export support
	* src/docgen/TabbedDoc.py: base class for tabular format
	* src/docgen/ODSTab.py: Open Document format for tabular format
	* src/docgen/CSVTab.py: Comma Separated Value format for tabular format



svn: r8060
2007-02-06 05:19:16 +00:00
Zsolt Foldvari
fbe04615f5 2007-02-05 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/GrampsDb/_GrampsBSDDB.py: load/save db owner info
	* src/GrampsDb/_DbUtils.py (db_copy): copy also db owner



svn: r8057
2007-02-04 23:59:03 +00:00
Zsolt Foldvari
2388f485bd 2007-02-04 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/plugins/OwnerEditor.py: include $Id$



svn: r8055
2007-02-04 22:18:26 +00:00
Don Allingham
6caacadb2d In .:
2007-02-04  Don Allingham  <don@gramps-project.org>
	* src/DataViews/_RelationView.py: default Relationship buttons to insenstive.
	Setting an active person will reenable them.

2007-02-03  Brian Matherly  <brian@gramps-project.org>
	* src/plugins/NarrativeWeb.py: fix 0000894: syntax error on Narrative web plugin

2007-02-03  Brian Matherly  <brian@gramps-project.org>
	* src/plugins/NarrativeWeb.py: fix 0000894: syntax error on Narrative web plugin

	* src/DateHandler/_DateParser.py (DateParser.init_strings): fix date parsing to allow
	for spaces in numerical format. #892
In po:
2007-02-03 Zdenek Hatas  <zdenek.hatas@gmail.com>
        * cs.po: Minor translation update. 



svn: r8054
2007-02-04 21:40:27 +00:00
Richard Taylor
3a69a0145e add initial cursor iter impl.
svn: r8052
2007-02-04 21:20:46 +00:00
Zsolt Foldvari
63614a2740 2007-02-04 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/GrampsLocale: set svn:ignore propery
	* src/BasicUtils: set svn:ignore propery
	* src/GrampsDbUtils: set svn:ignore propery
	* src/RelLib/_Researcher.py: add missing get/set methods
	* src/GrampsDbUtils/_WriteGedcom.py: db owner handling, warn for missing
	* src/GrampsCfg.py: db owner handling, new warning pref
	* src/Config/_GrampsConfigKeys.py: db owner handling, new warning pref
	* data/gramps.schemas.in: db owner handling, new warning pref
	* src/plugins/OwnerEditor.py: db owner handling, plugin tool
	* src/plugins/ownereditor.glade: db owner handling, plugin tool



svn: r8051
2007-02-04 17:37:36 +00:00
Richard Taylor
0707090c47 fix gedcom w/r import
svn: r8048
2007-02-04 07:13:46 +00:00
Don Allingham
9e475aa1af 2007-02-03 Don Allingham <don@gramps-project.org>
* glade/gramps.glade: change window positioning settings
	* glade/edit_person.glade: change window positioning settings



svn: r8047
2007-02-04 05:31:40 +00:00
Brian Matherly
9dde26770c typo
svn: r8044
2007-02-04 02:21:43 +00:00
Brian Matherly
9e65f8a7e3 * src/plugins/NarrativeWeb.py: fix 0000894: syntax error on Narrative web plugin
svn: r8043
2007-02-04 02:17:51 +00:00
Don Allingham
798a975bce * src/GrampsDb/_GrampsDbBase.py: convert DbState to its own file
* src/GrampsDb/__init__.py: convert DbState to its own file
	* src/DbState.py: convert DbState to its own file
	* src/gramps_main.py: convert DbState to its own file
	* src/Makefile.am: convert DbState to its own file


svn: r8041
2007-02-04 01:18:17 +00:00
Don Allingham
0113bb454a 2007-02-03 Don Allingham <don@gramps-project.org>
* configure.in: update version, process new Makefile.am files
	* src/GrampsDb/Makefile.am: update
	* src/Makefile.am: update



svn: r8040
2007-02-03 22:41:00 +00:00
Richard Taylor
4d010a6066 add license and makefiles.
svn: r8038
2007-02-03 20:08:41 +00:00
Don Allingham
ec1ec2a5a1 2007-02-03 Don Allingham <don@gramps-project.org>
* src/Editors/_EditFamily.py (EditFamily.check_for_family_change): fix
	warning message.

2007-02-02  Don Allingham  <don@gramps-project.org>
	* src/Editors/_EditFamily.py (EditFamily.check_for_family_change): update on data change
	from family-update signal



svn: r8036
2007-02-03 18:19:25 +00:00
Richard Taylor
f96b6f5dc2 refactor GrampsDb and clean RelLib deps.
svn: r8032
2007-02-03 17:11:05 +00:00
Alex Roitman
3bef6c0609 2007-02-02 Alex Roitman <shura@gramps-project.org>
* src/plugins/WriteCD.py: Properly encode URI.



svn: r8028
2007-02-02 17:14:12 +00:00
Don Allingham
537f7a6e7c 2007-02-02 Don Allingham <don@gramps-project.org>
* FAQ: update a bit.



svn: r8025
2007-02-02 12:48:14 +00:00
Alex Roitman
38d0e723a3 2007-02-01 Piotr Czubaszek <pioterus@gmail.com>
* src/plugins/rel_pl.py: Update.



svn: r8024
2007-02-01 19:10:09 +00:00
Alex Roitman
1f33ce7b2f 2007-02-01 Alex Roitman <shura@gramps-project.org>
* src/plugins/ChangeNames.py: Typo.



svn: r8023
2007-02-01 17:26:51 +00:00
Don Allingham
b4fedb0e0e * src/DataViews/_PersonView.py: use new delete function
* src/GrampsDb/_DbUtils.py: add person delete function
	* src/Editors/_EditFamily.py: catch signals to update window


svn: r8021
2007-01-31 04:50:12 +00:00
Brian Matherly
e36c9fc6d4 * src/plugins/IndivComplete.py: fix source citations (0000867)
* src/ReportBase.py: fix source citations (0000867)

svn: r8020
2007-01-31 03:16:11 +00:00
Brian Matherly
eaf86944e8 * src/docgen/ODFDoc.py: add start_superscript and stop_superscript
* src/docgen/KwordDoc.py: add start_superscript and stop_superscript
* src/docgen/RTFDoc.py: add start_superscript and stop_superscript
* src/docgen/HtmlDoc.py: add start_superscript and stop_superscript
* src/docgen/OpenOfficeDoc.py: add start_superscript and stop_superscript
* src/docgen/LaTeXDoc.py: add start_superscript and stop_superscript

svn: r8019
2007-01-31 03:13:31 +00:00
Alex Roitman
b37878b661 * src/plugins/RemoveUnused.py: Rewrite to offer object list
proposed for removal.
	* src/DisplayTabs/_BackRefList.py (edit_button_clicked): Change
	argument order in EditEvent call.
	* src/DataViews/_EventView.py: Change argument order in EditEvent call.
	* src/Editors/_EditEvent.py: Change argument order.


svn: r8018
2007-01-31 02:05:01 +00:00
Don Allingham
1269fcb4b1 * src/plugins/EventCmp.py: (#886) properly handle CANCEL on save dialog
svn: r8017
2007-01-31 02:03:37 +00:00
Don Allingham
a5676edc5f 2007-01-30 Don Allingham <don@gramps-project.org>
* src/ReportBase/_ReportDialog.py: error reporting
	* src/plugins/NarrativeWeb.py: error reporting

	* src/Filters/_SearchBar.py: numlock handling
	* src/Filters/SideBar/_SidebarFilter.py: numlock handling


svn: r8016
2007-01-31 00:02:15 +00:00
Alex Roitman
be70e6586c 2007-01-30 Alex Roitman <shura@gramps-project.org>
* configure.in: Bump up the version.



svn: r8015
2007-01-30 16:46:16 +00:00
Martin Hawlisch
f0d5c92564 * src/ScratchPad.py: Fix crash in GrampsType escaping; Additional tooltips for more objects.
svn: r8014
2007-01-30 13:07:21 +00:00
Don Allingham
0f1dd60323 2007-01-29 Benny Malengier <benny.malengier@ugent.be>
* src/DataViews/_PersonView.py: numlock handling
	* src/PageView.py: numlock handling
	* src/Filters/_SearchBar.py: numblock handling
	* src/Filters/SideBar/_SidebarFilter.py: numblock handling

	* src/DataViews/_PersonView.py: refactoring
	* src/DisplayModels/_PeopleModel.py: refactoring


svn: r8013
2007-01-30 04:35:13 +00:00
Don Allingham
b2860d222e * src/DisplayModels/_BaseModel.py: Refactor out node/path maps
* various: remove sets import


svn: r8011
2007-01-29 19:13:15 +00:00
Don Allingham
c408515179 * NEWS: update
* configure.in: update to 2.2.6


svn: r8009
2007-01-29 17:15:02 +00:00
Don Allingham
b188dd1796 2007-01-29 Don Allingham <don@gramps-project.org>
* src/ReportBase/_ReportOptions.py: fix landscape saving.



svn: r8006
2007-01-29 16:08:36 +00:00
Alex Roitman
af841d403e In .:
* src/ViewManager.py (_init_lists): Change Undo History binding to
	Ctrl+H because AltH was colliding with Help menu shortcut.
In help:
2007-01-28  Alex Roitman  <shura@gramps-project.org>
	* C/gramps.xml: Document the change.



svn: r8004
2007-01-28 18:20:10 +00:00
Alex Roitman
0918f73d44 In .:
2007-01-28  Alex Roitman  <shura@gramps-project.org>
	* NEWS: Update.

In po:
2007-01-28  Alex Roitman  <shura@gramps-project.org>
	* ru.po: Translation update.



svn: r8003
2007-01-28 18:11:09 +00:00
Don Allingham
736b549910 * src/ReportBase/_ReportOptions.py: (#877) escape XML constructs
* src/BaseDoc.py: escape XML constructs


svn: r8000
2007-01-28 05:08:49 +00:00
Don Allingham
f62fd63325 In .:
* src/DataViews/_PersonView.py: add enter to collapse row as well

2007-01-27  Benny Malengier  <benny.malengier@ugent.be>
	* src/DataViews/_PersonView.py: add enter to expand a tree row
	
2007-01-27  Don Allingham  <don@gramps-project.org>
	* src/PageView.py: add key accelerators
	* src/ViewManager.py: block interface on autobackup (#856), add key
	accelerators
In help:
2007-01-27  Don Allingham  <don@gramps-project.org>
	* C/gramps.xml: add more keybindings



svn: r7999
2007-01-28 04:38:56 +00:00
Don Allingham
d54c69bec7 * src/ViewManager.py: block interface on autobackup (#856)
* src/DisplayState.py: block interface on autobackup


svn: r7998
2007-01-28 02:51:18 +00:00
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
Don Allingham
e0be7c4f13 2007-01-17 Don Allingham <don@gramps-project.org>
* src/DataViews/_PersonView.py: optimizations
	* src/ViewManager.py: optimizations
	* src/gramps_main.py: optimizations
	* src/PageView.py: optimizations



svn: r7927
2007-01-18 04:29:52 +00:00
Brian Matherly
00765912ee src/ReportBase/_ReportDialog.py: 0000832: Please enable cm/inch toggle in custom size for relationship graph
svn: r7926
2007-01-18 03:05:26 +00:00
Richard Taylor
fdc521ea6f enable new name display.
svn: r7925
2007-01-17 20:43:02 +00:00
Martin Hawlisch
53ab0c08f0 * src/DataViews/_PersonView.py: Expand all nodes on interactive search
svn: r7924
2007-01-17 16:16:29 +00:00
Martin Hawlisch
b1390af780 * src/DisplayModels/_PeopleModel.py: fix MarkerType.TODO_TYPE
svn: r7923
2007-01-17 10:57:37 +00:00
Alex Roitman
a084ec571f 2007-01-16 Alex Roitman <shura@gramps-project.org>
* src/NameDisplay.py (set_name_format): Use hard-coded methods for
	the pre-set name displays formats.



svn: r7922
2007-01-17 07:10:52 +00:00
Don Allingham
6a700dd48d * src/GrampsDb/_ReadGedcom.py: handle missing place in LDS ord
svn: r7921
2007-01-17 05:18:47 +00:00
Don Allingham
38cff6178c 2007-01-16 Don Allingham <don@gramps-project.org>
* src/DataViews/_PersonView.py: optimization
	* src/ViewManager.py: remove double build call
	* src/DisplayModels/_PeopleModel.py: optimization



svn: r7920
2007-01-17 00:31:06 +00:00
Richard Taylor
dd38db4c4d faster name display
svn: r7919
2007-01-16 22:25:29 +00:00
Richard Taylor
66b5f7af4b fix get_cursor funcs
svn: r7918
2007-01-16 16:29:12 +00:00
Don Allingham
6a38e94b6e 2007-01-16 Don Allingham <don@gramps-project.org>
* src/DataViews/_PersonView.py (PersonView): disable cursor
	callbacks



svn: r7916
2007-01-16 13:20:47 +00:00
Martin Hawlisch
838b35e8f2 * src/Editors/*: Switch notebook tabs during DnD
svn: r7915
2007-01-16 07:12:10 +00:00