MSync
Remarks: ipc.On
// go: Asynchronous listening mode
ipc.On("name", func(){
// ...
}, ipcTypes.OnOptions{Mode: ipcTypes.MAsync})
Full Changelog: https://github.com/energye/energy/compare/v2.3.8...v2.4.0
This version is incompatible with 2.3.x.
U: LCLBrowserWindow and ViewsFrameworkBrowserWindow, Add func ChromiumBrowser() ICEFChromiumBrowser
U: rename, ipc.emitSync => ipc.emitWait, This trigger has a timeout configuration
A: linux arm64 demo startup.sh
U: energy cmd version 1.0.6, install golang default version 1.19.13
A: Add gif play component
U: TCEFWindowComponent.SetOnGetTitleBarHeight param titleBarHeight => *float32
A: extension, misc_functions api
U: MacOS UI async thread run function
U: Logic when using RunOnMainThread to determine IsMessage Loop
Fix: vf tary Window state control
U: Remove MainFormOnTaskBar configuration and use Enabling MainWindow configuration when the taskbar is not displayed
U: all demo, windows import syso
Fix: Use VF Application init. RunOnMainThread VF Use ThreadSync UI. ChromiumBrowser LCLBrowserWindow nil bug.
U: Go execution IPC listening event changed to asynchronous execution
U: Condition judgment when the gate is empty
U: browserConfig > BrowserConfig
U: IPC NewTarget IWindow > Add Chromium
U: Chromium All Event Callback Parameters NativeUInt Type Pointer Passing
A: Chromium SendDevToolsMessage function, ExecuteDevToolsMethod Add Result messageId
A&U: examples
Full Changelog: https://github.com/energye/energy/compare/v2.3.7...v2.3.8
Full Changelog: https://github.com/energye/energy/compare/v2.3.5...v2.3.6
完整的更新日志: https://gitee.com/energye/energy/compare/v2.3.4...v2.3.5
完整的更新日志: https://gitee.com/energye/energy/compare/v2.2.2...v2.2.3
完整的更新日志: https://gitee.com/energye/energy/compare/v2.2.0-beta...v2.2.1
完整的更新日志: https://gitee.com/energye/energy/commits/v2.1.0
U: Linux GTK3 custom widget Set Initialization
A: window api (inc,proc,callback)
U&A: example
Fix: model window bug, IPC render nil error
A: chromium callback func
Fix&U: dev tools
A: TString Type Ref
A: OSR
A: global work schedule
Other: optimize & fix
Energy Upgrades v2.1.0
2.0 版本升级
增加大量CEF底层API(部分未添加), 可以更好的在GO中使用
移除动态库中的逻辑性功能,转移到GO中实现,以实现动态库中只保留API导出.
移除ApplicationConfig配置, 直接使用Application配置
移除Bind字段方式
调整/优化事件驱动
1 IPC事件添加支持复合类型数据结构
2 IPC事件on(监听)函数, 调整为函数参数和context参数方式传参
3 IPC事件emit(触发)函数
Go: emit 增加触发指定子进程Go事件或指定子进程JS事件
JS: emit 增加配置项方式, 触发指定子进程事件或触发其它子进事件
选项:
{
name: string 函数名
arguments: array[...] 入参参数列表
callback: function(...) 回函函数
mode: int 触发模式:异步和同步 0:async or 1:sync
target: int 触发目标, 主进程、当前进程 int 0:main 1:current
}
IPC事件增加 JS 中增加 emitSync(触发同步)函数
IPC事件on(监听)函数
Go: on 增加配置项, 进程监听事件可选
移除bind绑定字段
修复内存溢出问题
修复每第一次启动应用加载不出页面问题
修复/优化其它
fix: browser creation failure caused by slow startup for the first time
fix: browser creation failure caused by slow startup for the first time
CEF升级为109.1.18
修复chromium zoom传参问题
ARM平台需要自行编译liblcl