Commit Graph

243 Commits

Author SHA1 Message Date
Brian Matherly
dfd426e5ca Move the contents of "_GrampsBSDDB.py" into "ReadGrdb.py" because that is the only place it is used. Then, rename "ReadGrdb.py" to "plugins/ImportGrdb.py" for consistency. Also clean up misc import related code.
svn: r11173
2008-10-21 04:22:45 +00:00
Jérôme Rapinat
f04ea9d5be 2404: Note in EventRef in old style XML-data turned into Person note on import (by Michiel Doede Nauta <m.d.nauta(at)hetnet(dot)nl>)
svn: r11157
2008-10-19 09:17:02 +00:00
Brian Matherly
5f7ef33cdc Remove GrampsDbUtils/importdbdir.py. You can't import database directories from the GUI,and there is no need to import them from the CLI. You can still open a database directory from the CLI.
svn: r11145
2008-10-15 03:29:41 +00:00
Brian Matherly
e9c1b1de89 Remove GRDB export code. GRDB export is not supported.
svn: r11144
2008-10-14 11:54:42 +00:00
Brian Matherly
8e8f37d5d3 Create a new plugin class for Import plugins.
svn: r11142
2008-10-14 02:34:28 +00:00
Brian Matherly
9c364490ce Move PluginUtils/_PluginMgr.py to gen/plug/_manager.py. Now, instead of "from PluginUtils import PluginManager", use "from gen.plug import PluginManager".
svn: r11100
2008-10-02 04:02:10 +00:00
Gerald Britton
df5ca43937 Fix problem with event descriptions on import, bug 2368
svn: r11065
2008-09-15 20:24:33 +00:00
Gary Burton
83edeb4a62 Retain whitespace when importing notes. Bug #2357
svn: r11023
2008-09-05 19:33:48 +00:00
Brian Matherly
0254a5177f Contribution from Robert Chéramy <robert@cheramy.net>. Adds note filters to the filter proxy. Also adds note filters to the exporters.
svn: r11016
2008-09-04 11:46:43 +00:00
Gary Burton
8eec2297bb Remove debugging code
svn: r10896
2008-07-21 18:35:37 +00:00
Gary Burton
97170b5251 Make exclusion of unlinked records optional
svn: r10883
2008-07-20 18:33:04 +00:00
Gerald Britton
6b2b52552d Revert 10874 changes to _FilterParser.py
svn: r10878
2008-07-18 14:06:42 +00:00
Gerald Britton
49316e07e8 Revert 10874 changes to dbdir.py and _GrampsBSDDB.py
svn: r10875
2008-07-17 21:03:26 +00:00
Gerald Britton
882199f1c2 Replace dict.has_key(x) with x in dict for performance gain
svn: r10874
2008-07-17 18:10:32 +00:00
Peter Landgren
7b9a2713ba Fix of issue 2253 in trunk
svn: r10861
2008-07-14 18:56:39 +00:00
Gary Burton
3cc07e26dd Apply referenced proxy to remove unused objects when a filter or one of the other proxies is applied.
svn: r10846
2008-07-07 19:32:18 +00:00
Gary Burton
656b4da5ab Make sure Gedcom ADDR token if location is populated. Bug #2216
svn: r10832
2008-06-28 11:50:41 +00:00
Gerald Britton
4982292774 Code optimizations wrt handling of None - bug 2212
svn: r10811
2008-06-16 15:01:46 +00:00
Gary Burton
18d51e6877 Ancestry.com have fixed their GEDCOM export. Remove workaround in GEDCOM import. bug #2141
svn: r10807
2008-06-14 11:19:21 +00:00
Peter Landgren
8d33306a2e Fixed type in line 2087. too many (.
svn: r10799
2008-06-10 09:48:33 +00:00
Brian Matherly
0b70388483 0002204: Narrative Web report "restrict living" is different than Gramps 2.x
svn: r10786
2008-06-05 03:45:14 +00:00
Brian Matherly
3a98ddd4fd 0002122: Detailed Ancestor Report reports people as buried who have no birth events (contributed by Gerald Britton <gerald.britton@gmail.com>)
svn: r10781
2008-06-02 00:59:14 +00:00
Zsolt Foldvari
998908175f Issue #0002175: Change type() expressions to isinstance() expressions.
Patch from Gerald Britton <gerald.britton@gmail.com>


svn: r10762
2008-05-25 19:55:47 +00:00
Zsolt Foldvari
62b6250d2f Typo. Fix #0002174.
svn: r10760
2008-05-25 13:20:38 +00:00
Brian Matherly
3afbd461c0 Put all the plugin management and registration stuff into a class. This new class is named PluginManager. It is a Singleton so that everyone gets access to the same plugin information.
svn: r10741
2008-05-18 19:24:28 +00:00
Gary Burton
e580d5b855 Allow Gedcom lexer to pad with a space when joining CONC lines to empty NOTE lines. Bug #2100.
svn: r10635
2008-04-23 21:47:06 +00:00
Zsolt Foldvari
cb4a425f55 Update export/import of StyledText according to structural changes in r10626.
svn: r10630
2008-04-23 13:36:43 +00:00
Doug Blank
4a17bcf0aa 0002105: Failed to import from xml: typo
svn: r10623
2008-04-22 23:18:35 +00:00
Eero Tamminen
e910a131a9 As discussed on the gramps-devel:
"home directory" / "user directory" -> "user's directory"


svn: r10577
2008-04-17 18:19:27 +00:00
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