Commit Graph

27851 Commits

Author SHA1 Message Date
Matthias Felleisen
4833f9d839 added a function for parsing contest files more easily, fix doc typo 2012-12-27 19:01:34 -05:00
Matthias Felleisen
602a5a38f3 added a function for parsing contest files more easily, plus data 2012-12-27 19:01:34 -05:00
Matthias Felleisen
cdcbdfaf8c added a function for parsing contest files more easily 2012-12-27 19:01:33 -05:00
Matthias Felleisen
a15ae19d46 warn programmers that the key event specification is incomplete; Closes PR13168 2012-12-27 19:01:33 -05:00
Matthias Felleisen
1ad88436ff documenting the folder 2012-12-27 19:01:33 -05:00
Matthew Flatt
f2d870859a logging: allow name in `log-message', report it in a log-receiver evt
The synchronization result of a log receiver is now a vector of four
values, instead of three, where the last one reports the name.

Also, an optional argument to `make-logger' provides a notification
callback for each event sent to the logger.

These changes enable more control over loggers and events. Suppose
that you have processes A and B, and you want all log events of A
to be visible to B, but not vice-versa. Furthermore, you want the
log events to appear at B in the right order: if A logs an event
before B, then A's event should arrive at a log receiver's before
B's. Now that a log receiver gets the name associated with the
original event, and now that the name can be re-sent in a
`log-receiver', it's possible to give A and B separate loggers and
send all of the events from A's logger to B's logger. Furthermore,
you can use the notification callback so that when an event is logged
in B, you can make sure that all available events from from A's
logger have been transferred to B's logger.
2012-12-27 14:12:40 -06:00
Matthew Flatt
a39004241e fix dist spec 2012-12-27 14:12:40 -06:00
Matthew Flatt
3f6b30a569 scibble: repair related to recent `scribble/tag' contracts 2012-12-27 12:49:30 -06:00
Robby Findler
353da62843 added make-module-language-tag and use it and make-section-tag
in a few places
2012-12-27 11:10:40 -06:00
Robby Findler
a412ab8411 add a basic test of the logger GUI 2012-12-27 10:23:48 -06:00
Matthew Flatt
ca3b712871 minor doc edits
consistent capitalization of section titles
2012-12-27 09:24:15 -06:00
Matthew Flatt
2d12431c0d move and fixup docs for the "help" collection 2012-12-27 09:24:15 -06:00
Matthew Flatt
f29230f8f2 add `scribble/tag' and clean up some tag-related documentation and functions
Includes the addition of `make-section-tag' and `taglet?' to
`scribble/base'.
2012-12-27 09:24:14 -06:00
Robby Findler
cbeb846043 logger GUI bug
when a tab is created, the logger gui controls may not
have been created, so in the case don't try to update them
2012-12-27 09:06:18 -06:00
Robby Findler
d2d1ac2f2c Improve the logger GUI in DrRacket
One drawback to the current situation (after this commit) is that all
log messages are sent into the user's logger, even messages that come
about as part of DrRacket's implementation. It isn't clear how to fix
this without enumerating all of the possible messages to share and
explicitly forwarding them (both of which are suboptimal things).

On the plus side, the GUI now uses the "debug@GC" notation in a text
field, and when the logger pane is not open, there is no extra work
going on. Plus other, minor GUI improvements.
2012-12-26 22:38:42 -06:00
Robby Findler
f6805ea0c2 remove fancy delay dance around load-collections-xref 2012-12-26 22:37:45 -06:00
Robby Findler
8a3f662d51 git rid of thread unsafe use of load-collections-xref
This was there, I believe, to avoid latency when clicking
on the [docs] links in the language dialog. But now that
we're using a database anyways, loading the xrefs is fast.
2012-12-26 21:20:46 -06:00
Robby Findler
10137dc679 fix bug in help/search docs 2012-12-26 21:18:53 -06:00
Matthew Flatt
7bddce81ad fix GC bug
The bug was introduced by commit aa08a68424, which added
support for phantom bytes.
2012-12-26 12:15:04 -06:00
Matthew Flatt
18a538050a guide: improve explanation of transformer procedures and identifier macros 2012-12-26 12:15:03 -06:00
Robby Findler
0a6d8822b0 adjust DrRacket logging support following comments from Neil Van Dyke
- use the same font/size as the definitions/interactions window
- add a checkbox to control scrolling behavior and,
- when scrolling, scroll to the begining of the line, not the end
2012-12-26 09:03:43 -06:00
Robby Findler
fa85d30773 adjust the search bubbles so they flicker less when typing 2012-12-25 17:40:32 -06:00
Matthew Flatt
b69573277c reference: rerrange docs on synchronizable events
Put the details consistently with event datatypes, instead
of trying to put them all in `sync', which better reflects
the extensibility of the set of synchronizable events.
2012-12-25 07:20:58 -06:00
Matthew Flatt
c162657685 racket/class: fix interaction of class/c' and send-generic' 2012-12-25 07:20:57 -06:00
Robby Findler
1298c11d2f adjust find-string in text% so it doesn't allocate as many temporary strings
Also, Rackety
2012-12-24 23:35:12 -06:00
Asumu Takikawa
3fc8ce0709 Refactor f3fa5d1669 2012-12-24 17:56:08 -05:00
Asumu Takikawa
f3fa5d1669 More precise syntax errors for let and friends 2012-12-24 16:50:58 -05:00
Robby Findler
6a69da76e2 adjust ascii-box => unicode-box algorithm so that
it only looks left and right at hyphens and only
up and down at pipes, etc. This better handles the
case where you have something like this:

  +--------------+
  | (<= a-x b-y) |
  +--------------+

Before this commit, it would have adjusted the hypens
inside the identifiers
2012-12-24 13:49:32 -06:00
Robby Findler
7041ea1d80 adjust online expansion's internals to call set-dirty only at
the end of an edit sequence instead of on every edit inside
the edit sequence
2012-12-24 12:31:55 -06:00
Robby Findler
a504f77d54 adjust line number mixin so it postpones recomputation of
sizes until the end of an edit sequence (when appropriate)
2012-12-24 12:30:54 -06:00
Robby Findler
5a9c5f681b clean up ascii art => unicode a little
adjust the way it changes characters so it
doesn't change them when they are already the right
thing (this means set-modified is not always called
and also improves performance in the case that little
changes in a big diagram)
2012-12-24 12:29:57 -06:00
Robby Findler
042bbbefe7 add an ASCII art rectangle => unicode rectangle keybinding to drracket 2012-12-24 11:38:54 -06:00
Matthew Flatt
4a57db4448 add (system-type 'word)
Returns 32 or 64 to indicate whether Racket is running as a
32-bit program or a 64-bit program.
2012-12-24 06:38:53 -07:00
Robby Findler
aa27011f34 fix namespace-variable-value error reporting
closes PR 13387
2012-12-23 16:42:40 -06:00
Robby Findler
fc2f931755 fix language dialog tooltip positioning code for mac os x 2012-12-23 12:37:53 -06:00
Robby Findler
0fecdaddf7 avoid showing/re-hiding tooltip when it wouldn't move
More mouse events seem to come in under windows than
mac os x, leading to the bad flashing behavior described
in PR 13384

closes PR 13384
2012-12-23 09:52:57 -06:00
Robby Findler
ccae98777a fix a switchable button / discrete-sizes panel interaction bug
also clean up the code a bit (make sure the h? argument to
set-label-visible is really a boolean and make some of the
long lines narrower)
2012-12-23 09:52:55 -06:00
Matthew Flatt
24725f8366 props: matthias responsible for `realm' 2012-12-23 06:43:54 -07:00
Matthew Flatt
0e2a917bda fix printinf of `(class->interface object%)' 2012-12-23 06:42:36 -07:00
Matthew Flatt
27a1121869 racket/draw: fix race in setting up pre-multiply tables for bitmap ops 2012-12-23 06:35:36 -07:00
Matthias Felleisen
6f40e86037 first complete draft of the Realm of Racket code, with todo list 2012-12-22 19:27:59 -05:00
Matthias Felleisen
b09fbf8b38 compiliation allowed, typo 2012-12-22 19:27:59 -05:00
Matthias Felleisen
4111379982 hungry henry game 2012-12-22 19:27:58 -05:00
Matthias Felleisen
b06f938fb8 graphics for hungry henry 2012-12-22 19:27:58 -05:00
Matthias Felleisen
1fd37e98a8 todo list; typo in 10 2012-12-22 19:27:58 -05:00
Matthias Felleisen
1621af2aab lazy version of dice of doom 2012-12-22 19:27:58 -05:00
Matthias Felleisen
b940e4fc19 made it truly strict, organized data defs 2012-12-22 19:27:58 -05:00
Matthias Felleisen
092e48a981 more uncompilables 2012-12-22 19:27:58 -05:00
Matthias Felleisen
b78d251c70 prevent compilation for files with images 2012-12-22 19:27:58 -05:00
Matthias Felleisen
613bb3e16c dice of doom 2012-12-22 19:27:58 -05:00