Commit Graph

114 Commits

Author SHA1 Message Date
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
Alex Roitman
c670c6267a * src/DbPrompter.py: Add new class for new, existing, and import
prompters. Enable opening any format on the startup.
* src/gramps_main.py: Use new DbPrompter classes.
* src/ArgHandler.py: Use new DbPrompter classes.


svn: r3239
2004-06-28 18:16:42 +00:00
Alex Roitman
2fea6471c7 * src/ArgHandler.py (handle_args): Add import callback call.
* src/gramps_main.py: Use open filters, mime types, and handlers
from import plugins.
* src/Plugins.py: Change import plugin registration.
* src/ReadXML.py: Change registration.
* src/plugins/ReadGedcom.py: Change registration.
* src/plugins/ReadPkg.py: Rewrite and change registration.


svn: r3231
2004-06-24 03:29:38 +00:00
Alex Roitman
12d6398750 * src/ArgHandler.py (parse_args): Switch from 'tgz' to 'gpkg'
for Gramps package; (handle_args): Use separate dir for all
import-produced files; (cl_export): Convert media objects export
to the database interface.
* src/ReadXML.py (importData): Copy all local (with respect to
the old XML way) media object files into <database>.images dir
(created if did not previously exist). Change objects' paths
accordingly; (GrampsParser.start_object): Do not modify path
in the parser. This way we know that the objects are local.
* src/RelLib.py (get_event_keys): Add method to GrampsDB class.
* src/plugins/WritePkg.py (PackageWriter.export):
Convert missing media handling to the database interface.


svn: r3227
2004-06-22 20:49:22 +00:00
Alex Roitman
fcabe82c3d Update
svn: r3225
2004-06-21 23:24:51 +00:00
Alex Roitman
6da362e2fa * src/ArgHandler.py: Fixes.
* src/gramps_main.py: Don't show topWindow until ArgHandler is done.
* src/plugins/Summary.py: Fixes.


svn: r3224
2004-06-21 23:22:55 +00:00
Alex Roitman
2e477a5936 * configure.in: Bump up the version number.
* src/gramps.py: Pass complete argument string.
* src/gramps_main.py: Pass popt table to gnome_init().
Always enable argument handling. (read_xml,read_pkg): Add functions.
* src/const.py.in: Define popt table, add all gnome options.
* src/ArgHandler.py: Add long options for gramps-specific options.
Add handling for the first filename argument. Use 'gramps-xml'
to denote old gramps (XML) format.
* src/DbPrompter.py: Add hint for the filename.
* src/plugins/ReadNative.py: Cosmetic changes.
* src/plugins/ReadPkg.py: Cosmetic changes.
* src/plugins/WritePkg.py: Typo.
* src/data/gramps.xml: Add mime type for gramps package.
* src/data/gramps.applications: Add gramps package to the list.
* src/data/Makefile.am: Typo.

* src/gramps_main.py: removed new database info message
* src/plugins/ReadGedcom.py: Fixed typos preventing import.
(i.e. set_type instead of SetType, etc.)

* Release: Version 1.1.0 "And now for something completely different"
released.


svn: r3218
2004-06-21 05:10:27 +00:00
Don Allingham
015973462a Move from object references to IDs
svn: r2822
2004-02-14 05:40:30 +00:00
Tim Waugh
d3ad386729 2003-11-02 Tim Waugh <twaugh@redhat.com>
* src/ArgHandler.py, src/DbPrompter,py: clear_database takes no
        additional arguments.


svn: r2312
2003-11-02 16:41:29 +00:00
Alex Roitman
3d69bafa2f and rel_it.py.
* src/ArgHandler.py: Split off gramps_main into a separate file.
* src/gramps_main.py: Likewise.
* src/Makefile.am, src/Makefile.in: Ship src/ArgHandler.py.
* NEWS: More items.


svn: r2242
2003-10-13 01:55:56 +00:00