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:01:36 +0000 (21:01 -0700)]
Limit how small the fix-resizer will make its siblings.
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: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:11:32 +0000 (15:11 -0700)]
Use fix-resizer-stack-vertical? to orient pointer.
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 [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 [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 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: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 [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: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:10 +0000 (08:49 -0700)]
Fixed g_mount_operation_set_anonymous declaration.
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: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.
Matt Birkholz [Wed, 17 Aug 2011 22:17:05 +0000 (15:17 -0700)]
Merge remote-tracking branch 'origin/master' into Gtk
Matt Birkholz [Wed, 17 Aug 2011 22:02:15 +0000 (15:02 -0700)]
Did not need the signal-name argument for g-signal-connect.
Matt Birkholz [Wed, 17 Aug 2011 21:55:11 +0000 (14:55 -0700)]
Support GFile mounts that need a username and password.
Matt Birkholz [Wed, 17 Aug 2011 21:45:15 +0000 (14:45 -0700)]
Added missing gc-cleanup for <g-mount-operation>s.
Matt Birkholz [Wed, 17 Aug 2011 21:34:59 +0000 (14:34 -0700)]
Use map! where possible, and e.g. bitwise-ior vs. bitstrings.
Matt Birkholz [Wed, 17 Aug 2011 21:19:32 +0000 (14:19 -0700)]
Added prompt-for-string and call-with-pass-phrase.
Matt Birkholz [Tue, 16 Aug 2011 22:16:30 +0000 (15:16 -0700)]
Warn of undefined C-enum constants; do not error.
Matt Birkholz [Tue, 16 Aug 2011 21:22:43 +0000 (14:22 -0700)]
Outf-console is now outf-error, writing to stderr.
Joe Marshall [Sat, 13 Aug 2011 23:09:27 +0000 (16:09 -0700)]
Widen text columns for printing GC statistics.
Joe Marshall [Sat, 13 Aug 2011 17:08:47 +0000 (10:08 -0700)]
Resolve merge conflict.
Matt Birkholz [Fri, 12 Aug 2011 19:15:44 +0000 (12:15 -0700)]
Factored gfile-close out of -stream-close and -enumerator-close.
Matt Birkholz [Fri, 12 Aug 2011 18:59:48 +0000 (11:59 -0700)]
Factored gfile-open out of gfile-query-info.
Matt Birkholz [Fri, 12 Aug 2011 18:26:21 +0000 (11:26 -0700)]
Punt 64bit GFile attributes and the gint64 type.
Matt Birkholz [Fri, 12 Aug 2011 18:21:54 +0000 (11:21 -0700)]
Factored gfile-open out of -read, -open-write and -enumerate-children.
Matt Birkholz [Thu, 11 Aug 2011 04:52:59 +0000 (21:52 -0700)]
Added global export gdirectory-read.
Moved directory reading code from tests/gtk/test-gport-operations.scm
to src/gtk/gio.scm. Defined a procedure to convert strings and
pathnames into absolute URIs and used it in the 3 global exports.
Matt Birkholz [Thu, 11 Aug 2011 00:34:45 +0000 (17:34 -0700)]
Mount GFiles as necessary, assuming no password is needed.
Matt Birkholz [Thu, 11 Aug 2011 00:31:05 +0000 (17:31 -0700)]
G-signal-connect now has an optional signal-name parameter.
Matt Birkholz [Thu, 11 Aug 2011 00:14:51 +0000 (17:14 -0700)]
C-peek-cstringp! now returns () at NULL on end of a strvec.
Matt Birkholz [Thu, 11 Aug 2011 00:10:41 +0000 (17:10 -0700)]
Warn, not die, if a callback is undefined.
Matt Birkholz [Tue, 9 Aug 2011 00:03:19 +0000 (17:03 -0700)]
Wrote analyze-file, for logs with these performance timings.
Joe Marshall [Wed, 3 Aug 2011 02:07:20 +0000 (19:07 -0700)]
Add an include to remove a warning.
Matt Birkholz [Tue, 2 Aug 2011 19:51:33 +0000 (12:51 -0700)]
Punt the tty-get/set-interrupt-chars primitives.
Gtkio's signal forwarder breaks the assumptions in en/decode_interrupt
_handler. Rather than fix them, I punt the TTY-GET-INTERRUPT-CHARS
and TTY-SET-INTERRUPTS-CHARS! primitives. They were not used in The
Tree, not even by Edwin.
Matt Birkholz [Sun, 31 Jul 2011 23:54:22 +0000 (16:54 -0700)]
Punt HAVE_SIGACTION_SIGINFO_SIGNALS.
It seems that DEFUN_STD_HANDLER assumes HAVE_SIGACTION_SIGINFO_SIGNALS
is defined. Both definitions use Tsignal_handler_result, SIGINFO_T
and SIGCONTEXT_ARG_T.
Taylor R Campbell [Sun, 31 Jul 2011 23:48:20 +0000 (23:48 +0000)]
Fix call to COMBINATION/MAKE in sf/reduct.scm.
Matt Birkholz [Sun, 31 Jul 2011 23:47:44 +0000 (16:47 -0700)]
Signal handlers can now make scheme_source runnable.
Previously the mask was always gc-only courtesy of call-alien, thus
pending_interrupts_p() was never true. This was masked by the select
timeout which also makes scheme_source runnable. Now that run-gtk
takes a timeout of -1, scheme_source_check needs to ignore the mask.
Taylor R Campbell [Sun, 31 Jul 2011 23:27:08 +0000 (23:27 +0000)]
Include osscheme.h in flonum.c for error_unimplemented_primitive.
(What's error_unimplemented_primitive doing there?)
Taylor R Campbell [Sun, 31 Jul 2011 23:24:43 +0000 (23:24 +0000)]
Fix {REDUCE,REPLACE}-OPERATOR declaration after jrm's sf rototill.
Matt Birkholz [Thu, 28 Jul 2011 16:22:32 +0000 (09:22 -0700)]
Abbreviate option loading-messages.
Matt Birkholz [Thu, 28 Jul 2011 05:18:22 +0000 (22:18 -0700)]
Factored out a <gio> class.
Matt Birkholz [Thu, 28 Jul 2011 00:04:25 +0000 (17:04 -0700)]
(integrate-external "string")
Matt Birkholz [Wed, 27 Jul 2011 22:52:50 +0000 (15:52 -0700)]
Avoid reading e.g. ../../src/runtime/.#genio.scm.
Matt Birkholz [Wed, 27 Jul 2011 21:19:50 +0000 (14:19 -0700)]
Use for-each iota; punt dotimes.
Matt Birkholz [Wed, 27 Jul 2011 21:18:27 +0000 (14:18 -0700)]
typo in last commit
Matt Birkholz [Wed, 27 Jul 2011 19:41:02 +0000 (12:41 -0700)]
Added test-gtk, test-gfile-operations.scm.
Matt Birkholz [Wed, 27 Jul 2011 19:38:55 +0000 (12:38 -0700)]
Wrapped GFileInfo, GFileEnumerator.
Matt Birkholz [Sun, 24 Jul 2011 15:40:58 +0000 (08:40 -0700)]
Split port and gport tests into separate procedures.
Matt Birkholz [Sun, 24 Jul 2011 15:31:49 +0000 (08:31 -0700)]
Forward async signals to the scheme_thread.
Tagged the relevant(?) signos with new signal_descriptor flag ASYNC.
Matt Birkholz [Thu, 21 Jul 2011 20:34:29 +0000 (13:34 -0700)]
Undo genio hack: external-string buffers.
Matt Birkholz [Thu, 21 Jul 2011 16:59:49 +0000 (09:59 -0700)]
g_malloc0 nulls GError*s so a GC-cleanup will not free junk.
Matt Birkholz [Thu, 21 Jul 2011 00:15:18 +0000 (17:15 -0700)]
Fixed GError GC-cleanup, again.
And integrated gerror->message back into create-pixbuf-loader-thread.
Matt Birkholz [Wed, 20 Jul 2011 22:17:48 +0000 (15:17 -0700)]
Rename central function per new file name.
Matt Birkholz [Wed, 20 Jul 2011 22:14:38 +0000 (15:14 -0700)]
Fixed GError GC-cleanup.
Matt Birkholz [Wed, 20 Jul 2011 22:13:44 +0000 (15:13 -0700)]
Reformat tracing; avoid hashing objects to be GC-cleaned.
Matt Birkholz [Wed, 20 Jul 2011 17:49:56 +0000 (10:49 -0700)]
Removed second appearance of "compiler" in SUBDIRS.
Matt Birkholz [Wed, 20 Jul 2011 17:48:44 +0000 (10:48 -0700)]
Use gdk_window_process_all_updates; keep animations moving.
Matt Birkholz [Wed, 20 Jul 2011 17:43:09 +0000 (10:43 -0700)]
Timeout -1 is forever. Turn off thread timer in toolkit.
Reworked scheme_source_prepare/check to implement timeout -1, reduce
calls to OS_real_time_clock, and improve tracing.
Matt Birkholz [Wed, 20 Jul 2011 17:36:54 +0000 (10:36 -0700)]
Use trace() for less obtrusive tracing.