1. 23 Aug, 2001 1 commit
    • Owen Taylor's avatar
      [ Patch from Sebastian Wilhelmi, 52790 ] · a2d60d44
      Owen Taylor authored
      Wed Aug 22 19:15:39 2001  Owen Taylor  <otaylor@redhat.com>
      
      	[ Patch from Sebastian Wilhelmi, 52790 ]
      
      	* gtk/gtkversion.h.in gtk/gtk.h: New file replacing gtkcompat.h
      
      	* gdk/gdkcompat.h gdk/gdk*.h gtk/gtkcompat.h.in gtk/gtk*.h:
      	Move compatibility macros from g[dt]kcompat.h to within
      	#ifndef G[DT]K_DISABLE_DEPRECATED in each file.
      
      	* gdk/gdk-pixbuf-csource.c: Fix up include of gtkcompat.h.
      
      	* demos/Makefile.am demos/gtk-demo/Makefile.am
                docs/reference/gdk-pixbuf/Makefile.am modules/input/Makefile.am
                tests/Makefile.am: Remove references to -G[DT]K_DISABLE_DEPRECATED.
      
      	* demos/{pixbuf-demo.c,testpixbuf-drawable.c,testpixbuf-save.c,
                       testpixbuf.c}: Fix usages of deprecated functions.
      a2d60d44
  2. 06 Aug, 2001 1 commit
  3. 18 Jul, 2001 1 commit
    • Darin Adler's avatar
      Ignore the sgml directory made by gtkdoc. Use gtk_window_set_resizable · 03496763
      Darin Adler authored
      	* .cvsignore: Ignore the sgml directory made by gtkdoc.
      	* demos/pixbuf-demo.c: (main): Use gtk_window_set_resizable
      	instead of the deprecated gtk_window_set_policy.
      	* demos/testpixbuf-scale.c: Add missing <stdlib.h> include.
      	* gdk/gdkkeys.c: (gdk_keymap_class_init): Remove empty finalize
      	function to get rid of warning and some code too.
      	* gdk/x11/gdkfont-x11.c: (gdk_font_charset_for_locale): Add
      	missing const.
      	* gdk/x11/gdkmain-x11.c: (_gdk_windowing_init_check): Remove
      	unused local.
      	* gdk/x11/gdkpango-x11.c: (gdk_pango_context_get): Add missing
      	const.
      	* gdk/x11/gdkselection-x11.c: (gdk_text_property_to_utf8_list),
      	(gdk_utf8_to_compound_text): Add missing const.
      	* gtk/gtkimage.c: (gtk_image_expose): Remove unused local.
      	* gtk/gtkmenubar.c: (gtk_menu_bar_hierarchy_changed): Add missing
      	cast and get rid of an unnecessary one.
      	* gtk/gtksettings.c: (gtk_settings_notify): Remove unused local.
      	* gtk/gtkstatusbar.c: (gtk_statusbar_size_allocate): Remove unused
      	local.
      	* gtk/gtktreemodelsort.c: (gtk_tree_model_sort_build_level):
      	Remove unused local.
      	* modules/input/gtkimcontextxim.c: (gtk_im_context_xim_new): Add
      	missing const.
      	* tests/testsocket.c: (add_child): Add cast so the printf format
      	doesn't make us implicitly depend on what integer type
      	gtk_socket_get_id returns.
      	* tests/testtextbuffer.c: Add missing const.
      	* tests/testtreefocus.c: (main): Remove unused local.
      	* tests/treestoretest.c: (iter_remove): Remove unused local.
      	(uppercase_value): Remove unused function.
      	(make_window): Add statement to quiet the compiler's uninitialized
      	variable warning.
      03496763
  4. 23 Jun, 2001 1 commit
    • Owen Taylor's avatar
      Fixup some problems with text length handling in error cases. · b09d194d
      Owen Taylor authored
      Sat Jun 23 10:27:53 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* modules/input/gtkimcontextxim.c: Fixup some problems with
      	text length handling in error cases.
      
      	* gtk/gtkwidget.c (gtk_widget_size_allocate): Reorder
      	a bit to make test actually warn on attempt to allocation
      	a negative size. (#56101, Matthias Clasen)
      b09d194d
  5. 16 May, 2001 1 commit
    • Owen Taylor's avatar
      un May 13 12:01:12 2001 Owen Taylor <otaylor@redhat.com> · be277ae4
      Owen Taylor authored
              * autogen.sh (have_automake): Require libtool-1.4,
              automake-1.4p1.
      
              * acinclude.m4: Remove libtool macros.
      
              * gdk-pixbuf/Makefile.am: Add dependencies to loade
              modules.
      
              * gdk/Makefile.am: Add dependency on libgdk_pixbuf.la
              for libgdk.
      
              * gtk/Makefile.am: Add dependency on libgdk_pixbuf.la
              libgdk.la for libgtk.
      
              * modules/input/Makefile.am: Make modules have full
              dependencies.
      be277ae4
  6. 03 May, 2001 2 commits
    • 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
    • Owen Taylor's avatar
      Fix trailing comma on enumeration. (#54071) · d8c421f3
      Owen Taylor authored
      Thu May  3 05:36:06 2001  Owen Taylor  <otaylor@redhat.com>
      
              * pixbuf.h: Fix trailing comma on enumeration. (#54071)
      d8c421f3
  7. 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
  8. 04 Apr, 2001 1 commit
  9. 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
  10. 16 Mar, 2001 1 commit
    • HideToshi Tajima's avatar
      rename set_cursor_pos to set_cursor_location in GtkInputContext class · df726ee8
      HideToshi Tajima authored
      2001-03-15  HideToshi Tajima  <tajima@happy>
      
              * modules/input/gtkimcontextxim.c (gtk_im_context_xim_set_cursor_locat
      ion):
              * gtk/gtkimmulticontext.c (gtk_im_multicontext_set_cursor_location):
              * gtk/gtkentry.c (update_im_cursor_location):
              * gtk/gtkimcontext.c (gtk_im_context_set_cursor_location):
              * gtk/gtkimcontext.h (struct _GtkIMContextClass): rename
              set_cursor_pos to set_cursor_location in GtkInputContext class
      df726ee8
  11. 14 Mar, 2001 1 commit
    • HideToshi Tajima's avatar
      add set_cursor_pos() virtual method · 02f376a9
      HideToshi Tajima authored
      2001-03-14  HideToshi Tajima  <tajima@happy.sunsoft.eng.sun.com>
      
      	* gtk/gtkimmulticontext.c (gtk_im_multicontext_set_cursor_pos):
      	* gtk/gtkimcontext.c (gtk_im_context_set_cursor_pos):
      	* gtk/gtkimcontext.h (struct _GtkIMContextClass): add
      	set_cursor_pos() virtual method
      
      	* modules/input/gtkimcontextxim.c (gtk_im_context_xim_class_init):
      	(gtk_im_context_xim_set_cursor_pos): add implementation for
      	set_cursor_pos() method
      
      	* gtk/gtkentry.c (recompute_idle_func): set current cursor
      	position to input methods
      02f376a9
  12. 05 Mar, 2001 1 commit
    • Michael Natterer's avatar
      made the "parent_class" pointer static. · 3839abae
      Michael Natterer authored
      2001-03-05  Michael Natterer  <mitch@gimp.org>
      
      	* src/pixbuf-draw.c: made the "parent_class" pointer static.
      
      	(Owen, I just commented out the draw methods which don't exist any
      	more to make it compile).
      3839abae
  13. 03 Mar, 2001 1 commit
    • Owen Taylor's avatar
      Unshift the group when extracting it from the X keyboard event. · 8db8ee74
      Owen Taylor authored
      Mon Jan 22 14:31:29 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gdk/x11/gdkevents-x11.c (gdk_event_translate): Unshift
      	the group when extracting it from the X keyboard event.
      
      	* modules/input/Makefile.am modules/input/imipa.c:
      	Simple module for entering IPA. (Do we need a
      	gtk-stupid-input-tricks CVS module?)
      8db8ee74
  14. 20 Feb, 2001 1 commit
  15. 01 Feb, 2001 1 commit
  16. 05 Jan, 2001 1 commit
  17. 21 Dec, 2000 1 commit
    • 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
  18. 09 Dec, 2000 1 commit
    • 8's avatar
      Add focus_in and focus_out implementation to im_context_class as · eccd33b2
      8 authored
      2000-12-08    <tajima@eng.sun.com>
      
              * modules/input/gtkimcontextxim.c (gtk_im_context_xim_class_init):
                Add focus_in and focus_out implementation to im_context_class
                as gtk_im_context_xim_focus_in and gtk_im_context_xim_focus_out.
      eccd33b2
  19. 06 Dec, 2000 1 commit
  20. 04 Dec, 2000 1 commit
    • Alexander Larsson's avatar
      Divide size by 2, not multiply. · d7714461
      Alexander Larsson authored
      2000-12-04  Alexander Larsson  <alexl@redhat.com>
      
      	* gdk/linux-fb/gdkfont-fb.c (gdk_text_width): Divide size by 2, not
      	multiply.
      
      	* gdk/linux-fb/gdkpango-fb.c:
      	Copied some 26.6 scaling macros from pango to clean up the rounding.
      	(pango_fb_font_get_glyph_info): Correct sign on x value.
      
      	* gdk/linux-fb/gdkprivate-fb.h:
      	Removed unreferenced external functions.
      
      	* modules/linux-fb/Makefile.am: Use ` instead of '.
      
      	* modules/linux-fb/basic.c:
      	Remove dead code. In particular the dummy lang engine which broke all
      	pango layouts in GtkFB. Don't include tables-big.i anymore.
      
      	* modules/linux-fb/tables-big.i:
      	Upgrade to latest version from pango. Left for reference, basic_ranges
      	moved to basic.c.
      d7714461
  21. 01 Dec, 2000 2 commits
    • Alexander Larsson's avatar
      Note: GtkFB now requires Freetype 2 final. · f3e06d23
      Alexander Larsson authored
      2000-12-01    <alexl@redhat.com>
      
      	* gdk/linux-fb/Makefile.am:
      	* modules/linux-fb/Makefile.am:
      	Freetype 2 final uses freetype-config
      
      	* gdk/linux-fb/gdkpango-fb.c:
      	Upgrade to use Freetype 2 final.
      	More flexible support for font aliases, this also fixes a bug with
      	GtkFontSelector, as the aliases must be visible in the font/family list,
      	or GtkFontSelector reads uninitialized memory.
      f3e06d23
    • Hidetoshi Tajima's avatar
      -Add NULL argument to XGetIMValues. · c396e4bb
      Hidetoshi Tajima authored
      -Check NULL return for xim_styles and ic_values.
      -Restore preedit state after XmbResetIC.
      -Change XVaNestedList* to XVaNestedList.
      -Match "preedit-changed" to "preedit_changed".
      c396e4bb
  22. 28 Nov, 2000 2 commits
  23. 16 Nov, 2000 2 commits
    • Owen Taylor's avatar
      Point -rpath to the right install location. · 26aa13b0
      Owen Taylor authored
      Wed Nov 15 21:51:31 2000  Owen Taylor  <otaylor@redhat.com>
      
      	* modules/input/Makefile.am (im_xim_la_LDFLAGS): Point
      	-rpath to the right install location.
      
      	* modules/input/Makefile.am (im_inuktitut_la_LDFLAGS): Remove
      	-export-dynamic.
      
      	* gtk/gtkthemes.c (gtk_theme_engine_get): Set engine->name
      	properly.
      26aa13b0
    • Robert Brady's avatar
      'o' < 'p'. · fe682268
      Robert Brady authored
      2000-11-15  Robert Brady  <robert@suse.co.uk>
      
      	* modules/input/iminuktitut.c (inuktitut_compose_seqs):
      	'o' < 'p'.
      
      	* gtk/gtkmain.c: s/CODSET/CODESET/, include <libintl.h> for
      	bind_textdomain_codeset.
      
      	(gtk_init_check): Make the warning about translating default:LTR
      	sterner.
      fe682268
  24. 15 Nov, 2000 2 commits
    • Robert Brady's avatar
      The return value of g_getenv() isn't freeable, so g_strdup it. · 98e453dc
      Robert Brady authored
      Wed Nov 15 02:18:01 2000  Robert Brady  <robert@suse.co.uk>
      
      	* gtk/gtkrc.c (gtk_rc_get_im_module_file): The return
      	value of g_getenv() isn't freeable, so g_strdup it.
      
      	* modules/input/inuktitut.c: Inuktitut input method.
      
      	* modules/input/Makefile.am: Build this.
      98e453dc
    • Owen Taylor's avatar
      Fix reversed > that was causing Home to go to end of previous line. · 10822e2f
      Owen Taylor authored
      Tue Nov 14 20:13:06 2000  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtktextlayout.c (gtk_text_layout_move_iter_to_line_end): Fix
      	reversed > that was causing Home to go to end of previous line.
      
      	* gtk/gtkimcontextsimple.c (gtk_im_context_simple_filter_keypress): Ignore
      	modified-keypresses (leave for bindings.)
      
      	* modules/input/Makefile.am: Remove useless -export-dynamic
      	from module LDFLAGS.
      10822e2f
  25. 14 Nov, 2000 2 commits
    • 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
    • Alexander Larsson's avatar
      Use the glib iconv wrappers. · ad1906ae
      Alexander Larsson authored
      2000-11-14  Alexander Larsson  <alexl@redhat.com>
      
      	* modules/linux-fb/basic.c:
      	Use the glib iconv wrappers.
      ad1906ae
  26. 13 Nov, 2000 1 commit
  27. 12 Nov, 2000 2 commits
    • Robert Brady's avatar
      A vietnamese VIQR-based input method. · 87f494aa
      Robert Brady authored
      Sun Nov 12 22:52:51 2000  Robert Brady  <robert@suse.co.uk>
      
         * modules/input/imviqr.c: A vietnamese VIQR-based input method.
      
         * modules/input/imthai-broken.c: A Thai input method for use if
         Thai keys are really generating Latin1 keysyms.
      
         * modules/input/Makefile.am: Build these.
      87f494aa
    • Owen Taylor's avatar
      Rip out support for multiple locales; that simple doesn't work reliably · b9d32873
      Owen Taylor authored
      Tue Sep 19 10:54:22 2000  Owen Taylor  <otaylor@redhat.com>
      
      	* modules/input/{gtkimcontextxim.[ch],imxim.c}: Rip
      	out support for multiple locales; that simple doesn't
      	work reliably with current Xlib
      
      	* gtk/gtkimcontext*.[ch] gtk/gtkimmulticontext.[ch]
      	gtk/gtktextlayout.[ch] gtk/gtktextview.c gtk/gtkentry.c:
      	Add support for positioning the cursor within the preedit string.
      
      Mon Sep 18 23:56:32 2000  Owen Taylor  <otaylor@redhat.com>
      
      	* modules/input/{imxim.c,gtkimcontextxim.[ch]}: Start
      	at XIM input method module.
      
      Sun Sep 17 10:08:16 2000  Owen Taylor  <otaylor@redhat.com>
      
      	* modules/input/Makefile.am (moduledir): remove
      	leftover bin program target.
      
      Sat Sep 16 13:05:48 2000  Owen Taylor  <otaylor@redhat.com>
      
      	* modules/input/imcyrillic-translit.c: A sample input
      	method (based on GtkIMContextSimple with an extra table),
      	which demonstrates preedit strings and the module
      	system for input modules
      b9d32873
  28. 02 Nov, 2000 1 commit
    • Alexander Larsson's avatar
      Add last argument to t_type_register_static call. · 214c61d5
      Alexander Larsson authored
      2000-11-02  Alexander Larsson  <alexl@redhat.com>
      
      	* gdk/linux-fb/gdkcolor-fb.c, gdk/linux-fb/gdkdnd-fb.c,
      	gdk/linux-fb/gdkgc-fb.c, gdk/linux-fb/gdkpango-fb.c,
      	gdk/linux-fb/gdkpixmap-fb.c, gdk/linux-fb/gdkwindow-fb.c:
      	Add last argument to t_type_register_static call.
      
      	* gdk/linux-fb/gdkdrawable-fb2.c:
      	Add last argument to t_type_register_static call.
      	export the get_image drawable virtual function.
      
      	* gdk/linux-fb/gdkimage-fb.c:
      	Add last argument to t_type_register_static call.
      	rename gtk_image_get to _gdk_fb_get_image and
      	export it for use by gdkdrawable-fb2.
      
      	* gdk/linux-fb/gdkprivate-fb.h:
      	export _gdk_fb_get_image.
      
      	* gdk/linux-fb/gdkselection-fb.c:
      	Add new api call stubs.
      
      	* gtk/Makefile.am:
      	Missing ( in linux-fb part.
      
      	* modules/linux-fb/Makefile.am:
      	Must link with gdk_pixbuf or get unresolved symbol.
      214c61d5
  29. 03 Aug, 2000 1 commit
  30. 26 Jul, 2000 1 commit
  31. 24 Jul, 2000 1 commit
    • Elliot Lee's avatar
      (Part 2) Remove gdk_*_lookup() defines, since they are defined by the · 6d7a643f
      Elliot Lee authored
      
      
      (Part 2)
      	* gdk/gdkprivate.h: Remove gdk_*_lookup() defines, since they are defined by the
      	individual backends already.
      	* gdk/gdkregion-generic.h, gdk/gdktypes.h: Put gdkregionbox & gdksegment back together
      	again. Yes, there really is a good reason for this, if you are using the gdkregion
      	internals, and if you're not, why do you care?
      	* gdk/gdkwindow.c: Fix inverted condition
      	* gdk/linux-fb: Compiles (for me - it will not work elsewhere most likely).
      	* gtk/gtkcolorsel.c, gtk/gtkwindow.c: Add include for linux-fb
      	* gtk/gtkrange.c: Redraw trough when moving.
      	* gtk/gtktypeutils.c: Fix warning by adding const cast.
      	* modules/linux-fb/basic.c: Fix unknown glyph retrieval.
      6d7a643f
  32. 18 Jul, 2000 1 commit
    • Owen Taylor's avatar
      Updates to work with GTK+-2.0 theme engine architecture. It won't even · 2aa67df2
      Owen Taylor authored
      Tue Jul 18 12:13:19 2000  Owen Taylor  <otaylor@redhat.com>
      
              Updates to work with GTK+-2.0 theme engine architecture.
      	It won't even sort of work with GTK+-1.2 any more.
      
      	* configure.in src/Makefile.am: Look for GTK+-2.0,
      	install engine into GTK+-2.0 location.
      
      	* src/pixbuf-style.h src/pixbuf-rc-style.[ch]: New
      	files for GtkRcStyle and GtkStyle subclasses. Parsing,
      	etc, moves to pixbuf-rc-style.[ch]
      
      	* src/pixbuf-draw.c: Chain up to parent implementation
      	when images aren't found for a certain element.
      2aa67df2
  33. 09 Jul, 2000 1 commit
    • Owen Taylor's avatar
      Add -Wall for gcc. · 06df244d
      Owen Taylor authored
      Sun Jul  9 18:15:58 2000  Owen Taylor  <otaylor@redhat.com>
      
      	* configure.in (ACLOCAL): Add -Wall for gcc.
      
      	* src/pixbuf-render.c (pixbuf_render): Fix problem
      	using gdk_rectangle_intersect() from GTK+-1.2.
      
      	* src/pixbuf-render.c src/pixbuf-draw.c: Remove
      	direct access to pixbuf internals.
      06df244d