1. 20 Nov, 2007 6 commits
    • Tim Janik's avatar
      Moved Gdk test functions from Gtk+ to Gdk test utils. · 4f7a2da8
      Tim Janik authored
      * gdk/Makefile.am: added gdktestutils.h to public includes.
      
      * gdk/gdk.h: added gdktestutils.h to public includes.
      
      * gdk/gdk.symbols: added gdk_test_simulate_button, gdk_test_simulate_key,
      gdk_test_render_sync.
      
      * gdk/gdktestutils.h: new file, added prototypes for gdk_test_simulate_button,
      gdk_test_simulate_key, gdk_test_render_sync.
      
      * gdk/x11/Makefile.am: build gdktestutils-x11.c.
      
      * gdk/x11/gdktestutils-x11.c: implemented gdk_test_simulate_button,
      gdk_test_simulate_key, gdk_test_render_sync.
      
      * gtk/gtktestutils.c:
      * gtk/gtktestutils.h:
      * gtk/gtk.symbols: removed gtk_test_simulate_button
      gtk_test_simulate_key, gtk_test_xserver_render_sync.
      
      * gtk/tests/testing.c: call gdk_test_render_sync.
      
      svn path=/trunk/; revision=19012
      4f7a2da8
    • Tim Janik's avatar
      Added unit tests for Gtk+ testing utilities. · 3cf208ef
      Tim Janik authored
      * gtk/tests/testing.c: added a sample test program that tests Gtk+ test
      utility functions. some g_test_* related portions are disabled and need
      to be enabled once Gtk+ depends on a new glib with the GLib testing
      framework integrated.
      
      * gtk/tests/Makefile.am: new subdirectory to include quick Gtk+ tests.
      added exemplary test rules to run tests inside Xvfb. this needs to depend
      on gtester for full fledged testing.
      
      * gtk/Makefile.am: build gtk+/gtk/tests, define -DGTK_ENABLE_BROKEN when
      collecting _get_type functions to catch e.g. gtk_text_get_type().
      
      * configure.in: create gtk/tests/Makefile.in and gtk/tests/Makefile.
      
      svn path=/trunk/; revision=19011
      3cf208ef
    • Tim Janik's avatar
      Added Gtk+ testing utilities. · 936d27a4
      Tim Janik authored
      * gtk/gtktestutils.h, gtk/gtktestutils.c: added unit test utility functions.
      for the most part, the functions herein involve navigating and interacting
      with dialog elements programatically, to automate user interaction tests of
      dialogs and widgets.
      
      * gtk/gtk.h: include gtk/gtktestutils.h as public API.
      
      * gtk/gtk.symbols: added gtk_test_* symbols.
      
      * gtk/Makefile.am: include gtktestutils.h and gtktestutils.c into the build.
      generate gtktypefuncs.c which contains a list of all _get_type functions in
      Gtk+ and Gdk.
      
      svn path=/trunk/; revision=19010
      936d27a4
    • Bastien Nocera's avatar
      Add support for 512x512 Leopard icons, using the ic09 iconType · 9e0b0194
      Bastien Nocera authored
      2007-11-20  Bastien Nocera  <hadess@hadess.net>
      
      	* io-icns.c: (load_resources): Add support for 512x512 Leopard
      	icons, using the ic09 iconType
      
      
      svn path=/trunk/; revision=19009
      9e0b0194
    • Bastien Nocera's avatar
      Add icns loader to the files to translate · a1dcb1ab
      Bastien Nocera authored
      2007-11-20  Bastien Nocera  <hadess@hadess.net>
      
      	* POTFILES.in: Add icns loader to the files to translate
      
      
      svn path=/trunk/; revision=19008
      a1dcb1ab
    • Bastien Nocera's avatar
      add support for conditional icns gdk-pixbuf loader (Closes: #395738) · 18d12ffe
      Bastien Nocera authored
      2007-11-20  Bastien Nocera  <hadess@hadess.net>
      
      	* configure.in: add support for conditional icns gdk-pixbuf loader
      	(Closes: #395738)
      
      2007-11-20  Bastien Nocera  <hadess@hadess.net>
      
      	* Makefile.am:
      	* io-icns.c: Add icns (MacOS X icons) loader, based on work by
      	Lyonel Vincent <lyonel@ezix.org> (Closes: #395738)
      
      
      svn path=/trunk/; revision=19007
      18d12ffe
  2. 19 Nov, 2007 8 commits
  3. 17 Nov, 2007 1 commit
  4. 15 Nov, 2007 3 commits
    • Yevgen Muntyan's avatar
      new functions _gtk_text_btree_get_insert() and · abad58b0
      Yevgen Muntyan authored
      2007-11-15  Yevgen Muntyan  <muntyan@tamu.edu>
      
      	* gtk/gtktextbtree.h:
      	* gtk/gtktextbtree.c: new functions _gtk_text_btree_get_insert()
      	and _gtk_text_btree_get_selection_bound() (#497102).
      	* gtk/gtktextbuffer.c (gtk_text_buffer_get_insert),
      	(gtk_text_buffer_get_selection_bound): use them here instead of
      	hash table lookup.
      
      
      svn path=/trunk/; revision=18996
      abad58b0
    • Yevgen Muntyan's avatar
      sort returned tags array by tags priority (#497102). · 921da326
      Yevgen Muntyan authored
      2007-11-15  Yevgen Muntyan  <muntyan@tamu.edu>
      
      	* gtk/gtktextbtree.c (_gtk_text_btree_get_tags): sort returned
      	tags array by tags priority (#497102).
      	* gtk/gtktextiter.c (gtk_text_iter_get_tags), (gtk_text_iter_get_attributes):
      	* gtk/gtktextlayout.c (get_tags_array_at_iter): and do not sort it here.
      
      
      svn path=/trunk/; revision=18995
      921da326
    • Yevgen Muntyan's avatar
      do not call _gtk_text_btree_get_iter_at_line() and · a3eb6a98
      Yevgen Muntyan authored
      2007-11-15  Yevgen Muntyan  <muntyan@tamu.edu>
      
      	* gtk/gtktextlayout.c: (gtk_text_layout_get_line_display),
      	(get_style): do not call _gtk_text_btree_get_iter_at_line() and
      	_gtk_text_btree_get_tags() for every segment, instead call them
      	once and then collect the tags while iterating over the segments.
      	(get_tags_array_at_iter), (tags_array_toggle_tag): new functions
      	for tags array handling.
      
      
      svn path=/trunk/; revision=18994
      a3eb6a98
  5. 14 Nov, 2007 6 commits
  6. 13 Nov, 2007 1 commit
    • Sven Herzberg's avatar
      Reviewed by Richard: · 50f41211
      Sven Herzberg authored
      2007-11-12  Sven Herzberg  <herzi@imendio.com>
      
      	Reviewed by Richard:
      
      	* gdk/quartz/gdkquartz.h: include <gdk/gdkprivate.h> with angle
      	brackets and not with quotation marks
      
      
      svn path=/trunk/; revision=18987
      50f41211
  7. 12 Nov, 2007 2 commits
  8. 11 Nov, 2007 3 commits
  9. 10 Nov, 2007 6 commits
  10. 09 Nov, 2007 3 commits
  11. 08 Nov, 2007 1 commit