1. 21 Dec, 2010 1 commit
  2. 18 Sep, 2010 1 commit
    • Havoc Pennington's avatar
      Revamp and modernize X error traps · b837ef5a
      Havoc Pennington authored
      * add per-display gdk_x11_display_error_trap_push()
        (X11-specific because gdk_error_trap_push() probably
        should have been)
      * make gdk_error_trap_push() handle only GDK displays
        not displays opened without a GDK wrapper
      * make gdk_error_trap_pop() and gdk_x11_display_error_trap_pop()
        automatically sync only if needed, so manual gdk_flush() is not
        required
      * add gdk_error_trap_pop_ignored() which just asynchronously
        ignores errors, so never needs to sync
      * add G_GNUC_WARN_UNUSED_RESULT to plain pop(), because
        if you use plain pop() and don't need the return value,
        the async gdk_error_trap_pop_ignored() should be used
        instead. This results in lots of warnings to clean
        up in a later patch.
      
      The main objective here was to avoid the need to sync just
      to ignore an error. Now, syncing is automatic, and only
      happens when we need to know the error code.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=629608
      b837ef5a
  3. 26 May, 2010 1 commit
  4. 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
  5. 05 May, 2008 1 commit
    • Richard Hult's avatar
      Initalize framework if there is one. · b136668c
      Richard Hult authored
      2008-05-05  Richard Hult  <richard@imendio.com>
      
      	* gdk/quartz/gdkmain-quartz.c (_gdk_windowing_init): Initalize
      	framework if there is one.
      
      svn path=/trunk/; revision=20075
      b136668c
  6. 15 Mar, 2007 1 commit
  7. 29 Jul, 2006 1 commit
    • Richard Hult's avatar
      Always set success to TRUE. (gdk_color_change): Implement. · 571c4605
      Richard Hult authored
      2006-07-29  Richard Hult  <richard@imendio.com>
      
      	* gdk/quartz/gdkcolor-quartz.c (gdk_colormap_alloc_colors): Always
      	set success to TRUE.
      	(gdk_color_change): Implement.
      
      	* gdk/quartz/GdkQuartzWindow.c
      	([GdkQuartzWindow -canBecomeKeyWindow]): Add comment.
      
      	* gdk/quartz/gdkevents-quartz.c (gdk_screen_get_setting): Make the
      	default font a bit smaller until we have made this get the system
      	setting.
      
      	* gdk/quartz/gdkwindow-quartz.c (gdk_window_set_type_hint): Enable
      	shadows for the right window types.
      
      	* gdk/quartz/gdkprivate-quartz.h:
      	* gdk/quartz/gdkgc-quartz.c:
      	* gdk/quartz/gdkdrawable-quartz.c:
      	* gdk/quartz/gdkcolor-quartz.c: Expose the CGContext functions,
      	update callers.
      
      	* gdk/quartz/gdkmain-quartz.c: (_gdk_windowing_init): No need to
      	get the current process ID, use the right constant instead.
      571c4605
  8. 09 Jul, 2006 1 commit
    • Richard Hult's avatar
      Implement some more stubs for pygtk, bug #346713. · 45154303
      Richard Hult authored
      2006-07-09  Richard Hult  <richard@imendio.com>
      
      	* gdk/quartz/gdkgeometry-quartz.c:
      	* gdk/quartz/gdkmain-quartz.c:
      	* gdk/quartz/gdkpixmap-quartz.c:
      	* gdk/quartz/gdkwindow-quartz.c:
      	* gtk/gtkclipboard-quartz.c: Implement some more stubs for pygtk,
      	bug #346713.
      45154303
  9. 03 Apr, 2006 1 commit
    • Matthias Clasen's avatar
      Make _gdk_windowing_args const. · aff3329d
      Matthias Clasen authored
      2006-04-03  Matthias Clasen  <mclasen@redhat.com>
      
      	* gdk/gdkinternals.h:
      	* gdk/x11/gdkmain-x11.c:
      	* gdk/win32/gdkmain-win32.c:
      	* gdk/directfb/gdkdisplay-directfb.c:
      	* gdk/quartz/gdkmain-quartz.c: Make _gdk_windowing_args const.
      aff3329d
  10. 27 Mar, 2006 1 commit
    • Richard Hult's avatar
      Add more stubs. · ce823f5b
      Richard Hult authored
      2006-03-27  Richard Hult  <richard@imendio.com>
      
      	* gdk/quartz: Add more stubs.
      ce823f5b
  11. 18 Jan, 2006 1 commit
  12. 16 Jan, 2006 1 commit
    • Anders Carlsson's avatar
      Implement keyboard grabs. · 4afc4d61
      Anders Carlsson authored
      2006-01-16  Anders Carlsson  <andersca@mac.com>
      
              * gdk/quartz/gdkdisplay-quartz.c:
              * gdk/quartz/gdkevents-quartz.c:
              (gdk_keyboard_grab):
              (gdk_display_keyboard_ungrab):
              (gdk_keyboard_grab_info_libgtk_only):
              (find_window_for_event):
              Implement keyboard grabs.
      
              (_gdk_quartz_send_map_events):
              * gdk/quartz/gdkmain-quartz.c:
              * gdk/quartz/gdkprivate-quartz.h:
              New function that synthesizes map events.
      
              * gdk/quartz/gdkwindow-quartz.c:
              (_gdk_windowing_window_init):
              The root window is always visible.
      
              (all_parents_shown):
              (show_window_internal):
              Send map events.
      
              (gdk_window_hide):
              Ungrab keyboard and pointer
      4afc4d61
  13. 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
  14. 28 Sep, 2005 1 commit
  15. 06 Jul, 2005 1 commit
  16. 01 Dec, 2004 1 commit
  17. 01 Oct, 2004 1 commit
    • Tor Lillqvist's avatar
      Set _gdk_input_ignore_wintab to FALSE, thus enabling tablet input by · 8439956a
      Tor Lillqvist authored
      2004-10-01  Tor Lillqvist  <tml@iki.fi>
      
      	* gdk/win32/gdkglobals-win32.c: Set _gdk_input_ignore_wintab to
      	FALSE, thus enabling tablet input by default.
      
      	* gdk/win32/gdkmain-win32.c (_gdk_windowing_args): Accept the
      	--use-wintab option again (but without effect, as this is now the
      	default, see above). (#153788)
      
      	* modules/input/gtkimcontextime.c: Numerous changes.
      
      	Remove the ifdef UNICODE conditionals. Always use the
      	wide-character Imm* API. It is present also in Windows 98 and
      	Me. (Not Windows 95, but I think we don't care about that.) Using
      	the multibyte API wouldn't work anyway on systems where the system
      	codepage doesn't support the language the user uses an IME for, so
      	for instance I wouldn't be able to test this module on my English
      	Windows 2000 although I do have C, J and K IMEs available.
      
      	Guard against IMM not being active, always check ImmGetContext()
      	returning NULL. Work to some extent even without any IME. Fixes
      	#153800 at least partially.
      
      	* modules/input/imime.c (ime_info): Rename to "ime" to match the
      	naming pattern of other input modules. Make it default for
      	ja:ko:zh only.
      8439956a
  18. 26 Aug, 2004 1 commit
    • Matthias Clasen's avatar
      Build imime.la on Windows. · 24dd1030
      Matthias Clasen authored
      2004-08-26  Matthias Clasen  <mclasen@redhat.com>
      
      	* modules/input/Makefile.am: Build imime.la on Windows.
      
      	* modules/input/gtkimcontextime.h:
      	* modules/input/gtkimcontextime.c:
      	* modules/input/imime.c:
      	* modules/input/imm-extra.h: Add the IME input method for Win32
      	written by Takuro Ashie and Kazuko IWAMOTO. The code was previously
      	hosted at http://sourceforge.jp/projects/imime.  (#135195)
      24dd1030
  19. 24 Apr, 2004 1 commit
  20. 06 Mar, 2004 1 commit
  21. 30 May, 2003 1 commit
    • Hidetoshi Tajima's avatar
      make "Default" label of default input method localizable. use translations · 156e978f
      Hidetoshi Tajima authored
      Thu May 29 09:34:05 2003  Hidetoshi Tajima  <hidetoshi.tajima@sun.com>
      
              * gtk/gtkimmodule.c (_gtk_im_module_list): make "Default"
              label of default input method localizable.
              * gtk/gtkimmulticontext.c (gtk_im_multicontext_append_menuitems):
              use translations of input method context names
              * modules/input/imam-et.c, modules/input/imcyrillic-translit.c,
                modules/input/iminuktitut.c, modules/input/imthai-broken.c,
                modules/input/imti-er.c, modules/input/imti-et.c
                modules/input/imviqr.c, modules/input/imxim.c
              use GETTEXT_PACKAGE instead of "gtk+" for domain name.
              (#113850).
      156e978f
  22. 17 May, 2002 1 commit
    • Owen Taylor's avatar
      Protect against reentrancy problems by emitting ::preedit_changed at the · 3fe86a48
      Owen Taylor authored
      Fri May 17 14:40:24 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkimmulticontext.c (gtk_im_multicontext_set_slave):
              Protect against reentrancy problems by emitting
              ::preedit_changed at the end, fixing input context
              leak. (Yao Zhang)
      
              * modules/input/gtkimcontextxim.c (status_window_free):
              Patch from Federico Mena Quintero to fix problem where
              references to IMContextXIM were kept around after
              module was unloaded.
      
              * gtk/gtkdnd.c (gtk_drag_dest_set): NULL initialize
              proxy window.
      3fe86a48
  23. 27 Feb, 2002 1 commit
  24. 12 Nov, 2000 1 commit
    • Owen Taylor's avatar
      Rip out support for multiple locales; that simple doesn't work reliably · b9d32873
      Owen Taylor authored
      Tue Sep 19 10:54:22 2000  Owen Taylor  <otaylor@redhat.com>
      
      	* modules/input/{gtkimcontextxim.[ch],imxim.c}: Rip
      	out support for multiple locales; that simple doesn't
      	work reliably with current Xlib
      
      	* gtk/gtkimcontext*.[ch] gtk/gtkimmulticontext.[ch]
      	gtk/gtktextlayout.[ch] gtk/gtktextview.c gtk/gtkentry.c:
      	Add support for positioning the cursor within the preedit string.
      
      Mon Sep 18 23:56:32 2000  Owen Taylor  <otaylor@redhat.com>
      
      	* modules/input/{imxim.c,gtkimcontextxim.[ch]}: Start
      	at XIM input method module.
      
      Sun Sep 17 10:08:16 2000  Owen Taylor  <otaylor@redhat.com>
      
      	* modules/input/Makefile.am (moduledir): remove
      	leftover bin program target.
      
      Sat Sep 16 13:05:48 2000  Owen Taylor  <otaylor@redhat.com>
      
      	* modules/input/imcyrillic-translit.c: A sample input
      	method (based on GtkIMContextSimple with an extra table),
      	which demonstrates preedit strings and the module
      	system for input modules
      b9d32873