Commit Graph

206 Commits

Author SHA1 Message Date
Alex Roitman
c8278af85c * src/GrampsDbUtils/_ReadXML.py (stop_research): Remove old usage.
svn: r9110
2007-10-08 21:26:20 +00:00
Don Allingham
99febc759f * various: cleanup
2007-10-08  Don Allingham  <don@gramps-project.org>


svn: r9109
2007-10-08 21:19:32 +00:00
Don Allingham
d58641415d 2007-10-08 Don Allingham <don@gramps-project.org>
* various: gen.lib integration. probably touches almost every file

	* various: gen.utils integration


svn: r9101
2007-10-08 16:41:39 +00:00
Don Allingham
8038bc0dca 2007-10-07 Don Allingham <don@gramps-project.org>
* various: gen.utils integrationk



svn: r9100
2007-10-08 04:02:34 +00:00
Don Allingham
08c63b2e45 * src/gen/db/GrampsDbUtils/_Backup.py: use gen.db
2007-10-07  Don Allingham  <don@gramps-project.org>


svn: r9093
2007-10-07 17:00:55 +00:00
Don Allingham
32d7968365 2007-10-06 Don Allingham <don@gramps-project.org>
* various: creation of gen.db package



svn: r9091
2007-10-07 03:19:35 +00:00
Benny Malengier
cd67c7b13d 2007-10-03 Benny Malengier <benny.malengier@gramps-project.org>
* src/GrampsDb/_GrampsDbBase.py: copy bookmark list, don't reference
	* src/GrampsDbUtils/_ReadXML.py: only add bookmarks if not present already, #1187


svn: r9071
2007-10-03 21:36:57 +00:00
Don Allingham
dc8b47a270 2007-10-03 Don Allingham <don@gramps-project.org>
* various: create gen package, move proxy files to this library



svn: r9066
2007-10-03 17:14:26 +00:00
Benny Malengier
7a7d31bbbc 2007-10-01 Benny Malengier <benny.malengier@gramps-project.org>
* src/GrampsDbUtils/_ReadXML.py: read region tag in xml
	* src/GrampsDb/_GrampsDbWriteXML.py: output region tag in xml (=subsection of picture)
	* src/GrampsDb/_GrampsDbConst.py: change env_dir in ENV_DIR
	* src/Editors/_EditMediaRef.py: remove bug with coord None


svn: r9057
2007-10-01 19:55:48 +00:00
Benny Malengier
91f4d3c3be 2007-09-29 Benny Malengier <benny.malengier@gramps-project.org>
* src/GrampsDb/_ReadXML.py: remove bug: no more creation of objects if bookmark is found with
	handle that is not in database. This causes corruption of database!
	* src/GrampsDb/_GrampsDbBase.py: person bookmarks do not work after save. Correct. Issue #1260

	Part 1 of thumbnail changes


svn: r9038
2007-09-29 12:19:23 +00:00
Benny Malengier
0c1abd5a54 2007-09-19 Benny Malengier <benny.malengier@gramps-project.org>
* src/GrampsDbUtils/_GedcomStageOne.py: empty gedcom gives error message, not crash



svn: r8991
2007-09-19 07:40:55 +00:00
Don Allingham
623c6f81de 2007-09-16 Don Allingham <don@gramps-project.org>
* src/DataViews/_EventView.py: connect column editor
	* src/ViewManager.py: pylint
	* src/Editors/_EditLdsOrd.py: pylint
	* src/DisplayTabs/_LdsModel.py: pylint
	* src/DisplayState.py: pylint
	* src/GrampsDbUtils/_GedcomParse.py: pylint
	* src/ListModel.py: pylint
	* src/LdsUtils.py: pylint
	* src/PageView.py: fix column editor



svn: r8982
2007-09-16 18:45:57 +00:00
Don Allingham
a28028f541 2007-09-13 Don Allingham <don@gramps-project.org>
* src/GrampsDbUtils/_GedcomTokens.py: fix typo
	* src/GrampsDbUtils/_GedcomLex.py: fix typo



svn: r8972
2007-09-13 15:03:20 +00:00
Don Allingham
a65a73d1d7 * various: const.py changes
2007-09-07  Don Allingham  <don@gramps-project.org>
	* src/DateHandler/_Date_fr.py: fix indentation errors

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


svn: r8948
2007-09-08 05:54:02 +00:00
Don Allingham
3ffc1a8af9 2007-09-07 Don Allingham <don@gramps-project.org>
* src/GrampsDb/_DbBase.py: pylint
	* src/GrampsDbUtils/_GedcomStageOne.py: added
	* src/GrampsDbUtils/_GedcomParse.py: pylint
	* src/GrampsDbUtils/_ReadGedcom.py: pylint
	* src/GrampsDbUtils/_ReadXML.py: pylint
	* src/GrampsDbUtils/_GedcomLex.py: pylint
	* src/GrampsDbUtils/_WriteXML.py: pylint
	* src/GrampsDbUtils/_GedcomUtils.py: pylint
	* src/GrampsDbUtils/_ProxyDbBase.py: pylint
	* src/GrampsDbUtils/Makefile.am: added _GedcomStageOne.py
	* po/POTFILES.in: added _GedcomStageOne.py



svn: r8943
2007-09-07 21:24:01 +00:00
Don Allingham
e314d3b99d * src/GrampsDbUtils/_GedcomParse.py: pylint fixes
2007-09-06  Don Allingham  <don@gramps-project.org>


svn: r8938
2007-09-07 04:58:02 +00:00
Don Allingham
19e136f0f8 2007-09-06 Don Allingham <don@gramps-project.org>
* src/GrampsDbUtils/_WriteGedcom.py: more pylint fixes



svn: r8937
2007-09-07 02:44:22 +00:00
Don Allingham
2009352082 2007-09-06 Don Allingham <don.allingham@dothill.com>
* src/GrampsDbUtils/_WriteGedcom.py: pylint



svn: r8935
2007-09-06 23:38:38 +00:00
Don Allingham
afef83a33a * src/GrampsDbUtils/_WriteGedcom.py: pylint cleanup
* src/GrampsDbUtils/_GedcomParse.py: fix child references
	* src/ArgHandler.py: fix calling sequence for gedcom

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


svn: r8931
2007-09-06 04:36:04 +00:00
Don Allingham
f5292c0051 * src/GrampsDbUtils/_WriteXML.py: fix typo
2007-09-05  Don Allingham  <don@gramps-project.org>


svn: r8930
2007-09-05 23:21:34 +00:00
Don Allingham
4899980e4c 2007-09-05 Don Allingham <don@gramps-project.org>
* src/GrampsDb/_GrampsDbFactories.py: XML direct load not supported
	* src/GrampsDb/Makefile.am: remove installation of GrampsXMLDB.py
	* src/GrampsDbUtils/_WriteXML.py: cleanup



svn: r8929
2007-09-05 22:34:47 +00:00
Don Allingham
af618d3079 2007-09-03 Don Allingham <don@gramps-project.org>
* plugins/WritePkg.py: fix package export
	* GrampsDbUtils/_WriteXML.py: fix package export



svn: r8925
2007-09-04 03:21:44 +00:00
Don Allingham
6f0ed956a2 * src/GrampsDbUtils/_WriteGedcom.py: Fix note level (bug #1204)
2007-09-01  Don Allingham  <don@gramps-project.org>


svn: r8922
2007-09-01 22:26:23 +00:00
Don Allingham
ed996488ed * src/GrampsDbUtils/_GedcomParse.py: Fix undefined child reference (#1198)
2007-09-01  Don Allingham  <don@gramps-project.org>


svn: r8915
2007-09-01 17:29:48 +00:00
Don Allingham
c3d24084ed * src/GrampsDbUtils/_GedcomParse.py: Fix note assignment, fix srcref text
handling (#1185)



svn: r8914
2007-09-01 17:21:27 +00:00
Don Allingham
6593d5eb14 2007-09-01 Don Allingham <don@gramps-project.org>
* src/GrampsDbUtils/_GedcomParse.py (GedcomParser.__event_inline_note): 
	fix note assignment
	
2007-09-01  Serge Noiraud  <Serge.Noiraud@free.fr>
	* src/GrampsDbUtils/_GedcomParse.py (GedcomParser.__event_inline_note): 
	fix level handling



svn: r8912
2007-09-01 15:07:52 +00:00
Don Allingham
ffcf7a5dd4 2007-08-31 Don Allingham <don@gramps-project.org>
* src/GrampsDb/_GrampsDbWriteXML.py: XML export fixes
	* src/GrampsDbUtils/_LivingProxyDb.py: XML export fixes
	* src/GrampsDbUtils/_WriteXML.py: XML export fixes
	* src/GrampsDbUtils/_ProxyDbBase.py: XML export fixes



svn: r8910
2007-08-31 22:51:16 +00:00
Don Allingham
27aa4ec6a2 2007-08-30 Don Allingham <don@gramps-project.org>
* src/BasicUtils/_UpdateCallback.py: add support for text in progressbar
	* src/ExportAssistant.py: add support for text in progressbar
	* src/ExportOptions.py: add support for text in progressbar
	* src/GrampsDbUtils/_WriteGedcom.py: add support for text in progressbar
	
2007-08-30  Don Allingham  <don@gramps-project.org>
	* src/GrampsDb/_GrampsDBDir.py: use types.InstanceType
	* src/RelLib/_SourceBase.py: use types.InstanceType
	* src/RelLib/_Source.py: use types.InstanceType
	* src/RelLib/_MediaObject.py: use types.InstanceType
	* src/RelLib/_Person.py: use types.InstanceType
	* src/RelLib/_DateBase.py: use types.InstanceType
	* src/RelLib/_ChildRef.py: use types.InstanceType
	* src/RelLib/_Family.py: use types.InstanceType
	* src/RelLib/_Place.py: use types.InstanceType
	* src/RelLib/_RepoRef.py: use types.InstanceType
	* src/RelLib/_Note.py: use types.InstanceType
	* src/RelLib/_EventRef.py: use types.InstanceType
	* src/RelLib/_Repository.py: use types.InstanceType
	* src/RelLib/_Event.py: use types.InstanceType



svn: r8900
2007-08-31 03:18:38 +00:00
Don Allingham
d2d426ce7c * src/GrampsDbUtils/_WriteGedcom.py (GedcomWriter.__write_person_name): fix
handling of patronymic names

2007-08-30  Don Allingham  <don@gramps-project.org>


svn: r8895
2007-08-30 18:32:15 +00:00
Don Allingham
90e3ff34cb * src/RelLib/_Source.py: fix fast unserialize()
* src/RelLib/_Place.py: fix fast unserialize()
	* src/GrampsDbUtils/_WriteGedcom.py: double pass on progress bar
	
2007-08-29  Don Allingham  <don@gramps-project.org>


svn: r8891
2007-08-30 04:27:30 +00:00
Don Allingham
daca21383a 2007-08-28 Don Allingham <don@gramps-project.org>
* src/ExportOptions.py: filter proxy first pass
	* src/GrampsDbUtils/_FilterProxyDb.py: filter proxy first pass
	* src/GrampsDbUtils/_WriteGedcom.py: filter proxy first pass
	* src/Filters/_GenericFilter.py: filter proxy first pass



svn: r8886
2007-08-29 04:17:20 +00:00
Don Allingham
3f00f17bde svn: r8882 2007-08-28 04:03:54 +00:00
Don Allingham
63c3d10963 svn: r8881 2007-08-28 03:57:56 +00:00
Brian Matherly
07c7a5be8e LivingProxyDb.py: Remove family events when a parent is living.
svn: r8876
2007-08-26 20:32:50 +00:00
Brian Matherly
3b85844831 Add LivingProxyDb.
svn: r8874
2007-08-26 20:15:15 +00:00
Brian Matherly
ea61bf0d65 Various changes to PrivateProxyDb and ProxyDbBase.
svn: r8871
2007-08-26 04:46:33 +00:00
Don Allingham
04884cd19c 2007-08-25 Don Allingham <don@gramps-project.org>
* src/GrampsDb/__init__.py: Add DbBase
	* src/GrampsDb/_DbBase.py: Abstract base class for template
	* src/GrampsDb/Makefile.am: Add _DbBase.py
	* src/GrampsDbUtils/_PrivateProxyDb.py: Derive from ProxyDbBase
	* src/GrampsDbUtils/_ProxyDbBase.py: Provide base ProxyDbBase for proxy dbs
	* src/GrampsDbUtils/Makefile.am: Add _ProxyDbBase



svn: r8869
2007-08-26 04:06:37 +00:00
Don Allingham
5b26062459 2007-08-24 Don Allingham <don@gramps-project.org>
* src/ExportAssistant.py: fix grammar
	* src/ExportOptions.py: place for common options, build option dialog for
	exporters
	* src/GrampsDbUtils/_WriteGedcom.py: handle restrict, private, and new
	option dialog
	* src/GrampsDbUtils/_PrivateProxyDb.py: add get_researcher()
	* src/GrampsDbUtils/exportgedcom.glade: removed
	


svn: r8864
2007-08-25 05:03:23 +00:00
Don Allingham
94aa96e72d * src/GrampsDbUtils/_WriteGedcom.py: Generate LONG and LATI
* src/docgen/Makefile.am: replace LPRDoc with GtkPrint
	
2007-08-24  Don Allingham  <don@gramps-project.org>


svn: r8860
2007-08-24 21:54:06 +00:00
Brian Matherly
eb0bf91690 Implement get_default_person and get_default_handle in PrivateProxyDb.py.
svn: r8858
2007-08-24 12:12:52 +00:00
Don Allingham
2f85845d32 2007-08-22 Don Allingham <don@gramps-project.org>
* src/GrampsDbUtils/_GedcomParse.py: use FACT for custom attributes, handle
	custom event descriptions as notes
	* src/GrampsDbUtils/_WriteGedcom.py: use FACT for custom attributes, handle
	custom event descriptions as notes
	* src/GrampsDbUtils/_GedTokens.py: add TOKEN_FACT



svn: r8855
2007-08-23 03:51:05 +00:00
Don Allingham
282fa4ac2e 2007-08-21 Don Allingham <don@gramps-project.org>
* src/GrampsDbUtils/_GedcomParse.py: code cleanup
	* src/GrampsDbUtils/_GedcomLex.py: code cleanup
	* src/GrampsDbUtils/_WriteGedcom.py: code cleanup



svn: r8852
2007-08-22 03:47:51 +00:00
Don Allingham
21c59e9e8f * src/GrampsDbUtils/_ParseGedcom.py: check for MARR event in std_event,
not in family_even
	* src/RelLib/_FamilyRelType.py: default marriage type to unknown
	* src/GrampsDbUtils/_WriteGedcom.py: Don't add description to EVEN tag

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


svn: r8846
2007-08-21 04:17:12 +00:00
Don Allingham
62044e33a1 2007-08-19 Don Allingham <don@gramps-project.org>
* src/GrampsDbUtils/_WriteGedcom.py (breakup): fix index check



svn: r8840
2007-08-20 03:15:13 +00:00
Don Allingham
c951994948 2007-08-18 Don Allingham <don@gramps-project.org>
* src/GrampsDbUtils/_GedcomParse.py: fix event names, url type
	* src/GrampsDbUtils/_WriteGedcom.py: remove non-standard format types
	* src/GrampsDbUtils/gedcomexport.glade: remove non-standard format types



svn: r8836
2007-08-19 03:25:07 +00:00
Don Allingham
4d04c83327 2007-08-15 Don Allingham <don@gramps-project.org>
* src/GrampsDbUtils/_WriteGedcom.py: Match parser and writer
	* src/GrampsDbUtils/_GedcomParser.py: Match parser and writer

	* src/GrampsDbUtils/_WriteGedcom.py: write adoption records

2007-08-14  Don Allingham  <don@gramps-project.org>


svn: r8821
2007-08-16 04:30:49 +00:00
Don Allingham
2a3897c685 svn: r8819 2007-08-15 04:14:19 +00:00
Don Allingham
3a4ba79b64 2007-08-14 Don Allingham <don@gramps-project.org>
* src/GrampsDbUtils/_WriteGedcom.py: fix problems identified by gedchk



svn: r8818
2007-08-15 03:32:08 +00:00
Don Allingham
8cf2437f40 2007-08-13 Don Allingham <don@gramps-project.org>
* src/GrampsDbUtils/_WriteGedcom.py: improve FAM structure



svn: r8816
2007-08-14 04:02:18 +00:00
Don Allingham
1a7b3abb26 * src/GrampsDbUtils/_WriteGedcom.py: LANG values, additional
refactoring
	
2007-08-12  Don Allingham  <don@gramps-project.org>


svn: r8815
2007-08-13 03:40:36 +00:00
Don Allingham
9bd87e4e97 2007-08-12 Don Allingham <don@gramps-project.org>
* src/GrampsDbUtils/_WriteGedcom.py: remove unused options,
	handle source TEXT



svn: r8814
2007-08-13 00:00:16 +00:00
Brian Matherly
b00e2a935e Continued work on _PrivateProxyDB.py
svn: r8808
2007-08-12 00:18:11 +00:00
Don Allingham
215595a56b 2007-08-09 Don Allingham <don@gramps-project.org>
* GrampsDbUtils/_WriteGedcom.py: use utf8 encoding only
	* GrampsDbUtils/gedcomexport.glade:  use utf8 encoding only



svn: r8806
2007-08-10 03:53:48 +00:00
Brian Matherly
ef84a6a93c Continued work on _PrivateProxyDB.py
svn: r8805
2007-08-10 03:24:10 +00:00
Don Allingham
59d74a3c6b 2007-08-08 Don Allingham <don@gramps-project.org>
* src/Exporter.py: remove GRDB export
	* src/GrampsDbUtils/_WriteGedcom.py: write NOTE instances as references
	instead of inline. This will allow notes to be shared in the future. Handle
	CONC/CONT in a cleaner manner.



svn: r8804
2007-08-09 04:35:06 +00:00
Brian Matherly
a4afeef456 Initial commit of PrivateProxyDb.py - not done yet.
svn: r8803
2007-08-09 03:49:04 +00:00
Don Allingham
1c14e57ba5 2007-08-07 Don Allingham <don@gramps-project.org>
* src/GrampsDbUtils/_WriteGedcom.py: additional refactoring



svn: r8802
2007-08-08 04:24:49 +00:00
Don Allingham
fc6910bd1b 2007-08-05 Don Allingham <don@gramps-project.org>
* src/GrampsDbUtils/_WriteGedcom.py: start of refactoring
	* src/Bookmarks.py: Don't rewrite list



svn: r8801
2007-08-06 04:11:52 +00:00
Don Allingham
cbc06f4981 2007-07-31 Jérôme <romjerome@yahoo.fr>
* src/GrampsDbUtils/gedcomexport.glade: use UTF-8 instead of UNICODE



svn: r8794
2007-08-01 02:37:17 +00:00
Don Allingham
47cbc6f5d8 2007-07-30 Don Allingham <don@gramps-project.org>
* src/GrampsDbUtils/_GedcomParse.py: assign inline note to the referencing object
	* src/GrampsDbUtils/_GedcomLex.py: fix UNKNOWN gender



svn: r8792
2007-07-31 03:28:04 +00:00
Don Allingham
55a34e84bf 2007-07-27 Don Allingham <don@gramps-project.org>
* src/GrampsDbUtils/_GedcomParse.py: Handle broken gedcom, there
	the TYPE field is specified, but has no value (Heredis 9)



svn: r8780
2007-07-28 02:19:12 +00:00
Don Allingham
ac39ec2207 * src/GrampsDbUtils/_ReadGedcom.py: fix value from encoding overide
menu

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


svn: r8735
2007-07-18 04:33:20 +00:00
Don Allingham
582c56e11e 2007-07-17 Don Allingham <don@gramps-project.org>
* src/Editors/_EditSourceRef.py: remove text tab
	* src/Editors/_EditRepoRef.py: Add privacy to reporef
	* src/Lru.py: pylint
	* src/Selectors/_BaseSelector.py: set sort column
	* src/DbManager.py: clean up of dnd
	* src/glade/gramps.glade: Add privacy to reporef
	* src/DisplayModels/_PeopleModel.py: try to speed up sorts using
	mapper values
	* src/GrampsDbUtils/_GedcomParse.py: handle source text citations
	* src/GrampsDbUtils/_ReadGedcom.py: type check
	* src/GrampsDbUtils/_GedcomLex.py: handle broken conc
	* src/GrampsDbUtils/_WriteGedcom.py: handle source text citations



svn: r8734
2007-07-18 04:17:30 +00:00
Alex Roitman
301348a0df 2007-07-17 Alex Roitman <shura@gramps-project.org>
* src/GrampsDb/_GrampsBSDDB.py (convert_notes_13): Add reporef
	privacy on upgrade.
	* src/GrampsDbUtils/_ReadXML.py (start_note): Set privacy for
	reporef's notes;
	(start_reporef): Parse prvacy attribute for reporefs.
	* src/GrampsDb/_GrampsDbWriteXML.py (write_reporef_list): Write
	privacy attribitue.
	* src/RelLib/_RepoRef.py: Add privacy.



svn: r8730
2007-07-17 22:44:24 +00:00
Alex Roitman
b844387775 Typo
svn: r8729
2007-07-17 21:15:26 +00:00
Alex Roitman
93b256ee8b * src/GrampsDb/_GrampsDbWriteXML.py (dump_source_ref): Do not write stext tag.
* src/GrampsDbUtils/_ReadXML.py (GrampsParser.stop_stext): Import stext in sourceref as a note reference.

svn: r8722
2007-07-17 02:37:33 +00:00
Alex Roitman
5984415471 2007-07-10 Alex Roitman <shura@gramps-project.org>
* src/GrampsDb/_GrampsDbWriteXML.py (write_date): Write datespan.
	* src/GrampsDbUtils/_ReadXML.py: (start_compound_date): Add new
	method; (start_datespan): Add new method.
	* data/grampsxml.dtd: Add datespan.
	* data/grampsxml.rng: Add datespan.



svn: r8712
2007-07-11 04:56:11 +00:00
Alex Roitman
9e6050f373 2007-07-05 Alex Roitman <shura@gramps-project.org>
* src/GrampsDbUtils/_WriteGedcom.py
	(GedcomWriter.write_long_text): Remove definition;
	(GedcomWriter.__init__): Define write_long_text based on self.conc.

2007-07-05  Robert Cawley  <rjc@cawley.id.au>
	* src/GrampsDbUtils/_WriteGedcom.py: Properly write notes, not
	their handles.



svn: r8700
2007-07-06 03:15:26 +00:00
Alex Roitman
74ad7b95a4 * src/TreeViews/_PersonTreeView.py: Use name_displayer.
* src/ReportBase/_ReportUtils.py: Use name_displayer.
	* src/ReportBase/_CommandLineReport.py: Use name_displayer.
	* src/ReportBase/_BareReportDialog.py: Use name_displayer.
	* src/PluginUtils/_Tool.py: Use name_displayer.
	* src/plugins/TimeLine.py: Use name_displayer.
	* src/plugins/RelCalc.py: Use name_displayer.
	* src/plugins/ReadGrdb.py: Use name_displayer.
	* src/plugins/NarrativeWeb.py: Use name_displayer.
	* src/plugins/IndivComplete.py: Use name_displayer.
	* src/plugins/GraphViz.py: Use name_displayer.
	* src/plugins/FindDupes.py: Use name_displayer.
	* src/plugins/FamilyGroup.py: Use name_displayer.
	* src/plugins/DetDescendantReport.py: Use name_displayer.
	* src/plugins/DetAncestralReport.py: Use name_displayer.
	* src/plugins/DesGraph.py: Use name_displayer.
	* src/plugins/DescendReport.py: Use name_displayer.
	* src/plugins/DescendChart.py: Use name_displayer.
	* src/plugins/Check.py: Use name_displayer.
	* src/plugins/Ancestors.py: Use name_displayer.
	* src/plugins/AncestorReport.py: Use name_displayer.
	* src/plugins/AncestorChart2.py: Use name_displayer.
	* src/ObjectSelector/_PersonTreeFrame.py: Use name_displayer.
	* src/ObjectSelector/_PersonFrame.py: Use name_displayer.
	* src/Merge/_MergePerson.py: Use name_displayer.
	* src/GrampsDbUtils/_WriteGedcom.py: Use name_displayer.
	* src/GrampsDbUtils/_ReadXML.py: Use name_displayer.
	* src/GrampsDbUtils/_GedcomParse.py: Use name_displayer.
	* src/FilterEditor/_ShowResults.py: Use name_displayer.
	* src/FilterEditor/_EditRule.py: Use name_displayer.
	* src/Editors/_EditPrimary.py: Use name_displayer.
	* src/Editors/_EditPersonRef.py: Use name_displayer.
	* src/Editors/_EditPerson.py: Use name_displayer.
	* src/Editors/_EditName.py: Use name_displayer.
	* src/Editors/_EditLdsOrd.py: Use name_displayer.
	* src/Editors/_EditFamily.py: Use name_displayer.
	* src/DisplayTabs/_PersonRefModel.py: Use name_displayer.
	* src/DisplayTabs/_NameModel.py: Use name_displayer.
	* src/DisplayTabs/_ChildModel.py: Use name_displayer.
	* src/DisplayTabs/_BackRefModel.py: Use name_displayer.
	* src/DisplayModels/_PeopleModel.py: Use name_displayer.
	* src/DisplayModels/_FamilyModel.py: Use name_displayer.
	* src/DataViews/_PersonView.py: Use name_displayer.
	* src/DataViews/_RelationView.py: Use name_displayer.
	* src/DataViews/_PedigreeView.py: Use name_displayer.
	* src/Utils.py: Use name_displayer.
	* src/SubstKeywords.py: Use name_displayer.
	* src/Sort.py: Use name_displayer.
	* src/Reorder.py: Use name_displayer.
	* src/PageView.py (BookMarkView.add_bookmark): Use name_displayer.
	* src/Navigation.py: Use name_displayer.
	* src/DisplayState.py: Use name_displayer.
	* src/GrampsCfg.py: Use name_displayer.
	* src/Bookmarks.py (Bookmarks.make_label): Use name_displayer.
	* src/GrampsDb/Makefile.am (pkgdata_PYTHON): Ship new files.
	* src/Makefile.am (gdir_PYTHON): Ship ProgressDialog.py


svn: r8680
2007-06-28 05:41:40 +00:00
Don Allingham
e978a43d3a * src/LdsUtils.py: switch to parsing an external XML file instead of
hard coded values
	* src/data/lds.xml: new file
	* src/data/Makefile.am: handle new lds.xml
	* src/Editors/_EditLdsOrd.py: handle new LDS temple scheme
	* src/GrampsDbUtils/_GedcomParse.py: handle new LDS temple scheme
	* DisplayTabs/_LdsModel.py: handle new LDS temple scheme

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


svn: r8648
2007-06-24 04:32:54 +00:00
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
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
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
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
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
Don Allingham
150a0fc05d svn: r8540 2007-06-13 02:27:31 +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
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
53c0a7443e Remove Gnome dependencies from all glade files.
svn: r8484
2007-05-17 02:43:11 +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
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
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
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
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
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
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
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