Commit Graph

5427 Commits

Author SHA1 Message Date
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
Robby Findler
d0376db70a Rackety 2016-08-19 09:28:10 -05:00
Stephen De Gabrielle
0e99b1f286 correct small typo in 'Animation in Canvases' (#40)
flushing to the screen can be starved if flushing is frequently suspend.
changed to
flushing to the screen can be starved if flushing is frequently suspended.
2016-08-19 07:37:35 -05:00
Robby Findler
ce1ded41f2 fix leak 2016-07-30 20:30:48 -05:00
Leif Andersen
68dcd1156d Updated docs to point to gui-interactive.rkt 2016-07-30 13:38:47 -04: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
Leif Andersen
4053cb1e16 gui-doc now depends on xrepl doc. 2016-07-26 10:30:05 -04:00
Leif Andersen
ef78d330b6 Move docs for racket/gui/init and racket/gui/interactive
Previously they were part of the base repo.
2016-07-26 09:41:58 -04:00
Robby Findler
a8574ce5e6 missed a call to do-search 2016-07-26 01:11:49 -05:00