Commit Graph

13497 Commits

Author SHA1 Message Date
George Lebl
015c1052ae fixed round-off error in calculation of tables with a lot of cells
Fri Jan 30 17:41:06 1998  George Lebl  <jirka@5z.com>

        * gtk/gtktable.c: fixed round-off error in calculation
          of tables with a lot of cells
1998-01-31 01:43:47 +00:00
Federico Mena
ce4263f901 red/green/blue parameters are now expected to be in [0, 65535], to be
Fri Jan 30 08:51:16 1998  Federico Mena  <federico@bananoid.nuclecu.unam.mx>

	* gdk/gdkcc.c (gdk_color_context_get_pixel): red/green/blue
 	parameters are now expected to be in [0, 65535], to be consistent
 	with the rest of Gdk.
	(gdk_color_context_get_pixels): Made it use 16-bit color values as
 	well.  Fixed mdist=1000000 buglet (it should start with at least
 	0x1000000).
	(gdk_color_context_get_pixels_incremental): Same as
	gdk_color_context_get_pixels().
1998-01-31 00:09:58 +00:00
Tim Janik
4af33fa24d hm, initital refcount revolution commit ;)
still some gnits left, but keep working on it ;)
-timj
1998-01-30 23:47:09 +00:00
Radek Doulik
ee7038f9fd make toolbar Child structure accesible from apps 1998-01-30 10:21:37 +00:00
Owen Taylor
7922f34318 Close the polygon if it isn't already. (To match gtk_draw_polygon)
Thu Jan 29 22:57:39 1998  Owen Taylor  <owt1@cornell.edu>

	* gtk/gtkstyle.c (gtk_default_draw_polygon): Close
	  the polygon if it isn't already. (To match gtk_draw_polygon)
	  Simplified logic. (Appearance could probably be
	  improved for objects with gradual curves by adding in
	  some intermediate edge coloration)
1998-01-30 03:58:47 +00:00
Tim Janik
ac492cfab6 discovered and documented a new bug ;)
-timj
1998-01-30 03:51:43 +00:00
Tim Janik
1ff162c445 some bugs worked out.
comment cleanups
-timj
1998-01-30 01:34:19 +00:00
Tim Janik
38bffa52d3 new function to gather information about a certain signal.
Thu Jan 29 21:36:14 1998  Tim Janik  <timj@gimp.org>

        * gtk/gtksignal.c (gtk_signal_query): new function to gather
          information about a certain signal.

        * gtk/gtksignal.c (gtk_signal_newv): new function similar to
          gtk_signal_new().

        * gtk/gtksignal.c (gtk_signal_real_emit): check for function_offset
          == 0.

        * gtk/gtksignal.c (gtk_signal_connect_by_type): perform a signal
          id lookup on the parent as well.

        * gtk/gtkobject.c (gtk_object_class_add_user_signal): new
          function for implementation of user defined signals.
        * gtk/gtkobject.c (gtk_object_class_add_signals): free old
          signal id array.

        * gtk/gtkobject.h: this holds the typedefs for GtkSignalFunc and
          GtkSignalMarshaller now, because they are used for
          gtk_object_class_add_user_signal.

        * gtk/gtktypeutils.c (gtk_type_class_init): reset object_class->signals
          and object_class->nsignals for new object classes.
1998-01-29 20:46:05 +00:00
Tim Janik
db6a8d4a8a new user signal, and possibility to query signal information.
-timj
1998-01-29 20:44:14 +00:00
Tim Janik
22388cfc07 this goes to *all* widget writers,
you have to follow the gtk+ nameing scheme, otherwise bad things
will happen (in e.g. signal/argument/type lookups).
-timj
1998-01-29 13:47:47 +00:00
Tim Janik
b5b1534b10 removed a FIXME that i had forgotten earlier. 1998-01-29 08:44:55 +00:00
Manish Singh
89a5c21c07 The list sort functions compared things backwards. Fixed.
The list iterator macros now check for NULL args

-Yosh
1998-01-29 08:00:28 +00:00
Arturo Espinosa
4fb20bdbcc Small fix to my previous GtkTable commit -miguel 1998-01-28 05:55:54 +00:00
Arturo Espinosa
7b2f9afe4c Oops, forgot a clean-up - Federico 1998-01-28 03:51:48 +00:00
Federico Mena
bad1cb0f37 The auto_shrink policy of the floating window is now set to TRUE. This
Tue Jan 27 15:52:48 1998  Federico Mena  <federico@bananoid.nuclecu.unam.mx>

	* gtk/gtkhandlebox.c (gtk_handle_box_realize): The auto_shrink
	policy of the floating window is now set to TRUE.  This fixes the
	problem of the floating window being too big when the handlebox
	child is small.
	(gtk_handle_box_motion): Now we use GDK_POINTER_MOTION_HINT_MASK
	to improve movement.
1998-01-28 03:41:55 +00:00
Arturo Espinosa
4cb6dec331 Tables autoresize now -miguel 1998-01-27 23:40:51 +00:00
Shawn Amundson
d43c0de3f4 More changes from Tony Gale. 1998-01-27 20:51:36 +00:00
Manish Singh
a9f866f4ca g_string_prepend* had interchanged src and dest params. Fixed.
-Yosh
1998-01-27 17:50:07 +00:00
Manish Singh
8f355e26ef Fixed a really lame error where g_slist_insert didn't hook the data
in! Reworked the routine a bit too.

-Yosh
1998-01-27 09:42:41 +00:00
Jay Painter
3cefe524dc Shows the widgets properly. -Jay 1998-01-27 06:39:56 +00:00
Elliot Lee
918f7d484d Fixed widget sensitivity for the treeitem - please review at leisure 1998-01-27 03:57:59 +00:00
CST 1998 Shawn T. Amundson
2c4b378455 additions/changes from new FAQ maintainers Nathan Froyd and Tony Gale.
Mon Jan 26 17:12:12 CST 1998 Shawn T. Amundson <amundson@gimp.org>

        * docs/gtkfaq.sgml: additions/changes from new FAQ maintainers
          Nathan Froyd and Tony Gale.
1998-01-26 23:11:51 +00:00
CST 1998 Shawn T. Amundson
347a06e3d0 additions/changes from Gregory A. McLean
Mon Jan 26 16:54:02 CST 1998 Shawn T. Amundson <amundson@gimp.org>

        * docs/gtk.texi: additions/changes from Gregory A. McLean
1998-01-26 22:57:10 +00:00
Tim Janik
f734007af4 added a bunch of checks for window != NULL and private->destroyed. (don't
Mon Jan 26 02:15:29 1998  Tim Janik  <timj@gimp.org>

        * gdk/gdkdraw.c:
        * gdk/gdkgc.c:
        * gdk/gdkimage.c:
        * gdk/gdkinput.c:
        * gdk/gdkpixmap.c:
        * gdk/gdkproperty.c:
        * gdk/gdkselection.c:
        * gdk/gdkwindow.c: added a bunch of checks for window != NULL and
          private->destroyed.
(don't trust this cvs commit message, i didn't modify that many files!)
1998-01-26 01:20:14 +00:00
Jay Painter
63f6c689ff Fixed a resizing bug with CList where you could loose the end of the last
column; I also fixed a small cosmetic problem with the fileselect. -Jay
1998-01-26 00:07:40 +00:00
Tim Janik
edf9e176db added new widget flag GTK_LEAVE_PENDING. if a widget has GTK_LEAVE_PENDING
Sun Jan 25 19:15:32 1998  Tim Janik  <timj@gimp.org>

        * gtk/gtkwidget.h (enum): added new widget flag GTK_LEAVE_PENDING.
        * gtk/gtkmain.c (gtk_main_iteration_do): if a widget has
          GTK_LEAVE_PENDING set, send it its LEAVE_NOTIFY event, regardless
          of a grab or sensitivity.
          changed the compression code for enter/leave notify events to
          free *both* compressed event, and removed an unneccessary call
          to g_list_remove.

        * ChangeLog: finally catched up with the recent changes on my part.
1998-01-25 18:45:56 +00:00
Tim Janik
33f3f4a2ae forgot a printf() line ;)
-timj
1998-01-24 20:03:58 +00:00
Tim Janik
6f7faf9df2 gtk_object_query_args() now returns the args in the corret order.
-timj
1998-01-24 20:02:19 +00:00
Jay Painter
3942cb76af Changed static function names/reorganized to make more sense. -Jay 1998-01-24 19:14:42 +00:00
Tim Janik
6365ebc9ea added BUGS. -timj
added BUGS.
-timj
1998-01-24 18:45:34 +00:00
Tim Janik
36b2a2ebcd new element n_args in GtkObjectClass.
-timj
1998-01-23 10:38:29 +00:00
Federico Mena
3779493d17 Switched the file to GNU indentation, for consistency.
Thu Jan 22 18:58:44 1998  Federico Mena  <federico@bananoid.nuclecu.unam.mx>

	* gdk/gdkcc.c: Switched the file to GNU indentation, for consistency.
1998-01-23 06:26:39 +00:00
Federico Mena
01f66785cb Picky, picky... fix two lines with wrong indentation :-)
Thu Jan 22 18:58:44 1998  Federico Mena  <federico@bananoid.nuclecu.unam.mx>

	* gdk/gdktypes.h (struct _GdkColorContext): Picky, picky... fix
	two lines with wrong indentation :-)
1998-01-23 06:05:39 +00:00
scott
5cb62b4561 gtk/Makefile.am: Fixed the called to runelisp to use $(SHELL).
(Cannot rely on the script having execute permissions.)
--sg
1998-01-22 07:34:13 +00:00
Shawn Amundson
d64570b781 Release GTK+ 0.99.3. 1998-01-21 23:29:56 +00:00
Tim Janik
fb48f5a356 some gtk_*_set_arg fixes
-timj
1998-01-21 23:03:11 +00:00
Shawn Amundson
b2140a2322 Added FAQ to the tree in prep for others to start working on it... 1998-01-21 22:41:35 +00:00
Ian Main
0b372cfb3a Added in Jay's new gtk_clist_column_titles_passive() call.
Ian
1998-01-21 09:31:57 +00:00
Tim Janik
2d42cb955e sigh, it wasn't so simple - first correction
-timj
1998-01-21 09:16:33 +00:00
Ian Main
10be064561 Forgot to free GList on destroy, and to destroy fileop dialog boxes.
Ian
1998-01-21 09:06:05 +00:00
Jay Painter
b533c32dd4 GtkCList Updates. -Jay 1998-01-21 08:56:52 +00:00
Ian Main
3dca445763 Small fix for the optionmenu.
Ian
1998-01-21 08:50:47 +00:00
Tim Janik
5e517e426c new function gdk_pointer_is_grabbed(). extremely simple ;)
-timj
1998-01-21 08:35:37 +00:00
Ian Main
325dc92ad4 New file selection dialog. Converted to use clist, added Mac-like pulldown,
and a few simple file operations.


	Ian Main <slow@intergate.bc.ca
1998-01-21 07:53:07 +00:00
Shawn Amundson
d1da1a45a0 strdup changed to g_strdup
-Shawn
1998-01-21 05:13:01 +00:00
Shawn Amundson
06f64ff941 Got rid of -z text for Solaris x86... again... sigh.
-Shawn
1998-01-21 05:04:45 +00:00
Tim Janik
4c2931aab5 removed some superfluous variables that duplicated widget->state.
updated ChangeLog.
-timj
1998-01-21 00:52:17 +00:00
Tim Janik
3ae8c300bb Applied patch from (Raja R Harinath <harinath@cs.umn.edu>) to add function
Wed Jan 21 01:13:25 1998  Tim Janik  <timj@psynet.net>

        * Applied patch from (Raja R Harinath <harinath@cs.umn.edu>)
          to add function g_snprintf.
        * configure.in (AC_CHECK_FUNCS): Check for vsnprintf.
        * glib.h: Add prototype for g_snprintf.
        * glibconfig.h.in: Add HAVE_VSNPRINTF.
        * gutils.c (g_snprintf): new function.
1998-01-21 00:46:48 +00:00
Elliot Lee
18ee22d93b Use browse mode on the list 1998-01-21 00:34:27 +00:00
Tim Janik
3b95a7a2b1 sensitivity and state setting combination.
-timj
1998-01-20 23:58:42 +00:00