Lea Anthony
4ea6a2d120
Support wails package
on Windows
2023-11-15 20:45:38 +11:00
Lea Anthony
250e9f91ba
[darwin] Wrappers for init, build, dev, package. Refactored default Taskfile.
2023-11-12 21:41:10 +11:00
Lea Anthony
df49f49c60
v3.0.0-alpha.2
2023-11-12 21:37:09 +11:00
Lea Anthony
1142e81348
[darwin] fix CATransaction errors. Update docs.
2023-11-12 17:06:11 +11:00
Lea Anthony
ae38d1e020
Fix taskfile in templates. Sanitize the project name
2023-11-12 16:36:01 +11:00
Lea Anthony
eefeadc018
[darwin] fix hiding in window example
2023-11-12 16:13:09 +11:00
Lea Anthony
5b5a4ba4cc
Fix windows build
2023-11-12 14:23:13 +11:00
Lea Anthony
0b48c3456b
[linux] Add webkit version detection + capabilities
2023-11-12 08:21:31 +11:00
Lea Anthony
1f16655769
[linux] Allow devtools by default
2023-11-11 19:05:03 +11:00
Travis McLane
b8d780ba4a
Feature/template consolidation ( #3046 )
...
* remove 'test' project
* dynamic template list generation
- uses a single fs.Embed to contain all templates
- walks and rebuilds the list of TemplateData using the cached data
- pulls the `description` out of the required `template.json` file in
the template directory
* [v3] template handling update
- move "common" template files to a _common directory
- update generator to render from _common/* first
- render selected template last to overwrite anything provided by
_common if needed
- remove duplicate files from all templates that do not change
* cleanup template project directory after test
* add linux to _common/Taskfile.yaml
* noop: whitespace cleanup _common/Taskfile.yaml
2023-11-11 12:26:28 +11:00
Travis McLane
53ea6511fc
[v3 linux] correct bug in getScreenByIndex
2023-11-09 21:11:35 -06:00
Travis McLane
27c4c5e6f6
[v3 linux] bail early if bad dbus message
...
Need at least two elements to decide what theme it is and if it is
a theme message at all.
Addresses #3040
2023-11-08 22:41:35 -06:00
Travis McLane
6f197f67f1
[linux] remove deprecated version of webkit callback handling
2023-11-08 22:31:05 -06:00
Travis McLane
385b1dbfd4
[linux] implement 'script-message-received' handling
...
- use unsafe.Pointers for 'signal_connect'
- add handler for 'script-message-received::external'
need to update this to handle older versions of webkit2gtk better
currently removed the ifdef guards (since they don't work in Go code
directly) - need to reimplement using build tags if required.
2023-11-06 23:29:03 -06:00
Travis McLane
0a4c596ecb
[v3 darwin] typecast as ApplicationEventType
2023-11-06 12:20:10 -06:00
Travis McLane
d2e0e0ed81
[v3 windows] avoid casting ApplicationEvent as int
2023-11-06 12:14:18 -06:00
Travis McLane
f787cf4bc2
[v3 linux] show dev tools if OpenInspectorAtStartup=true
2023-11-06 12:04:20 -06:00
Travis McLane
ca21a3b79d
[v3 linux] initial pass at event generation
2023-11-06 10:49:14 -06:00
Travis McLane
a773da2651
[v3 linux] use dbus for monitoring theme changes
2023-11-06 10:49:14 -06:00
Travis McLane
1a90b45f18
add linux status for examples
2023-11-06 10:49:14 -06:00
Travis McLane
9f6cd35155
[v3 linux] stop key-press event propagation
2023-11-06 10:49:14 -06:00
atterpac
f122db2e7b
Linux Keybinds
...
- Adds getKeyboardState into linux_cgo to parse keypress event and transfer it into
an accelerator for the handleKeyEvent using GDK keycodes
2023-11-06 10:49:11 -06:00
Travis McLane
0fc535f2f1
[v3 linux] contextMenus
2023-11-06 10:41:14 -06:00
Travis McLane
e420900e55
[v3 examples] go.* update
2023-11-06 10:41:14 -06:00
Travis McLane
0cd64d1fbc
[v3 linux] noop: remove commented code
2023-11-06 10:41:14 -06:00
Travis McLane
46a0030387
[v3] noop: gofmt changes
2023-11-06 10:41:14 -06:00
Travis McLane
495da9b292
[v3 linux] implement logPlatformInfo
2023-11-06 10:41:14 -06:00
Travis McLane
efb300c9f0
[v3] update go.sum
2023-11-06 10:41:14 -06:00
Travis McLane
7f1706fc74
[v3 examples/build] Taskfile update
...
- add Linux production build
- remove OS X env from basic build
2023-11-06 10:41:14 -06:00
Travis McLane
8dbbdc4bf2
[v3 linux] sanitize appId more thoroughly
2023-11-06 10:41:14 -06:00
Light
7c15f9098c
Add extra check for GPU device info for null pointer ( #3032 )
...
* add check for GPU device info
* add changelog note
* change return to continue
* Small refactor
---------
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2023-11-06 20:51:03 +11:00
Lea Anthony
857bf40072
Update parser and bindings generation
...
Update tests
2023-11-05 18:06:11 +11:00
Lea Anthony
075eb1fa3f
Update parser and bindings generation
...
Update tests
2023-11-05 18:02:36 +11:00
Travis McLane
c6ecbd56e5
[v3 examples/bindings] correct binding output + example
...
- disable output of `import <model> from models` line
- update README to generate bindings in usable location for HTML
- update HTML to reference bindings correctly
- update javascript to call and process the bound Greet function
2023-10-31 17:24:00 -05:00
Travis McLane
144567410d
[v3 linux] disable noisy onKeyPressEvent handler
2023-10-31 17:22:36 -05:00
Travis McLane
1b850662ed
[v3 example/bindings] enable DevTools
2023-10-31 17:15:16 -05:00
Travis McLane
c7c4cacc29
[v3 linux] auto-toggle devtools (if enabled)
2023-10-31 17:15:16 -05:00
Travis McLane
7e63355353
[v3 linux] correct type of window
2023-10-31 17:08:12 -05:00
Travis McLane
01652c7940
[v3 linux] update devtools behavior to match win/mac
2023-10-31 14:02:36 -05:00
Travis McLane
b379e3b0eb
Revert "Merge branch 'linux-keycodes' into v3-alpha"
...
This reverts commit a2fde7f2c3
, reversing
changes made to 985c5bf8e2
.
2023-10-31 11:09:11 -05:00
Michael Capretta
73384a562b
Add Linux Keycodes that match existing strings for keybinds
2023-10-30 10:27:21 -05:00
Lea Anthony
985c5bf8e2
[darwin] Support Ignore mouse events
...
[darwin] Support applicationSupportsSecureRestorableState
Update video example
2023-10-29 20:29:45 +11:00
Lea Anthony
3b50e0cbc5
Update docs
2023-10-28 15:44:36 +11:00
Travis McLane
a81581129a
[v3 linux] menu bitmap update handling
2023-10-27 16:45:10 -05:00
Travis McLane
e95a91861a
[v3 linux] noop: cleanup
2023-10-27 16:45:10 -05:00
Travis McLane
fa5948f40e
use windowId to avoid miscompilation
2023-10-27 15:46:25 -05:00
Travis McLane
ad4c8aacfb
[v3 linux] keypress handling stubout
2023-10-27 14:41:22 -05:00
Travis McLane
afbc09f1e7
[v3 linux] menuItem.setBitmap support
2023-10-26 16:56:06 -05:00
Travis McLane
1a1e5b743a
[v3 linux] dbus menu icon support
2023-10-26 16:56:06 -05:00
Lea Anthony
24853a7e3b
Add events README.md
2023-10-25 20:17:41 +11:00