Commit Graph

3568 Commits

Author SHA1 Message Date
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
Don Allingham
88e4ddc0a6 2007-01-15 Don Allingham <don@gramps-project.org>
* src/DataViews/_PersonView.py: use watch cursor on node expand
	* src/GrampsDb/_ReadGedcom.py: handle empty repo instances
	* src/plugins/TestCaseGenerator.py: fix typo
	* src/DisplayState.py: manage watch cursors better (don't set twice)
	* src/DisplayModels/_PeopleModel.py: maintain backref hash table for quick access 
	to iter to node mappings at the top level.



svn: r7914
2007-01-16 05:54:40 +00:00
Don Allingham
cd12fc26f5 warning message. Fix typo.
svn: r7913
2007-01-15 23:30:39 +00:00
Martin Hawlisch
6bc316157b * src/ViewManager.py: Switch pages during DnD; Set active sidebar button properly
svn: r7912
2007-01-15 22:58:40 +00:00
Don Allingham
537a4523ea * src/ViewManager.py (check_for_portability_problems): simplify the
warning message.


svn: r7910
2007-01-15 21:28:19 +00:00
Don Allingham
bcac687883 2007-01-15 Don Allingham <don@gramps-project.org>
* src/DateEdit.py: make "bad date" translatable.



svn: r7907
2007-01-15 16:42:19 +00:00
Brian Matherly
d1130cd58a * src/plugins/GraphViz.py: 0000627: Relationship graph PDF papersize problems.
Use ghostscript instead of epstopdf

svn: r7905
2007-01-14 22:09:14 +00:00
Don Allingham
574055b5e7 2007-01-13 Don Allingham <don@gramps-project.org>
* po/gramps.pot: update



svn: r7900
2007-01-14 05:34:16 +00:00
Brian Matherly
d8b3d315ba * src/plugins/GraphViz.py: 0000705: font size in relationship graph
svn: r7899
2007-01-14 04:09:44 +00:00
Zsolt Foldvari
e8038567e1 2007-01-13 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/DisplayTabs/_NoteTab.py: beginning of formatted tabs



svn: r7897
2007-01-13 21:49:34 +00:00
Zsolt Foldvari
e06e67798c 2007-01-12 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/GrampsWidgets.py: cleanup
	* src/DateEdit.py: align DateEdit methods to ValidatableMaskedEntry
	behavior



svn: r7894
2007-01-12 11:54:40 +00:00
Don Allingham
0f348602bf 2007-01-11 Don Allingham <don@gramps-project.org>
* src/GrampsDb/_ReadGedcom.py (GedcomParser): fix parsing of the PLAC.FORM
	construct, handle Heredis's broken REPO format



svn: r7893
2007-01-12 05:16:29 +00:00
Zsolt Foldvari
477fb9157d 2007-01-11 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/DisplayState.py (DisplayState.__init__): fix level of 'root'
	looger and WarnHandler
	* src/GrampsWidgets.py: ValidatableMaskedEntry.set_default_error_msg()
	method added



svn: r7892
2007-01-11 21:15:33 +00:00
Don Allingham
cd89a41bb4 2007-01-10 Don Allingham <don@gramps-project.org>
* src/GrampsWidgets.py: add support for an "empty" signal on 
	ValidatableMaskedEntry so that we can update the value when the
	string has been cleared (bug #821)
	* src/DateEdit.py: catch empty signal (bug #821)



svn: r7891
2007-01-11 04:58:31 +00:00
Brian Matherly
72a4cf6370 src/plugins/GraphViz.py: Fix 0000817: typo "syle" intead of "style"
svn: r7890
2007-01-10 03:05:19 +00:00
Alex Roitman
5000d97921 2007-01-09 Alex Roitman <shura@gramps-project.org>
* src/const.py.in: use proper macros.
	* src/gramps.py: Correctly define dirs.



svn: r7889
2007-01-10 02:14:25 +00:00
Zsolt Foldvari
31683b307f 2007-01-10 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/Selectors/_BaseSelector.py (__init__, _on_row_activated):
	enable selection by Double-click or Enter



svn: r7888
2007-01-09 23:05:29 +00:00
Zsolt Foldvari
ecbfe5bf78 2007-01-09 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/GrampsWidget.py: set_completion_mode() added, exact_completion
	fixed, cleanup
	* src/GrampsLogger/_ErrorView.py: missing help_clicked method added
	* src/Editors/_EditEventRef.py: reminder about missing help handle
	


svn: r7887
2007-01-09 22:10:36 +00:00
Don Allingham
39368e4eb6 * src/DataViews/_MediaView.py: pylint
* src/DataViews/_RepositoryView.py: pylint
	* src/DataViews/_SourceView.py: pylint
	* src/DataViews/_EventView.py: pylint
	* src/DataViews/_FamilyList.py: pylint
	* src/DataViews/_PlaceView.py: pylint
	* src/DataViews/__init__.py: pylint
	* src/DataViews/_PersonView.py: pylint
	* src/DataViews/Makefile.am: pylint
	* src/DataViews/_RelationView.py: pylint
	* src/RelLib/_CalSdn.py: pylint
	* src/RelLib/_Person.py: pylint
	* src/RelLib/_Family.py: pylint
	* src/RelLib/_EventType.py: pylint
	* src/RelLib/_GrampsType.py: pylint
	* src/RelLib/_Event.py: pylint
	* src/RelLib/_LdsOrd.py: pylint
	* src/PageView.py: pylint


svn: r7885
2007-01-09 04:32:07 +00:00
Don Allingham
2d5349b7b8 * src/Filters/Rules/Place/__init__.py: add HasPlace to editor_rule_list
svn: r7884
2007-01-08 21:46:32 +00:00
Don Allingham
610ee95aa9 * src/RelLib/_Name.py: default utf8 strings
* src/RelLib/_MarkerType.py: default utf8 strings
	* src/RelLib/_Place.py: default utf8 strings
	* src/RelLib/_GrampsType.py: default utf8 strings
	* src/Filters/SideBar/_EventSidebarFilter.py: default utf8 strings
	* src/Filters/SideBar/_FamilySidebarFilter.py: default utf8 strings
	* src/Filters/SideBar/_PersonSidebarFilter.py: default utf8 strings
	as a fallback. (bug #779), convert string to unicode if needed (bug #604)


svn: r7883
2007-01-08 21:40:51 +00:00
Don Allingham
de760c6c66 2007-01-08 Don Allingham <don@gramps-project.org>
* src/ansel_utf8.py (utf8_to_ansel): handle single character indexes 
	as a fallback. (bug #779)
	* src/StartupDialog.py: removed - no longer used
	* src/Makefile.am: remove StartupDialog.py installation
	* po/POTFILES.in: removed StartupDialog.py



svn: r7882
2007-01-08 20:08:57 +00:00
Don Allingham
01f5d700d7 * src/plugins/NarrativeWeb.py: wrap photo description at a maximum
of 20 characters to prevent overlap (bug #658)


svn: r7880
2007-01-08 03:48:49 +00:00
Brian Matherly
a85bbf485e src/SubstKeywords.py: Fix 0000813: IDs in graphical reports error
svn: r7879
2007-01-08 03:12:42 +00:00
Don Allingham
d5ff16800a 2007-01-07 Don Allingham <don@gramps-project.org>
* src/RelLib/*.py: pylint fixes

2007-01-07  Douglas S. Blank <dblank@cs.brynmawr.edu>
	* src/Utils.py: probably_alive patch



svn: r7878
2007-01-08 01:49:33 +00:00
Alex Roitman
9c02ff28df 2007-01-06 Piotr Czubaszek <pioterus@gmail.com>
* src/plugins/rel_pl.py: Update.



svn: r7877
2007-01-07 07:40:51 +00:00