summaryrefslogtreecommitdiff
path: root/modules
Commit message (Collapse)AuthorAgeFilesLines
* Fix missing return from quartz_filter_keypressEk Kato2013-08-291-2/+2
|
* Bug 705750 Quartz input method doesn't work correctly for Chinese charactersEk Kato2013-08-161-37/+66
| | | | Modified from original for Gtk3.
* Fix a crasher that was introduced by 9ca802161ec6387419d160f21fe477008a567477Cody Russell2013-08-151-1/+1
| | | | due to preedit_str being initialized as an empty string rather than NULL.
* Bug 705182 Reset Cocoa IME state when immodule is resetMichael Hutchison2013-08-151-0/+34
| | | | | | | Commits the pre-edit string on receipt of focus_out and reset commands. Patch refinements by Cody Russell <bratsche@gnome.org> and Ek Kato <ek.kato@gmail.com>
* GTK-Win32: Avoid Using Deprecated APIChun-wei Fan2013-08-141-5/+10
| | | | | | | | Replace the deprecated API calls with the updated APIs, and fix the build of modules/input/gtkimcontextime.c, as we really needed gdk/gdkkeysyms-compat.h (gdk/gdkkeysyms.h was already included) https://bugzilla.gnome.org/show_bug.cgi?id=705068
* ime: Add builtin handling of dead keysCarlos Garnacho2013-07-291-5/+92
| | | | | | | | | | | | | | | | | | The IME input method has been both ignoring keypresses of non-spacing characters (ditching these as non displayable), and not letting IME do anything about those. Even though, the sparse documentation on IMM/IME seems to hint that applications can't pipe non-spacing characters to the input method manager, and experimentation shown that those characters are indeed handled differently than how it'd be expected. Then, add basic handling of dead keys on the IME input method itself , as it's not mutually exclusive with regular keymaps with dead keys. https://bugzilla.gnome.org/show_bug.cgi?id=704937
* imquartz: Fallback to slave IM context if no NSEvent exists.Takuro Ashie2013-07-271-4/+7
| | | | | | | | | | | 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 (cherry picked from commit c064e188943ad6bd79d8476a0f53e27bfddb4a1f)
* Deprecate and ignore gtk-im-status-style and gtk-im-preedit-styleWilliam Jon McCann2013-06-301-55/+4
|
* Remove more discontinued ChangeLogsWilliam Jon McCann2013-06-241-418/+0
| | | | They are all in git.
* printing: Show correct status of a jobMarek Kasik2013-06-061-1/+1
| | | | "job-state" is IPP_TAG_ENUM not IPP_TAG_INTEGER.
* modules/input: Only build quartz module if we're targeting quartzColin Walters2013-05-201-0/+2
| | | | Otherwise the build is broken on GNU/Linux and Win32.
* Bug 694273 - Patch to support NSTextInputClient in text widgetsE. K. Kato2013-05-202-0/+406
| | | | | | | Provides an input module for native OSX input methods. Based on a patch by Hiroyuki Yamamoto (http://www.sraoss.jp/sylpheed/sylpheed/macosx/gtk+-2.24.0-macosx-textinputclient_ja-test1.patch). Adjustments for Gtk3 by Matthew Francis <gnomebugs@newsheffield.co.uk>
* printing: Don't crash when printer-state-message not providedMarek Kasik2013-05-091-1/+1
| | | | | | | Check whether "printer-state-message" was returned before its usage. https://bugzilla.gnome.org/show_bug.cgi?id=699750
* imcontexts: Include config.h firstBenjamin Otte2013-05-072-2/+4
|
* gtkprintbackendfile: Fix infinite loop in _cairo_write()Carlos Garcia Campos2013-04-141-7/+13
| | | | | | | | | | | | It can happen if the io channel has been closed. In that case g_io_channel_write_chars() returns early because of a g_return macro that checks if the io channel is writable. When returning from g_return macros, the bytes written output parameter is not updated and the error is not filled, so the error is not detected and the written variable is used uninitialized. We should check the return value of g_io_channel_write_chars() to break the loop. https://bugzilla.gnome.org/show_bug.cgi?id=685419
* Don't free a list that has not been initializedMatthias Clasen2013-04-091-6/+6
|
* gtkprintbackendcups: Fix a crash in avahi_create_browsers()Carlos Garcia Campos2013-03-251-39/+51
| | | | | | | | | | | | | | In avahi_request_printer_list() a new connection to the DBus system bus is started asynchronously, but it's not cancellable and it's not taking any reference of the GtkPrintBackendCups. This means that when the callback is called, the object might have been destroyed already. We can just pass the cancellable created and check for the cancelled error in the callback before trying to use the GtkPrintBackendCups. The code to cancel avahi operations and to unsibscribe from the DBus signals has been moved from finalize to dispose to make sure it happens as soon as possible. https://bugzilla.gnome.org/show_bug.cgi?id=696553
* gtkprintbackendcups: Fix a crash in gtk_print_backend_cups_finalize()Carlos Garcia Campos2013-03-251-1/+1
| | | | | | | | If GtkPrintBackendCups is finalized and cups_get_printer_list hasn't been called, g_object_unref is called for the GDBusConnection pointer that is NULL. Use g_clear_object() instead. https://bugzilla.gnome.org/show_bug.cgi?id=696546
* printing: Use DBus calls instead of Avahi APIMarek Kasik2013-03-134-281/+374
| | | | | | | Converts usage of Avahi API to DBus calls. This change allows us to remove dependency on avahi-gobject and avoids of possible circular dependency. Lists printers if Gtk+ is compiled with CUPS 1.6 or newer.
* printing: Remove usage of GError in connection testMarek Kasik2013-03-131-1/+1
| | | | | | | Really remove usage of error in previous commit. Related to https://bugzilla.gnome.org/show_bug.cgi?id=695714
* printing: Don't hang when getting info for Avahi printerMarek Kasik2013-03-131-17/+78
| | | | | | | | Asynchronously create testing connection to address returned by GaServiceResolver. Don't request info for such printer if the connection fails. https://bugzilla.gnome.org/show_bug.cgi?id=695714
* printing: Show Avahi printers on IPv6 networkMarek Kasik2013-03-131-2/+8
| | | | Create correct URIs for printers on IPv6 networks.
* printing: Fix build with -Werror=format-securityRico Tzschichholz2013-03-061-1/+1
|
* printing: Mark texts for translation correctlyMarek Kasik2013-03-041-4/+5
| | | | | | Use _() instead of N_() for printer states. Mark connection string "; " for translation so it is correctly handled for right to left languages.
* printing: Remove unnecessary breakMarek Kasik2013-03-041-2/+2
| | | | | | | | Remove the first space when connecting multiple printer states together. Related to https://bugzilla.gnome.org/show_bug.cgi?id=688956
* printing: List Avahi printersMarek Kasik2013-03-046-158/+1039
| | | | | | | | | | | | | | | | Show printers advertised by avahi on local network. CUPS backend now looks for _ipps._tcp and _ipp._tcp services offered by avahi. If it finds such a service (printer) it requests its attributes through IPP_GET_PRINTER_ATTRIBUTES ipp request and adds it to the list of printers. Such printer behaves like a remote printer then. If an avahi printer is a default printer then it is considered default by the backend only if there is no local or remote default printer. This functionality is enabled when building Gtk+ with CUPS 1.6 or later because it replaces browsing protocol removed in CUPS 1.6. https://bugzilla.gnome.org/show_bug.cgi?id=688956
* Revert "Fix gtkprintbackendcups crash"Matthias Clasen2013-03-011-9/+5
| | | | | | This reverts commit 54ffc982e96bc4b2484a2611c7dc5cf24c4c4a1a. I've undone the GList behaviour change instead.
* Fix gtkprintbackendcups crashJohn Ralls2013-03-011-5/+9
| | | | | From trying to call g_list_delete_link with a NULL node or removed_printer_checklist.
* Add missing $(EXEEXT) for gtk-query-immodules-3.0Kouhei Sutou2013-01-201-3/+3
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=692076
* Bug 668239 - texts disappear when notebook switch page at zh_CN locateChun-wei Fan2012-12-131-14/+14
| | | | | | | | | | In gtkimcontextime.c, use gdk_win32_window_get_impl_hwnd() to get to the impl's existing native window instead of GDK_WINDOW_HWND() which implicitly ensures a native window for the widget itself. This seems to work around whatever GDK problem with native subwindows and fixes the bug. This is based on Michael Natterer's fix for gtk-2-24.
* printing: Call mark_printer_active() with correct parametersMarek Kasik2012-12-041-1/+2
| | | | | | Revert the second part of the commit 6ad6f719c6b2fc7cf797c86b406f4e61d9fca4d1. mark_printer_active() was called without its second parameter in g_list_free_full().
* Use the ppd groups "name" instead of "text" (bug #687065)Benjamin Berg2012-11-291-1/+1
| | | | | | This commit fixes a regression caused by a patch to remove Cups 1.2 ifdefs. This resulted in the "installable options" to appear in the print dialog.
* Sanitize memory handling in cups_request_printer_list_cbChristophe Fergeau2012-11-261-5/+10
| | | | | | | | | gtk+ was trying to display already freed strings, leaking memory, ...I noticed this because I was getting weird blinking characters as the status of my cups printers, and valgrind confirmed something was wrong. https://bugzilla.gnome.org/show_bug.cgi?id=683072
* Avoid infinite recursion in the ime input moduleMatthias Clasen2012-11-191-4/+7
|
* XIM: Don't force random windows to become nativeMatthias Clasen2012-10-011-4/+7
| | | | | | | GDK_WINDOW_XID() has the side-effect of turning a window native; this in turn can have unexpected effects such as black backgrounds. Avoid this by using the XID of the toplevel. https://bugzilla.gnome.org/show_bug.cgi?id=682395
* printing: Add "Custom." prefix only once to paper sizeMarek Kasik2012-09-191-2/+2
| | | | | Check whether "Custom." prefix is already present in the name of selected paper size. (#679883)
* Don't rotate pdf landscape outputAdrian Johnson2012-09-121-1/+14
|
* printing: Don't load custom paper sizes in file backendMarek Kasik2012-09-061-1/+1
| | | | Resolves #683474.
* gtkimcontexttime.c: Check context_ime->client_window is not NULLChun-wei Fan2012-09-031-0/+4
| | | | | | | | | Be a bit more careful in get_pango_attr_list() and get_utf8_preedit_string() to ensure that the client_window is properly created before proceeding, to avoid access violation/segfault crashes on Windows with IME installed, especially when running the pickers demo. https://bugzilla.gnome.org/show_bug.cgi?id=682919
* cups: Use IPP api when necessary with CUPS 1.6Rico Tzschichholz2012-08-051-2/+2
|
* modules: Don't use GDK_THREADS_ENTER/LEAVE macros internallyMatthias Clasen2012-07-306-14/+17
| | | | | | | These are just wrappers for the functions, and we want to deprecate them. Stopping to use them internally is a good first step. Also define GTK_COMPILATION so we can keep using gdk_threads_enter/leave without causing deprecation warnings.
* file printbackend: Protect a callback by GDK_THREADS_ENTERMatthias Clasen2012-05-171-9/+18
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=649569
* GTK PrintToFile settingsTimothy Arceri2012-05-141-18/+31
| | | | | | | | | | | | | To make setting output directory and filename simpler in the PrintToFile dialog two gtkprintsettings have been added GTK_PRINT_SETTINGS_OUTPUT_DIR and GTK_PRINT_SETTINGS_OUTPUT_BASENAME. This will reduce the code needed to implement a better name than "output.pdf" and actually makes more sense than the existing setting GTK_PRINT_SETTINGS_OUTPUT_URI which doesn't work seamlessly with GTK_PRINT_SETTINGS_OUTPUT_FILE_FORMAT like the new settings do. https://bugzilla.gnome.org/show_bug.cgi?id=657322
* Fix build with --enable-debugMatthias Clasen2012-04-301-1/+1
|
* Fix the colord support in GtkPrinterCups when the PPD is loaded asyncRichard Hughes2012-04-301-0/+14
| | | | | | | | | If the PPD is not available when the printer is loaded then the PPD options are not available and we can't get the correct qualifier to use with colord. When the PPD becomes available, refresh the profile title to reflect reality. https://bugzilla.gnome.org/show_bug.cgi?id=674890
* Remove some more CUPS 1.2 ifdefs.John Ralls2012-04-231-27/+0
|
* Bug 670373: modules/printing/cups/gtkprintbackendcups.c won't build with ↵John Ralls2012-04-231-6/+14
| | | | | | CUPS 1.6 Fix up accesses of ipp structures in gtkcupsutils.c
* Bug 670373: modules/printing/cups/gtkprintbackendcups.c won't build with ↵John Ralls2012-04-231-1/+23
| | | | | | | | CUPS 1.6 Having refactored cups_request_printer_list_cb so that the cups version-dependent block size is small enough to be handled in a single ifdef, make the ifdef HAVE_CUPS_API_1_6 block.
* Move some variable declarations into the scopes in which they're used.John Ralls2012-04-231-18/+19
|
* Extract Function cups_create_printerJohn Ralls2012-04-231-269/+284
|