Commit Graph

7352 Commits

Author SHA1 Message Date
Matthew Flatt
2db7898f70 more r6rs test missing record-type-descriptors
svn: r10884
2008-07-23 20:58:43 +00:00
Eli Barzilay
55f2387f93 avoid potentially bad JS for...in
svn: r10883
2008-07-23 19:05:15 +00:00
Matthew Flatt
75919b4b15 sgl doc fixes
svn: r10882
2008-07-23 18:16:20 +00:00
Matthew Flatt
84003497a0 use function for fx/carry tests
svn: r10881
2008-07-23 16:18:47 +00:00
Eli Barzilay
ea3c3687dc improved search indicator thing
svn: r10880
2008-07-23 16:14:29 +00:00
Matthew Flatt
f7767aefaa slight improvement to R6RS carry-test expansion
svn: r10879
2008-07-23 15:51:13 +00:00
Matthew Flatt
7bd75641c7 r6rs test changes: change utf-8 to latin-1 as suggested by Will, and add missing tests for some carry functions
svn: r10878
2008-07-23 15:40:09 +00:00
Matthew Flatt
a0f7301dff remove misplaced #:evals in schemeblocks
svn: r10877
2008-07-23 15:01:13 +00:00
Danny Yoo
44e5ba4ec2 updated servlet2 to 4.0 style
svn: r10876
2008-07-23 14:29:47 +00:00
Matthew Flatt
d343751862 another r6rs test
svn: r10875
2008-07-23 13:19:30 +00:00
Matthew Flatt
7a21aff2e6 r6rs test fixes from leppie
svn: r10874
2008-07-23 13:17:10 +00:00
Matthew Flatt
10082a81d2 allow example parsers to be compiled
svn: r10873
2008-07-23 13:03:39 +00:00
Matthew Flatt
61ef67beb7 remove example parser that doesn't work
svn: r10872
2008-07-23 13:01:30 +00:00
Matthew Flatt
fc87f01bb7 fix some example parsers
svn: r10871
2008-07-23 13:01:11 +00:00
Matthew Flatt
8e1add79c9 R6RS syntax vector repair (PR 9625)
svn: r10870
2008-07-23 12:25:41 +00:00
Matthew Flatt
fe84c8c6a3 protect nan? test by real?, as Aziz points out; also fix nan?, finite?, and infinite? to insist on real arguments
svn: r10869
2008-07-23 01:06:26 +00:00
Matthew Flatt
4947ae6711 finish fishing records/syntactic tests
svn: r10868
2008-07-23 00:57:42 +00:00
Matthew Flatt
41f89d35f8 R6RS test repairs form Aziz
svn: r10867
2008-07-23 00:50:22 +00:00
Matthew Flatt
837429315a refine r6rs test suite notes, again
svn: r10866
2008-07-22 22:01:13 +00:00
Robby Findler
fa7e590605 preparation for new search and replace
svn: r10865
2008-07-22 21:58:21 +00:00
Matthew Flatt
6f6a3f27d0 refine r6rs test suite notes
svn: r10864
2008-07-22 21:42:39 +00:00
Matthias Felleisen
e50f229beb scene fixed in world
svn: r10863
2008-07-22 21:00:07 +00:00
Matthew Flatt
2e7047b87f fix guide typos
svn: r10862
2008-07-22 14:36:28 +00:00
Matthew Flatt
0f984fbc02 GUI doc repairs
svn: r10861
2008-07-22 13:28:02 +00:00
Matthew Flatt
6c43d23bc4 add editor-scroll-to method of editor<%>
svn: r10860
2008-07-22 13:17:09 +00:00
Eli Barzilay
44440a42a7 Welcome to a new PLT day.
svn: r10859
2008-07-22 07:26:56 +00:00
Robby Findler
bd6ed2dfc2 changed serching text notification from pull-style to push-style, ie the text now notifies the frame when it wants to be actived for searching instead of waiting for the frame to ask
svn: r10858
2008-07-22 03:51:26 +00:00
Matthew Flatt
a690f715c5 some r6rs test suite fixes
svn: r10857
2008-07-21 23:10:59 +00:00
Robby Findler
e2c49f4963 more speedups for the highlighting and some setup for improving docked search
svn: r10855
2008-07-21 22:17:54 +00:00
Matthew Flatt
9af18d6971 R6RS tests: sps files for more convenient testing, README on how to run
svn: r10854
2008-07-21 22:16:19 +00:00
Matthew Flatt
ec75a07fc6 .ss -> .sls for portable R6RS tests
svn: r10853
2008-07-21 20:51:33 +00:00
Matthew Flatt
5dbd83d8c2 rebuild kernel file to add text% position-locations
svn: r10852
2008-07-21 20:39:19 +00:00
Matthew Flatt
a3bf5c9523 fix spectral-norm benchmark
svn: r10851
2008-07-21 20:38:51 +00:00
Matthew Flatt
319c7406a2 fix shootout problems
svn: r10850
2008-07-21 20:01:30 +00:00
Matthew Flatt
5ff75bac42 allow duplicate struct properties if the values are eq?; add position-locations to text%
svn: r10849
2008-07-21 18:54:09 +00:00
Matthew Flatt
763d37d775 properties can now effectively inherit properties (v4.0.2.5)
svn: r10848
2008-07-21 17:04:25 +00:00
Kathy Gray
5a6a9ed653 check ... oneOf .... bug fixes
svn: r10847
2008-07-21 15:12:15 +00:00
Robby Findler
278c456c1b improved performance of highlighting regions when there are lots and lots of regions
svn: r10846
2008-07-21 14:19:59 +00:00
Eli Barzilay
09ee49e074 Welcome to a new PLT day.
svn: r10845
2008-07-20 19:51:16 +00:00
Robby Findler
391272c73a fixed a bug in preference unmarshalling
svn: r10844
2008-07-20 19:02:09 +00:00
Jay McCarthy
258c569afe up
svn: r10843
2008-07-20 16:12:08 +00:00
Eli Barzilay
39af76b953 typo
svn: r10842
2008-07-20 05:38:05 +00:00
Matthew Flatt
1091050692 more shootout clean-up
svn: r10841
2008-07-19 14:47:13 +00:00
Matthew Flatt
55a44ae5bc shootout benchmarks
svn: r10840
2008-07-19 14:27:00 +00:00
Matthew Flatt
b8672845fc shootout benchmarks
svn: r10839
2008-07-19 02:40:34 +00:00
Eli Barzilay
bba44e46e8 clarify arity of procedure input to regexp-match
svn: r10838
2008-07-19 02:25:40 +00:00
Matthew Flatt
83e7774bee shootout benchmark improvements
svn: r10837
2008-07-19 01:00:27 +00:00
Matthew Flatt
b8aa628d1e shootout updates
svn: r10836
2008-07-19 00:11:10 +00:00
Matthew Flatt
69d604c0be fix udp test and update docs related to socket re-binding
svn: r10835
2008-07-18 21:33:11 +00:00
Matthew Flatt
7c6b93f531 eopl doc updates
svn: r10834
2008-07-18 19:00:38 +00:00
Matthew Flatt
867306caff new #lang planet reader; new sandbox-make-loger parameter
svn: r10833
2008-07-18 17:25:49 +00:00
Eli Barzilay
57a3449003 yet another typo
svn: r10831
2008-07-18 07:08:55 +00:00
Eli Barzilay
d961143791 more typos
svn: r10830
2008-07-18 07:07:28 +00:00
Eli Barzilay
f405177906 typo
svn: r10829
2008-07-18 07:04:22 +00:00
Eli Barzilay
aa496a7328 removed redundant mzlib/string require
svn: r10828
2008-07-18 04:59:46 +00:00
Eli Barzilay
21b052d9f8 document new filtered-in and -out forms
svn: r10827
2008-07-18 01:01:43 +00:00
Eli Barzilay
5a7ce88ac0 added filtered-in and -out
svn: r10826
2008-07-17 23:02:56 +00:00
Matthew Flatt
a2e03a8ad4 remove spruious eval in sslgen for eopl
svn: r10825
2008-07-17 18:23:33 +00:00
Matthew Flatt
6e668cbb00 fix R6RS template handling of consecutive ellipses
svn: r10824
2008-07-17 17:55:52 +00:00
Matthew Flatt
04af3c8f01 fix logger name handling
svn: r10823
2008-07-17 17:41:05 +00:00
Matthew Flatt
a14a6d7272 fix R6RS parsing ofr numbers that start with two # things, like #i#xe/f
svn: r10822
2008-07-17 17:38:06 +00:00
Kathy Gray
593e6256d2 Arity bugs identified by the optimizer
svn: r10820
2008-07-17 16:07:44 +00:00
Matthew Flatt
a88d8487d4 fix logging doc typo
svn: r10819
2008-07-17 15:21:31 +00:00
Matthew Flatt
9af00fcfb4 v4.0.2.4: logging
svn: r10818
2008-07-17 15:20:17 +00:00
Eli Barzilay
9e776c0712 Welcome to a new PLT day.
svn: r10813
2008-07-17 12:00:07 +00:00
John Clements
b334fa476b doc fixes
svn: r10812
2008-07-17 06:48:46 +00:00
John Clements
1d670334c7 old comment no longer appears to be true
svn: r10811
2008-07-17 05:48:16 +00:00
Danny Yoo
67bc4f3f0c Revert "Adding checks for get-port-name in object interface before method call."
svn: r10807
2008-07-17 02:16:45 +00:00
Danny Yoo
f237af6140 Getting servlet2 back to working shape. Changes include:
Wrapped the major servlet2 functions so they talk to a running server
  thread under an on-web context.

  Bumped timeout to +inf.

  When starting server, checks to see if the port is available.  If not,
  tries to choose 8001, 8002, ... up to 8032 before giving up.

svn: r10806
2008-07-17 02:13:46 +00:00
Eli Barzilay
c96bfce485 add parameterize
svn: r10805
2008-07-17 01:09:43 +00:00
Danny Yoo
93c1b92c7b Adding checks for get-port-name in object interface before method call.
svn: r10804
2008-07-17 00:52:53 +00:00
Danny Yoo
4535aa4537 Simplifying scheme box location-finding code.
svn: r10803
2008-07-17 00:52:47 +00:00
Eli Barzilay
2260741a64 * Leave a single definition of `maybe'
* Change icon to the 3rd edition icon with transparency
* Change url to www.eopl3.com

svn: r10799
2008-07-16 17:58:25 +00:00
Robby Findler
e892701c0d 3rd edition icon
svn: r10798
2008-07-16 17:50:32 +00:00
Stevie Strickland
91291ba2bc Add the forall Unicode symbol as an acceptable replacement for the
All type constructor.

svn: r10797
2008-07-16 17:37:05 +00:00
Matthew Flatt
9ca0dc49c3 change EoPL back to an extension of mzscheme
svn: r10796
2008-07-16 17:33:56 +00:00
Eli Barzilay
44cc698c83 mitch requests
svn: r10795
2008-07-16 17:08:37 +00:00
Matthias Felleisen
263feeb124 for future use
svn: r10794
2008-07-16 16:28:36 +00:00
Matthias Felleisen
469c1a0c89 small refactoring of hangman checks
svn: r10793
2008-07-16 16:14:21 +00:00
Matthias Felleisen
43e815713c two bugs in hangman
svn: r10792
2008-07-16 15:07:12 +00:00
Matthias Felleisen
25f675461a doc bug in hangman
svn: r10791
2008-07-16 15:06:38 +00:00
Eli Barzilay
2628b28770 fix keyboard response
svn: r10790
2008-07-16 13:58:24 +00:00
Eli Barzilay
8cca45792c fix length use
svn: r10789
2008-07-16 11:28:09 +00:00
Eli Barzilay
ba78420428 Welcome to a new PLT day.
svn: r10788
2008-07-16 10:38:46 +00:00
Eli Barzilay
3111d2c147 fix keep-file -- it should be a render-element
svn: r10787
2008-07-16 10:32:57 +00:00
Matthew Flatt
cd6acfdd28 add noborder latex macro
svn: r10786
2008-07-16 01:04:01 +00:00
Eli Barzilay
3bd1e3615c remove only files
svn: r10785
2008-07-16 00:22:05 +00:00
Eli Barzilay
7de06dbbb3 remove all non-sxref files
svn: r10784
2008-07-15 22:46:31 +00:00
Matthew Flatt
b1e859a5c2 remove hyperlink border for doc icons in game titles
svn: r10783
2008-07-15 22:23:41 +00:00
Matthew Flatt
1c6281111b add render-element structure, and use it in the search doc
svn: r10782
2008-07-15 22:03:36 +00:00
Matthew Flatt
447698bce1 improve macros and docs for mpairs inside; change mrlib/gif to use scheme/base keywords
svn: r10781
2008-07-15 19:29:08 +00:00
Eli Barzilay
e4a66b0d11 this code now uses version/utils
svn: r10780
2008-07-15 19:15:45 +00:00
Stevie Strickland
0cd54c9e33 Merging in the following code:
svn merge -r10197:10773 http://svn.plt-scheme.org/plt/branches/samth/dots
svn merge -r10210:10737 http://svn.plt-scheme.org/plt/branches/samth/dots-tests

This adds non-uniform variable-arity polymorphism to Typed Scheme.

svn: r10778
2008-07-15 19:03:59 +00:00
Matthew Flatt
e3f3595625 fix version sanity check
svn: r10777
2008-07-15 18:50:48 +00:00
Eli Barzilay
7d1d8bf7fe some additional sanity checking
svn: r10776
2008-07-15 18:26:12 +00:00
Eli Barzilay
91fdcce770 Welcome to a new PLT day.
svn: r10774
2008-07-15 16:42:25 +00:00
Stevie Strickland
39c343ec18 Add filter-map to base-env.ss 2008-07-15 00:33:14 -04:00
Stevie Strickland
1fd8f6c2c3 This is too long for the paragraph, just separate it. 2008-07-15 00:10:04 -04:00
Eli Barzilay
3c38176bea typos
svn: r10771
2008-07-14 16:10:34 +00:00
Eli Barzilay
a0d4bc8393 removed leftovers
svn: r10770
2008-07-14 15:37:56 +00:00
Eli Barzilay
824fba5b26 restore unmodified version
svn: r10769
2008-07-14 15:36:51 +00:00
Eli Barzilay
e78acf374f remove changed code
svn: r10768
2008-07-14 15:33:32 +00:00
John Clements
d095fefb10 not-so-strongly-deprecated
svn: r10765
2008-07-14 15:13:12 +00:00
Stevie Strickland
8842fb9ea0 Add printing if a starred type was substituted in as well. 2008-07-14 09:42:45 -04:00
Carl Eastlund
8777a9211a Restored this-expression-source-directory dependency of planet this-package-... macros.
svn: r10763
2008-07-14 13:13:18 +00:00
Sam Tobin-Hochstadt
2866efd348 logging 2008-07-14 08:48:14 -04:00
Eli Barzilay
ebe6ba9792 Welcome to a new PLT day.
svn: r10761
2008-07-14 09:39:08 +00:00
Eli Barzilay
10e444a38a complete the switch to version/utils -- no need for any of this code
svn: r10760
2008-07-14 09:26:17 +00:00
Eli Barzilay
91eb4687da * use version/utils instead of a private copy of the same code
* removed planet/private/test.ss which was testing that code
* changed angle brackets used in syntax renderings (got lumped in this
  commit by mistake)

svn: r10759
2008-07-14 09:19:29 +00:00
Eli Barzilay
e4d9cfb557 Finish move to v4
svn: r10758
2008-07-14 09:01:44 +00:00
Eli Barzilay
fd569e49c4 Improved requires and a bit more.
svn: r10757
2008-07-14 08:15:55 +00:00
Eli Barzilay
19095ff14b * Added `version->integer'
* Added tests (mostly just that for now)
* Documented `version/utils'

svn: r10756
2008-07-14 07:56:18 +00:00
Stevie Strickland
e92c35d90c I'm not sure how best to add this as a hit for "rest argument(s)" without
actually putting that in the section title -- and truthfully, maybe it
should be, for those who aren't deeply versed in PL but know enough
Lisp/Scheme to ask for this.
2008-07-13 22:33:37 -04:00
Stevie Strickland
b991505297 Just tried the following program:
#lang typed-scheme

(require/typed
  srfi/1
  (fold (All (a b) ((a b -> b) b (Listof a) -> b))))

And got an error because (orig-module-stx) was #f.  I'm not sure whether
it should have been or not, but I've fixed up this to handle that case
(having it just use the normal error message when that's #f, as I'm not
sure whether the error message would be correct otherwise).

However, it might just be that (orig-module-stx) should have not been
#f, in which case this should be checked out.
2008-07-13 21:47:36 -04:00
Matthew Flatt
71a2648851 explain what a box is in the reference, and add cross references to the guide
svn: r10753
2008-07-14 00:05:37 +00:00
Matthew Flatt
7af044e2ce allow multiple uses of an .icns filein .filetypes
svn: r10752
2008-07-13 23:06:24 +00:00
Matthew Flatt
0f97bbcd9e improve regexp to see through certain groupings to pick a 'regmust' string to speed up match failures (PR 9602)
svn: r10750
2008-07-13 21:36:58 +00:00
Sam Tobin-Hochstadt
2456dcc18b Fix handling of mutable structs (setters != getters)
Allow use of #:mutable as define-typed-struct arg
Fix types of random andmap ormap
2008-07-13 17:31:58 -04:00
Stevie Strickland
4e7f527cb8 Put the beginnings of documentation here. 2008-07-13 16:50:05 -04:00
Stevie Strickland
d6f527a96f Starting to expand out the documentation in preparation of merging this
branch back to trunk.
2008-07-13 16:07:29 -04:00
Stevie Strickland
28bf6141b5 Add .scrbl files as DrScheme-handled files in OS X.
svn: r10746
2008-07-13 19:26:36 +00:00
Eli Barzilay
914a2b05f9 Welcome to a new PLT day.
svn: r10745
2008-07-13 17:13:55 +00:00
Eli Barzilay
4cd2614c21 scribble fixes -- nested @scheme and a few other similar problems
svn: r10744
2008-07-13 17:13:20 +00:00
Stevie Strickland
421df42d00 Switch these over to for/for*. Avoid the hash-copy calls as well, since
we either end up doing the traversal wholesale or throwing some of that
work away by removing items.
2008-07-13 12:14:15 -04:00
Matthew Flatt
e180452d8f adjust the way out.sxref is saved/loaded so that less is kept in memory across doc builds
svn: r10742
2008-07-13 15:51:31 +00:00
Eli Barzilay
5860cb892a fix problems in unbox doc (nested @scheme and shadowed box)
svn: r10740
2008-07-13 13:50:14 +00:00
Stevie Strickland
fdfc8d7b78 Add comment explaining what's going on here. 2008-07-13 06:14:23 -04:00
Stevie Strickland
e0bad1987d Was thinking of doing some cleanups here, but at the very least I can
get rid of this useless remove, since it's just going to overwrite it
anyway if we don't remove it first.
2008-07-13 06:12:06 -04:00
Stevie Strickland
05e54f0dfe I thought I checked this in, but apparently not! Oops. 2008-07-13 04:35:54 -04:00
Stevie Strickland
9f6427ac34 This makes the change mentioned in the log message for r10735 (the previous
revision). So what we'll get here is the following:

Dotted + Dotted = Dotted (from the first case)
Dotted + x      = x      (since x refers to a free use of the dotted var)
x      + Dotted = x      (same)

I think this is correct.
2008-07-12 22:33:04 -04:00
Stevie Strickland
f3eb315425 I'm not sure if this is correct, but this handles the cases where we're
instantiating dotted pre-types where the bound is _not_ free in the
pre-type base.  I checked in a test case for this, that's something like:

(inst (plambda: (a ...) [ys : (Number ... a -> Number)] (apply + ys))
      Integer Boolean String)
 =
(Number Number Number -> Number)

These changes introduce no extra test failures, and we really have to
account for the bound here, and really even if the variable _does_
appear free within the pre-type base, it shouldn't be counted as a
"regular" variable outside of that scope.

Actually, maybe Dotted should behave like Constant, where it just
propogates until there's a separate free use that we're merging with,
in which case we just treat it like the free use (which will
eventually get fix-bound applied to it anyway).  I think I'll make
that change next.
2008-07-12 22:30:00 -04:00
Stevie Strickland
9b289bea27 Actually, I want to be careful with this.
For example, we don't want the result type of the function to be free,
so it's more like:

G, D + {a}, S |- f : (t1 t2 -> t)
G, D, S |- t

(i.e. {a} not free in t)

Hmm.
2008-07-12 22:20:10 -04:00
Stevie Strickland
274814e6aa There's no reason we can't allow foldl on a rest arg, as long as the types
match up appropriately.  Let's do it!
2008-07-12 22:13:44 -04:00
Stevie Strickland
ab2360384f We have to be careful here -- for example, one of the test cases was failing
because the last thing in the instantiate was a function type, which is
a cons.  Look for a cons whose cdr is an identifier.
2008-07-12 22:11:23 -04:00
Eli Barzilay
bdb4f18b21 Welcome to a new PLT day.
svn: r10731
2008-07-13 01:29:42 +00:00
John Clements
e34d52fbfe fixed consistency
svn: r10730
2008-07-12 23:02:21 +00:00
Danny Yoo
47bed6d1e7 Added port name source to the input port returned by framework text's get-in-port; this addresses the bug of the source highlighting not showing when the source stx comes from interaction window.
svn: r10729
2008-07-12 22:46:47 +00:00
Mike Sperber
af71ab0e4f Synch with latest.
svn: r10728
2008-07-12 16:00:29 +00:00
Matthew Flatt
01691d9240 adjust the way framework and tools docs extract documentation
svn: r10727
2008-07-12 15:37:31 +00:00
Kathy Gray
c459978d86 Parser bug fix.
++ on fields and arrays bug fix.

svn: r10726
2008-07-12 14:29:23 +00:00
Matthew Flatt
eff5666a39 fix HTML rendering of a table at start of itemization
svn: r10725
2008-07-12 12:28:05 +00:00
Eli Barzilay
1a64ab3af4 Better layout for the capabilities doc
svn: r10724
2008-07-12 08:20:19 +00:00
Eli Barzilay
bf86c29bb7 fixed some latex leftovers, and convenient way to make headers and include-extracted
svn: r10723
2008-07-12 07:07:19 +00:00
Eli Barzilay
7c7bc0fd06 added a space after mathimpl/mathspec header, so it can be used independent of an empty line at the beginning
svn: r10722
2008-07-12 07:02:50 +00:00
Eli Barzilay
92440b68eb this file was not used, and was bogus (referred to the "big" collection)
svn: r10721
2008-07-12 02:06:53 +00:00
Eli Barzilay
5726d77d87 fix search box path when there is no PLT_Root cookie
svn: r10720
2008-07-11 20:39:18 +00:00
Eli Barzilay
fbb80f7389 Welcome to a new PLT day.
svn: r10718
2008-07-11 10:02:50 +00:00
Eli Barzilay
bb562f9ee4 * some fixes to make-search.ss
* rename search-context.html to .htm to avoid being deleted by
  setup/scribble
* added context to help/search interface

svn: r10717
2008-07-11 09:50:29 +00:00
Eli Barzilay
dc5211f363 improve status message clearing for input fields ("" is false in javascript)
svn: r10716
2008-07-11 08:48:53 +00:00
Eli Barzilay
f44a06a4da Added an `hq' argument for a pre-filter argument, parsed on a separate
page instead of in index.html, so that it can be removed from the url
to avoid resetting the cookie on every refresh.

svn: r10715
2008-07-11 08:40:11 +00:00