1. 16 Dec, 2009 1 commit
  2. 07 Jul, 2009 1 commit
  3. 08 Jun, 2009 1 commit
    • Alexander Larsson's avatar
      Add signals for offscreen window embedding · e1b52da0
      Alexander Larsson authored
      3 signals are for offscreen windows
      get-offscreen-parent: Get the parent window an offscreen is embedded in
      to-parent: Convert coordinates from offscreen to parent
      from-parent: Convert coordinates from parent to offscreen
      
      1 signal is for the window embedding offscreens:
      pick-offscreen-child: This picks what (if any) offscreen is at a specific position
      
      The last signal is only used if you call gdk_window_set_has_offscreen_children
      to tell gdk that the window has embedded offscreen children.
      Add get-pointer signal for offscreen window pointer getting
      
      Apps using offscreen windows can connect to get-pointer on offscreen
      windows in order to make gdk_window_get_pointer() return correct
      values.
      
      Add get-offscreen-parent signal
      
      Add signals for from-parent and to-parent coordinate mapping
      
      Add pick-offscreen-child signal
      e1b52da0
  4. 04 May, 2009 1 commit
  5. 02 Apr, 2009 1 commit
    • Alexander Larsson's avatar
      Initial client-side-windows work · eabac453
      Alexander Larsson authored
      The history before this was kind of twisted as several different
      approaches were tested, so that was all squashed into this initial
      commit to hide the uninteresting changes and files that were later
      removed.
      eabac453
  6. 29 Jan, 2009 1 commit
  7. 12 Aug, 2008 1 commit
    • Michael Natterer's avatar
      define -DGDK_PIXBUF_DISABLE_DEPRECATED in the global CFLAGS. · e0d30ee1
      Michael Natterer authored
      2008-08-12  Michael Natterer  <mitch@imendio.com>
      
      	* configure.in: define -DGDK_PIXBUF_DISABLE_DEPRECATED in the
      	global CFLAGS.
      
      	* gdk-pixbuf/Makefile.am: make the contents gdk-pixbuf-marshal.h
      	visible for GDK_PIXBUF_COMPILATION.
      
      	* contrib/gdk-pixbuf-xlib/Makefile.am
      	* demos/Makefile.am
      	* demos/gtk-demo/Makefile.am
      	* gdk-pixbuf/pixops/Makefile.am
      	* gdk/Makefile.am
      	* gdk/x11/Makefile.am
      	* gtk/Makefile.am
      	* gtk/tests/Makefile.am
      	* gtk/theme-bits/Makefile.am
      	* modules/engines/ms-windows/Makefile.am
      	* modules/engines/pixbuf/Makefile.am
      	* modules/input/Makefile.am
      	* perf/Makefile.am
      	* tests/Makefile.am: remove -DDGDK_PIXBUF_DISABLE_DEPRECATED here.
      
      
      svn path=/trunk/; revision=21096
      e0d30ee1
  8. 03 Aug, 2008 1 commit
  9. 22 Jul, 2008 1 commit
    • Sven Herzberg's avatar
      Add a test for my fixes from July 20th. · ef3e772f
      Sven Herzberg authored
      2008-07-22  Sven Herzberg  <sven@imendio.com>
      
      	Add a test for my fixes from July 20th.
      
      	* configure.in: create gdk/tests/Makefile
      	* gdk/Makefile.am: include the tests subfolder
      	* gdk/tests/Makefile.am: create and run my test
      	* gdk/tests/check-gdk-cairo.c (test), (main): the test that I wrote
      	(passes at least for x11 and quartz backends)
      
      
      svn path=/trunk/; revision=20894
      ef3e772f
  10. 30 Jun, 2008 1 commit
  11. 27 Jun, 2008 1 commit
    • Emmanuele Bassi's avatar
      Abstract some GdkWindow API into an interface that the backends must · e27632cd
      Emmanuele Bassi authored
      2008-06-27  Emmanuele Bassi  <ebassi@gnome.org>
      
      	Abstract some GdkWindow API into an interface that the backends
      	must implement. (based on a patch by Alex Larsson)
      
      	* gdk/Makefile.am: Add gdkwindowimpl.[ch]
      
      	* gdk/gdk.symbols: Move symbols around.
      
      	* gdk/gdkinternals.h:
      	* gdk/gdkwindowimpl.[ch]: Move some of the GdkWindow API we require
      	from the backends to a GInterface that the backends should implement
      	instead.
      
      	* gdk/gdkwindow.c: Provide some of the GdkWindow public API as a
      	wrapper call around the GdkWindowImpl interface vtable.
      
      	* gdk/x11/gdkevents-x11.c:
      	* gdk/x11/gdkgeometry-x11.c:
      	* gdk/x11/gdkprivate-x11.h:
      	* gdk/x11/gdkwindow-x11.c:
      	* gdk/x11/gdkwindow-x11.h: Update the X11 backend to implement
      	the GdkWindowImpl interface.
      
      svn path=/trunk/; revision=20695
      e27632cd
  12. 12 May, 2008 1 commit
  13. 16 Feb, 2008 1 commit
    • Matthias Clasen's avatar
      Don't install private headers. (#463510) · 580ae310
      Matthias Clasen authored
      2008-02-15  Matthias Clasen  <mclasen@redhat.com>
      
              * gdk/Makefile.am: Don't install private headers. (#463510)
      
              * gdk/gdkinternal.h: Include gdkmedialib.h here, not in
              the installed header gdkprivate.h.
      
      
      
      svn path=/trunk/; revision=19595
      580ae310
  14. 13 Dec, 2007 1 commit
    • Matthias Clasen's avatar
      Implement GAppLaunchContext in gdk, providing startup notification. · 1397a9fd
      Matthias Clasen authored
      2007-12-12  Matthias Clasen  <mclasen@redhat.com>
      
              * gdk/gdkapplaunchcontext.[hc]: Implement GAppLaunchContext
              in gdk, providing startup notification.  (#503203)
      
              * gdk/x11/gdkapplaunchcontext-x11.c:
              * gdk/win32/gdkapplaunchcontext-win32.c:
              * gdk/quartz/gdkapplaunchcontext-quartz.c:
              * gdk/directfb/gdkapplaunchcontext-directfb.c: Backend-specific
              parts. All but X11 are just empty stubs for now.
      
              * gdk/gdk.symbols:
              * gdk/gdkinternals.h:
              * gdk/Makefile.am:
              * gdk/x11/Makefile.am:
              * gdk/win32/Makefile.am:
              * gdk/quartz/Makefile.am:
              * gdk/directfb/Makefile.am: Necessary glue.
      
      
      
      svn path=/trunk/; revision=19165
      1397a9fd
  15. 26 Nov, 2007 1 commit
    • Matthias Clasen's avatar
      Use templates for glib-mkenums calls instead of complicated commandlines · 736f86b3
      Matthias Clasen authored
      2007-11-26  Matthias Clasen  <mclasen@redhat.com>
      
              Use templates for glib-mkenums calls instead of
              complicated commandlines in Makefiles.  (#429910)
      
              * gdk-pixbuf/Makefile.am:
              * gdk/Makefile.am:
              * gtk/Makefile.am:
              * perf/Makefile.am: Use templates for glib-mkenums
      
              * gdk-pixbuf/gdk-pixbuf-enum-types.[ch].template:
              * gdk/gdkenumtypes.[ch].template:
              * gtk/gtktypebuiltings.[ch].template:
              * perf/typebuiltins.[ch].template: The templates
      
      
      svn path=/trunk/; revision=19053
      736f86b3
  16. 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
  17. 20 Nov, 2007 1 commit
    • 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
  18. 13 Jun, 2007 1 commit
  19. 06 Jun, 2007 2 commits
  20. 16 May, 2007 1 commit
    • Brian Cameron's avatar
      Add Sun mediaLib support so that hardware acceleration via mediaLib is · 94dcec33
      Brian Cameron authored
      2007-05-16  Brian Cameron  <brian.cameron@sun.com>
      
              * acconfig.h, configure.in, gdk/Makefile.am, gdkprivate.h, gdkrgb.c,
                gdkdraw.c, gdk-pixbuf/gdk-pixbuf-scale.c,
                gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/pixops/pixops.[ch],
                gdk-pixbuf/pixops/timescale.c:  Add Sun mediaLib support so that
                hardware acceleration via mediaLib is enabled if mediaLib is
                detected via configure.  Enhancement request #344813.  I was given
                permission to commit in the bug report by Matthias Clasen.
              * gdk/medialib.[ch]: New files added for mediaLib support.
              * docs/reference/gdk-pixbuf/tmpl/scaling.sgml,
                docs/reference/gdk/tmpl/rgb.sgml, gdk/gdkdraw.c:  Add docs for
                mediaLib support.
      
      svn path=/trunk/; revision=17855
      94dcec33
  21. 06 Mar, 2007 1 commit
  22. 19 Jan, 2007 2 commits
    • Tor Lillqvist's avatar
      Build Wintab support always on Windows. Don't require the Wintab SDK. · f6b4585c
      Tor Lillqvist authored
      2007-01-19  Tor Lillqvist  <tml@novell.com>
      
      	Build Wintab support always on Windows. Don't require the Wintab
      	SDK.
      
      	* configure.in: Drop the --with-wintab option. Drop the
      	HAVE_WINTAB feature test macro and Automake variable.
      
      	* acconfig.h
      	* config.h.win32.in: Drop HAVE_WINTAB.
      
      	* gdk/win32/gdkevents-win32.c 
      	* gdk/win32/gdkinput.c 
      	* gdk/win32/gdkinput-win32.h 	
      	* gdk/win32/gdkinput-win32.c
      	* gdk/win32/gdkmain-win32.c: Make HAVE_WINTAB ifdef blocks
      	unconditional.
      
      	* gdk/win32/gdkinput-win32.c (_gdk_input_wintab_init_check): Try
      	to load wintab32.dll dynamically here. If it is found look up the
      	handful Wintab functions we use.
      	(rest of file): Use these function pointers instead of calling the
      	functions from wntab32x.lib. The code in wntab32x.lib did the same
      	thing anyway: tried to load wintab32.dll, and looked up the
      	addresses of the actual functions from it.
      
      	* gdk/Makefile.am
      	* gdk/win32/Makefile.am: Drop the libwntab32x hacks.
      
      	* gdk/win32/wintab.h
      	* gdk/win32/pktdef.h: New files. Copied from the Wintab
      	SDK. Copyright blurb says: "The text and information contained in
      	this file may be freely used, copied, or distributed without
      	compensation or licensing restrictions."
      
      	* README.win32: Update a bit. Remove the text about the Wintab
      	SDK.
      
      
      svn path=/trunk/; revision=17186
      f6b4585c
    • Tor Lillqvist's avatar
      gdk-pixbuf/Makefile.am gdk/Makefile.am gdk/win32/Makefile.am Fixes for · f1ce05ca
      Tor Lillqvist authored
      2007-01-18  Tor Lillqvist  <tml@novell.com>
      
      	* gdk-pixbuf/Makefile.am
      	* gdk/Makefile.am
      	* gdk/win32/Makefile.am
      	* gtk/Makefile.am: Fixes for building outside srcdir on
      	Win32. (#336819, #340113) Drop distributing the handmade .la
      	libtool wrapper for the wntab32x library. It's too much trouble
      	making it work when building outside srcdir. Just link to the
      	library direcly using -Wl,win32/libwntab32x.a.
      
      
      svn path=/trunk/; revision=17185
      f1ce05ca
  23. 02 Oct, 2006 1 commit
  24. 10 Sep, 2006 1 commit
  25. 29 Aug, 2006 1 commit
    • Tor Lillqvist's avatar
      Remove support for Windows 9x/ME. GTK+ hasn't worked on Win9x since 2.6 or · 019fece7
      Tor Lillqvist authored
      2006-08-29  Tor Lillqvist  <tml@novell.com>
      
      	Remove support for Windows 9x/ME. GTK+ hasn't worked on Win9x
      	since 2.6 or 2.8. It's pointless to keep the Win9x code in here as
      	it isn't being maintained anyway. If somebody is interested, it
      	can always be found in older GTK+ versions, and in CVS.
      
      	* configure.in
      	* acconfig.h
      	* gdk/Makefile.am
      	* gdk/win32/Makefile.am
      	* gdk/win32/libie55uid.la
      	* gdk/win32/gdkevents-win32.c: Remove the --with-ie55 configure
      	switch and associated stuff. Active IMM and the <dimm.h> header
      	was used for IM support on NT4 and Win9x. Win2k and later have IM
      	support built-in.
      
      	* gdk/win32/gdkevents-win32.c: Remove the G_WIN32_IS_NT_BASED()
      	and G_WIN32_HAVE_WIDECHAR_API() tests and their false (Win9x)
      	branches, and any variables or static functions used only by the
      	Win9x branches.
      019fece7
  26. 11 May, 2006 1 commit
    • Matthias Clasen's avatar
      Regenerated from Xorg 7.1 keysyms.h, using gdkkeysyms-update.pl. · 181c5388
      Matthias Clasen authored
      2006-05-11  Matthias Clasen  <mclasen@redhat.com>
      
      	* gdk/gdkkeysyms.h: Regenerated from Xorg 7.1 keysyms.h, using
      	gdkkeysyms-update.pl.
      
      	* gdk/gdkkeysyms-update.pl: Script to sync gdkkeysyms.h
      	with Xorg.  (#321896, Simos Xenitellis)
      
      	* gdk/Makefile.am (EXTRA_DIST): Add gdkkeysyms-update.pl
      181c5388
  27. 05 Feb, 2006 1 commit
  28. 29 Jan, 2006 1 commit
  29. 22 Nov, 2005 1 commit
    • Anders Carlsson's avatar
      Add quartz backend. · 1097260a
      Anders Carlsson authored
      2005-11-21  Anders Carlsson  <andersca@imendio.com>
      
              * configure.in:
              * gtk/Makefile.am:
              * gdk/Makefile.am:
      	* gdk/quartz/*:
      	Add quartz backend.
      
              * docs/tools/Makefile.am:
      	Only build docshooter when the X11 backend is used.
      
              * gtk/gtkplug-stub.c:
      	Include gtkplug.h here.
      
              * gtk/gtksocket-stub.c:
      	Include gtksocket.h here.
      1097260a
  30. 26 Oct, 2005 1 commit
  31. 31 Aug, 2005 1 commit
    • Matthias Clasen's avatar
      Intern type names in code generated by glib-mkenums, too. · c09cc893
      Matthias Clasen authored
      2005-08-31  Matthias Clasen  <mclasen@redhat.com>
      
      	* gdk/Makefile.am:
      	* gtk/Makefile.am: Intern type names in code generated by
      	glib-mkenums, too.
      
      	* gtk/*.c:
      	* gdk/x11/*.c:
      	* gdk/*.c: Intern type names before registering the type to avoid
      	unnecessary copies.
      c09cc893
  32. 09 Jul, 2005 1 commit
    • Tor Lillqvist's avatar
      Look for windres on Win32. · c0dace5f
      Tor Lillqvist authored
      2005-07-09  Tor Lillqvist  <tml@novell.com>
      
      	* configure.in: Look for windres on Win32.
      
      	* gdk-pixbuf/Makefile.am
      	* gdk/win32/rc/Makefile.am
      	* gdk/Makefile.am
      	* gtk/Makefile.am: Don't use the scripts in build/win32 to compile
      	the rc files into resource object files. (This means we lose the
      	build number increment magic, but I doubt it was that useful
      	anyway.) Instead use windres directly. To pass a normal .o file
      	produced by windres through libtool, which would want a .lo file,
      	pass it directly to the linker using a -Wl option.
      
      	* gdk-pixbuf/gdk_pixbuf.rc.in
      	* gdk/win32/rc/gdk.rc.in
      	* gtk/gtk-win32.rc.in: Replace BUILDNUMBER with 0.
      c0dace5f
  33. 05 Jul, 2005 1 commit
  34. 26 Jun, 2005 1 commit
  35. 20 Jun, 2005 1 commit
  36. 11 May, 2005 1 commit
    • Owen Taylor's avatar
      Use a GtkAlignment rather than a GtkDrawingArea to draw the swatch in to · dda40ca7
      Owen Taylor authored
      2005-05-11  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkcolorbutton.c: Use a GtkAlignment rather than a GtkDrawingArea
      	to draw the swatch in to avoid having an extraneous window.
      
      	* gtk/gtkcolorsel.c (color_sample_draw_sample): Actually se tthe
      	color when !has_opacity.
      
      2005-05-10  Owen Taylor  <otaylor@redhat.com>
      
      	* gdk/gdkcairo.[ch] gdk/gdkcolor.[ch] gdk/Makefile.am: Add source
      	files for Cairo convenience functionality.
      
      	* gdk/gdkcairo.h (gdk_cairo_rectangle, gdk_cairo_region): Add a
      	convenience functions to add GdkRectangle, GdkRegion to a cairo path.
      
      	* gdk/gdkwindow.c gdk/gdkgc.c gtk/gtkcolorsel.c gtk/gtkiconview.c
      	gtk/gtkstyle.c: Use gdk_cairo_rectangle/region().
      
      	* gdk/gdkcairo.[ch] gdk/gdkdrawable.h gdk/gdkdraw.c: Rename
      	gdk_drawable_create_cairo_context() to gdk_cairo_create().
      
      	* gdk/gdkcairo.c gdk/gdkpixbuf.h gdk/gdkpixbuf-render.c:
      	Rename gdk_pixbuf_set_as_cairo_source() to
      	gdk_cairo_set_source_pixbuf().
      
      	* gdk/gdkdraw.c gdk/gdkpango.c gtk/gtkcolorsel.c gtk/gtkhruler.c
      	gtk/gtkhsv.c gtk/gtkiconview.c gtk/gtkstyle.c gtk/gtkvruler.c:
      	Adjust for renames.
      
      	* gdk/gdk.symbols: Update.
      
      	* gtk/gtkwidget.c (gtk_widget_queue_shallow_draw): Fix
      	coordinate system problem that was causing the wrong portions
      	to be invalidated.
      
      	* gtk/gtkcellrenderer.c (gtk_cell_renderer_render)
      	gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_render)
      	gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_render)
      	gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_render)
      	gtk/gtkcellview.c (gtk_cell_view_expose)
      	gtk/gtkdnd.c (gtk_drag_highlight_expose)
      	gtk/gtkentry.c (gtk_entry_draw_text)
      	gtk/gtktextview.c (text_window_invalidate_rect): Some cairoization.
      
      	* gtk/gtkcalendar.[ch]: Beat into something roughly resembling
      	GTK+ style ... use instance-private data and standard names for
      	private structure, etc. Move function docs inline.
      
      	* gtk/gtkcalendar.[ch]: Switch to drawing everything in
      	expose. Switch drawing to Cairo.
      
      	* gtk/gtkcalendar.c (gtk_calendar_freeze): Deprecate
      	gtk_calendar_freeze/thaw
      dda40ca7
  37. 16 Mar, 2005 1 commit
    • Matthias Clasen's avatar
      Make PLT-reduction work with gcc4, and don't include everything in · 2a2d769d
      Matthias Clasen authored
      2005-03-15  Matthias Clasen  <mclasen@redhat.com>
      
      	Make PLT-reduction work with gcc4, and don't include
      	everything in gdkalias.h:
      
      	* gdk/gdk.symbols: Group symbols by header and source file.
      	* gdk/makegdkalias.pl: Protect definitions by the same
      	preprocessor symbols used to guard the headers. Move
      	the alias declarations to a separate file which is
      	produced when calling makegdkalias.pl -def
      	* gdk/Makefile.am (gdkaliasdef.c): Add a rule to generate this
      	file.
      	* gdk/*.c, gdk/x11/*.c: Include gdkalias.h after the other
      	headers, include gdkaliasdef.c at the bottom.
      2a2d769d
  38. 13 Jan, 2005 1 commit
    • Matthias Clasen's avatar
      Add an OS_LINUX conditional. · 130b7826
      Matthias Clasen authored
      2005-01-13  Matthias Clasen  <mclasen@redhat.com>
      
      	* configure.in: Add an OS_LINUX conditional.
      
      	* gdk/Makefile.am (TESTS):
      	* gdk-pixbuf/Makefile.am (TESTS):
      	* gtk/Makefile.am (TESTS): Only run abicheck on Linux.  (#163917,
      	Roger Leigh)
      130b7826