Commit Graph

1738 Commits

Author SHA1 Message Date
Paul Franklin
331ea351a2 neaten some imports 2015-01-31 16:52:24 -08:00
Nick Hall
06cae9ed32 Remove check for empty place title 2015-01-30 22:09:39 +00:00
Paul Franklin
e38a080a3e 8320: Detailed descendent report crashes 2015-01-28 09:45:00 -08:00
Nick Hall
c0054fd4e4 7860: Update place sidebar filter 2015-01-27 23:00:06 +00:00
Nick Hall
938f38c077 7860: Add new place HasTitle rule 2015-01-27 22:58:34 +00:00
Nick Hall
7ec60ae6a3 7860: Add new place HasData rule 2015-01-27 22:58:27 +00:00
Nick Hall
8be5616802 8058: New place reference editor
This allows standard "add" and "share" buttons to be used in the place
reference embedded list.
2015-01-26 23:36:23 +00:00
Nick Hall
5bdb45416f 8056: Activate drag and drop on "enclosed by" tab 2015-01-26 22:42:07 +00:00
Nick Hall
f89990b5f1 7860: Rename "Name" to "Title" 2015-01-23 21:36:24 +00:00
Nick Hall
3a0f699fae 8057: Remove auto-update of place titles 2015-01-23 19:55:39 +00:00
Nick Hall
28bc8ba590 7942: Implement place displayer 2015-01-23 19:09:55 +00:00
Nick Hall
46b2f0a169 7533: Check for active person in session log gramplet 2015-01-21 23:03:23 +00:00
Nick Hall
ec9dbcc045 7844: Check that the mediapath is not set to None 2015-01-21 21:42:05 +00:00
Nick Hall
0bc7bc8b40 7770: Always display main participants 2015-01-21 18:44:42 +00:00
Nick Hall
c8e60460c1 7299: Fix bug when family has no parents 2015-01-21 17:45:33 +00:00
kulath
d69a84d56e 0008283: GEDCOM export does not export media attached to citations. Fix
for gramps master
2015-01-08 18:07:50 +00:00
Doug Blank
cd779d5163 8145: Some Addons provide an update even it was already done during the last start of Gramps 2015-01-05 15:23:39 -05:00
Bastien Jacquet
8fd456f604 Merge branch 'geps/interactivesearch'
Use our own interactive-search box to get it
 - more efficient (binary search on sorted columns).
 - customizable (delayed launch of search to avoid text scrambling)
2015-01-05 17:33:15 +01:00
Bastien Jacquet
bb26e53fc0 Interactive-search: Quick search with LIST_ONLY sorted views 2015-01-05 17:32:38 +01:00
Bastien Jacquet
f2fc776d41 speedup srt_key sorting by sorting them in-place 2015-01-05 15:45:14 +01:00
Doug Blank
d295142a4d In testing, reset config options in tearDown so subsequent tests are not affected 2015-01-04 14:44:12 -05:00
Doug Blank
66fd541eea Renamed gramps.gen.lib.calendar to gramps.gen.lib.gcalendar to avoid import conflict with Python lib calendar 2015-01-04 12:33:06 -05:00
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
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
3be2150861 Update Ukrainian date handler 2014-12-22 20:10:45 +02: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
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
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
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
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
Bastien Jacquet
4e86fdafc5 Add person drag support from EditChildRef (always possible as child are
always set)
2014-11-05 17:52:06 +00:00
Bastien Jacquet
79d876e350 And drag support to EditPersonRef when person is set 2014-11-05 17:52:06 +00:00
Bastien Jacquet
ea3afbb35c Create prefilled PersonRef when drop of a Person on Association EmbeddedTab (same as ChildTab) 2014-11-05 17:52:06 +00:00
Bastien Jacquet
077be0c07e 8095:Association editor refuses dropped persons 2014-11-05 17:52:06 +00:00
Paul Franklin
5324ca28d4 5150: new Event types are saved as a disordered list 2014-11-04 07:28:22 -08:00
Nick Hall
addcf6f034 7604: Fix error setting gramplet tab label 2014-11-03 21:47:32 +00:00
Paul Franklin
4fb677283e 8152: Error converting database after upgrade to Gramps 4.1.1 2014-10-28 17:01:43 -07:00
Nick Hall
93a26b26d2 8020: Ensure that reference map has string keys 2014-10-28 17:47:34 +00:00
John Ralls
a372922e02 8140: Gramps doesn't work under Turkish locale 2014-10-27 11:22:45 -07:00
Jérôme Rapinat
f02247b89c Serbian should be ready for Windows OS and LOCALE_NAMES mapping 2014-10-24 20:01:25 +02:00
Jérôme Rapinat
b1a686445f 8122: DB lock not checked when opening database from the recent opened trees 2014-10-24 09:41:10 +02:00
Craig J. Anderson
3575964835 fix for https://gramps-project.org/bugs/view.php?id=6355.
Craig A.
2014-10-23 12:57:21 -04:00
Nick Hall
ad0d3d19c1 7902: Update place details gramplet
Add name, type and alternative names.
Locations are now displayed in a separate gramplet.
2014-10-21 19:31:43 +01:00
Nick Hall
6ff9ed00f0 Add new place locations gramplet 2014-10-21 19:31:43 +01:00
Jérôme Rapinat
d4e43ef663 7362 8103: some labels fit better on citations sidebar filter (patch by Nick H.), fix a typo on swedish translation, add the new translated string on most translation files 2014-10-20 11:28:24 +02:00
Paul Franklin
55c7e223d4 enhance Serbian date handler to handle Cyrillic dates 2014-10-17 18:11:37 -07:00
Nick Hall
a29232a133 7813: Add check for empty handle in gramplets 2014-10-17 23:05:57 +01:00
Jérôme Rapinat
9eb8700cfd 8103: sidebarfilter gramplet does not fit well into People, Events, Citations or Media views (non-english locales) 2014-10-15 21:47:03 +02:00
Jérôme Rapinat
246694b0f7 8103: sidebarfilter gramplet does not fit well into People, Events, Citations or Media views 2014-10-15 21:37:03 +02:00
Paul Franklin
f68e8837f7 8113: 'Unknown' person in detailed ancestor report can not be translated 2014-10-11 14:39:37 -07:00
Jérôme Rapinat
612a72a455 1685: Tools: some strings into print statement were untranslated 2014-10-08 11:43:11 +02:00
Paul Franklin
d3e75650b4 typo ("data format" => "date format") 2014-10-07 11:03:25 -07:00
noirauds
9075066cca Geography : bug 0007795: geography.gpr.py: Probable typos 2014-10-07 09:59:22 +02:00
Bastien Jacquet
236b5e68fa 8096: Fix new event default type considering existing events with *default* role 2014-10-01 19:09:41 +01:00
Sam Manzi
e2e4d3c57a 6028: Cleaned up and improved the Gramps API docs, Sphinx - fixed four ERROR: Unexpected indentation, added 'sphinx.ext.viewcode' to allow Sphinx to 'Add links to highlighted source code' http://sphinx-doc.org/latest/ext/viewcode.html , updated the copyright year and instructions to use pip 2014-09-29 19:51:38 +02:00
Nick Hall
aea848de23 7868: Rebuild secondary indexes after database upgrade 2014-09-26 19:38:15 +01:00
Nick Hall
bdf38344ff 8015: Update location utilities to work with proxies 2014-09-26 16:39:16 +01:00
Enno Borgsteede
4c71006c9d 7931: Fix check and repair tool for empty placerefs 2014-09-25 22:24:13 +01:00
Jérôme Rapinat
b22b66877e 8033: cannot generate Narrative Web report with gendex option enabled, was previous place model (location fields) 2014-09-23 16:30:55 +02:00
Petr Hejl
0c587838b4 8051: Can't fill in calculated and estimated dates in cs locale 2014-09-11 17:23:02 +02:00
Paul Franklin
2441f341d7 5895: "name format" option in descendant and ancestortree reports 2014-09-10 15:45:13 -07:00
Paul Franklin
8e0fb6fd2c 8021: Grafical reports don't use the correct name format 2014-09-10 15:40:13 -07:00
Paul Franklin
43cfb600d5 8014: Importing gedcom files containing multibyte UTF-8 characters fails 2014-09-01 19:06:15 -07:00
Paul Franklin
da97578658 7833: Complete Individual Report Sources 2014-08-30 10:22:11 -07:00
Paul Franklin
35c8d10899 revert part of 8014 patch, pending further review 2014-08-25 11:40:36 -07:00
Björn Samvik
592707deea 8014: Importing gedcom files containing multibyte UTF-8 characters fails 2014-08-25 10:56:02 -07:00
Nick Hall
550eac7d64 8011: Fix backlinks code in place report
Backlinks for places can now also be places as well as events.
2014-08-24 19:01:50 +01:00
Paul Franklin
60ca25deee python3 bytes-string mismatch with ICU installed 2014-08-22 18:18:38 -07:00
Paul Franklin
462897bf44 8012: Text reports don't use the correct name format 2014-08-22 18:02:24 -07:00
Nick Hall
6ce73e128e Add draw styles to style sheet editor 2014-08-22 19:39:52 +01:00
Paul Franklin
f66a810b46 tweak to "default" CSS choice for the narrated web report 2014-08-20 07:55:47 -07:00
Nick Hall
0751d49adc Add cell styles to style sheet editor 2014-08-19 23:00:37 +01:00
Nick Hall
da2023b3f8 7991: Enhance style sheet editor to include table styles 2014-08-18 22:50:03 +01:00
Paul Franklin
136fabfc16 enable the "default" CSS choice for the narrated web report
Otherwise, whenever you start the report, you get this:

WARNING: _enumeratedlist.py: line 124: Value 'default' not found for option 'StyleSheet'
2014-08-17 12:49:28 -07:00
Paul Franklin
4f85cf0278 7276: translate some punctuation marks -- partial 2014-08-13 09:22:04 -07:00
Ondrej Krc-Jediny
5d26c3b6a1 7979: Invalid format string in media mamager message 2014-08-12 13:55:19 -07:00
Nick Hall
2ec9de511a Allow gramplets to be displayed in the dashboard only
Add a new navigation type of 'Dashboard' in gramplet definitions.
Define the dashboard To Do gramplet to be dashboard-only.
2014-08-12 18:48:10 +01:00
Craig J. Anderson
75f62ea5b9 feature request: 7963
https://gramps-project.org/bugs/view.php?id=7963
to add an optional [alternate name] on the $n and $s vars as follows:
$n[Married Name](regular format string)
$s[Also Known As](regular format string)
  Craig A.
2014-08-09 11:30:21 -04:00
Malcom Lewis
86303f6116 Update FSF address to current location. 2014-08-08 19:39:45 -07:00
Jérôme Rapinat
be3da94188 typo on doc string 2014-08-05 13:52:49 +02:00
Jérôme Rapinat
ceeab158b4 6934: add a support for embeded custom attributes list on media object 2014-08-02 16:50:18 +02:00
Paul Franklin
5e61827693 7573: slight tweak to (two zh) [9c8cf2] 2014-07-29 19:33:41 -07:00
Paul Franklin
8312bfa839 4011: "reports" should have a "no private information" button 2014-07-26 09:52:32 -07:00
Paul Franklin
bfa8795144 4011: "reports" should have a "no private information" button 2014-07-26 09:52:31 -07:00
Paul Franklin
f37f61ae5f 4011: "reports" should have a "no private information" button 2014-07-26 09:52:31 -07:00
Paul Franklin
19b843f541 4011: "reports" should have a "no private information" button 2014-07-26 09:52:31 -07:00
Paul Franklin
eac193566f 4011: "reports" should have a "no private information" button 2014-07-26 09:52:31 -07:00
Paul Franklin
0e805c1f5c 4011: "reports" should have a "no private information" button 2014-07-26 09:52:31 -07:00
Paul Franklin
7f8b3e538c 4011: "reports" should have a "no private information" button 2014-07-26 09:52:31 -07:00
Paul Franklin
06b063a5d5 4011: "reports" should have a "no private information" button 2014-07-26 09:52:31 -07:00
Paul Franklin
149021a131 4011: "reports" should have a "no private information" button 2014-07-26 09:52:31 -07:00
Paul Franklin
62a64f2ea5 4011: "reports" should have a "no private information" button 2014-07-26 09:52:31 -07:00
Paul Franklin
d239aa78b7 4011: "reports" should have a "no private information" button 2014-07-26 09:52:31 -07:00
Paul Franklin
90ff13a4dd 4011: "reports" should have a "no private information" button 2014-07-26 09:52:31 -07:00
Paul Franklin
0fdffe7814 4011: "reports" should have a "no private information" button 2014-07-26 09:52:31 -07:00
Paul Franklin
f9ecc2ebef 4011: "reports" should have a "no private information" button 2014-07-26 09:52:31 -07:00
Paul Franklin
23b0025c1c 4011: "reports" should have a "no private information" button 2014-07-26 09:52:30 -07:00
Paul Franklin
f752c69c5c 4011: "reports" should have a "no private information" button 2014-07-26 09:52:30 -07:00
Paul Franklin
2998a8d03b 4011: "reports" should have a "no private information" button 2014-07-26 09:52:30 -07:00
Paul Franklin
1d00e5a2fb 4011: "reports" should have a "no private information" button 2014-07-26 09:52:30 -07:00
Paul Franklin
5068ec1849 4011: "reports" should have a "no private information" button 2014-07-26 09:52:30 -07:00