Commit Graph

29557 Commits

Author SHA1 Message Date
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
Matthew Flatt
f93c620814 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
2013-01-11 12:40:51 -07:00
Jay McCarthy
3312a8064d Working with links in collection testing 2013-01-10 10:45:54 -07:00
Juan Francisco Cantero Hurtado
99c60d725c 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
2013-01-09 19:12:22 -07:00
Tobias Hammer
0f6a5833fc readline/readline: add readline-newline' and readline-redisplay'
mzrl.rkt:
  Add and provide readline-newline and readline-readisplay.

readline.scrbl:
  Documentation and example code.
2013-01-09 19:12:22 -07:00
Matthew Flatt
5134bc0888 scribble doc corrections
Merge to v5.3.2
2013-01-09 18:52:16 -07:00
Matthew Flatt
5ab048bb5c 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
2013-01-09 18:52:16 -07:00
Greg Hendershott
4d3a5bad04 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.
2013-01-09 18:52:16 -07:00
Asumu Takikawa
c5c6280d87 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
2013-01-09 18:12:45 -05:00
Asumu Takikawa
f577b49a4d 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
2013-01-09 18:12:45 -05:00
Neil Toronto
441ad6eff4 MPFR custodian shutdown procedure tries to clear the constants cache
even when MPFR isn't loaded; this should close PR 13423
2013-01-09 11:21:58 -07:00
Danny Yoo
6e21e34ec7 Correct location calculations for non-terminals.
The prior code constructed the location of nonterminal maches out of
the the state of the stream after parsing.  This isn't right for a few
reasons:

    1.  It doesn't get starting location correctly.

    2.  It doesn't behave when the non-terminal production did not
        actually consume tokens for its parse.

This patch modifies the parsers to also pass along a
"last-consumed-token"; it, along with a few other changes, provides
the parsers enough information to accurately construct the locations,
even when no tokens have been consumed during the parse.  We
synthesize a sentinel last-consumed-token token to take location from
the head of the stream.
2013-01-09 10:46:18 -07:00
Jay McCarthy
9015c15eec test - Supporting packages in raco test 2013-01-09 08:12:56 -07:00
Jay McCarthy
3e0fff7dff Extending raco test to work on collections 2013-01-09 07:59:47 -07:00
Jay McCarthy
7cddc64e5a pkg - Improving error message on bad github urls 2013-01-09 07:34:56 -07:00
Jay McCarthy
f3a3c64720 pkg - Adding explanation of github supporting tags 2013-01-09 07:34:35 -07:00
Jay McCarthy
9d4e47a96e Update URLs again to r-l.o domain 2013-01-09 06:31:02 -07:00
Eli Barzilay
79b9acd444 2012 -> 2013 2013-01-09 01:17:26 -05:00
Asumu Takikawa
83766e1b11 Doc fix
Closes PR 13420

Please merge into 5.3.2
2013-01-08 19:45:15 -05:00
Asumu Takikawa
27d3042ad6 Use correct contract for Procedure type
The only problem with this contract is that it does
not produce a very good error message
2013-01-08 20:03:16 -05:00
Matthew Flatt
3e8b6b9866 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
2013-01-08 16:25:28 -07:00
Asumu Takikawa
9c0a611b59 Disallow duplicate type variable declarations
Closes PR 13416

Please merge to 5.3.2
2013-01-08 14:50:08 -05:00
Eli Barzilay
1a9d203f29 New Racket version 5.3.1.900. 2013-01-08 10:45:20 -05:00
Jay McCarthy
b0f3f03412 Removing exotic ports for PNRs 2013-01-08 07:42:51 -07:00
Eli Barzilay
3f65f91f03 New Racket version 5.3.2.1. 2013-01-08 03:30:08 -05:00
Robby Findler
3e3283aeba adjust drracket so check syntax can add its preferences itself
closes PR 13419
2013-01-08 01:01:40 -06:00
Ryan Culpepper
69f8f2f153 Post-release version for the v5.3.2 release 2013-01-08 00:16:59 -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
Ryan Culpepper
139c0ca6c7 improve popcount 2013-01-07 19:52:51 -05:00
Vincent St-Amour
057a2bd0d2 Extend type of min to preserve fixnumness. 2013-01-07 17:00:32 -05:00
Robby Findler
6b681f04c4 add planet2 info to the bug report system 2013-01-07 11:04:24 -06:00