Commit Graph

4842 Commits

Author SHA1 Message Date
Matthew Flatt
4ad4792778 raise GUI size limit to 1000000
Add `dimension-integer?', `position-integer?',
`spacing-integer?', and `positive-dimension-integer?' to make
the documentation, especially, more parameterized over the
limit.

Also, make the slider limits match the dimension/position limit,
since they're often related.

Things go wrong with, for example, a canvas that is
larger than 32k in a dimension. It looks like there's
a problem on each platform, although not exactly the
same problem. Meanwhile, even larger scrollable panels
can work ok on platforms other than Windows.

Closes PR 13849

original commit: 2b1b8696f02fa59dea4278c2786fd21444204fc5
2013-08-08 17:49:34 -07:00
Robby Findler
be8caf7ad8 make un/cache-image accept everything that image? accepts
I'm not sure if the precise details of how this function behaves
(specifically that it copies snips that aren't cacheable) is
important, but I suspect the implementation is more authoritative
that the docs in this case, so document what it really does.

closes PR 13956

original commit: fb91397d24551dbef0db7c40a9d12042e6c7326b
2013-08-08 16:17:00 -05:00
Asumu Takikawa
813309eb5e Fix mrlib doc typo
original commit: aa0350ad7c9c41869807553a0633a35c9024d8af
2013-08-05 15:13:52 -04:00
Robby Findler
b9b21b26c6 fix exit:exit docs
closes PR 13944

original commit: e1d22e6b1fb1bea3653c198892fca6f41df50975
2013-08-05 01:11:41 -05:00
Robby Findler
992482244f set the background and the foreground color (not just the foreground)
when switching to white-on-black mode (or back).

this causes the cursor in embedded editors to pick up the right colors
(since it is selected by the inverse of the background color of the style
of the enclosing editor snip)

closes PR 13943

original commit: 492ddab085a1d87a70843df772b044ceb84adb3d
2013-08-04 16:28:47 -05:00
Asumu Takikawa
f48631143c Eventspace doc fixes and improvements
In particular, using a shut down eventspace actually returns
the exn:fail exception instead of exn:misc, which does not
exist. Example:
  #(struct:exn:fail start in timer%: current eventspace is shutdown:
    #<eventspace> #<continuation-mark-set>)

original commit: 26b7c98356919d340d77b9ead76862eaea07da05
2013-08-02 15:34:23 -04:00
Matthew Flatt
5565b4fceb add pkg-desc' and pkg-authors' to each package
This information will be used to construct a catalog from the
package directories.

original commit: 057bfc2ea1a24e85ece2d5f85da30076643ea598
2013-07-31 07:06:24 -06:00
Robby Findler
6469b0b2b3 fix a bug in the way bitmap scaling was being handled
original commit: c126a8aaaca5a81f57e2306a5e1d155362777491
2013-07-30 12:24:48 -05:00
Asumu Takikawa
0295828ffd Fix contract on editor interface
The documented contracted inaccurately described what
the actual code had implemented.

original commit: a847f5c11a1ba58e8fd2c7702d3ff7871911e377
2013-07-25 17:25:48 -04:00
Matthew Flatt
bb0c051c0b configure installation of man pages
original commit: d7d1739d4f3c4799cfb31d98aa14247eae39bd06
2013-07-22 13:21:09 -06:00
Robby Findler
716a40773f adjust backward-containing-sexp so that it returns #f
when there is no containing paren

it used to return the beginning of the region (usually 0)

(this adjusts backward-containing-sexp to agree with the docs)

original commit: e1f4547ea99200c6ad0e9c34a76d3eb19eb906b6
2013-07-22 11:50:24 -05:00
Robby Findler
7c3b161e3f fix (I think) a redrawing problem with the 102 chars column guide
original commit: 27603fafbaa44cc99d68bb4457decd3d55a2745f
2013-07-19 06:39:34 -05:00
Matthew Flatt
88eb14828b change release-notes' "info.rkt" field to release-note-files'
The change avoids a collision with PLaneT fields.

Also, add checking for the form of a `release-note-files' value.

original commit: 8f195a1ff65a05f7679af852f2cbfa58ea8f4bfc
2013-07-17 18:32:22 -06:00
Matthew Flatt
5995a1e4ce enable compilation of tests formerly in "racket-test"; reorganize
A package like "gui" does not depend on a package like "gui-test",
which means that you have to specifically ask for a test package if
you want the tests. A new "main-distribution-test" package
aggregates the tests for packages that are in "main-distribution".

The "plt-services" package, meanwhile, depends on the
"main-distribution-test" package, which means that all tests are
compiled by default for an in-place build.

original commit: d50d0f8bcab260f404049029b77407e0222f588a
2013-07-16 18:45:05 -06:00
Matthew Flatt
858a890046 fix for `get-current-mouse-state' on Mac OS X 10.5 and earlier
It looks like button-press information is not available on 10.5
and earlier, so so try to report it in that case.

Closes PR 13780

original commit: d695e8a15afff1da7c3306a717ef7d102483873f
2013-07-14 17:15:44 -06:00
Matthew Flatt
e10ab086ee auto-fix documentation package dependencies
original commit: d57f26f001701c54bdd4163c60251dab4db55eba
2013-07-12 14:52:42 -06:00
Matthew Flatt
31d183a8bb break various documentation dependencies by making them indirect
An "indirect" reference is resolved when HTML is loaded,
instead of at document-build time.

original commit: 3b89a05d46468a4e287c7c12c74bca324c9c21b8
2013-07-12 14:52:42 -06:00
Matthew Flatt
e606d2cc50 move `embedded-gui' docs from "gui-lib" to "gui-doc"
original commit: 4ee8dc2f5ef4b91c99c40af6fb870c7b38af227b
2013-07-12 14:52:41 -06:00
Matthew Flatt
bedae0d094 move mzscheme' and mzlib/unit200' from core to "compatibility-lib"
Also, move `mzlib/sandbox' to "compatibility-lib".

original commit: 72c91629893290cce4ea4082b08449b1a6914738
2013-07-10 12:57:02 -06:00
Matthew Flatt
a1f83c14b1 misc changes to avoid absolute paths in bytecode files
In many cases, `path->collects-relative' is used instead of
`path->main-collects-relative' to generalize existing support
for collection-relative paths.

original commit: f87981f96057c26cb311e786a91229bf4a874e5b
2013-07-08 12:24:17 -06:00
Robby Findler
a91597946c unbreak drracket
original commit: 5dbc59e8e8f4194fd72a8805d41ef1d48424bf36
2013-07-06 12:43:29 -05:00
Robby Findler
95f271deff bring down below 102 columns
original commit: 735c465eff1bd0a1c0b845406c5ba20b4e08dee4
2013-07-06 10:38:28 -05:00
Robby Findler
6546d4c781 fix c:c;c:e for empty sequences
closes PR 13905

original commit: c107ad1f7743ea4766e8f281fae8d8b3f39fedbd
2013-07-06 10:38:27 -05:00
Robby Findler
339f30b9cb get framework tests running again
original commit: 50fb71247deb6bb905cb3a110754d20a6d983764
2013-07-06 10:38:27 -05:00
Robby Findler
99ed019266 add gui-test pkg
original commit: 1b86794e2971d46c5144a477eca4cd8c4f21e241
2013-07-06 10:38:26 -05:00
Robby Findler
2ed1277a92 bring down below 102 columns
original commit: f56c94b9f5aa21bf4604377960db695d88f74683
2013-07-06 10:38:26 -05:00
Robby Findler
87dd26f026 splitting up redex into multiple pkgs: move files around commit
original commit: 422e0f7fb64771c4db4615e7a5c20ed1dbbf1c1d
2013-07-05 15:05:22 -05:00
Sam Tobin-Hochstadt
fd90879830 Use #lang info instead of #lang setup/infotab.
original commit: 5a7ca7ebb56b2215f2d395ed052c03ea740817ea
2013-07-04 16:46:32 -04:00
Robby Findler
d86ccdebb7 fix contract
original commit: 0e3ede92a01981cfe878665aaa62cee0ae8bb6b1
2013-07-03 10:59:45 -05:00
Robby Findler
b3eb070ed3 add transparent "color" to 2htdp/image.
original commit: 115722a261c40f241e99b65b2a8da5151413b107
2013-07-01 21:00:05 -05:00
Robby Findler
c73fb751b0 improve the performance of rotated or scaled (but not flipped) bitmap
drawing in 2htdp/image

closes PR 13895

original commit: df446195bfea12120a5011ac39dd9de762338e56
2013-07-01 10:08:49 -05:00
Matthew Flatt
765bc134e8 more auto package-dependency repairs
As detected by the repaired `raco setup'.

original commit: cf754e2058e94774863bc1ddf51f82023c1bf717
2013-06-29 18:42:00 -06:00
Robby Findler
ea05449559 move drracket tests into their own package
original commit: e0f6a427750d476c1659d52297b9e188b7d221cf
2013-06-29 10:33:36 -05:00
Matthew Flatt
506de52af4 auto-fix dependencies in "pkgs"
Left one dependency broken: "drracket" currently depends on "htdp" for
a test. That needs to be fixed by removing the dependency (moving the
test to "htdp?), instead of changing the declared dependencies.

original commit: 51290fd2a95def6bb3b6d3d735cb62444e157553
2013-06-29 06:51:19 -06:00
Matthew Flatt
b0ded0aaa2 fill in some pkg `implies'
original commit: 5c42f46158248130a8179e7a563d16c5fc9d0d35
2013-06-29 06:51:18 -06:00
Robby Findler
05f037e787 change the way the eof button works so that it sends pending input
into the port (instead of just dropping it)

original commit: c20933119e96b0dee4d29c3cc0b306a37260b4e9
2013-06-29 02:34:27 -05:00
Robby Findler
accf95a7a5 move drracket tests into the drracket pkg
original commit: 7139995d496b0c77ebbf0c32d350e5a8ade3e125
2013-06-29 02:34:26 -05:00
Matthew Flatt
5aea51f746 link development-mode packages in a separate pkg database
Use `PKGS' with the top-level makefile to select packages for
a development-mode build. The default is "main-distribution",
which includes all packages in "pkgs".

original commit: d450ee97075ef92e3356b6ae27e8a53419dd9732
2013-06-27 21:52:23 -06:00
Sam Tobin-Hochstadt
380c1c0487 Move compatibility, pconvert, and mutable pairs to new packages.
original commit: 59c6519cd3899f2bc872f0f2105d9c65b536a682
2013-06-27 13:53:52 -04:00
Sam Tobin-Hochstadt
88fc3d4865 Move unstable/contract and unstable/options to their own packages.
original commit: e934ce29630fff40329b92ab042ec8946decbcf8
2013-06-27 13:53:52 -04:00
Matthew Flatt
f9a8f87c15 a step toward single-collection packages as default
A package's "info.rkt" file should define `collection' as a
string to name a single-collection package's collection, or as
the symbol 'multi to declare the package as multi-collection.
If `collection' is 'same-as-pkg, then the package name is used
as the collection name.

The default for `collection' is 'multi for now, but the intent
is to change the default to 'same-as-pkg after a conversion
period. Also, support for a `single-collection' definition remains
in place, but it wil be removed.

original commit: c738a6aa3eee89a82d577dd35c70eca8ed32f5b4
2013-06-25 22:46:23 +02:00
Robby Findler
e18a1de431 fix bad edit in a8473ec1aaa2b623b3ce622e4775ceddfbaecf07
original commit: 314eee08046700e4748f393faaffc55654f1fd14
2013-06-22 18:34:00 -05:00
Robby Findler
999ccfb215 Rackety: shrink max linewidth to below 102
original commit: 2a644957c255c897c0805b4d81ff03624bdca2ef
2013-06-22 16:14:38 -05:00
Robby Findler
76bb53cb12 adjust make-meta-prefix-list and keymap:send-map-function-meta
to only add ~c: when asked to (and then asked them to do it
a bunch)

original commit: a8473ec1aaa2b623b3ce622e4775ceddfbaecf07
2013-06-22 16:14:38 -05:00
Matthew Flatt
c112ceeca7 framework: fix meta keybindings setup
Don't add "~c:" to a keybinding that has "c:".

original commit: c8de8d3ae8e0aa7fc280fed8262ecf1dfa73926b
2013-06-22 06:29:55 -06:00
Matthew Flatt
fff2256bb9 move release notes in appropriate packages
A collection declares release notes with a `release-notes' field in
"info.rkt".

The "doc" directory is now populated exclusively by generated content,
instead of having a static "release-notes" directory (and a "keep-dirs.rktd"
file to record the static directories).

original commit: fa6f56fcb118a99a803697de6cdc7ee7fd9688a4
2013-06-19 21:01:52 -06:00
Robby Findler
9bf397d887 move framework tests to their own package (but still inside the framework collection)
original commit: 28e23fa65aa4e1cf3c8c8f26cea86d5cadd1ff9f
2013-06-19 20:03:41 -05:00
Robby Findler
a94c2dd7f9 fix an infinite loop in find-next-outer-paren
closes PR 13863

original commit: f7a344dc32450c5c93948952558eb5bc55219074
2013-06-19 19:03:32 -05:00
Robby Findler
20b39234f1 update framework tests to reflect new location
original commit: eaaf85cdec2a7c1cb46132292288cb7a29a60746
2013-06-19 19:03:32 -05:00
Robby Findler
d89708166c move the framework tests into the gui package
original commit: 67e668d6e66f9a53262e773a0c67e1fa7a945948
2013-06-19 19:03:31 -05:00