Commit Graph

1826 Commits (3eb6e55ae4b51ec9de976f22a833f2f1f7605f5c)

Author SHA1 Message Date
Doug Coleman 96d3482475 windows: Fix user32/shcore DPI functions. 2020-03-09 21:59:10 -05:00
Doug Coleman 97532d020a ui.gadgets: Stale gestures can lose the associated gadget.
The gesture queue can send messages where the
focusable-child has disappeared.

Handle ``M: f focusable-child*`` by doing nothing.

Fixes #2117.
2020-03-06 19:05:27 -06:00
John Benediktsson 3efe23cc71 ui.gadgets.panes: fix tests under dark-theme. 2020-03-03 15:23:18 -08:00
John Benediktsson dc8e6e6799 ui.gadgets.paragraphs: need to merge height/metrics.
Sometimes cap-height is false and we handle that differently.
2020-02-27 21:53:39 -08:00
John Benediktsson 2379d27950 ui.gadgets.paragraphs: faster pref-dim.
Now computing gadget-metrics once, before called (measure-metrics) twice,
the first time adding the result, the second time dropping the top of stack.
2020-02-27 18:10:37 -08:00
John Benediktsson 1c5d417100 math.vectors: rename "v." to "vdot" 2020-02-26 12:40:16 -08:00
John Benediktsson 6ee821e061 prettyprint.stylesheet: s/stack-effect-style/base-effect/style/. 2020-02-26 11:18:18 -08:00
John Benediktsson 59ddb844e9 prettyprint.stylesheet: change stack effects to not be green. 2020-02-26 11:07:46 -08:00
John Benediktsson 6aa7d52473 ui.tools.browser: use unicode next/prev arrows. 2020-02-26 09:22:48 -08:00
John Benediktsson c03a7b5ec2 ui.gadgets.panes: simplify <styled-label>. 2020-02-25 12:33:01 -08:00
John Benediktsson e0e58a62c5 ui.tools.browser: change $navigation to not use title-style. 2020-02-19 21:47:01 -08:00
John Benediktsson 1a84cede3b ui.gadgets.panes: change approach to nested-pane-stream. 2020-02-19 21:47:01 -08:00
John Benediktsson fa31902975 ui.tools.error-list: adding table header emphasis. 2020-02-19 21:47:01 -08:00
John Benediktsson 2e5cec428a help.markup: adding a $slots word to document slots, use it. 2020-02-16 22:36:19 -08:00
John Benediktsson 7de25b9f20 ui.gadgets.panes: make it clear that pane/pack/paragraph are not streams. 2020-02-16 19:23:29 -08:00
John Benediktsson f651c8fd9a ui.gadgets.pane: rename pane-clear to clear-pane. 2020-02-16 19:17:29 -08:00
John Benediktsson 7b0f6efe7f ui.gadgets.panes: use style-stream. 2020-02-15 09:35:09 -08:00
John Benediktsson 75db2b0d4a help.markup: change default-style to use with-nesting. 2020-02-14 22:18:38 -08:00
John Benediktsson d2ab01a5d9 core/basis/extra: use flags{ } in places. 2020-02-11 13:27:42 -08:00
John Benediktsson 94cbe2b479 ui.gadgets.panes: fix for big strings on windows and linux.
Using 3639 grapheme length, which is win32 limit. Maybe cairo supports
4681 graphemes, but use the lower limit for now.
2020-01-28 16:16:09 -08:00
John Benediktsson a62ea78d73 ui.backend.cocoa.views: some formatting cleanup. 2020-01-24 14:47:42 -08:00
kusumotonorio 5bee1ba3a1 Improve System V AMD64 ABI compliance 2020-01-16 20:57:13 +09:00
John Benediktsson 77cd3aaede classes: use check-instance in a few places, to remove duplication. 2020-01-15 10:34:47 -08:00
John Benediktsson 69849bc925 ui.tools.listener: better future-proofing with code-completion class. 2019-11-07 09:57:21 -08:00
John Benediktsson 17aa52f51c ui.tools.listener: handle history-completion popup differently. 2019-11-06 12:16:19 -08:00
John Benediktsson 972fa0fbab ui.tools.listener: close completion-popup when completion-mode changes. 2019-11-06 09:29:31 -08:00
kusumotonorio 76f561ba3c NSNotFound for both 32 bit and 64 bit environments 2019-09-08 11:15:49 -07:00
kusumotonorio 2f2cb869f1 Revert Unnecessary Changes 2019-08-10 22:12:52 +09:00
kusumotonorio bada736a3f Input Completion Improvements 2019-08-10 22:02:17 +09:00
John Benediktsson 41db42a571 Revert "io.encodings.utf16: add a utf16n word for native utf16 type."
This reverts commit ad24fa414f.
2019-08-06 07:12:55 -07:00
John Benediktsson ad24fa414f io.encodings.utf16: add a utf16n word for native utf16 type.
remove io.encodings.utf16n vocabulary, which was kind of single purpose.
update a bunch of vocab usings.
2019-08-05 13:08:09 -07:00
John Benediktsson 98ee3abcae ui.text.uniscribe: windows.uniscribe.private not needed. 2019-08-03 07:51:20 -07:00
Doug Coleman f7e4774d3f ui.backend.windows: 2sequence cleanup 2019-08-02 18:29:19 -05:00
Doug Coleman c70d1f6c4a basis: Fix Windows 10 select-all for emojis.
This is @kusumotonorio's patch but his branch is not up to date so there
are a ton of merge conflicts so I'm just pulling his changes into a new
patch. Sorry for my lack of git to do this cleanly while maintaining his
credit for this patch.
2019-08-02 17:07:42 -05:00
Doug Coleman 8eb7621b54 factor: fix bootstrap and test and doc 2019-07-30 18:01:11 -05:00
Doug Coleman 6ac5bf66e8 ui.text.uniscribe: fix using 2019-07-30 18:00:02 -05:00
Doug Coleman 97b848a045 ui: Fix circular dependency. 2019-07-30 02:12:41 -05:00
KUSUMOTO Norio 1b790ee6b6 Better support to NSTextInputClient 2019-07-30 02:12:41 -05:00
KUSUMOTO Norio b83435c9a9 cocoa inline input using IM 2019-07-30 02:12:41 -05:00
Doug Coleman 3df3ad4257 ui.text.core-text: Add patch from issue #1402 by kusumotonorio 2019-07-30 02:12:41 -05:00
nicolas-p f84cfc7209 Revert "ui.gadgets.labeled: flat colour on windows because of the gradient bug"
This reverts commit b81a5f9c7a.
2019-06-08 18:47:41 +02:00
John Benediktsson a3b439047f Revert "ui.gadgets.labeled: separate title-bar-interior with a comment why."
This reverts commit cb575c1ba8.
2019-06-08 18:47:41 +02:00
Alexander Iljin 7ad6784911 Revert "ui.gadgets.buttons: workaround for windows gradient bug"
This reverts commit 20a663ab0b.
2019-06-08 18:47:41 +02:00
Doug Coleman c14e571429 ui.backend.windows: GetKeyboardState returns 0 on error 2019-05-02 07:55:40 -05:00
KUSUMOTO Norio 08aa27a112 windows.factor KUSUMOTO Norio plan 2
bug fix for issue #1

Review of the structure of words

NUMPAD&OEM-keydown-codes

plugable keyboard info

keyboard auto detect

conflict

ToUnicode version

resolve conflicts

ui.backend.windows: fix whitespace
2019-05-02 07:52:27 -05:00
Alexander Iljin 0007789795 continuations[-docs]: add the finally word 2019-04-22 21:57:51 -07:00
John Benediktsson 447e30ad41 ui.tools.listener: use ?first. 2019-03-16 20:33:16 -07:00
Doug Coleman 5d78ab55be basis: Load images.{tiff,png} by default for FreeBSD. Add platforms back. 2019-02-09 18:50:15 +00:00
John Benediktsson d9df9fc3cc ui.tools.inspector: string inspection shows characters. 2018-12-30 12:51:10 -08:00
John Benediktsson f879a012c5 ui.backend.cocoa.views: fix macOS mojave opengl issue with new windows. 2018-12-11 15:40:41 -08:00
John Benediktsson b246c06345 ui.gadgets.frames: default filled-cell to { 0 0 }. 2018-09-12 07:01:23 -07:00
Pi fd7e19b6a0 pick a better caret color for the dark theme 2018-09-07 10:02:25 -07:00
Pi 7a248c0cda actually remove caret-color slot 2018-09-07 10:02:25 -07:00
Pi 7c383a52ba make the caret color themeable 2018-09-07 10:02:25 -07:00
Alexander Iljin 0637557cca *-docs: remove extra space character at the end of paragraghs 2018-08-21 10:45:52 -07:00
John Benediktsson dc25fe3688 ui.tools.listener: minor cleanup to completion stuff. 2018-08-01 21:08:43 -07:00
Doug Coleman 4b614cc15b factor: Make source files/resources 644 instead of 755. 2018-07-13 20:36:50 -05:00
Doug Coleman 4e9d383fe5 docs: Fix help-lint-all mistakes. 2018-07-07 01:13:19 -05:00
Doug Coleman a3abec6f5c ui.backend.windows: And fix the UI for LoadCursor.
Related to #2011
2018-07-06 21:26:27 -05:00
Doug Coleman 9f213f96f6 core: Add the shuffler words but without primitives.
The nipd branch slowed bootstrap by a minute, this patch does not.

sorry about changing the fjsc line endings...
2018-06-19 22:52:58 -05:00
John Benediktsson 60fddddc0d ui.gadgets.sliders: prevent negative elevator-length. 2018-03-22 10:01:14 -07: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
Alexander Iljin e749734b01 ui-docs: add help for resize-window 2018-03-05 16:45:35 -08:00
John Benediktsson 6ca7703831 ui.backend.windows: fix resize-window to use "adjusted" dimensions. 2018-03-05 14:57:50 -08:00
Doug Coleman 618baf6753 ui.backend.windows: Refactoring how messages are handled a bit.
This is using a word from extra/
2018-02-19 23:45:21 -06:00
John Benediktsson 52de821e19 ui.gadgets.worlds: rethrow error so traceback is more obvious. 2018-02-16 16:19:51 -08:00
John Benediktsson ca03896d74 more test IN: cleanup. 2018-02-15 09:20:01 -08:00
John Benediktsson 35591cc13b fix couple more typos in docs. 2018-02-13 11:44:32 -08:00
John Benediktsson 7d628b833d fix some typos in docs. 2018-02-12 16:22:49 -08:00
John Benediktsson 9c22098dec ui.gadgets.labeled: make <labeled-gadget> not take a color.
This allows backwards compatibility with 0.97 API.  Adding
<colored-labeled-gadget> for a version with a colored divider
and implementing it with a gap between title bar and content
intead of a shelf border gadget.
2018-02-11 09:53:48 -08:00
Doug Coleman 2464e70fad ui.pens.caching: Fix using. 2018-02-10 19:52:03 -06:00
Doug Coleman c8d63c56a9 factor: Clean up wrong form of specialized-arrays in using lists. 2018-02-10 15:25:36 -06:00
Björn Lindqvist a9ebc772df ui.backend.gtk: gtk_init terminates, better throw exception 2018-01-29 11:44:27 +01:00
Björn Lindqvist f281a8cb87 ui.tests: remove badly baked unit test 2018-01-29 11:42:49 +01:00
Björn Lindqvist 62542c52a9 ui: try and ensure that the ui thread finishes #1905 2018-01-29 07:55:36 +01: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
John Benediktsson 7f37709c04 ui.tools.listener: implement vocab-word-completions. 2018-01-24 17:11:26 -08:00
John Benediktsson cccdc09a71 ui: rename ui-windows to worlds. 2018-01-22 13:17:23 -08:00
Alexander Iljin d4a849b192 ui.tools-docs: add a pointer to the file-drop gesture docs 2018-01-22 13:09:41 -08:00
Alexander Iljin 2ad605b9c7 ui.tools.listener: support file-drop gesture
The array of dropped file names is pushed onto the listener's stack.
2018-01-22 13:09:41 -08:00
Alexander Iljin afdef8c90e windows.dropfiles[-docs]: implement the file-drop gesture 2018-01-22 13:09:41 -08:00
Alexander Iljin 4c24cc2603 ui.gestures[-docs]: add the file-drop gesture and the dropped-files symbol 2018-01-22 13:09:41 -08:00
John Benediktsson 7f23854b56 ui.operations: add docs for +secondary+. 2018-01-22 10:59:31 -08:00
John Benediktsson 603728b181 ui.tools.browser: adding back/forward to touchbar. 2018-01-22 10:46:50 -08:00
Alexander Iljin cf5d0b349c ui.gadgets.editors-docs: fix a typo 2018-01-22 07:58:17 -08:00
Alexander Iljin 5a627505ef ui.gesture-docs: amend propagate-gesture description 2018-01-22 07:58:17 -08:00
Alexander Iljin e07ba18839 ui: add find-windows to find multiple worlds matching a predicate 2018-01-22 07:58:17 -08:00
Björn Lindqvist 3b78ec7b6f ui.render: small simplification 2018-01-20 18:10:06 +01: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 07e6e5e949 ui.gadgets.worlds: don't need world with-variable.
with-gl-context already does world set-global.
2018-01-19 15:09:27 -08:00
John Benediktsson 001ea5f6b4 ui.gadgets.worlds: revert back to 1 track-add. 2018-01-19 09:18:49 -08:00
John Benediktsson f33bf70ad6 ui.backend.cocoa.views: use queued-gesture for touchbar commands. 2018-01-18 22:20:27 -08:00
John Benediktsson b0ded020ea ui.gadgets.worlds: use constraints for single gadget in window. 2018-01-18 21:30:34 -08:00
John Benediktsson 1d751e7e12 ui.gadgets.worlds: world-attributes can specify fill and orientation. 2018-01-18 21:14:24 -08:00
Björn Lindqvist 09d3f243ef ui.backend.gtk: set the source priority to idle, fixes #1879 2018-01-18 23:25:30 +01:00
Björn Lindqvist f93da595f5 ui: undoing 9e9b70005b
The ui-thread variable absolutely is needed to ensure that only one UI
thread is running at the same time. If more than one UI thread runs,
they will be competing for events which causes all sorts of problems.
2018-01-18 17:30:51 +01: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
Björn Lindqvist 78c31ada9e ui.*: doc updates 2018-01-18 16:48:35 +01:00
Björn Lindqvist 1c7c2a380c ui.gadgets.panes.tests: better than hardcoding values 2018-01-17 19:40:48 +01:00