Commit Graph

30177 Commits

Author SHA1 Message Date
Asumu Takikawa
c5e9aced2b Add a reference to pkg docs from notation section 2013-08-26 16:43:32 -04:00
Asumu Takikawa
5faef8fb06 Add a notation subsection for structs 2013-08-26 16:16:45 -04:00
Asumu Takikawa
20b77f9a8e Fix some ref typos 2013-08-26 16:16:32 -04:00
Asumu Takikawa
1ea063b8ff Remove inaccurate comment 2013-08-26 15:13:31 -04:00
Asumu Takikawa
8978c83b18 Fix TR internal error
The following expression would trigger an arity error:
  (subst-all
   (make-simple-substitution (list 'a 'z) (list (-val 3) (-val 5)))
   (make-ListDots (make-F 'z) 'a))
2013-08-26 15:12:16 -04:00
Burke Fetscher
dc8ae059c6 Preprocess nt patterns in pattern unification.
Specifically, correctly handle cases where an nt
production has named patterns.
2013-08-26 13:22:02 -05:00
Robby Findler
5800ce1cec another fix to the 102 column guide
This should make it disappear properly when
the file's width goes down below the column guide

fix a bug in 27603faf, I believe
2013-08-26 06:47:32 -05:00
Robby Findler
bc16aa64e9 add test case for 56a313caa
Also bring gen-tests.rkt downn below 102 columns wide
2013-08-26 03:44:49 -05:00
Robby Findler
1e652b842f use hyphens in the example define-judgment-forms for STLC 2013-08-26 03:44:49 -05:00
Burke Fetscher
56a313caa0 Fix boolean/pattern confusion for term generation.. 2013-08-25 22:20:58 -05:00
Matthew Flatt
44e324db12 ARM JIT: fix test for VFP
Having `__VFP_FP__` defined does not mean that VFP instructions are
available; it just means that floating-point is native-endian.

According to

 https://wiki.debian.org/ArmEabiPort

the absence of `__SOFTFP__` combined with the precense of `__VFP_FP__`
can mean VFP, though.
2013-08-25 12:54:04 -06:00
Matthew Flatt
83d3304cdc update Guide to describe adding a collection via a package 2013-08-25 08:27:00 -06:00
Matthew Flatt
94d61b9e96 adjust DrRacket to not compile files in installation's "share"
This rule supplements the old (but now less applicable) rule to
never add debugging-compiled files in the main installation's
"collects" directory.

Note that the new rule does not prevent compilation in
main-distribution packages that are linked, as in the development mode
set up by `make' in the Racet repository's top-level directory.
I think that's probably ok, since the intent of the check is mainly
just to not write to shared installation spaces, which shouldn't be
an issue for development mode.
2013-08-25 06:17:31 -06:00
Matthew Flatt
100cc0f84e fix `{put,head}-[im]pure-port'
Connection wasn't converted to a port, and included a repeated
layer of chunk decoding.
2013-08-24 15:21:06 -06:00
Matthew Flatt
7e0d3beb67 ARM JIT: avoid direct use of __aeabi_... for software fp 2013-08-24 12:28:25 -06:00
Matthew Flatt
0b8e764e99 ARM JIT: fix soft-float `round'
Use our own implementation of round(), since the round()
function might be missing.
2013-08-24 10:39:09 -06:00
Asumu Takikawa
eb6e49e32e Fix hash-clear doc typos 2013-08-23 15:22:20 -04:00
Jay McCarthy
f7cc409351 Fix typo 2013-08-23 13:07:14 -06:00
Jay McCarthy
e8bafbd9b9 Adding net/http-client and using it underneath net/url 2013-08-23 12:41:37 -06:00
Jay McCarthy
7d0471cd8d Speed up test 2013-08-23 12:41:37 -06:00
Jay McCarthy
4081ff0155 Fixing PR13973 2013-08-23 12:41:37 -06:00
Jay McCarthy
c56c72f64e Sync script update re reorg 2013-08-23 12:41:37 -06:00
Jay McCarthy
0b3f9a9a78 Fix contract 2013-08-23 12:41:37 -06:00
Robby Findler
3c439a7731 change the default colors a bit based on color-blindness feedback
- paren color from brown to a neon blue
- string and number constants from green to a bright purple
- lighten the comment color

the basic problem is to try to keep the red error color very distinct
from the others and try to keep the others distinct from each other
(but that's less important)
2013-08-23 10:40:57 -05:00
Robby Findler
9511cb89cd properly guard use of andmap in redex 2013-08-23 10:40:56 -05:00
Matthew Flatt
e1efd2d98f package system: change syntax of a GitHub package source to "git://..."
Besides changing the URL scheme, the tag or branch is optional and
specified as a fragment (inspired by npm). Also, any subpath is expressed
as a "path=..." query (which similarly avoids giving a different meaning
to URLs than `git' itself would). The repository name can have a ".git"
suffix.

The "github://..." format is still supported for compatibility, but
`--type github' adds "git://..." instead of "github://..." if
neither is already present (which is incompatible, since branches
and tags are handled differently for the two forms).

Closes PR 13656

(See the PR for a discussion and my rationale for this choice.)
2013-08-23 07:40:45 -06:00
Matthew Flatt
33c1a7349d SRFI docs: fix inclusion of static, standard documents 2013-08-22 14:26:28 -06:00
Matthew Flatt
52da62a956 setup/dirs: fix "config.rktd" reader 2013-08-22 10:44:26 -06:00
Matthew Flatt
e7d300d238 raco pkg: improve package-source checking and error reporting 2013-08-22 07:58:49 -06:00
Matthew Flatt
d901504174 allow hash-table chaperones to support efficient hash-clear[!] 2013-08-22 07:50:42 -06:00
Matthew Flatt
9f68533f82 scribble/bnf: use 'roman for all BNF metasyntax
This change solves a long-standing problem with using @nonterm{}
inside @tt{} or other constructors that change the font, where
the font would be different (and uglier) than uses outside of font
changes.
2013-08-21 19:59:10 -06:00
Matthew Flatt
2084f94c47 scribble: add 'roman as a built-in element style 2013-08-21 19:59:10 -06:00
Matthew Flatt
1cf06ae138 package-manager documentation edits 2013-08-21 19:59:10 -06:00
Asumu Takikawa
7ea19bf951 Require Procedure contract to be a chaperone
Closes PR 13746
2013-08-21 17:07:36 -04:00
Asumu Takikawa
8a685777ff Fix contract hyperlinks in pconvert docs 2013-08-21 13:45:44 -04:00
Matthew Flatt
c16c04dab0 GUI package manager: further refinements
Use better labels, such as "Available from Catalog" instead of "By List"
or "Do What I Mean" instead of "By Source".

Add filter box to the "Currently Installed" panel, andmake status marker
the same as on "Available from Catalog".
2013-08-21 11:11:02 -06:00
Matthew Flatt
ef54fc470c mrlib/terminal: add options 2013-08-21 10:55:25 -06:00
Matthew Flatt
76aa80c0e9 racket/gui: fix problem with reparent and container sequences
In a container sequence, hides and shows are delayed, but
reparenting needs the hide operation to really complete.
2013-08-21 09:20:12 -06:00
Matthew Flatt
3201f1330a raco pkg install: make --force override scope-conflict errors
It's possible that an installation will have a package X already and
a user wants to install a different X. To make it all work out,
the user may have to also install a new Y for every installation-scoped
Y that refers to X --- maybe not easy, but at least possible as
a last resort.
2013-08-20 20:53:58 -06:00
Matthew Flatt
ae35be36d8 minor adjustment to the GUI package manager
Avoid using some GUI elements in the wrong thread, just in case.
2013-08-20 18:10:23 -06:00
Matthew Flatt
bb65242f64 fix various problems with the GUI package manager 2013-08-20 17:17:57 -06:00
Matthew Flatt
e2247fe0a5 mrlib/terminal: fix eventspace handling in non-frame mode 2013-08-20 16:42:59 -06:00
Matthew Flatt
f371032a34 protect package-source parsing against non-path strings 2013-08-20 15:48:15 -06:00
Matthew Flatt
83a813b1e5 GUI package manager: fill in functionality
Add supoprt for various operations that became available in the
command-line interface.
2013-08-20 15:27:33 -06:00
Matthew Flatt
c0af1fe4bd pkg: allow path string as `#:scope' argument 2013-08-20 15:27:33 -06:00
Matthew Flatt
0ecd04787a racket/gui: add 'disallow-invalid style to `get-text-from-user' 2013-08-20 15:27:33 -06:00
Matthew Flatt
b24eb311dd racket/gui: adjust label size on some controls
Extra margins added by instantiating `message%' inside
`radio-box%', etc., made labels line up especially badly.
2013-08-20 15:27:33 -06:00
Matthew Flatt
ccead82841 raco pkg install: add --update-deps flag
This option makes install and update even more consistent, also
`--auto` still implies `--update-deps` only in update mode.

Make `--update-deps' consult the user in `search-ask' mode,
make it ignored in `fail' or `force' mode.
2013-08-20 15:27:33 -06:00
Matthew Flatt
21d3c168a0 support file:// URLs as package sources 2013-08-20 15:27:33 -06:00
Robby Findler
ffd4ea5b6c improve source location reporting in 2dmatch for empty cells
to make this happen, change the 2d reader so that it puts more
specific source location information into the read form
2013-08-20 12:59:28 -05:00