Commit Graph

498 Commits

Author SHA1 Message Date
Owen Taylor
4ef94fd74e Backed out change to close polygons since it caused problems for the
Sat Jan 31 00:13:33 1998  Owen Taylor  <owt1@cornell.edu>

	* gtk/gtkstyle.c: Backed out change to close polygons
	  since it caused problems for the Notebook.
1998-01-31 05:12:37 +00:00
Owen Taylor
b38b6f5f0f - Conformity to new reference counting schemes - Font and color
Fri Jan 30 22:28:09 1998  Owen Taylor  <owt1@cornell.edu>

	* gtk/gtkclist.{c,h}:
	   - Conformity to new reference counting schemes
	   - Font and color information is no-longer taken from
	     the (possibly unitialized) style before the widget
	     is realized, but is obtained when needed. (Fixes
	     problems with non-default styles)
	   - white_gc => base_gc where appropriate
	   - Handle graphics expose events correctly (or as
	     correctly as anywhere else) so that scrolling when
	     overlapped works.
1998-01-31 03:33:02 +00:00
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
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
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
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
Shawn Amundson
d43c0de3f4 More changes from Tony Gale. 1998-01-27 20:51:36 +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
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
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
Shawn Amundson
d1da1a45a0 strdup changed to g_strdup
-Shawn
1998-01-21 05:13:01 +00:00
Tim Janik
4c2931aab5 removed some superfluous variables that duplicated widget->state.
updated ChangeLog.
-timj
1998-01-21 00:52:17 +00:00
Owen Taylor
0dae051ddd Conversion to use Paolo Molaro's GtkCombo instead of GtkComboBox 1998-01-20 21:40:38 +00:00
Federico Mena
53ac2efcad Set container_class->focus to NULL. Widgets in the toolbar should not get
Mon Jan 19 16:21:00 1998  Federico Mena  <federico@bananoid.nuclecu.unam.mx>

	* gtk/gtktoolbar.c (gtk_toolbar_class_init): Set
	container_class->focus to NULL.  Widgets in the toolbar should not
	get the focus via the normal key bindings (no toolkit does this,
	and it makes sense).
1998-01-19 23:45:37 +00:00
Federico Mena
73386d5761 Removed the GTK_PIXMAP casts to match Eckehard's new prototypes.
Mon Jan 19 16:21:00 1998  Federico Mena  <federico@bananoid.nuclecu.unam.mx>

	* gtk/testgtk.c (create_toolbar): Removed the GTK_PIXMAP casts to
	match Eckehard's new prototypes.

	* gtk/gtktoolbar.h: Switched the order of the tooltip_text and
	widget parameters to the gtk_toolbar_*_widget() functions, to be
	friendlier to the C++ bindings.  This is per request of Guillaume
	Laurent.
1998-01-19 22:38:22 +00:00
Tim Janik
1a8765e6ce this is a stack of grabbing widgets now, having unique entries. the
Mon Jan 19 09:16:38 1998  Tim Janik  <timj@psynet.net>

        * gtk/gtkmain.c (gtk_grab_add) (gtk_grab_remove): this is a stack
          of grabbing widgets now, having unique entries. the GTK_HAS_GRAB
          flag of a widget is set while it is on the stack (wasn't
          implemented before).
1998-01-19 08:23:24 +00:00
MET Eckehard Berns
0c6a6baa08 changed gtk_toolbar_{append,prepend,inser]_item to accept any GtkWidget as
Mon Jan 19 00:46:18 1998 MET  Eckehard Berns  <eb@berns.prima.de>

	* gtk/gtktoolbar.[ch]: changed
 	  gtk_toolbar_{append,prepend,inser]_item to accept any GtkWidget
 	  as icon to allow more flexibility
1998-01-18 23:49:56 +00:00
Shawn Amundson
67e6757069 Statusbar widget. -Shawn
Statusbar widget.
-Shawn
1998-01-18 23:01:09 +00:00
Owen Taylor
4628759d3b renamed g_string_equal => g_str_equal renamed g_string_hash => g_str_hash
Sat Jan 17 23:52:40 1998  Owen Taylor  <owt1@cornell.edu>

	* gstring.{c,h} gscanner.c:
	   renamed g_string_equal => g_str_equal
	   renamed g_string_hash => g_str_hash
	  And const corrected. Old functions left in for now.
1998-01-18 15:12:01 +00:00
Owen Taylor
11d37c5067 gtkbutton.c gtkclist.c gtkdrawingarea.c gtkentry.c gtkeventbox.c
Sun Jan 18 09:57:00 1998  Owen Taylor  <owt1@cornell.edu>
* gtkbutton.c gtkclist.c gtkdrawingarea.c gtkentry.c gtkeventbox.c
  gtkfixed.c gtkhandlebox.c gtkhscale.c gtkhscrollbar.c gtkitem.c
  gtklist.c gtkmenushell.c gtkmisc.c gtknotebook.c gtkpaned.c
  gtkpreview.c gtkprogressbar.c gtkruler.c gtktext.c gtktree.c
  gtkviewport.c gtkvscale.c gtkvscrollbar.c gtkwidget.{c,h}

  Added gtk_widget_set_parent and gtk_widget_get_parent. All
  widgets should use:

   gtk_widget_get_parent() instead of widget->parent->window.

  Any widget that wants to have children not in the parent window,
  should use gtk_widget_set_parent () in their realize() and
  add () routines.

  CList and Viewport widgets changed to do this. (Viewport
  widget using code from gtk-fortier-980117-0.patch.)
1998-01-18 15:09:10 +00:00
Tim Janik
1e34b9ba8d updates... -timj
updates...
-timj
1998-01-18 11:11:27 +00:00
Tim Janik
40808fa050 new functions gtk_box_reorder_child, gtk_box_query_child_packing and
Sun Jan 18 03:57:52 1998  Tim Janik  <timj@psynet.net>

        * gtk/gtkbox.h:
        * gtk/gtkbox.c: new functions gtk_box_reorder_child,
        gtk_box_query_child_packing and gtk_box_set_child_packing to
        allow modification of the child linkage after the widget tree
        is setup.

        * gtk/gtkbox.c:
        * gtk/gtklabel.c:
        * gtk/gtkwindow.c:
        * gtk/gtkwidget.c:
        * gtk/gtkobject.c: gtk_*_get_arg() and gtk_*_set_arg() fixes
          and implementations.
1998-01-18 03:09:42 +00:00
Owen Taylor
84cf918177 changed log -owt
changed log
                                        -owt
1998-01-17 23:29:17 +00:00
CST 1998 Shawn T. Amundson
2e99581612 Applied patch from <lupus@lettere.unipd.it> which adds
Sat Jan 17 13:26:15 CST 1998 Shawn T. Amundson <amundson@gimp.org>

        * gtk/gtkentry.[ch]:  Applied patch from <lupus@lettere.unipd.it>
          which adds gtk_entry_set_max_length function.  This was
          part of gtk-lupus-970112-0.

        * gtk/testgtk.c: Applied gtk-wille-980113-0 which fixes
          a problem with a shaped widget keeping grab forever
          when double clicked.

        * docs/gtk.texi: patch from Gregory McLean <gregm@randomc.com>
          to add some on aspect_frame, button_box, and color_selection
          widgets
1998-01-17 22:48:31 +00:00
Tim Janik
8dc9cd53ff +Sat Jan 17 06:24:05 1998 Tim Janik <timj@psynet.net>
+
+        * gtk/gtktypeutils.h (gtk_type_get_arg): new function.
+        * gtk/gtkobject.h (gtk_object_query_args): new function.
+        * gtk/gtkobject.h (gtk_object_getv): new function.
+        * gtk/gtkwidget.h (gtk_widget_get): new function.
1998-01-17 05:31:13 +00:00
Federico Mena
c44ba4b377 Now we use a GtkWindow of type GTK_WINDOW_DIALOG as a destination for
Fri Jan 16 00:36:31 1998  Federico Mena  <federico@bananoid.nuclecu.unam.mx>

	* gtk/gtkhandlebox.c: Now we use a GtkWindow of type
	GTK_WINDOW_DIALOG as a destination for reparenting the child of
	the handle box.  This solves the problem of having X calls in
	Gtk.  It also makes the handle box work with KWM, OLVWM, 4Dwm (so
	I expect mwm to work as well).  I hadn't noticed that previously
	it only worked with fvwm and twm.

	* gtk/gtkhandlebox.h (struct _GtkHandleBox): Removed the
	real_parent field, as it is never used.
	(struct _GtkHandleBox): Added a float_window field.  This is a
	GtkWindow to where the child is now reparented.
1998-01-16 23:43:10 +00:00
Shawn Amundson
a6252a3297 Added note for when 0.99.2 was released.
-Shawn
1998-01-16 22:07:31 +00:00
Federico Mena
582a3f433c Lots of changes all over the place. Now the widget has two windows. The
Fri Jan 16 00:36:31 1998  Federico Mena  <federico@bananoid.nuclecu.unam.mx>

	* gtk/gtkhandlebox.c: Lots of changes all over the place.  Now the
	widget has two windows.  The steady_window stays put in the parent
	container, and the widget->window is the one that gets
	reparented.  Now that window is transient, in compliance with the
	ICCCM, instead of an OverrideRedirect window.

	We have two windows so that we can properly receive Expose events
	for the thin 3D line that marks the place where the handlebox is
	docked.

	* gtk/gtkhandlebox.h (struct _GtkHandleBox): Added fields for
	dragging (mouse position information).  Added fleur_cursor so that
	we look pretty.  Added steady_window field; it is the window that
	actually stays on the parent (widget->window is the one that gets
	reparented).

Owen, this is the version with the two X calls in gtkhandlebox.c.
I'll do as you say; either we can add new calls to Gdk, or I can
modify the handle box code to use a separate GtkWindow and reparent
the child into that.

- Federico
1998-01-16 19:01:56 +00:00
Miguel de Icaza
aed02304eb Call gtk_clist_size_allocate_columns every time the column configuration
Thu Jan 15 19:03:19 1998  Miguel de Icaza  <miguel@nuclecu.unam.mx>

        * gtk/gtkclist.c (gtk_clist_set_column_width): Call
        gtk_clist_size_allocate_columns every time the column
        configuration changes.
1998-01-16 01:51:56 +00:00
Tim Janik
8e1fb2cccd changelog correction ;(
-timj
1998-01-16 01:05:07 +00:00
Tim Janik
2d5a6055e8 changelog entry for the widget arg stuff.
-timj
1998-01-16 01:02:13 +00:00
Jay Painter
18681dc653 Fixed a small memory leak in gtkpaned, and I changed the cursor to a
"I" beam for gtkentry. -Jay
1998-01-15 08:45:57 +00:00
Jay Painter
880c62eec1 changlog updates 1998-01-13 15:19:36 +00:00
Federico Mena Quintero
139026de73 Fixed child->icon and child->label == NULL bugs.
1998-01-13  Federico Mena Quintero  <federico@nuclecu.unam.mx>

	* gtk/gtktoolbar.c: (gtk_real_toolbar_style_changed): Fixed
	child->icon and child->label == NULL bugs.

	* gtk/gtktoolbar.h: Added some new functions:
		gtk_toolbar_append_widget()
		gtk_toolbar_prepend_widget()
		gtk_toolbar_insert_widget()
	These let the user insert any kind of widget in the toolbar.  Also
	changed the gtk_toolbar_*_item() functions to return a
	GtkWidget * so that the user can do things with the toolbar buttons.

	* gtk/gtktoolbar.c: Now the toolbar supports its own buttons and
	arbitrary widgets as well.  Geometry management has been changed
	accordingly.  Added gtk_toolbar_remove() function, so container
	functionality should be complete now.

	* gtk/testgtk.c (create_toolbar): Added an entry widget to test
	the new toolbar.

	* Most of these changes are adapted from the
	gtk-lupus-970112-0-patch (should be 970112... :-)
1998-01-13 06:14:52 +00:00
Ian Main
8bb622a983 *** empty log message *** 1998-01-11 04:47:23 +00:00
Jay Painter
839b480391 Look and feel changes to CList so it now looks like a scrolled window.
I also added Sopwith's changes to gtk_clist_insert so you can pass the title
pointer as a null to insert a blank row.  Please make consistant changes
for things like this.  -Jay
1998-01-09 08:52:01 +00:00
Manish Singh
00000538ed Added check for inline in configure and updated files to use it.
-Yosh
1998-01-09 01:48:19 +00:00
Elliot Lee
5eee6416f5 New widget (GtkComboBox) and fixed gdk_window_init to initialize gdk_root_parent some more 1998-01-08 04:13:13 +00:00
Manish Singh
4ccc005197 applied patch to use a backing pixmap for drawing in GtkEntry, which removes
the bad flickering. (gtk-wille-980106-0)

-Yosh
1998-01-08 01:58:39 +00:00
Manish Singh
52d5af4d7e Remembered to update the ChangeLog...
-Yosh
1998-01-07 10:06:36 +00:00
Owen Taylor
ad5466ca6e Fixed problem with deleting while text is selected.
Changed behavior so that motion keys remove selection.
Added new gtk_entry_select_region () call.

                                        -owt
1998-01-06 21:59:00 +00:00
Jay Painter
0e3e5eed78 Better Clist test in testgtk.c. -Jay 1998-01-03 23:28:28 +00:00
Shawn Amundson
65d015d813 initialize scrollbar_spacing (gtk-fortier-980103-0)
* gtk/gtkscrolledwindow.c: initialize scrollbar_spacing
          (gtk-fortier-980103-0)

-Shawn
1998-01-03 17:00:37 +00:00
scott
0eedb30ce8 Fixed a typo in configure.in (reported by Elrond on IRC).
--sg
1998-01-03 15:08:41 +00:00
Manish Singh
25995faa6c Added Gordon Matzigkeit's patch for fixed length gtk entry fields
-Yosh
1998-01-03 08:35:21 +00:00
Jay Painter
621e1dd4c2 Removal of inlines, and updated ChangeLog. -Jay 1998-01-03 07:45:05 +00:00
Shawn Amundson
8eb36ebbd5 Several portability fixes from Michael Callahan <callahan@xmission.com>
* Several portability fixes from Michael Callahan
          <callahan@xmission.com> including adding in missing
          #includes and adding void in function prototypes.

-Shawn
1998-01-03 05:46:58 +00:00
Jay Painter
7a2073bf64 Added CList. -Jay 1998-01-03 03:31:34 +00:00
Arturo Espinosa
303c8f03a8 I had forgot to put GDK_NO_EXPOSE and GDK_VISIBILITY_NOTIFY events in gtk_main_iteration() - Federico 1998-01-02 21:38:39 +00:00
Shawn Amundson
dc4e9e2fe1 corrects a small resize bug in the viewport widget. The viewport widget
* gtk/gtkviewport.c: corrects a small resize bug in the
          viewport widget.  The viewport widget provides a _set_shadow
          function to draw its shadows. But if GTK_SHADOW_NONE is sent
          to this function, the viewport isn't resized correctly (it's
          still considered as a shadowed widget).  (gtk-fortier-971213-0)

        * gtk/gtknotebook.c: this patch fixes the redraw problems of
          notebook tabs, without using gdk_gc_set_clip_rectangle.
          (gtk-hamann_jeske-971218-0)

        * add gtk_widget_(show/hide)_all (Stefan Wille)
          (gtk-wille-301297-0)  Patch for testgtk not included
          because it did not patch clean.

-Shawn
1998-01-02 20:22:38 +00:00
Manish Singh
c3a5564894 Fixed up the xinput test in configure.in
-Yosh
1998-01-02 05:15:34 +00:00
Manish Singh
92610dafdb Miscellaneous portability fixes.
-Yosh
1998-01-02 03:36:27 +00:00
Miguel de Icaza
fb51b7a6c5 New function, used to copy the values from one gc to another gc.
Mon Dec 29 22:05:45 1997  Miguel de Icaza  <miguel@nuclecu.unam.mx>

	* gdk/gdkgc.c (gdk_gc_copy): New function, used to copy the values
	from one gc to another gc.
1997-12-30 03:45:59 +00:00
Elliot Lee
b8e57550b7 ChangeLog entry 1997-12-28 01:30:51 +00:00
scott
4c23b890c4 Added gtkhandlebox.c to Makefile.am. 1997-12-26 16:13:29 +00:00
scott
7c21169e72 Eliminated a compiler warning caused by not casting an argument in a
debugging message. :)
1997-12-26 16:11:40 +00:00
Arturo Espinosa
ad1a805810 Update for NoExpose and VisibilityNotify events - Federico 1997-12-26 08:54:43 +00:00
Tim Janik
ee489eafb0 this macro computes the spacing from klass->scrollbar_spacing now. adapted
* gtk/gtkscrolledwindow.c (SCROLLBAR_SPACING): this macro computes
        the spacing from klass->scrollbar_spacing now. adapted all functions
        that used this macro (based on a patch from Patrice Fortier).
        * gtk/gtkscrolledwindow.h (struct _GtkScrolledWindowClass): added
        scrollbar_spacing to substitute a define (patch from Patrice Fortier).
-timj
1997-12-23 20:13:14 +00:00
Tim Janik
2b2667e791 new function. many functions adapted to use GScanner for scanning.
* gtk/gtkrc.h (gtk_rc_parse_string): new function.
        * gtk/gtkrc.c: many functions adapted to use GScanner for scanning.
        (gtk_rc_parse): use gtk_rc_parse_any for parsing.
        (gtk_rc_parse_string): new function to support parsing from
        strings, just calls gtk_rc_parse_any.
        (gtk_rc_parse_any): new function using GScanner as lexer.
-timj
1997-12-23 02:12:10 +00:00
Shawn Amundson
1b6fb00808 Beginnings of support for 1 bpp depth in gdk. Very minor changes.
Most of testgtk runs on 1 bpp.  Nothing much else will work until
gdkcc is used for gtk_preview and other color-intensive things.

-Shawn
1997-12-20 08:39:21 +00:00
Shawn Amundson
e9f322e2f0 Changes from Bolliet Jerome <bolliet@in2p3.fr> to gtktree.
Corrects a bug in gtk_tree_remove_items and gtk_tree_item_destroy.
Adds the possibility to connect all items by lines. This is the
default now.  You can overide this with the function
gtk_tree_set_view_line which take a tree and a boolean.

This tree widget looks way more finished with the lines.  Very
nice.  Check it out and run gtk/testtree.

-Shawn
1997-12-19 05:41:45 +00:00
Shawn Amundson
f7b1fa3aed For consistancy with GIMP/GNOME projects. Plus these files can
get really annoying if they are in the tree.

-Shawn
1997-12-19 05:24:25 +00:00
scott
555aa2baf9 Caught a stray gdk_colormap_destroy that Owen missed (and Shawn found).
-- sg
1997-12-18 04:29:53 +00:00
Owen Taylor
26be2f7003 Filling in the details. 1997-12-18 02:24:41 +00:00
Arturo Espinosa
865eab2445 forgot to add GdkColorContext to ChangeLog - Federico 1997-12-17 22:59:24 +00:00
Manish Singh
f9bfb8462a Added gdk_get_display ()
-Yosh
1997-12-17 22:40:07 +00:00
Raph Levien
92c316606b ChangeLog entries for filesel patch. 1997-12-14 08:05:15 +00:00
Jay Painter
ebce1f7954 Added focus flag to gtk/gtkvscrollbar.c so it can get keyboard focus.
-Jay
1997-12-13 19:32:00 +00:00
Owen Taylor
da9a8aee9e Removed warning when XGetWindowProperty fails - this can be the desired
* Removed warning when XGetWindowProperty fails - this can
  be the desired behavior.
                                        -owt
1997-12-13 02:08:35 +00:00
Shawn Amundson
30e8968f3b Change to ltconfig to remove -z text for Solaris x86 Change to configure
* Change to ltconfig to remove -z text for Solaris x86
* Change to configure stuff so compile works on Solaris x86
* Added gdk/gdkkeysyms.h and gdk/gdkcursors.h back into the tree

-Shawn
1997-12-11 17:06:25 +00:00
Tim Janik
bb698f73f4 added gdk_progclass==NULL patch by Oliver Graf <ograf@fga.de>. -timj
* gdk.c: added gdk_progclass==NULL patch by Oliver Graf <ograf@fga.de>.
-timj
1997-12-11 08:39:21 +00:00
Tim Janik
8a6dea2d55 GLib:
* glib_pre1.h:
        * glib_pre2.h:
        * glib.h: this file now gets concatenated by makeglib_h from
        glib_pre1.h and glib_pre2.h to merge in glibconfig.h wich got
        created by configure (done by Jay Painter).

        * glib_pre2.h: the g_assert*() and g_return_*_fail() macros
        are wrapped by G_STMT_START and G_STMT_END now, to avoid conflicts
        when used within if (...) g_macro(); else ... conditionals.
Gtk+:
        * fixed some compiler errors, because g_return_if_fail() wasn't used
        with a trailing semicolon in some places. fixed few other warnings also.

-timj
1997-12-10 22:43:24 +00:00
Owen Taylor
68269a3f2a Configure changes:
Change test ! `...` to test -z `...`
    (Harald Meland <Harald.Meland@usit.uio.no>)
  Change $gtk_cv_x_locale to $need_x_locale so it isn't cached.
  With --enable_debug, don't touch CFLAGS if they're already set.

                              - owt (OK, which platform does this break?)
--------------------------------------------------------------------
1997-12-10 02:28:14 +00:00
Owen Taylor
d6b0c35739 YACU 1997-12-08 23:53:14 +00:00
Owen Taylor
ef7a3aa2ff Update. 1997-12-07 16:38:06 +00:00
Tim Janik
37f6b421f2 applied jamesa-971010-0 for stability. applied jamesa-971010-2 for a small
* gtkfilesel.c: applied jamesa-971010-0 for stability.
        * gtkrc.c: applied jamesa-971010-2 for a small optimization.
        * gtkcheckmenuitem.h:
        * gtkcheckmenuitem.c:
        * gtkradiomenuitem.c:
        * testgtk.c: applied johannes-971113-0 which adds
        gtk_check_menu_item_set_show_toggle() to change the way check
        menu items and radio menu items look.
-timj
1997-12-07 02:34:38 +00:00
Elliot Lee
7e4ee8cb4f Read the ChangeLog :) 1997-12-06 22:12:10 +00:00
Owen Taylor
28de9c69b3 Ignore gdk_gc_set_font if font is a fontset. (Actually, gdk_gc_set_font
is completely useless now...)
                                        -owt
1997-12-05 04:25:52 +00:00
Jay Painter
ef3f373172 Fixed recent bug in gtkstyle.c. -Jay 1997-12-04 08:00:59 +00:00
Owen Taylor
4b4c6aff91 Various configuration and portability related changes. See ChangeLog
for details.
                                        -owt
1997-12-03 21:43:44 +00:00
Jay Painter
c3ac6c80a6 Fixed a optionmenu bug where if you set a new menu on a optionmenu, the
selected widget would not get positioned correctly inside of the optionmenu.
-Jay
1997-12-03 16:38:54 +00:00
Owen Taylor
8fc5d3586a - Added a g_memmove function for SunOS compatability.
- Disabled unused gldouble definitions which were a portability problem

                                        - owt
1997-12-02 21:03:14 +00:00
Jay Painter
1e4243e40b same as before -Jay 1997-12-02 03:43:24 +00:00
Michael Johnson
60ec6d4638 ChangeLog entry about gtkentry visibility I forgot to make on the 17th. :-(
-mkj
1997-12-01 19:01:07 +00:00
Gnome CVS User
8d073b0232 new gtk_main_level(). fixes to gtk_window_show() to prevent -1x-1 size on
window creation. some indentation fixes.
this basically brings my tree back in sync with the repository again...
1997-11-28 01:22:38 +00:00
Gnome CVS User
dd34bcca5e Patches to support internationalized input by:
Takashi Matsuda <matsu@arch.comp.kyutech.ac.jp>
  TANAKA Shinya <shinya@race.u-tokyo.ac.jp>

See ChangeLog entries for further details.

Also some small fixes to event handling in gdk/gdk.c; sending
clear events in gtk/gtkselection.c and cut-and-paste in
gtk/gtkentry.c
1997-11-27 04:16:39 +00:00
Gnome CVS User
e522ad46ba gtk/gtkaspectframe.c:
Some minor improvements to rounding in aspectframes.
Make sure that child allocation is always >= 0
Always trigger size allocation with gtk_widget_queue_resize
  to prevent calling size_allocate before allocation done.

gtk/gtkframe.c:
Changed tests for drawability to GTK_WIDGET_DRAWABLE
Always trigger size allocation with gtk_widget_queue_resize
  to prevent calling size_allocate before allocation done.
1997-11-26 02:36:43 +00:00
Gnome CVS User
33b9431580 Mon Nov 24 1997 Jay Painter <jpaint@serv.net>
gtk-dairiki-971117-2.patch
        gtk/gtkaspectframe.c (gtk_aspect_frame_size_allocate): When
        computing new dimensions of the subwidget, round to nearest
        integer rather than truncating.

Mon Nov 24 1997 Jay Painter <jpaint@serv.net>
        gtk-dairiki-971117-1.patch
        * gtk/gtkvruler.c (gtk_vruler_draw_ticks):
        * gtk/gtkhruler.c (gtk_hruler_draw_ticks): Ensure that subticks
        always are drawn when they should be (sometimes they were getting
        drawn with zero length --- invisible).  Also clear rectangle
        behind text labels to ensure they don't touch or overlap ticks.

Mon Nov 24 1997 Jay Painter <jpaint@serv.net>
        * gtk/gtkaspectframe.c (gtk_aspect_frame_set):
        gtk-dairiki-971117-0.patch
        Clear window when aspect ratio or alignment is changed.
1997-11-25 07:15:41 +00:00
Gnome CVS User
c82e82dafc gtk-dairiki-971117-0.patch
Clear window when aspect ratio or alignment is changed. -Jay
1997-11-25 06:49:03 +00:00
Gnome CVS User
ba1d51293c Fixed GTK_OBJECT_NSIGNALS macro in gtk/gtkobject.h -Jay 1997-11-25 06:36:40 +00:00
Gnome CVS User
c320a8d858 Adding autoconf generated files. -Jay 1997-11-25 06:17:49 +00:00
Elliot Lee
9508b76bd2 Initial revision 1997-11-24 22:37:52 +00:00