1. 28 Sep, 1999 1 commit
    • Federico Mena Quintero's avatar
      [ Merges from gtk-1-2 ] · 95b3f3e4
      Federico Mena Quintero authored
      Wed Sep  8 07:13:29 1999  Tim Janik  <timj@gtk.org>
      
      	* configure.in: fixed "GNU Make" check to pass with new make version
      	3.77.95.
      
      Fri Sep  3 16:04:41 1999  Tim Janik  <timj@gtk.org>
      
      	* gtk-config.in (--version): don't echo @GTK_VERSION@, but
      	@GTK_MAJOR_VERSION@.@GTK_MINOR_VERSION@.@GTK_MICRO_VERSION@, so the
      	AM_PATH_GTK() macros don't get confused by the -pre1.
      
      Thu Sep  2 19:02:37 1999  Owen Taylor  <otaylor@redhat.com>
      
      	* configure.in (REBUILD): Change check for perl5
      	  to check explicitely for v >= 5.002. (5.001
      	  does not work with our scripts.)
      
      Wed Aug 25 15:45:46 1999  Tim Janik  <timj@gtk.org>
      
      	* configure.in: evaluate $PERL for the perl version check. added
      	--disable-rebuilds to give the user an option to completely disable
      	any source autogeneration rules.
      
      Mon Aug 23 23:16:14 1999  Tim Janik  <timj@gtk.org>
      
      	* configure.in: evaluate $ac_make when checking for GNU Make.
      
      Mon Aug 23 19:11:17 1999  Tim Janik  <timj@gtk.org>
      
      	* docs/Makefile.am: added generatio...
      95b3f3e4
  2. 29 Mar, 1999 1 commit
    • Raja R Harinath's avatar
      Make sure `gdkconfig.h' exists after the rule is fired. · 32f6e0a4
      Raja R Harinath authored
      * gdk/Makefile.am (gdkconfig.h): Make sure `gdkconfig.h' exists
      after the rule is fired.
      (install-exec-local): Install gdkconfig.h only if the contents are
      different from the currently installed gdkconfig.h.
      
      Rationale:
      `make install-exec' is meant to install files that go into
      $exec_prefix, which includes `gdkconfig.h'.  However, developers use
      `make install-exec' when they know that none of the headers have
      changed, to prevent needless recompiles of other packages.  My
      previous change of installing `*config.h' during `make install-exec'
      undermines this, even though it is the right thing to do.  So, in the
      spirit of "do the right thing first, optimize later", here's the
      optimization.
      32f6e0a4
  3. 26 Mar, 1999 1 commit
  4. 13 Mar, 1999 1 commit
    • Tor Lillqvist's avatar
      Configure now generates a gdkconfig.h file, in similar way as GLib's · a3c5d33f
      Tor Lillqvist authored
      configure generates glibconfig.h. Currently it only defines what
      windowing API GDK uses, and on Unix (where configure scripts are
      used), it's always X11...
      
      Include gdkconfig.h in gdktypes.h.
      
      gdkconfig.h is installed in @libdir@/gtk+/include (like glibconfig.h
      is in @libdir@/glib/include). (This might be debatable?) Add that to
      gtk-config --cflags.
      
      Merge in Win32 changes to gtkfontsel.c
      a3c5d33f
  5. 27 Jan, 1999 1 commit
  6. 16 Dec, 1998 2 commits
  7. 15 Dec, 1998 1 commit
    • Owen Taylor's avatar
      Commented out testthreads from the build process, since we won't have any · a0c84d68
      Owen Taylor authored
      Tue Dec 15 01:38:53 1998  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/Makefile.am: Commented out testthreads from
      	the build process, since we won't have any idea
      	how to create a thread.
      
      	* configure.in (LIBS): use glib-config ... gthread
      	so we always build a thread-compatible library.
      
              * gtk/gtkaccellabel.c gtk/gtkclist.c gtk/gtkcolorsel.c
      	  gtk/gtkcombo.c gtk/gtkcontainer.c gtk/gtkentry.c
      	  gtk/gtklist.c gtk/gtkmenuitem.c gtk/gtknotebook.c
      	  gtk/gtkrange.c gtk/gtkselection.c gtk/gtkspinbutton.c
      	  gtk/gtktext.c gtk/gtktooltips.c gtk/gtkwidget.c:
      
      	Add GTK_THREADS_ENTER/LEAVE pairs around timeouts
      	and idles to account for the fact that they are no
      	longer called within the GTK+ lock.
      
      	* gtk/gtkprivate.h: Added definitions for locking
      	the main GTK+ mutex.
      
      	* gtk/gtkmain.c: Re-implement the main loop
      	in terms of the GLib main loop.
      
      	* gdk/gdk.h gdk/gdkthreads.c gdk/Makefile.am: Removed threading
      	functionality, as it seems better to subsume GDK within the
      	GTK+ lock than vice-versa.
      
              * gdk/gdkevents.c: New file, containing event handling bits
      	from gdk.c.
      
      	* gdk/gdkevents.c: Implement event source for GDK
      	events.
      
      	* configure.in gdk/gdkevents.c: Removed attempts to
      	subtract base_id, which were already non-functional.
      a0c84d68
  8. 09 Dec, 1998 1 commit
    • Owen Taylor's avatar
      Destroy widgets _after_ propagating unrealize signals through the widget · 207757e7
      Owen Taylor authored
      Mon Dec  7 10:27:09 1998  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkwidget.c: Destroy widgets _after_ propagating unrealize
      	signals through the widget heirarchy. This is unpleasant, as it
      	causes more X traffic, but is necessary, because we have to clean
      	up our Input Contexts before destroying the X windows.
      	(from matsu-981109-0.patch)
      
      Mon Dec  7 10:18:18 1998  Owen Taylor  <otaylor@redhat.com>
      
      	Applied gtk-a-higuti-981202-0 :
      	[ a-higuti@math.sci.hokudai.ac.jp (Akira Higuchi) ]
      
      	* gdk/gdk.h gdk/gdk.c
      		(gdk_mbstowcs): New function. Nearly equals to mbstowcs, but
      			implemented by a combination of Xlib functions, so
      			it works even with X_LOCALE.
      		(gdk_wcstombs): New function.
      		(g_mbtowc): Removed. No longer needed.
      
      	* gdk/gdk.h gdk/gdkfont.c gdk/gdkdraw.c:
      	        Added _wc() variants to gdk_text_width(),
      		gdk_char_width(), gdk_draw_text(),
      
      	* gdk/gdki18n.h
      		(mblen, mbtowc, wctomb, mbstowcs, wcstombs,
      		 wcslen, wcscpy, wcsncpy):
      			Removed. No longer needed.
      		(iswalnum): Removed.
      		(gdk_iswalnum): New macro.
      		(gdk_iswspace): New macro.
      	* gdk/gdktype.h
      		(GdkWChar): New typedef.
      
      	* gtk/gtkentry.h, gtk/gtkentry.c
      		There are many changes according to the change of the
      		internal representation of text, from multibyte string
      		to wide characters.
      	* gtk/gtkprivate.h, gtk/gtkmain.c
      		Removed the variable gtk_use_mb and related codes.
      	* gtk/gtkspinbutton.c
      		Some changes according to the change of type of entry->text.
      	* gtk/gtktext.h, gtk/gtktext.c
      		Changed the internal representation of text. We use GdkWchar
      		if a fontset is supplied. If not, we use guchar to save
      		memory.
      207757e7
  9. 01 Dec, 1998 1 commit
  10. 24 Nov, 1998 1 commit
    • 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
  11. 06 Nov, 1998 1 commit
  12. 17 Sep, 1998 1 commit
    • 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. 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
  14. 15 Jul, 1998 1 commit
  15. 10 Jun, 1998 1 commit
    • 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
  16. 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
  17. 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
  18. 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
  19. 01 May, 1998 1 commit
  20. 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
  21. 10 Mar, 1998 1 commit
  22. 28 Feb, 1998 1 commit
    • Tim Janik's avatar
      fix behavior of gtk_preview_put() with srcx/srcy != 0, · 8a19c2a1
      Tim Janik authored
      Sat Feb 28 15:18:36 1998  Tim Janik  <timj@gimp.org>
      
              * gtk/gtkpreview.c: fix behavior of gtk_preview_put() with
              srcx/srcy != 0, gtk-shige-980127-0.patch.gz by
              AOSASA Shigeru <aozasa@sakuranet.or.jp>.
      
              * gdk: applied gtk-roebling-980121-0.patch.gz, patch for region
              support in Gdk, by Robert Roebling <roebling@ruf.uni-freiburg.de>.
      8a19c2a1
  23. 27 Feb, 1998 1 commit
    • Owen Taylor's avatar
      new functions for setting WM hints · 473c1d4d
      Owen Taylor authored
      Thu Feb 26 22:36:46 1998  Owen Taylor  <owt1@cornell.edu>
      
      	* gdk/gdkwindow.c gdktypes.c gdk.h:
      	new functions for setting WM hints
      
      	 gdk_window_set_icon()
      	 gdk_window_set_icon_name()
      	 gdk_window_set_group()
      	 gdk_window_set_decorations()
      	 gdk_window_set_functions()
      
      	* gdk/MwmUtil.h: new uninstalled header file from lesstif
      	distribution, used for setting MWM hints.
      
      	* gdk/gdkdnd.c Makefile.am: renamed from gdk/gdk_dnd.c
      473c1d4d
  24. 26 Feb, 1998 1 commit
  25. 12 Jan, 1998 1 commit
  26. 08 Jan, 1998 1 commit
  27. 17 Dec, 1997 1 commit
    • Arturo Espinosa's avatar
      New GdkColorContext object, ported from the XColorContext in XmHTML. · 585dc6d7
      Arturo Espinosa authored
      It compiles and links, but is *completely* untested.  Feel free to
      pound on it.
      
      The idea is to do all color management (allocation, etc.) via a
      GdkColorContext so that apps will be friendly to 8-bit displays.
      
      GdkColorContext is supposed to work on all visual/depth combinations.
      This support, however, is lacking from the rest of Gdk/Gtk.  I will
      try to work on that.
      
       - Federico
      585dc6d7
  28. 13 Dec, 1997 1 commit
  29. 03 Dec, 1997 1 commit
  30. 27 Nov, 1997 1 commit
    • Gnome CVS User's avatar
      Patches to support internationalized input by: · dd34bcca
      Gnome CVS User authored
        Takashi Matsuda <matsu@arch.comp.kyutech.ac.jp>
        TANAKA Shinya <shinya@race.u-tokyo.ac.jp>
      
      See ChangeLog entries for further details.
      
      Also some small fixes to event handling in gdk/gdk.c; sending
      clear events in gtk/gtkselection.c and cut-and-paste in
      gtk/gtkentry.c
      dd34bcca
  31. 24 Nov, 1997 1 commit