1. 24 Nov, 1998 2 commits
    • Jeff Garzik's avatar
      Removed DEFS "+=" mess that breaks recent automakes. INCLUDES is the · 91d99f89
      Jeff Garzik authored
      
      * gdk/Makefile.am, gtk/Makefile.am:
      
              Removed DEFS "+=" mess that breaks recent automakes.
              INCLUDES is the correct way to add to CFLAGS from Makefile.am.
      
      * gdk/gdk.c, gdk/gdkglobals.c, gdk/gdkimage.c, gdk/gdkinput.c,
      gdk/gdkpixmap.c, gdk/gdkthreads.c, gdk/gdkwindow.c,
      gdk/gxid_lib.c, gtk/fnmatch.c, gtk/gtkclist.c, gtk/gtkmain.c,
      gtk/testthreads.c:
      
              Include "config.h" instead of "../config.h".
      
              Now that DEFS works again, automake will automatically pass us
              the location of config.h in -I.
      91d99f89
    • Owen Taylor's avatar
      Added layout widget for scrolling arbitrarily big areas. Added plug/socket · ee1d4392
      Owen Taylor authored
      Mon Nov 23 22:10:09 1998  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/Makefile.am gtk/gtk.h gtk/gtklayout.[ch]
      	gtk/gtkplug.[ch] gtk/gtksocket.[ch] gtk/gtk.h:
      
      	Added layout widget for scrolling arbitrarily big areas.
      	Added plug/socket widgets for interprocess embedding.
      
      	These widgets still, at some point, need to be
      	made more pure in their use of GDK, as opposed
      	to raw X.
      
      	* gtk/testgtk.c: Added test for layout widget.
      ee1d4392
  2. 17 Nov, 1998 1 commit
  3. 13 Nov, 1998 1 commit
    • Owen Taylor's avatar
      New function gdk_pixmap_foreign_new(). (gtk-blizzard-981005-0. Christopher · a0ca2a7b
      Owen Taylor authored
      Fri Nov 13 11:22:38 1998  Owen Taylor  <otaylor@redhat.com>
      
      	* gdk/gdkpixmap.c: New function gdk_pixmap_foreign_new().
      	(gtk-blizzard-981005-0.
      	 Christopher Blizzard <blizzard@applied-theory.com)
      
      	* gdk/gdk.h gdk/gdkx.h: Moved gdk_window_foreign_new and
      	gdk_pixmap_foreign_new to gdkx.h.
      
      Fri Nov 13 16:06:48 1998  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/Makefile.am: Added rules to generate an empty
      	GTK+ theme called "Default" upon installation.
      
      	* gtk/gtkrc.c (gtk_rc_parse_style): Fix inheritance
      	of fonts and fontsets.
      	(gtk-matsu-980924. Takashi Matsuda matsu@arch.comp.kyutech.ac.jp)
      
      	* gtk/gtkmain.c: Change test to detect glibc's
      	utf8 based mb* functions to be more specific.
      
      	* gtk/gtkwindow.[ch] gtk/gtkfixed.c: Indentation
      	cleanups.
      a0ca2a7b
  4. 06 Nov, 1998 1 commit
  5. 30 Oct, 1998 1 commit
  6. 18 Oct, 1998 1 commit
    • Owen Taylor's avatar
      Added a modular client-message-filter mechanism, that is used for the DND · f7bcb456
      Owen Taylor authored
      Sun Oct 18 18:16:39 1998  Owen Taylor  <otaylor@gtk.org>
      
      	* gdk/gdk.c gdkprivate.h: Added a modular client-message-filter
      	mechanism, that is used for the DND messages.
      
      	  Removed all the old DND code.
      
      	* gdk/gdkcolormap.c gdk/gdkcolormap.h: Add a function to
      	get the visual of a given colormap.
      
      	* gtk/gtkcolorsel.c: Conversion to new DND, drag
      	a color-swatch.
      
      	* gdk/gdk.h gdk/gdkdnd.c: The low-level
      	X oriented portions of drag and drop protocols.
      	Sending and receiving client messages, and navigating
      	window trees.
      
      	* gdk/gdkimage.c: added a gdk_flush() when destroying
      	SHM images to hopefully make it more likely that
              X will gracefully handle the segment being destroyed.
      
      	* gdk/gdkprivate.h gtk/gtkdebug.h: Add new
      	DND debugging flags.
      
      	* gtk/gtkeditable.[ch]: Updates for the selection handling
      	changes.
      
      	* gtk/gtkselection.[ch]: Added GtkTargetList, a
      	refcounted data structure for keeping track of lists
      	of GdkAtom + information. Removed selection_handler_add
      	in favor of a "drag_data_get" signal.
      
      	* gtk/gtkdnd.[ch] gtk/gtk.h: New files - highlevel (event loop
      	dependent) parts of the DND protocols, display of drag icons,
      	drag-under highlighting, and the "default handlers".
      
      	* gtk/gtkinvisible.[ch]: New widget - InputOnly offscreen
      	windows that are used for reliable pointer grabs and
      	selection handling in the DND code.
      
      	* gtk/testdnd.c: New test program for new DND. (Old
      	DND tests in testgtk still need to be converted.)
      
      	* gtk/testselection.c: Use the new selection API.
      
      	* docs/dnd_internals: Start at describing how
      	all the new code works inside.
      
      	* docs/Changes-1.2.txt: New file describing source-incompatible
      	changes in GTK+-1.2.
      
      Sat Oct 17 22:50:34 1998  Owen Taylor  <otaylor@gtk.org>
      
      	* gdk/gdkwindow.c (gdk_window_remove_filter): Free
      	the right list node.
      
      	* gdk/gdkwindow.c (gdk_window_init): Add gdk_root_parent
      	to the XID table so we can receive events on it.
      
      Wed Oct 14 12:57:40 1998  Owen Taylor  <otaylor@redhat.com>
      
      	* gdk/gdk.c gdk/gdk.h (gdk_event_get_time): New function
      	to get the timestamp from a generic event.
      
      Fri Oct  9 13:16:04 1998  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkwidget.c (gtk_widget_add_events): Added function
      	that safely adds additional events to a widget's event
      	mask, even if the widget has previously been realized.
      	(We can do this, but not remove events from the event
      	 mask).
      
      Fri Oct  2 17:35:35 1998  Owen Taylor  <otaylor@redhat.com>
      
      	* gdk/gdkproperty.c (gdk_property_get): Allow type == 0,
      	for AnyPropertyType.
      
      Fri Oct  2 10:32:21 1998  Owen Taylor  <otaylor@redhat.com>
      
      	* gdk/gdkproperty.c (gdk_atom_intern): Add client-local
      	hashing.
      
      Thu Sep 24 20:33:54 1998  Owen Taylor  <otaylor@redhat.com>
      
      	* gdk/gdk.c (gdk_event_send_clientmessage_toall): serial
      	isn't a timestamp.
      
      Thu Sep 17 14:23:03 1998  Owen Taylor  <otaylor@redhat.com>
      
      	* gdk/gdk.c (gdk_event_translate): Removed printing
      	of unknown window lookup warnings. (Made it
      	a GDK_NOTE) - they happen in many circumstances.
      f7bcb456
  7. 27 Sep, 1998 1 commit
  8. 21 Sep, 1998 1 commit
  9. 20 Sep, 1998 1 commit
    • Owen Taylor's avatar
      indent other than GNU indent should be OK now. · 104e5d2c
      Owen Taylor authored
      Sun Sep 20 09:52:39 1998  Owen Taylor  <otaylor@gtk.org>
      
      	* HACKING: indent other than GNU indent should be OK
      	  now.
      
      	* gtk/genmarshal.pl gtk/Makefile.am: Call indent on file
      	  instead of piping through indent. If indent wasn't
      	  found in ./configure don't bother indenting at
      	  all.
      104e5d2c
  10. 19 Sep, 1998 1 commit
  11. 18 Sep, 1998 1 commit
  12. 17 Sep, 1998 2 commits
    • Raja R Harinath's avatar
      Move `gtkfeature.h' ... (gtkinclude_HEADERS): ... here. (gtk.defs): Pass · 44557367
      Raja R Harinath authored
      * gtk/Makefile.am (source_headers): Move `gtkfeature.h' ...
      (gtkinclude_HEADERS): ... here.
      (gtk.defs): Pass `g' flag to sed, to replace all occurances.
      44557367
    • Owen Taylor's avatar
      Update to libtool-1.2b, change library versioning scheme to drop · 486362db
      Owen Taylor authored
      Tue Sep 15 14:57:30 1998  Owen Taylor  <otaylor@redhat.com>
      
      	* Makefile.am gtk-config.in l*: Update to libtool-1.2b,
      	change library versioning scheme to drop LT_RELEASE
      	from the -l line, while keeping it in the soname.
      
      Tue Sep 15 14:10:33 1998  Owen Taylor  <otaylor@redhat.com>
      
      	* configure.in Makefile.in: define a MAINT-like variable REBUILD
      	which is set if Perl and awk are found, and autogenerated sources
      	can be rebuilt. Remove the auto-generated sources from
      	CVS.
      
      	Add dependencies so that the autogenerated sources are
      	rebuilt if the files they depend on change.
      	(This unfortunately currently results in the entire
      	gtk/ directory being rebuilt when any header changes.
      	Moving all enums to gtkenums.h would fix this.)
      486362db
  13. 03 Sep, 1998 1 commit
  14. 16 Aug, 1998 1 commit
    • Tim Janik's avatar
      fatal warning option is split up now, "--g-fatal-warnings" causes fatal · 31de6ff4
      Tim Janik authored
      Sun Aug 16 20:51:59 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkmain.c (gtk_init): fatal warning option is split up now,
              "--g-fatal-warnings" causes fatal warnings in GLib,
              "--gdk-fatal-warnings" causes fatal warnings in Gdk,
              "--gtk-fatal-warnings" causes fatal warnings in Gtk.
      
              * gtk/Makefile.am: define G_LOG_DOMAIN for gtk.
              * gdk/Makefile.am: define G_LOG_DOMAIN for gdk.
      
              * gtk/testgtk.c:
              * gdk/gxid.c:
              we need ugly #undef G_LOG_DOMAIN at the start of these files currently,
              since automake doesn't support per target _CFLAGS yet.
      
              * configure.in: require GLib 1.1.3.
      31de6ff4
  15. 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
  16. 27 Jul, 1998 1 commit
  17. 19 Jul, 1998 1 commit
    • Stefan Jeske's avatar
      Introduced generic GtkProgress widget. Derived GtkProgressBar from · b43c4557
      Stefan Jeske authored
      Sun Jul 19 12:19:16 1998  Stefan Jeske  <stefan@gtk.org>
      
      	* gtk/gtkprogress.c gtk/gtkprogress.h gtk/gtkprogressbar.c
      	  gtk/gtkprogressbar.h gtk/Makefile.am gtk/gtk.h gtk/testgtk.c:
      	Introduced generic GtkProgress widget. Derived GtkProgressBar from
      	GtkProgress. Made GtkProgressBar much more flexible (see testgtk).
      b43c4557
  18. 09 Jul, 1998 1 commit
    • Tim Janik's avatar
      deleted most of the argument handling code, since that is now implemented · 347efc33
      Tim Janik authored
      Fri Jul 10 00:02:04 1998  Tim Janik  <timj@gtk.org>
      
      	* gtk/gtkcontainer.h:
      	* gtk/gtkcontainer.c: deleted most of the argument handling code, since
      	that is now implemented in gtkarg.c. similar to gtk_object_args_collect,
      	we now export a new function gtk_container_child_args_collect().
      	for consistency with the object arguments, a few functions got renamed:
      	gtk_container_child_arg_get -> gtk_container_child_get,
      	gtk_container_child_arg_set -> gtk_container_child_set,
      	gtk_container_child_arg_getv -> gtk_container_child_getv,
      	gtk_container_child_arg_setv -> gtk_container_child_setv,
      	gtk_container_add_with_argv -> gtk_container_addv.
      	note, gtk_container_add_with_args() remained, because its equivalent
      	would be gtk_container_add(,, ...) which would break all existing code.
      	(gtk_container_add_child_arg_type): similar to gtk_object_add_arg_type,
      	we expect the `arg_name' argument to be a const static string now.
      	(gtk_container_get_child_arg_type): function removed.
      
      Thu Jul  9 07:03:04 1998  Tim Janik  <timj@gtk.org>
      
      	* gtk/gtkargcollector.c: new file which holds gtk_arg_collect_value().
      	this is a static inline function that collects command line arguments
      	from a va_list. this file can just be included in all places that
      	need this functionality.
      
      	* gtk/gtkarg.h:
      	* gtk/gtkarg.c: new files which implement most of the argument
      	handling stuff from gtkobject.c. also collected a few more
      	gtk_arg_* utility functions from else places.
      
      	* gtk/gtkobject.h:
      	* gtk/gtkobject.c: moved most of the argument handling code into
       	gtkarg.c. we now export gtk_object_args_collect() as a non-public
      	method with a blind va_list pointer.
      	(gtk_object_add_arg_type): the `arg_name' argument is required to be a
      	const static string now.
      	(gtk_object_get_arg_type): function got removed.
      
      	* gtk/gtkwidget.c:
      	(gtk_widget_set):
      	(gtk_widget_new): adaptions for gtk_object_args_collect().
      
      	* gtk/gtktypeutils.c (gtk_type_init_builtin_types): changed the internal
       	fundamental type name so as to have a valid prefix, e.g. "bool"->
      	"gboolean", "string"->"GtkString" and somesuch, left "void" as is,
      	though that should probably be something like GtkNone since the
      	type itself is called GTK_TYPE_NONE.
      	even the internal type names need to avoid name clashes and must live
      	in their own namespace, several code portions rely on that.
      	we should relly have typedefs such as typedef gchar* GtkString; so the
      	fundamental type names can be used for code dumpers just like with all
      	the Gtk/Gdk types.
      347efc33
  19. 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
  20. 16 Jun, 1998 1 commit
  21. 15 Jun, 1998 1 commit
    • Owen Taylor's avatar
      gdk/gdktypes.h gdk/gdkprivate.h gtk/gtk*.h gtk/Makefile.am gtk/makenums.pl · 48a9f44f
      Owen Taylor authored
      Mon Jun 15 16:29:45 1998  Owen Taylor  <otaylor@gtk.org>
      
      	* gdk/gdktypes.h gdk/gdkprivate.h gtk/gtk*.h
      	  gtk/Makefile.am gtk/makenums.pl
      
      	Removed out the G_ENUM/FLAGS mechanism in favor
      	of a perl script that parses the standard headers
      	(with occasional /*< nick=foo >*/ style overrides)
      	and extracts the enumerations.
      
      	  gtk/maketypes.awk: Small improvments to the
      	  translation of names. (Avoid splitting gc into
      	  g_c_.)
      
      Mon Jun 15 16:25:44 1998  Owen Taylor  <otaylor@gtk.org>
      
      	* gtk/Makefile.am gtk/gtk.h gtk/gtkfontsel.[ch] gtk/testgtk.c:
      	Damon Chaplin's <DAChaplin@email.msn.com> Font selection widget,
              and a simple example for testgtk.
      
      Mon Jun 15 15:58:34 1998  Owen Taylor  <otaylor@gtk.org>
      
      	* gtk/gtkentry.c:
      	- Restored gtk_entry_adjust_scroll to static
      	- Changed text positioning code so that we always
      	  display as large a portion of the text as possible.
      
      Mon Jun 15 15:42:12 1998  Owen Taylor  <otaylor@gtk...
      48a9f44f
  22. 12 Jun, 1998 1 commit
    • CDT 1998 Shawn T. Amundson's avatar
      Added gtkpacker · cab220ee
      CDT 1998 Shawn T. Amundson authored
      Thu Jun 11 14:38:33 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
      
              * gtk/gtkpacker.c, gtk/gtkpacker.h, gtk/gtk.h, gtk/Makefile.am:
                Added gtkpacker
      
              * examples/packer/pack.c, examples/packer/Makefile: Added
                gtkpacker example
      cab220ee
  23. 10 Jun, 1998 4 commits
  24. 09 Jun, 1998 1 commit
    • 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
  25. 08 Jun, 1998 2 commits
    • Tim Janik's avatar
      wrapped enum definitions with glib macros. · 207eecc4
      Tim Janik authored
      Mon Jun  8 02:52:37 1998  Tim Janik  <timj@gtk.org>
      
              * gdk/gdkprivate.h:
              * gdk/gdktypes.h:
              * gtk/gtkprivate.h:
              * gtk/gtkwidget.h:
              * gtk/gtkobject.h: wrapped enum definitions with glib macros.
      
              * reworked enum value array generation code. gtk.defs is a generated
              file now.
      207eecc4
    • Elliot Lee's avatar
      Start of marshalling centralization. · 1e32cc3d
      Elliot Lee authored
      
      
      Start of marshalling centralization.
      
      Please check this over for sanity. I think the perl script and Makefile might
      need fixing up to allow builddir != srcdir
      
      I will start converting all the widgets to use this scheme if no problems
      arise.
      1e32cc3d
  26. 07 Jun, 1998 1 commit
    • 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
  27. 16 May, 1998 1 commit
    • Owen Taylor's avatar
      Basic thread-awareness: · 45714833
      Owen Taylor authored
      Fri May 15 21:16:54 1998  Owen Taylor  <otaylor@gtk.org>
      
      	Basic thread-awareness:
      
      	* acconfig.h configure.in: New option --with-threads=[yes/posix/no]
      
      	* gdk/Makefile.am gdk/gdkthreads.c: Added new functions
      	gdk_threads_[init/enter/leave] for applications, plus
      	gdk_threads_wake to wake the mainloop thread out of
      	the select().
      
      	* gtk/Makefile.am: gtk/testthreads.c: Test program for threads
      
      Fri May 15 12:08:48 1998  Owen Taylor  <otaylor@gtk.org>
      
      	* gtk/testgtk.c (list_clear): Account for the fact
      	that gtk_list_clear_items is not inclusive. (Clears
      	[start, end))
      45714833
  28. 11 May, 1998 1 commit
    • Tim Janik's avatar
      preserve automake CFLAGS. · e8df8ce1
      Tim Janik authored
      Mon May 11 09:56:45 1998  Tim Janik  <timj@gtk.org>
      
              * configure.in (cflags_set): preserve automake CFLAGS.
      
              * Makefile.am: fully rename the created libraries to libgtk-1.1.la
              and libgdk-1.1.la. this means we need to change certain portions of
              the Makefile.am on major/minor version bumps.
      
              * ltmain.sh: the -release option is not required anymore.
      
              * gtk/gtkobject.h (gtk_trace_referencing): compile time check the type
              of the first argument to be of type GtkObject. unconditionally compile
              this function. removed __GNUC__ dependancy of the gtk_object_ref and
              gtk_object_unref macro wrappers for this function.
      
      Mon May 11 09:53:43 1998  Tim Janik  <timj@gtk.org>
      
              * configure.in: preserve automake CFLAGS.
      
              * Makefile.am: fully rename the created library to libglib-1.1.la.
              this means we need to change certain portions of the Makefile.am on
              major/minor version bumps.
      
              * ltmain.sh: the -release option is not required anymore.
      
              * glib.h: provide G_GNUC_FUNCTION and G_GNUC_PRETTY_FUNCTION to
              avoid conditionals. unconditionally define NULL, TRUE, FALSE, MAX,
              MIN, ABS and CLAMP, these macros might be screwed from other headers.
      e8df8ce1
  29. 09 May, 1998 1 commit
    • Tim Janik's avatar
      new file used as template for new file to define macros indicating newly · 9775962a
      Tim Janik authored
      Sat May  9 02:34:41 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkfeatures.h.in: new file used as template for
              * gtk/gtkfeatures.h: new file to define macros indicating newly
              introduced features, such as GTK_HAVE_SIGNAL_INIT.
      
              * gtk/gtksignal.c:
              (gtk_signal_emitv_by_name):
              (gtk_signal_emitv):
              new functions to emit signals with an already provided parameter set.
              (provided by Kenneth Albanowski <kjahds@kjahds.com>).
              (gtk_signal_real_emit): prototype changes, so this functions always
              gets its parameters and signal structure as arguments.
              (gtk_signal_emit): provide the signal structure and parameter list for
              gtk_signal_real_emit.
              (gtk_signal_emit_by_name): likewise.
      9775962a
  30. 07 May, 1998 1 commit
    • Tim Janik's avatar
      postfix -lg* libraries with LT_RELEASE. · 39ff37dc
      Tim Janik authored
      Thu May  7 05:14:19 1998  Tim Janik  <timj@gtk.org>
      
              * gtk-config.in (--libs): postfix -lg* libraries with LT_RELEASE.
      
              * ltmain.sh: added a new commandline flag -postfix similar to -release,
              but will immediately change the library name.
      
              * gdk/Makefile.am:
              * gtk/Makefile.am: specify -postfix and -version-info
      
              * configure.in: version bump to 1.1.0. added GTK_INTERFACE_AGE and
              GTK_BINARY_AGE. calculate LT_* variables for libtool.
      39ff37dc
  31. 01 May, 1998 2 commits
    • Tim Janik's avatar
      prefixed all clist flags with GTK_ to avoid name clashes. redefined · befef270
      Tim Janik authored
      Fri May  1 13:57:36 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkclist.h:
                      * gtk/gtkclist.c: prefixed all clist flags with GTK_ to avoid name
                              clashes. redefined GTK_CLIST_SET_FLAGS and GTK_CLIST_UNSET_FLAGS as
                                      GTK_CLIST_SET_FLAG and GTK_CLIST_UNSET_FLAG to automatically add
                                              the GTK_ prefix (this solution involved less changes in the
                                                      gtkclist.c code). added a GTK_CLIST_CONSTRUCTED flag to substitute
                                                              the mem_chunk==NULL test in gtk_clist_construct. merged in changes
                                                                      from lars & stefan to support the derivation of GtkCtree.
      
                                                                              * gtkctree.h:
                                                                                      * gtkctree.c:
                                                                                              initial import of a tree widget derived from gtkclist, courtesy
                                                                                                      of Lars Hamann <lars@gtk.org> and Stefan Jeske <jeske@gtk.org>,
                                                                                                              it just damn rocks!
      
      
      Fri May  1 10:05:44 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtklist.c (gtk_list_add): let gtk_list_append_items do the work
              for us.
              (gtk_list_insert_items):
              (gtk_list_remove_items_internal):
              (gtk_list_clear_items):
              remove a possible pointer grab, we might get thrown into a loop
              otherwise.
              (gtk_list_button_press): grab the pointer *before* selecting the child,
              because selection of items may cause the lists children to change,
              resulting in a grab release.
              (gtk_list_clear_items): use gtk_list_unselect_child() for unselection of
              children.
              (gtk_list_shutdown): remove all children from the list.
              (gtk_real_list_unselect_child):
              (gtk_real_list_select_child): *always* put our internal structures into
              sane state *before* signal emisions (i.e. list->selection updates prior
              to gtk_list_item_[de]select() calls).
      
              * gtk/gtkcombo.c (gtk_combo_init): adjust the scrollbar if the lists
              focused child walks out of the window.
              removed CAN_FOCUS for the combo arrow's button since it doesn't react
              to keyboard events ("clicked" connection is missing).
      befef270
    • Owen Taylor's avatar
      05bc6a5b
  32. 26 Mar, 1998 1 commit
    • Owen Taylor's avatar
      When gtk_widget_draw() is called on a REDRAW_PENDING widget, draw it and · a74e3385
      Owen Taylor authored
      Thu Mar 26 15:33:50 1998  Owen Taylor  <owt1@cornell.edu>
      
      	* gtk/gtkwidget.c: When gtk_widget_draw() is called on a
      	REDRAW_PENDING widget, draw it and remove it from the
      	queue instead of doing nothing.
      
      	* gtk/Makefile.am gdk/Makefile.am: Switch order of includes
      	directories, to make doubly sure that wrong glibconfig.h
      	isn't used. (See also glib/ChangeLog)
      
      	* gtk/gtkentry.c (gtk_entry_draw_focus): Don't draw the
      	cursor unless the entry is editable.
      
      	(From: Stefan Jeske <jeske@braunschweig.netsurf.de>)
      a74e3385
  33. 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