1. 09 Jun, 1998 4 commits
    • Manish Singh's avatar
      Warning cleanups.. cvsignore stuff · bd1e56dd
      Manish Singh authored
      -Yosh
      bd1e56dd
    • Tim Janik's avatar
      renamed the newly created gtk_enum_get_values and gtk_enum_set_values to · cd34fdd0
      Tim Janik authored
      Tue Jun  9 09:57:09 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtktypeutils.h:
              * gtk/gtktypeutils.c: renamed the newly created gtk_enum_get_values and
              gtk_enum_set_values to gtk_type_enum_get_values and
              gtk_type_enum_set_values respectively, since they are actually type
              system features.
      
              * gtk/gtktypebuiltins_evals.c: oops, screwed the NULL termination with
              my last commit. ;)
      cd34fdd0
    • Tim Janik's avatar
      removed some bogus commas. · b377b2dc
      Tim Janik authored
      b377b2dc
    • Tim Janik's avatar
      new functions gtk_selection_data_copy and gtk_selection_data_free. · a21d063e
      Tim Janik authored
      Tue Jun  9 01:57:23 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkselection.h:
              * gtk/gtkselection.c: new functions gtk_selection_data_copy and
              gtk_selection_data_free.
      
              * gtk/gtkwidget.c (gtk_widget_class_init): fixed gtk_signal_new() call
              for "selection_received", which was completely bogus.
              * other fixups to gtk_signal_new() calls all over the place.
      
              * gtk/gtktypebuiltins.h: types as variables (formerly macros).
              * gtk/gtktypebuiltins_vars.c: type variable implementations.
              * gtk/gtktypebuiltins_ids.c: array entries for builtin type
              declarations.
              * gtk/gtktypebuiltins_evals.c: enum value arrays.
              * gtk/gtk-boxed.defs: gtk and gdk structure definitions, used to build
              gtk.defs.
              * gtk/gtk.defs: generated file with scheme syntax for type definitions
              of gtk and gdk structures and enums.
              * gtk/gtktypeutils.h:
              * gtk/gtktypeutils.c: reworked type ids, so they are variables not
              macros anymore (this fixes binary incompatibility with new enum
              definitions).
      
              * gtk/gtkwidget.c (gtk_widget_real_key_press_event): proccess possible
              key bindings for this widget.
              * gtk/gtkwindow.c (gtk_window_key_press_event): chain parent class'
              handler.
      
              * gtk/gtkobject.h:
              * gtk/gtkobject.c: removed gtk_object_class_new_user_signal_no_recurse()
              again. new functions gtk_object_class_user_signal_new () and
              gtk_object_class_user_signal_newv (), to feature the GtkSignalRunType
              flag on the signal creation.
      Mon Jun  8 20:52:21 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkcontainer.h: new signal GtkContainer::set_focus_child.
      a21d063e
  2. 08 Jun, 1998 3 commits
  3. 07 Jun, 1998 11 commits
    • Manish Singh's avatar
      hrm.. extra #pragma.. · db0c8b15
      Manish Singh authored
      -Yosh
      db0c8b15
    • Manish Singh's avatar
      silly typo · c1665b14
      Manish Singh authored
      -Yosh
      c1665b14
    • Elliot Lee's avatar
      Added g_s?list_find_custom functions to allow user to specify a · a0d3a674
      Elliot Lee authored
      
      
      Added g_s?list_find_custom functions to allow user to specify a
      GCompareFunc to determine whether a node matches or not.
      
      If you have a better idea for naming the functions, please, make it so! :)
      a0d3a674
    • Elliot Lee's avatar
      Allow the user to pass --enable-mem-check and --enable-mem-profile at · 8725269e
      Elliot Lee authored
      
      
      Allow the user to pass --enable-mem-check and --enable-mem-profile at
      compile time.
      8725269e
    • Tim Janik's avatar
      feature check menu items in the compatibility code (this required me to · 8102e79d
      Tim Janik authored
      Sun Jun  7 14:34:31 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkitemfactory.c (gtk_item_factory_create_menu_entries): feature
              check menu items in the compatibility code (this required me to remove
              the "<check>" part from the menu item name, grrr).
      8102e79d
    • Tim Janik's avatar
      further additions to fit the gimp's code. additions to the dumping code to · 50a9ba1f
      Tim Janik authored
      Sun Jun  7 10:53:02 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkitemfactory.h:
              * gtk/gtkitemfactory.c: further additions to fit the gimp's code.
              additions to the dumping code to feature GtkPatternSpec.
              even found a bug to fix in the original code ;)
      50a9ba1f
    • Marius Vollmer's avatar
      New prototypes. New functions. · e47f60d7
      Marius Vollmer authored
      * gdk/gdk.h (gdk_color_copy, gdk_color_free): New prototypes.
      * gdk/gdk.c (gdk_color_copy, gdk_color_free): New functions.
      e47f60d7
    • Marius Vollmer's avatar
      *** empty log message *** · 110dac34
      Marius Vollmer authored
      110dac34
    • Tim Janik's avatar
      support different types of callbacks, to maintain existing code. · 210cb3f5
      Tim Janik authored
      Sun Jun  7 09:36:04 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkitemfactory.h:
              * gtk/gtkitemfactory.c: support different types of callbacks, to
              maintain existing code.
      
      
      ... changes to the item factory to ease support of the gimp's code...
      210cb3f5
    • Tim Janik's avatar
      cd8e439b
    • Tim Janik's avatar
      fixed an assertment. · a391196b
      Tim Janik authored
      Sat Jun  6 06:01:24 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtksignal.c (gtk_signal_emitv): fixed an assertment.
      
              * gtk/makeenums.awk: a script to generate the GtkEnumValue arrays from,
              this should eventually be done by gentypeinfo.el somewhen.
              * gtk/gtkenumvalues.c: new generated file to hold GtkEnumValue arrays.
      
              * gtk/gtktypeutils.h: new function gtk_enum_values() to retrive all the
              enum values of an enum type.
      
              * gtk/gtk.defs:
              * gtk/gtkcurve.h:
              * gtk/gtkobject.h:
              * gtk/gtkprivate.h:
              * gtk/gtkwidget.h:
              * gtk/gtkenums.h:
              brought enum/flags definitions in sync, added a few more enum
              definitions for bindings and pattern matching.
      
              * some more macro and GtkType fixups in various places.
      
              * gdk/gdktypes.h (enum): added a new value GDK_AFTER_MASK, which is used
              as a key-release modifier for the binding system.
      
      Fri Jun  5 06:06:06 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkmenu.h (struct _GtkMenu): removed GList*children, since it
              was a stale list pointer that is already present in GtkMenuShell.
      
              * gtk/gtkmenushell.h (struct _GtkMenuShellClass): added a signal
              GtkMenuShell::selection_done which is emitted after the menu shell
              poped down again and all possible menu items have been activated.
      
      Thu Jun  4 02:20:42 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkmenushell.c (gtk_menu_shell_button_release): flush the x-queue
              before activation of the menuitem, so the menu is actually taken off the
              screen prior to any menu item activation.
      
              * gtk/gtkctree.c (gtk_ctree_get_row_data): allow function invokation
              for NULL nodes.
      
              * gtk/gtkwidget.h:
              * gtk/gtkwidget.c: new function gtk_widget_stop_accelerator to stop
              the emission of the "add-accelerator" signal on a widget. this is
              usefull to prevent accelerator installation on certain widgets.
      
              * gtk/gtknotebook.c (gtk_notebook_menu_item_create): keep the menu
              labels left justified, by setting their alignment. stop accelerator
              installation for the menu items, since we use dynamic menus.
      
      Wed Jun  3 06:41:22 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkmenufactory.c: adaptions to use the new accel groups. people
              should *really* use GtkItemFactory. this is only for preserving source
              compatibility where possible, use of GtkMenuFactory is deprecated as of
              now.
      
              * gtk/gtkobject.h (gtk_object_class_add_user_signal): new function
              to create user signals of type GTK_RUN_NO_RECURSE. don't know why i
              missed this possibility when i added gtk_object_class_add_user_signal
              in late january.
      
              * gtk/gtkmain.c (gtk_init): ignore subsequent function calls.
      
      Sun May 31 07:31:09 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkaccelgroup.h:
              * gtk/gtkaccelgroup.c: new implementation of the accelerator concept.
      
              * gtk/gtkaccellabel.h:
              * gtk/gtkaccellabel.c: new widget derived from GtkLabel whitch features
              display of the accelerators associated with a certain widget.
      
              * gtk/gtkitemfactory.h:
              * gtk/gtkitemfactory.c: new widget, item factory with automatic rc
              parsing and accelerator handling.
      
              * gtk/gtkmenu.c (gtk_menu_reposition): new function to care for
              positioning a menu.
              (gtk_menu_map): removed the allocation code.
              (gtk_menu_size_allocate): care for redrawing of children and resize
              our widget->window correctly.
              (gtk_menu_key_press): feature the new accelerator groups.
      
              * gtk/gtkmenuitem.c (gtk_menu_item_size_allocate): reposition the
              submenu if neccessary.
      
              * gtk/gtkmenuitem.c:
              * gtk/gtkcheckmenuitem.c:
              * gtk/gtkradiomenuitem.c: use GtkAccelLabel in the *_new_with_label()
              function variants.
      
              * gdk/gdk.c:
              (gdk_keyval_from_name):
              (gdk_keyval_name): new functions for keyval<->key-name associations.
              (gdk_keyval_to_upper):
              (gdk_keyval_to_lower):
              (gdk_keyval_is_upper):
              (gdk_keyval_is_lower): new functions to check/translate keyvalues with
              regards to their cases.
      
      Wed May 27 00:48:10 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkwidget.c (gtk_widget_class_path): new function to calculate a
              widget's class path.
              (gtk_widget_path): new function to calculate a widget's name path.
      
              * gtk/gtkrc.c: newly introduced GtkPatternSpec structures to speed up
              pattern matching, features reversed pattern matches.
      a391196b
  4. 06 Jun, 1998 1 commit
  5. 05 Jun, 1998 1 commit
  6. 04 Jun, 1998 2 commits
  7. 02 Jun, 1998 4 commits
  8. 01 Jun, 1998 1 commit
  9. 29 May, 1998 1 commit
    • BST 1998  Tony Gale's avatar
      - new section on Events - change all delete_event callbacks to include a · 79538134
      BST 1998 Tony Gale authored
      Fri May 29 13:53:57 BST 1998  Tony Gale  <gale@gtk.org>
      
              * docs/gtk_tut.sgml:
                - new section on Events
                - change all delete_event callbacks to include
                  a GdkEvent parameter
                - clean up the formatting
      
              * examples - helloworld.c, helloworld2.c, notebook.c,
                packbox.c, pixmap.c, progressbar.c, radiobuttons.c,
                rulers.c, table.c, wheelbarrow.c: change all delete_event
                 callbacks to include a GdkEvent parameter.
      79538134
  10. 27 May, 1998 1 commit
    • Federico Mena Quintero's avatar
      New enumeration for the "mode" field of crossing events. (struct · 99fdc828
      Federico Mena Quintero authored
      1998-05-26  Federico Mena Quintero  <federico@nuclecu.unam.mx>
      
      	* gdk/gdktypes.h (GdkCrossingMode): New enumeration for the "mode"
      	field of crossing events.
      	(struct _GdkEventCrossing): Added the following fields: time, x,
      	y, x_root, y_root, mode, focus, state.
      
      	* gdk/gdk.c (gdk_event_translate): Fill in the new fields of the
      	crossing event structure.
      
      	* gtk/gtkfeatures.h (GDK_HAVE_FULL_CROSSING_EVENT): Annotate
      	changes to the crossing event structure.
      99fdc828
  11. 26 May, 1998 1 commit
  12. 25 May, 1998 1 commit
  13. 24 May, 1998 3 commits
  14. 23 May, 1998 1 commit
    • Owen Taylor's avatar
      Locate child at (border_width,border_width), not · 53d06396
      Owen Taylor authored
      Sat May 23 17:48:58 1998  Owen Taylor  <otaylor@gtk.org>
      
      	* gtk/gtkeventbox.c (gtk_event_box_size_allocate):
              Locate child at (border_width,border_width), not
      	(2*border_width,2*border_width). [ The border is _outside_
      	widget->window ]
      
      	* gdk/gdk.[ch]: added gdk_screen_width_mm/gdk_screen_height_mm
      	  functions. [From: Alexander Larsson <alla@lysator.liu.se> ]
      53d06396
  15. 22 May, 1998 5 commits
    • Arturo Espinosa's avatar
      fdd65dde
    • Miguel de Icaza's avatar
      Define GTK_HAVE_RC_SET_IMAGE_LOADER, to be used in gnome-libs · d0f36682
      Miguel de Icaza authored
      1998-05-22  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* gtk/gtkfeatures.h.in: Define GTK_HAVE_RC_SET_IMAGE_LOADER, to be
      	used in gnome-libs
      d0f36682
    • Elliot Lee's avatar
      Fix size_allocate to pass on to the child even if child isn't visible. · 63596d22
      Elliot Lee authored
      
      
      Fix size_allocate to pass on to the child even if child isn't visible.
      Also locate child at (border_width, border_width) not (0,0)
      63596d22
    • Owen Taylor's avatar
      Changed log · 0e5ab967
      Owen Taylor authored
      0e5ab967
    • Owen Taylor's avatar
      Added style_set handler. · 57985643
      Owen Taylor authored
      Fri May 22 03:02:40 1998  Owen Taylor  <otaylor@gtk.org>
      
      	* gtk/gtkhandlebox.c: Added style_set handler.
      
      Fri May 22 02:55:57 1998  Owen Taylor  <otaylor@gtk.org>
       [ From: Chris Lahey  <clahey@umich.edu> ]
      
      	* gtk/gtkeditable.c, gtk/gtkeditable.h,
      	  gtk/gtktext.c, gtk/gtkentry.c: Added get_position,
      	  and set_position functions to get and set the cursor position.
      
              * gtk/gtkeditable.c: Restored "insert_text" and "delete_text" to
      	  signal status. Make GtkText do user-controlled insertion
      	  and deletion through the Editable widget so that these
      	  signals are properly emitted.
      
      	* gtk/gtkentry.c: Changed gtk_entry_set_visibility to
      	  display asterisks instead of empty space when visible = FALSE)
      57985643