Commit Graph

214 Commits

Author SHA1 Message Date
Zsolt Foldvari
ede062004e Bump up XML version number.
svn: r10546
2008-04-11 09:38:32 +00:00
Zsolt Foldvari
3b4378fe81 Handle import/export of StyledText Notes.
svn: r10526
2008-04-08 21:43:58 +00:00
James G Sack
ec5a0a792b src/GrampsDbUtils/_GedcomLex.py : #2008 fix error in extract_date()
RANGE pattern only returns 4 pattern groups, code was assigning to 5!?
     (see also r10470)


svn: r10471
2008-04-05 06:45:46 +00:00
James G Sack
68e9450ef0 src/GrampsDbUtils/_WriteGedcom.py :#2008 fix bug in breakout()
src/GrampsDbUtils/test/gedwrite_breakup_test.py : unittest for breakout



svn: r10470
2008-04-05 04:34:46 +00:00
James G Sack
0f21524aa7 #1853, #1679, #1849: Remove code that auto-generates descripion field
for events in imported gedcom. Such descriptions can always be done via
the "Extract event descriptions from event data" tool if really wanted.



svn: r10378
2008-03-23 02:54:52 +00:00
Gary Burton
b06e1b67b9 Allow event details to include an address clause. See gedcom specification at http://homepages.rootsweb.com/~pmcbride/gedcom/55gcch2.htm#EVENT_DETAIL
svn: r10336
2008-03-18 22:12:49 +00:00
Zsolt Foldvari
2642641b84 Changing the way of how formatted Notes are stored:
remove 'Markup' optional parameter from gen.lib.note.Note.get() method.


svn: r10288
2008-03-13 10:44:22 +00:00
James G Sack
9a0a08bfd2 #1849: omit Y if person/family event has subordinate data
svn: r10204
2008-03-07 07:28:15 +00:00
Gary Burton
2ccef1b175 * src/GrampsDbUtils/_Backup.py: Restore databases with transactions
enabled.

2008-03-02 Gary Burton <gary.burton@zen.co.uk>


svn: r10171
2008-03-02 22:40:15 +00:00
James G Sack
93de8b0208 add unittest for issue #1851 fix
svn: r10148
2008-03-01 08:35:07 +00:00
James G Sack
8e3e98d571 #1851 discard empty notes (and warn), also warn of skipped subordinates (see want_parse_warnings), update test util per warnings change
svn: r10147
2008-03-01 06:58:17 +00:00
James G Sack
6aacd516ed fix minor double-count of errors
svn: r10145
2008-03-01 02:46:20 +00:00
Benny Malengier
d43fc26169 2008-02-29 Benny Malengier <benny.malengier@gramps-project.org>
* src/GrampsDbUtils/_GedcomParse.py: find_family_from_handle returns tuple
	* src/Editors/_EditPerson.py: don't use find_person but get_person

2008-02-29 Raphael Ackermann <raphael.ackermann@gmail.com>
2008-02-28 Jim Sack <jgsack@san.rr.com>


svn: r10142
2008-02-29 09:02:43 +00:00
James G Sack
54faf32fee fix r10099 oversight, also improve callback_test.py
svn: r10140
2008-02-29 05:15:00 +00:00
Benny Malengier
b1561e5f78 2008-02-28 Benny Malengier <benny.malengier@gramps-project.org>
* src/ViewManager.py: allow for info dialog after import
	* src/gen/db/base.py: find returns if new object or not
	* src/gen/db/dbdir.py: find returns if new object or not
	* src/plugins/ImportGeneWeb.py: allow multiple mime types
	* src/plugins/ImportvCard.py: allow multiple mime types
	* src/plugins/ReadGrdb.py: allow multiple mime types
	* src/plugins/ReadPkg.py: allow multiple mime types
	* src/plugins/ImportCSV.py: allow multiple mime types
	* src/DbManager.py: use family tree string, not database
	* src/glade/gramps.glade: add info dialog
	* src/QuestionDialog.py: add info dialog, clean up set transient errors
	* src/GrampsDbUtils/_GrampsDbWriteXML.py: improve comment
	* src/GrampsDbUtils/_ReadXML.py: fix change dates problems, fix 
	 creation of empty objects in bookmarks, add info dialog, clean up
	 relative media import, remove unneeded parameters
	* src/GrampsDbUtils/_GrampsDbWRFactories.py: 
	* src/GrampsDbUtils/_GrampsBSDDB.py: allow multiple mime types
	* src/DbLoader.py: fix up import filters and some mime type issues



svn: r10138
2008-02-28 22:32:40 +00:00
Brian Matherly
202e0356d7 2008-02-27 Brian Matherly <brian@gramps-project.org>
* src/GrampsDbUtils/_ReadXML.py:
	Don't allow newer Gramps files to be imported (#0001722).

svn: r10130
2008-02-27 13:03:41 +00:00
Brian Matherly
e801786edb Partial fix for 0001722: add dialog that on import gives a warning if the xml is made with an older version
svn: r10113
2008-02-25 04:32:11 +00:00
Raphael Ackermann
c962d5e6e1 2008-02-22 Raphael Ackermann <raphael.ackermann@gmail.com>
* various (294 files)
	pep8 doc fixes & pylint fixes

svn: r10103
2008-02-24 13:55:55 +00:00
Raphael Ackermann
5cd3411cfd 2008-02-20 Raphael Ackermann <raphael.ackermann@gmail.com>
* src/GrampsDbUtils/_GedcomUtils.py: (IdMapper.get_translate()) return 
	value of dict instead of boolean. Fix #0001708

svn: r10084
2008-02-21 00:34:04 +00:00
Raphael Ackermann
90f883e46d 2008-02-18 Raphael Ackermann <raphael.ackermann@gmail.com>
* src/* 143 files
    * test/try_tree_model.py
    * windows/nsis/gcheck.py
    imports cleanup

svn: r10055
2008-02-18 20:07:09 +00:00
Raphael Ackermann
9aee82d6d0 2008-02-18 Raphael Ackermann <raphael.ackermann@gmail.com>
* src/DataViews/EventView.py
	* src/DataViews/FamilyList.py
	* src/DataViews/PedigreeView.py
	* src/DataViews/PersonView.py
	* src/GrampsCfg.py
	* src/Editors/_EditPrimary.py
	* src/DisplayTabs/_EmbeddedList.py
	* src/DisplayTabs/_BackRefList.py
	* src/plugins/RelCalc.py
	* src/QuickReports.py
	* src/Relationship.py
	* src/Selectors/_BaseSelector.py
	* src/GrampsWidgets.py
	* src/DbManager.py
	* src/DisplayState.py
	* src/DisplayModels/_BaseModel.py
	* src/DisplayModels/_PeopleModel.py
	* src/GrampsDbUtils/_GrampsDbWriteXML.py
	* src/gramps_main.py
	* src/Filters/Rules/_MatchesFilterBase.py
	* src/ManagedWindow.py
	pep8 updates. replace ''' with """ for comments
	* src/GrampsDbUtils/_WriteGedcom.py: doc fixes
	added support for exportin source, notes and repos that are not linked to 
	other records.
	0001707: export to gedcom doesn't include source, if source is the only 
	thing in the db 

svn: r10051
2008-02-18 15:52:40 +00:00
Benny Malengier
55ba9c4d37 2008-02-15 Benny Malengier <benny.malengier@gramps-project.org>
* src/DataViews/RelationView.py
	* src/DataViews/PedigreeView.py
	* src/ReportBase/_ReportUtils.py
	* src/Editors/_EditPerson.py
	* src/Editors/_EditMediaRef.py
	* src/DisplayTabs/_GalleryTab.py: also correct wrong popup menu
	* src/plugins/Summary.py
	* src/plugins/WriteCD.py
	* src/plugins/IndivComplete.py
	* src/plugins/NarrativeWeb.py
	* src/plugins/WritePkg.py
	* src/plugins/GVFamilyLines.py
	* src/plugins/DefaultGramplets.py
	* src/plugins/SimpleBookTitle.py
	* src/plugins/Check.py
	* src/plugins/GVRelGraph.py
	* src/plugins/FamilyLines.py
	* src/Selectors/_SelectObject.py
	* src/GrampsDbUtils/_WriteGedcom.py
	#1787, #1208: use relative path correctly



svn: r10048
2008-02-18 14:06:41 +00:00
Raphael Ackermann
17ce1638d2 2008-02-18 Raphael Ackermann <raphael.ackermann@gmail.com>
* src/GrampsDbUtils/_GedcomParse.py: remove encode_filename() as filename 
	is already unicode encoded.
	* src/GrampsDbUtils/_GrampsDbWRFactories.py: doc fix
	* src/GrampsDbUtils/_ReadGedcom.py: doc and pylint fixes
	* src/GrampsDbUtils/importdbdir.py: pep8 fix  ''' --> """
	* src/ArgHandler.py: in method cl_import(self, filename, format): add call 
	filename = Utils.get_unicode_path(filename) before calling 
	ReadGedcom._import2(...,filename,...). +pylint fixes
	* src/DbLoader.py: doc fix. change variable choose to choose_db_dialog

svn: r10047
2008-02-18 12:31:31 +00:00
Raphael Ackermann
a2316b578b doc fix
svn: r9993
2008-02-04 11:12:59 +00:00
Doug Blank
ad0cfb3540 RelLib -> gen.lib
svn: r9935
2008-01-25 21:49:40 +00:00
Doug Blank
062da0f9ac 2008-01-25 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/GrampsDbUtils/_WriteGedcom.py (GedcomWriter.__date): 
	applied quality patch (with fixes) from issue #1210



svn: r9934
2008-01-25 21:47:38 +00:00
Raphael Ackermann
506eb32637 2008-01-24 Raphael Ackermann <raphael.ackermann@gmail.com>
Removed all the __author__, __revision__ and __version__ statements

svn: r9928
2008-01-24 20:38:10 +00:00
Raphael Ackermann
e67991ebeb 2008-01-22 Raphael Ackermann <raphael.ackermann@gmail.com>
* src/ReportBase/_Bibliography.py
	* src/ReportBase/_Endnotes.py
	* src/GrampsLocale/__init__.py
	* src/gen/db/dbconst.py
	* src/gen/lib/test/date_test.py
	* src/plugins/CalculateEstimatedDates.py
	* src/BasicUtils/__init__.py
	* src/test/utils_test.py
	* src/GrampsDbUtils/importdbdir.py
	* po/test/po_test.py
	add filename to $Id: $ to allow automatic filling in of svn properties

svn: r9914
2008-01-22 10:17:42 +00:00
Raphael Ackermann
bbe2cc6d4e 2008-01-22 Raphael Ackermann <raphael.ackermann@gmail.com>
* src/* Everything but src/images/* and src/data/* add correct svn 
	properties with the commands:
	svn propset -R svn:mime-type text/plain src/
	svn propset -R svn:eol-style native src/
	svn propset -R svn:keywords Id src/
	See below why the Id keyword is enough. From svn help propset
	svn:keywords   - Keywords to be expanded.  Valid keywords are:
      URL, HeadURL             - The URL for the head version of the object.
      Author, LastChangedBy    - The last person to modify the file.
      Date, LastChangedDate    - The date/time the object was last modified.
      Rev, Revision,           - The last revision the object changed.
      LastChangedRevision
      Id                       - A compressed summary of the previous
                                   4 keywords.

svn: r9912
2008-01-22 09:17:46 +00:00
Gary Burton
f274cf4a03 2008-01-19 Gary Burton <gary.burton@zen.co.uk>
* src/GrampsDbUtils/_ReadXML.py: Remove print debugging statements

2008-01-19  Gary Burton <gary.burton@zen.co.uk>
	* src/DbManager.py: Fix date regular expression used to find rcs
	revisions also found in Bug #1622

2008-01-19  Douglas S. Blank  <dblank@cs.brynmawr.edu>
	* src/DbManager.py: Test for missing path. Bug #1622



svn: r9895
2008-01-19 23:45:09 +00:00
Raphael Ackermann
493c790703 2008-01-18 Raphael Ackermann <raphael.ackermann@gmail.com>
* src/gen/db/dbdir.py
    * src/plugins/ChangeNames.py
    * src/DisplayModels/_NoteModel.py
    * src/GrampsDbUtils/_GrampsBSDDB.py
    * src/Filters/SideBar/_MediaSidebarFilter.py
    * src/Filters/SideBar/_SidebarFilter.py
    * src/Filters/SideBar/_SourceSidebarFilter.py
    * src/Filters/SideBar/_EventSidebarFilter.py
    * src/Filters/SideBar/_FamilySidebarFilter.py
    * src/Filters/SideBar/_PlaceSidebarFilter.py
    * src/Filters/SideBar/_NoteSidebarFilter.py
    * src/Filters/SideBar/_RepoSidebarFilter.py
    * src/Filters/SideBar/_PersonSidebarFilter.py
    * src/Filters/Rules/Family/_HasNoteRegexp.py
    * src/Filters/Rules/Event/_MatchesSourceFilter.py
    * src/Filters/Rules/Event/_HasNoteRegexp.py
    * src/Filters/Rules/Event/_MatchesPersonFilter.py
    * src/Filters/Rules/_HasTextMatchingRegexpOf.py
    * src/Filters/Rules/Place/_MatchesEventFilter.py
    * src/Filters/Rules/Person/_HasTextMatchingRegexpOf.py
    * src/Filters/Rules/Person/_MatchesEventFilter.py
    Pylint fixes.

svn: r9885
2008-01-18 15:51:15 +00:00
Benny Malengier
00c4692b28 2008-01-16 Benny Malengier <benny.malengier@gramps-project.org>
* src/GrampsDbUtils/_GrampsDbWriteXML.py: import gzip only once



svn: r9838
2008-01-16 08:49:43 +00:00
Benny Malengier
09a0d706e4 2008-01-15 Benny Malengier <benny.malengier@gramps-project.org>
* src/GrampsDbUtils/_GrampsDbWriteXML.py: import gzip



svn: r9828
2008-01-15 20:00:54 +00:00
Benny Malengier
ccb0b85b15 * src/gen/db/exceptions.py: wrong exception def, bug #1593
* src/GrampsDbUtils/_WriteXML.py: correctly catch the exception
	* src/GrampsDbUtils/_GrampsDbWriteXML.py: remove double def of xml export
	* src/GrampsDbUtils/_GrampsDbWRFactories.py: remove write backend factory
	* src/ExportAssistant.py: on fail, do not set success = True
	* src/GrampsDbUtils/__init__.py: don't export unused stuff

2008-01-15  Benny Malengier <benny.malengier@gramps-project.org>


svn: r9818
2008-01-15 10:47:25 +00:00
Raphael Ackermann
2225ac3d78 2008-01-15 Raphael Ackermann <raphael.ackermann@gmail.com>
* src/GrampsDbUtils/_GrampsDbWriteXML.py
    * src/GrampsDbUtils/_WriteGedcom.py
    * src/plugins/ExportCSV.py
    * src/plugins/ExportVCalendar.py
    * src/plugins/ExportVCard.py
    * src/plugins/WriteCD.py
    * src/plugins/WriteFtree.py
    * src/plugins/WriteGeneWeb.py
    * src/plugins/WritePkg.py
    * src/PluginUtils/_PluginMgr.py: pylint fixes
    pylint fixes and work on 0001597 

svn: r9812
2008-01-15 09:16:45 +00:00
Raphael Ackermann
1abb8df85f 2008-01-10 Raphael Ackermann <raphael.ackermann@gmail.com>
* src/gen/db/dbdir.py: add doc, remove unused variable
    * src/GrampsDbUtils/_GrampsBSDDB.py: : add doc, remove unused variable
    * src/plugins/AncestorChart.py: cleanup unused vars
    * src/plugins/Calendar.py: typo in doc
    * src/plugins/ChangeNames.py: cleanup unused vars
    * src/plugins/DescendChart.py: cleanup unused vars
    * src/plugins/FamilyLines.py: cleanup unused vars
    * src/ReportBase/_ReportUtils.py: fix typo in variable Name

svn: r9779
2008-01-11 06:50:46 +00:00
Raphael Ackermann
2857943955 2008-01-09 Raphael Ackermann <raphael.ackermann@gmail.com> From PEP8 Always use 'self' for the first argument to instance methods.
svn: r9767
2008-01-09 16:47:56 +00:00
Benny Malengier
8f0eb92408 2008-01-09 Raphael Ackermann <raphael.ackermann@gmail.com>
* src/GrampsDbUtils/_GrampsBSDDB.py: wrong const import


svn: r9764
2008-01-09 15:45:17 +00:00
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