ec30a03153 
					 
					
						
						
							
							testframe: Actually set the padding  
						
						... 
						
						
						
						The CSS was targeting node GtkFrame, which is wrong: it is called frame.
This commit also assumes the interesting padding is that between the
border and the child widget, not the padding around the entire Frame.
Some additional hoops must be jumped through to preserve padding values
not being changed in either callback. However, the way this is done
means I must set the initial paddings to 0, which simplifies main(). 
						
						
					 
					
						2017-03-07 01:04:34 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						685493075f 
					 
					
						
						
							
							testframe: Add CheckButton to toggle border off/on  
						
						... 
						
						
						
						We should test this. 
						
						
					 
					
						2017-03-07 01:04:34 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						39d5f22774 
					 
					
						
						
							
							testframe: Order controls better & improve labels  
						
						... 
						
						
						
						The :label-widget is drawn before the child, so put the controls that
set the alignment of the :label-widget before those that pad the child.
We set (horizontal|vertical) padding, not "[xy]thickness". Also change
to "label [xy]align" & use grid spacing, not spaces at end of Labels. 
						
						
					 
					
						2017-03-07 01:04:34 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						9f1916f29e 
					 
					
						
						
							
							testframe: Minimise typecasts  
						
						
						
						
					 
					
						2017-03-07 01:02:08 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						5059348d9f 
					 
					
						
						
							
							testframe: Set value before connecting callbacks  
						
						... 
						
						
						
						The value comes from the widget, and we were setting this after
connecting the callback, which applies the value to the widget… 
						
						
					 
					
						2017-03-07 01:02:08 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						4bec5432ce 
					 
					
						
						
							
							testframe: Use a generic widget pointer  
						
						
						
						
					 
					
						2017-03-07 01:02:08 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						0349574b47 
					 
					
						
						
							
							testheightforwidth: Add missing unref  
						
						
						
						
					 
					
						2017-03-06 20:57:17 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						77f01c374b 
					 
					
						
						
							
							testheightforwidth: Remove deprecations & clean up  
						
						... 
						
						
						
						cherry-pick of master commit bf0ea7b7bc8de1c39923d4976f6e1aafd23b92c7 
						
						
					 
					
						2017-03-06 20:50:33 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						ccba2eaace 
					 
					
						
						
							
							Remove executable bit from C source files in tests  
						
						
						
						
					 
					
						2017-01-19 00:17:40 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						dbd5fb43ab 
					 
					
						
						
							
							Add a testcase for stacked headerbars  
						
						... 
						
						
						
						This currently has some theming issues.
This example is for Lapo to work those out. 
						
						
					 
					
						2016-11-03 08:33:38 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						440ff48bba 
					 
					
						
						
							
							tests: fix clipboard test by loading correct icon  
						
						... 
						
						
						
						The icon name changed from "terminal" to "utilities-terminal" in
Adwaita-icon-theme.
Signed-off-by: Victor Toso <victortoso@redhat.com >
https://bugzilla.gnome.org/show_bug.cgi?id=773113  
						
						
					 
					
						2016-10-21 11:38:19 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						05b9bc5cff 
					 
					
						
						
							
							add demo for testing gtk_menu_popup_at_* ()  
						
						... 
						
						
						
						https://bugzilla.gnome.org/show_bug.cgi?id=756579  
					
						2016-07-19 09:38:54 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						ad78daaf80 
					 
					
						
						
							
							gdk: Deprecate gdk_cairo_create()  
						
						... 
						
						
						
						We have GdkDrawingContext, now, which is in charge of creating Cairo
contexts for drawing on a GdkWindow.
https://bugzilla.gnome.org/show_bug.cgi?id=766675  
						
						
					 
					
						2016-06-09 17:45:40 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						657fcd0717 
					 
					
						
						
							
							tests: adapt testscrolledwindow to have max content sizes  
						
						... 
						
						
						
						This patch adpats the current test to show a popover with
max-content-width and -height properties set.
https://bugzilla.gnome.org/show_bug.cgi?id=742281  
						
						
					 
					
						2016-06-05 11:03:11 -03:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						bb6cce4e6f 
					 
					
						
						
							
							Separators not correctly placed  
						
						... 
						
						
						
						What it should look like:
  Bold
----
/Size/
  x 0.5
  x 1.0
What it looks like:
  Bold
  /Size/
----
  x 0.5
  x 1.0
https://bugzilla.gnome.org/show_bug.cgi?id=767108  
						
						
					 
					
						2016-06-01 10:03:19 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						5029e11473 
					 
					
						
						
							
							tests/scrolling-performance: Define MyTextView  
						
						... 
						
						
						
						The type is used in widget-factory.ui, so add a dummy definition here to
keep the test working. 
						
						
					 
					
						2016-05-30 19:11:27 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						264b2b78cd 
					 
					
						
						
							
							testnotebookdnd: add one GtkListBox as tab content  
						
						... 
						
						
						
						To make sure we test regressions on widgets that bubble up motion
handling and can trigger the motion handling code path on GtkNotebook.
https://bugzilla.gnome.org/show_bug.cgi?id=764395  
						
						
					 
					
						2016-05-02 13:17:48 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						e0e114fddb 
					 
					
						
						
							
							testdnd2: Actually test gtk_drag_set_icon_widget  
						
						... 
						
						
						
						I added a new test function, but didn't actually use it.
No wonder I couldn't reproduce the lifecycle issues with
drag widgets that firefox is experiencing. 
						
						
					 
					
						2016-04-26 20:34:24 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						4fe336930e 
					 
					
						
						
							
							Expand the drag widget testcase  
						
						... 
						
						
						
						This adds a testcase which reuses the drag widget for multiple
drags. 
						
						
					 
					
						2016-04-26 00:19:02 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						b993c7db63 
					 
					
						
						
							
							tests: Add GLES support to GtkGears  
						
						... 
						
						
						
						Use the appropriate GLSL shaders when running under an OpenGL ES
context. 
						
						
					 
					
						2016-04-25 14:35:02 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						a92ba06383 
					 
					
						
						
							
							tests: Add GLES shaders to testglarea  
						
						... 
						
						
						
						Check if the GdkGLContext is using ES, and load the appropriate shaders
in that case. 
						
						
					 
					
						2016-04-25 14:35:02 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						6d953cb08e 
					 
					
						
						
							
							Add a dnd test using a window as icon  
						
						... 
						
						
						
						This case is causing problems in firefox. Lets at least make
sure that it doesn't crash in GTK+. 
						
						
					 
					
						2016-04-21 14:23:00 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						6f2d5a6290 
					 
					
						
						
							
							Move autotestkeywords to testsuite  
						
						... 
						
						
						
						All the 'make check' and installed tests are now in testsuite/,
and tests/ is just a collection manual test programs. 
						
						
					 
					
						2016-03-28 17:56:13 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						d42ba8a82a 
					 
					
						
						
							
							tests: Add missing break statements  
						
						... 
						
						
						
						http://www.viva64.com/en/b/0383/  
					
						2016-03-20 05:36:17 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						213108b64f 
					 
					
						
						
							
							Minor cleanup  
						
						... 
						
						
						
						The GtkStatusIcon::size-changed signal expects a boolean return. 
						
						
					 
					
						2016-03-05 12:11:05 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						7ccd91c9eb 
					 
					
						
						
							
							testscale: change example to use upwards labels  
						
						... 
						
						
						
						There's no example of that in testscale. 
						
						
					 
					
						2016-03-03 22:06:16 -08:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						7bd1012e51 
					 
					
						
						
							
							tests: Strip newlines from g_warning and g_error  
						
						... 
						
						
						
						g_logv adds one for us already. 
						
						
					 
					
						2016-02-28 12:23:12 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						566010e91d 
					 
					
						
						
							
							Add a testcase for revealer size allocation  
						
						... 
						
						
						
						This was taken from https://bugzilla.gnome.org/show_bug.cgi?id=761760  
						
						
					 
					
						2016-02-23 20:53:23 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						e7470be7bf 
					 
					
						
						
							
							tests: Port testlockbutton to GTask  
						
						... 
						
						
						
						Get rid of deprecations that way. 
						
						
					 
					
						2016-02-13 06:26:42 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						b561af25ec 
					 
					
						
						
							
							testgtk: Compile without warnings on win32  
						
						
						
						
					 
					
						2016-02-11 03:44:47 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						34db80c28b 
					 
					
						
						
							
							tests: Remove unused variable  
						
						
						
						
					 
					
						2016-02-11 03:44:47 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						8e6cc260ca 
					 
					
						
						
							
							testgtk: Remove an unused variable  
						
						
						
						
					 
					
						2016-02-10 16:10:23 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						e79db79e2c 
					 
					
						
						
							
							testgtk: Avoid deprecation warnings  
						
						... 
						
						
						
						Eventually, we should probably remove the examples that rely
on geometry support, since they probably don't work correctly
anymore. For now, just disable the warnings. 
						
						
					 
					
						2016-01-29 11:54:07 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						17d9e94682 
					 
					
						
						
							
							testoffscreen: Remove deprecated calls  
						
						... 
						
						
						
						Not doing these calls doesn't seem to affect the demo,
so lets just remove them. 
						
						
					 
					
						2016-01-29 11:54:07 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						3302c2a12c 
					 
					
						
						
							
							testgeometry: Ignore deprecations  
						
						... 
						
						
						
						All the functionality that is tested here has been deprecated
recently. 
						
						
					 
					
						2016-01-29 11:54:07 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						cf4e179a45 
					 
					
						
						
							
							tests: Avoid deprecated API usage in testgtk  
						
						... 
						
						
						
						We can use seat grabs here. 
						
						
					 
					
						2016-01-28 12:50:50 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						a74db1de77 
					 
					
						
						
							
							tests: Avoid deprecated API usage in testsocket  
						
						... 
						
						
						
						We can use seat grabs here. 
						
						
					 
					
						2016-01-28 12:50:50 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						fef661ae84 
					 
					
						
						
							
							tests: Fix deprecation warnings in testinput  
						
						
						
						
					 
					
						2016-01-28 12:50:50 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						5febf4f170 
					 
					
						
						
							
							Add a color editor test  
						
						... 
						
						
						
						This tests using a color editor embedded in other ui. 
						
						
					 
					
						2016-01-23 18:16:51 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						4e627e108e 
					 
					
						
						
							
							testnotebookdnd: Add an action widget  
						
						... 
						
						
						
						Just so we have some test that tests action widgets. 
						
						
					 
					
						2016-01-11 17:03:07 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						7ee65da0e3 
					 
					
						
						
							
							Add foreigndrawing example to gtk3-demo  
						
						... 
						
						
						
						This makes it easier accessible and nicer to refer to
from the documentation. 
						
						
					 
					
						2016-01-10 15:32:53 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						28f011eb05 
					 
					
						
						
							
							wayland: prefer subsurface when possible  
						
						... 
						
						
						
						Quite a few applications use GTK_WINDOW_POPUP to create various
temporary windows and place then on screen. That works fine on X11 but
on Wayland there is no global coordinate system for regular surfaces.
If the application is using a gdk temp window and set a parent with
gtk_window_transient_for(), the gdk wayland backend has all it needs to
create a subsurface that can be placed at will by the application.
Bugzilla: https://bugzilla.gnome.org/show_bug.cgi?id=759738  
						
						
					 
					
						2016-01-08 10:33:26 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						bc020fdeb7 
					 
					
						
						
							
							tests: Rework the way foreigndrawing works  
						
						... 
						
						
						
						Instead of the weird PathElt struct, generate a quick-n-dirty parser
that parses CSS selectors into GtkWidgetPath elements.
Based on a patch by Benjamin Otte. 
						
						
					 
					
						2016-01-04 15:39:48 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						2b2a538629 
					 
					
						
						
							
							testframe: Pass correct state to GtkStyleContext API  
						
						
						
						
					 
					
						2016-01-02 15:52:20 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						7acb670e70 
					 
					
						
						
							
							Add more icon entry tests  
						
						... 
						
						
						
						This test shows that changing icon types works. 
						
						
					 
					
						2015-12-18 19:38:19 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						934941d95d 
					 
					
						
						
							
							testdnd2: Add some verbosity  
						
						... 
						
						
						
						This makes it easier to see that we're missing some signals
under Wayland. 
						
						
					 
					
						2015-12-13 16:02:02 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						a8a33b71e4 
					 
					
						
						
							
							Add a drag-end callback  
						
						... 
						
						
						
						This will be helpful in figuring out life-cycle issues
with icon widgets. 
						
						
					 
					
						2015-12-11 10:50:25 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						c418ca451b 
					 
					
						
						
							
							Add a dnd testcase  
						
						... 
						
						
						
						This has tests for drag images, widgets, hotspots. 
						
						
					 
					
						2015-12-11 10:44:46 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						6915aba952 
					 
					
						
						
							
							Add more examples to foreigndrawing  
						
						... 
						
						
						
						Show how to draw checks and radios. 
						
						
					 
					
						2015-12-05 17:09:59 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						7fc493a8a8 
					 
					
						
						
							
							wayland: fix testtooltips  
						
						... 
						
						
						
						On Wayland, for tooltips to work as expected, the type hint must be set
to tooltips, otherwise the popup window won't be translated as a
subsurface.
Fix the test do work as expected under Wayland.
Bugzilla: https://bugzilla.gnome.org/show_bug.cgi?id=759018  
						
						
					 
					
						2015-12-04 13:17:29 +01:00