1. 04 Oct, 1999 1 commit
    • Manish Singh's avatar
      correct checking for BeOS check · 3b348f74
      Manish Singh authored
      * configure.in: correct checking for BeOS check
      
      * gdk/gdktypes.h
      * gtk/fnmatch.c
      * gtk/gtkfilesel.c
      * gtk/gtkitemfactory.c
      * gtk/gtkmain.[ch]
      * gtk/gtkrc.c: use G_OS_WIN32 and G_HAVE_CYGWIN #defines
      
      -Yosh
      3b348f74
  2. 25 Apr, 1999 1 commit
    • Tor Lillqvist's avatar
      Support added for building using a GNU toolchain on Win32, · 1c84483f
      Tor Lillqvist authored
      	gcc -mno-cygwin (egcs-1.1.2) on cygwin-b20.1.
      
      	* gdk/win32/makefile.cygwin gtk/makefile.cygwin: New files.
      	* config.h.win32: Changes for gcc.
      	* gdk/gdkrectangle.c: Include gdk.h as <gdk/gdk.h>.
      	* gdk/gdkcolor.c: config.h.win32 already defines strcasecmp.
      	* gdk/win32/gdkconfig.h: Only the MS compiler has wctype.h.
      	* gdk/win32/gdkdnd.c: Protect (unused) OLE2 stuff better.
      	Protect shl stuff unavaiilable with mingw32 headers.
      	* gdk/win32/gdkevents.c: Fix typo.
      	* gdk/win32/gdkglobals.c: Use GDKVAR here also for gcc.
      	* gdk/win32/gdkim.c: Use OEM code page for multibyte chars. (?)
      	* gdk/win32/gdkinput.c: Use __try __except only with the MS compiler.
      	* gdk/win32/gdkprivate.h: Make up for some stuff missing from
      	the mingw32 headers.
      	* gdk/win32/makefile.msc: Use latest Wintab kit and glib.
      	* gtk/gtkfilesel.c: Include <glib.h> early, to get stat->_stat
      	definition on Win32. Test for NATIVE_WIN32, not _MSC_VER.
      	* gtk/gtkfontsel.c: Protect CHARSET redefinition on Win32.
      	Test for NATIVE_WIN32, not _MSC_VER.
      	* gtk/gtkmain.c: No use warning about developer version on Win32,
      	there aren't any non-developer versions anyhow.
      	* gtk/gtkrc.c: Test for NATIVE_WIN32, not _MSC_VER.
      	* gtk/makefile.msc: Use pthread from another directory. Minor other
      	changes.
      1c84483f
  3. 17 Mar, 1999 1 commit
    • Tim Janik's avatar
      Tue Mar 16 17:43:33 1999 Tim Janik <timj@gtk.org> · f045ba41
      Tim Janik authored
      Wed Mar 17 01:46:28 1999  Tim Janik  <timj@gtk.org>
      
              * merges from gtk-1-2:
      
      Tue Mar 16 17:43:33 1999  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkitemfactory.c (gtk_item_factory_parse_rc_string): ensure the
              item factory class has been created.
              (gtk_item_factory_parse_rc): likewise.
      
              * gtk/gtkmenu.c:
              keep proper references for old_active_menu_item.
              (gtk_menu_reparent): unset the usize of the new parent,
              so the menu can sanely be size requested and we don't get nasty screen
              artefacts upon next reparentation.
              (gtk_menu_motion_notify): set send_event to TRUE if we synthesize an
              enter notify. only synthesize enter notifies if the pointer really is
              inside the event window.
              (gtk_menu_popdown): use gtk_menu_shell_deselect().
              (gtk_menu_popup): move the background setting stuff into
              gtk_menu_tearoff_bg_copy() so it can be called from other places as well.
      
              * gtk/gtkmenushell.c (gtk_menu_shell_button_press): use
              gtk_menu_shell_select_item() to select the new item.
              (gtk_menu_shell_deselect): export this function, so gtkmenu.c can
              do the right thing for deselection as well.
      
      Sat Mar 15 20:10:33 1999  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkwidget.[hc]:
              (gtk_widget_accelerators_locked): return whether a widget's accelerators
              are locked.
      
              * gtk/gtkmenu.c (gtk_menu_key_press): don't remove or install new or
              existing accelerators if the widget's accelerators are locked.
      
      Sat Mar 14 19:44:05 1999  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkitemfactory.[hc]: allow managing of foreign menu items.
      
              * gtk/gtkmenu.c: truely forward key press and key release events to
              the menu widget from the toplevel or tearoff window. we can't simply
              connect to that, we need to stop further processing of the events as
              well.
      
      Sat Mar 13 13:14:17 1999  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkmenu.c:
              (gtk_menu_key_press): pass event->keyval, event->state to
              gtk_accelerator_valid, instead of event->keyval twice.
              refuse to install single letter accelerators for menus that use
              single letter shortcuts.
      
              * gtk/gtkitemfactory.c (gtk_item_factory_create_item): use
              gtk_menu_ensure_uline_accel_group().
      
              * gtk/gtkmenu.[hc]: added gtk_menu_ensure_uline_accel_group()
              which will always return an uline accel group, made
              gtk_menu_get_uline_accel_group() return NULL if the group isn't
              yet created.
      
      Mon Mar 15 01:03:27 1999  Lars Hamann  <lars@gtk.org>
      
              * gtk/gtkclist.h (struct _GtkCListColumn): added button_passive flag.
      
              * gtk/gtkclist.c (gtk_clist_column_title_passive):
              Leave button sensitive, trap  button_press, button_release,
              motion_notify, enter_notify and leave_notify events instead.
              (gtk_clist_column_title_active): disconnect event handler.
              (gtk_clist_drag_data_get): fixed memory leak. Reported by
              Guillaume Laurent <glaurent@worldnet.fr>
      
      Wed Mar 10 23:49:55 1999  Lars Hamann  <lars@gtk.org>
      
              * gtk/gtklayout.c (gtk_layout_adjustment_changed): fixed a few
              width/height mixups.
      
              * gtk/gtkctree.c (tree_delete): emit an tree_unselect_row signal
              if needed.
      
      Wed Mar 10 00:11:32 1999  Tim Janik  <timj@gtk.org>
      
              * gtk/testgtk.c (create_item_factory): unref the item factory after
              window's destruction.
      
              * gtk/gtkmenushell.c (gtk_menu_shell_activate_item): keep a reference
              count on the menu shell around the menu item's activation, since the
              signal emission may cause menu shell destruction.
      
              * gtk/gtkitemfactory.c:
              the previous code leaked one accel group per menu. we use
              gtk_menu_get_uline_accel_group() now to fix that, and with that
              also create the underline accelerator group of the menus only if
              required (i.e. an underline accelerator has been specified).
              (gtk_item_factory_construct):
              (gtk_item_factory_create_item): removed code that would create an
              extra accel group for the menu (and leak references).
              (gtk_item_factory_create_item): adapted the underline accelerator
              installation code to properly feature gtk_menu_get_uline_accel_group().
      
              * gtk/gtkmenu.[hc]: added gtk_menu_get_accel_group() to retrive
              menu->accel_group, this may return NULL if the accelerator group
              hasn't been set yet.
              added gtk_menu_get_uline_accel_group() to retrive the underline
              accelerator group of the menu, this will be created on demand
              and proper care is taken about its reference count.
      
              * gtk/gtkitemfactory.h:
              * gtk/gtkitemfactory.c:
              dumped the approach of keeping a widgets by action list on the
              factory since the factory<->widget destroy negotiation didn't work
              and would be hard to get going at all. instead we keep a list of
              GtkItemFactoryItem items on the factory (GtkItemFactoryItems are
              persistant throughout a program's life time).
              also, i removed the static const gchar *key_* variables, and made
              them inline strings (they weren't actually used anyways).
              (gtk_item_factory_add_item): update ifactory->items.
              (gtk_item_factory_destroy): destroy ifactory->items (and remove
              the item factory pointer from the remaining ifactory widgets).
              (gtk_item_factory_get_widget_by_action): walk the GtkItemFactoryItem
              list to find the widget.
              (gtk_item_factory_get_item): new function that works around
              gtk_item_factory_get_widget() limitations, this function will only
              return menu items, even for <Branch> entries.
      
      Tue Mar  9 01:01:28 1999  Tim Janik  <timj@gtk.org>
      
              * gdk/gdkfont.c (gdk_font_load): first lookup the xfont ID in our
              font hash table, if we have a GdkFontPrivate entry for this font
              already, simply increment its reference count, provided by Olaf Dietsche
              <olaf.dietsche+list.gtk@netcologne.de>.
      
              * gtk/gtkstyle.c (gtk_style_copy): plug a GdkFont reference leak, fix
              provided by Olaf Dietsche <olaf.dietsche+list.gtk@netcologne.de>.
      
      Sun Mar  7 06:13:29 1999  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkcontainer.c:
              (gtk_container_add_with_args):
              (gtk_container_addv):
              (gtk_container_add): before adding a child to a conatiner, make sure
              it is (default) constructed, this is neccessary because under certain
              circumstances the child will get relized and mapped immediatedly, in
              which case it has to be constructed already.
      
      Mon Mar  1 17:58:21 1999  Tim Janik  <timj@gtk.org>
      
              * gtk/gtksignal.c (gtk_signal_connect_by_type): count object_signal
              values > 1 as TRUE also.
      f045ba41
  4. 15 Mar, 1999 1 commit
    • Tor Lillqvist's avatar
      This might seem like a large patch, but it isn't that bad, and nothing · c65508d2
      Tor Lillqvist authored
      should break on Unix/X11.
      
      Win32 merge and general portability stuff:
      
      * acconfig.h,configure.in: Check for <sys/time.h>.
      
      * gdk/win32: New directory (actually, been there for a while).
      
      * gtk/fnmatch.c: Include <glib.h> for G_DIR_SEPARATOR, WIN32 and
      NATIVE_WIN32, and use these. Always case fold on Win32. No
      backslashed escapes on native Win32.
      
      * gtk/{gtk.def,makefile.msc}: New files.
      
      * gtk/Makefile.am: Add above new files.
      
      * gtk/{gtkaccelgroup,gtkbindings}.c: Include <string.h>
      instead of <strings.h>.
      
      * gtk/{gtkcalendar,gtkitemfactory,gtkpreview,gtkrc}.c: Include
      config.h. Protect inclusion of <sys/param.h>, <sys/time.h>, and
      <unistd.h> appropriately.
      
      * gtk/gtkdnd.c: Merge in Win32 version (which doesn't do much).
      Use ABS() (from <glib.h>) instead of abs().
      
      * gtk/gtkfilesel.c: Moved Win32-specific includes after inclusion
      of gtk (and thus glib) headers, so that WIN32 will be
      defined. With MS C, include <direct.h> for mkdir prototype.
      
      * gtk/gtkitemfactory.c (gtk_item_factory_callback_marshal): Add
      some casts, needed by MS C.
      
      * gtk/{gtklayout,gtkplug}.c: Merge in Win32 version (which isn't
      implemented).
      
      * gtk/gtkmain.c: Include gdk/gdkx.h for GDK_WINDOWING. Include
      <X11/Xlocale.h> only on X11 platform, otherwise <locale.h>.  Use
      G_SEARCHPATH_SEPARATOR_S and g_module_build_path.
      
      * gtk/gtkmain.h: Mark variables for export/import on Win32.
      
      * gtk/gtkrange.c (gtk_range_motion_notify): Set mods also in case
      the event is not a hint, or its window is not the slider. Needed
      on Win32, at least.
      
      * gtk/gtkrc.c: Include config.h and gdk/gdkx.h. Use <locale.h>
      unless on X11. Skip \r chars, too. Use G_DIR_SEPARATOR and
      G_SEARCHPATH_SEPARATOR(_S). Use g_path_is_absolute. On Win32, use
      a subdirectory of the Windows directory as gtk system
      configuration directory.
      
      * gtk/gtkselection.c: No chunks on Win32.
      
      * gtk/gtksocket.c: Not implemented on Win32.
      
      * gtk/gtkthemes.c (gtk_theme_engine_get): Use g_module_build_path.
      
      * gtk/makeenums.h: Include gdkprivate.h after gdk.h.
      
      * gtk/testrgb.c: Use dynamically allocated buffer. Use GTimers.
      c65508d2
  5. 05 Mar, 1999 1 commit
  6. 24 Feb, 1999 1 commit
  7. 23 Feb, 1999 1 commit
  8. 14 Dec, 1998 1 commit
    • Owen Taylor's avatar
      Append locale-specific suffixes to default rc file names, and look these · 698a11c6
      Owen Taylor authored
      Mon Dec 14 16:10:05 1998  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkrc.c (gtk_rc_init): Append locale-specific
      	suffixes to default rc file names, and look these
      	up in addition to the base filename, to facilitate
      	having the correct fontset per-locale.
      
      	move $(sysconfdir)/gtkrc to $(sysconfdir)/gtk/gtkrc
      
      	* gtk/gtkitemfactory.[ch] (gtk_item_factory_set_translate_func):
      	New function to set a function to translate menu paths.
      
      	* gtk/gtkrc.c (gtk_rc_add_initial_default_files): Free
      	results of g_strsplit().
      698a11c6
  9. 30 Nov, 1998 1 commit
    • Elliot Lee's avatar
      I submitted this patch twice to gtk-devel-list, and received no comments, · 060978e0
      Elliot Lee authored
      
      
      I submitted this patch twice to gtk-devel-list, and received no comments, so
      am committing it.  Although not exhaustively tested, I have been using this
      gtk+ for a week w/o problems, and I did read the code to ensure that nothing
      ever writes to these data structures. If by chance people encounter SEGV's in
      gtk+ code that is setting values in global data structures, this patch could
      be a possible culprit.
      
      1998-11-30  Elliot Lee  <sopwith@cuc.ml.org>
      
      	* {gdk,gtk}/*.c: Make read-only data structures "static const" to
      	allow them to be shared, mainly including (but not limited to) the
      	GtkTypeInfo structures for each class.
      
      	* gtk/gtkfilesel.c: Add /net to the "leave me alone" directory listing.
      060978e0
  10. 12 Nov, 1998 1 commit
  11. 07 Nov, 1998 1 commit
  12. 30 Sep, 1998 1 commit
  13. 29 Aug, 1998 1 commit
    • Manish Singh's avatar
      quell some warnings with g_hash_table_new · f2322ebe
      Manish Singh authored
      * gdk/gdkcolor.c:
      (gdk_colormap_new) (gdk_colormap_get_system):
      quell some warnings with g_hash_table_new
      
      * gtk/gtkaccelgroup.c (gtk_accel_group_add): free the GtkSignalQuery when
      we're done with it
      
      * gtk/itemfactory.c:
      (gtk_item_factory_from_path):
      (gtk_item_factory_create_item): free some strings
      
      * gtk/gtklabel.c:
      (gtk_label_finalize): free label->pattern when done
      (gtk_label_parse_uline): null terminate pattern string, delete some duplicated
      code
      
      * gtk/testthreads.c: add #include <unistd.h> for sleep()
      
      -Yosh
      f2322ebe
  14. 24 Aug, 1998 1 commit
    • Tim Janik's avatar
      begin the parameter elipsis (...) after the first argument name. this · 02a871bc
      Tim Janik authored
      Mon Aug 24 02:36:53 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkarg.h:
              * gtk/gtkarg.c:
              * gtk/gtkwidget.h:
              * gtk/gtkwidget.c:
              * gtk/gtkobject.h:
              * gtk/gtkobject.c:
              * gtk/gtkcontainer.h:
              * gtk/gtkcontainer.c:
              (gtk_object_new):
              (gtk_object_set):
              (gtk_widget_new):
              (gtk_widget_set):
              (gtk_container_add_with_args):
              (gtk_container_child_set):
              begin the parameter elipsis (...) after the first argument name. this
              change is source compatible, since it was always required, even as NULL.
              (gtk_args_collect):
              (gtk_object_args_collect):
              (gtk_container_child_args_collect):
              changed prototypes to pass first_arg_name, also, pass va_list variable
              by value (portability concerns). callers changed.
      
              * gtk/gtkargcollector.c: implemented gtk_arg_collect_value() as
              a huge macro GTK_ARG_COLLECT_VALUE() <shrug>. this is needed because we
              can't pass va_list variables by reference for portability reasons.
      02a871bc
  15. 18 Aug, 1998 1 commit
    • Tim Janik's avatar
      use g_get_current_dir() instead of getcwd(). · 49dfa78e
      Tim Janik authored
      Tue Aug 18 17:54:40 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkrc.c (gtk_rc_parse_file): use g_get_current_dir() instead of
              getcwd().
      
              * gdk/gdkprivate.h:
              * gdk/gdkglobals.c:
              * gdk/gdkwindow.c:
              * gdk/gdk.c:
              * gtk/gtkwindow.c:
              * gtk/gtkitemfactory.c:
              dropped gdk_progname, use g_get_prgname()/g_set_prgname() instead.
      
              * gtk/gtkselection.c:
              * gtk/gtkpreview.c:
              * gtk/gtkobject.c:
              * gtk/gtkmain.c:
              * gtk/gtktypeutils.c: indentation fixes due to g_message() use.
      
              * gdk/gdkrgb.c: exchanged occourances of g_print with g_message.
      49dfa78e
  16. 17 Aug, 1998 1 commit
    • Tim Janik's avatar
      removed gtk_input_add_interp. · 47215ba4
      Tim Janik authored
      Mon Aug 17 15:31:38 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkmain.c: removed gtk_input_add_interp.
      
              * gtk/gtkeditable.c (gtk_editable_set_position): fixed bogus "return"
              keyword.
              (gtk_editable_get_event_time): fix default: case.
      
              * gtk/gtkclist.c (gtk_clist_swap_rows): fixes for lvalue casts.
      
              * gdk/gdkpixmap.c: made a bunch of unexported functions static.
      
              * gdk/gdkcolor.c:
              * gdk/gdkvisual.c: include "gdkx.h", since it exports prototypes
              of our functions.
      
              * various minor compilation cleanups, such as bogus commas in
              enums and similar things.
      
      M
      47215ba4
  17. 12 Aug, 1998 1 commit
    • Owen Taylor's avatar
      Added gdk_text/string_extents() - too calculate all the metrics at once of · 4af7480f
      Owen Taylor authored
      Tue Jul 21 12:42:01 1998  Owen Taylor  <otaylor@redhat.com>
      
      	* gdk/gdk.h gdk/gdkfont.c: Added gdk_text/string_extents() -
      	  too calculate all the metrics at once of a string, including
      	  things which weren't calculated before.
      
      	* gtk/Makefile.am gtk/gtk.h gtk/gtktearoffmenu.[ch]: New
      	  MenuItem type, that when put as the first thing in a
      	  menu, makes the menu tearoff. Currently drawn as a
      	  dashed line.
      
      	* gtk/gtkmenuitem.h gtk/gtkcheckmenuitem.c: Added a flag
      	  "hide_on_activate" to the MenuItem class structure to allow
      	  check and radio buttons to be changed with <Space> without
      	  hiding the menu.
      
      	* gtk/gtkaccellabel.[ch]: Added new capabilities to set
      	  a underline_group and underline_mods for the label -
      	  accelerators added in the underline group matching
      	  underline_mods will be displayed as an underline character.
      
      	  This doesn't work - Save As needs to be underlined
      	  as Save _As.
      
      	* gtk/gtkitemfactory.c...
      4af7480f
  18. 04 Jul, 1998 1 commit
  19. 01 Jul, 1998 1 commit
    • Tim Janik's avatar
      temporary implementation of action signal "debug_msg" · 2e8e686c
      Tim Janik authored
      Wed Jul  1 20:58:46 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkwidget.h:
              * gtk/gtkwidget.c: temporary implementation of action signal "debug_msg"
      
              * gtk/gtkbindings.c (gtk_binding_entry_add_signal): fixed an off-by-one
              error that prevented signal to entry addition for signals with
              parameters.
      2e8e686c
  20. 28 Jun, 1998 1 commit
    • 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
  21. 19 Jun, 1998 1 commit
    • Tim Janik's avatar
      replaced some gtk_object_data_force_id with g_quark_from_static_string · 3c90c2cd
      Tim Janik authored
      Fri Jun 19 03:29:04 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkaccelgroup.c:
              * gtk/gtkbindings.c:
              * gtk/gtkcontainer.c:
              * gtk/gtkitemfactory.c:
              * gtk/gtkobject.c:
              * gtk/gtksignal.c:
              * gtk/gtkwidget.c: replaced some gtk_object_data_force_id with
              g_quark_from_static_string calls to save memory.
      
              * gtk/gtkobject.c (gtk_object_set_data_by_id_full): invoke the destroy
              function _after_ the new data has been setup.
              minor changes to object data functions to feature the GQuark type.
      3c90c2cd
  22. 16 Jun, 1998 1 commit
  23. 07 Jun, 1998 4 commits
    • 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
    • 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
      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