Matt Birkholz [Mon, 10 Oct 2011 16:41:57 +0000 (09:41 -0700)]
Added imail.
Matt Birkholz [Mon, 10 Oct 2011 16:41:10 +0000 (09:41 -0700)]
Fixed portable C support.
Matt Birkholz [Fri, 7 Oct 2011 04:15:42 +0000 (21:15 -0700)]
Merge branch 'Gtk' into Gtk-Screen
Matt Birkholz [Fri, 7 Oct 2011 04:14:21 +0000 (21:14 -0700)]
Fixed one of resizer's width limits.
Matt Birkholz [Fri, 7 Oct 2011 04:03:19 +0000 (21:03 -0700)]
Merge branch 'Gtk' into Gtk-Screen
Matt Birkholz [Fri, 7 Oct 2011 04:01:36 +0000 (21:01 -0700)]
Limit how small the fix-resizer will make its siblings.
Matt Birkholz [Thu, 6 Oct 2011 22:36:00 +0000 (15:36 -0700)]
Merge branch 'Gtk' into Gtk-Screen
Matt Birkholz [Thu, 6 Oct 2011 22:25:58 +0000 (15:25 -0700)]
Fixed the demo so the spinner thread will end.
Destroyed widgets now remove themselves from a drawing's list of
widgets, but NULL was assumed to mean "haven't had any viewers yet",
not "all viewers gone".
Matt Birkholz [Thu, 6 Oct 2011 20:24:38 +0000 (13:24 -0700)]
Chain up fix-resizers via their new "before" and "after" slots.
Matt Birkholz [Thu, 6 Oct 2011 20:23:03 +0000 (13:23 -0700)]
Merge branch 'Gtk' into Gtk-Screen
Matt Birkholz [Thu, 6 Oct 2011 20:13:54 +0000 (13:13 -0700)]
Fixed the resizer to shrink/swell "before" and "after" widgets.
This allows the resize widget to follow the pointer. Otherwise the
parent GtkBox computes a compromise between the requisitions of e.g. a
growing before widget and a static after widget.
Matt Birkholz [Wed, 5 Oct 2011 22:13:44 +0000 (15:13 -0700)]
Merge branch 'Gtk' into Gtk-Screen
Matt Birkholz [Wed, 5 Oct 2011 22:11:32 +0000 (15:11 -0700)]
Use fix-resizer-stack-vertical? to orient pointer.
Matt Birkholz [Wed, 5 Oct 2011 22:01:12 +0000 (15:01 -0700)]
Fixed cursor update by being less "clever".
No need for a permanent mark in cursor-ink-point; removed the slot.
Update-cursor just calls redraw-cursor to re-compute cursor ink
positions at the end of every update, regardless of change-regions.
Set-box-ink! will do no unnecessary damage.
Matt Birkholz [Fri, 30 Sep 2011 05:35:45 +0000 (22:35 -0700)]
Added a fix-resizer between horizontal siblings.
Matt Birkholz [Fri, 30 Sep 2011 05:20:17 +0000 (22:20 -0700)]
Gtk changes: new <fix-widget> factored from <fix-layout>.
Matt Birkholz [Fri, 30 Sep 2011 01:38:20 +0000 (18:38 -0700)]
Merge branch 'Gtk' into Gtk-Screen
Matt Birkholz [Fri, 30 Sep 2011 01:37:22 +0000 (18:37 -0700)]
Fixed a fix-resizer's verticality heuristic.
Matt Birkholz [Fri, 30 Sep 2011 01:34:52 +0000 (18:34 -0700)]
Initialize the size of a <fix-widget>.
Realize signals often arrive before allocation signals.
Matt Birkholz [Fri, 30 Sep 2011 01:29:04 +0000 (18:29 -0700)]
Do not require a resizee for make-fix-resizer.
Allow the resizee slot to be #f, at least initially, for easier
"reverse" packing as in a <gtk-screen>'s hboxes.
Matt Birkholz [Fri, 30 Sep 2011 01:20:26 +0000 (18:20 -0700)]
Allow fix-resizer-resizee to be any gtk-widget.
Using gtk-widget-get-size (new) and gtk-widget-set-size-request
instead of fix-widget-geometry and set-fix-widget-size!.
Matt Birkholz [Sat, 24 Sep 2011 04:11:04 +0000 (21:11 -0700)]
Merge branch 'Gtk' into Gtk-Screen
Matt Birkholz [Fri, 23 Sep 2011 21:17:46 +0000 (14:17 -0700)]
SIGIOT is a trap, not an async. interrupt.
Matt Birkholz [Fri, 23 Sep 2011 21:16:42 +0000 (14:16 -0700)]
Merge branch 'master' into Gtk
Matt Birkholz [Fri, 23 Sep 2011 21:10:00 +0000 (14:10 -0700)]
Finished <fix-resizer> so that it resizes its resizee.
A resizee is now required to create a resizer.
Using gtk_grab_add/remove for the first time.
Fixed initialization of fix-widget-geometry.
Allowing the toplevel to shrink to 10x10.
Matt Birkholz [Fri, 23 Sep 2011 01:06:32 +0000 (18:06 -0700)]
Added set-fix-widget-enter/leave-notify-handler!, -pointer-shape!.
New: set-fix-widget-enter-notify-handler!
set-fix-widget-leave-notify-handler!
set-fix-widget-pointer-shape!
Updated: gdk_cursor_unref (gdk_cursor_destroy is deprecated),
gtk_widget_set_state (new for fix-resizer's enter/leave
handlers).
Consistency nits: prefering symbol-name over symbol->string, tracing
entry to specialized methods AFTER call-next-method.
Exercised pointer shape setting in <fix-resizer> demo.
Matt Birkholz [Thu, 22 Sep 2011 19:08:27 +0000 (12:08 -0700)]
Factor event handling out of <gtk-layout>, into <gtk-widget>.
Joe Marshall [Thu, 22 Sep 2011 18:51:43 +0000 (11:51 -0700)]
Merge branch 'master' of ssh://git.sv.gnu.org/srv/git/mit-scheme
Joe Marshall [Thu, 22 Sep 2011 18:51:25 +0000 (11:51 -0700)]
Don't call OS_free_pages after GC flip. We don't resize the heap and we will be reusing it.
Matt Birkholz [Thu, 22 Sep 2011 18:21:49 +0000 (11:21 -0700)]
Added <fix-resizer>: draw a resize handle in an h/vbox.
Matt Birkholz [Thu, 22 Sep 2011 17:55:29 +0000 (10:55 -0700)]
Fixed <fix-widget> init. Free colors upon destruction.
Matt Birkholz [Thu, 22 Sep 2011 04:58:55 +0000 (21:58 -0700)]
Factored out <fix-widget>, the GdkWindow handling in <fix-layout>.
Moved the window, geometry, colormap and colors slots and the
-realize-callback and -new-geometry-callback generics to <fix-widget>.
Matt Birkholz [Tue, 20 Sep 2011 02:53:24 +0000 (19:53 -0700)]
Fixed gtk-object-destroy-callback for <text-widget>s.
Matt Birkholz [Mon, 19 Sep 2011 18:44:39 +0000 (11:44 -0700)]
Merge branch 'Gtk' into Gtk-Screen
Matt Birkholz [Mon, 19 Sep 2011 18:44:31 +0000 (11:44 -0700)]
Merge branch 'master' into Gtk
Matt Birkholz [Mon, 19 Sep 2011 18:30:36 +0000 (11:30 -0700)]
Assigning copyrights to MIT.
Matt Birkholz [Sun, 18 Sep 2011 23:06:49 +0000 (16:06 -0700)]
Fixed resizing to small sizes. Added parse-geometry.
Settled on an init-size! that sets a small (arbitrary) minimum size.
Matt Birkholz [Sun, 18 Sep 2011 23:04:09 +0000 (16:04 -0700)]
Merge branch 'Gtk' into Gtk-Screen
Matt Birkholz [Sun, 18 Sep 2011 22:58:44 +0000 (15:58 -0700)]
Fixed gtk-window-set-geometry-hints.
Used get-keyword-value and exported the binding. Simplified the
documentation for gtk-window-parse-geometry.
Matt Birkholz [Fri, 16 Sep 2011 20:28:10 +0000 (13:28 -0700)]
Fixed import missing from
97ed8fa.
Matt Birkholz [Fri, 16 Sep 2011 20:06:34 +0000 (13:06 -0700)]
Merge branch 'Gtk' into Gtk-Screen
Matt Birkholz [Fri, 16 Sep 2011 20:06:15 +0000 (13:06 -0700)]
Merge branch 'master' into Gtk
Matt Birkholz [Fri, 16 Sep 2011 20:05:45 +0000 (13:05 -0700)]
Simplify silly %trace syntaxers.
Matt Birkholz [Fri, 16 Sep 2011 19:18:37 +0000 (12:18 -0700)]
Turn on checking for a clean gtk-unx.crf report.
Matt Birkholz [Fri, 16 Sep 2011 19:18:07 +0000 (12:18 -0700)]
Propagate destroy through <gtk-container>. Use it with <fix-layout>s.
Matt Birkholz [Fri, 16 Sep 2011 19:16:12 +0000 (12:16 -0700)]
Removed useless thunkification in %trace. IF is sufficient.
Matt Birkholz [Fri, 16 Sep 2011 19:09:25 +0000 (12:09 -0700)]
Gtk-box-pack-end and gtk-scrolled-window-set-placement descriptions.
Matt Birkholz [Fri, 16 Sep 2011 19:03:37 +0000 (12:03 -0700)]
Fixed incomplete patch
966a370.
Matt Birkholz [Fri, 16 Sep 2011 18:59:44 +0000 (11:59 -0700)]
Width of a vertical combo. is the MAXimum of all subwindow widths.
Matt Birkholz [Fri, 16 Sep 2011 18:57:15 +0000 (11:57 -0700)]
Take greater care with clear-cached-pango-layout.
Matt Birkholz [Fri, 16 Sep 2011 18:53:52 +0000 (11:53 -0700)]
Pull update-name and update-widget-buffer into update-widgets.
Matt Birkholz [Fri, 16 Sep 2011 18:50:55 +0000 (11:50 -0700)]
Re-use PangoLayouts cached for destroyed text-widgets.
Matt Birkholz [Fri, 16 Sep 2011 18:45:36 +0000 (11:45 -0700)]
Get the subwindows in order; window-inferiors is random.
Matt Birkholz [Fri, 16 Sep 2011 18:27:01 +0000 (11:27 -0700)]
Fiddled comments, tracing. "typein buffer" replaced "minibuffer".
Matt Birkholz [Wed, 14 Sep 2011 20:59:40 +0000 (13:59 -0700)]
Fixed typo in HEAD^^^ -- commit
68d3ea4.
Matt Birkholz [Wed, 14 Sep 2011 20:36:30 +0000 (13:36 -0700)]
Moved scrollbars to top-right.
Matt Birkholz [Wed, 14 Sep 2011 20:35:51 +0000 (13:35 -0700)]
Screen-visibility can be DELETED.
Matt Birkholz [Wed, 14 Sep 2011 20:34:02 +0000 (13:34 -0700)]
Invalidate drawings when not updated per change regions.
Matt Birkholz [Wed, 14 Sep 2011 20:27:11 +0000 (13:27 -0700)]
Punted ignore-change-region; added buffer-drawing-update-region.
Also moved calls to clear-cached-pango-layout to where they cannot
cause trouble. Seeing no punted line exposures now! Arranged to
integrate unchanged? into the expose event handler.
Matt Birkholz [Wed, 14 Sep 2011 20:08:43 +0000 (13:08 -0700)]
Update-modeline after scrolling.
Matt Birkholz [Wed, 14 Sep 2011 20:02:37 +0000 (13:02 -0700)]
Moved in-update? flag from <tty-screen> to <screen>.
<gtk-screen> can use this in its window coord. operations, to avoid
looping in with-updated-window. Some of the ops, like
window-mark-visible?, are used at the end of screen update and so do
not need to (shouldn't!) call update-screens!. Called during command
execution, these same ops need to update-screens! (or at least their
window's buffer drawing).
Matt Birkholz [Wed, 14 Sep 2011 18:38:23 +0000 (11:38 -0700)]
Smarter %trace syntax transformers. Fiddled some trace messages.
Matt Birkholz [Sun, 11 Sep 2011 00:01:43 +0000 (17:01 -0700)]
Added update-sizes, run by set-screen-size input event.
Matt Birkholz [Wed, 7 Sep 2011 20:16:02 +0000 (13:16 -0700)]
Rewrote update-widgets' re-size! procedure to use x/y-sizes.
Matt Birkholz [Wed, 7 Sep 2011 19:30:26 +0000 (12:30 -0700)]
Put update-window inside ignore-change-region.
This helps update-modeline, which needs to know the current location
of buffer lines.
Matt Birkholz [Wed, 7 Sep 2011 19:20:02 +0000 (12:20 -0700)]
Implemented Edwin's scrolling commands on <gtk-screen>s.
Matt Birkholz [Tue, 6 Sep 2011 01:22:01 +0000 (18:22 -0700)]
Pass the text-widget to update-modeline, update-cursor, redraw-cursor.
Matt Birkholz [Tue, 6 Sep 2011 01:13:20 +0000 (18:13 -0700)]
Reversed update-screen-window!'s handling of update-drawing.
Matt Birkholz [Tue, 6 Sep 2011 01:06:15 +0000 (18:06 -0700)]
Use gtk-thread-running? and fix:quotient. Reindent some stuff.
Matt Birkholz [Tue, 6 Sep 2011 00:51:28 +0000 (17:51 -0700)]
Use outf-error, previously called outf-console.
Matt Birkholz [Mon, 5 Sep 2011 23:14:24 +0000 (16:14 -0700)]
Merge branch 'Gtk' into Gtk-Screen
Matt Birkholz [Mon, 5 Sep 2011 23:10:43 +0000 (16:10 -0700)]
Just warn if "DISPLAY not set". Added gtk-thread-running?.
Do NOT call start_gtk! Warn during (load-option 'Gtk) and upon every
disk restore thereafter.
Matt Birkholz [Mon, 5 Sep 2011 23:02:26 +0000 (16:02 -0700)]
Replaced only er-macro- with an rsc-... can't decide.
Matt Birkholz [Mon, 5 Sep 2011 22:54:11 +0000 (15:54 -0700)]
Fixed calls to bitwise-ior using new, variadic bit-ior.
Arthur A. Gleckler [Sat, 27 Aug 2011 18:40:34 +0000 (11:40 -0700)]
Fixed typos in the reference manual in warnings about future changes
to the semantics of hash table creation functions.
Joe Marshall [Fri, 26 Aug 2011 15:52:31 +0000 (08:52 -0700)]
Merge branch 'master' of ssh://git.sv.gnu.org/srv/git/mit-scheme
Matt Birkholz [Fri, 19 Aug 2011 17:06:34 +0000 (10:06 -0700)]
Merge branch 'Gtk' into Gtk-Screen
Matt Birkholz [Fri, 19 Aug 2011 17:05:02 +0000 (10:05 -0700)]
Merge remote-tracking branch 'origin/master' into Gtk
Matt Birkholz [Fri, 19 Aug 2011 16:11:35 +0000 (09:11 -0700)]
Fixed close-in/output-buffer to apply source/sink close method.
Matt Birkholz [Fri, 19 Aug 2011 15:49:25 +0000 (08:49 -0700)]
Merge branch 'Gtk' into Gtk-Screen
Matt Birkholz [Fri, 19 Aug 2011 15:49:10 +0000 (08:49 -0700)]
Fixed g_mount_operation_set_anonymous declaration.
Matt Birkholz [Fri, 19 Aug 2011 15:45:16 +0000 (08:45 -0700)]
Merge branch 'Gtk' into Gtk-Screen
Matt Birkholz [Fri, 19 Aug 2011 15:44:12 +0000 (08:44 -0700)]
Typo.
Matt Birkholz [Fri, 19 Aug 2011 15:43:10 +0000 (08:43 -0700)]
Merge branch 'master' of ssh://git.sv.gnu.org/srv/git/mit-scheme into Gtk
Matt Birkholz [Fri, 19 Aug 2011 15:41:21 +0000 (08:41 -0700)]
Fixed a last-minute copy/yank.
Matt Birkholz [Fri, 19 Aug 2011 05:10:00 +0000 (22:10 -0700)]
Merge branch 'Gtk' into Gtk-Screen
Matt Birkholz [Fri, 19 Aug 2011 05:09:38 +0000 (22:09 -0700)]
Punt test-gtk; it currently requires a DISPLAY.
Matt Birkholz [Fri, 19 Aug 2011 03:23:35 +0000 (20:23 -0700)]
Merge branch 'master' of ssh://git.sv.gnu.org/srv/git/mit-scheme into Gtk
Matt Birkholz [Fri, 19 Aug 2011 03:21:13 +0000 (20:21 -0700)]
Added thread-queues (aka mailboxes).
Matt Birkholz [Fri, 19 Aug 2011 03:18:39 +0000 (20:18 -0700)]
Removed unused parameter to lookup-enum-value.
Matt Birkholz [Fri, 19 Aug 2011 03:13:03 +0000 (20:13 -0700)]
Minimized diffs between master and Gtk.
Matt Birkholz [Fri, 19 Aug 2011 02:50:05 +0000 (19:50 -0700)]
Merge branch 'master' of ssh://git.sv.gnu.org/srv/git/mit-scheme into Gtk
Matt Birkholz [Fri, 19 Aug 2011 02:42:36 +0000 (19:42 -0700)]
Added c-peek-bytes, c-poke-bytes.
Matt Birkholz [Fri, 19 Aug 2011 02:17:53 +0000 (19:17 -0700)]
Moved outf-console to -error (stderr); fiddled FFI debugging.
Matt Birkholz [Fri, 19 Aug 2011 01:52:18 +0000 (18:52 -0700)]
c-peek-cstringp: Return () when the char* is NULL.
Matt Birkholz [Thu, 18 Aug 2011 23:31:45 +0000 (16:31 -0700)]
Merge branch 'master' of ssh://git.sv.gnu.org/srv/git/mit-scheme into Gtk
Matt Birkholz [Thu, 18 Aug 2011 18:34:55 +0000 (11:34 -0700)]
Warn, not die, when a callback or constant is undefined.
Matt Birkholz [Thu, 18 Aug 2011 18:31:10 +0000 (11:31 -0700)]
Insert const AFTER qualified type, to qualify pointers.
Matt Birkholz [Thu, 18 Aug 2011 18:28:54 +0000 (11:28 -0700)]
Allow ../../ in .cdecl include statements.
Matt Birkholz [Thu, 18 Aug 2011 18:27:53 +0000 (11:27 -0700)]
Added prompt-for-string and call-with-pass-phrase.