1. 03 Jul, 1998 10 commits
  2. 01 Jul, 1998 3 commits
  3. 30 Jun, 1998 5 commits
    • Tim Janik's avatar
      minor updates. · 79e1b1ab
      Tim Janik authored
      79e1b1ab
    • Tim Janik's avatar
      fixed lookup order for rc styles. the latest defined rc set pattern is · 10184125
      Tim Janik authored
      Tue Jun 30 14:30:37 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkrc.c: fixed lookup order for rc styles. the latest defined
              rc set pattern is favoured, this is needed for overriding of style
              patterns with subsequently parsed rc files.
      10184125
    • Tim Janik's avatar
      code overhaul for simplicity and more descriptive error messages. · b483ca4b
      Tim Janik authored
      Tue Jun 30 12:45:19 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkrc.c: code overhaul for simplicity and more descriptive
              error messages.
      b483ca4b
    • Tim Janik's avatar
      ok, this enables the possibility for key-release bindings. · 80b0b3ea
      Tim Janik authored
      but nearly no widget really cares to set GDK_KEY_RELEASE_MASK,
      which needs to be enabled in order for release bindings to work.
      
      Tue Jun 30 09:24:40 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkaccelgroup.c (gtk_accelerator_parse): parse "<Release>"
              modifier as well.
              (gtk_accelerator_name): add "<Release>" to the accelerator name if
              neccessary.
      
              * gtk/gtkbindings.c (BINDING_MOD_MASK): take BINDING_MOD_MASK into
              account.
      
              * gtk/gtkwidget.c (gtk_widget_real_key_release_event): implemented
              default handler for key-release events, which checks for activation
              of GDK_RELEASE_MASK key bindings.
      
              * gdk/gdktypes.h (enum): added GDK_RELEASE_MASK to GdkModifierType.
      80b0b3ea
    • Tim Janik's avatar
      implemented default handler for key-release events, which checks for · bf44f089
      Tim Janik authored
      Tue Jun 30 09:24:40 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkwidget.c (gtk_widget_real_key_release_event): implemented
              default handler for key-release events, which checks for activation
              of GDK_RELEASE_MASK key bindings.
      
              * gdk/gdktypes.h (enum): added GDK_RELEASE_MASK to GdkModifierType.
      bf44f089
  4. 29 Jun, 1998 2 commits
  5. 28 Jun, 1998 5 commits
    • Tim Janik's avatar
      GtkType and macro fixups. · 09423315
      Tim Janik authored
      Sun Jun 28 11:39:17 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkalignment.h:
              * gtk/gtkbin.h: GtkType and macro fixups.
      
              * gtk/gtkalignment.c (gtk_alignment_class_init): widget argument
              implementation: GtkAlignment::xalign, GtkAlignment::yalign,
              GtkAlignment::xscale, GtkAlignment::yscale.
      09423315
    • Tim Janik's avatar
      call the base class init fucntions from all parent types upon class · e63d08e4
      Tim Janik authored
      Sun Jun 28 04:29:10 1998  Tim Janik  <timj@gtk.org>
      
      	* gtk/gtktypeutils.c (gtk_type_class_init): call the base class init
      	fucntions from all parent types upon class initialization.
      
      	* gtk/gtkcontainer.c:
       	(gtk_container_get_type): announce gtk_container_base_class_init to
       	the type system.
      	(gtk_container_base_class_init): new function to feature base class
      	initialization.
      	(gtk_container_get_child_arg):
      	(gtk_container_set_child_arg): call the GtkContainerClass get_child_arg
      	and set_child_arg methods of the class indicated through the argument
      	name.
      
      	* gtk/gtkobject.c:
      	(gtk_object_base_class_init): new function to feature base class
       	initialization.
      	(gtk_object_init_type): announce gtk_object_base_class_init to the type
      	system.
      	(gtk_object_class_init): setup the get_arg and set_arg pointers for
      	GtkObjectClass.
      	(gtk_object_setv):
       	(gtk_object_getv): call the GtkObjectClass get_arg and set_arg methods,
       	instead of bothering the type system with this.
      
      	* gtk/gtkaccellabel.c:
      	* gtk/gtkbutton.c:
      	* gtk/gtkradiobutton.c:
      	* gtk/gtktable.c:
      	* gtk/gtktogglebutton.c:
      	* gtk/gtktipsquery.c:
      	* gtk/gtkbox.c:
      	* gtk/gtkpacker.c:
      	* gtk/gtkwidget.c:
      	* gtk/gtkwindow.c:
      	* gtk/gtkframe.c:
      	* gtk/gtkmisc.c:
      	* gtk/gtklabel.c: set the object_class->{g|s}et_arg pointers to the
      	corresponding gtk_*_{g|s]et_arg functions and updated the gtk_*_get_type
      	functions wrt GtkTypeInfo initialization. changed a lot of the set/get
      	arg functions to take a GtkObject argument.
      
      	gtk/gtkadjustment.c:
      	gtk/gtkalignment.c:
      	gtk/gtkarrow.c:
      	gtk/gtkaspectframe.c:
      	gtk/gtkbbox.c:
      	gtk/gtkbin.c:
      	gtk/gtkcheckbutton.c:
      	gtk/gtkcheckmenuitem.c:
      	gtk/gtkclist.c:
      	gtk/gtkcolorsel.c:
      	gtk/gtkcombo.c:
      	gtk/gtkctree.c:
      	gtk/gtkcurve.c:
      	gtk/gtkdata.c:
      	gtk/gtkdialog.c:
      	gtk/gtkdrawingarea.c:
      	gtk/gtkeditable.c:
      	gtk/gtkentry.c:
      	gtk/gtkeventbox.c:
      	gtk/gtkfilesel.c:
      	gtk/gtkfixed.c:
      	gtk/gtkfontsel.c:
      	gtk/gtkgamma.c:
      	gtk/gtkhandlebox.c:
      	gtk/gtkhbbox.c:
      	gtk/gtkhbox.c:
      	gtk/gtkhpaned.c:
      	gtk/gtkhruler.c:
      	gtk/gtkhscale.c:
      	gtk/gtkhscrollbar.c:
      	gtk/gtkhseparator.c:
      	gtk/gtkimage.c:
      	gtk/gtkinputdialog.c:
      	gtk/gtkitem.c:
      	gtk/gtkitemfactory.c:
      	gtk/gtklist.c:
      	gtk/gtklistitem.c:
      	gtk/gtkmenu.c:
      	gtk/gtkmenubar.c:
      	gtk/gtkmenuitem.c:
      	gtk/gtkmenushell.c:
      	gtk/gtknotebook.c:
      	gtk/gtkoptionmenu.c:
      	gtk/gtkpaned.c:
      	gtk/gtkpixmap.c:
      	gtk/gtkpreview.c:
      	gtk/gtkprogressbar.c:
      	gtk/gtkradiomenuitem.c:
      	gtk/gtkrange.c:
      	gtk/gtkruler.c:
      	gtk/gtkscale.c:
      	gtk/gtkscrollbar.c:
      	gtk/gtkscrolledwindow.c:
      	gtk/gtkseparator.c:
      	gtk/gtkspinbutton.c:
      	gtk/gtkstatusbar.c:
      	gtk/gtktext.c:
      	gtk/gtktoolbar.c:
      	gtk/gtktooltips.c:
      	gtk/gtktree.c:
      	gtk/gtktreeitem.c:
      	gtk/gtkvbbox.c:
      	gtk/gtkvbox.c:
      	gtk/gtkviewport.c:
      	gtk/gtkvpaned.c:
      	gtk/gtkvruler.c:
      	gtk/gtkvscale.c:
      	gtk/gtkvscrollbar.c:
      	gtk/gtkvseparator.c: updated the GtkTypeInfo initialization code to
      	match the modified GtkTypeInfo structure.
      e63d08e4
    • Manish Singh's avatar
      ChangeLog fun · e07f8bfc
      Manish Singh authored
      -Yosh
      e07f8bfc
    • Manish Singh's avatar
      use rand() instead of random() for portability · 4b7bbd44
      Manish Singh authored
      -Yosh
      4b7bbd44
    • Manish Singh's avatar
      use native Xlib XConvertCase if it's available · 28c70890
      Manish Singh authored
      -Yosh
      28c70890
  6. 27 Jun, 1998 1 commit
  7. 25 Jun, 1998 3 commits
  8. 24 Jun, 1998 6 commits
    • Tim Janik's avatar
      do not avoid to queue for a resize if the container is not visible, we · faa14347
      Tim Janik authored
      Wed Jun 24 16:38:02 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkbin.c (gtk_bin_remove): do not avoid to queue for a resize
              if the container is not visible, we might be a toplevel! this holds
              for all other base container implementations as well, that are
              candidates to derive toplevels from. in general the resizing code will
              care about visibility itself.
              * gtk/gtkmenushell.c (gtk_menu_shell_remove): likewise.
              * gtk/gtkbox.c (gtk_box_remove): likewise.
      
              * gtk/gtkwindow.c (gtk_window_move_resize): save ->use_uposition around
              gtk_window_set_hints(), since we haven't calculated the new position
              yet.
      
              * gdk/gdkwindow.c (gdk_window_get_pointer): take care that *x, *y and
              *mask are alway initialized in a sane way, regardless of the return
              value.
      faa14347
    • Tim Janik's avatar
      changelog entry · 11f55887
      Tim Janik authored
      11f55887
    • Tim Janik's avatar
      new function gtk_container_child_arg_set, similar to · 9860caa5
      Tim Janik authored
      Wed Jun 24 14:14:32 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkcontainer.c: new function gtk_container_child_arg_set, similar
              to gtk_container_child_arg_setv, but takes a variable argument list.
              new function gtk_container_get_child_arg_type, which is needed by
              gtk_object_collect_args.
      
              * gtk/gtkobject.c: changed prototype for gtk_object_collect_args, to
              take a function pointer to figure the argument type.
              adapted callers to pass gtk_object_get_arg_type.
              * gtk/gtkwidget.c: adapted gtk_object_collect_args callers to pass
              gtk_object_get_arg_type..
      
              * gtk/gtkpacker.h:
              * gtk/gtkpacker.c:
              (gtk_packer_reorder_child): new function to change the packing order
              of a child.
              (gtk_packer_size_request):
              (gtk_packer_size_allocate): take container->border_width into acount.
      
              * gtk/gtkpacker.c: implemented widget arguments:
              "GtkPacker::spacing", "GtkPacker::border_width", "GtkPacker::pad_x",
              "GtkPacker::pad_y", "GtkPacker::ipad_x", "GtkPacker::ipad_y".
              implemented child arguments:
              "GtkPacker::side", "GtkPacker::anchor", "GtkPacker::expand",
              "GtkPacker::fill_x", "GtkPacker::fill_y", "GtkPacker::use_default",
              "GtkPacker::border_width", "GtkPacker::pad_x", "GtkPacker::pad_y",
              "GtkPacker::ipad_x", "GtkPacker::ipad_y", "GtkPacker::position".
      
              * gtk/gtkmisc.c (gtk_misc_set_arg): for padding args, set the padding,
              not the alignment.
      
              * gtk/gtkeventbox.h:
              * gtk/gtkeventbox.c: GtkType and macro fixups.
      
              * gtk/testgtk.c (entry_toggle_sensitive): new function to toggle
              sensitivity of an entry.
      
              * gtk/gtkstyle.c (gtk_style_new): support normal grey as default color
              for insensitive base.
      
              * gtk/gtkentry.c (gtk_entry_realize): set the window backgrounds
              widget state dependent.
              (gtk_entry_style_set): likewise.
              (gtk_entry_state_changed): set background color on state changes.
              (gtk_entry_draw_text): for non selected text, use state dependent
              colors.
      
              * gtk/gtktogglebutton.c: support for widget arguments
              "GtkToggleButton::active" and "GtkToggleButton::draw_indicator".
      9860caa5
    • Stefan Jeske's avatar
      Added compatibility code for 1.0.x-like parameters. Changed internal · 14bd8cf9
      Stefan Jeske authored
      * gtk/gtkspinbutton.c (gtk_spin_button_spin): Added compatibility
      code for 1.0.x-like parameters. Changed internal interface of
      gtk_spin_button_real_spin. Several fixes to avoid emission of
      "value_changed" where possible.
      14bd8cf9
    • Tim Janik's avatar
      added a frame with radio buttons to select the resize_mode for the · dbce6083
      Tim Janik authored
      Wed Jun 24 07:47:29 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/testgtk.c (create_idle_test): added a frame with radio buttons
              to select the resize_mode for the idle-labels container.
      
              * gtk/gtkframe.h:
              * gtk/gtkframe.c: GtkType and macro corrections.
      
              * gtk/gtkradiobutton.c (gtk_radio_button_set_arg): new function to
              support radio grouping.
      
      Tue Jun 23 08:01:09 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkcontainer.c (gtk_container_set_resize_mode): queue a resize
              unconditionally if resize_mode has changed.
      
              * gtk/gtkscrolledwindow.c (gtk_scrolled_window_init): set
              GTK_RESIZE_QUEUE on the scrolled window.
              (gtk_scrolled_window_construct): set GTK_RESIZE_PARENT for the vieport.
      
      Tue Jun 23 04:20:30 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkcontainer.h:
              * gtk/gtkcontainer.c:
              (GTK_IS_RESIZE_CONTAINER): new macro to find out if
              a given gtkobject is a container with resize_mode==GTK_RESIZE_PARENT.
              (gtk_container_queue_resize): new function to queue a container for
              a *size* reallocation (doesn't affect its position, and thus its
              parent is left untouched usually).
              (gtk_container_get_resize_container): new function to retrive the next
              most resize container which is not itself queued for a resize.
              (gtk_container_idle_sizer): new function to carefully process the
              container_resize_queue since it can change during invokation of
              gtk_container_check_resize().
              (gtk_container_resize_children): total rework of this function to
              properly handle resize containers. makes a lot of assumptions whitch
              are stated in the comments.
      
              * gtk/gtkcontainer.c:
              (gtk_container_real_check_resize): only requeue ourselves if we are not
              a resize container.
              (gtk_container_clear_resize_widgets): care for automatic deletion of our
              resize_widgets list on size_allocate through a handler connection.
      
              * gtk/gtkwindow.c (gtk_window_shutdown): new functionm to reset the
              focus and default widget of a window, so to take the burden from
              gtk_widget_unparent.
      
              * gtk/gtkviewport.c: removed gtk_viewport_check_resize, which tried
              to be clever, but actually messed up the resize_children logic and
              caused unneccessary allocations on its whole branch. besides this,
              it messed up the display by not invoking a redraw after the allocation.
      
              * gtk/gtktable.c (gtk_table_set_child_arg): reverted recent change, so
              that it is the child again that is queued for a resize.
              (gtk_table_attach): likewise.
              (gtk_table_remove): likewise.
      dbce6083
    • Manish Singh's avatar
      s/GkWidget/GtkWidget/ · 00362c03
      Manish Singh authored
      -Yosh
      00362c03
  9. 23 Jun, 1998 2 commits
  10. 22 Jun, 1998 2 commits
  11. 21 Jun, 1998 1 commit
    • Raja R Harinath's avatar
      Remove $(srcdir) from, and clean up, the dependencies. Generate to · e14c6c1d
      Raja R Harinath authored
      1998-06-21  Raja R Harinath  <harinath@cs.umn.edu>
      
      	* gtk/Makefile.am (gtk.defs,gtktypebuiltins*): Remove $(srcdir)
      	from, and clean up, the dependencies.  Generate to intermediate
      	files to prevent problems with Ctrl-C.
      
      	* gtk/genmarshal.pl: Generate `gtkmarshal.[ch]' in $srcdir.
      
      Also commit readable/indented gtkmarshal.[ch].
      e14c6c1d