9 Commits

Author SHA1 Message Date
Eli Schwartz
3fb2563d08 tokenizer: fix compile errors in merge of python3 port 2018-12-17 10:31:45 -05:00
Kovid Goyal
7463d23777
... 2018-12-10 11:52:05 +05:30
Kovid Goyal
36647d4762
Merge branch 'ft-py3-tokenizer' of https://github.com/flaviut/calibre 2018-12-10 11:24:10 +05:30
Flaviu Tamas
5f420d7047
Fix number->size conversion 2018-12-08 17:24:28 -05:00
Flaviu Tamas
cf576342e1
Build tokenizer on py3
- The actual unicode manipulation wasn't converted to the new 3.3+
style, since it would lead to lots of ifdefs and become quite ugly. This
can be done when py2 support is dropped. The drawbacks will be
temporary slower code (there will be extra copying required).
2018-12-08 17:24:18 -05:00
Kovid Goyal
aee8af31f3
Hide all symbols in the compiled python extensions on unix
They were already hidden on windows. Avoids the possibility of symbol
collisions and also means ld has to do less work when loading them
extensions.
2017-06-07 12:19:24 +05:30
Kovid Goyal
a09869e9d8 ... 2014-05-22 16:18:32 +05:30
Kovid Goyal
04b45413c6 Testing for the C tokenizer 2014-05-22 15:23:25 +05:30
Kovid Goyal
adac7e6d1e Initial implementation of C code to speedup tinycss tokenization
Needs testing.
2014-05-22 14:17:15 +05:30