Releases: TheQwertiest/foo_spider_monkey_panel
Releases · TheQwertiest/foo_spider_monkey_panel
v1.2.2 - Maintenance
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
andsetTimeout
.
- Added global constructor for
Changed
- More accurate colour calculation in
GetColourScheme
andGetColourSchemeJson
. - 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
v1.2.0 - `include` overhaul + slow script detection
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
andAlbum 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
andGdiBitmap.GetColourSchemeJSON
(kudos to @kbuffington).
v1.1.5 - Hotfix II
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
Changelog
Hotfix for v1.1.3 (see changelog below)
Fixed
- Fixed
fb.RunContextCommandWithMetadb
not working with most commands.
v1.1.3 - Minor fixes
Changelog
Changed
- Removed image resizing for
custom_image
infb.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
Changelog
See wiki for the detailed description of API changes.
Added
- Added additional options to
fb.DoDragDrop
:show_text
,use_album_art
,use_theming
andcustom_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
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
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 anotherFbMetadbHandleList
, from an array ofFbMetadbHandle
, from a singleFbMetadbHandle
and a default constructor.GdiBitmap
: from anotherGdiBitmap
.FbProfiler
: accepts the same arguments asfb.CreateProfiler
.FbTitleFormat
: accepts the same arguments asfb.TitleFormat
.
- Added
- 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 additionalwindow.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
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
andPanelMemoryUsage
.
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.