Commit Graph

27622 Commits

Author SHA1 Message Date
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
Matthias Felleisen
17d3d9e3f4 graphics for dice of doom 2012-12-22 19:27:58 -05:00
Robby Findler
58e15cc2c7 fix tests for the "class:"-less object-name results 2012-12-22 18:25:43 -06:00
Robby Findler
b112a7ef0a adjust object-name on classes and interfaces to drop the prefix
Before this commit, things like this:

  (define c% (class object% (super-new)))
  (object-name c%)

would produce

   'class:c%

but now classes and interfaces will be more like procedures and, in
the example above, just produce:

   'c%

The underlying goal is to make error messages generated from contracts
like

  (is-a?/c frame%)

have "(is-a?/c frame%)" in the message, instead of "(is-a?/c
class:frame%)"
2012-12-22 15:00:54 -06:00
Robby Findler
3ab14bbafe initialize the delegate text for a new frame
related to PR 13379
2012-12-22 11:47:30 -06:00
Matthew Flatt
bdaf823aee skip compilation of "realm" file that contains an image 2012-12-22 09:55:29 -07:00
Matthew Flatt
f4285e4e86 JPEG decoding: remove extra allocation 2012-12-22 09:43:20 -07:00
Matthew Flatt
1545ed42c8 racket/draw: fix problem with concurrent PNG read and write
Same memory-management mistake as for the JPEG binding.
2012-12-22 09:43:20 -07:00
Matthew Flatt
a09c8f1857 Revert "racket/draw: fix another problem with the JPEG binding"
This reverts commit c2468f1f9a.

The libjpeg documentation claims that it has no static state,
so atomic mode shouldn't be necessary. Also, the stress test is
still failing on some platforms, so there must be a different
problem than I thought.
2012-12-22 09:43:20 -07:00
Matthew Flatt
22d94193ed libjpeg, win64: fix `_size_t' 2012-12-22 09:43:20 -07:00
Matthew Flatt
853f959622 raco pkg: improve command-line checking and error reporting
For example, complain if both `-u' and `-i' are specified,
or if a bad `--deps' mode is provided.
2012-12-22 09:43:19 -07:00
Matthew Flatt
61e0610b2a raco pkg show: add -v'/--version' argument for selecting a Racket version
This is sortof a step toward `raco pkg migrate'.
2012-12-22 09:43:19 -07:00
Matthew Flatt
fdcd030e54 raco pkg show: tweak output format 2012-12-22 09:43:19 -07:00
Robby Findler
118e961cee Revert ufo changes at Matthias's request
Revert "do a little bit better job compressing the bytes"

This reverts commit 099a35881e.

Revert "adjust file to use the literal bytes for the ufo image"

This reverts commit fdd9344b27.
2012-12-22 10:35:24 -06:00
Mike Sperber
a4f0158716 Synch German string constants with latest. 2012-12-22 15:38:54 +01:00
Robby Findler
d7e6f35b97 guard against spurious status messages 2012-12-22 08:30:54 -06:00
Neil Toronto
1aebd171c5 Moar matrix review/refactoring
* Consolidated Gauss and Gauss-Jordan elimination

* Fixed Gaussian elimination to return all indexes for pivotless columns,
  not just those < m

* Consolidated `matrix-row-echelon' and `matrix-reduced-row-echelon'

* Specialized row reduction for determinants; removed option to not do
  partial pivoting (it's never necessary otherwise)

* Added `matrix-invertible?'

* Removed `matrix-solve-many'; now `matrix-solve' solves for multiple
  columns

* Gave `matrix-inverse' and `matrix-solve' optional failure thunk arguments

* Made some functions that return multiple columns return arrays instead
  (i.e. `matrix-column-space')

* Added more tests
2012-12-21 22:59:59 -07:00
Neil Toronto
3bc4c1ffdc More efficient Gaussian elimination using vectors of vectors (non-strict
arrays can't help an inherently sequential algorithm)
2012-12-21 22:59:59 -07:00
Robby Findler
099a35881e do a little bit better job compressing the bytes 2012-12-21 23:04:24 -06:00
Robby Findler
fdd9344b27 adjust file to use the literal bytes for the ufo image
this may not be suitable code for RoR, I'm not sure, but it
avoids the compilation problem and was fun to try out
(at least for me)
2012-12-21 22:32:53 -06:00
Robby Findler
7cad346cf8 add a preference to disable the arrows in online check syntax (and regular check syntax too) 2012-12-21 22:08:51 -06:00
Robby Findler
84057ce3d5 export preferences:add-check 2012-12-21 22:07:57 -06:00
Robby Findler
f4f7833531 move some literal strings into the string constants
(they should have been there ages ago ...)
2012-12-21 21:35:09 -06:00
Robby Findler
200ec130a0 drracket's online compilation now tracks files loaded during expansion
use these files to determine if a file is dirty (and thus needs
to be recompiled) when another file is saved.

closes PR 13307
2012-12-21 21:20:23 -06:00
Matthias Felleisen
a567de9a48 distributed server game 2012-12-21 21:11:41 -05:00
Matthias Felleisen
a354195ae4 purpose statements 2012-12-21 21:11:41 -05:00
Matthias Felleisen
49a62fd285 orc game 2012-12-21 21:11:41 -05:00
Matthias Felleisen
ca8c21f43c graphics for orc game 2012-12-21 21:11:40 -05:00
Matthias Felleisen
02a3736d84 source and readme for snake game 2012-12-21 21:11:40 -05:00
Matthias Felleisen
a9db702a76 graphic elements for snake game 2012-12-21 21:11:40 -05:00