gryf
0e040b1e5e
Removed unused launch module
2020-06-17 18:10:38 +02:00
gryf
b1ae3f74f4
Get rid of environ_item function
2020-06-17 17:56:31 +02:00
gryf
927e4fe978
Removed unused rerise function
2020-06-17 17:52:22 +02:00
gryf
976ef5ce36
Get rid of polyglot as_unicode
2020-06-17 17:51:37 +02:00
gryf
4b27f55f5b
Clean up cleantext module
2020-06-17 17:44:51 +02:00
gryf
f31fb5e971
Get rid of name2codepoint usage in favor of stdlib one.
2020-06-17 17:42:49 +02:00
gryf
b4b02a4893
Fix for the missing open file mode.
2020-06-17 17:40:20 +02:00
gryf
1c04e7a4c7
More cleanups. Removing version function.
2020-06-15 22:22:55 +02:00
gryf
e7bd0f50e6
Removed lock module.
2020-06-15 21:05:54 +02:00
gryf
6028f3d33a
Removed unused simple_worker module
2020-06-15 09:03:17 +02:00
gryf
a04b02b5a2
Removed share_open function.
...
Also, some more cleanup style changes has been made.
2020-06-14 20:47:38 +02:00
gryf
3f8844832d
Move strftime to util.date module
...
In this patch strftime function is moved out of main __init__.py module
to util.date, where it belongs.
2020-06-14 20:47:01 +02:00
gryf
fdd531f6e0
Removed as_unicode function
2020-06-14 19:02:23 +02:00
gryf
add7a8ca56
Removed unused function to_unicode
2020-06-14 16:25:46 +02:00
gryf
bed16d24f1
Flaked8 cli module
2020-06-14 16:22:53 +02:00
gryf
372899739d
Removed patheq function
2020-06-14 16:09:08 +02:00
gryf
dd60a1cd26
Removed guess_all_extensions
2020-06-14 15:54:38 +02:00
gryf
e35bd46422
Removed get_types_map
2020-06-14 15:52:24 +02:00
gryf
9891d02694
Fixed flake8 issues to several modules
2020-06-14 15:49:11 +02:00
gryf
1d4f75ceba
Removed unused fsync function
2020-06-14 15:47:47 +02:00
gryf
1465e4267f
Sorted out mime initialization.
...
Every mime related function in main __init__.py has a flag check for the
check if initialization has already done. This is nonsense, since it
should be done implicitly early on the converter is starting.
This commit straight the things out, and initialization is done in cli
module.
Also, function guess_type was removed, since it's just a proxy for
mimetypes.guess_type function.
2020-06-14 15:41:18 +02:00
gryf
b23a59f223
Removed unused function for counting CPU cores
2020-06-14 12:43:15 +02:00
gryf
ebb2e810eb
Removed 'browser' related functions
2020-06-14 12:28:23 +02:00
gryf
be671ef2d8
Removed isbytestring function
2020-06-14 12:10:40 +02:00
gryf
a69884d724
Fixing leftovers from first concept of constants
2020-06-07 11:59:00 +02:00
gryf
7419954e0c
Added missing dump module
2020-06-07 08:14:15 +02:00
gryf
ce89f5c9d1
Use the real constants module.
...
This is progressing refactor of the calibre code to make it more
readable, and transform it to something more coherent.
In this patch, there are changes regarding imports for some modules,
instead of polluting namespace of each module with some other modules
symbols, which often were imported from other modules. Yuck.
2020-05-29 17:04:53 +02:00
gryf
ee4801228f
Added real constants module
2020-05-29 16:49:26 +02:00
gryf
2c78d6e3a6
Renamed constants, to make room for real constants module
2020-05-26 19:52:18 +02:00
gryf
399456d9ad
Added LRF input format support.
2020-05-24 12:43:33 +02:00
gryf
17c52a14a4
Some misc cleanups
2020-05-24 12:10:13 +02:00
gryf
0fc6e3b081
Clean up a couple of not used localize functions
2020-05-17 20:45:40 +02:00
gryf
b4067b29c9
Clean up titlecase module
2020-05-17 20:43:16 +02:00
gryf
2d26e8916d
Clean up pdb_input module
2020-05-17 20:40:46 +02:00
gryf
178b9fd4d7
Removed palmdoc C implementation in favor of pure Python.
2020-05-17 20:38:53 +02:00
gryf
da010d7841
Get rid of icu string functions in favor of native ones.
2020-05-03 20:19:11 +02:00
gryf
212cb56d42
Removed gettext related functions
2020-05-03 19:04:07 +02:00
gryf
35445cb736
More cleanup
2020-05-03 15:37:23 +02:00
gryf
1a79146bf7
Removed some more code
2020-05-03 09:55:22 +02:00
gryf
8f1eb9c88c
Removed another wrapper on stdlib
2020-04-23 20:25:52 +02:00
gryf
ea99f5223c
Removing not needed excpetion class ConversionUserFeedBack
2020-04-23 20:11:10 +02:00
gryf
16d169d0d6
Removed another unicode/string nonsense
2020-04-23 20:07:19 +02:00
gryf
de4f8a444b
Removed check for python version
2020-04-21 21:06:48 +02:00
gryf
3234e4de27
Removed iteritems and itervalues, which are redundant
2020-04-21 18:20:08 +02:00
gryf
9e076e0af4
Removed superfluous lopen builtin
2020-04-20 21:12:22 +02:00
gryf
3ca3f08054
Removing polyglot getcwd and getenv
2020-04-20 20:34:17 +02:00
gryf
c867f0321b
Removing couple of "buildins" polyglot types
2020-04-20 20:22:50 +02:00
gryf
eac0b98d6f
Removed polyglot codepoint_to_chr
2020-04-20 19:29:05 +02:00
gryf
128705f258
Removed polyglots unicode_type usage
2020-04-20 19:25:28 +02:00
gryf
ef7e2b10be
Removing is_py3 method and duplicated by urllib.
2020-04-19 21:22:24 +02:00