Commit Graph

139 Commits

Author SHA1 Message Date
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