Commit Graph

22427 Commits

Author SHA1 Message Date
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
Paul Franklin
0436228eb1 8175: date inflections in _datahandler.py 2014-11-22 16:05:32 -08:00
Paul Franklin
a7bffb9259 8184: regression: Complete Individual report has some untranslated output 2014-11-20 10:05:09 -08:00
Josip
90d35cc678 7857: gramps fails to start with gtk+-3.13.3 (Gdk.Event(Gdk.EventType.NOTHING)
TypeError: function takes at most 0 arguments (1 given)
2014-11-16 16:53:13 +01:00
Paul Franklin
2264f5506a typo 2014-11-13 19:30:44 -08:00
Paul Franklin
c2e2be69fa add a few date examples (near the top of the list) 2014-11-13 10:14:31 -08:00
Josip
0301ddd1a6 8157: ImageMetadata doesn't show metadata 2014-11-07 19:26:36 +01:00
Craig J. Anderson
da2c8aa644 small feature update to add z,n,e to the date format string.
these are used for dates with ending dates (date ranges)
  Craig A.
2014-11-06 10:40:42 -05:00
Bastien Jacquet
cd540cdb13 8102: Fix problem with fanchart if max_generation = 1 2014-11-05 23:22:48 +01:00
Bastien Jacquet
d716146e9d 8149: Error on opening twice an object from clipboard because of missing import 2014-11-05 21:26:44 +01:00
Bastien Jacquet
e9c441c62f Allow to drag a person by dragging the "Father/Mother/Spouse" label or around Add/edt/share buttons
Signed-off-by: Bastien Jacquet <bastien.jacquet_dev@m4x.org>
2014-11-05 17:52:07 +00:00
Bastien Jacquet
4ad884d54e Add Family drag support from RelationshipView 2014-11-05 17:52:07 +00:00
Bastien Jacquet
e83190dd82 EditPerson new person calls create_id() to have a handler in clipboard (as in EditFamily) 2014-11-05 17:52:07 +00:00
Bastien Jacquet
88c919d034 Allow for dragging a family from EditFamily 2014-11-05 17:52:07 +00:00
Bastien Jacquet
4ade6db556 Add Person drag support from RelationshipView
Signed-off-by: Bastien Jacquet <bastien.jacquet_dev@m4x.org>
2014-11-05 17:52:07 +00:00
Bastien Jacquet
ebb9b53589 Add Support for dragging from the add/choose selector of Place/Source/Media/Note-Entry 2014-11-05 17:52:07 +00:00
Bastien Jacquet
b7ab556393 Add drag support to parents in EditFamily (when set) and move drop capability if parent already set 2014-11-05 17:52:07 +00:00
Bastien Jacquet
1797b66f48 Allow to drag a person from EditPerson (if not a unsaved person) 2014-11-05 17:52:06 +00:00