Matthew Flatt
8ad33f15ab
consolidate lock implementation and fix custodian problem
2010-11-05 15:54:13 -06:00
Matthew Flatt
d34d3969d9
make gtk file dialog place nicely
2010-11-05 15:54:13 -06:00
Matthew Flatt
1b641c3607
patches to make file dialog work
2010-11-05 15:54:13 -06:00
Sam Tobin-Hochstadt
15880ea8e5
Implement GTK-native file selector
2010-11-05 15:54:13 -06:00
Matthew Flatt
e433a8a2e6
fix problem with size initialization of a frame with a menu bar
2010-11-05 15:54:13 -06:00
Matthew Flatt
b020c2f858
fix gtk widget size info for sizing and positioning
2010-11-05 15:54:12 -06:00
Matthew Flatt
cc55bd7e93
restore auto-scroll canvases; fix text-rotation bug
2010-11-05 15:54:12 -06:00
Matthew Flatt
9f36c96960
switch gtk to new canvas-refresh strategy
2010-11-05 15:54:12 -06:00
Matthew Flatt
7a7658e86d
new cocoa canvas-refresh strategy
2010-11-05 15:54:12 -06:00
Matthew Flatt
bb68137829
set up backing-dc%
2010-11-05 15:54:12 -06:00
Matthew Flatt
72b671b665
eventspace shutdown
2010-11-05 15:54:12 -06:00
Matthew Flatt
f716ae049a
yet more cocoa canvas repairs
2010-11-05 15:54:11 -06:00
Matthew Flatt
a4c036b50a
fix cocoa menu-bar set menu label
2010-11-05 15:54:11 -06:00
Matthew Flatt
f8ba0a65d2
fix on-subwindow- and modal for choice%; suppress other callbacks on set
2010-11-05 15:54:11 -06:00
Matthew Flatt
dedba7a441
fix cocoa pref menu
2010-11-05 15:54:11 -06:00
Matthew Flatt
e9e180847a
enforce modality; more on-subwindow- callbacks; Cocoa font tweaks
2010-11-05 15:54:11 -06:00
Matthew Flatt
ff57455150
manual font substitution for Mac OS X
2010-11-05 15:54:10 -06:00
Matthew Flatt
ca29be4eb1
finix initial size of cocoa frame
2010-11-05 15:54:10 -06:00
Matthew Flatt
16f15b0cad
postscript-dc% interactive and landscape
2010-11-05 15:54:10 -06:00
Matthew Flatt
b69d4322af
fix canvas dc size reporting
2010-11-05 15:54:10 -06:00
Matthew Flatt
c42d95216e
auto-scroll canvases and frame status lines
2010-11-05 15:54:10 -06:00
Matthew Flatt
6cb07301c1
canvas scrollbars and borders
2010-11-05 15:54:10 -06:00
Matthew Flatt
cc5cc94510
better dialog support (sheets for Cocoa, centering in gtk)
2010-11-05 15:54:09 -06:00
Matthew Flatt
4457c51022
gtk dialog% window hint
2010-11-05 15:54:09 -06:00
Matthew Flatt
03f5e140ea
try to connect gtk dialog with parent
2010-11-05 15:54:09 -06:00
Matthew Flatt
6ae09fca1c
submenus
2010-11-05 15:54:09 -06:00
Matthew Flatt
d10669d34e
fix clipping-region issues
2010-11-05 15:54:08 -06:00
Matthew Flatt
202e18ef85
dialog show & button width fixes
2010-11-05 15:54:08 -06:00
Matthew Flatt
439683af5e
fixes to bitmap%, especially mask vs. alpha mode
2010-11-05 15:54:07 -06:00
Matthew Flatt
3d9c68105e
another Gtk frame-size repair
2010-11-05 15:54:07 -06:00
Matthew Flatt
a368362803
better frame sizing in gtk (but still not right)
2010-11-05 15:54:07 -06:00
Matthew Flatt
37d4cfb148
gtk combo boxes
2010-11-05 15:54:07 -06:00
Matthew Flatt
626ceef11b
misc repairs
2010-11-05 15:54:06 -06:00
Matthew Flatt
1beecc143d
cocoa slider initial value
2010-11-05 15:54:06 -06:00
Matthew Flatt
86f0db41bc
fix alpha plus draw-bitmap
2010-11-05 15:54:05 -06:00
Matthew Flatt
e0bbe944aa
windows fixes
2010-11-05 15:54:05 -06:00
Matthew Flatt
b027bc3bc3
fix gtk canvas reset
2010-11-05 15:54:05 -06:00
Matthew Flatt
c244a6106a
fix mouse-moved events for cocoa
2010-11-05 15:54:05 -06:00
Matthew Flatt
1c4b543fb5
fix gtk callback on first radio button in a box
2010-11-05 15:54:04 -06:00
Matthew Flatt
4628ab4db8
radio-box and transparent canvas repairs
2010-11-05 15:54:04 -06:00
Matthew Flatt
7de0f66b97
fix Gtk global<->local
2010-11-05 15:54:04 -06:00
Matthew Flatt
bc7d3d7376
popup menus
2010-11-05 15:54:04 -06:00
Matthew Flatt
82c0a1cc29
fix canvases in tab panels
2010-11-05 15:54:04 -06:00
Matthew Flatt
0723c4f647
default buttons and Cocoa clipboard
2010-11-05 15:54:03 -06:00
Matthew Flatt
ac6139345d
canvas and frame repairs
2010-11-05 15:54:03 -06:00
Matthew Flatt
238650e327
more repairs to constrained-reply and menu-bar handling
2010-11-05 15:54:03 -06:00
Matthew Flatt
2f2341be6f
frame, dialog, and stock-icon repairs
2010-11-05 15:54:03 -06:00
Matthew Flatt
50d10998c0
refresh and menu bar repairs
2010-11-05 15:54:03 -06:00
Matthew Flatt
152526045a
fix frame activation and menu bars
2010-11-05 15:54:03 -06:00
Matthew Flatt
5af3d96a5d
queue and paint repairs
2010-11-05 15:54:02 -06:00
Matthew Flatt
efb88aef4f
focus callbacks
2010-11-05 15:54:02 -06:00
Matthew Flatt
54bee6314e
more consistent mouse events
2010-11-05 15:54:02 -06:00
Matthew Flatt
75189fbdee
fix mouse position conversion and canvas moving
2010-11-05 15:54:02 -06:00
Matthew Flatt
fa3d9cdf28
fix racket/gui/dynamic and add multi-instance checks
2010-11-05 15:54:02 -06:00
Matthew Flatt
4bfed6d797
misc repairs
2010-11-05 15:54:01 -06:00
Matthew Flatt
88f75dbc13
fix constrained-reply to use delim continuations
2010-11-05 15:54:01 -06:00
Matthew Flatt
cb69ea3c66
extend C API to abort/capture cont skipping dynamic-winds
2010-11-05 15:54:01 -06:00
Matthew Flatt
90b005afed
Cocoa menus, including on-demand tricks
2010-11-05 15:54:00 -06:00
Matthew Flatt
3cb7594793
mostly tab-panel and mnemonic repairs
2010-11-05 15:54:00 -06:00
Matthew Flatt
edd12a64b8
implement labels for radio-box%, etc.
2010-11-05 15:54:00 -06:00
Matthew Flatt
1aab1c78a3
fix canvas% refresh for Gtk
2010-11-05 15:54:00 -06:00
Matthew Flatt
0709870ef9
Windows build and config repairs
2010-11-05 15:53:59 -06:00
Matthew Flatt
aabc1cf5a7
fixes for Windows
2010-11-05 15:53:56 -06:00
Matthew Flatt
5baba1d81a
gracket2 wx re-implementation start
2010-11-05 15:53:55 -06:00
Matthew Flatt
bcb075543c
adjust mred/private/syntax for gracket2
2010-11-05 15:53:54 -06:00
Robby Findler
822895fd68
fix minor bug in 'display-end functionality in invalidate-bitmap-cache
2010-10-29 15:06:48 -05:00
Robby Findler
3e9858b001
added an argument to open-input-text-editor so that it can lock (and unlock) the editor when editing would not be allowed.
2010-10-13 15:55:17 -05:00
Matthew Flatt
f67bb10c19
fix bug introduced with 'display-end change
2010-09-20 12:29:52 -06:00
Matthew Flatt
aac7e0b58a
extend invalidate-bitmap-cache' in
editor<%>' with 'display-end option
...
which the framework's background-rectangle implementation can use
to queue refreshes for changing rectangles, instead of requiring a
full-canvas refresh
2010-09-19 19:22:22 -06:00
Eli Barzilay
8e0f8dd39c
More "~n" -> "\n" changes
2010-08-26 12:11:00 -04:00
Matthew Flatt
c8762ae877
add methods to text-field% to control the background color
2010-08-03 12:34:16 -06:00
Matthew Flatt
dc98077ca4
add 'handles-all-mouse-events snip% flag
2010-06-26 13:53:31 -06:00
Matthew Flatt
1712dfb7f5
fix make-gui-namespace from scheme/gui/base and racket/gui/base
...
so that the namespace starts with scheme/base or racket/base
respectively
2010-06-07 20:06:51 -04:00
Eli Barzilay
bba676d90c
Update the text message at the top of WXME files, including the URL.
...
Also, update the message in existing files. Change the instructions to
use DrRacket or DrScheme version <previous-version>, and for really old
files (pre-v4), just use 4 for the version. Also just drop the second
paragraph in these files -- "Most likely, it was created by" is not
needed when for these files we know that this is true.
2010-05-17 00:19:26 -04:00
Eli Barzilay
7f6efdc8be
A lot of "MrEd" -> "GRacket"s.
2010-05-16 23:46:05 -04:00
Matthew Flatt
92a4106877
text% printer recognizes a line containing only a form-feed character and uses it as a page break; a form-feed character displays as ^L
2010-05-11 09:37:08 -06:00
Matthew Flatt
28b4043077
rename all files .ss -> .rkt
2010-04-27 16:50:15 -06:00
Matthew Flatt
840ea4f4f5
simplify [g]racket startup banner
2010-04-15 22:15:43 -04:00
Matthew Flatt
0f0a59732e
create core binaries as 'racket' and 'gracket'
2010-04-15 21:15:57 -04:00
Matthew Flatt
fb37601b55
bug fixes from random testing
...
svn: r18602
2010-03-23 01:49:08 +00:00
Robby Findler
dbe66de3af
fix for a bug discovered via random testing
...
svn: r18587
2010-03-19 20:36:39 +00:00
Robby Findler
ff10493a0e
fix to a bug detected by random testing
...
svn: r18586
2010-03-19 19:55:02 +00:00
Casey Klein
a004964297
Fixed another bug found with random testing
...
svn: r18583
2010-03-19 14:08:48 +00:00
Casey Klein
854a902cbd
Fixed bugs found with random testing
...
svn: r18581
2010-03-19 11:39:02 +00:00
Robby Findler
3bcea5bbe0
made another method final
...
svn: r18482
2010-03-06 12:54:30 +00:00
Robby Findler
7c3025ecde
fixed some more bugs found by random testing
...
svn: r18478
2010-03-06 01:35:19 +00:00
Robby Findler
c2d9b0dc3e
set the locked state flags during the initialization of a text% object (this bug found by random test case generation)
...
svn: r18475
2010-03-05 19:43:50 +00:00
Robby Findler
6d4a546ca8
tightened up the contract in the docs for key-event%s methods so they limit the symbols to just the legal ones
...
svn: r18466
2010-03-04 17:14:59 +00:00
Robby Findler
71911772c6
fixed a bug found by the random tester
...
svn: r18445
2010-03-03 16:34:13 +00:00
Matthew Flatt
a2bf0d3d25
fix text% insert bug
...
svn: r18356
2010-02-26 19:50:05 +00:00
Robby Findler
f39e8ebe0c
exported and documented label-string?
...
svn: r18335
2010-02-25 13:03:38 +00:00
Stevie Strickland
1f10c4e422
Have external field accessors/mutators just redirect to the old object
...
themselves. Also, have all objects carry the prop:unwrap property.
svn: r18330
2010-02-24 23:32:44 +00:00
Stevie Strickland
60b6c81f9f
Okay, updates to all this crapola. Going to try and see what happens if I
...
only attach prop:unwrap to wrapped objects.
svn: r18313
2010-02-23 23:56:08 +00:00
Stevie Strickland
e1cd160a40
Now that the C code is back at a compile-ready point, I'll check in.
...
svn: r18306
2010-02-23 20:57:22 +00:00
Stevie Strickland
aa7062a35e
Fix up kernel.ss to include unwrapper, also fix arity check now that it takes
...
one more.
svn: r18300
2010-02-23 15:01:04 +00:00
Eli Barzilay
c88a5a6856
A bunch of additional typos
...
svn: r17976
2010-02-05 03:21:52 +00:00
Matthew Flatt
09ef762e3f
add accept-tab-focus to editor-canvas%
...
svn: r17929
2010-02-01 19:30:59 +00:00
Matthew Flatt
a5da3f327f
use MrEd:default-font-size preference
...
svn: r17914
2010-01-31 14:55:07 +00:00
Matthew Flatt
5270fcbc6c
fix name of Basic style in style-list<%>
...
svn: r17878
2010-01-29 00:14:06 +00:00
Matthew Flatt
a09e671f34
allow radio-box% to have no selected buttons
...
svn: r17865
2010-01-28 17:51:30 +00:00
Matthew Flatt
47c66b71eb
fix pasteboard% 'remove' (merge to 4.2.3)
...
svn: r16963
2009-11-22 15:43:15 +00:00
Matthew Flatt
fbf7f79d8c
fix get-default-print-size n landscape mode
...
svn: r16942
2009-11-21 16:17:08 +00:00
Robby Findler
e5d76b0095
improved error message slightly
...
svn: r16305
2009-10-13 16:00:01 +00:00
Robby Findler
ab894fbe18
slight improvement to the snipclass-not-found error message
...
svn: r16300
2009-10-12 19:55:43 +00:00
Matthew Flatt
941d8c47c3
restore focus ring on text-field% (by chaining to superclass on-set/kill-fpcus in editor-canvas%)
...
svn: r15846
2009-09-01 14:31:58 +00:00
Matthew Flatt
a12ec5fd23
improve speed of writing long byte strings with lots of escapes in WXME
...
svn: r15822
2009-08-28 03:45:38 +00:00
Matthew Flatt
78ad4f9615
editor pasteboard bug fix from Jordan Johnson
...
svn: r15797
2009-08-25 11:20:03 +00:00
Matthew Flatt
3170f05da2
correctly handle multiple registrations of the same snipclass name
...
svn: r15692
2009-08-09 13:48:09 +00:00
Matthew Flatt
d1bd8a7a40
fix problems parsing old WXME files
...
svn: r15684
2009-08-07 12:40:55 +00:00
Matthew Flatt
015e926c04
fix delete-time callback to release caret focus
...
svn: r15681
2009-08-06 16:37:49 +00:00
Matthew Flatt
757999e8e7
fix scroll-with-bottom-base and allow-scroll-to-last
...
svn: r15495
2009-07-20 14:50:55 +00:00
Matthew Flatt
6e01e535d9
fix backspace in keymap%
...
svn: r15408
2009-07-08 21:19:00 +00:00
Matthew Flatt
9c488a73c3
fix argument checking of style-delta% constructor and set-delta
...
svn: r15386
2009-07-05 12:47:19 +00:00
Eli Barzilay
a70bf64fd9
Newlines at EOFs
...
svn: r15380
2009-07-04 02:28:31 +00:00
Matthew Flatt
be229c2f5e
fix mapping of del in keymap% (PR 10312)
...
svn: r15250
2009-06-24 12:38:02 +00:00
Eli Barzilay
66c855c2d3
Switch language readers to #lang s-exp
...
svn: r15188
2009-06-16 17:13:51 +00:00
Matthew Flatt
3f1b1391b8
fix wheel step in editor
...
svn: r15163
2009-06-13 13:26:52 +00:00
Matthew Flatt
eac11bad65
fix WXME bug related to inserting an empty string
...
svn: r15126
2009-06-09 21:20:31 +00:00
Matthew Flatt
dcc088305b
fix bad uses of quotient in wxme
...
svn: r15067
2009-06-03 18:48:13 +00:00
Matthew Flatt
f63d3cc8fb
fix text% inser method on a sigle snip argument
...
svn: r15002
2009-05-28 12:28:02 +00:00
Matthew Flatt
0b9730158e
fix editor bugs related to line-wrapping, tab insertion, and pasting to the end of an editor that has been line-wrapped in the past (merge to 4.2)
...
svn: r14921
2009-05-22 16:24:17 +00:00
Robby Findler
d1a88fadde
fixed image equality
...
svn: r14917
2009-05-22 01:55:48 +00:00
Matthew Flatt
2f6b572178
fix problem with tab-snip% width checking
...
svn: r14912
2009-05-21 22:49:34 +00:00
Matthew Flatt
af94e11d19
fix trampoline fix
...
svn: r14877
2009-05-19 23:58:50 +00:00
Matthew Flatt
43c8b6cafd
restore (compared to old implementation) trampolines needed on some editor-canvas methods
...
svn: r14876
2009-05-19 23:53:36 +00:00
Matthew Flatt
17a283a28d
editor and documentation repairs (merge to 4.2)
...
svn: r14864
2009-05-19 01:02:41 +00:00
Matthew Flatt
cee5d694ad
fix pasteboard rubber-band drawing
...
svn: r14820
2009-05-14 19:37:08 +00:00
Matthew Flatt
5df29ea906
fix bug with editor-snip% in pasteboard% in editor-canvas% on Windows or X11 (i.e., platforms that use the offscreen bitmap for drawing editors)
...
svn: r14779
2009-05-12 12:52:55 +00:00
Matthew Flatt
30a3e8ced8
fix undo of delete implied by insert over a selection
...
svn: r14623
2009-04-27 13:02:49 +00:00
Matthew Flatt
308afeabf4
fix combo-field popdown arrow
...
svn: r14617
2009-04-26 22:52:58 +00:00
Matthew Flatt
4141389b84
fix some editor lock tracking
...
svn: r14614
2009-04-26 15:24:50 +00:00
Matthew Flatt
4bc2ddaf9d
snip and editor-data class lists need to be eventspace-specific
...
svn: r14575
2009-04-21 16:37:25 +00:00
Matthew Flatt
82b9ab8a53
fix excessive redraw after changes within an editor
...
svn: r14549
2009-04-18 01:38:18 +00:00
Matthew Flatt
4b3626c156
fix inverted argument default for editor<%> read-from-file method; better Check Sytax results on packages; added syntax/flatten-begin library
...
svn: r14548
2009-04-17 22:50:19 +00:00
Matthew Flatt
709ad23400
performance improvements: class local-field access uses accessor with index built in (so the index is checked once); JIT partially inlines struct-field mutation
...
svn: r14530
2009-04-16 19:01:20 +00:00
Matthew Flatt
119c69e1ad
fix some problems and inefficiencies in saving and loading wxme streams
...
svn: r14526
2009-04-15 22:27:43 +00:00
Matthew Flatt
8001b11c03
under Windows, editor-canvas% needs to set its own focus on mouse clicks
...
svn: r14516
2009-04-14 23:08:51 +00:00
Matthew Flatt
0f9cb4882d
fix problem with keymap chaining and prefix bindings
...
svn: r14513
2009-04-14 16:38:37 +00:00
Matthew Flatt
6082e6a9c3
fix CDLF conversion when loading a text file into an editor
...
svn: r14512
2009-04-14 16:21:09 +00:00
Matthew Flatt
09bec206d6
fix cross-canvas-editor-admin call to do-scroll-to
...
svn: r14500
2009-04-13 23:11:08 +00:00
Matthew Flatt
9371f69eef
fix problems with editor stream reading
...
svn: r14497
2009-04-13 12:37:48 +00:00
Matthew Flatt
d33997c2c7
fix snip% previous method
...
svn: r14495
2009-04-13 02:18:26 +00:00
Matthew Flatt
767d5dde33
fix tab-paste bug and missing default for read-editor-version
...
svn: r14493
2009-04-11 22:40:27 +00:00
Matthew Flatt
04a8e21cf2
fix style font-face problem
...
svn: r14491
2009-04-11 14:48:23 +00:00
Matthew Flatt
ccf5809b45
pasteboard printing fix & editor-canvas chaining fix
...
svn: r14490
2009-04-11 14:07:39 +00:00
Matthew Flatt
c98e4e0881
pasteboard printing fix
...
svn: r14489
2009-04-11 13:37:14 +00:00
Matthew Flatt
8fe203ad72
editor-canvas clean-up of internal scroll method
...
svn: r14481
2009-04-09 23:22:50 +00:00
Matthew Flatt
0657fc52cf
another fix from Ryan, plus one that didn't get committed before
...
svn: r14479
2009-04-09 21:29:51 +00:00
Matthew Flatt
bd9d17c94f
more wxme repairs from Ryan
...
svn: r14478
2009-04-09 16:40:52 +00:00
Ryan Culpepper
b6b917a4b9
mred/private/wxme: fixed some method arities and defaults
...
svn: r14477
2009-04-09 14:59:19 +00:00