Commit Graph

2082 Commits

Author SHA1 Message Date
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
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
7113318c2b * src/DisplayModels.py: support for Spouse column
* src/MediaView.py: fix try_to_find_object_from_id
* src/PeopleModel.py:  support for Spouse column
* src/RelLib.py: handle expanding columns


svn: r3198
2004-06-03 03:28:46 +00:00
Don Allingham
bf5ad74a5d * src/EditSource.py: try_to_find_person_from_id fix
* src/PedView.py: try_to_find_person_from_id fix
* src/Utils.py: try_to_find_person_from_id fix


svn: r3197
2004-05-31 03:50:06 +00:00
Don Allingham
d094e38abf * various: installation fixes
svn: r3196
2004-05-28 04:04:04 +00:00
Don Allingham
9abe3ab152 * Makefiles: updated for installation
* src/data/gnome-mime-application-x-gramps.png: new icon
* src/data/gramps.svg: new icon
* src/data/gramps.xml: mime information


svn: r3195
2004-05-27 04:29:43 +00:00
Alex Roitman
e7878c26f3 Update
svn: r3194
2004-05-26 03:29:00 +00:00
Alex Roitman
7cc5d39fc9 * src/RelLib.py (Transaction.__len__): Redefine length.
* src/ChooseParents.py, src/EditPerson.py, src/EditSource.py,
src/EventEdit.py, src/FamilyView.py, src/gramps_main.py,
src/ImageSelect.py, src/Marriage.py, src/MediaView.py,
src/PedView.py, src/PeopleModel.py, src/PlaceView.py,
src/SelectChild.py, src/SelectObject.py, src/Sources.py,
src/SourceView.py, src/Utils.py, src/Witness.py,
src/WriteXML.py: Switch from find_* to try_to_find_* methods.


svn: r3193
2004-05-26 03:26:18 +00:00
Alex Roitman
6523c4ff2b * src/plugins/ChangeTypes.py: Correct transaction.
* src/plugins/changetype.glade: HIGify dialog.
* src/plugins/PatchNames.py: Correct transaction.


svn: r3192
2004-05-26 02:51:45 +00:00
Alex Roitman
8ddbce94f0 * src/RelLib.py (try_to_find_person_from_id): Remove transaction;
(try_to_find_source_from_id, try_to_find_object_from_id,
try_to_find_place_from_id): Add functions.
* src/plugins/WriteCD.py, src/plugins/WritePkg.py,
src/plugins/WebPage.py, src/plugins/Verify.py,
src/plugins/TimeLine.py, src/plugins/Summary.py,
src/plugins/SoundGen.py, src/plugins/RelGraph.py,
src/plugins/RelCalc.py, src/plugins/PatchNames.py,
src/plugins/Merge.py, src/plugins/IndivSummary.py,
src/plugins/IndivComplete.py, src/plugins/GraphViz.py,
src/plugins/FtmStyleDescendants.py,
src/plugins/FtmStyleAncestors.py, src/plugins/FilterEditor.py,
src/plugins/FanChart.py, src/plugins/FamilyGroup.py,
src/plugins/EventCmp.py, src/plugins/DetDescendantReport.py,
src/plugins/DetAncestralReport.py, src/plugins/DescendReport.py,
src/plugins/Desbrowser.py, src/plugins/CountAncestors.py,
src/plugins/Check.py, src/plugins/ChangeTypes.py,
src/plugins/BookReport.py, src/plugins/Ancestors.py,
src/plugins/AncestorReport.py, src/plugins/AncestorChart.py,
src/plugins/AncestorChart2.py, src/Relationship.py,
src/Sort.py, src/GenericFilter.py, src/SubstKeywords.py,
src/GraphLayout.py: Switch from find_* to try_to_find_* methods.


svn: r3191
2004-05-26 02:05:02 +00:00
Don Allingham
60a6973bbf * src/PeopleModel.py: temporary fix for add person update
* src/PeopleView.py: temporary fix for add person update


svn: r3190
2004-05-25 03:41:35 +00:00
Don Allingham
eba1ed0ea1 * various: transactions are now required for commits
svn: r3186
2004-05-24 04:32:19 +00:00
Don Allingham
c174501b0f * src/plugins/ReadGedcom.py: full support for undo
svn: r3183
2004-05-20 04:41:55 +00:00
Don Allingham
0013617a90 * src/ImageSelect.py: undo messages
* src/MediaView.py: undo messages
* src/RelLib.py: use db for undo status


svn: r3182
2004-05-20 00:12:14 +00:00
Don Allingham
79d9a39a9e * various: undo messages
svn: r3181
2004-05-19 06:13:36 +00:00