Commit Graph

  • 8eb58ff2eb ui: support Window.Draw(nil) in OpsReader Elias Naur 2019-07-15 11:42:47 +02:00
  • 5b3090b128 ui: don't keep references alive in Ops.Reset Elias Naur 2019-07-15 09:09:30 +02:00
  • 09b5752659 ui/app: use the delayed redraw timer directly in the Window run loop Elias Naur 2019-07-14 21:51:32 +02:00
  • 07622a295c ui/app: replace locking with channels in Window implementation Elias Naur 2019-07-14 20:37:27 +02:00
  • 619a90a646 apps/go.mod: update gio dependency Elias Naur 2019-07-14 19:35:12 +02:00
  • 587b88d346 ui/app: don't draw or handle events if window is dead Elias Naur 2019-07-14 19:24:35 +02:00
  • 26543ba1a5 apps: use DrawEvent.Size instead of Window.Size Elias Naur 2019-07-14 13:10:42 +02:00
  • 6e97d65af1 ui/app: delete Window.Size method Elias Naur 2019-07-14 13:08:34 +02:00
  • cde040369c cmd/gio: use the import path as basis for the output file Elias Naur 2019-07-13 20:19:25 +02:00
  • 41990e3275 apps/go.mod: update Elias Naur 2019-07-13 13:30:38 +02:00
  • 112368a2e3 ui/app: add a DataDir fallback to Go 1.12 Elias Naur 2019-07-13 13:27:02 +02:00
  • 4cde5d57d7 ui/app: remove two redundant assignments Elias Naur 2019-07-13 13:14:30 +02:00
  • e13b9a4990 apps: support DestroyEvent Elias Naur 2019-07-13 11:43:54 +02:00
  • 59e92e8233 ui/app: introduce DestroyEvent for ending the event loop Elias Naur 2019-07-13 11:41:12 +02:00
  • 8e307b40a6 apps: update to new NewWindow API Elias Naur 2019-07-12 20:04:02 +02:00
  • a3b9c7818f ui/app: create windows directly Elias Naur 2019-07-12 19:21:02 +02:00
  • 46cee54dd6 io/app/internal/input: go fmt Elias Naur 2019-07-12 20:46:56 +02:00
  • 98e1ef177c apps/gophers: update system package path Elias Naur 2019-07-12 15:56:02 +02:00
  • 2296393471 ui/system: move package ui/input/system Elias Naur 2019-07-12 15:54:41 +02:00
  • 93368253ac ui/app: delete unused Input type Elias Naur 2019-07-12 15:44:19 +02:00
  • 759fdb2efe apps/gophers: simplify type switch Elias Naur 2019-07-12 15:41:10 +02:00
  • 1336ca109a apps/gophers: upgrade to new profiling api Elias Naur 2019-07-12 15:36:38 +02:00
  • 86533ae683 ui/input/system: introduce package for system events Elias Naur 2019-07-12 15:31:29 +02:00
  • 032e9a380e ui/app,ui/internal/input: move InvalidateOp summary to Router Elias Naur 2019-07-12 15:11:20 +02:00
  • c7eb9be9f3 ui/key,ui/pointer: replace Key types with input.Key Elias Naur 2019-07-12 14:53:45 +02:00
  • 25a20af284 ui/app: only schedule a redraw when events are available Elias Naur 2019-07-12 14:37:30 +02:00
  • ba18817400 ui/app/internal/input: add tracking up updates to handlerEvents Elias Naur 2019-07-12 14:34:24 +02:00
  • c7fda6d37d apps/gophers: add explicit redraws Elias Naur 2019-07-12 14:08:59 +02:00
  • 326f78c341 ui/app: don't implicitly redraw for each CommandEvent Elias Naur 2019-07-12 14:05:18 +02:00
  • 343934d3de apps/gophers: replace own input router with the window's Queue Elias Naur 2019-07-12 14:02:54 +02:00
  • 46850653ef ui/app: unexport Window.SetTextInput Elias Naur 2019-07-12 13:58:27 +02:00
  • cbdda4e9c5 ui/input: move Router and input queues to internal package Elias Naur 2019-07-12 13:51:00 +02:00
  • 0d924a1950 ui/app: add input queue to Window Elias Naur 2019-07-12 13:39:56 +02:00
  • b8eca39277 ui/app: comment fix Elias Naur 2019-07-12 13:32:16 +02:00
  • fb9e5ca902 ui/pointer: ignore hits to dropped handlers Elias Naur 2019-07-12 12:24:31 +02:00
  • 3a6fda129a ui: shorten OpReader.Decode for loops Elias Naur 2019-07-12 11:44:50 +02:00
  • 3c2c404fa9 apps/hello: fix loop variable captured by func literal Dan Kortschak 2019-07-12 08:01:59 +09:30
  • 96b52d3493 apps/gophers: upgrade to changed input api Elias Naur 2019-07-12 00:07:18 +02:00
  • a22bcfc88c ui/input: rename Queue to Router and Events to Queue Elias Naur 2019-07-12 00:03:52 +02:00
  • 6a4ba30c96 ui/text: shorten event loop in Editor.Layout Elias Naur 2019-07-11 23:46:11 +02:00
  • 37ac75f3bb ui/gesture: switch Click to return all events Elias Naur 2019-07-11 23:43:42 +02:00
  • 1735d5ced8 ui/input: change Events to return all events at once Elias Naur 2019-07-11 23:39:25 +02:00
  • a9d4186bef apps/gophers: move user list click handling earlier Elias Naur 2019-07-11 23:33:43 +02:00
  • fc7bb79c36 apps/gophers: remove CrossAxisAlignment Stretch values Elias Naur 2019-07-11 20:15:11 +02:00
  • 0d49eb3f4b ui/layout: drop CrossAxisAlignment value Stretch Elias Naur 2019-07-11 20:13:10 +02:00
  • 5c3398f33d apps/gophers: drop MainAxisSize from Flex initializers Elias Naur 2019-07-11 19:17:16 +02:00
  • 10ef4576e7 ui/layout: drop Flex.MainAxisSize setting and MainAxisSize type Elias Naur 2019-07-11 19:15:17 +02:00
  • c7e85efc27 ui/layout: ensure that flex weights add to 1 Elias Naur 2019-07-11 19:03:45 +02:00
  • 9f394109cb apps/gophers: update to simpler Flex.Flexible method Elias Naur 2019-07-11 18:46:58 +02:00
  • 449c2b844a ui/layout: drop FlexMode Elias Naur 2019-07-11 18:44:44 +02:00
  • 15505cd635 apps/gophers: upgrade to new layout.List API Elias Naur 2019-07-11 18:11:26 +02:00
  • fe4a61ec89 ui/layout: make List more friendly to for loops Elias Naur 2019-07-11 18:07:16 +02:00
  • 431fa218b2 apps/gophers: larger font sizes and a layout fix Elias Naur 2019-07-11 16:56:56 +02:00
  • bcd5685e78 apps/hello: use correct Config type Dan Kortschak 2019-07-11 22:46:25 +09:30
  • f4461721e3 ui/app: tweak monitor scale Elias Naur 2019-07-11 14:55:51 +02:00
  • 478d56102a ui/app: introduce Insets for system decoration insets Elias Naur 2019-07-11 14:30:09 +02:00
  • 9d8d5da106 cmd/gio: (android) don't compress resources.arsc in apks Elias Naur 2019-07-11 13:22:42 +02:00
  • 15c4ce9e22 ui/app,cmd/gio: support edge-to-edge layout on Android Elias Naur 2019-07-11 13:03:31 +02:00
  • 828a695086 cmd/gio: rename -v to -x and add -work Elias Naur 2019-07-11 11:11:06 +02:00
  • 896f5a77dd ui/layout: don't stretch Align child Elias Naur 2019-07-11 09:18:56 +02:00
  • dbe15b23a9 apps/gophers: update to new split area ops Elias Naur 2019-07-10 23:00:42 +02:00
  • 4fadf71992 ui/pointer: split AreaOp into RectAreaOp and EllipseAreaOp Elias Naur 2019-07-10 22:55:16 +02:00
  • f44ccec043 ui/pointer: simplify pointer pass through Elias Naur 2019-07-10 22:34:24 +02:00
  • f90ef91b19 ui: fix comment for TransformOp Elias Naur 2019-07-10 20:47:42 +02:00
  • cadfc88be2 cmd/gophers: update to ui.Config as an interface Elias Naur 2019-07-10 17:23:31 +02:00
  • 32aae18293 ui,ui/app: convert Config to an interface Elias Naur 2019-07-10 16:40:53 +02:00
  • 624ef78e1c apps/gophers: update to renamed Config.Pixels method Elias Naur 2019-07-10 14:03:30 +02:00
  • 320579814f ui: rename Config.Val to Pixels Elias Naur 2019-07-10 13:59:09 +02:00
  • e3ba84758c cmd/gophers: use default scale for avatar images Elias Naur 2019-07-10 13:50:41 +02:00
  • 2aac09b3b2 cmd/gophers: update to integer ui.Config pixel values Elias Naur 2019-07-10 13:36:26 +02:00
  • ad4215a7eb ui: use ints for unit conversions to pixels Elias Naur 2019-07-10 13:23:20 +02:00
  • bde04c68a2 apps/gophers: update to Constraint.Exact method Elias Naur 2019-07-10 11:20:43 +02:00
  • 25af3e3701 ui/layout: replace Sized struct with simpler Constraint.Exact method Elias Naur 2019-07-10 11:14:28 +02:00
  • 4ec352727e ui/layout: remove unused isInf Elias Naur 2019-07-09 17:05:38 +02:00
  • 41626f5a6b apps/gophers: use the new Image.Scale for icons Elias Naur 2019-07-09 16:02:19 +02:00
  • b1af8aa75e ui/widget: introduce Image.Scale Elias Naur 2019-07-09 16:00:02 +02:00
  • ca24026ffd ui/widget: preserve image aspect in Image.Layout Elias Naur 2019-07-09 14:39:08 +02:00
  • f3164c9fce apps/gophers: update to layout objects with ui.Value measurements Elias Naur 2019-07-09 11:33:28 +02:00
  • 99be31bc26 ui/layout: convert Sized and Insets to use ui.Value Elias Naur 2019-07-09 11:28:41 +02:00
  • 8a34469211 Revert "ui/app: (iOS) treat the \n character as a return key chord" Elias Naur 2019-07-08 19:04:57 +02:00
  • da095a3e5d apps/go.mod: update gio version Elias Naur 2019-07-08 16:18:36 +02:00
  • f7ea448256 ui/app: (android) fix length of C string copy Elias Naur 2019-07-08 16:15:45 +02:00
  • 5f15f4c769 apps: remove use of app.Window.IsAlive Elias Naur 2019-07-08 15:51:21 +02:00
  • b494b3c8c0 ui/app: remove IsAlive Elias Naur 2019-07-08 15:46:48 +02:00
  • 51905c0aad ui/text: ignore all newlines in single line editors Elias Naur 2019-07-08 14:59:32 +02:00
  • 84cd3fcdca ui/text: handle stop and scroll immediately Elias Naur 2019-07-08 00:06:31 +02:00
  • 2292fd0c63 ui/app: implement window insets for iOS Elias Naur 2019-07-07 23:50:16 +02:00
  • c884b7d4f0 ui/app: introduce DrawEvent.Insets and add Android implementation Elias Naur 2019-07-07 23:30:38 +02:00
  • 491d81e0c8 cmd/gio: set windowSoftInputMode=adjustResize in AndroidManifest.xml Elias Naur 2019-07-07 21:03:25 +02:00
  • 3897832842 ui/app: use log level info for stderr Elias Naur 2019-07-07 19:32:26 +02:00
  • ab13a2ee73 ui/text: add Editor.Focus method Elias Naur 2019-07-07 18:23:50 +02:00
  • a0c04cb3b2 ui/app: (iOS) treat the \n character as a return key chord Elias Naur 2019-07-07 17:54:50 +02:00
  • 47c6ea2dd2 ui/app: (iOS) redirect standard Go logger to NSLog Elias Naur 2019-07-07 17:43:40 +02:00
  • 5f42e2e804 ui/app: (android) set close-on-exit flag on dup'ed log file descriptors Elias Naur 2019-07-07 16:47:38 +02:00
  • 1a417d353c ui/app: fix a few C signatures and a comment typo Elias Naur 2019-07-07 16:33:11 +02:00
  • f110c26e3f ui/input: hide soft keyboard when focus is lost Elias Naur 2019-07-07 15:50:33 +02:00
  • 31418eefbe ui/key: rename TextInputClosed to TextInputClose Elias Naur 2019-07-07 15:39:04 +02:00
  • 5b7a7334c8 README.md: update for -buildmode=exe default Elias Naur 2019-07-07 11:41:39 +02:00
  • 2c5b7496d2 ui/text: apply correct material for cursor Elias Naur 2019-07-07 00:48:00 +02:00
  • f56e082cc7 ui/app: introduce DataDir for application-specific data files Elias Naur 2019-07-07 00:00:54 +02:00