Commit Graph

5207 Commits

Author SHA1 Message Date
Matthew Flatt
8a7dcf0638 racket/gui: make list-box% columns more consistent across platforms
Cocoa: use ellipses instead of line wrapping
Gtk: allow column sizing below title width

Merge to v5.3.4

original commit: 33700427f26b14704dc4e4f315e36b6cc597e219
2013-04-12 06:36:51 -06:00
Robby Findler
981047ae24 fix improper fraction display
closes PR 13558

please include in the release

original commit: d9adb4e6e987124571f043a28be682b465435aa7
2013-04-08 13:40:55 -05:00
Robby Findler
7f9d693dc3 add edit|copy and edit|select all menu items to mrlib/terminal frames
original commit: eb7c5ad84cdd2aafa252b99d5af42b469629c7ec
2013-04-05 10:22:33 -05:00
Robby Findler
6096b0de67 adjust the package installation menu item in drracket to use mrlib/terminal
original commit: 8246d073c01e1eef73d2621f3993b22fa9ed24c3
2013-04-04 11:10:30 -05:00
Robby Findler
be27fb8108 refactor the plt installation code in drracket to pull out
the GUI wrapper around command-line like utilities

original commit: ecf2b16bf062f638d5a5c07d415503e0b7ca0ee6
2013-04-03 22:23:26 -05:00
Robby Findler
83ccfa6793 hide the testing of the close parens with an edit-sequence
original commit: 77a1b55c32a08484b55cec7796c6e93fc9825af8
2013-04-02 21:26:43 -05:00
Matthew Flatt
88c755baf5 racket/gui: double-check size on attmpt to set editor scroll
A scroll request could fail if a resize notification is still
in flight (i.e., queued but not yet executed), so double-check
the size on a scroll request.

Closes PR 13582

original commit: bfc9c41358face5c6d79bad591b842e7f5dc38e8
2013-03-31 06:39:49 -06:00
Matthew Flatt
551293044c racket/gui: fix auto-scrollbars for editor GUI
It's possible to go from a state where one scroll bar is needed
(vertical or horizontal) to a state where each scrollbar is
needed iff the other scrollbar is needed. In that case, the
auto-scrollbar algorithm couldn't find either fixpoint and
would loop forever.

original commit: b041a151e61727124b8d1c50f72fcd6d73319f13
2013-03-25 05:15:24 -06:00
Matthew Flatt
0b80cd4253 racket/gui: add warp-pointer' to window<%>'
Removed the method from `canvas<%>', where it was never implemented
with the `racket/gui' reimplementation.

original commit: e0486a7cf0e0b24bc4d8cb6f3fe32ec6c68b1859
2013-03-19 15:53:13 -07:00
Robby Findler
8e5b3727db tweaks to option contract usage
original commit: 551150e805048fcad43217e9e265b433c037a2a0
2013-03-15 15:38:13 -05:00
Eli Barzilay
61d0fac8f4 Fix lots of indentation mistakes.
(Found by my ayatollah script...)

original commit: af6be85ff576e475753a46bd3f1690eb8bf88a28
2013-03-14 10:55:47 -04:00
Robby Findler
79501a56b0 trim the list of new dots down to those that our latex
setup seems to handle

(and actually add them to latex-render.rkt ...)

original commit: 11969cdfa6188b254383882d73a1c1fe7997ac65
2013-03-13 10:13:34 -05:00
Robby Findler
16565da8e0 add various dots to tex-table and thus drracket keyboard shortcuts
original commit: a00bcfd16e0459eba60d8af9d404337fd54cb875
2013-03-12 14:53:15 -05:00
Robby Findler
7582df87b6 improve the way the font size callbacks work, wrt to interactivity
original commit: 443f99853191ca45de44a201a92af53a7f7034b5
2013-03-11 18:53:40 -05:00
Robby Findler
f7c935436d added a keybinding to center a line within its cell in a table
original commit: 635efe78a0f3bc4b72d1030e2af6d816968bf253
2013-03-11 18:53:40 -05:00
Robby Findler
5b59b913f0 extend the lexer <-> framework's color:text api
to let lexers say "call me again before you change the buffer"

also, use this in the 2d lexer

original commit: 761054890d8207d7689cce825d0fc777d15b1091
2013-03-10 20:17:20 -05:00
Robby Findler
3bdf5e116d fix a with-handlers to avoid catching break exns
original commit: c7810ba2aeb5588707c1dfc39962a89b529b0e80
2013-03-05 22:39:34 -06:00
Robby Findler
2c493915e4 remove a use of normal-case-path
closes PR 6086

original commit: be0e32b2243495e512a75b32e7c31ac0d7b97785
2013-03-02 20:41:51 -06:00
Robby Findler
ce58e57eeb add macports default path as a place to look for aspell
original commit: 3d0af847b6dfb1d51e28d34c1d3fc85a585cb77a
2013-02-28 20:45:23 -06:00
Robby Findler
7cba5db017 adjust syntax browser to work better for literal hashes and vectors
closes PR 13537

original commit: 4b8813bb0e5ff5934c0ab1443fee7c245a757bb5
2013-02-23 20:26:57 -06:00
Robby Findler
2d510cb940 add a keystroke to widen a rectangle
original commit: 814b9e490cfea51713c5556f1540737069bd02e5
2013-02-23 20:12:56 -06:00
Robby Findler
7c6bc93742 add a contract on the interaction between the module-lexer and the
lexers it defers to

also, remove the checks in color.rkt in the framework (they are not
all covered by the added contract, but they mostly are and when they
aren't, most of those times are using the heavily tested racket-lexer)

original commit: b0343aa9f02f0024cba7a61db3bcf4165696dd85
2013-02-23 14:35:25 -06:00
Robby Findler
ac33354f66 fix the use of impersonator-ephemerons in the framework preferences library
original commit: 5eddac7482af5fdad8c9d5f7ffdd7996a861dbc0
2013-02-20 21:13:02 -06:00
Asumu Takikawa
d72bcd0a42 Minor doc fixes
original commit: db4a1632e530de47505a6a0858666637c1dc0f6a
2013-02-19 16:36:16 -05:00
Asumu Takikawa
643ab7d2f1 Rackety
original commit: ea0c14dac2966400f5cf26b3ca24367404059f22
2013-02-19 16:36:16 -05:00
Robby Findler
9de9c66763 use impersonator-ephemeron to allow a
real contract on preferences:add-callback

original commit: 164a5831b8c00afafc0aa73a8865cd48bee6dfb5
2013-02-19 13:52:42 -06:00
Matthew Flatt
38f9f7540b racket/snip: fix style-list%' notify-on-change' and contracts
The method uses the new `impersonator-ephemeron' function to
retain a callback as long any value that it impersonates
is reachable.

original commit: dbdfd4236f1f759a2c6706901dad25bd46998509
2013-02-18 17:01:11 -07:00
Robby Findler
5c22470224 add parameterize* to tabing and smart opening square bracket pref defaults
original commit: e720d1df923080518d5a58a71b04d9cd0014aa96
2013-02-18 13:38:34 -06:00
Robby Findler
42bcf271f0 add gc log following info to the drr performance monitor
original commit: fbeecdc1aac536d7f480d92c36eb127aab3e5ab6
2013-02-16 07:39:33 -06:00
Matthew Flatt
da137d9b9f racket/gui: fix contract of set-value' in gauge%'
original commit: 0c37849f81e6a75b38b119b16aa3b09db57bae37
2013-02-15 16:02:53 -07:00
Matthew Flatt
5a56af0033 racket/gui cocoa: fix over-eager refresh for 'gl canvas%
original commit: d5c1a75e38fb9536f7d9edeee1693e4e7aff1419
2013-02-14 19:47:40 -07:00
Robby Findler
3fd96440ad try to be slightly smarter about invalidating the green region
in the line numbers when it moves around

specifically, if the before and after green line are right
next to each other, then put it into a single edit sequence
(which unions the invalidated regions); if not, then we
may be jumping far away, so invalidate the two regions
and redraw them separately

original commit: ca8ad3b88b38034e4dac6715511a749581d0c059
2013-02-14 19:51:08 -06:00
Danny Yoo
a57a867cf9 Include zero-width-space in string-normalize.
Closes PR 12683.

original commit: 9ed78f275240694e4c1c9b876be70993e0b7c84e
2013-02-14 13:24:31 -07:00
Robby Findler
9ecd2eb171 add for/set and it's varieties to the default prefs
original commit: 7dff18c385ac960bd6d794ccb9b58f42d510cdfd
2013-02-13 10:50:06 -06:00
Matthew Flatt
e9293fc3a8 racket/gui: fix some contracts in docs
original commit: 5c896395cd83d51d34d154f981063971f3851559
2013-02-12 14:17:57 -07:00
Robby Findler
73787f6170 clarify colorer docs
Also, some cleanups of the code and
make the syntax-color/ library docs
point to color:text<%> instead of
color:text% (as the interesting information
is attached to the interface, not the class)

original commit: 1420ce4ed2667a5f8562eefe86479dae150c90eb
2013-02-10 10:30:28 -06:00
Robby Findler
0bce7bb082 tighten up the checks in the place where the framework receives
values from the lexer (for syntax coloring)

original commit: 246939f781cdfb1aed8f86b25be9ca9717e0945a
2013-02-09 20:42:34 -06:00
Robby Findler
33aa1d05b3 Adjust keybinding code to fall back from
get-active-canvas to get-canvas

Unclear if this is a bug in get-active-canvas or not

closes PR 13507

original commit: 2c35a98ad89b6f59c5f7c87b7f441528da77ad11
2013-02-09 14:58:21 -06:00
Robby Findler
8e02345d3e move dir-chars.rkt to unstable/2d to unbreak dependencies
original commit: 6c93cfea56b6406f77f5a4e267132cdbcbd6e468
2013-02-07 10:16:10 -06:00
Robby Findler
0a47f4af27 a better version of deac3fa2b30a45d0945f895f4181d916df922b58
This time with test cases, and also without changing the
semantics of unhighlight-range

related to PR 13488

original commit: e7e64f400622d1d23051616128ff246c857ab32e
2013-02-05 20:52:35 -06:00
Robby Findler
5082ed70a2 fix a bug in highlight-range exposed by the contour window
closes PR 13488
related to PR 13491

original commit: deac3fa2b30a45d0945f895f4181d916df922b58
2013-02-05 15:38:31 -06:00
Robby Findler
c01f795fe5 make #:keywords have different color prefs in DrRacket
closes PR 13492

original commit: 12ebfa2cf4f3bc187fb6d3c1eea80d56a29e64ed
2013-02-05 12:32:48 -06:00
Robby Findler
d39761221a adjust contour to track edit sequences better
Specifically when there is no delegate and an edit
sequence is started, track that differently in case
a delegate is set before the edit sequence ends
(in which case we don't want to end the edit
sequence in the delegate since we didn't start it
there)

related to PR 13491

original commit: 405e51bb053c5bce7b972d47706ab81ac136edd7
2013-02-05 12:32:48 -06:00
Matthew Flatt
014fbe20b3 racket/gui/base: fix menu-bar%' get-frame' to return 'root
Return 'root istead of exposing the (hidden) root frame for
a menu bar that is shown when no frames are visible.

original commit: d0cfc34a77c23c8b5fd61b341dc6c446c3deae96
2013-02-05 11:44:38 +01:00
Matthew Flatt
d580a45928 racket/gui: add doc cross-reference
original commit: 660fc4d7b37b2fc7df823b6ebc8563e06e233aec
2013-02-05 11:44:38 +01:00
Robby Findler
0a5aec9030 give up on the "find the close paren strategy that doesn't
edit the buffer" attempt

In other words, go back to (a rackety version of) the old
implementation of the get-close-paren method

original commit: ab55d43312a0b5c430db12096bf659f54d26ef8b
2013-02-03 11:22:46 -06:00
Robby Findler
df4e7cb1e5 another close-paren insertion repair
(this one causes runtime errors, not
bad behavior)

original commit: 8aa3e1d473d1cad32c93d698f00fe11a47ad0926
2013-02-02 09:10:17 -06:00
Matthew Flatt
6e834fb1a7 racket/gui: doc clarifications on refreshes and edit sequences
original commit: 404e884cd584f1d37b73da7584e7ee02ca67056a
2013-02-01 18:23:29 -08:00
Robby Findler
e7be9c8081 more close paren adjustment repairs
original commit: 8aadc03719aeebb35775e6033454f86885d0aade
2013-01-31 21:11:11 -06:00
Robby Findler
00e48dfc1e fix close paren correction code
original commit: 219f9dc358b72f62c7dc13400b18a1e5595853d8
2013-01-31 15:07:20 -06:00