Commit Graph

4889 Commits

Author SHA1 Message Date
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
Robby Findler
a5a8bc2e71 adjust find-next-outer-paren to avoid editing the buffer
related to PR 13454

original commit: aaf4a2e16d5b4218ca4bd6788525fa7541879daa
2013-01-26 09:05:28 -06:00
Robby Findler
0bc00b3693 an attempt to change get-close-paren to not edit the buffer
related to PR 13454

original commit: 54fad8546ac1045136f547fa1ec47418060e9b14
2013-01-26 08:08:34 -06:00
Robby Findler
8d60324f92 only when when there is something to undo
They hypothesis behind this change is that the undo is
undoing an edit that came before, not the temporary edit
that appears in insert-close-paren. So, when there are
no edits happening (ie when fixup? is #f) then don't
undo. This is only a hypothesis because we were not able
to find a small code sequence, outside of DrRacket to
cause the bad behavior, so possibly there is really more
going on here.

Thanks to Nadeem Abdul Hamid for finding this fix.

Closes PR 13454

original commit: f90eb33d67a7e054b717f7a827ca17013499eb19
2013-01-26 07:49:14 -06:00
Robby Findler
02a1b2decc make sure the framework tests run with the proper environment
original commit: e43583c44447d17c9142e1048f02845bf547cff5
2013-01-26 07:49:14 -06:00
Matthew Flatt
dd677a4587 racket/gui gtk: fix canvas/panel border drawing
The code to draw a border has to determine the widget's position
within the drawing window. Gtk 3.0 has a function to provide that
transformation, but Gtk 2.0 doesn't seem to have one, and it seems
that the transformation implemented in `racket/gui' wasn't right.

Closes PR 13453

original commit: e22977667dc4efb171bced7f6984644490d5306d
2013-01-25 14:21:57 -07:00
Robby Findler
a801d2285c more adjustments to the c:x;r;a keystroke
The goal is to better handle situations like this one:

╔═══╗
║ - ║
╚═══╝

where the hyphen should not change.

original commit: a0f910c3dcf6ad40971257e9a4bd1b9ca94d3435
2013-01-21 20:25:40 -06:00
Robby Findler
6015adf510 fix a bug in recently added display-changed method
original commit: 5301646baf36506de92c93bafa77da862c62d315
2013-01-21 13:47:43 -06:00
Robby Findler
c975352a23 make 2htdp/image images convertible to picts
original commit: ccbedb652f3a0e5363d5f2e18493397ec7277030
2013-01-18 20:15:36 -06:00
Robby Findler
e7382e1cb9 loosen slightly the requirements for changing existing chars
in the c:x;r;a keystroke

original commit: fce4cbad3a6dcd68b182a7bcf9dd38df2d92356e
2013-01-17 15:39:35 -06:00
Burke Fetscher
a614b998aa ASCII art box - don't search past extra +x space
original commit: 2f61d040732d241b9df77b215ecf98aac0d4a7da
2013-01-15 21:43:33 -06:00
Burke Fetscher
d6166b1499 ACII art boxes keybinding - look a little harder for the box
original commit: 8562310f38fb5686c0425907c8e198cd119a7d8f
2013-01-15 16:53:41 -06:00
Robby Findler
ee69fc413c move the ╬ char and friends into a separate file
do not merge to 5.3.2

original commit: 1edec6a33ed3a98b95a233f6be90d40fd8e1dfc0
2013-01-15 09:08:02 -06:00
Robby Findler
252f0cf411 add deprecation notice to mrlib/cache-image-snip
original commit: 0b332a1761ab197ef05d2d4949f2432c661d3119
2013-01-06 19:48:14 -06:00
Robby Findler
2940bac035 add missing inner call
original commit: 12d670b5a3b792ee3c343d311521e54848708f40
2013-01-05 17:31:07 -06:00
Robby Findler
783eefb38a try to make the colorer more friendly when there is an unclosed
edit sequence

(ie make it not take over the cpu)

original commit: c907368e0fe92f943d6fccf88fa02fc21ee1e952
2013-01-05 17:31:07 -06:00
Robby Findler
ec28c2ad05 re-enable autosave only if a save is successful, not just attempted
when combined with 94b54db11823b4683234424174aca2836d422204,
closes PR 13359

original commit: 89373c78500e523f1d4ac71cfd08c5da16ef3778
2013-01-05 11:35:13 -06:00
Robby Findler
4301beb622 guard call to file-or-directory-permissions
related to PR 13359
also, Rackety

original commit: 0c76c692aca42a729c1867d7e9ca0f55ca4ec766
2013-01-05 11:35:13 -06:00
Robby Findler
6e463f0d8d adjust the framework to avoid
calling the error-display-handler when reporting
problems saving files

closes PR 13403

original commit: aa5f2e7875827ab4549830339de52641cfc86836
2013-01-03 20:47:19 -06:00