Denis Jacquerye
4126202615
setup.py: numpy is not required anymore, remove "" from packages
2015-11-06 15:06:52 +00:00
Denis Jacquerye
0ccff993e4
travis: test for requirements
2015-11-06 15:06:52 +00:00
Denis Jacquerye
62b4af5c83
setup.py: clean up indentation
2015-11-06 15:06:51 +00:00
Denis Jacquerye
92bf29bd70
ufoLib.glifLib: add anchors to list of attributes in description of readGlyph() and writeGlyph()
2015-11-06 15:06:51 +00:00
Denis Jacquerye
31d358af40
test_UFOConversion, test_UFO{1,2,3}: use plistlib load and dump
2015-11-06 15:06:51 +00:00
Denis Jacquerye
3df210b68f
ufoLib.test.test_glifLib: testRoundTrip() anchors don't come in the same order anymore
2015-11-06 15:06:51 +00:00
Denis Jacquerye
c643b67f08
ufoLib.glifLib: glyph.drawPoints(None) should set attr anchors
2015-11-06 15:06:51 +00:00
Denis Jacquerye
e1dd985741
ufoLib.glifLib: undo some 2to3
2015-11-06 15:06:51 +00:00
Denis Jacquerye
7deef57dd0
ufoLib.__init__: add basestring in Python3 and undo 2to3
2015-11-06 15:06:51 +00:00
Denis Jacquerye
07c10687c4
test_gliflib: new file name scheme
2015-11-06 15:06:51 +00:00
Denis Jacquerye
d70348e8a7
test_gliflib: use io.open
2015-11-06 15:06:50 +00:00
Denis Jacquerye
e57fd856c6
travis: add .travis.yml
2015-11-06 15:06:50 +00:00
Denis Jacquerye
a6ea0f2188
setup: use setuptools, add test_suite
2015-11-06 15:06:50 +00:00
Denis Jacquerye
ab842f1e01
ufoLib.test.test_UFOConversion: absolute import
2015-11-06 15:06:50 +00:00
Denis Jacquerye
9c0c7e5177
ufoLib.test.test_UFO1, test_UFO2, test_UFO3: absolute import, unicode_literals, explicit bytes, use io.open
2015-11-06 15:06:50 +00:00
Denis Jacquerye
b6cb3738c8
ufoLib.test.testSupport, test_GLIF1 and test_GLIF2: unicode_literals, use basestring
2015-11-06 15:06:50 +00:00
Denis Jacquerye
72df478a91
ufoLib.plistlib: use basestring
2015-11-06 15:06:50 +00:00
Denis Jacquerye
c74ced8246
ufoLib.plistFromTree: utf-8 is good
2015-11-06 15:06:49 +00:00
Denis Jacquerye
ba7259a99c
ufoLib.plistFromTree: absolute import
2015-11-06 15:06:49 +00:00
Denis Jacquerye
3dabb84be5
ufoLib.xmlTreeBuilder: use io.open and basestring
2015-11-06 15:06:49 +00:00
Denis Jacquerye
77f2e022c7
ufoLib.validators: use io.open, use basestring instead of str
2015-11-06 15:06:49 +00:00
Denis Jacquerye
c6f84bdd9a
ufoLib.glifLib: use basestring instead of str
2015-11-06 15:06:49 +00:00
Denis Jacquerye
dc94aa17a7
ufoLib.glibLib: use io.StringIO, ioBytesIO, io.open
2015-11-06 15:06:49 +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
41cb5a8d4c
validators: use basestring
2015-11-06 15:06:49 +00:00
Denis Jacquerye
f9ff5e5cfe
filenames: use basestring
2015-11-06 14:10:43 +00:00
Denis Jacquerye
90a5af640b
glifLib: add READ_BYTES_MODE and WRITE_BYTES_MODE
2015-11-06 14:10:42 +00:00
Denis Jacquerye
edfee17e5f
glifLib: use basestring and glyphSet maybe None in glyphNameToFileName()
2015-11-06 14:10:42 +00:00
Denis Jacquerye
607cdf9a39
ufoLib __init__: typo 'maetainfo' -> 'metainfo'
2015-11-06 14:10:42 +00:00
Denis Jacquerye
fd8440a223
validators: png signature as bytes
2015-11-06 14:10:42 +00:00
Adrien Tétar
7cd33cdca7
glifLib: cleanup returns_unicode
2015-11-06 14:10:42 +00:00
Adrien Tétar
595e2e1057
setup.py: print
2015-11-06 14:10:42 +00:00
Adrien Tétar
3fd0c69d65
ufoLib meta: post-2to3 fixes
2015-11-06 14:10:42 +00:00
Adrien Tétar
1602f21e58
plistlib: remove HACK that does not pass python 3
2015-11-06 14:10:41 +00:00
Adrien Tétar
337ef3202b
ufoLib meta: automated 2to3 conversion
2015-11-05 09:30:43 +00:00
Ben Kiel
2c2ffb97c0
Merge pull request #45 from khaledhosny/setup
...
Add setup.py file to ufo3k branch
2015-11-04 13:14:32 -06:00
Erik
3c73b66e4c
Store pairs as tuples.
2015-11-02 15:28:06 +01:00
Erik
41b9d73f6e
In some cases it is useful to have access to the exact pairs that trip the kerningValidator (for fixing, editing, warning). So kerningValidator keeps track of the pairs, then returns them with the other results. In order not to break existing calls to kerningValidator, rename it to kerningValidatorReportPairs and add a small wrapper that filters only returns the first two items.
2015-11-01 22:09:58 +01:00
Erik van Blokland
6f8a2d9b28
Merge pull request #48 from adrientetar/patch-1
...
ufoLib: fixes
2015-09-27 21:27:26 +02:00
Adrien Tétar
ff8bd252d4
ufoLib: previousFormatVersion None-check
2015-09-27 16:39:30 +02:00
Adrien Tétar
52ca505cb9
objectsDefcon: typo
2015-09-27 15:14:28 +02:00
Khaled Hosny
0879bdd88c
Add setup.py file
...
Based on the file from master branch with slight modifications.
2015-09-08 01:45:05 +02:00
Tal Leming
1498573218
Merge pull request #41 from anthrotype/fix_undefined_name
...
[filenames] fix NameError
2015-06-24 10:57:27 -04:00
Cosimo Lupo
9eeafb5462
[filenames] fix NameError
2015-06-24 14:01:37 +01:00
Erik
eb1c0f7fba
identifier keyword to beginPath
...
mathGlyph -> PointToSegmentPen -> drawPoints -> pointPen -> beginPath
gets an ‘identifier’ argument from the ufo3 drawPoints. Which trips an
error. This alleviates the problem but does not address anything that
beginPath should be doing with the identifier.
2015-02-22 09:45:07 +01:00
Tal Leming
a3d4e90146
Merge pull request #25 from graphicore/fix-writing-plist
...
UFOReader/UFOWriter fixes and updates
2014-12-31 10:46:34 -06:00
Tal Leming
a25b4537df
Merge pull request #27 from robofab-developers/revert-24-fix-reading-plist
...
Revert "Fix reading plist"
2014-12-31 10:42:52 -06:00
Tal Leming
e45ab4755b
Revert "Fix reading plist"
2014-12-31 10:42:02 -06:00
Tal Leming
eeb594b66d
Merge pull request #24 from graphicore/fix-reading-plist
...
Fix reading plist
2014-12-31 10:41:47 -06:00
Lasse Fister
0cd65fb5e0
Refactor and fix wrong usage of UFOReader._readPlist
...
All cases where UFOReader._readPlist was used suffered
from calling it with the fully constructed path where
it expected just the relative path/fileName of the plist.
Also, all cases had the similiar pattern of checking if
the file exists before trying to read it.
This replaces that pattern by `_getPlist`. The method has
a `default` argument that acts similar to the `default`
argument of the builtin function `getattr` i.e. when
`default is None` the requested plist is mandatory.
2014-12-08 23:20:16 +01:00