1. 14 Mar, 2008 1 commit
    • Michael Natterer's avatar
      gdk/gdkspawn.h gtk/gtkbuilderprivate.h gtk/gtkfilechoosersettings.c · 57fa1834
      Michael Natterer authored
      2008-03-14  Michael Natterer  <mitch@imendio.com>
      
      	* gdk/gdkspawn.h
      	* gtk/gtkbuilderprivate.h
      	* gtk/gtkfilechoosersettings.c
      	* gtk/gtksearchenginesimple.c
      	* gtk/tests/liststore.c
      	* gtk/tests/treestore.c: remove single-file includes of GLib
      	headers or replace them by <glib.h> where needed.
      
      
      svn path=/trunk/; revision=19877
      57fa1834
  2. 11 Jan, 2008 1 commit
  3. 10 Jan, 2008 1 commit
    • Kristian Rietveld's avatar
      Fix #477175, reported by Juri Pakaste. · 24438052
      Kristian Rietveld authored
      2008-01-10  Kristian Rietveld  <kris@imendio.com>
      
      	Fix #477175, reported by Juri Pakaste.
      
      	* gtk/gtktreeprivate.h:
      	* gtk/gtktreeview.c (gtk_tree_view_top_row_to_dy): do not set
      	tree_view->priv->dy here directly, just calculate the new value
      	and set it on the adjustment,
      	(gtk_tree_view_adjustment_changed): add guards to not call
      	gtk_tree_view_dy_to_top_row() if we are currently in
      	gtk_tree_view_top_row_to_dy(),
      	(gtk_tree_view_put): fix coordinate annotation: these are bin_window
      	coordinates, not tree coordinates,
      	(gtk_tree_view_real_start_editing): add cast.
      
      	* gtk/tests/treeview-scrolling.c: add an assertion for checking the
      	position of the editable in the "create new row and start editing"
      	tests.
      
      
      svn path=/trunk/; revision=19331
      24438052
  4. 14 Dec, 2007 1 commit
    • Kristian Rietveld's avatar
      added tests for insertion functions. · 22e10208
      Kristian Rietveld authored
      2007-12-14  Kristian Rietveld  <kris@imendio.com>
      
      	* gtk/tests/liststore.c:
      	* gtk/tests/treestore.c: added tests for insertion functions.
      
      
      svn path=/trunk/; revision=19174
      22e10208
  5. 13 Dec, 2007 3 commits
    • Kristian Rietveld's avatar
      test the move and swap functions on a store with only one node. · 935d9a65
      Kristian Rietveld authored
      2007-12-13  Kristian Rietveld  <kris@imendio.com>
      
      	* gtk/tests/liststore.c:
      	* gtk/tests/treestore.c: test the move and swap functions on a
      	store with only one node.
      
      
      svn path=/trunk/; revision=19172
      935d9a65
    • Kristian Rietveld's avatar
      add a call to g_test_bug_base(). · 6900ad4b
      Kristian Rietveld authored
      2007-12-13  Kristian Rietveld  <kris@imendio.com>
      
      	* gtk/gtktestutils.c (gtk_test_init): add a call to
      	g_test_bug_base().
      
      	* gtk/tests/treeview-scrolling.c: add g_test_bug() calls to
      	appriopriate tests.
      
      
      svn path=/trunk/; revision=19171
      6900ad4b
    • Kristian Rietveld's avatar
      start composing tests for the list and tree store. · 790c308f
      Kristian Rietveld authored
      2007-12-13  Kristian Rietveld  <kris@imendio.com>
      
      	* gtk/tests/liststore.c:
      	* gtk/tests/treestore.c: start composing tests for the list and tree
      	store.
      
      	* gtk/tests/treeview-scrolling.c: added automated tests for
      	GtkTreeView's scrolling "subsystem".
      
      	* gtk/tests/Makefile.am: updated; added new test programs.
      
      
      svn path=/trunk/; revision=19170
      790c308f
  6. 22 Nov, 2007 1 commit
    • 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
  7. 20 Nov, 2007 3 commits
    • Tim Janik's avatar
      Fixed copyright for newly submitted files. · 40695ee3
      Tim Janik authored
      svn path=/trunk/; revision=19014
      40695ee3
    • 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