1. 27 Feb, 2012 1 commit
  2. 20 Jan, 2011 1 commit
  3. 15 Oct, 2010 1 commit
  4. 04 Oct, 2010 1 commit
  5. 18 Aug, 2010 1 commit
  6. 28 Jul, 2010 1 commit
  7. 10 Jul, 2010 1 commit
  8. 04 Apr, 2010 2 commits
    • Johan Dahlin's avatar
      [annotations] Add allow-none · eee7bb2b
      Johan Dahlin authored
      This commit was created using a script that searched for all docstrings
      containing a parameter and the string 'or %NULL'.
      Gdk backends and demos excluded as they are not part of a public API
      
      https://bugzilla.gnome.org/show_bug.cgi?id=610474
      eee7bb2b
    • Alexander Larsson's avatar
      Avoid integer overflow in gdk_rectangle_intersect · b8a0ff9e
      Alexander Larsson authored
      If e.g. the right edge of the leftmost rectangle is near MIN_INT, and
      the left edge of the rightmost rectangle is large then subtracting these
      can lead to an integer overflow, making the resultant "width" falsely
      positive, thus returning a very wide result instead of the expected
      no-intersection result.
      
      We avoid the overflow by not doing the subtraction unless we know the
      result will be positive. There are still risks for overflow if x + width
      or y + width is larger than MAXINT, but we won't ever overflow for valid
      rects now.
      
      This may fix #607687
      b8a0ff9e
  9. 19 Feb, 2010 1 commit
  10. 22 Jan, 2010 1 commit
    • Alexander Larsson's avatar
      Avoid integer overflow in gdk_rectangle_intersect · 3c618f2f
      Alexander Larsson authored
      If e.g. the right edge of the leftmost rectangle is near MIN_INT, and
      the left edge of the rightmost rectangle is large then subtracting these
      can lead to an integer overflow, making the resultant "width" falsely
      positive, thus returning a very wide result instead of the expected
      no-intersection result.
      
      We avoid the overflow by not doing the subtraction unless we know the
      result will be positive. There are still risks for overflow if x + width
      or y + width is larger than MAXINT, but we won't ever overflow for valid
      rects now.
      
      This may fix #607687
      3c618f2f
  11. 01 Jul, 2008 1 commit
  12. 30 Jun, 2008 1 commit
    • Cody Russell's avatar
      Practically everything changed. · fce9c8b7
      Cody Russell authored
      2008-06-30  Cody Russell  <bratsche@gnome.org>
      
              * Practically everything changed.
      
              Change	all references	of GIMP	Toolkit	(and variations	of it)
              to GTK+	Toolkit, showing no mercy at all to our	beloved
      	ancestry. (#540529)
      
      
      svn path=/trunk/; revision=20709
      fce9c8b7
  13. 22 Jun, 2008 1 commit
    • Johan Dahlin's avatar
      Include "config.h" instead of <config.h> Command used: find -name · d97cdbdf
      Johan Dahlin authored
      2008-06-21  Johan Dahlin  <jdahlin@async.com.br>
      
          * *.[ch]: Include "config.h" instead of <config.h>
          Command used:
          find -name \*.[ch]|xargs perl -p -i -e 's/^#include <config.h>/#include "config.h"/g'
          Rubberstamped by Mitch and Tim
      
      
      svn path=/trunk/; revision=20669
      d97cdbdf
  14. 14 Jan, 2008 1 commit
    • Michael Natterer's avatar
      gdk/gdk.h gdk/gdkcairo.h gdk/gdkcolor.h gdk/gdkgc.h gdk/gdkinternals.h · 92f86e04
      Michael Natterer authored
      2008-01-14  Michael Natterer  <mitch@imendio.com>
      
      	* gdk/gdk.h
      	* gdk/gdkcairo.h
      	* gdk/gdkcolor.h
      	* gdk/gdkgc.h
      	* gdk/gdkinternals.h
      	* gdk/gdkregion.h
      	* gdk/gdkwindow.h: made GdkRectangle*, GdkRegion* and GdkColor*
      	parameters const.
      
      	* gdk/gdkcairo.c
      	* gdk/gdkgc.c
      	* gdk/gdkwindow.c
      	* gdk/gdkrectangle.c
      	* gdk/gdkpolyreg-generic.c
      	* gdk/gdkregion-generic.c
      	* gdk/directfb/gdkcolor-directfb.c
      	* gdk/directfb/gdkgc-directfb.c
      	* gdk/directfb/gdkgeometry-directfb.c
      	* gdk/directfb/gdkwindow-directfb.c
      	* gdk/quartz/gdkcolor-quartz.c
      	* gdk/quartz/gdkgc-quartz.c
      	* gdk/quartz/gdkgeometry-quartz.c
      	* gdk/quartz/gdkwindow-quartz.c
      	* gdk/win32/gdkcolor-win32.c
      	* gdk/win32/gdkgc-win32.c
      	* gdk/win32/gdkgeometry-win32.c
      	* gdk/win32/gdkprivate-win32.h
      	* gdk/win32/gdkwindow-win32.c
      	* gdk/x11/gdkcolor-x11.c
      	* gdk/x11/gdkgc-x11.c
      	* gdk/x11/gdkgeometry-x11.c
      	* gdk/x11/gdkmain-x11.c
      	* gdk/x11/gdkprivate-x11.h
      	* gdk/x11/gdkwindow-x11.c: changed accordingly.
      
      	* gdk/gdkpolyreg-generic.c: uncruftify to have proper function
      	headers.
      
      
      svn path=/trunk/; revision=19365
      92f86e04
  15. 07 Sep, 2007 1 commit
  16. 10 Aug, 2007 1 commit
  17. 28 May, 2006 1 commit
  18. 24 Dec, 2005 1 commit
    • Matthias Clasen's avatar
      Inline docs. · 7f008773
      Matthias Clasen authored
      2005-12-24  Matthias Clasen  <mclasen@redhat.com>
      
      	* gdk/gdkrectangle.c: Inline docs.
      7f008773
  19. 31 Aug, 2005 1 commit
    • Matthias Clasen's avatar
      Intern type names before registering the type to avoid unnecessary copies. · 476e138d
      Matthias Clasen authored
      2005-08-31  Matthias Clasen  <mclasen@redhat.com>
      
      	* gdk/x11/gdkwindow-x11.c (gdk_window_impl_x11_get_type):
      	* gdk/x11/gdkscreen-x11.c (_gdk_screen_x11_get_type):
      	* gdk/x11/gdkpixmap-x11.c (gdk_pixmap_impl_x11_get_type):
      	* gdk/x11/gdkkeys-x11.c (gdk_keymap_x11_get_type):
      	* gdk/x11/gdkinput.c (gdk_device_get_type):
      	* gdk/x11/gdkimage-x11.c (gdk_image_get_type):
      	* gdk/x11/gdkgc-x11.c (_gdk_gc_x11_get_type):
      	* gdk/x11/gdkdrawable-x11.c (_gdk_drawable_impl_x11_get_type):
      	* gdk/x11/gdkdnd-x11.c (gdk_drag_context_get_type):
      	* gdk/x11/gdkdisplay-x11.c (_gdk_display_x11_get_type):
      	* gdk/x11/gdkcolor-x11.c (gdk_colormap_get_type):
      	* gdk/gdkwindow.c (gdk_window_object_get_type):
      	* gdk/gdkscreen.c (gdk_screen_get_type):
      	* gdk/gdkrectangle.c (gdk_rectangle_get_type):
      	* gdk/gdkpixmap.c (gdk_pixmap_get_type):
      	* gdk/gdkkeys.c (gdk_keymap_get_type):
      	* gdk/gdkfont.c (gdk_font_get_type):
      	* gdk/gdkevents.c (gdk_event_get_type):
      	* gdk/gdkdraw.c (gdk_drawable_get_type):
      	* gdk/gdkdisplaymanager.c (gdk_display_manager_get_type):
      	* gdk/gdkdisplay.c (gdk_display_get_type):
      	* gdk/gdkcursor.c (gdk_cursor_get_type):
      	* gdk/gdkcolor.c (gdk_color_get_type): Intern type names before
      	registering the type to avoid unnecessary copies.
      476e138d
  20. 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
  21. 09 Aug, 2004 1 commit
    • Matthias Clasen's avatar
      Add hidden aliases for exported symbols which are used internally in order · 0742ff3a
      Matthias Clasen authored
      Mon Aug  9 15:41:17 2004  Matthias Clasen  <maclas@gmx.de>
      
      	Add hidden aliases for exported symbols which are
      	used internally in order to get rid of many PLT
      	entries.  (#145519, Arjan van de Ven)
      
      	* gdk/Makefile.am: Add rules to generate gdk.def and
      	gdkalias.h from gdk.symbols, and make make check check
      	the abi with abicheck.sh.
      
      	* gdk/gdk.symbols: New file. Definition of the GDK ABI.
      	The file can be processed by cpp to filter out certain
      	subsets of symbols.
      
      	* gdk/abicheck.sh: New file. Script to check the actually
      	symbols exported from libgdk-x11.2.0.so against the symbols
      	found in gdk.symbols.
      
      	* gdk/makegdkalias.pl: New file. Perl script to generate the
      	header containing the alias definitions for internally used
      	exported symbols from a list of symbols.
      
      	* gdk/*.c, gdk/x11/*.c: Include gdkalias.h
      0742ff3a
  22. 06 Mar, 2004 1 commit
  23. 10 Sep, 2001 1 commit
  24. 01 Jun, 2001 1 commit
    • Owen Taylor's avatar
      Add GDK_TYPE_RECTANGLE. · 1a6efe96
      Owen Taylor authored
      Fri Jun  1 11:31:55 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gdk/gdkrectangle.c (gdk_rectangle_get_type): Add
      	GDK_TYPE_RECTANGLE.
      
      	* gtk/gtkwidget.c (gtk_widget_class_init): Fix type
      	of allocation argument be GDK_TYPE_RECTANGLE.
      1a6efe96
  25. 03 Aug, 2000 1 commit
  26. 26 Jul, 2000 1 commit
  27. 28 Mar, 2000 1 commit
  28. 14 Mar, 2000 1 commit
  29. 01 Oct, 1999 1 commit
    • Owen Taylor's avatar
      Started · 637a466d
      Owen Taylor authored
      Fri Oct  1 18:03:36 1999  Owen Taylor  <otaylor@redhat.com>
      
              * docs/Changes-1.4.txt: Started
      
      	* gtk/Makefile.am (gdk_headers): Include all the new headers.
      
              * gdk/*.h gdk/*.c: Split gdk.h into lots of itty-bitty little pieces.
      
      	* gdk/gdkprivate.h gdk/gdkcc.c: Moved GdkColorContext private
      	into C file.
      
      	* gdkinput.h gdkinputprivate.h - renamed the internal gdkinput
      	header to gdkinputprivate.h.
      
      	* gdk/gdk.h gdk/gdk.c: Removed gdk_time* functions which have been
      	unused since before 1.2.
      637a466d
  30. 25 Apr, 1999 1 commit
    • Tor Lillqvist's avatar
      Support added for building using a GNU toolchain on Win32, · 1c84483f
      Tor Lillqvist authored
      	gcc -mno-cygwin (egcs-1.1.2) on cygwin-b20.1.
      
      	* gdk/win32/makefile.cygwin gtk/makefile.cygwin: New files.
      	* config.h.win32: Changes for gcc.
      	* gdk/gdkrectangle.c: Include gdk.h as <gdk/gdk.h>.
      	* gdk/gdkcolor.c: config.h.win32 already defines strcasecmp.
      	* gdk/win32/gdkconfig.h: Only the MS compiler has wctype.h.
      	* gdk/win32/gdkdnd.c: Protect (unused) OLE2 stuff better.
      	Protect shl stuff unavaiilable with mingw32 headers.
      	* gdk/win32/gdkevents.c: Fix typo.
      	* gdk/win32/gdkglobals.c: Use GDKVAR here also for gcc.
      	* gdk/win32/gdkim.c: Use OEM code page for multibyte chars. (?)
      	* gdk/win32/gdkinput.c: Use __try __except only with the MS compiler.
      	* gdk/win32/gdkprivate.h: Make up for some stuff missing from
      	the mingw32 headers.
      	* gdk/win32/makefile.msc: Use latest Wintab kit and glib.
      	* gtk/gtkfilesel.c: Include <glib.h> early, to get stat->_stat
      	definition on Win32. Test for NATIVE_WIN32, not _MSC_VER.
      	* gtk/gtkfontsel.c: Protect CHARSET redefinition on Win32.
      	Test for NATIVE_WIN32, not _MSC_VER.
      	* gtk/gtkmain.c: No use warning about developer version on Win32,
      	there aren't any non-developer versions anyhow.
      	* gtk/gtkrc.c: Test for NATIVE_WIN32, not _MSC_VER.
      	* gtk/makefile.msc: Use pthread from another directory. Minor other
      	changes.
      1c84483f
  31. 24 Feb, 1999 1 commit
  32. 10 Feb, 1999 1 commit
    • Tim Janik's avatar
      asure that ->value_buf always points to an allocated area. · 88c112cd
      Tim Janik authored
      Wed Feb 10 08:35:36 1999  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkcolorsel.c (gtk_color_selection_draw_value_bar): asure that
              ->value_buf always points to an allocated area.
              (gtk_color_selection_drag_end): new function hooked up to drag_end to
              destroy the drag_window.
      
              * gtk/gtkdnd.c: some coding style fixups.
      
      Wed Feb 10 06:47:17 1999  Tim Janik  <timj@gtk.org>
      
              * gdk/gdkwindow.c: various indentation fixes.
      
              * gdk/gdkevents.c: coding style fixups.
              NULL initialize event_func, event_notify and event_chunk.
              (expose_predicate): made this function static.
              (gdk_event_handler_set): perform destroy notification even if no
              event_func is set.
      
              * gdk/gdkrectangle.c (gdk_rectangle_union): added g_return_if_fail
              statements.
      88c112cd
  33. 06 Nov, 1998 1 commit
  34. 13 Apr, 1998 1 commit
  35. 24 Nov, 1997 1 commit