Commit Graph

21632 Commits

Author SHA1 Message Date
Vassilii Khachaturov
5a6aa0d259 comment/docstring fixes
svn: r22812
2013-08-07 08:20:32 +00:00
Vassilii Khachaturov
76d17ca38d 6883: non-Western fonts broken in PS reports
Port my fix from gramps34 branch.
Ditches old PSDrawDoc code, instead we have a common backend
for PDF and PS generation using Cairo.
Added bonus: PS is now an available backend for text reports, too!

svn: r22810
2013-08-06 22:26:05 +00:00
Vassilii Khachaturov
a145b8b8f2 Added tags file
svn: r22809
2013-08-06 22:25:52 +00:00
Nick Hall
ceffc5750f Convert VCard unit tests to use ElementTree
svn: r22806
2013-08-06 18:47:27 +00:00
Jérôme Rapinat
b2d09de02f update Lithuanian translation (contribution by Mindaugas Baranauskas)
svn: r22802
2013-08-06 10:29:26 +00:00
Nick Hall
a2f01e1a7d 6969: Connect to switch-page signal after the initial gramplets have been added
svn: r22800
2013-08-05 18:35:32 +00:00
Nick Hall
c075bea146 Close database files before removing them
svn: r22793
2013-08-03 16:46:10 +00:00
Nick Hall
b4c1863683 Add unit test for latitide/longitude conversion
svn: r22791
2013-08-01 20:45:37 +00:00
Nick Hall
df82eb9629 Convert callback test to use assert methods
svn: r22788
2013-07-31 20:11:47 +00:00
Nick Hall
0fd947e202 Add command to run unit tests from setup.py
svn: r22786
2013-07-31 18:21:33 +00:00
Nick Hall
d07666ae91 Move rotate handler test
svn: r22784
2013-07-31 16:47:28 +00:00
Nick Hall
c8c0164038 Unit test python3 fixes
svn: r22782
2013-07-30 22:06:29 +00:00
Nick Hall
adb63c0c5e Fix date unit test
svn: r22780
2013-07-30 19:59:44 +00:00
Nick Hall
15538da4a1 Remove superfluous console output in unit tests
svn: r22778
2013-07-30 16:58:13 +00:00
Nick Hall
cabbcead8f Remove redundant import
svn: r22776
2013-07-30 16:51:38 +00:00
Vassilii Khachaturov
66d3dde97a 6663: RecentFiles.do_save() doesn't do XML escape
ported my fix from gramps34, changes to gtk3 negligible

svn: r22774
2013-07-30 15:10:02 +00:00
Nick Hall
297e9906a9 Fix merge ref unit test
svn: r22771
2013-07-30 00:20:37 +00:00
Nick Hall
561886f41e Fix bug in unit test script
svn: r22769
2013-07-29 16:52:30 +00:00
Nick Hall
471b6beace Fix and move db unit tests
svn: r22767
2013-07-29 16:34:16 +00:00
Jérôme Rapinat
dcd8757a77 .deb package more compliant according to Debian policy
svn: r22765
2013-07-29 16:28:34 +00:00
Vassilii Khachaturov
056d82895e 6957: VCF export/import should support [x-]gender
port from gramps34

svn: r22763
2013-07-29 08:53:08 +00:00
Nick Hall
a9cad8c0d2 Convert db unit test to use unittest module
svn: r22760
2013-07-28 18:54:14 +00:00
Nick Hall
d5eb5ec8f1 Fix and move keyword unit test
svn: r22758
2013-07-28 18:10:27 +00:00
Nick Hall
0f8ff56fbe Fix and move config unit test
svn: r22756
2013-07-28 17:33:55 +00:00
Nick Hall
b7c5c77676 Fix and move CLI unit test
svn: r22754
2013-07-28 16:20:14 +00:00
Nick Hall
183e985747 Fix unit tests
svn: r22752
2013-07-28 14:57:22 +00:00
Nick Hall
d6ff126d5a 6954: Output command line messages and progress information to stderr rather than stdout
svn: r22750
2013-07-28 14:21:43 +00:00
Vassilii Khachaturov
62ca742313 6951: import/export test suite runner broken
Ported from gramps34 my commits r22744,5.
Adjusted for gramps40 path layout changes.

svn: r22746
2013-07-28 13:50:03 +00:00
Vassilii Khachaturov
fa21fde40c 6952: in RU locale, gramps --help is wrong for -u
svn: r22742
2013-07-28 09:47:52 +00:00
Paul Franklin
e15963f9f6 6946: global name 'UNITYPE' is not defined - can't open old database
svn: r22738
2013-07-26 19:12:55 +00:00
Paul Franklin
ca7ca5bc8d show more LDS temples on the screen
svn: r22735
2013-07-24 19:11:56 +00:00
Paul Franklin
9fa2057154 6872: wrong size of svg image in Family Lines Graph
svn: r22732
2013-07-24 16:27:09 +00:00
Vassilii Khachaturov
32b559c623 Reviving RunAllTests.py on gramps40/trunk
Porting from gramps34 my fix for 6935, 6937, 6938.

Import with full "gramps." qualification from the tests,
to overcome the relative import problem (see bug# 6938 for context).

All testing code has been adjusted to the filename and paths
changes since gramps34.
Same as on gramps34, one test fails still, will investigate if
it is a test or a code bug:
    ERROR: test_buffer_recall
    (ErrorReportAssistant_Test.ErrorReportAssistantTest)
    Test that simple recall of messages works.
    ----------------------------------------------------------------------
    Traceback (most recent call last):
      File "./GrampsLogger/ErrorReportAssistant_Test.py", line 60, in
    test_buffer_recall
        rotate_handler=rh)
      File "../gramps/gui/logger/_errorreportassistant.py", line 81, in
    __init__
        self.build_page1()
      File "../gramps/gui/logger/_errorreportassistant.py", line 267, in
    build_page1
        self._reset_error_details()
      File "../gramps/gui/logger/_errorreportassistant.py", line 178, in
    _reset_error_details
        self._error_detail.get_record()))
    AttributeError: 'str' object has no attribute 'get_record'

svn: r22729
2013-07-24 06:23:33 +00:00
Paul Franklin
b5b6a59f4f CLI --config values should be enterable in gramps.ini form (e.g. 0 or 1)
svn: r22727
2013-07-24 00:01:12 +00:00
Mirko Leonhäuser
8da09bd9f3 updated german translation
svn: r22725
2013-07-23 16:34:12 +00:00
Vassilii Khachaturov
e880bd9e10 6936: spelling and other fixes in RU rel calc
svn: r22721
2013-07-22 21:03:45 +00:00
Vassilii Khachaturov
88092e89eb 6932: check for broken GTK install on linux only
svn: r22716
2013-07-22 12:00:31 +00:00
Peter Landgren
d71131840f Translated three new strings.
svn: r22715
2013-07-22 09:09:47 +00:00
Paul Franklin
ff667d774f add the missing import to the 3139 fix I added, sigh
svn: r22712
2013-07-21 20:48:45 +00:00
John Ralls
7922f1ad61 [r22710]GrampsLocale: Don't set to 'C' if LANG is en_US
Not required, Gtk has an 'en' translation

Ref. http://www.gramps-project.org/bugs/view.php?id=6867

svn: r22711
2013-07-21 20:24:40 +00:00
Paul Franklin
7d9f42dc90 3139: boolean command line options have to be specified as foo=true ...
The solution was suggested by Doug Blank.


svn: r22708
2013-07-21 20:04:05 +00:00
John Ralls
127567278e [r22705]Bug 6928: Windows: If LANG not equal en_GB Graphic Reports
in some cases produce empty PDF sheets or force graphviz to crash

Problem was due to calling localized float() when parsing a C-locale xml file

svn: r22706
2013-07-21 19:28:20 +00:00
Vassilii Khachaturov
7301dccc55 2974: .rtf docgen doesn't escape backslashes
svn: r22703
2013-07-21 11:08:38 +00:00
Vassilii Khachaturov
1f90437ca3 6864: change warning to a more user-friendly one
s/Gramps ignored namemap value/Gramps ignored a name grouping/g

svn: r22700
2013-07-21 06:57:33 +00:00
Vassilii Khachaturov
4e0cad08b2 6884: RTF reports broken for intl chars
Re-applied my fix from trunk

svn: r22697
2013-07-20 16:33:14 +00:00
Mirko Leonhäuser
0f86ee2044 updated german translation
svn: r22693
2013-07-17 18:04:04 +00:00
Vassilii Khachaturov
3eb71e18a7 6915: not related tool treats siblings as not rel.
Applied patch from ennoborg, thanks!
(merge from trunk)

svn: r22691
2013-07-16 17:21:33 +00:00
Vassilii Khachaturov
8eed4a3d0d 6923: runtest.sh broken in gramps40/trunk
Merged fix from trunk:
    Fixed the file locations to work for the gramps40/trunk layout.

    Also porting my fix from gramps34 branch for
    6837: runtest.sh runs some reports that no longer exist

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

svn: r22686
2013-07-16 11:21:07 +00:00
Vassilii Khachaturov
6e895bacf4 6867: warn on gtk translation missing
Merge the fix from trunk:
    Give a dev-oriented warning on console and pop up a UI
    warning dialog for the user, when an inconsistent
    translation configuration is detected between gramps and gtk
    (happens when a langpack is missing on Ubuntu systems, e.g.)

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

svn: r22685
2013-07-16 11:20:56 +00:00
Paul Franklin
b5c3cf70ea 6922: Export gpkg crashes in svn 22654M
svn: r22681
2013-07-15 18:37:50 +00:00