Commit Graph

29471 Commits

Author SHA1 Message Date
Asumu Takikawa
8fc71d14a5 Update srfi/19 for latest leap seconds
Closes PR 13390
(cherry picked from commit 7e679597f1)

Conflicts:
	collects/tests/srfi/19/tests.rkt
2013-01-18 15:58:07 -05:00
Neil Toronto
829383e3f0 Fixed erroneous raised exception when plotting outside the bounds of
a 2D contour plot

Please merge to 5.3.2
(cherry picked from commit ecd43f7579)
2013-01-18 15:55:46 -05:00
Neil Toronto
6708c385e6 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
(cherry picked from commit 24561e25e4)
2013-01-18 15:55:42 -05:00
Robby Findler
8dd7ed2004 updated HISTORY
please merge to 5.3.2
(cherry picked from commit 8f756d1bcb)
2013-01-18 15:55:38 -05:00
Neil Toronto
a1aa97c1fd `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
(cherry picked from commit f40ad2ca9d)
2013-01-18 15:55:34 -05:00
Asumu Takikawa
688511aec5 Fix year day for srfi/19-produced date*s
srfi/19's `date-year-day` indexes from 1 and Racket
indexes from 0.
2013-01-18 15:48:11 -05:00
Vincent St-Amour
e763d1e1ae Updated TR history.
Please merge to 5.3.2.
2013-01-18 15:33:12 -05:00
Matthew Flatt
1744a78738 mach-o: fix problems related to code signing
Strip any code signing when generating an executable from
Racket or GRacket. Also, place the __LINKEDIT segment in
virtual memory after the __PLTSCHEME segment, so that
the in-memory layout order matches the file layout order,
which in turn makes the code-signing tool's update of the
__LINKEDIT segment's size not create a virtual-memory
overlap with __PLTSCHEME.
2013-01-18 11:03:46 -06:00
Matthew Flatt
a229f2924d mach-o: handle some new load commands 2013-01-18 11:03:46 -06:00
Matthew Flatt
48e0509381 add `file-truncate' 2013-01-18 11:03:46 -06:00
Matthew Flatt
769aee076c Summarize Racket history for v5.3.2
Merge to v5.3.2
2013-01-18 11:03:46 -06:00
Matthew Flatt
a605452b0f minor doc repair 2013-01-18 11:03:46 -06:00
Asumu Takikawa
7e679597f1 Update srfi/19 for latest leap seconds
Closes PR 13390
2013-01-18 10:44:58 -05:00
Asumu Takikawa
15a73e2c00 Example for with-handlers 2013-01-18 10:39:36 -05:00
Jay McCarthy
850069ec83 Adding test for lex-name change 2013-01-18 06:35:52 -07:00
Jay McCarthy
2fc1f84f5b Removing optimizations from sgml-reader that do not work for UTF-8 2013-01-18 06:15:02 -07:00
Neil Toronto
ecd43f7579 Fixed erroneous raised exception when plotting outside the bounds of
a 2D contour plot

Please merge to 5.3.2
2013-01-17 21:30:07 -07:00
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
Matthias Felleisen
554713f408 doctored the description of event handler results; MERGE
(cherry picked from commit 7afcda8b02)
2013-01-16 13:36:03 -05: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
Neil Toronto
54f029b75e 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
(cherry picked from commit 986e695bd5)
2013-01-16 08:08:44 -05:00
Robby Findler
5c19a88f38 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)
(cherry picked from commit 131af9955d)
2013-01-16 08:08:41 -05:00
Matthias Felleisen
ceb393f5cd fixed a bug that prevented universe from restarting on some occasions
(cherry picked from commit fbb3145f39)
2013-01-16 08:08:36 -05:00
Matthias Felleisen
17a48546f8 universe restart test, bug from Marco
(cherry picked from commit 7df831feec)
2013-01-16 08:08:31 -05:00
Eric Dobson
37236ea16e Fix register-struct-bindings! to meet correct contract.
Please merge to 5.3.2.
(cherry picked from commit a5daacd747)
2013-01-16 08:08:27 -05:00
Eli Barzilay
b160adf65c Very simple job server.
Kept here in case it's useful for other things.
(cherry picked from commit df850724e1)
2013-01-16 08:08:22 -05:00
Matthew Flatt
d450ff94cb ffi/unsafe/objc docs: clarification on `import-class'
Merge to v5.3.2
(cherry picked from commit 2adf0bdf2e)
2013-01-16 08:08:15 -05:00
Eli Barzilay
48380b48c2 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.
(cherry picked from commit 368ee6d8b5)
2013-01-16 08:08:12 -05:00
Ryan Culpepper
35879ebfb2 fix rounding in ~r, docs
Merge to 5.3.2.
(cherry picked from commit 1109e0f86d)
2013-01-16 08:08:08 -05:00
Eli Barzilay
665d627f9e Added an optional hook script to run on the to-be-distributed directory.
(cherry picked from commit ffbdaf0667)
2013-01-16 08:08:03 -05:00
Eli Barzilay
64e388b181 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.
(cherry picked from commit c8615a37b1)
2013-01-16 08:07:59 -05:00
Robby Findler
bcb7aae7c8 make the planet2 info in the bug report form have multiple lines
in the GUI
(cherry picked from commit f315f08dc3)
2013-01-16 08:07:55 -05:00
Matthew Flatt
7710498e70 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
(cherry picked from commit d2ce3f714b)
2013-01-16 08:07:48 -05:00
Matthew Flatt
c186269d08 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
(cherry picked from commit b5d874e35d)
2013-01-16 08:07:43 -05:00
Robby Findler
6b6516a621 clarify when drracket creates executables
(cherry picked from commit 708395d51c)
2013-01-16 08:07:39 -05:00
Mike Sperber
e8fd623f67 Synch German string constants with latest.
(cherry picked from commit f332092f58)
2013-01-16 08:07:32 -05:00
Eli Barzilay
72ea99a29a Make only binary distributions use laid-out DMGs.
This is done by adding an "ldmg" type for laid-out DMGs, and "dmg"
produces a plain container image as before.
(cherry picked from commit a2207e6f33)
2013-01-16 08:07:27 -05:00
Eli Barzilay
baa0e1268d Do the conventional DMG layout.
Note that this requires a running Finder.  Note also that the process
involves attaching the created DMG which means that it might be
problematic with a machine that might have a volume by the same name
already attached (since the applescript uses the volume name, which is
not required to be unique).
(cherry picked from commit b5618b7d13)
2013-01-16 08:07:22 -05:00
Eli Barzilay
269549b59a Remove "internet-enabled" dmg creation.
Robby says that they're no longer recommended and rarely used by
browsers, and with a better dmg layout the contents should not be copied
automatically anyway.
(cherry picked from commit a3a47128de)
2013-01-16 08:07:17 -05:00
Asumu Takikawa
94e14e1df8 Use correct parent for date* in makeexn
Please merge to 5.3.2
(cherry picked from commit 2ac6615da9)
2013-01-16 08:07:13 -05:00