Commit Graph

176 Commits

Author SHA1 Message Date
Brian Matherly
bf3900f043 Patch from Raphael Ackermann <raphael.ackermann@gmail.com> -- Fix 0001538: tabs and spaces are mixed in some source files
svn: r9713
2008-01-05 20:10:26 +00:00
Gary Burton
8cf173b898 2008-01-04 Gary Burton <gary.burton@zen.co.uk>
* src/GrampsDbUtils/_ReadXML.py: removed code that is adding the gramps
	ID onto the end of pre-existing place descriptions. Bug #1502



svn: r9707
2008-01-04 21:41:49 +00:00
Benny Malengier
71028d3d36 * src/GrampsDbUtils/_GrampsDbWriteXML.py: wrong escape of &, bug 1430
2008-01-03 Benny Malengier <benny.malengier@gramps-project.org>


svn: r9702
2008-01-03 15:30:16 +00:00
Benny Malengier
dc9f03b6c0 2007-12-28 Benny Malengier <benny.malengier@gramps-project.org>
* src/ViewManager.py: remove unused functions, add alt actions left/right
	* src/GrampsDb: deleted with _GrampsDbWriteXML.py,
		_GrampsDbFactories.py, _GrampsGEDDB.py, _GrampsXMLDB.py,
		__init__.py, Makefile.am, _GrampsInMemDB.py, _GrampsBSDDB.py.
		No more inmemory databases
	* src/GrampsDbUtils: moved here _GrampsDbWriteXML.py and _GrampsBSDDB.py
	* src/plugins/ReadGrdb.py:
	* src/plugins/Checkpoint.py:
	* src/ObjectSelector/_ObjectSelectorWindow.py:
	* src/DbManager.py:
	* src/GrampsDbUtils/_WriteGrdb.py:
	* src/GrampsDbUtils/__init__.py:
	* src/GrampsDbUtils/_GrampsDbWRFactories.py:
	* src/GrampsDbUtils/_WriteXML.py:
	* src/GrampsDbUtils/Makefile.am:
	* src/gramps_main.py:
	* src/RecentFiles.py: recent-files-gramps.xml, don't overwrite 2.2.x data
	* src/ArgHandler.py:
	* src/DbLoader.py: remove unused functions
	* src/Makefile.am:
	* po/POTFILES.in:
	* src/GrampsDbUtils/importdbdir.py: allow import of new database via cli
	Remove inMem Editing, move remaining to DbUtils, fix ArgHandler



svn: r9613
2007-12-28 15:09:01 +00:00
James G Sack
91824d8f2f fix #1439 failed to skip subordinates under NOTE
svn: r9501
2007-12-14 08:54:40 +00:00
James G Sack
cc81822eb0 added Gedcom read testing util and 1st try at testing
svn: r9500
2007-12-14 08:27:52 +00:00
Benny Malengier
027036a8c5 2007-12-09 Benny Malengier <benny.malengier@gramps-project.org>
Add support for name grouping import/export
	* src/GrampsDb/_GrampsDbWriteXML.py: write group table out
	* src/GrampsDb/_GrampsBSDDB.py: group table is no sec table, init it
		together with primary tables!
	* src/gen/db/base.py: obtain grouping keys
	* src/gen/db/dbdir.py: group table is no sec table, init it
		together with primary tables!
	* src/gen/utils/dbutils.py: grdb -> grdb copy of grouping table, 
		copy mediapath.
	* src/gen/proxy/proxybase.py: obtain grouping keys, add missing
		bookmark methods
	* src/gen/proxy/dbbase.py: add obtain grouping keys method
	* src/GrampsDbUtils/_ReadXML.py: read in group table
	* src/plugins/ReadGrdb.py: read in group table



svn: r9464
2007-12-09 10:18:59 +00:00
James G Sack
1ecf25c776 fix #1418 ASSO in/out errors
svn: r9452
2007-12-06 22:20:26 +00:00
James G Sack
c630199892 add missing () to function call (obvious "typo") fixes bug RJ reported on -devel
svn: r9446
2007-12-05 22:20:08 +00:00
Benny Malengier
d1b65054a9 2007-11-30 Benny Malengier <benny.malengier@gramps-project.org>
* src/GrampsCfg.py: rel media path entry box
	* src/gen/db/base.py: methods for access
	* src/gen/db/dbdir.py: storage in BSDDB
	* src/GrampsDb/_GrampsDbWriteXML.py: write in header
	* src/GrampsDbUtils/_ReadXML.py: read relative path
	Start of adding relative media path to database



svn: r9435
2007-11-30 23:50:05 +00:00
James G Sack
aa1c1a6286 forward port 2.2.x #1394 fix preemptively
svn: r9427
2007-11-29 03:00:07 +00:00
James G Sack
3e196650b5 minor fix and update to test code
svn: r9345
2007-11-13 08:10:00 +00:00
James G Sack
691baa87a5 fix #1364 typo in LDS_ORD_NAME table
svn: r9332
2007-11-12 08:22:04 +00:00
James G Sack
dd9e15b43d fix missing parent in import and add unit test
svn: r9320
2007-11-08 02:41:10 +00:00
James G Sack
6f5edcd1d1 fix broken ansel input module by porting (updated) 2.2 version;minor fix to test_util_test.py
svn: r9305
2007-11-06 08:03:40 +00:00
Benny Malengier
4a6723072e 2007-10-17 Benny Malengier <benny.malengier@gramps-project.org>
* src/GrampsDbUtils/_WriteGedcom.py: bug get_phon must be get_phone



svn: r9202
2007-10-17 08:47:16 +00:00
Benny Malengier
054e251754 typo in previous commit
svn: r9152
2007-10-11 22:52:00 +00:00
Benny Malengier
a0c9947dbd 2007-10-11 Benny Malengier <benny.malengier@gramps-project.org>
* src/gen/db/base.py: allow check without gid creation on all objects
	* src/GrampsDbUtils/_ReadXML.py: on reference read, don't create gid.
	This also patches a privacy setting error on placeobj in place tag section


svn: r9151
2007-10-11 22:41:03 +00:00
Benny Malengier
967ef1c163 2007-10-09 Benny Malengier <benny.malengier@gramps-project.org>
* src/gen/db/base.py: allow not to create gramps_id on add
	* src/GrampsDbUtils/_ReadXML.py: on sourceref, don't create gramps_id
	* src/GrampsDb/_GrampsInMemDB.py: remove gid from memory map only if not None


svn: r9119
2007-10-09 20:02:02 +00:00
Alex Roitman
814e3d6695 * src/GrampsDbUtils/_WriteGedcom.py (__submitter): Remove old usage.
svn: r9111
2007-10-08 21:39:51 +00:00
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