1. 24 Mar, 1998 8 commits
  2. 23 Mar, 1998 7 commits
  3. 22 Mar, 1998 3 commits
    • Owen Taylor's avatar
      fixes to locale checks · 16aa9c19
      Owen Taylor authored
      Sun Mar 22 16:25:46 1998  Owen Taylor  <owt1@cornell.edu>
      
      	* gtk/gtkmain.c (gtk_init): fixes to locale checks
      
      	* gtk/testgtk.c (create_dnd): Create the dnd icons separately
      	  to avoid strange interactions with shapes demo.
      
      	* gtk/gtkentry.[ch]:
      	  - Limit the length of the text to 2048 to prevent long delays
      	  - Fix problems with buffer overruns
      	  - Draw only the onscreen portion of the text to prevent wrapping
      	    of shorts in the X drawing code.
      	  - Keep track of character positions and x-offsets to speed
      	    up algorithms.
      16aa9c19
    • CST 1998 Shawn T. Amundson's avatar
      use button_box for buttons · ac05ab30
      CST 1998 Shawn T. Amundson authored
      Sun Mar 22 11:37:51 CST 1998 Shawn T. Amundson <amundson@gtk.org>
      
              * gtk/gtkcolorsel.c:
              * gtk/gtkfilesel.c: use button_box for buttons
      ac05ab30
    • Owen Taylor's avatar
      Don't respond to drops when grab is in effect. (workaround) · 8cff9d33
      Owen Taylor authored
      Sat Mar 21 19:07:01 1998  Owen Taylor  <owt1@cornell.edu>
      
      	* gtk/testgtk.c (dnd_drop): Don't respond to drops when
      	  grab is in effect. (workaround)
      
      	* gdk/gdkfont.c (gdk_fontset_load): More details on
      	  error messages.
      
      	* gdk/gdk.c: Translate va_list to XVaNestedList instead
      	  of just casting it.
      
      	* gtk/gtkmain.c: Make temporary copy of string returned by
      	  setlocale, since it may be changed by subsequent calls.
      8cff9d33
  4. 21 Mar, 1998 3 commits
    • Tim Janik's avatar
      major overhaul of the code, fixed all known bugs (hopefully ;). · 995d97b0
      Tim Janik authored
      Sat Mar 21 22:54:31 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkhandlebox.h:
              * gtk/gtkhandlebox.c: major overhaul of the code, fixed all
              known bugs (hopefully ;).
      
      Sat Mar 20 15:33:17 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkwidget.c (gtk_widget_real_show): queue the resize for the
              parent.
      
      Thu Mar 19 02:00:50 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkwidget.c (gtk_widget_unrealize): unset flags after emission,
              especially GTK_MAPPED, since that might not have been taken care of
              by an UNMAP emission.
      995d97b0
    • CET 1998 Paolo Molaro's avatar
      gtk/gtkcombo.[ch] "activate" signal can be disabled now · a7960ed9
      CET 1998 Paolo Molaro authored
      
      Sat Mar 21 10:39:02 CET 1998 Paolo Molaro <lupus@debian.org>
      
      	* gtk/gtkcombo.[ch] "activate" signal can be disabled now
      a7960ed9
    • Radek Doulik's avatar
      changed packing in toolbar elements, so texts are always at the bottom · 0328873b
      Radek Doulik authored
      Fri Mar 20 20:49:33 1998  Radek Doulik  <rodo@aquarius>
      
              * gtk/gtktoolbar.c (gtk_toolbar_insert_element): changed packing
              in toolbar elements, so texts are always at the bottom
      0328873b
  5. 19 Mar, 1998 1 commit
  6. 18 Mar, 1998 4 commits
    • Tim Janik's avatar
      perform the neccessary checks on funtion begin. use the scrolled_window · 3c03a678
      Tim Janik authored
      Thu Mar 19 00:37:44 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkscrolledwindow.c (gtk_scrolled_window_construct): perform the
                      neccessary checks on funtion begin. use the scrolled_window that got
                              passed to this function, and not a new one.
      3c03a678
    • Owen Taylor's avatar
      ( From: James Henstridge <james@daa.com.au> ) · f9739e83
      Owen Taylor authored
      Wed Mar 18 11:09:10 1998  Owen Taylor  <owt1@cornell.edu>
      	( From: James Henstridge <james@daa.com.au> )
      
      	* gtk/gtkclist.c: Don't remove, then destroy labels in
      	  gtk_clist_set_column_[*], just remove them.
      
      	* gtk/gtkmain.c (gtk_invoke_timeout_function): call
      	  marshal when appropriate, not function.
      
      Tue Mar 17 14:15:07 1998  Owen Taylor  <owt1@cornell.edu>
      
      	* gtk/testgtk.c (create_main_window): Alphabetize tests
      
      	* gtk/gtk[hv]paned.c: Change division on resize if
      	  necessary to keep handle visible.
      
      	* gtk/gtkgamma.c gtk/gtkcurve.c: Moved initialization into
      	  _init() functions.
      
      	* gtk/gtkscrolledwindow.c: Added missing _construct()
      	  functions.
      f9739e83
    • CET 1998	Paolo Molaro's avatar
      checked in gtk_entry_set_max_length (it truncates the texts if it's · 85d4cd0f
      CET 1998 Paolo Molaro authored
      
      Wed Mar 18 17:38:25 CET 1998	Paolo Molaro <lupus@debian.org>
      
      	* gtk/gtkentry.[ch]: checked in gtk_entry_set_max_length
      	(it truncates the texts if it's longer, now)
      85d4cd0f
    • Tim Janik's avatar
      use the resize queue. · e648c2d6
      Tim Janik authored
      Wed Mar 18 02:06:52 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkcontainer.c (gtk_container_border_width): use the resize queue.
      
                      * gtk/gtkwindow.c (gtk_window_set_arg): gtk_window_set_hints() after
                              setting certain arguments, so they actually take affect.
                                      (gtk_window_set_policy): likewise.
      e648c2d6
  7. 17 Mar, 1998 7 commits
    • Radek Doulik's avatar
      test if clist->title_window exists before showing it, · b141619b
      Radek Doulik authored
      Wed Mar 18 01:07:11 1998  Radek Doulik  <rodo@aquarius>
      
      	* gtk/gtkclist.c (gtk_clist_column_titles_show): test if
      	clist->title_window exists before showing it,
      	gtk_clist_column_titles_hide also fixed
      b141619b
    • Tim Janik's avatar
      return real boolean values not just numbers. · 3f04c019
      Tim Janik authored
      Tue Mar 17 22:45:39 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkwidget.c (gtk_widget_get_arg): return real boolean values
                      not just numbers.
      
                              * gtk/gtktogglebutton.c (gtk_toggle_button_set_state): check
                                      state for != 0, otherwise we get strange results.
      3f04c019
    • Elliot Lee's avatar
      Make Gtk compile: Fix GTK_NOTE definition for no debugging, and make... · df0b05ef
      Elliot Lee authored
      Make Gtk compile: Fix GTK_NOTE definition for no debugging, and make gtk_use_mb defined whether or not debugging is enabled
      df0b05ef
    • Owen Taylor's avatar
      Try to guess if we can use the mb* functions safely. (For glibc, they do · 70b3b3e6
      Owen Taylor authored
      Tue Mar 17 01:55:00 1998  Owen Taylor  <owt1@cornell.edu>
      
      	* gtk/gtkmain.c gtk/gtkentry.c: Try to guess if we can
      	  use the mb* functions safely. (For glibc, they do
      	  UTF-8). Heuristic is (X_LOCALE && locale != C/POSIX)
      	  || (mblen("\xc0", MB_CUR_MAX) == 1).
      
      	(From: "Richard Lloyd" <rkl@csc.liv.ac.uk>)
      
      	* gdk/gdk.c (gdk_ic_get_attr): Use an intermediate
      	  variable to avoid taking the address of the result
      	  of va_arg.
      
      	* gtk/gtkentry.c gtk/gtkeditable.c gtkobject.c
      	  gtk/testselection.c: signedness fixups
      
      	* gtk/gtkcontainer.c: Fixed implicit cast between
      	  gpointer and func pointer by changing.
      
      	* gtk/gtkcombo.c, gtk/gtkentry.c, gtk/gtktext.c:
      	  static void forward declaration vs. void actual fixed
      
      	* gtk/testgtk.c: Limit total number of tree items to 10,000
      70b3b3e6
    • Tim Janik's avatar
      changed some debugging messages to be prefixed by "Gdk:". · a783d668
      Tim Janik authored
      Tue Mar 17 16:19:47 1998  Tim Janik  <timj@gimp.org>
      
              * gdk/gdk.c:
                      * gdk/gdkvisual.c: changed some debugging messages to be prefixed
                              by "Gdk:".
      
                                      * gtk/gtkwidget.c (gtk_widget_real_draw): applied
                                              gtk-shige-980317-0.patch.gz to set all event fields, but modified
                                                      the event.send_event field to be set to TRUE, since the event is not
                                                              really comming from the server.
      
                                                                      * gtk/gtkwindow.c (gtk_window_init): applied gtk-ograf-980317-1.patch.gz
                                                                              which cares about an initial setting of program name and program class.
      
                                                                                      * gdk/gdk.c (gdk_init): applied gtk-ograf-980317-0.patch.gz, which
                                                                                              strips leading pathnames from gdk_progname.
      a783d668
    • Tim Janik's avatar
      fixed a bug about drawing GTK_ARROW_LEFT, correction from Damon Chaplin · a6e2c24b
      Tim Janik authored
      Tue Mar 17 12:36:35 1998  Tim Janik  <timj@gimp.org>
      
              * gtk/gtkstyle.c (gtk_default_draw_arrow): fixed a bug about drawing
                      GTK_ARROW_LEFT, correction from Damon Chaplin <DAChaplin@email.msn.com>.
      a6e2c24b
    • Tim Janik's avatar
      exported gtk_spin_button_spin since it is used in testgtk, and besides · 077b5109
      Tim Janik authored
      Tue Mar 17 03:56:13 1998  Tim Janik  <timj@gimp.org>
      
              * gtk/gtkspinbutton.h: exported gtk_spin_button_spin since it is
                      used in testgtk, and besides that.
      
                              * gtk/testgtk.c: created a new "test" cursors, which showes different
                                      types of GdkCursors and is a very simple example at using the drawing
                                              area.
      
                                              Tue Mar 17 03:56:13 1998  Tim Janik  <timj@gimp.org>
      
                                                      * gtk/gtkspinbutton.h: exported gtk_spin_button_spin since it is
                                                              used in testgtk, and besides that.
      
                                                                      * gtk/testgtk.c: created a new "test" cursors, which showes different
                                                                              types of GdkCursors and is a very simple example at using the drawing
                                                                                      area.
      077b5109
  8. 16 Mar, 1998 1 commit
    • Owen Taylor's avatar
      Added trailing newline, hopefully will fix the problem with esac · 27c086bd
      Owen Taylor authored
      Mon Mar 16 01:33:36 1998  Owen Taylor  <owt1@cornell.edu>
      
      	* gtk-config.in: Added trailing newline, hopefully will
      	  fix the problem with esac disappearing.
      
      	* gtk/Makefile.am (test-debug): Improved test targets
      	  will work with --enable-shared
          	    [From:  Raja R Harinath  <harinath@cs.umn.edu>]
      
        	* gtk.m4: Not all shells understand $(...).  Use `...` instead.
          	    [From:  Raja R Harinath  <harinath@cs.umn.edu>]
      	- use AM_PATH_PROG instead of AM_CHECK_PROG, so the user
      	  can specify programs not in their path.
      
      	* Makefile.am: added gtk.m4 to EXTRA_DIST
      27c086bd
  9. 15 Mar, 1998 6 commits
    • Tim Janik's avatar
      removed GRAB_EXCLUSIVE again, just disable modal event delivery for · c91f2c0c
      Tim Janik authored
      Sun Mar 15 23:44:10 1998  Tim Janik  <timj@gimp.org>
      
              * gtk/gtkwidget.h:
                      * gtk/gtkmenushell.c:
                              * gtk/gtkmenu.c:
                                      * gtk/gtkmain.c: removed GRAB_EXCLUSIVE again, just disable modal
                                              event delivery for insensitive children.
      c91f2c0c
    • Tim Janik's avatar
      for now reverted the last change, since it broke click-select-click menus · 0ac28d23
      Tim Janik authored
      Sun Mar 15 22:44:33 1998  Tim Janik  <timj@gimp.org>
      
              * gtk/gtkmenushell.c (gtk_menu_shell_button_release): for now reverted
                      the last change, since it broke click-select-click menus for gimp.
      0ac28d23
    • Tim Janik's avatar
      removed the ugly check whether we need gtk_widget_destroy or · 16c6ee03
      Tim Janik authored
      Sun Mar 15 20:13:42 1998  Tim Janik  <timj@gimp.org>
      
              * gtk/gtkmain.c (gtk_quit_destructor): removed the ugly check whether
                      we need gtk_widget_destroy or gtk_object_destroy. these functions are
                              by no means allowed to act differently!
      
                                      * gtk/gtkmisc.c (gtk_misc_set_alignment): check for _DRAWABLE instead
                                              of _VISIBLE to operate on widget->window.
                                                      (gtk_misc_set_padding): likewise.
      
                                                              * gtk/gtkwidget.c: slightly reordered object arguments.
      
                                                                      * gtk/gtkobject.c (gtk_object_setv):
                                                                              * gtk/gtkobject.c (gtk_object_getv):
                                                                                      operator `!' has precedence over `&'.
      16c6ee03
    • Tim Janik's avatar
      notebook fix from lars. · eac28852
      Tim Janik authored
      -timj
      eac28852
    • Tim Janik's avatar
      added new flag GTK_EXCLUSIVE_GRAB. allow exclusive grabs. · f87ee7e5
      Tim Janik authored
      Sun Mar 15 13:25:28 1998  Tim Janik  <timj@gimp.org>
      
              * gtk/gtkwidget.h: added new flag GTK_EXCLUSIVE_GRAB.
                      * gtk/gtkmain.c: allow exclusive grabs.
      
                              * gtk/gtkmenu.c: grab exclusively.
                                      * gtk/gtkmenushell.c: grab exclusively.
      
                                              * gtk/gtkmenushell.c: don't activate insensitive menu items when
                                                      in click-selects mode.
      
                                                              * gtk/gtkmenushell.c (gtk_menu_shell_enter_notify): activate submenus
                                                                      on popup.
      
                                                                              * gtk/gtkmenushell.c (gtk_menu_shell_button_release): don't take
                                                                                      *additional* button presses into account.
      
                                                                                              * gtk/gtkmenushell.c (gtk_menu_shell_button_press): don't take
                                                                                                      foreign button releases into account.
      
      
      oh boy, please check this out people, hope i covered all cases.
      f87ee7e5
    • Tim Janik's avatar
      changed run type of GtkTipsQuery::widget_entered to GTK_RUN_LAST, so it · 9ce0cb60
      Tim Janik authored
      Sun Mar 15 08:27:06 1998  Tim Janik  <timj@gimp.org>
      
              * gtk/gtktipsquery.c (gtk_tips_query_set_labels): changed run type
                      of GtkTipsQuery::widget_entered to GTK_RUN_LAST, so it can be overidden
                              by the user.
      9ce0cb60