]> Pileus Git - ~andy/gtk/log
~andy/gtk
26 years agowidget hierarchy update from Tim Janik
GMT 1998 Tony Gale [Wed, 4 Mar 1998 16:06:00 +0000 (16:06 +0000)]
widget hierarchy update from Tim Janik

Wed Mar  4 16:02:44 GMT 1998 Tony Gale  <gale@gimp.org>

        * docs/gtkfaq.sgml: widget hierarchy update from Tim Janik

26 years agoInitialize gdk_error_code to zero before calling the X routine.
Miguel de Icaza [Tue, 3 Mar 1998 01:54:44 +0000 (01:54 +0000)]
Initialize gdk_error_code to zero before calling the X routine.

Mon Mar  2 19:57:27 1998  Miguel de Icaza  <miguel@nuclecu.unam.mx>

* gdk/gdkproperty.c (gdk_atom_name): Initialize gdk_error_code to
zero before calling the X routine.

26 years agoreflect the last commit in the changelog.
Tim Janik [Tue, 3 Mar 1998 00:34:43 +0000 (00:34 +0000)]
reflect the last commit in the changelog.
-timj

26 years agorealization fixes by lars.
Tim Janik [Tue, 3 Mar 1998 00:20:49 +0000 (00:20 +0000)]
realization fixes by lars.
-timj

26 years agofixed ifndef..define typo
Shawn Amundson [Mon, 2 Mar 1998 23:42:25 +0000 (23:42 +0000)]
fixed ifndef..define typo

-Shawn

26 years ago// comment. -owt
Owen Taylor [Mon, 2 Mar 1998 23:21:55 +0000 (23:21 +0000)]
// comment. -owt

26 years agoMiscellaneous minor fixes to remove ANSI C incompatibilities
Owen Taylor [Mon, 2 Mar 1998 23:16:39 +0000 (23:16 +0000)]
Miscellaneous minor fixes to remove ANSI C incompatibilities

Mon Mar  2 17:48:38 1998  Owen Taylor  <owt1@cornell.edu>

Miscellaneous minor fixes to remove ANSI C incompatibilities

* gdk/gdkregion.c gtk/gtkclist.c: fix // comments

* gdk/gdkdnd.c gdk/gdkinputcommon.h: change types of
some arguments to ANSI functions

* gtk/gtkcombo.c gtk/gtktree.c: fix casts of function pointers
  to void *

* gtk/gtkmain.c: An actual bug! (in deprecated gtk_input_add_interp)

* gtk/gtknotebook.h: Bitfields must be gint or guint. (and should
  be guint)

* gtk/gtkstatusbar.c: trailing ';'

* gtk/testgtk.c: GList where there should have been GSList

* glib.h gutils.c : changed g_strcasecmp
  to take gchar* not guchar*

* testglib.c: Remove trailing ; after functions

26 years agoChanged 'entry != NULL' to 'editable != NULL' in three spots.
Owen Taylor [Mon, 2 Mar 1998 17:27:17 +0000 (17:27 +0000)]
Changed 'entry != NULL' to 'editable != NULL' in three spots.

Mon Mar  2 12:26:59 1998  Owen Taylor  <owt1@cornell.edu>

* gtk/gtkentry.c: Changed 'entry != NULL' to 'editable != NULL'
  in three spots.

26 years agoReleased GTK 0.99.4.
PST 1998 Shawn T. amundson [Mon, 2 Mar 1998 02:31:43 +0000 (02:31 +0000)]
Released GTK 0.99.4.

Sun Mar  1 18:29:58 PST 1998 Shawn T. amundson <amundson@gimp.org>

        * Released GTK 0.99.4.

26 years agooh, boy, world can be so crude!
Tim Janik [Mon, 2 Mar 1998 02:00:30 +0000 (02:00 +0000)]
oh, boy, world can be so crude!
i'm ading the pixamp after the realize handler to the tree item now,
via an *idle* handler.
this gotta be worked out correctly.
-timj

26 years agocast fix
Tim Janik [Mon, 2 Mar 1998 01:22:36 +0000 (01:22 +0000)]
cast fix

26 years agosmall fixups
Tim Janik [Mon, 2 Mar 1998 00:55:55 +0000 (00:55 +0000)]
small fixups

26 years agosmall fix to notebook portion
PST 1998 Shawn T. Amundson [Mon, 2 Mar 1998 00:48:39 +0000 (00:48 +0000)]
small fix to notebook portion

Sun Mar  1 16:47:29 PST 1998 Shawn T. Amundson <amundson@gimp.org>

        * gtk/testgtk.c: small fix to notebook portion

26 years agoRequired changes for version change to 0.99.4
PST 1998 Shawn T. Amundson [Mon, 2 Mar 1998 00:32:52 +0000 (00:32 +0000)]
Required changes for version change to 0.99.4

Sun Mar  1 15:18:38 PST 1998 Shawn T. Amundson <amundson@gimp.org>

        * Required changes for version change to 0.99.4

        * gtk/gtktree.[ch]: patch from J. Bolliet to correct some bugs
        * gtk/testgtk.c: added test here from J. Bolliet, removed testtree

        * gtk/clist: gtk-abilleira-981602-0, allows gtk_clist_set_pixmap
          and gtk_clist_set_pixtext to not require a mask

        * gdk/gdkdraw.c,gdk.h: gtk-trow-980217-0
          adds gdk_draw_lines and fixes some things about
          gdk_draw_polygon

26 years agoAdded g_string_insert[_c]() and g_string_erase().
Owen Taylor [Mon, 2 Mar 1998 00:07:40 +0000 (00:07 +0000)]
Added g_string_insert[_c]() and g_string_erase().

Sun Mar  1 19:04:40 1998  Owen Taylor  <owt1@cornell.edu>

* glib.h gstring.c: Added g_string_insert[_c]()
  and g_string_erase().

  From: Stefan Wille  <1wille@vsys1.informatik.uni-hamburg.de>

26 years agoforgot to remove a printf
Tim Janik [Sun, 1 Mar 1998 23:58:44 +0000 (23:58 +0000)]
forgot to remove a printf
-timj

26 years agovariable declaration have to have the same type as their
Tim Janik [Sun, 1 Mar 1998 23:51:59 +0000 (23:51 +0000)]
variable declaration have to have the same type as their
export counterparts. sopwith are you reading compiler warnings?
-timj

26 years agoremoved duplicate stuff out of gtkwidget.[ch].
Tim Janik [Sun, 1 Mar 1998 23:47:29 +0000 (23:47 +0000)]
removed duplicate stuff out of gtkwidget.[ch].
sopwith, please update your tree before commiting.
-timj

26 years agoMake sure either the window or the depth is given when creating a pixmap.
Owen Taylor [Sun, 1 Mar 1998 23:38:01 +0000 (23:38 +0000)]
Make sure either the window or the depth is given when creating a pixmap.

Sun Mar  1 17:40:58 1998  Owen Taylor  <owt1@cornell.edu>

* gdk/gdkpixmap.c: Make sure either the window or
the depth is given when creating a pixmap.

26 years agocomplete api change to honour message contexts. unfortunaltely this also
Tim Janik [Sun, 1 Mar 1998 23:29:40 +0000 (23:29 +0000)]
complete api change to honour message contexts. unfortunaltely this also

Sun Mar  1 22:59:09 1998  Tim Janik  <timj@gimp.org>

        * gtk/gtkstatusbar.h:
        * gtk/gtkstatusbar.c: complete api change to honour message contexts.
        unfortunaltely this also involved argument changes on the signal
        emissions which will not be caught by the compiler. your callbacks
        should look like:
        void  message_text_popped (GtkStatusbar   *statusbar,
                                   guint           context_id,
                                   const gchar    *text,
                                   gpointer        func_data);

        * gtk/gtkwidget.c (gtk_widget_set_rc_style): eliminated bug about
        initial signal emission.
        (gtk_widget_set_parent): don't ensure style, just call
        gtk_widget_set_style_recurse.
        (gtk_widget_set_style_recurse): only change a widget's rc styles if
        if there has already been a lookup.

        * gtk/testgtk.c: adaptions for statusbar widget.
        substituted notebook pixmaps with pixmaps from fvwm, since
        we don't know where the originals came from.

        * gtk/gtkobject.c (gtk_object_data_destroy): call the destroy
        notifier with the objects data, not its internal structure.

        * gtk/gtkspinbutton.c (gtk_spin_button_button_press): small
        fix from lars.

26 years agoAdd drag_end_event for future expansion, plus allow passing in NULL to the gdk filter...
Elliot Lee [Sun, 1 Mar 1998 22:37:30 +0000 (22:37 +0000)]
Add drag_end_event for future expansion, plus allow passing in NULL to the gdk filter stuff to get events without a window in our app

26 years agoI forgot to *commit* these before. Note to self: commit after applying
CST 1998 Shawn T. Amundson [Sun, 1 Mar 1998 20:24:39 +0000 (20:24 +0000)]
I forgot to *commit* these before. Note to self: commit after applying

I forgot to *commit* these before.  Note to self: commit after applying
patches.

-Shawn

Sun Mar  1 15:08:13 CST 1998 Shawn T. Amundson <amundson@gimp.org>

        * docs/*.texi changes from Greg Mclean.

26 years ago> - parent_class = gtk_type_class (gtk_widget_get_type ());
Tim Janik [Sun, 1 Mar 1998 17:50:38 +0000 (17:50 +0000)]
> -   parent_class = gtk_type_class (gtk_widget_get_type ());
> +   parent_class = gtk_type_class (gtk_editable_get_type ());

26 years agohm, cvs is just too unsensible ;)
Tim Janik [Sun, 1 Mar 1998 17:45:33 +0000 (17:45 +0000)]
hm, cvs is just too unsensible ;)
-timj

26 years agohm if we save the default style, we should also provide a function to
Tim Janik [Sun, 1 Mar 1998 17:44:24 +0000 (17:44 +0000)]
hm if we save the default style, we should also provide a function to

Sun Mar  1 18:41:07 1998  Tim Janik  <timj@gimp.org>

        * gtk/gtkwidget.c (gtk_widget_restore_default_style): hm if we save the
        default style, we should also provide a function to restore it ;).

        * gtk/main.[hc]: small fixups to idle handlers, added support for quit
        handlers.

26 years ago-timj
Tim Janik [Sun, 1 Mar 1998 17:11:06 +0000 (17:11 +0000)]
-timj

26 years agogtk/gtkentry.c gtk/gtktext.c gtkeditable.[ch]
Owen Taylor [Sun, 1 Mar 1998 10:19:22 +0000 (10:19 +0000)]
gtk/gtkentry.c gtk/gtktext.c gtkeditable.[ch]

Sun Mar  1 05:18:11 1998  Owen Taylor  <owt1@cornell.edu>

* gtk/gtkentry.c gtk/gtktext.c gtkeditable.[ch]

Changed interface to cut/copy/paste so it makes sense
when triggered by say, menu items.

26 years agogtk/gtkentry.[ch] gtk/gtktext.[ch] gtkeditable.[ch]
Owen Taylor [Sun, 1 Mar 1998 08:47:36 +0000 (08:47 +0000)]
gtk/gtkentry.[ch] gtk/gtktext.[ch] gtkeditable.[ch]

Sun Mar  1 03:20:39 1998  Owen Taylor  <owt1@cornell.edu>

* gtk/gtkentry.[ch] gtk/gtktext.[ch] gtkeditable.[ch]

Turned off debugging in gtktext.c

Bug fixes for cutting, pasting, deleting, etc.

Some of the bugs that were there before have definitely
been fixed.

* gtk/testgtk.c gtk/testgtkrc: Removed my ugly orange backgrounds,
to make things look nicer.

26 years agogtk/gtkentry.[ch] gtktext.c gtkeditable.[ch]
Owen Taylor [Sun, 1 Mar 1998 05:11:05 +0000 (05:11 +0000)]
gtk/gtkentry.[ch] gtktext.c gtkeditable.[ch]

Sat Feb 28 23:58:54 1998  Owen Taylor  <owt1@cornell.edu>

* gtk/gtkentry.[ch] gtktext.c gtkeditable.[ch]

Created a new base widget type Editable for the entry and
text widgets, which encapsulates most of the selection and
clipboard handling stuff, plus some common signals.

Changed the Entry widget extensively to support this,
but the interface and appearance should be the same.

Changed the Text widget moderately to support this.

It now supports:

- Selection style cut and paste
- Clipboard style cut and paste
- Emacs style key bindings (~same as Entry)
- Word motion
- "changed" signal

There are definitely still some bugs in the new stuff.

* gtkfilesel.c gtkspinbutton.c testgtk.c: small changes
to fit the new interface more exactly.

26 years agoquit handlers and idle_remove_by_data fixups
Tim Janik [Sun, 1 Mar 1998 04:53:56 +0000 (04:53 +0000)]
quit handlers and idle_remove_by_data fixups
-timj

26 years agoremoved buglet on the initial style_set emission.
Tim Janik [Sun, 1 Mar 1998 01:53:57 +0000 (01:53 +0000)]
removed buglet on the initial style_set emission.

26 years agofew checks added -timj
Tim Janik [Sat, 28 Feb 1998 22:36:06 +0000 (22:36 +0000)]
few checks added -timj

few checks added
-timj

26 years agomore fixups -timj
Tim Janik [Sat, 28 Feb 1998 20:19:20 +0000 (20:19 +0000)]
more fixups -timj

more fixups
-timj

26 years agohandle box signals. fixups for 99.4 -timj
Tim Janik [Sat, 28 Feb 1998 19:09:20 +0000 (19:09 +0000)]
handle box signals. fixups for 99.4 -timj

handle box signals.
fixups for 99.4
-timj

26 years agooops, forgot that, be nice ;)
Tim Janik [Sat, 28 Feb 1998 17:12:41 +0000 (17:12 +0000)]
oops, forgot that, be nice ;)
-timj

26 years agofix behavior of gtk_preview_put() with srcx/srcy != 0,
Tim Janik [Sat, 28 Feb 1998 14:35:55 +0000 (14:35 +0000)]
fix behavior of gtk_preview_put() with srcx/srcy != 0,

Sat Feb 28 15:18:36 1998  Tim Janik  <timj@gimp.org>

        * gtk/gtkpreview.c: fix behavior of gtk_preview_put() with
        srcx/srcy != 0, gtk-shige-980127-0.patch.gz by
        AOSASA Shigeru <aozasa@sakuranet.or.jp>.

        * gdk: applied gtk-roebling-980121-0.patch.gz, patch for region
        support in Gdk, by Robert Roebling <roebling@ruf.uni-freiburg.de>.

26 years agoreserve the space for child_attach/child_detach signals.
Tim Janik [Sat, 28 Feb 1998 02:24:38 +0000 (02:24 +0000)]
reserve the space for child_attach/child_detach signals.

26 years agoGtkWIdget::style_set initial emission,
Tim Janik [Fri, 27 Feb 1998 22:09:20 +0000 (22:09 +0000)]
GtkWIdget::style_set initial emission,
read up in docs/style.txt on this ;)

26 years agowe make an active server grab now, this way we can change the cursor
Tim Janik [Fri, 27 Feb 1998 16:31:06 +0000 (16:31 +0000)]
we make an active server grab now, this way we can change the cursor

Fri Feb 27 15:31:55 1998  Tim Janik  <timj@gimp.org>

        * gtk/gtktipsquery.c: we make an active server grab now, this way we
        can change the cursor globally and don't need to tweak event masks
        of other windows.

        * gtk/gtkframe.c (gtk_frame_style_set): recompute label size.

        * gtk/gtkwidget.h:
        * gtk/gtkwidget.c:
        New signal GtkWidget::style_set to be emitted when a widget's style
        changed. New flag GTK_RC_STYLE to indicate whether an rc lookup has
        been perfomed for the widget.
        (gtk_widget_ensure_style): New function.
        (gtk_widget_set_rc_style): New function.

        * docs/styles.txt: new file.

26 years agoFilling in the gaps.
Owen Taylor [Fri, 27 Feb 1998 16:17:07 +0000 (16:17 +0000)]
Filling in the gaps.
                                        -owt

26 years agogtk/gtktext.c
Owen Taylor [Fri, 27 Feb 1998 06:13:22 +0000 (06:13 +0000)]
gtk/gtktext.c

Fri Feb 27 01:11:55 1998  Owen Taylor  <owt1@cornell.edu>

* gtk/gtktext.c

- gtk_text_delete and gtk_text_insert now update caches
and refresh screen correctly if the text widget isn't frozen.

- Fixed bug where text->first_line_start_index wasn't
being updated correctly on insertion and deletion.

- Added new public macro GTK_TEXT_INDEX (text, ind), and
function gtk_text_get_chars(text, index, nchars);

Thu Feb 26 22:36:46 1998  Owen Taylor  <owt1@cornell.edu>

* gtk/gtkhandlebox.c (gtk_handle_box_realize): Use MWM hints
to undecorate window.

* gtk/testgtk.c gtk/circles.xbm: new test for WM hints.

26 years agonew functions for setting WM hints
Owen Taylor [Fri, 27 Feb 1998 03:55:33 +0000 (03:55 +0000)]
new functions for setting WM hints

Thu Feb 26 22:36:46 1998  Owen Taylor  <owt1@cornell.edu>

* gdk/gdkwindow.c gdktypes.c gdk.h:
new functions for setting WM hints

 gdk_window_set_icon()
 gdk_window_set_icon_name()
 gdk_window_set_group()
 gdk_window_set_decorations()
 gdk_window_set_functions()

* gdk/MwmUtil.h: new uninstalled header file from lesstif
distribution, used for setting MWM hints.

* gdk/gdkdnd.c Makefile.am: renamed from gdk/gdk_dnd.c

26 years agoD&D now lets you use shaped windows for drags. As usual, see testgtk.c... Now finish...
Elliot Lee [Thu, 26 Feb 1998 21:28:00 +0000 (21:28 +0000)]
D&D now lets you use shaped windows for drags. As usual, see testgtk.c... Now finish GnomeMC, miguel :)

26 years agoreserv a signal slot for GtkWidget::style_set.
Tim Janik [Thu, 26 Feb 1998 01:48:28 +0000 (01:48 +0000)]
reserv a signal slot for GtkWidget::style_set.
added GTK_STYLE_SET flag.
-timj

26 years agonew widget from Lars Hamann <hamann@braunschweig.netsurf.de> and Stefan
Tim Janik [Wed, 25 Feb 1998 22:03:10 +0000 (22:03 +0000)]
new widget from Lars Hamann <hamann@braunschweig.netsurf.de> and Stefan

Wed Feb 25 22:56:42 1998  Tim Janik  <timj@gimp.org>

        * gtk/gtkspinbutton.h:
        * gtk/gtkspinbutton.c:
        new widget from Lars Hamann <hamann@braunschweig.netsurf.de> and
        Stefan Jeske <jeske@braunschweig.netsurf.de>.

        * gtk/gtknotebook.c: fixups from lars and stefan.

26 years agologged change
Owen Taylor [Wed, 25 Feb 1998 20:41:37 +0000 (20:41 +0000)]
logged change

26 years agoMove layout constants into an enumeration, split GTK_BUTTONBOX_DEFAULT
Owen Taylor [Wed, 25 Feb 1998 18:36:39 +0000 (18:36 +0000)]
Move layout constants into an enumeration, split GTK_BUTTONBOX_DEFAULT

Wed Feb 25 13:18:53 1998  Owen Taylor  <owt1@cornell.edu>

* gtk/gtkbbox.[ch] gtk/gtkhbox.[ch] gtk/gtkvbox.[ch] :

Move layout constants into an enumeration, split
GTK_BUTTONBOX_DEFAULT into GTK_BUTTONBOX_DEFAULT
and GTK_BUTTONBOX_DEFAULT_STYLE (enumeration member).

* gtk/gtkclist.c:

Renamed gtk_clist_row_isvisable to .._is_visible

From: Maciej Stachowiak <mstachow@mit.edu>

26 years agoadded questions on: - Why don't the contents of a button move when the
Tony Gale [Wed, 25 Feb 1998 13:58:52 +0000 (13:58 +0000)]
added questions on: - Why don't the contents of a button move when the

        * docs/gtkfaq.sgml: added questions on:
                - Why don't the contents of a button move when
                  the button is pressed?
                - How do I catch a double click event in
                  a list widget?
                - When compiling GTK+ I get an error like:
                  make: file `Makefile' line 456: Syntax error
          Removed questions on menus which are covered in the
          tutorial.

          Added link to HTML versions of FAQ and Tutorial on my
          web site.

  -Tony

26 years agoOne more...
Owen Taylor [Wed, 25 Feb 1998 04:40:31 +0000 (04:40 +0000)]
One more...

26 years agoAdded some support for i18n. The support for input methods, including
Owen Taylor [Wed, 25 Feb 1998 03:51:04 +0000 (03:51 +0000)]
Added some support for i18n. The support for input methods, including

Tue Feb 24 22:47:01 1998  Owen Taylor  <owt1@cornell.edu>

* gtk/gtktext.c: Added some support for i18n. The support
for input methods, including preedit, is there, but input
is ignored unless it comes one byte at a time, so the
CJK locales won't really work. Fixing that would require
variable-width character support in the Text widget, which
is probably the wrong approach. Eventually we'll probably
want to go to UCS-4 internally.

Also, revised key press handling, which should improve
the forwarding of non-handled keypresses to the toplevel,
and make adding selection handling easier.

* gtk/gtkentry.c: Minor changes so that C-d, etc delete
the selection if there is one.

26 years agoCheck the result of XGetICValues - it is failing for some reason, and
Owen Taylor [Wed, 25 Feb 1998 03:43:10 +0000 (03:43 +0000)]
Check the result of XGetICValues - it is failing for some reason, and

Tue Feb 24 22:44:01 1998  Owen Taylor  <owt1@cornell.edu>

* gdk/gdk.c (gdk_ic_get_events): Check the result of
XGetICValues - it is failing for some reason, and
causing some warnings to be printed.

26 years agonothing special ;) -timj
Tim Janik [Wed, 25 Feb 1998 01:51:18 +0000 (01:51 +0000)]
nothing special ;) -timj

nothing special ;)
-timj

26 years agofixed some bugs in the resizing code (it was leaking
Tim Janik [Tue, 24 Feb 1998 13:57:03 +0000 (13:57 +0000)]
fixed some bugs in the resizing code (it was leaking
GTK_RESIZE_NEEDED flags).
-timj

26 years agoDon't process configure events that just move the window, and don't resize
Owen Taylor [Mon, 23 Feb 1998 20:54:07 +0000 (20:54 +0000)]
Don't process configure events that just move the window, and don't resize

Mon Feb 23 15:41:13 1998  Owen Taylor  <owt1@cornell.edu>

* gtk/gtkwidget.c gtk/gtkmenu.c: Don't process configure events
that just move the window, and don't resize it. Because we need
to make sure that a widget gets redrawn after a size_allocate -
and that only happens when the configure event changes the size
of the window. Plus, it's inefficient.

26 years agoAdded gtk_toolbar_*_element() functions. Rewrote others
rhlabs [Mon, 23 Feb 1998 20:48:46 +0000 (20:48 +0000)]
Added gtk_toolbar_*_element() functions.  Rewrote others
to simply call gtk_toolbar_insert_element() to do the work.

Added two new GtkToolbarChildType options: TOGGLEBUTTON and
RADIOBUTTON, available through the gtk_toolbar_*_element() functions.

-Marc

26 years agoFixes to GtkTree, courtesy of Erik Troan <ewt@redhat.com>
Elliot Lee [Mon, 23 Feb 1998 18:14:47 +0000 (18:14 +0000)]
Fixes to GtkTree, courtesy of Erik Troan <ewt@redhat.com>

26 years agoimplemented the statusbar widget. my first intend was to fix the code, but
Tim Janik [Mon, 23 Feb 1998 15:13:03 +0000 (15:13 +0000)]
implemented the statusbar widget. my first intend was to fix the code, but

Mon Feb 23 13:44:10 1998  Tim Janik  <timj@gimp.org>

        * gtk/gtkstatusbar.h:
        * gtk/gtkstatusbar.c:
        (re-)implemented the statusbar widget. my first intend was to fix the
        code, but then there was nothing to fix - the whole thing was just a
        big JOKE!
        people who don't even know the semantics of the g_list_* functions
        shouldn't put their hands on widget code and inheritance!

this is the first step to get bug "BUG: statusbar/hbox (redraw?) problem"
worked out, i have to leave now, but will continue work on the resizing code
this evening.

26 years agoTODO updates (major ones ;).
Tim Janik [Mon, 23 Feb 1998 11:14:27 +0000 (11:14 +0000)]
TODO updates (major ones ;).
have the send_event field in all GdkEvents.
gtkmenu.c, gtkacceleratortable.c, gtkwindow.c: unreference accelerator_table.
gtk_object_query_args: removed seq_ids again, must have been quite tired
when i commited that change ;)
gtkoptionmenu.c: assure GTK_BIN()->child is empty when reparenting
a menu_items child.
gtkwindow.c: fixed some memory leaks.

-timj

26 years agoAllow gtk_clist_insert() to work on empty lists.
rhlabs [Mon, 23 Feb 1998 01:50:22 +0000 (01:50 +0000)]
Allow gtk_clist_insert() to work on empty lists.

-Marc

26 years agoCount idle handlers at internal priority as pending events.
Owen Taylor [Sun, 22 Feb 1998 19:26:46 +0000 (19:26 +0000)]
Count idle handlers at internal priority as pending events.

Sun Feb 22 14:28:43 1998  Owen Taylor  <owt1@cornell.edu>

* gtk/gtkmain.c (gtk_events_pending): Count idle handlers
at internal priority as pending events.

26 years agodon't perform gdk operations on size allocation
Tim Janik [Sun, 22 Feb 1998 12:16:01 +0000 (12:16 +0000)]
don't perform gdk operations on size allocation
if the notebook isn't realized.
yosh: this fixes the iwarp problem.
-timj

26 years agoFixed URL and improved description for gsumi.
Owen Taylor [Sun, 22 Feb 1998 03:12:05 +0000 (03:12 +0000)]
Fixed URL and improved description for gsumi.

26 years agorenamed signal GtkWidget::set_parent to GtkWidget::parent_set. since it's
Tim Janik [Sun, 22 Feb 1998 02:18:29 +0000 (02:18 +0000)]
renamed signal GtkWidget::set_parent to GtkWidget::parent_set. since it's

Sat Feb 21 15:33:20 1998  Tim Janik  <timj@gimp.org>

        * gtk/gtkwidget.h:
        * gtk/gtkwidget.c: renamed signal GtkWidget::set_parent to
        GtkWidget::parent_set. since it's purpose is pure notification,
        it should have been named this way in the first place.

26 years agofixed a bug for mode GDK_CC_MODE_TRUE, when on a 24-bit visual on a 32-bit
MET 1998 Eckehard Berns [Sat, 21 Feb 1998 23:25:34 +0000 (23:25 +0000)]
fixed a bug for mode GDK_CC_MODE_TRUE, when on a 24-bit visual on a 32-bit

Sun Feb 22 00:20:12 MET 1998  Eckehard Berns  <eb@berns.prima.de>

* gdk/gdkcc.c (gdk_color_context_query_colors): fixed a bug for mode
GDK_CC_MODE_TRUE, when on a 24-bit visual on a 32-bit mashine.

26 years agoAdded a NULL test in gtk_entry_set_text. (Fielded a report on #gimp
scott [Sat, 21 Feb 1998 17:12:15 +0000 (17:12 +0000)]
Added a NULL test in gtk_entry_set_text.  (Fielded a report on #gimp
that a NULL argument caused a core dump.)
--sg

26 years agogtk_object_query_args takes an additional pointer now which if supplied
Tim Janik [Sat, 21 Feb 1998 14:11:40 +0000 (14:11 +0000)]
gtk_object_query_args takes an additional pointer now which if supplied

Sat Feb 21 14:49:17 1998  Tim Janik  <timj@gimp.org>

        * gtk/gtkobject.h:
        * gtk/gtkobject.c: gtk_object_query_args takes an additional pointer
        now which if supplied will point to an array holding the sequential
        argument ids.

        * gtk/gtktree.c: fix emission of selection_changed signal, supplied
        by Bolliet Jerome.

        * gtk/gtktreeitem.c: inline the plus and minus pixmaps, supplied by
        Bolliet Jerome.

        * gtk/gtknotebook.c: do a resize when a page is removed and don't
        refer to the removed page on the switch signal, supplied by Lars Hamann
        and Stefan Jeske.

        * gtk/gtktoolbar.h:
        * gtk/gtktoolbar.c:
        gtk_toolbar_append_item, gtk_toolbar_prepend_item,
        gtk_toolbar_insert_item, gtk_toolbar_append_widget,
        gtk_toolbar_prepend_widget, gtk_toolbar_insert_widget: take an additional
        gchar *tooltip_private_text as argument to fully support the underlying
        call to gtk_tooltip_set_tip.

(made the ChangeLog catch up with my last commits).

26 years agoadded the sequential argument number to gtk_object_query_args.
Tim Janik [Sat, 21 Feb 1998 13:33:20 +0000 (13:33 +0000)]
added the sequential argument number to gtk_object_query_args.
-timj

26 years agoremoved #define gtk_tooltips_set_tips
Tim Janik [Sat, 21 Feb 1998 04:47:35 +0000 (04:47 +0000)]
removed #define gtk_tooltips_set_tips
-timj

26 years agoapi changes to GtkToolBar to support the private tooltips text also.
Tim Janik [Sat, 21 Feb 1998 04:46:21 +0000 (04:46 +0000)]
api changes to GtkToolBar to support the private tooltips text also.
-guess who ;)

26 years agoVarious FAQ updates, including:
Tony Gale [Fri, 20 Feb 1998 16:46:50 +0000 (16:46 +0000)]
Various FAQ updates, including:
        * added to list of GTK apps
        * added 'do-what-ya-like' permissions notice
        * new GDK section - needs some Q&A's added

  -Tony

26 years agoVarious FAQ updates, including:
Tony Gale [Fri, 20 Feb 1998 10:01:04 +0000 (10:01 +0000)]
Various FAQ updates, including:
* added to list of GTK apps
* added 'do-what-ya-like' permissions notice
* new GDK section - needs some Q&A's added

  -Tony

26 years agoNew widget GtkTipsQuery for letting the user query tooltips of widgets.
Tim Janik [Fri, 20 Feb 1998 05:46:48 +0000 (05:46 +0000)]
New widget GtkTipsQuery for letting the user query tooltips of widgets.

Fri Feb 20 06:40:00 1998  Tim Janik  <timj@gimp.org>

        * gtk/gtktipsquery.h:
        * gtk/gtktipsquery.c:
        New widget GtkTipsQuery for letting the user query tooltips of widgets.

        * gtk/testgtk.c: add example for GtkTipsQuery.

        * gtk/gtk.h: include gtk/gtktipsquery.h.

        * gtk/gtklabel.c: enable default constructing.

26 years agomoved widget creation to gtk_clist_construct for the gtk-- folks.
Jay Painter [Fri, 20 Feb 1998 05:29:03 +0000 (05:29 +0000)]
moved widget creation to gtk_clist_construct for the gtk-- folks.

26 years agoremoved g_warnings from the common XShm failure cases in gdkimage.c
Larry Ewing [Fri, 20 Feb 1998 00:59:45 +0000 (00:59 +0000)]
removed g_warnings from the common XShm failure cases in gdkimage.c

Thu Feb 19 18:53:51 1998  Larry Ewing  <lewing@discord.isc.tamu.edu>

* removed g_warnings from the common XShm failure cases in gdkimage.c

26 years agoAdded M-p and M-n key equivalents for up and down keys. Just for us Emacs
Federico Mena Quintero [Thu, 19 Feb 1998 20:22:51 +0000 (20:22 +0000)]
Added M-p and M-n key equivalents for up and down keys. Just for us Emacs

1998-02-19  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gtk/gtkcombo.c (gtk_combo_entry_key_press): Added M-p and M-n
key equivalents for up and down keys.  Just for us Emacs weenies :-)

26 years agoMinor cleanups.
Owen Taylor [Thu, 19 Feb 1998 18:14:11 +0000 (18:14 +0000)]
Minor cleanups.

26 years agoUse POINTER_MOTION_HINT when dragging shapes around. (gtk-wille-980203-0
Owen Taylor [Thu, 19 Feb 1998 18:06:29 +0000 (18:06 +0000)]
Use POINTER_MOTION_HINT when dragging shapes around. (gtk-wille-980203-0

Thu Feb 19 12:18:24 1998  Owen Taylor  <owt1@cornell.edu>

* gtk/testgtk.c : Use POINTER_MOTION_HINT when dragging
shapes around.
(gtk-wille-980203-0
 Stefan Wille  <1wille@vsys1.informatik.uni-hamburg.de>)

* gtk/gtktext.c : Fixes to inserting and deleting characters
on line breaks.
(gtk-magnus-980210-0 Magnus Hulthen <magnus@axiom.se>)

26 years agothe value of ---enable_debug is written into glibconfig.h so everything is
Owen Taylor [Thu, 19 Feb 1998 18:02:03 +0000 (18:02 +0000)]
the value of ---enable_debug is written into glibconfig.h so everything is

Thu Feb 19 12:18:24 1998  Owen Taylor  <owt1@cornell.edu>

* glib/configure.in glib/glibconfig.h.in: the value of
---enable_debug is written into glibconfig.h so everything
is recompiled when it changes. (HACK)

* gtk/gtkmain.c gdk/gdk.c docs/debugging.txt:
Added --gdk-no-debug and --gtk-no-debug switches. Effect
of switches is no cumulative.

26 years agoAdded Josh Macdonald's description of the Text widget's internals.
Owen Taylor [Thu, 19 Feb 1998 17:34:50 +0000 (17:34 +0000)]
Added Josh Macdonald's description of the Text widget's internals.

26 years agogdk_get_debug_level doesn't exist anymore
Manish Singh [Thu, 19 Feb 1998 09:14:21 +0000 (09:14 +0000)]
gdk_get_debug_level doesn't exist anymore

-Yosh

26 years agomore debugging fixes.
Tim Janik [Thu, 19 Feb 1998 08:14:03 +0000 (08:14 +0000)]
more debugging fixes.
hey yosh, you beated me at gdk.c ;)
-timj

26 years agoShould compile with debugging off now...
Manish Singh [Thu, 19 Feb 1998 08:07:55 +0000 (08:07 +0000)]
Should compile with debugging off now...

-Yosh

26 years agopresent the argument access masks on their announcement.
Tim Janik [Thu, 19 Feb 1998 07:18:42 +0000 (07:18 +0000)]
present the argument access masks on their announcement.

Thu Feb 19 06:56:52 1998  Tim Janik  <timj@gimp.org>

        * gtkbox.c:
        * gtkbutton.c:
        * gtkcontainer.c:
        * gtkframe.c:
        * gtklabel.c:
        * gtkobject.c:
        * gtkwidget.c:
        * gtkwindow.c:
        present the argument access masks on their announcement.

        * gtk/gtkobject.h:
        * gtk/gtkobject.c:
        (gtk_object_add_arg_type): take an additional argument describing
        the access mask of the new arg. this can be of GTK_ARG_READABLE,
        GTK_ARG_WRITABLE or GTK_ARG_READWRITE (the latter is an alias for
        the two previous ones).
        (gtk_object_query_args): provide an access_mask array if desired.

        * gtk/gtkwidget.c (gtk_widget_real_realize):
        realized the assumtion that widget is a NO_WINDOW widget
        in actuall code.

        * gtkwindow.c:
        slight changes to gtk_window_configure_event that will make
        the resizing behaviour a little less odd.
        sigh, for some (buggy) reason, there are still container resizes
        triggered by manual resizing to very small window sizes.
        the cointainer resizes will cause gtk_real_window_move_resize to
        be invoked, which makes the app look like it wants to fight the users
        resizing action. ;(

26 years agomissed one.
Owen Taylor [Thu, 19 Feb 1998 06:21:49 +0000 (06:21 +0000)]
missed one.

26 years agoconfigure.in gdk/gdk.[ch] gdk/gdkcc.c gdk/gdkglobals.c
Owen Taylor [Thu, 19 Feb 1998 06:21:27 +0000 (06:21 +0000)]
configure.in gdk/gdk.[ch] gdk/gdkcc.c gdk/gdkglobals.c

Thu Feb 19 01:11:48 1998  Owen Taylor  <owt1@cornell.edu>

* configure.in         gdk/gdk.[ch]         gdk/gdkcc.c
  gdk/gdkglobals.c     gdk/gdkinputcommon.h gdk/gdkprivate.h
  gdk/gdkvisual.c      glib/configure.in    glib/glib.h
  glib/gutils.c        gtk/Makefile.am      gtk/gtkmain.c
  gtk/gtkobject.[ch]   gtk/gtkdebug.h       docs/debugging.txt

New system for controlling debugging:

* --enable-debug=[no/yes/minimum]
* G_DISABLE_ASSERT and G_DISABLE_CHECKS for glib
* G_NO_CHECK_CASTS to control cast checking
* G_ENABLE_DEBUG enables run time checking which controls:
    Object tracing
    Showing events
    Miscellaneous g_print's in GDK
  And is controlled by --gdk-debug/GDK_DEBUG, --gtk-debug/GTK_DEBUG
        * debug_level and show_events are gone from GTK

See docs/debugging.txt for details.

And some fixups to the configure.in's so '-g' can be
overriden on the command line for --enable-debug

26 years agoapplied gtk-hamann_jeske-980218-0.patch.gz, a patch from Lars Hamann and
Tim Janik [Thu, 19 Feb 1998 05:13:46 +0000 (05:13 +0000)]
applied gtk-hamann_jeske-980218-0.patch.gz, a patch from Lars Hamann and

Thu Feb 19 05:40:51 1998  Tim Janik  <timj@gimp.org>

        * gtk/gtknotebook.h:
        * gtk/gtknotebook.c:
        applied gtk-hamann_jeske-980218-0.patch.gz, a patch from
        Lars Hamann and Stefan Jeske which introduces major
        usability improvements.
        fixed bugs are:
        - container border_width>0 does now work correctly for show_tabs==TRUE
          and for tab_pos=GTK_POS_BOTTOM/GTK_POS_RIGHT.
        - toggleing visibility of the tab labels works now.
        - emission of GtkNotebook:switch_page and all page changes
        also the signature for the GtkNotebook:switch_page signal changed,
        callbacks should now look like:
        gint notebook_switch_page (GtkWidget *widget,   GtkNotebookPage *page,
                                   gint       page_num, gpointer         data);

26 years agoCList signal revert (right back at you! *ouch*)
Jay Painter [Thu, 19 Feb 1998 02:59:55 +0000 (02:59 +0000)]
CList signal revert (right back at you! *ouch*)

26 years agoA couple of compiler warning fixes, GtkCList signal changes, changed
Jay Painter [Wed, 18 Feb 1998 10:03:54 +0000 (10:03 +0000)]
A couple of compiler warning fixes, GtkCList signal changes, changed
fileselect to work with new CList signals, and enhanced testgtk's clist
example to show pixmaps and signal results. -Jay Painter

26 years agonew signal GtkWidget::set_parent. this signal will be emitted once a
Tim Janik [Wed, 18 Feb 1998 04:09:13 +0000 (04:09 +0000)]
new signal GtkWidget::set_parent. this signal will be emitted once a

Wed Feb 18 04:38:24 1998  Tim Janik  <timj@gimp.org>

        * gtk/gtkwidget.h:
        * gtk/gtkwidget.c:
          new signal GtkWidget::set_parent. this signal will be emitted once a
          widget gets a new/no parent assigned (i.e. from gtk_widget_unparent
          and gtk_widget_set_parent).

26 years agonew functions gtk_tooltips_data_get and gtk_tooltips_set_tip,
Tim Janik [Wed, 18 Feb 1998 02:40:08 +0000 (02:40 +0000)]
new functions gtk_tooltips_data_get and gtk_tooltips_set_tip,

Wed Feb 18 02:58:50 1998  Tim Janik  <timj@gimp.org>

        * gtk/gtktooltips.h:
          new functions gtk_tooltips_data_get and
          gtk_tooltips_set_tip, gtk_tooltips_set_tips is discouraged now.
        (_GtkTooltips): removed some fields that were never used.
          changed boolean fields to one bit size, to pack together with
          the delay field.
        (_GtkTooltipsData): added tip_private, renamed tips_text to
          tip_text.
        * gtk/gtktooltips.c:
          (gtk_tooltips_data_get): new function to retrive the
          _GtkTooltipsData structure of a widget.
        (gtk_tooltips_set_tip): new function for more extensible tooltips
          settings than gtk_tooltips_set_tips which is discuraged now.
          removed a bug that caused a stale object_data key to a
          _GtkTooltipsData structure.
          removed a bug that caused tips falsly to come up for a grab widget
          on widgets where events were grabbed from.

26 years agoAdded some missing newlines on debug messages.
Federico Mena Quintero [Tue, 17 Feb 1998 20:13:43 +0000 (20:13 +0000)]
Added some missing newlines on debug messages.

1998-02-17  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gdk/gdkcc.c: Added some missing newlines on debug messages.

26 years agoMake g_slist_insert_sorted() always insert.
rhlabs [Tue, 17 Feb 1998 18:52:52 +0000 (18:52 +0000)]
Make g_slist_insert_sorted() always insert.

-Marc

26 years agoinvoke gtk_entry_grow_text already in this place, so the application will
Tim Janik [Tue, 17 Feb 1998 08:32:55 +0000 (08:32 +0000)]
invoke gtk_entry_grow_text already in this place, so the application will

Tue Feb 17 05:41:31 1998  Tim Janik  <timj@gimp.org>

        * gtk/gtkentry.c (gtk_entry_init): invoke gtk_entry_grow_text already
          in this place, so the application will never see entry->text==NULL.
          (see also ChangeLog entry from Tue Feb 11 1997 on this).

also i added some blurb about recent changes to the NEWS file,
and updated the TODO.

26 years agoapplied patch to fix draw_indicator behaviour from Lars Hamann and Stefan
Tim Janik [Tue, 17 Feb 1998 06:03:40 +0000 (06:03 +0000)]
applied patch to fix draw_indicator behaviour from Lars Hamann and Stefan

Tue Feb 17 05:41:31 1998  Tim Janik  <timj@gimp.org>

        * gtk/gtkcheckbutton.c:
        * gtk/gtkradiobutton.c:
        * gtk/gtktogglebutton.c:
          applied patch to fix draw_indicator behaviour from Lars Hamann
          and Stefan Jeske.

        * gtk/gtkmain.h:
        * gtk/gtkmain.c (gtk_grab_get_current): new function
          that returns the current grab widget or NULL.

        * gdk/gdkwindow.c (gdk_window_shape_combine_mask): remove
          shape mask if mask==NULL (provided by Stefan Wille).

26 years agoFrom Patrice Fortier <Patrice.Fortier@aquarel.fr>
Owen Taylor [Tue, 17 Feb 1998 05:07:51 +0000 (05:07 +0000)]
From Patrice Fortier <Patrice.Fortier@aquarel.fr>

Tue Feb 17 00:06:26 1998  Owen Taylor  <owt1@cornell.edu>

* gtk/gtkpaned.c, gtk/gtk[hv]paned.c: (gtk-fortier-980215-0)
  From Patrice Fortier <Patrice.Fortier@aquarel.fr>

  Add a widget->window for paned windows, so they
  can be reparented properly.

26 years agoFrom Patrice Fortier <Patrice.Fortier@aquarel.fr>
Owen Taylor [Tue, 17 Feb 1998 04:48:50 +0000 (04:48 +0000)]
From Patrice Fortier <Patrice.Fortier@aquarel.fr>

Mon Feb 16 23:47:09 1998  Owen Taylor  <owt1@cornell.edu>

* gtk/gtkviewport.c: (gtk-fortier-980130-0)
  From Patrice Fortier <Patrice.Fortier@aquarel.fr>

  Eliminate some extra expose events for viewports.
  (To be conservative, I set the user's event mask for
   both widget->window, and viewport->bin_window  -owt)

26 years agoMake timeout and idle insertion code use g_list_insert_sorted().
Owen Taylor [Tue, 17 Feb 1998 04:39:47 +0000 (04:39 +0000)]
Make timeout and idle insertion code use g_list_insert_sorted().

Mon Feb 16 23:12:14 1998  Owen Taylor  <owt1@cornell.edu>

* gtk/gtkmain.c: Make timeout and idle insertion code
  use g_list_insert_sorted().

26 years agoChanged function so elements are always inserted, even if they compare
Owen Taylor [Tue, 17 Feb 1998 04:03:56 +0000 (04:03 +0000)]
Changed function so elements are always inserted, even if they compare

Mon Feb 16 23:05:06 1998  Owen Taylor  <owt1@cornell.edu>

* glist.c (g_list_insert_sorted): Changed function
  so elements are always inserted, even if they compare
  equal with another.

26 years ago\n
Tim Janik [Tue, 17 Feb 1998 02:19:30 +0000 (02:19 +0000)]
\n

26 years agoUse gtk_signal_default_marshaller, for expand/collapse signals.
Owen Taylor [Mon, 16 Feb 1998 22:34:30 +0000 (22:34 +0000)]
Use gtk_signal_default_marshaller, for expand/collapse signals.

Mon Feb 16 17:35:17 1998  Owen Taylor  <owt1@cornell.edu>

* gtk/gtktreeitem.c: Use gtk_signal_default_marshaller,
  for expand/collapse signals.