1168 Commits

Author SHA1 Message Date
Tom Samstag
e9eedee5c6 change tabs to spaces 2015-12-31 00:08:42 -08:00
Tom Samstag
602ad1bc53 not x is None -> x is not None 2015-12-31 00:03:22 -08:00
Tom Samstag
de8d8370e3 fixing else clauses on loops 2015-12-30 22:46:57 -08:00
Doug Blank
85e4a29af4 Allow struct API to work on missing data 2015-12-30 15:11:27 -05:00
Doug Blank
0bfee44e9b Selection method added to database 2015-12-30 14:03:46 -05:00
Doug Blank
41f9e3cccc PrimaryObject.get_field can call methods 2015-12-30 11:06:11 -05:00
Doug Blank
895531c2e3 Having a method used by instance or class is a bad idea 2015-12-30 11:03:40 -05:00
Nick Hall
be7e9ace36 Update docstrings for database get methods 2015-12-29 23:47:42 +00:00
Doug Blank
f4af5277e6 Struct.from_struct is also a classmethod 2015-12-29 13:09:49 -05:00
Doug Blank
e0c6468c77 Moved translation funtion to get_label/get_labels 2015-12-27 09:37:01 -05:00
Doug Blank
84e484bb64 Struct moved to gen.lib 2015-12-27 07:46:05 -05:00
Doug Blank
84fc198a6d Move struct-based API to gen.lib.struct 2015-12-26 21:00:37 -05:00
Doug Blank
b793b9d068 Add labels to gen.lib object fields 2015-12-24 23:16:57 -05:00
Doug Blank
72662bcf06 Adds -r, --remove FAMILY_TREE_NAME to command-line
* gives error if doesn't exist
* currently requires exact match
* doesn't ask for permission (yet)
2015-12-18 07:30:03 -05:00
Nick Hall
cff726a4bb More empty handle checks in proxies 2015-12-12 22:00:11 +00:00
Nick Hall
ded6869a2a Check for empty handle in private proxy 2015-12-11 18:29:54 +00:00
Paul Franklin
252aacee41 disambiguate "none" (for French)
from po/fr.po:
The same "none" is used for name, surname and date.
However, in French we say "aucun" for name and surname,
but we say "aucune" for date...
2015-12-05 21:03:34 -08:00
Paul Franklin
aaca511c75 7276: translate some currently-untranslated punctuation marks
slightly alter the comment near the translated punctuation
2015-12-05 19:50:43 -08:00
Nick Hall
5c958bd7fb Raise HandleError exception for bad handles 2015-12-05 21:17:56 +00:00
Nick Hall
5d7343f10a Remove handle2internal function 2015-12-05 18:14:16 +00:00
Nick Hall
e813e1c5c2 Remove conv_dbstr_to_unicode function 2015-12-05 17:50:51 +00:00
Nick Hall
8dffe6639b Remove remaining conv_to_unicode calls 2015-12-05 16:57:05 +00:00
Paul Franklin
c5bbe7b04e 9041: remove temorary _DATAMAP entries (from [8fac92d])
not needed after [4c22713]
2015-12-02 08:52:19 -08:00
Paul Franklin
4c22713a1a 9041: Father/mother's age attributes are not translated on reports 2015-11-30 21:49:34 -08:00
Paul Franklin
20601749e2 improve Russian date handler, and R. d.h. unittests 2015-11-29 20:13:35 -08:00
romjerome
6a0182456b 9058: ReferencedBySelectionProxy can forget some referenced tags
Tag records list forgot tags linked with some primary objects

was on Gramps XML file format, not related to backup or tags on Person
2015-11-29 11:30:56 +01:00
romjerome
8fac92d170 9041: Add missing 'Father/mother age' translation strings
temp workaround for mapping them via translation dict
2015-11-29 11:05:18 +01:00
Nick Hall
452fbfac80 Remove redundant unicode conversion of __file__ variable 2015-11-28 22:34:38 +00:00
Nick Hall
d770c8a236 Remove unused constfunc imports 2015-11-28 22:00:51 +00:00
Alan Strohm
3a39dfc81f Bug 9077: Don't check SSL certs on Mac when fetching addons. 2015-11-27 13:05:27 -08:00
John Ralls
388aef3a92 Catch urlopen TypeError when context arg isn't supported.
Python changed the behavior and args for urllib.urlopen; the context
arg is needed to avoid cert checking in 3.4.3 and later, but isn't
supported before, where the default is to not check certs.
2015-11-14 12:19:28 -08:00
John Ralls
1acd60d7f2 Fix undefined variable error. 2015-10-26 14:04:01 -07:00
John Ralls
93e3c62b99 Bug 8897 - Can not download new or updated add-ons
Apple provides a hacked OpenSSL that checks Keychain for certs after failing
to find them elsewhere (and normally there is no elsewhere). The versions
provided for OS X versions < 10.8 are obsolete, preventing building
osm-gps-maps's dependencies, so we provide our own but it can't be similarly
hacked to use Keychain because that is a private API to which Apple doesn't
provide headers.

This is at root a Python problem, see https://bugs.python.org/issue17128

To work around it, disable certificate verification for this one URL for
macs only. This does create the small security risk of a MITM attack injecting
malicious add-ons, but since the URL is user-editable a phishing attack is
more likely and there's nothing that SSL can do about that.
2015-10-25 15:06:27 -07:00
John Ralls
d4c7950cc5 Bug 8929 - Installation from DMG (binary) file and port file fail.
Cause was a stray bytes qualifier in the split character.
2015-10-25 15:06:15 -07:00
Tom Hughes
289b2df9a1 Handle citation objects in glocale.trans_objclass
Without this right clicking on a citation in the clipboard
gives options like "Make See Details active" which don't make
an awful lot of sense.
2015-10-18 19:25:50 +01:00
Paul Franklin
a2f2659ab1 8888: Gramps Help button User Manual wiki-links 2015-10-09 13:38:34 -07:00
Nick Hall
a86890002f Remove redundant io imports 2015-10-05 19:20:08 +01:00
Nick Hall
41c17c3190 Tidy up xml parser file handling 2015-10-05 18:30:56 +01:00
Doug Blank
463ea1fe7e if s_tagvalue is None: 2015-09-30 06:39:00 -04:00
Sam Manzi
6aadb54c9f Revert "Usability:Update initial [interface] startup defaults for (height/width)"
This reverts commit c89ae3241bcfaf67f4ed75d320903f6fc9016105.
2015-09-28 10:24:43 +10:00
Sam Manzi
c89ae3241b Usability:Update initial [interface] startup defaults for (height/width)
- Fully show each Category sidebar filter without having to resize initially. eg:Citation Category sidebar filter is the largest!
2015-09-26 15:03:48 +10:00
Nick Hall
3cf0e7885f Remove trailing whitespace from new date handler 2015-09-24 15:38:36 +01:00
Lajos Nemeséri
96efa177ba 5505: Need a date handler for Hungarian locale 2015-09-15 14:05:53 -07:00
Paul Franklin
0d098f1901 8930: allow hyphenated gramps-id in Graphviz reports 2015-09-14 16:43:13 -07:00
SNoiraud
f63381fed3 NarrativeWeb and cms : best approach for use of css files and relative links. 2015-09-09 10:26:29 +02:00
Nick Hall
2d92101438 Replace GRAMPS with Gramps in comments 2015-09-07 21:58:52 +01:00
Sam Manzi
8fd1fab200 Update docstrings - spelling 2015-09-07 14:52:49 +10:00
Nick Hall
ec9371d3b1 Revert workaround for bug #8833
This reverts commit 20a57037f79ebbe33b0af220ee81227fdb956bab.
2015-09-05 17:26:44 +01:00
romjerome
20a57037f7 8833: Workaround for displaying more lines on Text box via label's height 2015-09-05 10:43:58 +02:00
Enno Borgsteede
8e341f96b7 7595 Custom filters for note text repaired 2015-08-24 08:48:15 +10:00