Paul Ojanen
e6ffbf2501
Improve reference to code value
...
Did "temp7" used to print out as "???"? I would have understood this more quickly if the reference to "temp7" had been more clear.
2015-03-14 17:20:02 -04:00
Paul Ojanen
51079f62ae
grammar fix
2015-03-14 17:19:52 -04:00
Joseph Irwin
6b9a50c82d
Fix typo in TRG 21.2.1
2015-03-14 17:19:17 -04:00
Joseph Irwin
95a8dfb5a7
Fix typo in TRG 16.2.5
2015-03-14 17:19:15 -04:00
Matthew Flatt
eca0c18730
fix at-exit close handling for non-main place
...
This bug has been causing problems since the change to the `math`
library to register mpfr_free_cache() only once per place.
2015-03-13 12:30:31 -06:00
Matthew Flatt
4af6770ed4
initialize stack variable to make Valgrind happier
...
Although failing to initialize probably isn't a bug, fulling
initializing a buffer passed to epoll_ctl() seems like a good
idea.
2015-03-13 12:30:31 -06:00
Matthew Flatt
2e813c2aee
GC: fix test for old-page compaction
...
Missing indirection found via memcheck
2015-03-13 12:30:31 -06:00
Matthew Flatt
7f5ed17222
remove special-casing of OS X and Linux for thread stack size
...
There doesn't seem to be a reason for the special case other than
history.
2015-03-13 12:30:31 -06:00
Sam Tobin-Hochstadt
a5be431a74
Add some missing history annotations.
...
Thanks to @mflatt for pointing this out.
2015-03-13 10:19:58 -04:00
Asumu Takikawa
e1bfebe7b8
Fix doc typos for file/resource
2015-03-12 17:32:14 -04:00
Sam Tobin-Hochstadt
2ce9b40a54
Add match-letrec-values
.
...
Implemented by J. Ian Johnson.
Closes #762 .
2015-03-11 19:00:12 -04:00
J. Ian Johnson
af12f855ba
Expose the mk-rhs function normalize-definition uses.
...
I found I wanted this to make a define/stub macro that errors giving the defined identifier:
(define-syntax (define/stub stx)
(syntax-case stx ()
[(_ header)
(let-values ([(id mk-rhs body) (normalize-definition/mk-rhs stx #'lambda #t #t #f)])
#`(define #,id #,(mk-rhs #`(error '#,id "TODO: stub"))))]))
Closes #508 .
2015-03-11 17:44:20 -04:00
Evgeny Odegov
7767ac64fd
Remove forgotten parse-id
identifier
...
Looks like, it should be removed, because there is no
such identifier exported from racket/match/gen-match
(a parameter of `define-forms` now).
Closes #808 .
2015-03-11 17:23:16 -04:00
Leif Andersen
f7db183ab8
Fix typo in find-files doc.
...
Closes #890 .
2015-03-11 17:22:52 -04:00
Sam Tobin-Hochstadt
2ccd4b1a95
Describe match
scoping behavior more precisely.
2015-03-11 16:15:17 -04:00
Robby Findler
33d653113d
remove some old name-management code from contracts made obsolete by chaperones
...
closes PR 11222
2015-03-09 21:23:03 -05:00
Matthew Flatt
332b380ca2
repair impersonator-porperty predicate and accessor
...
Repair for b923269569
, helpfully reported again by Scott
2015-03-09 15:33:41 -06:00
Matthew Flatt
5749d4080c
add tracking of require
and provide
subforms
...
Use `syntax-track-origin` and 'disappeared-use properties to
communicate `require` and `provide` form bindings to tools such as
Check Syntax.
Relevant to PR 13186
2015-03-09 15:28:08 -06:00
Matthew Flatt
59777ca17a
increase time thread's stack size
...
On 64-bit FreeBSD 10.1, 4k is too small.
2015-03-09 13:33:19 -06:00
Eric Dobson
9c014b61e6
Make for/fold/derived check the values in the body in the last clause.
...
Closes PR 13285.
2015-03-09 12:48:49 -06:00
Eric Dobson
acd1fe7f8d
Make define-cpointer-type declare its function with an inferred-name.
...
Closes PR 12296.
2015-03-09 12:45:35 -06:00
Eric Dobson
5895eabad1
Add break-parameterization?.
...
Closes PR 11966.
2015-03-09 12:40:08 -06:00
Matthew Flatt
b923269569
make impersonator properties sensitive to prop:impersonator-of
...
When a structure type has `prop:inpersonator-of`, follow it
when attemptng to access imperonator properties.
This change fixes a problem with `impersonate-procedure` as
reported by Scott Moore.
2015-03-08 19:27:11 -06:00
Matthew Flatt
092f6bb7e1
add object-or-false=?
2015-03-05 14:27:17 -07:00
Matthew Flatt
c458cd9799
remove over-eager namespace cleanup in the compiler/expander
...
The compiler/expander attempted to clear out references in a namespace
used only during macro expansion, but it's possible for references to
be retained (via unusual macros), so get rid of the broken attempt to
help the GC.
2015-03-05 11:21:25 -07:00
Robby Findler
0c2ca96ad2
move sequence/c into the part of the docs for racket/sequence
2015-03-05 08:26:54 -06:00
Alexis King
30610babe3
Make sequence/c first-order check more specific
...
closes PR 14983
2015-03-05 07:36:38 -06:00
Asumu Takikawa
ab68a4dc38
Add option to ignore local names in opaque class/c
2015-03-04 11:54:56 -05:00
Asumu Takikawa
0fce958268
Reduce space usage for object/c like instanceof/c
...
Reuse the instanceof/c projection for object/c to get
the space saving higher-order wrapping behavior. Also
implement a stronger check for object/c.
2015-03-04 11:54:56 -05:00
Matthew Flatt
6b81275af4
fix use of the wrong val
in contract optimization
2015-03-03 08:07:01 -07:00
Robby Findler
efee5c4581
move sequence/c into racket/sequence
2015-03-02 22:14:32 -06:00
Matthew Flatt
16a9f86f90
raco exe: preserve lib
form of runtime submodule references
...
Otherwise, executable creation can fail because a module is referenced
both through a `lib` path and through a filesystem path.
2015-02-27 12:27:27 -07:00
Matthew Flatt
e345e44e00
define-runtime-module-path-index: delay resolution of module path
...
Since a module path index is being generated, a module path index
for the referencing module can be used, too, preserving relative
references for as long as possible.
2015-02-27 12:26:19 -07:00
Matthew Flatt
04ce921e8f
fix optimize problem
...
Gustavo's tests in de3fa9a855
illustrate the problem. The solution
is simply passing 1 for `optimized_rator` to optimize_for_inline().
Additional changes generalize optimize_for_inline() a little (although
that generality doesn't seem to be useful at the moment) and collapse
some variables that represent the same value.
2015-02-27 10:01:09 -07:00
Gustavo Massaccesi
de3fa9a855
Tests for correct use of reverse in procedure? reduction
2015-02-27 08:32:27 -07:00
Matthew Flatt
6cf28d55cd
fix memory-management problem in putenv
...
Problem reported by Sergey Pinaev: free(oldbuffer) should be called
AFTER putenv(buffer).
Also, respond correctly to an (unlikely) putenv() failure.
2015-02-27 08:18:13 -07:00
Asumu Takikawa
f43096b123
Export an alternative object/c constructor
...
This functional constructor allows runtime construction
of object contracts in extension libraries.
2015-02-24 17:18:40 -05:00
Asumu Takikawa
5dc6be1a17
Allow chaperones on class methods
...
This allows libraries to add metadata to methods in the form
of chaperone properties which can be read by contracts on
methods.
2015-02-24 17:17:32 -05:00
Matthew Flatt
c5e9f42cee
adjust use of TARGET_OS_IPHONE
in C preprocessing
...
Some Mac headers `#define` it as 0, so depend on its value instead
of its definedness.
2015-02-23 08:29:27 -07:00
Ryan Culpepper
80e4894597
fix mandatory-after-optional checking
...
Also fix tests for attribute change.
2015-02-22 21:51:49 -05:00
Leif Andersen
2a583988cb
Use #f for no default or keyword (opposed to #'#f)
2015-02-22 21:51:48 -05:00
Leif Andersen
551704ed4a
Added tests for function-header.
2015-02-22 21:51:48 -05:00
Leif Andersen
3d567f643c
Puts following limitations on args:
...
* no duplicate names
* no duplicate keywords
* no mandatory argument after optional argument
2015-02-22 21:00:10 -05:00
Leif Andersen
2e9065e610
Use function-header library in racket/match.
2015-02-22 21:00:10 -05:00
Leif Andersen
ca365d17c1
Add syntax/parse/lib/function-header library.
2015-02-22 21:00:10 -05:00
Matthew Flatt
af6c39611d
configure: initial support for an iOS build
...
A new `--enable-ios=<sdk-path>` flag in combination with `--host=...`
sets up the right compiler options for compiling the Racket runtime
system as a framework to use in an iOS application.
I don't know whether the resulting framework actually works, but
compiling and linking is a step forward.
2015-02-22 08:45:40 -07:00
Matthew Flatt
52ca80a7ab
search document: rint error without aborting on bad index entry
...
Survive a broken link in the index by complaining via `log-error`
and continuing.
2015-02-20 13:34:09 -07:00
Tobias Grelsson
a5d506a3a4
add http method "options"
2015-02-19 10:30:19 -07:00
Javier Olaechea
be6e1a4045
typo in sequences.scrbl
...
Fix return values in the documentation of stream-empty?
2015-02-19 10:29:58 -07:00
Matthew Flatt
aae35ea3ac
fix stream/c
using generics chaperone property support
2015-02-19 09:56:50 -07:00