Skip to content
Permalink
Branch: master
Commits on Mar 19, 2019
  1. Remove unused code

    kovidgoyal committed Mar 19, 2019
  2. Misc fixes for the cStriongIO -> io commit

    kovidgoyal committed Mar 19, 2019
  3. ...

    kovidgoyal committed Mar 19, 2019
Commits on Mar 18, 2019
Commits on Mar 17, 2019
  1. Handle passing str to json_loads

    kovidgoyal committed Mar 17, 2019
  2. ...

    kovidgoyal committed Mar 17, 2019
  3. python3: migrate lots of code to io.(Bytes|String)IO instead of c?Str…

    eli-schwartz committed Mar 11, 2019
    …ingIO
    
    This is the only IO representation on python3, and it is backported to
    python2 to aid in porting but requires determining whether to handle
    bytes or unicode...  which is sort of the point of porting, so let's
    handle this properly everywhere we can.
  4. Update PyRSS2Gen to 1.1

    eli-schwartz committed Mar 14, 2019
    Pull functional changes adapted to in-tree calibre cleanups. Upstream
    officially supports python3 so this should be all that is needed.
  5. Remove ancient db migration code.

    eli-schwartz committed Mar 14, 2019
    The last caller for this function was removed in 2012.
    This gets rid of a python2-specific cStringIO import.
  6. Migrate .pickle config files to JSON format on first read

    kovidgoyal committed Mar 17, 2019
  7. Move the old .py based config files to JSON

    kovidgoyal committed Mar 17, 2019
    The .py format relied on pickle for serialization of complex datatypes
    and is not stable against multiple python versions.
    
    As witht he migration of the .pickle config files, an upgrade/downgrade
    will make the settings disjoint.
Commits on Mar 16, 2019
  1. Forgot to keep from/to_json in config namespace

    kovidgoyal committed Mar 16, 2019
  2. Move JSON serialization function into config_base

    kovidgoyal committed Mar 16, 2019
  3. py3: Allow serializing utf-8 bytestrings to JSON

    kovidgoyal committed Mar 16, 2019
    This matches behavior of py2
  4. ...

    kovidgoyal committed Mar 16, 2019
  5. Use a more efficient serialization for notified versions

    kovidgoyal committed Mar 16, 2019
  6. ...

    kovidgoyal committed Mar 16, 2019
  7. Do not use pickle to store DynamicConfig

    kovidgoyal committed Mar 16, 2019
    pickle is not portable between python versions, which makes it
    particularly unsuited for config files.
    
    Old settings are automatically migrated from *.pickle to *.pickle.json
    
    Note this has the unfortunate side-effect that upgrading/downgrading or
    using multiple versions of calibre on the same config directory will
    make the settings disjoint. I dont see a reasonable way to avoid that.
  8. Use ABC to test for numbers type

    kovidgoyal committed Mar 16, 2019
    This is important as long does not exist on py3 and anyway using an ABC
    is more robust.  Also fix a few uses of long() for py3.
  9. Reduce file lock time

    kovidgoyal committed Mar 16, 2019
  10. DRYer

    kovidgoyal committed Mar 16, 2019
  11. Persist QByteArray as python bytearrays in JSONConfig

    kovidgoyal committed Mar 16, 2019
  12. Remove unused code

    kovidgoyal committed Mar 16, 2019
Commits on Mar 15, 2019
  1. Make use of pickle in ipc.pool work on py3 as well

    kovidgoyal committed Mar 15, 2019
  2. Remove unused code

    kovidgoyal committed Mar 15, 2019
  3. Ensure worker env keys are bytes/unicodeon py2/3

    kovidgoyal committed Mar 15, 2019
  4. A spot of refactoring

    kovidgoyal committed Mar 15, 2019
  5. ...

    kovidgoyal committed Mar 15, 2019
  6. Dont rely on constants from the pickle module

    kovidgoyal committed Mar 15, 2019
Older
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.