summaryrefslogtreecommitdiff
path: root/gtk/gtkimcontextsimple.c
Commit message (Collapse)AuthorAgeFilesLines
* GtkImageMenuItem: move public members to private structureJavier Jardón2010-07-131-104/+133
|
* gtk/: fully remove gtkalias hacksJavier Jardón2010-07-101-4/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=623845
* Allow holding compose key while entering a sequenceMatthias Clasen2009-11-281-3/+6
| | | | | This broke when we started allowing Super, Hyper and Meta as accel modifiers. See bug 601959.
* Update compose sequencesMatthias Clasen2009-10-251-1/+1
| | | | | This patch includes additions to the X.org Compose file from the last year. Patch by Peter Hutterer
* Use standard mac shortcutsYevgen Muntyan2009-10-261-1/+2
| | | | | | | | This changes Ctrl-X, Ctrl-C, etc. to Cmd-X, Cmd-C, etc. Also, Alt-Left and Alt-Right in text widgets bound to Ctrl-Left and Ctrl-Right actions https://bugzilla.gnome.org/show_bug.cgi?id=530351
* Bug 145058 - Inputting "^^" requires four keystrokes on Win32, differsTor Lillqvist2009-01-291-14/+106
| | | | | | | | | | | | | | | | | | | | | | | | | | 2009-01-29 Tor Lillqvist <tml@novell.com> Bug 145058 - Inputting "^^" requires four keystrokes on Win32, differs from platform default behaviour * gtk/gtkimcontextsimple.c (check_win32_special_case_after_compact_match): New function. Called from check_compact_table() after a table-based match has committed a character. In case there was two identical dead accents in the input, another copy of the spacing accent that was already committed is committed. This fixes #145058. (check_win32_special_cases): New function. Called first from gtk_im_context_simple_filter_keypress(). This fixes another problem: a dead accent followed by a space should commit the corresponding spacing accent. The compose tables from X commit another character in two cases and we want to override that on Windows. Add GTK_NOTE (MISC) debugging output to this code. svn path=/trunk/; revision=22253
* Closes #557420 – Some compose sequences don't work anymoreSimos Xenitellis2008-12-031-2/+2
| | | | svn path=/trunk/; revision=21843
* Closed #555625 – Updated gtk_compose_seqs_compact table ↵Simos Xenitellis2008-10-121-2/+2
| | | | | | (gtkimcontextsimpleseqs.h) svn path=/trunk/; revision=21634
* Fixed Bug 555000, check_algorithmically() applies to deadkey keysyms only.Simos Xenitellis2008-10-101-8/+4
| | | | svn path=/trunk/; revision=21623
* Fixed Bug 554192 – deadkey-only compose sequences now workingSimos Xenitellis2008-10-081-3/+3
| | | | svn path=/trunk/; revision=21613
* Fixed Bug 554506 – combining diacritics broken, became deadkeysSimos Xenitellis2008-10-011-2/+10
| | | | svn path=/trunk/; revision=21557
* Fix a C99ismMatthias Clasen2008-09-161-1/+2
| | | | svn path=/trunk/; revision=21398
* Closed Bug 550676 – Memory leak, update keyboard layout data tableSimos Xenitellis2008-09-101-81/+107
| | | | svn path=/trunk/; revision=21339
* gtk/gtkdnd-quartz.c gtk/gtkdnd.c gtk/gtkentry.c gtk/gtkfilesel.cSven Neumann2008-08-111-14/+14
| | | | | | | | | | | | | | | | | | | | 2008-08-11 Sven Neumann <sven@gimp.org> * gtk/gtkdnd-quartz.c * gtk/gtkdnd.c * gtk/gtkentry.c * gtk/gtkfilesel.c * gtk/gtkimcontextsimple.c * gtk/gtkimmulticontext.c * gtk/gtkoptionmenu.c * gtk/gtkplug.c * gtk/gtkrecentchooserdefault.c * gtk/gtkscrolledwindow.c * gtk/gtksocket-x11.c: use canonical signal names in some more places that I missed earlier. svn path=/trunk/; revision=21069
* Fixed typo in comment (the name of Markus Kuhn)Simos Xenitellis2008-07-101-2/+2
| | | | svn path=/trunk/; revision=20817
* Revert name changeCody Russell2008-07-011-1/+1
| | | | svn path=/trunk/; revision=20724
* Practically everything changed.Cody Russell2008-06-301-1/+1
| | | | | | | | | | | | | 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-221-1/+1
| | | | | | | | | | | | 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
* Emit preedit_start/_end as appropriate. (#521934, Huang Peng)Matthias Clasen2008-03-151-1/+11
| | | | | | | | | | | 2008-03-15 Matthias Clasen <mclasen@redhat.com> * gtk/gtkimcontextsimple.c: Emit preedit_start/_end as appropriate. (#521934, Huang Peng) svn path=/trunk/; revision=19878
* Fix #321896 - Synch gtkimcontextsimple.c with XorgSimos Xenitellis2008-03-041-877/+249
| | | | svn path=/trunk/; revision=19706
* remove unused variable.Michael Natterer2008-01-091-1/+1
| | | | | | | | | | | | | | | | | | | | | 2008-01-09 Michael Natterer <mitch@imendio.com> * gtk/gtkcolorsel.c (make_label_spinbutton): remove unused variable. * gtk/gtkcombobox.c (gtk_combo_box_detacher) * gtk/gtkicontheme.c (theme_list_contexts) (gtk_icon_theme_lookup_icon) * gtk/gtkimcontextsimple.c (beep_window) * gtk/gtklinkbutton.c (set_link_color) * gtk/gtkuimanager.c (child_hierarchy_changed_cb): add casts to fix warnings. * gtk/gtkpathbar.c (_gtk_path_bar_set_file_system): remove unused variable and add const to another to fix a warning. svn path=/trunk/; revision=19330
* Fixed incorrect compose mapping for capital U with macron. (#468055, AaronCody Russell2007-08-191-2/+2
| | | | | | | | | | 2007-08-18 Cody Russell <bratsche@gnome.org> * gtk/gtkimcontextsimple.c: Fixed incorrect compose mapping for capital U with macron. (#468055, Aaron Crane) svn path=/trunk/; revision=18651
* Fix en/em dash confusion. (#378462)Matthias Clasen2007-01-011-1/+1
| | | | | | | | | | 2007-01-01 Matthias Clasen <mclasen@redhat.com> * gtk/gtkimcontextsimple.c: Fix en/em dash confusion. (#378462) svn path=/trunk/; revision=17000
* Allow composing l with stroke. (#349638, Daniel Lublin)Matthias Clasen2006-12-231-0/+4
| | | | | | | 2006-12-23 Matthias Clasen <mclasen@redhat.com> * gtk/gtkimcontextsimple.c: Allow composing l with stroke. (#349638, Daniel Lublin)
* Add new infrastructure for notifications of failed keyboard navigation andMichael Natterer2006-11-161-6/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-11-16 Michael Natterer <mitch@imendio.com> Add new infrastructure for notifications of failed keyboard navigation and navigation with restricted set of keys. The patch handles configurable beeping, navigating the GUI with cursor keys only (as in phone environments), and configurable wrap-around. Fixes bugs #322640, #70986, #318827, #334726, #334742 and #309291. * gtk/gtksettings.c: added properties gtk-keynav-cursor-only, gtk-keynav-wrap-around and gtk-error-bell. * gtk/gtkwidget.[ch]: added new signal "keynav-failed" and public API to emit it. Added New function gtk_widget_error_bell() which looks at the gtk-error-bell setting and calls gdk_window_beep() accordingly. * gtk/gtk.symbols: add the new widget symbols. * gtk/gtkcellrendereraccel.c * gtk/gtkimcontextsimple.c * gtk/gtkmenu.c * gtk/gtknotebook.c: use gtk_widget_error_bell() or look at the gtk-error-bell setting instead of calling gdk_display_beep() unconditionally. * gtk/gtkcombobox.c * gtk/gtkentry.c * gtk/gtkiconview.c * gtk/gtklabel.c * gtk/gtkmenushell.c * gtk/gtkspinbutton.c * gtk/gtktextview.c * gtk/gtktreeview.c: call gtk_widget_error_bell() on failed keynav. * gtk/gtkentry.c * gtk/gtklabel.c * gtk/gtkrange.c * gtk/gtktextview.c: consult gtk_widget_keynav_failed() on failed cursor navigation and leave the widget if it returns FALSE. * gtk/gtkmenushell.c * gtk/gtknotebook.c: only wrap around if gtk-keynav-wrap-around is TRUE. * gtk/gtkradiobutton.c: ask gtk_widget_keynav_failed() to decide whether to to wrap-around, and don't select active items on cursor navigation if gtk-keynav-cursor-only is TRUE. Should look at gtk-keynav-wrap-around too, will look into that.
* 0-terminate outbuf in all cases. (#348227, Nguyen Thái Ngoc Duy)Matthias Clasen2006-07-211-8/+3
| | | | | | | 2006-07-21 Matthias Clasen <mclasen@redhat.com> * gtk/gtkimcontextsimple.c (gtk_im_context_simple_get_preedit_string): 0-terminate outbuf in all cases. (#348227, Nguyen Thái Ngoc Duy)
* More of the sameMatthias Clasen2006-05-141-1/+1
|
* Boilerplate reductionMatthias Clasen2006-05-021-34/+2
|
* Make return and release work again to commit a hex sequence. Additionally,Matthias Clasen2006-03-141-10/+25
| | | | | | | | 2006-03-14 Matthias Clasen <mclasen@redhat.com> * gtk/gtkimcontextsimple.c: Make return and release work again to commit a hex sequence. Additionally, make escape reset the im context when in a hex sequence. (#334423, Behdad Esfahbod)
* Avoid emitting superfluous preedit_changed signals. Thanks to Matthias.Tor Lillqvist2006-03-031-7/+12
| | | | | | | | 2006-03-03 Tor Lillqvist <tml@novell.com> * gtk/gtkimcontextsimple.c (gtk_im_context_simple_commit_char) (gtk_im_context_simple_reset): Avoid emitting superfluous preedit_changed signals. Thanks to Matthias. (#319407)
* Don't commit from reset, it upstets GtkTextView.Matthias Clasen2005-12-061-4/+3
| | | | | | | | | | | | | 2005-12-06 Matthias Clasen <mclasen@redhat.com> * gtk/gtkimcontextsimple.c (gtk_im_context_simple_reset): Don't commit from reset, it upstets GtkTextView. * gtk/gtktextview.c (gtk_text_view_check_cursor_blink): Be more careful when turning blinking on and off. (gtk_text_view_focus_out_event): Make the cursor really invisible when the focus goes away. (#323087, Sadrul Habib Chowdhury) (cursor_blinks): Check the gtk-cursor-blink setting first.
* Let GDK_Return pass through in some more cases.Matthias Clasen2005-09-131-1/+5
| | | | | | | | | | 2005-09-13 Matthias Clasen <mclasen@redhat.com> * gtk/gtkimcontextsimple.c (gtk_im_context_simple_filter_keypress): Let GDK_Return pass through in some more cases. * gtk/gtkentry.c (gtk_entry_key_press): Reset the im context before activating the entry.
* Make C-u commit and restart hex input if we are already in a hex sequence.Matthias Clasen2005-09-071-2/+23
| | | | | | | | 2005-09-07 Matthias Clasen <mclasen@redhat.com> * gtk/gtkimcontextsimple.c (gtk_im_context_simple_filter_keypress): Make C-u commit and restart hex input if we are already in a hex sequence.
* Rework the Unicode hex input code. Now we only steal a single keyMatthias Clasen2005-09-021-73/+154
| | | | | | | | | | | | | | | | | 2005-09-02 Matthias Clasen <mclasen@redhat.com> * gtk/gtkimcontextsimple.c: Rework the Unicode hex input code. Now we only steal a single key combination, Ctrl-Shift-U, instead of sixteen. A hex Unicode sequence must be started with Ctrl-Shift-U, followed by a sequence of hex digits entered with Ctrl-Shift still held. Releasing one of the modifiers or pressing space while the modifiers are still held commits the character. It is possible to erase digits using backspace. As an extension to the above, we also allow to start the sequence with Ctrl-Shift-U, then release the modifiers before typing any digits, and enter the digits without modifiers. (#82011, Owen Taylor)
* Intern some more strings.Matthias Clasen2005-09-011-1/+2
| | | | | | | | | 2005-09-01 Matthias Clasen <mclasen@redhat.com> * gdk/*.c: Intern some more strings. * gtk/gtkintl.h: * gtk/*.c: Define an I_() macro and use it instead of the bulky g_intern_static_string().
* Intern type names in code generated by glib-mkenums, too.Matthias Clasen2005-08-311-1/+1
| | | | | | | | | | | | | 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.
* Change the compose sequence for soft hyphen to beMatthias Clasen2005-08-301-1/+3
| | | | | | | | | | 2005-08-30 Matthias Clasen <mclasen@redhat.com> * gtk/gtkimcontextsimple.c: Change the compose sequence for soft hyphen to be multi_key-minus-minus-space, and add compose sequences multi_key-minus-minus-period and multi_key-minus-minus-minus for en dash and em dash. (#172653, Christian Lohmaier)
* Make it compileMatthias Clasen2005-07-261-1/+1
|
* Add ISO_Level3_Shift to the list of keysyms to ignore for composition,Matthias Clasen2005-07-261-1/+2
| | | | | | | | 2005-07-26 Matthias Clasen <mclasen@redhat.com> * gtk/gtkimcontextsimple.c: Add ISO_Level3_Shift to the list of keysyms to ignore for composition, since AltGr keys produce it in some keyboard layouts. (#307283)
* Forgotten file.Matthias Clasen2005-05-211-4/+12
|
* Make PLT-reduction work with gcc4, and don't include everything inMatthias Clasen2005-03-201-1/+3
| | | | | | | | | | | | | | | | | | 2005-03-20 Matthias Clasen <mclasen@redhat.com> Make PLT-reduction work with gcc4, and don't include everything in gdkalias.h: * gtk/grk.symbols: Group symbols by header and source file. * gtk/makegtkalias.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 makegtkalias.pl -def * gdk/Makefile.am (gtkaliasdef.c): Add a rule to generate this file. * gtk/*.c: Include gtkalias.h after the other headers, include gtkaliasdef.c at the bottom. * gtk/*.h: Small cleanups.
* Handle Greek tonos dead accent key. (#164859, reported and fix verified byTor Lillqvist2005-01-231-0/+2
| | | | | | | | | | | | 2005-01-23 Tor Lillqvist <tml@novell.com> * gdk/win32/gdkkeys-win32.c (update_keymap): Handle Greek tonos dead accent key. (#164859, reported and fix verified by Daniel Atallah.) * gtk/gtkimcontextsimple.c (gtk_compose_seqs): Handle GDK_Greek_accentdieresis (tonos and dialytika) combining with iota and upsilon.
* Stop preediting if strtoul couldn't parse the complete preedit string.Matthias Clasen2004-10-261-1/+1
| | | | | | | 2004-10-26 Matthias Clasen <mclasen@redhat.com> * gtk/gtkimcontextsimple.c (check_hex): Stop preediting if strtoul couldn't parse the complete preedit string. (#156434)
* Add hidden aliases for exported symbols which are used internally in orderMatthias Clasen2004-08-091-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Mon Aug 9 12:48:04 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) * gtk/Makefile.am: Add rules to generate gtk.def and from gtk.symbols, and make make check check the abi with abicheck.sh. (gtk_private_h_sources): Add gtkinternals.h (gtk_built_private_headers): Add gtkalias.h (gtk_extra_sources): Add gtk.symbols (EXTRA_DIST): Add makegtkalias.pl and abicheck.sh * gtk/gtk.symbols: New file. Definition of the GTK+ ABI. The file can be processed by cpp to filter out certain subsets of symbols. * gtk/abicheck.sh: New file. Script to check the actually symbols exported from libgtk-x11.2.0.so against the symbols found in gtk.symbols. * gtk/makegtkalias.pl: New file. Perl script to generate the header containing the alias definitions for internally used exported symbols from a list of symbols. * gtk/gtkinternals.h: New file. An uninstalled header listing symbols which must be exported for some reason and do not appear in any other header. * gtk/*.c: Include gtkalias.h
* Fixes #136082 and #135265, patch by Morten Welinder.Federico Mena Quintero2004-03-061-0/+1
| | | | | | | | | | 2004-03-05 Federico Mena Quintero <federico@ximian.com> Fixes #136082 and #135265, patch by Morten Welinder. * configure.in: Use AC_SYS_LARGEFILE. * */*.c: #include <config.h>
* Improve Cedilla handling - based on a patch from Gustavo De Nardin,Owen Taylor2003-08-151-0/+1
| | | | | | | | | | | | | | | | | | | | | Fri Aug 15 16:54:39 2003 Owen Taylor <otaylor@redhat.com> Improve Cedilla handling - based on a patch from Gustavo De Nardin, #111334 * modules/input/imcedilla.c po/POTFILES.in: Input method that produces C_WITH_CEDILLA rather than C_WITH_ACUTE for dead_acute+c combinations. Make this the default for fr and pt. * gtk/gtkimmulticontext.c (gtk_im_multicontext_get_slave): Use LC_CTYPE instead of LC_MESSAGES to pick the default input method. Fri Aug 15 17:00:19 2003 Owen Taylor <otaylor@redhat.com> * gtk/gtkimcontextsimple.c: Fix missing compose sequence for Multi_key+c+apostrophe.
* added composing rules of Greek acceted letters, patch by Vasilis VasaitisHidetoshi Tajima2003-05-211-0/+70
| | | | | | | Wed May 21 14:06:13 2003 Hidetoshi Tajima <hidetoshi.tajima@sun.com> * gtk/gtkimcontextsimple.c: added composing rules of Greek acceted letters, patch by Vasilis Vasaitis (#107507)
* code that can check the compose table for ascending order, by VasilisHidetoshi Tajima2003-05-211-9/+9
| | | | | | * gtk/gtkimcontextsimple.c: code that can check the compose table for ascending order, by Vasilis Vasaitis (#104862).
* Add a const here.Matthias Clasen2002-11-131-3/+3
| | | | | | | | | * gtk/theme-bits/decompose-bits.c (do_part): Add a const here. * gtk/gtkcolorsel.c: * gtk/gtkimcontextsimple.c: * gtk/gtkstyle.c: Mark constant data as const to give the compiler a chance to put it in a readonly section. (#75754)
* Use '_' not '-' in signal name to be consistent with what we do elsewhereOwen Taylor2002-11-071-1/+1
| | | | | | | | Thu Nov 7 15:29:43 2002 Owen Taylor <otaylor@redhat.com> * gtk/gtkimcontextsimple.c (check_hex): Use '_' not '-' in signal name to be consistent with what we do elsewhere (#97151, TOKUNAGA Hiroyuki)