681 Commits

Author SHA1 Message Date
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
Frederik Berlaen
a9b2020fcc Revert "touch version number"
This reverts commit cd814ed0084c8644ba2c4f92e17bab09592448e4.
2018-07-04 22:12:33 +02:00
Ben Kiel
80e47e7392
Merge pull request #155 from unified-font-object/validate_read
Turn on validation for read by default
2018-07-04 15:02:48 -05:00
Ben Kiel
e1227441e4
Grammer 2018-07-04 15:02:26 -05:00
Ben Kiel
53b4352a3b
Turn on validation by default in glyphLib 2018-07-04 13:56:44 -05:00
Ben Kiel
926bbdd57e
Update __init__.py 2018-07-04 13:48:37 -05:00
Frederik Berlaen
cd814ed008 touch version number 2018-07-04 14:46:58 +02: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
Cosimo Lupo
e33561b50d
Add lxml >= 4.0 to setup.py install_requires
fixes https://travis-ci.org/robofab-developers/fontParts/jobs/399648345#L492

See discussion at https://github.com/unified-font-object/ufoLib/pull/153#issuecomment-402205299
2018-07-03 19:10: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
60b54c14af
Merge pull request #153 from unified-font-object/validation_optional
Validation optional
2018-07-03 11:27:00 -04:00
Ben Kiel
55f131d42a
Merge pull request #152 from unified-font-object/master
Syncing with master
2018-06-30 13:38:16 -05:00
Ben Kiel
fe88d1d83d
Merge branch 'validation_optional' into master 2018-06-30 13:37:51 -05:00
Ben Kiel
17c8d2c31e
Merge pull request #151 from unified-font-object/pyup-scheduled-update-2018-06-25
Scheduled weekly dependency update for week 25
2018-06-26 09:28:36 -05:00
pyup-bot
bf282c8c6d Update fonttools from 3.27.0 to 3.28.0 2018-06-25 18:59:06 +01:00
Tal Leming
1d6dddc8f5 Unneeded import. 2018-06-14 13:34:19 -04:00
Tal Leming
c008e20854 Use lxml for reading. 2018-06-14 13:28:20 -04:00
Tal Leming
5ec6b5ef65 Use len(element). 2018-06-14 11:55:54 -04:00
Tal Leming
dab4800f12 Add indentation to the self-closing prevention. 2018-06-14 10:59:51 -04:00
Ben Kiel
e9df5bec13 fix writing lib with lxml 2018-06-14 09:22:24 -05:00
Tal Leming
5f39650425 Write the note the old way. 2018-06-14 08:43:30 -04:00
Tal Leming
4c52a516f4 Height before width. 2018-06-14 08:39:53 -04:00
Tal Leming
3cfb942441 Trick lxml into not writing self-closing tags for outline and contour elements. 2018-06-14 08:36:52 -04:00
Ben Kiel
3ae4f10092 Make attrs OrderedDicts
Get encoding right for py2 and py3
2018-06-14 00:31:29 -05:00
Tal Leming
213b90a4ba Found some attrib type errors. 2018-06-13 21:34:41 -04:00
Ben Kiel
c8608c2fd7 Need to pass an OrderedDict to get correct order. 2018-06-13 16:42:33 -05:00
Ben Kiel
c54c54b2ce Remove slice from splitlines that isn't needed for lxml 2018-06-13 16:22:40 -05:00
Ben Kiel
f3b0703d03 Need to force text to a string and not bytes for Py3 2018-06-13 15:48:29 -05:00
Ben Kiel
6d774d7e8b Add lxml to requirements 2018-06-13 15:21:20 -05:00
Tal Leming
739ec8a169 Use lxml for writing. 2018-06-13 14:22:51 -04:00
Tal Leming
382271c706 Typo and fallback. 2018-06-13 12:46:40 -04:00
Tal Leming
5867e9bc8b Don't rebuild the list of existing file names each time a glyph is written. That's expensive. 2018-06-13 12:37:49 -04:00
Tal Leming
efd2575a6a Remove some validation escaping. 2018-06-12 20:40:32 -04: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
ffad0c6f83
Merge pull request #148 from unified-font-object/pyup-scheduled-update-2018-06-11
Scheduled weekly dependency update for week 23
2018-06-12 11:39:35 -05:00
Ben Kiel
f81e9b8c6f Fix tests, needed named arg. 2018-06-12 09:15:36 -05:00
Ben Kiel
83303d56a7 Add in more valiator switches 2018-06-11 23:13:00 -05:00
Tal Leming
4c75212ee6 Relax the point data validation. 2018-06-11 21:44:50 -04:00
Ben Kiel
62dba9b6fa
Merge pull request #150 from benkiel/master
Make validation optional
2018-06-11 17:49:21 -05:00
Ben Kiel
a7aa115fd8 Update glyphLib.
Update tests.
Fix errors.
Add documenation.
2018-06-11 15:03:54 -05:00
pyup-bot
891d500e37 Update fonttools from 3.13.1 to 3.27.0 2018-06-11 18:42:09 +01: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