Commit Graph

46 Commits

Author SHA1 Message Date
Don Allingham
fa4fe6d391 * src/RelLib.py: rework of the API
* src/*.py: rework of the api


svn: r3371
2004-08-11 03:42:38 +00:00
Don Allingham
4fd3c41ceb * various: change try_to_find_*_from_handle to
get_*_from_handle


svn: r3355
2004-08-07 05:16:57 +00:00
Don Allingham
99ffd9cd52 * src/AddSpouse.py: fix gender selection
* src/DbPrompter.py: support other DB formats
* src/GrampsBSDDB.py: BSDDB format, derived from GrampsDbBase
* src/GrampsDbBase.py: base class for database classes
* src/GrampsGEDDB.py: GEDCOM format, derived from GrampsDbBase
* src/GrampsXMLDB.py: XML format, derived from GrampsDbBase
* src/PeopleModel.py: handle rebuilds better
* src/RelLib.py: use try_to_find_person_from_handle
* src/WriteXML.py: use gramps ids instead of handles
* src/const.py.in: handle family relations correctly
* src/gramps_main.py: remove prefix settings
* src/data/gnome-mime-application-x-gramps-xml.png: new icon
* src/data/gramps.applications: support for x-gramps-xml
* src/data/gramps.keys: support for x-gramps-xml
* src/data/gramps.mime: support for x-gramps-xml
* src/data/gramps.schemas: added event format
* src/data/gramps.xml: support for x-gramps-xml
* src/plugins/ReadGedcom.py: start of GEDDB support
* src/plugins/WriteGedcom.py: start of GEDDB support


svn: r3306
2004-08-01 04:21:31 +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
e6780e09f2 * src/Exporter.py: Fix EXPAND/FILL state of the chooser widget.
* src/DbPrompter.py (SaveAsDbPrompter): Remove class.


svn: r3271
2004-07-13 13:47:37 +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
Alex Roitman
3c108b27b7 * 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
bcbd65f783 * 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
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
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
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
5d01154b88 * src/filters/*: removed
* src/plugins/WritePkg.py: brought up to date


svn: r3205
2004-06-12 04:39:45 +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
2439564ba2 * various: transactions are now required for commits
svn: r3186
2004-05-24 04:32:19 +00:00
Don Allingham
9d1890dc84 * src/DbPrompter.py: added a .grdb if not specified.
svn: r3149
2004-05-10 03:13:43 +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
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
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
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
98f5e48e37 Improved error handling
svn: r3083
2004-04-10 03:38:48 +00:00
Don Allingham
b25c3a0d00 * src/DbPrompter.py: remove VersionControl reference
* src/Marriage.py: fix transaction handling
* src/const.py.in: new glade file names
* src/edit_person.glade: merged into gramps.glade
* src/edit_person.gladep: removed
* src/filelist: removed
* src/gramps.glade: additions from old glade files
* src/marriage.glade: merged into gramps.glade
* src/marriage.gladep: removed
* src/places.glade: merged into gramps.glade
* src/places.gladep: removed
* src/preferences.glade: merged into gramps.glade
* src/preferences.gladep: removed
* src/revision.glade: merged into gramps.glade
* src/revision.gladep: removed
* src/select_person.glade: merged into gramps.glade
* src/srcsel.glade: merged into gramps.glade
* src/srcsel.gladep: removed


svn: r3079
2004-04-07 03:26:35 +00:00
Don Allingham
a9cd2a75ac Remove VersionControl
svn: r3078
2004-04-07 02:11:32 +00:00
Don Allingham
f58731f4ea * various: Add undo functionality
svn: r3065
2004-03-30 04:50:24 +00:00
Don Allingham
89f2a1cfc7 * src/gramps_main.py: switch to DB as default, remove save option
* src/RelLib.py: setup DB environment better
* src/DbPrompter.py: handle save/open with new DBs


svn: r2924
2004-02-28 18:46:40 +00:00
Alex Roitman
5e696d845f * doc/gramps-manual/C/getstart.xml: More "open a directory" stuff.
* src/gramps.glade: Add Help button to opendb dialog.
* src/DbPrompter.py (open_help_clicked): Add function.


svn: r2446
2003-12-06 00:14:25 +00:00
Tim Waugh
13f1688db2 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
Don Allingham
dd56ad01a7 * src/PeopleView.py: rebuild after a filter is applied
* src/DbPrompter: remove ZODB option
* src/RelLib.py: remove ZODB option
* src/gramps.glade: remove ZODB option
* src/gramps_main.py: remove ZODB option


svn: r2306
2003-11-01 19:55:30 +00:00
Alex Roitman
7afaf5ddc4 * src/gramps_main.py (__init__): Pass parent window to DbPrompter.
* src/DbPrompter.py (show): Gracefully deal with empty parent.


svn: r2106
2003-09-08 12:14:34 +00:00
Alex Roitman
3795edd1d4 * src/gramps_main.py (new_database_response,read_file,save_file):
Pass parent window to DbPrompter.
* src/DbPrompter.py (__init__): Accept optional parent argument;
(show): Make the window the transient for the main window.
* src/gramps.glade: Make Opendb dialog modal.


svn: r2103
2003-09-08 04:12:43 +00:00
Don Allingham
e5195ecf75 * PdfDoc.py: Support drawing functions.
* PdfDrawDoc.py: remove - all functions integrated into
PdfDoc.py
* DbPrompter.py: change title from "Save" to "Create" when
opening a new database, prompt with last database saved.


svn: r2064
2003-08-31 03:26:13 +00:00
Don Allingham
b5f75c0a77 switch from intl to gettext
svn: r2017
2003-08-17 02:14:33 +00:00
Don Allingham
bd70df5b49 * src/DbPrompter.py: removed #! at top of file
* src/gramps.py: removed #! at top of file
* src/EditSource.py: removed #! at top of file


svn: r2005
2003-08-14 15:57:26 +00:00
Don Allingham
5df51f0b64 fix typo
svn: r1999
2003-08-13 04:32:15 +00:00
Don Allingham
de7f76b347 * src/AddMedia.py: set title for image select dialog
* src/DbPrompter.py: set default path in database file entry box
* src/gramps_main.py: set default path in database file entry box
* src/ImageSelect.py: set default path in image select file entry box,
keep track of last directory used
* src/Report.py: set default path in report file entry box
* src/imagesel.glade: enlarge image select dialog box


svn: r1997
2003-08-13 04:28:07 +00:00
Don Allingham
046e1e782a filename clean up
svn: r1408
2003-03-28 02:28:04 +00:00
Don Allingham
dd1d9acbde Fixed sorting
svn: r1373
2003-03-21 04:25:55 +00:00
Don Allingham
aa0f689c26 Title handling
svn: r1328
2003-03-07 02:21:18 +00:00
Don Allingham
eb4faa076b Window title strings
svn: r1327
2003-03-06 06:12:51 +00:00
Don Allingham
09615b38a5 Translation strings
svn: r1325
2003-03-05 06:01:31 +00:00
Don Allingham
4cd7010bcb Removed unneeded pygtk calls
svn: r1210
2002-11-27 05:56:23 +00:00
Don Allingham
d21a317b93 use pygtk.require to determine database
svn: r1205
2002-11-26 04:06:23 +00:00
Don Allingham
b6926fa77b UTF-8 support for translations, clean up gettext, improved gallery handling
svn: r1204
2002-11-25 04:30:36 +00:00
Don Allingham
0ca0ae439e Initial revision
svn: r1140
2002-10-20 14:25:16 +00:00