Commit Graph

24014 Commits

Author SHA1 Message Date
Neil Toronto
a94e1fc00e Fixed plot doc tests
Removed contract/c from unstable/contract
2012-02-01 22:17:25 -07:00
Neil Toronto
dc677998f0 Added JPEG compression to compiled-bitmap' and compiled-bitmap-list'
Added "whirl and pinch" transform
2012-02-01 22:17:25 -07:00
Eli Barzilay
999e481785 Fix apparent bug.
In the new-ish code for following redirections, the `strings' argument
wasn't passed along as it did before.
2012-02-01 21:51:47 -05:00
Eli Barzilay
76ab851d2a The "foreign-test.rktl" finally work on both windows machines.
To get the expected contents of the various environment variables, I
used a similar approach to what the build does in `grab_batch_vars':
* Start a cmd.exe shell (not a real shell)
* Dump the env into a buffer
* Run "... Studio/VC/vcvarsall.bat" (modifies envvars, which is why cmd
  is needed)
* Dump new env into a new buffer
* Sort both buffers and compare

Hopefully it still works also on Matthew's setup.

Two other small things:

* Use ".obj" suffix on windows to avoid warning.

* Catch error when trying to delete the .so file, since on the x86_64
  machine it throws an error.  (I'm not sure how it *doesn't* do that
  with the i386 machine.)
2012-02-01 21:51:47 -05:00
Robby Findler
f5a8c62823 Fix for NetBSD from Aleksej Saushev 2012-02-01 20:09:29 -06:00
Robby Findler
977659a118 fix redex's syntax pruning to not drop the #%top binding 2012-02-01 20:09:29 -06:00
Sam Tobin-Hochstadt
7c1c0c96c0 Fix type of `raise'.
Closes PR 12525.
2012-02-01 20:25:05 -05:00
Jay McCarthy
47d626ee8b Fix for an error Galler found 2012-02-01 17:06:14 -07:00
Jon Rafkind
b74ad87160 [honu] wrap the condition of when expression inside parentheses. instantiate literal sets at the proper phase for honu macros 2012-02-01 16:05:41 -07:00
Jon Rafkind
712951d347 [honu] add fun as an alias to function 2012-02-01 16:05:40 -07:00
Jon Rafkind
54449d824c [honu] use a function keyword to define procedures and make lambdas 2012-02-01 16:05:40 -07:00
Vincent St-Amour
1b6cf730c3 Fix type of expt.
Closes PR 12526.
2012-02-01 16:50:40 -05:00
Vincent St-Amour
87887b7a18 Optimize n-ary fixnum comparisons (correctly). 2012-02-01 16:50:39 -05:00
Vincent St-Amour
e3be061171 Only optimize fixnum comparisons in the binary case.
Closes PR 12479.
2012-02-01 16:50:39 -05:00
Neil Toronto
950f034936 Pushing unfinished but stable flomap transforms so Matthew can debug a segfault 2012-02-01 09:54:25 -07:00
Neil Toronto
7d28eef00d Moved contract/c and treeof to unstable/contracts
Little plot doc fixes
2012-02-01 09:44:47 -07:00
Neil Toronto
ec96e37e09 Documented unstable/flonum 2012-02-01 09:44:47 -07:00
Neil Toronto
47fcdd4916 Sped up floor-log/base and ceiling-log/base, and made them correct on flonum inputs.
This change significantly increases the speed of number formatting, making extreme-bounds-tests.rkt run in about 1/4 the time.

Should consider moving these into racket/math, since floor-log/base generalizes order-of-magnitude.
2012-02-01 09:44:47 -07:00
Neil Toronto
713772959f Clipping lines now uses exact arithmetic. Fixes visual issues with plotting inexact functions at very small scales. Every plot should render correctly at every scale now. 2012-02-01 09:44:47 -07:00
Robby Findler
e4b1ef1b6e a second attempt to fix the icns files 2012-02-01 06:41:11 -06:00
Robby Findler
5db88e3ea7 added in smaller size icons in an attempt to see if that was the problem on
10.5 and 10.4
2012-01-31 21:11:16 -06:00
Robby Findler
e8902f9981 added a hack to keep DrRacket from freezing when it is unable to
detect if a (n online check syntax) rename would conflict with
an existing name. (This can happen because the remote place's
custodian gets shutdown due to, for example, another tab's online
check syntax running.)
2012-01-31 21:11:16 -06:00
Robby Findler
a0ef78e97b adjust online check syntax to try to fix a bug where renaming information
can get "stale" and cause DrRacket to deadlock (this commit just sets
up some stuff to make one fix possible, but that fix doesn't seem to
be working, so the actual fix is disabled (see comment in commit))
2012-01-31 21:11:16 -06:00
Robby Findler
019e57b9d7 fix docs mistake 2012-01-31 21:11:16 -06:00
Vincent St-Amour
5e7d67ffa7 Include more information in TR optimizer test failures. 2012-01-31 15:43:56 -05:00
Eli Barzilay
9813ba425f Show how the machine identifies itself.
This includes `uname', and trying hard to get a domain name when `uname'
doesn't include one.
2012-01-31 14:08:18 -05:00
Matthew Flatt
a3ce8bf787 doc behavior of `copy-file' and modification dates on Windows 2012-01-31 07:14:25 -07:00
Matthew Flatt
6a4d699f5f fix sandbox test to work on Windows 2012-01-31 07:14:25 -07:00
Danny Yoo
bbab60545e adding gvector-remove-last! 2012-01-30 16:14:22 -07:00
Matthew Flatt
ef846caaa1 tighten bound for Mac OS X 10.6 localtime() hack
It looks like my bound for last time was too conservative,
in that I looked for the lowest number that didn't seem
to fail in 10.6. The range of failing values is apparently
not continuous.

I've tightened the bound to match the lowest
number that produces a useful result on my 10.7 machine,
assuming that it works for a continuous range there.
(The new bound is higher than the number previously used as
a lower bound.)

Merge to 5.2.1
2012-01-30 14:03:35 -07:00
Eli Barzilay
d211804c3f The "libs" files are now under a "tags" subdirectory.
(Related to the server auto-publishing new tags and branches, configured
to do that in "~ftp/pub/racket/libs/{heads,tags}" respectively.)
2012-01-30 13:51:58 -05:00
Matthew Flatt
6e01d1586a racket/gui: fix refresh for right-aligned or centered paragraphs in text% 2012-01-30 11:01:18 -07:00
Matthew Flatt
6b6beb601e add PLT_VALIDATE_COMPILE to enable extra checking of the compiler
Setting the environment variable causes the bytecode compiler to run
the bytecode validator (which is normally applied to input from a
bytecode file) immediately on all of the compiler's own results.
2012-01-30 10:31:37 -07:00
Matthew Flatt
706d5026ac fix bytecode compiler bug
Certain `lambda'-lifting operations can cause information
about the flonumness of a variable to get lost, leading
to a mismatch between the closure's flags and flags on
a variable reference. (The bytecode validator could detect the
bug when loading the broken bytecode. The broken information,
meanwhile, was only used by the JIT.)
2012-01-30 10:30:51 -07:00
Matthew Flatt
3bed8aee43 fix docs for `syntax-id-rules'
Closes PR 12519
2012-01-29 06:50:35 -07:00
Matthew Flatt
323c74fd09 added docs for a&d args of slideshow's dc procedure
Based on John Clements's correction

Also, improve some cross references.
2012-01-29 06:50:35 -07:00
Sam Tobin-Hochstadt
c16e48a083 Fix internal constructor name for struct:' so that struct-out' works.
Closes PR 12447
Related to PR 12516
2012-01-28 09:47:15 -05:00
Sam Tobin-Hochstadt
f3e3eb10ad Fix type of `memf' to be more permissive. 2012-01-28 09:47:15 -05:00
Eli Barzilay
4f52392dfc New Racket version 5.2.1.4. 2012-01-27 03:35:17 -05:00
Jon Rafkind
99daf6a9d1 [honu] fix tests 2012-01-26 15:23:20 -07:00
Jon Rafkind
42d21a9918 [honu] erase old files 2012-01-26 13:56:05 -07:00
Jon Rafkind
100d77260a [honu] provide assignment operators 2012-01-26 13:32:52 -07:00
Jon Rafkind
b67f5e71e6 [honu] add moere assignment operators 2012-01-26 13:32:52 -07:00
Jon Rafkind
9e8a77c5c5 [honu] fix more references to := 2012-01-26 13:32:52 -07:00
Jon Rafkind
7e5a0285d3 [honu] replace := with = 2012-01-26 13:32:52 -07:00
Jon Rafkind
d6be1fbdee [honu] move operators to their own module 2012-01-26 13:32:52 -07:00
Jon Rafkind
1fac120cd2 [honu] move core definition of honu-syntax to another module 2012-01-26 13:32:52 -07:00
Jon Rafkind
2b6efee854 [honu] still need := 2012-01-26 13:32:51 -07:00
Jon Rafkind
d7a35c1eb8 [honu] use = for mutation to be consistent with other uses. put where clauses of list comprehensions on the right side 2012-01-26 13:32:51 -07:00
Jon Rafkind
2af9100a5d [honu] make "then" keyword required for if again. start to add more loop types to for 2012-01-26 13:32:51 -07:00