Commit Graph

320 Commits

Author SHA1 Message Date
Robby Findler
eb7c5ad84c add edit|copy and edit|select all menu items to mrlib/terminal frames 2013-04-05 10:22:33 -05:00
Robby Findler
8246d073c0 adjust the package installation menu item in drracket to use mrlib/terminal 2013-04-04 11:10:30 -05:00
Robby Findler
ecf2b16bf0 refactor the plt installation code in drracket to pull out
the GUI wrapper around command-line like utilities
2013-04-03 22:23:26 -05:00
Robby Findler
11969cdfa6 trim the list of new dots down to those that our latex
setup seems to handle

(and actually add them to latex-render.rkt ...)
2013-03-13 10:13:34 -05:00
Robby Findler
a00bcfd16e add various dots to tex-table and thus drracket keyboard shortcuts 2013-03-12 14:53:15 -05:00
Robby Findler
4b8813bb0e adjust syntax browser to work better for literal hashes and vectors
closes PR 13537
2013-02-23 20:26:57 -06:00
Asumu Takikawa
db4a1632e5 Minor doc fixes 2013-02-19 16:36:16 -05:00
Asumu Takikawa
ea0c14dac2 Rackety 2013-02-19 16:36:16 -05:00
Robby Findler
ccbedb652f make 2htdp/image images convertible to picts 2013-01-18 20:15:36 -06:00
Robby Findler
0b332a1761 add deprecation notice to mrlib/cache-image-snip 2013-01-06 19:48:14 -06:00
Robby Findler
ccae98777a fix a switchable button / discrete-sizes panel interaction bug
also clean up the code a bit (make sure the h? argument to
set-label-visible is really a boolean and make some of the
long lines narrower)
2012-12-23 09:52:55 -06:00
Robby Findler
c627f9e734 Add in more shortcuts, following Matthew's recent commit
Also, rackety
2012-12-10 11:42:32 -06:00
Matthew Flatt
490a474e0e fix comments
I had it all backwards: DrRacket went from "increment" to Greek
capital delta (which makes a lot more sense).
2012-12-10 10:27:44 -07:00
Matthew Flatt
fc112ccd46 scribble: render "incremement" and some other chars for Latex/PDF
This change was prompted by the change to DrRacket's "\Delta"
to produce the Unicode "increment" character.
2012-12-10 10:20:32 -07:00
Jonathan Schuster
6babc9ec56 Updated Delta TeX mapping with correct Unicode character 2012-12-08 21:48:17 -06:00
Robby Findler
d6efcde6ca docs fixes related to somewhat recent DrRacket window
resizing commit
2012-11-30 21:31:57 -06:00
Robby Findler
993cd40208 Adjust DrRacket so the window can get narrower
For example, a new DrRacket window (with a file named tmp.rkt in the
and 356 afterwards.  This is under mac os x with, I believe, the
default system font sizes. (The file is important because different
languages can have different buttons in the toolbar and the filename's
length itself can affect the minimum size.)

Mostly this change is the addition of a new kind of panel that
lets its children have multiple fixed sizes (as opposed to
just a single minimum size and (optionally  arbitrarily large))
It also adjusts the various toolbar buttons to use this new code.

Also, there's a few tweaks to shrink other things that became the
limiting factor in shrinking the width of the DrRacket window.

Currently, at least for #lang racket programs, the toolbar buttons
along the top of the window are the limiting factor (including the
save button).  With a bogus language (ie, #lang rackeeet), the bottom
bar is the limiting factor, since that will have only the Save, Run,
and Stop buttons.

related to PR 13281
2012-11-29 09:43:05 -06:00
Eli Barzilay
672910f27b Lots of bad TAB eliminations.
I started from tabs that are not on the beginning of lines, and in
several places I did further cleanings.

If you're worried about knowing who wrote some code, for example, if you
get to this commit in "git blame", then note that you can use the "-w"
flag in many git commands to ignore whitespaces.  For example, to see
per-line authors, use "git blame -w <file>".  Another example: to see
the (*much* smaller) non-whitespace changes in this (or any other)
commit, use "git log -p -w -1 <sha1>".
2012-11-07 11:22:20 -05:00
Eli Barzilay
39a0ab60a7 Some more #lang racket' -> #lang racket/base' conversions
(And some other related minor racketisms.)
2012-11-07 08:03:44 -05:00
Robby Findler
8bc3b70a3c clean up rectangle computations, fixing some bugs along the way 2012-10-26 21:49:45 -05:00
Robby Findler
9d4a3a6e07 improve the performance for dragging around items in mrlib/graph
(used by Redex's traces window and the module browser)
2012-10-24 23:56:30 -05:00
Robby Findler
fa891703a8 clean up indentation and move arrows to the front, while I'm here 2012-09-27 11:13:26 -05:00
Eli Barzilay
18883681a2 Convert all uses of (integer-in 0 255) to `byte?'. 2012-07-22 13:00:05 -04:00
Eli Barzilay
7d6e79023c Random pickiness.
Spaces at EOFs, indentation, etc.
2012-06-22 12:00:48 -04:00
Eli Barzilay
b8034828d0 Sort the mess with aligned-pasteboard tests.
1. Lots of #lang-ization, other racketizations, code improvements, etc.

2. Some files that were not working now do.

3. "collects/tests/aligned-pasteboard" had some files that were near
   duplicates of "collects/mrlib/private/aligned-pasteboard/tests".
   I've removed the former since in a few places it looked like an older
   version (eg, there were bogus references to a non-existent
   "utils.rkt").  The former has more files that are in runnable
   condition now.

4. There are plenty of tests that look like they're failing, but it
   wasn't shown since they just return #f, and when they were running
   with a "-f" these results weren't displayed.

5. I have no idea about the code, this is all just reshuffling and minor
   editing.
2012-06-19 01:42:20 -04:00
Asumu Takikawa
f9ec37bbdd Minor fix in mrlib/hierlist docs 2012-06-06 17:20:15 -04:00
Neil Toronto
a713ca8a8b Added nan?, infinite?, degrees->radians, radians->degrees, exact-round, exact-floor, exact-ceiling, exact-truncate to racket/math
Altered TR's random arithmetic testing to generate single-flonums and very small flonums; fails now because of erroneous types

Fixes to sgn, sinh, cosh, and tanh:
 * preserve single-flonum-ness
 * correct zero sign (-0.0) for negative return values that are smaller than epsilon
 * correct behavior with NaN and infinite inputs
2012-06-05 22:40:44 -06:00
Asumu Takikawa
cfe1711494 Convert all uses of mzlib/class100 to racket/class 2012-05-26 11:12:55 -04:00
Sam Tobin-Hochstadt
952af2fa2d Add \bot as alias for \perp in DrRacket (both are supported in LaTeX). 2012-05-21 15:55:07 -04:00
John Clements
0196a6f97a doc clarification for make-argb 2012-05-08 12:02:02 -07:00
Eli Barzilay
17090fca4f A bunch of fprintf' -> eprintf' conversions (and a few related things). 2012-05-06 12:06:00 -04:00
Matthew Flatt
68e005fb2c racket/draw: make-immutable-{color,brush,pen} => make-{color,brush,pen}
Also, use keywords for `make-pen' and `make-brush'.

Adding `make-pen' and `make-color' creates many conflicts among
teaching libraries, such as `2htdp/image'. These are easy to fix
up in the tree, but adding such obvious names to `racket/draw'
may create other compatibility problems, so we might have to reconsider
the names.

In consultation with Asumu.
2012-05-01 21:04:40 -06:00
Robby Findler
8e35fd01a5 forgot the result contract 2012-03-30 20:57:53 -05:00
Robby Findler
4b57482298 adjust DrRacket submodule-running options so the user
has more control over which ones get run
2012-03-30 16:42:34 -05:00
Robby Findler
3b2cf3f7a4 make the tooltips for the drracket toolbar buttons go away when they
get any events (this shouldn't be necessary unless one gets lost
somehow, but apparently that can happen)
2012-01-19 12:14:35 -06:00
Robby Findler
770c2d14f8 swapped the backwards triangles 2011-10-12 20:46:20 -05:00
Robby Findler
10d19bf8d5 adjust 2htdp/image library so that it doesn't create arbitrarily large
bitmaps when rendering images

closes PR 12277 (except I didn't fix the make-bitmap contract)

include in 5.2
2011-10-11 08:33:50 -05:00
Neil Toronto
d3b5e21cae Added new plot library and old libfit (which plot still depends on) 2011-10-05 10:26:49 -06:00
Robby Findler
560dfd5312 Allows selection of the various text objects inside DrRacket's display of
syntax objects

closes PR 6121
2011-10-05 08:43:18 -05:00
Robby Findler
34581b7050 try using size-in-pixels for the font primitive in 2htdp/image
closes PR 11883

(the earlier commit with this message was just completely bogus)
2011-09-27 16:24:23 -05:00
Robby Findler
b1ecffe262 add missing default arg value to close-icon% docs 2011-09-20 17:14:58 -05:00
Robby Findler
913883fd28 adjust include-bitmap so that it does not write to the filesystem
(also, Rackety)
2011-08-27 07:54:08 -05:00
Robby Findler
6c91288f2f speed up bitmap rotation (could probably revisit this to
speed up flipping (and also to do all three in one pass)
2011-08-23 18:56:51 -05:00
Robby Findler
b425ca90d2 fix bug in the loading of non-alpha bitmaps (also: minor Rackety) 2011-08-23 18:56:50 -05:00
Robby Findler
034e4f2364 add test cases for old file 2htdp/image file formats
(and fix corresponding bugs)
2011-08-23 07:12:11 -05:00
Robby Findler
1f02106318 2htdp/image
normalize the internal representation of bitmaps so it always uses an alpha
bitmap instead of sometimes using a mask bitmap and sometimes using alpha.
This also fixes a bug where the library would get consfused when it saved
a bitmap to a file, since it didn't record if it was an alpha bitmap or not.

This improves the save files that contain images, cutting the size for bitmaps
in half (bringing the drracket save file down to a mere 25x larger than the
png file format for the example I was using...)
2011-08-22 19:09:52 -05:00
Robby Findler
8ccf50b84b use the pre-multiplied alphas when comparing images for 2htdp/image 2011-08-22 19:09:50 -05:00
Robby Findler
56b82ba83c fix the png conversion code for 2htdp/image images
closes PR 12061
  please merge to the release branch
2011-07-22 08:09:17 -05:00
Eli Barzilay
3157955d40 ".ss" -> ".rkt" scan done. 2011-07-02 10:37:53 -04:00
Ryan Culpepper
1b702a2ae3 docs reorganization
added tutorial, racket categories
  relabeled some other categories
  normalized manual names: de-bolded, changed some names
2011-07-01 17:16:53 -06:00