Commit Graph

32599 Commits

Author SHA1 Message Date
Matthew Flatt
d212fc7eba racket/draw Cocoa: fix surroate-pair patch for Pango 2014-04-16 12:53:07 -06:00
Jay McCarthy
004957bcd6 Add FAQ section 2014-04-16 12:30:11 -06:00
Jay McCarthy
1df71a96e0 typo 2014-04-16 10:22:41 -06:00
Jay McCarthy
445189bcfa fix typo 2014-04-16 10:22:41 -06:00
Matthew Flatt
047b3d0f28 fix use-before-definition bug in HtDP language implementation
Closes PR 14447
2014-04-16 08:04:36 -06:00
Matthew Flatt
50bea642b2 adjust errortrace to record potential use-before-definition sites
Formerly, reference to a local variable could never raise an
exception.
2014-04-16 07:02:50 -06:00
Matthew Flatt
6ce5e3d34a optimizer repair related to use-before-defined
Don't optimize away a use-before-definition in an early compiler
pass. (More specifically, adjust the meaning of a flag within an
optimization helper function so that it works for decisions before the
letrec-fixing pass.)
2014-04-16 07:02:50 -06:00
Asumu Takikawa
6c400adce0 Update HISTORY file for mzlib/class100 removal 2014-04-16 00:33:37 -04:00
Asumu Takikawa
5711e9002f Remove the mzlib/class100 library.
Uses of mzlib/class100 have already been removed. The library's
removal was promised in the release notes for Racket v5.3.2.
2014-04-16 00:28:55 -04:00
Matthew Flatt
9fb6f1947b racket/shared: fix test 2014-04-15 20:15:06 -06:00
Matthew Flatt
bc47a58e1d racket/sandbox: fix use-before-definition bug 2014-04-15 20:15:06 -06:00
Matthew Flatt
6452568753 fix test for check-not-unsafe-undefined 2014-04-15 20:15:05 -06:00
Matthew Flatt
2b63977f24 avoid compiler warnings 2014-04-15 20:15:05 -06:00
Matthew Flatt
b4c99eba17 mzlib/unit200: fix for undefined 2014-04-15 20:15:05 -06:00
Asumu Takikawa
9aaaf98b32 Fix TR class support for new class expansion
Also add a type for `check-not-unsafe-undefined` which shows
up in the expanded code now.
2014-04-15 21:18:04 -04:00
Matthew Flatt
aa43797b63 redex: temporary fix for undefined change
Allows `redex` to start, but the check for an undefined value needs
to be removed or adjusted.
2014-04-15 16:39:14 -06:00
Matthew Flatt
df436b0c88 racket/class: add expression to optimizer log message 2014-04-15 16:24:59 -06:00
Claire Alvis
a283f3d804 removing dead code in fun.c 2014-04-15 15:06:41 -06:00
Matthew Flatt
1c0c24cb8f fix for Gtk back-end 2014-04-15 15:06:41 -06:00
Matthew Flatt
d4cf4f4ee8 remove unnecessary "return;"s
Some compilers particularly dislike

 return function_that_returns_void();
2014-04-15 15:06:41 -06:00
Matthew Flatt
0fcde57817 fix Windows projects for new file 2014-04-15 15:06:41 -06:00
Robby Findler
be39851374 adjust DrRacket to work with the new undefined semantics
by completely cheating and initializing the troublesome fields
with a new variation on undefined and turning the definitions
into set!s.
2014-04-15 15:06:29 -06:00
Matthew Flatt
4c947f188d reduce racket/undefined to just undefined 2014-04-15 15:06:28 -06:00
Matthew Flatt
60a1b78070 adjust some classes to avoid chaperones 2014-04-15 15:06:28 -06:00
Matthew Flatt
574b8a5d3b move internal undefined to unsafe-undefined 2014-04-15 15:06:28 -06:00
Robby Findler
f8813474d4 adjust drracket frame startup to conform to new checks
I don't think that there was a bug behind this change. There may
have been and it is probably now easier to reason about this code
than it was before, but I think that this code was probably using
object?, not checking directly with undefined) properly.
2014-04-15 15:06:27 -06:00
Robby Findler
7f7428b1e6 fix a bug in the handling/setup of definitions-canvas 2014-04-15 15:06:26 -06:00
Matthew Flatt
1f7f0af1f3 doc tweaks 2014-04-15 15:06:26 -06:00
Claire Alvis
fbb419a9fa removing debugging code 2014-04-15 15:06:26 -06:00
Matthew Flatt
36cdfcb77a install test suite 2014-04-15 15:06:26 -06:00
Matthew Flatt
714ac04b55 JIT-inline check-not-undefined 2014-04-15 15:06:25 -06:00
Matthew Flatt
113a2eea21 fix some uses of not-yet-defined fields 2014-04-15 15:03:11 -06:00
Claire Alvis
16869bb4dd updated tests for letrec 2014-04-15 15:03:10 -06:00
Claire Alvis
72c958df62 all necessary changes to check references to uninitialized letrec variables
includes a new pass, letrec_check, two new primitives, and
changes to packages that grabbed the letrec undefined value
2014-04-15 15:03:10 -06:00
Matthew Flatt
800641e11a racket/draw Cocoa: hack to make Courier New work in 10.{7,8}
The bounding box in the Courier New font is wrong in Mac OS X
10.7 and 10.8. Recognize that combination and make the bounding
box bigger as a workaround.
2014-04-15 14:57:49 -06:00
Matthew Flatt
16dcc6f62a fix excessive correction of bounding
Commit 69984fb231 extended glyph bounding boxes in the wrong
(pre-scaled) coordinate system.
2014-04-15 14:40:13 -06:00
Matthew Flatt
69984fb231 racket/gui Cocoa: repairs for Cairo and Pango
* Fix a clipped-rendering problem for text in Cairo.

 * Fix Pango's CoreText back-end to support non-BMP characters.

   Note that Emoji characters still do not render. Cairo uses
   CGContextShowGlyphsWithAdvances() to draw glyphs, but it
   would need to use CTFontDrawGlyphs() to make Emoji work.
   (Mozilla has a patch to do that for some older version
   of Cairo, so look there if it seems worth doing one day.)

 * Disable Pango's CoreText font fallbacks in favor of the
   Racket-implemented fallback.

   This is not obviously a good idea, but it restore the
   `racket/draw` hack of prefering "Arial Unicode MS". Otherwise,
   various symbol glyphs are chosen badly, such as #\u273A,
   at least on my machine.

 * Drop the clusters argument to `pango_cairo_show_glyph_string`,
   which turns out to be unnecessary.
2014-04-15 11:22:54 -06:00
Robby Findler
7b26260d99 point to the contract profiler 2014-04-14 16:50:16 -05:00
Vincent St-Amour
9eb8ab1bc3 Fix raco dependencies-graph on relative paths. 2014-04-14 16:55:16 -04:00
Matthew Flatt
8bbc00c7c1 fix equal? on chaperoned values
Recursive traversal of components should use chaperoned access of
the components, not direct access.
2014-04-14 10:14:20 -06:00
Matthew Flatt
94aa7a03a5 upgrade OpenSSL in old Windows packages, just in case 2014-04-14 07:43:22 -06:00
Robby Findler
e6997ca393 drdr cleanup 2014-04-14 07:29:26 -05:00
Asumu Takikawa
ea8781e444 Use racket/base instead of racket in TR 2014-04-14 00:56:15 -04:00
Asumu Takikawa
e4a7c83c56 Remove several unnecessary TR requires 2014-04-14 00:56:14 -04:00
Matthew Flatt
393456563e avoid overflow in poll() timeout calculation
Closes PR 14410

Merge to v6.0.1
2014-04-13 19:09:08 -06:00
Matthew Flatt
414507699b fix problem with syntax-local-lift-require
Closes PR 13797

Merge to v6.0.1
2014-04-13 19:08:56 -06:00
Robby Findler
021f3da61d dont rebind void 2014-04-13 19:28:56 -05:00
Robby Findler
f1a3c08ffd move dot graph support from redex into mrlib's graph library and document it 2014-04-13 19:28:48 -05:00
Robby Findler
db10bca390 Rackety (just enough to get the line widths down) 2014-04-13 15:05:58 -05:00
Robby Findler
9f6ae47cf6 unbreak view|show module browser
fixes bug introduced in e8529ac30a

closes PR 14445
2014-04-13 15:05:58 -05:00