Commit Graph

59 Commits

Author SHA1 Message Date
Alex Roitman
9fa0c2bd12 2006-05-22 Alex Roitman <shura@gramps-project.org>
* src/ArgHandler.py (need_gui): Add method.
	* src/ViewManager.py: Move statusbar notification from gramps_main.
	* src/gramps_main.py: Remove unused methods, handle ArgHandler better.



svn: r6749
2006-05-22 18:07:12 +00:00
Alex Roitman
ae8ec93201 * src/ArgHandler.py: Adapt to recent changes.
* src/BasicUtils.py (update_empty): Clean up callback.
	* src/GrampsDb/_ReadGedcom.py: Clean up callback.


svn: r6700
2006-05-18 01:02:52 +00:00
Alex Roitman
3fe3482efb In .:
2006-05-01  Alex Roitman  <shura@gramps-project.org>
	* various: merge changes from gramps20.

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



svn: r6504
2006-05-01 21:11:26 +00:00
Don Allingham
5afa945819 Config method changed
svn: r6429
2006-04-24 21:04:01 +00:00
Don Allingham
471694030c * src/DataViews/_EventView.py: pychecker fixes
* src/ViewManager.py: call scratchpad properly
	* src/GrampsCfg.py: pychecker fixes
	* src/Editors/_EditEvent.py
	* src/DisplayModels.py:pychecker fixes
	* src/DisplayTabs.py: pychecker fixes
	* src/ScratchPad.py: use ManagedWindow
	* src/GenericFilter.py: pychecker fixes
	* src/ImgManip.py: pychecker fixes
	* src/PageView.py: pychecker fixes
	* src/ArgHandler.py: pychecker fixes


svn: r6389
2006-04-21 04:14:00 +00:00
Alex Roitman
1875040c27 Update
svn: r6303
2006-04-10 18:30:30 +00:00
Alex Roitman
edfe00dd54 * src/ArgHandler.py: Get rid of obsolete self.parent.
svn: r6302
2006-04-10 18:17:00 +00:00
Alex Roitman
57d6df04c9 * various: Revert back to using gettext except for the modules that need context -- those will use TransUtils.sgettext
svn: r6282
2006-04-06 22:02:46 +00:00
Don Allingham
9d13b0783d enable actiongroups on autoload
svn: r6225
2006-03-29 19:26:43 +00:00
Don Allingham
0872a0d830 remove expanduser
svn: r6220
2006-03-29 04:46:26 +00:00
Alex Roitman
93add4967a * various: Use TransUtils.sgettext instead of gettext.gettext to work out stripping the context.
svn: r6155
2006-03-16 20:24:27 +00:00
Alex Roitman
6b9d4207ce * src/Plugins.py, src/PluginMgr.py: Move to ReportUtils.
svn: r6133
2006-03-11 01:12:06 +00:00
Alex Roitman
1359e602d2 Update
svn: r6120
2006-03-09 20:21:32 +00:00
Alex Roitman
7286845b75 Add Mime package
svn: r6047
2006-03-03 00:23:04 +00:00
Alex Roitman
bc6848cf20 Add Config package
svn: r6044
2006-03-03 00:10:52 +00:00
Alex Roitman
6044ca5317 * src/ViewManager.py (ViewManager.import_data): Properly process
non-native (plugin) imports; (_do_import): factor common code into
the new method.
* src/GrampsDb/_ReadXML.py (GrampsParser.__init__): Skip updating
if callback is empty (non-callable).
* src/docgen/HtmlDoc.py (HtmlDoc.load_tpkg): Use tarfile.
* src/ArgHandler.py (ArgHandler.cl_import): Use tarfile.
* src/plugins/WritePkg.py (PackageWriter.export): Use tarfile.
* src/plugins/ReadPkg.py (impData): Use tarfile module.


svn: r6012
2006-03-01 00:26:29 +00:00
Alex Roitman
2b96e371e1 * various: merge changes made in gramps20 up until R2_0_10_real tag.
* configure.in: Bump up release number.
* Release: Version 2.0.10 "Holy Hand Grenade of Antioch" released.


svn: r6011
2006-02-28 19:54:35 +00:00
Don Allingham
b0807932ad * src/ArgHandler.py: remove DbPrompter dependency
* src/GrampsGconfKeys.py: Support for saving window size
* src/GrampsIniKeys.py: Support for saving window size
* src/GrampsKeys.py: more gracefully handling missing gconf
* src/Makefile.am: Fixed moved files
* src/Report.py: clean up
* src/ScratchPad.py: use GrampsDisplay instead of gnome.help_display
* src/StartupDialog.py: clean up
* src/ViewManager.py: save window size
* src/gramps_main.py: don't require gnome
* src/data/gramps.schemas: keys for saving window size


svn: r5640
2005-12-29 18:36:59 +00:00
Richard Taylor
9eb1f99b86 move database code into new package
svn: r5598
2005-12-21 11:27:05 +00:00
Don Allingham
8696853ddc fixed merge
svn: r5489
2005-12-06 21:09:00 +00:00
Alex Roitman
2f962b5f96 merge changes from gramps20
svn: r5482
2005-12-06 06:38:09 +00:00
Alex Roitman
704e0c4787 Merge changes from gramps20 made since 2.0.5
svn: r5105
2005-08-18 05:58:28 +00:00
Alex Roitman
6216a6503e * src/ArgHandler.py: start fixing.
* src/gramps_main.py: Run ArgHandler with new arguments.


svn: r5061
2005-08-12 16:25:43 +00:00
Don Allingham
3e153e8f6e * src/DbState.py: Added new class to keep track of database
status
* src/PageView.py: base class for pluggable views
* src/PersonView.py: new version of PeopleView
* src/ViewManager.py: view and database management class


svn: r5040
2005-08-09 04:41:20 +00:00
Alex Roitman
9ee0f10127 Merge changes between 2.0.1 and 2.0.2 with the main trunk
svn: r4785
2005-06-05 04:01:56 +00:00
Martin Hawlisch
e34124272e * src/ArgHandler.py: Fixed typo
svn: r4352
2005-04-12 13:11:23 +00:00
Alex Roitman
4ac4e36230 * src/ArgHandler.py: Minor string changes.
* src/DbPrompter.py: Minor string changes.


svn: r4351
2005-04-12 01:56:36 +00:00
Don Allingham
0215ae6929 * src/ArgHandler.py: Make sure all databases are closed before
creating a new one.
* src/DisplayModels.py: Calculate new nodes properly after a
node has be deleted. The node hasn't been removed from the database
yet.
* src/EditPerson.py: Add check for unknown gender before closing
* src/EditSource.py: Remove unnecessary updates
* src/GrampsBSDDB.py: check for open in close()
* src/GrampsDbBase.py: spelling error
* src/MediaView.py: connect to database-changed
* src/PedView.py: remove unused update function
* src/PeopleView.py: connect to database-changed
* src/PlaceView.py: connect to database-changed
* src/SourceView.py: connect to database-changed, remove unnecessary
callback
* src/gramps_main.py: add database-changed signal


svn: r4288
2005-04-04 01:11:50 +00:00
Alex Roitman
9c3bf10613 * src/AddMedia.py: Remove unneeded update argument.
* src/ArgHandler.py (auto_save_load): Mysterious workaround :-).
* src/EditPlace.py (display_references): Drop media objects;
(DeletePlaceQuery.query_response): use proper handle removal.
* src/GrampsBSDDB.py (remove_object): emit media signal.
* src/GrampsDbBase.py (GrampsDbBase): Add media-related signals;
(commit_media_object,transaction_commit,undo): emit media signals.
* src/ImageSelect.py (GlobalMediaProperties,DeleteMediaQuery):
Remove unneeded update argument.
* src/MediaView.py (media_add,media_update,media_delete): Add
callbacks; (change_db): connect callbacks to signals;
(popup_change_description): Call property editor without callback param;
(on_add_clicked): Call AddMedia without callback param;
(add_object,update_display,add_to_display): Remove unneeded methods;
(on_edit_clicked): call property editor without callback param;
(on_delete_clicked): call deleter without callback param;
(on_drag_data_received): Call property editor without callback param.
* src/PlaceView.py (new_place_after_edit): Remove unneeded method;
(delete_place): Remove unneeded tree update; (is_used) Add method;
(on_delete_clicked): Use new detection method.


svn: r4287
2005-04-04 00:27:06 +00:00
Alex Roitman
94abe8583c * doc/gramps-manual/C/usage.xml: Update.
* doc/gramps-manual/C/gramps-manual.xml: Chunk to depth 3.
* doc/gramps-manual/C/figures/gedcom-export.png: Update.
* doc/gramps-manual/C/figures/export-druid.png: Add figure.
* src/Exporter.py: Change labels, support CD export (lame).
* src/WriteGedcom.py: Correct label.
* src/WriteXML.py: Return status on success.
* src/plugins/WriteCD.py: Support for wizard (lame).
* src/plugins/WritePkg.py: Correct label.
* src/ArgHandler.py: Re-enable CD export.


svn: r4059
2005-02-19 22:33:24 +00:00
Alex Roitman
329e8b6f3d * src/ArgHandler.py: Command line support for geneweb import
and export; Fix command line exports for gedcom, XML, and package.
* src/Exporter.py (help): Point to correct manual section.
* src/const.py.in: Add a constant for geneweb mime type name.
* src/plugins/WriteFtree.py: Support wizard and fix command line mode.
* src/plugins/writeftree.glade: Support export wizard.
* src/plugins/WritePkg.py: Support wizard and fix command line mode.
* src/plugins/ImportGeneWeb.py: Comment out debugging messages.
* src/plugins/WriteGeneWeb.py: Support for command-line export.


svn: r4054
2005-02-19 19:05:48 +00:00
Alex Roitman
1843c8bc19 * src/ArgHandler (handle_args): Natively open XML and GEDCOM
when given a single filename argument.
* src/gramps_main.py (read_gedcom,read_xml): Remove ununsed functions.


svn: r4029
2005-02-14 03:09:22 +00:00
Alex Roitman
91b3c8beb3 * src/ArgHandler.py: Support for opening in the command-line mode.
* src/const.py.in: Add -O | --open option.


svn: r3991
2005-01-29 23:34:09 +00:00
Alex Roitman
760b3561f1 * src/ArgHandler.py: Support for the native importer.
* NEWS: Update.


svn: r3986
2005-01-29 06:05:51 +00:00
Don Allingham
347ac96279 * src/EditPerson.py: don't use quote date
* src/PeopleModel.py: remove BOLD
* src/PeopleView.py: start of sorting support
* src/WriteXML.py: use hlink for Witness
* various: pychecker fixes
* configure.in: bump up to 1.1.3, the "Splunge: this is a
greate idea, but possibly lousy, and I'm not being indecisive"
release


svn: r3915
2005-01-16 04:00:35 +00:00
Don Allingham
8ad3ba7456 * src/GrampsDbBase.py: remove thumbnailing routines, add
id creation. Removes gtk and Utils dependencies, making the
database routines independent of gtk and gnome.
* src/ImgManip.py: add thumbnailing routines.
* various: thumbnailing changes and pychecker fixes


svn: r3888
2005-01-09 02:18:49 +00:00
Alex Roitman
ce8bc23927 * src/ArgeHandler.py: Support for WEB for CLI mode.
* src/Report.py: Support for WEB reports.
* src/plugins/GraphViz.py: Minor tweaks.
* src/plugins/WebPage.py: Convert to new scheme. Still rough.


svn: r3878
2005-01-07 04:53:43 +00:00
Don Allingham
09328f505b * src/GrampsIniKeys.py: provide support for the default schema
* src/GrampsKeys.py: select appropriate backend
* various: switch from GrampsGconfKeys to GrampsKeys for normal usage

* src/GrampsIniKeys.py: Alternate backend using .ini files instead
of gconf


svn: r3873
2005-01-06 17:28:31 +00:00
Alex Roitman
c0f3a10147 * src/ArgeHandler.py: Support for CODE for CLI mode.
* src/Plugins.py: Use 'text' instead of 'doc'.
* src/Report.py: Support for CODE reports.
* src/ReportOptions.py: Paper-setting methods for runtime.
* src/const.py.in: Label change.
* src/plugins/GraphViz.py: Convert to new scheme.


svn: r3867
2005-01-05 05:56:33 +00:00
Alex Roitman
c8bfe2e8d3 Merge REP_OPT branch
svn: r3827
2004-12-22 01:56:37 +00:00
Alex Roitman
35bc6fed1e * src/gramps_main.py: Support for re-building Open Recent submenu
and opening files from it.
* src/ArgHandler.py: Rebuild recent menu after adding to recent.
* src/DbPrompter.py (open_native): Add function.
* src/RecentFiles.py (remove_filename): Add function.


svn: r3767
2004-11-30 02:16:30 +00:00
Alex Roitman
de8c6d6308 * src/RecentFiles.py: Add support for Gramps' own recent items.
* src/DbPrompter.py: Support for Gramps' own recent items.
* src/ArgHandler.py: Support for Gramps' own recent items.
* src/gramps.glade: Add Open Recent submenu.
* src/gramps_main.py: Preliminary support for Open Recent submenu.


svn: r3766
2004-11-29 05:15:41 +00:00
Alex Roitman
3038404c4b * src/RecentFiles.py: Add to CVS. Support for recent-files API.
* src/Makefile.am: Ship RecentFiles.py.
* src/DbPrompter.py: Support for recent-files.
* src/ArgHandler.py: Support for recent-files.


svn: r3751
2004-11-25 05:42:31 +00:00
Alex Roitman
5d5d0a36e2 * src/GrampsGconfKeys.py: Add to CVS -- split off key names.
* src/Makefile.am: Ship GrampsGconfKeys.
* src/ArgHandler.py: Use GrampsGconfKeys.
* src/DbPrompter.py: Use GrampsGconfKeys.
* src/EditPerson.py: Use GrampsGconfKeys.
* src/Exporter.py: Use GrampsGconfKeys.
* src/FamilyView.py: Use GrampsGconfKeys.
* src/GrampsDbBase.py: Use GrampsGconfKeys.
* src/ImageSelect.py: Use GrampsGconfKeys.
* src/MediaView.py: Use GrampsGconfKeys.
* src/Plugins.py: Use GrampsGconfKeys.
* src/Report.py: Use GrampsGconfKeys.
* src/StartupDialog.py: Use GrampsGconfKeys.
* src/TipOfDay.py: Use GrampsGconfKeys.
* src/Utils.py: Use GrampsGconfKeys.
* src/DateDisplay.py: Proper capitalization for _MONS.
* src/DateHandler.py: Use GrampsGconfKeys.
* src/GrampsCfg.py: Use GrampsGconfKeys.
* src/gramps_main.py: Use GrampsGconfKeys.


svn: r3573
2004-09-25 05:12:15 +00:00
Alex Roitman
f596ef108a * src/ArgHandler.py (auto_save_load): Remove new db creation for BSDDB.
svn: r3502
2004-08-24 04:55:32 +00:00
Alex Roitman
73d8bdafdc * src/const.py.in: Add gramps-package mime type.
* src/ArgHandler.py (auto_save_load): Subclass database depending
on the format.


svn: r3496
2004-08-23 22:39:41 +00:00
Don Allingham
3a9130f5ad * various: Updated cleaned up API
svn: r3388
2004-08-13 04:34:07 +00:00
Don Allingham
082907d675 * various: change try_to_find_*_from_handle to
get_*_from_handle


svn: r3355
2004-08-07 05:16:57 +00:00
Don Allingham
95e62181d3 * src/RelLib.py, etc.: convert get_id to get_handle
svn: r3290
2004-07-28 02:29:07 +00:00
Alex Roitman
b49494c697 * src/ArgHandler.py: Convert to new gconf usage.
* src/Report.py: Convert to new gconf usage.


svn: r3275
2004-07-15 02:55:22 +00:00