Commit Graph

386 Commits

Author SHA1 Message Date
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