资源说明:new:
[script] await/yield syntax compatibility with JS:
await is allowed to be in async function() only, see: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/async_function
yield is allowed to be in function*() only, see: https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Statements/function*
Existing code that uses await/yield shall work as it is but with compile time warnings.
[osx] IME support (Far East languages input method in particular).
[win] support of mouse devices with MOUSE WHEEL deltas < 120.
[config.h] #define HTTP_SUPPORT – enables/disables internal HTTP client. Without it no external resources are loaded and http client is excluded from compilation completely.
+ [html5] element support.
+ [gtk] notes project.
+ [gtk] HTML clipboard support.
behavior:frame saveDocument() method implementation.
[API] DOCUMENT_PARSED event. Generated after parsing but before DOCUMENT_READY.
Element.popup() update to support "auto flip" modes.
New samples:
+ sdk/samples/ideas/effects/particles sample. See: https://sciter.com/forums/topic/particles-js/
+ sdk/samples/games/flappy-bird by Ramon the Great. See: https://sciter.com/forums/topic/flappy-bird/
+ sdk/samples/ideas/notifications/demo.htm – in window notifications.
[script] bytes1 == bytes2, comparison of two byte vectors works in the same way as string1 == string2 – content equality.
[behavior:video] support of video.style.foregroundImage to access current frame.
[css and window-blurbehind attribute ] :
@media blur-behind {}
@media !blur-behind {}
@media blur-behind="ultra-dark" {}
@media blur-behind="dark" {}
@media blur-behind="light" {}
@media blur-behind="ultra-light" {}
fixes:
[DOM,script] element.clone() to preserve :synthetic state flag in cloned elements.
[win,printing] fix of printing on printers with device name larger than 31 characters. Thanks to Miloš Opálek
[css] :nth-child(an+b) selector fix.
[pager] documentation update at sdk/samples/printing/doc/pager-behavior.htm
[pager] restored printing functionality with GDI+ backend, thanks to Miloš Opálek
[win] fix of view.windowState = WINDOW_FULL_SCREEN; rendering.
[layout] handling of inline elements in ], parser forces insertion for
[script] "abc\n".split("\n") == 2 fix to comply with JS. [plaintext, textarea] Handling ALTGR + Q and the like combinations in national keyboards: https://sciter.com/forums/topic/bug-altgr-inputs-not-working-on-plaintext/ [CSS] Support of @SOMECONST in calc()‘s inside style sets. [richtext] insert inline images fix. [script,storage] Fix of handling record deletion under iterator. [script,storage.Index] + method clear() to remove all elements from index. input|number focus handling fix. [css] support of font: system, MyAwesome, sans-serif; constructs. STATIC_LIB + plain C header compatibility. [css] position:absolute element, width calculation fix. [API] Generating event_handler::detached() call on window destruction (if it has DOM handlers set). [API] sciter::image::load() implementation. fix of ellipsis rendering. fixes. regression fix of DOCUMENT_COMPLETE event generation, introduced in r5273. [win] fix of AV in samples/dialogs+windows/windowed-element.htm [DOM,