Skip to content

Releases: TheQwertiest/foo_spider_monkey_panel

v1.0.4 - Docs & Stability

24 Oct 20:25
Compare
Choose a tag to compare

Changelog

See wiki for the detailed description of API changes.

Note: reset SMP advanced settings for better performance - Preferences>Advanced>Tools>Right-Click on Spider Monkey Panel>Reset Branch.

Added

  • Ported JScript Panel changes:
    • Added FbMetadbHandleList.RemoveAttachImages method.
  • Improved error reports of component start-up failures.
  • Added HTML documentation: can be found in docs sub-folder inside your foo_spider_monkey_panel installation (e.g. foobar2000/user-components/foo_spider_monkey_panel/docs). index.html is the main page.
  • Added IDE integration guide to wiki.

Changed

  • Improved include performance by 2x.
  • Tweaked GC for better UX during high load.
  • Rewrote plman.PlaylistRecyclerManager, since it was broken:
    • Replaced Name property with GetName method.
    • Replaced Content property with GetContent method.
    • Renamed to plman.PlaylistRecycler.
  • Rewrote Interfaces.js
    • Fixed invalid and incorrect JSDoc tags.
    • Renamed to foo_spider_monkey_panel.js.

Fixed

  • Fixed crash when on_main_menu callback was invoked.
  • Fixed crash when switching layout from inside the panel.
  • Fixed occasional crash on panel removal.
  • Fixed incorrect handling of UTF-16 BOM files in include() and utils.ReadTextFile().
  • Fixed ThemeManager.DrawThemeBackground(): was ignoring state_id argument.
  • Fixed invalid calculation of image size, which resulted in premature OOM errors.

v1.0.3 - ShowHtmlDialog

11 Oct 08:59
Compare
Choose a tag to compare

Changelog

See wiki for the detailed description of API changes.

Note: v1.0.0 API changelog was missing description of on_notify_data callback behaviour change. It is rectified now: see wiki or callbacks doc

Changed

  • Reimplemented utils.ShowHtmlDialog(). It's no longer considered [Experimental] and is safe to use.
  • Updated Interfaces.js:
    • Updated utils.ShowHtmlDialog() doc.
    • Updated fb.DoDragDrop() doc.
    • Updated fb.IsMainMenuCommandChecked() doc.
  • Updated ActiveXObject.js: added info on helper methods ActiveX_Get/ActiveX_Set.

v1.0.2 - Hotfix

05 Oct 11:27
Compare
Choose a tag to compare

Changelog

Hotfix for v1.0.1 (see changelog below)

Fixed

  • Fixed regression in ActiveXObject handling.

v1.0.1

05 Oct 10:16
Compare
Choose a tag to compare

Changelog

See wiki for the detailed description of API changes.

Added

  • Integrated foo_acfu update checks (see component site).
  • Added Scintilla line-wrap settings to Preferences > Tools > Spider Monkey Panel (see wiki).

Changed

  • [Experimental] Replaced utils.CreateHtmlWindow() with utils.ShowHtmlDialog().
  • Updated Interfaces.js:
    • Updated window.GetProperty()/window.SetProperty() docs.
    • Updated utils.Version doc.
    • Updated FbMetadbHandleList.UpdateFileInfoFromJSON doc.

Fixed

  • Disabled callback invocation until script is fully evaluated.
  • Fixed fb.RunContextCommandWithMetadb().
  • Fixed samples:
    • Removed left-over .Dispose() calls.
    • Rewrote html dialog sample (HtmlDialogWithCheckBox.txt).
  • Added a few fixes to ActiveXObject for better compatibility.

v1.0.0

01 Oct 09:41
Compare
Choose a tag to compare

Changelog

Changelog is relative to the latest version of JScript Panel.

See wiki for the detailed description of API changes.

Added

  • Rewrote component to use Mozilla SpiderMonkey JavaScript engine.
  • Added stack trace to error reports.
  • API changes:
    • JavaScript is now conformant to ES2017 standard.
    • All arrays now can be accessed directly with [] operator (no need for toArray() cast).
    • FbMetadbHandleList items now can be accessed with [] operator.
    • Added global include() method.
    • Added window.DefinePanel method.
    • Added utils.CreateHtmlWindow() method.

Changed

  • Windows 7 is the minimum supported OS now.
  • API changes:
    • All methods and properties are case-sensitive as required by ECMAScript standard.
    • Removed Dispose() and toArray() methods.
    • Removed FbMetadbHandleList.Item() method.
    • Removed old ==PREPROCESSOR== panel header support.
    • utils.Version returns string instead of a number.
    • More rigorous error checks.
  • Updated samples with compatibility fixes.