Commit Graph

41 Commits

Author SHA1 Message Date
Robby Findler
366b27b05b add more operations on number snips 2017-04-18 08:01:23 -05:00
Daniel Feltey
83cb692738 Run fewer random tests 2017-03-07 12:06:56 -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
b422f26ccb remove redundant call to restore-defaults 2017-01-28 21:34:37 -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
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
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
84433c528c fix replace-all test suite for when the replace string changes 2016-12-24 12:25:56 -06:00
Robby Findler
490f40f8cf add another test case 2016-12-22 13:39:02 -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
Robby Findler
1df6383e3c fix ascii-art-enlarge-mode tests 2016-07-30 10:36:44 -05:00
Robby Findler
18404570dd improve support for editing the ascii art (unicode) #2d rectangles
specifically, add a mode that avoids breaking the edges of
the rectangle when you type and add a keystroke for adding
a new in the existing row
2016-07-30 04:55:01 -05:00
Robby Findler
fcd134eebe more search fixes 2016-07-26 19:15:48 -05:00
Robby Findler
28ca7c6d14 improve the situation for search results in nested editors
This doesn't quite fix all the problems, as the outer editor doesn't get callbacks
when the position changes in the inner editors (and the inner ones aren't propogating
the callbacks currently) so the "n/m matches" display doesn't update properly in that
case. Also, it doesn't (yet) try to draw the search bubbles for embedded editors

Still, progress has been made; at least the bar is not red anymore when there are
hits only in embedded editors

closes PR 12786
2016-07-23 03:00:00 -05:00
Robby Findler
6941a07998 fix the "Show Active Keybindings" menu item
for the case where one keybinding's keys is a prefix of anothers (and the keymaps are chained)
2016-07-21 22:13:55 -05:00
Robby Findler
09519347e2 use a hash for the preferences (instead of the real file) 2016-06-25 21:27:25 -05:00
Robby Findler
c3322ca05d adjust indentation so that hyphens at the start of sexp causes subsequent
lines to not indent
2016-06-22 20:44:29 -05:00
Robby Findler
9f3635f399 adjust indentation so that a sequence of hyphens always moves to the start of the sexp 2016-06-22 20:41:17 -05:00
Robby Findler
0863437394 dont allow undoing of the color changes that IO uses to indicate which port is which
closes PR 15291
2016-04-20 12:37:09 -05:00
Robby Findler
fdd52ef965 loosen passing predicate for number snip test 2016-04-15 18:11:29 -05:00
Robby Findler
ca2deebe47 fix ellipsis in test 2016-04-15 18:09:38 -05:00
Robby Findler
9a9ecb72fb fix bug in keybinding table construction 2016-03-18 09:42:31 -05:00
Robby Findler
ab063326fe change indentation strategy for sequences whose head is a keyword
assume that these are part of some internal structure of something
that, in general looks like

  (#:x 1 #:y 2 #:z 3)

and so prefer to indent like this:

  (#:x 1
   #:y 2
   #:z 3)

instead of like this:

  (#:x 1
       #:y 2
       #:z 3)
2016-02-25 10:37:44 -06:00
Sam Tobin-Hochstadt
61c0b53716 Fix test for Unicode ellipsis. 2015-12-31 12:00:32 -05:00
Alexis King
63b27a8eeb Use a regular expression to indent for loops in framework 2015-08-02 22:08:52 -05:00
Robby Findler
db36b91d1f adjust frame.rkt framework tests to be more drdr friendly 2015-07-26 19:34:53 -05:00
Robby Findler
f91ec3df28 fix all-string-snips? predicate 2015-07-25 16:44:22 -05:00
Robby Findler
1d22f69ba6 adjust the canvas test suite to not do the separate-process dance 2015-07-22 12:20:56 -05:00
Robby Findler
ab998c9f53 add all-string-snips<%> and all-string-snips-mixin
This is pulled out of DrRacket, mostly just to be able to add test cases
2015-05-09 11:17:54 -05:00
Robby Findler
955eb9755c remove problematic and unecessary syncronization 2015-04-30 09:01:46 -05:00
Robby Findler
e150651d8d add some test cases suggested by cover 2015-04-24 21:47:21 -05:00
Robby Findler
482a446db1 add a more cover-friendly mode to the framework test suite 2015-04-24 21:31:29 -05:00
Max New
63038285e5 Delete trailing whitespace on return 2015-03-10 09:28:04 -05:00
Sam Tobin-Hochstadt
135e357a37 Remove extra directories. 2014-12-02 02:33:07 -05:00