public inbox for guile-gtk@sourceware.org
 help / color / mirror / Atom feed
From: Martin Baulig <martin@home-of-linux.org>
To: guile-gtk@sourceware.cygnus.com
Subject: [Daniel Skarda <0rfelyus@atrey.karlin.mff.cuni.cz>] Patch for guile-gtk
Date: Tue, 28 Sep 1999 03:22:00 -0000	[thread overview]
Message-ID: <86puz3xrnt.fsf@localhost.uni-trier.de> (raw)

Hello,

I'm a bit busy at the moment and not that familar with guile-gtk code -
can someone of you please look at this patch and apply it if appropriate ?

-- 
Martin Baulig - martin@home-of-linux.org - http://www.home-of-linux.org
------- Start of forwarded message -------
To: silovic@zesoi.fer.hr, martin@home-of-linux.org
Cc: mvo@zagadka.ping.de
Subject: Patch for guile-gtk
From: Daniel Skarda <0rfelyus@atrey.karlin.mff.cuni.cz>
Date: 25 Sep 1999 11:11:14 +0000
Message-ID: <m0905vxn3h.fsf@atrey.karlin.mff.cuni.cz>

Hello

   I would like to ask you if you can review (and possibly - commit to CVS :) my
following patch to guile-gtk from CVS. I have already sent my changes to Marius
but unfortunately he lacks spare time. You can download my patch from:

	       ftp://atrey.karlin.mff.cuni.cz/pub/local/0rfelyus/

   patch includes many additions to .defs files and rewrite (and hopefully
speed-up) of scm2flags and scm2enum functions (I develop gtkglarea and GL
bindings using guile-gtk so speed of these functions is fundamental). 

Dan

Here is ChangeLog entry:

1999-09-24  Daniel Skarda  <0rfelyus@ucw.cz>

	* gtk-1.2.defs: New objects, flags etc: GtkTearoffMenuItem,
	GtkAccelFlags, GtkAccelGroup, GtkAccelLabel

	New functions: gtk_tearoff_menu_item_new, gtk_signal_emit_stop*,
	gtk_accel_group*, gtk_*uline*, gtk_accel_label*, ...

	* gdk-1.2.defs: New function: gdk_beep :)

	* gtk-support.c (gtk_widget_allocation_*_scm): New functions - so
	you can get widget's width, height, x and y.

	*examples/gtk-menu-test.scm: New example.

	* guile-gtk.c (enum/flags functions): Speed improvements in
	scm2enum and scm2flags.

	Instead of O(n) search and strcmp, scm2(enum|flags) functions
 	store and protect symbol so it compares only SCMs (no strings).
 	Symbols are sorted so we can perform binary search - O(log n).

	Flags and enums are now converted and validated at once so 
	scm_validate_(enum|flags) was retained only for compatibility and
	for (ret ...) expressions...

	These changes makes library binary backward incompatible (any
	other application which utilizes build-guile-gtk should be
	recompiled) .
	
	* build-guile-gtk (emit-enum/flags-info): emit function now
	reflects changes in enum/flags conversion

------- End of forwarded message -------

                 reply	other threads:[~1999-09-28  3:22 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86puz3xrnt.fsf@localhost.uni-trier.de \
    --to=martin@home-of-linux.org \
    --cc=guile-gtk@sourceware.cygnus.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).