1 2008-10-09 Simos Xenitellis <simos@gnome.org>
3 Bug 554192 – double press on the "circumflex" dead key
4 (standard french 105 keyboard) no longer produces the "^" character
6 * gtk/gtkimcontextsimple.c (gtk_im_context_simple_filter_keypress):
7 Changed the order, put check_compact_table() first, then
8 check_algorithmically().
10 2008-10-08 Christian Persch <chpe@gnome.org>
12 Bug 554702 – gtkfilesystem leaks GError
14 * gtk/gtkfilesystem.c (_gtk_file_system_init): Free the GError.
16 2008-10-08 Matthias Clasen <mclasen@redhat.com>
18 * gtk/gtkfilechooserdefault.c (update_current_folder_get_info_cb):
19 Don't forget to reset reload_state when current_folder is already
20 correct. Fixes https://bugzilla.redhat.com/show_bug.cgi?id=465992
22 2008-10-08 Christian Dywan <christian@imendio.com>
24 Bug 555270 – Allow unsetting a MessageDialog's image
26 * gtk/gtkmessagedialog.c (gtk_message_dialog_set_property),
27 Remove a superfluous cast to GtkWidget*
28 (gtk_message_dialog_set_image): Accept NULL for the image
29 and unset the image in that case.
31 2008-10-08 Christian Dywan <christian@imendio.com>
33 Bug 436533 – Allow more space efficient scroll arrows placement
35 * gtk/gtkenums.h: Add GtkArrowPlacement
36 * gtk/gtkmenu.c (gtk_menu_class_init), (get_arrows_border),
37 (get_arrows_visible_area), (get_double_arrows),
38 (get_arrows_sensitive_area): Implement GtkMenu::arrow-placement
39 to allow scrolling arrows to be placed at the start, end or both
40 Patch by Tommi Komulainen and myself
42 2008-10-08 Christian Dywan <christian@imendio.com>
44 Bug 555387 – Changing the sensitivity of a statusbar
45 mistakenly requires a display
47 * gtk/gtkstatusbar.c (set_grip_cursor): Only change the cursor
48 of the resize grip if there is a grip window.
50 2008-10-06 Matthias Clasen <mclasen@redhat.com>
52 * gtk/gtktooltip.c (gtk_tooltip_show_tooltip): Avoid unitialized
53 memory warnings from valgrind.
55 2008-10-07 11:03:30 Tim Janik <timj@imendio.com>
57 * gtk/gtkbox.h: keep GtkBox as an abstract type and keep _gtk_box_new()
58 as private function until we settle on the exact semantics.
59 renamed _gtk_box_set_old_defaults() as suggested by Mitch.
61 2008-10-07 Michael Natterer <mitch@imendio.com>
63 * gtk/gtkbox.c: reindent static prototypes.
65 2008-10-07 Michael Natterer <mitch@imendio.com>
67 Bug 553573 – Add orientation API to GtkBox
69 * gtk/gtkbox.[hh]: implement the GtkOrientable interface and
70 swallow all code from GtkHBox and GtkVBox. Add gtk_box_new()
71 which takes a GtkOrientation argument. Also move the newly
72 added "spacing_set" boolean from struct GtkBox to the new
76 * gtk/gtkvbox.[ch]: remove all code except the constructor and
77 call gtk_orientable_set_orientation() in init().
79 * gtk/gtk.symbols: add gtk_box_new().
81 2008-10-06 Björn Lindqvist <bjourne@gmail.com>
83 Bug 539464 – gtk_cell_view_get_model is missing in GtkCellView
85 * gtk/gtkcellview.c (gtk_cell_view_get_model): Add
86 gtk_cell_view_get_model.
88 2008-10-06 Matthias Clasen <mclasen@redhat.com>
90 * gtk/gtkprintunixdialog.c (create_main_page): Show the tooltip
91 on the range entry itself, too.
93 2008-10-04 Tor Lillqvist <tml@novell.com>
95 Bug 132501 - Make utility window translate to tool window in win32
97 Implement the utility window type hint. Such windows are kept on
98 top of other windows of the same process. Makes GIMP's toolbox and
99 dock windows behave more like in GNOME under metacity. Apply the
100 same logic also to windows marked with the dialog window type
101 hint, and windows that are transient for some other window. I'll
102 call such windows "transient-type" below.
104 * gdk/win32/gdkevents-win32.c (doesnt_want_key): Drop unused
107 (ensure_stacking_on_unminimize)
108 (ensure_stacking_on_window_pos_changing)
109 (ensure_stacking_on_activate_app): New functions to implement the
110 desired stacking order. Make sure that a window that is not
111 transient-type stays below any transient-type windows of the
112 application. When activating a non-transient-type window make sure
113 it rises as high as possible while still staying below the lowest
114 transient-type window.
116 (gdk_event_translate): Call above functions on
117 WM_WINDOWPOSCHANGING, WM_ACTIVATEAPP and on WM_SIZE when
118 unminimizing. Improve debugging printout.
120 * gdk/win32/gdkwindow-win32.c (get_effective_window_decorations):
121 Handle utility windows like toolbar windows.
123 (gdk_window_new_internal) (update_style_bits): Give utility
124 windows the WS_EX_TOOLWINDOW extended style.
126 (gdk_window_set_title): If debugging "misc" or "events", make the
127 handle of top-level windows show up in their title bars. Very
128 useful when looking at debugging output.
130 (gdk_window_set_transient_for) (gdk_window_set_keep_above)
131 (gdk_window_set_keep_below) (gdk_window_set_modal_hint)
132 (gdk_window_set_skip_taskbar_hint)
133 (gdk_window_set_skip_pager_hint): Add and improve debugging
136 (gdk_window_set_type_hint): Print hint symbolically in GDK_NOTE().
138 2008-10-04 Tor Lillqvist <tml@novell.com>
140 * gdk/win32/gdkmain-win32.c (_gdk_win32_window_exstyle_to_string)
141 (_gdk_win32_window_pos_bits_to_string): New debugging printout
142 functions. Decode the WS_EX_* and SWP_* bits.
144 * gdk/win32/gdkprivate-win32.h: Declare them. Define
145 GDK_DEBUG_MISC_OR_EVENTS for use in GDK_NOTE() to match either
148 2008-10-03 Matthias Clasen <mclasen@redhat.com>
150 * gtk/gtkmodules.c (_gtk_modules_settings_changed): Add some
153 2008-10-02 Matthias Clasen <mclasen@redhat.com>
155 Bug 96431 – Can't cut and paste / DND within invisible entry
157 * gtk/gtkentry.c: Disable cut, copy and drag out of an invisible
158 entry. Proposed by Owen Taylor
160 2008-10-02 Matthias Clasen <mclasen@redhat.com>
162 Bug 530575 – GtkEntry with invisible chars has a confused cursor in
165 * gtk/gtkentry.c (gtk_entry_draw_cursor): Use the visible text
166 in the layout when positioning the cursor, not the actual text
167 content of the entry. This makes a different when using overwrite
168 mode in an invisible entry.
169 Problem noticed by Jonathan Blandford
171 * gtk/gtktextutil.c: Fix a typo in a comment
173 2008-10-02 Christian Persch
175 Bug 554704 – gtkfilesystemmodel does too much work
177 * gtk/gtkfilesystemmodel.c: Replace g_slist_length()<1 check with a
180 2008-10-02 Christian Persch
182 Bug 554701 – filechooser spams console with useless warnings
184 * gtk/gtkfilesystem.c.c: Don't warn if the async call was simply
187 2008-10-02 Christian Persch
189 Bug 554698 – mem leak in filechooser
191 * gtk/gtkfilechooserdefault.c: Plug a mem leak.
193 2008-10-02 Christian Persch
195 Bug 554696 – invalid free function used
197 * gtk/gtkfilesystemmodel.c: Use the right free func.
199 2008-10-02 Christian Persch
201 Bug 554691 – mem leak in filechooser
203 * gtk/gtkfilesystemmodel.c: Plug a mem leak.
205 2008-10-02 Christian Persch
207 Bug 554690 – mem leak in filechooser
209 * gtk/gtkfilechooserdefault.c: Plug a mem leak.
211 2008-10-02 Michael Natterer <mitch@imendio.com>
213 Bug 553585 – Add orientation API to GtkRuler
215 * gtk/gtkruler.[ch]: implement the GtkOrientable interface and
216 swallow all code from GtkHRuler and GtkVRuler. Add gtk_ruler_new()
217 which takes a GtkOrientation argument.
220 * gtk/gtkvruler.c: remove all code except the constructor and
221 call gtk_orientable_set_orientation() in init().
223 * gtk/gtk.symbols: add gtk_ruler_new().
225 2008-10-01 Torsten Schoenfeld <kaffeetisch@gmx.de>
227 * docs/reference/gtk/gtk-sections.txt:
229 * gtk/gtkselection.c:
230 * gtk/gtkselection.h: Add gtk_selection_data_get_selection to
231 retrieve the sealed struct field GtkSelectionData.selection.
233 2008-10-01 Tor Lillqvist <tml@novell.com>
235 * gtk/gtkscalebutton.c: Don't #define _GNU_SOURCE on Windows as it
236 confuses newest mingw headers.
238 2008-10-01 Tor Lillqvist <tml@novell.com>
240 * gdk/win32/gdkkeys-win32.c (gdk_keymap_get_caps_lock_state):
241 Implement trivially on Windows. Not sure if something more complex
242 is actually needed, more specifically whether the function needs
243 to differentiate between "Caps Lock" and "Shift Lock" semantics?
245 2008-10-01 Simos Xenitellis <simos@gnome.org>
247 Bug 554506 – combining diacritics broken, became deadkeys
249 * gtk/gtkimcontextsimple.c: added check if keysym is greater
250 than 0x1000000, in this case it is not a dead key.
252 2008-09-30 Michael Natterer <mitch@imendio.com>
254 Bug 553582 – Add orientation API to GtkSeparator
256 * gtk/gtkseparator.[ch]: implement the GtkOrientable interface and
257 swallow all code from GtkHSeparator and GtkVSeparator. Add
258 gtk_separator_new() which takes a GtkOrientation argument.
260 * gtk/gtkhseparator.c
261 * gtk/gtkvseparator.c: remove all code except the constructor and
262 call gtk_orientable_set_orientation() in init().
264 * gtk/gtk.symbols: add gtk_separator_new().
266 2008-09-30 Marek Kasik <mkasik@redhat.com>
268 Bug 344522 – support non-local destination files (GtkPrint):
270 * gtk/gtkprintunixdialog.c
271 * gtk/gtkprinteroptionwidget.c: Process URI instead of filename.
272 * modules/printbackends/file/gtkprintbackendfile.c: Add ability
273 to save files on non-local filesystems.
275 2008-09-30 Michael Natterer <mitch@imendio.com>
277 * gtk/gtk.symbols: forgot the G_GNUC_CONST of
278 gtk_orientable_get_type().
280 2008-09-30 Michael Natterer <mitch@imendio.com>
282 Bug 541009 – Get rid of separate subclasses for horizontal and
283 vertical orientation:
288 * gtk/gtkorientable.[ch]: add new interface GtkOrientable which
289 will be implemented by everything that can switch orientation.
291 2008-09-30 Christian Dywan <christian@imendio.com>
293 Fix a typo in the tutorial.
295 * docs/tutorial/gtk-tut.sgml: It's mnemonic, not 'mnemnonic'.
297 2008-09-29 Matthias Clasen <mclasen@redhat.com>
299 Bug 553086 – hard to see current immodule
301 * gtk/gtkimmulticontext.c (gtk_im_multicontext_append_menuitems):
302 Display the actually selected context in the system menuitem.
303 Complaint by Akira Tagoh.
305 2008-09-29 Matthias Clasen <mclasen@redhat.com>
307 Bug 530568 – Entries with visibility=FALSE should warn for caps-lock
310 * gtk/gtkentry.c: Add a tooltip-like Caps Lock warning for
311 password entries. The warning is also triggered if an input method
312 is active. The warning can be turned off using the
313 GtkEntry::caps-lock-warning property.
314 Proposed by Owen Taylor
316 2008-09-29 Matthias Clasen <mclasen@redhat.com>
319 * gtk/gtkimmulticontext.[hc] (gtk_im_multicontext_get_context_id):
320 Add a getter for the the sealed context_id field.
322 2008-09-29 Matthias Clasen <mclasen@redhat.com>
324 Bug 107000 – Add signals to GdkKeymap for monitoring caps_lock, etc.
327 * gdk/gdkkeys.[ch]: Add a new GdkKeymap::state-changed signal, and
328 a gdk_keymap_get_caps_lock_state function.
330 * gdk/x11/gdkkeys-x11.c: Implement it here. For now, only emit
331 state-changed when caps lock lockedness changes.
333 * gdk/x11/gdkdisplay-x11.c: Also select for modifier lock status
334 changes in the XkbSelectEventDetails call.
336 2008-09-29 Kristian Rietveld <kris@imendio.com>
338 Bug 487624 - Tooltips doesn't get updated if ther's no mouse motion
341 * gtk/gtkwidget.c (gtk_widget_set_property): after updating
342 tooltip text or markup, call gtk_widget_trigger_tooltip_query()
343 so that existing visible tooltips are updated.
345 2008-09-29 Matthias Clasen <mclasen@redhat.com>
347 Bug 371908 – Password Entry broken
348 Bug 317002 – Disable input method completely in GtkEntry when it's
351 * gtk/gtkentry.c (gtk_entry_backspace): Make backspace behave
352 properly when invisible.
354 * gtk/gtkentry.c (gtk_entry_create_layout): Show preedit even if
357 * gtk/gtkentry.c (gtk_entry_set_visibility): Don't disable input
358 methods when making the entry invisible.
360 2008-09-29 Emmanuele Bassi <ebassi@linux.intel.com>
362 * gdk/x11/gdkinput.c:
363 (gdk_device_class_init), (gdk_device_finalize): Correctly chain
364 up the finalize implementation.
366 2008-09-29 Richard Hult <richard@imendio.com>
368 Bug 554141 – uninitialized data use/free in gtkclipboard-quartz.c
370 * gtk/gtkclipboard-quartz.c: (gtk_clipboard_wait_for_contents):
371 Patch from Jon A. Cruz to initialize the allocated selection data.
373 2008-09-27 Matthias Clasen <mclasen@redhat.com>
375 Bug 339367 – Incorrect spotlocation
377 * modules/input/gtkimcontextxim.c: Correct the spot location
378 for on-the-spot style.
380 2008-09-27 Denis Washington <denisw@svn.gnome.org>
382 * gtk/gtkiconview.c: only draw keyboard focus when keyboard navigation
383 is used, like GtkTreeView. (Bug #553575)
385 2008-09-26 Matthias Clasen <mclasen@redhat.com>
387 Bug 552959 – GtkTrayIcon: _NET_SYSTEM_TRAY_VISUAL and real
390 * gtk/gtktrayicon-x11.c: Add support for the _NET_SYSTEM_TRAY_VISUAL
391 property described in
392 http://lists.freedesktop.org/archives/xdg/2008-September/009919.html
393 If _NET_SYSTEM_TRAY_VISUAL is a visual with an alpha channel, the
394 parent-relative-background hack is skipped and we draw with a real
395 transparent background.
397 * gtk/gtkrc.c: Remove the default GtkTrayIcon style, since the
398 parent-relative background is now set when realizing the tray
403 2008-09-26 Matthias Clasen <mclasen@redhat.com>
405 Bug 552956 – Should check composite extension version
407 * gdk/x11/gdkdisplay-x11.c: Check that the version of the
408 composite extension is at least 0.4.
411 2008-09-26 Matthias Clasen <mclasen@redhat.com>
413 Bug 553803 – eventually call XCloseDevice on XOpenDevice results
415 * gdk/x11/gdkinput.c: Add a finalize function for device objects,
416 and call XCloseDevice there.
418 * gdk/x11/gdkinput-x11.c:
419 * gdk/x11/gdkdisplay-x11.c: Move freeing of device objects to
420 the finalize function.
421 Patch by Caolan McNamara
423 2008-09-26 Matthias Clasen <mclasen@redhat.com>
425 Bug 553578 - tabs are not drawn correctly
427 * gtk/gtknotebook.c: Track the visibility state of notebook tabs
428 between allocations so that we know to redraw the tab labels if
429 tabs are hidden and shown without changing position.
430 Reported by Marek Kašík, patch by Owen Taylor.
432 2008-09-26 Matthias Clasen <mclasen@redhat.com>
434 Bug 553133 – GtkFileChooser won't ask to mount a volume
435 Bug 553211 – GtkFileChooserButton unsets filter after first use
437 * gtk/gtkfilechooserdefault.c (shortcuts_activate_volume): Use
438 a GtkMountOperation when mounting, so that we get a password
439 dialog when required.
441 * gtk/gtkfilechooserdefault.c (show_and_select_files): Also
442 get the content-type, since it is used later on.
443 Pointed out by Davyd Madeley.
445 2008-09-26 Cody Russell <bratsche@gnome.org>
447 Bug 553917 – Typo in gdkwindow-win32.c
449 * gdk/win32/gdkwindow-win32.c: Fixed a typo in
450 update_system_menu(). Changed GDK_DECOR_ALL to GDK_FUNC_ALL.
452 Reported by Richard Hult
454 2008-09-25 Marek Kasik <mkasik@redhat.com>
456 Bug 553241 – double freed pointer in lpr_write cause firefox3 crash
458 * modules/printbackends/lpr/gtkprintbackendlpr.c:
459 The redundant freeing of memory was removed.
463 2008-09-25 Michael Natterer <mitch@imendio.com>
465 * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_finalize):
466 don't unref the file system backend, the newly added
467 unset_file_system_backend() already does this (bug #553135).
469 2008-09-24 Michael Natterer <mitch@imendio.com>
471 * gtk/gtkeventbox.c: events return gboolean not gint, reindented
474 2008-09-24 Johan Dahlin <johan@gnome.org>
476 Bug 553385 – gtk-builder-convert creates untranslated combobox models
478 * gtk/gtk-builder-convert: Set the translatable property on
479 col tags for converted combos.
481 2008-09-24 Tor Lillqvist <tml@novell.com>
483 * gtk-zip.sh.in: Include all of share/man, lib/pkgconfig,
484 share/aclocal and share/gtk-doc instead of trying to list
485 individual files or subdirectories. We had missed gail.pc, for
488 2008-09-24 Christian Dywan <christian@imendio.com>
490 Bug 538782 – Make GtkMenu's arrow size themable
492 * gtk/gtkmenu.c (gtk_menu_class_init), (gtk_menu_paint):
493 Implement "arrow-scaling" style property in GtkMenu.
495 2008-09-24 Christian Dywan <christian@imendio.com>
497 Bug 408244 – add GtkDialog::content-area-spacing
499 * gtk/gtkbox.c (gtk_box_init), (gtk_box_set_spacing),
500 (_gtk_box_set_spacing_set), (_gtk_box_get_spacing_set):
502 * gtk/gtkdialog.c (gtk_dialog_class_init), (update_spacings):
503 Implement "content-area-spacing" style property in GtkDialog
504 and internal helper _gtk_box_get_spacing_set in GtkBox.
505 Patch by Tim Janik, Sven Herzberg and myself.
507 2008-09-24 Christian Dywan <christian@imendio.com>
509 Bug 541391 – Unfocussable Treeview swallows focus
511 * gtk/gtktreeview.c (grab_focus_and_unset_draw_keyfocus),
512 (gtk_tree_view_focus): Honor GTK_WIDGET_CAN_FOCUS properly
514 2008-09-24 Denis Washington <denisw@svn.gnome.org>
516 * gtk/gtkiconview.c: draw focus as a rectangle around the
517 complete item, not just the text. (Bug #38254)
519 2008-09-23 Michael Natterer <mitch@imendio.com>
522 * gtk/gtksignal.[ch]: s/GtkType/GType/ and
523 s/GtkSignalMarshaller/GSignalCMarshaller/.
525 2008-09-23 Michael Natterer <mitch@imendio.com>
527 * gdk/x11/gdkevents-x11.c (gdk_event_translate): remove unused
528 variable and fix indentation.
530 2008-09-23 Michael Natterer <mitch@imendio.com>
537 * gtk/gtkoldeditable.h
543 * gtk/gtktreeitem.h: get rid of GtkType and GTK_CHECK_FOO() also
544 in all deprecated headers.
546 2008-09-22 Matthias Clasen <mclasen@redhat.com>
548 Bug 553135 – eog crash: assertion failed. Gtk error:
549 shortcuts_remove_rows: code should not be reached
551 * gtk/gtkfilechooserdefault.c: Disconnect from GtkFileSystem
552 signals when we are destroyed, in order to avoid nasty surprises.
553 Patch by Claudio Saavedra
555 2008-09-22 Emmanuele Bassi <ebassi@linux.intel.com>
557 Bug 552789 – Show size column in the search and recently used
560 * gtk/gtkfilechooserdefault.c: Display the file size column
561 when in OPERATION_MODE_SEARCH. This removes a stat() call
562 and simplifies the code a little bit by changing the query
563 for file informations for each search engine hit.
565 2008-09-22 Michael Natterer <mitch@imendio.com>
572 * gtk/gtktreeitem.c: use G_CALLBACK and GCallback instead of
573 GTK_SIGNAL_FUNC and GtkSignalFunc also in deprecated code.
575 2008-09-22 Frederic Crozat <fcrozat@mandriva.com>
577 * gtk/gtkfilesystem.c: use the correct gi18n header.
580 2008-09-22 Michael Natterer <mitch@imendio.com>
582 * gtk/gtktoolbar.[ch]: add "Deprecated: 2.4" to all the deprecated
583 append(), prepend() and insert() functions and recommend to use
584 gtk_toolbar_insert() instead. Use GCallback instead of
585 GtkSignalFunc even in deprecated API.
587 2008-09-20 Matthias Clasen <mclasen@redhat.com>
589 * gtk/gtkfilechooserbutton.c (filter_model_visible_func): Don't
592 2008-09-19 Owen Taylor <otaylor@redhat.com>
594 Small cleanups to debug messages for GtkPlug/GtkSocket
596 * gtk/gtksocket-x11.c: Fix debug message to say "Socket" not "Plug"
597 * gtk/gtkplug-x11.c: Remove excess newlines from the ends of debug
600 2008-09-19 Carlos Garnacho <carlos@imendio.com>
602 Bug 83935 – GtkEntry's default invisible char should be U+25CF
604 * gtk/gtkentry.c (find_invisible_char) (gtk_entry_init): Find a
605 more suitable invisible char than '*' based on the used font.
606 (gtk_entry_class_init) (gtk_entry_set_property)
607 (gtk_entry_get_property): Add a "invisible-char-set" property.
608 (gtk_entry_unset_invisible_char): New function, needed now that the
609 default invisible char isn't fixed.
612 * docs/reference/gtk/gtk-sections.txt: Add the new function.
614 2008-09-19 Christian Persch <chpe@gnome.org>
616 Bug 552837 – mem leak in gtkimmulticontext
618 * gtk/gtkimmulticontext.c: (gtk_im_multicontext_get_slave): Plug mem
621 2008-09-18 Emmanuele Bassi <ebassi@linux.intel.com>
623 * gtk/gtkfilechooserdefault.c (settings_save): Save the size column
624 visibility state with the rest of the FileChooser settings.
626 2008-09-18 Emmanuele Bassi <ebassi@linux.intel.com>
628 Bug 325095 – show a 'size' column
630 * gtk/gtkfilechooserdefault.c:
631 * gtk/gtkfilechooserprivate.h: Add a context menu item controlling
632 the visibility of the file size column. This works only for the
633 browse mode, and the column is not visible by default.
635 * gtk/gtkfilechoosersettings.[ch]: Add a ShowSizeColumn key to the
638 2008-09-18 Dominic Lachowicz <domlachowicz@gmail.com>
640 * modules/engines/ms-windows/*: Revert most of previous patch, as
641 it didn't work as expected; Some work toward #531086 - the new
642 GtkTooltip widget doesn't theme properly on win32. Now, at least
643 the background color seems okay
645 2008-09-18 Dominic Lachowicz <domlachowicz@gmail.com>
647 * modules/engines/ms-windows/*: MS Windows style should use
648 pango_win32_font_description_from_logfont; Allows us to rip out a
649 lot of potentially buggy code, and also get the font specification
650 from the XP theme (#434987)
652 2008-09-18 Matthias Clasen <mclasen@redhat.com>
654 * configure.in: updated version number to 2.15.0 for development.
656 * ChangeLog.pre-2-14: rotate ChangeLog
658 === Branch for 2.14 ===