1. 13 Jun, 2001 1 commit
    • Havoc Pennington's avatar
      Updates · b858eb9f
      Havoc Pennington authored
      2001-06-11  Havoc Pennington  <hp@redhat.com>
      
      	* NEWS: Updates
      
      	* configure.in (GTK_MINOR_VERSION): bump version to 1.3.6
      
      	* gtk/Makefile.am: glib_genmarshal already contains top_builddir
      b858eb9f
  2. 07 Jun, 2001 2 commits
    • Havoc Pennington's avatar
      output m4macros/Makefile · d0351d15
      Havoc Pennington authored
      2001-06-07  Havoc Pennington  <hp@redhat.com>
      
      	* configure.in: output m4macros/Makefile
      d0351d15
    • Havoc Pennington's avatar
      subst GLIB_GENMARSHAL, GOBJECT_QUERY, GLIB_MKENUMS variables · 5aba82da
      Havoc Pennington authored
      2001-06-07  Havoc Pennington  <hp@redhat.com>
      
      	* m4macros/glib-2.0.m4: subst GLIB_GENMARSHAL, GOBJECT_QUERY,
      	GLIB_MKENUMS variables
      
      	* gmodule-2.0.pc.in: add gmodule_supported variable
      
      	* glib-2.0.pc.in: add glib_genmarshal, gobject_query,
      	glib_mkenums variables
      
      	* configure.in: put G_MODULE_SUPPORTED value into
      	.pc files
      
      	* autogen.sh: support AUTOGEN_SUBDIR_MODE
      
      	* Makefile.am: add -uninstalled.pc.in to EXTRA_DIST
      
      2001-06-07  Havoc Pennington  <hp@redhat.com>
      
      	* pango/Makefile.am: add libpango.la to _DEPENDENCIES for the
      	other libs
      
      	* configure.in: use AM_PATH_GLIB_2_0
      
      	* autogen.sh: support AUTOGEN_SUBDIR_MODE
      
      	* Makefile.am: dist the .pc.in files
      
      2001-06-07  Havoc Pennington  <hp@redhat.com>
      
      	* atk/Makefile.am: use @GLIB_GENMARSHAL@ so we can use uninstalled
      	glib-genmarshal
      
      	* configure.in: rearrange the library checks to support
      	uninstalled linking
      
      	* autogen.sh: add support for AUTOGEN_SUBDIR_MODE
      
      	* atk-uninstalled.pc.in: new file, allows linking to uninstalled
      	ATK in giant GTK tarball
      
      2001-06-07  Havoc Pennington  <hp@redhat.com>
      
      	* tests/Makefile.am: add missing -I flag
      
      	* gtk/Makefile.am: use @GLIB_MKENUMS@, @GLIB_GENMARSHAL@, etc.
      
      	* configure.in: use pkg-config to see if GModule is
      	supported; fix to properly turn on included loaders
      	when GModule isn't supported; don't use AC_CHECK_LIB
      	when libs are not installed yet
      
      	* autogen.sh: add support for AUTOGEN_SUBDIR_MODE
      
      	* Makefile.am (SUBDIRS): add m4macros subdir
      
      	* gtk/Makefile.am: $(srcdir)/foo targets must be $(srcdir)/foo in
      	dependencies also.
      5aba82da
  3. 04 Jun, 2001 1 commit
  4. 29 May, 2001 1 commit
    • Owen Taylor's avatar
      Use $PKG_CONFIG, not pkg-config. (#51032) · b6dde326
      Owen Taylor authored
      Tue May 29 17:40:29 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* configure.in (GTK_DEP_CFLAGS): Use $PKG_CONFIG,
      	not pkg-config. (#51032)
      
      	* gdk/gdkproperty.h: Remove inappropriate G_GNUC_CONST
      	(fixes #51952, James Henstridge)
      b6dde326
  5. 21 May, 2001 1 commit
  6. 20 May, 2001 1 commit
    • Owen Taylor's avatar
      Start checks for X from pangox/pangoxft CFLAGS to avoid duplicate · 6144752d
      Owen Taylor authored
      Sun May 20 13:59:20 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* configure.in: Start checks for X from pangox/pangoxft
      	CFLAGS to avoid duplicate libraries.
      
      	* gdk/Makefile.am (LDFLAGS): Remove extra -lm.
      
      	* configure.in (GDK_PIXBUF_PACKAGES): Fix GDK_PIXBUF_PACKAGES
      	to include gobject.
      6144752d
  7. 18 May, 2001 1 commit
    • Owen Taylor's avatar
      Remove reallocate-redraws property. This is something that only a widget · 50512ddc
      Owen Taylor authored
      Fri May 18 14:25:20 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkcontainer.c: Remove reallocate-redraws property.
      	This is something that only a widget writer would ever want
      	to change.
      
      	* gtk/gtksignal.c: Handle G_SIGNAL_TYPE_STATIC_SCOPE for
      	gtk_signal_emit_by_name().
      
      	* gtk/gtkviewport.c: Fix some warnings.
      
      	* gtk/gtkwidget.c gtk/gtksizegroup.c: Add "size group" facility
      	allowing the requisitions of multiple widgets to be grouped
      	together.
      
      	* tests/testgtk.c: Add GtkSizeGroup test
      
      	* demos/gtk-demo/sizegroup.c: Add GtkSizeGroup demo.
      
      	* demos/gtk-demo/main.c demos/gtk-demo/pixbufs.c: Fix some
      	warnings.
      
      	* configure.in: Switch to using AM_GLIB_GNU_GETTEXT.
      50512ddc
  8. 07 May, 2001 1 commit
    • Havoc Pennington's avatar
      fix some shell typos · b4e4a0ed
      Havoc Pennington authored
      2001-05-04  Havoc Pennington  <hp@redhat.com>
      
      	* configure.in: fix some shell typos
      
      	* gtk/gtkcolorsel.c (gtk_color_selection_destroy): warning fix
      
      	* gtk/gtkimage.c: handle animations
      
      	* gtk/gtkcheckbutton.c (gtk_check_button_size_request): request
      	border_width * 2, not just border_width
      
      	* gtk/gtkscale.c: add "format_value" signal to allow people
      	to override the way values are drawn.
      	(gtk_scale_get_value_size): fix width/height mistake,
      	and compute size from actual displayed text, not
      	from made-up text.
      
      	* gtk/gtktexttag.c (gtk_text_tag_class_init): fix return type in
      	signal registration
      
      	* tests/testtext.c: Add "Remove all tags" menu item for testing
      
      	* gtk/gtktextbuffer.c (gtk_text_buffer_remove_all_tags): implement
      
      	* demos/gtk-demo/main.c (main): add hack so we can find modules
      	without installing gtk
      
      	* demos/gtk-demo/textview.c (insert_text): demo font scaling
      
      	* gtk/gtkcellrenderertext.c: Add "scale" property (font scaling
      	factor)
      	(gtk_cell_renderer_text_set_property): remove some bogus
      	g_object_notify
      
      	* gtk/gtktexttag.c: add "scale" property which is a font scaling
      	factor
      
      	* gtk/gtktextlayout.c (add_text_attrs): add font scale attribute
      	to layout
      
      	* gtk/gtktextiter.c (gtk_text_iter_is_start): rename from
      	gtk_text_iter_is_first
      
      2001-05-04  Havoc Pennington  <hp@redhat.com>
      
      	* pixops/pixops.c (pixops_process): merge fix from stable: Patch
      	 from hoshem@mel.comcen.com.au to fix nonzero X offsets.  Fixes
      	 bug #50371.
      
              * gdk-pixbuf/pixops/pixops.c (pixops_composite_nearest): merge
      	from stable: Patch from OKADA Mitsuru <m-okada@fjb.co.jp> to fix
      	confusion of using "src" instead of "p".
              (pixops_composite_color_nearest): Use a more accurate (and
      	correct, to begin with) compositing method.  This cures checks
      	showing through on images with no alpha.
      
      	* gdk-pixbuf.c (gdk_pixbuf_fill): fix bug that left some trailing
      	bytes unfilled.
      
      	* gdk-pixbuf-io.h: fix UpdatedNotifyFunc to use signed ints
      
      	* gdk-pixbuf-loader.h (struct _GdkPixbufLoaderClass): Change
      	area_updated signal to use signed ints.  Removed animation-related
      	signals.
      
      	* io-gif.c, io-gif-animation.h, io-gif-animation.c: Massive
      	rewrite action
      
      	* gdk-pixbuf-animation.c: Add GdkPixbufAnimationIter to abstract
      	all the pesky details. Remove old frame-based API. Make
      	GdkPixbufAnimation an abstract base class, derived by the loaders.
      b4e4a0ed
  9. 05 May, 2001 1 commit
    • Owen Taylor's avatar
      Release 1.3.5 · bd7502f9
      Owen Taylor authored
      Sat May  5 10:06:24 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* Release 1.3.5
      
      	* configure.in (GTK_MICRO_VERSION): Up to 1.3.5
      
              * NEWS: Updated
      
      	* demos/gtk-demo/Makefile.am (EXTRA_DIST): Fix minor
      	Makefile breakage.
      bd7502f9
  10. 03 May, 2001 1 commit
    • Owen Taylor's avatar
      Add dependency on Atk for accessibility support. · 42cc312d
      Owen Taylor authored
      Thu May  3 14:13:49 2001  Owen Taylor  <otaylor@redhat.com>
      
              * INSTALL.in HACKING gtk/gtkaccessible.[ch] gtk/gtk.c: Add
      	dependency on Atk for accessibility support.
      
      	* configure.in **/Makefile.am: Major reworking of substituted
      	variables for CFLAGS/LIBS to make a lot more sane and
      	keep the the compile/link lines a bit shorter.
      
      	* gdk/x11/gdkkeys-x11.c: Fix #endif with trailing stuff.
      42cc312d
  11. 26 Apr, 2001 1 commit
    • Owen Taylor's avatar
      Remove deprecation of gtk_window_set_default_size() until patch adding · 604828e8
      Owen Taylor authored
      Thu Apr 26 10:40:41 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkwindow.h: Remove deprecation of gtk_window_set_default_size()
      	until patch adding gtk_window_set_size() is recommitted.
      
      	* **Makefile.am configure.in gdk/x11/gdkim-11.c
      	  gtk/gtkmain.c gtk/gtkimmulticontext.c gtk/gtkmain.c
      	  gtk/gtkrc.c: Remove all traces of -DX_LOCALE support.
      	  (#10784)
      604828e8
  12. 17 Apr, 2001 2 commits
    • Owen Taylor's avatar
      Released 1.3.4 · 45a37d02
      Owen Taylor authored
      Tue Apr 17 18:05:34 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* Released 1.3.4
      
      	* NEWS: Updated
      
      	* gtk/gtktextview.c (gtk_text_view_class_init): Fix to not
      	use GTK_TYPE_ENUM.
      45a37d02
    • Owen Taylor's avatar
      Don't put -lgthread in GLIB_LIBS, GLIB_DEPLIBS · eced7172
      Owen Taylor authored
      Tue Apr 17 13:47:12 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* configure.in: Don't put -lgthread in GLIB_LIBS, GLIB_DEPLIBS
      
      	* gtk/gtktypeutils.h gtk/gtksignals.h: Restore proper parameter
      	names to compatibility #defines so docs work.
      
      	* gtk/gtkenums.h: Remove GtkMenuFactoryType
      
      	* gtk/gtkwindow.c gtk/gtkdnd.c: Docs cleanups.
      
      	* configure.in: Don't include -lgthread in GLIB_LIBS, GLIB_DEPLIBS
      
      	* tests/testgtkrc: No magenta cursors, please.
      
      	* README.in INSTALL.in HACKING README.cvs-commits: Updated.
      
      	* gtk/gtkenums.h (enum): Remove left over GtkMenuFactoryType.
      eced7172
  13. 09 Apr, 2001 1 commit
  14. 04 Apr, 2001 1 commit
    • Tim Janik's avatar
      stay in builddir and read/write files to/from source dir. (if we don't · 2423d86b
      Tim Janik authored
      Wed Apr  4 04:13:18 2001  Tim Janik  <timj@gtk.org>
      
              * gtk/stock-icons/Makefile.am: stay in builddir and read/write
              files to/from source dir. (if we don't stay in builddir, we
              can't reach make-inline-pixbuf.
      
              * gdk/Makefile.am (gdkenumtypes.c): add $(srcdir) to mekeenums.pl
              deps.
      
              * configure.in (GTK_MICRO_VERSION): up and away (1.3.3 bin/interface
              ages 0).
      
      Wed Apr  4 01:26:04 2001  Tim Janik  <timj@gtk.org>
      
              * gdk-pixbuf/Makefile.am: disabled "for i in $(HTML_IMAGES) ;"
              dist-hook because $(HTML_IMAGES) is empty.
              * gtk/Makefile.am: same here.
              * gdk/Makefile.am: same here. touched gdk.types since make rules
              require it ;(
      
      Wed Apr  4 01:41:02 2001  Tim Janik  <timj@gtk.org>
      
              * pixops/Makefile.am (noinst_LTLIBRARIES): include $top_srcdir
              so we don't try to get <gtk/gtkobject.h> from standard search
              paths.
      
              * Makefile.am (gdk-pixbuf-marshal.c): use deps from srcdir.
              add gdk-pixbuf-marshal.list to EXTRA_DIST.
              take gdk-pixbuf-marshal.h out of _la sources.
      2423d86b
  15. 03 Apr, 2001 1 commit
    • Owen Taylor's avatar
      Updated. · af5c897e
      Owen Taylor authored
      Tue Apr  3 13:55:37 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* NEWS: Updated.
      
      	* configure.in: Remove support for uninstalled glib.
      
      	* gtk/gtkdnd.c (gtk_drag_highlight_expose): Return FALSE as
      	so as not to stop emission.
      
      	* gtk-config-2.0.in: Exit with an error message that gtk-config-2.0
      	is no longer supported.
      
      	* Makefile.am gtk/Makefile.am tests/*: Moved all tests
      	into tests, change build order to build modules before
      	gtk/.
      
      	* modules/input/Makefile.am: Move gtk-query-immodules-2.0 invocation
      	to here.
      af5c897e
  16. 15 Mar, 2001 2 commits
    • Havoc Pennington's avatar
      Delete. · 872efdd9
      Havoc Pennington authored
      2001-03-14  Havoc Pennington  <hp@redhat.com>
      
              * gtk/gtkdata.h, gtk/gtkdata.c: Delete.
      
      	* gtk/gtk.h: remove gtkdata.h
      
      	* gtk/Makefile.am: remove gtkdata
      
      	* gtk/gtktext.c (gtk_text_set_adjustments): connect to "destroy"
      	not "disconnect" on the adjustments.
      
      	* gtk/gtktooltips.h, gtk/gtktooltips.c: derive from GtkObject not
      	GtkData
      
      	* gtk/gtkadjustment.h, gtk/gtkadjustment.c: derive from GtkObject
      	not GtkData
      
      	* configure.in: handle case where X render exists, but Pango lacks
      	Xft support.
      
      2001-03-14  Havoc Pennington  <hp@redhat.com>
      
      	* Makefile.am (gdk-pixbuf-marshal.c): Use different temporary file
      	from gdk-pixbuf-marshal.h, fixes parallel makes.
      
      2001-03-14  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtk-docs.sgml: remove gtkdata, gtktreemodelsimple
      
      	* gtk/gtk.types: remove gtk_data_get_type
      872efdd9
    • Pablo Saratxaga's avatar
      updated Azeri file Added Nynorsk and Vietnamese from the 1.2 branch · 549537e6
      Pablo Saratxaga authored
      updated Azeri file
      Added Nynorsk and Vietnamese from the 1.2 branch
      549537e6
  17. 13 Feb, 2001 1 commit
    • Owen Taylor's avatar
      Remove gdkcc.h reference. · 41b2d039
      Owen Taylor authored
      Mon Feb 12 23:43:30 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/Makefile.am (gdk_headers): Remove gdkcc.h
      	reference.
      
      	* configure.in gtk/gtkmain.c: Add checks for setuid/setgid,
      	and refuse to initialize GTK+ if they fail.
      
      Mon Feb 12 15:02:07 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* configure.in: Add check for gtk-doc version.
      
      Thu Feb  8 17:18:26 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtklabel.c (gtk_label_size_request): Fix bug
      	where the xpad/ypad was only being used on one side!
      41b2d039
  18. 03 Feb, 2001 1 commit
    • Owen Taylor's avatar
      Remove confusing comment about X11. · d3e4e592
      Owen Taylor authored
      Sat Feb  3 11:28:03 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* configure.in: Remove confusing comment about X11.
      
      Fri Feb  2 19:21:23 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gdk/gdkwindow.c (gdk_propagate_shapes): Surround additional
      	regions with HAVE_SHAPE_EXT. (#50511, Eric Ding)
      
      Fri Feb  2 18:31:54 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gdk/x11/gdkimage-x11.c: Remove definition of _XOPEN_SOURCE, since
      	it breaks things on BSD. If you want to compile GTK+ with
      	-ansi -pedantic, you should supply CPP_FLAGS=_XOPEN_SOURCE
      	when configuring, since GTK+ simply can't be "pure ANSI"
      	in the header files it uses. (#8170, Greg Hudson)
      d3e4e592
  19. 26 Jan, 2001 1 commit
    • Havoc Pennington's avatar
      adapt to handle PangoColor · ef4356b5
      Havoc Pennington authored
      2001-01-26  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtktextlayout.c (convert_color): adapt to handle PangoColor
      
      	* gtk/gtktreeview.c (gtk_tree_view_widget_to_tree_coords): fix to
      	not offset by TREE_VIEW_HEADER_HEIGHT
      	(gtk_tree_view_tree_to_widget_coords): fix to not offset by
      	TREE_VIEW_HEADER_HEIGHT
      
      	* configure.in (included_loaders): for me, --with-included-loaders
      	generates the error "the specified loader yes does not exist",
      	i.e. the arg defaults to "yes", so change test for value ""
      	to test for value "yes", and include all loaders in that case.
      
      	* gtk/gtkrbtree.c (_gtk_rbtree_get_depth): new function
      
      	* gtk/gtktreeview.c (gtk_tree_view_get_cell_rect): fix to properly
      	handle TREE_VIEW_VERTICAL_SEPARATOR
      	(gtk_tree_view_bin_expose): fix to consider the row offset as
      	pointing halfway into vertical separator.
      	(gtk_tree_view_draw_node_focus_rect): ditto
      
      	* gtk/gtkdebug.h, gtk/gtkmain.c (gtk_init_check): Add
      	--gtk-debug=updates, which causes gdk_window_set_debug_updates
      	(TRUE) to be called.
      
      	* gdk/gdkwindow.c (gdk_window_set_debug_updates): Allow enabling a
      	debug mode where the invalid region is colored in on invalidate,
      	so you can see the flicker and know whether your redraw code is
      	doing a good job.
      
      	* gtk/gtktreeview.c (gtk_tree_view_queue_draw_node): Work in
      	tree window coordinates (clip rect is in tree window coords)
      
      	* gtk/Makefile.am: add gtktreednd.[hc]
      
      	* gtk/gtkliststore.c: implement gtktreednd interfaces.
      
      	* gtk/gtktreednd.c, gtk/gtktreednd.h: New interface to support
      	drag-and-drop data operations on a model (so we can set up tree
      	drag-and-drop automatically)
      
      	* gtk/testgtk.c: Add a window to change sensitivity in the
      	GtkLabel test; add a way to change the entry frame in GtkEntry
      	test
      
      	* gtk/gtkentry.c (gtk_entry_set_has_frame):
      	(gtk_entry_get_has_frame): new functions to remove the frame
      	around an entry
      	(gtk_entry_size_request): shrink requisition if no frame
      	(gtk_entry_draw_focus): don't draw frame if no frame
      
      	* gtk/gtkstyle.c (gtk_default_draw_check): draw custom look for
      	checks inside a cell renderer
      	(gtk_default_draw_option): ditto for options
      
      	* gtk/gtktreeviewcolumn.c (update_button_contents): add/remove
      	children from the alignment, not the button
      	(gtk_tree_view_column_init): ref/sink the column, to emulate
      	GObject refcounting.
      
      	* gtk/gtkcellrenderer.c (gtk_cell_renderer_init): ref/sink
      
      	* gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_render):
      	Use theme functions to draw the toggles
      
      	* gdk/gdkpango.c (gdk_pango_get_gc): use GdkRGB to alloc colors
      
      	* gdk/gdkpango.h, gdk/gdkpango.c: Add GdkPangoAttrStipple and
      	GdkPangoAttrEmbossed to use in rendering insensitive text
      
      	* gdk/gdkpango.c (gdk_draw_layout_line): render new properties
      
      	* gtk/gtkstyle.c (gtk_default_draw_layout): handle sensitivity
      	using new GDK features
      ef4356b5
  20. 19 Jan, 2001 1 commit
    • Havoc Pennington's avatar
      sync to tree changes · e248e4e7
      Havoc Pennington authored
      2001-01-19  Havoc Pennington  <hp@redhat.com>
      
      	* demos/gtk-demo/main.c (button_press_event_cb): sync to tree changes
      
      	* gtk/gtkrbtree.c (_gtk_rbtree_node_find_offset): fix this
      	function
      
      	* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_widget):
      	implement
      
      	* gtk/gtktreeview.c (gtk_tree_view_move_to): rename
      	scroll_to_cell, matches TextView scroll functions better
      	(gtk_tree_view_tree_to_widget_coords): new function
      	(gtk_tree_view_widget_to_tree_coords): new function
      	(gtk_tree_view_get_visible_rect): new function
      	(gtk_tree_view_get_path_at_pos): accept negative coordinates
      	(gtk_tree_view_draw_node_focus_rect): new function moved from
      	draw_focus, also, use width of bin_window as width of the focus
      	rect
      	(gtk_tree_view_expand_row): fix bug where it didn't recognize
      	already-expanded rows
      	(gtk_tree_view_get_cell_rect): new function
      	(gtk_tree_view_get_path_at_pos): return the click position
      	relative to the passed-in cell
      	(gtk_tree_view_set_expander_column): new function
      
      	* configure.in: remove gtk-config-2.0 chmod
      
      	* gtk/gtktextview.c (gtk_text_view_drag_motion): small cleanups,
      	and properly handle drags with targets we don't understand
      	(gtk_text_view_drag_end): don't stop scrolling, the source isn't
      	scrolling anyway
      	(gtk_text_view_drag_drop): stop scrolling here though, and set the
      	mark invisible
      
      	* gtk/gtkdnd.c (gtk_drag_dest_find_target): export as a public
      	function
      	(gtk_drag_dest_get_target_list): new function
      	(gtk_drag_dest_set_target_list): new function
      
      	* gtk/gtktreeview.c: Add a bunch of drag-and-drop implementation
      
      	* gtk/gtktreeprivate.h (struct _GtkTreeViewPrivate): add fields
      	related to drag-and-drop
      e248e4e7
  21. 17 Jan, 2001 1 commit
    • Tor Lillqvist's avatar
      gtk/gtkmain.c Use the new · 576ef7f2
      Tor Lillqvist authored
      2001-01-18  Tor Lillqvist  <tml@iki.fi>
      
      	* gtk/gtkmain.c
      	* gtk/gtkrc.c: (Win32) Use the new
      	g_win32_get_package_installation_(sub)directory() functions.
      
      	* config.h.win32.in: New file.
      
      	* config.h.win32: Removed.
      
      	* configure.in: Output config.h.win32.
      
      	* Makefile.am: Add it to EXTRA_DIST.
      
      	* gtk/gtk.def: Update.
      
      2001-01-16  Tor Lillqvist  <tml@iki.fi>
      
      	* gdk/win32/gdkwindow-win32.c (gdk_window_show, gdk_window_hide):
      	Eliminate redraws when input-only windows are shown or
      	hidden. Thanks to jpe@archaeopteryx.com.
      
      2001-01-18  Tor Lillqvist  <tml@iki.fi>
      
      	* gdk-pixbuf-io.c (get_libdir): (Win32) Use the new
      	g_win32_get_package_installation_subdirectory() function.
      	(gtk_win32_get_installation_directory): Remove this then.
      576ef7f2
  22. 11 Jan, 2001 1 commit
    • Alexander Larsson's avatar
      Added ENABLE_SHADOW_FB · b29eece8
      Alexander Larsson authored
      2001-01-11  Alexander Larsson  <alexl@redhat.com>
      
      	* acconfig.h:
      	Added ENABLE_SHADOW_FB
      
      	* configure.in:
      	Added --disable-shadowfb
      
      	* gdk/linux-fb/gdkcursor-fb.c:
      	Update shadowfb when updating cursor
      
      	* gdk/linux-fb/gdkdrawable-fb2.c:
      	Added wrappers for shadowfb that calls 	the normal drawable
      	methods, but calls gdk_shadow_fb_update(bounding box) when
      	GdkWindows are drawed to.
      	Moved gdk_draw_glyphs implementation to _gdk_draw_glyphs
      	which also returns the bounding box.
      
      	* gdk/linux-fb/gdkfb.h:
      	Added GdkFBAngle type and gdk_fb_set_rotation declaration.
      
      	* gdk/linux-fb/gdkgeometry-fb.c:
      	Update shadowfb when scrolling window.
      
      	* gdk/linux-fb/gdkglobals-fb.c:
      	Add _gdk_fb_screen_angle.
      
      	* gdk/linux-fb/gdkkeyboard-fb.c:
      	Test code for screen rotation. Shift-F2 in the xlate driver
      	rotates the screen.
      
      	* gdk/linux-fb/gdkmain-fb.c:
      	Handle shadowfb. Add gdk_fb_set_rotation(). Remove CM and RP.
      
      	* gdk/linux-fb/gdkmouse-fb.c:
      	Use fb_width/height instead of modeinfo.xres/yres.
      
      	* gdk/linux-fb/gdkprivate-fb.h:
      	Added fb_men, fb_width, fb_height & fb_stride. When using
      	shadow fb these can differ from the framebuffer stuff.
      	Declarations for gdk_shadow_fb_update, gdk_shadow_fb_init,
      	gdk_shadow_fb_stop_updates, gdk_fb_recompute_all,
      	_gdk_fb_screen_angle. Removed CM, RP.
      
      	* gdk/linux-fb/gdkrender-fb.c:
      	Added code for shadowfb handling and screen rotation using
      	shadowfb.
      
      	* gdk/linux-fb/gdkwindow-fb.c:
      	Use fb_mem, fb_stride, fb_width, fb_height.
      	Added recompute_rowstride to reset the rowstride of all windows.
      	Added gdk_fb_recompute_all() which recomputes rootwindow size,
      	window abs positions and window rowstrides. Usefull when the
      	rotation has changed.
      b29eece8
  23. 09 Jan, 2001 1 commit
    • Alexander Larsson's avatar
      Added --with-included-loaders option · 7e3eadd6
      Alexander Larsson authored
      2001-01-09  Alexander Larsson  <alla@lysator.liu.se>
      
      	* configure.in:
      	Added --with-included-loaders option
      
      	* gdk-pixbuf/Makefile.am:
      	* gdk-pixbuf/gdk-pixbuf-io.c:
      	Add support for including selected gdk-pixbuf loaders only.
      
      	* gtk/gtkwindow.c (gtk_window_set_frame_dimensions,
      	gtk_window_set_has_frame):
      	Added inline documentation.
      
      	* gdk/x11/gdkwindow-x11.c (gdk_window_get_decorations):
      	* docs/reference/gdk/tmpl/windows.sgml:
      	Added inline documentation.
      7e3eadd6
  24. 04 Jan, 2001 1 commit
    • Havoc Pennington's avatar
      Adapt to uscore-ification of gtktextiterprivate · c7826b5f
      Havoc Pennington authored
      2001-01-03  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtktextbtree.c: Adapt to uscore-ification of gtktextiterprivate
      
      	* gtk/gtktextdisplay.c (gtk_text_layout_draw): remove use
      	of private functions; remove inclusion of private headers.
      
      	* gtk/gtktextlayout.c (gtk_text_layout_get_iter_at_line): Add this
      	function, so we don't need private functions in gtktextdisplay.c
      
      	* gtk/gtktextiterprivate.h: underscore-ification
      
      	* gtk/gtkwidget.c: Clean up a bunch of docs that said "INTERNAL"
      	to instead say "only useful to implement widgets"
      
      	* gtk/gtkenums.h (GtkMovementStep): Rename GTK_MOVEMENT_CHARS,
      	GTK_MOVEMENT_POSITIONS to GTK_MOVEMENT_LOGICAL_POSITIONS,
      	GTK_MOVEMENT_VISUAL_POSITIONS. Resolves bug 40249.
      
      	* gdk/x11/gdkwindow-x11.c (gdk_window_impl_x11_set_colormap):
      	This function was completely broken
      
      	* gtk/testtext.c (line_numbers_expose): use gtk_paint_layout
      
      	* gtk/gtkvscale.c (gtk_vscale_draw_value): use gtk_paint_layout
      
      	* gtk/gtkvruler.c (gtk_vruler_draw_ticks): use gtk_paint_layout
      
      	* gtk/gtklabel.c (gtk_label_expose): use gtk_paint_layout
      
      	* gtk/gtkhscale.c (gtk_hscale_draw_value): use gtk_paint_layout
      
      	* gtk/gtkhruler.c (gtk_hruler_draw_ticks): use gtk_paint_layout
      
      	* gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_render): use
      	gtk_paint_layout
      
      	* gtk/gtkaccellabel.c (gtk_accel_label_expose_event): use
      	gtk_paint_layout
      
      	* gtk/gtkstyle.h: Add draw/paint expander to draw tree expanders.
      	Progress on bug 40103. Add draw_layout to draw a PangoLayout.
      	(struct _GtkStyleClass): Remove draw_cross, draw_oval, draw_ramp,
      	which were not implemented.
      
      	* gtk/gtktextbuffer.h (struct _GtkTextBufferClass): Add
      	insert_pixbuf signal. Rename delete_text to delete_range since it
      	also deletes pixbufs and child anchors. This almost closes bug
      	40245 (still need to deal with child anchors)
      
      	* gtk/gtktextbuffer.c (gtk_text_buffer_class_init): Add
      	insert_pixbuf, change signal names as appropriate, change types of
      	signals taking marks/tags to have the specific type, not just
      	G_TYPE_OBJECT
      
      	* gtk/gtkmain.c (gtk_get_current_event_state): Add this function;
      	closes bug 40051
      
      	* gtk/gtkoptionmenu.c (gtk_option_menu_set_history): clean up
      	unnecessary remove_contents() call
      	(gtk_option_menu_class_init): add a "changed" signal, closes
      	bug 40039
      	(gtk_option_menu_update_contents): emit "changed" if the
      	active menu item changes
      
      	* gtk/gdk-pixbuf-loader.c (gdk_pixbuf_loader_frame_done): fix bad
      	cast to GtkObject, reported by Jonas Borgstrom
      	(gdk_pixbuf_loader_finalize): don't close the loader on finalize;
      	we can't do stuff with side effects in finalize. Instead, spew a
      	warning if the loader isn't closed.
      
      	* gdk/x11/gdkdrawable-x11.c (gdk_drawable_impl_x11_finalize): free
      	colormap in here, non-X ports probably need to sync to this change
      
      	* gdk/x11/gdkdrawable-x11.c (gdk_x11_set_colormap): remove
      	assertion that colormap != NULL, you can set the colormap to NULL
      	if you like.
      
      	* Makefile.am: remove gtk-config-2.0
      
      	* configure.in: Use pkg-config to locate GLib. Remove
      	separated-out GMODULE_LIBS, GMODULE_CFLAGS; these were not used,
      	and the gmodule libs/cflags were in GLIB_LIBS GLIB_CFLAGS anyhow.
      	Use pkg-config to locate Pango. Output correct Pango libs to
      	gdk-2.0.pc.in. Fix test for FREETYPE_CONFIG (typo fix).
      
      	* Makefile.am (pkgconfig_DATA): install only target-specific pc
      	files
      	(install-data-local): symlink gtk+-2.0.pc and gdk-2.0.pc to the
      	X11 pc files
      
      	* gtk+-2.0.pc.in (Requires): require the GDK for the current target
      	unref from here
      c7826b5f
  25. 03 Jan, 2001 1 commit
  26. 02 Jan, 2001 1 commit
    • Havoc Pennington's avatar
      Havoc Pennington <hp@redhat.com> · a7aa33f1
      Havoc Pennington authored
      	* gtk/Makefile.am (LDFLAGS): add @LIBTOOL_EXPORT_OPTIONS@
      
      	* gdk/Makefile.am (LDFLAGS): add @LIBTOOL_EXPORT_OPTIONS@
      
      	* configure.in (LIBTOOL_EXPORT_OPTIONS): define
      	LIBTOOL_EXPORT_OPTIONS with options to control symbol export
      a7aa33f1
  27. 21 Dec, 2000 2 commits
    • Alexander Larsson's avatar
      For linux-fb get the pangoft2 cflags and libs. This needs a recent pango · a92170b6
      Alexander Larsson authored
      2000-12-21  Alexander Larsson  <alexl@redhat.com>
      
      	* configure.in:
      	For linux-fb get the pangoft2 cflags and libs. This needs a recent
      	pango version.
      	Remove modules/linux-fb/Makefile.
      
      	* gdk/linux-fb/gdkdrawable-fb2.c:
      	Render glyphs using freetype.
      
      	* gdk/linux-fb/gdkfb.h:
      	Add new fb-specific functions needed for managing windows.
      
      	* gdk/linux-fb/gdkmain-fb.c:
      	Remove gdk_font_init/fini() calls.
      
      	* gdk/linux-fb/gdkpango-fb.c:
      	Remove old implementation. Use pangoft2 instead.
      
      	* gdk/linux-fb/gdkprivate-fb.h:
      	Remove PangoFBFont and related stuff.
      
      	* gdk/linux-fb/gdkwindow-fb.c:
      	Implement drawable->get_visible_region.
      	Implement support for _gdk_window_set_child_handler () and
      	_gdk_window_get_decorations().
      
      	* modules/Makefile.am:
      	Remove linux-fb subdir.
      
      	* modules/linux-fb/*:
      	Removed all.
      a92170b6
    • Havoc Pennington's avatar
      new directory to contain tests, gtk/test* should move here sometime (with · f00175cf
      Havoc Pennington authored
      2000-12-20  Havoc Pennington  <hp@redhat.com>
      
      	* tests: new directory to contain tests, gtk/test* should move
      	here sometime (with appropriate on-cvs-server hackery)
      
      	* tests/testtreeview.c, tests/Makefile.am: a test
      
      	* configure.in (AC_OUTPUT): add tests/Makefile
      
      	* gtk/gtktexttag.c (gtk_text_tag_get_property): Add "invisible"
      	and "invisible_set" which were missing
      
      	* gtk/gtkrbtree.h: some cheesy indentation fix
      f00175cf
  28. 20 Dec, 2000 1 commit
    • Owen Taylor's avatar
      Check for FreeType using freetype-config, since we can't rely on Xft to · c7755bc9
      Owen Taylor authored
      Tue Dec 19 23:47:27 2000  Owen Taylor  <otaylor@redhat.com>
      
      	* configure.in gdk/x11/Makefile.am: Check for FreeType
      	using freetype-config, since we can't rely on Xft
      	to pull in the libraries for us, or rely on it being
      	in the default include path first.
      
      	* gtk/gtkframe.c: Fix some problems where the gap wasn't
      	being drawn in the right place, especially for right-aligned
      	frame labels.
      
      Thu Dec 14 21:02:59 2000  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkfontsel.c (gtk_font_selection_select_font): Update
      	the font_name entry as needed.
      c7755bc9
  29. 15 Dec, 2000 2 commits
    • Havoc Pennington's avatar
      only AC_DEFINE(HAVE_XFT) if we actually determined that we have Xrender · 9d41afc9
      Havoc Pennington authored
      2000-12-14  Havoc Pennington  <hp@pobox.com>
      
      * configure.in: only AC_DEFINE(HAVE_XFT) if we actually determined
      that we have Xrender
      9d41afc9
    • Owen Taylor's avatar
      Add two virtualized functions gdk_drawable_get_clip_region - to get the · 6e5a269f
      Owen Taylor authored
      Thu Dec 14 20:22:31 2000  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/{gdkdrawable.[ch],gdkpixmap.c,gdkwindow.c,x11/gdkwindow.c}:
      	Add two virtualized functions gdk_drawable_get_clip_region - to
      	get the clip region when drawing.
      
      	* gdk/gdkwindow.c (gdk_window_invalidate_rect): Rewrite to simple
      	use invalidate_region.
      
      	* gdk/gdkwindow.c (gdk_window_invalidate_region): Clip to visible
      	region.
      
      	* acconfig.h configure.in: Check for Xft. For now, assume
      	that if Xft is found, Pango was compiled with Xft support
      	as well.
      
      	* gdk/gdkcolor.h gdk/x11/gdkcolor-x11.c: Add
      	gdk_colormap_query_color().
      
      	* gdk/x11/gdkdrawable-x11.c (gdk_x11_draw_glyphs): Draw
      	with Xft if appropriate.
      
      	* gdk/x11/gdkpango-x11.c (gdk_pango_context_get): Create
      	a pangoxft context if we have XFT and the environment
      	variable GD_USE_XFT is set.
      
      	* gdk/x11/gdkx.h (struct _GdkGCX11): Cache the fg_pixel
      	and also possibly an XftDraw structure.
      
              * gtk/gtkfontsel.c: Handle the case where the font from the
      	style doesn't match any of the fonts a bit better.
      
      	* gtk/testgtk.c: Add tabs between directional segments for
      	hebrew/arabic test. (Not really necessary, just a little
      	prettier.)
      6e5a269f
  30. 08 Dec, 2000 1 commit
  31. 06 Dec, 2000 2 commits
    • Elliot Lee's avatar
      Detect freetype properly Make use of above. · 89709dd1
      Elliot Lee authored
      
      
      * configure.in: Detect freetype properly
      * modules/basic/Makefile.am, gdk/linux-fb/Makefile.am: Make use of above.
      89709dd1
    • Havoc Pennington's avatar
      add gdkkeys.[hc] · 36aac017
      Havoc Pennington authored
      2000-12-03  Havoc Pennington  <hp@pobox.com>
      
      * gdk/Makefile.am: add gdkkeys.[hc]
      
      * gdk/gdkkeys.h, gdk/gdkkeys.c: Move all the keyval stuff to these
      files from gdk.h, gdk.c; add GdkKeymap type and operations on it.
      
      * acconfig.h, configure.in: add checks and command line options
      for XKB
      
      * gdk/x11/gdkkeys-x11.c: Implement the above functions
      
      * gdk/x11/gdkevents-x11.c (gdk_event_translate): Put the keycode
      and group in the key event
      
      * gdk/gdkevents.h (struct _GdkEventKey): Add a hardware_keycode
      field with the low-level hardware key code, and a group
      field with the keyboard group
      
      * gdk/x11/gdkprivate-x11.h: include config.h for HAVE_XKB,
      and declare a couple globals used for keymap handling
      
      * gtk/gtkimcontextsimple.c: Implement ISO 14755 input method,
      hold down Shift-Control and type a hex number to get a Unicode
      character corresponding to the hex number
      (gtk_im_context_simple_get_preedit_string): Fix cursor position
      (return bytes not chars)
      36aac017
  32. 14 Nov, 2000 3 commits
    • Tor Lillqvist's avatar
      Rename gtk/gtk.rc.in to gtk/gtk-win32.rc.in because the build-dll · 2d24862f
      Tor Lillqvist authored
      script (in GLib) looks for the resource file having the same basename
      as the DLL being built. Update configure.in and gtk/Makefile.am accordingly.
      2d24862f
    • Tor Lillqvist's avatar
      Remove. New file. New file Corresponding changes. · 8a26c540
      Tor Lillqvist authored
      2000-11-15  Tor Lillqvist  <tml@iki.fi>
      
      	* gdk/win32/rc/gdk.rc: Remove.
      	* gdk/win32/rc/gdk.rc.in: New file.
      	* gdk/win32/rc/Makefile.am: New file
      	* gdk/win32/Makefile.am: Corresponding changes.
      
      	* gtk/gtk.rc: Remove.
      	* gtk/gtk.rc.in: New file.
      	* gtk/Makefile.am: Corresponding changes.
      
      	* configure.in: Corresponding changes.
      8a26c540
    • Owen Taylor's avatar
      Fix srcdir != builddir · c879883d
      Owen Taylor authored
      Mon Nov 13 14:43:48 2000  Owen Taylor  <otaylor@redhat.com>
      
      	* demos/Makefile.am (test-inline-pixbufs.h): Fix srcdir != builddir
      
      	* gtk/Makefile.am (INCLUDES): Add -I$(builddir)/gtk
      
      	* gtk/stock-icons/Makefile.am (gtkstockpixbufs.h): Handles
      	srcdir != builddir
      
      	* modules/input/Makefile.am (INCLUDES): add $(top_srcdir)/gdk
      
      	* configure.in (GTK_VERSION): Up to 1.3.2
      
      	* modules/input/Makefile.am (im_xim_la_SOURCES): Add
      	gtkimcontextxim.h
      
      	* gtk/gtkimcontext.c (gtk_im_context_get_preedit_string): Add
      	missing doc comment.
      c879883d