123 Commits

Author SHA1 Message Date
Frederik Berlaen
cffbfeeca1 read fea files with encoding utf-8
see https://github.com/adobe-type-tools/afdko/issues/165
2018-09-04 21:07:16 +02:00
Cosimo Lupo
94c8bcc333
Bump version: 2.3.1 → 2.3.2.dev0 2018-07-21 19:18:11 +01:00
Cosimo Lupo
902fbc29d6
Release 2.3.1 2018-07-21 18:43:21 +01:00
Cosimo Lupo
e51f81dce4
Bump version: 2.3.0 → 2.3.1.dev0 2018-07-21 18:36:31 +01:00
Cosimo Lupo
0602e1fe7b
Release 2.3.0 2018-07-16 15:08:35 +02:00
Cosimo Lupo
bced5b62b9
Bump version: 2.2.5.dev0 → 2.3.0.dev0 2018-07-16 15:01:32 +02:00
Cosimo Lupo
42a3428d0f
writeLayerContents: make sure bytes strings in layerOrder are decoded
looks like defcon LayerSet.newLayer does not ensure the 'name' argument is a unicode
string, so serializing the layercontents.plist with the new ufoLib.plistlib may
lead to the layer name being encoded as a <data> element instead of a <string>.

Thanks Miguel for noticing this.
2018-07-15 21:32:13 +01:00
Cosimo Lupo
abe74f1edc
aarg! fix writeDataFileAtomically not removing empty file...
this had been broken for years, since commit 66e5ae02
2018-07-14 19:58:38 +01:00
Cosimo Lupo
0951e2063e
ensure all modules do from __future__ import absolute_import, unicode_literals 2018-07-14 19:25:18 +01:00
Cosimo Lupo
0b15b7d61e
ufoLib: use new plistlib load/dump instead of readPlist/writePlist 2018-07-11 12:28:26 +01:00
Cosimo Lupo
b3b495153b
Bump version: 2.2.4 → 2.2.5.dev0 2018-07-10 16:24:02 +01:00
Cosimo Lupo
46d11299b0
Release 2.2.4 2018-07-10 16:18:13 +01:00
Cosimo Lupo
489c6baa02
Bump version: 2.2.3 → 2.2.4.dev0 2018-07-10 12:51:14 +01:00
Cosimo Lupo
754b89fbaf
Release 2.2.3 2018-07-10 12:50:45 +01:00
Ben Kiel
530c723e91 Bump version: 2.2.2 → 2.2.3.dev0 2018-07-04 17:07:19 -05:00
Ben Kiel
ac5cf7f6ed Release 2.2.2 2018-07-04 17:04:09 -05:00
Ben Kiel
c6712ad2f7 Bump version: 2.2.1 → 2.2.2.dev0 2018-07-04 17:02:46 -05:00
Ben Kiel
a93a441acb
Merge pull request #154 from unified-font-object/small_validation_fixes
Small validation fixes
2018-07-04 16:02:47 -05:00
Ben Kiel
926bbdd57e
Update __init__.py 2018-07-04 13:48:37 -05:00
Frederik Berlaen
7763e01ef8 append the image fileName when no validation is required 2018-07-04 14:44:35 +02:00
Frederik Berlaen
46fefd82c7 set the _validate attribute before reading or writing anything 2018-07-04 14:44:05 +02:00
Cosimo Lupo
d01c383fe9
Release 2.2.1 2018-07-03 19:15:36 +01:00
Ben Kiel
00595aa4f8 Bump version: 2.2.0 → 2.2.1.dev0 2018-07-03 10:42:56 -05:00
Ben Kiel
4811c3ddc6 Release 2.2.0 2018-07-03 10:39:32 -05:00
Ben Kiel
acf8e83d33 Bump version: 2.1.2.dev0 → 2.2.0.dev0 2018-07-03 10:35:27 -05:00
Tal Leming
34681b8a38 Remove some validation escaping when it comes to file existence tests. Those should always fail. 2018-06-12 17:40:25 -04:00
Ben Kiel
83303d56a7 Add in more valiator switches 2018-06-11 23:13:00 -05:00
Ben Kiel
a7aa115fd8 Update glyphLib.
Update tests.
Fix errors.
Add documenation.
2018-06-11 15:03:54 -05:00
Ben Kiel
5f8b600221 Catch additonal calls to GlyphSet that need validation. Inital start of adding validation on/off to GlyphSet 2018-06-11 12:05:36 -05:00
Ben Kiel
42b94f53fa UFOWriter validation turned on by default. 2018-06-11 11:59:16 -05:00
Ben Kiel
b8d4b5562b UFOReader validation turned off by default. Starting on UFOWriter 2018-06-11 11:07:29 -05:00
Miguel Sousa
3e8ca172ab Small fixes 2018-04-03 17:36:41 -07:00
Cosimo Lupo
3d891631d9 Bump version: 2.1.1 → 2.1.2.dev0 2017-10-25 12:01:13 +01:00
Cosimo Lupo
55c2be52bd Release 2.1.1 2017-10-25 12:00:47 +01:00
Frederik Berlaen
627f997ddb remove raise errors when the formatVersion < 3
see https://github.com/unified-font-object/ufoLib/issues/91

Im going to ahead on this as no one replied...
2017-09-26 21:58:26 +02:00
Cosimo Lupo
fb1eef601f minor 2017-08-07 18:40:36 +01:00
Chris Simpkins
659299a318 detect incorrect metainfo.plist formatVersion type before version testing (#83) 2017-07-27 22:18:42 -04:00
Cosimo Lupo
ab9985ee3a
Bump version: 2.1.0 → 2.1.1.dev0 2017-05-24 18:39:50 +01:00
Cosimo Lupo
1c5f70c873
Release 2.1.0 2017-05-24 18:38:10 +01:00
Cosimo Lupo
16abd8130c
Add bump_version and release commands to setup.py 2017-05-24 18:37:52 +01:00
Cosimo Lupo
f320554077 ufoLib.__init__: use os.path instead of slash to fix doctest failing on Windows 2016-09-11 17:44:12 +01:00
Denis Moyogo Jacquerye
bb21cb7c3a userNameToFileName expects userName to be unicode strings, let it raise
if not
2016-07-11 13:49:59 +01:00
Tal Leming
185c04220d The UFO spec has changed with regard to kerning conflicts. Reflect this in ufoLib. 2016-04-22 13:30:28 -04:00
Adrien Tétar
fab99c30e5 plistlib: reimplement as shim 2016-03-01 12:43:04 +01:00
Denis Jacquerye
d05df7eb7e Python 2/3: replace str by basestring 2015-11-18 13:22:14 +00:00
Adrien Tétar
e345fec96f meta: remove robofab files 2015-11-08 11:11:11 +01:00
Denis Jacquerye
929ed4454c ufoLib: drop READ_MODE and WRITE_MODE 2015-11-06 15:06:52 +00:00
Denis Jacquerye
7deef57dd0 ufoLib.__init__: add basestring in Python3 and undo 2to3 2015-11-06 15:06:51 +00:00
Denis Jacquerye
66e5ae0242 ufoLib __init__.py: use io.StringIO, io.BytesIO, and standard plistlib load and dump 2015-11-06 15:06:49 +00:00
Denis Jacquerye
607cdf9a39 ufoLib __init__: typo 'maetainfo' -> 'metainfo' 2015-11-06 14:10:42 +00:00