Commit Graph

517 Commits

Author SHA1 Message Date
Don Allingham
cba1d710ab 2006-12-15 Don Allingham <don@gramps-project.org>
* src/GrampsDb/_ReadGedcom.py (import2): import a readonly file properly



svn: r7806
2006-12-16 03:47:03 +00:00
Alex Roitman
0fe74eb5e7 2006-12-13 Alex Roitman <shura@gramps-project.org>
* src/GrampsDb/_GrampsDbBase.py (_set_column_order): Correctly
	check for metadata being None.



svn: r7798
2006-12-14 06:38:07 +00:00
Martin Hawlisch
f2aa3cbd29 * src/GrampsDb/_WriteXML.py: Escape XML special chars
svn: r7788
2006-12-12 12:01:41 +00:00
Don Allingham
8666d4a62a fix typo
svn: r7783
2006-12-11 23:01:09 +00:00
Don Allingham
9df661af87 2006-12-11 Don Allingham <don@gramps-project.org>
* src/GrampsDb/_WriteXML.py: handle XML escapes
	* src/DisplayModels/_BaseModel.py: handle ignored values in filtering



svn: r7782
2006-12-11 21:09:25 +00:00
Don Allingham
fa8085031b 2006-12-10 Don Allingham <don@gramps-project.org>
* src/DataViews/_RelationView.py: RunDatabaseRepair integration
	* src/GrampsDb/_WriteGedcom.py: RunDatabaseRepair integration
	* src/QuestionDialog.py: RunDatabaseRepair dialog to warn users to run
	database checks



svn: r7777
2006-12-11 04:10:46 +00:00
Alex Roitman
b32028bea6 2006-12-05 Alex Roitman <shura@gramps-project.org>
* src/GrampsDb/_GrampsBSDDB.py (GrampsBSDDB.load): Revert
	incorrect commit.



svn: r7764
2006-12-06 04:06:26 +00:00
Zsolt Foldvari
6245f9a62f 2006-12-05 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/GrampsDb/_GrampsBSDDB.py (load): typo (const.bsddbenv_dir)



svn: r7763
2006-12-05 19:08:21 +00:00
Don Allingham
3ca02c31ef 2006-12-04 Don Allingham <don@gramps-project.org>
* src/GrampsDb/_ReadGedcom.py: Handle notes with the way that
	Legacy can produce Place/Address combinations



svn: r7757
2006-12-04 15:50:45 +00:00
Brian Matherly
11335bc6bc * src/GrampsDb/_GrampsBSDDB.py: comment out lsn_reset - it causes crashes.
svn: r7747
2006-12-02 04:20:48 +00:00
Alex Roitman
4fff3e494a * src/plugins/Rebuild.py (__init__): Proper progress indication.
svn: r7743
2006-12-01 16:26:34 +00:00
Alex Roitman
685c655b80 In .:
2006-12-01  Alex Roitman  <shura@gramps-project.org>
	* src/plugins/Makefile.am (pkgdata_PYTHON): Ship new file.
	* src/plugins/RebuildRefMap.py: Add new plugin.
	* src/GrampsDb/_GrampsBSDDB.py (reindex_reference_map): Fix reindexing.
	* src/GrampsDb/_GrampsDbBase.py (reindex_reference_map): Add a
	placeholder method for anything other than BSDDB.

In po:
2006-12-01  Alex Roitman  <shura@gramps-project.org>
	* POTFILES.in: List new file.



svn: r7740
2006-12-01 08:23:51 +00:00
Zsolt Foldvari
1d1fc2eec5 2006-11-30 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/GrampsDb/_GrampsBSDDB.py (gramps_upgrade_9): Correctly convert
	alt_loc in Place upgrade.



svn: r7738
2006-11-30 21:45:20 +00:00
Don Allingham
21fc859daf 2006-11-28 Don Allingham <don@gramps-project.org>
* src/GrampsDb/_ReadGedcom.py: fix attribute handling
	* src/DisplayModels/_PeopleModel.py: expand caching.



svn: r7729
2006-11-29 05:29:25 +00:00
Brian Matherly
c47460e89e * src/GrampsDb/_GrampsBSDDB.py: fix path for bsddb env in Windows.
svn: r7727
2006-11-29 03:40:35 +00:00
Alex Roitman
8ab76ad2cf 2006-11-27 Alex Roitman <shura@gramps-project.org>
* src/GrampsDb/_WriteXML.py (dump_person_ref): Properly export
	associations.



svn: r7723
2006-11-28 07:02:26 +00:00
Alex Roitman
ecaf814889 2006-11-27 Alex Roitman <shura@phy.ucsf.edu>
* src/GrampsDb/_WriteGedcom.py (write_person): Typo.



svn: r7722
2006-11-28 02:16:15 +00:00
Alex Roitman
16b3376f94 Update
svn: r7716
2006-11-27 03:20:37 +00:00
Alex Roitman
f7e5bfbe48 * src/GrampsDb/_WriteGedcom.py (write_person): Typo.
svn: r7715
2006-11-27 03:17:26 +00:00
Alex Roitman
4021105d52 2006-11-26 Alex Roitman <shura@gramps-project.org>
* src/GrampsDb/_GrampsBSDDB.py (load): Clean env for a new grdb
	file; do not attempt recovery for a new grdb file.
	* NEWS: Typo.



svn: r7707
2006-11-26 19:47:34 +00:00
Alex Roitman
a973524664 Update
svn: r7700
2006-11-26 04:29:46 +00:00
Alex Roitman
e2a6b4085a Update
svn: r7699
2006-11-26 04:26:06 +00:00
Alex Roitman
c95dac5a29 2006-11-25 Alex Roitman <shura@gramps-project.org>
* src/GrampsDb/_GrampsBSDDB.py (GrampsBSDDB.load): Use
	per-database environment dirs, under ~/.gramps/env dir.
	* src/const.py.in (env_dir): Add new variable.



svn: r7697
2006-11-26 03:00:44 +00:00
Don Allingham
e824a00edc * src/GrampsDb/_ReadGedcom.py: handle _UID for FAM structure (#0000505)
svn: r7694
2006-11-25 20:46:52 +00:00
Don Allingham
8e87a284aa 2006-11-24 Don Allingham <don@gramps-project.org>
* src/GrampsDb/_WriteXML.py: handle unicode decoding errors
	* src/plugins/NarrativeWeb.py: handle unicode decoding errors
	* src/plugins/AncestorReport.py: bring into conformance with the spec.



svn: r7689
2006-11-25 01:02:26 +00:00
Don Allingham
0d1f83d32b * src/GrampsDb/_ReadGedcom.py: handle illegal fullname gedcoms produced by FTM
* src/GrampsDb/_GedTokens.py: handle illegal fullname gedcoms produced by FTM


svn: r7664
2006-11-21 17:07:18 +00:00
Don Allingham
b5ba5adb46 2006-11-12 Don Allingham <don@gramps-project.org>
* src/GrampsDb/_WriteGedcom.py: RepoRefs don't have a privacy flag



svn: r7619
2006-11-12 22:20:06 +00:00
Alex Roitman
2c52aacb0a 2006-11-10 Alex Roitman <shura@gramps-project.org>
* src/GrampsDb/_GrampsInMemDB.py (get_event_cursor): Remove extra
	definition.



svn: r7611
2006-11-11 05:39:20 +00:00
Don Allingham
f960c2132f 2006-11-10 Don Allingham <don@gramps-project.org>
* src/GrampsDb/_ReadGedcom.py: handle GedcomError properly
	* src/DisplayModels/_BaseModel.py: handle add properly with filters



svn: r7609
2006-11-11 05:02:26 +00:00
Alex Roitman
708cb96d8f 2006-11-02 Alex Roitman <shura@gramps-project.org>
* src/GrampsDb/_GrampsBSDDB.py (gramps_upgrade_9): Typo.



svn: r7540
2006-11-03 03:11:40 +00:00
Alex Roitman
2df2d25b5a 2006-10-31 Alex Roitman <shura@gramps-project.org>
* src/GrampsDb/_WriteGedcom.py (write_families): Properly write
	custom attr type.



svn: r7524
2006-10-31 16:15:21 +00:00
Don Allingham
8ef02aeb20 * src/GrampsDb/_ReadXML.py: handle broken events
svn: r7502
2006-10-30 00:53:17 +00:00
Alex Roitman
b9f2392f29 * src/GrampsDb/_ReadGedcom.py: Formatting fixes.
* src/GrampsDb/_GrampsDbBase.py: Formatting fixes.
	* src/GrampsDb/_GrampsDbFactories.py: Formatting fixes.
	* src/GrampsDb/_WriteXML.py: Formatting fixes.
	* src/GrampsDb/_GrampsBSDDB.py: Formatting fixes.
	* src/RelLib/_UrlBase.py: Formatting fixes.
	* src/RelLib/_Url.py: Formatting fixes.
	* src/RelLib/_Person.py: Formatting fixes.
	* src/RelLib/_Family.py: Formatting fixes.
	* src/RelLib/_Place.py: Formatting fixes.
	* src/RelLib/_Repository.py: Formatting fixes.
	* src/BasicUtils.py: Formatting fixes.
	* src/DateHandler/_DateUtils.py: Formatting fixes.


svn: r7481
2006-10-29 04:36:08 +00:00
Alex Roitman
cf5b2cbe47 * src/GrampsDb/_WriteGedcom.py (write_source_ref): Cap confidence.
svn: r7434
2006-10-24 19:30:24 +00:00
Alex Roitman
80527732df * src/GrampsDb/_ReadGedcom.py (parse_source_eference): Cap confidence value.
svn: r7433
2006-10-24 19:22:47 +00:00
Don Allingham
8a105f8901 2006-10-23 Don Allingham <don@gramps-project.org>
* src/ReportBase/_BareReportDialog.py: declare logger.



svn: r7429
2006-10-24 02:41:02 +00:00
Don Allingham
03bb9bc8d7 2006-10-22 Don Allingham <don@gramps-project.org>
* src/DataViews/_PersonView.py:  remove dead code
	* src/GrampsDb/_ReadGedcom.py: handle Legacy _PREF
	* src/DisplayModels/_PeopleModel.py: speed improvement on name



svn: r7424
2006-10-23 02:24:03 +00:00
Don Allingham
157e5a7154 2006-10-15 Don Allingham <don@gramps-project.org>
* src/GrampsDb/_WriteGedcom.py: fix bad function call
	* src/glade/gramps.glade: consistent place name



svn: r7409
2006-10-16 03:57:15 +00:00
Alex Roitman
13c3884aaa * src/GrampsDb/_WriteXML.py (strip_dict): Do not strip tab, LF, CR.
svn: r7390
2006-10-11 03:44:09 +00:00
Alex Roitman
960e10d5f7 2006-10-10 Alex Roitman <shura@gramps-project.org>
* src/GrampsDb/_GrampsBSDDB.py (gramps_upgrade_10,
	gramps_upgrade_11): Properly use TXN.	



svn: r7388
2006-10-11 03:20:56 +00:00
Alex Roitman
2c97533593 2006-10-09 Alex Roitman <shura@gramps-project.org>
* src/GrampsDb/_GrampsDbBase.py (has_object_handle): Typo.



svn: r7384
2006-10-10 04:27:13 +00:00
Don Allingham
f1e38c6b28 remove debugging
svn: r7383
2006-10-10 04:15:26 +00:00
Don Allingham
93e7b3066b 2006-10-09 Don Allingham <don@gramps-project.org>
* src/GrampsDb/_ReadGedcom.py: fix object importation



svn: r7382
2006-10-10 04:11:57 +00:00
Don Allingham
38208043bf * src/GrampsDb/_GrampsDbBase.py: error message on disk space full
* src/Bookmarks.py: removed deleted items


svn: r7375
2006-10-09 03:57:41 +00:00
Alex Roitman
356d15ac7a * src/GrampsDb/_WriteGedcom.py
(GedcomWriterOptionBox.get_option_box): Add custom filters to the
	filter list.


svn: r7365
2006-10-08 02:05:17 +00:00
Alex Roitman
be4c39a654 2006-10-07 Alex Roitman <shura@gramps-project.org>
* data/grampsxml.dtd: Update DTD for XML 1.1.3.
	* data/grampsxml.rng: Update schema for XML 1.1.3.
	* src/GrampsDb/_ReadXML.py (stop_county): Read county.
	* src/GrampsDb/_WriteXML.py (write_address_list): Write county.



svn: r7363
2006-10-07 19:09:05 +00:00
Alex Roitman
ee3d288ad4 in key/value pairs;
(dump_location): Remove debug output.


svn: r7362
2006-10-07 06:00:18 +00:00
Alex Roitman
e87d4d084c * src/GrampsDb/_GrampsBSDDB.py: More upgrade fixes.
svn: r7361
2006-10-07 05:56:58 +00:00
Alex Roitman
53630ba56f * src/GrampsDb/_WriteXML.py (write_data_map): Escape special chars
in key/value pairs.
	* src/GrampsDb/_GrampsBSDDB.py (load): Do not create logs when TXN
	is disabled;
	(gramps_upgrade_9): Include upgrade_11 steps into upgrade_9.


svn: r7360
2006-10-06 23:03:56 +00:00
Alex Roitman
065b48569f 2006-10-06 Alex Roitman <shura@gramps-project.org>
* src/GrampsDb/_GrampsBSDDB.py (GrampsBSDDB.load): Do not create
	logs when TXN is disabled.



svn: r7358
2006-10-06 18:43:29 +00:00
Alex Roitman
e5c8ffd8ae * src/GrampsDb/_GrampsBSDDB.py (gramps_upgrade_11): Upgrade
addresses in repositories.


svn: r7356
2006-10-05 23:01:43 +00:00
Don Allingham
6f88d70324 * src/GrampsDb/_ReadXML.py: save description properly on read
svn: r7343
2006-10-03 03:21:40 +00:00
Don Allingham
81b82babde 2006-09-29 Don Allingham <don@gramps-project.org>
* src/GrampsDb/_ReadGedcom.py: Handle the Place/Address combination
	for events



svn: r7336
2006-09-30 03:40:23 +00:00
Don Allingham
db9e5de2fc 2006-09-28 Don Allingham <don@gramps-project.org>
* src/DataViews/_PlaceView.py: add street column (bug #459)
	* src/DisplayModels/_PlaceModel.py: add street column
	* src/GrampsDb/_GrampsDbBase.py: add street column



svn: r7335
2006-09-29 04:13:10 +00:00
Don Allingham
0d820794d5 2006-09-25 Don Allingham <don@gramps-project.org>
* src/GrampsDb/_GrampsDBCallback.py: catch db transaction problem
	* src/GrampsCfg.py: reset PORT_WARN when TRANSACTION re-enabled
	* src/QuestionDialog.py: sync changes to config value
	* src/GrampsLogger/_ErrorReportAssistant.py: fix typo
	


svn: r7330
2006-09-26 02:07:03 +00:00
Don Allingham
fe8b4e1839 2006-09-23 Don Allingham <don@gramps-project.org>
* src/images/sources.svg: new icon
	* src/images/reports.svg: new icon
	* src/images/tools.svg: new icon
	* src/images/events.svg: new icon
	* src/images/place.svg: new icon
	* src/images/tools.svg: new icon
	* src/ViewManager.py: use new icons
	* src/gramps_main.py: register new icons

2006-09-22  Don Allingham  <don@gramps-project.org>
	* src/GrampsDb/_GrampsGEDDB.py: support for disabling transactions
	* src/GrampsDb/_GrampsXMLDB.py: support for disabling transactions
	* src/GrampsDb/_GrampsBSDDB.py: support for disabling transactions
	* src/GrampsDb/_GrampsDbBase.py: support for disabling transactions
	* src/GrampsDb/_ReadGedcom.py: check for IO Eror
	* src/ViewManager.py: display message if a portability problem is 
	detected
	* src/QuestionDialog.py: Add Warning dialog that can be disabled
	* src/DbLoader.py: Detect missing database problem
	* src/ArgHandler.py: support for disabling transactions
	* src/GrampsCfg.py: new config keys for transactions
	* src/Config/_GrampsConfigKeys.py: new config keys for transactions

2006-09-17  Don Allingham  <don@gramps-project.org>
	* src/ViewManager.py: handle missing database on autoload (#447)
	* src/ArgHandler.py: handle missing database on autoload (#447)
	* src/DbLoader.py: handle missing database on autoload (#447)
	* src/Makefile.am: remove uninstalled packages from makefile
	* src/GrampsDb/_ReadXML.py: place vs. address changes
	* src/GrampsDb/_WriteXML.py: place vs. address changes
	* src/GrampsDb/_EditPlace.py: place vs. address changes
	* src/Editors/_EditPlace.py: place vs. address changes
	* src/Editors/_EditLocation.py: place vs. address changes
	* src/RelLib/_Address.py: place vs. address changes
	* src/RelLib/_LocationBase.py: place vs. address changes
	* src/RelLib/_Location.py: place vs. address changes
	* src/DisplayTabs/_LocationModel.py: place vs. address changes
	* src/DisplayTabs/_LocationEmbedList.py: place vs. address changes
	* src/glade/gramps.glade: place vs. address changes



svn: r7325
2006-09-24 04:37:59 +00:00
Don Allingham
99965189fd attempt to fix win
svn: r7316
2006-09-12 19:21:40 +00:00
Don Allingham
4d6b599df9 update
svn: r7315
2006-09-12 04:09:53 +00:00
Don Allingham
2d8868063d * src/GrampsDb/_ReadXML.py: use os.path.isabs
* src/ViewManager.py: path seperator fixes
	* src/GrampsDb/_ReadGedcom.py: path seperator fixes
	* src/GrampsDb/_ReadXML.py: path seperator fixes


svn: r7314
2006-09-12 03:41:09 +00:00
Don Allingham
c639895996 update
svn: r7313
2006-09-11 15:53:32 +00:00
Don Allingham
ad96e4fbf0 2006-09-11 Don Allingham <don@gramps-project.org>
* src/GrampsDb/_ReadXML.py: don't assume that os.path.sep is the
	first element of an absolute path. Many not be true on some legacy
	operating systems.



svn: r7312
2006-09-11 15:38:59 +00:00
Don Allingham
61b9f23c9e svn: r7309 2006-09-11 03:07:17 +00:00
Don Allingham
76cce7e656 2006-09-09 Don Allingham <don@gramps-project.org>
* src/GrampsDb/_ReadXML.py: remove commented out code
	* src/Editors/_EditEvent.py: handle overwriting of date text
	* src/RelLib/_DateBase.py: allow optional dropping of date text on
	serialization
	* src/RelLib/_Date.py: allow optional dropping of date text on
	serialization
	* src/RelLib/_Event.py: allow optional dropping of date text on
	serialization



svn: r7306
2006-09-09 17:10:13 +00:00
Don Allingham
25f7f7b792 2006-09-04 Don Allingham <don@gramps-project.org>
* src/GrampsDb/_ReadGedcom.py: don't delete tabs
	* src/DisplayTabs/_NoteTab.py: allow tabs to be entered



svn: r7302
2006-09-04 17:18:30 +00:00
Alex Roitman
6f87dfd61a * src/GrampsDb/_DbUtils.py: Use normal addition: this updates
reference_map properly.


svn: r7297
2006-09-02 00:07:46 +00:00
Alex Roitman
f1e55e1df0 2006-09-01 Alex Roitman <shura@gramps-project.org>
* src/plugins/StatisticsChart.py: Remove cause.
	* src/GrampsDb/_WriteXML.py (write_object): Escape path of the files;
	(fix): remove control characters.



svn: r7296
2006-09-01 22:57:57 +00:00
Alex Roitman
f758557ca3 * src/GrampsDb/_GrampsDbBase.py (remove_person,_do_remove_object):
Properly delete objects;
	(get_del_func): Add method to find deleting function for an object.
	* src/plugins/Check.py (cleanup_empty_families): Report gramps id.


svn: r7292
2006-08-30 05:10:50 +00:00
Don Allingham
1c03e540ff 2006-08-27 Don Allingham <don@gramps-project.org>
* src/GrampsDb/_ReadGedcom.py: fix parsing index to correctly
	identify levels for a RESI tag



svn: r7279
2006-08-27 21:28:14 +00:00
Alex Roitman
912a73371f * src/GrampsDb/_WriteGedcom.py (GedcomWriter.gui_setup): Add a
dialog about the researcher information.
	* src/gramps.py (run): Remove startup dialog.


svn: r7278
2006-08-27 21:04:49 +00:00
Don Allingham
b1aa82fe5e * src/GrampsDb/_GrampsDbBase.py (GrampsDbBase.get_name_group_mapping): convert
group as name used as a key back to unicode (bug #389)


svn: r7271
2006-08-26 18:04:20 +00:00
Alex Roitman
d02a945b7a 2006-08-24 Alex Roitman <shura@gramps-project.org>
* src/GrampsDb/_GrampsInMemDB.py (undo_data): Add method to take
	care of secondary indices on undo/redo;
	(_commit_inmem_base): Replace _clean_up and add more routine tasks.



svn: r7261
2006-08-25 05:00:40 +00:00
Don Allingham
ea88653704 2006-08-24 Don Allingham <don@gramps-project.org>
* src/GrampsDb/_GrampsInMemDB.py: update maps properly on commit



svn: r7258
2006-08-25 03:35:31 +00:00
Don Allingham
7cd2ceb7cb * src/GrampsDb/_ReadGedcom.py: RESN support
* src/GrampsDb/_WriteGedcom.py: RESN support
	* src/GrampsDb/_GedTokens.py: RESN support


svn: r7243
2006-08-23 03:53:17 +00:00
Don Allingham
92f35aff02 2006-08-22 Don Allingham <don@gramps-project.org>
* src/GrampsDb/_WriteGedcom.py: apply event type string conversion 
	fix to family types



svn: r7242
2006-08-23 03:14:06 +00:00
Don Allingham
041e762a91 * src/GrampsDb/_ReadGedcom.py: handle inline repositories better
svn: r7228
2006-08-22 04:27:59 +00:00
Don Allingham
b30874dc60 2006-08-21 Don Allingham <don@gramps-project.org>
* src/DisplayModels/_PeopleModel.py: fix handle column after removal
	of cause of death
	* src/GrampsDb/_WriteGedcom.py: handle custome events for people (bug
	# 368)



svn: r7226
2006-08-22 03:19:37 +00:00
Alex Roitman
b64e1f0eb2 * src/DataViews/_PersonView.py (column_names): Remove cause of death.
* src/DisplayModels/_PeopleModel.py (__init__): Update the order
	of marker and tooltip columns;
	(column_cause_of_death): remove method;
	(COLUMN_DEFS): Remove 'cause of death' column.
	* src/GrampsDb/_GrampsBSDDB.py (gramps_upgrade_10): Reset event
	and person view columns to the default.
	* src/GrampsDb/_GrampsDbBase.py (get_event_column_order): Remove
	cause column from the default list.
	(get_person_column_order): Remove cause of death column.



svn: r7224
2006-08-21 06:32:31 +00:00
Alex Roitman
74ec4d41f5 * src/GrampsDb/_ReadGedcom.py (GedcomParser.__init__): Use config
setting to determine whether to set default source.


svn: r7223
2006-08-21 05:42:56 +00:00
Alex Roitman
cd50843624 2006-08-20 Alex Roitman <shura@gramps-project.org>
* src/Config/_GrampsConfigKeys.py: Regenerate file.
	* src/GrampsCfg.py (add_behavior_panel): Use new key.
	* data/gramps.schemas.in: Add default-source key.



svn: r7222
2006-08-21 05:32:07 +00:00
Alex Roitman
5c59929c66 Update
svn: r7221
2006-08-21 03:48:54 +00:00
Don Allingham
d82e015c51 2006-08-20 Don Allingham <don@gramps-project.org>
* src/GrampsDb/_ReadGedcom.py: fix CHAN parsing for family



svn: r7220
2006-08-21 03:39:13 +00:00
Alex Roitman
a5a8303768 * src/GrampsDb/_GrampsDbBase.py (GrampsDbBase._sortbyname): Remove
obsolete method.


svn: r7201
2006-08-18 05:59:44 +00:00
Alex Roitman
655dc48a92 2006-08-17 Alex Roitman <shura@gramps-project.org>
* src/NameDisplay.py: Correct constants to accomodate Name change.
	* src/GrampsDb/_GrampsBSDDB.py: Upgrade the names.
	* src/RelLib/_Name.py: Remove sname attribute.



svn: r7200
2006-08-18 05:49:25 +00:00
Don Allingham
523de01614 * src/GrampsDb/_WriteGedcom.py: support for AGE, CAUSE, and AGENCY
svn: r7185
2006-08-16 02:31:29 +00:00
Don Allingham
bf2c6e6e08 2006-08-15 Don Allingham <don@gramps-project.org>
* src/GrampsDb/_ReadGedcom.py: support for AGE, CAUSE, and AGENCY
	* src/GrampsDb/_GedTokens.py: support for AGE and AGENCY



svn: r7184
2006-08-16 00:30:37 +00:00
Alex Roitman
774d9300e2 Update
svn: r7183
2006-08-15 21:03:49 +00:00
Alex Roitman
8f188fee5e * src/GrampsDb/_ReadXML.py (start_attribute): Support attributes
in event and eventref;
	(stop_cause): Create attribute on cause tag.
	* src/Editors/_EditEventRef.py (_create_tabbed_pages): Typos.
	* src/Editors/_EditEvent.py (_create_tabbed_pages): Typo.
	* data/grampsxml.rng: Document XML changes (xml 1.1.2).
	* data/grampsxml.dtd: Document XML changes (xml 1.1.2).
	* src/GrampsDb/_WriteXML.py (dump_event_ref): Write attributes;
	(write_event): write attributes, remove cause.


svn: r7182
2006-08-15 20:59:12 +00:00
Alex Roitman
bd18b2f976 2006-08-15 Alex Roitman <shura@gramps-project.org>
* src/GrampsDb/_GrampsBSDDB.py: Cleanup on upgrades.



svn: r7181
2006-08-15 15:33:28 +00:00
Alex Roitman
45d0d40c2b 2006-08-14 Alex Roitman <shura@gramps-project.org>
* src/GrampsDb/_GrampsBSDDB.py (gramps_upgrade_10): Add an upgrade
	path from 2.1.91.
	* src/RelLib/_AttributeType.py: Add new attribute types for events
	and event references.
	* src/RelLib/_EventRef.py: Add attribute list.
	* src/RelLib/_Event.py: Add attribute list.



svn: r7180
2006-08-15 05:24:38 +00:00
Alex Roitman
4f94f6a639 (close): Close metadata after the checkpoint.
svn: r7165
2006-08-13 00:23:06 +00:00
Alex Roitman
0107f7871a * src/GrampsDb/_GrampsBSDDB.py: Fix new db creation; make metadata
work with UseTXN set either way.


svn: r7162
2006-08-12 21:55:52 +00:00
Alex Roitman
58cc43816c * src/GrampsDb/_GrampsBSDDB.py: Use txn-capable metadata.
svn: r7154
2006-08-11 23:46:24 +00:00
Alex Roitman
096c7dde80 * src/GrampsDb/_GrampsBSDDB.py (GrampsBSDDB.close): Try to reset
the log sequence numbers to make grdb file portable.


svn: r7141
2006-08-07 02:00:14 +00:00
Alex Roitman
13edf04889 2006-08-01 Alex Roitman <shura@gramps-project.org>
* src/GrampsDb/_GrampsBSDDB.py (set_name_group_mapping): Use
	transaction.



svn: r7108
2006-08-01 16:24:27 +00:00
Zsolt Foldvari
a16b488d1d 2006-07-31 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/NameDisplay.py: Rewrite in more object oriented way; Interface
	change.
	* src/ViewManager.py (post_load_newdb): Change of NameDisplay interface.
	* src/GrampsDb/_ReadXML.py (parse): Change of NameDisplay interface.
	* src/GrampsDb/_ReadGrdb.py (importData): Change of NameDisplay
	interface.
	* src/GrampsCfg.py: Change of NameDisplay interface; Name format Edit
	and Add callbacks divided.
	* src/RelLib/_Name.py: Default/standard name format definitions moved to
	NameDisplay.
	* src/Editors/_EditName.py (_setup_fields): Change of NameDisplay
	interface.
	* src/plugins/Check.py (cleanup_deleted_name_formats): Change of
	NameDisplay interface.



svn: r7099
2006-07-31 11:08:44 +00:00
Don Allingham
e9cf818b7c * src/GrampsDb/_ReadGedcom.py: handle missing event type
svn: r7098
2006-07-31 00:38:31 +00:00
Alex Roitman
7cf2dc0785 (find_backlink_handles): Work around readonly db problems;
(_get_obj_from_gramps_id): Work around readonly db problems.


svn: r7087
2006-07-28 04:10:43 +00:00
Alex Roitman
e7cc55ddc2 Update
svn: r7086
2006-07-27 20:11:56 +00:00
Alex Roitman
787fe452e1 2006-07-27 Alex Roitman <shura@gramps-project.org>
* src/GrampsDb/_GrampsBSDDB.py (_load_metadata): Upgrade custom
	name formats.
	* src/GrampsDb/_ReadXML.py (start_format): Attempt parsing the
	active state for the custom name format.
	* src/GrampsDb/_WriteXML.py (write_name_formats): Write 4-tuple
	custom name formats; 
	(_xml_version): Output as version 1.1.1.
	* data/grampsxml.rng: Update XML description for 1.1.1.
	* data/grampsxml.dtd: Update XML description for 1.1.1.
	* src/ViewManager.py (post_load_newdb): Revert changes (done on
	the lower level).
	* src/NameDisplay.py (register_custom_formats): Revert changes (done on
	the lower level).



svn: r7085
2006-07-27 17:44:02 +00:00
Alex Roitman
b5940487eb 2006-07-24 Alex Roitman <shura@gramps-project.org>
* configure.in: Bump up the version number.
	* src/GrampsDb/_GrampsBSDDB.py (find_fidmap): Remove unused method.



svn: r7072
2006-07-25 06:11:27 +00:00
Alex Roitman
871180a272 Update
svn: r7071
2006-07-25 00:24:15 +00:00
Alex Roitman
51c468f672 * src/GrampsDb/_GrampsBSDDB.py (gramps_upgrade_9): Map Other from
gramps2.0.x to Unknown.
	* src/GrampsDb/_ReadXML.py (start_name): Map Other from
	gramps2.0.x to Unknown.
	(start_database): Add method to extract the XML version.


svn: r7070
2006-07-25 00:01:08 +00:00
Don Allingham
d267e48ccf 2006-07-23 Don Allingham <don@gramps-project.org>
* src/GrampsDb/_ReadGedcom.py (GedcomParser.func_person_even): set
	default type for an event to CUSTOM



svn: r7061
2006-07-23 17:46:58 +00:00
Alex Roitman
54a6eeb818 * src/ArgHandler.py (ArgHandler.cl_export): Properly expand filename.
* src/GrampsDb/_WriteGrdb.py (exportData): Use placeholder if
	callback is None.


svn: r7042
2006-07-19 04:56:41 +00:00
Alex Roitman
26d491b230 2006-07-18 Alex Roitman <shura@gramps-project.org>
* src/GrampsDb/_GrampsBSDDB.py
	(GrampsBSDDB._delete_primary_from_reference_map): defer deleting
	until the cursor is closed.



svn: r7040
2006-07-19 04:29:04 +00:00
Don Allingham
913d4f4772 * src/GrampsDb/_GrampsBSDDB.py: disable TXN for readonly dbs
svn: r7028
2006-07-15 05:14:39 +00:00
Alex Roitman
154787c06c 2006-07-06 Alex Roitman <shura@gramps-project.org>
* src/ViewManager.py (ViewManager.post_load_newdb): Register
	custom formats after loading the db.
	* src/GrampsCfg.py: Switch to use new formats (still in progress).
	* src/GrampsDb/_GrampsDbBase.py (GrampsDbBase.__init__): Set up
	custom name formats list.
	* src/GrampsDb/_DbUtils.py (db_copy): Copy custom name formats.
	* src/GrampsDb/_ReadXML.py (start_format): Parse custom formats.
	* src/GrampsDb/_WriteXML.py (write_name_formats): Add method.
	* src/GrampsDb/_GrampsBSDDB.py (GrampsBSDDB._load_metadata) 
	(GrampsBSDDB._close_metadata): load and save name_formats.
	* src/Editors/_EditName.py (EditName._setup_fields): Use proper
	format lists.
	* src/NameDisplay.py: Support new name formats scheme.
	* src/RelLib/_Name.py (Name.DEFAULT_FORMATS): Add list of formats.



svn: r6999
2006-07-06 17:46:46 +00:00
Don Allingham
051f992afb 2006-07-04 Don Allingham <don@gramps-project.org>
* various: pyflakes fixes



svn: r6992
2006-07-04 23:38:51 +00:00
Alex Roitman
39cd47357d Test
svn: r6988
2006-07-04 05:50:24 +00:00
Alex Roitman
cf302f8a39 Test
svn: r6987
2006-07-04 05:46:48 +00:00
Alex Roitman
b0dfc2a0cc Test
svn: r6986
2006-07-04 05:43:22 +00:00
Don Allingham
1353edcca9 * src/GrampsDb/_DbUtils.py (remove_parent_from_family): adjust the
transaction message for appropriate father/mother indicator


svn: r6976
2006-07-01 03:58:45 +00:00
Alex Roitman
f44c52289b * src/GrampsDb/_WriteGedcom.py: Prevent writing empty value tags.
svn: r6957
2006-06-24 04:28:43 +00:00
Don Allingham
acca9a14bd 2006-06-23 Don Allingham <don@gramps-project.org>
* src/GrampsDb/_ReadXML.py: fix syntax error with old ref formats



svn: r6951
2006-06-23 17:10:05 +00:00
Don Allingham
dc4b7dab9d 2006-06-22 Don Allingham <don@gramps-project.org>
* src/GrampsDb/_GrampsDbBase.py: remove unused variable
	* src/Editors/_EditPlace.py: Allow duplicate names
	* src/Editors/_EditFamily.py: improve error message



svn: r6950
2006-06-23 04:13:06 +00:00
Don Allingham
d9f1827ddb 2006-06-21 Don Allingham <don@gramps-project.org>
* src/GrampsDb/_ReadXML.py: handle witness ref properly



svn: r6949
2006-06-22 21:23:00 +00:00
Alex Roitman
b3a8324b78 2006-06-22 Alex Roitman <shura@gramps-project.org>
* src/GrampsDb/_WriteGedcom.py (GedcomWriter.__init__): Typo.



svn: r6946
2006-06-22 18:32:16 +00:00
Don Allingham
fcf5cfbc48 * src/GrampsDb/_WriteGedcom.py: export QUAY
svn: r6901
2006-06-16 18:38:06 +00:00
Don Allingham
4cf930d039 * src/GrampsDb/_GrampsDbBase.py: prevent null event types and
attribute types from being added
	* src/Editors/_EditAttribute.py: prevent null attribute types
	* src/Editors/_EditEvent.py: prevent null attribute types
	* src/AutoComp.py: filter out empty strings
	* src/ImgManip.py: check for file before attempting thumbnailer


svn: r6898
2006-06-16 03:32:51 +00:00
Alex Roitman
23cd9319f6 * src/GrampsDb/_WriteGedcom.py (write_photo): Typo.
svn: r6893
2006-06-15 16:46:12 +00:00
Don Allingham
26f17e296e 2006-06-14 Don Allingham <don@gramps-project.org>
* src/GrampsDb/_ReadGedcom.py: fix INT date format



svn: r6890
2006-06-15 03:23:57 +00:00
Alex Roitman
5b113d9558 2006-06-14 Alex Roitman <shura@gramps-project.org>
* src/NameDisplay.py: Factor out commont code.
	* src/Editors/_EditName.py (_setup_fields): Remove Default item.
	* src/RelLib/_Name.py (Name.DEF): Replace with CUSTOM, use LNFN in
	place of previous DEF.
	* src/GrampsCfg.py (add_name_panel): Add Name Display panel.
	* src/GrampsDb/_ReadXML.py (stop_name): Properly set name type;
	do not set conf attribute on attr, addr, and event.



svn: r6889
2006-06-14 20:20:39 +00:00
Don Allingham
cb2cebd7e9 2006-06-13 Don Allingham <don@gramps-project.org>
* src/Editors/_EditLdsOrd.py: LDS confirmation support
	* src/GrampsDb/_ReadGedcom.py: LDS confirmation support
	* src/GrampsDb/_WriteGedcom.py: LDS confirmation support
	* src/GrampsDb/_GedTokens.py: LDS confirmation support
	* src/GrampsDb/_LdsOrdd.py: LDS confirmation support



svn: r6887
2006-06-13 23:51:24 +00:00
Alex Roitman
e858a54456 2006-06-13 Alex Roitman <shura@gramps-project.org>
* src/GrampsDb/_GrampsBSDDB.py (gramps_upgrade_9): Avoid using
	secondary index when upgrading events; manually resolve duplicate IDs.



svn: r6886
2006-06-13 19:59:14 +00:00
Don Allingham
8edd56e0a8 gedcom cleanup
svn: r6884
2006-06-13 03:23:50 +00:00
Don Allingham
4871ba35db 2006-06-11 Don Allingham <don@gramps-project.org>
* src/GrampsDb/_ReadGedcom.py: fix event parsing
	* src/GramspDb/_GedcomInfo.py: fix ORDN identification



svn: r6882
2006-06-12 04:51:11 +00:00
Don Allingham
5810926898 2006-06-10 Don Allingham <don@gramps-project.org>
* src/GrampsDb/_ReadGedcom.py: fixes based of the gedcom torture test
	* src/GrampsDb/_GedTokeys.py: fixes based of the gedcom torture test



svn: r6880
2006-06-11 04:19:47 +00:00
Don Allingham
8940cf321d * src/GrampsDb/_GedTokens.py: yet even more funky fixes, handle more
non-standard tags


svn: r6879
2006-06-10 05:15:15 +00:00
Don Allingham
8b770e1537 * src/GrampsDb/_ReadGedcom.py: yet even more funky fixes, pass Jerome's tests
svn: r6878
2006-06-10 04:27:43 +00:00
Don Allingham
db962c63a6 2006-06-09 Don Allingham <don@gramps-project.org>
* src/GrampsDb/_ReadGedcom.py: yet even more funky fixes
	* src/GrampsDb/_GedTokens.py: yet even more funky fixes
	


svn: r6877
2006-06-09 21:33:48 +00:00
Don Allingham
c4f389acf9 more gedcom fixes
svn: r6876
2006-06-09 04:46:54 +00:00
Don Allingham
5c89f8ed1e 2006-06-08 Don Allingham <don@gramps-project.org>
* src/GrampsDb/_ReadGedcom.py: handle more bizarre and illegal
	statements output by other programs.



svn: r6875
2006-06-08 21:38:43 +00:00
Don Allingham
4ab22011aa * src/GrampsDb/_GedTokens.py: handle some obscure tokens
svn: r6874
2006-06-08 04:51:45 +00:00
Don Allingham
baeafc820a 2006-06-07 Don Allingham <don@gramps-project.org>
* src/GrampsDb/_ReadGedcom.py: fix child/parent relationships



svn: r6872
2006-06-08 04:08:16 +00:00
Don Allingham
6cf54161b2 svn: r6870 2006-06-07 04:43:18 +00:00
Don Allingham
5801d77505 Added repository information
svn: r6868
2006-06-06 22:20:38 +00:00
Alex Roitman
8e06592375 * src/GrampsDb/_ReadXML.py (start_eventref): Only set birth and
death references for events with primary role.


svn: r6867
2006-06-06 18:53:55 +00:00
Alex Roitman
c1f1b1723a 2006-06-06 Alex Roitman <shura@gramps-project.org>
* src/GrampsDb/_DbUtils.py (set_birth_death_index): Only set birth
	and death references for events with primary role.



svn: r6866
2006-06-06 18:49:34 +00:00
Don Allingham
4e5ff5a16a 2006-06-05 Don Allingham <don@gramps-project.org>
* src/GrampsDb/_ReadGedcom.py: more improvements



svn: r6865
2006-06-06 04:23:04 +00:00
Don Allingham
3c45dfe0bb * src/GrampsDb/_ReadGedcom.py: improve parsing, comment the code better
* example/gedcom/sample.ged: add new stuff


svn: r6863
2006-06-05 22:21:22 +00:00
Don Allingham
6a1b76786c 2006-06-05 Don Allingham <don@gramps-project.org>
* src/Mime/_PythonMime.py (_type_map): register .gpkg for non-linux
	platforms 



svn: r6862
2006-06-05 18:49:31 +00:00
Alex Roitman
eee0ce5a1d * src/GrampsDb/_ReadXML.py (stop_event): Properly import birth and
death from the old XML.


svn: r6810
2006-05-29 03:00:07 +00:00
Don Allingham
00a5154a67 * src/DataViews/_PersonView.py: merge functionality
* src/ViewManager.py: merge functionality
	* src/MergePeople.py: fix merge (ui and birth/death events)
	* src/GrampsDb/_WriteXML.py: remove redundant birth/death entries


svn: r6773
2006-05-25 04:08:05 +00:00
Don Allingham
57bb0ce78c * src/GrampsDb/_DbUtils.py: fix index setting of death index
* src/GrampsDb/_WriteGedcom.py: remove redundant birth/death 
	references


svn: r6772
2006-05-25 02:30:16 +00:00
Alex Roitman
54e3f6908d * src/Utils.py: move event/attr constants to GedcomInfo.
* src/plugins/TestcaseGenerator.py: Use new methods.
	* src/DisplayTabs/_LdsModel.py: Use new methods.
	* src/Editors/_EditLdsOrd.py: Use new methods.
	* src/RelLib/_LdsOrd.py: Add new methods.
	* src/GrampsDb/_WriteGedcom.py: Do not import unused module.
	* src/GrampsDb/_ReadXML.py: Use methods from LdsOrd.
	* src/lds.py: Rename to LdsUtils.py
	* src/GrampsDb/_ReadGedcom.py: Use new module name.
	* src/Makefile.am (gdir_PYTHON): Ship new file.



svn: r6770
2006-05-24 05:28:33 +00:00
Alex Roitman
4207e294eb Update
svn: r6768
2006-05-24 00:42:52 +00:00
Alex Roitman
154bc13140 Update
svn: r6767
2006-05-24 00:12:02 +00:00
Alex Roitman
8847f3d1cc 2006-05-23 Alex Roitman <shura@gramps-project.org>
* src/GrampsDb/_GrampsBSDDB.py (gramps_upgrade_9): Upgrade LdsOrd.



svn: r6766
2006-05-23 23:37:24 +00:00
Don Allingham
74b55ce32a 2006-05-23 Don Allingham <don@gramps-project.org>
* src/DataViews/_RelationView.py: finish shading
	* src/GrampsDb/_DbUtils.py: add birth/death index set funcion
	* src/Editors/_EditPerson.py: birth/death index fixes
	* src/DisplayTabs/_PersonEventEmbedList.py: birth/death index fixes
	* src/GrampsWidgets.py: shading fixes
	* src/DisplayModels/_PeopleModel.py: birth/death index fixes



svn: r6764
2006-05-23 21:07:26 +00:00
Alex Roitman
9e45d663b6 * src/GrampsDb/_GrampsBSDDB.py (gramps_upgrade_9): Convert upgrade
to using new birth/death reference approach.
	* src/GrampsDb/_GrampsDbBase.py (commit_person): Simplify updating
	of the custom event roles.
	* src/GrampsDb/_WriteXML.py (write_person): Use methods to get
	birth/death ref, not raw attributes.
	* src/RelLib/_Person.py: Convert to using birth and death ref
	indices.
	birth/deat reference; use methods to get birth/death ref, not raw
	attributes.


svn: r6762
2006-05-23 19:55:35 +00:00