1. 10 Jun, 1998 9 commits
    • Owen Taylor's avatar
      glib/* Moved to glib module · 7086e475
      Owen Taylor authored
      Wed Jun 10 19:36:35 1998  Owen Taylor  <otaylor@gtk.org>
      
      	* glib/* Moved to glib module
      
      	* INSTALL Makefile.am acconfig.h autogen.sh configure.in
      	  gtk-config.in gtk.m4 gdk/Makefile.am gtk/Makefile.am
      
      	  configuration changes for the above:
      
      	  - Use AM_PATH_GLIB by default to find glib; also accept
      	    a --with-glib option for using an uninstalled glib.
      
      	  - Put --enable-debug information into config.h so
      	    that we rebuild when it changes. (was in glibconfig.h)
      7086e475
    • Lars Hamann's avatar
      adapted clist pixmap clipping · 6b61461a
      Lars Hamann authored
              * gtk/gtkctree.c (draw_row): adapted clist pixmap clipping
      
              * gtk/gtknotebook.h (struct _GtkNotebookClass):
              * gtk/gtknotebook.c (gtk_real_notebook_switch_page):
              added missing argument (according to Joseph Coleman's bug report)
      
              * gtk/gtknotebook.c (gtk_notebook_set_focus_child): new class
              function to fix notebook focus handling
      6b61461a
    • Owen Taylor's avatar
      Renamed g_const_pointer => gconstpointer. · 344572dc
      Owen Taylor authored
      344572dc
    • Tim Janik's avatar
      prevent gdk_init() from segfaulting when invoked with (NULL, NULL); (this · b70abe38
      Tim Janik authored
      Wed Jun 10 06:25:17 1998  Tim Janik  <timj@gtk.org>
      
              * gdk/gdk.c (gdk_init): prevent gdk_init() from segfaulting when
              invoked with (NULL, NULL); (this worked sometime ago).
      
              * gtk/gtktypeutils.h:
              * gtk/gtktypeutils.c: enum and flags type creation can now be done
              through gtk_type_register_enum() and gtk_type_register_flags(),
              which allow to specify the enum value arrays directly.
              the NULL terminated value arrays can be retrived through
              gtk_type_enum_get_values() and gtk_type_flags_get_values();
              (gtk_type_children_types): new function to query derived types.
      b70abe38
    • Tim Janik's avatar
      enum and flags type creation can now be done through · 6430ad63
      Tim Janik authored
      Wed Jun 10 06:25:17 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtktypeutils.h:
              * gtk/gtktypeutils.c: enum and flags type creation can now be done
              through gtk_type_register_enum() and gtk_type_register_flags(),
              which allow to specify the enum value arrays directly.
              the NULL terminated value arrays can be retrived through
              gtk_type_enum_get_values() and gtk_type_flags_get_values();
      6430ad63
    • Raja R Harinath's avatar
      c4865409
    • Raja R Harinath's avatar
      Add $(srcdir) where needed (in the rule), and removed it where not needed · 602a0387
      Raja R Harinath authored
      1998-06-09  Raja R Harinath  <harinath@cs.umn.edu>
      
      	* gtk/Makefile.am (gtk.defs,gtktypebuiltins*): Add $(srcdir)
      	where needed (in the rule), and removed it where not needed
      	(in the dependencies).
      602a0387
    • Raja R Harinath's avatar
      Pass $srcdir in environment to genmarshal.pl. Look for `gtkmarshal.list' · d292dd9b
      Raja R Harinath authored
      1998-06-09  Raja R Harinath  <harinath@cs.umn.edu>
      
      	* gtk/Makefile.am (gtkmarshal.c gtkmarshal.h): Pass $srcdir in
      	environment to genmarshal.pl.
      	* gtk/genmarshal.pl: Look for `gtkmarshal.list' in $srcdir.
      d292dd9b
    • Tim Janik's avatar
      more const pointer corrections. · 5ab6b7e0
      Tim Janik authored
      5ab6b7e0
  2. 09 Jun, 1998 8 commits
    • Owen Taylor's avatar
      Removed g_object_pointer_hash, which was just g_direct_hash. · 2cabeeb1
      Owen Taylor authored
      Tue Jun  9 18:44:57 1998  Owen Taylor  <otaylor@gtk.org>
      
      	* gtk/gtkobject.c: Removed g_object_pointer_hash, which
      	was just g_direct_hash.
      
      Mon May 25 19:54:20 1998  Owen Taylor  <otaylor@gtk.org>
      
      	* configure.in: x_libs=, not $x_libs=. Enough said.
                (Case only hit for --disable-xshm)
      
      Mon May 25 12:08:14 1998  Owen Taylor  <otaylor@gtk.org>
      
      	* configure.in (LDFLAGS): Add to $CFLAGS and $LDFLAGS
      	  when testing for X libraries, don't replace them. Because
      	  the user might have specified the path to the X libraries
      	  themself before running configure.
      
      	* examples/**.c: Changed all gpointer * to gpointer
      
      Sat May 23 21:54:05 1998  Owen Taylor  <otaylor@gtk.org>
      
      	* configure.in (LDFLAGS): Bomb out with a moderately
      	  helpful message if detection of X libraries fails.
      
      Sat May 23 18:57:06 1998  Owen Taylor  <otaylor@gtk.org>
      
        [ Combination of:
           gtk-rrh-980412-0.patch (Raja R Harinath <harinath@cs.umn.edu>)
           gtk-jbuhler-980516-0 (Jeremy Buhler <jbuhler@cs.washington.edu>) ]
      
      	* gdk/gdk.h gdk/gdkcc.c gdk/gdkfont.c gtk/gtkmain.c
      	  gtk/gtksignal.c gtk/gtktext.c:
      
      	  Fixups for warnings from adding const to type of GHashFunc,
      	  GCompareFunc
      
      	* gtk/gtkcombo.c (gtk_combo_entry_key_press): Minor style/
      	  ansi-warnings fixups.
      
      Tue Jun  9 17:47:33 1998  Owen Taylor  <otaylor@gtk.org>
      
      	* glib.h: Remove #error - HP/UX.
      
      Sat May 23 19:00:01 1998  Owen Taylor  <otaylor@gtk.org>
        [ Combination of:
           gtk-rrh-980412-0.patch (Raja R Harinath <harinath@cs.umn.edu>)
           gtk-jbuhler-980516-0 (Jeremy Buhler <jbuhler@cs.washington.edu>) ]
      
      	* glib.h ghash.c gstring.c gdataset.c gutils.c:
      	- Added new typedef g_const_pointer; expunged all incorrect
      	  uses of 'const gpointer'.
      	- Fixed up warnings that that created,
      	- Changed GHashFunc and GCompareFunc to take g_const_pointer
      	  arguments. (Necessary, but will cause warnings in existing
      	  code until fixed)
      	- Added other new const in harmless positions.
      2cabeeb1
    • Federico Mena Quintero's avatar
      Removed the fleur_cursor field. Now the cursor is created/destroyed on · a1fe6d03
      Federico Mena Quintero authored
      1998-06-09  Federico Mena Quintero  <federico@nuclecu.unam.mx>
      
      	* gtk/gtkhandlebox.h (struct _GtkHandleBox): Removed the
      	fleur_cursor field.  Now the cursor is created/destroyed on demand
      	by the routines that need it.
      
      	* gtk/gtkhandlebox.c (gtk_handle_box_button_changed):
      	(gtk_handle_box_motion): The fleur cursor is created and destroyed
      	only when needed.
      a1fe6d03
    • Elliot Lee's avatar
      Fix for people using name mangling · aff37e7b
      Elliot Lee authored
      aff37e7b
    • Elliot Lee's avatar
      Just a convenience to parallel gtk-config · c3ccc9b1
      Elliot Lee authored
      
      
      Just a convenience to parallel gtk-config
      c3ccc9b1
    • 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
  3. 08 Jun, 1998 3 commits
  4. 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
  5. 06 Jun, 1998 1 commit
  6. 05 Jun, 1998 1 commit
  7. 04 Jun, 1998 2 commits
  8. 02 Jun, 1998 4 commits
  9. 01 Jun, 1998 1 commit