Commit Graph

249 Commits

Author SHA1 Message Date
Don Allingham
8df3fd12d4 * src/RelLib.py, etc.: convert get_id to get_handle
svn: r3290
2004-07-28 02:29:07 +00:00
Alex Roitman
2e1bdee01b * src/GrampsCfg.py: More re-work of gconf usage.
* src/StartupDialog.py: Access keys through GrampsCfg methods.
* src/TipOfDay.py: Access keys through GrampsCfg methods.
* src/gramps_main.py: More re-work of gconf usage.
* src/data/gramps.schemas: More re-work of gconf usage.
* src/gramps.glade: Hotkey corrections.


svn: r3278
2004-07-20 02:27:55 +00:00
Alex Roitman
f719ae6edb * src/data/gramps.schemas: Cleanup.
* src/data/Makefile.am: Clen up install rule. Add uninstall rule.
* src/StartupDialog.py: Correct use of keys.
* src/GrampsCfg.py: Correct usage of gconf.
* src/DbPrompter.py: Remove unused module.
* src/SelectChild.py: Remove unused module.
* src/SelectObject.py: Remove unused module.
* src/WriteXML.py: Remove unused module.
* src/gramps_main.py: Convert to new gconf usage.
* src/FamilyView.py: Convert to new gconf usage.
* src/AddSpouse.py: Convert to new gconf usage.
* src/ChooseParents.py: Convert to new gconf usage.
* src/EditPerson.py: Convert to new gconf usage.
* src/EditPlace.py: Convert to new gconf usage.
* src/EditSource.py: Convert to new gconf usage.
* src/EventEdit.py: Convert to new gconf usage.
* src/ImageSelect.py: Convert to new gconf usage.
* src/Marriage.py: Convert to new gconf usage.
* src/MediaView.py: Convert to new gconf usage.
* src/MergeData.py: Convert to new gconf usage.
* src/PedView.py: Convert to new gconf usage.
* src/Plugins.py: Convert to new gconf usage.
* src/RelLib.py: Convert to new gconf usage.
* src/TipOfDay.py: Convert to new gconf usage.
* src/plugins/AncestorChart2.py: Remove unused module.
* src/plugins/AncestorChart.py: Remove unused module.
* src/plugins/BookReport.py: Remove unused module.
* src/plugins/FanChart.py: Remove unused module.
* src/plugins/Partition.py: Remove unused module.
* src/plugins/Desbrowser.py: Convert to new gconf usage.
* src/plugins/Merge.py: Convert to new gconf usage.
* src/plugins/RelCalc.py: Convert to new gconf usage.
* src/plugins/WebPage.py: Convert to new gconf usage.


svn: r3274
2004-07-15 02:54:04 +00:00
Alex Roitman
b76bc6d42d * 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
2924bb77c9 * 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
99d6b38312 * 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
72a04eef03 * 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
416310dc17 * 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
a35aa9bcf7 * 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
fca58c0099 fix import
svn: r3236
2004-06-28 01:27:37 +00:00
Don Allingham
ca2b166f8f * src/gramps_main.py: fix import problem
svn: r3234
2004-06-27 18:08:19 +00:00
Don Allingham
673af70455 * 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
e9a3377dda * 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
2137e803e4 * 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
e8dd8dde0b * 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
2a4a7a39cd Update
svn: r3225
2004-06-21 23:24:51 +00:00
Alex Roitman
86b78e5c3c * 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
03cab9f9bd * 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
ab131c3f0c * 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
Don Allingham
6a8e8fa8d1 * src/plugins/WriteGedcom.py: brought up to date
* src/gramps_main.py: beta warning


svn: r3204
2004-06-09 23:59:03 +00:00
Don Allingham
affda15461 * various: installation fixes
svn: r3196
2004-05-28 04:04:04 +00:00
Alex Roitman
e7b77ccb83 * 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
Don Allingham
2439564ba2 * various: transactions are now required for commits
svn: r3186
2004-05-24 04:32:19 +00:00
Don Allingham
109fe90e97 * src/plugins/ReadGedcom.py: full support for undo
svn: r3183
2004-05-20 04:41:55 +00:00
Don Allingham
e82f8d1bba * various: undo messages
svn: r3181
2004-05-19 06:13:36 +00:00
Don Allingham
351ae558dd * src/GrampsCfg.py: added support for tip of the day
* src/data/tips.xml: tip data
* src/TipOfDay.py: support for tip of the day
* src/gramps_main.py: support for tip of the day
* src/const.py: support for tip of the day
* src/gramps.glade: support for tip of the day


svn: r3178
2004-05-18 07:00:34 +00:00
Don Allingham
372a82abf0 Fixed merging
svn: r3167
2004-05-13 23:48:40 +00:00
Don Allingham
d43745dc97 * src/GrampsCfg.py: remove unused options
* src/gramps.glade: remove unused panels in preferences
* src/Plugins.py: removed xpm images
* src/EventEdit.py: get full event list
* src/plugins/AncestorChart.py: remove xpm image
* src/plugins/AncestorChart2.py: remove xpm image
* src/plugins/AncestorReport.py: remove xpm image
* src/plugins/Ancestors.py: remove xpm image
* src/plugins/BookReport.py: remove xpm image
* src/plugins/CustomBookText.py: remove xpm image
* src/plugins/DesGraph.py: remove xpm image
* src/plugins/DescendReport.py: remove xpm image
* src/plugins/DetAncestralReport.py: remove xpm image
* src/plugins/DetDescendantReport.py: remove xpm image
* src/plugins/FamilyGroup.py: remove xpm image
* src/plugins/FtmStyleAncestors.py: remove xpm image
* src/plugins/FtmStyleDescendants.py: remove xpm image
* src/plugins/IndivComplete.py: remove xpm image
* src/plugins/IndivSummary.py: remove xpm image
* src/plugins/Makefile.in: remove xpm image
* src/plugins/SimpleBookTitle.py: remove xpm image
* src/plugins/WebPage.py: remove xpm image
* src/RelLib.py: secondary index for event names


svn: r3158
2004-05-12 03:58:14 +00:00
Alex Roitman
8d4c034b86 * src/Plugins.py: Pass parent class to the tools.
* src/rule.glade: Define event handlers.
* src/gramps_main.py: Pass parent class to the tools.
* src/plugins/EventCmp.py: Window management.
* src/plugins/FilterEditor.py: Window management.
* src/plugins/PatchNames.py: Window management.
* src/plugins/eventcmp.glade: Define event handlers.
* src/plugins/patchnames.glade: Define event handlers.


svn: r3150
2004-05-10 04:54:10 +00:00
Don Allingham
2d5e249839 * src/DbPrompter.py: handle open dialog in a clean manner
* src/gramps.py: handle open dialog in a clean manner
* src/gramps_main.py: handle open dialog in a clean manner
* src/gramps.glade: handle open dialog in a clean manner


svn: r3143
2004-05-08 04:48:59 +00:00
Don Allingham
350f5d5077 fix select person again
svn: r3136
2004-05-07 03:58:26 +00:00
Don Allingham
50131988cc * src/gramps_main.py: rebuild tree after importing
* src/plugins/ReadGedcom.py: destroy filechooser at proper time


svn: r3129
2004-05-05 03:54:02 +00:00
Don Allingham
ade23b0d05 update
svn: r3119
2004-05-03 04:27:56 +00:00
Don Allingham
ff2378b9a0 * 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
e97365dedf update
svn: r3117
2004-05-02 04:10:33 +00:00
Don Allingham
21b8283302 * src/gramps.glade: rearranged filter apply
* src/gramps.py: update to gtk.main()
* src/gramps_main.py: goto active person after model built


svn: r3116
2004-05-01 14:08:36 +00:00
Don Allingham
bd599862d5 * src/GenericFilter.py: Add a generic filter that can take a
parameter
* src/PeopleModel.py: Support for top level visibility
* src/gramps.glade: clean up filtering widgets
* src/gramps_main.py: build basic filters


svn: r3115
2004-04-30 03:01:51 +00:00
Don Allingham
4407b69063 * src/DbPrompter.py: remove unused functions
* src/DisplayModels.py: filtering support
* src/GenericFilter.py: filtering support
* src/PeopleModel.py: support for filtering
* src/PeopleView.py: support for filtering
* src/RelLib.py: filtering support
* src/Utils.py: filtering support
* src/gramps.glade: remove invert for filters
* src/gramps_main.py: filtering support


svn: r3114
2004-04-28 04:06:25 +00:00
Don Allingham
76102265db * src/DbPrompter.py: support for new GTK 2.4 file chooser
svn: r3090
2004-04-19 03:15:05 +00:00
Don Allingham
6b74af3368 Fixes for undo
svn: r3089
2004-04-16 19:15:02 +00:00
Don Allingham
245fa23f64 * 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
98f5e48e37 Improved error handling
svn: r3083
2004-04-10 03:38:48 +00:00
Don Allingham
932a2c5b4a * src/VersionControl.py: removed
* src/GrampsMime.py: added mime types
* src/grampslib_wrap.c: removed


svn: r3077
2004-04-06 03:20:04 +00:00
Don Allingham
efd152ac78 * GrampsMime.py: added mime types
* grampslib_wrap.c: removed
* various: more undo functionality


svn: r3074
2004-04-04 04:39:52 +00:00
Don Allingham
f58731f4ea * various: Add undo functionality
svn: r3065
2004-03-30 04:50:24 +00:00
Don Allingham
13837efea8 * src/gramps_main.py: remove unused functions, fix history
* src/FamilyView.py: improve reordering of children


svn: r3058
2004-03-25 04:04:35 +00:00
Don Allingham
5ade7bac06 * src/SelectChild.py: use PersonModel
* src/plugins/FilterEditor.py: use new SelectPerson


svn: r3052
2004-03-23 05:01:19 +00:00
Don Allingham
aceaffcc97 Convert to new GenericTreeView models
svn: r3040
2004-03-22 04:41:35 +00:00
Don Allingham
dc7a5a6473 * src/PeopleModel.py: Column reordering/selection
* src/PeopleView.py: Column reordering/selection
* src/RelLib.py: Column reordering/selection
* src/gramps_main.py: Column reordering/selection
* src/gramps.glade: Column editor
* src/ColumnOrder.py: Column editor


svn: r2998
2004-03-10 05:15:06 +00:00
Don Allingham
c4a640394d * src/EditPerson.py: TreeView enhancements
* src/PeopleModel.py: TreeView enhancements
* src/PeopleView.py: TreeView enhancements
* src/gramps_main.py: TreeView enhancements


svn: r2984
2004-03-09 05:12:14 +00:00