Commit Graph

38480 Commits

Author SHA1 Message Date
Eric Dobson
82218f33bd Fix docs on thread-resume-evt
It returns `thd` as in the previous sentence, not itself.
2015-06-20 21:43:34 +08:00
Tony Garnock-Jones
4b2c9cfbcc Add exn->string, following the function of the same name in the web-server. 2015-06-20 21:43:33 +08:00
Gustavo Massaccesi
502575b641 Typos in docs of raco setup 2015-06-20 21:43:33 +08:00
Alexis King
c79f646545 Add stream* to complement stream 2015-06-20 21:43:27 +08:00
Jay McCarthy
33717eebaa Fixing empty request data 2015-06-18 08:41:18 -04:00
Vincent St-Amour
97827acba6 Fix name of command in docs. 2015-06-11 14:03:16 -05:00
Matthew Flatt
bf12a2bdd7 bump version number
Should have bumped it with the xform changes.
2015-06-07 09:03:01 -06:00
Matthew Flatt
d95200f19a remove setting of socket send buffer size
Modern OS configurations likely use an even larger buffer size, and
making it small can have substantial negative performance effects
(e.g., with PostgreSQL over TCP).
2015-06-06 10:50:44 -06:00
Matthew Flatt
ed4bbcd4ad xform: further parsing corrections
Although the previous commit was enough to make the build work, it
wasn't the right fix. Simplify and correct parsing and printing.
2015-06-06 10:13:33 -06:00
Matthew Flatt
26e1dd050d xform: fix character parsing
Allow L'\x7f`, for example.
2015-06-06 09:41:39 -06:00
Matthew Flatt
4deacddde8 attempt to fix xform problem
Mark some pointer arithmetic as ok.
2015-06-06 09:21:23 -06:00
Matthew Flatt
cf8c3c9cfe adjust auto-configuration of CPPFLAGS vs. CFLAGS
When AC_PROG_CC picks GCC, move its selection of CFLAGS
into CPPFLAGS, so that preprocessing will have the same
optimization and debugging flags as compilation.

Arguably, AC_PROG_CC plus AC_PROG_CPP should do that
soemhow, but it's understandable that the autoconf
implementers didn't cover the possibility of
preprocessing that changes with the optimization level.

Closes #945
2015-06-06 07:55:14 -06:00
Sam Tobin-Hochstadt
fc6ead4ac2 Improve match compilation of ? and fix bugs.
- Coalesce repeated use of the same predicate.
- Fix scoring of Exact patterns, and scoring generally.
- Use `OrderedAnd` where needed.
- Guarantee that `and` patterns match in order.
- Thread bound variable information properly in GSeq compilation.
- Warn when variables are used non-linearly with `...`
  (making this behave properly was not backwards compatible).

Closes #952, which now runs in <1ms and make it a test case.

Also add margin note about `?` patterns and multiple calls.
2015-06-05 18:08:33 -04:00
Matthew Flatt
e1e89adf62 adjust Active-X example to work with newer IE 2015-06-05 09:15:25 -06:00
Alexis King
35c3554343 Make pair accessor shorthand examples properly link to id docs 2015-06-04 06:48:18 -06:00
Matthew Flatt
4ba3adf11b document raco read 2015-06-04 06:48:18 -06:00
Alexis King
495784ed49 Fix contract error in in-vector documentation example 2015-06-04 07:38:57 -05:00
Matthew Flatt
3da4b863cf add raco read 2015-06-03 11:53:11 -06:00
Alexis King
391a672bf6 Fix the first order check on async-channel/c 2015-06-03 12:19:28 -05:00
Matthew Flatt
0bed8e8928 fix command-line docs for flags that start "--"
Closes PR 15080
2015-05-31 06:06:22 -06:00
Sam Tobin-Hochstadt
b4c52698c0 Increase timeout more. 2015-05-27 12:56:52 -07:00
Sam Tobin-Hochstadt
c8ff0c8b18 Fix timeout for core tests. 2015-05-27 13:51:09 -04:00
Robby Findler
53f03d73f4 add more accurate timeouts 2015-05-27 09:35:05 -05:00
AlexKnauth
2b0ba444c0 and/c: use projections more on flat-contract arguments 2015-05-26 20:39:41 -05:00
Sam Tobin-Hochstadt
00893cbd3f Avoid timeouts now that raco test enforces them. 2015-05-26 12:17:58 -04:00
Sam Tobin-Hochstadt
0acb35ddbb Try using cover for code coverage. 2015-05-26 12:13:22 -04:00
Spencer Florence
2de9cf42eb fix default timeout 2015-05-26 06:39:46 -06:00
Sam Tobin-Hochstadt
4a82b01845 Merge pull request #2 from florence/fix-travis-display
Fix display missing errors on travis
2015-05-20 16:03:50 -04:00
Sam Tobin-Hochstadt
9de3f8b87f Depend on new "plai-lib" pkg. 2015-05-20 15:58:10 -04:00
Robby Findler
78ecccc2b1 fewer quotes 2015-05-19 11:17:17 -05:00
Alex Knauth
d30b90cba3 contract docs: explain positive and negative as server and client 2015-05-19 11:14:13 -05:00
Robby Findler
a9ac3be43c add missing default value 2015-05-18 20:35:36 -05:00
Matthew Flatt
235bd4de8f raco setup: fix shared-file cleanup on uninstall
The tidying step of `raco setup` looked for the "shares.rktd"
receipt file in the wrong directory.
2015-05-18 18:55:18 -06:00
Matthew Flatt
7067559ac7 raco setup: fix reporting of stderr output
Handle was mangled in commit 17275b946a.
2015-05-18 18:08:44 -06:00
Gustavo Massaccesi
542b960d12 Tests for 16ce8fd90d 2015-05-16 22:32:05 -03:00
Matthew Flatt
aaa289c7b6 tests and repairs for early checks
Also, avoid "early" checks when recurring, just in case.
2015-05-16 17:15:22 -06:00
Matthew Flatt
5aa7ba6f30 raco pkg install: check for installed before catalog, etc.
Add an early check for whether a package is installed before
doing more time-consuming work, such as consulting a catalog.
2015-05-16 16:44:46 -06:00
Matthew Flatt
07b8007edb raco pkg: better error message for bad Git URL 2015-05-16 16:26:55 -06:00
Matthew Flatt
9272781d6d git-checkout: add #:initial-error argument 2015-05-16 16:23:16 -06:00
Matthew Flatt
c4401313d4 when a directory URL fails, suggest a ".git" extension 2015-05-16 16:23:16 -06:00
Matthew Flatt
88551aa8c6 git-checkout: add #:initial-error argument 2015-05-16 16:22:08 -06:00
Matthew Flatt
aaef69f40a raco pkg update: check already installed, first, in given scope
Before consulting a catalog, etc., check whether a given package name
is currently installed. The new check applies only if a scope is
specified, since scope inference implies the check already.
2015-05-16 15:49:34 -06:00
Matthew Flatt
12308e3f17 clarify in docs that threads provide sequential consistency 2015-05-16 15:19:13 -06:00
Matthew Flatt
32a2ca6eff doc clarification on output functions and mutable arguments 2015-05-16 15:04:32 -06:00
Matthew Flatt
298feb1bb6 fix problem with expand and local-require
When `local-require` is used in a non-phase-0 position and it is
`expand`ed (as opposed to compiled directly), then the generated
`#%require` form had the wrong binding phase.

Merge to v6.2
2015-05-15 10:44:20 -06:00
Gustavo Massaccesi
6c2888937a Make (make-vector <number>) omittable
In many use cases the length of the vector is fixed and know,
so we are sure that make-vector will not raise an error and
we can recognize these expressions as omittable and drop
them when the result is ignored.
2015-05-14 16:36:35 -03:00
Gustavo Massaccesi
2be6eb9570 Mark the result of more procedures as vector?
The result of some procedures is a vector, but they are not omittable
because they may rise an error. With the recent changes of the
predicate reduction these cases are correctly handled.
2015-05-14 16:36:21 -03:00
Matthew Flatt
39fda5ec9e keep ".LOCKpkgs.rktd" for source install
Closes PR 15062
2015-05-14 08:45:25 -06:00
Asumu Takikawa
c2cd44c928 Implement class sealing/unsealing
Adds a sealing and unsealing function to attach (or detach)
seals onto a class via impersonator properties. Since these
properties override, they do not accumulate wrappers.

Calling seal multiple times will still accumulate multiple seal
values inside the property.

A sealed class cannot be instantiated and a subclass may not
add class members that match any of the sealed names in its
sealed parent.

These functions are intended for use by TR's `sealing->/c`
contract, but are parameterized over checking functions and
could be used for other purposes.
2015-05-13 13:21:51 -04:00
Mark Lee
e4a48723b3 Fix up documentation on count. Count is more similar to filter-map than it is to filter since it can accept multiple lists. 2015-05-13 11:03:22 -04:00