1. 22 Nov, 2007 4 commits
    • 15:39:40  Tim Janik's avatar
      call g_test_init() from gtk_test_init(). · 2dc08ada
      15:39:40 Tim Janik authored
      2007-11-22 15:39:40  Tim Janik  <timj@imendio.com>
      
              * gtk/gtktestutils.c: call g_test_init() from gtk_test_init().
      
              * gtk/tests/testing.c: use g_test_add_func() to register tests and use
      	g_test_run() to run the tests to integrate with the testing framework.
      
              * gtk/tests/Makefile.am: removed exemplary testing rules.
      
              * Makefile.am, gtk/tests/Makefile.am, gtk/Makefile.am:
              * gtk/xdgmime/Makefile.am, gtk/theme-bits/Makefile.am:
              * tests/Makefile.am, docs/reference/gdk-pixbuf/Makefile.am:
              * docs/reference/gdk/Makefile.am, docs/reference/gtk/Makefile.am:
              * docs/reference/Makefile.am, docs/tools/Makefile.am:
              * docs/tutorial/Makefile.am, docs/faq/Makefile.am, docs/Makefile.am:
              * gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/Makefile.am:
              * demos/gtk-demo/Makefile.am, demos/Makefile.am:
              * modules/input/Makefile.am, modules/printbackends/file/Makefile.am:
              * modules/printbackends/test/Makefile.am, modules/printbackends/Makefile.am:
              * modules/printbackends/cups/Makefile.am, modules/printbackends/lpr/Makefile.am:
              * modules/engines/ms-windows/Theme/gtk-2.0/Makefile.am:
              * modules/engines/ms-windows/Theme/Makefile.am:
              * modules/engines/ms-windows/Makefile.am:
              * modules/engines/Makefile.am,  modules/engines/pixbuf/Makefile.am:
              * modules/Makefile.am, m4macros/Makefile.am, perf/Makefile.am:
              * contrib/Makefile.am, contrib/gdk-pixbuf-xlib/Makefile.am:
              * gdk/directfb/Makefile.am, gdk/linux-fb/Makefile.am:
              * gdk/quartz/Makefile.am, gdk/win32/rc/Makefile.am:
              * gdk/win32/Makefile.am, gdk/x11/Makefile.am, gdk/Makefile.am:
      	include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments.
      
      
      
      svn path=/trunk/; revision=19033
      2dc08ada
    • Priit Laes's avatar
      Translation updated by Ivar Smolin. · b5b038af
      Priit Laes authored
      2007-11-22  Priit Laes  <plaes@svn.gnome.org>
      
      	* et.po: Translation updated by Ivar Smolin.
      
      svn path=/trunk/; revision=19032
      b5b038af
    • Matthias Clasen's avatar
      Fix a casting problem. (#485662, patch by Herbert Valerio Riedel) · 68c47963
      Matthias Clasen authored
      2007-11-22  Matthias Clasen  <mclasen@redhat.com>
      
              * modules/printbackends/cups/gtkcupsutils.c: Fix a casting problem.
              (#485662, patch by Herbert Valerio Riedel)
      
      
      
      svn path=/trunk/; revision=19025
      68c47963
    • Matthias Clasen's avatar
      Fix an aliasing problem. (#347585, Ed Catmur) · 1ece9d4e
      Matthias Clasen authored
      2007-11-22  Matthias Clasen  <mclasen@redhat.com>
      
              * gtk/gtktextiter.c: Fix an aliasing problem.  (#347585, Ed Catmur)
      
      
      svn path=/trunk/; revision=19024
      1ece9d4e
  2. 21 Nov, 2007 8 commits
  3. 20 Nov, 2007 9 commits
    • Yannig MARCHEGAY's avatar
      Updated Occitan translation · bc4aaf9f
      Yannig MARCHEGAY authored
      svn path=/trunk/; revision=19015
      bc4aaf9f
    • Tim Janik's avatar
      Fixed copyright for newly submitted files. · 40695ee3
      Tim Janik authored
      svn path=/trunk/; revision=19014
      40695ee3
    • Tim Janik's avatar
      ChangeLog: added Gtk+ testing utility development history. · 3270b1d6
      Tim Janik authored
      svn path=/trunk/; revision=19013
      3270b1d6
    • 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
  4. 19 Nov, 2007 8 commits
  5. 17 Nov, 2007 1 commit
  6. 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
  7. 14 Nov, 2007 6 commits
  8. 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