Commit Graph

28303 Commits

Author SHA1 Message Date
Robby Findler
84c0208d99 add check for number of result values in ->i (that signals blame)
closes PR 13417
2013-01-07 11:04:24 -06:00
Jay McCarthy
b02d8af305 Fixing PR13409 2013-01-07 08:27:26 -07:00
Asumu Takikawa
5e78aa7d9e Add examples & slight fix for stxparam docs 2013-01-06 16:26:02 -05:00
Asumu Takikawa
470a8c8892 Minor rewording 2013-01-06 16:26:02 -05:00
Robby Findler
4e95220d97 speed up tab switching
I belive this should only be noticeable at the human timescale level
when the tabs have been switched to already and, in that case, seems
to go from 3-400 msec to 50-60 msec on my machine

Essentially all of that time is in redrawing the buffer, so that 50-60
msec is proportional to the height of the DrRacket window, roughly.

(The commit just makes drracket do a single redraw instead of about 4
or so of them per switch ...)
2013-01-06 19:48:14 -06:00
Robby Findler
0b332a1761 add deprecation notice to mrlib/cache-image-snip 2013-01-06 19:48:14 -06:00
Matthew Flatt
05837fac1b planet2: installation-wide config of default `raco pkg' scope
With either
  configure --enable-pkgscope=installation
or
  raco pkg config -i --set default-scope installation
the default scope of `raco pkg' actions can be changed from
user-specific to installation-wide.

We considered trying to guess when someone building Racket would prefer
installation-wide package scope by default. In particular, someone
building from source for in-place use seems likely to want
installation-wide scope by default. Then again, we don't want to
discourage in-place builds for Unix installations that are intended
for multiple users. So, no guessing for now.

Also, add a `--scope' argument to `raco pkg' commands, which is more in
line with other options, but keep `-i', etc., as shorthands.
2013-01-06 11:17:22 -07:00
Robby Findler
dd161bb821 allow multiple string constants to be in a single "line"
also enforce some spacing requirements to avoid the problem
where you forget to put a space in a message that is broken
across string constants.
2013-01-05 20:25:06 -06:00
Robby Findler
4f22b3b680 fix traditional/simplified initial choice 2013-01-05 19:46:57 -06:00
Robby Findler
12d670b5a3 add missing inner call 2013-01-05 17:31:07 -06:00
Robby Findler
c907368e0f try to make the colorer more friendly when there is an unclosed
edit sequence

(ie make it not take over the cpu)
2013-01-05 17:31:07 -06:00
Matthias Felleisen
510e74fa1c added stdin and stdout as alternatives 2013-01-05 14:35:30 -05:00
Matthias Felleisen
f78e4c7142 added defthing as a doc feature; Closes PR13414 2013-01-05 14:35:30 -05:00
Robby Findler
23fec98cbb move a literal string that should be translated into the string-constants library 2013-01-05 12:22:37 -06:00
Robby Findler
cce6f28d4d remove 'create executable' functionality from drracket for all
langauges except The Racket Language and the HtDP and DMdA languages
2013-01-05 12:19:26 -06:00
Robby Findler
89373c7850 re-enable autosave only if a save is successful, not just attempted
when combined with 94b54db118,
closes PR 13359
2013-01-05 11:35:13 -06:00
Robby Findler
0c76c692ac guard call to file-or-directory-permissions
related to PR 13359
also, Rackety
2013-01-05 11:35:13 -06:00
Matthew Flatt
e66cd6f9c7 raco exe: yet another submodule repair
Closes PR 13410
2013-01-05 09:12:47 -07:00
Matthew Flatt
5a1f0f3863 minor README correction 2013-01-05 08:42:20 -07:00
Matthew Flatt
a496404411 setup/configtab: prevent cross-module inlining of configuration
The intent is that the configuration module can be rewritten without
recompiling code that uses it, so don't let the compiler inline
configuration values.
2013-01-05 07:33:41 -07:00
Michael Filonenko
6702fd38d2 supporting http proxy (without authorization) during make install 2013-01-05 06:48:05 -07:00
Robby Findler
d228790ed9 change chat noir so that 'h' toggles help
(instead of requiring it to be pressed down all
the time, as that generates lots of extra events)
2013-01-04 21:39:11 -06:00
Robby Findler
87d25ba02a adjust scribble/lp language so drracket syntax colors it properly
Also fix a spelling mistake (now that spell checking works) and Rackety
2013-01-04 21:39:11 -06:00
Matthias Felleisen
69800aa580 batch io functions now accept 'standard-[in,out] in lieu of file name 2013-01-04 19:06:13 -05:00
Robby Findler
d53d3c3528 try to make this test's timing better behaved 2013-01-04 16:59:00 -06:00
Matthew Flatt
cd73a8b02a math/matrix: fix some duplicate documentation tags 2013-01-04 08:12:47 -07:00
Matthew Flatt
67f0af387b fix problems with single-flonum (versus flonum) results
The problems were with

 * `sqrt' and `expt' on single-flonum complex numbers
 * `asin' and `acos' on single-flonum arguments and complex results
 * `atan' on mixtures of single-flonum and exact arguments
 * `gcd' on mixtures of single-flonum and flonum arguments
2013-01-04 08:00:24 -07:00
Jay McCarthy
c07ff948ee Fixes PR13406 2013-01-04 05:45:05 -07:00
Robby Findler
aa5f2e7875 adjust the framework to avoid
calling the error-display-handler when reporting
problems saving files

closes PR 13403
2013-01-03 20:47:19 -06:00
Robby Findler
94b54db118 clean up autosave a little
guard more of the filesystem manipulations with
handlers and log errors instead of letting them
be raised and show up as internal errors

related to PR 13403
2013-01-03 20:47:17 -06:00
Jens Axel Søgaard
69d7cb2e82 More matrix documentation 2013-01-03 18:03:28 +01:00
Robby Findler
12a288f135 add a checkbox to disable online expansion in the preferences dialog
(it controls the same state as clicking in the circle in
the bottom right corner of the drracket window)
2013-01-03 11:00:23 -06:00
Matthew Flatt
42c77d6290 planet2 docs: move and tweak expanation of package-library `require' 2013-01-03 07:34:33 -07:00
Matthew Flatt
e98c308e66 bundle script: fixes for "README" munging 2013-01-03 07:04:29 -07:00
Asumu Takikawa
3885ea7cdd Fix doc typos 2013-01-03 02:27:30 -05:00
Matthias Felleisen
1b07cb4ff9 fixed a @file-is mistake, race? 2013-01-02 18:32:35 -05:00
John Clements
5a4098ffec added docs on requiring planet2 modules 2013-01-02 14:23:42 -08:00
Vincent St-Amour
81cccb4c8f Fix fixnum comparisons to prove more bounds. 2013-01-02 16:55:28 -05:00
Jens Axel Søgaard
9465bc0196 Documentation for inner product space operations 2013-01-02 22:44:39 +01:00
Neil Toronto
cfa9bd9a81 Exported `matrix-basis-cos-angle' with a contractable type 2013-01-02 13:20:42 -07:00
Jens Axel Søgaard
69406bf156 Documentation on basic matrix operations and matrix-qr. 2013-01-02 19:28:05 +01:00
Vincent St-Amour
18389532e7 Move define-inline to racket/performance-hint.
Move begin-encourage-inline to racket/private for dependencies.
2013-01-02 12:18:36 -05:00
Jens Axel Søgaard
715b0a7be7 Documentation for polymorphic matrix functions 2013-01-02 18:02:03 +01:00
Robby Findler
ad579d07d6 put the racket version number in the title bar for the splash screen 2013-01-02 10:19:38 -06:00
Matthew Flatt
43e01d7f4e rename test file
":" is not allowed in a file name on Windows.
2013-01-02 06:33:10 -07:00
Robby Findler
836ce95343 added section on alpha blending to 2htdp/image guide 2013-01-01 23:13:13 -06:00
Robby Findler
0d0503bda7 adjust sync pattern to avoid cross-thread set! 2013-01-01 23:13:13 -06:00
Robby Findler
0f26aafd1f Adjust DrRacket to not use on-demand to populate the
teachpack menu.

Instead DrRacket explicitly changes the menu items when
the language changes or when a teachpack is added/removed

Also, Rackety.

Closes PR 13395
2013-01-01 23:13:00 -06:00
Neil Toronto
e5eb9751f0 Initial `math/matrix' documentation, and some changes
* At least stubbed out all (or almost all) `math/matrix' exports; many
  have complete documentation (e.g. types, predicates, accessors,
  constructors, for loops, conversion, much of "Comparing Matrices")

* Moved `matrix-zero?' and fixed to use (matrix-error-norm) as its norm

* Added `matrix-basis-cos-angle' (currently a stub; should return smallest
  singular value of a certain matrix multiplication)
2013-01-01 18:19:43 -07:00
Neil Toronto
5981535686 Made Gaussian elimination faster (half the scaled additions) and more
accurate (always produces zeros in the lower half)
2013-01-01 18:19:43 -07:00