imquartz: Fallback to slave IM context if no NSEvent exists.

When an application translates a key event and drop its native event
before passing to imquartz, it can't recognize the NSEvent. On this
case imquartz doesn't emit any signals such as "commit" signal so
that the application doesn't insert any text. To avoid no response,
at least imquartz should fallback to slave GtkIMContextSimple.

https://bugzilla.gnome.org/show_bug.cgi?id=694273#c27
Bug 701332 - Patch for minor glitch in NSTextInput
Bug Bug 703789 - gtk.immodules still referenced

After switch to immodules.cache
X11: Fix the cut-off for too large windows

We can only handle 2^15-1 pixels, not 2^16-1.
Pointed out by Morten Welinder.

http://bugzilla.gnome.org/show_bug.cgi?id=698758
Limit includes in gtksignal.h

https://bugzilla.gnome.org/show_bug.cgi?id=536767
win32: always recreate the cairo surface if requested to do so

When _gdk_windowing_create_cairo_surface() gets called, we should always create
a fully new cairo surface, instead of just referencing the available one, which
may already be finished (i.e. in CAIRO_STATUS_SURFACE_FINISHED state).

A new user_data key is added to the surface to explicitly release the acquired
DC when the surface is destroyed, independent to the user_data key added to
clear the impl->user_data pointer.

https://bugzilla.gnome.org/show_bug.cgi?id=695636
Bug 705181: Fix annoying beeping introduced by Mac IME

NSTextInputClient should not chain unhandled commands to super
Merge branch 'gtk-2-24' of git://git.gnome.org/gtk+ into gtk-2-24

Conflicts:
	README.win32
JOHNE - Comment out a #define after latest update