Matthew Flatt
cef9f90c27
gtk: remove debugging printf
2011-01-22 13:30:05 -07:00
Matthew Flatt
127d563bd8
gtk: fix reparent problem with parent-relative location is unchanged
2011-01-22 13:10:01 -07:00
Matthew Flatt
69859850f3
finish implementing display of menu shortcuts
...
that involve non-chars shortcuts and alternate prefixes
2011-01-22 10:15:14 -07:00
Matthias Felleisen
814a847323
made to-draw/on-draw in big-bang mandatory; Closes PR 11663
2011-01-22 12:07:24 -05:00
Mike Sperber
9c4c0b0848
Synch German string constants with latest.
2011-01-22 17:30:19 +01:00
Mike Sperber
18662741fb
Fix signature-checking bug with DMdA's `define-record-procedures'.
...
Define the predicate before the constructor, as the predicate may be
used in checking the signature of the constructor.
2011-01-22 16:23:23 +01:00
Robby Findler
db13cddef0
added docs and contract for preferences:get-preference/gui
2011-01-22 07:43:57 -06:00
Robby Findler
45a635339e
refactored to make testing check syntax renaming possible
...
made sure to remove duplicates from the list before doing renaming
closes PR 11659
2011-01-21 22:27:18 -06:00
Matthew Flatt
ac083b9148
fix clipping for PostScript/PDF drawing
2011-01-21 21:09:07 -07:00
Matthew Flatt
b112fd76df
add reparent' to
subwindow<%>'
2011-01-21 20:21:21 -07:00
Matthew Flatt
8228ce92cf
win32: fix canvas-refresh problem when a canvas is shown
...
and when it has been drawn onto outside of `on-paint';
also, try to prep the content of all canvases within a
top-level window before the window is shown (as on other
platforms)
2011-01-21 09:09:05 -07:00
Matthew Flatt
e331f1bce2
gtk: fix `get-focus-window' in frame%
...
Closes PR 11654
2011-01-21 09:07:46 -07:00
Robby Findler
72b7c26290
add match to the default indentation and squarebracket preferences
...
closes PR 11656
closes PR 11653
2011-01-21 06:47:28 -06:00
Matthew Flatt
ac99c69f0c
fix a `raco exe' problem with finding shared-library paths
2011-01-20 21:17:36 -07:00
Jay McCarthy
aadb1b60bb
Repenting of misunderstanding docs
2011-01-20 20:53:11 -07:00
Jay McCarthy
faa0632de8
Seems to fix Robby's issue with DrRacket REPL
2011-01-20 20:53:10 -07:00
Robby Findler
8c513f2b32
drracket tests: dont' insist on a stacktrace for break exceptions
2011-01-20 19:05:43 -06:00
Matthew Flatt
4529fbe5e6
win32: fix dialog centering
2011-01-20 16:47:14 -07:00
Matthew Flatt
0bc987e66b
fix default dialog% position (centered)
...
Closes PR 11637
2011-01-20 16:42:45 -07:00
Robby Findler
2043b4ad6f
various bug report form changes and fixes
...
- show discard-all-bug-reports menu item as long as there is at least one bug report
- move the close-and-save button to the left-hand side of the dialog
- ask about discarding bug reports when clicking the close box
- working dealing with empty bug reports
- the 'finished' stage of the bug report form sets the focus to the close button
closes PR 11644
closes PR 11645
closes PR 11638
closes PR 11640
2011-01-20 17:21:11 -06:00
Kevin Tew
ea3b9d2a8e
typo fix
2011-01-20 15:57:39 -07:00
Kevin Tew
a42ea71113
Scribble with-compile-output fix
2011-01-20 15:57:39 -07:00
Matthew Flatt
128fedaceb
fix `message-box' to use eventspace of parent, if any
2011-01-20 15:47:03 -07:00
Matthew Flatt
caa0026bc2
fix put-preferences
2011-01-20 15:09:15 -07:00
Robby Findler
b25c9591f6
remove leftover printf and adjust splash screen width default
2011-01-20 15:40:50 -06:00
Matthew Flatt
0c193a599a
fix uncaught-exception-handler handling of non-escaping escape handler
...
and change the emergency error display handler to log and error
Closes PR 11630
2011-01-20 14:01:33 -07:00
Matthew Flatt
0a56e0fc6a
fix pref name
2011-01-20 14:01:32 -07:00
Kevin Tew
bc580ac125
call-with-file-lock/timeout
2011-01-20 13:33:02 -07:00
Kevin Tew
64521e70ea
Remove dead code
2011-01-20 13:33:02 -07:00
Robby Findler
0f579711ac
fixed the result contract of message+check-box (it was missing the second value) and then did a bunch of other minor contract tweaks to get rid of false/c and one-of/c
2011-01-20 14:08:34 -06:00
Robby Findler
1b29fd590b
adjusted test-engine to use the framework preferences library so that drracket still starts up when there is a locked preference file under windows
2011-01-20 14:08:33 -06:00
Robby Findler
2ddf90f3fc
adjusted deinprogramm preferences to use the framework preference system so that drracket still starts up when there is a locked preference file under windows
2011-01-20 14:08:32 -06:00
Robby Findler
cde613218e
adjusted the framework preferences system to work better with failures under windows
2011-01-20 14:07:12 -06:00
Robby Findler
939f41670d
docs typos
2011-01-20 14:06:00 -06:00
Robby Findler
b2dfe78fb0
Rackety
2011-01-20 14:05:59 -06:00
Jay McCarthy
87865cb1bd
Fixing PR11649
2011-01-20 12:13:13 -07:00
John Clements
d675c7b12a
updated PLAI (and test cases) to use racket language rather than scheme
2011-01-20 10:21:22 -08:00
Matthew Flatt
cbea645284
fix try-atomic bug related to cont-mark-set-first and recent prompt fix
2011-01-20 07:10:05 -07:00
Matthew Flatt
e94f7e0039
fix doc typos
2011-01-20 07:10:05 -07:00
Jay McCarthy
5014cff4c1
Fixing PR11515
2011-01-19 16:25:25 -07:00
Kevin Tew
0512aa1e27
Type fix in guide
2011-01-19 12:35:24 -07:00
Matthew Flatt
f662ea5322
DrRacket printing: disable date and filename banner
2011-01-19 06:32:30 -07:00
Matthew Flatt
676066f103
win32: printing page size
2011-01-19 06:32:29 -07:00
Matthew Flatt
7e06c25228
fix typo in error message
2011-01-18 19:52:31 -07:00
Matthew Flatt
339ce9c594
clarification on #:timeout-lock-there' arg of
get-preference'
2011-01-18 19:52:04 -07:00
Matthew Flatt
784c3de563
fix port as PostScript/PDF/SVG destination
...
by putting port-calling work in a specific thread
2011-01-18 19:50:50 -07:00
Matthew Flatt
4fc8797df2
cocoa: fix printing bounds
2011-01-18 18:42:39 -07:00
Matthew Flatt
98822cf1f9
adjust `racket/gui' and dependencies to survive a locked preference file
...
- adds a `#:timeout-lock-there' argument to `get-preference'
- fixes preference looup in `racket/gui'
- make preference names consistently use `GRacket' and consistently
fall back on `MrEd' names
- fix Emacs-style undo mode while we're at it
2011-01-18 17:37:33 -07:00
Matthew Flatt
183323a2c5
fix `editor<%>' printing problems
...
- pagination for `pastebard%'
- always put everything on a single page for EPS mode
- add PDF support to mirror PS support
2011-01-18 14:16:25 -07:00
Jon Rafkind
4130c44cf6
note that an error is about to occur. closes pr11576
2011-01-18 11:25:03 -07:00
Matthew Flatt
5bdc8a58b4
gtk: add missing keycode for Insert key
...
Closes PR 11412
2011-01-18 11:02:47 -07:00
Matthew Flatt
3ff7ca2d31
change `text-field%' to treat numpad Enter like normal Enter/Return
...
Closes PR 7890
2011-01-18 11:02:46 -07:00
Robby Findler
e95957483c
fix a bug in the indenter relating to {} tabbing
2011-01-18 10:54:56 -06:00
Robby Findler
a20809c347
added bitmap/url to 2htdp/image
2011-01-18 10:54:55 -06:00
Matthew Flatt
c12d52f21b
cocoa: fix problems with some input methods (such as Kotoeri)
...
but the problem remains that the input state is invisible while
characters are being composed
2011-01-17 20:27:55 -07:00
Robby Findler
90826f3533
get rid of a bogus use of eq? => should improve the coloring of the language popup in drracket's bottom left corner
2011-01-17 20:56:06 -06:00
Matthew Flatt
d8e123753c
gtk: enable input-method (e.g., Chinese) support
2011-01-17 18:28:31 -07:00
Kevin Tew
d94281bb96
Remove unused code
2011-01-17 17:39:47 -07:00
Kevin Tew
e5cc1dec84
Readable parallel doc errors following mflatt's suggestion
2011-01-17 17:39:47 -07:00
Matthew Flatt
0e0f88be00
Scribble docs: clarify 'hidden v.s 'toc-hidden and "on this page"
...
Closes PR 11554
2011-01-17 16:25:09 -07:00
Robby Findler
d4aeb3fa4c
Rackety
2011-01-17 17:19:37 -06:00
Matthew Flatt
d5fdee7e06
add argument to `regexp-try-match' to match docs
...
Closes PR 6579 --- which was actually about the
now next-to-last argument, but close enough
2011-01-17 15:18:05 -07:00
Robby Findler
70e3074baf
found another place in the framework test suite where operations weren't happening on the eventspace handler thread
2011-01-17 15:35:35 -06:00
Robby Findler
ff800c997e
make the example-test private file's work be behind a thunk (so more drdr friendly)
2011-01-17 15:04:00 -06:00
Matthew Flatt
36155e913e
get rid of the old barriers around GUI event dispatch
...
since, on further reflection, it doesn't seem needed, and a simple
prompt seems to make everything work right
2011-01-17 09:21:50 -07:00
Matthew Flatt
7545d7d18f
document the fact that event callbacks are now delimited by a prompt
...
using the default continuation prompt tag
2011-01-17 09:03:05 -07:00
Matthew Flatt
0c1ca7a902
fix the event dispatch handler
2011-01-17 09:02:51 -07:00
Matthew Flatt
f76a71066e
plot: add #:out-file to docs; depend on racket/snip instead of mred
2011-01-17 07:44:19 -07:00
Matthew Flatt
15381e761a
fix type mismatch in plot binding
...
Closes PR 11613
2011-01-16 19:52:43 -07:00
Matthew Flatt
c8e3d45dae
make `codeblock' work without a #lang line
...
but revise docs to clarify that a #lang line is really expected
Closes PR 11385
2011-01-16 19:12:38 -07:00
Matthew Flatt
21eee45a48
fix `read-language' when input has only comments
2011-01-16 19:01:45 -07:00
Matthew Flatt
090f82cc0b
fix `codeblock' interaction with reader macros
...
Closes PR 11386
2011-01-16 18:35:03 -07:00
Matthew Flatt
113e49aa5b
extend date->seconds' and
find-seconds' to work with UTC
...
Closes PR 6137
2011-01-16 17:53:30 -07:00
Matthew Flatt
b1e13e7f3f
fix `codeblock' linking
...
Closes PR 11624
2011-01-16 13:37:22 -07:00
Mike Sperber
1b97013496
In QuickCheck, fix bug in lift->generator.
...
This would result in aggregates where all the generators start from
the same seed.
2011-01-16 20:04:32 +01:00
Mike Sperber
85e02db1ad
Tweak world to enable interoperability with DMdA gui teachpack.
2011-01-16 12:26:50 +01:00
Matthew Flatt
66d63f1067
fix Same docs to not depend on `racket/gui'
2011-01-15 18:28:36 -07:00
Matthew Flatt
10ad58a747
restore `event-dispatch-handler'
2011-01-15 18:28:36 -07:00
Matthew Flatt
200f5cb80a
fix gui-available?' when
racket/gui/base' is declared but not instantiated
2011-01-15 18:28:36 -07:00
Matthew Flatt
d1dc1303c2
win32: allow GetCursorPos to fail
...
in case the current desktop isn't the input desktop
2011-01-15 16:46:35 -07:00
Matthew Flatt
ab86ffa778
refine `sleep/yield'
2011-01-15 16:46:31 -07:00
Matthew Flatt
841e0b2473
fix doc error
...
as reported by Hong Feng
2011-01-15 16:46:29 -07:00
Robby Findler
7a85e942a2
fixes the way alt-enter in the drracket repl works so that it doesn't insert whitespace into the submitted expression
...
closes PR 11621
2011-01-15 16:02:23 -06:00
Robby Findler
6c974f6c5f
add missing require
2011-01-15 15:14:57 -06:00
Matthew Flatt
c2afc03b3b
fix interaction of `continuation-mark-set-first' and prompts
...
including a documentation fix
2011-01-15 08:05:55 -07:00
Robby Findler
90b8400d50
make up a new temp dir instead of using C:\tmp
2011-01-15 06:44:42 -06:00
Robby Findler
34b0d794dc
added docs explaining how blobs break up and reform
2011-01-15 06:42:51 -06:00
Mike Sperber
894c531f6c
Make DMdA's fold more robust.
2011-01-15 13:08:00 +01:00
Robby Findler
4ffb16905e
upped the min sizes for the same score controls
2011-01-15 05:42:07 -06:00
Mike Sperber
d2aa1c1138
Make test-engine tests work with new gracket.
2011-01-15 12:25:39 +01:00
Mike Sperber
db8e16bc66
Synch German string constants with latest.
2011-01-15 11:02:47 +01:00
Matthew Flatt
aa31641733
fix initial transformation matrix of {post-script,pdf}-dc%
2011-01-14 20:30:51 -07:00
Matthew Flatt
4e47aff061
clean up code that adds date and filename to DrRacket printout
...
--- although I don't think it should be added at all, or maybe
added only if a preference is set
2011-01-14 20:30:51 -07:00
Matthew Flatt
a9dd80110a
restore doc & page checking for `post-script-dc%' et al.
...
and also fix up wiring of `printer-dc%' in `editor<%>' so
that `is-a?' tests works as expected
2011-01-14 20:30:51 -07:00
Robby Findler
73d71d7597
refactored to make it easier to write docs that have example boards in them and started on the docs (not finished tho)
2011-01-14 20:58:14 -06:00
Robby Findler
90dbf3a56b
same: up the bonus scores to 100 per ball
...
this means a max of 5,000 and so closer to what good scores for the other way to score
2011-01-14 20:58:11 -06:00
Robby Findler
9c63710b14
same: refactor drawing of the board to have a bitmap background
...
(speeds up redraws on my win7 machine from about 200msec to about 15msec)
also use that refactoring to draw a bitmap for the icon using the
same, new style
2011-01-14 20:58:08 -06:00
Matthew Flatt
f69e89c023
win32: connect print dialog to given parent (if any)
...
which causes a different style dialog to be used
2011-01-14 18:54:02 -07:00
Matthew Flatt
06e5d7d6c8
fix problem with mm printer measurements
2011-01-14 15:51:41 -07:00
Matthew Flatt
b10ad75d11
fix another problem with `erase' in a canvas dc
...
Closes PR 11625
2011-01-14 15:50:33 -07:00
Casey Klein
b45bb829b6
Fixes a bug in metafunction traces
...
When the result is in the cache but the cache is not consulted because
`caching-enabled?' is false, the call should not be shown as cached.
2011-01-14 13:41:09 -06:00
Casey Klein
61607c4da1
Adds a check to the define/extend language parser
2011-01-14 13:41:09 -06:00
Casey Klein
f742479d8d
Fixes another bug in the test generator.
2011-01-14 13:41:09 -06:00
Casey Klein
11900c6c4f
Changes logging to use write instead of display
2011-01-14 13:41:09 -06:00
Casey Klein
3c2e2fc362
Fixes `extend-reduction-relation' bug.
...
The #:domain argument did not apply to inherited rules.
2011-01-14 13:41:09 -06:00
Casey Klein
56a548c517
Suppresses overridden rules in the names reported for a reduction relation
2011-01-14 13:41:09 -06:00
Casey Klein
394fab0d86
Adds an option for repeating the command(s)
2011-01-14 13:41:09 -06:00
Casey Klein
ea5a6fc91c
Fixes exception handling in randomized tests
2011-01-14 13:41:09 -06:00
Casey Klein
c5599e8b6f
Adds an option for logging the generated tests
2011-01-14 13:41:08 -06:00
Eli Barzilay
05109cf939
Convert backslashes to slashes on windows for path inputs.
...
This applies only to interactive use, using this as a library should
still use generic /-delimited strings.
Fixes PR 11619 -- hopefully.
2011-01-14 13:52:26 -05:00
Eli Barzilay
34e3279f98
Remove leftover debugging code
2011-01-14 13:52:26 -05:00
Kevin Tew
7b9cd25527
Fix doc making hang on error
2011-01-14 10:27:23 -07:00
Matthew Flatt
3e2af2f39e
change locking of preferences files under Windows
...
to avoid the problem that `rename-file-or-directory' cannot
replace a file that is currently open for reading (unlike Unix)
2011-01-14 08:35:14 -07:00
Eli Barzilay
5998ecc564
Abstract the initialization stuff into a separate function.
...
Make it available outside so in the future I can use it in the PL class
code.
2011-01-14 08:35:55 -05:00
Eli Barzilay
f96361bb2c
Fix typo in web code
2011-01-14 08:33:19 -05:00
Carl Eastlund
b379e207fd
DrDr should not run the "scribblings-package" example in tests/planet.
2011-01-14 01:06:22 -05:00
Matthew Flatt
0d36dbefb8
win32: adjust printing-dc% scale to simulate screen DPI
...
This is questionable; it might be better to set up a printing
context with 72 DPI and adjust the resolution of the Pango
font map associated with the DC to be 72 DPI; matching the
screen is easier, and it provides the benefit that font metrics
(based on fonts with point sizes rather than pixel sizes) are
consistent across drawing contexts
2011-01-13 20:08:57 -07:00
Matthew Flatt
559f756374
win32: tell Cairo when drawing to a printing context
2011-01-13 20:08:56 -07:00
Matthew Flatt
4f292a95c5
win64: fix PrintDlg alignment
2011-01-13 20:08:55 -07:00
Robby Findler
255cb84b87
add an example tool (that actually does something) to the docs and make a test suite that sets that tool up and runs it
2011-01-13 20:11:55 -06:00
Robby Findler
422bf5eae7
docs fixes
2011-01-13 20:11:53 -06:00
Robby Findler
65579793af
added get-button-label method to switchable-button%
2011-01-13 20:11:52 -06:00
Jay McCarthy
ead6c2003e
Fixing a few functions to xexpr
2011-01-13 14:50:10 -07:00
Jay McCarthy
8b04595482
sync
2011-01-13 14:50:10 -07:00
Jay McCarthy
1b177f1788
Fixing site example
2011-01-13 14:50:10 -07:00
Jay McCarthy
89f3c56625
Trying xnest inside of real root
2011-01-13 14:50:10 -07:00
Jay McCarthy
dfe9bb9fca
Dumb problem
2011-01-13 14:50:10 -07:00
Jay McCarthy
2e6cfb0e02
Going back to simple X server
2011-01-13 14:50:10 -07:00
Jay McCarthy
83613e822f
Moving shm removal
2011-01-13 14:50:10 -07:00
Jay McCarthy
f9cb806343
Fixing shmget
2011-01-13 14:50:09 -07:00
Matthew Flatt
723b41b3e6
fix `rename-file-or-directory' docs to more accurately report OS behavior
2011-01-13 14:09:12 -07:00
Matthew Flatt
045aac4daf
fix tools doc
...
--- hopefully the switch from `scheme' to `racket' doesn't
change the intended reference of anything in the docs
2011-01-13 13:08:42 -07:00
Matthew Flatt
2097e944b7
fix `regexp-replace*' with procedure and #f matches
2011-01-13 11:01:46 -07:00
Robby Findler
7763e428f4
drracket tab unsaved notification: add a dot back in to try to be more friendly to XP
2011-01-13 10:13:52 -06:00
Matthew Flatt
a57fb5bf9f
fix `erase' on a monochrome bitmap
...
Closes PR 11615
2011-01-13 08:03:00 -07:00
Robby Findler
0d72df472f
same: draw mouse-under blob in a slightly darker color and make the scoring bonus easier to get (and worth more)
2011-01-12 17:32:30 -06:00
Robby Findler
b8459737f0
disable the trace of all of the messages in the framework tests
2011-01-12 17:32:26 -06:00
Robby Findler
1a4ba1d196
Rackety
2011-01-12 17:32:22 -06:00
Vincent St-Amour
7808be5e20
Fix portable-fixnum?.
2011-01-12 14:20:29 -05:00
Kevin Tew
324d1aa440
parallel-lock-client doc fix
2011-01-12 10:36:29 -07:00
Kevin Tew
65460f5739
parallel-lock-client docs
2011-01-12 10:22:52 -07:00
Matthew Flatt
e9a4650f09
win32: don't handle frame non-content mouse events
2011-01-12 07:46:55 -07:00
Philippe Meunier
99d1cda1d5
Quarterly update (give or take a few months...)
2011-01-12 17:22:01 +09:00
Asumu Takikawa
60d0e5b886
Add a layer of export redirection in mred/mred.rkt.
...
Moved mred to private/mred and created a new mred that just re-exports the
definitions from the private module. This change is intended to allow for
contracts to be added later to where the definitions are re-exported.
2011-01-11 21:55:37 -05:00
Matthew Flatt
e6187eb6a7
sort result of `get-face-list'
2011-01-11 19:47:17 -07:00
Matthew Flatt
1ce430faf7
win32: handle control font failure
2011-01-11 19:47:15 -07:00
Matthew Flatt
6defe0ea09
win32: fix screen-glyph reporting for label mode
...
because XP doesn't substitute fonts in control labels
2011-01-11 19:47:04 -07:00
Carl Eastlund
84396869f1
Updated Planet documentation to include the new modules and their exports.
...
Modified the "Developing Packages for PLaneT" section to point users to
planet/scribble to make sure all their links work.
End of move from unstable/ to planet/.
2011-01-11 18:00:42 -05:00
Carl Eastlund
803ac4a412
Added a sample package to test Planet scribblings. No automated tests yet.
...
Currently one just has to build the package and "eyeball" its documentation.
2011-01-11 18:00:40 -05:00
Carl Eastlund
557fd0fca6
Moved this-package-version-symbol from unstable/planet to planet/version.
...
Could not put it in planet/util because it depends on planet/util at phase 1.
Re-exported the other "this-package" macros from planet/version.
Modified this-package-in to take multiple suffix identifiers and to treat the
suffix "main" specially, and generate (planet owner/name:X:Y) instead of
(planet owner/name:X:Y/main).
2011-01-11 18:00:40 -05:00
Carl Eastlund
debad064e7
Moved most of the planet-related bindings from unstable/scribble and
...
unstable/planet to planet/scribble and planet/util. Did not move
define-planet-package; it is not as crucial as the "this-package" macros.
2011-01-11 18:00:39 -05:00
Carl Eastlund
8d36436465
Starting to move macros for documenting Planet packages out of unstable.
...
I am leaving the bindings in unstable as they are, in case there are a few
packages out there relying on them. My intention is to remove them after the
release of 5.1 so that developers on the trunk have a chance to find and fix
bugs in their Planet packages.
This commit: moved macro-facilitating functions from unstable/planet-syntax
to planet/syntax.
2011-01-11 18:00:38 -05:00
Robby Findler
2e05c118ba
add an extra explicit step in initializing a drracket frame to set the toolbar buttons
...
closes PR 11608 (hopefully)
2011-01-11 16:23:15 -06:00
Matthew Flatt
6d48ea17aa
win32: use wglGetProcAddress for sgl when direct lookup fails
2011-01-11 14:35:55 -07:00
Matthew Flatt
68e647ae91
win32: no multisample for offscreen gl
...
because it interferes with multisample setup for
canvases and seems unlikely to be supported or useful
2011-01-11 14:35:54 -07:00
Matthew Flatt
f64b52052f
fix Scribble serialization of search-redirected links
2011-01-11 13:24:34 -07:00
Robby Findler
5013234ac0
fix try-color so that it returns void (instead of returning what copy-from returns)
2011-01-11 14:18:36 -06:00
Matthew Flatt
640fa15d32
win32: support gl multisampling
2011-01-11 13:13:19 -07:00
Kevin Tew
e7a24a6b41
Parallel Locking
2011-01-11 12:44:09 -07:00
Kevin Tew
e3d7ffbe82
convert parallel-build to classes
2011-01-11 12:44:09 -07:00
Kevin Tew
264e7f2c15
Use worker-count for doc build
2011-01-11 12:44:09 -07:00
Robby Findler
1b0fdfd0a9
whoops
2011-01-11 13:31:38 -06:00
Robby Findler
997a2be686
change copy-from to return this.
...
closes PR 11609
2011-01-11 13:30:36 -06:00
Robby Findler
fc39113895
same: made the board taller and made the boards a little bit more likely to have more connected things initially
2011-01-11 09:47:39 -06:00
Matthew Flatt
1eac56fd1a
fix `#lang htdp/asl'
2011-01-11 07:51:08 -07:00
Robby Findler
9964e28969
added a check in bitmap to make the file argument exists
2011-01-11 08:06:26 -06:00
Robby Findler
2c50190294
same: brought back the 'this score' message% object
2011-01-11 07:00:34 -06:00
Robby Findler
070549101f
same: spread the bonus out to last 20 cells and don't do the double-color thing
2011-01-10 20:48:33 -06:00
Matthew Flatt
45aa84b6ce
win64: fix sgl
2011-01-10 18:10:44 -07:00
John Clements
8ccee771f8
improved dialog text for stepper jump failures
2011-01-10 16:41:19 -08:00
Matthew Flatt
afdfafa66a
win32: let default handlers see WM_MOUSELEAVE
...
This fixes a problem where mousing over a button
in Win7 leaves the button blue instead of fading
back to normal color
2011-01-10 17:16:50 -07:00
Matthew Flatt
68e60df7db
fix docs for `image-element'
2011-01-10 16:44:10 -07:00
Matthew Flatt
a9bedcc69d
change Scribble HTML to use `object' tag for SVG
2011-01-10 16:41:17 -07:00
Matthew Flatt
6afffb329c
add `svg-dc%'
2011-01-10 16:41:16 -07:00
Matthew Flatt
b2877336f7
support ".svg" in scribble/base'
image' for HTML output
2011-01-10 16:41:16 -07:00
Robby Findler
de8ba4b11a
improved the way scoring works for same
2011-01-10 17:12:22 -06:00
Robby Findler
666c559532
adjusted how paren matching inside {} works for better tabbing in scribble mode
2011-01-10 16:56:45 -06:00
Robby Findler
b823b94cda
change drracket to print the start & end compiling messages when in PLTDRCM=trace mode
2011-01-10 16:56:40 -06:00
Matthew Flatt
a28ead9464
fix some switchable-button tooltip problems
2011-01-10 12:26:24 -07:00
Matthew Flatt
4c05bb48f1
win32: mouse-leave events when mouse leaves the frame
2011-01-10 12:26:23 -07:00
Robby Findler
9698d03955
adjust check syntax so that it uses a copy of the definitions text as the source of the program
...
this seems to improve the responsiveness of check syntax a fair amount
on a fast machine, copying drracket/private/rep.rkt takes .5 seconds, tho.
2011-01-10 13:04:36 -06:00
Robby Findler
160d9d9ac4
removed unused bound id
2011-01-10 13:04:34 -06:00
Stephen Bloch
57dfc31f60
Two test files for picturing-programs had been disabled; they're re-enabled now.
2011-01-10 13:48:07 -05:00
Robby Findler
f86fbad226
fix stupid stuff, plus make purple a little more different than brown
2011-01-10 12:19:20 -06:00
Robby Findler
2553553f09
improved same game
...
- new drawing algorithm (makes the connected regions easier to see)
- different scoring mechanism (give points for having few pieces left)
- make the window resizable
- general cleanup of the code
2011-01-10 11:49:52 -06:00
Matthew Flatt
f1e13a7921
modial dialog don't disable mouse motion, enter, and leave events
...
Closes PR 11599
This is an API change relative to gr1, but it seems sensible,
and it makes enter and leave events more reliable and easier
to implement.
2011-01-10 07:53:03 -07:00
Matthew Flatt
e64c99f7a3
typo
...
Closes PR 11606
2011-01-10 06:43:27 -07:00
Robby Findler
d2cb96bcb3
setup hooks so that the behavior of the home / c:a keybinings delegates to a method to find where to go
...
then, use that to change how it works for the scheme mode (and also another variation for the REPL to
cope with the prompt)
I spent a while trying to make this work at the keymap% level (ie putting different keybindings for "home"
and "c:a" into different keymaps) but this just turned out to be far too confusing and fragile, so went
with this alternative (one keybinding, but that delegates to an overridable method)
closes PR 11446
2011-01-09 16:22:28 -06:00
Robby Findler
ad47d346ba
move the text class creation calls back to the end of the file
2011-01-09 15:38:24 -06:00
Robby Findler
1425969f61
seems safe to use the star under windows now for unsaved files
2011-01-08 20:25:11 -06:00
Robby Findler
49952e580b
adjust scribble's in-drracket html generator button to use the sandbox so user code cannot corrupt drracket.
...
related to PR 11601
2011-01-08 16:37:58 -06:00
Robby Findler
da9c34cd52
use the new refresh-now method
2011-01-08 14:52:36 -06:00
Robby Findler
66f6f04c1e
improve the drawing of the menu popup when it is yellow and the mouse is over it
2011-01-08 14:29:36 -06:00
Robby Findler
cdd099f024
added docs for set/c
...
moved docs for predicates down near the end of the file;
currently it goes: constructors, operations, predicates & contract, iterator stuff
added docs for set-equal?
2011-01-08 14:10:08 -06:00
Robby Findler
0411cddba5
added set/c and made sets print as set, seteq, or seteqv
...
closes PR 11454
2011-01-08 13:49:01 -06:00
Robby Findler
422bb10b53
set docs: change the name of the parameter of set-union to avoid shadowing 'set'
...
used the name 'st' following the style guide's suggestion of 'lst' for lists
since it should use the same parameter name everywhere, change this everywhere
also: rackety
2011-01-08 13:48:59 -06:00
Matthew Flatt
eaa82cc84d
gtk: fix floating windows
2011-01-08 11:55:31 -07:00
Matthew Flatt
f59e8e0eb9
cocoa: fix problems with floating windows
2011-01-08 11:41:11 -07:00
Matthew Flatt
8f6acf6aae
radio-box% initial selection and #f
...
Closes PR 11107
2011-01-08 10:29:32 -07:00
Matthew Flatt
9e9a3ef814
fix `regexp-match-exact?' to work on paths, drop ports from docs
...
Closes PR 11213
2011-01-08 10:29:32 -07:00
Matthew Flatt
f624ebdf20
doc repair
...
Closes PR 11215
2011-01-08 10:29:31 -07:00
Matthew Flatt
bbc0c687ee
fix `keyword-apply' when the argument list is missing
...
Closes PR 11249
2011-01-08 10:29:31 -07:00
Matthew Flatt
e6fd878e14
doc `Secref'
...
Closes PR 11309
2011-01-08 10:29:31 -07:00
Matthew Flatt
f2a11c504d
fix `tab-panel%' callback problem
...
Closes PR 11528
2011-01-08 10:29:31 -07:00
Matthew Flatt
8d15718188
fix typo
...
Closes PR 11061
2011-01-08 10:29:31 -07:00
Matthew Flatt
9417beb7bd
gtk: get-file' and
put-file' replace "*.*" filter with "*"
...
Closes PR 11593
2011-01-08 10:29:31 -07:00
Stevie Strickland
9ffb204682
Rename instanceof' to
instanceof/c'.
2011-01-08 11:24:25 -05:00
Matthew Flatt
39e0921f90
trigger Slideshow printing via `executable-yield-handler'
...
Closes PR 11595
2011-01-08 07:09:39 -07:00
Stephen Bloch
67f3a22e44
no longer ignoring tests
2011-01-08 00:00:47 -05:00
Stephen Bloch
fb7d948794
Revised test cases that used big-bang so they don't actually run when
...
loaded (so drdr doesn't complain about timeouts).
2011-01-07 23:52:39 -05:00
Stephen Bloch
c3430f285c
Took out a commented line. No big deal...
2011-01-07 23:52:38 -05:00
Jay McCarthy
f77ab71772
Fixing PR11592
2011-01-07 19:53:00 -07:00
Jay McCarthy
f2a9aebba5
Fixing contract formatting change
2011-01-07 19:53:00 -07:00
Matthew Flatt
d4e3d42d19
make `message-box' and variants work when called for a non-handler thread
...
This could be done to many other dialogs, but it seems especially
worthwhile for `message-box'.
Closes PR 11601.
2011-01-07 17:59:26 -07:00
Stevie Strickland
92775c5e4e
Add instanceof.
...
The instanceof contract combinator takes a class contract. The resulting
contract protects objects using the external field and method contracts
in the class contract.
2011-01-07 18:22:24 -05:00
Matthew Flatt
d6fc7da750
add refresh-now' to
canvas%'
...
--- this method doesn't have to be built in, but it
encapsulates a common and not-too-obvious pattern
2011-01-07 14:19:35 -07:00
Matthew Flatt
5f4ee4f9f8
cocoa: erasing a non-transparent canvas uses white
2011-01-07 14:15:35 -07:00
Matthew Flatt
9d7a7a1520
line number fixes
...
- restore some method augments that I shouldn't have deleted
- handle font change through a style-list callback
2011-01-07 13:02:33 -07:00
Matthew Flatt
a5660f38eb
document weak reference by `notify-on-change'
2011-01-07 13:02:11 -07:00
Matthew Flatt
be6ba896e0
repairs for line numbers in DrRacket
2011-01-07 11:57:50 -07:00
Robby Findler
d8a3edfc88
clicking on the preference file indicator now gives stats about the preferences file
2011-01-07 12:33:14 -06:00
Robby Findler
61664690b5
make the proper test to be able to call un/cache-image
...
closes PR 11598
2011-01-07 11:22:28 -06:00
Matthew Flatt
551a43d759
use scribble/manual for easier PDF rendering
2011-01-07 09:48:04 -07:00
Matthew Flatt
7852408f8a
Scribble: prevent linebreaks after leading hyphens on identifiers
2011-01-07 09:48:03 -07:00
Matthew Flatt
21d324a169
Scribble soft-hyphen support for Latex rendering; ?-' in
scribble/base'
2011-01-07 09:48:03 -07:00
Matthew Flatt
315fdf071a
better Scribble support for disabling line breaks
...
- make 'no-break element style work consistently
- document 'no-break
- add `nonbreaking' to `scribble/base'
2011-01-07 09:48:03 -07:00
Matthew Flatt
8f23d9dc1a
fix reference hyphen and some abbreviations
2011-01-07 09:48:03 -07:00
Matthew Flatt
163d10cab3
Scribble LaTeX rendering of non-breaking hyphen; add ~' and
-~-'
2011-01-07 09:48:03 -07:00
Matthew Flatt
5998c0ac95
add ._' and
.__' to `scribble/base' for abbrev- and setence-ending periods
2011-01-07 09:48:03 -07:00
Matthew Flatt
5b3865f3e6
doc repairs
2011-01-07 09:48:03 -07:00
Robby Findler
bf031be73e
what happened here?
2011-01-07 09:23:51 -06:00
Robby Findler
a32adbe7db
make the framework test suite only modify gui objects on the eventspace handler thread
2011-01-07 06:39:27 -06:00
Robby Findler
31a629ff9c
make provide/contract work properly when it is the only thing in a module body
...
closes PR 11596
2011-01-07 05:19:16 -06:00
John Clements
8d7f29d0bb
reworded to follow friedman's rule
2011-01-06 23:57:13 -08:00
Robby Findler
582c8362a6
added a special case to the ->i error messages for when #:pre only has two things following
2011-01-06 19:29:02 -06:00
Robby Findler
9a0d7b419b
minor tweak to ->i's error message
...
relevant to PR 11597
2011-01-06 15:22:17 -06:00
Robby Findler
1d2b837603
adjusted 2htdp/universe (and world) so that it uses the cache disabling support from 2htdp/image
...
(the caching is not helping when drawing animations; it just allocates extra bitmaps)
2011-01-06 14:24:03 -06:00
Robby Findler
670d58d134
added un/cache-image, a function that enables/disables the drawing cache in 2htdp/image images
2011-01-06 14:24:01 -06:00
Robby Findler
b77847904e
adjust the way the () colorer status thingy draws
2011-01-06 14:24:00 -06:00
Matthew Flatt
99d39ff3cf
fix docs for recent shared' and
struct' changes
2011-01-06 12:53:17 -07:00
Matthew Flatt
dce2ffc05c
add missing doc
2011-01-06 12:53:17 -07:00
Robby Findler
21050c2454
remove now useless private field
2011-01-06 10:09:09 -06:00
Robby Findler
c94ad960ac
ask about normalizing pastes only after pasting has finished (in case there are multiple calls to insert)
...
closes PR 11449
2011-01-06 08:39:32 -06:00
Matthew Flatt
4f56618c6d
improve canvas-drawing docs
2011-01-06 07:43:26 -07:00
Mike Sperber
71904f2ca6
Merge remote branch 'origin'
2011-01-06 14:10:04 +01:00
Mike Sperber
69963a1f2c
Fix bug in struct-wrap signature checking.
...
Only check the fields if we know the struct type is right.
2011-01-06 13:53:51 +01:00
Robby Findler
33cb5a8b6f
use new syntax colorer hooks to provide feedback about syntax coloring in the definitions window in drracket
2011-01-05 20:39:35 -06:00
Robby Findler
92d9ce38d3
added an observer for the colorer
2011-01-05 20:39:31 -06:00
Matthew Flatt
655f6045a2
fix shared' for
#:auto' fields and constructors without `make-'
...
Closes PR 11588
Closes PR 11591
2011-01-05 13:52:11 -07:00
Vincent St-Amour
b32287fa2d
Fixed a bug with complex numbers made from floats of differing precision.
...
It used to be that constructing complex numbers from a float and a
double sometimes caused incorrect coercions.
2011-01-05 14:42:31 -05:00
Vincent St-Amour
cb723092e2
Fix portable fixnum size.
2011-01-05 14:42:31 -05:00
Matthew Flatt
81cbf1ae1f
add get-client-handle' to
window<%>'
2011-01-05 12:15:37 -07:00
Matthew Flatt
adfa67206d
win32: on-size fix
2011-01-05 10:38:06 -07:00
Matthew Flatt
ae5093a134
more consistent on-size' and
on-move'
2011-01-05 10:00:07 -07:00
Matthew Flatt
c9d2f43398
fix line-number mixin
2011-01-05 09:57:33 -07:00
Matthew Flatt
b0d95708bf
fix docs on get-handle' from
window<%>'
2011-01-05 08:50:21 -07:00
Matthew Flatt
b0095111d4
restore and document scrolling behavior
...
Closes PR 11583, and
everts the previous fix for PR 10853 and fixes
it in a different way
2011-01-05 07:02:00 -07:00
Matthew Flatt
5eb2739bdf
typo
2011-01-05 07:02:00 -07:00
Matthew Flatt
577755630a
disable brush gradient when the target is monochrome
2011-01-05 07:02:00 -07:00
Jon Rafkind
6c3feabb52
restore dc state after calculating the clipping area
2011-01-04 22:24:36 -07:00
Jon Rafkind
d7ac9c4399
sest the line number padding when the editor changes. calculate the position to draw at better
2011-01-04 22:16:52 -07:00
Kevin Tew
c0ec320be0
Gradient doc fixes
2011-01-04 14:45:18 -07:00
Robby Findler
9cd9fd24aa
tweaks to the splash screen easter eggs to make them more responsive
2011-01-04 15:40:35 -06:00
Robby Findler
e0c02e66c8
make sure all modifications to the splash screen controls happen in the splash's eventspace handler thread
2011-01-04 15:40:33 -06:00
Robby Findler
51ad306af2
changed real-in to be an alias for between/c
2011-01-04 15:40:32 -06:00
Kevin Tew
e35603988a
gradients get picture examples
2011-01-04 13:51:30 -07:00
Matthew Flatt
d2f16ee36e
win32: fix canvas flicker
2011-01-04 13:30:30 -07:00
Matthew Flatt
553723627c
gradients: refine checking and docs to fit various conventions
2011-01-04 12:44:36 -07:00
Sam Tobin-Hochstadt
c30887b306
Disable tests that loop infinitely.
2011-01-04 14:29:48 -05:00
Kevin Tew
b88ff89837
racket/draw gradient support
2011-01-04 11:37:06 -07:00
Asumu Takikawa
ed114c0750
Fix documentation to match editor<%>, text%, and pasteboard% changes.
2011-01-04 13:04:28 -05:00
Asumu Takikawa
24050a5bc6
Remove do-copy, do-paste, and do-paste-x-selection from editor<%>.
...
text% and pasteboard% now do not override the methods.
2011-01-04 13:04:28 -05:00
Matthew Flatt
9fa957e780
pretty-print: make check for escape points linear in input
2011-01-04 10:37:33 -07:00
Matthew Flatt
3bb120545f
fix ~300 typos reported by Vladimir Nesterovich (a.k.a. Gwyth)
...
--- but Gwyth's amazingly helpful review of chapters 1-11
pointed out a few problems that are more difficult to fix
and are still pending
2011-01-04 09:53:31 -07:00
Matthew Flatt
6a34dce36d
style guide: use v' for "any value" (as opposed to
x')
2011-01-04 09:52:14 -07:00
Matthew Flatt
b0ed2f5bc2
fix result of editor<%> `load-file' when the editor is locked
...
relevant to PR 11590
2011-01-04 06:11:46 -07:00
Robby Findler
b0309ae99e
changes the way the drracket frame is initialized so that it finishes on a single GUI event callback
...
related to PR 11590
2011-01-04 06:18:44 -06:00
Robby Findler
dd9e8c530b
fix the use of draw-caret in 2htdp/image
2011-01-03 20:54:07 -06:00
Matthew Flatt
cf344b9926
fix dimensions of cached image bitmap
2011-01-03 19:13:56 -07:00
Robby Findler
30f9c4338f
make sure make-bitmap gets exacts as args
2011-01-03 19:56:37 -06:00
Matthew Flatt
3a5f267983
Revert "move the handin-server docs out of the user's space and into the plt/doc"
...
This reverts commit e6d45e2ae6
.
[for now, so that the distribution build can work]
2011-01-03 18:05:07 -07:00
Matthew Flatt
cd676fe81c
another context-cache repair
2011-01-03 18:04:11 -07:00
Robby Findler
d1e0e7e254
fixed a few places in the repl-test where it was accessing gui stuff on a non-GUI thread
2011-01-03 17:41:08 -06:00
Matthew Flatt
cb016e35ad
fix draw-bitmap with alpha < 1.0
...
Closes PR 11589
2011-01-03 14:25:58 -07:00
Robby Findler
ac52a63d4a
cache drawing in 2htdp/image snip's draw method
2011-01-03 15:06:41 -06:00
Robby Findler
d886df2acc
2htdp/image: when selected, draw with some transparency so the selection is visible
2011-01-03 14:42:57 -06:00
Robby Findler
e6d45e2ae6
move the handin-server docs out of the user's space and into the plt/doc
2011-01-03 11:38:56 -06:00
Robby Findler
6c4f75365b
handin server docs tweaks
2011-01-03 11:38:54 -06:00
John Clements
b713e43e1b
adopted a two-stage fallback for old pref name, per robby's suggestion
2011-01-03 07:52:48 -08:00
Casey Klein
4ca857fad7
Configures DrDr to run larger random tests
2011-01-03 09:37:32 -06:00
Casey Klein
25c1400d8b
Exposes the default value of the #:attempt-size argument
2011-01-03 09:37:32 -06:00
Casey Klein
69227df4bf
Restricts the test generator's use of `dw' thunks
2011-01-03 09:37:32 -06:00
Matthew Flatt
8190f3341b
remove bogus #:namespace argument from handin status servlet runner
2011-01-03 07:21:51 -07:00
Jay McCarthy
daf3219cbe
FIxing error exposed by Stefan
2011-01-03 07:12:44 -07:00
Robby Findler
fbe6e06957
give up on predicting the stack trace contents when yield is used
2011-01-03 07:15:03 -06:00
Matthew Flatt
df2351f90f
adapt better to available drawing and GUI libraries on Unix variants
2011-01-02 20:18:11 -07:00
Robby Findler
6fb6fca73b
make the test suite less picky about the contents of the stack (but not if it has content or not)
2011-01-02 19:53:39 -06:00
Robby Findler
193617f917
added the 'blaming' part of the contract message to self-contract violations (but kept 'self-')
2011-01-02 17:01:18 -06:00
John Clements
47e3db06ff
change pref name to match docs
2011-01-02 14:45:14 -08:00
Robby Findler
7eb3e8c28a
change drracket and framework so they don't rebind printf anymore
...
(instead binding oprintf to print to the original output port of drracket)
2011-01-02 10:03:24 -06:00
Robby Findler
1be502ed79
fixed a bug that Eli noticed in the initial state of the language dialog
2011-01-02 10:03:23 -06:00
Robby Findler
465d5a9f75
adjust check to only insist that, when there is an editor, is it the right kind of editor.
2011-01-02 10:03:21 -06:00
Robby Findler
4f19b0d454
add a coercion so that equality is simpler for things produced by 'bitmap'
2011-01-02 06:51:36 -06:00
Robby Findler
7716851cde
2htdp/image: added support for alpha as a mode? argument
2011-01-01 20:01:50 -06:00
Matthew Flatt
19b1df6586
win32: fix bitmap+string labels for XP
2011-01-01 14:17:31 -07:00
Matthew Flatt
18ca91dc97
win32: make bitmap+string label look right in Win7
2011-01-01 13:54:45 -07:00
Matthew Flatt
a6e04695bb
win32: bitmap+string button labels
2011-01-01 13:54:45 -07:00
Matthew Flatt
241bb79cb0
allow a button% to have both a string and a bitmap for its label
2011-01-01 13:54:45 -07:00
Matthew Flatt
a916f1af42
win32: fix problem with bitmap labels
...
related to PR 11566
2011-01-01 11:33:53 -07:00
John Clements
c7f1211c99
argmin/argmax empty list comment
2011-01-01 08:19:46 -08:00
Matthew Flatt
71223e6175
win32: survive theme-access failure
2011-01-01 08:22:17 -07:00
Matthew Flatt
07c272df4a
gtk: fix screen-bitmap depth selection and a spurious tab callback
2010-08-12 23:35:40 -04:00
Jon Rafkind
11494ce8b9
use padding instead of manually moving the origin
2010-12-31 19:29:34 -07:00
Robby Findler
a57666f130
set panel-single.rkt pref
2010-12-31 20:19:15 -06:00
Robby Findler
1d5031c3e6
probable fix for race condition in check syntax (exposed by test suite)
2010-12-31 20:15:55 -06:00
Robby Findler
3237be6b4e
renamed the check syntax progress status-line
2010-12-31 20:15:53 -06:00
Matthew Flatt
15fa34b091
gtk: tolerate absence of a minor combo_box function
2010-08-12 19:52:37 -04:00
Matthew Flatt
856df5e113
doc correction
2010-12-31 14:41:37 -07:00
Matthew Flatt
55693e090f
add port-try-file-lock?' and
port-file-unlock'
2010-12-31 14:40:27 -07:00
Matthew Flatt
1e3b2ee9ee
doc typo
...
Closes PR 11582
2010-12-31 14:40:27 -07:00
Matthew Flatt
5809860dd3
fix problem with text% padding
2010-12-31 14:40:27 -07:00
Casey Klein
f480d75810
Enables the randomized delimited control tests in DrDr
2010-12-31 15:34:32 -06:00
Casey Klein
03c48b67a7
Restricts the test generator's use of % within cont
2010-12-31 15:34:31 -06:00
Casey Klein
8b50aeb346
Fixes a bug in the elimination of continuation values
2010-12-31 15:34:31 -06:00
Casey Klein
a6e40bfb03
Further restricts the test generator's use of `wcm'
2010-12-31 15:34:31 -06:00
Casey Klein
579cb022bd
Changes the randomized tests to watch for the first exception.
...
The particular exception raised is important. We don't want a later
one raised by a dynamic-wind post-thunk.
2010-12-31 15:34:31 -06:00
Casey Klein
de8b1bc101
Fixes a bug in the generation of `side-condition' patterns
...
The bindings supplied to `side-condition' predicates by the matcher
sometimes contain the-not-hole; the ones supplied by the generator
must be the same.
2010-12-31 15:34:31 -06:00
Robby Findler
699058d3a4
do a little bit better job keeping the manipulation of the gui state on the eventspace handler thread (in the syncheck test)
2010-12-31 15:29:23 -06:00
Eli Barzilay
3fb871586f
Removed some exe bits that look redundant.
2010-12-31 15:59:39 -05:00
Eli Barzilay
1f49e35b21
2010 -> 2011
2010-12-31 15:59:39 -05:00
Eli Barzilay
e2cc0942cc
Attempt to make some ignore files more robust
2010-12-31 15:59:39 -05:00
Eli Barzilay
5b2d55a336
sbloch is responsible for picturing-programs
2010-12-31 15:59:39 -05:00
Robby Findler
01fc959e63
change 2htdp/image docs so that it uses just the regular evaluation mechanism instead of the fancy dance it was doing before
2010-12-31 14:44:10 -06:00
Robby Findler
e75d6b3fae
replace one inherently racecondition-prone test with two others that approximate it
2010-12-31 10:50:27 -06:00
Matthew Flatt
00124220bd
fix platform-independent file dialog
2010-12-31 09:41:30 -07:00
Matthew Flatt
aa4a0faab4
doc typo
2010-12-31 09:41:30 -07:00
Robby Findler
830c797ee4
use pen's alpha color stuff in 2htdp/image
2010-12-31 10:25:01 -06:00
Robby Findler
6f9bcf0001
Rackety
2010-12-31 09:58:54 -06:00
Robby Findler
3dc5bbd0eb
moved interactive panel test into its own file
2010-12-31 09:58:53 -06:00
Robby Findler
900d74714e
fixed up panel:dragable so that it actually does the right thing now
...
adjusted the framework test suite so that it runs under windows
closes PR 10880
2010-12-31 09:58:51 -06:00
Robby Findler
b3a1d7860a
added default value for alpha in color%
2010-12-31 09:58:50 -06:00
Matthew Flatt
c7977441e4
win32: fix problem with focus directly on a frame
2010-12-31 08:31:36 -07:00
Matthew Flatt
b0e07bde60
doc correction related to embedding in 64-bit Windows
2010-12-31 07:42:41 -07:00
Robby Findler
b2a297afaf
framework: change status line so they never contribute to the minimum width of the frame
...
related to PR 10880
2010-12-30 21:27:11 -06:00
Matthew Flatt
cdf38a259b
fix dist specs
2010-12-30 20:19:47 -07:00
Matthew Flatt
bfa2a57b01
win32: get roots on demand for file dialog
2010-12-30 09:30:27 -07:00
Stephen Bloch
8e655dee8e
Removed installed-teachpack reference from map-image test suite. Added to rotating-triangle test case.
2010-12-30 11:02:04 -05:00
Stephen Bloch
f13883194d
Merge branch 'master' of pltgit:plt
2010-12-30 10:56:13 -05:00
Matthew Flatt
eddae6749d
clean up handling of not-ok?',
bitmap-dc%'-selected, and mutated bitmaps
2010-12-30 08:35:56 -07:00
Stephen Bloch
f3352794d8
Minor tweaks to documentation and rotating-triangle test.
2010-12-30 10:29:12 -05:00
Matthew Flatt
a736dcf6bf
fix `{g,s}et-argb-pixels' bytes-length test
2010-12-30 07:40:42 -07:00
Matthew Flatt
7069a267a6
fix path to "picturing-programs" doc source
2010-12-30 07:12:08 -07:00
Matthew Flatt
e6fd028ae1
avoid compiling "picturing-programs/tests"
...
because there are references to "installed-teachpacks"
2010-12-30 07:08:54 -07:00
Matthew Flatt
8c7f829205
add make-font' to
racket/draw'
2010-12-30 07:05:25 -07:00
Matthew Flatt
a974dad8bf
add alpha value to `color%'
2010-12-30 07:05:25 -07:00
Stephen Bloch
6fec1bcaf9
Renamed a picturing-programs doc file to follow naming conventions.
2010-12-30 08:25:47 -05:00
Stephen Bloch
ebb0def6dd
Added teachpack/picturing-programs.rkt. This and previous 5 commits have to
...
do with installing picturing-programs into the standard bundle.
2010-12-30 08:05:57 -05:00
Stephen Bloch
9fb54f1ae9
Added rotating-triangle test.
2010-12-30 07:46:43 -05:00
Stephen Bloch
4bce35f0a4
Changes to documentation and require/provide lines to get "raco setup" to
...
work smoothly. Deleted compiled code and backup files, as well as tests
that were just copied from universe.
2010-12-30 07:46:43 -05:00
Stephen Bloch
73ef1d6c14
Added more test cases; started updating documentation.
2010-12-30 07:46:42 -05:00
Stephen Bloch
437ea70080
minor fixes
2010-12-30 07:46:42 -05:00
Stephen Bloch
fb05266ad2
Rewriting map-image to work with 5.1. Also added a bunch of test cases
...
to map-image-bsl-tests.rkt.
2010-12-30 07:46:42 -05:00
Robby Findler
fb25dc9a42
adjusted drracket test suites so that it is (more) careful to keep all manipulation of GUI objects (text% objects seem to have been the important one) on the drracket eventspace main thread in an effort to make the test suites more stable.
2010-12-29 20:31:40 -06:00
Matthew Flatt
d3fd1ba013
add `set-padding' to text%
2010-12-29 13:42:58 -07:00
Sam Tobin-Hochstadt
98aeb91aa2
Use 'earley' benchmark to try to avoid drdr race.
2010-12-29 14:48:25 -05:00
Sam Tobin-Hochstadt
2431f8f706
Fix TR tests for new contract error messages.
2010-12-29 13:46:57 -05:00
Matthew Flatt
fb42102c62
further performance tweaks for `get-argb-pixels'
2010-12-29 09:44:16 -07:00
Robby Findler
03ff6f3abb
noticed a few uses of unsafe primitives in some code that was causing trouble yesterday,
...
so I refactored it a bit to speed it up by adding a few more unsafes and lifting
computations out of the main loop. It sped up the 'time' in the program below
by slightly less than a factor of 2.
(define w 200)
(define h 200)
(define bm (make-bitmap w h))
(define bdc (make-object bitmap-dc% bm))
(send bdc set-smoothing 'aligned)
(send bdc set-text-foreground (send the-color-database find-color "blue"))
(send bdc draw-text "ab" 0 0)
(define the-bytes (make-bytes (* w h 4)))
(time
(let loop ([n 400])
(unless (zero? n)
(send bm get-argb-pixels 0 0 w h the-bytes)
(loop (- n 1)))))
2010-12-29 09:05:49 -06:00
Robby Findler
56b27975a4
added in missing solutions (Racket and the machines it runs on
...
got a lot faster in the last 12 or so years. who knew!)
2010-12-29 09:05:48 -06:00
Robby Findler
edbdada36c
Rackety
2010-12-29 09:05:46 -06:00
Matthew Flatt
dcbf6c5590
clean up library dependencies in "unstable" collection
2010-12-29 07:49:02 -07:00
Matthew Flatt
ffd4193e32
fix frame registration on show' when
current-eventspace' is weird
...
(i.e., not the frame's eventspace)
Closes PR 11573
2010-12-29 07:45:49 -07:00
Matthew Flatt
c916e99af5
reduce some memory use of `unstable' doc build
...
by explicitly closing evaluators
2010-12-28 20:55:32 -07:00
Matthew Flatt
80e5c6cec3
clean up
2010-12-28 20:15:30 -07:00
Matthew Flatt
dc926925aa
retain eventspaces weakly
2010-12-28 20:06:57 -07:00
Matthew Flatt
0476ab4fc4
guard against bad pre-mult ARGB
...
Closes PR 11572
2010-12-28 20:03:56 -07:00
Robby Findler
1d89cfc9d7
2htdp/image fix bitmap scaling to respect alpha channels
2010-12-28 19:08:11 -06:00
Matthew Flatt
3b032893c1
don't JIT-inline `values' in a single-value position
2010-12-28 17:47:03 -07:00
Robby Findler
5eec85a5a2
change the way scrolling works so that canvases that are 'primary-owner's are respected when calling scroll-to on an admin
...
This change may also affect other attempts to scroll, however, so watch for strange scrollings when multiple editor-canvaess are displaying the same text% object.
closes PR 10853
2010-12-28 16:37:13 -06:00
Robby Findler
ae2d7c47b6
added missing call-as-primary-owner
...
related to PR 10853
2010-12-28 16:37:11 -06:00
Matthew Flatt
5ea0c93e0f
gtk: combo-field% fixes
...
Closes PR 11569
2010-12-28 14:58:22 -07:00
Matthew Flatt
36e9e6fa20
fix locks on some racket/draw tables to work right in atomic mode
2010-12-28 12:12:53 -07:00
Matthew Flatt
8ac21c745f
add show-without-yield' to
dialog%'
2010-12-28 10:52:17 -07:00
Matthew Flatt
5339be7594
make language test work with cgc
2010-12-28 10:52:17 -07:00
Matthew Flatt
2e8f771661
adjust password dots again
2010-12-28 10:52:17 -07:00
Robby Findler
4e40efaf37
framework: sometimes put the text completion menu above the line instead of below it
...
closes PR 10829
2010-12-28 07:33:26 -06:00
Robby Findler
f849f25272
Rackety
2010-12-28 07:33:24 -06:00
Matthew Flatt
b701d309f1
win32: fix EndPaint to avoid GDI leak
2010-12-28 06:21:58 -07:00
Matthew Flatt
7b5d948d33
win32: fix `focus' return value
2010-12-28 05:30:58 -07:00
Matthew Flatt
68e477fd52
implement get-focus-window' and
get-edit-target-window' in back end to avoid relying on `on-focus' callback handling
2010-12-28 05:25:26 -07:00
Robby Findler
54c337e5d3
2htdp/image: use erase instead of clear to zero out a bitmap
2010-12-27 21:51:16 -06:00
Robby Findler
835f7753dc
generalize the color structs to have an alpha field and then use that in the bitmap conversion functions
2010-12-27 21:51:14 -06:00
Matthew Flatt
0b1f1a4f4e
add missing test case for premultiply-alpha fix
2010-12-27 19:34:59 -07:00
Matthew Flatt
5440edfd74
`set-argb-pixels' needs to pre-multiply alpha for a alpha-channel bitmap
...
Closes PR 11571
2010-12-27 19:14:22 -07:00
Matthew Flatt
719df98d83
prevent dc<%> state contamination among transparent canvases
2010-12-27 17:43:36 -07:00
Matthew Flatt
4d008e3021
fix for pre-v2.0 Objective-C
2010-12-27 16:12:36 -07:00
Matthew Flatt
705b11f2b8
a prompt-test fix like the previous one, but for post thunks
2010-12-27 15:24:33 -07:00
Matthew Flatt
958c141508
improve password-mode dots for text-field%
2010-12-27 15:22:53 -07:00
Kevin Tew
aa42f4a582
Fixed Warning output in parallel scribble build
2010-12-27 14:30:10 -07:00
Robby Findler
6fe8643194
adjust teaching languages so that print works properly
2010-12-27 09:16:09 -06:00
Robby Findler
413c0489f2
adjust arity to the global-port-print-handler so that its name is meaningful
2010-12-27 09:16:07 -06:00
Robby Findler
5828906585
tweak contact error message formatting
2010-12-27 09:16:06 -06:00
Matthew Flatt
0d3fbb11fa
supress a prompt test that doesn't apply to composable continuations
2010-12-26 16:21:28 -06:00
Matthew Flatt
0ef5a01c9b
win32: minor repair to single-instance check
2010-12-26 09:35:22 -07:00
Robby Findler
064492d4b8
improved the docs and the contracts for various planet/util functions
...
closes PR 11079
2010-12-26 08:42:38 -06:00
Mike Sperber
d5c58d9f82
Extends =~ to complex numbers
...
This is a (variation of a) fix from David van Horn.
Closes PR 11547.
2010-12-26 09:03:10 +01:00
Robby Findler
7282e19178
tightened up the check on polygon to make sure the posns contain reals
...
closes PR 10997
2010-12-25 20:33:33 -06:00
Robby Findler
c926656b8a
save the 'preserve stacktrace' setting the language preference
...
closes PR 11037
2010-12-25 20:07:34 -06:00
Matthew Flatt
e77917db8c
fix another continuation bug discovered by Casey's random testing
2010-12-25 17:12:33 -06:00
Robby Findler
0a3c70db91
added note committing teaching language metadata to always being three lines
2010-12-25 15:52:46 -06:00
Robby Findler
dd531dde9e
check syntax does not call eval-compile-time-part-of-top-level when
...
checking programs in the module language.
closes PR 10908
2010-12-25 15:38:08 -06:00
Matthew Flatt
e7b52bf10f
fix ffi handling of non-GCable pointers with offsets
...
Closes PR 11567
2010-12-25 09:34:07 -06:00
Robby Findler
8bb2543b34
bring this code in the modern world
...
(I think the use of bitmaps is the right one here, but this code doesn't actually work, pending PR 11566)
2010-12-25 07:48:25 -06:00
Matthew Flatt
735c4e660c
fix check on snip% `other-equal-to?'
2010-12-24 20:09:17 -06:00
Matthew Flatt
a3adf07fd2
clean up pre-drawing of canvases for a frame to show
2010-12-24 20:09:16 -06:00
Robby Findler
9c12f7aaa5
fix dumb edito I did last week or so
2010-12-24 19:12:55 -06:00
Matthew Flatt
bb96973c4a
cocoa: don't disable flushes on a window that isn't shown
...
because that doesn't seem to work
Closes PR 11565
2010-12-24 18:22:59 -06:00
Matthew Flatt
21ca120c8c
cocoa: fix problems with no-frame root menu
...
on-demand callback and original installation
2010-12-24 17:48:13 -06:00
Robby Findler
173172ddeb
the specification of the runtime paths for windows libraries
...
wasn't collaborating properly with executable creation;
the fix I did was to simplify it a little bit (and duplicate
a little bit of code between the win32 and win64 versions)
closes PR 11483
2010-12-24 15:59:05 -06:00
Robby Findler
8903de5a12
inserted a coercion string->path
...
(there is one on the line above so this is probably the right thing)
closes PR 11563
2010-12-24 15:58:21 -06:00
Robby Findler
da68fc209a
fix contract
2010-12-24 15:58:18 -06:00
Robby Findler
a68850ca78
added menu shortcut
2010-12-24 15:38:05 -06:00
Robby Findler
519eb580b2
typo
2010-12-24 13:36:31 -06:00
Robby Findler
7ac268e4da
Rackety
2010-12-24 06:34:45 -06:00
Robby Findler
e896360dcf
take advantage of new equal<%> and snip% setup to make image-snip%s equal to 2htdp/image images (when appropriate)
2010-12-24 06:34:43 -06:00
Robby Findler
2f009ca529
changed the way equal<%> and snip% interact. Specifically:
...
- snip% now implements equal<%>
its equal-to? delegates to other-equal-to?.
- snip%'s other-equal-to and equal-hash-code and
equal-secondary-hash-code all just amount to using eq?. The
setup is here just to make snip% be the one that declares
that it implements equal<%> so that various snips can adjust
other-equal-to? (and the hash code methods)
- image-snip% no longer implements equal<%>
(but it extends snip% and it overrides other-equal-to?
and the hash-code methods to do what they always did)
2010-12-24 06:34:42 -06:00
Matthew Flatt
e5175c5b38
fix bug that affects the DrRacket language dialog
...
when switching to he choose-a-language radio button
when the selected language is under a closed section
2010-12-23 07:15:36 -06:00
Matthew Flatt
93b2046b75
fix doc typo
2010-12-22 21:00:08 -06:00
Matthew Flatt
94e6d8f399
gtk: clipboard fix
...
Closes PR 11552
2010-12-22 19:40:37 -07:00
Matthew Flatt
4a6af2a81e
another try-atomic repair
2010-12-22 19:09:21 -07:00
Robby Findler
bb9bd1b07a
new attempt at contract violation error messages
2010-12-22 10:39:59 -06:00
Matthias Felleisen
e2e27522fb
inconsistent doc for stop-with
2010-12-22 08:47:13 -05:00
Matthias Felleisen
da7567b7a8
wish list for 2htdp/*sl
2010-12-22 08:47:13 -05:00
Matthias Felleisen
d4dd5f13e1
idea collection for 2htdp/*sl
2010-12-22 08:47:13 -05:00
Matthew Flatt
3d10915736
fix font size for lang-in-source explanation
2010-12-21 19:28:40 -07:00
Matthew Flatt
78b2e47541
fix more try-atomic problems
2010-12-21 18:45:36 -07:00
Robby Findler
eb29b17112
adds a #:pred argument to test-->> (in rough analogy to the #:pred argument on traces)
2010-12-20 22:09:10 -06:00
Robby Findler
4c796a6445
added a 'fast path' check that speeds up the coloring phrase of check syntax by 3x on drracket/private/rep.rkt under windows
...
(thank you Eli's profiler!)
2010-12-20 12:22:46 -06:00
Matthew Flatt
43b96fe47c
adjust racket/snip docs
2010-12-20 08:04:11 -07:00
Robby Findler
bf53fd5c38
adjust the auto-text behavior of DrRacket so that it doesn't require the
...
queue-callback / execute callback dance; also, change the behavior
a little bit so that it works a little bit more like the rest of the
DrRacket languages; in particular, the initialization of the REPL
now only happens when a window is first opened or a new tab is first
created, but not at other times (ie not when the language changes;
when the language changes, we just keep the REPL state the same and
show a warning like before)
This change also required a change to the way the repl is initialized
and a slight change to the behavior of the first-opened method. Specifically,
it is now called in a slightly better context so that errors that
happen look like errors in the user's program. The only other use of
the first-opened method in the tree was to initialize the teachpacks
in the teaching languages and this new behavior is also an improvement
there.
2010-12-20 08:43:34 -06:00
Robby Findler
ba11a02c1d
adjust drracket to use setup/dir's find-collects-path instead of the broken, halfway thing is was doing
2010-12-20 08:43:31 -06:00
Robby Findler
53509bef5f
made module lang tests Windows friendly & Rackety
2010-12-20 08:43:28 -06:00
Robby Findler
dfe6e37ffd
removed mention of PLTDRTEST (it was already gone from the implementation)
2010-12-20 08:43:26 -06:00
Robby Findler
7a945785f3
fix (my own) docs stupidity
2010-12-20 08:43:22 -06:00
Matthew Flatt
b6167c23d5
fix R5RS `caar', etc., when used in a non-application position
...
Closes PR 11558
2010-12-20 07:25:19 -07:00
Sam Tobin-Hochstadt
abf2215de7
Fix send to the wrong administrator.
...
Bug found by tests/gracket/wxme-random.
2010-12-19 22:56:15 -05:00
Sam Tobin-Hochstadt
491eeaa759
Move mred/private/wxme/style to racket/snip/private/style.
...
`racket/snip' now exports the style classes and the add,mult-color interfaces.
2010-12-19 22:56:15 -05:00
Matthew Flatt
975c2400a1
cocoa: fix interaction of combo-field% popup and canvas refresh
...
and also reduce work on redundant show/hide of canvas
Closes PR 11557
2010-12-19 18:58:27 -07:00
Matthew Flatt
dd8215d0dd
fix `read-bitmap' to accept an input port
...
Closes PR 11555
2010-12-19 06:25:45 -07:00
Mike Sperber
3518e027fb
Synch German string constants with latest.
2010-12-19 11:56:28 +01:00
Mike Sperber
bb09ae8a02
Unbreak detection of missing string constants.
...
The call to sort requires keywords, so convert everything to
2010-12-19 11:55:55 +01:00
Mike Sperber
79600e15a6
Merge remote branch 'origin'
2010-12-19 11:21:41 +01:00
Mike Sperber
fa854f62fc
Add vector signatures, and `vector-of' to the HtDP signature syntax.
2010-12-19 11:20:51 +01:00
Matthew Flatt
c259d0839a
make editor caret adapt to background color
2010-12-18 07:22:40 -07:00
Sam Tobin-Hochstadt
70955d5540
Split mred/private/wxme/private into two files.
2010-12-18 00:10:26 -05:00
Sam Tobin-Hochstadt
cf3aec6b95
Move load-one to racket/snip.
...
Create private directory for racket/snip.
Remove snip dependence on events.
2010-12-18 00:10:26 -05:00
Sam Tobin-Hochstadt
e9e45fdc2c
Fix test require.
2010-12-18 00:10:25 -05:00
Matthew Flatt
b07f57fc73
fix problems with canvas refresh, especially win32
2010-12-17 14:43:14 -07:00
Robby Findler
2dc15061a8
adjust Sam's edit so the file is now properly indented
2010-12-17 13:53:03 -06:00
Robby Findler
4917d2af4a
added freeze to 2htdp/image
2010-12-17 13:51:10 -06:00
Ryan Culpepper
5a10ca8fb1
macro-stepper: fix props panel size memory, better width calculation
...
see PR 11551
2010-12-17 12:03:54 -07:00
Matthew Flatt
0c4d2e332c
fix transparent-canvas detection
2010-12-17 10:46:06 -07:00
Sam Tobin-Hochstadt
24ea7d34fc
Fix use of 'fn-name in 2htdp/image error messages.
2010-12-17 12:37:32 -05:00
Sam Tobin-Hochstadt
4e85687d96
Ignore test-generated files
2010-12-17 12:32:28 -05:00
Sam Tobin-Hochstadt
f4571cb39a
Reorganize editor and snip documentation to break out `racket/snip'
2010-12-17 12:32:27 -05:00
Sam Tobin-Hochstadt
f7559b8269
Move readable-snip<%>' to
racket/snip'
...
Reprovide `racket/snip' rather than propagating it in `mred/mred'
2010-12-17 12:32:27 -05:00
Sam Tobin-Hochstadt
de63b79300
Document new methods of `snip-admin%'.
2010-12-17 12:32:27 -05:00
Sam Tobin-Hochstadt
fb76a887d8
Refactor to create `racket/snip' collection.
2010-12-17 12:32:26 -05:00
Sam Tobin-Hochstadt
bb7307883a
Fix doc typo.
2010-12-17 12:32:26 -05:00
Sam Tobin-Hochstadt
8a8a8dbe4b
Separate snip% from the gui
2010-12-17 12:32:26 -05:00
Sam Tobin-Hochstadt
398add4e29
Move symbol predicates to their own file.
2010-12-17 12:32:26 -05:00
Sam Tobin-Hochstadt
13cae20838
Fixes for PNG conversion, and make `image-snip%' convertible.
2010-12-17 12:32:25 -05:00
Sam Tobin-Hochstadt
d92ce41a6f
Make 2htdp/image produce png-convertible results.
2010-12-17 12:32:25 -05:00
Matthew Flatt
fc4165ec40
win32: fix transparent-canvas support
2010-12-17 09:33:11 -07:00
Matthew Flatt
f700a15d85
specially record transparent-canvas drawing for a small number of drawing ops
...
which enables background-sensitive smoothing of text
2010-12-17 09:27:10 -07:00
Robby Findler
d1fe276655
adjust the bug report form so that hitting return does not submit the bug report
...
as mentioned in PR 11551
2010-12-17 10:02:48 -06:00
Robby Findler
6ee34f1e88
generalize gui-utils:ok/cancel-buttons so that the ok button doesn't have to have the '(border) style
2010-12-17 10:02:46 -06:00
Robby Findler
2a3c7598ab
put a special title in the menu when a saved bug report has no title
2010-12-17 10:02:43 -06:00
Robby Findler
4d04aa2b97
generalize define/chk to work with case-lambda-style functions
2010-12-17 10:02:40 -06:00
Robby Findler
e0b425e5d8
change more cross-collection requires
2010-12-17 10:02:38 -06:00
Robby Findler
52092eeb80
remove sillyness
2010-12-17 10:02:35 -06:00
Matthew Flatt
8681e73278
set `dc-for-text-size' default to a bitmap DC (instead of #f)
2010-12-17 07:16:54 -07:00
Matthew Flatt
4e0069d6d8
turn off font-metric hinting in all drawing contexts
...
which makes font-metric results consistent across DC types
2010-12-17 07:04:21 -07:00
Matthew Flatt
4195cf3297
more fixes for weird draw-bitmap mask and mode combinations
2010-12-17 05:51:23 -07:00
Matthew Flatt
98f6415c59
another fix to drawing a color bitmap to a monochrome target
2010-12-17 05:29:50 -07:00
Matthew Flatt
d2fb0b8f7d
further `draw-bitmap' doc improvements
2010-12-16 21:20:13 -07:00
Matthew Flatt
8a10c3d3db
fix use of color bitmap as mask when drawing after previous use
2010-12-16 21:02:11 -07:00
Matthew Flatt
6f114b318b
correct draw-bitmap docs
2010-12-16 20:41:54 -07:00
Matthew Flatt
37682242e5
docs: clarify effect of mask-bitmap alphas channel in dc<%> draw-bitmap
2010-12-16 19:36:13 -07:00
Matthew Flatt
f8ec47cdeb
test for draw-bitmap repairs
2010-12-16 19:36:13 -07:00
Matthew Flatt
2ce5c63ea8
fix alpha-channel result of draw-bitmap to monochrome bitmap
2010-12-16 19:36:13 -07:00
Matthew Flatt
2cb52ed8ef
fix draw-bitmap-section with mask bitmap
...
when the section is smaller than the mask
2010-12-16 19:36:13 -07:00
Robby Findler
ede60de584
Make it so that DrRacket deletes .zo files when the corresponding source file isn't present anymore
...
(when in the DrRAcket-compiles-my-zo-files mode)
2010-12-16 16:12:54 -06:00
Robby Findler
5e51b7f335
add a menu item to the check syntax context-sensitive help that offers to search in help desk (just like the menu item that is there when check syntax is not running)
...
closes PR 11357
2010-12-16 16:12:51 -06:00
Matthew Flatt
54d36dc22a
don't popup disable combo-field%
2010-12-16 13:43:22 -07:00
Matthew Flatt
01b9c1600e
avoid allocating a new font map, since freeing it seems to create problems
2010-12-16 12:21:25 -07:00
Matthew Flatt
7fa0ae3ea6
fix typo
2010-12-16 12:20:39 -07:00
Matthew Flatt
7571579ce5
win32: combo-field% on-popup
2010-12-16 10:48:29 -07:00
Matthew Flatt
c9e778c541
cocoa and gtk: make combo-field% `on-popup' work better
2010-12-16 10:48:28 -07:00
Matthew Flatt
d518084f88
cocoa: fix message% 'app icon
2010-12-16 10:48:26 -07:00
Ryan Culpepper
9f3ac86488
macro-stepper: avoid too-long labels in hiding policy display
2010-12-15 19:16:52 -07:00
Ryan Culpepper
af7f60f3b5
macro-stepper: smooth rounded rectangles
...
Closes PR 11489
2010-12-15 19:15:38 -07:00
Ryan Culpepper
c640814917
fixed typo (wrong arg blamed in error)
2010-12-15 19:15:38 -07:00
Matthew Flatt
234a57506f
document some modules that are referenced in other documentation
2010-12-15 13:41:59 -07:00
Matthew Flatt
489c5de9e8
another module-body duplication
2010-12-15 12:28:09 -07:00
Matthew Flatt
31906d6261
route glib logging to Racket logging
2010-12-15 12:25:45 -07:00
Mike Sperber
3f74e662ed
Add tool.rkt needed for "Disable Signature Check".
...
I'd screwed up previously.
2010-12-15 08:17:57 +01:00
Matthew Flatt
cad500d802
fix problems with image-snip%, masks or alpha channels, and saving
...
and also generalize image-snip% to accept input port instead
of filenames, and avoid temporary files for loading and saving images
2010-12-14 21:11:10 -07:00
Robby Findler
0542d3ca70
added support for saving bug reports (for ease of offline submission)
...
also cleaned up a bunch of little things in the bug report implementation:
- the abort had race conditions
- formatted the collections a little bit better (hopefully)
- broke the implementation up into multiple files
- fixed broken interaction with drracket (the drracket frame mixin is now being used properly)
2010-12-14 19:14:33 -06:00
Robby Findler
80f573cc0e
multi-file search bugfix
...
(it now correctly restores the regexp vs string match preference)
2010-12-14 19:14:29 -06:00
Robby Findler
4881bc33f4
open-input-text-editor: beef up the protection that the lock-while-reading? argument provides
2010-12-14 19:14:26 -06:00
Robby Findler
5adaedae8e
added oprintf
2010-12-14 19:14:22 -06:00
Matthew Flatt
3622a68449
fix dc<%> `clear' method to draw white on non-alpha context
2010-12-14 16:31:48 -07:00
Matthew Flatt
de271aa698
temporary workaround for missing(?) tool module
2010-12-14 14:53:47 -07:00
Matthew Flatt
fc9d1694f6
drop recorded dc drawing actions on `erase'
2010-12-14 14:53:30 -07:00
Matthew Flatt
1a190c08f6
remove debugging log message
2010-12-14 14:53:00 -07:00
Matthew Flatt
ea789fc481
further avoid nested try-atomics
...
to avoid the possibility of deadlock when, for example,
`yield' is called during a try-atomic callback
2010-12-14 11:49:23 -07:00
Matthew Flatt
1d0adfd8f2
fix problem with nested try-atomic regions
2010-12-14 11:49:23 -07:00
Casey Klein
8368dcaca1
Fixes apparent copy-paste error
2010-12-14 12:26:11 -06:00
Mike Sperber
6bee489091
Add menu item to disable signature checking.
2010-12-14 17:29:30 +01:00
Matthew Flatt
7f5ac2b7f9
restore Win64 fix to FFI
...
that I had improperly added to "foreign.c" instead of the source
2010-12-14 07:53:19 -07:00
Matthew Flatt
78b54a7324
more Scribble "---" doc fixes
2010-12-14 07:45:15 -07:00
Matthew Flatt
0b1b3772f5
change Scribble HTML renderer to typeset em dashes with &8212;
...
Closes PR 11049
Closes PR 11539
2010-12-14 06:48:25 -07:00
Matthew Flatt
f557707764
fix tab-panel% callback
...
Closes PR 11537
2010-12-13 20:38:44 -07:00
Matthew Flatt
790a91e520
fix minor potential GC bugs and add some debugging support
2010-12-13 16:31:13 -07:00
Robby Findler
9066868c7c
fixed an integer? to say exact-integer?
2010-12-13 16:05:40 -06:00
Matthew Flatt
39c6fe02d7
use `assert' around a debugging check
2010-12-13 14:54:07 -07:00
Sam Tobin-Hochstadt
dae1543255
Fix local file reference to water.png image.
2010-12-13 14:37:08 -05:00
Matthew Flatt
3456ee185a
gtk: fix clipboard text request to return "" instead of #f
...
to match weird old interface
2010-12-13 10:34:59 -07:00
Matthew Flatt
08eff21117
gtk: change clipboard access to keep racket in charge
...
instead of letting the ... _wait_...() function drive an
event loop;
hopefully Closes PR 11534
2010-12-13 10:26:23 -07:00
Noel Welsh
8040100eff
Merge branch 'master' of pltgit:plt into in-vector
2010-12-13 13:43:05 +00:00
Noel Welsh
cfa7b727f4
Fix some errors with in-vector and derived forms:
...
- Range checking was inconsistent between the sequence and macro forms
- The macro form could crash due to unsafe vector refs
Fixes involved refactoring the range checks so they are shared between both versions, and changing the contract slightly so start and stop are checked before the sequence runs. This allows unsafe vector refs and earlier error notifications at the cost making some valid programs (e.g. those using some condition to stop a comprehension hitting an invalid index) now be invalid. Only crazy people would rely on the old behaviour, so it isn't a problem in practice.
2010-12-13 13:38:35 +00:00
Sam Tobin-Hochstadt
25d2827d0d
Document ordering in `case-lambda' types.
...
Closes PR 11394.
2010-12-13 07:26:31 -05:00
Eli Barzilay
3199fd166f
Change the download order.
...
Done in two steps: first, make the list of installers have a good order
(determined by package, then OS type, then cpu, etc); make the JS code
that re-sorts the entries move only the desired options to the top but
otherwise use the original order (which is the previous thing).
2010-12-13 03:27:40 -05:00
Robby Findler
db116cd14b
don't go up past the collection with relative requires
2010-12-12 16:24:18 -06:00
Robby Findler
8101c03d30
added a note about how label-string? is used.
2010-12-12 15:26:54 -06:00
Robby Findler
29797e67bd
multi-file search tweaks:
...
- added the search string to the title of the window
- made the default preference includes scrbl files
- adjusted the title of the window to put drracket last
2010-12-12 15:26:51 -06:00
Robby Findler
3424e1b1df
only show the compiling messages when PLTDRCM is trace
2010-12-12 15:26:48 -06:00
Robby Findler
4391de9ba6
added a pointer to the serialization functions from the preferences marshalling and unmarshalling
2010-12-12 15:26:46 -06:00
Robby Findler
7512986086
fix docs typo
2010-12-12 15:26:43 -06:00
Robby Findler
8add8cfdf5
Revert "change 2htdp/image to try to improve the way drawing works when there is sharing the in the tree"
...
This reverts commit 9ce75b8f76
.
2010-12-12 15:18:06 -06:00
Robby Findler
91aa9f756a
finally, a fix that makes the 2htdp/image test suite pass!
2010-12-12 15:14:04 -06:00
Robby Findler
9ce75b8f76
change 2htdp/image to try to improve the way drawing works when there is sharing the in the tree
2010-12-12 15:14:04 -06:00
Eli Barzilay
1d9d490374
_timeout_run doesn't want to work nicely on windows, so dump it and stay
...
with only the timeout in the racket script.
This makes `_timeout_run' redundant, but leave it around in case there
is some future need for it.
2010-12-12 13:10:07 -05:00
Eli Barzilay
c65a2ba9ab
Add a noise flag indicator to `enter!'.
2010-12-12 13:10:07 -05:00
Eli Barzilay
8fb4e55d72
Some reformatting and reorganization, no functionality changes.
2010-12-12 13:10:07 -05:00
Matthew Flatt
aa43ba40c7
win64: HIWORD and LOWORD signs
2010-12-12 08:47:38 -07:00
Matthew Flatt
953dd78d76
cocoa: add app badge to caution & stop icons
2010-12-12 08:24:19 -07:00
Matthew Flatt
acdd76b17e
win32: show #t brings shown frame to front
...
Closes PR 11533
2010-12-11 21:23:58 -07:00
Mike Sperber
d8b2df6259
Synch German string constants with latest.
2010-12-11 20:02:15 +01:00