Commit Graph

3093 Commits

Author SHA1 Message Date
Alex Roitman
4952e06acd * 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
Martin Hawlisch
6c4d70bf2a * src/PluginUtils/_Plugins.py: ignore pressing apply without a plugin being selected
* src/plugins/SoundGen.py: Dont fail with empty database



svn: r7359
2006-10-06 19:10:15 +00:00
Alex Roitman
ac5e0aa96a 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
3112a1e332 * src/DataViews/_PersonView.py (set_inactive): Check active status.
svn: r7357
2006-10-06 03:32:35 +00:00
Alex Roitman
6c5bfa69e3 * src/GrampsDb/_GrampsBSDDB.py (gramps_upgrade_11): Upgrade
addresses in repositories.


svn: r7356
2006-10-05 23:01:43 +00:00
Alex Roitman
03152cc093 2006-10-05 Alex Roitman <shura@gramps-project.org>
* src/Config/_GrampsConfigKeys.py: Regenerate file (proper type
	for transactions key).



svn: r7355
2006-10-05 19:47:22 +00:00
Don Allingham
cc4c806ddd 2006-10-04 Don Allingham <don@gramps-project.org>
* src/DisplayTabs/_EventEmbedList.py: catch attempt to multiply
	edit an event through events and event references

2006-10-03  Don Allingham  <don@gramps-project.org>
	* src/Editors/_EditFamily.py: don't try to change families if the
	parents don't exist



svn: r7353
2006-10-05 04:33:09 +00:00
Don Allingham
b178a57f86 2006-10-03 Jerome Rapinat <romjerome@yahoo.fr>
* src/plugins/ChangeNames.py: fix path name

	* src/plugins/PatchNames.py: clean up


svn: r7349
2006-10-04 02:46:32 +00:00
Don Allingham
ecf3f03e8b 2006-10-03 Don Allingham <don@gramps-project.org>
* src/GrampsLogger/_ErrorReportAssistant.py: capitalize "GRAMPS"
	* src/ViewManager.py: display buttons on first open
	* src/Editors/_EditSourceRef.py: fix cancelling of text (bug #450)
	* src/DisplayTabs/_NoteTab.py: fix cancelling of text
	* src/DisplayTabs/_TextTab.py: fix cancelling of text 




svn: r7345
2006-10-03 16:59:51 +00:00
Don Allingham
49f5718af1 * src/GrampsDb/_ReadXML.py: save description properly on read
svn: r7343
2006-10-03 03:21:40 +00:00
Don Allingham
a216352c07 * src/RelLib/_Location.py: call parent class properly
svn: r7342
2006-10-03 02:56:30 +00:00
Don Allingham
f939ce1a0d 2006-10-02 Don Allingham <don@gramps-project.org>
* src/Selectors/_SelectPlace.py: use proper column for place handle
	* src/DisplayModels/_PlaceModel.py: specify place handle



svn: r7341
2006-10-03 02:47:51 +00:00
Don Allingham
00d63ed591 2006-10-01 Don Allingham <don@gramps-project.org>
* src/Utils.py: catch divide by zero case
	* src/ViewManager.py: change change to same page (#410)



svn: r7339
2006-10-02 02:10:12 +00:00
Don Allingham
9408e706d0 * src/FilterEditor/_EditRule.py: limit source name in menu display
to 40 characters (#451)


svn: r7337
2006-09-30 03:56:29 +00:00
Don Allingham
9d23a4aaa4 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
0dd8c6a7a1 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
Brian Matherly
d4f7432238 * src/ReportBase/_StyleEditor.py: Make style editor not modal
* src/glade/gramps.glade: Make style editor not modal

svn: r7334
2006-09-28 03:29:23 +00:00
Brian Matherly
f4503bcbf9 * src/GrampsLogger/_ErrorReportAssistant.py: Fix typo.
svn: r7332
2006-09-27 03:21:21 +00:00
Don Allingham
fb6b42d549 * src/ViewManager.py: fix message
* src/Config/_GrampsConfigKeys.py: set default value
	* src/QuestionDialog.py: set value from config
	* data/gramps.schemas.in: fix default value


svn: r7331
2006-09-26 04:08:41 +00:00
Don Allingham
17431a9f82 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
Brian Matherly
64b29cee3a * src/_ErrorReportAssistant.py: Fix email client launch (#455)
svn: r7329
2006-09-25 03:29:38 +00:00
Don Allingham
c07efc751a 2006-09-24 Don Allingham <don@gramps-project.org>
* src/ViewManager.py: fix call to warning dialog
	* src/QuestionDialog.py: Don't do internal check on value



svn: r7328
2006-09-25 02:19:58 +00:00
Brian Matherly
dfb6fc2417 * src/plugins/AncestorReport.py: Fix generation numbers.
svn: r7327
2006-09-25 00:51:17 +00:00
Don Allingham
883576ef12 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
Brian Matherly
cbdecd08a2 * src/plugins/Checkpoint.py: typo
svn: r7324
2006-09-16 11:55:53 +00:00
Brian Matherly
2a7d884f07 * src/docgen/RTFDoc.py: fix page breaks (#0000441)
svn: r7322
2006-09-13 04:33:45 +00:00
Don Allingham
f6c362073d 2006-09-12 Don Allingham <don@gramps-project.org>
* src/DataViews/_RelationView.py: provide a waring if a broken
	family is detected
	* src/plugins/Check.py: Don't remove families with no parents 
	unless no children exist



svn: r7321
2006-09-13 02:57:45 +00:00
Alex Roitman
f6a19173c4 confidence level; (generate_date_tests): Remove invalid dates.
svn: r7320
2006-09-13 00:35:47 +00:00
Alex Roitman
eeddbe748b * src/plugins/TestcaseGenerator.py (fill_object): Use integer
confidence level.


svn: r7319
2006-09-12 23:21:15 +00:00
Alex Roitman
75e2ffb934 * src/DateHandler/_Date_fr.py (DateParserFR.init_strings): Typo.
svn: r7318
2006-09-12 22:58:42 +00:00
Alex Roitman
0a0c346c34 2006-09-12 Alex Roitman <shura@gramps-project.org>
* src/const.py.in (app_gramps): Revert to using a string.



svn: r7317
2006-09-12 20:51:47 +00:00
Don Allingham
2a65ada4de * 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
a05a72b8ea 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
14c2ac85f9 2006-09-10 Don Allingham <don@gramps-project.org>
* src/DisplayTabls/_PersonEmbedList.py: enable dnd with people for
	associations



svn: r7308
2006-09-11 01:55:57 +00:00
Don Allingham
bc6666199b * src/DisplayTabs/_EventEmbedList.py: bring up the event reference
editor on drag-n-drop onto the event reference list


svn: r7307
2006-09-09 22:46:14 +00:00
Don Allingham
093bbd3c01 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
Alex Roitman
0e20d344f5 2006-09-05 Alex Roitman <shura@gramps-project.org>
* src/plugins/Verify.py: Import Errors.



svn: r7303
2006-09-05 18:11:40 +00:00
Don Allingham
2d4d9c84c4 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
Don Allingham
81e5d2a251 2006-09-03 Don Allingham <don@gramps-project.org>
* src/ScratchPad.py: add dnd support for MediaRefs (bug #417)
	* src/DdTargets.py: add dnd support for MediaRefs (bug #417)



svn: r7301
2006-09-03 22:14:47 +00:00
Don Allingham
3db3e8ed6a 2006-09-02 Don Allingham <don@gramps-project.org>
* src/DisplayTabs/_EventEmbedList.py: Don't override event type on
	a drag-n-drop (bug #420)
	* po/POTFILES.in: remove non-shipping modules

        * src/plugins/Calendar.py: fix filter typo
        * src/plugins/WritePkg.py: don't set uid on Windows


svn: r7300
2006-09-02 23:31:30 +00:00
Brian Matherly
07361c08ca * src/plugins/WritePkg.py: don't set uid on Windows
svn: r7299
2006-09-02 01:47:08 +00:00
Brian Matherly
6bd8a7514e * src/plugins/Calendar.py: fix filter typo
svn: r7298
2006-09-02 01:24:46 +00:00
Alex Roitman
04bbebf702 * src/GrampsDb/_DbUtils.py: Use normal addition: this updates
reference_map properly.


svn: r7297
2006-09-02 00:07:46 +00:00
Alex Roitman
0948f599a4 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
2c47595b13 * 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
Alex Roitman
e7a7a050dd * src/RelLib/_SourceRef.py (SourceRef.__init__): Pass source.
* src/RelLib/_ChildRef.py (ChildRef.__init__): Pass source.
	* src/RelLib/_EventRef.py (EventRef.__init__): Pass source.
	* src/RelLib/_PersonRef.py (PersonRef.__init__): Pass source.
	* src/RelLib/_RepoRef.py (RepoRef.__init__): Pass source.


svn: r7291
2006-08-30 00:08:45 +00:00
Alex Roitman
222bd78857 2006-08-29 Alex Roitman <shura@gramps-project.org>
* src/glade/gramps.glade: Add privacy controls to all editors.
	* src/Editors/_EditSource.py: Add privacy control.
	* src/Editors/_EditSourceRef.py: Add privacy control.
	* src/Editors/_EditPlace.py: Add privacy control.
	* src/Editors/_EditMedia.py: Add privacy control.
	* src/Editors/_EditMediaRef.py: Add privacy control.
	* src/Editors/_EditRepository.py: Add privacy control.
	* src/Editors/_EditRepoRef.py: Add privacy control.



svn: r7290
2006-08-29 23:45:07 +00:00
Alex Roitman
4c7aebf934 Update
svn: r7289
2006-08-29 19:59:06 +00:00
Alex Roitman
4c1b3da566 * src/plugins/rel_cs.py: Add relationship calculator.
* src/plugins/Makefile.am (pkgdata_PYTHON): Ship new file.

svn: r7288
2006-08-29 19:56:42 +00:00
Don Allingham
9ae70ecb96 2006-08-28 Don Allingham <don@gramps-project.org>
* src/RelLib/_Name.py: pyflakes fixes
	* src/Editors/_EditName.py: pyflakes fixes
	* src/DisplayTabs/_BackRefModel.py: pyflakes fixes
	* src/DisplayTabs/_GalleryTab.py: pyflakes fixes



svn: r7284
2006-08-29 03:43:46 +00:00
Alex Roitman
d58eb02042 2006-08-28 Alex Roitman <shura@gramps-project.org>
* src/RelLib/_Address.py (get_text_data_list): Typo.
	* src/Filters/Rules/Person/_HasTextMatchingSubstringOf.py (apply):
	Stop adding birth and death events.
	* configure.in: Increment version number.
	* RELEASE: version 2.1.95 is released.



svn: r7283
2006-08-28 17:56:42 +00:00
Don Allingham
598a3ec1a9 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
ef3fc27d4e * 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
Alex Roitman
8e1179b16d * src/plugins/RelCalc.py: Use name display preferences throughout;
collapse unique entries in the common ancestors list.


svn: r7276
2006-08-27 19:46:11 +00:00
Alex Roitman
db863c9746 2006-08-27 Alex Roitman <shura@gramps-project.org>
* src/plugins/TestcaseGenerator.py: Bring somewhat up to date.
	* NEWS: New release name.



svn: r7274
2006-08-27 07:30:59 +00:00
Alex Roitman
4fa0564888 * src/GrampsLogger/_ErrorReportAssistant.py (__init__): Properly
call Assistant.
	* src/plugins/GraphViz.py (get_event_string): Stop using cause.


svn: r7273
2006-08-27 06:30:56 +00:00
Alex Roitman
096613dfd1 2006-08-26 Alex Roitman <shura@gramps-project.org>
* src/Filters/Rules/Person/__init__.py (register): Add dictionary
	for private rules.
	* src/Filters/_FilterParser.py (startElement): Support parsing for
	private rules.



svn: r7272
2006-08-26 19:39:32 +00:00
Don Allingham
13bca83d4c * 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
Don Allingham
787a234cc1 * src/Editors/_EditMedia.py (EditMedia.save): don't set path on
a save


svn: r7270
2006-08-26 14:18:47 +00:00
Don Allingham
aeb6e9a42e 2006-08-26 Don Allingham <don@gramps-project.org>
* src/Config/_GrampsConfigKeys.py: set toolbar-on to 1 if the gconf
	schemas were not installed properly



svn: r7269
2006-08-26 13:48:17 +00:00
Don Allingham
e2daccf0ae * src/Editors/_EditPerson.py: add name callback to update screen
after a primary name change
	* src/DisplayTabs/_NameEmbedList.py: add primary name change menu item
	* src/GrampsWidgets.py: add reinitalization method to handle change of
	associated data item


svn: r7268
2006-08-26 04:29:20 +00:00
Brian Matherly
259d0678ae * src/const.py.in: Disable thumbnailer for Windows.
svn: r7267
2006-08-26 02:46:40 +00:00
Don Allingham
8755164dad 2006-08-25 Don Allingham <don@gramps-project.org>
* src/DisplayModels/_MediaModel.py (MediaModel.sort_date): add
	sorting by date value instead of by text string



svn: r7266
2006-08-26 02:07:46 +00:00
Alex Roitman
46248ee75f * src/ViewManager.py (preferences_activate): Use uistate to emit.
* src/DisplayState.py (DisplayState.__signals__): Add new signal.
	* src/GrampsCfg.py (cb_name_changed): Use uistate to emit signal.


svn: r7265
2006-08-25 23:46:19 +00:00
Alex Roitman
41e26b13bb 2006-08-25 Alex Roitman <shura@gramps-project.org>
* src/plugins/ChangeTypes.py: Clean up type name conversions; work
	over all the events, regardless of who references them.
	* src/RelLib/_GrampsType.py (get_standard_names, get_standard_xml): 
	Add methods to obtain standard type lists.



svn: r7264
2006-08-25 19:12:41 +00:00
Zsolt Foldvari
cafde1e32c 2006-08-25 Zsolt Foldvari <zsolt.foldvari@nokia.com>
* src/GrampsCfg.py: Implement callback mechanism for dynamic name format
	change.
	* src/ViewManager.py (__init__, preferences_activate, change_page):
	Rebuild the active page after name fomat changed by connecting to
	GrampsPreferences' signal



svn: r7262
2006-08-25 17:17:37 +00:00
Alex Roitman
80c7a2e038 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
Brian Matherly
7cb840ebf8 * src/plugins/NarrativeWeb.py: Fix typos
svn: r7260
2006-08-25 04:23:55 +00:00
Don Allingham
2af2a92e10 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
Alex Roitman
a8ba84efc7 * src/plugins/EventCmp.py: Remove sorting columns for saving.
svn: r7257
2006-08-25 00:19:06 +00:00
Alex Roitman
29a55e8d7f * src/plugins/PHPGedViewConnector.py: Disable registration, until
this plugin is fixed.


svn: r7256
2006-08-24 20:23:55 +00:00
Alex Roitman
10ae4df9fa * src/glade/gramps.glade (family_editor): Remove Y expansion
property on mother-related buttons.


svn: r7255
2006-08-24 20:20:17 +00:00
Alex Roitman
8ec40e3e33 * src/DataViews/_FamilyList.py: Add column editor.
svn: r7254
2006-08-24 20:11:23 +00:00
Alex Roitman
61157d5f55 (on_apply_clicked): Properly save entered types, including custom.
svn: r7253
2006-08-24 19:56:51 +00:00
Alex Roitman
031f9211da 2006-08-24 Alex Roitman <shura@gramps-project.org>
* src/plugins/ChangeTypes.py (run_tool): Properly set the new type.



svn: r7252
2006-08-24 19:41:08 +00:00
Alex Roitman
5b1f1b3d11 * src/DataViews/_PersonView.py (person_removed): Properly create
and pass the filter when searchbar is enabled (not sidebar).


svn: r7251
2006-08-24 04:38:06 +00:00
Alex Roitman
9a506c0fc1 * src/FilterEditor/_FilterEditor.py (clone_filter): Add method;
Support clone-and-edit functionality.
	* src/glade/rule.glade (filter_list): Add clone button.


svn: r7250
2006-08-23 20:17:02 +00:00
Alex Roitman
ddd39b682c * src/plugins/ChangeTypes.py (run_tool): Compare English strings.
svn: r7249
2006-08-23 19:43:56 +00:00
Alex Roitman
cc166bc590 * src/Editors/_EditPerson.py (_image_callback): Take three
arguments; correctly call load_photo(); rebuild gallery.
	(load_photo): Name path variable as such, for clarity.


svn: r7248
2006-08-23 19:22:47 +00:00
Alex Roitman
ffcb5231e5 * src/DataViews/_PedigreeView.py (PedigreeView.goto_active_person):
Update status bar on person change.
	* src/DataViews/_RelationView.py (RelationshipView.change_person):
	Update status bar on person change.


svn: r7247
2006-08-23 18:55:06 +00:00
Alex Roitman
cb82d7c7c0 2006-08-23 Alex Roitman <shura@gramps-project.org>
* src/Merge/_MergePerson.py (MergePeopleUI.__init__): Properly
	close managed window.
	* src/glade/mergedata.glade: Remove unneeded signal connections.



svn: r7246
2006-08-23 16:11:47 +00:00
Alex Roitman
53a1904a26 2006-08-22 Alex Roitman <shura@gramps-project.org>
* src/plugins/EventCmp.py: Add proper date sorting.



svn: r7244
2006-08-23 06:21:51 +00:00
Don Allingham
9915c3265c * 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
eba0cad3ab 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
Brian Matherly
2cda62c603 * src/plugins/NarrativeWeb.py: show url when no description (#0000319)
svn: r7241
2006-08-23 01:09:54 +00:00
Alex Roitman
d6affc7c07 * src/Filters/Rules/Person/_IsDescendantFamilyOf.py: Rewrite.
svn: r7239
2006-08-22 18:52:37 +00:00
Alex Roitman
4990fd36ee * src/FilterEditor/_EditRule.py: Change Media to MediaObject;
(__init__): Work with empty filter names (new filter).


svn: r7238
2006-08-22 18:00:31 +00:00
Alex Roitman
ead038c2a1 * src/Filters/_FilterParser.py (startElement): Upgrade existing
custom_filters file from Media to MediaObject.


svn: r7237
2006-08-22 17:50:56 +00:00
Alex Roitman
3698662a64 * src/Selectors/_SelectEvent.py (get_handle_column): Correct
handle column number.


svn: r7236
2006-08-22 17:02:15 +00:00
Alex Roitman
39d4884cb4 * configure.in: Reflect directory change.
* src/Filters/Rules/MediaObject/Makefile.am: Reflect directory change.


svn: r7235
2006-08-22 16:54:40 +00:00
Alex Roitman
fbad5f8fde In .:
* src/Filters/Rules/Makefile.am (SUBDIRS): Reflect directory change.
In po:
2006-08-22  Alex Roitman  <shura@gramps-project.org>
	* POTFILES.in: Reflect directory change.



svn: r7234
2006-08-22 16:52:20 +00:00
Alex Roitman
686a956248 * src/Filters/Rules/MediaObject: Added to replace Media.
* src/Filters/Rules/Media: Removed.
	* src/DataViews/_MediaView.py (filter_editor): Change Media to
	MediaObject.
	* src/Filters/_GenericFilter.py: Change Media to MediaObject.
	* src/DataViews/_PersonView.py (build_widget): Pass uistate
	to filter class.
	* src/PageView.py (ListView.build_filter_container): Pass uistate
	to filter class.
	* src/DisplayState.py (DisplayState.__signals__): Register
	'filters-changed' signal.
	* src/FilterEditor/_ShowResults.py: Change Media to MediaObject.
	* src/FilterEditor/_EditRule.py: Change Media to MediaObject.
	* src/FilterEditor/_FilterEditor.py (close): Emit 'filters-changed'.
	* src/Filters/SideBar/*py: Take uistate and connect to the
	'filters-changed' signal.


svn: r7233
2006-08-22 16:49:21 +00:00
Alex Roitman
00500b4fa6 2006-08-22 Alex Roitman <shura@gramps-project.org>
* src/glade/gramps.glade: Make MediaRef editor's General label bold.



svn: r7232
2006-08-22 15:19:25 +00:00
Alex Roitman
a57f686668 * src/FilterEditor/_FilterEditor.py (close): Override parent's close.
* src/Filters/_FilterMenu.py (build_filter_menu,
	build_filter_model): Import Custom and System filters when needed.
	* src/plugins/Calendar.py (get_filters): Import Custom
	filters when needed.
	* src/plugins/GraphViz.py (get_report_filters): Import Custom
	filters when needed.
	* src/plugins/IndivComplete.py (get_report_filters): Import Custom
	filters when needed.
	* src/plugins/NarrativeWeb.py (get_report_filters): Import Custom
	filters when needed.
	* src/plugins/StatisticsChart.py (get_report_filters): Import Custom
	filters when needed.
	* src/plugins/TimeLine.py (get_report_filters): Import Custom
	filters when needed.


svn: r7231
2006-08-22 05:28:55 +00:00
Alex Roitman
5974a4864b * src/plugins/EventCmp.py (__init__): Add custom filters.
svn: r7230
2006-08-22 05:05:07 +00:00
Alex Roitman
b6773c06a7 * src/plugins/ChangeTypes.py (on_apply_clicked): Remove extra
unicode conversion.


svn: r7229
2006-08-22 04:58:17 +00:00
Don Allingham
cd533318bd * src/GrampsDb/_ReadGedcom.py: handle inline repositories better
svn: r7228
2006-08-22 04:27:59 +00:00
Alex Roitman
7f40a17065 2006-08-21 Alex Roitman <shura@gramps-project.org>
* src/plugins/Checkpoint.py (__init__): Assign dbstate.



svn: r7227
2006-08-22 03:32:00 +00:00
Don Allingham
e9579f1092 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
62f515e1d4 * 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
da52c73c94 * 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
71a9697282 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
Don Allingham
5f2ed45b6d 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
Brian Matherly
ead3374396 * src/plugins/EventCmp.py: improve Date/Place display (#0000226)
svn: r7219
2006-08-21 03:20:39 +00:00
Alex Roitman
e407d28d90 2006-08-20 Alex Roitman <shura@gramps-project.org>
* src/DataViews/_EventView.py (column_names): Remove cause column.
	* src/DisplayModels/_EventModel.py: Use constants for column
	numbers; remove cause column.	



svn: r7218
2006-08-21 02:10:55 +00:00
Brian Matherly
52fa9ea155 ordering (A-Z) the event type for choice list on "change event type" tool (#0000365)
svn: r7217
2006-08-21 00:34:07 +00:00
Brian Matherly
de4bf165b9 * src/Config/_GrampsIniKeys.py: Report error on invalid filename
* src/const.py.in: detect windows home directory before others

svn: r7216
2006-08-20 21:52:49 +00:00
Alex Roitman
781427247b 2006-08-19 Alex Roitman <shura@gramps-project.org>
* src/plugins/MediaManager.py (Convert2Rel._run): Correct logic.



svn: r7210
2006-08-20 02:27:55 +00:00
Alex Roitman
d735669146 * NEWS: Update.
svn: r7208
2006-08-19 05:16:42 +00:00
Alex Roitman
b0ca5b35d6 confirmation; add new operation.
svn: r7206
2006-08-19 03:55:02 +00:00
Alex Roitman
f16dfca225 * src/PluginUtils/_Tool.py (BatchTool.run): Remove redundant method.
svn: r7205
2006-08-19 00:48:01 +00:00
Alex Roitman
4f30e850ec 2006-08-18 Alex Roitman <shura@gramps-project.org>
* src/plugins/MediaManager.py: Add list of affected paths to the
	confirmation.



svn: r7203
2006-08-18 20:45:58 +00:00
Alex Roitman
de8ba4a19d * src/plugins/MediaManager.py: Change info wording.
svn: r7202
2006-08-18 06:04:54 +00:00
Alex Roitman
7ed80c8743 * src/GrampsDb/_GrampsDbBase.py (GrampsDbBase._sortbyname): Remove
obsolete method.


svn: r7201
2006-08-18 05:59:44 +00:00
Alex Roitman
706f8887a5 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
5ee9a2ed9b 2006-08-17 Don Allingham <don@gramps-project.org>
* src/DataViews/_PersonView.py: apply filter to calcuated data before
	deleting a person from the list



svn: r7199
2006-08-18 04:43:03 +00:00
Brian Matherly
d760adaa58 * src/plugins/NarrativeWeb.py: fix #0000349: NarrativeWebsite sorting
svn: r7197
2006-08-18 01:16:13 +00:00
Don Allingham
35d691568a 2006-08-17 Don Allingham <don@gramps-project.org>
* src/DataViews/_PersonView.py: rebuild after compare and
	merge (bug #350)



svn: r7193
2006-08-17 21:48:12 +00:00
Alex Roitman
3771ae49d5 2006-08-17 Alex Roitman <shura@gramps-project.org>
* src/StartupDialog.py (__init__): Pass its class to Assistant.
	* src/Exporter.py (__init__): Pass its class to Assistant.
	* src/Assistant.py (__init__): Accept parent class (to make
	assistants unique *only* within their type);
	(prepare_text_page): Use markup in the text.
	* NEWS: Update.
	* src/plugins/Makefile.am (pkgdata_PYTHON): Ship new file.
	* src/plugins/MediaManager.py: Add new plugin (still in progress).



svn: r7192
2006-08-17 21:39:20 +00:00
Don Allingham
7c775e8ee8 2006-08-16 Don Allingham <don@gramps-project.org>
* src/DataViews/_PersonView.py: rebuild display after a merge of
	two people (bug #348)



svn: r7190
2006-08-17 03:35:44 +00:00
Alex Roitman
558eec46e7 * src/Filters/Rules/Person/__init__.py (editor_rule_list): Add
Disconnected rule to the Custom Filter rules.


svn: r7189
2006-08-16 18:53:40 +00:00
Alex Roitman
0a2cf182c0 2006-08-16 Alex Roitman <shura@gramps-project.org>
* src/plugins/Verify.py (Disconnected): Add verification rule;
	(Verify.run_tool): Use the new rule.
	* src/Filters/Rules/Person/_Disconnected.py (apply): Fix rule.



svn: r7188
2006-08-16 18:40:10 +00:00
Alex Roitman
f087ee7b33 * src/FilterEditor/_EditFilter.py (on_edit_clicked,on_add_clicked):
Pass filter name to the rule editor.
	* src/FilterEditor/_EditRule.py (EditRule.__init__): Pass filter
	name to MyFilters.
	(MyFilters.__init__): Exclude filter being edited from the
	matching filter.


svn: r7187
2006-08-16 04:45:45 +00:00
Alex Roitman
bd797c7aa5 * example/gramps/data.gramps: Add Age and Cause event attributes.
* example/gramps/example.gramps: Add Age and Cause  event attributes.


svn: r7186
2006-08-16 04:24:33 +00:00
Don Allingham
b588b17598 * src/GrampsDb/_WriteGedcom.py: support for AGE, CAUSE, and AGENCY
svn: r7185
2006-08-16 02:31:29 +00:00
Don Allingham
207c6f6690 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
c384e8e0bc * 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
617116064f 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
244300257d 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
Brian Matherly
67ce7afca1 * src/ManagedWindow.py: mask strange Windows logging error on close
svn: r7179
2006-08-15 03:12:14 +00:00
Alex Roitman
31555811bb * src/docgen/PdfDoc.py: Work for both utf8 and latin-1 capable
reportlab versions.


svn: r7178
2006-08-14 20:44:12 +00:00
Alex Roitman
176e766c7d * src/Filters/Rules/Family/_ChildHasNameOf.py (description): Typo.
* src/Filters/Rules/Family/_ChildHasIdOf.py (description): Typo.
	* src/Filters/Rules/Family/_FatherHasNameOf.py (description): Typo.
	* src/Filters/Rules/Family/_FatherHasIdOf.py (description): Typo.
	* src/Filters/Rules/Family/_MotherHasNameOf.py (description): Typo.
	* src/Filters/Rules/Family/_MotherHasIdOf.py (description): Typo.


svn: r7177
2006-08-14 20:34:25 +00:00
Alex Roitman
90c53ea10d 2006-08-14 Alex Roitman <shura@gramps-project.org>
* src/Makefile.am (docs): Use new project website in API docs.



svn: r7176
2006-08-14 17:13:43 +00:00
Don Allingham
d73c448bb2 2006-08-14 Don Allingham <don@gramps-project.org>
* src/DispalyTabs/_NoteTab.py: don't add text window using viewport (#344)
	* src/DispalyTabs/_TextTab.py: don't add text window using viewport (#344)



svn: r7175
2006-08-14 13:13:45 +00:00
Brian Matherly
669ecca632 * src/ManagedWindow.py: add present() to force parent focus (#0000342)
svn: r7174
2006-08-14 04:29:43 +00:00
Alex Roitman
5ad681c5d6 * configure.in: Increment the version.
* Release: the 2.1.91 has been released.


svn: r7173
2006-08-14 03:45:52 +00:00
Don Allingham
744c3f6413 2006-08-13 Don Allingham <don@gramps-project.org>
* src/Editors/_EditEventRef.py: add attribute list, remove cause
	* src/Editors/_EditEvent.py: add attribute list, remove cause
	* src/glade/gramps.glade: event fixes



svn: r7172
2006-08-14 03:32:20 +00:00
Alex Roitman
b3eebe94a7 2006-08-13 Alex Roitman <shura@gramps-project.org>
* NEWS: Update.



svn: r7171
2006-08-14 02:23:06 +00:00
Don Allingham
ff0967e18d 2006-08-13 Don Allingham <don@gramps-project.org>
* src/DataViews/_MediaView.py: fix drag-n-drop
	* src/DisplayTabs/_GalleryTab.py: handle media obj and media ref 
	for drag-n-drop
	* src/DdTargets.py: add media ref type



svn: r7169
2006-08-14 01:50:47 +00:00
Brian Matherly
f98617dbf7 * src/gramps.py: catch logging error and ignore.
svn: r7168
2006-08-13 04:18:59 +00:00
Don Allingham
8dbbc8a0b0 * src/ReportBase/_FileEntry.py (FileEntry.select_file): force
a present() to force dialog


svn: r7167
2006-08-13 04:06:12 +00:00
Brian Matherly
ab6154ee77 * src/plugins/FamilyGroup.py: use family_id instead of spouse_id
svn: r7166
2006-08-13 03:32:59 +00:00
Alex Roitman
5b9c033946 (close): Close metadata after the checkpoint.
svn: r7165
2006-08-13 00:23:06 +00:00
Alex Roitman
193a59595d (vb_clicked): Add method to restore pressed view if same button is
repeteadely clicked.


svn: r7164
2006-08-12 23:32:05 +00:00
Don Allingham
cab2258c7a 2006-08-12 Don Allingham <don@gramps-project.org>
* src/Merge/_MergePerson.py: properly merge notes



svn: r7163
2006-08-12 21:59:32 +00:00
Alex Roitman
cb1323f4f9 * 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
a2cf746c00 * src/ViewManager.py (_connect_signals): Connect to the proper
event to cleanly quit on window manager's close action.
	(quit): Allow variable number of args (to work with signals).


svn: r7161
2006-08-12 21:13:45 +00:00
Alex Roitman
400f1bde64 2006-08-12 Alex Roitman <shura@gramps-project.org>
* src/DataViews/_MediaView.py (drag_data_received): Stop emission.



svn: r7160
2006-08-12 18:19:25 +00:00
Don Allingham
2930ed9a9d * src/ScratchPad.py: fix removal of invalid objects (bug #291)
* src/PageView.py: fix search argument when filter applied (but #317)


svn: r7159
2006-08-12 17:24:36 +00:00
Don Allingham
5c12d70cfe 2006-08-12 Don Allingham <don@gramps-project.org>
* src/PageView.py: fix search argument when filter applied



svn: r7158
2006-08-12 15:27:55 +00:00
Alex Roitman
3949150144 * NEWS: Update.
svn: r7157
2006-08-12 06:47:58 +00:00
Brian Matherly
4cc4fbf72c * src/plugins/DetDescendantReport.py: fix spouse name printing
* src/plugins/DetAncestralReport.py: fix spouse name printing

svn: r7156
2006-08-12 03:37:05 +00:00
Don Allingham
0c8510fab8 2006-08-11 Don Allingham <don@gramps-project.org>
* src/DisplayModels/_PeopleModel.py: fix sorting of names



svn: r7155
2006-08-12 00:14:16 +00:00
Alex Roitman
c7ff96af1d * src/GrampsDb/_GrampsBSDDB.py: Use txn-capable metadata.
svn: r7154
2006-08-11 23:46:24 +00:00
Don Allingham
6e47c80b0c * src/DataViews/_MediaView.py: slightly improve dnd
* src/DisplayModels/_BaseModel.py: handle sort column map
	* src/DisplayModels/_MediaModel.py: handle sort column map
	* src/DisplayModels/_RepositoryModel.py: handle sort column map
	* src/DisplayModels/_SourceModel.py: handle sort column map
	* src/DisplayModels/_EventModel.py: handle sort column map
	* src/DisplayModels/_FamilyModel.py: handle sort column map
	* src/DisplayModels/_PlaceModel.py: handle sort column map
	* src/PageView.py: handle sort column map
	


svn: r7153
2006-08-11 22:14:18 +00:00
Alex Roitman
8b2e263f69 2006-08-11 Alex Roitman <shura@gramps-project.org>
* src/Editors/_EditFamily.py: Use cPickle.



svn: r7152
2006-08-11 18:56:53 +00:00
Don Allingham
fe546d284a 2006-08-10 Don Allingham <don@gramps-project.org>
* src/DisplayTabs/_EmbeddedList.py: use cPickle instead of pickle
	* src/DisplayTabs/_GalleryTab.py: add dnd functionality
	* src/DdTargets.py: add URI_LIST and APP_ROOT



svn: r7151
2006-08-11 03:22:38 +00:00
Alex Roitman
413b00a6c0 2006-08-10 Alex Roitman <shura@gramps-project.org>
* src/Filters/SideBar/_PersonSidebarFilter.py (get_filter): Typo.



svn: r7150
2006-08-10 17:25:09 +00:00
Alex Roitman
90aed6791f * src/Filters/Rules/_HasNoteSubstrBase.py (apply): Enforce unicode.
* src/Filters/Rules/_HasNoteRegexBase.py (apply): Enforce unicode.


svn: r7148
2006-08-10 01:07:47 +00:00
Alex Roitman
72478cd4ce In .:
* src/DataViews/_PlaceView.py: Add filter sidebar.
	* src/FilterEditor/_ShowResults.py: Support media filters.
	* src/FilterEditor/_EditRule.py: Support media filters.
	* src/FilterEditor/_FilterEditor.py: Support media filters.
	* src/Filters/_GenericFilter.py: Support media filters.
	* src/Filters/SideBar/Makefile.am (pkgdata_PYTHON): Ship new file.
	* src/Filters/SideBar/__init__.py: Expose new module.
	* src/Filters/SideBar/_MediaSidebarFilter.py: Add module.
	* src/Filters/Rules/Media/Makefile.am (pkgdata_PYTHON): Ship new files.
	* src/Filters/Rules/Media/_HasIdOf.py: Add module.
	* src/Filters/Rules/Media/_HasNoteMatchingSubstringOf.py: Add module.
	* src/Filters/Rules/Media/_HasNoteRegexp.py: Add module.
	* src/Filters/Rules/Media/_MatchesFilter.py: Add module.
	* src/Filters/Rules/Media/_RegExpIdOf.py: Add module.
	* src/Filters/Rules/Media/_MediaPrivate.py: Add module.
	* src/Filters/Rules/Media/__init__.py: Expose new modules.
	* src/Filters/Rules/Media/_AllMedia.py: Add module.
	* src/Filters/Rules/Media/_HasMedia.py: Add module.

In po:
2006-08-09  Alex Roitman  <shura@gramps-project.org>
	* POTFILES.in: Add new files.



svn: r7147
2006-08-10 00:42:44 +00:00
Alex Roitman
bb62d70653 2006-08-09 Alex Roitman <shura@gramps-project.org>
* src/Filters/SideBar/Makefile.am (pkgdatadir): Typo.



svn: r7146
2006-08-09 19:44:10 +00:00
Brian Matherly
597e1b1bd4 * src/Config/_GrampsIniKeys.py: Allow multiple functions to use notify_add
svn: r7145
2006-08-09 03:12:15 +00:00
Alex Roitman
82e5150cb8 In .:
2006-08-07  Alex Roitman  <shura@gramps-project.org>
	* src/DataViews/_RepositoryView.py: Add filter sidebar.
	* src/FilterEditor/_ShowResults.py: Support repo filters.
	* src/FilterEditor/_EditRule.py: Support repo filters.
	* src/FilterEditor/_FilterEditor.py: Support repo filters.
	* src/Filters/_GenericFilter.py: Support repo filters.
	* src/Filters/SideBar/Makefile.am (pkgdata_PYTHON): Ship new file.
	* src/Filters/SideBar/__init__.py: Expose new module.
	* src/Filters/SideBar/_RepoSidebarFilter.py: Add module.
	* src/Filters/Rules/Repository/Makefile.am (pkgdata_PYTHON): Ship
	new files.
	* src/Filters/Rules/Repository/__init__.py: Expose new modules.
	* src/Filters/Rules/Repository/_HasRepo.py: Add module.
	* src/Filters/Rules/Repository/_RepoPrivate.py: Add module.
	* src/Filters/Rules/Repository/_RegExpIdOf.py: Add module.
	* src/Filters/Rules/Repository/_MatchesFilter.py: Add module.
	* src/Filters/Rules/Repository/_HasNoteRegexp.py: Add module.
	* src/Filters/Rules/Repository/_HasNoteMatchingSubstringOf.py: Add
	module.
	* src/Filters/Rules/Repository/_HasIdOf.py: Add module.
	* src/Filters/Rules/Repository/_AllRepos.py: Add module.

In po:
2006-08-07  Alex Roitman  <shura@gramps-project.org>
	* POTFILES.in: Add new files.



svn: r7144
2006-08-07 20:16:00 +00:00
Brian Matherly
c345a7f221 src/plugins/DetAncestralReport.py: print children when no mother exists
svn: r7143
2006-08-07 02:53:28 +00:00
Alex Roitman
d522577808 In .:
* src/DataViews/_PlaceView.py: Add sidebar filter.
	* src/FilterEditor/_EditRule.py: Support place filters.
	* src/FilterEditor/_FilterEditor.py: Support place filters.
	* src/FilterEditor/_ShowResults.py: Support place filters.
	* src/Filters/_GenericFilter.py: Support place filters.
	* src/Filters/SideBar/__init__.py: Expose new module.
	* src/Filters/SideBar/Makefile.am (pkgdata_PYTHON): Ship new file.
	* src/Filters/SideBar/_PlaceSidebarFilter.py: Add module.
	* src/Filters/Rules/Place/Makefile.am (pkgdata_PYTHON): Ship new files.
	* src/Filters/Rules/Place/_AllPlaces.py: Add module.
	* src/Filters/Rules/Place/_HasIdOf.py: Add module.
	* src/Filters/Rules/Place/_HasNoteMatchingSubstringOf.py: Add module.
	* src/Filters/Rules/Place/_HasNoteRegexp.py: Add module.
	* src/Filters/Rules/Place/_MatchesFilter.py: Add module.
	* src/Filters/Rules/Place/_RegExpIdOf.py: Add module.
	* src/Filters/Rules/Place/_PlacePrivate.py: Add module.
	* src/Filters/Rules/Place/_HasPlace.py: Add module.
	* src/Filters/Rules/Place/__init__.py (editor_rule_list): Expose
	new module.
	
In po:
2006-08-06  Alex Roitman  <shura@gramps-project.org>
	* POTFILES.in: Add new files.



svn: r7142
2006-08-07 02:49:12 +00:00
Alex Roitman
aff639fa78 * 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
68790fb349 Update
svn: r7140
2006-08-06 20:51:46 +00:00
Alex Roitman
b7e91c5cd6 2006-08-06 Alex Roitman <shura@gramps-project.org>
* data/gramps.schemas.in: Typo.



svn: r7139
2006-08-06 20:46:50 +00:00
Alex Roitman
2599ae38a3 * src/Filters/_GenericFilter.py: Support Source filters.
* src/Filters/SideBar/Makefile.am (pkgdata_PYTHON): Ship new file.
	* src/Filters/Rules/Source/Makefile.am: Ship new files.
	* src/FilterEditor/_EditRule.py: Support Source filters.
	* src/FilterEditor/_FilterEditor.py: Support Source filters.
	* src/FilterEditor/_ShowResults.py: Support Source filters.
	* src/Filters/Rules/Source/__init__.py: Expose new modules.
	* src/Filters/SideBar/_SourceSidebarFilter.py: Add module.
	* src/Filters/SideBar/__init__.py: Expose new module.
	* src/Filters/Rules/_Rule.py (Rule.match_substring): Add
	convenience method for simple substring search.
	* src/Filters/Rules/Source/_RegExpIdOf.py: Add module.
	* src/Filters/Rules/Source/_MatchesFilter.py: Add module.
	* src/Filters/Rules/Source/_HasNoteRegexp.py: Add module.
	* src/Filters/Rules/Source/_HasNoteMatchingSubstringOf.py: Add module.
	* src/Filters/Rules/Source/_HasIdOf.py: Add module.
	* src/Filters/Rules/Source/_SourcePrivate.py: Add module.
	* src/Filters/Rules/Source/_AllSources.py: Add module.



	


svn: r7138
2006-08-06 06:26:10 +00:00
Alex Roitman
9f55696c0c In .:
* src/Filters/Rules/Family/Makefile.am (pkgdata_PYTHON): Ship new file.
	* src/Filters/Rules/Family/_MemberBase.py: Add new module.
In po:



svn: r7136
2006-08-06 00:24:58 +00:00
Alex Roitman
6137abcf43 In .:
* src/Filters/SideBar/_PersonSidebarFilter.py: Minor changes.
	* src/Filters/SideBar/_FamilySidebarFilter.py: Add father, mother,
	and child search options.
	* src/Filters/Rules/Family/__init__.py: Expose new modules.
	* src/Filters/Rules/Family/_Search*Name.py: add new modules.
	* src/Filters/Rules/Family/Makefile.am (pkgdata_PYTHON): Ship new files
In po:
2006-08-05  Alex Roitman  <shura@gramps-project.org>
	* POTFILES.in: Add new files.
	


svn: r7135
2006-08-05 23:37:48 +00:00
Alex Roitman
f294e89110 2006-08-05 Alex Roitman <shura@gramps-project.org>
* src/Filters/Rules/Family/_MotherHasNameOf.py (apply): Handle
	missing parents.
	* src/Filters/Rules/Family/_MotherHasIdOf.py (apply): Handle
	missing parents.
	* src/Filters/Rules/Family/_FatherHasNameOf.py (apply): Handle
	missing parents.
	* src/Filters/Rules/Family/_FatherHasIdOf.py (apply): Handle
	missing parents.



svn: r7134
2006-08-05 20:09:47 +00:00
Alex Roitman
aadd18e42b * src/Filters/SideBar: Add new module.
svn: r7131
2006-08-05 04:41:56 +00:00
Alex Roitman
bdee5400d1 * src/Filters/Rules/Event/Makefile.am (pkgdata_PYTHON): Ship new files.
* src/Filters/Makefile.am (pkgdata_PYTHON): Ship new file.


svn: r7129
2006-08-05 04:10:28 +00:00
Alex Roitman
be26272bd0 * src/DataViews/_EventView.py: Add sidebar filter.
* src/FilterEditor/_FilterEditor.py: Support event filters.
	* src/Filters/__init__.py: expose new module.
	* src/Filters/_PersonSidebarFilter.py: Fix type handling.
	* src/Filters/_FamilySidebarFilter.py: Fix type handling.
	* src/Filters/_GenericFilter.py: Support event filters.
	* src/Filters/_EventSidebarFilter.py: add new module.
	* src/Filters/Rules/Events/*.py: add new rules.
	* src/Filters/Rules/Family/_HasRelType.py (apply): Use new API.


svn: r7127
2006-08-05 04:05:05 +00:00
Alex Roitman
1680207757 * src/FilterEditor/_EditFilter.py: Support invert attribute.
* src/Filters/_GenericFilter.py: Support invert attribute.
	* src/Filters/_FilterList.py (save): Save invert attribute.
	* src/Filters/_FilterParser.py (startElement): Parse invert attribute.


svn: r7126
2006-08-05 01:06:33 +00:00
Alex Roitman
763161065e In .:
* src/Filters/Rules/Family/__init__.py (editor_rule_list): Import
	and use new rule.
	* src/Filters/Rules/Family/Makefile.am (pkgdata_PYTHON): Ship new file.
	* src/Filters/Rules/Family/_HasAttribute.py: Add new rule.
	* src/Filters/Rules/Makefile.am (pkgdata_PYTHON): Ship new file.
	* src/Filters/Rules/_HasAttributeBase.py: Add base module.
	* src/Filters/Rules/_HasEventBase.py (apply): Use new API.
In po:
	Add new files.


svn: r7125
2006-08-04 23:19:59 +00:00
Alex Roitman
5cb55bb60e * src/Filters/Rules/Person/_HasFamilyEvent.py (apply): Use new API.
* src/Filters/Rules/Person/_PersonWithIncompleteEvent.py
	(apply): Do not double-handle birth and death events.


svn: r7124
2006-08-04 22:41:51 +00:00
Alex Roitman
4a647bdc55 * src/Filters/Rules/Person/_IsWitness.py: Rewrite with new API.
debugging output;
	(_name2typeclass): Add name->type mapping.



svn: r7123
2006-08-04 21:59:57 +00:00
Alex Roitman
7ec636e06c * src/FilterEditor/_FilterEditor.py (__init__): Remove unneeded
argument, namespace is enough to get the filter class via factory;
	(add_new_filter): Use factory; (get_all_handles): Get handles for
	any object type.
	* src/FilterEditor/_ShowResults.py (get_name_id): Add method to
	return name and id for different object types;
	(sort_val_from_handle): Support different object types.
	(__init__): Accept namespace as an argument.
	* src/Filters/__init__.py: Do not expose GenericFamilyFilter;
	expose GenericFilterFactory instead.
	* src/Filters/_FamilySidebarFilter.py (GenericFamilyFilter): Use
	factory.


svn: r7122
2006-08-04 20:29:26 +00:00
Alex Roitman
75b1296bfb * src/FilterEditor/_EditRule.py (MyID.name_from_gramps_id): Remove
debugginb output.


svn: r7121
2006-08-04 19:49:32 +00:00
Alex Roitman
2eb7395691 In .:
2006-08-04  Alex Roitman  <shura@gramps-project.org>
	* src/DataViews/_MediaView.py (row_change): Work around older pygtk.
	* src/Filters/Rules/Family/Makefile.am (pkgdata_PYTHON): Ship new
	files. 
	* src/Filters/Rules/Makefile.am (pkgdata_PYTHON): Ship new file.

In po:
2006-08-04  Alex Roitman  <shura@gramps-project.org>
	* POTFILES.in: Unlist plugins that are not shipped.



svn: r7120
2006-08-04 19:36:18 +00:00
Zsolt Foldvari
ee44c52e61 2006-08-04 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/DataViews/_PersonView.py (__init__): connection to "active-
	person-changed" signal moved to set_active()
	(set_active, set_inactive): Reconnect to/disconnect from dbstate's
	"active-person-changed" signal.
	* src/DataViews/_RelationView.py (__init__): connection to "active-
	person-changed" signal moved to set_active()
	(set_active, set_inactive): Reconnect to/disconnect from dbstate's
	"active-person-changed" signal.



svn: r7119
2006-08-04 13:51:44 +00:00
Alex Roitman
4a10af66b8 * src/Filters/_GenericFilter.py (GenericFilterFactory): Add
factory function.
	* src/Filters/_FilterParser.py (FilterParser.startElement): Use
	factory function.
	* src/Filters/Rules/_MatchesFilterBase.py: Add base module.
	* src/Filters/Rules/Person/_MatchesFilter.py: Derive from base.
	* src/Filters/Rules/Family/_MatchesFilter.py: Add rule.
	* src/Filters/Rules/Family/_MotherHasIdOf.py: Add rule.
	* src/Filters/Rules/Family/_FatherHasIdOf.py: Add rule.
	* src/Filters/Rules/Family/_MotherHasNameOf.py: Add rule.
	* src/Filters/Rules/Family/_ChildHasIdOf.py: Add rule.
	* src/Filters/Rules/Family/_FatherHasNameOf.py: Add rule.
	* src/Filters/Rules/Family/_ChildHasNameOf.py: Add rule.
	* src/Filters/Rules/Family/__init__.py: Expose new rules.
	


svn: r7117
2006-08-04 05:05:59 +00:00
Alex Roitman
82c267cc7d * src/GrampsLogger/_ErrorReportAssistant.py (build_page5): Typo.
svn: r7116
2006-08-03 22:11:48 +00:00
Alex Roitman
451688b309 2006-08-03 Alex Roitman <shura@gramps-project.org>
* src/Filters/Rules/Person/_HasIdOf.py: Cleanup.
	* src/Filters/Rules/Person/__init__.py (editor_rule_list): Add
	RegExpIdOf.
	* src/Filters/Rules/Person/_RegExpIdOf.py: Cleanup.
	* src/Filters/Rules/_RegExpIdBase.py: Cleanup.
	* src/Filters/Rules/Person/_HasRelationship.py: Cleanup.
	* src/Filters/Rules/Family/_HasIdOf.py: Cleanup.
	* src/Filters/Rules/Family/_RegExpIdOf.py: Cleanup.
	* src/FilterEditor/_EditRule.py: Clean, localization fixes, ID
	selection fixes.
	* src/NameDisplay.py: Import gettext.
	* src/Filters/Rules/Family/_HasRelType.py (labels): Use lowercase.
	* src/FilterEditor/_EditFilter.py (on_add_clicked,
	on_edit_clicked): Catch exception.



svn: r7115
2006-08-03 19:49:29 +00:00
Zsolt Foldvari
1f8c76c0b8 2006-08-03 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/plugins/Check.py (cleanup_deleted_name_formats): Change hardcoded
	values with constants.
	* src/GrampsCfg.py: Unused constants cleanup.
	* src/DataViews/_PedigreeView.py (__init__): connection to "active-
	person-changed" signal moved to set_active()
	(set_active, set_inactive): Improve performance of other views.
	* src/NameDisplay.py (name_grouping_data): Change hardcoded values
	with constants.



svn: r7114
2006-08-03 14:26:43 +00:00
Alex Roitman
b3db849bd6 2006-08-03 Alex Roitman <shura@gramps-project.org>
* src/DisplayTabs/_BackRefList.py (find_node): Use class name.
	* src/DisplayTabs/_BackRefModel.py (__init__, load_model): Add new
	column to keep both class name and translation.



svn: r7113
2006-08-03 13:28:40 +00:00
Alex Roitman
0bdc9d0104 In .:
2006-08-02  Alex Roitman  <shura@gramps-project.org>
	* configure.in: Disable scrollkeeper update in the packager mode.

In po:
2006-08-02  Alex Roitman  <shura@gramps-project.org>
	* ru.po: Translation update.



svn: r7112
2006-08-03 01:14:54 +00:00
Don Allingham
5811a68714 * src/RelLib/_Place.py: Check for empty location
* src/Editors/_EditEvent.py: use default data change check


svn: r7111
2006-08-02 04:29:46 +00:00
Don Allingham
b301aa401f 2006-08-01 Don Allingham <don@gramps-project.org>
* src/DataViews/_PersonView.py: use grouping name
	* src/NameDisplay.py: Add grouping from data instead of just Name
	instance, handle Name.DEF
	* src/DisplayModels/_PeopleModel.py: use grouping name



svn: r7110
2006-08-01 23:50:47 +00:00
Alex Roitman
ffe0bdf5cc * src/NameDisplay.py: Rename local var id -> num
to avoid collission with the builtin function id().


svn: r7109
2006-08-01 20:31:19 +00:00
Alex Roitman
d05a9bdc86 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
Alex Roitman
36d13d0bff In .:
2006-07-31  Alex Roitman  <shura@gramps-project.org>
	* src/Filters/_SearchBar.py (SearchBar.__init__): Take dbstate as
	a constructor argument; (SearchBar.apply_filter): pass dbstate.
	* src/PageView.py (BookMarkView.add_bookmark,
	PersonNavView.jumpto, PersonNavView.fwd_clicked,
	PersonNavView.back_clicked, ListView.build_widget): Pass dbstate.
	* src/Navigation.py (BaseNavigation.__init__,
	PersonNavigation.__init__): Take dbstate as a constructor argument;
	(PersonNavigation.build_item_name): properly access dbstate.
	* src/DisplayState.py (__init__): Do not take dbstate as a
	constructor argument; Do not connect dbstate signal here (moved to
	ViewManager);
	(display_relationship,push_message,modify_statusbar): Make dbstate
	an argument.
	* src/plugins/Checkpoint.py (run_tool): Pass dbstate.
	* src/ViewManager.py (_build_main_window): Do not pass dbstate to
	uistate DisplayState constructor; connect dbstate signal handler;
	pass dbstate to Navigation; (keypress): Pass dbstate;
	(statusbar_key_update): Pass dbstate;
	(do_load_plugins): Pass dbstate;
	(ViewManager.add_bookmark): Pass dbstate.
	* src/DataViews/_RelationView.py (shade_update): Pass dbstate.
	* src/DataViews/_PersonView.py (build_widget,_goto,
	key_goto_home_person, key_edit_selected_person): Pass dbstate.
	* src/Filters/Makefile.am (pkgdata_PYTHON): Remove obsolete file.
	* src/Filters/__init__.py: Remove importing obsolete module.
	* src/Filters/_FilterWidget.py: Remove obsolete module.

In po:
2006-07-31  Alex Roitman  <shura@gramps-project.org>
	* POTFILES.in: Remove obsolete file.



svn: r7104
2006-08-01 04:31:10 +00:00
Don Allingham
ed76c8b5b1 * src/plugins/FindDupes.py: Fix title (bug 314)
* src/plugins/merge.glade: change button name (bug 315)


svn: r7103
2006-08-01 03:49:09 +00:00
Don Allingham
56c4f318e7 2006-07-31 Don Allingham <don@gramps-project.org>
* src/plugins/FindDupes.py: Fix title (bug 314) 



svn: r7102
2006-08-01 03:41:43 +00:00
Alex Roitman
e5bf432539 * src/plugins/Makefile.am (pkgdata_PYTHON): Remove unsupported reports.
svn: r7101
2006-08-01 03:15:36 +00:00
Alex Roitman
545e170e7f 2006-07-31 Alex Roitman <shura@gramps-project.org>
* src/UndoHistory.py (UndoHistory._build_model): Only show the
	initial entry is database is really opened.



svn: r7100
2006-08-01 02:24:49 +00:00
Zsolt Foldvari
86edc9d446 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
54ffac988b * src/GrampsDb/_ReadGedcom.py: handle missing event type
svn: r7098
2006-07-31 00:38:31 +00:00