Commit Graph

37659 Commits

Author SHA1 Message Date
Kovid Goyal fd307c5eee py3: port smtplib 2019-04-04 13:27:56 +05:30
Kovid Goyal 79c21b14bc Edit book: Fix option-; not working in the editor. Fixes #1823040 [Mac Option-<key> shortcuts don't work in editor](https://bugs.launchpad.net/calibre/+bug/1823040) 2019-04-04 10:56:23 +05:30
Kovid Goyal a43207d38a py3: misc fixes 2019-04-04 08:46:33 +05:30
Kovid Goyal 98a435968a Merge branch 'cleanup' of https://github.com/eli-schwartz/calibre 2019-04-04 08:27:53 +05:30
Eli Schwartz ea93816515 enforce unicode_literals where possible instead of using u'' everywhere
This file consistently uses unicode strings, so make that more explicit
by migrating to a python3-compatible policy.
2019-04-03 13:39:10 -04:00
Eli Schwartz c19d73f5ff use more unicode_type instead of type(u'') 2019-04-03 13:37:18 -04:00
Eli Schwartz 93b49c66e3 fix imports from the wrong module
when module_a.submodule_a imports module_b, then module_c should not use
"from module_a.submodule_a import module_b"
2019-04-03 13:37:18 -04:00
Kovid Goyal 8ece061387 py3: misc fixes 2019-04-03 14:40:34 +05:30
Kovid Goyal 69ecc8eb9f remove unused code 2019-04-03 14:36:03 +05:30
Kovid Goyal fa52a609be py3: misc fixes 2019-04-03 14:33:48 +05:30
Kovid Goyal 3c64ea0995 py3: Port terminal I/O module 2019-04-03 14:28:51 +05:30
Kovid Goyal eaac4d254d py3: Another place to port listener addresses 2019-04-02 20:50:27 +05:30
Kovid Goyal 237c64b9da py3: Fix no init func in chmlib module 2019-04-02 18:08:36 +05:30
Kovid Goyal 34192f9bf9 py3: More fixes for chmlib wrapper 2019-04-02 18:04:45 +05:30
Kovid Goyal 8bb15338f5 py3: Fix conversion of 1-byte python strings to ICU strings 2019-04-02 15:56:06 +05:30
Kovid Goyal bea653d594 Avoid chained exception messages in the ICU templates 2019-04-02 15:25:09 +05:30
Kovid Goyal cf220e7372 ... 2019-04-02 15:12:27 +05:30
Kovid Goyal 152689812a py3: Port use of Exception.message 2019-04-02 15:04:26 +05:30
Kovid Goyal bcece5de0b Proper fix for finding Qt base class in dnd mouse handlers
The change for py3 compat broke the handler for classes not directly
descended from a Qt item view class.
2019-04-02 13:31:55 +05:30
Kovid Goyal 6272e4db9d ... 2019-04-02 10:37:41 +05:30
Kovid Goyal ffb5160f3c py3: Fix parsing of numbers in tinycss tokenizer 2019-04-02 10:34:01 +05:30
Kovid Goyal 690ba43dcc oops 2019-04-02 10:09:00 +05:30
Kovid Goyal 3bece11b09 py3: Misc fixes
Fixes #953 (py3: misc fixes trying to start calibre.gui_launch)
2019-04-02 09:31:37 +05:30
Kovid Goyal 0e8543030a Fix searching for authors on amazon not working because of a change in the amazon URL structure. Fixes #1822532 [amazon link to search by author broken](https://bugs.launchpad.net/calibre/+bug/1822532) 2019-04-02 09:00:32 +05:30
Kovid Goyal a89823ae4f py3: Another minor compat fix 2019-04-02 07:12:26 +05:30
Kovid Goyal ad8d8cfcb5 py3: Make strip_encoding_declarations() work with both bytes and unicode 2019-04-02 07:08:44 +05:30
Kovid Goyal 36b63758a2 Dont fail if a QPushButton gets added to the toolbars somehow 2019-04-02 06:49:37 +05:30
Kovid Goyal 25e10f1032 py3: Fix ICU to python conversions 2019-04-01 22:46:04 +05:30
Kovid Goyal 3cc148dd6e py3: Dont use MethodType as it is incompatible in python3 2019-04-01 20:24:17 +05:30
Kovid Goyal 9b3e525610 py3: Get rid of the last cStringIO 2019-04-01 18:42:25 +05:30
Kovid Goyal d59d91374a py3: get rid of more cStringIO 2019-04-01 18:38:45 +05:30
Kovid Goyal a754bf46f1 py3: Replace use of StringIO 2019-04-01 18:34:50 +05:30
Kovid Goyal e072941c88 py3: Replace another cStringIO 2019-04-01 18:26:21 +05:30
Kovid Goyal 7b544736f8 py3: Fix another broken swigism 2019-04-01 18:22:24 +05:30
Kovid Goyal ccb0391844 Change the source for recent user agent data
The old source no longer works
2019-04-01 18:08:29 +05:30
Kovid Goyal b78e24417a py3: dont use func_name 2019-04-01 17:01:28 +05:30
Kovid Goyal 5e10e3663b py3: Port another instance of cStringIO 2019-04-01 16:49:20 +05:30
Kovid Goyal ce007d8bab py3: port plistlib 2019-04-01 16:05:31 +05:30
Kovid Goyal e0205790b9 py3: Port urllib in metadata sources 2019-04-01 15:30:44 +05:30
Kovid Goyal 96f4c4c3a2 py3: Port Queue in metadata sources 2019-04-01 15:20:08 +05:30
Kovid Goyal ff79cf7113 ... 2019-04-01 15:15:48 +05:30
Kovid Goyal 305a1bab29 py3: port use of isinstance(str) 2019-04-01 15:14:44 +05:30
Kovid Goyal 02ff98d8dc py3: Port DeVendor 2019-04-01 14:58:41 +05:30
Kovid Goyal 38686dd905 py3: Misc recipe porting 2019-04-01 14:34:07 +05:30
Kovid Goyal 4b0ed2ab99 py3: Port use of cookielib in recipes 2019-04-01 14:30:30 +05:30
Kovid Goyal 972d98302e ... 2019-04-01 14:25:48 +05:30
Kovid Goyal 7f7f88c941 ... 2019-04-01 14:25:04 +05:30
Kovid Goyal c1eb2f9523 py3: port use of nested in recipes 2019-04-01 14:23:06 +05:30
Kovid Goyal 45975b0c39 py3: Fix strftime on python3 2019-04-01 14:18:11 +05:30
Kovid Goyal c32b7daafa py3: Port use of urlparse in recipes 2019-04-01 14:16:37 +05:30