Commit Graph

4880 Commits

Author SHA1 Message Date
Robby Findler
b6500eee00 add string-constants? and rearrange string-constants pkgs
the rearrangement moves the string constants documentation
into a package over by the string-constants implementation
and adds the string-constants (meta) pkg.

original commit: 8cdd106b87b028522ad01a5304709d010db3cb9d
2013-09-08 11:23:32 -05:00
Robby Findler
3dcb304a79 add support for color schemes to the framework and use it in DrRacket
original commit: 1186f23543ccb017e35b40ffc012aa971f21f764
2013-09-07 13:12:04 -05:00
Robby Findler
3ab9f555d1 Revert "change the default colors a bit based on color-blindness feedback"
This reverts commit 3c439a773138ca86a3810de6a37912ff588f7d0e.

Instead of changing the default colors, add support for color
schemes and then use these colors as a starting point for a new
color scheme

original commit: 136c18f7e925a04115f631c7d17164ed2c8d268d
2013-09-07 13:12:04 -05:00
Robby Findler
099f76a83d adjust racket mode to restore the wordbreak map when it is removed
original commit: 2e49672561238acbceaa5e6e32e43d7202c50dff
2013-09-06 15:38:03 -05:00
Matthew Flatt
1fbac2ed6e racket/gui: fix get-plain-label and docs about labels
original commit: 5d7f1363e53b7dd8b6f8ba73ea402da807756e7d
2013-09-05 12:14:25 -06:00
Robby Findler
7157abc322 move unstable/2d out of the gui-lib pkg
original commit: f0539f0e651766c682333aef05e2e1c658337b24
2013-09-04 13:19:02 -05:00
Robby Findler
557c68fca8 add support for colors with alpha to get-color-from-user
Also, a bit of Rackety (triggered because I would have had to turn a
letrec into a letrec-values to support disabling the ok button (and
also because the code was indented with tabs and not just spaces))

original commit: c0c6861497ea714e2259a8b55bcdc9d28f83ef5d
2013-09-02 10:03:55 -05:00
Robby Findler
857a7a485f fix another error message from the preferences system
original commit: 6c601bfc2af634bb07c76bf548c3a46ec9612f7f
2013-09-01 15:06:12 -05:00
Robby Findler
d2bc8a709c adjust some error messages based on new conventions
original commit: 09458af39f91e7505d8162fe5748c6eba14fc22c
2013-09-01 07:57:08 -05:00
Matthew Flatt
994faa418c include license with each package
original commit: ff9da94cfb852d25cd54bc0d9a904c8ae46fe64c
2013-08-31 06:25:31 -06:00
Matthew Flatt
85ae8a5ddb fix multi-file drag-and-drop on Unix
Thanks to Laurent Orseau.

original commit: b5b2f1c2ad13436c2bf19ff9e6f35d8400505ff7
2013-08-31 06:25:30 -06:00
Robby Findler
a6f846ea8d fix default text adjustment
it no longer changes the background to the inverse of the
foreground (for the default text color) but instead uses
the color of the 'framework:basic-canvas-background preference

Thanks to Laurent Orseau for the fix

original commit: f9df5ad4e92ec8bba8012ab3d49c75523af83592
2013-08-30 07:29:42 -05:00
Matthew Flatt
4e0c73448d auto-fix dependencies for "scheme-lib" and "srfi-lite-lib"
original commit: c709af5bf4d3af8f8c7a5918cf0b521ac1846f78
2013-08-27 15:20:58 -06:00
Matthew Flatt
e0c31e0667 move "scheme" collection to a "scheme-lib" package
Also, move remaining "srfi" libraries to "srfi-lite-lib".

In principle, "base" should depend on "scheme-lib" and
"srfi-lite-lib", and a new "base2" package would represent the new,
smaller base. But I don't think the window has yet closed on
determining the initial "base" package.

The "srfi" libraries moved to "srfi-lite-lib", instead of "srfi-lib",
to avoid creating many extra dependencies on "srfi-lib" and all of its
dependencies. The SRFIs in "srfi-lite-lib" depend only on "base",
and they are used relatively widely.

original commit: d175c3949c602672d61734b3fc54750da1d57f89
2013-08-27 15:19:24 -06:00
Robby Findler
c41b64b1b6 another fix to the 102 column guide
This should make it disappear properly when
the file's width goes down below the column guide

fix a bug in 27603faf, I believe

original commit: 5800ce1cec7a678b3e67ba259baa507dfc6b7b82
2013-08-26 06:47:32 -05:00
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