Commit Graph

5387 Commits

Author SHA1 Message Date
Robby Findler
724d8d7bda add a test case for capitalize word 2015-03-14 13:05:27 -05:00
Robby Findler
ce926b4692 pull the keybindings code out of the framework compound unit structure 2015-03-14 13:05:27 -05:00
Sam Tobin-Hochstadt
9cc25592c3 Use object-or-false=? on snip admins.
Fixes PR 15002.
2015-03-10 19:57:57 -04:00
Max New
63038285e5 Delete trailing whitespace on return 2015-03-10 09:28:04 -05:00
Daniel Feltey
93a21dd7cd Use object=? instead of eq? to handle equality for contracted objects 2015-03-05 14:10:47 -07:00
Asumu Takikawa
b3457212d2 Fix write-gif function in mrlib
Broke in API changes from commit
5066731b25
2015-02-25 17:03:35 -05:00
Robby Findler
cf6a3d6ecb change backspace in overwrite mode to be more what one
might expect it to be
2015-02-12 15:31:08 -06:00
Robby Findler
4140c530d6 add \langle and \rangle
closes PR 14976
2015-02-12 11:22:10 -06:00
Matthew Flatt
ff6b409f28 Cocoa: avoid atomic-mode problems in clipboard
Get data from a clipboard client before going into atomic mode. This
correction can avoid an "about to suspend in atomic mode" failure,
particularly if a snip fails to copy correctly.
2015-02-05 10:33:47 +01:00
Robby Findler
7a3c102d1c add pulled-point to 2htdp/image's core 2015-02-01 14:39:37 -06:00
Gustavo Massaccesi
5a126f552e Change color in editor: Grey -> Gray 2015-01-30 13:27:08 -07:00
Robby Findler
d8f090957f fix definitely-same-image? for the image-snip case
closes PR 14951
2015-01-28 21:39:47 -06:00
Robby Findler
5df277c2d6 adjust size limitation when building bitmaps for 2htdp/image images
so that it limits the total size of the bitmap, instead
of limiting based on the width and height independently
2015-01-24 14:43:09 -06:00
Matthew Flatt
99a04d5f52 cocoa: get file-dialog results atomically
Otherwise, the NSURL object that is returned from the dialog can
be relased before we get the result.
2015-01-23 15:37:37 -07:00
Robby Findler
027ce3bdc2 fix drawing bug in line-numbers and special-first-line support
This drawing bug was that the DC's state wasn't being
initialized all of the way. In particular, the text-mode
wasn't being set and so, in rare occasions, other drawing
code would (legally) leave it in 'solid mode with a non-white
background color also set. Which would cause those two things
to draw incorrectly.
2015-01-15 16:31:26 -06:00
Robby Findler
0019e45357 add precdot and succdot 2015-01-15 15:02:10 -06:00
Matthew Flatt
1185faa590 cocoa: adjust key events for empty Ctl- combos and special Option
In particular, restore key handling that makes Ctl-Space produce an
event with a Space character. Also, restore `special-option-key`
support, while correcting the documentation to say what
`special-option-key` and `special-control-key` actually do.

Closes PR 14934
2015-01-14 14:08:28 -07:00
Matthew Flatt
60611bc081 cocoa: fix focus method
Don't confuse "should the Tab key advance the focus to this window?"
with "can this window have the focus?".
2015-01-11 11:05:36 -07:00
Robby Findler
d0561137b5 extend curves in 2htdp/image so they can be filled 2015-01-10 19:43:13 -06:00
Matthew Flatt
de388d045a repair docs on alternate key mappings and Mac OS X 2015-01-09 08:41:12 -07:00
Matthew Flatt
31231a6a8d narrow dependencies on Carbon
(reduced Carbon footprint?)
2015-01-09 08:37:38 -07:00
Jens Axel Søgaard
4dc47ef413 Compute other-key-codes
Use UCKeyTranslate to compute and store other-key-codes in the key-event.
2015-01-09 08:11:02 -07:00
Jens Axel Søgaard
fb0356d2fb Bindings for UCKeyTranslate
Bindings for UCKeyTranslate.
UCKeyTranslate converts a combination of a key-code, a modifier key state, keyboard layout and dead key state to a unicode string.
2015-01-09 08:11:01 -07:00
Matthew Flatt
de783c8378 avoid crashing via GCed racket/gui instance 2015-01-06 19:54:52 -07:00
Robby Findler
927289cd8e make the search/replace button actually finish
all the internal work before returning from the button callback

closes PR 14906
2014-12-30 11:59:30 -06:00
Robby Findler
83eb701b2b add definitely-same-image? to mrlib/image-core 2014-12-30 10:35:13 -06:00
AlexKnauth
237a24261d fix typo (open-input-string) -> (open-output-string) 2014-12-26 01:30:07 -06:00
Robby Findler
c494bf367e protect against errors while loading color schemes
closes PR 14884
2014-12-13 14:37:18 -06:00
Robby Findler
9551380791 add after-set-port-unsaved-name and set-port-unsaved-name 2014-12-11 21:33:42 -06:00
Robby Findler
90a106d235 bring down below 102 columns 2014-12-11 21:24:42 -06:00
Robby Findler
df7cccdb43 fix queue manipulations in text:ports-mixin
closes PR 14871

test case included in drracket repo
2014-12-08 13:24:57 -06:00
Sam Tobin-Hochstadt
54ed4f02e8 Add standard .gitignore file. 2014-12-06 17:46:34 -05:00
Sam Tobin-Hochstadt
135e357a37 Remove extra directories. 2014-12-02 02:33:07 -05:00
Sam Tobin-Hochstadt
2cd82671b0 Split frtime from the main repository.
Source for `frtime` is now at:
  https://github.com/racket/frtime/

original commit: 883a072e278df1cfb3969a678098ebef3a76f52e
2014-12-01 16:22:15 -05:00
Robby Findler
f8ca17a0fd moved follow-log around so that I can get performance
feedback from people without asking them to install
the drracket-test pkg

original commit: 3784da0b18fbdef487d079cc802260e88c84a98d
2014-11-28 12:36:00 -06:00
Robby Findler
6249eaa3fe adjust changes in 8027e48 so that we see intermediate
output during flushes instead of collecting the entire
contents of the buffer before flushing (at least in the
more common case)

original commit: a12f77f36e5e88d55ebdde0a8ec6e4a6ca708394
2014-11-25 22:16:56 -06:00
Robby Findler
5fdcd73a84 fix bug in c53c29d9
original commit: 0083f1c9ae48eda9d57ae0bc66da979720b47596
2014-11-25 22:16:56 -06:00
Matthew Flatt
f2dab2b828 in-terminal: add a close-calllback argument
original commit: 4fee662ad87a50a700cde42847e563c03024a845
2014-11-25 12:34:36 -07:00
Sam Tobin-Hochstadt
3bac3723b9 Remove stray reference to Racket in LICENSE files.
Related to PR 14842.

original commit: 3bbdd134b1754d51422eeaec1c35e9c62d45144c
2014-11-25 14:09:57 -05:00
Robby Findler
0e2a9abda1 fix bug in 8027e48
original commit: c53c29d9d8c69f9171e3685249286f3d449e66e1
2014-11-24 22:23:39 -06:00
Matthew Flatt
7a1cb5ed11 text%: avoid O(n^2) behavior on string insert
Break large inserts into smaller chunks by successively halving the
chunk, instead of successviely peeling off a small part. Also, avoid
traversals and re-traversals of a long line while checking and
breaking up lines.

original commit: ac5961eae9a4d5c24f78e1d8f7d531c7f7881783
2014-11-24 16:27:11 -07:00
Matthew Flatt
8fc5cc6f7e racket/snip: fix bug in splitting string snips
original commit: f02bfbd11ea71b6e0afcd1424da754f2bdea764b
2014-11-24 16:27:11 -07:00
Asumu Takikawa
ba6fab5e8e Fix typo in GUI docs
original commit: 51099e660e314b974ad99a60d8cb4118488e7048
2014-11-24 15:10:30 -05:00
Robby Findler
e4cc41ab4a adjust text:ports to better deal with giant amounts of bytes
by splitting them up and using separate events so other work
can also happen while the insertion is going on.

This change also changes the queue-callback for IO insertion
to be a low-priority callback. This should have been the case
before, I think, but it is a bit surprising it wasn't and so
this may also cause other problems

closes PR 14851

original commit: 8027e4872ad53ec74f43de033bae6e387b57da02
2014-11-23 21:10:54 -06:00
Robby Findler
58ba586834 fix control-paren-keys keybindings for altgr keys
original commit: ec6bb1b8c032dedbd65a8a82972bc4c3c0ef0bd5
2014-11-06 09:39:41 -06:00
Robby Findler
8b389cab99 fix control-[ when 'framework:automatic-parens pref is set
original commit: 4afd6c86d00380090ff2b38b80f3726ac4bed27c
2014-11-04 20:38:58 -06:00
Matthew Flatt
6669afac2d racket/gui gtk: fix event handling on choice%
Button-click handling foir `choice%` could continuously
re-queue an event that isn't handled by default, leading
to stack overflow and a crash.

original commit: c7688818fafb478c5ed4afa4c9772c86201386ad
2014-11-02 09:14:29 -07:00
Matthew Flatt
97cf41dfee restore Cygwin support
Fix various configuration problems, and make the build work with 3m
(probably for the first time).

The repairs include corrections for the manual link table, but also
switch Cygwin to relying on normal DLL exports, instead, to work
properly with the FFI.

The `--enable-shared` comfiguration option is no longer required for
Cygwin. When it is used, the `gracket` launcher does not work right,
because the Cygwin DLL is in the "bin" directory and "gracket.exe" is
in the "lib" directory. Along similar lines, stand-alone executables
won't work with `--enable-shared`.

The change to `ffi/winapi` makes it match the documentation.

original commit: cceda78374d94645f2083503371ca43b32b3b10e
2014-11-01 06:50:24 -06:00
Robby Findler
0dd2719219 try to take the autowrap bitmap into account when sizing the repl input box
original commit: fa413f14a9d08442e5ca4bfb9427bd553324b89c
2014-10-28 17:09:52 -05:00
Robby Findler
7f29cd1273 adjust the wrap-bitmap-width field to always have an inexact number
original commit: 00a7eaca2c1fd527ebcf148151178bf208c37d0d
2014-10-28 17:09:52 -05:00