Commit Graph

21672 Commits

Author SHA1 Message Date
Eli Barzilay
2eb0a94677 Removed a bogus provide and two bogus tests.
(Which worked because the same functionality is part of `racket'.)
2011-06-07 03:38:06 -04:00
Matthew Flatt
0e0426a150 document scheme_enable_garbage_collection() 2011-06-06 20:22:58 -07:00
Eli Barzilay
3f9bc25c5c Remove `eval/require' and many of its one-time uses.
(Cuts the rendering time for unstable by around 50%.)
2011-06-06 09:48:04 -04:00
Eli Barzilay
768a5fd61d Drop mstart' and mend' arguments to `success-choose' -- it's getting
the complete list of submatches anyway, so it can just `caar' and `cdar'
it.
2011-06-06 02:01:27 -04:00
Eli Barzilay
5754312120 Some reformating. The only real change is using `write-bytes' instead
of a `display' in one place.
2011-06-06 02:01:26 -04:00
Eli Barzilay
3ecdd3bc59 Specify what happens on OS X with ;-separated globs.
Also, update the `path-dialog%' intro -- it is no longer similar to the
dialog under X.
2011-06-06 02:01:26 -04:00
Kevin Tew
b6225f66a5 Fix mzrt_cas for GCC < 4.1 2011-06-04 14:32:22 -06:00
Robby Findler
a42068a709 fix prose slightly 2011-06-03 20:33:34 -07:00
Robby Findler
5848c1f5a6 add a note about where protected methods fit into our world 2011-06-03 20:09:16 -07:00
Kevin Tew
a4e72128af Remove unused atomic ops, use gcc intrinsic 2011-06-03 13:50:26 -06:00
Eli Barzilay
045369e3b9 cocoa: fix `get-file' when any extension is allowed 2011-06-03 01:38:40 -04:00
Eli Barzilay
6a1eefe080 Move the captcha generation as a hook to the extra code, since it's a
more proper place.
2011-06-03 00:56:21 -04:00
Eli Barzilay
e9487fb0c7 Make the cocoa file dialogs deal better with ";"-separated globs.
* Note the ugly hack of adding "foo~" for every "foo" suffix.

* Note also that when "*.*" is in the glob list all files should be
  available but it looks like this isn't working yet for some reason.
2011-06-03 00:56:21 -04:00
Eli Barzilay
67d58b9041 Add *.rktl and *.rktd files as drracket files. 2011-06-03 00:56:21 -04:00
Eli Barzilay
093c8ded76 Racketify 2011-06-03 00:56:21 -04:00
Matthew Flatt
d74aa0c998 try to fix CAS for Mac OS X PPC 2011-06-02 16:45:45 -07:00
Robby Findler
9e36dc8eb3 adding a missing 2htdp/image color => racket/gui color coercion
closes PR 11956
2011-06-02 16:27:09 -07:00
Matthew Flatt
b24c387dde add PLTDISABLEGC environment variable 2011-06-02 16:20:20 -07:00
Matthew Flatt
defae9be11 adjust `struct' expansion for the top level
to allow an expression (such as a property) to refer to bindings
 introduced by the `define-syntaxes' half of the expansion
2011-06-02 16:20:20 -07:00
Vincent St-Amour
1ad63e5da0 Unify doc formatting. 2011-06-02 18:39:32 -04:00
Vincent St-Amour
801354fa4a Add syntax-within? to unstable/syntax. 2011-06-02 18:37:42 -04:00
Vincent St-Amour
bb71f9b66d Fix contract generation for Exact-Rational.
Closes PR11954.
2011-06-02 16:52:46 -04:00
Vincent St-Amour
6de5f48810 Optimize sqr on floats. 2011-06-02 16:49:25 -04:00
Carl Eastlund
c8600f01a1 Added examples to documentation for for/fold/derived, for*/fold/derived,
define-sequence-syntax, and :do-in.
2011-06-02 16:10:23 -04:00
Eli Barzilay
1582f160bc * Make the drracket `default-filters' have a ";"-separated glob for all
patterns instead of one pattern per suffix.  (This was almost never
  used -- only when saving a file that is in text mode.)

* Since this default is the same that the scheme
  mode ("framework/private/scheme.rkt") sets, remove that
  setting.  (Leave it commented in case there's need to have some
  different global default.)  It makes the above default get used when
  saving a scheme-mode file.

* Finally, for some reason the code in "framework/private/finder.rkt"
  was not using these `default-filters' at all for the file open dialog
  in `*get-file'.  (I tracked it back to CVS when the code was written,
  and it was never used.)

  I made it use it now.  This is visible on gtk (and probably on
  windows, not sure what OSX does) in that openning a file would show
  you all files.  After this change, it would show only racket source
  files, but there will be an option to switch the pattern to show all files.

  ** If the previous setup (showing all files) was intentional, it would
     be better to simply change "drracket/private/main.rkt" to add the
     racket source globs before the default.  In that case it might also
     make sense to uncomment the change in scheme.rkt back in, so when
     saving the default is the racket file suffixes (but this sounds
     like a confusing UI).
2011-06-02 10:06:15 -04:00
Eli Barzilay
42fe92cd25 Split the glob patterns on ";", and add them all to the gtk dialog. 2011-06-02 09:33:53 -04:00
Eli Barzilay
54fea48cc5 Another entry for Matthew 2011-06-02 09:32:47 -04:00
Eli Barzilay
ef915d0d3a Add a popup question in case there's a captcha challenge.
See in-code comments for how this is just a rough feature to be used if
needed (and improved when it becomes necessary).  That can just as well
go to the FIXME of using a string constant.
2011-06-01 17:40:25 -04:00
Eli Barzilay
18d40dca3c Use `post-impure-port' to submit the bugreport, and check the resulting
HTTP status for an error code.

If there was an error, then render the HTML like other errors, so the
user can now hit back and try to fix things.
2011-06-01 16:43:50 -04:00
Eli Barzilay
c82d8cea32 Refactor the error handling code, making it more uniform for all error cases. 2011-06-01 16:42:15 -04:00
Vincent St-Amour
c32efa727c Document with-intercepted-logging. 2011-06-01 16:11:11 -04:00
Vincent St-Amour
b71d3cf40c Fix limitations of with-intercepted-logging. 2011-06-01 16:11:10 -04:00
Vincent St-Amour
b86d759b62 Provide with-intercepted-logging. 2011-06-01 16:11:10 -04:00
Vincent St-Amour
fc705c6e29 Implement with-logging-to-port in terms of something more general. 2011-06-01 16:11:10 -04:00
Vincent St-Amour
0538f21274 Make level a keyword argument for with-logging-to-port. 2011-06-01 15:24:15 -04:00
Vincent St-Amour
fe161a780c List known limitations of with-logging-to-port. 2011-06-01 15:20:36 -04:00
Vincent St-Amour
f24f451fd9 Document show-requires. 2011-06-01 14:32:22 -04:00
Vincent St-Amour
b39f21775a Add show-requires, which is friendlier on the eyes than check-requires. 2011-06-01 14:32:22 -04:00
Vincent St-Amour
2e3e6822f3 Add documentation for check-requires. 2011-06-01 14:32:22 -04:00
Vincent St-Amour
c55c89a31f Fix format string in check-requires. 2011-06-01 14:32:21 -04:00
Carl Eastlund
5582f7591f Replaced an outdated reference to syntax-object->datum with syntax->datum. 2011-06-01 01:47:23 -04:00
Vincent St-Amour
8d96133681 Add with-logging-to-port to unstable. 2011-05-31 19:14:38 -04:00
Eli Barzilay
4276898a67 * Refactor bug-related url construction
* Add captcha url (unused, yet)

* The second argument to `call/input-url' can be a one-argument function
  since the call doesn't send it any headers.

Still needs to be done: check the HTTP response for an error status, and
make it fail as a result (currently it just assumes that any response is
fine, which can change in case of a captcha failure).  Then, add a
captcha challenge if one is found, otherwise ignore.
2011-05-31 17:36:51 -04:00
Robby Findler
b43e956c7b Redex: added to-lw/stx
plus improved the redex docs slightly and Rackety
2011-05-30 21:33:55 -05:00
Matthew Flatt
fbbb30f7b0 try to clarify intent of #:contracts' in defform' 2011-05-30 08:58:11 -06:00
Matthew Flatt
a7ae3b807e fix docs for `multi-in'
because the previous documentation didn't actually define the form;
 the examples were good, but epecting a reader to infer meaning
 from examples wasn't good enough. The use of a `module-path?' contract
 in the old docs wasn't appropriate; contracts apply to values, while
 grammar productions should be used to document syntax constraints.
 Also, `module-path?' was too permissive (only literal strings and
 identifiers are actually allowed), while the actual syntax allows
 either a single path or a sequence.
2011-05-30 08:49:46 -06:00
Jose Lopes
84415dd4a9 Fixed bug that prevented from accessing ActiveX components that did not expose type information.
Signed-off-by: José Lopes <jose.lopes@ist.utl.pt>
2011-05-30 07:48:18 -06:00
Matthew Flatt
bbfeb85440 mak argument to `make-immutable-hash' optional 2011-05-30 07:38:57 -06:00
Matthew Flatt
f3e1cf10aa change `hash-count' to take the lock; fix docs 2011-05-30 07:38:57 -06:00
Matthew Flatt
9f1c2147be refine comment that is possibly misleading
on code that might not turn out to be useful
2011-05-30 07:38:57 -06:00