Commit Graph

35054 Commits

Author SHA1 Message Date
Kovid Goyal a22b5e10fe Remove windows 16bit color-depth detection as it is no longer supported by calibre 2017-05-21 13:39:40 +05:30
Kovid Goyal 403f60bd1c ... 2017-05-21 13:39:40 +05:30
Kovid Goyal f0360ecc1d Make the browse all button text a little smaller so it fits on an iphone 5 screen 2017-05-21 13:39:40 +05:30
Kovid Goyal 46d0475cbb Remove global overflow-wrap as it causes other issues 2017-05-21 13:39:40 +05:30
Kovid Goyal c7a92cff4d ... 2017-05-21 13:39:40 +05:30
Kovid Goyal e76e13a642 DRYer 2017-05-21 13:39:40 +05:30
Kovid Goyal 617983437b Fix bottom margin content visible even on title page 2017-05-21 13:39:40 +05:30
Kovid Goyal 6cf5c845da Fix wide covers being cut-off on the right 2017-05-21 13:39:40 +05:30
Kovid Goyal 0875953364 First time the viewer is shown on a device show a diagram of the basic controls 2017-05-21 13:39:40 +05:30
Kovid Goyal acbd501e84 Pass arguments on when running calibre-debug -g 2017-05-21 13:39:39 +05:30
Kovid Goyal 5a65ae3d94 certgen should be always available (I think) 2017-05-21 13:39:39 +05:30
Charles Haley fb9ec517a7 Ooops. 2017-05-21 13:39:39 +05:30
Charles Haley e644758833 Update documentation for format_number 2017-05-21 13:39:39 +05:30
Charles Haley b21abb1147 Improve performance of the recent changes to support per-library user template functions. The original implementation created a copy of the template functions dict every time a template was evaluated. The new implementation creates that dict when the library is opened and passes it to the formatter. 2017-05-21 13:39:39 +05:30
Charles Haley 66a0b28b93 Improve the format_number template function, permitting leaving off the {} characters when using basic templates. This allows format_number to be used in Template Program Mode, where the { } characters are not permitted. 2017-05-21 13:39:39 +05:30
Kovid Goyal bff275fc7e Simplify set_global_state 2017-05-21 13:39:39 +05:30
Kovid Goyal dfe9453dc7 bump beta version 2017-05-21 13:39:39 +05:30
Kovid Goyal 7fa805deee Add a bit fo spacing int he convert dialog lists 2017-05-21 13:39:39 +05:30
Kovid Goyal 9fbcaba3d9 ... 2017-05-21 13:39:39 +05:30
Kovid Goyal 2af47d11ce Make the library restriction dialog a little friendlier 2017-05-21 13:39:38 +05:30
Kovid Goyal cb7f5726eb ... 2017-05-21 13:39:38 +05:30
Kovid Goyal 02b67f82b9 DRYer 2017-05-21 13:39:38 +05:30
Kovid Goyal 3e35fab553 Adda button on the home page to show the currently logged in user 2017-05-21 13:39:38 +05:30
Kovid Goyal efc68144f0 ... 2017-05-21 13:39:38 +05:30
Kovid Goyal 588684107e Double clicking on user should launch change password dialog 2017-05-21 13:39:38 +05:30
Kovid Goyal ee9e5dd683 Allow breaking within words for maximum reflowability 2017-05-21 13:39:38 +05:30
Kovid Goyal 5271fa949c Restore proper reflow for comments on the book details page 2017-05-21 13:39:38 +05:30
Kovid Goyal 6a0a4811a2 Use a single iframe for all comments columns 2017-05-21 13:39:38 +05:30
Kovid Goyal daf89ef4bc Fix clickin on thje details part of books list items not working 2017-05-21 13:39:37 +05:30
Kovid Goyal f502da812a Sandbox comments HTML 2017-05-21 13:39:37 +05:30
Kovid Goyal a50a2c7cca Be more explicit about setting innerHTML 2017-05-21 13:39:37 +05:30
Kovid Goyal 7a4ddafb9b Remove u regex flag as it is not supported by dukpy 2017-05-21 13:39:37 +05:30
Kovid Goyal 8fe05d1e6c Escape markup when using innerHTML 2017-05-21 13:39:37 +05:30
Kovid Goyal c651219654 Utility function to sanitize simple inline HTML markup 2017-05-21 13:39:37 +05:30
Charles Haley 1aa59276bd Store and access user template functions on a per-library basis. This is used when the DB evaluates composites, avoiding using the global copy.
The ability to pre-compile templates was removed because the one-true list of available functions is known only at execution time. The compiled copy depended on the global state being accurate. And in any event, I was never totally convinced that the compiled version was significantly faster than the pre-lexed version.

Includes a bug fix: the booklist must be refreshed if a user-defined function changed.
2017-05-21 13:39:37 +05:30
Kovid Goyal c77ffc6075 Nicer button box for popup modals 2017-05-21 13:39:37 +05:30
Kovid Goyal 04d4cb923c Fix library names becoming full paths when user is logged in 2017-05-21 13:39:37 +05:30
Kovid Goyal f1d24fc349 ... 2017-05-21 13:39:37 +05:30
Kovid Goyal c5de98a8b1 calibre-server.exe: If no libraries are specified, use all the libraries known to the GUI 2017-05-21 13:39:36 +05:30
Kovid Goyal 0bddbb67ad Allow running calibre in debug mode via an environment variable 2017-05-21 13:39:36 +05:30
Kovid Goyal ea39c2f7e6 Fix failing tests that compare olddb to newdb results 2017-05-21 13:39:36 +05:30
Kovid Goyal bd000c52f4 Refactor SavedSearchQueries to use the new db API 2017-05-21 13:39:36 +05:30
Kovid Goyal abcf435b2b Reset the file cache when starting the embedded server prevents the memory cache from going out of sync with the file system cache on server restart 2017-05-21 13:39:36 +05:30
Kovid Goyal 795cb3e8a8 Ensure book list is either scrolled to a book or the top 2017-05-21 13:39:36 +05:30
Kovid Goyal 623651d84b Fix caching of parsed URL queries broken
Ensure that changes to query objects dont make it into
the cache
2017-05-21 13:39:36 +05:30
Kovid Goyal 03e9fe6195 Show a message when no books found 2017-05-21 13:39:36 +05:30
Kovid Goyal 12c8f8f29c Fix library restriction not fully case-insensitive 2017-05-21 13:39:36 +05:30
Kovid Goyal fd9b16ece2 Better error message for network errors on AJAX queries 2017-05-21 13:39:36 +05:30
Kovid Goyal 900841e13a Ensure that no duplicates are present in the list of libraries on case-insensitive filesystems 2017-05-21 13:39:35 +05:30
Kovid Goyal 9cc3571808 ... 2017-05-21 13:39:35 +05:30