Commit Graph

198 Commits

Author SHA1 Message Date
Brian Matherly
3f95d8ddb7 Plugins Restructure: Move docgen plugins into plugins/docgen.
svn: r11652
2009-01-18 04:59:14 +00:00
Doug Blank
3dcb919853 Missing e in const shortopts
svn: r11357
2008-11-28 19:28:43 +00:00
Doug Blank
2672033648 Missing -e and -L in const, and missing -o and -u in ArgHandler
svn: r11356
2008-11-28 19:21:20 +00:00
Brian Matherly
9fb61bec46 0002142: Patch to const.py.in to enable py2exe
svn: r10693
2008-05-08 12:08:19 +00:00
Zsolt Foldvari
88af8f6f9f authors.xml file is moved under src/data/.
svn: r10686
2008-05-07 08:51:57 +00:00
Brian Matherly
8be1ef0de2 Update the copyright line in the about box.
svn: r10676
2008-05-06 03:55:02 +00:00
Doug Blank
7132de7be1 Added -L to SHORTOPTS
svn: r10604
2008-04-20 12:53:44 +00:00
Zsolt Foldvari
3b66dc1e48 AboutDialog moved out from ViewManager to GrampsAboutDialog.
In the About dialog the list of developers is parsed from the authors.xml file.


svn: r10509
2008-04-06 20:35:38 +00:00
Benny Malengier
6499abe5af 2008-03-07 Benny Malengier <benny.malengier@gramps-project.org>
* src/const.py.in : new const for third party plugin page
	* src/ViewManager.py: in help, menu option for the third party plugins



svn: r10212
2008-03-07 14:31:04 +00:00
Raphael Ackermann
658d49407c 2008-02-25 Łukasz Rymarczyk <yenidai(at)poczta(dot)onet(dot)pl>
* src/const.py.in: query os.environ for GRAMPSHOME env and use it
	0001831: A patch allowing using a different home folder than default

svn: r10120
2008-02-25 22:02:01 +00:00
Benny Malengier
f37918ad3a 2008-01-28 Benny Malengier <benny.malengier@gramps-project.org>
* src/ArgHandler.py:
	* src/DbManager.py:
	* src/const.py.in: run ./autogen !!
	fix #1445, don't open locked/unrepaired dbs, new option -u to unlock



svn: r9944
2008-01-28 11:16:54 +00:00
Doug Blank
409a730fa0 2008-01-18 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/plugins/DefaultGramplets.py (SurnameCloudGramplet.main): 
	use const.NO_SURNAME to display blank entries
	* src/plugins/SameSurnames.py (SameSurname): exact match surnames
	* src/Simple/_SimpleAccess.py (SimpleAccess.surname): 
	surname() returns const.NO_SURNAME when left blank
	* src/const.py.in: new NO_SURNAME constant; RERUN ./autogen.sh !



svn: r9887
2008-01-18 18:28:28 +00:00
Peter Landgren
9471ac757d Help via -h and --help gives same info
svn: r9881
2008-01-18 11:00:01 +00:00
Benny Malengier
4172c30406 2008-01-16 Benny Malengier <benny.malengier@gramps-project.org>
* src/ArgHandler.py: don't crash arghandler on wrong input #1592
	* src/const.py.in: Add -h and --help so those work for non gnome users



svn: r9853
2008-01-16 20:23:20 +00:00
Raphael Ackermann
2670ca2637 2008-01-15 Raphael Ackermann <raphael.ackermann@gmail.com>
* src/const.py.in: added constants for help pages
    * src/ViewManager.py: support for help pages called from menu
    0001606: Help menu items not functioning

svn: r9821
2008-01-15 17:59:56 +00:00
Benny Malengier
afaca66068 2008-01-12 Benny Malengier <benny.malengier@gramps-project.org>
* src/const.py.in: new manual constant keys
	* src/GrampsDisplay.py: show wiki manual, allow webpage and 
		section to be passed
	RERUN ./autogen.sh


svn: r9785
2008-01-12 15:24:19 +00:00
James G Sack
91f4a23c3f really fix encoding buglet in const.py.in
svn: r9688
2008-01-03 00:09:48 +00:00
James G Sack
2803d5bc60 fix encoding buglet in const.py.in
svn: r9687
2008-01-02 22:10:06 +00:00
Jérôme Rapinat
bc66824cb8 src/const.py.in minor improvement
svn: r9671
2008-01-01 09:21:00 +00:00
Benny Malengier
fb60df120a 2007-12-29 Benny Malengier <benny.malengier@gramps-project.org>
* src/ArgHandler.py: better handling of -l
	* src/const.py.in: forgot to commit this, new constants
	* configure.in: remove GrampsDb makefile
	* src/DbManager.py: allow inheriting create_new_db_cli


svn: r9625
2007-12-29 14:47:38 +00:00
Brian Matherly
7067817868 Move the entire Gramps dir under "Application Data" in Windows.
svn: r9583
2007-12-25 05:54:41 +00:00
James G Sack
ecfa4aa0c0 add USER_xxx constants to const, use them
svn: r9407
2007-11-26 05:11:19 +00:00
Zsolt Foldvari
faaaf7e858 2007-09-28 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/docgen/CairoDoc.py (fontstyle_to_fontdescription): Fix deprecated
        warning.
        * src/ReportBase/_PaperMenu.py:
        * src/data/papersize.xml:
        Fix "C" and "D" paper size values.
        * src/const.py.in: Correct PAPERSIZE path constant.



svn: r9026
2007-09-28 12:24:27 +00:00
Don Allingham
a65a73d1d7 * various: const.py changes
2007-09-07  Don Allingham  <don@gramps-project.org>
	* src/DateHandler/_Date_fr.py: fix indentation errors

2007-09-07  Don Allingham  <don@gramps-project.org>


svn: r8948
2007-09-08 05:54:02 +00:00
Don Allingham
150a0fc05d svn: r8540 2007-06-13 02:27:31 +00:00
Zsolt Foldvari
bccf5acf4c 2007-02-21 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/MarkupText.py: raise error in case of parsing failure.
	* src/const.py.in: add argument support for debug switch.
	* src/ArgHandler.py (parse_arg): handle debug switch argument.



svn: r8207
2007-02-21 16:20:55 +00:00
Zsolt Foldvari
4cd6d41f79 * src/MarkupText.py: cleanup
* src/DisplayTabs/_NoteTab.py (build_interface): debug log
	* src/const.py.in: add new command line arg '-d,--debug'
	* src/gramps.py (setup_logging): change root logger default level
	to WARNING
	* src/ArgHandler.py (parse_arg): handle command line arg: debug

2007-02-12  Zsolt Foldvari  <zfoldvar@users.sourceforge.net>


svn: r8093
2007-02-12 22:33:03 +00:00
Alex Roitman
5000d97921 2007-01-09 Alex Roitman <shura@gramps-project.org>
* src/const.py.in: use proper macros.
	* src/gramps.py: Correctly define dirs.



svn: r7889
2007-01-10 02:14:25 +00:00
Alex Roitman
c95dac5a29 2006-11-25 Alex Roitman <shura@gramps-project.org>
* src/GrampsDb/_GrampsBSDDB.py (GrampsBSDDB.load): Use
	per-database environment dirs, under ~/.gramps/env dir.
	* src/const.py.in (env_dir): Add new variable.



svn: r7697
2006-11-26 03:00:44 +00:00
Alex Roitman
ca700bd5c5 Update
svn: r7480
2006-10-29 03:50:17 +00:00
Alex Roitman
303d58647c * src/ViewManager.py (ViewManager.about): Use const.py.
* src/const.py.in (url_manual): Add the link constant.
	* src/GrampsDisplay.py (help): Update the link.


svn: r7478
2006-10-29 03:01:56 +00:00
Alex Roitman
3cf94b4f16 2006-10-27 Alex Roitman <shura@gramps-project.org>
* src/const.py.in: Put gettext import back.



svn: r7448
2006-10-27 17:37:08 +00:00
Alex Roitman
4cb9251617 * src/ViewManager.py (ViewManager.about): Translate comments.
* src/const.py.in: No gettext (won't work anyway because const.py
	is imported before textdomain is set.


svn: r7444
2006-10-27 02:49:54 +00:00
Alex Roitman
2f8da09247 2006-09-12 Alex Roitman <shura@gramps-project.org>
* src/const.py.in (app_gramps): Revert to using a string.



svn: r7317
2006-09-12 20:51:47 +00:00
Don Allingham
ad96e4fbf0 2006-09-11 Don Allingham <don@gramps-project.org>
* src/GrampsDb/_ReadXML.py: don't assume that os.path.sep is the
	first element of an absolute path. Many not be true on some legacy
	operating systems.



svn: r7312
2006-09-11 15:38:59 +00:00
Brian Matherly
445ea130cd * src/const.py.in: Disable thumbnailer for Windows.
svn: r7267
2006-08-26 02:46:40 +00:00
Brian Matherly
3d3eda02a5 * src/Config/_GrampsIniKeys.py: Report error on invalid filename
* src/const.py.in: detect windows home directory before others

svn: r7216
2006-08-20 21:52:49 +00:00
Don Allingham
0abb982817 svn: r6825 2006-05-31 03:23:55 +00:00
Alex Roitman
7cd3d8e028 * src/const.py.in: Use gettext.
* src/GrampsDb/_ConstXML.py: Remove file.


svn: r6736
2006-05-21 20:27:46 +00:00
Don Allingham
7bae68c6f1 * src/DataViews/_MediaView.py: Shorten tab name
* src/DataViews/_RepositoryView.py: Shorten tab name
	* src/DataViews/_SourceView.py: Shorten tab name
	* src/DataViews/_EventView.py: Shorten tab name
	* src/DataViews/_FamilyView.py: Shorten tab name
	* src/DataViews/_FamilyList.py: Shorten tab name
	* src/DataViews/_PedigreeView.py: Shorten tab name
	* src/DataViews/_PlaceView.py: Shorten tab name
	* src/DataViews/_PersonView.py: Shorten tab name
	* src/DataViews/_MapView.py: Shorten tab name
	* src/glade/gramps.glade: remove unused option
	* src/const.py.in: bugtracker address fix


svn: r6416
2006-04-22 22:09:16 +00:00
Don Allingham
dcec2c11c9 remove expanduser
svn: r6218
2006-03-29 04:11:17 +00:00
Don Allingham
ae90bbe812 remove convert dependency
svn: r6217
2006-03-29 03:21:29 +00:00
Don Allingham
0328a4a943 .ini settings
svn: r6186
2006-03-21 06:33:59 +00:00
Don Allingham
e6f0bf7dda lds specific data moved
svn: r6185
2006-03-21 06:23:45 +00:00
Alex Roitman
b15b66060c * various: Use TransUtils.sgettext instead of gettext.gettext to work out stripping the context.
svn: r6156
2006-03-16 20:25:15 +00:00
Alex Roitman
596894f4f7 Update
svn: r6138
2006-03-11 05:11:41 +00:00
Don Allingham
45d3db4ea4 Add option to suppress tooltips in trees
svn: r6111
2006-03-09 19:07:13 +00:00
Alex Roitman
2197038797 Update
svn: r6099
2006-03-08 01:16:20 +00:00
Don Allingham
dfeb7259b3 new logging scheme
svn: r6080
2006-03-05 04:31:24 +00:00
Don Allingham
71b3c72d70 relocate glade files
svn: r6075
2006-03-04 22:53:46 +00:00
Don Allingham
4efbaaa16c update new installation paths
svn: r6046
2006-03-03 00:17:58 +00:00
Alex Roitman
72ff16c982 * src/*png, src/*jpg: move under images directory.
svn: r6043
2006-03-02 23:37:16 +00:00
Don Allingham
26092c071a * src/AddrEdit.py: remove already_exist check in favor of exception
* src/AttrEdit.py: remove already_exist check in favor of exception
* src/DisplayState.py: remove already_exist variable
* src/DisplayTabs.py: handle exception
* src/EditEventRef.py: remove already_exist check in favor of exception
* src/EditFamily.py: update to derive from EditPrimary
* src/EditMedia.py: update to derive from EditPrimary
* src/EditMediaRef.py: remove already_exist check in favor of exception
* src/EditPerson.py: update to derive from EditPrimary
* src/EditPlace.py: update to derive from EditPrimary
* src/EditRepository.py:update to derive from EditPrimary
* src/EditSource.py: update to derive from EditPrimary
* src/EditSourceRef.py: remove already_exist check in favor of exception
* src/Errors.py: new exception
* src/EventEdit.py: update to derive from EditPrimary
* src/EventView.py: catch exception of window already exists
* src/FamilyList.py: catch exception of window already exists
* src/FamilyView.py: catch exception of window already exists
* src/GrampsWidgets.py: typos
* src/NameEdit.py: remove already_exist check in favor of exception
* src/PedView.py: catch exception of window already exists
* src/PersonView.py: catch exception of window already exists
* src/PlaceView.py: catch exception of window already exists
* src/Plugins.py: catch exception of window already exists
* src/UrlEdit.py: remove already_exist check in favor of exception
* src/const.py.in: dynamically determine path
* src/gramps.glade: name changes
* src/gramps.py: set path


svn: r6014
2006-03-01 05:08:11 +00:00
Don Allingham
df813976e4 fix cwd
svn: r5886
2006-02-05 05:33:29 +00:00
Don Allingham
1226c0d55a * src/AddMedia.py: glade path
* src/AddrEdit.py: glade path
* src/AttrEdit.py: glade path
* src/DateEdit.py: glade path
* src/EventEdit.py: glade path
* src/GrampsCfg.py: glade path
* src/ImageSelect.py: glade path
* src/Sources.py: glade path
* src/StyleEditor.py: glade path
* src/const.py.in: glade path
* src/Marriage.py: glade path
* src/unlocked.png: added
* src/GrampsDb/_ReadGedcom.py: optimize UI updates, add test code


svn: r5772
2006-01-17 05:03:30 +00:00
Don Allingham
c8bbadb15f * src/const.py.in: remove unused variables
* src/gramps.glade: remove unused dialogs


svn: r5751
2006-01-14 05:27:48 +00:00
Alex Roitman
99849a02c1 * src/GrampsLogger/.cvsignore: Add to CVS.
* src/const.py.in: Add directory for the db environment.
* src/GrampsDb/_GrampsDbBase.py: Use new logging;
(get_number_of_repositories): add method; (_del_*): add
placeholder methods -- must be overriden in derived classes.
* src/GrampsDb/_GrampsBSDDB.py: Use new logging; Add txn attribute
to the database; (open_table): rename dbopen; (get_*_cursor): Pass
txn to cursor constructors; (load): Open environment with
transaction-capable flags, open tables with AUTO_COMMIT flag;
(rebuild): use txn; (_delete_primary_from_reference_map): Use txn;
(_update_reference_map): Use txn; (_del_*)L Use txn; (remove_*):
remove unneeded functions (already in DbBase);
(_get_obj_from_gramps_id): Use txn;
(_commit_base,_do_commit,_find_from_handle): Add and use txn;
(transaction_commit): create and commit txn; do not sync().


svn: r5682
2006-01-06 20:55:49 +00:00
Alex Roitman
2f962b5f96 merge changes from gramps20
svn: r5482
2005-12-06 06:38:09 +00:00
Martin Hawlisch
ff7af5b673 * src/gramps_main.py: pass DisplayState to TipOfDay
* src/TipOfDay.py: Use DisplayState
* src/const.py.in: add GRAMPS websites
* src/ViewManager.py: Add TipOfDay; Make GRAMPS websites work again


svn: r5124
2005-08-25 15:08:07 +00:00
Don Allingham
2fe3e67f7c * src/ViewManager.py: set up about box and other HELP menu items
* src/const.py.in: strings for about box
* Makefile.am: install COPYING file to provide text for GPL.


svn: r5073
2005-08-13 03:23:02 +00:00
Alex Roitman
621761ef5c * src/const.py.in: Remove obsolete constants.
svn: r5042
2005-08-09 14:43:04 +00:00
Alex Roitman
895d7e1a53 Merge changes made between 2.0.3 and 2.0.5
svn: r4911
2005-07-08 20:24:54 +00:00
Alex Roitman
3771ee4ff9 * src/RelLib.py: Move constants back to RelLib, as class attributes.
* src/Utils.py: Move constant mappings from const.py.in
* src/const.py.in: Move constants and mappings elsewhere.
* various: Use constants from RelLib, not const.


svn: r4736
2005-05-30 20:41:43 +00:00
Martin Hawlisch
51d1c21ab7 * src/const.py.in: Replace static definition of lds_temple_to_abrev by dynamic generation from lds_temple_codes so they need to be defined only once.
svn: r4723
2005-05-27 21:39:39 +00:00
Alex Roitman
29f33e9db9 Update
svn: r4717
2005-05-27 20:13:11 +00:00
Alex Roitman
b9746a58e9 * src/const.py.in: Get rid of TransTable use in favor of int contsants.
* src/GrampsBSDDB.py (upgrade_2): Use proper constants.
* src/RelLib.py: Move constants out to const.py.in.


svn: r4716
2005-05-27 20:09:28 +00:00
Alex Roitman
fed2cd87e6 Merge SOUR_REPO branch with main trunk
svn: r4712
2005-05-27 17:43:04 +00:00
Alex Roitman
c0818faa93 * src/const.py.in: Define integer constants for standard events.
svn: r4707
2005-05-27 14:04:53 +00:00
Don Allingham
e9b4823d09 * src/EditPerson.py: start of new gallery
* src/ImageSelect.py: start of new gallery
* src/Witness.py: fix listmodel
* src/const.py.in: LDS temple names
* src/edit_person.glade: start of new gallery


svn: r4465
2005-05-03 04:06:03 +00:00
Don Allingham
ccbf79cc5c * src/const.py.in: convert Alternate Birth and Alternate Death to
Birth and Death


svn: r4448
2005-05-01 04:22:08 +00:00
Don Allingham
7cac4ec348 * src/edit_person.glade: re-add edit_person.glade
* src/EditPerson.py: start of new EditPerson dialog
* src/ListModel.py: enhancements for the start of inline editing
* src/Makefile.am: add edit_person.glade
* src/ReadXML.py: commit transactions properly
* src/const.py.in: add edit_person.glade back in


svn: r4375
2005-04-19 04:20:17 +00:00
Don Allingham
80810426f9 * src/DbPrompter.py: provide a better error message of DB open failure
* src/const.py.in: Add Martin Hawlisch and Richard Tayor to author list


svn: r4300
2005-04-05 15:31:04 +00:00
Don Allingham
b0d3ab87aa * src/EventEdit.py: Display error message if event type not specified.
* src/gramps_main.py: fix merge callback


svn: r4240
2005-03-26 15:27:39 +00:00
Alex Roitman
a384bc20b7 * src/gramps_main.py (__init__): Catch "ErrorSchemaInvalid" exception
* src/Errors.py (GConfSchemaError): Add new exception.
* src/const.py.in: Remove exception string "ErrorSchemaInvalid"
(replaced by new class).
* src/GrampsGconfKeys.py (get_bool,get_int,get_string): Raise exception.


svn: r4204
2005-03-17 20:33:36 +00:00
Martin Hawlisch
4cee5528a5 * src/GrampsGconfKeys.py (get_bool,get_int,get_string): Raise exception when default value could not be get from gconf schema
* src/const.py.in: Add custom exception "ErrorSchemaInvalid"
* src/GrampsMime.py (mime_type_is_defined): New method that returns True/False
* src/gramps_main.py (__init__) Catch "ErrorSchemaInvalid" exception and check for installed MIME-type. Show error because installation is incomplete.


svn: r4200
2005-03-17 19:28:00 +00:00
Martin Hawlisch
72c4a6476a * src/plugins/ImportvCard.py: A quickly hacked version of a vCard importer. Maybe it is useful for someone.
* src/const.py.in: added mime for vCard import.


svn: r4196
2005-03-16 22:40:42 +00:00
Alex Roitman
00b730208c Update
svn: r4135
2005-03-08 17:41:30 +00:00
Alex Roitman
c882cf1633 * src/EditPerson.py: Remove numerous multiple definitions.
* src/AttrEdit.py (__init__): Set text to translated attribute type.
* src/const.py.in (display_attr): Add function.


svn: r4132
2005-03-08 17:18:33 +00:00
Don Allingham
bf94c0f844 * src/ChooseParents.py: use integers instead of strings for
relationship types
* src/PedView.py: use integers instead of strings for
relationship types
* src/ReadGedcom.py: use integers instead of strings for
relationship types
* src/ReadXML.py: use integers instead of strings for
relationship types
* src/RelLib.py: use integers instead of strings for
relationship types
* src/SelectChild.py: use integers instead of strings for
relationship types
* src/WriteXML.py: use integers instead of strings for
relationship types
* src/const.py.in: use integers instead of strings for
relationship types
* src/gramps_main.py: call database update function
* src/GrampsBSDDB.py: add database upgrade function
* src/GrampsDbBase.py: add database upgrade function


svn: r4113
2005-03-03 05:33:22 +00:00
Don Allingham
ca2f90e4d0 * src/AddrEdit.py: update main source list after source addition
* src/AttrEdit.py: update main source list after source addition
* src/EditPerson.py: update main source list after source addition
and place addition
* src/EventEdit.py: update main source list after source addition
and place addition
* src/FamilyView.py: update main source list after source addition
* src/Marriage.py: update main source list after source addition
* src/NameEdit.py: update main source list after source addition
* src/Sources.py: update main source list after source addition
* src/gramps_main.py: update main source list after source addition
* src/const.py.in: new constants


svn: r4099
2005-02-27 05:51:59 +00:00
Alex Roitman
329e8b6f3d * src/ArgHandler.py: Command line support for geneweb import
and export; Fix command line exports for gedcom, XML, and package.
* src/Exporter.py (help): Point to correct manual section.
* src/const.py.in: Add a constant for geneweb mime type name.
* src/plugins/WriteFtree.py: Support wizard and fix command line mode.
* src/plugins/writeftree.glade: Support export wizard.
* src/plugins/WritePkg.py: Support wizard and fix command line mode.
* src/plugins/ImportGeneWeb.py: Comment out debugging messages.
* src/plugins/WriteGeneWeb.py: Support for command-line export.


svn: r4054
2005-02-19 19:05:48 +00:00
Alex Roitman
91b3c8beb3 * src/ArgHandler.py: Support for opening in the command-line mode.
* src/const.py.in: Add -O | --open option.


svn: r3991
2005-01-29 23:34:09 +00:00
Alex Roitman
55c549de0a * src/docgen/KwordDoc.py: Register with paper capabilites.
* src/docgen/PdfDoc.py: Register with paper capabilites.
* src/docgen/RTFDoc.py: Register with paper capabilites.
* src/const.py.in: Update copyright year.
* NEWS: Update.


svn: r3914
2005-01-15 20:24:29 +00:00
Don Allingham
09328f505b * src/GrampsIniKeys.py: provide support for the default schema
* src/GrampsKeys.py: select appropriate backend
* various: switch from GrampsGconfKeys to GrampsKeys for normal usage

* src/GrampsIniKeys.py: Alternate backend using .ini files instead
of gconf


svn: r3873
2005-01-06 17:28:31 +00:00
Alex Roitman
c0f3a10147 * src/ArgeHandler.py: Support for CODE for CLI mode.
* src/Plugins.py: Use 'text' instead of 'doc'.
* src/Report.py: Support for CODE reports.
* src/ReportOptions.py: Paper-setting methods for runtime.
* src/const.py.in: Label change.
* src/plugins/GraphViz.py: Convert to new scheme.


svn: r3867
2005-01-05 05:56:33 +00:00
Don Allingham
40559041d3 * src/Plugins.py: move non-gui functions to PluginMgr.py
* src/PluginMgr.py: Non-gui functions for plugins
* src/Makefile.am: Added PluginMgr.py
* various: switch from Plugins to PluginMgr


svn: r3866
2005-01-05 05:02:19 +00:00
Don Allingham
2c7a46429f * src/RelLib.py: documentation improvements, move family
relations constants from const.py.in
* src/AddSpouse.py: relationship constant changes
* src/BaseDoc.py: documentation improvements
* src/ChooseParents.py: relationship constant changes
* src/Date.py: documentation changes
* src/ReadGedcom.py: relationship constant changes, remove
unused global
* src/ReadXML.py: relationship constant changes
* src/SelectChild.py: has_family to get_parent_family
* src/const.py.in: moved family relation constants to RelLib
* src/plugins/Check.py: relationship constant changes
* src/plugins/ImportGeneWeb.py: relationship constant changes
* src/plugins/WriteGeneWeb.py: relationship constant changes


svn: r3836
2004-12-24 18:46:34 +00:00
Alex Roitman
c8bfe2e8d3 Merge REP_OPT branch
svn: r3827
2004-12-22 01:56:37 +00:00
Alex Roitman
5c88f9bd58 * src/DateDisplay.py: Remove localized displayers.
* src/DateParser.py: Remove localized parsers.
* src/DateHandler.py: Remove hard-coded localization assignments;
load localized classes from dates directory.
* src/const.py.in: Add datesDir constant.
* src/dates/Date_ru.py: Add to CVS.
* src/dates/Date_fr.py: Add to CVS.
* src/dates/Makefile.am: Add to CVS.
* src/dates/.cvsignore: Add to CVS.
* configure.in: Generate src/dates/Makefile.
* src/Makefile.am: Add dates to SUBDIRS.


svn: r3729
2004-11-16 03:44:23 +00:00
Don Allingham
5aefd4463f * src/DateParser.py: handle leap year in gregorial validity check
* src/MergeData.py: Preserve more data when merging
the 1.0.X patch from Julio Sanchez)
* src/plugins/ReadGedcom.py: Attach top leve source to the
person instead of the primary name (ported from	the 1.0.X patch
from Julio Sanchez)
* src/const.py: Add support for "Number of Children" attribute
(GEDCOM NCHI) (ported from the 1.0.X patch from Julio Sanchez)


svn: r3728
2004-11-15 02:07:21 +00:00
Don Allingham
7f94d0fb51 * src/const.py.in: remove calendar directory
* src/gramps_main.py: remove calendar directory
* configure.in: remove calendar directory


svn: r3574
2004-09-25 20:52:38 +00:00
Don Allingham
0e9346bfff * src/PeopleModel.py: enhanced column_spouse
* src/RelLib.py: enhance probably_alive to check for "Cause
of Death", "Burial", and "Cremation" events to indicate that
a person is not alive.
* src/const.py.in: add support for "Marriage Banns"

* src/ReadXML.py: set last change time, support handles


svn: r3499
2004-08-24 04:14:08 +00:00
Alex Roitman
73d8bdafdc * src/const.py.in: Add gramps-package mime type.
* src/ArgHandler.py (auto_save_load): Subclass database depending
on the format.


svn: r3496
2004-08-23 22:39:41 +00:00
Don Allingham
3a9130f5ad * various: Updated cleaned up API
svn: r3388
2004-08-13 04:34:07 +00:00
Don Allingham
082907d675 * various: change try_to_find_*_from_handle to
get_*_from_handle


svn: r3355
2004-08-07 05:16:57 +00:00
Don Allingham
eda23b8ecc * 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
Don Allingham
1cd90a8bb0 * src/const.py.in: fix relationship types
svn: r3303
2004-07-31 03:51:34 +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
02a0fc3072 * src/filters/*: removed
* src/plugins/WritePkg.py: brought up to date


svn: r3205
2004-06-12 04:39:45 +00:00
Don Allingham
1e9b3cfc20 * 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