Commit Graph

90 Commits

Author SHA1 Message Date
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
5eacb7c353 * src/MediaView.py: Pass parent to GlobalMediaProperties; typos.
* src/SelectObject.py: Typos.
* src/ImageSelect.py (LocalMediaProperties.__init__,
GlobalMediaProperties.__init__): Handle source tab.
* src/EventEdit.py: Handle gallery tab.
* src/WriteXML.py (dump_my_event): Write object references;
* src/gramps.glade: Add gallery tab to Event Editor; add source
tab to media property editor.
* src/RelLib.py (Event): Add media_list and related methods;
(ObjectRef): Inherit from SourceNote, remove unnecessary functions;
(GrampsDB.get_media_attribute_types): Add method.
* src/ReadXML.py (start_sourceref): Check for attribute before
the object. Objects may have attributes; (start_objref): Parse media
object references for Event records.


svn: r3199
2004-06-03 05:35:30 +00:00
Don Allingham
eba1ed0ea1 * various: transactions are now required for commits
svn: r3186
2004-05-24 04:32:19 +00:00
Alex Roitman
682c4e0217 * src/ReadXML.py: Typo.
svn: r3171
2004-05-16 05:34:20 +00:00
Don Allingham
2bd66d6b4c pychecker fixes
svn: r3166
2004-05-13 22:45:51 +00:00
Don Allingham
04e3e505fb * src/DbPrompter.py: 2.4 filechooser
* src/gramps_main.py:  2.4 filechooser
* src/ReadXML.py:  2.4 filechooser
* src/Pluginsd.py: tooltip deprecation fix


svn: r3118
2004-05-03 03:47:29 +00:00
Don Allingham
1c995add59 * src/Bookmarks.py: use IDs instead of person references
* src/ChooseParents.py: allow for NOSORT option
* src/GrampsParser.py: removed
* src/GrampsXML.py: removed
* src/MediaView.py: allow for NOSORT option
* src/PedView.py: double click to edit
* src/PeopleView.py: allow for NOSORT option
* src/PlaceView.py: allow for NOSORT option
* src/RelLib.py: handle bookmarks in metadata
* src/ReadXML.py: merge GrampsParser
* src/SourceView.py: allow for NOSORT option
* src/const.py.in: fix paths for xml files
* src/gramps_main.py: bookmark fixes
* src/papersize.xml : move to data subdirectory
* src/plugins/ReadGedcom.py: fix menu string
* src/plugins/ReadNative.py: fix menu string
* src/plugins/ReadPkg.py: fix menu string


svn: r3085
2004-04-11 02:37:13 +00:00
Don Allingham
06cc477ae8 db updates
svn: r2934
2004-02-29 02:29:48 +00:00
Alex Roitman
8e733036f2 * src/docgen/AsciiDoc.py: Add to CVS.
* src/Makefile.am, src/Makefile.in: Ship AsciiDoc.py.


svn: r2929
2004-02-29 00:04:45 +00:00
Alex Roitman
9b0827745c * src/GrampsParser.py (start_childof): Call add_parent_family_id()
with three arguments, instead of a tuple.
* src/ReadXML.py: Comment out renaming lost media objects for now.
* src/RelLib.py (find_place_no_conflicts,
find_family_no_conflicts): Use str(idVal).


svn: r2926
2004-02-28 19:34:29 +00:00
Don Allingham
e878549bfd First DB pass
svn: r2884
2004-02-21 06:11:59 +00:00
Don Allingham
015973462a Move from object references to IDs
svn: r2822
2004-02-14 05:40:30 +00:00
Alex Roitman
4e70a13a6d * NEWS: Update.
* src/errdialogs.glade: Add check button to the missing media dialog.
* src/QuestionDialog.py (MissingMediaDialog.__init__): Add default
action property.
* src/ReadXML.py (import_data): Add support for default action.
* src/plugins/WebPage.py (write_gallery): Use object ID as a file name
- prevents collision between identical names coming from different dirs.


svn: r2645
2004-01-17 06:51:49 +00:00
Don Allingham
ebdc5fbcc3 switch from intl to gettext
svn: r2017
2003-08-17 02:14:33 +00:00
Don Allingham
cf54cbc309 pychecker fixes
svn: r1750
2003-06-16 04:57:25 +00:00
Alex Roitman
c2da2623b1 * src/ReadXML.py, src/plugins/Check.py, src/plugins/WriteCD.py,
src/plugins/WritePkg.py: Proper use of dialog.run() in file
selector for missing media files.


svn: r1680
2003-06-10 00:00:05 +00:00
Alex Roitman
8edebcad36 * src/ReadXML.py (import_data), src/WriteXML.py (export_data),
src/RelImage.py (import_media_object), src/gramps_main.py
(open_example), src/plugins/Check.py (cleanup_missing_photos),
src/plugins/WebPage.py (write_gallery):
Change shutil.copy() calls to first call shutil.copyfile() and then try
setting up bits.


svn: r1652
2003-06-03 21:18:23 +00:00
Alex Roitman
41f848f53c Finishing command line options
svn: r1564
2003-05-21 18:06:41 +00:00
Alex Roitman
28094e6aa9 Typo
svn: r1521
2003-05-13 15:29:22 +00:00
Alex Roitman
4b036a884c Wording cleanup
svn: r1520
2003-05-13 04:47:54 +00:00
Alex Roitman
72cb88a487 User input when files are lost on Import
svn: r1519
2003-05-13 03:35:39 +00:00
Don Allingham
ec119ab64a Fixed marriage problem and startup dialog
svn: r1515
2003-05-12 19:39:49 +00:00
Alex Roitman
1e9202ac0d Remove object and refs if media file is lost
svn: r1502
2003-05-07 04:14:50 +00:00
Alex Roitman
37ef7aebcc Reincarnation of Imports
svn: r1500
2003-05-06 15:16:04 +00:00
Alex Roitman
c5a0ded129 Reverse sorting of MediaFileMap keys
svn: r1499
2003-05-06 05:08:57 +00:00
Alex Roitman
98bd0706eb More Import cleanups
svn: r1498
2003-05-06 04:48:51 +00:00
Don Allingham
a1374f76dc preserve full path for photos after import
svn: r1497
2003-05-06 02:55:54 +00:00
Alex Roitman
04d582ab1e Import from database
svn: r1494
2003-05-06 01:51:47 +00:00
Alex Roitman
9993506d85 Import from GRAMPS package
svn: r1492
2003-05-05 17:35:30 +00:00
Don Allingham
7978cf7317 Bug fixes
svn: r1466
2003-04-20 03:52:54 +00:00
Don Allingham
27d3985fb9 filename clean up
svn: r1408
2003-03-28 02:28:04 +00:00
Don Allingham
5d1897c379 Fixed sorting
svn: r1373
2003-03-21 04:25:55 +00:00
Don Allingham
b6974070d0 Dialog improvements
svn: r1320
2003-02-27 00:37:46 +00:00
Don Allingham
0f616d0b90 Updated dialogs
svn: r1314
2003-02-24 04:51:57 +00:00
Don Allingham
a9f8fe034f ansel/utf8 encodings
svn: r1258
2003-01-19 06:25:20 +00:00
Don Allingham
7f514dac82 pychecker fixes, GEDCOM import/export improvements, calendar improvements
svn: r1250
2003-01-10 05:21:32 +00:00
Don Allingham
1c902e0eef Calendar enhancements
svn: r1235
2003-01-02 04:31:52 +00:00
Don Allingham
782841c738 Fixed place editing
svn: r1146
2002-10-21 01:18:07 +00:00
Don Allingham
5875df7c48 Initial revision
svn: r1140
2002-10-20 14:25:16 +00:00