Commit Graph

33578 Commits

Author SHA1 Message Date
Asumu Takikawa
7eb94179e7 Adjust open-input-file type for new keyword 2014-05-04 12:13:06 -04:00
Matthew Flatt
51614ab0b2 raco pkg config: add doc-open-url key 2014-05-04 09:32:00 -06:00
Matthew Flatt
33ad485081 setup/unixstyle-install: preserve all other config entries
Preserve any configuration entry that is not explicitly set,
as opposed to keeping only entries that are known to the
script.
2014-05-04 09:32:00 -06:00
Matthew Flatt
a8105dc0e3 config: add doc-open-url configuration
This configuration option is a better way to redirect documentation
access (at a place like NEU) than patching "search.rkt".
2014-05-04 09:31:59 -06:00
Matthew Flatt
47bc57a7e2 distro-build: fix Windows client setup 2014-05-04 08:53:10 -06:00
Robby Findler
974ee9df75 fix contract-stronger for struct/dc with #:inv clauses 2014-05-03 22:22:10 -05:00
Robby Findler
abd445839d add missing @history[] 2014-05-03 22:22:10 -05:00
Matthew Flatt
b8cc111e92 scribble/manual: clicking on a section title shows linking information
Thanks to Matthew Butterick for help and advice.
2014-05-03 21:05:26 -06:00
Matthew Flatt
b420967b02 racket/gui: adapt text-editor-load-handler to missing-module exception
Raise `exn:fail:{filesystem,syntax}:missing-module` instead of
`exn:fail:filesystem` when a module file does not exist.
2014-05-03 20:06:03 -06:00
Matthew Flatt
9cd528ca08 racket/base: add #:for-module? argument to open-input-file
Exposes a feature that is used by the default load handler to
raise `exn:fail:{syntax,filesystem}:missing-module` exceptions.
2014-05-03 20:05:59 -06:00
Matthew Flatt
cb322e939a pkg/lib: add #:catalogs & #:set-catalogs? args to pkg-catalog-update-local
These additions allow the GUI package manager to use `pkg-catalog-upload-local`
instead of having a its own copy of the same opertation. Not surprisingly,
with two copies of the code, the `pkg/lib` copy was missing support for tags.
2014-05-03 17:39:06 -06:00
Eric Dobson
d68a1ebc35 Split out tc-expression to a separate file. 2014-05-03 15:19:56 -07:00
Eric Dobson
6d841adb9a Make external check be on an #%expression. 2014-05-03 14:44:36 -07:00
Eric Dobson
6cd79b6b7e Change ascription to annotate the #%expression.
Also remove the now useless type-annotation tests.
2014-05-03 14:18:55 -07:00
Eric Dobson
48ca13f26d Remove obsolete special casing for ann and inst. 2014-05-03 14:18:55 -07:00
Eric Dobson
32fc2b99b8 Cleanup type-ascription. 2014-05-03 14:18:55 -07:00
Eric Dobson
49b983ca2e Add #%expression around annotations. 2014-05-03 14:18:55 -07:00
Eric Dobson
b57d84dd90 Remove check for type-ascription property. 2014-05-03 14:18:54 -07:00
Eric Dobson
7a7809cdfd Move from type-ascription-property to add-ann. 2014-05-03 14:18:54 -07:00
Eric Dobson
4ac26e919a Make standalone annotation use #f instead of #'#f. 2014-05-03 14:18:54 -07:00
Sam Tobin-Hochstadt
31ccd1ba7c Typed Racket history for 6.0.1.
Please include in release.
2014-05-03 13:38:49 -04:00
Robby Findler
e51ba9b565 add invariant clauses to struct/dc (keyword #:inv) 2014-05-03 10:31:09 -05:00
Matthew Flatt
afe06ed070 racket/gui: fix for Mac OS X 10.6
Closes PR 14482
2014-05-02 15:14:50 -06:00
Lei Wang
08718a4e2f New indentation rules implemented and fixed typo and bug
1) Indentation rules to to count paren(indentation):
Return number of parenthesis till the outmost “@“ annotation,
if the there is "[", we check if it has "@" right after if and at the
same line, if so, we add the number of characters between "[" and
the beginning of the line it appears
2) line push back rules:
we do not push back lines begin with “@“ that
a) has keyworld "codeblock" or "verbatim" after
b) contains “[” and multiple lines before the closing “]”
2014-05-02 14:32:58 -05:00
Matthew Flatt
18531772e3 setup/getinfo: shortcut for simple modules
When an "info.rkt" module is simple enough, build a hash table
directly instead of compiling and loading the module.
2014-05-02 12:30:31 -06:00
Matthew Flatt
573c127002 make pkg-links: shortcut for no-change case
Taking a shortcut skips dependency and module-declaration checks, but
that job is now covered by `raco setup`.
2014-05-02 12:30:31 -06:00
Matthew Flatt
b25e9fd0d4 raco setup: check package version deps and multiple module declarations
The package dependency checking process was already gathering all the
reelvant information, or nearly all of it, so it's relatively cheap to
add the checks.
2014-05-02 12:30:31 -06:00
Matthew Flatt
33547d554a pkg/lib: add #:versions? argument to extract-pkg-dependencies 2014-05-02 12:30:31 -06:00
Eric Dobson
ee64a15265 Make inst mark the #%expression. 2014-05-02 09:39:18 -07:00
Max New
91c3a3a6d4 Fix bugs in tuple reconstruction and slice/e 2014-05-02 06:16:12 -05:00
Max New
91627bc895 Partially implemented mixed fin/inf list/e 2014-05-02 06:16:12 -05:00
Max New
7032acc066 Have cons/e use list/e and make explicit when using finite cons/e
Also add to-stream and make cons/e tests less specific
2014-05-02 06:16:12 -05:00
Max New
f309685999 nats/e -> nat/e 2014-05-02 06:16:11 -05:00
Matthew Flatt
68421f05dd places: improve comments on msg_chain treatment 2014-05-01 19:13:55 -06:00
Matthew Flatt
6d4c25a322 places: fix gc of place channels containing place channels
The bug was a kind of typo: using `&` where `%` was intended to
implement a counter wraparound.

This bug is an even more likely candidate to be resopnsible for the
occassional crashes from the DrRacket easter-egg test.
2014-05-01 19:13:55 -06:00
John Clements
4c6d5be9c3 note on ordering of discrete-dist-probs and discrete-dist-values 2014-05-01 15:33:38 -07:00
Vincent St-Amour
80d1631af8 Fix expected source location for improved location preservation. 2014-05-01 18:04:35 -04:00
Asumu Takikawa
947343c63f Add an explanation of the test case for PR 14389 2014-05-01 16:24:42 -04:00
Asumu Takikawa
06bd5d36af Don't track syntax with unknown source locations
Avoids recording original syntaxes with a source or position
of #f, since these are usually intermediate syntax pairs that
don't correspond to actual source syntax.

For example, in a (#%module-begin . rst) in a submodule, the
underlying pair may contain an identifier and a cdr that is a
syntax object. That cdr will have #f source and position and also
does not correspond to any source syntax.

Leaving such syntax objects in the table means there are spurious
hits later when a syntax object with an unknown source location
is looked up.

Closes PR 14389
2014-05-01 16:02:21 -04:00
Vincent St-Amour
baef0220f2 Export analysis function for use by the feature-specific profiler. 2014-05-01 11:54:09 -04:00
Vincent St-Amour
fc512ba78d Instrument pattern matching for feature-specific profiling. 2014-05-01 11:54:09 -04:00
Vincent St-Amour
5502bf5b1b Instrument TR casts / asserts for feature-specific profiling. 2014-05-01 11:54:09 -04:00
Vincent St-Amour
584e494d5a Instrument send dispatch for feature-specific profiling. 2014-05-01 11:54:09 -04:00
Vincent St-Amour
b474ba765e Add instrumentation to profile generic sequence overhead. 2014-05-01 11:54:08 -04:00
Vincent St-Amour
9d7b6a1c89 Instrument the opt/kw protocol for feature-specific profiling.
That code is only executed for higher-order uses of these functions,
otherwise protocol gets optimized away.
2014-05-01 11:54:08 -04:00
William J. Bowman
b76b2aa638 Fixed uses of free-identifier=? guards
free-identifier=? expects, contrary to documentation, a syntax?, causing
contract errors. (and (identifier? ...) ...) solves this.

[Since the function is called only on fully expanded forms, it doesn't
 look like the `identifier?` tests can ever fail, but it still seems
 sensible to have them. -Matthew]
2014-05-01 06:18:24 -06:00
Matthew Flatt
61d717fd07 file/unzip: change to call-with-unzip and call-with-unzip-entry
Use `call-with-` instead of `with-`, since it's a function instead
of a syntactic form. (This is a weak convention, but one to try to
follow with new functions and forms.)

Fix up the contracts and change the documentation to match the
usual style.

Create the temporary directory in `(find-system-path 'temp-dir)`
instead of the current directory.
2014-05-01 06:18:24 -06:00
simmone
f592cf6e35 file/unzip: add help func with-unzip with-unzip-entry 2014-05-01 06:18:24 -06:00
Robby Findler
351545a10a add missing file 2014-05-01 06:40:28 -05:00
Eric Dobson
4766a94470 Make inst not do crazy splitting. 2014-05-01 00:00:50 -07:00