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
Jerry James
ca9d0988ab
Changes a 'than' to 'then'
2016-12-01 12:27:45 -07:00
Robby Findler
bda7409367
add some missing docs
2016-11-24 12:12:04 -06:00
Robby Findler
a115076fe4
add a GUI interface to toggle the x selection mode
...
closes PR 15365
2016-11-19 08:28:29 -06:00
William G Hatch
3b280551c2
GTK+: accumulate small scroll events into appropriate wheel events
2016-11-17 15:25:33 -07:00
Robby Findler
83a679d7f5
fix bug in the handling of the colors of the line numbers
...
closes racket/drracket#83
2016-11-16 09:23:15 -06:00
Robby Findler
e6a4865a74
dont set the style background color to the canvas background;
...
instead leave it as transparent
related to racket/racket#1507
2016-11-05 14:59:45 -05:00
Robby Findler
b52a41da23
adjust the syntax coloring so that number-snip% instances
...
are allowed to pass through the filter (as they are trusted code)
related to racket/racket#1507
2016-11-04 11:19:57 -05:00
Leif Andersen
6c78cd266a
Fixes bug in slider%
...
It would occasionally drop the last digit in the message field.
This turned out to be a bug where the number, while smaller, was wider.
For example:
11111
10101
In variable width fonts the second one will be wider
2016-10-24 14:28:49 -04:00
alex-hhh
de03f1a98f
Update editor<%> docs to clarify that undo needs to be enabled ( #49 )
2016-09-26 07:20:39 -05:00
Robby Findler
5e433c8035
fix search for containing text region
...
closes #42
closes #43
2016-09-11 20:51:19 -05:00
Robby Findler
0fae71ad0c
fix indentation newline insertion
...
closes #41
2016-08-31 18:05:23 -05:00
Robby Findler
01c665e6e9
correct insertion of spaces at the beginning of a line and indent first line in para too, after all
2016-08-25 08:36:57 -05:00
Robby Findler
0ae0a5b804
use a new algorithm for flowing paragraphs
2016-08-24 20:49:03 -05:00
Matthew Flatt
6b2f4a72ae
GTK+ 3: fix problem with sizing initially unshown items
...
This repair is especially aimed at avoiding missing toolbar
buttons in DrRacket.
2016-08-20 09:26:03 -06:00
Matthew Flatt
c700e32c17
0-sized window =/=> 0-sized backing bitmap
2016-08-19 18:16:05 -06:00