Commit Graph

21719 Commits

Author SHA1 Message Date
Vassilii Khachaturov
0e534e598e 6380: GEDCOM export error for family _UID
Port gramps34 [429c18]
    Applying patch from 2013-12-24 by Enno Borgsteede,
    fixing attribute processing on the path that handled _UID
    and adding another extension, _FSFTID.
2013-12-30 11:05:02 +02:00
Vassilii Khachaturov
aa3a3c8270 7327: friendlier diagnostics during parsing
In preparation for fixing the bug, discovered minor glitches
in the open/lock/close logic on error paths. Using the RAII syntax
for xml_file and removing redundant unlock-before-close.

The parse errors now have friendlier verbiage, give action suggestions,
and point to the actual file location for better usability and
maintainability.
2013-12-28 22:22:52 +02:00
Doug Blank
5b17d597fe Experimental subselection in list using list['field1, field2'] 2013-12-28 14:34:00 -05:00
Doug Blank
cad20f42f1 Allow an attribute lookup on a list to select from the list 2013-12-28 13:32:15 -05:00
Doug Blank
2a4ba037c6 Fixed RefBase.to_struct in gen.lib objects 2013-12-28 10:11:43 -05:00
Doug Blank
c07aebd7d0 Error in schema 2013-12-27 18:28:04 -05:00
Doug Blank
4e9559c6eb Added link keyword to row method of SimpleTable 2013-12-27 10:43:51 -05:00
Doug Blank
8026a9aa1f Handle update set anywhere in struct 2013-12-27 01:56:33 -05:00
Doug Blank
feaf10b8c9 Add batch to DictionaryDB; update Query updates in batch mode 2013-12-26 16:16:57 -05:00
Doug Blank
f7a367e602 Fixed Gtk3 buffer.get_text issue 2013-12-26 16:16:07 -05:00
Doug Blank
c66e4b0149 Removed handling of control+v from default pageview handler that was only used in places where it shouldn't (dashboard) 2013-12-26 15:08:08 -05:00
Nick Hall
a6e4bf9cc5 7333: Reduce number of columns in LDS temple selector 2013-12-26 17:31:02 +00:00
Doug Blank
579f17a687 Revised Struct get and set now that Python handles lookup through eval; general cleanup 2013-12-26 11:32:00 -05:00
Vassilii Khachaturov
aa81f62b4a 6955: warn on non-primary surnames not exported
reapply from gramps34
2013-12-26 17:47:27 +02:00
Doug Blank
7b9fa14ef7 Cleanup, all selects, and deletes working 2013-12-26 00:18:39 -05:00
Doug Blank
6528044b1c Different in getitem depending on whether assignment, or lookup; fixed from_struct on BaseRef 2013-12-25 18:02:48 -05:00
Doug Blank
7224bda047 Removed getitem_from_path---now uses eval() [eg, __getitem__] for such functions 2013-12-25 16:48:40 -05:00
Doug Blank
7daf720ee7 Error in using transactions 2013-12-24 20:40:56 -05:00
Doug Blank
2fb9f2ffa0 Working in remove in dictionaryDB; fix for Dictionary Cursors 2013-12-24 11:24:02 -05:00
Doug Blank
90eda9d89c Added missing get-all methods 2013-12-24 10:39:44 -05:00
Doug Blank
a050704299 Protection from fields that are None in Struct 2013-12-24 09:30:39 -05:00
Doug Blank
ce07c7e15f Added missing Handle in to_struct in refbase 2013-12-24 09:28:37 -05:00
Doug Blank
a72c6eac96 Don't go through loop if not Python 3; fixed typo 2013-12-23 15:19:18 -05:00
Doug Blank
6e325a9190 Allow update_db to work with existing transaction; setitem now works; getitem will return Struct only when more struct 2013-12-23 13:58:23 -05:00
Doug Blank
27453a7587 Added remove_func to _tables; added remove_from_database(item) 2013-12-23 13:56:25 -05:00
Jérôme Rapinat
5586474ec5 7316: use ellipsize at the begining adjusts text and make missing media dialog more fit 2013-12-23 14:19:55 +01:00
Nick Hall
dd56299936 Enhance event type selector to use sub-menus 2013-12-22 19:58:25 +00:00
Nick Hall
e7c5f1684e Add custom types to selection widgets 2013-12-22 19:58:25 +00:00
Jérôme Rapinat
d9db6168b3 6926: more Germanic names established by the Emperor Charlemagne in the 800s 2013-12-22 15:52:58 +01:00
Vassilii Khachaturov
a3c59778f9 7317: DateEdit statusbar to report invalid dates
Port [6b0b9f] from gramps34
    Add/remove an explanatory prompt on the statusbar along
    with disabling/enabling the "OK" button when the date
    is invalid.
2013-12-21 23:13:58 +02:00
Vassilii Khachaturov
087a7ecad2 7317: DateEdit statusbar to report invalid dates
Port [0c80c5] from gramps34
    add the status bar to the date editor dialog
2013-12-21 23:13:58 +02:00
Doug Blank
f5336d2296 unicode literals for {} formats 2013-12-20 11:59:07 -05:00
Doug Blank
a859b5f562 Added unicode_literals; thanks Nick 2013-12-20 11:14:32 -05:00
Doug Blank
59ac850d9a Changes for Python client to login and exchange webapp server data 2013-12-20 08:14:11 -05:00
Doug Blank
6aaf932a61 Added http://URL?format=json version to use same URLs but to get JSON format (works on primary detail views); see also http://URL/json?q=SEARCH&field=person for query interface 2013-12-20 01:33:30 -05:00
Doug Blank
fe6806de57 Ability to use 'where ITEM in part.part.part' for the Query Gramplet 2013-12-20 01:28:54 -05:00
Doug Blank
4051984031 Person.save() now also computes probably_alive (but only when computing cache, too) 2013-12-20 00:21:05 -05:00
Doug Blank
e649e5514d Changed {} format 2013-12-20 00:18:46 -05:00
Doug Blank
aa96ebc333 Updates to webapp: move cache updates to save of models to make it so that they cannot become out of sync with data; moved svg images to png forms to work with all browsers 2013-12-19 22:55:14 -05:00
Doug Blank
ab46727c56 Changes in Struct to allow SQL-like query interface 2013-12-19 22:52:04 -05:00
Doug Blank
870f776fa5 Merge branch 'master' of ssh://git.code.sf.net/p/gramps/source 2013-12-19 22:50:34 -05:00
Doug Blank
0d5e006953 Added meta settings to make sure they are bound to correct methods (of the proxies) rather than actual db methods 2013-12-19 22:50:16 -05:00
Vassilii Khachaturov
8686028413 add specific help links for person/name editor 2013-12-19 19:47:32 +02:00
Jérôme Rapinat
46b3c44916 7147 7001: Merge person dialog does not properly adjust context section after expand 2013-12-17 15:10:48 +01:00
Vassilii Khachaturov
56965d4095 7229: change active person upon a bookmark select
Port the more general fix [c7c0b2]^..[6caf08] from gramps34.
2013-12-16 21:57:31 +02:00
Doug Blank
0254f7006d Remove duplicate line 2013-12-15 10:47:26 -05:00
Doug Blank
cdefb047ef Fix for deleting tags in people model; fix for calendar graphical report when too many 2-line entries in day 2013-12-15 10:40:18 -05:00
Vassilii Khachaturov
be0239d255 7288/7290: port image_dpi legacy gtk code to gtk3 2013-12-15 15:09:12 +02:00
Vassilii Khachaturov
996baaad14 7288/7290: image_dpi and cropping fixes for ODFdoc
Port my fixes based on the patch from Matthias Basler from gramps34
[2eca30] 7290: use simpler math in image_dpi
[2f5e22] 7290: align warning with the image_dpi fix logic
[36f84e] 7290: image_dpi default calc based on gtk.gdk
[161ce3] 7290: ImgManip.image_dpi shouldn't return None
[460e63] 7288/7290 refactor out crop_percentage_to_pixel
[a8a38f] 7288/7290 refactor out crop_percentage_to_subpixel
[0d61bb] 7288/7290: refactor fix from matthiasbasler
[088146] rm relict RCS kwd
[76df5d] 7288/7290: image cropping fixes in ODFDoc

Using legacy gtk interface in image.py at the moment, need to port
to the new style.

Tested with python2.
2013-12-15 15:09:12 +02:00
Vassilii Khachaturov
584612d9f4 7229: change active person upon a bookmark select
Reapply my fix [88d2a2] from gramps34.
2013-12-14 17:58:49 +02:00