Skip to content

Releases: TheQwertiest/foo_spider_monkey_panel

v1.2.2 - Maintenance

16 Sep 13:40
Compare
Choose a tag to compare

Changelog

See wiki for the detailed description of API changes.

Added

  • API changes:
    • Added global constructor for GdiFont.
    • Added support for passing arguments to the callback in setInterval and setTimeout.

Changed

  • More accurate colour calculation in GetColourScheme and GetColourSchemeJson.
  • Made GetColourXXX and GetFontXXX behaviour more consistent:
    • GetColourXXX always returns black colour when the requested one is not available.
    • GetFontXXX always returns null when the required font is not found.
  • Tweaked GC behaviour to reduce memory consumption during panel reload.
  • Updated HtmlDialogWithCheckBox sample.

Fixed

  • A lot of fixes to utils.ShowHtmlDialog:
    • Fixed an occasional fb2k crash.
    • Added proper shortcut handling (e.g. CTRL-C, CTRL-V).
    • Fixed enter key always closing the dialog.
    • Fixed incorrect handling of some keyboard events (e.g. space and tab keys).
  • Fixed FbUiSelectionHolder.SetPlaylistSelectionTracking not working.
  • Fixed fb2k crash when there is an error in a cached script.
  • Fixed slow script handler triggering wrongly with some modal dialogs.
  • Fixed error report being blank in some cases.
  • Fixed docs for FbMetadbHandle.GetFileInfo: was missing info about return value.
  • Fixed crashes in jsplaylist-mod, js-smooth, thumbs and other complete samples (by @marc2k3).

v1.2.1 - Hotfix

24 Apr 14:41
Compare
Choose a tag to compare

Changelog

Hotfix for v1.2.0 (see changelog below)

Fixed

  • Fixed another fb2k freeze on exit.

v1.2.0 - `include` overhaul + slow script detection

22 Apr 16:00
Compare
Choose a tag to compare

Changelog

See wiki for the detailed description of API changes.

Added

  • Improved include method:
    • Added support for relative paths.
    • Added script caching - script file will be read only once from filesystem (even if it is included from different panels).
      Improves panel initialization speed when re-using same script files.
    • Added include guard - script won't be evaluated a second time if it was evaluated before in the same panel (handled by new options.always_evaluate argument).
  • Added slow script handling: script can be aborted now if it's unresponsive for some time.

Changed

  • Improved performance of utils.FileTest(path, 's').

Fixed

  • Fixed crashes in Thumbs and Album Art complete samples (by @marc2k3).
  • Fixed GdiBitmap.GetColourScheme not limiting the number of output colours.
  • Fixed potential memory leaks when using window.NotifyOthers.
  • Fixed fb2k freeze on exit.
  • Fixed invalid colour calculation in GdiBitmap.GetColourSchemeJSON.
  • Fixed colour rounding errors in GdiBitmap.GetColourScheme and GdiBitmap.GetColourSchemeJSON (kudos to @kbuffington).

v1.1.5 - Hotfix II

21 Jan 14:18
Compare
Choose a tag to compare

Changelog

Hotfix II for v1.1.3 (see changelog below)

Changed

  • Panel Properties dialog now uses JSON format by default for export.

Fixed

  • Fixed incorrect parsing of UCS-2 LE encoded files.

v1.1.4 - Hotfix

20 Jan 15:00
Compare
Choose a tag to compare

Changelog

Hotfix for v1.1.3 (see changelog below)

Fixed

  • Fixed fb.RunContextCommandWithMetadb not working with most commands.

v1.1.3 - Minor fixes

17 Jan 10:38
Compare
Choose a tag to compare

Changelog

Changed

  • Removed image resizing for custom_image in fb.DoDragDrop when image is smaller than the drag window.
  • All file dialogs now remember last used location.

Fixed

  • Fixed Last.fm Similar Artists + User Charts + Recent Tracks script crash (kudos to @marc2k3).
  • Fixed callbacks not triggering when MenuObject.TrackPopupMenu or default context menu is active.

v1.1.2 - Bugfix + Drag-n-Drop improvements

09 Jan 10:49
Compare
Choose a tag to compare

Changelog

See wiki for the detailed description of API changes.

Added

  • Added additional options to fb.DoDragDrop: show_text, use_album_art, use_theming and custom_image.
  • By default, fb.DoDragDrop now displays album art of the dragged item (if available).

Changed

  • Cleaned up Panel Configuration dialog:
    • Moved all buttons and checkboxes to menu bar.
    • Added Help button, which opens supplied html documentation.
    • Export\Import now use *.js extension by default.

Fixed

  • Fixed callbacks not triggering when fb.DoDragDrop is active.
  • Fixed on_colours_changed callback not triggering in DUI.
  • Fixed several fb2k crashes when triggerring script error.
  • Fixed several fb2k freezes when fetching album art through 3rd party components.
  • Fixed a few more fb2k freezes.
  • Fixed utils.ReadTextFile not working with empty files.
  • Fixed utils.GetAlbumArtAsync not working in some cases.
  • Removed extra quotes in console.log when printing strings outside of objects and arrays.
  • Fixed occasional EOL issues in error report.

v1.1.1 - Hotfix

20 Nov 11:24
Compare
Choose a tag to compare

Changelog

Hotfix for v1.1.0 (see changelog below)

Fixed

  • Fixed error in object constructor when it is invoked with data from on_notify_data callback.

v1.1.0 - Drag window & API extension

19 Nov 18:53
Compare
Choose a tag to compare

Changelog

See wiki for the detailed description of API changes.

Added

  • Improved drag-n-drop window:
    • Image displays number of tracks being dragged (thanks to @reupen!).
    • Tooltip text describes the performed drop action (configurable through action.Text field).
  • API changes:
    • Added clearInterval, clearTimeout, setInterval, setTimeout methods to global namespace.
    • Added gdi.LoadImageSyncV2 method.
    • Added utils.GetAlbumArtAsyncV2 method.
    • Added arguments to FbProfiler.Print: additional message and an option to disable component info.
    • Added global constructors for the following objects:
      • FbMetadbHandleList: from another FbMetadbHandleList, from an array of FbMetadbHandle, from a single FbMetadbHandle and a default constructor.
      • GdiBitmap: from another GdiBitmap.
      • FbProfiler: accepts the same arguments as fb.CreateProfiler.
      • FbTitleFormat: accepts the same arguments as fb.TitleFormat.
  • Improved logging of objects through console.log: now it displays object's content as well.
  • Added documentation link to default context menu (accessible via WIN-SHIFT-RightClick).
  • Added callbacks to HTML documentation.
  • Updated basic samples with the new methods.

Changed

  • API changes:
    • fb.DoDragDrop now requires an additional window.ID argument.
    • fb.CreateHandleList is marked as [Deprecated] and will be removed in v2.0.0.
  • Reimplemented SMP call handling so as to conform with Run to completion rule.
  • Made adjustment to GC policies.

Fixed

  • FbMetadbHandle.FileSize returns -1 properly now when file size is not available.

v1.0.5 - Promises

05 Nov 20:50
Compare
Choose a tag to compare

Changelog

See wiki for the detailed description of API changes.

Added

  • Added handling of unhandled rejected promises.
  • Added basic handling of exception-like objects and objects derived from Error in pre-ES6 style.
  • Added properties to window for memory usage tracking: MemoryLimit, TotalMemoryUsage and PanelMemoryUsage.

Fixed

  • Fixed timing of promises invocation: now conforms to ES standard.
  • Fixed several memory leaks on panel layout switch and on script error.
  • Fixed crash on in-panel layout switch.