The Racket repository
![]() On 10.9 and later, `racket/gui` now disables App Nap. Otherwise, a program like #lang racket/base (require racket/class racket/gui/base) (define T 0.05) (let loop ([prev (current-inexact-milliseconds)]) (sleep T) (define now (current-inexact-milliseconds)) (define delta (- now prev)) (when (delta . > . (* 2000 T)) (printf "long wait ~a at ~a\n" delta now)) (loop now)) will start to report a wait of more than 10 seconds, as App Nap puts the process to sleep. Relatedly, when `racket/gui` is started via plain `racket` (as opposed to GRacket), then it starts in "accessory" mode instead of "regular" mode, which means that the application does not appear in the dock or have a menu bar. As soon as a frame is shown or a root menu bar is created, the application is promoted to "regular" mode. This works in 10.7 and later. |
||
---|---|---|
native-pkgs@4bc36e704d | ||
pkgs | ||
racket | ||
.gitattributes | ||
.gitignore | ||
.gitmodules | ||
.mailmap | ||
.travis.yml | ||
INSTALL.txt | ||
Makefile | ||
README.txt |
This is the source code for the main Racket distribution. See "INSTALL.txt" for information on building Racket. License ------- Racket Copyright (c) 2010-2014 PLT Design Inc. Racket is distributed under the GNU Lesser General Public License (LGPL). This means that you can link Racket into proprietary applications, provided you follow the rules stated in the LGPL. You can also modify Racket; if you distribute a modified version, you must distribute it under the terms of the LGPL, which in particular means that you must release the source code for the modified software. See racket/src/COPYING_LESSER.txt for more information.