Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bring over lots of Py3 changes from master #1

Merged
merged 166 commits into from
Feb 3, 2020
Merged

Commits on Sep 8, 2019

  1. Configuration menu
    Copy the full SHA
    c9bc2c4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e0b7dce View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a0a1532 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    186d926 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    3b9cfe1 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    fb73273 View commit details
    Browse the repository at this point in the history

Commits on Sep 9, 2019

  1. Configuration menu
    Copy the full SHA
    72c36fd View commit details
    Browse the repository at this point in the history

Commits on Sep 21, 2019

  1. py3: Review some files

    sjohannes committed Sep 21, 2019
    Configuration menu
    Copy the full SHA
    207d0de View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ae82932 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    65610e7 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2d83ba4 View commit details
    Browse the repository at this point in the history

Commits on Sep 22, 2019

  1. Configuration menu
    Copy the full SHA
    1c498ef View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    01e1a5b View commit details
    Browse the repository at this point in the history
  3. py3: Fix typo

    sjohannes committed Sep 22, 2019
    Configuration menu
    Copy the full SHA
    096f038 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d5d1a61 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    fc55f2a View commit details
    Browse the repository at this point in the history
  6. py3: Replace xl.unicode.strxfrm call with locale.strxfrm

    xl.unicode.strxfrm has been removed because it's not needed anymore.
    sjohannes committed Sep 22, 2019
    Configuration menu
    Copy the full SHA
    acac7fc View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    7abb18f View commit details
    Browse the repository at this point in the history
  8. py3: main.py: fixed handling of --all-data-dir argument

    In python2, the alldatadir received via command-line was a byte
    string, and thus we did a sequence of decode() and encode() to
    remove any non-ASCII characters. This was necessary because if
    there were UTF-8 characters in the string, the os.path.join()
    call threw exception.
    
    In python3, the alldatadir is a unicode string, so we need to
    change the sequence to encode(), followed by decode(). It is also
    worth noting that os.path.join() does not take issues with UTF-8
    characters anymore, so perhaps the whole code block can be removed.
    
    But for now, we replace the non-ASCII characters to ? to keep the
    behavior consistent with the old version...
    rokm committed Sep 22, 2019
    Configuration menu
    Copy the full SHA
    7c17f9b View commit details
    Browse the repository at this point in the history
  9. py3: xl/common: fixed GioFileInputStream to return unicode str

    Python3 file object returns unicode str objects, so GioFileInputStream
    needs to mimic that behavior...
    rokm committed Sep 22, 2019
    Configuration menu
    Copy the full SHA
    543bcce View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    704e52f View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    5acd932 View commit details
    Browse the repository at this point in the history
  12. py3: plugins/somafm: fixes for python3

    Use urllib.parse instead of urllib2.
    Use 'unicode' when converting ETree to string in order to obtain
    a python3 str object.
    rokm committed Sep 22, 2019
    Configuration menu
    Copy the full SHA
    0465f8a View commit details
    Browse the repository at this point in the history

Commits on Sep 23, 2019

  1. Configuration menu
    Copy the full SHA
    dfb065a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2786314 View commit details
    Browse the repository at this point in the history

Commits on Sep 24, 2019

  1. daapclient: use BytesIO instead of StringIO

    Because response.read() returns a byte string.
    rokm committed Sep 24, 2019
    Configuration menu
    Copy the full SHA
    5475ede View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fa09eb0 View commit details
    Browse the repository at this point in the history

Commits on Sep 25, 2019

  1. plugins/lyric*: fixed the str/bytes handling

    In both plugins, removed encode('utf-8') calls on artist
    and title tag, which converted str to bytes and in turn caused errors
    with replace() calls.
    
    Similarly in lyricwiki plugin, the web page content, obtained via
    renderContents(), needs to be converted from bytes to str before
    subsequent replace() and split() calls.
    rokm committed Sep 25, 2019
    Configuration menu
    Copy the full SHA
    6a0c3ae View commit details
    Browse the repository at this point in the history

Commits on Sep 26, 2019

  1. Makefile: use python3

    rokm committed Sep 26, 2019
    Configuration menu
    Copy the full SHA
    ae822a6 View commit details
    Browse the repository at this point in the history

Commits on Sep 27, 2019

  1. xlgui/widgets/playback: fixed signalling of marker being reached

    We were comparing int(m.props.position * track_length) against
    playback_time, but because the latter was a float, the comparison
    was never true. So convert the playback_time to int before the
    comparison to catch the moment when marker is reached.
    
    Should fix the segment repeating in A-B repeat plugin.
    rokm committed Sep 27, 2019
    Configuration menu
    Copy the full SHA
    cf11166 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d7d0292 View commit details
    Browse the repository at this point in the history
  3. xlgui/preferences/widgets: HashedPreference: encode value before hashing

    The str (unicode) value needs to be encoded to bytes before
    passed to the hash function.
    rokm committed Sep 27, 2019
    Configuration menu
    Copy the full SHA
    31b00b4 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e3da2b8 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    c459f39 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    f3d7fa7 View commit details
    Browse the repository at this point in the history
  7. plugins/audioscrobbler: replaced track.set_tag_raw() with set_tags()

    Passing multiple tags via kwargs is not supported by set_tag_raw,
    resulting in error.
    rokm committed Sep 27, 2019
    Configuration menu
    Copy the full SHA
    b1ee4cc View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    462b33b View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    6da3355 View commit details
    Browse the repository at this point in the history
  10. plugins/bookmarks: reviewed futurize changes, fixed file load/save

    In this plugin, the open() call in save function needs to be done
    in non-binary mode, because otherwise json.dump() function throws
    an error about trying to write an str instead of bytes.
    
    The load function seems to work with both binary and
    non-binary open(), so use non-binary to be consistent.
    rokm committed Sep 27, 2019
    Configuration menu
    Copy the full SHA
    46ea385 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    4cf7842 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    31ec3d1 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    2232b2d View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    bdfd28e View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    7fdf4e6 View commit details
    Browse the repository at this point in the history
  16. plugins/daapserver: fixed byte-string merging

    When merging list of byte-strings, the delimiter string needs to
    be a byte-string as well.
    rokm committed Sep 27, 2019
    Configuration menu
    Copy the full SHA
    5a84a6c View commit details
    Browse the repository at this point in the history

Commits on Sep 28, 2019

  1. Configuration menu
    Copy the full SHA
    0e52cf6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    dfbfccb View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c3bfd14 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0b4a34c View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    00a6c6b View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    736c91a View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    1674728 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    868f3d7 View commit details
    Browse the repository at this point in the history
  9. plugins/multialarmclock: open() alarms file in non-binary mode

    Because we are directly reading/write json, which is a str and
    not bytes.
    rokm committed Sep 28, 2019
    Configuration menu
    Copy the full SHA
    49e7db7 View commit details
    Browse the repository at this point in the history
  10. plugins/multialarmclock: fixed the corner case when no playlist is set

    In that case, the player.QUEUE.set_current_playlist() needs to
    be passed the playlist, not a playlist page.
    rokm committed Sep 28, 2019
    Configuration menu
    Copy the full SHA
    c8f4480 View commit details
    Browse the repository at this point in the history
  11. plugins/multialarmclock: provide default values for settings.get_opti…

    …on()
    
    Provide default values for the options retrieved from settings.
    This is necessary because otherwise we get a None for option that
    has not been explicitly modified via UI. The defaults are set
    to the values that are displayed by UI.
    
    Fixes the fade-in functionality.
    rokm committed Sep 28, 2019
    Configuration menu
    Copy the full SHA
    5116b17 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    507f615 View commit details
    Browse the repository at this point in the history
  13. plugins/playlistanalyzer: open template file in non-binary mode

    Because the rest of the processing seems to expect str objects,
    not bytes.
    rokm committed Sep 28, 2019
    Configuration menu
    Copy the full SHA
    19db853 View commit details
    Browse the repository at this point in the history
  14. plugins/playlistanalyzer: explicitly exclude None objects from __sort…

    …ed_tags
    
    In python3, greater-than and less-than comparison between a None
    and a string is invalid. Therefore, the tag_data_key() not
    returning a value for None-valued td causes errors.
    
    So it seems a better idea to just discard the None elements at
    the very beginning.
    rokm committed Sep 28, 2019
    Configuration menu
    Copy the full SHA
    1224d60 View commit details
    Browse the repository at this point in the history
  15. plugins/playlistanalyzer: sort out bytes/str with input/output files

    The template needs to be read in non-binary mode. The output
    contents need to be encoded to bytes because that is what
    Gio.FileOutputStream.write() is expecting. The d3 file needs to
    be read in binary mode, because the resulting bytes are directly
    passed to a Gio.FileOutputStream.write().
    rokm committed Sep 28, 2019
    Configuration menu
    Copy the full SHA
    f39ccd5 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    4bf7da0 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    e192741 View commit details
    Browse the repository at this point in the history
  18. py3: Documentation updates

    sjohannes committed Sep 28, 2019
    Configuration menu
    Copy the full SHA
    e79d85c View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    c914b8c View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    31d9b72 View commit details
    Browse the repository at this point in the history
  21. xl/collection: remove the use of basestring

    In joiner(), we really need to distinguish only between lists
    (which need to be joined) and other (which are returned as-is).
    
    So rework the logic to use isinstance(value, list) instead of
    isinstance(value, basestring). Also, always join using the
    str-based separator, as tags should always be str objects now.
    rokm committed Sep 28, 2019
    Configuration menu
    Copy the full SHA
    b923340 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    94034b4 View commit details
    Browse the repository at this point in the history
  23. xlgui/properties: TagTextField: removed obsolete str conversion

    The text returned by buffer.get_text() is already a str instance,
    so trying to convert it to str again with specified encoding
    results in error.
    rokm committed Sep 28, 2019
    Configuration menu
    Copy the full SHA
    285b989 View commit details
    Browse the repository at this point in the history
  24. xlgui/widgets/playlist_columns: use replace() to escape newlines

    Use replace('\n', '\\n') and replace('\\n', '\n') to escape
    newlines instead of encode()/decode() with 'unicode_escape',
    which also involve conversion from and to bytes.
    rokm committed Sep 28, 2019
    Configuration menu
    Copy the full SHA
    331abfd View commit details
    Browse the repository at this point in the history

Commits on Sep 29, 2019

  1. xlgui/widgets/rating.py: reviewed changes made by futurize

    All marked divisions should be float divisions.
    rokm committed Sep 29, 2019
    Configuration menu
    Copy the full SHA
    df637f4 View commit details
    Browse the repository at this point in the history
  2. Changed shebang from python2 to python3

    Changed sheband from python2 to python3 in several tools and in
    plugin files that have defined main.
    
    Removed the shebang from plugin files that do not have main
    defined.
    rokm committed Sep 29, 2019
    Configuration menu
    Copy the full SHA
    99e3a2d View commit details
    Browse the repository at this point in the history

Commits on Sep 30, 2019

  1. Configuration menu
    Copy the full SHA
    4912f92 View commit details
    Browse the repository at this point in the history
  2. xl/metadata/ogg: vorbis requires all tags to be str

    This goes for the base64-encoded covert image daa as well. Fixes
    the remaining test error.
    rokm committed Sep 30, 2019
    Configuration menu
    Copy the full SHA
    abb688b View commit details
    Browse the repository at this point in the history
  3. Fixed some warnings produced by the test suite

    These mainly involve missing gi.require_version() before imports,
    and use of deprecated GObject.PARAM_READWRITE instead of
    GObject.ParamFlags.READWRITE.
    
    The remaining warnings from the test suite (about deprecation of
    inspect.getargspec() since Python 3.0) come from mox and are
    beyond out control.
    rokm committed Sep 30, 2019
    Configuration menu
    Copy the full SHA
    8820f04 View commit details
    Browse the repository at this point in the history
  4. xlgui/cover: decorate do_*() callbacks with @common.idle_add()

    Signals prefetch-started, prefetch-progress, prefetch-completed,
    fetch-started, fetch-progress, fetch-completed, and cover-fetched
    are emitted from a worker thread. Because their do_() callbacks
    peforms GUI operations, they need to be executed within the
    main thread, which is achieved by adding the @common.idle_add()
    decorator.
    
    Fixes a crash when opening cover manager (Edit->Covers), and
    clicking on Fetch Covers.
    rokm committed Sep 30, 2019
    Configuration menu
    Copy the full SHA
    0f46fbc View commit details
    Browse the repository at this point in the history

Commits on Oct 3, 2019

  1. py3: Review some files

    sjohannes committed Oct 3, 2019
    Configuration menu
    Copy the full SHA
    89f9494 View commit details
    Browse the repository at this point in the history
  2. py3: Review some files

    sjohannes committed Oct 3, 2019
    Configuration menu
    Copy the full SHA
    ba19dda View commit details
    Browse the repository at this point in the history

Commits on Oct 5, 2019

  1. tools/db_explorer.py: explicitly close the shelf

    Use ctx.call_on_close() to register a callback that explicitly
    closes the opened shelf. This way, we ensure that the shelf is
    closed before the underyling database and avoid the message
    "bsddb3.db.DBError: BSDDB object has already been closed" when
    the program ends.
    rokm committed Oct 5, 2019
    Configuration menu
    Copy the full SHA
    03ed14a View commit details
    Browse the repository at this point in the history
  2. tools/db_explorer.py: import xl.common to enable Utf8Unpickler

    Needed for compatibility with python2-created music db.
    rokm committed Oct 5, 2019
    Configuration menu
    Copy the full SHA
    b726dd4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9e66a9b View commit details
    Browse the repository at this point in the history
  4. py3: Move Python 2 shelve compatibility code to xl/shelve_compat.py

    This code is duplicated in tools/db_explorer.py so it doesn't have to
    depend on xl.
    sjohannes committed Oct 5, 2019
    Configuration menu
    Copy the full SHA
    9f3c000 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    9c7ccd2 View commit details
    Browse the repository at this point in the history
  6. py3: reviewed xl/formatter

    Use the python3 syntax for metaclass instead of compatibility
    with_metaclass() function.
    rokm committed Oct 5, 2019
    Configuration menu
    Copy the full SHA
    3c45b89 View commit details
    Browse the repository at this point in the history

Commits on Oct 7, 2019

  1. Configuration menu
    Copy the full SHA
    01fa8bd View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    489eb6f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9f0b5dc View commit details
    Browse the repository at this point in the history

Commits on Oct 9, 2019

  1. panel/playlists: Rework how adding and updating playlists works

    This simplifies the code a bit, removing the update_playlist_node function
    and rolling it into the only place that needs it. Also removes a bit of
    unnecessary code in _drag_data_received_uris.
    sjohannes committed Oct 9, 2019
    Configuration menu
    Copy the full SHA
    e213e1b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3b500e5 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9ac786e View commit details
    Browse the repository at this point in the history
  4. py3: Typing fixes

    sjohannes committed Oct 9, 2019
    Configuration menu
    Copy the full SHA
    67890ea View commit details
    Browse the repository at this point in the history

Commits on Oct 21, 2019

  1. py3: xl/metadata/_id3: removed redundant str() conversions

    The old python2 (byte) str -> unicode conversion has been replaced
    with str() conversion by futurize. These are redundant, because
    under python3, these strings are already str instances. (Except
    for the TDRC/TDOR, which are ID3TimeStamps and still need to be
    converted to str).
    rokm committed Oct 21, 2019
    Configuration menu
    Copy the full SHA
    42c4afa View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    159ac2e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    efcca8c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d23edaf View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    383bc7a View commit details
    Browse the repository at this point in the history
  6. py3: reviewed xlgui/__init__.py

    rokm committed Oct 21, 2019
    Configuration menu
    Copy the full SHA
    0456c88 View commit details
    Browse the repository at this point in the history
  7. py3: xlgui/panel/collection: added comments about str() conversion

    Added comments about the use of explicit str() conversion in places
    where this is (or may be necessary).
    
    While the sort tag value is usually a string, it is not always so;
    for example, in case of track number tag.
    
    The first_meaningful_char() is in practice always called with a
    str argument due to the way our sort filters are currently
    constructed. But keep the str() conversion there as well, in case
    the sort groups get changed in the future.
    rokm committed Oct 21, 2019
    Configuration menu
    Copy the full SHA
    c17c9ac View commit details
    Browse the repository at this point in the history
  8. py3: xlgui/panel/collection: removed invalid str decode attempt

    Removed an invalid str decode attempt in _expand_node_by_name(),
    which is a left-over from python2 codebase. I suspect that this
    method is actually not used anywhere, otherwise the decode attempt
    would have triggered an error.
    rokm committed Oct 21, 2019
    Configuration menu
    Copy the full SHA
    8d36a71 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    9434458 View commit details
    Browse the repository at this point in the history
  10. py3: xlgui/panel/collection: removed a duplicated str type check

    A left-over from python2 where the check was done against str and
    unicode. But now, we need to check only for str, because sort level
    entry is either a str or a tuple.
    rokm committed Oct 21, 2019
    Configuration menu
    Copy the full SHA
    5343580 View commit details
    Browse the repository at this point in the history
  11. py3: xlgui/panel/collection: removed the use of reduce()

    The get_selected_tracks() was constructing list of track groups
    (lists/tuples), merging them into a single list via reduce(),
    then filtering out duplicates via set(), and finally converting
    the set back to list.
    
    This is now simplified by constructing the set on-the-fly, and
    then converting it to the list.
    rokm committed Oct 21, 2019
    Configuration menu
    Copy the full SHA
    1ad7aff View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    7bdb6ad View commit details
    Browse the repository at this point in the history

Commits on Oct 23, 2019

  1. py3: reviewed xl/devices.py

    Renamed DeviceManager.list_devices() to DeviceManager.get_devices(),
    and added typing hints.
    rokm committed Oct 23, 2019
    Configuration menu
    Copy the full SHA
    46432f3 View commit details
    Browse the repository at this point in the history
  2. py3: reviewed xl/event.py

    Removed the TODO(py3) comments pertaining the 3rd parameter of
    types.MethodType() which was removed from python3, presumably
    along with the concept of the unbound method.
    rokm committed Oct 23, 2019
    Configuration menu
    Copy the full SHA
    de3b943 View commit details
    Browse the repository at this point in the history
  3. py3: reviewed xl/lyrics.py

    rokm committed Oct 23, 2019
    Configuration menu
    Copy the full SHA
    a49fbe4 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    df2acef View commit details
    Browse the repository at this point in the history
  5. py3: removed the redundant unicode string prefix

    Removed the redundant unicode string prefix (u'', u"").
    rokm committed Oct 23, 2019
    Configuration menu
    Copy the full SHA
    d30cbca View commit details
    Browse the repository at this point in the history
  6. py3: xl/trax/track.py: removed redundant conversion to str()

    The tag values should already be str instances, no need to put
    them through xl.unicode.unicode(). Resolves the use of basestring
    (past built-in).
    rokm committed Oct 23, 2019
    Configuration menu
    Copy the full SHA
    5f0193e View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    7d2cc8e View commit details
    Browse the repository at this point in the history
  8. py3: reviewed xl/trax/track.py

    rokm committed Oct 23, 2019
    Configuration menu
    Copy the full SHA
    8d8483b View commit details
    Browse the repository at this point in the history
  9. py3: xl/trax/util: fixed error when sorting by non-string tags

    When expanding the Collection tree, the following error is triggered:
    TypeError: '<' not supported between instances of 'str' and 'int'
    
    This is because Track.get_tag_sort() may return a non-string for
    certain tags (track number). So for now, explicit conversion to
    string is required.
    
    Also fixed a typo in a comment at a similar explicit string conversion
    in xlgui/panel/collection.py.
    rokm committed Oct 23, 2019
    Configuration menu
    Copy the full SHA
    237eacc View commit details
    Browse the repository at this point in the history

Commits on Oct 24, 2019

  1. Configuration menu
    Copy the full SHA
    4b4a61a View commit details
    Browse the repository at this point in the history
  2. py3: completed the reviews

    rokm committed Oct 24, 2019
    Configuration menu
    Copy the full SHA
    b8454f7 View commit details
    Browse the repository at this point in the history
  3. py3: xl/common: replaced getargspec() with getfullargspec()

    In order to silence a deprecation warning about the former.
    rokm committed Oct 24, 2019
    Configuration menu
    Copy the full SHA
    bcfa560 View commit details
    Browse the repository at this point in the history

Commits on Oct 25, 2019

  1. Revert "py3: xl/trax/util: fixed error when sorting by non-string tags"

    This reverts commit 237eacc, which
    caused bug #661.
    rokm committed Oct 25, 2019
    Configuration menu
    Copy the full SHA
    ec9da3c View commit details
    Browse the repository at this point in the history
  2. py3: xl/trax/track.py: set invalid disc/track number sort tags to 0

    In get_tag_sort(), force invalid (=None) discnumber and tracknumber
    sort tags to 0. Otherwise, due to them being None, they get changed
    to default unknown value "\uffff\uffff\uffff\uffff". This in turn
    causes errors during sort due to python3 disallowing comparison
    between int and str.
    rokm committed Oct 25, 2019
    Configuration menu
    Copy the full SHA
    7f4e564 View commit details
    Browse the repository at this point in the history

Commits on Oct 31, 2019

  1. py3: plugins/mpris2: fixed the method type-check in _check_method()

    In python3, unbound methods are just functions, hence the type-check
    agaist types.MethodType in _check_method() keeps failing. The type
    check needs to be done against types.FunctionType now.
    
    Fixes the MPRIS plugin under python3.
    rokm committed Oct 31, 2019
    Configuration menu
    Copy the full SHA
    b601bfe View commit details
    Browse the repository at this point in the history

Commits on Nov 13, 2019

  1. py3: fixed the process name setting under linux

    Under python3, the sys.platform has changed from 'linux2' to
    'linux'. And we need to pass a byte-string to libc.prctl().
    rokm committed Nov 13, 2019
    Configuration menu
    Copy the full SHA
    e7a8d6b View commit details
    Browse the repository at this point in the history

Commits on Dec 3, 2019

  1. Configuration menu
    Copy the full SHA
    b0b9592 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4ef6e10 View commit details
    Browse the repository at this point in the history
  3. version: Use subprocess.DEVNULL instead of opening os.devnull ourself

    subprocess.DEVNULL is from Python 3.3.
    sjohannes committed Dec 3, 2019
    Configuration menu
    Copy the full SHA
    edaa6d3 View commit details
    Browse the repository at this point in the history

Commits on Dec 20, 2019

  1. Configuration menu
    Copy the full SHA
    02117ed View commit details
    Browse the repository at this point in the history

Commits on Dec 21, 2019

  1. Configuration menu
    Copy the full SHA
    fdf5ab2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9157935 View commit details
    Browse the repository at this point in the history

Commits on Dec 31, 2019

  1. xl/playlist: Fix error on going to previous track when shuffle is on

    Playlist.__tracks.get_meta_key can return None, which the max() call then
    compares to int.
    
    Also removed the unneeded list comprehension.
    sjohannes committed Dec 31, 2019
    Configuration menu
    Copy the full SHA
    d21902a View commit details
    Browse the repository at this point in the history

Commits on Jan 14, 2020

  1. Travis: Update to use python3 containers

    Drop old distributions without python 3.7 support because our code is
    based on python 3.7.
    genodeftest committed Jan 14, 2020
    Configuration menu
    Copy the full SHA
    47c4c0f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cac3e70 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c23b4bb View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    886cab5 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #666 from genodeftest/py3-travis

    Travis: Update docker images and use python3 containers
    genodeftest committed Jan 14, 2020
    Configuration menu
    Copy the full SHA
    7921333 View commit details
    Browse the repository at this point in the history

Commits on Jan 15, 2020

  1. Configuration menu
    Copy the full SHA
    481b619 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #669 from genodeftest/py3-more-ci

    Travis: Enable CI on ubuntu 18.04 LTS
    genodeftest committed Jan 15, 2020
    Configuration menu
    Copy the full SHA
    960b244 View commit details
    Browse the repository at this point in the history

Commits on Jan 16, 2020

  1. Configuration menu
    Copy the full SHA
    a00a917 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d5bb7da View commit details
    Browse the repository at this point in the history
  3. Merge pull request #673 from nicfit/py3-nicfit

    [py3] SyntaxWarning and removed API fixes
    sjohannes committed Jan 16, 2020
    Configuration menu
    Copy the full SHA
    2da9702 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    22bf149 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #674 from genodeftest/py3-formatting

    py3: Fix code formatting after #673
    genodeftest committed Jan 16, 2020
    Configuration menu
    Copy the full SHA
    6d92bd2 View commit details
    Browse the repository at this point in the history
  6. Plugins: Fix resource leak

    Prior to this commit, this function would leak file descriptors to PLUGININFO
    genodeftest committed Jan 16, 2020
    Configuration menu
    Copy the full SHA
    a0ed13a View commit details
    Browse the repository at this point in the history
  7. Plugins: Use importlib instead of imp

    imp is deprecated. Requires Python 3.6+
    genodeftest committed Jan 16, 2020
    Configuration menu
    Copy the full SHA
    7a15267 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    fb7bbc9 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    c6d1e4b View commit details
    Browse the repository at this point in the history
  10. Revert "Travis: Skip check-doc target for now"

    This reverts commit c23b4bb.
    rokm committed Jan 16, 2020
    Configuration menu
    Copy the full SHA
    68177bf View commit details
    Browse the repository at this point in the history
  11. Merge pull request #670 from rokm/py3-mro

    py3: fix documentation generation on python 3.7+
    rokm committed Jan 16, 2020
    Configuration menu
    Copy the full SHA
    ca39aa3 View commit details
    Browse the repository at this point in the history
  12. py3: fix documentation generation on python 3.7+, try 2

    Fixes #667, this time both on python 3.6 (Ubuntu 18.04) and 3.7
    (Fedora 31).
    rokm committed Jan 16, 2020
    Configuration menu
    Copy the full SHA
    609f05c View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    f6957fb View commit details
    Browse the repository at this point in the history

Commits on Jan 17, 2020

  1. Fix SyntaxWarnings

    nicfit committed Jan 17, 2020
    Configuration menu
    Copy the full SHA
    9b92aa3 View commit details
    Browse the repository at this point in the history
  2. DEPS: Update for python 3

    genodeftest committed Jan 17, 2020
    Configuration menu
    Copy the full SHA
    7fa0123 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9d34d08 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f3d2636 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    77c2444 View commit details
    Browse the repository at this point in the history
  6. Merge pull request #672 from genodeftest/py3-plugins-fix

    [py3] Several fixes for the plugins module
    genodeftest committed Jan 17, 2020
    Configuration menu
    Copy the full SHA
    9da139b View commit details
    Browse the repository at this point in the history
  7. Merge pull request #671 from genodeftest/py3-meta

    [py3] Some python 3.x meta stuff
    genodeftest committed Jan 17, 2020
    Configuration menu
    Copy the full SHA
    561f0e2 View commit details
    Browse the repository at this point in the history
  8. Merge pull request #675 from rokm/py3-doc-metatype

    py3: fix documentation generation on python 3.6+ (try 2)
    rokm committed Jan 17, 2020
    Configuration menu
    Copy the full SHA
    0ae9862 View commit details
    Browse the repository at this point in the history
  9. Another

    nicfit committed Jan 17, 2020
    Configuration menu
    Copy the full SHA
    3f093c7 View commit details
    Browse the repository at this point in the history

Commits on Jan 18, 2020

  1. Merge pull request #676 from nicfit/syntaxwarnings

    [py3] Fix SyntaxWarnings
    genodeftest committed Jan 18, 2020
    Configuration menu
    Copy the full SHA
    0488ed8 View commit details
    Browse the repository at this point in the history

Commits on Jan 19, 2020

  1. Mod format: bump soname version, add logging

    Changes:
    * bump libmodplug soname version to match fedora31, debian8+, ubuntu12.10+
    * add logging to give a hint if metadata fetching does not work for the
      MOD file format
    genodeftest committed Jan 19, 2020
    Configuration menu
    Copy the full SHA
    2b91662 View commit details
    Browse the repository at this point in the history
  2. Python: Replace calls to deprecated logging.warn()

    logging.warning() is just the same without deprecation notice.
    genodeftest committed Jan 19, 2020
    Configuration menu
    Copy the full SHA
    fa9192e View commit details
    Browse the repository at this point in the history
  3. Merge pull request #680 from genodeftest/py3-undeprecate-logging.warn

    Python: Replace calls to deprecated logging.warn()
    genodeftest committed Jan 19, 2020
    Configuration menu
    Copy the full SHA
    5c54fcd View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8d935a3 View commit details
    Browse the repository at this point in the history

Commits on Jan 20, 2020

  1. Merge pull request #681 from genodeftest/py3-remove-DeprecationWarning

    [Py3] Remove a few deprecated functions
    genodeftest committed Jan 20, 2020
    Configuration menu
    Copy the full SHA
    63730e9 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #677 from genodeftest/py3-mod-format

    Mod format: bump soname version, mention in DEPS, add logging
    genodeftest committed Jan 20, 2020
    Configuration menu
    Copy the full SHA
    9166ef0 View commit details
    Browse the repository at this point in the history

Commits on Jan 24, 2020

  1. Configuration menu
    Copy the full SHA
    6251a0b View commit details
    Browse the repository at this point in the history

Commits on Jan 29, 2020

  1. Translated using Weblate (Slovenian)

    Currently translated at 100.0% (1068 of 1068 strings)
    roberthr74 authored and weblate committed Jan 29, 2020
    Configuration menu
    Copy the full SHA
    45805a2 View commit details
    Browse the repository at this point in the history

Commits on Feb 1, 2020

  1. Configuration menu
    Copy the full SHA
    fef8279 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    85b5598 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e2f4c84 View commit details
    Browse the repository at this point in the history