Commit Graph

13601 Commits

Author SHA1 Message Date
Stevie Strickland
bb798b4ba5 Fixing the negative blame associated with provide/contracted identifiers.
The contract system now keeps track of three points of blame: the positive
blame, assigned to the provider of a contracted value; the negative blame,
assigned to the receiver of a contracted value; and the user "blame",
assigned to the party that actually misuses the value.  While the latter
is not really blame, as blame is not assigned to that party when that party
is not either the negative or positive party, it's useful information for
programmers when debugging.

For provide/contract, the negative party should be the first module to
require an identifier provided via provide/contract.  What was previously
the negative party is really the user, and is now handled as such.
2010-05-19 12:35:50 -04:00
Sam Tobin-Hochstadt
3fd5c49172 Add test for PR 10318.
Closes PR 10318.
2010-05-19 11:12:13 -05:00
Sam Tobin-Hochstadt
756bcc8a5e Documentation for heterogenous vectors.
Closes PR 10291.
2010-05-19 11:08:28 -05:00
Sam Tobin-Hochstadt
638245e4c5 Better type annotation support.
- Delay more errors for additional reporting.
 - Don't re-check expressions that were checked for inference.
 Closes PR 10098.
2010-05-19 10:10:54 -05:00
Eli Barzilay
2c3db18852 Some git adjustments 2010-05-19 08:32:35 -04:00
Eli Barzilay
263168a165 Adjustment for release checklist. 2010-05-19 06:11:48 -04:00
Eli Barzilay
14cfb73902 "Raclog" -> "Racklog" 2010-05-18 23:47:31 -04:00
Eli Barzilay
c9f359a3c4 Fix a small problems in generating the readme file. 2010-05-18 23:30:12 -04:00
Matthias Felleisen
391444741f simulate-file for testing readers 2010-05-18 23:00:59 -04:00
Eli Barzilay
ab116a5c8b Add a generic toplevel README file, make the bundle script use it.
Also, get rid of the old readme-specs.
2010-05-18 17:28:44 -04:00
Stevie Strickland
4336f29273 Quick fix to get the right struct info out of define-struct/contract.
Closes PR 10526.  Closes PR 10561.
2010-05-18 13:14:14 -04:00
Matthew Flatt
ed1c74108f fix Scribble doc reference to element 2010-05-18 00:21:46 -06:00
Ryan Culpepper
a25996b4b8 syntax/parse: add ~var option #:attr-name-separator (no docs yet) 2010-05-17 16:33:55 -06:00
Ryan Culpepper
1572b1ece4 syntax/parse: change unbound literal error message 2010-05-17 16:33:55 -06:00
Ryan Culpepper
d43792926a racunit: add racunit menu, Lock option 2010-05-17 16:33:55 -06:00
Ryan Culpepper
3f9233a718 racunit: stop running tests when gui is closed 2010-05-17 16:33:55 -06:00
Sam Tobin-Hochstadt
535dc73fad More fixes for Vincent. 2010-05-17 18:03:34 -04:00
Sam Tobin-Hochstadt
d2a1470ea5 Fix repeated type ascription. 2010-05-17 16:20:44 -05:00
Sam Tobin-Hochstadt
7ecf424ff8 Fix internal error detected by vincent. 2010-05-17 16:06:27 -05:00
Sam Tobin-Hochstadt
0d1d61c725 rename to .rkt 2010-05-17 15:55:23 -05:00
Sam Tobin-Hochstadt
68391b2d7f Fix for git/rkt 2010-05-17 15:36:28 -05:00
Sam Tobin-Hochstadt
ce874bb0a1 rename to rkt 2010-05-17 15:29:12 -05:00
Robby Findler
b7a20594ef added \newpage to the latex-style keybindings 2010-05-17 11:39:38 -05:00
Eli Barzilay
7b14a1f585 "Racunit" -> "Rackunit" 2010-05-17 12:07:32 -04:00
Jay McCarthy
5b38155e7f Using raw response file in test 2010-05-17 11:05:22 -05:00
Eli Barzilay
28998cfe11 Remove redundant file 2010-05-17 09:57:03 -04:00
Eli Barzilay
41ea7311f3 Use "main.rkt" instead of "main.ss" in constructed path 2010-05-17 09:55:48 -04:00
Eli Barzilay
4279fe3c4f Some "org.plt-scheme" -> "org.racket-lang"s 2010-05-17 09:54:17 -04:00
Eli Barzilay
9592b91a2f Use two spaces instead of tabs, and wrap the notification lines. 2010-05-17 09:40:17 -04:00
Eli Barzilay
d0f4a5202b "revision" -> "push" on drdr pages and in emails. 2010-05-17 09:40:16 -04:00
Matthew Flatt
f0e7e40465 fix paint-by-numbers path problem 2010-05-17 07:11:04 -06:00
Eli Barzilay
939af28a4c Some random ".ss" -> ".rkt"s 2010-05-17 05:58:19 -04:00
Eli Barzilay
9c352f5704 More svn -> git changes.
Some mentions of svn/subversion are replaced with git, and some patterns
for paths to ignore include ".git*".  (Note ".mailmap" not added, might
need to.)
2010-05-17 05:41:04 -04:00
Eli Barzilay
8450f202e9 Change the instructions to use "git" instead of "svn". 2010-05-17 04:10:56 -04:00
Eli Barzilay
1e5dbe553b Fix two random emails. 2010-05-17 04:03:28 -04:00
Eli Barzilay
bcab28e5d2 Misc tests/drracket improvements.
Removed "info.rkt", since all entries were unused; switched ".ss" to
".rkt" in both real code and tested code (except for the teachpack
tests); modernized some tests to use symbolic requires (which would also
make it easier to deal with).
2010-05-17 03:07:10 -04:00
Eli Barzilay
0940a4d813 Rename "test-drscheme.ss" -> "test-drracket.rkt"; remove the framework tests.
There's no point keeping the framework tests when drdr does a better job
with running more stuff.  But keep the drracket test, just in case, to
get an additional nag when something bad happens and it doesn't start.
2010-05-17 01:57:41 -04:00
Eli Barzilay
285e9b5279 Use ".rktc" for the C-generated foreign file. 2010-05-17 01:48:39 -04:00
Eli Barzilay
fcedc30ee4 Rename "collects/tests/mred" -> ".../gracket".
Some additional mred-related tweaks.
2010-05-17 01:44:27 -04:00
Eli Barzilay
de0cc7771b A lot of "DrScheme" -> "DrRacket"s. 2010-05-17 01:27:03 -04:00
Eli Barzilay
aa7090fb25 Remove the drscheme-homepage string constant and its only use. 2010-05-17 00:56:38 -04:00
Eli Barzilay
a46743211b A lot of "plt-scheme.org" -> "racket-lang.org"s. 2010-05-17 00:53:12 -04:00
Eli Barzilay
bba676d90c Update the text message at the top of WXME files, including the URL.
Also, update the message in existing files.  Change the instructions to
use DrRacket or DrScheme version <previous-version>, and for really old
files (pre-v4), just use 4 for the version.  Also just drop the second
paragraph in these files -- "Most likely, it was created by" is not
needed when for these files we know that this is true.
2010-05-17 00:19:26 -04:00
Eli Barzilay
7f6efdc8be A lot of "MrEd" -> "GRacket"s. 2010-05-16 23:46:05 -04:00
Eli Barzilay
2ecdc0f33a Use regexp-match*' instead of regexp-split'.
Also, explicitly make it throw an error when it's getting an empty glob.
It used to just return the root in that case, but it's unclear if this
would be the right thing, or maybe return everything, or nothing.
2010-05-16 22:59:36 -04:00
Eli Barzilay
400bd5eaad Fix this to account for not dropping empty strings at the edges. 2010-05-16 22:02:10 -04:00
Matthew Flatt
0ed8dcc020 fix some copyrights in the license doc 2010-05-16 17:35:40 -06:00
Matthew Flatt
322a045a51 improve guide chapter on language creation (based on Matthias's comments) 2010-05-16 17:28:56 -06:00
Matthew Flatt
bb26115591 add 'filebox' Scribble function 2010-05-16 17:28:55 -06:00
Eli Barzilay
2d9601089d A lot of "MzScheme" -> "Racket"s. 2010-05-16 18:26:26 -04:00
Eli Barzilay
4b0b550e6a Rename an included file to .rktl 2010-05-16 18:26:25 -04:00
Eli Barzilay
4ab5fa7dff Fix some of the distributed paths that the compiler packages. 2010-05-16 18:26:25 -04:00
Eli Barzilay
d8fec78585 Some renames for this dusty code. 2010-05-16 18:26:25 -04:00
Eli Barzilay
a82bb41950 some prop fixes 2010-05-16 18:26:25 -04:00
Eli Barzilay
d099267b81 no tests in meta/build 2010-05-16 18:26:25 -04:00
Eli Barzilay
bb263675b6 Rename "drscheme-button*" -> "drracket-button*"; fix bad reference to "drscheme/syncheck-drracket-button". 2010-05-16 18:26:25 -04:00
Eli Barzilay
31923d045e Distribution specs should be working fine now. 2010-05-16 18:26:25 -04:00
Matthew Flatt
704f8d6b13 add two missing acks 2010-05-16 07:31:37 -06:00
Matthew Flatt
1873a6f14d fix typo 2010-05-16 07:30:43 -06:00
Eli Barzilay
020d363336 more adjustments 2010-05-16 03:08:31 -04:00
Eli Barzilay
48c9b54bea distribution seems to be working now 2010-05-16 03:06:19 -04:00
Eli Barzilay
418b05b8ff Fix a few typos 2010-05-15 21:03:35 -04:00
Eli Barzilay
86891b30a1 redex/examples/mzscheme-machine -> racket-machine 2010-05-15 18:41:08 -04:00
Eli Barzilay
c12874661f make the winvers tweaker use and modify files with the new names 2010-05-15 18:37:13 -04:00
Eli Barzilay
296818e11f Remove "-q" flags -- they're not needed. 2010-05-15 18:13:43 -04:00
Eli Barzilay
03fdd4aa15 Replace all "mzscheme"s with "racket"s, "mred"s with "gracket"s.
Also, forbid using "mred" in drdr:command-line.
2010-05-15 18:10:56 -04:00
Eli Barzilay
3219d28e9d repos-time-stamp -> repo-time-stamp 2010-05-15 16:48:04 -04:00
Eli Barzilay
8a973cde91 somehow this wasn't deleted earlier 2010-05-15 16:06:45 -04:00
Matthew Flatt
3db293a6af fix some dist-spec problems 2010-05-15 08:58:23 -06:00
Eli Barzilay
0a881a6305 drdr info file 2010-05-15 10:47:56 -04:00
Eli Barzilay
83a74c89c0 build script works with git, but still takes its own resources from iplt (svn). 2010-05-15 10:47:12 -04:00
Eli Barzilay
83c2c283fd existing version of build scripts 2010-05-15 10:45:15 -04:00
Matthew Flatt
900784c8e4 fix regexp sub-pattern reporting 2010-05-15 08:36:11 -06:00
Jay McCarthy
038e5f4d09 Marking all these tests as random, although not necessarily intentionally re email with Robby 2010-05-14 14:25:02 -06:00
Jay McCarthy
83abb1d223 Updating display 2010-05-14 14:25:02 -06:00
Matthew Flatt
aa9a8549ad finish Guide chaper on defining languages 2010-05-14 13:34:23 -06:00
Matthew Flatt
8752e65bf8 disable check on a module's source name 2010-05-14 11:33:09 -06:00
Matthew Flatt
b072d85107 adjust Slideshow to not re-export printable<%>; improve docs for both Slideshow and Scribble 2010-05-14 11:33:08 -06:00
Matthew Flatt
88fd429eaf initial cut at language-creation chaper in guide: reader extension 2010-05-14 11:33:08 -06:00
Jay McCarthy
1d0bc61098 Updating to use new props format 2010-05-14 11:05:23 -06:00
Jay McCarthy
05c8289925 Removing self from always email 2010-05-14 11:05:23 -06:00
Jay McCarthy
b58932ba39 Off by one 2010-05-14 11:05:23 -06:00
Eli Barzilay
1f6159f0ba Change the drdr:command-line property.
It now holds a list that starts with a known symbol, and a `*' symbol
marks where the file name is supposed to be.  #f means don't run the
file.  The conversion happens when the string is converted to a value,
and at that point it will complain if ~s is missing, if there's more
than one ~s, or if the command is not one of a known few commands.
2010-05-14 11:05:23 -06:00
Sam Tobin-Hochstadt
21b5c25c90 Add annotation to test.
Fix default case for `vector-set!'
2010-05-14 11:00:23 -04:00
Sam Tobin-Hochstadt
ff36a6e8d1 sensible handling of literal vectors 2010-05-14 11:00:23 -04:00
Sam Tobin-Hochstadt
7ac925695f more sensible version of het vectors.
add vector-length, vector-set!
2010-05-14 11:00:23 -04:00
Sam Tobin-Hochstadt
798a7f2a3c fix typo 2010-05-14 11:00:22 -04:00
Sam Tobin-Hochstadt
f40000c9c7 Fix het vec with strange expected types 2010-05-14 11:00:22 -04:00
Sam Tobin-Hochstadt
ec14f2c0b8 Finish het vectors 2010-05-14 11:00:22 -04:00
Sam Tobin-Hochstadt
0558d11abb more testing 2010-05-14 11:00:22 -04:00
Sam Tobin-Hochstadt
2c03f2223b mostly done with heterogenous vectors 2010-05-14 11:00:22 -04:00
Vincent St-Amour
0837e47ce7 Fixed a typo in the regexp doc. 2010-05-13 17:12:36 -04:00
Jay McCarthy
bac7ff3bdf Fixing X11 test bugs 2010-05-13 14:34:34 -06:00
Jay McCarthy
04b035ade6 Setting props 2010-05-13 14:26:10 -06:00
Jay McCarthy
fb8e8640bb This error should not be on stderr, because it is intended 2010-05-13 14:25:39 -06:00
Jay McCarthy
dbad0093f2 Ignoring superfluous error 2010-05-13 14:14:48 -06:00
Jay McCarthy
d284d530f5 Using Elis scm-export 2010-05-13 13:37:56 -06:00
Jay McCarthy
6ee0b0585a Fixing bug in path-random access 2010-05-13 13:03:14 -06:00
Sam Tobin-Hochstadt
f44bd59b69 remove unnecessary assert 2010-05-13 14:59:45 -04:00
Sam Tobin-Hochstadt
684ae395e6 Fix w/c to handle expression form of with-contract, and disable internal contracts. 2010-05-13 14:41:59 -04:00
Sam Tobin-Hochstadt
52f5a1936c Merge remote branch 'origin/master' into samth/new-logic2 2010-05-13 14:23:58 -04:00
Stevie Strickland
27014e9147 Add myself to the list of contributors. 2010-05-13 13:57:52 -04:00
Sam Tobin-Hochstadt
814c02664e Don't generate extra filters unless they're useful. 2010-05-13 13:37:24 -04:00
Sam Tobin-Hochstadt
a893116391 fix more tests 2010-05-13 13:36:54 -04:00
Sam Tobin-Hochstadt
8d59ee77e4 Don't generate type filters for mutated variables. 2010-05-13 13:24:41 -04:00
Sam Tobin-Hochstadt
dcf8507fd6 Fix incorrect tests. 2010-05-13 12:35:14 -04:00
Eli Barzilay
e6761dc7b1 Fix checking of path existence: use the input path, not the normalized one. 2010-05-13 01:25:30 -04:00
Eli Barzilay
27f76f2da0 Adds scm-export-repo', which can be used instead of scm-checkout' to
get a clean directory.
2010-05-13 00:52:47 -04:00
Sam Tobin-Hochstadt
a7a56ce856 abstract even when out of bindings 2010-05-12 21:34:18 -04:00
Sam Tobin-Hochstadt
60aed123ce fix more tests 2010-05-12 21:33:55 -04:00
Sam Tobin-Hochstadt
264bf78559 Fix typo 2010-05-12 18:43:55 -04:00
Sam Tobin-Hochstadt
4ceda99700 Updates along useless paths are not errors. 2010-05-12 18:24:19 -04:00
Sam Tobin-Hochstadt
41f0152435 Allow dummy filtersets 2010-05-12 17:31:58 -04:00
Sam Tobin-Hochstadt
daf43d1702 more lost changes 2010-05-12 17:25:53 -04:00
Sam Tobin-Hochstadt
70d498beeb re-add bindings lost in merge 2010-05-12 17:22:13 -04:00
Sam Tobin-Hochstadt
dbe9a0f997 debugging 2010-05-12 17:06:04 -04:00
Sam Tobin-Hochstadt
499f36ee69 add simple test 2010-05-12 17:05:09 -04:00
Sam Tobin-Hochstadt
6f7e88cfef Descend into path elements. 2010-05-12 17:04:43 -04:00
Sam Tobin-Hochstadt
bc7bd9245e `debug' prints the value of the function being called 2010-05-12 17:04:18 -04:00
Ryan Culpepper
9f0d446ffd syntax/parse: added details to non-syntax attr error 2010-05-12 14:55:41 -06:00
Ryan Culpepper
6d1b2af74d syntax/parse: scheme->racket, docs for literal phases 2010-05-12 14:55:40 -06:00
Stevie Strickland
3816f9cf1a Adding .rktl as a Racket file extension. 2010-05-12 16:36:22 -04:00
Jay McCarthy
8f6c0d415c Renaming re: Eli 2010-05-12 14:33:06 -06:00
Jay McCarthy
b6abe53002 Setting GIT_DIR 2010-05-12 14:08:45 -06:00
Jay McCarthy
1d6c943114 Adding drdr:random? 2010-05-12 14:04:05 -06:00
Sam Tobin-Hochstadt
e0c82c8ac6 flatten and filters before using them 2010-05-12 15:10:37 -04:00
Jay McCarthy
4f17ec419e Changing normalize-response to be more user friendly 2010-05-12 11:26:00 -06:00
Sam Tobin-Hochstadt
e7c8ffb834 Fix contracts.
Handle improper formals lists.
2010-05-12 11:53:27 -04:00
Sam Tobin-Hochstadt
e81cdba69f Don't use raw union constructor. 2010-05-12 11:52:43 -04:00
Sam Tobin-Hochstadt
5a8fac0bdf switch to typed/ 2010-05-12 11:52:11 -04:00
Eli Barzilay
8f5b1f622c Hide stderr by combining it with the captured output => no stderr messages.
(Also, a slightly nicer string for the case of using the file timestamp.)
2010-05-12 11:15:14 -04:00
Sam Tobin-Hochstadt
ec942b6dab Merge remote branch 'origin/master' into samth/new-logic2 2010-05-12 10:59:29 -04:00
Casey Klein
cc67852317 Fixes URL typo 2010-05-12 08:48:27 -05:00
Casey Klein
7b15edee41 Racketifies Redex documentation 2010-05-12 07:58:08 -05:00
Eli Barzilay
aceeb391ad Use export-subst to tweak archive results of this file with date/sha1.
Also, make the code use these results, or if not from an archive, use
git, or if that fails, just the date of the file itself.
2010-05-12 05:43:16 -04:00
Sam Tobin-Hochstadt
4548426cd4 Merge remote branch 'origin/master' into samth/new-logic2 2010-05-11 15:19:52 -04:00
Vincent St-Amour
2435f6fe06 Changed the common benchmark wrapper to use the racket language and to
print return values.
2010-05-11 14:56:43 -04:00
Vincent St-Amour
11d8dac0bf Got rid of one-armed ifs in the common benchmarks. 2010-05-11 14:56:43 -04:00
Matthew Flatt
c1abea82ec add local-require to racket/base 2010-05-11 12:31:28 -06:00
Sam Tobin-Hochstadt
c22735ea49 `block' doesn't have this limitation 2010-05-11 12:01:15 -04:00
Sam Tobin-Hochstadt
3965eab9c8 Add `racket/block' 2010-05-11 12:01:15 -04:00
Matthew Flatt
92a4106877 text% printer recognizes a line containing only a form-feed character and uses it as a page break; a form-feed character displays as ^L 2010-05-11 09:37:08 -06:00
Matthew Flatt
5b76acb4ae add racket/system to racket 2010-05-11 07:06:07 -06:00
Matthew Flatt
60119b800e document how to add a command to raco 2010-05-11 06:42:00 -06:00
Matthew Flatt
50e923b199 add 'eprintf' and 'displayln' 2010-05-11 06:38:34 -06:00
Matthew Flatt
acb98cef60 allow paths as input to regexp-matching functions 2010-05-11 06:03:39 -06:00
Eli Barzilay
0aab34154a Update handin-server docs. 2010-05-11 00:31:28 -04:00
Eli Barzilay
50753b6364 more fixes to automated tests 2010-05-10 23:36:14 -04:00
Matthew Flatt
5f2ef77c14 fix reference typo 2010-05-10 20:40:51 -06:00
Eli Barzilay
bf2b8478fd prop fixes (some removed, some renamed) 2010-05-10 22:31:05 -04:00