Commit Graph

27851 Commits

Author SHA1 Message Date
Robby Findler
22d1619058 Oops, sorry.
This reverts commit 8ccd1a2172.

This reverts commit ded6cb1da1.

This reverts commit 7df363c523.

This reverts commit 6349f85b08.
2013-01-17 20:43:03 -06:00
Neil Toronto
24561e25e4 Finished matrix documentation, attendant fixes; please merge to 5.3.2
* Narrowed type of `submatrix' to only sensible argument types

* `matrix-invertible?' now returns #f when given a non-square matrix
  instead of raising an error

* Allowed `matrix-diagonal' to operate on non-square matrices
2013-01-17 19:08:11 -07:00
Robby Findler
8f756d1bcb updated HISTORY
please merge to 5.3.2
2013-01-17 19:50:14 -06:00
Robby Findler
8ccd1a2172 more tests 2013-01-17 15:39:36 -06:00
Robby Findler
ded6cb1da1 more test cases ... 2013-01-17 15:39:35 -06:00
Robby Findler
7df363c523 progress on 2d 2013-01-17 15:39:35 -06:00
Robby Findler
6349f85b08 2d cond reader (not yet done) 2013-01-17 15:39:35 -06:00
Robby Findler
fce4cbad3a loosen slightly the requirements for changing existing chars
in the c:x;r;a keystroke
2013-01-17 15:39:35 -06:00
Neil Toronto
f40ad2ca9d `math/matrix' fixes; please merge to 5.3.2.
* Fixed type of `matrix-expt'

* Made matrix functions respect `array-strictness' parameter (mostly
  wrapping functions with `parameterize' and return values with
  `array-default-strictness'; reindentation makes changes look larger)

* Added strictness tests
2013-01-16 16:40:43 -07:00
Danny Yoo
7e3d5987ff Delegate the pattern matching directly to dispatch-rules. 2013-01-16 14:00:25 -07:00
Danny Yoo
4dfe409772 Strip the copy-and-paste for cfg-parser, keeping the delta vs. parser. 2013-01-16 11:17:15 -07:00
Matthias Felleisen
7afcda8b02 doctored the description of event handler results; MERGE 2013-01-16 12:52:21 -05:00
Burke Fetscher
2f61d04073 ASCII art box - don't search past extra +x space 2013-01-15 21:43:33 -06:00
Danny Yoo
7627e4c47e Add tests for regexp match to check for word break. 2013-01-15 16:05:43 -07:00
Danny Yoo
2051d42034 Add more JSON tests for embedded quotes, backslashes, and errors. 2013-01-15 15:59:18 -07:00
Danny Yoo
aa3f44dffa Replace non-greedy regexp with a char-complement to improve matching performance.
Measurements show a runtime improvement of about 10% for string-heavy
JSON documents.  http://lists.racket-lang.org/users/archive/2013-January/055953.html
2013-01-15 15:59:17 -07:00
Burke Fetscher
8562310f38 ACII art boxes keybinding - look a little harder for the box 2013-01-15 16:53:41 -06:00
Danny Yoo
8d00037372 Remove paragraph about multiple start symbols, since cfg-parser doesn't support it. 2013-01-15 15:24:57 -07:00
Danny Yoo
e9c5c78468 Add documentation for cfg-parser. 2013-01-15 15:20:35 -07:00
Danny Yoo
3d1f8b4406 Modify cfg-parser's treatment of error function so it can consume both arity-3 and arity-5 error functions.
Meant to match the interface provided by parser-tools/yacc's parser.
2013-01-15 15:19:28 -07:00
Danny Yoo
7ab7d97f01 Move cfg-parser from the algol60 collection to parser-tools.
Discussed in: http://lists.racket-lang.org/dev/archive/2013-January/011416.html

A stub library in algol60/cfg-parser will re-export the contents of
parser-tools/algol60 for backwards compatibility.
2013-01-15 14:19:15 -07:00
Neil Toronto
986e695bd5 Made arrays strict by default; please merge to release
* Added parameter `array-strictness', default #t

* Added `array-default-strict!' and `array-default-strict', which act
  like the functions without "default" in the name when
  `array-strictness' is #t; otherwise they do nothing

* Lots of small changes to existing array functions, mostly to ensure
  computations are done using nonstrict arrays, but return values are
  strict when `array-strictness' is #t

* Added strictness tests

* Added tests to ensure untyped code can use `math/array'

* Rewrote `array-map' exported to untyped code using untyped Racket

* Rearranged a lot of `math/array' documentation
2013-01-15 13:53:28 -07:00
Robby Findler
131af9955d fix bug introduced in f315f08dc3
closes PR 13435

Also cleaned up one more threading problem (this one was
probably innocuous, but it is hard to be sure and the
rewrite is easier to see that it isn't problematic)
2013-01-15 14:47:52 -06:00
Asumu Takikawa
28d46105c9 Add tests for PR 13094.
The bug itself was fixed already when ordinary
type variable scoping was fixed.

Closes PR 13094
2013-01-15 15:44:34 -05:00
Eric Dobson
5fe004cd9b Make TR compile with contracts enabled again. 2013-01-15 12:36:42 -05:00
Eric Dobson
f315880b50 Replace uses of Type? with Type/c?. 2013-01-15 12:23:42 -05:00
Matthias Felleisen
fbb3145f39 fixed a bug that prevented universe from restarting on some occasions 2013-01-15 10:10:18 -05:00
Matthias Felleisen
7df831feec universe restart test, bug from Marco 2013-01-15 10:10:18 -05:00
Robby Findler
1edec6a33e move the ╬ char and friends into a separate file
do not merge to 5.3.2
2013-01-15 09:08:02 -06:00
Robby Findler
c8a1ec8c9c fix bug in online check syntax's save file notification
Before this commit, the files that are loaded during expansion
were discarded when an error during expansion occurs. This commit
saves them: unless the program is something like

  (begin-for-syntax (kill-thread (current-thread)))

the handling that deals with that kind of situation (as opposed
to just an exception being raised) doesn't try to save them

Do not merge to 5.3.2: this bug isn't serious and the new code
is not as well tested as the old
2013-01-15 09:07:42 -06:00
Eric Dobson
a5daacd747 Fix register-struct-bindings! to meet correct contract.
Please merge to 5.3.2.
2013-01-14 17:30:29 -05:00
Carl Eastlund
5130abf2dd Wrote documentation for quote-srcloc-string and quote-srcloc-prefix. 2013-01-14 17:17:10 -05:00
Carl Eastlund
860cc3cbed Added quote-srcloc-string and quote-srcloc-prefix to syntax/location.
Also cleaned up implementation; only generates syntax for requested part(s) of
source location, and is more intelligent about calculation of relative paths.
2013-01-14 17:17:10 -05:00
Carl Eastlund
b03450c7b0 Clarified the purpose of quote-module-name and quote-module-path in the Scribble docs. 2013-01-14 17:17:10 -05:00
Sam Tobin-Hochstadt
230172cf94 Use syntax-procedure-alias-property with struct constructor procedures as well.
This uses a new `racket/private/procedure-alias` module
which provides the relevant symbol via `protect-out`.
2013-01-14 14:27:33 -05:00
Sam Tobin-Hochstadt
b6564980ab Typed modules as languages doesn't currently work. 2013-01-14 14:27:33 -05:00
Asumu Takikawa
cd03585521 HISTORY update 2013-01-14 10:58:14 -05:00
Asumu Takikawa
3e3303156d Replace copyright notice with correct one
This is the copyright notice that is provided in
the official SRFI implementation rather than the SRFI
document license.
2013-01-14 10:35:44 -05:00
Asumu Takikawa
1ae216ec94 Delete trailing whitespace 2013-01-14 10:35:44 -05:00
Asumu Takikawa
8d1c56cb6f Rackety 2013-01-14 10:35:44 -05:00
Asumu Takikawa
d406e2db57 Make srfi/19 compatible with date* structs
- srfi/19 functions now produce and accept date*s
 - some functions produce lax-dates for backwards compat.
2013-01-14 10:35:43 -05:00
Eli Barzilay
df850724e1 Very simple job server.
Kept here in case it's useful for other things.
2013-01-13 19:27:05 -05:00
Matthew Flatt
2adf0bdf2e ffi/unsafe/objc docs: clarification on `import-class'
Merge to v5.3.2
2013-01-13 15:33:48 -07:00
Eli Barzilay
368ee6d8b5 Lots of improvements to DMG creation.
* Remove lots of sudoing, and instead use one to change the contents (of
  non-simple DMGs).  Perhaps that's not needed too.  (I think that there
  used to be some problem when the owner was a specific user in the
  installer script days, perhaps it caused some mess in the pre/post
  flight scripts.  Maybe it's safe to not do this anymore.)

* There was a fundamental weakness in the Finder script -- it tweaks the
  DMG by openning its mount, but the way to specify a disk is via its
  displayed name which is not unique.  This can be problematic if there
  is already a mount that has the same name, and given that the DMG
  machine can be used by PLT people, it's even likely to happen.  It is
  tricky to solve this, since there is no way that I see to refer to the
  disk by its mount point or device in the Finder, and no way to find
  out the name in the shell.

  I spent a ton of time searching the webs for a solution, but it seems
  that practically nobody is concerned (or even aware of this problem).
  Eventually, the hack I did is to mount the image onto a randomly named
  directory, then iterate over all disks and look for one whose `name'
  property is that directory name (apparently the `name' property is the
  name of the last component of the mount point).  For safety, throw an
  error if no such disk is found, or if more than one is found.

  Incidentally, using a known mount point also simplifies things since
  there is no need to know the device name of the mount.

* Use UDBZ instead of UDZO for the compressed image.  The savings are
  not as big as I expected them to be for some reason, but the
  compatibility issues should be all gone now (UDBZ works only from 10.4
  and up).

* Unset $LD_LIBRARY_PATH to avoid some 10.8 bug.

* Switch the build to happen on dublin, running 10.8.  At least
  code-signing is broken on the 10.5.8 machine, and possibly also the
  osascript to identify the desired image disk.
2013-01-13 16:52:08 -05:00
Ryan Culpepper
1109e0f86d fix rounding in ~r, docs
Merge to 5.3.2.
2013-01-13 15:52:08 -05:00
Eli Barzilay
ffbdaf0667 Added an optional hook script to run on the to-be-distributed directory. 2013-01-13 11:21:27 -05:00
Eli Barzilay
c8615a37b1 Saner dmg code organization.
"dmg" is now the layout-enabled usual DMGs, since they will soon have
more functionality around them (signed applications).  "sdmg" is for the
simple (or "source") DMGs, which are just plain containers for a
directory.  Also use a flag to avoid the stupid dynamic scope hack.
2013-01-13 11:21:27 -05:00
Robby Findler
f315f08dc3 make the planet2 info in the bug report form have multiple lines
in the GUI
2013-01-13 09:19:34 -06:00
Matthew Flatt
d2ce3f714b bug report GUI: guard against `raco pkg show' errors
Various things can go wrong with `raco pkg show', including
permission errors or lock conflicts.

Merge to v5.3.2
2013-01-13 07:56:58 -07:00
Matthew Flatt
b5d874e35d raco pkg: allow read operations on read-only package data
In particular, `raco pkg show' should work when the user does not
have write access to the installation directory or installation-wide
package database.

Merge to v5.3.2
2013-01-13 07:56:46 -07:00