Commit Graph

4915 Commits

Author SHA1 Message Date
Robby Findler
1e8179046f change the default colors a bit based on color-blindness feedback
- paren color from brown to a neon blue
- string and number constants from green to a bright purple
- lighten the comment color

the basic problem is to try to keep the red error color very distinct
from the others and try to keep the others distinct from each other
(but that's less important)

original commit: 3c439a773138ca86a3810de6a37912ff588f7d0e
2013-08-23 10:40:57 -05:00
Matthew Flatt
73ab128a7a mrlib/terminal: add options
original commit: ef54fc470cd25c9e3bc58e809e38baf67d7d623c
2013-08-21 10:55:25 -06:00
Matthew Flatt
325b1c306d racket/gui: fix problem with reparent and container sequences
In a container sequence, hides and shows are delayed, but
reparenting needs the hide operation to really complete.

original commit: 76aa80c0e9dd13d3fdc3a78353b32ca6ad30ad1c
2013-08-21 09:20:12 -06:00
Matthew Flatt
6470a18652 mrlib/terminal: fix eventspace handling in non-frame mode
original commit: e2247fe0a5edd04ee5eb75895404618ebc43720b
2013-08-20 16:42:59 -06:00
Matthew Flatt
20eba81d85 racket/gui: add 'disallow-invalid style to `get-text-from-user'
original commit: 0ecd04787aec941f5f6683159a80fdc3c5c0ee86
2013-08-20 15:27:33 -06:00
Matthew Flatt
2f9536a416 racket/gui: adjust label size on some controls
Extra margins added by instantiating `message%' inside
`radio-box%', etc., made labels line up especially badly.

original commit: b24eb311dd744db70f0ae29a18994555b4499dea
2013-08-20 15:27:33 -06:00
Robby Findler
4d701a01d3 adjust the square-bracket prefs so they are saved
relative to some default settings instead of saving
the actual values

so changes to the default imply changes to everyone's actual
values for the prefs

closes PR 13810

original commit: 5f0c06956a2726a64b158ef1fc828c326a93a7ef
2013-08-20 00:20:28 -05:00
Robby Findler
5979c8fd7f adjust the way the tabify preferences are saved so that new
additions to the default preferences are seen by everyone

related to PR 13810

original commit: 940ccc8b5cad414e397b10c61f6a524fdafd950c
2013-08-19 23:39:00 -05:00
Robby Findler
aa6c0987b1 on second thought 5aeca646 is probably wrong and this is probably the right fix
The keys.ss framework test suite seems to confirm this fix, altho
I'm not sure how exactly.

Also tweak the stress test

original commit: 9888c7f496bbb48978f46cf91fe2638a93b2c68b
2013-08-17 08:07:28 -05:00
Robby Findler
00e62bc983 fix a bug found by the lexer stress test
Unfortunately, not the bug I was hoping to find.
This bug appears to be very old, however; perhaps
as old as the colorer itself.

original commit: 5aeca646d463ba4b065d0301465fdcf93415f7b5
2013-08-17 06:09:23 -05:00
Robby Findler
15aae7de5b add a "random clicking" test for the 2d lexer
original commit: 42566f1dc4487f05193563d57e89b19348b474bf
2013-08-17 06:09:23 -05:00
Matthew Flatt
db1139549b fix some missing native-library dependencies
original commit: 8e20aa1cbf44b1dc65b76674cb7da24c9bd6b10d
2013-08-16 10:24:17 -06:00
Robby Findler
7df0d56b97 overwrite mode repairs
also make keys.rkt test suite be less likely to corrupt the
preferences file (when run in standalone mode)

original commit: 593ab2d51fa5d44e107fa626d93c4106ef1ff33b
2013-08-14 17:46:28 -05:00
Asumu Takikawa
e81a66328b Fix doc typo
original commit: b6fb7a2f907765253bf106ef3e85ec8fc9e45d1d
2013-08-13 12:05:05 -04:00
Robby Findler
7bc384eb68 adjust 2htdp/image's add-curve and scene+curve so they accurately
compute the bounding box

using the new get-path-bounding-box method

original commit: 8851f8f7276ca9ff048182f3826b857a3bee5917
2013-08-12 18:34:09 -05:00
Asumu Takikawa
e2ad8c6179 Adjust bitmap-label docs
The `future-parent` argument is actually ignored now and
can be any value, so document it as such.

original commit: 8c7a6709b01790f3a920cd8d509a8a85a2545583
2013-08-12 15:00:52 -04:00
Robby Findler
000b532600 adjust some calls to sort: use symbol<? and use strict
predicates (to get stability)

original commit: 680d29d9cce18b6e04eaae16a122fc5c09343dc8
2013-08-12 12:27:16 -05:00
Jens Axel Søgaard
597246e13d Added get-path-bounding-box take 2
original commit: ac37ccb79cde865996e39116df3d05006d2782e6
2013-08-11 15:24:27 +02:00
Matthew Flatt
8d0fc23d54 racket/gui: fix `get-key-release-code' result for a key-press event
Return 'press (matching docs and pre-v5.1) insteda of 'down.

original commit: 082f21c5f80d22baa1d93680d89ae70265ba7ed0
2013-08-10 10:02:37 -06:00
Robby Findler
81cbed6b17 adjust framework tests to properly find the racket executable
original commit: 59ed6a832f6129988a651d340d48f88b9638c16b
2013-08-10 09:33:42 -05:00
Robby Findler
ee86069822 add some debugging to try to figure out why the
drdr run of these files are going wrong

original commit: 577bae67698a6cf65f8472329bb185fe0e5ced5a
2013-08-10 05:34:22 -05:00
Jay McCarthy
27bf8fa401 Fix icons path
original commit: 56903d2405727a0e34c5514c80c06bfddc6cbece
2013-08-09 15:04:08 -06:00
Matthew Flatt
f065acb797 fix contract and docs for `register-collecting-blit'
original commit: 983188e07dce7ff28c1839183c6978963581b1c8
2013-08-08 17:49:48 -07:00
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