Nick Hall
43b6e62d2d
Update translation code to use LOCALE_DIR
...
svn: r20876
2012-12-29 17:52:17 +00:00
Nick Hall
f055e2748e
Add LOCALE_DIR. Remove PREFIXDIR and SYSCONFDIR.
...
svn: r20866
2012-12-28 19:59:07 +00:00
Doug Blank
163545089c
If you try to lookup an object too early, you might find that the tbl is still a dict; this protects such early lookups from crashing
...
svn: r20813
2012-12-21 18:25:37 +00:00
Jérôme Rapinat
d0d2c59cd5
common date handler for Norwegian Bokmål and Norwegian Nynorsk
...
svn: r20800
2012-12-20 13:46:36 +00:00
Benny Malengier
0e01b5919e
6231: WARNING: configmanager.py: line 309: WARNING: ignoring key with wrong type
...
'behavior.autoload'
svn: r20789
2012-12-18 11:50:02 +00:00
Benny Malengier
100eeec905
fix wrong print_exc usage, see bug 6223
...
svn: r20788
2012-12-18 11:17:47 +00:00
Tim G L Lyons
d21eae52e1
patch to get reload to work in trunk
...
svn: r20774
2012-12-07 18:57:54 +00:00
Tim G L Lyons
8203d2f49f
fixed problem that bibliography ignores media attached to citations, so if that is the only 'interesting' thing about the citation, the citation media is not output
...
svn: r20772
2012-12-05 22:56:53 +00:00
Nick Hall
b0d607dcd5
python3 fix
...
svn: r20751
2012-12-02 21:21:39 +00:00
Doug Blank
03bafbd9e6
Changes to: 1) bring trunk up to where gramps35 webapp was, 2) to bring old code up to python3 and pygobject use, and 3) use Django 1.4; (not all of webapp is back to working state yet)
...
svn: r20735
2012-12-01 22:13:30 +00:00
Jérôme Rapinat
1dd0ebca64
update to new root dir ('src' to 'gramps')
...
svn: r20722
2012-12-01 11:52:17 +00:00
Jérôme Rapinat
eca67c5c3e
update broken url (url for SVN)
...
svn: r20721
2012-12-01 11:46:54 +00:00
Paul Franklin
dbe7fbc248
revert accidental 20685 regressions (and therefore 20699 corrections)
...
svn: r20710
2012-11-29 21:37:25 +00:00
Paul Franklin
1c22612f5d
for Python files in the "gramps" (only) sub-tree:
...
1) add SVN svn:keywords "Id" property if it didn't have it
2) add SVN svn:mime-type "text/plain" property if it didn't have it
3) add SVN "Id" line to the file if it had none
4) reformat SVN "Id" line in the file if it needed it
svn: r20708
2012-11-27 04:31:14 +00:00
Benny Malengier
a1591a964c
python 3 support, avoid use of unicode
...
svn: r20699
2012-11-23 17:22:00 +00:00
Brian Matherly
3c3e5e8248
Tweak docgen registration to specify options class name. Fix CLI reports.
...
svn: r20695
2012-11-23 04:12:50 +00:00
Jérôme Rapinat
bd28665977
try to update warning log according to new translation builder
...
svn: r20694
2012-11-22 17:45:36 +00:00
Jérôme Rapinat
14dbae104f
make relative import more consistent (python3, convension)
...
svn: r20692
2012-11-21 19:58:30 +00:00
Jérôme Rapinat
a34af94a40
make it work with python 3 (thank you Benny)
...
svn: r20690
2012-11-21 16:03:08 +00:00
Jérôme Rapinat
2825502b18
ImportError: No module named constfunc
...
svn: r20689
2012-11-21 14:31:27 +00:00
Brian Matherly
ace8790379
0003910: line width in "plain text" reports is constant (patch from Paul Franklin)
...
svn: r20685
2012-11-21 05:06:46 +00:00
Paul Franklin
28d939cda7
6155: Error when running Detailed Descendant Report
...
svn: r20674
2012-11-17 21:28:14 +00:00
Benny Malengier
8c4eb3d171
2620: GEPS 031: Python 3 support - 3.2
...
* working treeviews in python 3
* changed conv_to_unicode on python 3 so that it decodes to unicode
svn: r20663
2012-11-16 17:09:26 +00:00
Benny Malengier
2bdf6c8b95
2620: GEPS 031: Python 3 support - 3.2
...
* working gedcom import
* fixes in listviews
* fixes in db managaer and import dialog
svn: r20662
2012-11-16 13:05:56 +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
8b39b80dc8
2620: GEPS 031: Python 3 support - 3.2
...
round 2 for python 3 support:
* no more cmp, also not in sort and sorted
* bsddb needs bytestring keys
* gtk does not need utf-8 encoded anymore...
svn: r20658
2012-11-15 08:08:31 +00:00
Benny Malengier
59e3fe1f46
Fix error if string is already unicode
...
svn: r20647
2012-11-10 16:53:49 +00:00
Benny Malengier
b4ca613e21
Fix some gettext warnings
...
svn: r20646
2012-11-10 11:26:14 +00:00
Benny Malengier
70d50d2fc2
python 3 support: fixes, no longer maxint, missing sys import, next change by 2to3
...
svn: r20637
2012-11-07 21:20:24 +00:00
Benny Malengier
bba47e960b
python 3.2 support: calendar computation with new division
...
svn: r20635
2012-11-07 20:18:16 +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
Tim G L Lyons
a82623eca4
0005859: Stepsiblings are NOT correct
...
0006068: Narrative Web reports two people as step family when one of the parents is unknown for both
0001400: NarrativeWeb lists half-siblings in order
Various fixes for 'Parents' section of 'Individual' pages.
svn: r20579
2012-10-23 12:06:02 +00:00
Jérôme Rapinat
6d63f9be46
6142: set option for using last view to False by default
...
svn: r20577
2012-10-23 08:50:36 +00:00
Nick Hall
88e6df595f
Fix style sheet bug in books
...
svn: r20527
2012-10-07 15:05:36 +00:00
Jérôme Rapinat
2658861b18
#6086 : start to update index for translation strings
...
svn: r20526
2012-10-07 13:52:31 +00:00
Nick Hall
289689ffa8
GEPS 008: Move book code
...
svn: r20524
2012-10-05 14:58:20 +00:00
Benny Malengier
91e6df28c1
GEPS 026: Replace 'make' for Gramps build
...
Remove all makefile in gramps code
Still present: make for doc creation and make for webapp
svn: r20499
2012-10-03 08:46:04 +00:00
Benny Malengier
c7c8d4b0f0
Code guidelines: absolute import outside of submodule
...
svn: r20482
2012-10-02 11:45:19 +00:00
Benny Malengier
149298c52b
GEP 026: replace make
...
* somewhere along the road, all of plugins dir was added to sys.path, this
is not ok, we only needed lib on sys.path
* As due to the GEP we can import from the plugin directory, better just
import the lib modules needed, and avoid sys.path extension
* At the same time this fixes a bug due to __init__.py being present, import
of a file named equal to the plugin directory was importing the __init__.py,
not the intended file.
svn: r20481
2012-10-02 11:31:00 +00:00
Benny Malengier
0a34aa05b1
Fix error on relative import
...
svn: r20480
2012-10-02 10:30:52 +00:00
Benny Malengier
9832e6712e
Coding Guidelines: relative import of gen in gen submodule
...
svn: r20479
2012-10-02 08:28:08 +00:00
Benny Malengier
47a612c36a
Code guideline: move to relative import within gen module
...
svn: r20478
2012-10-01 20:53:08 +00:00
Benny Malengier
7bcccde1a6
Code guideline: relative imports
...
svn: r20475
2012-10-01 08:36:44 +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