Home
last modified time | relevance | path

Searched hist:b53fa1b8603315858431af393b0022a933acf8cf (Results 1 – 3 of 3) sorted by relevance

/openbmc/openbmc-tools/dbus-vis/
H A Dinitialization.jsdiff b53fa1b8603315858431af393b0022a933acf8cf Thu May 26 02:16:42 CDT 2022 Sui Chen <suichen@google.com> dbus-vis: Use IPC for open file dialog

Previously, the "open file" dialog is opened in the renderer thread
running "initialization.js".

This change moves the dialog to the main thread (main.js) so that the
renderer thread emits a "file-request" request and the main thread
answers with a "filename" response.

This IPC paradigm is required for newer versions of Electron, because
the "dialog" module cannot be imported in renderer threads in those
newer versions.

Signed-off-by: Sui Chen <suichen@google.com>
Change-Id: Ifd324688bb8a4dbdc6a5f86082fb3d205af0d77a
H A Dmain.jsdiff b53fa1b8603315858431af393b0022a933acf8cf Thu May 26 02:16:42 CDT 2022 Sui Chen <suichen@google.com> dbus-vis: Use IPC for open file dialog

Previously, the "open file" dialog is opened in the renderer thread
running "initialization.js".

This change moves the dialog to the main thread (main.js) so that the
renderer thread emits a "file-request" request and the main thread
answers with a "filename" response.

This IPC paradigm is required for newer versions of Electron, because
the "dialog" module cannot be imported in renderer threads in those
newer versions.

Signed-off-by: Sui Chen <suichen@google.com>
Change-Id: Ifd324688bb8a4dbdc6a5f86082fb3d205af0d77a
H A Dipmi_timeline_vis.jsdiff b53fa1b8603315858431af393b0022a933acf8cf Thu May 26 02:16:42 CDT 2022 Sui Chen <suichen@google.com> dbus-vis: Use IPC for open file dialog

Previously, the "open file" dialog is opened in the renderer thread
running "initialization.js".

This change moves the dialog to the main thread (main.js) so that the
renderer thread emits a "file-request" request and the main thread
answers with a "filename" response.

This IPC paradigm is required for newer versions of Electron, because
the "dialog" module cannot be imported in renderer threads in those
newer versions.

Signed-off-by: Sui Chen <suichen@google.com>
Change-Id: Ifd324688bb8a4dbdc6a5f86082fb3d205af0d77a