Commit Graph

216 Commits

Author SHA1 Message Date
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
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
Don Allingham
ec0623d67d svn: r8314 2007-03-25 03:17:25 +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
Kees Bakker
e92a5979a8 Use the normal sys.exit() instead of os._exit() because the latter will
not flush any output. Also catch the SysExit exceptions in gramps.py and
do a gtk.main_quit() just to be sure. This all is to make commandline
processing usable.


svn: r8308
2007-03-20 19:21:41 +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
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
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
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
feab448eda svn: r8260 2007-03-02 05:08:58 +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
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
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
Don Allingham
c519c7c7dd svn: r8248 2007-02-26 19:39:15 +00:00
Don Allingham
a6ff4980b1 svn: r8247 2007-02-26 19:35:33 +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
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
8f23ed4521 svn: r8234 2007-02-25 15:10:32 +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
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
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
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
Don Allingham
ee407ca871 * src/GrampsDbUtils/_GedcomParser.py: fix a few bugs
svn: r8216
2007-02-23 06:03:02 +00:00
Don Allingham
2ce4226efb svn: r8203 2007-02-21 12:47:20 +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
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
Richard Taylor
70e12c490e Moved NameDisplay into BasicUtils.
svn: r8197
2007-02-20 20:56:48 +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
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
1c55edca96 svn: r8173 2007-02-19 22:50:09 +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
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
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
Richard Taylor
08cb17adde Make XML writer gtk independant again.
svn: r8144
2007-02-17 22:12:56 +00:00
Don Allingham
2c49d1c09e svn: r8140 2007-02-16 22:12:55 +00:00
Don Allingham
bf831a400d svn: r8125 2007-02-16 05:56:51 +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
Don Allingham
7d2522f3b6 Minor cleanup
svn: r8122
2007-02-15 22:47:33 +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
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
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
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
Don Allingham
9c64624930 svn: r8090 2007-02-12 05:45:34 +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
413d8be570 svn: r8084 2007-02-11 06:03:40 +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
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
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
4d010a6066 add license and makefiles.
svn: r8038
2007-02-03 20:08:41 +00:00
Richard Taylor
f96b6f5dc2 refactor GrampsDb and clean RelLib deps.
svn: r8032
2007-02-03 17:11:05 +00:00