Commit Graph

34813 Commits

Author SHA1 Message Date
Kovid Goyal 0fdf23de8b Simplify windows exclusive file implementation by using msvcrt.locking as a fcntl substitute 2017-05-21 13:39:26 +05:30
Kovid Goyal ebe67702fd Simplify code to find path to calibre-debug 2017-05-21 13:39:26 +05:30
Kovid Goyal 235227c544 A spot of refactoring 2017-05-21 13:39:26 +05:30
Kovid Goyal 45e45cfb38 ... 2017-05-21 13:39:26 +05:30
Kovid Goyal 9f8364fc7d Remove unused code 2017-05-21 13:39:26 +05:30
Kovid Goyal 8535c6a1d8 Wire up notification of changes for the embedded server 2017-05-21 13:39:26 +05:30
Kovid Goyal 345842825b A spot of refactoring 2017-05-21 13:39:25 +05:30
Kovid Goyal 358a3bf541 A spot of refactoring 2017-05-21 13:39:25 +05:30
Kovid Goyal c88c951699 ... 2017-05-21 13:39:25 +05:30
Kovid Goyal 816e5c4b55 ... 2017-05-21 13:39:25 +05:30
Kovid Goyal 2d8dd15cf6 ... 2017-05-21 13:39:25 +05:30
Kovid Goyal 895a5fb66a Port calibredb search 2017-05-21 13:39:25 +05:30
Kovid Goyal f99ae299f5 Port calibredb embed_metadata 2017-05-21 13:39:25 +05:30
Kovid Goyal 704b6b1b63 Port calibredb clone 2017-05-21 13:39:25 +05:30
Kovid Goyal f8fbcfdef3 Port calibredb list_categories 2017-05-21 13:39:25 +05:30
Kovid Goyal 7524b79d5a A spot of refactoring 2017-05-21 13:39:25 +05:30
Kovid Goyal aa9c42dcaa Forgot to serialize user_categories and search_categoris when serializing field metdata 2017-05-21 13:39:24 +05:30
Kovid Goyal 43cacd5916 Port calibredb backup_metadata 2017-05-21 13:39:24 +05:30
Kovid Goyal 4080609d8c Port calibredb check_library 2017-05-21 13:39:24 +05:30
Kovid Goyal 7f4f546ce2 Port calibredb restore_database 2017-05-21 13:39:24 +05:30
Kovid Goyal 23803416ee Port calibredb set_custom 2017-05-21 13:39:24 +05:30
Kovid Goyal 3c2e6ca9be ... 2017-05-21 13:39:24 +05:30
Kovid Goyal a541776fb2 ... 2017-05-21 13:39:24 +05:30
Kovid Goyal 71d9ac0adc Change notification for saved searches 2017-05-21 13:39:24 +05:30
Kovid Goyal 7ebd16989d Port calibredb custom_columns 2017-05-21 13:39:24 +05:30
Kovid Goyal f0155f4b2a Port calibredb saved_searches 2017-05-21 13:39:24 +05:30
Kovid Goyal 02aa7f1be0 Remove library.cli completely 2017-05-21 13:39:23 +05:30
Kovid Goyal 008658f399 Remove most references to the old library.cli module
Still have to remove the module and port the test for the check command
2017-05-21 13:39:23 +05:30
Kovid Goyal 433987c7e2 ... 2017-05-21 13:39:23 +05:30
Kovid Goyal 746a496c70 ... 2017-05-21 13:39:23 +05:30
Kovid Goyal 7f61ff7b9c catalog cmd needs LegacyDatabase interface 2017-05-21 13:39:23 +05:30
Kovid Goyal 2e4100e8dd Port calibredb catalog 2017-05-21 13:39:23 +05:30
Kovid Goyal a376bc6b7d ... 2017-05-21 13:39:23 +05:30
Kovid Goyal 69e8cdd749 Allow creating sub-comman option parsers based on current arguments 2017-05-21 13:39:23 +05:30
Kovid Goyal 4b09406136 Port calibredb export 2017-05-21 13:39:23 +05:30
Kovid Goyal dc86b78001 ... 2017-05-21 13:39:23 +05:30
Kovid Goyal f9d964f358 A spot of refactoring 2017-05-21 13:39:22 +05:30
Kovid Goyal bafc949526 Refactor the old save to disk code to use the new db api 2017-05-21 13:39:22 +05:30
Kovid Goyal ad5ba94f3a Port calibredb set_metadata 2017-05-21 13:39:22 +05:30
Kovid Goyal 249c71877c Forgot this file in the previous commit 2017-05-21 13:39:22 +05:30
Kovid Goyal a8b29afc50 Add test for serialization of field metadata 2017-05-21 13:39:22 +05:30
Kovid Goyal c5dd2977eb Use the msgpack ext type for a more compact representation of custom types 2017-05-21 13:39:22 +05:30
Kovid Goyal fb4ea11ce2 Forgot to include this in the last commit 2017-05-21 13:39:22 +05:30
Kovid Goyal 40bbe91c0c Serialization of FieldMetadata 2017-05-21 13:39:22 +05:30
Kovid Goyal 37309b8c56 Improvements to FieldMetadata
Make __eq__ work. It is no longer a sub-class of dict, since it is not
really a dictionary (this also allows it to be serialized). Also
add function to convert FieldMetadata to/from a serializable dictionary
2017-05-21 13:39:22 +05:30
Kovid Goyal a0e0ae456a Port calibredb show_metadata 2017-05-21 13:39:22 +05:30
Kovid Goyal 24523178f2 Port calibredb remove_format 2017-05-21 13:39:21 +05:30
Kovid Goyal b33f00f0ff Use /cdb/cmd instead of /cdb/run 2017-05-21 13:39:21 +05:30
Kovid Goyal 2064a5cd1b Placeholder implementations for all calibredb cmds 2017-05-21 13:39:21 +05:30
Kovid Goyal dc35155bc3 add version to all cmd files 2017-05-21 13:39:21 +05:30