Commit Graph

1896 Commits

Author SHA1 Message Date
Don Allingham
9d96849481 * src/FamilyView.py: handle deleting of parent properly
* src/plugins/WriteGedcom.py: revert to using GRAMPS ID values
* src/plugins/WriteXML.py: use proper ID values

* src/FamilyView.py: fix removal of parents


svn: r3265
2004-07-11 23:53:02 +00:00
Alex Roitman
eb60dadb3f * src/WriteXML.py: Add person to the export function arugments.
svn: r3264
2004-07-11 06:08:35 +00:00
Alex Roitman
beb52b0c80 * src/plugins/gedcomexport.glade: Update to work with the druid.
svn: r3263
2004-07-11 06:04:55 +00:00
Alex Roitman
53396a3d49 * src/plugins/WriteGedcom.py: Rewrite to enable passing the
options interface.
* src/Exporter.py: Use options if given by the plugin.


svn: r3262
2004-07-11 06:03:07 +00:00
Alex Roitman
0ce3d714e5 Update
svn: r3261
2004-07-11 06:01:19 +00:00
Alex Roitman
2cd11d3eae * NEWS: Update.
* src/Exporter.py: Clean up, add doc strings.
* src/plugins/WriteGedcom.py: Change registration.
Use command-line export for the time being (all defaults).


svn: r3259
2004-07-10 23:31:28 +00:00
Don Allingham
8dfaa35d11 * src/AddMedia.py: Handle the new file selector
* src/MediaView.py: redraw list properly


svn: r3258
2004-07-10 04:49:53 +00:00
Alex Roitman
b19b35077b Update
svn: r3257
2004-07-09 23:01:19 +00:00
Alex Roitman
cdbdb9ead0 * src/Report.py (parse_report_options_frame): Use integer 1 and 0
instead of True and False for the pagebreak option.


svn: r3256
2004-07-09 20:28:30 +00:00
Alex Roitman
4491c62a4a * src/gramps_main.py (on_export_activate): Switch to new Exporter.
* src/WriteXML.py: Change registration. Return 1 on success and
0 when on failure.
* src/Utils.py (get_new_filename): Add function.
* src/DbPrompter.py (get_new_filename): Remove function.
* src/Exporter.py: Add to CVS.
* src/Makefile.am: Ship Exporter.py.
* src/Plugins.py (register_export): Change to the new scheme.


svn: r3254
2004-07-09 18:19:47 +00:00
Don Allingham
c75caa9b05 * src/ChooseParents.py: build an exclusion list of those
obviously not the parents
* src/EditPerson.py: allow ID value to be edited
* src/RelLib.py: Add try_to_find_from_gramps_id
* src/ImageSelect.py: catch OSError


svn: r3253
2004-07-09 04:31:43 +00:00
Alex Roitman
d89e54a693 * src/DbPrompter.py: Handle package export.
* src/plugins/WritePkg.py: Register with the new scheme.
* src/plugins/ReadPkg.py: Minor cleanups.
* src/WriteXML.py: Minor cleanups.


svn: r3249
2004-07-03 04:46:51 +00:00
Alex Roitman
a0acc27543 * src/DbPrompter.py (SaveAsDbPrompter.change_suggested_name):
Add method; (SaveAsDbPrompter.chooser): Make dialog a class attribute.
Connect handler to the filter change event; (get_new_filename): Make
a module function (outside any class).


svn: r3248
2004-07-02 15:33:16 +00:00
Don Allingham
ef0516a415 * src/gramps_main.py: disable find old "find" function
* src/gramps.glade: enable TreeView find function
* src/PeopleView.py: don't unselect a row if it isn't a valid person.


svn: r3247
2004-07-02 02:53:51 +00:00
Alex Roitman
e27d4726ea * src/gramps_main.py (on_export_activate): Delegate work
to DbPrompter.
* src/WriteXML.py: Register with the new scheme.
* src/DbPrompter.py (SaveAsDbPrompter): Add class.


svn: r3246
2004-07-01 04:09:55 +00:00
Don Allingham
3421c1971a * src/FamilyView.py: fix reordering of children
* src/ChooseParents.py: get filters working again
* src/AddSpouse.py: update display after addition of person
* src/Utils.py: new id generation algorithm


svn: r3245
2004-06-30 04:06:10 +00:00
Don Allingham
29d18998d1 * src/ChooseParents.py: fix parent selection
* src/FamilyView.py: fix update of parents after selction
* src/PeopleView.py: fix update of parents after selction
* src/gramps_main.py: fix update of parents after selction
* src/EditPerson.py: fix person id reference


svn: r3244
2004-06-29 03:51:49 +00:00
Alex Roitman
11bc557be3 * src/RelLib.py: gramps id fixes.
* src/ReadXML.py: gramps id fixes.
* src/plugins/ReadGedcom.py: gramps id fixes.


svn: r3243
2004-06-29 02:33:25 +00:00
Alex Roitman
5976ec97ef * src/plugins/WebPage.py (IndividualPage.write_urls):
Add function; (IndividualPage.create_page): use write_urls().


svn: r3242
2004-06-28 19:08:15 +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
2aa25d1711 Typo
svn: r3238
2004-06-28 13:20:33 +00:00
Alex Roitman
e0973cb653 * src/DbPrompter.py: Add NewNativeDbPrompter class for setting up
a native database. Enable opening any format on the startup.
* src/gramps_main.py: Use NewNativeDbPrompter when opening
non-native data.


svn: r3237
2004-06-28 13:19:06 +00:00
Don Allingham
3213e0e928 fix import
svn: r3236
2004-06-28 01:27:37 +00:00
Don Allingham
97377f426d * src/gramps_main.py: fix import problem
svn: r3234
2004-06-27 18:08:19 +00:00
Don Allingham
4c76be91dd * src/gramps_main.py: dropped New Database message. After all, it should
be incredibly obvious.
* src/Utils.py: create_id to generate random internal ID
* src/RelLib.py: new internal ID support
* src/AddSpouse.py: bug fixes
* src/ChooseParents.py: bug fixes
* src/PeopleModel.py: bug fixes
* src/PeopleView.py: bug fixes
* src/FamilyView.py: bug fixes
* src/Bookmarks.py: support for new internal IDs
* src/EditPerson.py: support for new internal IDs
* src/plugins/ReadGedcom.py: handle new internal IDs


svn: r3233
2004-06-27 03:10:06 +00:00
Alex Roitman
2faa14b1a7 * src/gramps_main.py (on_import_activate,on_export_activate):
Add methods.
* src/Plugins.py (build_import_menu,build_export_menu): Remove;
(register_export): Change to the new scheme.
* src/gramps.glade: Add handlers to Import and Export menus.
Rename Export to Save As..., add icons.


svn: r3232
2004-06-26 05:39:43 +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
Don Allingham
05440fbaa8 * src/EditPerson,py: allow reordering of event columns
* src/TransTable.py: allow to be initialized with a list instead of a map
* src/gramps.glade: allow reordering of event columns
* src/gramps_main.py: catch program_init exception
* src/ListModel.py: allow reordering of columns


svn: r3230
2004-06-23 04:54:33 +00:00
Alex Roitman
162a229161 * doc/gramps.1.in, doc/gramps.1: Update.
svn: r3229
2004-06-23 02:59:29 +00:00
Alex Roitman
0f6a7c7a7f * src/plugins/WriteCD.py (PackageWriter.on_ok_clicked):
Convert missing media handling to the database interface.


svn: r3228
2004-06-22 21:02:05 +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
Don Allingham
67bf4dff2b add new images
svn: r3226
2004-06-22 03:05:28 +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
383a0a6f2c * NEWS: Update.
svn: r3223
2004-06-21 21:49:43 +00:00
Alex Roitman
de2c28febb Fixes to context menu
svn: r3222
2004-06-21 21:23:35 +00:00
Alex Roitman
7cf73d3415 Update
svn: r3221
2004-06-21 19:59:48 +00:00
Alex Roitman
514e73aea0 * src/PedView.py: Fix anchors. Switch from storing person objects
to their IDs. Start on building Spouses and Siblings submenus
in the context menu.


svn: r3220
2004-06-21 17:08:51 +00:00
Alex Roitman
d2c7943f64 * src/data/gramps.keys, src/data/mime: Add package and GEDCOM.
svn: r3219
2004-06-21 13:56:58 +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
77fce526cf * src/DisplayModels,py: faster sorting of places
* src/PlaceView,py: faster sorting of places
* src/RelLib,py: faster sorting of places
* src/gramp_main.py: removed new database info message


svn: r3217
2004-06-20 03:06:21 +00:00
Jason Salaz
33246ec700 src/plugins/ReadGedcom.py: Fixed typos preventing import
svn: r3216
2004-06-19 03:50:52 +00:00
Don Allingham
d2e29dc8d4 update
svn: r3214
2004-06-16 03:38:26 +00:00
Don Allingham
16addc35b4 update
svn: r3213
2004-06-15 03:51:18 +00:00
Don Allingham
c9a392961f * src/RelLib.py: fix index for place map
* src/FamilyView.py: include person ID's


svn: r3212
2004-06-15 03:43:33 +00:00
Alex Roitman
8341a65f75 * NEWS: Update.
svn: r3208
2004-06-14 22:35:14 +00:00
Alex Roitman
a6bf7bd5a1 * src/gramps.glade: Typos.
* src/ImageSelect.py: Correctly update property editors on OK
and Cancel.
* src/EventEdit.py: Typo.
* src/Sources.py: Set change flag on deletion of the source reference.
* src/RelLib.py: Add media list into serialization and restore.


svn: r3206
2004-06-13 06:18:20 +00:00
Don Allingham
02a0fc3072 * src/filters/*: removed
* src/plugins/WritePkg.py: brought up to date


svn: r3205
2004-06-12 04:39:45 +00:00
Don Allingham
f0ca1ecf13 * src/plugins/WriteGedcom.py: brought up to date
* src/gramps_main.py: beta warning


svn: r3204
2004-06-09 23:59:03 +00:00
Alex Roitman
32a24df4d2 Update
svn: r3200
2004-06-03 05:36:16 +00:00