Commit Graph

4808 Commits

Author SHA1 Message Date
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
Robby Findler
67467bc32e clean up autosave a little
guard more of the filesystem manipulations with
handlers and log errors instead of letting them
be raised and show up as internal errors

related to PR 13403

original commit: 94b54db11823b4683234424174aca2836d422204
2013-01-03 20:47:17 -06:00
Matthew Flatt
25d13bbd7d racket/gui gtk: make `on-demand' for menus work better
There appears to be no way to make `on-demand' work right for the
Unity window manager's global menu bar, since there's no notificiation
when the menu bar is clicked. We approximate the correct behavior
by calling `on-demand' when a containing frame loses the keyboard
focus, which might be because the menu bar was clicked; that may be
too late (because the menu has already been shown), but it should
work most of the time.

Closes PR 13347.

Relevant to PR 13395, but DrRacket will have to change to work
around the remaining limitations of `on-demand'.

original commit: 55f98a15d4728ff843f2e5cdb5deef96b24da27b
2013-01-01 15:55:36 -07:00
Robby Findler
80c2e9bac9 check the result of find-ls in the one place it wasn't being checked
probably closes 13404

original commit: 0e763f5b01a18f04f23e07f74d5b04d42a67fc17
2013-01-01 15:01:13 -06:00
Matthew Flatt
0a1811126a fix `expt' on small negative number and large positive odd
The pow() function apparently gets it wrong on some platforms.

Closes PR 13391

original commit: 07d5a9e3857f9f4f243b3f4891b1ff1b0d087698
2013-01-01 12:33:59 -07:00
Robby Findler
c344fd47cd fix commit c818eb3ca3325fb7eac7f2a8105ea0121013214c
related to PR 13394

original commit: a948f1b40dacd3f583a6034a58b12962f6941983
2012-12-31 11:52:36 -06:00
Robby Findler
79f015eb70 Fix the new lexer interaction when some of the lexer states were
finished, but not all. Don't re-do them the next time around

closes PR 13394

original commit: c818eb3ca3325fb7eac7f2a8105ea0121013214c
2012-12-29 23:56:38 -06:00
Robby Findler
2b98dcfe72 adjust the search bubbles so they flicker less when typing
original commit: fa85d30773beed1d7136683dbac94d5efb90a462
2012-12-25 17:40:32 -06:00
Robby Findler
271209825d adjust find-string in text% so it doesn't allocate as many temporary strings
Also, Rackety

original commit: 1298c11d2fde07513c8d0ded13ced6a42c17f26b
2012-12-24 23:35:12 -06:00
Robby Findler
55c99c6554 adjust ascii-box => unicode-box algorithm so that
it only looks left and right at hyphens and only
up and down at pipes, etc. This better handles the
case where you have something like this:

  +--------------+
  | (<= a-x b-y) |
  +--------------+

Before this commit, it would have adjusted the hypens
inside the identifiers

original commit: 6a69da76e2f9e5b2105dee89535d5ace4defed92
2012-12-24 13:49:32 -06:00
Robby Findler
1cf8e97387 adjust line number mixin so it postpones recomputation of
sizes until the end of an edit sequence (when appropriate)

original commit: a504f77d54ff82785123d27dbccee1ab9d910e69
2012-12-24 12:30:54 -06:00
Robby Findler
021c4b97d8 clean up ascii art => unicode a little
adjust the way it changes characters so it
doesn't change them when they are already the right
thing (this means set-modified is not always called
and also improves performance in the case that little
changes in a big diagram)

original commit: 5a9c5f681b11d563275f7672c3af5160bb68113c
2012-12-24 12:29:57 -06:00
Robby Findler
8109170a3a add an ASCII art rectangle => unicode rectangle keybinding to drracket
original commit: 042bbbefe76bb005a008d2b487faacd1c9ecbcd3
2012-12-24 11:38:54 -06:00
Robby Findler
85fa4bbcb7 fix a switchable button / discrete-sizes panel interaction bug
also clean up the code a bit (make sure the h? argument to
set-label-visible is really a boolean and make some of the
long lines narrower)

original commit: ccae98777a15c67f04f1ba5d54ad577acb7994dd
2012-12-23 09:52:55 -06:00
Matthew Flatt
3dc84d2c11 racket/draw: fix problem with concurrent PNG read and write
Same memory-management mistake as for the JPEG binding.

original commit: 1545ed42c866c65c5ded9590e55add5fc9ce561d
2012-12-22 09:43:20 -07:00
Robby Findler
07a454393a export preferences:add-check
original commit: 84057ce3d59c7bcb5c92f28b12d832b80e9d3e00
2012-12-21 22:07:57 -06:00
Robby Findler
2ed5866089 Rackety
original commit: 19d6f7a15aa8a8af83eaaa9cb66c471d681f9666
2012-12-21 19:22:59 -06:00
Robby Findler
8281814528 drracket tracks the frame position and size on a
per-monitor-configuration basis and (possibly) moves/resizes
the frame when it changes

original commit: 2fced5d7d6f82fae93033099d448d01ea66dc93e
2012-12-21 19:22:59 -06:00
Robby Findler
9c1e56a87d add display-changed method
original commit: 3f9e60a908c5b9f3dfdb1f72892bee2b9ea88c86
2012-12-21 19:22:59 -06:00
Robby Findler
34a8fcb5ee hold onto all frames weakly
original commit: 8d4dac318c4a651d3ed742b55ce275f3706bfe1c
2012-12-21 15:43:12 -06:00
Robby Findler
366a8a31ff improve the performance of typing a close paren
original commit: 0b095382ca537a95fa9fb37a866337006210553a
2012-12-15 15:13:26 -06:00
Robby Findler
cf816d725e Add in more shortcuts, following Matthew's recent commit
Also, rackety

original commit: c627f9e734ede89b5bcee8c341a7f45b165c06cf
2012-12-10 11:42:32 -06:00
Matthew Flatt
0680d47941 fix comments
I had it all backwards: DrRacket went from "increment" to Greek
capital delta (which makes a lot more sense).

original commit: 490a474e0e4b92af8956cab13d885349053a3973
2012-12-10 10:27:44 -07:00
Matthew Flatt
25d5566c58 scribble: render "incremement" and some other chars for Latex/PDF
This change was prompted by the change to DrRacket's "\Delta"
to produce the Unicode "increment" character.

original commit: fc112ccd4627f0b7413ba17a81d050bb840a79b3
2012-12-10 10:20:32 -07:00
Matthew Flatt
8107903727 win32: support MinGW build
A MinGW build is the same shape as a MSVC build (but without
MzCOM), unlike a Cygwin build.

original commit: 5b016b4c32b3fc4ca5439f98b80d73b10ea8d346
2012-12-09 11:26:02 -07:00
Jonathan Schuster
6e2e51aae7 Updated Delta TeX mapping with correct Unicode character
original commit: 6babc9ec56d60fba9f3fe6969901a378da266f82
2012-12-08 21:48:17 -06:00
Jay McCarthy
94a2346351 Disabling the other screen->client call on X, re: DrDr
original commit: 1b6c4f0e727e907568e756441faaf4c0351a24b6
2012-12-08 09:09:40 -07:00
Nadeem Abdul Hamid
827dc1286d fix close parens behavior in interactions and comments
original commit: c0a412ed0ef9a4e5e3529569ce1f171d8bd10378
2012-12-04 20:39:10 -06:00
Robby Findler
ba24e8fa61 fix query-aspell so that it returns an empty list when aspell isn't working
original commit: 9f72eb396a62bb72bebcdb1937ae59e0e15195fc
2012-12-02 14:43:57 -06:00
Robby Findler
8e341da412 update the delegate text when showing and hiding the 20,000 overview window
closes PR 13311

original commit: 63081b0671cc16d1159cd2e6285665b11b9d9658
2012-12-01 16:52:45 -06:00
Robby Findler
75820c03cd another attempt to avoid building rectangles
where the right edge is left of the left edge

original commit: cc0a105e21c358290d1f92144c4a230801d5cdd0
2012-12-01 14:50:19 -06:00
Robby Findler
915918282f fix color prefs saving to use alpha
This didn't matter much before but now that
paren colors have interesting alpha components,
things look bad when it is ignored!

original commit: f5efc0313435c922914ccd924d876ffe8b740e80
2012-12-01 13:47:02 -06:00