c10367751d
Stop processing custom tweaks. Removing with the dependences.
2020-09-06 18:39:27 +02:00
5dae7a6f2d
Stop populating installation_uuid in configuration.
2020-09-06 18:38:44 +02:00
2690964642
Removed unused DevicePrefs from config module.
2020-09-06 18:36:19 +02:00
e232256420
Changed location of scanned fonts.
...
In Calibre, there was decided to keep the fonts information inside the
configuration directory. While scanned fonts information is actually a
cache, I would keep it there. This commit is making that happen.
Also removed XMLConfig in favor of JSONConfig class, since XMLConfig is
not used at all.
2020-09-06 18:32:10 +02:00
61d59cb84a
Removed unused class and function in config module.
2020-09-06 18:30:21 +02:00
2c787fd5bf
Fix some flake8 findings on config module.
2020-09-06 18:29:33 +02:00
6fdcc029bb
Cut off cross importing things.
...
There was (and perhaps it exists in other modules, need to check) a bad
habit of importing objects out of module A into B just to be able of
import those object from module B. In this case there was import from
module config_base into module config. This commit fix this.
2020-09-06 18:23:21 +02:00
fa3d6d58a3
Removed unused code, stright up iso8601 parser
2020-07-19 20:00:31 +02:00
e0ea04c658
Removed unused monotonic module
2020-07-19 10:25:30 +02:00
f1837397a1
Removed osx code
2020-07-18 18:02:59 +02:00
45b6bb5b2c
Cleanup, cleanup
2020-07-17 18:59:45 +02:00
4216fef20e
Removed prints and extract function from init module
2020-07-13 21:38:06 +02:00
c25c14024f
Removed useless cmp function from icu and polyglot
2020-07-05 17:43:42 +02:00
df26a45a2e
Removed forgotten error_message function
2020-07-05 17:43:02 +02:00
c25d63fd05
Removed safe_chr function
2020-07-05 17:42:01 +02:00
37ac7730e4
Removing some more unused functions
2020-07-05 17:16:52 +02:00
77e0f7bf2f
Removed unused functions/structs
2020-07-05 17:11:03 +02:00
111854f686
Cleaned up cover module
2020-07-05 16:37:03 +02:00
1a09e3db84
Removed Windows bits.
2020-06-17 19:28:07 +02:00
cd93b85eb0
Removed isworker variable from old constants.
2020-06-17 18:15:33 +02:00
0e040b1e5e
Removed unused launch module
2020-06-17 18:10:38 +02:00
b1ae3f74f4
Get rid of environ_item function
2020-06-17 17:56:31 +02:00
4b27f55f5b
Clean up cleantext module
2020-06-17 17:44:51 +02:00
b4b02a4893
Fix for the missing open file mode.
2020-06-17 17:40:20 +02:00
1c04e7a4c7
More cleanups. Removing version function.
2020-06-15 22:22:55 +02:00
e7bd0f50e6
Removed lock module.
2020-06-15 21:05:54 +02:00
6028f3d33a
Removed unused simple_worker module
2020-06-15 09:03:17 +02:00
a04b02b5a2
Removed share_open function.
...
Also, some more cleanup style changes has been made.
2020-06-14 20:47:38 +02:00
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
fdd531f6e0
Removed as_unicode function
2020-06-14 19:02:23 +02:00
be671ef2d8
Removed isbytestring function
2020-06-14 12:10:40 +02:00
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
2c78d6e3a6
Renamed constants, to make room for real constants module
2020-05-26 19:52:18 +02:00
0fc6e3b081
Clean up a couple of not used localize functions
2020-05-17 20:45:40 +02:00
b4067b29c9
Clean up titlecase module
2020-05-17 20:43:16 +02:00
da010d7841
Get rid of icu string functions in favor of native ones.
2020-05-03 20:19:11 +02:00
212cb56d42
Removed gettext related functions
2020-05-03 19:04:07 +02:00
16d169d0d6
Removed another unicode/string nonsense
2020-04-23 20:07:19 +02:00
de4f8a444b
Removed check for python version
2020-04-21 21:06:48 +02:00
3234e4de27
Removed iteritems and itervalues, which are redundant
2020-04-21 18:20:08 +02:00
9e076e0af4
Removed superfluous lopen builtin
2020-04-20 21:12:22 +02:00
3ca3f08054
Removing polyglot getcwd and getenv
2020-04-20 20:34:17 +02:00
c867f0321b
Removing couple of "buildins" polyglot types
2020-04-20 20:22:50 +02:00
eac0b98d6f
Removed polyglot codepoint_to_chr
2020-04-20 19:29:05 +02:00
128705f258
Removed polyglots unicode_type usage
2020-04-20 19:25:28 +02:00
ef7e2b10be
Removing is_py3 method and duplicated by urllib.
2020-04-19 21:22:24 +02:00
b66cbd2c1e
Removed overwritten builtins from mosto of the files.
...
Just started the process of cleaning up the code base.
2020-04-19 19:06:09 +02:00
571da747b3
Fix license formatting
2020-04-19 17:50:19 +02:00
48fedea799
Removing unneeded from __future__ import statements.
...
Since we are on Python 3.6 and up, we don't need those anymore.
2020-04-19 17:39:02 +02:00
d3369d55bc
Enable docx write support
2020-04-19 15:16:48 +02:00