Commit Graph

5452 Commits

Author SHA1 Message Date
Matthew Flatt
ab505859b6 add a test for use by distribution builds 2017-04-25 09:58:40 -06:00
Vincent St-Amour
f2a202eb30 Fix docs for scheme-editor%.
Closes #1.
2017-04-19 10:47:46 -05:00
Robby Findler
366b27b05b add more operations on number snips 2017-04-18 08:01:23 -05:00
Robby Findler
0c79a90c69 remove line that should not have been included in afa4037109
related to racket/drracket#106
2017-04-16 21:29:33 -05:00
Robby Findler
afa4037109 track α in color preferences
fixes racket/drracket#106
2017-04-16 18:24:11 -05:00
Matthew Flatt
138088ce9a install {gracket,mred}-text as a console application
Requesting console mode matters when 'gui-bin-dir is configured.
2017-03-24 16:08:37 -06:00
Daniel Feltey
6941962f8d Fixes #71 2017-03-08 23:37:25 -06:00
Daniel Feltey
83cb692738 Run fewer random tests 2017-03-07 12:06:56 -06:00
Daniel Feltey
4b5e87abe1 Fix references to move/copy-to-edit 2017-03-07 06:07:43 -06:00
Daniel Feltey
0354106ed8 New implementation of move/copy-to-edit plus docs and tests 2017-03-07 06:07:43 -06:00
Robby Findler
6c173c19e9 avoid using separate events to send keystrokes in a hope of avoiding
intermittent failures in these tests

The guess that motivates this commit about what's going wrong is that
under some conditions that have to do with parallel tests that might
grab the OS-level focus, racket/gui is deciding that some of the two
keystroke combinations count as separate keystrokes, instead of being
combined in the search for the keymap handler. For example, if the
test suite tries to type c:c and then c:l, that will come in as two
separate events. If unlucky timing coincidence happens, then
racket/gui will decide that those should not count together in the
search for a keymap entry, but count as two separate ones (so we'd get
c:l centering the view instead of c:c;c:l inserting let-ans).
2017-02-03 10:24:30 -06:00
Robby Findler
ff00d309ff treat dots with pairs inside properly
closes racket/racket#1598
2017-01-30 21:40:49 -06:00
Robby Findler
b8e763f420 refactor to make it easier to unit test syntax-object->datum/record-paths 2017-01-30 21:40:48 -06:00
William G Hatch
d0adb8bc70 make GdkCursor nullable 2017-01-29 19:35:43 -07:00
Robby Findler
b422f26ccb remove redundant call to restore-defaults 2017-01-28 21:34:37 -06:00
Robby Findler
0469b6fe94 add-function's parameter's result is ignored so it may return multiple values safely 2017-01-28 10:50:03 -06:00
Robby Findler
2995cdfc2a adjust the frame memory use count so that it updates periodically
more specifically, every second it will check the memory use;
if the change is more than a megabyte it will update the display

(without some kind of buffer like that, the result will be
different each time it is polled; I tried that an it was
too distracting)

closes racket/drracket#92
2017-01-28 09:37:33 -06:00
Robby Findler
fb6a9116a7 move to drracket:keystrokes and away from surrogate stuff 2017-01-24 11:21:49 -06:00
Robby Findler
b8cb62ce42 fix preferences snapshots
closes PR 15398
2017-01-23 17:54:32 -06:00
Robby Findler
ae01dc64e3 add preference layers 2017-01-22 21:28:20 -06:00
Robby Findler
13be85d623 modernize preferences test suite 2017-01-22 15:37:03 -06:00
Robby Findler
66660791da take more care to not be affected by the contents of the
(possibly changing on drdr!) preferences file

and add a little more to help debug keys.rkt failures
2017-01-16 21:13:45 -06:00
Robby Findler
97c30fe9e2 remove group-test.rkt from README's auto-running feature
should have been part of 1b10e27b5
2017-01-15 20:44:35 -06:00
Robby Findler
92ebb6f064 correct broken link 2017-01-15 20:41:35 -06:00
Robby Findler
1b10e27b5d adjust various things so that the group test can be run in
a single process and without (I believe) depending on the 
OS's idea of which frame has the focus
2017-01-15 18:28:09 -06:00
Robby Findler
97b23af4b1 Rackety 2017-01-15 07:59:09 -06:00
Robby Findler
757a3c2463 port keys.rkt to avoid separate mred process and racy frame
top-level window stuff that drdr doesn't like
2017-01-14 21:45:56 -06:00
Robby Findler
6b2ff36cc9 adjust text.rkt test suite to not use racy old way of doing things 2017-01-14 20:33:32 -06:00
Robby Findler
8396854c1a port some framework tests to the non-race-condition thing 2017-01-14 09:15:25 -06:00
Robby Findler
cc57412ac7 clarify docs for finish-pending-search-work 2017-01-12 15:02:39 -06:00
Robby Findler
7e44c4cfeb fix a leak exposed by da4d2db396 2017-01-11 12:05:41 -06:00
Robby Findler
6ad4f1edaa add #:transparent to aid debugging 2017-01-11 12:05:24 -06:00
Leif Andersen
21862ca291 and -> an 2017-01-05 19:31:03 -05:00
Matthew Flatt
f8eab2a732 unbreak for GTK+ 2 2017-01-05 17:02:14 -07:00
Matthew Flatt
38f0c6adb5 avoid GTK3 warning 2017-01-04 16:28:13 -07:00
Matthew Flatt
48c1b28284 initial support for GTK+ 3 on Wayland
GL contexts and GC blits don't work, dialog placement doesn't work,
and checkbox animations seem to interefere with updating --- but at
least things mostly work.

Relevant to racket/racket#1547
2017-01-03 08:18:11 -07:00
Robby Findler
84433c528c fix replace-all test suite for when the replace string changes 2016-12-24 12:25:56 -06:00
Matthew Flatt
5a09d2b825 "Mac OS X" -> "Mac OS" 2016-12-23 12:33:59 -07:00
Robby Findler
141eee8cbc add set-get-token to color:text-mode<%> 2016-12-23 11:49:26 -06:00
Robby Findler
27569696b3 bring down below 102 columns 2016-12-23 11:47:50 -06:00
Robby Findler
490f40f8cf add another test case 2016-12-22 13:39:02 -06:00
Robby Findler
62a70a6593 avoid a little copying 2016-12-19 14:04:44 -06:00
Robby Findler
23f9677e52 avoid copying bytes when not necessary 2016-12-19 14:04:44 -06:00
Matthew Flatt
5e70534b43 adjust workaround for GTK+3 before version 3.22
Adjust a workaround for versions before 3.22 when setting the font for
a control.

GTK+ version 3.22 starts paying attention to whether a font size for a
control is absolute (as opposed to being in points), so the workaround
that was put in place for earlier versions breaks.

In addition, some part of the drawing stack seems to round point sizes
to an integeral size after DPI conversion. Take that rounding into
account when setting the font size in `normal-control-font`.

Closes #1522
2016-12-19 07:21:28 -07:00
Stephen Chang
b7b93e2c1e document non-empty str requirement for text% find-string methods 2016-12-15 16:00:05 -06:00
Robby Findler
5fed92d72a adjust replace-all so that it accounts for the possibility that the text didn't go away
closes #60
2016-12-14 15:21:36 -06:00
Matthew Flatt
b9e94f9c45 macOS: don't try to declare implementation of NSApplicationDelegate
There's no run-time representation of `NSApplicationDelegate`, so
trying to declare it ands up adding NULL as a protocol to the
Objective-C class for the application delegate.

Adding NULL that way leads to a crash on 10.12.1+ with TouchBar
support.

Closes racket/racket#1520
2016-12-14 13:29:56 -07:00
Stephen Chang
e627cdcba5 disable replace-all on empty search string
- fixes drracket internal err
2016-12-12 16:13:58 -06:00
John Clements
871e81e0e2 Merge pull request #56 from jerry-james/win-overview-word-fix
Changes a 'than' to 'then' in win-overview-scrbl
2016-12-02 16:45:01 -08:00
Leif Andersen
285495a706 Removed extra ) in docs 2016-12-02 14:42:40 -05:00