Lea Anthony
ac3808f9c3
Support RGBA, fix compilation error
2022-01-29 11:38:25 +11:00
Lea Anthony
30deec4224
Support MenuUpdateApplicationMenu
2022-01-29 10:13:29 +11:00
Lea Anthony
642fa42f25
Feature/v2 linux menus ( #1114 )
...
* Render menubar + text menu items
* Support disabled menuitems + callbacks
* Support checkboxes
* Support reusing checkboxes
* Support submenus
* Support Radio menuitems
* Support Menu Accelerators
2022-01-29 07:19:14 +11:00
Travis McLane
e713c439f0
ensure data doesn't get garbage collected too soon ( #1113 )
...
* ensure data doesn't get garbage collected too soon
* Update v2/internal/frontend/desktop/linux/frontend.go
Co-authored-by: stffabi <stffabi@users.noreply.github.com>
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
Co-authored-by: stffabi <stffabi@users.noreply.github.com>
2022-01-28 07:37:17 +11:00
Travis McLane
ac69577182
remove unused import ( #1107 )
2022-01-27 07:01:29 +11:00
Lea Anthony
c5036187c2
Merge branch 'master' into feature/fix-linux-dialogs
2022-01-26 14:18:12 +11:00
Lea Anthony
7ede3ed08a
[linux] 404 handling
2022-01-26 14:01:31 +11:00
Lea Anthony
bb867832e1
Disable 404 handling for now
2022-01-26 09:55:12 +11:00
Lea Anthony
f3cc4b5ebd
Support message dialog
2022-01-25 16:27:39 -06:00
Lea Anthony
c58252386f
Support default directory, Fixed label, removed TreatPackagesAsDirectories
2022-01-25 16:27:39 -06:00
Travis McLane
a7e516a43d
[linux] implement SaveFileDialog
2022-01-25 16:27:39 -06:00
Travis McLane
d0feeb938c
implement SaveFileDialog
2022-01-25 16:27:39 -06:00
Travis McLane
2c2e053bd1
[linux] implement OpenDirectoryDialog
2022-01-25 16:27:39 -06:00
Travis McLane
b7647b3992
allow action
to be overridden by caller
2022-01-25 16:27:39 -06:00
Lea Anthony
6c68e59113
Support OpenFile /
...
OpenMultipleFiles
2022-01-25 16:27:39 -06:00
Lea Anthony
6e30c6770b
Tidy up and slight refactor
2022-01-25 16:27:39 -06:00
Travis McLane
a2d447aecf
implement opendialog as callback function
2022-01-25 16:27:39 -06:00
Travis McLane
3bcddd5b4c
add function argument to ExecuteOnMainThread
2022-01-25 16:27:39 -06:00
Travis McLane
b11964f0eb
remove xlib thread initialization
2022-01-25 16:27:39 -06:00
Lea Anthony
1920a545f4
[linux] Dialogs WIP
2022-01-25 16:27:39 -06:00
Travis McLane
cfcc6cfa1c
[linux] execute JS on main thread
2022-01-18 21:31:08 -06:00
Lea\Anthony
0f09e8d433
Fix signatures
2021-12-30 11:17:29 +11:00
Lea Anthony
41507e966a
[linux] Remove signal handlers. Weird errors.
2021-12-04 20:10:37 +11:00
Lea Anthony
3092f04bcf
[linux] Clean up signal handlers
2021-12-04 14:35:32 +11:00
ironpark
fda3323386
basic implement
2021-12-04 04:55:36 +09:00
Lea Anthony
b7a4aba5f3
Merge pull request #1004 from stffabi/feature/improve-processrequest
...
[v2] Improve processRequest: Handle errors and behave more like a webserver
2021-12-04 05:01:36 +11:00
stffabi
d827aafe89
[v2] Improve processRequest: Handle errors and behave more like a webserver
...
This also fixes that requests remain in "pending" state on
darwin if e.g. a file is not found or an error occurs during
loading of the file.
2021-12-03 16:41:51 +01:00
Ian M. Jones
db8094cd68
Fix error: cannot use uri (type *_Ctype_char) as type string in argument to common.TranslateUriToFile.
2021-12-03 15:25:58 +00:00
stffabi
8107a8bd1e
[v2] Improve translation of URI to file to be loaded
2021-12-02 11:53:32 +01:00
stffabi
155f1fde49
[v2] Do not block during processing of messages
...
On windows blocking here results in a blocked main thread
and a blocked webview.
2021-12-01 13:24:19 +01:00
Lea Anthony
4bc0b30231
[linux] Support closing window, hide window on close.
2021-12-01 20:32:23 +11:00
Lea Anthony
6a3a822640
[linux] Fix content length in responses
2021-11-29 20:32:09 +11:00
Lea Anthony
0a8f720586
[linux] Hook up runtime Window methods
2021-11-29 20:19:18 +11:00
Lea Anthony
5dbfb447b1
[linux] Support drag.
2021-11-29 20:04:57 +11:00
Lea Anthony
53481830a9
[linux] Basic webview working
2021-11-29 08:25:42 +11:00
Lea Anthony
7eb8e6456e
[linux] Devtools + dispatch.
2021-11-28 20:35:40 +11:00
Lea Anthony
5f0352404b
[linux] Add basic webview.
2021-11-28 14:21:02 +11:00
Lea Anthony
b036b8c547
[linux] Support Window start state. fixed warnings.
2021-11-28 08:40:10 +11:00
Lea Anthony
39ca977b18
[linux] basic windowing pt2
2021-11-27 20:36:48 +11:00
Lea Anthony
3a93c08813
[linux] basic windowing
2021-11-14 22:40:37 +11:00
Lea Anthony
ab1469638f
[linux] get compiling working
2021-11-13 17:06:48 -08:00