summaryrefslogtreecommitdiff
path: root/modules/input
Commit message (Collapse)AuthorAgeFilesLines
* Change FSF AddressJavier Jardón2012-02-2722-66/+22
|
* Use G_SOURCE_CONTINUE/REMOVEMatthias Clasen2012-01-301-1/+1
| | | | | Now that GLib provides these macros, we should use them to make the code more readable.
* XIM: gracefully deal with non-X backendsMatthias Clasen2011-12-291-0/+2
| | | | Patch by Young-Ho Cha, bug 660309.
* Drop DISABLE_DEPRECATED guards here, tooMatthias Clasen2011-11-011-4/+2
|
* Avoid a crash in gtk_im_context_ime_resetKazuki Iwamoto2011-06-061-0/+3
| | | | | | | | When GTK+ runs with inputim-ime.dll module, there is NULL pointer reference. Because "context_ime->client_window" may be NULL in gtk_im_context_ime_reset. https://bugzilla.gnome.org/show_bug.cgi?id=644906
* Replace gtk_misc_set_padding() with GtkWidget:margin propertiesJavier Jardón2011-06-021-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=651605
* Bump the version to 3.0.0Matthias Clasen2011-02-101-2/+2
| | | | | | | At the same time, change the library sonames for -3.0 to just -3. This is necessary since the 2.99 releases installed libraries like libgtk-3.0.so.0.9903.0, and we want to prevent the library version number from jumping back. So 3.0 will have libgtk-3.so.0.0.0.
* Fix win32 buildFridrich Štrba2011-01-111-0/+4
|
* Rename gtk-update-icon-cache and gtk-builder-convert backMatthias Clasen2011-01-031-2/+2
| | | | | | | | | | | | In bug 635207, it was pointed out that it is a bad idea to rename these tools purely in the name of parallel-installability, since it forces dependencies to make a choice between running gtk-update-icon-cache and gtk-update-icon-cache-3.0 (or both ?!). So, we rename these utilities back to their un-suffixed names and rely on distributors to resolve the conflict between GTK+ 2.x and GTK+ 3.0 packages, which can be done e.g. by dropping the utilities from the gtk3 packages and add a gtk3 -> gtk2 dependency.
* Merge libgdk and libgtkMatthias Clasen2010-12-211-4/+2
| | | | | | | | | | | This commit does a number of things: - remove some dead wchar configury from configure.ac and gdkconfig.h - repurpose gdkconfig.h as header that contains GDK_WINDOWING_foo macros for each included backend, include it in gdk.h and install it in $includedir instead of below $libdir - drop the backend from the library names - build libgdk-3.0.la as a convenience lib and include it in libgtk-3.0.la It does not yet enable building multiple backends at the same time.
* xim: Fix for new style codeBenjamin Otte2010-12-151-26/+9
|
* im-xim: Use window macros instead of drawable macrosBenjamin Otte2010-12-021-5/+5
|
* settings: Move setting property registration in gtksettings.cEmmanuele Bassi2010-10-201-19/+0
| | | | | | | | | Some GtkSettings property are registered by other classes. This leads to the "interesting" issue that setting GtkSettings:gtk-button-images requires that the GtkButton class is referenced first - or that a GtkButton is created. https://bugzilla.gnome.org/show_bug.cgi?id=632538
* build: Distribute README.multipressVincent Untz2010-10-111-0/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=631872
* Move GtkSizeRequest into GtkWidgetBenjamin Otte2010-09-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | It doesn't make sense to keep them separate as GtkSizeRequest requires a GtkWidget and GtkWidget implements GtkSizeRequest, so you can never have one without the other. It also makes the code a lot easier because no casts are required when calling functions. Also, the names would translate to gtk_widget_get_width() and people agreed that this would be a too generic name, so a "preferred" was added to the names. So this patch moves the functions: gtk_size_request_get_request_mode() => gtk_widget_get_request_mode() gtk_size_request_get_width() => gtk_widget_get_preferred_width() gtk_size_request_get_height() => gtk_widget_get_preferred_height() gtk_size_request_get_size() => gtk_widget_get_preferred_size() gtk_size_request_get_width_for_height() => gtk_widget_get_preferred_width_for_height() gtk_size_request_get_height_for_width() => gtk_widget_get_preferred_height_for_width() ... and moves the corresponding vfuncs to the GtkWidgetClass. The patch also renames the implementations of the vfuncs in widgets to include the word "preferrred".
* imcontextxim: Connect to draw signalBenjamin Otte2010-09-261-14/+7
|
* gtk: gdk_drawable_get_screen/visual => gdk_window_get_screen/visualBenjamin Otte2010-09-261-2/+2
|
* Use gtk_size_request_get_size() instead deprecated gtk_widget_size_request()Javier Jardón2010-09-151-2/+3
| | | | | | | Fixes https://bugzilla.gnome.org/show_bug.cgi?id=629598 Signed-off-by: Javier Jardón <jjardon@gnome.org> Signed-off-by: Tristan Van Berkom <tristanvb@openismus.com>
* Use accessor functions in Win32-only codeTor Lillqvist2010-09-091-2/+2
|
* GDK: Prefix key names with KEY_Colin Walters2010-09-0810-395/+395
| | | | | | | | | | | | | The keysyms create a lot of potential namespace conflicts for C, and are especially problematic for introspection, where we take constants into the namespace, so GDK_Display conflicts with GdkDisplay. For C application compatiblity, add gdkkeysyms-compat.h which uses the old names. Just one user in GTK+ continues to use gdkkeysyms-compat.h, which is the gtkimcontextsimple.c, since porting that requires porting more custom Perl code.
* modules/input/gtkimcontextxim.c: Use accessors to GtkWidgetJavier Jardón2010-08-221-9/+18
|
* imcontextxim: Draw with CairoBenjamin Otte2010-07-261-10/+15
|
* Use GtkBin accessorsJavier Jardón2010-07-131-1/+1
|
* Revert "Use wide character API in the Windows IME module"Tor Lillqvist2010-06-271-3/+3
| | | | | | | | | Ha, pango_win32_font_logfontw hasn't been exported from libpangowin32 after all due to a typo. This will have to wait. And actually libpangowin32 is supposed to be deprecated surely, so that functionality should be moved to libpangocairo or something. This reverts commit 804effba9938b3e5ffcad1e731fdf83daf3e0aac.
* Use wide character API in the Windows IME moduleTor Lillqvist2010-06-271-3/+3
|
* Make GTK+ use an external gdk-pixbufMatthias Clasen2010-06-261-3/+1
|
* Some cleanups after the module cache file changeMatthias Clasen2010-05-181-10/+10
| | | | | | | | Bring the various 'run uninstalled' hacks in line with the new way of doing things, and fix make install for module cache files. Patch by Tadej Borovsak.
* Make 3.0 parallel-installable to 2.xMatthias Clasen2010-05-081-11/+11
| | | | | | | | | | | | | | | In particular, rename - libraries to lib*-3.0.so - pc files to *-3.0.pc - include paths to /usr/include/gtk-3.0/* - module paths to /usr/lib/gtk-3.0/* - rc files names to gtk-3.0/gtkrc - commandline utilities to *-3.0 - adjust documentation Also change the install location for unix-print headers to /usr/include/gtk-3.0/unix-print/gtk.
* Deprecate flag macros for toplevel, state, no window and composite childChristian Dywan2010-01-041-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | Deprecate widget flag macros GTK_WIDGET_STATE, GTK_WIDGET_SAVED_STATE, GTK_WIDGET_FLAGS, GTK_WIDGET_TOPLEVEL, GTK_WIDGET_NO_WINDOW and GTK_WIDGET_COMPOSITE_CHILD. Also deprecate the type macros GTK_WIDGET_TYPE, GTK_OBJECT_TYPE_NAME and GTK_OBJECT_TYPE which have become redundant. Instances of GTK_WIDGET_TOPLEVEL are replaced with gtk_widget_is_toplevel, GTK_WIDGET_TYPE is replaced with G_OBJECT_TYPE, GTK_WIDGET_COMPOSITE_CHILD is replaced with use of the "composite-child" property and uses of GTK_WIDGET_NO_WINDOW are adjusted to use gtk_widget_get_has_window. Uses of GTK_WIDGET_SAVED_STATE and GTK_WIDGET_FLAGS inside GtkWidget are changed to direct flag usage. Documentation is updated to refer to gtk_widget_set_has_window and gtk_widget_get_has_window. Gail and tests are updated as well. Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=69872
* Do not use static GTypeInfo and GInterfaceInfoNicola Fontana2009-11-0612-12/+12
| | | | | | | | | Either g_type_register_static_simple (used by G_DEFINE_TYPE_EXTENDED) and G_IMPLEMENT_INTERFACE use automatic variables for GTypeInfo and GInterfaceInfo structs, while tutorials and source code often use static variables. This commit consistently adopts the former method. https://bugzilla.gnome.org/show_bug.cgi?id=600158
* Add git.mk to generate .gitignore filesBehdad Esfahbod2009-05-041-0/+2
| | | | Add four new doc templates that were not in repository.
* Bug 457086 - numpad does not work when the Thai-Lao input method is usedTheppitak Karoonboonyanan2009-03-021-1/+1
| | | | | | | | | | | | | | 2009-03-02 Theppitak Karoonboonyanan <thep@linux.thai.net> Bug 457086 - numpad does not work when the Thai-Lao input method is used * modules/input/gtkimcontextthai.c (is_context_lost_key): Do not count character-generating keypads as context-lost keys. (patch recommitted after approval) svn path=/trunk/; revision=22437
* Revert the unapproved patch for bug 457086.Theppitak Karoonboonyanan2009-02-191-1/+1
| | | | | | | | | | 2009-02-19 Theppitak Karoonboonyanan <thep@linux.thai.net> * modules/input/gtkimcontextthai.c (is_context_lost_key): Revert the unapproved patch for bug 457086. svn path=/trunk/; revision=22371
* Bug 457086 - numpad does not work when the Thai-Lao input method is usedTheppitak Karoonboonyanan2009-02-181-1/+1
| | | | | | | | | | | | | 2009-02-18 Theppitak Karoonboonyanan <thep@linux.thai.net> Bug 457086 - numpad does not work when the Thai-Lao input method is used * modules/input/gtkimcontextthai.c (is_context_lost_key): Do not count character-generating keypads as context-lost keys. svn path=/trunk/; revision=22354
* Remove the namespace prefix from functions defined locally only. Clean upDaniel Elstner2009-01-163-412/+263
| | | | | | | | | | | | | | | | | | | | | | * modules/input/gtkimcontextmultipress.[ch]: Remove the namespace prefix from functions defined locally only. Clean up the code and change indentation to match the GTK+ coding style. (_GtkImContextMultipress::key_sequences): Replace array of pointers by GHashTable. Adapt the implementation accordingly. (passthrough_enabled_for_window): Remove. The passthrough hack is no longer necessary thanks to the recently introduced "im-module" property of GtkEntry and GtkTextView. (load_config): Rework to implement an improved configuration file format. Just fetch all keys of the group instead of expecting the keys to be named a certain way. This also allows interpreting the config key itself as the GDK key name to bind the character sequence to, thereby making it independent of the sequence itself. * modules/input/im-multipress.conf: New example configuration using the new syntax. The example sequences are now bound to the numeric keypad and imitate the behavior of a standard mobile phone. svn path=/trunk/; revision=22125
* Maintenance of Multipress input method by Openismus GmbH:Daniel Elstner2008-12-104-155/+145
| | | | | | | | | | | | | | * modules/input/gtkimcontextmultipress.[ch]: Clean up the code a bit to follow the GTK+ coding style more closely. Fix the code to emit "preedit-start" and "preedit-end", too, rather than only "preedit-changed". (GTK_IM_CONTEXT_MULTIPRESS*): Rename incorrectly spelled macros gtk_im_context_multipress*. Shouldn't break API or ABI as it's only used internally. * modules/input/immultipress.c: More cleanup, * modules/input/README.multipress: ditto. svn path=/trunk/; revision=21864
* Bug 339367 – Incorrect spotlocationMatthias Clasen2008-09-281-1/+1
| | | | | | | | | | | 2008-09-27 Matthias Clasen <mclasen@redhat.com> Bug 339367 – Incorrect spotlocation * modules/input/gtkimcontextxim.c: Correct the spot location for on-the-spot style. svn path=/trunk/; revision=21537
* define -DGDK_PIXBUF_DISABLE_DEPRECATED in the global CFLAGS.Michael Natterer2008-08-121-9/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* modules/input/gtkimcontextime.c modules/input/gtkimcontextmultipress.c useSven Neumann2008-08-113-17/+17
| | | | | | | | | | | 2008-08-11 Sven Neumann <sven@gimp.org> * modules/input/gtkimcontextime.c * modules/input/gtkimcontextmultipress.c * modules/input/gtkimcontextxim.c: use canonical signal names. svn path=/trunk/; revision=21070
* Use a second-granularity timer.Matthias Clasen2008-07-311-2/+1
| | | | svn path=/trunk/; revision=20922
* Revert name changeCody Russell2008-07-0114-14/+14
| | | | svn path=/trunk/; revision=20724
* Practically everything changed.Cody Russell2008-06-3014-14/+14
| | | | | | | | | | | | | 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
* Include "config.h" instead of <config.h> Command used: find -nameJohan Dahlin2008-06-2213-13/+13
| | | | | | | | | | | | 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
* Don't use the deprecated GTK_* GtkType macros.Tor Lillqvist2008-06-171-5/+5
| | | | | | | | | | 2008-06-17 Tor Lillqvist <tml@novell.com> * modules/input/gtkimcontextime.h: Don't use the deprecated GTK_* GtkType macros. svn path=/trunk/; revision=20434
* modules/input/gtkimcontextmultipress.h modules/input/gtkimcontextthai.hMichael Natterer2008-06-173-24/+22
| | | | | | | | | | | | 2008-06-17 Michael Natterer <mitch@imendio.com> * modules/input/gtkimcontextmultipress.h * modules/input/gtkimcontextthai.h * modules/input/gtkimcontextxim.h: use G_TYPE instead of GTK_CHECK type checking macros. svn path=/trunk/; revision=20430
* modules/input/gtkimcontextime.h modules/input/gtkimcontextmultipress.hMichael Natterer2008-05-2715-42/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | 2008-05-28 Michael Natterer <mitch@imendio.com> * modules/input/gtkimcontextime.h * modules/input/gtkimcontextmultipress.h * modules/input/gtkimcontextthai.h * modules/input/gtkimcontextxim.h: include <gtk/gtk.h> instead of individual files. * modules/input/gtkimcontextime.c * modules/input/gtkimcontextmultipress.c * modules/input/gtkimcontextxim.c * modules/input/imam-et.c * modules/input/imcedilla.c * modules/input/imcyrillic-translit.c * modules/input/iminuktitut.c * modules/input/imipa.c * modules/input/imti-er.c * modules/input/imti-et.c * modules/input/imviqr.c: ditto. Some minor cleanups like moving "gtk/gtkintl.h" to the end of includes. svn path=/trunk/; revision=20200
* examples/gtkdial/gtkdial.h use G_BEGIN/END_DECLS.Michael Natterer2008-05-261-7/+2
| | | | | | | | | | 2008-05-26 Michael Natterer <mitch@imendio.com> * examples/gtkdial/gtkdial.h * modules/input/gtkimcontextthai.h: use G_BEGIN/END_DECLS. svn path=/trunk/; revision=20179
* use GETTEXT_PACKAGE instead of "gtk20".Michael Natterer2008-05-021-2/+2
| | | | | | | | | 2008-05-02 Michael Natterer <mitch@imendio.com> * modules/input/imthai.c: use GETTEXT_PACKAGE instead of "gtk20". svn path=/trunk/; revision=20066
* Register the right translation domain.Matthias Clasen2008-05-011-1/+1
| | | | | | | * modules/imput/imthai.c: Register the right translation domain. svn path=/trunk/; revision=20060
* include <pango/pango.h> instead of <pango/pango-layout.h>.Michael Natterer2008-04-251-1/+1
| | | | | | | | | | | | | | | | | | | | 2008-04-25 Michael Natterer <mitch@imendio.com> * gtk/gtkprintcontext.h: include <pango/pango.h> instead of <pango/pango-layout.h>. * gtk/gtkiconfactory.c * gtk/gtkimmodule.c * gtk/gtkmain.c * gtk/gtkmodules.c * gtk/queryimmodules.c: remove inclusion of single files from pango, none of them was actually needed. * modules/input/gtkimcontextime.c: include <pango/pango.h> instead of <pango/pango-utils.h>. svn path=/trunk/; revision=20042