Commit Graph

146 Commits (00fb574a8dc776cb0408ba6c9be6cc7290b101f0)

Author SHA1 Message Date
Doug Coleman 00fb574a8d factor: SYMBOL: foo foo [ bar ] initialize -> INITIALIZED-SYMBOL: foo [ bar ] 2018-08-04 21:53:05 -04:00
Doug Coleman ddfe23ccca Merge branch 'master' into modern-harvey2 2018-03-15 11:48:24 -05:00
John Benediktsson ade70ab813 ui.backend.cocoa.views: prepareOpenGL can use ?-> syntax. 2018-03-13 11:09:55 -07:00
John Benediktsson 4883242292 ui.backend.cocoa.views: cleanup some method signatures. 2018-03-13 11:05:18 -07:00
Doug Coleman c53892a128 bootstrap.syntax: Fix bootstrap. 2018-02-18 11:41:02 -06:00
Björn Lindqvist dd36f6ad57 ui: the with-ui-running combinator can be removed
It was only used within the (with-ui) words which in turn were only
called by with-ui.
2018-01-29 07:18:39 +01:00
Doug Coleman de247bf0fa cocoa: METHOD: -> COCOA-METHOD: for now. 2018-01-28 09:15:33 -06:00
Doug Coleman 06dd84bc69 cocoa: update syntax 2018-01-27 10:38:35 -06:00
Doug Coleman 5d8b912216 Merge remote-tracking branch 'origin/master' into modern-harvey2 2018-01-27 09:43:21 -06:00
John Benediktsson cccdc09a71 ui: rename ui-windows to worlds. 2018-01-22 13:17:23 -08:00
John Benediktsson dcb06f3cbd ui.backend.cocoa.views: use world get-global in touchbar-commands. 2018-01-19 15:39:52 -08:00
John Benediktsson f33bf70ad6 ui.backend.cocoa.views: use queued-gesture for touchbar commands. 2018-01-18 22:20:27 -08:00
Björn Lindqvist 9f1935c7f1 ui.*: lets rename ui-running to with-ui-running
Because it is really annoying with global variables having the same name
as words.
2018-01-18 16:48:35 +01:00
Doug Coleman f5853bda82 Merge remote-tracking branch 'origin/master' into modern-harvey2 2018-01-17 17:38:39 -06:00
John Benediktsson d2162da88e ui.backend.cocoa.views: allow up to 8 touchbar buttons. 2018-01-01 16:00:19 -08:00
Doug Coleman c73541919c ui.backend.cocoa.views: Remove touchbar stuff for now. 2017-11-22 16:28:11 -06:00
Doug Coleman bf82be86b1 Merge branch 'master' into modern-harvey 2017-11-11 11:45:46 -06:00
John Benediktsson d2f3977768 ui.backend.cocoa.views: remove listener touchbar support (temporarily).
... it breaks deploys of other UI apps that aren't the listener.
2017-10-29 15:38:20 -07:00
Doug Coleman b9e2b14cf0 modern: fix FOO>bar to \FOO>bar 2017-10-27 20:24:37 -05:00
Doug Coleman 5fb483099f cocoa: Prefer ``send: foo`` or ``send: \foo:`` instead of ``send\ foo:`` 2017-08-31 21:21:14 -05:00
Doug Coleman 9fc62092a4 factor: SEL: to selector\ postpone: \foo 2017-08-31 21:21:13 -05:00
Doug Coleman 54ef674a99 cocoa: -> to send\ ?-> to ?send\ SUPER-> to super\ 2017-08-31 21:21:13 -05:00
Doug Coleman ed62640f83 Revert "ui.backend.cocoa.views: call super.prepareOpenGL()."
This reverts commit 864912f446.

This patch breaks the UI on 10.13
2017-08-08 15:29:59 -05:00
Doug Coleman c469bfaf0c ui.backend.cocoa.tools: install-app-delegate is a confusing word name to
reuse.
2017-08-06 17:48:03 -05:00
Doug Coleman 7d47def4c9 cocoa: CLASS: ; -> <CLASS: ;CLASS>
<CLASS: is a container like <PRIVATE and <FUNCTOR:
2017-08-05 20:54:02 -05:00
Doug Coleman 0ca1b4656f ui.backend.cocoa.views: Use ?-> to avoid objc lookup errors if backingScaleFactor selector does not exist. 2017-06-01 16:53:10 -05:00
Doug Coleman a632337ba2 cocoa: Add basic support for TouchBar. 2017-05-30 15:33:48 -05:00
John Benediktsson 96a0c30baf ui.backend: adding ui-stop-after-last-window?.
This defaults to true, except for the "ui.tools".  Also, this only
works on macOS right now.  Linux and Windows always stop after the
last window closes.
2017-03-05 14:51:33 -08:00
Björn Lindqvist 39811fc7e7 ui.*: using pixel-format-attributes>int-array in even more places
So now we don't need the PIXEL-FORMAT-ATTRIBUTE-TABLE: syntax anymore.
2017-01-30 06:17:37 +01:00
Björn Lindqvist 1b1842f62d ui.pixel-formats,ui.backend.*: removing the (pixel-format-attribute) generic
It appears to be unused code.
2017-01-30 05:07:28 +01:00
Björn Lindqvist ddc5ece757 alien.*: frontend varargs support! #1677
alien-invoke gets an extra parameter indicating if the call uses varargs
or not. In 99.9% of the cases, the parameter should be f, but is t if
varargs are indicated. E.g

: do-printf ( fmt d -- st ) int f "printf" { c-string double } t alien-invoke ;
2016-08-10 21:34:37 +02:00
John Benediktsson 63410f62c8 ui.theme: updates to color scheme.
Fixes circularity and adds theme switching to Mac menu.
Could use some simplification and reduction in color theme hooks.
2016-05-09 21:40:56 -07:00
John Benediktsson 498285d7dd unicode: make this the API for all unicode things. 2016-03-30 23:29:48 -07:00
John Benediktsson 1b71efb748 ui: change active? back to a boolean. 2016-03-30 07:31:13 -07:00
John Benediktsson 864912f446 ui.backend.cocoa.views: call super.prepareOpenGL(). 2016-03-28 21:51:16 -07:00
John Benediktsson 20883fb21a ui.backend.cocoa.views: add constants for modifier flags. 2016-03-19 12:48:42 -07:00
Björn Lindqvist d4a127211d ui.backend.cocoa: fix for the silly error I made in 7bc1009973 2015-10-29 04:41:36 +01:00
Björn Lindqvist 7bc1009973 ui.*: make active? an integer 0-100
A UI backend can delay setting active? to 100 until the windows actually
is visible. That way, some redundant redraws that happen when the window
isn't visible is supressed. It makes the Windows and GTK UI startup a
little faster.
2015-10-27 19:00:28 +01:00
Björn Lindqvist 73893693d3 ui.backend.*: the offscreen buffer hooks appear unused - let's delete! 2015-10-27 16:58:01 +01:00
John Benediktsson e477f6996f Fix comments to be ! not #!. 2015-09-08 16:15:10 -07:00
Doug Coleman 3649dd2764 ui.backend.cocoa.views: Don't throw an error on weird mouse buttons. Fixes #1453. 2015-08-18 23:22:55 -07:00
Doug Coleman 9f0a1ed730 cocoa: Syntax is funky, so regularize it by parsing CLASS: ; and METHOD: ; and COCOA-PROTOCOL: token. 2015-08-12 19:44:07 -05:00
John Benediktsson 5eec781b40 use ``if*`` instead of ``dup [ ] [ drop ] if``. 2015-07-20 22:24:30 -07:00
Doug Coleman fbbd09f3c5 factor: system:image -> image-path, like vm-path. image is all over the place png, jpg etc 2015-07-20 00:17:09 -07:00
Doug Coleman 0176591527 factor: actual patch to remove ; from all c/fortran functions 2015-07-19 16:25:30 -07:00
Doug Coleman 892c62e1dc factor: second stab at [ ] [ ] unit-test -> { } [ ] unit-test 2015-07-03 09:39:59 -07:00
Doug Coleman 43d6f1d3e2 factor: Retrying on the unit tests. Also normalize some syntax with FUNCTION:. 2015-07-02 17:28:17 -07:00
Doug Coleman 59f3b1ea57 Revert "factor: rename [ ] [ ] unit-test -> { } [ ] unit-test using a refactoring tool!"
Needs a bit more work.

This reverts commit 7e54cc2824.
2015-07-02 13:47:06 -07:00
Doug Coleman 7e54cc2824 factor: rename [ ] [ ] unit-test -> { } [ ] unit-test using a refactoring tool! 2015-07-02 11:36:08 -07:00
Doug Coleman 352e5de16a core, basis, extra: Remove DOS line endings from files.
Remove whitespace from end of lines.
Add a newline to the end of each file.
2015-06-29 17:25:40 -07:00