Robby Findler
75c08a2c41
remove problematic and unecessary syncronization
...
(cherry picked from commit 175e29a762acb1519e950defc1452fab2a58a0a9)
2015-05-07 19:44:23 -05:00
Robby Findler
00a4c8155c
refactor to separate the two modes of flushing into their own separate pieces of code
...
(cherry picked from commit 5d4f2ab0ba29523f7e39ffe00c21935f004af46b)
2015-05-07 19:44:18 -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
Robby Findler
42f50a7c08
only set the extension to .rkt if it looks like it isn't set to anything useful already
2015-04-19 07:22:45 -05:00
Robby Findler
cb651731d0
refactor to introduce compute-amount-to-indent
2015-04-17 11:37:09 -05:00
Robby Findler
20520bf88e
small tweaks to scribble indentation
...
- try to avoid special-casing blank lines as much
- when there are close curley braces all alone on a line,
count the line as outside for the purposes of identing
2015-04-17 11:36:06 -05:00
Matthew Flatt
f9e16fa6fb
document that refresh events have higher priority than input events
2015-04-10 16:50:43 -06:00
Robby Findler
e4e164ff82
bump version number so drracket can depend on changes in 134144a
and 6ddf433
2015-04-10 17:11:42 -05:00
Robby Findler
134144a4ce
generalize coroutines so the pause function optionally takes
...
into account the amount of cpu time used
2015-04-09 21:16:55 -05:00
Robby Findler
6ddf433c3e
add missing identifiers to color:text<%>
2015-04-09 21:14:39 -05:00
Matthew Flatt
a5ad0d011e
test for get-char-width
and get-char-height
2015-03-28 09:35:18 -06:00
Matthew Flatt
bb3265bad0
add example snip%
subclass
2015-03-26 12:41:48 -06:00
Neil Toronto
7541838b78
Check for X errors as well as NULL contexts to work around broken graphics drivers
...
From the ARB_create_context_profile standard:
On failure glXCreateContextAttribsARB returns NULL and generates an
X error with extended error information.
Some NVIDIA drivers on Linux won't return a core profile. When they don't,
they're supposed to return NULL as well as generate an X error, but they
only generate an X error and return a non-NULL, garbage context. This is
not only nonstandard behavior, but lame. It's a major pain to check for X
errors. But whatever, NVIDIA, you big old gorilla.
This may or may not fix segfaults some people are having with Pict3D. If
it does, they won't have to use (current-pict3d-legacy? #t) anymore.
2015-03-16 10:53:10 -04:00
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