Commit Graph

27284 Commits

Author SHA1 Message Date
Matthew Flatt
3c253b0e2b raco pkg': treat ".plt" format consistently with raco setup -A'
An old package intended for use with `raco setup -A' can be
installed with `raco pkg install'.

A package created with `raco pkg create --format plt' can be
installed with `raco setup -A', although it could leave behind
weird "MANIFEST.rktd" and other files in the "collects" directory.

An old package created with `raco pkg create --format plt' still
can be used with `raco pkg install', although not with `raco setup -A'.

The change from previous 'raco pkg' behavior is that package content
now claims to be in a "collects" directory that is
installation-relative, and unpacking redirects "collects" to the
package-staging area. At the same time, unpacking still works the
same as before on ".plt" archives that are not installation-relative.
2012-11-29 06:27:38 -07:00
Matthew Flatt
abe4c1143f make raco pkg install' call raco setup' via `setup/setup'
Instead of using `system'.
2012-11-29 06:27:38 -07:00
Matthew Flatt
88a729df56 setup/setup: a keyword-based API for running `raco setup'
Mostly moves the implementation out of `setup/plt-single-installer'
into a more generic format.
2012-11-29 06:27:38 -07:00
Matthew Flatt
610587bf6e raco pkg install: change inference of package sources
A file package source is inferred only if suitable file suffix is
present, etc.
2012-11-29 06:27:37 -07:00
Ryan Culpepper
2f93e69b13 make file runnable on non-win32 2012-11-29 00:55:11 -05:00
Ryan Culpepper
7775a30a7f fix contract mistakes 2012-11-29 00:47:54 -05:00
Jens Axel Søgaard
6e60fb0a1d Fixed popcount name in docs 2012-11-28 23:14:52 +01:00
Ryan Culpepper
c64c325a55 remove redundant statement resets 2012-11-28 17:09:25 -05:00
Ryan Culpepper
0ac903f527 work around missing _v2 functions on old libsqlite3 versions
Missing sqlite3_next_stmt is still a problem, but harder to work
around.
2012-11-28 17:08:53 -05:00
Jens Axel Søgaard
07b8507ce9 Rename to bit-vector-popcount 2012-11-28 22:04:25 +01:00
Ryan Culpepper
fc4010d327 added todo list 2012-11-28 15:11:31 -05:00
Ryan Culpepper
9a07eed458 update docs 2012-11-28 15:11:03 -05:00
Ryan Culpepper
dc2a63182d remove error checks obviated by contracts 2012-11-28 15:06:06 -05:00
Ryan Culpepper
994f2998de added contracts 2012-11-28 15:06:06 -05:00
Ryan Culpepper
3d37eb4ae4 untabify, #lang 2012-11-28 15:06:06 -05:00
Ryan Culpepper
438f906fb9 reset statement after use 2012-11-28 15:06:06 -05:00
Ryan Culpepper
7b0a13bf74 load root certificates from windows system certificate store
Also, some recently added functions and parameters are renamed for
greater generality ("root-certificates" -> "verify sources").
2012-11-28 15:06:06 -05:00
Robby Findler
97454b6e55 guard use of exn-message
closes PR 13316
2012-11-28 13:17:41 -06:00
Robby Findler
253ae42558 clarify what 'displayed' is programmatically (a call to get-admin) 2012-11-28 13:17:41 -06:00
Robby Findler
e7c6222142 improve the 'method' syntax error so it gives a hint which argument is which 2012-11-28 13:12:28 -06:00
Robby Findler
ad2e8ac54e fix error check on the result of place-children
The main problem is that it asked exact? on an unknown
value and exact? works only on numbers.

But since I was here, also try to clarify the error message a bit.
2012-11-28 10:54:34 -06:00
Robby Findler
52d0b7e352 Possible fix for error raised by build-rectangle
When switching tabs while an on-reflow initiated callback
might still be running can lead to bogus information
coming back from position-locations, as the editor loses
its admin.

So, we just give up recomputing the rectangles when the
admin is gone and, for now, expect that there will be
another on-reflow call when the admin comes back that'll
restart the process (not sure that this is guaranteed tho)
2012-11-28 10:54:34 -06:00
Matthew Flatt
f847b76ad1 win32: make "build.bat" work with VCExpress
Closes PR 13231
2012-11-28 05:42:05 -07:00
Matthew Flatt
46fb91cfe4 update pre-built binary path for a win32 patch
Also, describe the patch in the Windows build notes.

This change increases access to symbol fonts, though not in a
completely consistent and portable way. See the closed problem
report for more information, as well as a 24-NOV-2012 post
on the Racket mailing list:
 http://lists.racket-lang.org/users/archive/2012-November/055141.html

Closes PR 13300
2012-11-28 05:39:46 -07:00
Matthew Flatt
3aa74f2a84 slideshow: fix import that changed the style of legacy libraries 2012-11-28 05:39:45 -07:00
Neil Toronto
96d1400654 Renamed functions
* bernoulli -> bernoulli-number
 * farey -> farey-sequence
 * fibonacci/mod -> modular-fibonacci
 * order -> unit-group-order
 * orders -> unit-group-orders

Documented `make-fibonacci' and `make-modular-fibonacci'

Reworked text about loading external libraries in docs for `math/bigfloat'

Removed type aliases like Z, Q, Prime (I like them, but TR was printing them
in unexpected places like array return types)
2012-11-27 22:23:42 -07:00
Robby Findler
a5961dcf36 make the drr log follower show its results in a separate window 2012-11-27 22:56:44 -06:00
Neil Toronto
6f1ffecc23 Stubbed out missing math/array' and math/statistics' doc entries to
clean up build

Moved `float-complex?' and `number->float-complex' to `math/base',
documented them

Documented `flexpt1p'

Removed `samples->immutable-hash' (not covariant anyway; not going to
use hashes)
2012-11-27 18:05:38 -07:00
Asumu Takikawa
3e81924f84 Fix nav separator for Opera
Commit 8653bc6792 caused
the doc navigation to render oddly on Opera due to how
it handles  . This commit retains the spacing
for text browsers, but fixes the navigation on Opera.
2012-11-27 18:03:40 -05:00
Jens Axel Søgaard
64f64a3607 Added bit-vector-count 2012-11-27 21:53:30 +01:00
Neil Toronto
2d34811ab6 Finished `math/distributions' documentation!
Fixed a few limit cases in some distributions (e.g. (uniform-dist 0 0) didn't
act like a delta distribution, (beta-dist 0 0) and (beta-dist +inf.0 +inf.0)
pretended to be defined by unique limits even though they can't be)

Made integer distributions' pdfs return +nan.0 when given non-integers

Added "private/statistics/counting.rkt", for hashing and binning samples

Added `flvector-sums' (cumulative sums with single rounding error)

Added `flinteger?', `flnan?' and `flrational?', which are faster than their
non-flonum counterparts (at least in Typed Racket; haven't tested untyped)
2012-11-27 13:44:15 -07:00
Philippe Mechai
3fdd834c6c add missing icon resizing in replace-icons
When replacing icons in an exe file, if the icon is smaller than the target
size and it has an alpha mask it is not resized which lead to an error.
2012-11-27 09:23:45 -07:00
Arek Korbik
0a5f1a21a6 Make send/suspend/[url/]dispatch allow values
Fix the send/suspend/[url/]dispatch's contracts (any/c -> any) to
allow values (and match the docs).
2012-11-27 08:49:04 -07:00
Philippe Mechai
201534b7ad Added path->url tests for directory paths
This check that no regression was introduced with 733d95b.
2012-11-27 08:46:40 -07:00
Philippe Mechai
d8ff661118 path->url: ensure directory paths have a trailing slash
If a path to a directory is converted to an URL it loses
           its trailing path separator.
           This can lead to a bug if the URL is used as a base URL to
           build other URLs (e.g. combine-url/relative).
2012-11-27 08:46:34 -07:00
Matthew Flatt
36bfae9497 adjust some comments to further clarify 2012-11-27 08:07:27 -07:00
Samuel Bronson
3ee6248daa scribble/html-render: clarify mangling of entities: — ⟨ ⟩ 2012-11-27 08:04:42 -07:00
Samuel Bronson
4424b19ff8 Fix syntax highlighting for `#lang meta/web'. 2012-11-27 07:55:50 -07:00
Samuel Bronson
5a216cc4ce scribble: Rename attribute pltdoc -> data-pltdoc, which is valid in HTML5.
(pltdoc isn't valid in any version of HTML.)
2012-11-27 07:55:43 -07:00
Samuel Bronson
a66fa77e2e Typo fix in content-type: text-html -> text/html 2012-11-27 07:55:36 -07:00
Samuel Bronson
b366d04792 Typo fixes 2012-11-27 07:55:29 -07:00
Samuel Bronson
e157041497 scribble/html-render: comment nits 2012-11-27 07:55:23 -07:00
Samuel Bronson
8653bc6792 scribble/html-render: Add missing sep-element for non-CSS browsers 2012-11-27 07:55:16 -07:00
Samuel Bronson
11df3f9b20 scribble/html-render: Fix typo in error message 2012-11-27 07:55:08 -07:00
Samuel Bronson
45bdaa131d scribble/racket.css: Avoid excessive line-height in some cases
(In particular, when the default line-height for "monospace" is smaller than for the main font.)
2012-11-27 07:54:05 -07:00
Danny Yoo
1b4ebef117 file/sha1: fix problem with leading zeros
Closes PR 13212
2012-11-27 07:42:48 -07:00
Matthew Flatt
054a52f547 data/bit-vector: change implementation to fxvectors
There are minor benefits to using fxvectors instead of vectors:
the GC knows that an fxvector has no pointers inside, and the
bytecode compiler knows that `fxvector-ref' produces a fixnum.

BTW, a benefit of fxvectors over byte strings is the lack of an
indirection internally. (Unlike a byte string, the content of
an fxvector is "inlined" into the vector object.)
2012-11-27 07:26:39 -07:00
Matthew Flatt
4ed45a6aef data/bit-vector: some adjustments for consistency
Change `bit-vector-count' to `bit-vector-length', add arguments
to `bit-vector-copy', use `racket/private/vector-wraps' (which
should be moved to a public place) to implement things like
`for/bit-vector'.
2012-11-27 07:26:39 -07:00
Jens Axel Søgaard
028d14a877 Initial import of bit-vectors 2012-11-27 07:26:39 -07:00
Robby Findler
4af72a5825 add a little more info into the build-rectangle check for when it fails 2012-11-26 23:30:10 -06:00