24 Commits

Author SHA1 Message Date
Josip
6286d938d3 7378: Starting Gramps without console not possible 2014-01-21 19:41:55 +01:00
Vassilii Khachaturov
48f0826235 7088: remove SDN version reporting
Revert "7066: Reapply from trunk sdn version reporting"

This reverts commit dc5f50175abcdaa41ff07eccc688af047bc877e9.

svn: r23231
2013-09-30 19:29:04 +00:00
Vassilii Khachaturov
95c805f325 7066: Reapply from trunk sdn version reporting
Merged from
	commit dbae40dd1edad52023b828d5eef0fe7eb3684fb6
	Author: Vassilii Khachaturov <vassilii@tarunz.org>
	Date:   Sat Sep 14 19:42:48 2013 +0000

		7066: use sdn module from Calendar package on pypi

		Unfortunately, no package on ubuntu for sdn...

		Bug fixed on trunk, when sdn is present on the system.
		Verified that sdn roundtrip works.
		date_test now fails on 1789-13-4(French) recognized as invalid,
		as it probably should -- I guess this one is a test bug.

		git-svn-id: svn+ssh://svn.code.sf.net/p/gramps/code/trunk@23127 4ae1f11a-8b86-4847-b8af-ab372f36d1fd

	M       gramps/gen/lib/calendar.py
--->M       gramps/grampsapp.py

svn: r23132
2013-09-14 23:24:20 +00:00
Vassilii Khachaturov
949c41107a action 'tool' CLI handler broken w/o DISPLAY
Preparing to port my fix for 6953: remove "undo history warning"
when the BatchTool run from cli (e.g., "check")
from gramps34, the ground state was worse in gramps40...

svn: r22898
2013-08-21 17:24:18 +00:00
John Ralls
7005b63a43 [r22025]Take the localization debug info from GrampsLocale
instead of locale

svn: r22042
2013-04-20 23:22:44 +00:00
John Ralls
58c2b11013 [r21968]GrampsLocale: Remove get_translation()
Only one base translation per locale. To set up a different locale
on any axis (locale, domain, directory, or languages) instantiate a
secondary locale by calling GrampsLocale() with the appropriate
arguments.

svn: r21985
2013-04-13 14:37:34 +00:00
Paul Franklin
1f94813e59 restore SVN number to "gramps -v" output
svn: r21752
2013-03-26 19:02:37 +00:00
John Ralls
13a49a63ff [r21614]Move VERSION, VERSION_TUPLE, major_version
from const.py to version.py

As noted in the previous change, importing const into setup.py tried to
initialize GrampsLocale and ResourcePath, which won't work. Since all we
want is the VERSION string, move that to a new file, gramps/version.py

svn: r21619
2013-03-11 22:54:31 +00:00
Paul Franklin
113fbcfc7f handle CLI pathological case
svn: r21583
2013-03-07 23:30:03 +00:00
Paul Franklin
2528da2f2d add ICU/PyICU to "gramps -v"
svn: r21530
2013-03-03 03:19:37 +00:00
Paul Franklin
e6034cde4b behave gracefully if no GExiv2 under Python3
svn: r21467
2013-02-26 20:36:18 +00:00
Paul Franklin
123a6e0ecf sync gramps40 to trunk (two places)
svn: r21426
2013-02-24 06:06:42 +00:00
John Ralls
fccfdecd03 [r21148]GrampsLocale: Simplify the file-finding functions
Making use of the fact that GrampsLocale now knows what
encoding to use, and noting that filesystems don't use
more than one encoding to write filenames in directories.

Also specify the encoding on some more files

svn: r21396
2013-02-24 00:52:26 +00:00
John Ralls
3788d52107 [r21143]Localization: Re-implement localization as a class, GrampsLocale
GrampsLocale is effectively a singleton: An instance is created in
const.py and retrieved everywhere.

Translations are provided via Translations classes, which are derived
from GNUTranslations and NullTranslations to provide extra functions
like sgettext.

svn: r21391
2013-02-24 00:46:03 +00:00
John Ralls
740c7036d7 [r21142]Rename trans.py and mactrans.py to grampslocale.py and
maclocale.py

Reflecting discussion on gramps-devel about their affecting more than
just translations.

Provide for a master GrampsLocale instance to be retrieved from
const.py, set by grampsapp.

svn: r21390
2013-02-24 00:45:50 +00:00
Nick Hall
eeaf8697f0 6408: Display GExiv2 version rather than pyexiv2 version
svn: r21389
2013-02-23 23:36:23 +00:00
Peter Landgren
641155478f Fix of gramps -v for Graphviz and ghostscript.
svn: r21302
2013-02-05 15:18:59 +00:00
Tim G L Lyons
bb3ac61359 Change format of console logging messages to have a meaningful timestamp
svn: r21297
2013-02-04 19:15:45 +00:00
Benny Malengier
e292eb0400 6290: No Text report with output format PDF is created
6292: No Text report, with output format Print... , is created.


svn: r21063
2013-01-11 14:51:26 +00:00
Benny Malengier
c208b91184 Recover gracefully from some errors in python3
svn: r20950
2013-01-03 10:28:51 +00:00
Benny Malengier
c46a66ecd1 More version strings
svn: r20880
2012-12-30 15:14:40 +00:00
Benny Malengier
1cad822978 2620: GEPS 031: Python 3 support - 3.2
* fix introduced errors: write of reference in db, check in dbloader on string type
 * working import of xml file in python 3


svn: r20659
2012-11-15 10:28:19 +00:00
Benny Malengier
bb5fc7cb7c 2620: GEPS 031: Python 3 support - 3.2
This does patch updates Gramps to the 3.2 syntax, it does not yet mean Gramps works with python 3.2
Expect next day commits to fix further issues, but this is the main 2to3 tool created patch changed
where needed to have python 2.7 work. 
Specific issues might be:
  1. next has been changed, must be checked
  2. new division as on the wiki page listed is to do
  3. ...


svn: r20634
2012-11-07 17:53:14 +00:00
Benny Malengier
326d604365 GEPS 026: Replace 'make' for Gramps build
If we want to use Gramps from the code directory, src should be called gramps to allow import


svn: r20466
2012-09-30 11:55:52 +00:00