Atterpac and GitHub
05bdeb0844
allow builds for webkit2gtk-4.1 ( #3465 )
2024-05-08 19:26:27 -05:00
Denis Bernard and GitHub
08e12de2a0
linux: workaround for #2977 ( #3027 )
...
In NewWindow, set options.Linux.WebviewGpuPolicy to WebviewGpuPolicyNever
if options.Linux is nil, disabling GPU acceleration by default on linux
until the upstream bugs https://bugs.webkit.org/show_bug.cgi?id=228268
and https://bugs.webkit.org/show_bug.cgi?id=261874 are fixed.
2023-11-04 18:03:12 +11:00
Mohamed Gharib and GitHub
3f9067c815
[v2] Devtools tag doesn't enable default context-menu ( #2923 )
...
* Devtools tag doesn't enable default context-menu
* Update changelog
2023-09-26 07:43:18 +10:00
Mohamed Gharib and GitHub
34c725231c
[v2] Refactor devtools (better naming to remove confusion) ( #2921 )
2023-09-19 20:56:49 +10:00
Lea Anthony and GitHub
6aa6762f12
Devtools hotkey ( #2915 )
...
* Add Ctrl/Cmd+Shift+F12 Hotkey to open devtools when `-devtools` flag used.
2023-09-19 05:56:14 +10:00
647bc87600
[v2, Linux] fix menu background color ( #2873 )
...
* fix menu background color
* remove commented line
* handle transparent window and background color
---------
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2023-09-07 21:25:02 +10:00
Zámbó, Levente and GitHub
427e41f190
fix disable window resize ( #2863 )
...
* fix disable window resize
* change issue number in changelog
* change pull request number in changelog
2023-08-28 08:40:28 +10:00
Zámbó, Levente and GitHub
5a4eae968f
set the background color for window ( #2853 )
...
* set the background color for window
* update changelog for #2853
2023-08-25 08:27:52 +10:00
Zámbó, Levente and GitHub
9085e1edbb
Bugfix/2848 window set position timing ( #2850 )
...
* run WindowSetPosition on main thread
* remove wait group from SetPosition it is not neaded
* update changelog
2023-08-25 05:50:26 +10:00
4162f097f1
[v2, options] Add EnableDefaultContextMenu option ( #2733 )
...
* [v2, options] Add EnableDefaultContextMenu option
* Update changelog & docs
* go mod tidy (./v2)
---------
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2023-06-20 06:31:47 +10:00
fa851f29c5
[v2] Add -devtools production build flag ( #2725 )
...
* [v2] Add devtools production build flag
* Update changelog
* Fix changelog spacing
---------
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2023-06-19 06:45:01 +10:00
LGiki and GitHub
832d6bc4d3
[v2, linux] Fix StartHidden option not working on Linux ( #2624 )
...
* fix: StartHidden option not working on Linux
* chore: add an entry to the changelog
2023-04-30 01:20:39 +10:00
Zámbó, Levente and GitHub
c3011813b0
linux separate window c and go file ( #2275 )
2023-01-07 16:20:11 +11:00
Zámbó, Levente and GitHub
ef5f547d27
Support GPU acceleration settings on Windows & Linux ( #2266 )
...
* support GPU acceleration settings Window & Linux
* fix linux empty option crash
* fix change linux gpu policy switch case
* add PR to changelog
2023-01-02 09:38:53 +11:00
Lea Anthony and GitHub
e57bfe002a
Fix right mouse button event ( #2190 )
2022-12-13 07:09:45 +11:00
stffabi and GitHub
5418b879c4
[linux] Add support for WebKit2GTK 2.36+ features ( #2151 )
2022-11-30 11:04:12 +01:00
stffabi and GitHub
f6e46ac1c3
[debug] Introducing debug options for debug builds to allow opening the inspector on startup ( #2080 )
2022-11-12 19:51:54 +11:00
de49b1f125
fix gtk_window_begin_resize_drag's mouse button ( #1920 )
...
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2022-10-01 15:45:37 +10:00
Zámbó, Levente and GitHub
2690250378
Add window transparency for linux ( #1926 )
2022-10-01 15:44:38 +10:00
13532e00a0
add missing resize for framless window on linux ( #1918 )
...
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2022-09-30 08:51:08 +10:00
b2069c871d
Refactor app ( #1909 )
...
* Application refactor
* [windows] refactor out main loop. Create new application struct. Refactor assethandler/assetserver signatures.
* Refactor darwin app
* Refactor app for linux
* Update v2/internal/frontend/assetserver/assethandler.go
Co-authored-by: stffabi <stffabi@users.noreply.github.com >
* Update v2/internal/frontend/assetserver/assethandler.go
Co-authored-by: stffabi <stffabi@users.noreply.github.com >
* Update v2/internal/frontend/assetserver/assetserver.go
Co-authored-by: stffabi <stffabi@users.noreply.github.com >
* Update v2/internal/frontend/assetserver/assetserver.go
Co-authored-by: stffabi <stffabi@users.noreply.github.com >
Co-authored-by: stffabi <stffabi@users.noreply.github.com >
2022-09-29 18:43:35 +10:00
70c484f603
Add Some WindowState ( #1349 )
...
* Add Check for WindowState IsMaximised, IsMinimized, IsNormal and IsFullscreen
Solve conflicts
# Conflicts:
# v2/internal/frontend/desktop/darwin/WailsContext.m
# v2/internal/frontend/desktop/darwin/frontend.go
# v2/internal/frontend/desktop/linux/window.go
# v2/internal/frontend/desktop/windows/window.go
* Add Check for WindowState IsMaximised, IsMinimized, IsNormal and IsFullscreen
Solve conflict
# Conflicts:
# v2/pkg/runtime/window.go
* Forgot some function to use it
# Conflicts:
# v2/internal/frontend/desktop/darwin/WailsContext.h
# v2/internal/frontend/desktop/windows/win32/consts.go
# v2/internal/frontend/desktop/windows/win32/window.go
* Modify the instructions
# Conflicts:
# v2/internal/frontend/devserver/devserver.go
* Add Functions to DevServer
# Conflicts:
# v2/internal/frontend/dispatcher/systemcalls.go
# v2/internal/frontend/runtime/desktop/window.js
# v2/internal/frontend/runtime/package-lock.json
# v2/internal/frontend/runtime/runtime_prod_desktop.js
# v2/internal/frontend/runtime/wrapper/runtime.d.ts
# v2/internal/frontend/runtime/wrapper/runtime.js
* Add Callback and JavaScript Functions
# Conflicts:
# v2/cmd/wails/internal/commands/initialise/templates/generate/assets/common/frontend/wailsjs/runtime/runtime.js
# v2/internal/frontend/runtime/package-lock.json
# v2/internal/frontend/runtime/runtime_dev_desktop.js
* Remove Merge lines
* Fix IsMaximised
* Add WindowState Docs
* Update docs
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2022-08-30 06:52:01 +10:00
Lea Anthony and GitHub
baff28bb20
Bugfix/linux warnings ( #1656 )
...
* Use scaling when setting min/max window
* Fix compile issue. Add debug
* Fix scaling issue
* Fix window widget warnings & shutdown issue. Remove debug lines for linux
* Update dev build with shutdown fix
2022-08-03 21:17:38 +10:00
Lea Anthony and GitHub
224f7c0c56
Move SetMin/Max calls to main thread ( #1684 )
...
* Move SetMin/MAx calls to main thread
* Move setsize back to original location
* Remove debug
2022-08-02 06:51:20 +10:00
Lea Anthony
8e21061e78
Remove debug info for linux
2022-07-26 08:29:00 +10:00