Commit Graph

30939 Commits

Author SHA1 Message Date
Max New
5fbcc62e9a Add vararg map/e and fix cons/e bug 2013-11-06 23:22:03 -06:00
Max New
e7823c4dac Add unnamed repeat support 2013-11-06 23:22:02 -06:00
Max New
153a488309 Get unnamed and named terms working with new env
Also separate 2set into separate typed module.
2013-11-06 23:21:14 -06:00
Matthew Flatt
5d5522ad4c scribble/manual: add #:escapes? argument to to-paragraph, etc.
Use the new option to fix `codeblock`, which shouldn't have any
escapes.

Closes PR 14104
2013-11-06 19:35:12 -07:00
Matthew Flatt
b455e2f775 fix duplicate labels on main doc pages
Closes PR 14101
2013-11-06 19:35:12 -07:00
Sam Tobin-Hochstadt
6eca0ae554 Fix props script sorting. 2013-11-06 18:03:17 -05:00
Matthew Flatt
ab1e54ff4a raco pkg: repairs for SQLite-based catalogs 2013-11-06 15:55:50 -07:00
Matthew Flatt
2872f83a17 raco pkg: use a download cache
Downloaded files are keyed on the source URL and checksum, and the
cache is used only when a checksum is known.

The cache addresses two situations:

 * when installing many packages over an unreliable connection,
   the cache effectively lets a retry pick up where a previous
   attempt failed

 * when creating clean builds frequently, the downloads from a
   previous build can be reused (as long as the package's checksum
   does not change)

The cache location and limits are configurable, and they default to
a subdirectory in the user's add-ons directory (not version-specific),
1024 files, and 64 MB.

If a failure happens during staging (checksum and unpackaging) of a
package that has an entry in the cache, the entry is removed. The
file-cache library, meanwhile, implements a limit on the cache size
and defends against uncooperative filesystems.
2013-11-06 15:15:56 -07:00
Matthew Flatt
0ac601db66 add file/cache
In base, so it can be used by the package manager.
2013-11-06 14:36:43 -07:00
Matthew Flatt
02bbccc200 call-with-file-lock: fix port leak on error escape 2013-11-06 14:36:43 -07:00
Sam Tobin-Hochstadt
362b1eb1be fix place test require 2013-11-06 15:22:52 -05:00
Sam Tobin-Hochstadt
85070e3679 Fix some props, and fix uses of load-relative. 2013-11-06 15:22:52 -05:00
Ambrose Bonnaire-Sergeant
8cfe4173c4 typos 2013-11-06 15:22:52 -05:00
Asumu Takikawa
570c58961e Revert type key change from 0a6537a6cb
Sets are still treated as hash sets. Eventually
when we have a type for generic sets, it should have
a #f type key.
2013-11-06 14:20:10 -05:00
Asumu Takikawa
ac38232282 Name and print top types consistently
Closes PR 14117
Closes PR 14118
2013-11-06 14:08:16 -05:00
Robby Findler
c6ecda5b68 make new file|open variant start you out in the module path
where the file currently being edited lives
2013-11-06 10:57:17 -06:00
Robby Findler
9bc8ce1482 adjust the sierpinski carpet examples to be bitmaps
This saves about 10 megs (from 16 or 6 ish) in the space
taken for the teachapack guide docs and seems to make the
guide page load a bunch faster
2013-11-06 10:07:05 -06:00
Robby Findler
eed601852f guard against collection path directories that don't exist 2013-11-05 17:03:59 -06:00
Matthew Flatt
4dd405d9c9 racket/gui cocoa: make 'border handling more flexible
When buttons are hidden and/or disabled so that there's a change to
the only button that is visible, enabled, and has the 'border style,
then make it the default.
2013-11-05 14:57:57 -07:00
Matthew Flatt
5f1cd4cff4 distro-build/package-and-catalog: extra options for checksums & paths 2013-11-05 14:57:57 -07:00
Robby Findler
35bb99c72a add "File|Open Collection Path" to DrRacket
This menu item is an attempt to make it easier
to find collection-path based files for editing

Inspired by Asumu's raco-find-collection package
2013-11-05 15:55:40 -06:00
Robby Findler
59e92d7d39 split up slideshow/play so that the pict-only parts are
in pict-lib and don't depend on racket/gui/base
2013-11-05 15:55:40 -06:00
Robby Findler
a1331fbd1f fix documentation typos 2013-11-05 15:55:39 -06:00
Vincent St-Amour
29d2da833a Get more info to diagnose intermittent failure on DrDr. 2013-11-05 14:25:43 -05:00
Jay McCarthy
3d15fb3c1d Fix PR14142 by allowing 'tolerant' line endings acording to Appendix B of the HTTP spec 2013-11-05 11:03:06 -07:00
Jay McCarthy
c13cd309fc Fix gc2/gc1 inconsistency 2013-11-05 11:03:06 -07:00
Stephen Chang
c96423c4ef add some corner cases in for.rktl tests 2013-11-05 00:56:57 -05:00
Asumu Takikawa
05fced3a68 Be more picky about Opaque type parsing
Closes PR 14122
2013-11-04 20:10:17 -05:00
Jay McCarthy
e0855dacb1 Adding test case for PR14136 re: the great Robby 2013-11-04 16:32:35 -07:00
Asumu Takikawa
3fa3225c54 Add in-set to Typed Racket
Closes PR 14128
2013-11-04 18:09:53 -05:00
Asumu Takikawa
a3a04387fa Initialize base-special-env in TR typecheck tests 2013-11-04 18:09:53 -05:00
Jay McCarthy
b61198ec3f Fix PR 14140 2013-11-04 15:50:03 -07:00
Vincent St-Amour
ad6237f76e Clarify docs for `collection-path'.
After discussion with Robby.
2013-11-04 17:27:52 -05:00
Vincent St-Amour
1cd823a59a Clarify docs for `collection-path' to discourage its use. 2013-11-04 15:41:04 -05:00
Asumu Takikawa
54e3380375 Add a TR test that I forgot to commit
Relevant to commit 18d4eb5135
2013-11-04 15:29:11 -05:00
Asumu Takikawa
c1082c9706 Remove unnecessary requires
These imports are unnecessary because of the
`except-in` import of `racket` near the top.
2013-11-04 15:10:01 -05:00
Asumu Takikawa
dc1e4fc4e7 Delete trailing whitespace 2013-11-04 15:10:00 -05:00
Asumu Takikawa
50bf292eeb Clean up Typed Racket's main base type environment
Sort by manual section, reformat for consistent formatting,
remove redundant lines.
2013-11-04 15:10:00 -05:00
Asumu Takikawa
87273726c2 Renumber section comments.
Most were off by one due to documentation changes. Also
reformat for consistency.
2013-11-04 15:01:13 -05:00
Asumu Takikawa
89c71b4e04 Refactor abbrev modules in TR
Removed redundant whitespace and lines. Reworded/reformatted
comments for consistency.
2013-11-04 15:01:13 -05:00
Vincent St-Amour
9bb80215db Fix macro stepper icons. 2013-11-04 14:31:35 -05:00
Matthew Flatt
d23d2f8c5b path-replace-suffix: raise exception when result should be an empty path 2013-11-03 10:04:00 -07:00
Matthew Flatt
afcecc73f1 {string,bytes}->path-element: error on empty [byte] string 2013-11-03 09:57:26 -07:00
Matthew Flatt
dee76b58a9 Scribble LaTeX/PDF: make section references hyperlinks 2013-11-03 09:36:31 -07:00
Matthew Flatt
f6cfd14c5e shutdown custodian-managed subprocesses on exit 2013-11-03 09:25:15 -07:00
Matthew Flatt
ddd0eb2d9d distro-build: add support for e-mail report on build 2013-11-03 09:21:59 -07:00
Robby Findler
ab8c4b4375 Fix tests when running on linux 2013-11-03 08:39:05 -06:00
Robby Findler
8a7d828cc5 fix underlay & pinhole combination
closes PR 13993
2013-11-02 21:42:08 -05:00
Matthew Flatt
b0c79bfcc5 DrRacket Unix/X: make ".desktop" launch single-instance mode 2013-11-02 20:37:43 -06:00
Matthew Flatt
b431d8fea1 launcher ".desktop" handling: preserve existing Exec= content 2013-11-02 20:37:36 -06:00