Commit Graph

27606 Commits

Author SHA1 Message Date
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
Asumu Takikawa
e5ca4a4e4b Fix error typo
Please merge to 5.3.2
(cherry picked from commit d95be2ed4d)
2013-01-16 08:07:08 -05:00
Sam Tobin-Hochstadt
835aa575e5 Add struct constructor table.
(cherry picked from commit 696583582b)
2013-01-16 08:06:27 -05:00
Sam Tobin-Hochstadt
5e0c0f198a Fix parsing of maybe-optimize result.
Merge to 5.3.2.
(cherry picked from commit 1a678bd5de)
2013-01-15 17:51:33 -05:00
Sam Tobin-Hochstadt
28a3376096 Fix XREPL logging printer to handle new logger name field.
Merge to 5.3.2.
(cherry picked from commit 2a1f70264c)
2013-01-15 17:51:27 -05:00
Ryan Culpepper
5224c8b338 fix missing argument
closes PR 13429

Merge to 5.3.2
(cherry picked from commit 9b1b15d110)
2013-01-15 17:51:23 -05:00
Matthew Flatt
478f3d64d9 futures: bug fix
The problem was in the handing of "lightweight continuations" used to
represent suspended computations, and in particular the handling
of continuation marks (such as the ones added by DrRacket's debugging
mode).

Unfortunately, I wasn't able to construct a simpler test case that
triggers the problem. I think the number of installed continuation marks
has to be just right, and there have to be some replacing marks, and
a lightweight continuaiton has to be captured at the right time
as a result of applying a previously captured continuation.

Closes PR 13427

Merge to v5.3.2
(cherry picked from commit f93c620814)
2013-01-15 17:51:19 -05:00
Jay McCarthy
1de0465687 Working with links in collection testing
(cherry picked from commit 3312a8064d)
2013-01-15 17:51:15 -05:00
Juan Francisco Cantero Hurtado
0b02ae84e6 It fixes a crash on OpenBSD
It fixes a crash in the installation on OpenBSD. Racket reaches the
limits of the shell when it is compiled with a non-root user account.

Tested on OpenBSD-current amd64.

Merge to v5.3.2
(cherry picked from commit 99c60d725c)
2013-01-15 17:51:10 -05:00
Matthew Flatt
1a1d2a3394 scribble doc corrections
Merge to v5.3.2
(cherry picked from commit 5134bc0888)
2013-01-11 15:34:47 -05:00
Matthew Flatt
beda1dad3f scribble/decode: fix contract on `decode-compound-paragraph'
Add a test suite that at least tries each export of `scribble/decode'.

Merge to v5.3.2
(cherry picked from commit 5ab048bb5c)
2013-01-11 15:34:42 -05:00
Greg Hendershott
0e87765baa Use Racket lexer for code blocks.
Had been specifying Scheme lexer for code blocks, while waiting for
new Racket lexer to wend its way from Pygments to Pygments.rb to
Linguist to GitHub.

That day is almost here: Linguist will soon update and deploy to
GitHub.  And Racket 5.3.2 is about to release.  As a result, I think
this is the correct time to switch to the Racket lexer: It should be
live on GitHub by the time people are using Racket 5.3.2.

/cc @rmculpepper -- I think this commit should go into the 5.3.2
release.
(cherry picked from commit 4d3a5bad04)
2013-01-11 15:34:39 -05:00
Asumu Takikawa
846364cb07 Change exception predicate for a test
For some reason, the other predicate breaks on some
test setups, even though it usually succeeds.

Please merge to 5.3.2
(cherry picked from commit c5c6280d87)
2013-01-11 15:34:36 -05:00
Asumu Takikawa
d91bc74ec1 Fix polydots
- parsing of polydots values was fixed
 - certain polydots error cases are now reported
 - the custom application rule for values was fixed

Closes PR 13365

Please merge to 5.3.2
(cherry picked from commit f577b49a4d)
2013-01-11 15:34:32 -05:00
Neil Toronto
bf0c697cdb MPFR custodian shutdown procedure tries to clear the constants cache
even when MPFR isn't loaded; this should close PR 13423
(cherry picked from commit 441ad6eff4)
2013-01-11 15:34:28 -05:00
Jay McCarthy
17246096e8 test - Supporting packages in raco test
(cherry picked from commit 9015c15eec)
2013-01-11 15:34:24 -05:00
Jay McCarthy
7ff68fe421 Extending raco test to work on collections
(cherry picked from commit 3e0fff7dff)
2013-01-11 15:34:21 -05:00
Jay McCarthy
6b2f905a2b pkg - Improving error message on bad github urls
(cherry picked from commit 7cddc64e5a)
2013-01-11 15:34:18 -05:00
Jay McCarthy
b24c73ebb7 pkg - Adding explanation of github supporting tags
(cherry picked from commit f3a3c64720)
2013-01-11 15:34:14 -05:00
Jay McCarthy
44b7a12d68 Update URLs again to r-l.o domain
(cherry picked from commit 9d4e47a96e)
2013-01-11 15:34:10 -05:00
Eli Barzilay
e121bef9b9 2012 -> 2013
(cherry picked from commit 79b9acd444)

Conflicts:
	src/worksp/gracket/gracket.rc
	src/worksp/racket/racket.rc
2013-01-11 15:33:47 -05:00
Asumu Takikawa
953a8ffc1d Doc fix
Closes PR 13420

Please merge into 5.3.2
(cherry picked from commit 83766e1b11)
2013-01-11 15:30:25 -05:00
Asumu Takikawa
4d60793386 Use correct contract for Procedure type
The only problem with this contract is that it does
not produce a very good error message
(cherry picked from commit 27d3042ad6)
2013-01-11 15:30:21 -05:00
Matthew Flatt
5319972ffd scribble: add +m' / ++main-xref-in' flag
The `+m' flag is a long-overdue shorthand for `++xref-in setup/xref
load-collections-xref', which links to installed documentation in
the same way as DrRacket's "Scribble HTML" button.

That is, use `+m' to link to installed documentation,

  scribble +m mine.scrbl

instead of the previously recommended

  scribble ++xref-in setup/xref load-collections-xref mine.scrbl

Merge to 5.3.2
(cherry picked from commit 3e8b6b9866)
2013-01-11 15:30:17 -05:00
Asumu Takikawa
aff9f6f0cf Disallow duplicate type variable declarations
Closes PR 13416

Please merge to 5.3.2
(cherry picked from commit 9c0a611b59)
2013-01-11 15:30:13 -05:00
Jay McCarthy
afceaa25c5 Removing exotic ports for PNRs
(cherry picked from commit b0f3f03412)
2013-01-11 15:30:09 -05:00
Robby Findler
91bcf2ad27 adjust drracket so check syntax can add its preferences itself
closes PR 13419
(cherry picked from commit 3e3283aeba)
2013-01-11 15:30:03 -05:00
Eli Barzilay
1a9d203f29 New Racket version 5.3.1.900. 2013-01-08 10:45:20 -05:00
Ryan Culpepper
b335a3d350 Alpha version number for the v5.3.2 release 2013-01-08 00:16:27 -05:00
Ryan Culpepper
929f37df62 fix db test script 2013-01-07 19:52:51 -05:00
Ryan Culpepper
c0543e8f65 updated docs for new simple-result info
Most changes are due to unrelated serialization improvements,
but there's one example with a different result.
2013-01-07 19:52:51 -05:00
Ryan Culpepper
681558328e add last inserted row, # changes to simple-result info
The info keys are 'insert-id, 'affected-rows, as for mysql.
2013-01-07 19:52:51 -05:00
Ryan Culpepper
a6f03ee38f use popcount table 2013-01-07 19:52:51 -05:00