Commit Graph

22544 Commits

Author SHA1 Message Date
Josip
f4abd460ba 7851: translations don't show in many labels, buttons, and other elements, Windows only
Added fix for Python3
2015-01-03 20:25:12 +01:00
Doug Blank
e568babb33 Records Gramplet uses wrong text 2015-01-03 11:01:35 -08:00
Josip
479992935c 6548: 'Available Gramps Updates for Addons' window not on top 2015-01-03 18:02:27 +01:00
Doug Blank
f626cb9d0a Test method name changes for automatic test detection 2015-01-03 11:24:13 -05:00
Doug Blank
bc4cd8ec2e Merge branch 'master' of ssh://git.code.sf.net/p/gramps/source 2015-01-03 10:28:06 -05:00
Doug Blank
cfb3b2cc84 Renamed test methods for proper automatic detection 2015-01-03 10:27:39 -05:00
Jérôme Rapinat
9bf4661453 8169 8267 typo: Glib should be GLib 2015-01-03 16:08:55 +01:00
Doug Blank
ed70aa0d74 Fix date_handler by renaming non-test methods; removed gedcom import tests that rely on old code, and didn't test much 2015-01-03 09:15:58 -05:00
Doug Blank
2b1405624f Fixes to DictionaryDb for Python3 and current gramps 2015-01-03 09:01:48 -05:00
Doug Blank
797f6c1683 merge_ref_test and importxml_test now passing 2015-01-02 22:32:25 -05:00
Doug Blank
626c11999e merge_test now passing all tests 2015-01-02 21:57:25 -05:00
Doug Blank
dcea49c2a7 Updates for struct to pass unit tests 2015-01-02 17:28:38 -05:00
Jérôme Rapinat
1f8aa6917f New year... 2015-01-02 10:05:07 +01:00
Paul Franklin
faeeeb6ceb specify SVG font size is in points, for stupid viewers 2014-12-30 10:54:23 -08:00
Paul Franklin
f137c5b909 8240: can't disable box shadow in SVG descendant tree 2014-12-30 10:37:26 -08:00
Ondrej Krč-Jediný
d6b00841d7 merge request #15 ; git clone http://git.code.sf.net/u/ondrisko/gramps ; update slovak translation 2014-12-29 18:01:37 +01:00
Paul Franklin
594e1aa0a2 move privacy option higher, make it more noticeable 2014-12-27 10:12:17 -08:00
Gerald Kunzmann
2f5ab9c6f8 7953: Kekule numbering in Detailed Ancestral Report 2014-12-27 10:08:28 -08:00
Bastien Jacquet
d426f6232e Our own interactive-search enabling customized and delayed search.
This commit provides same search capabilities as Gtk's.
The only difference should be the search being delayed
by 150ms after last keypress.

Signed-off-by: Bastien Jacquet <bastien.jacquet_dev@m4x.org>
2014-12-27 03:10:59 +01:00
Paul Franklin
f67620dbfe 8257: Crash when mixed "inflected" and "non inflected" months 2014-12-24 12:36:31 -08:00
Fedir Zinchuk
0643949cbf Update Ukrainian translation 2014-12-22 20:14:53 +02:00
Fedir Zinchuk
3be2150861 Update Ukrainian date handler 2014-12-22 20:10:45 +02:00
Fedir Zinchuk
88033fe549 Update Ukrainian translation 2014-12-19 15:31:24 +02:00
Paul Franklin
0b117f6adc 8148: Turkish language updates 2014-12-17 20:25:50 -08:00
Paul Franklin
713675521f 8185: Gramps freeze after defining a report stile with German cm values 2014-12-17 19:59:49 -08:00
Paul Franklin
1ed41b33e3 8237: descendant tree graphical report, syntax error in svg output 2014-12-17 19:40:37 -08:00
Paul Franklin
67206a7f4f add gramps-ID option 2014-12-15 18:54:32 -08:00
Paul Franklin
9284e3d1c9 add gramps-ID option 2014-12-15 18:54:20 -08:00
Paul Franklin
de8575fd18 modify gramps-ID option 2014-12-15 18:53:55 -08:00
kulath
c57f574cb8 Fix 0008234: part (2) Various problems with
docgen.TextDoc.add_media_object part (2) for master branch
2014-12-16 00:37:59 +00:00
kulath
4af340c1e1 Fix 0008234: Various problems with docgen.TextDoc.add_media_object part
(1) for master branch
2014-12-14 18:16:15 +00:00
Zdeněk Hataš
4e95abe0c9 czech translation update 2014-12-14 12:49:52 +01:00
leonhaeuser
e0822322a7 Fix German grammer bug [8231] 2014-12-13 22:24:51 +01:00
Jérôme Rapinat
a36a2a36e6 Enable Attributes gramplet support on Source/Citation bars; not backported yet because of #8144 2014-12-13 15:39:06 +01:00
Paul Franklin
660cf1b5af cover pathological case (perhaps from privacy proxy) 2014-12-12 11:07:59 -08:00
leonhaeuser
9774f405f1 Fix German typo Bug [8226] 2014-12-12 15:39:42 +01:00
Paul Franklin
bc02336867 make a new template (trunk-master gramps.pot) 2014-12-11 19:51:40 -08:00
Paul Franklin
2ba8a051b7 typo 2014-12-11 11:03:55 -08:00
Bastien Jacquet
22ef07cdeb FlatTreeView : Fix wrong return values 2014-12-11 01:02:56 +01:00
Nick Hall
4995765c5f 8029: Suppress warnings in UndoableEntry widget
Bug 644927 - Support out parameters in signals
https://bugzilla.gnome.org/show_bug.cgi?id=644927
2014-12-10 22:25:55 +00:00
Matti Niemelä
45326898dd Review by the Finnish team (Pekka and Matti) 2014-12-06 17:25:39 +01:00
Bastien Jacquet
d4a99d8488 Remove needless use of handles in FlatBaseModel.do_iter_next 2014-12-05 06:17:50 +01:00
Bastien Jacquet
48eb2842ee Optimize FlatNodeMap update of _hndl2index for add/delete
tests with python2.6 and python3 show that it's much quicker to get
the handles after the inser/deleted index and upgrade those
(because random-access in a hash-table is super fast)

Here is the code use for tests:

import string,random,sys
import timeit

def id_generator(size=6, chars=string.ascii_lowercase):
    return ''.join(random.choice(chars) for _ in range(size))

num_items=80000
handle_sizes=10
num_operation=2000
setup="""
from __main__ import id_generator,string,num_items,handle_sizes,random
_index2hndl=[("",id_generator(handle_sizes)) for e in range (num_items)]
_hndl2index=dict([key[1], index]
                for index, key in enumerate(_index2hndl))
"""

add0='''
h=id_generator(handle_sizes)
insert_pos= random.randrange(len(_hndl2index))
srtkey_hndl=("",h)
_index2hndl.insert(insert_pos, srtkey_hndl)
for hndl, index in _hndl2index.iteritems():
    if index >= insert_pos:
        _hndl2index[hndl] += 1
_hndl2index[h]=insert_pos
'''
add1='''
h=id_generator(handle_sizes)
insert_pos= random.randrange(len(_hndl2index))
srtkey_hndl=("",h)
_index2hndl.insert(insert_pos, srtkey_hndl)
for hndl, index in _hndl2index.items():
    if index >= insert_pos:
        _hndl2index[hndl] += 1
_hndl2index[h]=insert_pos
'''
add2='''
h=id_generator(handle_sizes)
insert_pos= random.randrange(len(_hndl2index))
srtkey_hndl=("",h)
_index2hndl.insert(insert_pos, srtkey_hndl)
for srt_key,hndl in _index2hndl[insert_pos+1:]:
    _hndl2index[hndl] += 1
_hndl2index[h]=insert_pos
'''
del0='''
index= random.randrange(len(_hndl2index))
srt_key,handle=_index2hndl[index]
del _index2hndl[index]
del _hndl2index[handle]
for key, val in _hndl2index.iteritems():
    if val > index:
        _hndl2index[key] -= 1
'''
del1='''
index= random.randrange(len(_hndl2index))
srt_key,handle=_index2hndl[index]
del _index2hndl[index]
del _hndl2index[handle]
for key, val in _hndl2index.items():
    if val > index:
        _hndl2index[key] -= 1
'''
del2='''
index= random.randrange(len(_hndl2index))
srt_key,handle=_index2hndl[index]
del _index2hndl[index]
del _hndl2index[handle]
for srt_key,hndl in _index2hndl[index:]:
    _hndl2index[hndl] -= 1
'''
if sys.version_info[0] < 3:
    cmds=[add0,add1,add2,del0,del1,del2]
else:
    cmds=[add1,add2,del1,del2]
for c in cmds:
    print(c)
    random.seed(1)
    t=timeit.Timer(c, setup=setup).timeit(num_operation)
    print(num_operation,"ops in ", t, "seconds. avg:",t/num_operation,"seconds")
2014-12-05 06:08:50 +01:00
Bastien Jacquet
a52a931b57 Fix doc and harmless typo (real_index instead of real_path) 2014-12-05 06:04:26 +01:00
Bastien Jacquet
813075ae2f Fix handling of keypresses in treeview 2014-12-05 06:04:21 +01:00
Josip
1fae92ca54 7865: Closing detached gramplet causes python to crash 2014-12-01 18:51:34 +01:00
Nick Hall
efe55a7fc3 7866: Crash on Ancestry.com .ged import; consistent. 2014-12-01 18:19:49 +01:00
Nick Hall
3818d7e5e3 Fix place reference editor for drag support 2014-12-01 15:24:36 +00:00
Paul Franklin
2d590abebd ignore a zero day and its delimiter, in numerical date format 2014-11-24 17:15:33 -08:00
kulath
bfc2ef5ab3 8196: Spurious spaces in CLI List Family Trees, tab delimited output.
Print statements changed to assemble the whole line before output.
2014-11-24 23:10:35 +00:00