Commit Graph

17972 Commits

Author SHA1 Message Date
Ryan Culpepper
459cce23be moved contents of unstable/set to racket/set 2011-04-12 09:35:26 -06:00
Ryan Culpepper
ccc70fca73 removed unused modules and code from unstable 2011-04-12 09:35:26 -06:00
Eli Barzilay
f867fea327 Prebuilt link in the all versions page, other minor fixes. 2011-04-12 07:26:27 -04:00
Eli Barzilay
52ca08a8a9 * scheme -> racket
* Use `delay/sync' to fix possible races (should fix PR11788)

* Move Chrome up after firefox since it's very widely supported now

* Add xdg-open
2011-04-12 07:26:09 -04:00
Matthew Flatt
717a61840f racket/trace: fix for expr-style printing (i.e., default `print' mode) 2011-04-11 10:01:25 -06:00
Matthew Flatt
aabd5f7bd2 gtk: fix over-eager attempt at alt- menu activation
Closes PR 11843
2011-04-11 07:39:40 -06:00
Robby Findler
658bc59a92 adjust various status controls so they don't take the focus
also added a separator menu item to the line/column number popup menu
2011-04-11 07:41:49 -05:00
Matthew Flatt
46613ccecd document scheme_malloc_stubborn
which is obsolete by referenced by the docs for `malloc'
2011-04-10 19:26:15 -06:00
Robby Findler
c4e0559db4 made the line/column thingy's popup menu be able to show the line numbers in the definitions window
- added add-line-number-menu-items
  - some minor fixes to the docs
  related to discussion in PR 11837
2011-04-10 19:38:19 -05:00
Robby Findler
3936ac8a54 correct capitolization for menu items 2011-04-10 19:38:10 -05:00
Robby Findler
2c2669bfa6 fix the handling of the drracket:show-line-numbers? preference
so the line numbers change no matter who sets the preference
2011-04-10 19:38:08 -05:00
Robby Findler
8b8c3dbc3a contract tests are mine 2011-04-10 08:08:09 -05:00
Mike Sperber
89b8c7a6f7 Synch German string constants with latest. 2011-04-10 13:22:44 +02:00
Robby Findler
77cb90a3b2 add string munging to live up to the 200 char limit for the new module browser menu item 2011-04-09 21:45:52 -05:00
Robby Findler
9fefcb2baf refactor contracts to move the opters to their own file 2011-04-09 21:45:50 -05:00
Robby Findler
570a3e58b9 renamed parametric/c to parametric->/c
and cleaned up the organization of the related files
2011-04-09 21:45:49 -05:00
Matthew Flatt
857003378a futures: more bug fixes, make `touch' safe
- bug fixes are related to allocation and runstack space
 - a `touch' within a future can complete before the `touch'ing
   future is itself `touch'ed
 - also make `length' safe (and JIT-inlined)
2011-04-09 17:12:24 -06:00
Matthew Flatt
52598af1c7 fix doc typo
Closes PR 11840
2011-04-09 17:12:23 -06:00
Stephen Chang
225c011502 fix toplevel variable dereferencing in lazy stepper
in lazy/lazy.rkt
- add 'lazy-op stepper-syntax-property to op in lazy #%app

in stepper/private/annotate.rkt
- in varref-abstraction, check for 'lazy-op operator for toplevel vars, and use
  varref-break-wrap if property = #t
2011-04-09 15:55:12 -04:00
Stephen Chang
341ed19e58 remove stepper/private/lazy-highlighting.rkt 2011-04-09 13:50:24 -04:00
Stephen Chang
d8517af898 fix stepper rendering of non constructor-style lists
in stepper/private/reconstruct.rkt
- in recon-value, list case, add quasiquote rendering when constructor-style
  printing = #f
2011-04-08 20:41:36 -04:00
Stephen Chang
4ef7e1fae3 improve lazy stepper recon of unannotated fn apps
remove stepper/private/lazy-highlighting.rkt

in stepper/private/macro-unwind.rkt:
- in fall-through, add lazy-proc to lazy #%app special case

in stepper/private/model.rkt
- in send-step, dont use highlight-table, just match top called fn in mark-list
  instead

in tests/stepper/
- add lazy stepper tests for filter and fold
2011-04-08 20:41:35 -04:00
Matthew Flatt
71df6ddc05 gtk, cocoa: fix auto-sizing of text `message%'s 2011-04-08 14:22:17 -06:00
Ryan Culpepper
f0310df85b added responsibility for tests/unstable 2011-04-08 14:19:14 -06:00
Matthew Flatt
114c64765d racket/draw: fix baseline on font substitution in "combine" mode 2011-04-08 11:44:01 -06:00
Ryan Culpepper
e0db3ed2e3 fixed tests for moved unstable libs 2011-04-08 10:30:32 -06:00
Ryan Culpepper
7828a7bfa7 moved unstable/{location,srcloc} to syntax collection
fixed bugs in unstable/wrapc
2011-04-08 08:25:22 -06:00
Ryan Culpepper
f49412add8 moved unstable/poly-c to racket/contract/parametric 2011-04-08 08:25:22 -06:00
Ryan Culpepper
937c5ea442 removed unused unstable libs (planet, planet-syntax, scribble) 2011-04-08 08:25:22 -06:00
Ryan Culpepper
daf88fea20 updated planet/scribble docs 2011-04-08 08:25:22 -06:00
Matthew Flatt
2dcd76f609 fix arity reporting for chaperoned procedures and some primitives
such as `for-each'
2011-04-08 07:54:41 -06:00
Robby Findler
bb792c977d the tabber incorrectly counted tab chars as spaces when doing indentation;
this meant that if some line were supposed to be indented in the third
  column and you had two tabs and a space on that line, the indenter
  would leave it alone. Now, if it sees tabs in the line anywhere, it just
  decides that the line is not properly indented and re-indents it
  (always using spaces)

Also: started a tabber test suite
2011-04-08 07:48:17 -05:00
Stephen Chang
5238c338b6 fix stepper tests broken by lazy stepper 2011-04-07 15:11:40 -04:00
Casey Klein
989103c3a1 Improves term-let's "too few ellipses" error
Fixes PR 10837
2011-04-07 13:17:15 -05:00
Casey Klein
143e1e66fd Improves error for references to not-yet-defined metafunctions
Fixes PR 11041
2011-04-07 13:17:15 -05:00
Stephen Chang
9f848863ff fix lazy stepper to work with print and write output-styles
in stepper/stepper-tool.rkt
- in simple-module-based-language-convert-value, add print and trad-write case

in stepper/private/macro-unwind.rkt
- in fall-through, add to procedure-extract-target case

in drracket/tool-lib.rkt
- in contract for drracket:language:simple-settings-printing-style, add
  'trad-write
2011-04-07 12:49:27 -04:00
Ryan Culpepper
ae8d945ef5 added line breaks 2011-04-07 10:42:38 -06:00
Ryan Culpepper
eb60d3d479 fixed bug in expansion of (this-package-in main) 2011-04-07 09:47:21 -06:00
Ryan Culpepper
3e5a54c9e4 unstable/syntax: removed unused code and exports 2011-04-07 09:47:20 -06:00
Ryan Culpepper
76c75d5a87 added stx-map to syntax/stx from unstable/syntax 2011-04-07 09:47:20 -06:00
Ryan Culpepper
86f65468d7 removed define-pattern-variable 2011-04-07 09:47:20 -06:00
Ryan Culpepper
73ab167522 created racket/syntax from parts of unstable/syntax 2011-04-07 09:47:20 -06:00
Ryan Culpepper
a19a0340aa added ffi/unsafe/security 2011-04-07 09:47:20 -06:00
Ryan Culpepper
0bec757e5e syntax/parse: fixed bug in ~literal uncovered by litset changes 2011-04-07 09:47:20 -06:00
Eli Barzilay
000e52d31d Minor but potentially confusing typo 2011-04-07 10:52:15 -04:00
Stephen Chang
c8dd95b3cf fix user-position stepper-property bug in lazy cond stepper unwinding
in stepper/private/macro-unwind.rkt
 - in fall-through, add special #%app case for force

 in stepper/private/reconstruct.rkt
 - in recon-inner, in called app case, combine force case with other lazy fns

 in tests/stepper/
 - add test for lazy cond unwinding problem
2011-04-06 22:29:48 -04:00
Matthew Flatt
3bf0f800a7 futures: make `future' work in a future, overhaul logging, fix bugs 2011-04-06 17:40:44 -06:00
Matthew Flatt
91cdfe9a7a fix `in-vector' range checking 2011-04-06 17:40:44 -06:00
Matthew Flatt
584f74a22b remove printf 2011-04-06 17:40:43 -06:00
Stephen Chang
5d47c0b49b in stepper/private/reconstruct.rkt
- in recon-inner, in called app case
  - add other force fns to force case (!!, !list, !!list)
  - add other list fns
    (list?, length, list-ref, etc)

in stepper/private/lazy-highlighting.rkt
- add various list fns (list?, length, list-ref, etc)

in stepper/private/macro-unwind.rkt
- in unwind-cond, disable check of user-source and user-position

in tests/stepper/
- add test for various list fns
2011-04-06 18:44:36 -04:00
Stephen Chang
e41ba9c77b in lazy/lazy.rkt
- modify cond for stepper
- add support for multiple values in stepper
  - add inspector to multiple-values struct
  - hide split-values call in ~define-values

in tests/stepper/
- add tests for cond

in stepper/private/annotate.rkt
- in annotate/top-level, allow arbitrary top-level terms
  (no error in else case), otherwise exprs like let throws error

in stepper/private/
   reconstruct.rkt
   lazy-highlighting.rkt
- add support for eq? eqv? equal? lazy fns
2011-04-06 18:44:35 -04:00
Stephen Chang
c0f8f1cdb2 lazy stepper working with infinite lists
in stepper/private/marks.rkt
- in mark-binding-value, add exception handler to catch undefined vars, so
  display-mark in break works with recursive fns

in /tests/stepper/automatic-tests.rkt
                  through-tests.rkt
- add inf list example from icfp paper

in stepper/private/model.rkt
- refactor send-step to use cond instead of unless
- in send-step, when highlight-stack = null and last-rhs != null (and lhs !=
  last-rhs), send a step with lhs = last-rhs (previously skipped whenever
  highlight-stack = null)
  - basic filter example wasnt showing result without this
  - in icfp inf list example, this shows some intermediate forcing states
  - all other existing tests passed
2011-04-06 18:42:57 -04:00
Stephen Chang
2227516673 fixing some bugs
in macro-unwind.rkt:
- in unwind-mz-let, last line, ",label" should just be "label" (no unquote)

in reconstruct.rkt
- in reconstruct-completed-define, last line, arg to attach-info should be a
quasisyntax (#`), not syntax (#')
2011-04-06 18:42:57 -04:00
Stephen Chang
348a20c0e5 in stepper/private/reconstruct.rkt
- in recon-inner, called app case, add first fn to list of special lazy fns
- in recon-value, add handling of running promises not found by
  recon-inner search
  - add optional so-far param to recon-value
- add unknown-promises-table and add case in recon-value to handle

in stepper/private/lazy-highlighting.rkt
- add (first,0) pair

in stepper/private/model.rkt
- modify lazy fn "skipping" (from lazy-highlighting.rkt) to use the skips
  only when last-rhs-exp = null; o.w. skipping is handled solely by
  examining last-rhs-exp

in tests/stepper/
- add take example from icfp paper
- add tests for unknown promises
2011-04-06 18:42:56 -04:00
Stephen Chang
d04d3fadc3 - add if tests for lazy stepper
in stepper/private/reconstruct.rkt
- in recon-inner, in called app case, add "take" to lazy fn case and fix to
  handle more than unary fns
2011-04-06 18:42:55 -04:00
Stephen Chang
49fd1fb0e0 in stepper/private/reconstruct.rkt
- in recon-value, add cases to handle list and cons
- in recon-inner, in app called case, add case to handle lazy list fns
  that contain unannotated !'s (ie cadr, cdddr, second, third, etc)

in stepper/private/model.rkt
- add highlight-stack
- in send-step, add various skip conditions when lhs = ellipses

add file stepper/private/lazy-highlighting.rkt

in tests/stepper/through-tests.rkt
   tests/stepper/automatic-tests.rkt
- add tests for list and cons fns
2011-04-06 18:42:54 -04:00
Stephen Chang
c41123ce6c existing lazy stepper tests passing
in tests/stepper/
test-engine.rkt
- add racket/private/promise to test-namespace using namespace-attach-module

automatic-tests.rkt
- add lazy tests

through-tests.rkt
- fix existing lazy tests lazy1, lazy2, lazy3

language-level-model.rkt
- fix lazy ll-model

in stepper/private/model-settings.rkt
- edit settings for lazy racket
2011-04-06 18:42:53 -04:00
Stephen Chang
6921960c5e simple example working: (define (f x) (+ x x)) (f (+ 1 2))
in stepper/private/model.rkt
- add debugging outputs
- reformat code

in stepper/private/macro-unwind.rkt:
- in fall-through
  - add case for lazy racket app
  - add case for procedure-extract-target
- in unwind, change recur procedure for fn hints to unwind
  (was recur-on-pieces)

in racket/private/promise.rkt
- add unwind fn as stepper-hint syntax property

in stepper/private/reconstruct.rkt
- add constructor application case back
- in recon-inner
  - in app called case, dont show ellipses for force
  - initialize partially-eval-promise table
  - reformat answer code
  - add caching of running promises
- in recon-value, add reconstructing of partially evaluated promises

in stepper-private/annotate.rkt
- in annotate/module-top-level, add lazy racket top level case - to hide top
  level forcer

in lazy/lazy.rkt
- use hidden-~ and hidden-! instead of ~ and !
2011-04-06 18:42:53 -04:00
Stephen Chang
2d204dc6ea in stepper/private/reconstruct.rkt:
- in find-special-value, add case for Lazy Racket
- delete final-mark-list? (unused fn)
- in skip-redex-step?
  - reformat code
  - remove constructor app case
- in recon-value
  - reformat code
  - add thunk rendering (need to require racket/private/promise)
2011-04-06 18:40:06 -04:00
Stephen Chang
0d21131a8d in lazy.rkt:
- in !*app:
  - add stepper-skipto property to skip (if lazy-proc? ...)
  - for lazy-proc, extract proc from lazy-proc struct before applying
- redefine ~define to use inferred name, so stepper can recon properly
2011-04-06 18:40:05 -04:00
Stephen Chang
89d1a1feb0 in lazy/lazy.rkt:
- remove all stepper hints and properties
- change !*app to use application instead of let
  (stepper has difficulty with temp vars of let)
2011-04-06 18:40:04 -04:00
Stephen Chang
ca4ea39123 in stepper/private/annotate.rkt:
- add cases to annotate/top-level to recognize Lazy Racket programs
2011-04-06 18:40:03 -04:00
Stephen Chang
da456f2e37 add stepper button to Lazy Racket 2011-04-06 18:40:03 -04:00
Jay McCarthy
2ebcb2afd1 Fix drdr discovered problem 2011-04-06 16:00:54 -06:00
Jay McCarthy
af57e0419c Fixes PR11793.
It was very hard to figure out why � is invalid. Both the XML 1.0 and 1.1 specs say that a CharRef can be '&#' [0-9]+ ';' (sec 4.1), but there is a note on the side that it must also be a valid Char. The Char definition (sec 2.2) then lays out which characters are valid. (The 1.0 and 1.1 specs disagree though.) I've gone with the 1.1 definition.

I did not update the rest of the reader to disallow those characters in pcdata segments. If this hurts you or you morally disagree, submit another PR, please.
2011-04-06 11:14:25 -06:00
Jay McCarthy
b80728f4b9 Add another useful method re: Robby 2011-04-06 11:14:25 -06:00
Robby Findler
e928bd840c Two improvements to the mrlib/graph library and the module browser:
- improved the drawing speed in mrlib's graph pasteboard
  by caching the background arrows (optionally; only turned
  on for the module browser. in redex, this probably won't
  speed anything up so it isn't used)

- added a search feature to the module graph to help find
  dependencies; type in string and some of the graph changes
  color
2011-04-06 11:35:31 -05:00
Robby Findler
09a0109605 adjusted racket/contract/base to include fewer parts of the contract system 2011-04-06 11:35:29 -05:00
Robby Findler
2893470f27 eliminate one more use of mzlib/contract 2011-04-06 11:35:26 -05:00
Casey Klein
6fc20125b0 Adds the STLC example to the test script 2011-04-06 11:11:43 -05:00
Casey Klein
1ad2b1b938 Makes cross' work better with hide-hole'
Fixes PR 11579
2011-04-06 10:17:15 -05:00
Casey Klein
e8130a2fd1 Fixes bug in `cross' pattern handling 2011-04-06 10:17:15 -05:00
Stevie Strickland
6494bf863e Changing absent so that fields may be specified as well as methods. 2011-04-05 15:03:46 -04:00
Stevie Strickland
b35b7d98f8 Use of unsyntax inside a syntax, change to a quasisyntax. 2011-04-04 23:20:58 -04:00
Matthew Flatt
d359daa5f5 fix problem with chaperones and keywrd procedures
Closes PR 11833
2011-04-04 21:15:44 -06:00
Stevie Strickland
eafacc78a0 Adding `absent' to class contracts.
The `absent' clause lists public methods which must _not_ exist in the
contracted class.
2011-04-04 19:38:27 -04:00
Matthew Flatt
c38118f0e5 Scribble: add `alt-tag' HTML property to set HTML tag in output 2011-04-04 14:33:38 -06:00
Jon Rafkind
f50c480446 add N as an accelerator in the view menu to toggle line numbers 2011-04-04 13:46:46 -06:00
Jon Rafkind
576916d4d7 line numbers separator uses the same color as the text 2011-04-04 13:07:25 -06:00
Matthew Flatt
ef4ea23646 fix `secref' docs; document some Latex macros available for redefinition 2011-04-04 11:26:41 -06:00
Matthew Flatt
df2a875ff4 Scribble: simplify content that is conditioned on the render mode
including a new `scriblib/render-cond' library
2011-04-04 10:45:02 -06:00
Matthew Flatt
8e289018c8 adjust `scriblib/gui-eval' docs
since it's no longer needed for `racket/draw' images
2011-04-04 10:43:38 -06:00
Matthew Flatt
37f9363b90 win32: another try for horizontal wheel events 2011-04-03 16:09:11 -06:00
Matthew Flatt
342964b10a win32: ignore inapplicable WM_HSCROLL and WM_VSCROLL events 2011-04-03 15:17:10 -06:00
Matthew Flatt
b0115ee360 add 'wheel-left and 'wheel-right events 2011-04-03 09:49:56 -06:00
Matthew Flatt
cd9eb5a75c simply dependencies 2011-04-03 09:37:03 -06:00
Matthew Flatt
4c5c46deed avoid Cairo and Pango functions missing in CentOS 5.5 libs 2011-04-02 17:52:03 -06:00
Kevin Tew
0c4d90b1db codeblock line numbers 2011-04-02 16:01:21 -06:00
Robby Findler
5522c72ecb Rackety 2011-04-02 13:36:33 -05:00
Robby Findler
362f7392ed fixed add-parent bug 2011-04-02 13:36:31 -05:00
Robby Findler
77c25430af added an example with a type checker 2011-04-02 13:36:29 -05:00
Casey Klein
a4644d4d49 Disallows unquote in Redex patterns
Fixes PR 11296
2011-04-01 14:00:45 -05:00
Casey Klein
121f1761bd Fixes redex/gui typos
Closes PR 11174
2011-04-01 14:00:45 -05:00
Casey Klein
02c7680076 Fixes Guide typos 2011-04-01 14:00:45 -05:00
Casey Klein
7edfa58ef1 Adds caron s to LaTeX renderer 2011-04-01 14:00:45 -05:00
Vincent St-Amour
5200b93a0c Fix ~literal patterns in syntax-parse. 2011-04-01 14:56:17 -04:00
Vincent St-Amour
9c3bee03e7 Fix bounded-fixnum opts to only fire with the right number of arguments. 2011-04-01 14:56:17 -04:00
Robby Findler
d1414748a1 fix the contract on get-module-code
closes PR 11836
2011-04-01 11:57:55 -05:00
Robby Findler
b926b17d7e fix the obvious bug wrt to procedures returned from make-keyword-procedure, but something is still wrong
related to PR 11833
2011-04-01 09:12:05 -05:00
Ryan Culpepper
c677932baf syntax/parse: added define/syntax-parse, like define/with-syntax 2011-04-01 02:12:30 -06:00
Ryan Culpepper
896cb86dc4 syntax/parse: added phase options to define-literal-set 2011-04-01 00:57:04 -06:00
Ryan Culpepper
2e2bc02303 syntax/parse: fixed obsolete test cases 2011-04-01 00:54:29 -06:00
Robby Findler
e8eea05afc rewrote uses of mzlib/contract into racket/contract
(and other minor rackety when the occasion arose)
2011-03-31 18:21:11 -05:00
Robby Findler
44193bda4c fix ->r docs 2011-03-31 18:05:35 -05:00
Robby Findler
d4e6f99b74 fix the algorithm for determining if a > that is typed in an
XML box ends an opening tag or not
  closes PR 11792
2011-03-31 17:26:03 -05:00
Robby Findler
56ab3eecb6 make the front-end deadlock avoidance (aka pospone io) wrapper handle specials
closes PR 11831
2011-03-31 15:21:45 -05:00
Kevin Tew
26d7768d3d Rename place-channel-recv place-channel-receive 2011-03-31 13:36:40 -06:00
Kevin Tew
f7ab3fe2b3 Move raco and compiler to front of parallel compile list 2011-03-31 12:59:31 -06:00
Eli Barzilay
43275e7b0a Make the web page header a link to the main page. 2011-03-31 11:05:52 -04:00
Eli Barzilay
00a9247fa9 Add "[pdf]" links to the doc links in the learning page. 2011-03-31 10:51:09 -04:00
Eli Barzilay
b757e502af Reuse documentation links from common/links.rkt.
This also fixes the "plt-scheme.org" reference, so also fix the redex
link to use "racket-lang.org".
2011-03-31 09:57:48 -04:00
Eli Barzilay
65bfae09a3 Fix `techreport-location' use in TR pages.
Closes PR11820.
2011-03-31 06:21:45 -04:00
Eli Barzilay
bad4a40741 Fix `regexp-quote' description.
Closes PR11818.
2011-03-31 06:16:53 -04:00
Matthew Flatt
d00c8a6c71 Scribble: fixes for text output, especially inset nested flows 2011-03-30 19:53:32 -06:00
Matthew Flatt
4703265503 Scribble: use \abovedisplayskip and \belowdisplayskip for code insets 2011-03-30 18:11:33 -06:00
Robby Findler
82933e8019 fixed the 'find the word behind the insertion point' function for racket-mode completion
closes PR 11800
2011-03-30 19:07:08 -05:00
Matthew Flatt
bbc5533938 Scribble: change the way `racketblock' etc. indent/inset works
- introduce 'code-inset style for nested blocks
 - use style instead of spaces for code indentation
 - sigplanconf adds vertical space around 'code-inset
 - more ...0 variants to compose better
2011-03-30 15:12:30 -06:00
Casey Klein
8a283650c4 Updates typesetting tests
Spacing is now different by a few pixels. The change does not seem to
be Redex specific
2011-03-30 13:59:39 -05:00
Casey Klein
1312a2e52e Improves `reduction-relation' documentation
Fixes PR 10665
2011-03-30 13:59:39 -05:00
Casey Klein
6cdfa2ff73 Updates typesetting tests for new arrow drawing 2011-03-30 10:20:53 -05:00
Casey Klein
d97a2b505c Fixes matching of ..._x and ..._!_x inside ellipses 2011-03-30 10:15:17 -05:00
Robby Findler
d265231452 added some examples for pen cap and join styles 2011-03-30 09:44:54 -05:00
Robby Findler
e28a6832ca fixes descent/ascept problems and text highlighting problems in number snips
closes PR 11825
2011-03-29 22:43:26 -05:00
Robby Findler
ee82d86bd1 added docs for the mzlib/contract function combinators 2011-03-29 22:43:23 -05:00
Robby Findler
6461b1feae Rackety 2011-03-29 22:43:21 -05:00
Robby Findler
5b879d0680 add missing require, fix opt/c test suite 2011-03-29 22:43:18 -05:00
Matthew Flatt
68f7e9f33b doc clarifications 2011-03-29 19:53:06 -06:00
Casey Klein
0839f763ec Fixes a bug in the deref rule 2011-03-29 16:05:54 -05:00
Casey Klein
8f006f1a1f Fixes bugs in error transitions 2011-03-29 15:57:50 -05:00
Casey Klein
b958e21f46 Fixes another bug in the stepper's diff highlighting 2011-03-29 13:05:03 -05:00
Casey Klein
df3bc8980b Fixes a bug in the stepper's diff highlighting 2011-03-29 13:05:02 -05:00
Jay McCarthy
113e0aa184 Fix issue found by Eric Tanter 2011-03-29 09:24:36 -06:00
Matthew Flatt
ba70e05ae2 Scribble: fix Latex-renderer bug introduced by 67b7c8f3f4 2011-03-29 08:32:14 -06:00
Robby Findler
9245f4b19a move away from mzlib/contract and towards racket/contract 2011-03-28 23:04:43 -05:00
Robby Findler
6a4688b505 adjusted the comment in racket/contract/base.rkt to be more accurate 2011-03-28 23:04:40 -05:00
Robby Findler
b8c7a753d3 removed the re-providing from internal files in the contract impl. 2011-03-28 23:04:36 -05:00
Robby Findler
eb06e38065 removed commented out, long unused code (also: rackety) 2011-03-28 23:04:33 -05:00
Matthias Felleisen
8dbc1994bc small change to registration format 2011-03-28 20:14:46 -04:00
Matthias Felleisen
5e7ac9a038 fix naming of name of universe state window 2011-03-28 20:14:45 -04:00
Matthias Felleisen
5fee2676dc leftover debugging aide 2011-03-28 20:14:44 -04:00
Matthew Flatt
60dc3a5773 fix typo 2011-03-28 15:26:25 -06:00
Matthew Flatt
437f2585c9 revert "mzscheme" and "mred" collection versions
and turn off automatic "mzscheme" version dependency for
 package .plt files
2011-03-28 15:17:17 -06:00
Matthew Flatt
0fda70b7ca fix region% problems
- fail gracefully with pre 1.4 Cairo
 - clip all drawing for an empty clipping region
 - disallow `is-empty?' on a region without a DC
   (since the test depends on the DC dimensions)
2011-03-28 15:15:57 -06:00
Matthew Flatt
b0a3025c48 disable hack that turns off kerning for bitmap DCs
because it intereferes with pict metrics; also, I can't find
 a case where it is needed, maybe because other repairs
 corrected the original problem in a better way
2011-03-28 10:46:34 -06:00
Matthew Flatt
9acab4ad17 win32: 'swiss font family maps to "Arial" instead of "Helvetica" 2011-03-28 10:44:40 -06:00
Matthew Flatt
789081e2c3 fix xref 2011-03-28 10:43:25 -06:00
Matthew Flatt
5844b56a10 doc typos 2011-03-28 06:45:06 -06:00
Matthew Flatt
ad922d545c document Unix lib dependencies for racket/draw' and racket/gui/base' 2011-03-28 06:23:14 -06:00
Matthew Flatt
6e1f35a319 fix WXME stream write-bytes' and write' method results 2011-03-27 16:30:44 -06:00
Matthew Flatt
84ad491837 fix docs to explain pen cap and join styles
--- in prose, but pictures would be good, if anyone wants to add them
2011-03-27 16:27:19 -06:00
Matthew Flatt
1f790d9428 fix pen-cap support for narrow pens
by limiting a hack for bitmap drawing so that it doesn't
 affect PS/PDF drawing
2011-03-27 16:27:19 -06:00
Matthew Flatt
a20a77508f adjust inline-PDF descent to account for rounding
of the PDF bounding box
2011-03-27 16:27:19 -06:00
Matthew Flatt
67b7c8f3f4 fix PS/PDF size
since a PS/PDF bounding box is an integer, take the ceiling
 of a requested width & height
2011-03-27 16:27:19 -06:00
Robby Findler
4021f55c61 fixed up broken tests 2011-03-27 16:13:44 -05:00
Matthew Flatt
95f0d16761 clean up drawing with 0-width pens (hairline mode) 2011-03-27 14:21:21 -06:00
Matthew Flatt
009468d6a8 scriblib doc corrections and clarification 2011-03-27 14:20:17 -06:00
Robby Findler
7a427be2fd improve Redex's arrow drawing 2011-03-27 14:49:34 -05:00
Vincent St-Amour
4b4d7f5f0b Document here-figures. 2011-03-27 14:48:17 -04:00
Matthew Flatt
4e72817688 win32: clipboard fix 2011-03-27 11:22:15 -06:00
Matthew Flatt
d77c92d087 fix support for a string result from get-data' of clipboard-client%'
and properly report an error when the result from `get-data' is not
  allowed
 Closes PR 11821
2011-03-27 10:51:46 -06:00
Matthew Flatt
deab2ddede cocoa: fix line height in `list-box%'
Closes PR 11822
2011-03-27 10:23:34 -06:00
Matthew Flatt
84d8bb3726 racket/sequence repairs
including addition of `sequence-generate*'
2011-03-27 10:02:11 -06:00
Matthew Flatt
d81ace1031 fix CSS typo 2011-03-27 07:30:18 -06:00
Vincent St-Amour
c1ab718ad7 Add here-figures to scribble and avoid putting figures on their own page if possible. 2011-03-27 07:30:18 -06:00
Robby Findler
fe75ed9a39 adjusted the color preferences button placement to avoid such a wide prefs dialog 2011-03-26 10:53:23 -05:00
Robby Findler
f69ff3b6b7 added support for 'or', \vee, and \cup as builtins to the define-metafunction codomain contracts 2011-03-26 10:04:39 -05:00
Robby Findler
f3b0a7454a improved the error messages for #:pre and #:post violations in ->i by including the bindings for the variables 2011-03-26 08:12:30 -05:00
Robby Findler
3b4ba31d74 set the save-as menu shortcut to s and the prefix to shift 2011-03-25 20:18:52 -05:00
Kevin Tew
00696cbfac variable-reference->module-source test 2011-03-25 15:04:02 -06:00
Robby Findler
e6633d2af1 use the new extend-position functionality to adjust the shift-based key bindings implemented in the framework
closes PR 11768
  closes PR 11806
2011-03-25 15:19:55 -05:00
Robby Findler
288caacdfd added get-extend-start-position and get-extend-end-position
added the extend-position method
adjusted the wxme.rkt test suite so that it only prints when tests fail
2011-03-25 15:10:49 -05:00
Robby Findler
4e81299e98 added examples to struct-copy docs 2011-03-25 11:04:17 -05:00
Robby Findler
614ec41ab7 extended struct-copy so that you copy adjust fields from super structs 2011-03-25 08:47:27 -06:00
Casey Klein
faef39cbc6 Fixes the docs for non-terminal styles 2011-03-24 14:58:31 -05:00
Casey Klein
3214861420 Fixes rendering of (hole t ...+)
There was some old named holes code still in use.
2011-03-24 14:35:02 -05:00
Vincent St-Amour
2e811060c5 Add the capital version of an accented character to Scribble. 2011-03-23 18:21:27 -04:00
Robby Findler
85b846f5f3 added one more accented char to scribble 2011-03-23 17:03:58 -05:00
Robby Findler
99e9bd9543 exported arrow->pict 2011-03-23 17:03:57 -05:00
Casey Klein
87934752b5 Adds a parameter that provides a default for redex-check's #:attempt argument 2011-03-22 21:20:29 -05:00
Vincent St-Amour
4b1e4f9312 Fix Scribble's handling of the trademark symbol. 2011-03-22 16:27:12 -04:00
Vincent St-Amour
6e9fea94e0 Fix Scribble's handling of L with stroke. 2011-03-22 12:30:29 -04:00
Vincent St-Amour
60cc8c4453 Fix type of sqr. 2011-03-21 16:06:37 -04:00
Vincent St-Amour
0641d7bd78 Handle more accented characters in Scribble. 2011-03-21 12:08:36 -04:00
Matthew Flatt
60c4acb094 Scribble: clean up text-mode output
- line-flow paragraphs to fit in 72 columns
 - better indentation for itemizations
 - format tables with paragraphs and nested tables
2011-03-20 17:19:03 -06:00
Matthew Flatt
b2e338cc43 add missing autobib test 2011-03-20 15:38:51 -06:00
Matthew Flatt
50ca70703f scriblib/autobib: fix `in-bib' to not generate a new bib entry 2011-03-20 15:35:02 -06:00
Matthew Flatt
ed96b89c45 JIT-inline `list?' 2011-03-20 09:51:32 -06:00
Vincent St-Amour
58c3c84c1b Raise drdr timeouts for TR tests, since typechecking now takes longer. 2011-03-19 14:29:32 -04:00
Matthew Flatt
cbca2f395b Scribble: add 'multicommand support to `nested-flow' 2011-03-19 09:26:41 -06:00
Matthew Flatt
e652546bf5 add streams to `racket'
- rename old `racket/stream' to `racket/sequence', and adjust
   to avoid stateful iterations
 - add a new `racket/stream' library with a `strean-cons' that is based
   on SRFI 41
 - adjust `for' and some sequence constructors like `in-range' to
   work more directly with streams
2011-03-18 19:05:23 -06:00
Kevin Tew
ae8b326522 [Places] added place-kill 2011-03-18 15:06:11 -06:00
Carl Eastlund
325516556a Updated define-syntax-block to subsume define-syntax-set,
and referred to define-syntax-set in the documentation.
2011-03-18 16:54:52 -04:00
Carl Eastlund
d903298264 Added and documented 'define-syntax-block' in unstable/define,
a convenience macro for defining macros that rely on phase 1
definitions of macros or mutually recursive functions.
2011-03-18 13:38:21 -04:00
Vincent St-Amour
4ba3f1a6dd Fix type names. 2011-03-18 13:25:06 -04:00
Vincent St-Amour
3ebe9e78f9 Optimize add1 and sub1 on floats and fixnums. 2011-03-18 13:25:05 -04:00
Vincent St-Amour
d06bf0de91 Use subtype test, just in case. 2011-03-18 13:25:05 -04:00
Vincent St-Amour
17afa91c09 Provide the index? predicate. 2011-03-18 13:24:58 -04:00
Vincent St-Amour
1f0386b46c Improve TR's fixnum optimizations, using the new sub-fixnum types. 2011-03-18 10:25:22 -04:00
Vincent St-Amour
bde2ee0b8d Changes to the regular base type environment. 2011-03-18 10:25:22 -04:00
Vincent St-Amour
ee29d371c9 Updated TR's base type environment to use the new numeric types.
This ended up being an almost complete rewrite of the base environment.
Note: While the commit is dated Jan 27, the work was finished on Mar 2.
2011-03-18 10:25:21 -04:00
Vincent St-Amour
bf6379c363 Add a helper function to add filters en masse to express propositions
that are true about a function's arguments if the function returns.
2011-03-18 10:25:20 -04:00
Vincent St-Amour
88fac43d55 Add an Exact-Number type. 2011-03-18 10:25:20 -04:00
Vincent St-Amour
80a9027f1e Take the meet of constraints earlier in the inference process.
This avoids constraint explosions in some cases, notably when working
with polydots and plain variable arity functions at the same time.

However, this also weakens inference a bit (breaks it for
unholy-terror and related tests), but not in a way that affects any
practical use cases that I know of.
2011-03-18 10:25:19 -04:00
Vincent St-Amour
d0bab99535 Move subtype check in inference engine earlier, for performance reasons. 2011-03-17 18:43:59 -04:00
Vincent St-Amour
e450e2815b Share dotted variables to make inference faster. 2011-03-17 18:43:58 -04:00
Vincent St-Amour
bd301912c0 Remove duplicate constraints when taking their meet. 2011-03-17 18:43:58 -04:00
Vincent St-Amour
3d43724e4c Share TR responsibility with samth. 2011-03-17 18:43:58 -04:00
Vincent St-Amour
f8528ac892 Change type of make-sequence to reflect changes to its implementation. 2011-03-17 18:43:57 -04:00
Ryan Culpepper
bf591d4d01 syntax/parse: added #:disable-colon-notation option 2011-03-17 13:47:38 -06:00
Ryan Culpepper
b5154b444f syntax/parse: docs for define-simple-macro 2011-03-17 13:47:38 -06:00
Ryan Culpepper
012746540c syntax/parse: added define-simple-macro form (needs docs) 2011-03-17 13:47:38 -06:00
Ryan Culpepper
1353d40612 syntax/parse: allow zero syntax-parse clauses and zero syntax-class variants 2011-03-17 13:47:38 -06:00
Robby Findler
d0d2285c4c Adjust the dependencies in redex/pict so it doesn't depend on racket/gui/base anymore 2011-03-17 13:35:32 -05:00
Robby Findler
6e1ffc24cf fix some for-label requires 2011-03-17 13:35:31 -05:00
Kevin Tew
5b0f12b1c1 Cleanup CollectsQueue get-job 2011-03-17 11:47:11 -06:00
Vincent St-Amour
35161a0ba6 Fix expected optimization logs to reflect changes to for. 2011-03-17 13:10:19 -04:00
Vincent St-Amour
498ee4bea1 Fix TR's GUI test harness. 2011-03-17 13:10:19 -04:00
Vincent St-Amour
fe8f1c3591 Fix contract. 2011-03-17 13:10:19 -04:00
Vincent St-Amour
e9789c6697 Fix the 2-argument case of atan to conform to the documentation and
fix the documentation.
2011-03-17 13:10:19 -04:00
Matthew Flatt
ad8e959a98 tweak performance of `for' with non-inlined sequences 2011-03-16 17:02:53 -06:00
Matthew Flatt
c51daeb392 clean up sequence & generator tests 2011-03-16 16:21:26 -06:00
Matthew Flatt
4b39efdee4 fix `syntax-local-bind-syntaxes' argument checking
Closes PR 11808
2011-03-16 06:36:48 -06:00
Matthew Flatt
0efcf22ed4 racket/generator: clean-ups, including planned generalization
- syntax is now (generator formals body ...+)
 - add `generator?'
 - remove common run-time code from the `generator' macro expansion
 - doc fixes
 - start test suite
2011-03-15 20:14:01 -06:00
Matthew Flatt
b9c4bbae67 futures: limit parallelism via custodians
Closes PR 11682
2011-03-15 14:43:18 -06:00
Matthew Flatt
6a79ebdc97 adjust racket/gui test to cover no-border tab-panel% 2011-03-15 12:44:11 -06:00
Matthew Flatt
7ecf8e6c0b cocoa: fix crashing bug related to canvas sizing 2011-03-15 12:42:04 -06:00
Matthew Flatt
a2d968a5d2 fix `init-manual-scrollbars'
Closes PR 11781
2011-03-15 12:41:59 -06:00
Matthew Flatt
17a1322fe5 match': document var' pattern 2011-03-15 12:25:53 -06:00
Matthew Flatt
03e42ce618 revese accidental change in 28be0c6e89 2011-03-15 11:12:50 -06:00
Matthew Flatt
343b6fb008 Scribble: fix caching of hyperlinked identifiers 2011-03-15 11:09:10 -06:00
Eli Barzilay
64e4b73a9f Minor typo and other small things. 2011-03-15 11:46:16 -04:00
Eli Barzilay
09698c800c Improve the error message from scribble text rendering tests. 2011-03-15 11:45:40 -04:00
Robby Findler
28be0c6e89 adjust the size calculation of picts in the file/convertible connection to take into account the current-ps-setup's scale 2011-03-15 09:00:37 -05:00
Matthew Flatt
e8cb27c08c add `get-device-scale' to dc<%> 2011-03-15 07:37:42 -06:00
Matthew Flatt
3207efddb0 fix Scribble Latex/PDF handling of images w/o bounding boxes 2011-03-15 07:20:36 -06:00
Matthew Flatt
2f907afde6 code clarification 2011-03-15 06:46:36 -06:00
Robby Findler
615bc86668 added pdf-bytes+bounds to the docs for file/convertible and then used it
to make scribble render inline picts with a nearly good looking baseline
2011-03-14 19:38:29 -05:00
Robby Findler
bd3a43db98 changed some nonnegative-real?'s into (and/c real? (not/c negative?))'s 2011-03-14 19:38:24 -05:00
Robby Findler
466abb9896 typo 2011-03-14 19:38:18 -05:00
Kevin Tew
867ae7fd8b [Places] places enabled builds now use places to build collects 2011-03-14 11:46:50 -06:00
Matthew Flatt
991745108c Scribble: experiment with non-bold as syntactic-form font 2011-03-13 09:02:41 -06:00
Matthew Flatt
0101d12d49 hyperlink #<void> and #<undefined> in docs 2011-03-13 09:02:40 -06:00
Matthew Flatt
cf69cb2aff special treatment of void as 'inferred-name property
allows keyword-based application to hide temporary
 names that happen to be bound to procedure arguments
2011-03-13 09:02:39 -06:00
Matthew Flatt
3fb4561a62 scribble/manual: document `this-obj' 2011-03-13 09:02:39 -06:00
Matthew Flatt
1a6dacc4c5 clarify `path-element->string' docs 2011-03-13 09:02:39 -06:00
Eli Barzilay
01089550e2 Add comment on how to make interactions use syntax values.
Also add `code:comment' to the keyword list.
2011-03-11 15:40:13 -05:00
Matthew Flatt
449a634b2f add missing test for commit ae8705611b 2011-03-11 13:19:52 -06:00
Matthew Flatt
5afacbbb1c fix `pretty-print' confusion about quasiquote
Closes PR 11796
2011-03-11 08:02:30 -06:00
Matthew Flatt
ae8705611b scribble/eval: fix evaluation of literal #f expression
Fixed part of PR 11790
2011-03-11 07:52:16 -06:00
Eli Barzilay
5a9d954f2a Several typos from Jussi Salmela. Fixes PR 11790 -- all typos.
(Two issues remain that will be resolved later.)
2011-03-11 06:47:36 -05:00