Commit Graph

26274 Commits

Author SHA1 Message Date
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
Vincent St-Amour
1975014c55 Remove TR optimizer log key, made redundant by named loggers. 2012-09-11 13:48:14 -04:00
Vincent St-Amour
ab328ea80b Fix TR tests for new logging system. 2012-09-11 13:48:14 -04:00
Vincent St-Amour
805a6477a7 Use named loggers to tell TR and inliner logs apart. 2012-09-11 13:48:14 -04:00
Vincent St-Amour
251159e64a Allow launching OC when it's already running. 2012-09-11 13:48:14 -04:00
Vincent St-Amour
39100bd3e3 Fix OC for new logging system. 2012-09-11 13:48:14 -04:00
Vincent St-Amour
5a24b57a95 Fix unstable/logging to work with the new logging system. 2012-09-11 13:48:14 -04:00
Robby Findler
0fd52435a4 add a note about "" in with-compound-rewriter 2012-09-09 23:45:54 -05:00
Vincent St-Amour
adceb4322a Integers include inexact single-float integers.
Closes PR13103.
2012-09-09 15:46:29 -04:00
Vincent St-Amour
729d154deb Fix types of comparisons between zero and non-negative integer types. 2012-09-08 18:51:38 -04:00
Robby Findler
9b15450b08 export and document enabled-shown-button?
label-of-enabled/shown-button-in-top-level-window?
       and button-in-top-level-focusd-window?
2012-09-08 15:58:25 -05:00
Eli Barzilay
e208fe645f New Racket version 5.3.0.23. 2012-09-08 15:50:30 -04:00
Eli Barzilay
d88eef6bfb Some "@racket" fixes.
Two reported by Lee Duhem, and two more in other files.

Fixes PR 13092.
2012-09-08 15:17:04 -04:00
Eli Barzilay
ff5c9f73ce Some formatting fixes. 2012-09-08 15:15:47 -04:00