]> Pileus Git - ~andy/gtk/log
~andy/gtk
26 years agoAdded a new mechanism for GTK-dependent programs to find out about the
Owen Taylor [Thu, 12 Mar 1998 23:23:43 +0000 (23:23 +0000)]
Added a new mechanism for GTK-dependent programs to find out about the

Thu Mar 12 18:01:03 1998  Owen Taylor  <owt1@cornell.edu>

* gtk.m4 gtk-config.in Makefile.am configure.in:
  Added a new mechanism for GTK-dependent programs to
  find out about the installed GTK. (Does not remove
  any current functionality)

* gtk+-xconfig.in: Was no longer used for anything.

26 years agoyeah, yeah, i broke this file with my last commit unintentionally.
Tim Janik [Thu, 12 Mar 1998 22:13:54 +0000 (22:13 +0000)]
yeah, yeah, i broke this file with my last commit unintentionally.
-timj

26 years agoreturn TRUE for GtkWidget::delete_event to avoid destruction of our float
Tim Janik [Thu, 12 Mar 1998 21:54:39 +0000 (21:54 +0000)]
return TRUE for GtkWidget::delete_event to avoid destruction of our float

Thu Mar 12 20:17:47 1998  Tim Janik  <timj@gimp.org>

        * gtk/gtkhandlebox.c (gtk_handle_box_delete_float): return TRUE for
        GtkWidget::delete_event to avoid destruction of our float window.

        * gtk/gtkmain.c (gtk_main_iteration_do): GDK_DELETE will destroy a
        widget if the last handler returned FALSE or there was none connected.

        * gtk/testgtk.c: adapted all delete_event/destroy case that were affected.

        * gtk/gtkwidget.c (gtk_widget_delete_hides): new function that will hide
        a widget and return TRUE to avoid window deletion if
        connected to GtkWIdget::delete_event.

26 years agoChanged name of GTK to the GIMP Toolkit
PST 1998 Shawn T. Amundson [Thu, 12 Mar 1998 19:53:51 +0000 (19:53 +0000)]
Changed name of GTK to the GIMP Toolkit

Thu Mar 12 11:51:33 PST 1998 Shawn T. Amundson <amundson@gimp.org>

        * docs/gtk.texi: Changed name of GTK to the GIMP Toolkit

26 years agonew_pixmap wasn't using its filename argument. Add descriptions
Russell Nelson [Thu, 12 Mar 1998 18:57:46 +0000 (18:57 +0000)]
new_pixmap wasn't using its filename argument. Add descriptions

Wed Mar 11 22:52:57 1998  Russell Nelson <nelson@crynwr.com>

* gtk/gtktest.c: new_pixmap wasn't using its filename argument.
* docs/gtk.texi: Add descriptions

26 years agoMake gcc give printf format warnings for g_string_sprintf() and other
Elliot Lee [Thu, 12 Mar 1998 18:28:49 +0000 (18:28 +0000)]
Make gcc give printf format warnings for g_string_sprintf() and other

Make gcc give printf format warnings for g_string_sprintf() and other
vararg printf functions.

26 years agoI just remembered this commit failed before because
PST 1998 Shawn T. Amundson [Thu, 12 Mar 1998 18:23:11 +0000 (18:23 +0000)]
I just remembered this commit failed before because
of problems with the cvs server... connection timed out.

Wed Mar 11 14:36:48 PST 1998 Shawn T. Amundson <amundson@gimp.org>

        * gtk/docs/: added tutorial, changed some files around to
          make more sense.

26 years agochanged handler tags to be of type guint, reflecting the internal tag
Tim Janik [Thu, 12 Mar 1998 18:00:45 +0000 (18:00 +0000)]
changed handler tags to be of type guint, reflecting the internal tag

Thu Mar 12 10:49:38 1998  Tim Janik  <timj@gimp.org>

        * gtk/gtkmain.h:
        * gtk/gtkmain.c: changed handler tags to be of type guint, reflecting
        the internal tag handling.

        * gtk/gtkcurve.h: macro fixups.

26 years agofetch the inintial value of attributes.event_mask from
Tim Janik [Thu, 12 Mar 1998 09:14:03 +0000 (09:14 +0000)]
fetch the inintial value of attributes.event_mask from

Thu Mar 12 08:55:34 1998  Tim Janik  <timj@gimp.org>

        * gtkitem.c:
        * gtktree.c:
        * gtklist.c: fetch the inintial value of attributes.event_mask from
        gtk_widget_get_events (widget) (pointed out by Damon Chaplin
        <DAChaplin@email.msn.com>).

26 years agoapplied gtk-shige-980311-0.patch.gz, which removes the erronerous
Tim Janik [Thu, 12 Mar 1998 07:28:41 +0000 (07:28 +0000)]
applied gtk-shige-980311-0.patch.gz, which removes the erronerous

Thu Mar 12 07:43:33 1998  Tim Janik  <timj@gimp.org>

        * gdk/gdk.h:
        * gdk/gdkvisual.c: applied gtk-shige-980311-0.patch.gz, which removes
        the erronerous gdk_query_visuals() function in favour of
        gdk_list_visuals() which does a correct job.

        * gtk/gtkcontainer.h: applied gtk-draco-980311-0.patch.gz which fixes
        a class cast check.

        * gtk/gtkspinbutton.c: applied gtk-hamann_jeske-980312-0.patch.gz about
        '+' sign acceptance.

        * gtk/gtknotebook.c: applied gtk-hamann_jeske-980311-1.patch.gz which
        cares about delayed tab label creation.

26 years agoBug fixes/improvements to the motion event eating for Dnd
Elliot Lee [Wed, 11 Mar 1998 23:12:25 +0000 (23:12 +0000)]
Bug fixes/improvements to the motion event eating for Dnd

26 years agoVarious minor cleanups related to -W
Owen Taylor [Wed, 11 Mar 1998 22:49:40 +0000 (22:49 +0000)]
Various minor cleanups related to -W

Tue Mar 10 23:02:42 1998  Owen Taylor  <owt1@cornell.edu>

* gdk/gdkdnd.c gtk/gtkclist.c gtk/gtksignal.c gtk/testgtk.c:
  Various minor cleanups related to -W

26 years ago<raster@redhat.com>
rhlabs [Wed, 11 Mar 1998 22:35:32 +0000 (22:35 +0000)]
<raster@redhat.com>

<raster@redhat.com>

fixed motiong drag to remove lag - ie no lagging of icons behind mouse when
doing DND. :)

26 years ago<raster@redhat.com>
rhlabs [Wed, 11 Mar 1998 22:24:54 +0000 (22:24 +0000)]
<raster@redhat.com>

<raster@redhat.com>

added bolleean to gdk_window_xid_at_coords for excluding children fo
excluded windows

26 years agoI did a topdir/ChangeLog entry, why should I put anything in here? :)
Elliot Lee [Wed, 11 Mar 1998 21:55:06 +0000 (21:55 +0000)]
I did a topdir/ChangeLog entry, why should I put anything in here? :)

26 years ago<raster@redhat.com>
rhlabs [Wed, 11 Mar 1998 21:44:22 +0000 (21:44 +0000)]
<raster@redhat.com>

<raster@redhat.com>

final fixes to STUPId comparison of types of loop end - i missed the
unsigned bit! i will NEVEr use unsigned ints ever again!

26 years agoFixed file selector
Jay Painter [Wed, 11 Mar 1998 07:59:46 +0000 (07:59 +0000)]
Fixed file selector

26 years agoapplied gtk-hamann_jeske-980311-0.patch.gz.
Tim Janik [Wed, 11 Mar 1998 06:11:52 +0000 (06:11 +0000)]
applied gtk-hamann_jeske-980311-0.patch.gz.

Wed Mar 11 07:10:11 1998  Tim Janik  <timj@gimp.org>

        * gtk/gtkspinbutton.h:
        * gtk/gtkspinbutton.c: applied gtk-hamann_jeske-980311-0.patch.gz.

26 years agoapplied gtk-bolliet-980310-0.patch.gz which adds more checks and
Tim Janik [Wed, 11 Mar 1998 04:05:15 +0000 (04:05 +0000)]
applied gtk-bolliet-980310-0.patch.gz which adds more checks and

Wed Mar 11 04:35:06 1998  Tim Janik  <timj@gimp.org>

        * gtk/gtklist.c:
        * gtk/gtktree.h:
        * gtk/gtktree.c:
        * gtk/gtktreeitem.h:
        * gtk/gtktreeitem.c: applied gtk-bolliet-980310-0.patch.gz which adds
        more checks and implements gtk_tree_clear_items. made a bunch of style
        and indentation fixes.

26 years agocode and structure clean ups. fixed the tooltips flickering bug.
Tim Janik [Wed, 11 Mar 1998 02:41:15 +0000 (02:41 +0000)]
code and structure clean ups. fixed the tooltips flickering bug.

Wed Mar 11 03:35:17 1998  Tim Janik  <timj@gimp.org>

        * gtk/gtktooltips.h:
        * gtk/gtktooltips.c: code and structure clean ups. fixed the
        tooltips flickering bug.

26 years agoChain to the parent finalize handler. (from: "Mattias.Gronlund"
Owen Taylor [Wed, 11 Mar 1998 00:59:33 +0000 (00:59 +0000)]
Chain to the parent finalize handler. (from: "Mattias.Gronlund"

Tue Mar 10 19:55:13 1998  Owen Taylor  <owt1@cornell.edu>

* gtk/gtkscrolledwindow.c (gtk_scrolled_window_finalize):
  Chain to the parent finalize handler.
          (from: "Mattias.Gronlund" <Mattias.Gronlund@sa.erisoft.se>)

26 years agofile theme_main.c was initially added on branch themes.
rhlabs [Tue, 10 Mar 1998 23:54:34 +0000 (23:54 +0000)]
file theme_main.c was initially added on branch themes.

26 years agofile theme_led_on2.xpm was initially added on branch themes.
rhlabs [Tue, 10 Mar 1998 23:54:33 +0000 (23:54 +0000)]
file theme_led_on2.xpm was initially added on branch themes.

26 years agofile theme_led_on1.xpm was initially added on branch themes.
rhlabs [Tue, 10 Mar 1998 23:54:32 +0000 (23:54 +0000)]
file theme_led_on1.xpm was initially added on branch themes.

26 years agofile theme_led_off2.xpm was initially added on branch themes.
rhlabs [Tue, 10 Mar 1998 23:54:31 +0000 (23:54 +0000)]
file theme_led_off2.xpm was initially added on branch themes.

26 years agofile theme_led_off1.xpm was initially added on branch themes.
rhlabs [Tue, 10 Mar 1998 23:54:30 +0000 (23:54 +0000)]
file theme_led_off1.xpm was initially added on branch themes.

26 years agofile theme_button2.xpm was initially added on branch themes.
rhlabs [Tue, 10 Mar 1998 23:54:29 +0000 (23:54 +0000)]
file theme_button2.xpm was initially added on branch themes.

26 years agofile theme_button.xpm was initially added on branch themes.
rhlabs [Tue, 10 Mar 1998 23:54:28 +0000 (23:54 +0000)]
file theme_button.xpm was initially added on branch themes.

26 years agofile theme_button.c was initially added on branch themes.
rhlabs [Tue, 10 Mar 1998 23:54:26 +0000 (23:54 +0000)]
file theme_button.c was initially added on branch themes.

26 years agofile theme_btn3.xpm was initially added on branch themes.
rhlabs [Tue, 10 Mar 1998 23:54:25 +0000 (23:54 +0000)]
file theme_btn3.xpm was initially added on branch themes.

26 years agofile theme_btn2.xpm was initially added on branch themes.
rhlabs [Tue, 10 Mar 1998 23:54:24 +0000 (23:54 +0000)]
file theme_btn2.xpm was initially added on branch themes.

26 years agofile theme_btn1.xpm was initially added on branch themes.
rhlabs [Tue, 10 Mar 1998 23:54:23 +0000 (23:54 +0000)]
file theme_btn1.xpm was initially added on branch themes.

26 years agofile theme2_main.c was initially added on branch themes.
rhlabs [Tue, 10 Mar 1998 23:54:22 +0000 (23:54 +0000)]
file theme2_main.c was initially added on branch themes.

26 years agofile theme2_button.c was initially added on branch themes.
rhlabs [Tue, 10 Mar 1998 23:54:21 +0000 (23:54 +0000)]
file theme2_button.c was initially added on branch themes.

26 years agofile THEMES.README was initially added on branch themes.
rhlabs [Tue, 10 Mar 1998 23:54:14 +0000 (23:54 +0000)]
file THEMES.README was initially added on branch themes.

26 years agofile COMPILE_THEME2 was initially added on branch themes.
rhlabs [Tue, 10 Mar 1998 23:54:12 +0000 (23:54 +0000)]
file COMPILE_THEME2 was initially added on branch themes.

26 years agofile COMPILE_THEME was initially added on branch themes.
rhlabs [Tue, 10 Mar 1998 23:54:11 +0000 (23:54 +0000)]
file COMPILE_THEME was initially added on branch themes.

26 years agoAdd gtk_entry_set_max_length()
Elliot Lee [Tue, 10 Mar 1998 23:32:36 +0000 (23:32 +0000)]
Add gtk_entry_set_max_length()

26 years agoremoved a trailing GTK_TYPE_WIDGET for the need_resize signal.
Tim Janik [Tue, 10 Mar 1998 23:04:26 +0000 (23:04 +0000)]
removed a trailing GTK_TYPE_WIDGET for the need_resize signal.
-timj
quartic: this didn't show up in release_1_0 for some reason

26 years agoMerging release_1_0 changes into the main tree.
Owen Taylor [Tue, 10 Mar 1998 22:57:26 +0000 (22:57 +0000)]
Merging release_1_0 changes into the main tree.
-timj

Tue Mar 10 14:24:09 1998  Owen Taylor  <owt1@cornell.edu>

        * gtk/gtkselection.c (gtk_selection_clear): Make the return
          result reflect whether the clear event was out of data.

        * gtk/gtkeditable.c: Ignore out of date selection clear
          events.

        * gtk/gtkentry.c gtk/gtktext.c: Don't synthesize releases
          on [2/3]BUTTON presses, since we get the normal click as well.

          Claim the selection when selecting words/lines.

Tue Mar 10 13:34:29 1998  Owen Taylor  <owt1@cornell.edu>

        * gtk/gtkrange.c (gtk_range_default_[vh]trough_click):
          Take forward/back step arrows into account when computing
          position for middle button clicks.

        * gtk/gtktext.c gtk/gtkentry.c:
          - Fixes for deleting characters (don't subtract guints and get
            negative numbers!)
          - Reset cursor_virtual_x when moving by words and lines
          - Extra sanity checks
          - Fix to gtk_text_get_chars
                 (from Tony Gale <gale@daedalus.dera.gov.uk>)

26 years agoDnD bugfixes (hopefully :). Rasters code is still buggy, methinks - try the dnd in...
Elliot Lee [Tue, 10 Mar 1998 21:57:05 +0000 (21:57 +0000)]
DnD bugfixes (hopefully :). Rasters code is still buggy, methinks - try the dnd in testgtk

26 years agoReplace GXor by GXxor. Seems to have been a typo.
Federico Mena Quintero [Tue, 10 Mar 1998 19:13:50 +0000 (19:13 +0000)]
Replace GXor by GXxor. Seems to have been a typo.

1998-03-10  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gdk/gdkgc.c (gdk_gc_set_function): Replace GXor by GXxor.  Seems
to have been a typo.

26 years ago<raster@redhat.com>
rhlabs [Tue, 10 Mar 1998 06:14:59 +0000 (06:14 +0000)]
<raster@redhat.com>

<raster@redhat.com>

fixed minor buglets in window tree walker.

26 years agoReleased 0.99.5
PST 1998 Shawn T. Amundson [Tue, 10 Mar 1998 06:00:43 +0000 (06:00 +0000)]
Released 0.99.5

Mon Mar  9 21:21:19 PST 1998 Shawn T. Amundson <amundson@gimp.org>

        * Released 0.99.5

26 years agola de da, add back the prototype I just removed -mig, thanks again snorf
Arturo Espinosa [Tue, 10 Mar 1998 05:52:52 +0000 (05:52 +0000)]
la de da, add back the prototype I just removed -mig, thanks again snorf

26 years agoSnorfle, thanks :-) Mon Mar 9 23:24:42 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
Arturo Espinosa [Tue, 10 Mar 1998 05:47:09 +0000 (05:47 +0000)]
Snorfle, thanks :-) Mon Mar  9 23:24:42 1998  Miguel de Icaza  <miguel@nuclecu.unam.mx>

* gtk/gtkclist.c (gtk_clist_get_selection_info): Export
functionality.

26 years agoExport functionality.
Miguel de Icaza [Tue, 10 Mar 1998 05:25:15 +0000 (05:25 +0000)]
Export functionality.

Mon Mar  9 23:24:42 1998  Miguel de Icaza  <miguel@nuclecu.unam.mx>

* gtk/gtkclist.c (gtk_clist_get_selection_info): Export
functionality.

26 years agoglib include -timj
Tim Janik [Tue, 10 Mar 1998 04:55:42 +0000 (04:55 +0000)]
glib include -timj

glib include
-timj

26 years ago0.99.5 bump -timj
Tim Janik [Tue, 10 Mar 1998 04:45:25 +0000 (04:45 +0000)]
0.99.5 bump -timj

0.99.5 bump
-timj

26 years agochanged gtk_range_trough_click() to take an additional jump_perc arg,
Tim Janik [Tue, 10 Mar 1998 04:37:26 +0000 (04:37 +0000)]
changed gtk_range_trough_click() to take an additional jump_perc arg,

Tue Mar 10 05:30:05 1998  Tim Janik  <timj@gimp.org>

        * gtk/gtkrange.h:
                * gtk/gtkrange.c:
                        changed gtk_range_trough_click() to take an additional jump_perc arg,
                                class method and callers changed.

                                Tue Mar 10 05:25:10 1998  Tim Janik  <timj@gimp.org>

                                        * gdk/gdk.c (gdk_ic_destroy): applied gtk-gronlund-980309-1.patch.gz
                                                which fixes a memory leak.

26 years agocommiting changes from owen:
Owen Taylor [Tue, 10 Mar 1998 03:17:02 +0000 (03:17 +0000)]
commiting changes from owen:
Mon Mar  9 20:38:15 1998  Owen Taylor  <owt1@cornell.edu>

        * gtk/gtkentry.c gtk/gtkeditable.c gtk/gtkspinbutton.c:
          Moved "activate" to editable class. Made the vfuncs in
          gtkeditable just vfuncs not signals.

        * gtkentry.[ch] gtktext.[ch]: Made behavior when pressing
          multiple buttons at once more rational.

        * gtkentry.c gtktext.c: Unified and rationalized key
          bindings. (Now are basically emacs+CUA)

        * gtktext.c:
          - Last position now always shares the property of the preceding
            character
          - Freeze the widget when inserting large amounts of text.
          - Selecting lines now selects the _whole_ line.
          - Fixed bug with displaying the cursor
          - Ctrl-Home/End now move the cursor to the _absolute home/end

        * gtkmenuitem.c: Remove necessary code out of a g_return_if_fail

-timj

26 years agoMiguel, try this - I think it should do what you need. Hurry hurry :)
Elliot Lee [Tue, 10 Mar 1998 02:48:02 +0000 (02:48 +0000)]
Miguel, try this - I think it should do what you need. Hurry hurry :)

26 years agoWe now accept the color parameter to be NULL. If it is NULL, it will mark
Federico Mena Quintero [Tue, 10 Mar 1998 02:21:15 +0000 (02:21 +0000)]
We now accept the color parameter to be NULL. If it is NULL, it will mark

1998-03-09  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gtk/gtkclist.c (gtk_clist_set_foreground): We now accept the
color parameter to be NULL.  If it is NULL, it will mark the row
with "color not set", so it will be repainted with the default color.
(gtk_clist_set_background): Likewise.

26 years agoapplied gtk-gronlund-980309-0.patch.gz.
Tim Janik [Tue, 10 Mar 1998 01:07:16 +0000 (01:07 +0000)]
applied gtk-gronlund-980309-0.patch.gz.
-timj

26 years agomade the <widget>_signals[] arrays of type guint rather than gint. made
Tim Janik [Mon, 9 Mar 1998 15:16:28 +0000 (15:16 +0000)]
made the <widget>_signals[] arrays of type guint rather than gint. made

Mon Mar  9 15:48:10 1998  Tim Janik  <timj@gimp.org>

        * Signal signedness and naming corrections, plus GtkType fixes:

        * gtk/gtkadjustment.c:
        * gtk/gtkbutton.c:
        * gtk/gtkcheckmenuitem.c:
        * gtk/gtkclist.c:
        * gtk/gtkcolorsel.c:
        * gtk/gtkcontainer.c:
        * gtk/gtkcurve.c:
        * gtk/gtkdata.c:
        * gtk/gtkeditable.c:
        * gtk/gtkentry.c:
        * gtk/gtkhandlebox.c:
        * gtk/gtkinputdialog.c:
        * gtk/gtkitem.c:
        * gtk/gtklist.c:
        * gtk/gtkmenuitem.c:
        * gtk/gtkmenushell.c:
        * gtk/gtknotebook.c:
        * gtk/gtkstatusbar.c:
        * gtk/gtktoolbar.c:
        * gtk/gtktree.c:
        * gtk/gtktreeitem.c:
        * gtk/gtkwidget.c:
        * gtk/gtktogglebutton.c:
        * gtk/gtkwindow.c:
        made the <widget>_signals[] arrays of type guint rather than gint.
        * gtk/gtkwidget.c (gtk_widget_get_ancestor): made widget_type a GtkType.

        * gtk/gtkcombo.h:
        handler ids need to be of type guint (entry_change_id, list_change_id).

        * gtk/gtkaccelerator.c:
        changed signal_num to signal_id and typed it guint.

        * gtk/gtkmain.c: made gtk_ndebug_keys a guint.

        * gtk/gtkmenu.h:
        * gtk/gtkmenu.c:
        (gtk_menu_popup): made button a guint.
        (gtk_menu_set_active): made index a guint.

        * gtk/gtkmenuitem.h:
        * gtk/gtkmenuitem.c:
        made accelerator_signal a guint.

        * gtk/gtkoptionmenu.h:
        * gtk/gtkoptionmenu.c:
        (gtk_option_menu_set_history): made index a guint.

        * gtk/gtksignal.h:
        * gtk/gtksignal.c:
        * gtk/gtkobject.h:
        * gtk/gtkobject.c: changed a bunch of prototypes to take guints rather
        than gints. also made some conversions from guint to GtkType, left over
        from when the fundamental-types system was introduced.

        * gtk/gtkobject.h:
        * gtk/gtkobject.c: made object_data_id_index and obj_count guints.
        made *signals and nsignals guints in GtkObjectClass.

26 years ago- Use 'diff -ru' for patches - Explained patch application/rejection -
GMT 1998 Tony Gale [Mon, 9 Mar 1998 13:49:02 +0000 (13:49 +0000)]
- Use 'diff -ru' for patches - Explained patch application/rejection -

Mon Mar  9 13:36:53 GMT 1998 Tony Gale  <gale@gimp.org>

        * docs/gtkfaq.sgml:

        - Use 'diff -ru' for patches
        - Explained patch application/rejection
        - Added information on CVS
        - New question on right justified menus with menufactory

        From Nathan:

        - Information on Objective-C bindings
        - Add missing variable in colour example.

26 years agoreverted the changes ian introduced in r1.16 on Mar 06, since they broke
Tim Janik [Mon, 9 Mar 1998 10:54:13 +0000 (10:54 +0000)]
reverted the changes ian introduced in r1.16 on Mar 06, since they broke

Mon Mar  9 11:44:33 1998  Tim Janik  <timj@gimp.org>

        * gtk/gtkfilesel.c (gtk_file_selection_update_history_menu): reverted
        the changes ian introduced in r1.16 on Mar 06, since they broke the
        history menu.

26 years agohehe stupid me, wanted to fix a warning, and borke
Tim Janik [Mon, 9 Mar 1998 07:36:55 +0000 (07:36 +0000)]
hehe stupid me, wanted to fix a warning, and borke
the menus instead...
-timj

26 years agopatch from lars for construct behaviour.
Tim Janik [Mon, 9 Mar 1998 07:18:33 +0000 (07:18 +0000)]
patch from lars for construct behaviour.
-timj

26 years agoNo, you can't add a GtkStyle * to a list of GtkRcNode *. (Fixes huge
Owen Taylor [Mon, 9 Mar 1998 06:07:34 +0000 (06:07 +0000)]
No, you can't add a GtkStyle * to a list of GtkRcNode *. (Fixes huge

Mon Mar  9 01:01:41 1998  Owen Taylor  <owt1@cornell.edu>

* gtk/gtkrc.c: No, you can't add a GtkStyle * to a
  list of GtkRcNode *. (Fixes huge performance problem)
  Plus, don't bother creating a new style unless style
  actually has bg pixmaps.

26 years agoChange has_selection to always be set in claim_selection()
Owen Taylor [Sun, 8 Mar 1998 21:53:56 +0000 (21:53 +0000)]
Change has_selection to always be set in claim_selection()

26 years ago- Show selection correctly when starting selection with arrows
Owen Taylor [Sun, 8 Mar 1998 21:47:14 +0000 (21:47 +0000)]
- Show selection correctly when starting selection with arrows

Sun Mar  8 15:53:33 1998  Owen Taylor  <owt1@cornell.edu>

* gtk/gtktext.c:

- Show selection correctly when starting selection with arrows

- Display pixmap background only when not editable

- Redraw focus area more carefully to prevent flashing (and
  make style of drawing consistent with Entry)

* gtk/gtktreeitem.c: ref colormaps for pixmap by colormap
  storage.

* gtk/gtkrc.c: Store a separate style for each RcStyle for
  each colormap, so we can handle background pixmaps
  correctly, which need to be per-colormap. (Leaks
  colormaps...)

  Parse text color style entries correctly.

* gtk/testgtk.c: insert text without fg color
  gtk/testgtkrc: move "*" after rest, so the other class styles
                 take effect

        * gdk/gdkwindow.c gdk/gdk.c gdk/gdkprivate.h: Send DND events
  safely, in case drop window disappears. (Performance hit
  because XSync()'s are necessary)

* gdk/gdk.h gdk/gdkpixmap.c: Added
  gdk_pixmap_colormap_create_from_xpm[_d] to allow creating
  pixmaps from xpm's before you have a GdkWindow.

26 years agochanged clist->selection GList so its data elements are casted row indexes instead
Jay Painter [Sun, 8 Mar 1998 20:44:01 +0000 (20:44 +0000)]
changed clist->selection GList so its data elements are casted row indexes instead
of pointers.  I also cleaned up a few bugs with GTK_SELECTION_MULTIPLE mode, and some
signal synronization problems with removing selected rows.

26 years ago<raster@redhat.com>
rhlabs [Sun, 8 Mar 1998 12:20:52 +0000 (12:20 +0000)]
<raster@redhat.com>

<raster@redhat.com>

Forgot to add changelog entries... added.

26 years agoremoved gtk_range_calc_value().
Tim Janik [Sun, 8 Mar 1998 12:04:43 +0000 (12:04 +0000)]
removed gtk_range_calc_value().

Sun Mar  8 13:03:22 1998  Tim Janik  <timj@gimp.org>

        * gtk/gtkrange.h: removed gtk_range_calc_value().

26 years agofix a NULL warning. -timj
Tim Janik [Sun, 8 Mar 1998 11:22:26 +0000 (11:22 +0000)]
fix a NULL warning. -timj

fix a NULL warning.
-timj

26 years agotypos and warning fixes.
Tim Janik [Sun, 8 Mar 1998 10:41:48 +0000 (10:41 +0000)]
typos and warning fixes.
-timj

26 years agoapplied a bunch of patches and removed all the printfs that
Tim Janik [Sun, 8 Mar 1998 03:32:05 +0000 (03:32 +0000)]
applied a bunch of patches and removed all the printfs that
raster left over.
-timj

26 years agodefine the version variables in config.h.
Tim Janik [Sun, 8 Mar 1998 02:04:26 +0000 (02:04 +0000)]
define the version variables in config.h.

Sun Mar  8 03:00:17 1998  Tim Janik  <timj@gimp.org>

        * configure.in: define the version variables in config.h.

        * gtk/gtkmain.h:
        * gtk/gtkmain.c: added static version variables.

        * gdk/gdkpixmap.c: fixed memory leaks (gtk-gronlund-980307-1.patch.gz)

26 years agoAdded a new function, gtk_preview_reset(), that can be used (under highly
Owen Taylor [Sun, 8 Mar 1998 00:59:38 +0000 (00:59 +0000)]
Added a new function, gtk_preview_reset(), that can be used (under highly

Sat Mar  7 18:46:57 1998  Owen Taylor  <owt1@cornell.edu>

* gtk/gtkpreview.[ch]: Added a new function, gtk_preview_reset(),
  that can be used (under highly controlled circumstances),
  to change the properties of the preview colormap after
  a preview has already been created and destroyed.

26 years agoregister living objects in a hashtable.
Tim Janik [Sat, 7 Mar 1998 23:20:56 +0000 (23:20 +0000)]
register living objects in a hashtable.

Sun Mar  8 00:18:04 1998  Tim Janik  <timj@gimp.org>

        * gtk/gtkobject.c: register living objects in a hashtable.

26 years agomade the object/class cast checks much more descriptive, based on
Tim Janik [Sat, 7 Mar 1998 20:32:59 +0000 (20:32 +0000)]
made the object/class cast checks much more descriptive, based on

Sat Mar  7 20:20:53 1998  Tim Janik  <timj@gimp.org>

        * gtk/gtkobject.c:
        (gtk_object_check_cast):
        (gtk_object_check_class_cast):
        made the object/class cast checks much more descriptive, based on
        gtk-draco-980305-2.patch.gz and gtk-draco-980306-1.patch.gz but
        optimized for common code path.

        * gtk/gtkpreview.c: added a few extra checks for the visual
        (gtk-draco-980305-0.patch.gz).

        * gdk/gdk.c (gdk_signal): abort() on a signal if G_ENABLE_DEBUG
          is defined, so we dump core (gtk-draco-980305-0.patch.gz).

26 years ago<raster@redhat.com>
rhlabs [Sat, 7 Mar 1998 18:38:18 +0000 (18:38 +0000)]
<raster@redhat.com>

<raster@redhat.com>

added:
Window
gdk_window_xid_at(Window base, gint bx, gint by, gint x, gint y)

for helpful DND support...

26 years agoFixed the vscrollbar flickering problem, by checking the area on expose
Owen Taylor [Sat, 7 Mar 1998 06:14:37 +0000 (06:14 +0000)]
Fixed the vscrollbar flickering problem, by checking the area on expose

Sat Mar  7 01:07:24 1998  Owen Taylor  <owt1@cornell.edu>

* gtk/gtkrange.c (gtk_range_expose): Fixed the vscrollbar
  flickering problem, by checking the area on expose events.
  (There was a hscrollbar flickering problem as well, it
   just wasn't very noticeable)

26 years agoDisallow pasting into non-editable widgets.
Owen Taylor [Sat, 7 Mar 1998 03:05:36 +0000 (03:05 +0000)]
Disallow pasting into non-editable widgets.

Fri Mar  6 21:30:05 1998  Owen Taylor  <owt1@cornell.edu>

* gtk/gtkeditable.c: Disallow pasting into non-editable
  widgets.

* gtk/gtktext.[ch]:

  -Added scrolling when dragging the selection
   paste the top/bottom.

  -Fix some of the problems with displaying the selection
   state before mouse release.

  -Disallow pasting into non-editable widgets

  -Fixed segfault when changing window size

  -Update the cursor correctly when switching between
   editable and non-editable

* testgtk.c: Added a toggle button for editability for
  the text widget.

26 years agoOops,
Shawn Amundson [Fri, 6 Mar 1998 23:19:26 +0000 (23:19 +0000)]
Oops,

I said:
          gtk/gtkwindow.h: check for GDK_ISO_Left_Tab
Should be:
          gtk/gtkwindow.c: check for GDK_ISO_Left_Tab

-Shawn

26 years agoreturn NULL if device is not ready gtk/gtkwindow.h: check for
PST 1998 Shawn T. Amundson [Fri, 6 Mar 1998 23:17:12 +0000 (23:17 +0000)]
return NULL if device is not ready gtk/gtkwindow.h: check for

Fri Mar  6 14:47:33 PST 1998 Shawn T. Amundson <amundson@gimp.org>

        * Applied gtk-matsu-980205-0 (oops, should be 980305)
          gdk/gdkinputcommon.h: return NULL if device is not ready
          gtk/gtkwindow.h: check for GDK_ISO_Left_Tab

26 years agoFix selection bugs (selection was not being modified).
rhlabs [Fri, 6 Mar 1998 18:19:06 +0000 (18:19 +0000)]
Fix selection bugs (selection was not being modified).

-Marc

26 years agoThis commit moves dnd variables around a bit, and has a try at using hints for the...
Elliot Lee [Fri, 6 Mar 1998 05:14:09 +0000 (05:14 +0000)]
This commit moves dnd variables around a bit, and has a try at using hints for the shape dragging (this is for quartic)

26 years agoAdded gtk_file_selection_show_fileop_buttons(GtkFileSelection *fs), and
Ian Main [Fri, 6 Mar 1998 05:03:15 +0000 (05:03 +0000)]
Added gtk_file_selection_show_fileop_buttons(GtkFileSelection *fs), and

Thu Mar  5 20:41:27 1998  Ian Main  <imain@gnu.org>

* gtk/gtkfilesel.c: Added
  gtk_file_selection_show_fileop_buttons(GtkFileSelection *fs), and
  gtk_file_selection_hide_fileop_buttons(GtkFileSelection *fs).
  Changed pulldown to only contain current directory name instead of
  the full path.  Removed Help button (it can now be packed into the
  button_area if desired.

* gtk/gtkfilesel.h: Added GtkWidget *button_area (the fileop
  buttons at the top are packed into this hbox), and GtkWidget
  action_area (hbox below clists) to GtkFileSelection structure.

* gtk/testgtk.c: Changed the filesel example to show off the hiding/
  showing of fileop buttons, and the packing area.

26 years agominor todo updates that i'll hopefully get around at the weekend ;)
Tim Janik [Fri, 6 Mar 1998 01:56:02 +0000 (01:56 +0000)]
minor todo updates that i'll hopefully get around at the weekend ;)
-timj

26 years ago[Ummm, maybe we should do the same change to the selection_owner variable?]
Federico Mena Quintero [Fri, 6 Mar 1998 00:39:11 +0000 (00:39 +0000)]
[Ummm, maybe we should do the same change to the selection_owner variable?]

1998-03-05  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gdk/gdkprivate.h: Changed the name of default_filters to
gdk_default_filters to avoid namespace pollution.  Yes, it just
happened to me.
* gdk/gdk.c (gdk_event_translate):
* gdk/gdkglobals.c:
* gdk/gdkwindow.c (gdk_window_add_filter gdk_window_remove_filter): Likewise.

26 years ago(select row) Emit UNselect of rows that aren't selected.
rhlabs [Thu, 5 Mar 1998 17:33:34 +0000 (17:33 +0000)]
(select row) Emit UNselect of rows that aren't selected.

-Marc

26 years agoSingnals -> GTK_RUN_FIRST; api select/unselect function now always do what they say...
Jay Painter [Thu, 5 Mar 1998 09:34:36 +0000 (09:34 +0000)]
Singnals -> GTK_RUN_FIRST; api select/unselect function now always do what they say. -Jay

26 years agoOld stuff that didn't get commited. (owt)
Owen Taylor [Thu, 5 Mar 1998 06:46:41 +0000 (06:46 +0000)]
Old stuff that didn't get commited. (owt)

* gtk/gtkinputdialog.h (struct _GtkInputDialogClass):
  removed 'gpointer data' arguments from default handler
  structures.

* gtk/gtktreeitem.[ch]: Keep track of separate +/- pixmaps
  for each colormap, removed the idle hack.

* testglib.c: Remove trailing ; after functions

 ----------------------------------------------------------------------

26 years agoUnset allocation on unparent, to force reallocation if we get adding back
Owen Taylor [Thu, 5 Mar 1998 06:32:42 +0000 (06:32 +0000)]
Unset allocation on unparent, to force reallocation if we get adding back

Thu Mar  5 01:22:06 1998  Owen Taylor  <owt1@cornell.edu>

* gtk/gtkwidget.c (gtk_widget_unparent): Unset allocation
  on unparent, to force reallocation if we get adding back
  to a new parent which is already size-allocated.

* gtk/gtktreeitem.c: Keep track of separate +/- pixmaps
  for each colormap, removed the idle hack.

* gdk/gdk.c: Don't warn when unable to open XIM method,
  since X11R5 apparently has no default method.

* gtk/gtkwidget.c (gtk_widget_set_style_internal): Don't
  call size_request on initial emission - since the
  widget size isn't set yet, it can't change.

* gtk/Makefile.am: New rules 'test' and 'test-debug' to run
  testgtk with the correct working directory.

* gtk/gtkentry.c (gtk_move_forward_word):
  Check for position at end of line.

* gtk/gtkinputdialog.h (struct _GtkInputDialogClass):
  removed 'gpointer data' arguments from default handler
  structures.

26 years agoDrags can only be started with the left button.
Miguel de Icaza [Thu, 5 Mar 1998 02:01:47 +0000 (02:01 +0000)]
Drags can only be started with the left button.

Wed Mar  4 20:06:47 1998  Miguel de Icaza  <miguel@nuclecu.unam.mx>

* gdk/gdk.c (gdk_event_translate): Drags can only be started with
the left button.

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