Commit Graph

21597 Commits

Author SHA1 Message Date
Nick Hall
12fd97eaab Automatic update for old rules using regular expressions
svn: r22854
2013-08-11 14:12:24 +00:00
Vassilii Khachaturov
8e34bc809b 6909: Gedcom export adds birth place/date in death
_remaining_events method did the _dump_event_stats indiscriminately,
even if the event in question was skipped during processing as
a birth/death one. Moving the call into the _process_person_event
thus aligning the logic with _remaining_events's docstring.

svn: r22851
2013-08-11 13:32:34 +00:00
Paul Franklin
f2c6833cfc give the graphvizdialog's format_str a more-unique name
(to help distinguish it from the name displayer's format_str)


svn: r22845
2013-08-10 18:37:38 +00:00
John Ralls
6a5d9aab86 [r22840]Consolidate mslocales and self._lang_map
into a single dict for easier maintenance

Thanks to Paul Franklin for suggesting it

svn: r22841
2013-08-09 22:19:16 +00:00
Nick Hall
e4efaaa7b7 Remove redundant imports
svn: r22838
2013-08-09 21:36:57 +00:00
John Ralls
ee076d2c91 [r22833]Fix crash when Gramps is passed an invalid locale
svn: r22836
2013-08-09 20:01:42 +00:00
John Ralls
82ea4e8685 [r22832]Ensure en_US encoding is UTF-8
svn: r22835
2013-08-09 20:01:37 +00:00
John Ralls
6473f22f17 [r22831]GrampsLocale:Add Greek and English to MSlocales
svn: r22834
2013-08-09 20:01:31 +00:00
Nick Hall
e1cd73c4fb Convert old rules to use regular expression code in the base class
svn: r22829
2013-08-09 17:31:25 +00:00
Nick Hall
27cc9e4e6e Combine three new rules with existing rules
svn: r22827
2013-08-09 14:06:27 +00:00
Peter Landgren
aab10936c0 Some Swedish updates.
svn: r22825
2013-08-09 12:52:52 +00:00
Nick Hall
bbc73d6442 Add regular expressions to rules
svn: r22822
2013-08-08 22:51:03 +00:00
Nick Hall
b54199d7d0 python3 fix
svn: r22820
2013-08-08 13:01:57 +00:00
Nick Hall
894701e2f2 Fix for Windows line separator
svn: r22818
2013-08-08 12:45:01 +00:00
Nick Hall
fe98bbd6ff 6950: Add new rule for events with places matching filter
svn: r22815
2013-08-07 23:25:57 +00:00
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