Commit Graph

26587 Commits

Author SHA1 Message Date
Vincent St-Amour
f1f1826bff Move screenshot scripts to the meta collect. 2012-09-18 14:17:36 -04:00
Vincent St-Amour
a2157b86dc Rackety and minor edits. 2012-09-18 14:17:36 -04:00
Diogo F. S. Ramos
f147871728 Add instructions on how to take screen shots
This instructs the adventurer on how to take screen shots using the
same look and feel used to take the ones that can be found at
`collects/scribblings/gui/image'.

There are also two scripts that might help automate this process.
2012-09-18 14:17:36 -04:00
Diogo F. S. Ramos
54ab1bfbfa Add a Widget Gallery to Racket GUI documentation
It's very helpful to have a visual aid when dealing with a graphical
interface toolkit.

This patch adds an overview of the widgets available in the library
consisting of screen shots of the main ones and the snippets used to
produce them.

Each widget image link back to the full documentation.
2012-09-18 14:17:36 -04:00
Asumu Takikawa
ddaef42576 define/match: fix docs & more examples 2012-09-18 13:36:15 -04:00
Matthew Flatt
e81cd0d8d7 add `slideshow/code-pict' and code transformers
The `slideshow/code-pict' library is the same as `slideshow/code', but
it works in non-GUI settings. Only the `slideshow/code' library connects
the code font size to `current-font-size', though.

The `code' macro, `define-code', etc., now support "code transformers",
which are syntax bindings that trigger otherwise-unescaped transformations
in the code to typeset (which can make the code easier to read and
friendlier to auto-indentation).
2012-09-18 10:03:26 -06:00
Asumu Takikawa
59915409a5 unstable/match: forgot the tests for 1a0a06d 2012-09-17 20:21:11 -04:00
Asumu Takikawa
1a0a06db62 unstable/match: add define/match
Match-based function definition form that supports optional,
keyword, rest-arg, and curried arguments.
2012-09-17 19:46:46 -04:00
Ryan Culpepper
35a0e50de4 syntax/parse/experimental/template: fixed bugs, added error tests 2012-09-17 18:11:44 -04:00
Jay McCarthy
348005047b Fixing PR13117 2012-09-17 13:03:41 -06:00
Ryan Culpepper
97954f7c37 fixed macro-stepper tests 2012-09-17 12:43:36 -04:00
Ryan Culpepper
29a9abf394 fix bad attr reference (datum attr doesn't exist)
That macro doesn't seem to be used anywhere. Perhaps it can just
be deleted.
2012-09-17 12:29:17 -04:00
Ryan Culpepper
fcac1fdc50 syntax/parse/experimental/template: fix bad initial environment 2012-09-17 12:29:17 -04:00
Ryan Culpepper
9d34f0f147 db: added support for postgresql 9.2 types (json, ranges)
Other major changes:
 - pg code now uses only binary format
 - pg timestamptz now always UTC (tz = 0), added doc section
 - added contracts to most pg "can't-convert" errors
2012-09-17 12:29:17 -04:00
Robby Findler
c675cf47f0 adjust the print-to-ps preference in DrRacket so that you can also
choose to print to pdf as well. Also, enable the preference
under linux (ie, make it available to be chosen-- all platforms
still default to printing via the platform-specific mechanism)
2012-09-17 10:47:22 -05:00
Matthias Felleisen
b1ba81d0cc replace example for string=; Closes PR 13112 2012-09-17 06:57:07 -04:00
Ryan Culpepper
f621855aa3 racket/unit lang uses racket/base and racket/unit
Probably fixes PR 13118
2012-09-16 17:12:02 -04:00
Ryan Culpepper
d70e80e837 racket/format: change ~r to accept #:notation argument
Another possibility would be
  #:exponential? (or/c boolean? (-> rational? boolean?))
but that violates the "everything's a boolean" convention.
2012-09-16 17:12:02 -04:00
Matthew Flatt
58b054c6a2 patches for Dragonfly
Closes PR 13115
2012-09-15 09:20:27 -06:00
Matthew Flatt
d1cd4621de racket/draw: add make-dc' convenience method to bitmap%' 2012-09-14 15:58:47 -06:00
Matthew Flatt
7fd4f59e5a racket/draw: doc overview fix and tweaks 2012-09-14 15:37:11 -06:00
Matthew Flatt
fc52248446 add #:break' and #:final' to `for' forms
Support for break clauses complicates expansion to `for/fold/derived';
a new `syntax/for-body' library provides a helper for macros that need
to split a `for'-style body into a prefix part and wrappable part.
2012-09-14 14:57:35 -06:00
Matthew Flatt
c28d3190b2 doc fix for `in-producer' 2012-09-14 13:03:06 -06:00
Matthew Flatt
adb5c01ac4 racket/generator: add optional #:arity' clause to in-generator'
Allows the use of `in-generator' to produce multiple values in a
position other than immediately within `for' (where the arity
can be inferred).

Closes PR 11662
2012-09-14 13:02:55 -06:00
Matthew Flatt
ff35e7c95b racket/gui: fix docs on reparenting (which is now possible)
Closes PR 13108
2012-09-13 14:17:14 -06:00
Matthew Flatt
ade2d7a4a4 minor doc fixes 2012-09-13 14:17:14 -06:00
Matthew Flatt
11045a0384 improve editor-canvas resizing
A recent bug fix involved moving part of an `editor-canvas%' resize
out of atomic mode by queueing a callback (because the resize involves
quesrying the editor for its size, etc.), but then the callback
happens after a canvas is shown, which can cause it to appear with
bogus initial scrollbars. Queue the callback instead as a "refresh"
level callback, which gets a chance to run before a frame is made
visible.
2012-09-13 14:17:14 -06:00
Asumu Takikawa
e71caa5d06 Fix doc contracts for continuation aborts 2012-09-13 14:48:46 -04:00
Matthew Flatt
4cc475ad68 Scribble: fix problem with URL redirection 2012-09-13 11:05:52 -06:00
Matthew Flatt
ab251eaca6 win64: defensive check for stack-trace collection 2012-09-13 11:05:52 -06:00
Matthew Flatt
7a772ce09d fix Win64 build for newer SDK 2012-09-13 11:05:52 -06:00
Matthew Flatt
6b7acd187b reference: fix docs for Windows path cleansing 2012-09-13 11:05:52 -06:00
Matthias Felleisen
f4576c4941 fixed pad equality; Closes PR 13106 2012-09-13 07:33:41 +02:00
Robby Findler
c069fa67a9 adjust the find-in-files initial config dialog to
get the "global" framework keybindings

closes PR 13110
2012-09-13 00:31:17 -05:00
Matthew Flatt
ac5965a1dc racket/set: add set-first' and set-rest' 2012-09-12 17:57:03 -06:00
Robby Findler
b8acee5655 small cleanup 2012-09-12 15:41:37 -05:00
Matthew Flatt
e7b1af845b compiler/cm: repair related to compiled-file-roots 2012-09-12 12:03:08 -06:00
Matthew Flatt
7ce7da8f53 fix for `reroot-path' on Windows 2012-09-12 11:31:58 -06:00
Matthew Flatt
cf120bc4a6 win64: stack-trace repair: add cached tail to trace 2012-09-12 11:30:48 -06:00
Matthew Flatt
906ddb7fbf Windows: avoid Unix-specific test 2012-09-12 11:19:51 -06:00
Matthew Flatt
90dad98220 fix error message 2012-09-12 11:17:25 -06:00
Matthew Flatt
98cf0429f8 win64: make JIT stack traces work
JIT-generated doesn't actually conform to the constraints
of the Win64 stack-unwind protocol. In pariticular,
JITted code might move the stack pointer after a "preamble"
that saves non-volatiles, and the frame pointer isn't in
the right place. So, we can't implement the generic unwind
hook --- but the JIT's stack traversal can interleave its own
unwinding with the OS-supplied unwinding interface.
2012-09-12 11:13:38 -06:00
Eli Barzilay
a5fd17b16f New Racket version 5.3.0.24. 2012-09-12 03:30:11 -04:00
Matthew Flatt
3fb42cf3f1 scribble/html-properties: allow URLs in css-addition' and js-addition' 2012-09-11 18:52:59 -06:00
Matthew Flatt
9162fc2504 racket/html-properties: add `js-addition' 2012-09-11 17:39:12 -06:00
Matthew Flatt
dc925d2d8c scribble HTML: add head-extra' and support for attributes'
For a part that corresponds to an HTML page.
2012-09-11 17:18:14 -06:00
Matthew Flatt
7a8ebdab7b add `xml/xexpr'
Exports `xexpr?' and `xexpr/c' without dependencies on the rest of
the `xml' library.
2012-09-11 17:17:38 -06:00
Matthew Flatt
f1671f2044 fix default logging levels for stderr and syslog 2012-09-11 13:18:18 -06:00
Matthew Flatt
4f351dd6b1 add `current-compiled-file-roots', PLTCOMPILEDROOTS, and -R/--compiled
The new parameter (and supporting environment variables and
command-line flags) can bytecode lookup to a tree other than
where a source file resides, so that sources and generated
compiled files can be kept separate. It also supports storing
bytecode files in a version-specific location (either with
the source or elsewhere).
2012-09-11 13:18:18 -06:00
Asumu Takikawa
3daec14cbb racket/generic: better error message in empty case
Closes PR 13048
2012-09-11 14:43:19 -04:00