Lea Anthony
33855ff01d
Add tests for bound structs returned by function calls.
2023-02-26 19:18:47 +11:00
Lea Anthony
f9ffe915f2
Add bindings hook
2023-02-26 15:06:05 +11:00
Lea Anthony
91676080eb
Support binding variables that were assigned by functions
2023-02-26 13:12:30 +11:00
Lea Anthony
6afb5260a7
Refactor parsing functions
2023-02-26 08:56:27 +11:00
Adam Tenderholt
0f80f031fd
v3 parser: add some more test cases (functions) ( #2422 )
...
* [v3] add test case for parser (create struct from func)
* [v3] add another test case for parser (func in other pkg) + misc
2023-02-26 07:46:26 +11:00
Lea Anthony
ecc1791420
Support bound variables (struct literals)
...
Factor out unaryexpression parsing
Fix package bleed between tests
2023-02-25 09:47:50 +11:00
Lea Anthony
4a8917ecbc
Add nested anonymous struct test
2023-02-25 08:27:36 +11:00
Lea Anthony
cc1a6a3d50
Support anonymous struct fields
2023-02-25 08:24:58 +11:00
Lea Anthony
cd11c0a83c
Support references to structs in other packages
2023-02-24 21:15:39 +11:00
Lea Anthony
8fd0e06c24
Use package path instead of name
2023-02-23 20:26:15 +11:00
Lea Anthony
4e5be36459
Parse structs bound from other packages
2023-02-22 20:36:30 +11:00
Lea Anthony
6bfd654ec8
Tidy up. More tests.
2023-02-21 17:10:36 +11:00
Lea Anthony
dc0d99a8e9
Cover all type combinations
...
Fix bug in pointer type resolution
2023-02-21 07:52:29 +11:00
Lea Anthony
b606561f8d
Move struct cache into parsed package
...
Fix bug in package path calculation
2023-02-21 07:18:08 +11:00
Lea Anthony
d0769ecd1c
Parse Models
...
Support recursive fields
Add loads of tests
2023-02-20 20:36:58 +11:00
Lea Anthony
95bb15eef4
[v3] MUCH Improved parser for bound structs
2023-02-19 20:59:03 +11:00
Lea Anthony
93aa8345dc
[v3] Improved parser for bound structs
2023-02-17 21:01:16 +11:00
Lea Anthony
e1279a054f
[v3] Improved parser for bound structs
2023-02-17 20:57:31 +11:00
Lea Anthony
bd184cab85
[v3] Improve plain example
2023-02-16 20:28:24 +11:00
Lea Anthony
94f0f6ff82
wml refresh -> wml reload
2023-02-16 20:19:53 +11:00
Lea Anthony
af5e383905
Add wml demo
2023-02-16 20:16:20 +11:00
Lea Anthony
0881914244
Support data-wml-trigger
attribute
2023-02-16 20:15:06 +11:00
Lea Anthony
c415c1b321
Added Wails ML experiment
...
added Window.Close to js runtime
2023-02-15 20:58:57 +11:00
Lea Anthony
a5e10557c5
Support Screens API
2023-02-15 18:56:52 +11:00
Lea Anthony
045a830fbc
Add "DragAndDropEnabled" option for window
...
Add "FileDraggingExited" event
2023-02-15 18:56:52 +11:00
Lea Anthony
d86e11cef1
Fix bad merge
2023-02-12 13:36:58 +11:00
Lea Anthony
b16b263820
Merge branch 'feature/asset-server-runtime'
...
# Conflicts:
# v3/V3 Changes.md
# v3/examples/events/assets/index.html
# v3/examples/events/main.go
# v3/internal/runtime/desktop/main.js
# v3/internal/runtime/package-lock.json
# v3/internal/runtime/package.json
# v3/internal/runtime/runtime_debug_desktop_darwin.js
# v3/internal/runtime/runtime_debug_desktop_linux.js
# v3/internal/runtime/runtime_debug_desktop_windows.js
# v3/internal/runtime/runtime_production_desktop_darwin.js
# v3/internal/runtime/runtime_production_desktop_linux.js
# v3/internal/runtime/runtime_production_desktop_windows.js
# v3/pkg/application/application.go
# v3/pkg/application/messageprocessor.go
# v3/pkg/application/messageprocessor_window.go
# v3/pkg/application/options_webview_window.go
# v3/pkg/application/webview_window.go
# v3/pkg/application/webview_window_darwin.go
# v3/pkg/options/application.go
2023-02-12 12:35:46 +11:00
Lea Anthony
2c4c0b4b6b
Add dnd window event + demo
2023-02-12 08:54:08 +11:00
Lea Anthony
23bfeac02a
Window event callbacks now take a WindowEventContext
...
Improved event example
2023-02-12 07:58:14 +11:00
Lea Anthony
a2528fd066
data-contextmenu-id -> data-contextmenu
2023-02-12 06:58:51 +11:00
Lea Anthony
9b25e639f5
Support context menus
2023-02-10 08:25:52 +11:00
Lea Anthony
23d2c9a741
Refactor main.tmpl.go -> main.go.tmpl
2023-02-09 21:14:16 +11:00
Lea Anthony
f951b51c11
Context menu WIP
...
options refactor
2023-02-09 18:35:26 +11:00
Lea Anthony
5dbda4aead
Feature: AssetServer Runtime ( #2335 )
...
* Tidy up runtime JS
* Initial implementation of runtime over http
* Update runtime deps. Fix test task.
* Support Clipboard.
Message Processor refactor.
* Add `Window.Screen()`
Clipboard `GetText` -> `Text`
* Support most dialogs
Better JS->Go object mapping
Implement Go->JS callback mechanism
Rename `window.runtime` -> `window.wails` to better reflect the Go API
* Support SaveFile dialog
* Remove go.work
* Tidy up
* Event->CustomEvent to prevent potential clash with native JS Event object
Support Eventing
* Support application calls
* Support logging
* Support named windows
Remove debug info
* Update v3 changes
2023-02-06 20:50:11 +11:00
Lea Anthony
cd1e3f5bb0
Update v3 changes
2023-02-06 20:45:50 +11:00
Lea Anthony
00ee79ecdc
Support named windows
...
Remove debug info
2023-02-06 20:43:11 +11:00
Lea Anthony
f94e798c50
Support logging
2023-02-06 20:29:33 +11:00
Lea Anthony
3bd6c34ae6
Support application calls
2023-02-04 19:49:30 +11:00
Lea Anthony
f26756be9c
Event->CustomEvent to prevent potential clash with native JS Event object
...
Support Eventing
2023-02-04 11:27:27 +11:00
Lea Anthony
0e8144e52f
Tidy up
2023-01-30 19:52:53 +11:00
Lea Anthony
c46c0c335c
Support SaveFile dialog
2023-01-30 19:21:49 +11:00
Lea Anthony
73b08a45de
Support most dialogs
...
Better JS->Go object mapping
Implement Go->JS callback mechanism
Rename `window.runtime` -> `window.wails` to better reflect the Go API
2023-01-29 21:01:54 +11:00
Lea Anthony
226572a1df
Add Window.Screen()
...
Clipboard `GetText` -> `Text`
2023-01-28 09:11:06 +11:00
Lea Anthony
25577b7655
Support Clipboard.
...
Message Processor refactor.
2023-01-28 08:59:44 +11:00
Lea Anthony
c0ec5af18a
Update runtime deps. Fix test task.
2023-01-28 08:51:34 +11:00
Lea Anthony
14b201bb65
Initial implementation of runtime over http
2023-01-27 21:05:53 +11:00
Lea Anthony
8534b32a9f
Tidy up runtime JS
2023-01-27 15:47:23 +11:00
Lea Anthony
293d730708
[v3] Updated runtime to take window id into consideration
...
[v3] Ported most of the window functions for JS
2023-01-26 20:43:26 +11:00
Lea Anthony
2a68fae55e
[v3] Remove 'assets.URL'
2023-01-26 20:43:26 +11:00
Lea Anthony
c34c761c5f
[v3] Fix crash when calling window.Show()
before application.Run()
2023-01-26 07:34:25 +11:00