1 2008-10-06 Matthias Clasen <mclasen@redhat.com>
3 * gtk/gtktooltip.c (gtk_tooltip_show_tooltip): Avoid unitialized
4 memory warnings from valgrind.
6 2008-10-07 11:03:30 Tim Janik <timj@imendio.com>
8 * gtk/gtkbox.h: keep GtkBox as an abstract type and keep _gtk_box_new()
9 as private function until we settle on the exact semantics.
10 renamed _gtk_box_set_old_defaults() as suggested by Mitch.
12 2008-10-07 Michael Natterer <mitch@imendio.com>
14 * gtk/gtkbox.c: reindent static prototypes.
16 2008-10-07 Michael Natterer <mitch@imendio.com>
18 Bug 553573 – Add orientation API to GtkBox
20 * gtk/gtkbox.[hh]: implement the GtkOrientable interface and
21 swallow all code from GtkHBox and GtkVBox. Add gtk_box_new()
22 which takes a GtkOrientation argument. Also move the newly
23 added "spacing_set" boolean from struct GtkBox to the new
27 * gtk/gtkvbox.[ch]: remove all code except the constructor and
28 call gtk_orientable_set_orientation() in init().
30 * gtk/gtk.symbols: add gtk_box_new().
32 2008-10-06 Björn Lindqvist <bjourne@gmail.com>
34 Bug 539464 – gtk_cell_view_get_model is missing in GtkCellView
36 * gtk/gtkcellview.c (gtk_cell_view_get_model): Add
37 gtk_cell_view_get_model.
39 2008-10-06 Matthias Clasen <mclasen@redhat.com>
41 * gtk/gtkprintunixdialog.c (create_main_page): Show the tooltip
42 on the range entry itself, too.
44 2008-10-04 Tor Lillqvist <tml@novell.com>
46 Bug 132501 - Make utility window translate to tool window in win32
48 Implement the utility window type hint. Such windows are kept on
49 top of other windows of the same process. Makes GIMP's toolbox and
50 dock windows behave more like in GNOME under metacity. Apply the
51 same logic also to windows marked with the dialog window type
52 hint, and windows that are transient for some other window. I'll
53 call such windows "transient-type" below.
55 * gdk/win32/gdkevents-win32.c (doesnt_want_key): Drop unused
58 (ensure_stacking_on_unminimize)
59 (ensure_stacking_on_window_pos_changing)
60 (ensure_stacking_on_activate_app): New functions to implement the
61 desired stacking order. Make sure that a window that is not
62 transient-type stays below any transient-type windows of the
63 application. When activating a non-transient-type window make sure
64 it rises as high as possible while still staying below the lowest
65 transient-type window.
67 (gdk_event_translate): Call above functions on
68 WM_WINDOWPOSCHANGING, WM_ACTIVATEAPP and on WM_SIZE when
69 unminimizing. Improve debugging printout.
71 * gdk/win32/gdkwindow-win32.c (get_effective_window_decorations):
72 Handle utility windows like toolbar windows.
74 (gdk_window_new_internal) (update_style_bits): Give utility
75 windows the WS_EX_TOOLWINDOW extended style.
77 (gdk_window_set_title): If debugging "misc" or "events", make the
78 handle of top-level windows show up in their title bars. Very
79 useful when looking at debugging output.
81 (gdk_window_set_transient_for) (gdk_window_set_keep_above)
82 (gdk_window_set_keep_below) (gdk_window_set_modal_hint)
83 (gdk_window_set_skip_taskbar_hint)
84 (gdk_window_set_skip_pager_hint): Add and improve debugging
87 (gdk_window_set_type_hint): Print hint symbolically in GDK_NOTE().
89 2008-10-04 Tor Lillqvist <tml@novell.com>
91 * gdk/win32/gdkmain-win32.c (_gdk_win32_window_exstyle_to_string)
92 (_gdk_win32_window_pos_bits_to_string): New debugging printout
93 functions. Decode the WS_EX_* and SWP_* bits.
95 * gdk/win32/gdkprivate-win32.h: Declare them. Define
96 GDK_DEBUG_MISC_OR_EVENTS for use in GDK_NOTE() to match either
99 2008-10-03 Matthias Clasen <mclasen@redhat.com>
101 * gtk/gtkmodules.c (_gtk_modules_settings_changed): Add some
104 2008-10-02 Matthias Clasen <mclasen@redhat.com>
106 Bug 96431 – Can't cut and paste / DND within invisible entry
108 * gtk/gtkentry.c: Disable cut, copy and drag out of an invisible
109 entry. Proposed by Owen Taylor
111 2008-10-02 Matthias Clasen <mclasen@redhat.com>
113 Bug 530575 – GtkEntry with invisible chars has a confused cursor in
116 * gtk/gtkentry.c (gtk_entry_draw_cursor): Use the visible text
117 in the layout when positioning the cursor, not the actual text
118 content of the entry. This makes a different when using overwrite
119 mode in an invisible entry.
120 Problem noticed by Jonathan Blandford
122 * gtk/gtktextutil.c: Fix a typo in a comment
124 2008-10-02 Christian Persch
126 Bug 554704 – gtkfilesystemmodel does too much work
128 * gtk/gtkfilesystemmodel.c: Replace g_slist_length()<1 check with a
131 2008-10-02 Christian Persch
133 Bug 554701 – filechooser spams console with useless warnings
135 * gtk/gtkfilesystem.c.c: Don't warn if the async call was simply
138 2008-10-02 Christian Persch
140 Bug 554698 – mem leak in filechooser
142 * gtk/gtkfilechooserdefault.c: Plug a mem leak.
144 2008-10-02 Christian Persch
146 Bug 554696 – invalid free function used
148 * gtk/gtkfilesystemmodel.c: Use the right free func.
150 2008-10-02 Christian Persch
152 Bug 554691 – mem leak in filechooser
154 * gtk/gtkfilesystemmodel.c: Plug a mem leak.
156 2008-10-02 Christian Persch
158 Bug 554690 – mem leak in filechooser
160 * gtk/gtkfilechooserdefault.c: Plug a mem leak.
162 2008-10-02 Michael Natterer <mitch@imendio.com>
164 Bug 553585 – Add orientation API to GtkRuler
166 * gtk/gtkruler.[ch]: implement the GtkOrientable interface and
167 swallow all code from GtkHRuler and GtkVRuler. Add gtk_ruler_new()
168 which takes a GtkOrientation argument.
171 * gtk/gtkvruler.c: remove all code except the constructor and
172 call gtk_orientable_set_orientation() in init().
174 * gtk/gtk.symbols: add gtk_ruler_new().
176 2008-10-01 Torsten Schoenfeld <kaffeetisch@gmx.de>
178 * docs/reference/gtk/gtk-sections.txt:
180 * gtk/gtkselection.c:
181 * gtk/gtkselection.h: Add gtk_selection_data_get_selection to
182 retrieve the sealed struct field GtkSelectionData.selection.
184 2008-10-01 Tor Lillqvist <tml@novell.com>
186 * gtk/gtkscalebutton.c: Don't #define _GNU_SOURCE on Windows as it
187 confuses newest mingw headers.
189 2008-10-01 Tor Lillqvist <tml@novell.com>
191 * gdk/win32/gdkkeys-win32.c (gdk_keymap_get_caps_lock_state):
192 Implement trivially on Windows. Not sure if something more complex
193 is actually needed, more specifically whether the function needs
194 to differentiate between "Caps Lock" and "Shift Lock" semantics?
196 2008-10-01 Simos Xenitellis <simos@gnome.org>
198 Bug 554506 – combining diacritics broken, became deadkeys
200 * gtk/gtkimcontextsimple.c: added check if keysym is greater
201 than 0x1000000, in this case it is not a dead key.
203 2008-09-30 Michael Natterer <mitch@imendio.com>
205 Bug 553582 – Add orientation API to GtkSeparator
207 * gtk/gtkseparator.[ch]: implement the GtkOrientable interface and
208 swallow all code from GtkHSeparator and GtkVSeparator. Add
209 gtk_separator_new() which takes a GtkOrientation argument.
211 * gtk/gtkhseparator.c
212 * gtk/gtkvseparator.c: remove all code except the constructor and
213 call gtk_orientable_set_orientation() in init().
215 * gtk/gtk.symbols: add gtk_separator_new().
217 2008-09-30 Marek Kasik <mkasik@redhat.com>
219 Bug 344522 – support non-local destination files (GtkPrint):
221 * gtk/gtkprintunixdialog.c
222 * gtk/gtkprinteroptionwidget.c: Process URI instead of filename.
223 * modules/printbackends/file/gtkprintbackendfile.c: Add ability
224 to save files on non-local filesystems.
226 2008-09-30 Michael Natterer <mitch@imendio.com>
228 * gtk/gtk.symbols: forgot the G_GNUC_CONST of
229 gtk_orientable_get_type().
231 2008-09-30 Michael Natterer <mitch@imendio.com>
233 Bug 541009 – Get rid of separate subclasses for horizontal and
234 vertical orientation:
239 * gtk/gtkorientable.[ch]: add new interface GtkOrientable which
240 will be implemented by everything that can switch orientation.
242 2008-09-30 Christian Dywan <christian@imendio.com>
244 Fix a typo in the tutorial.
246 * docs/tutorial/gtk-tut.sgml: It's mnemonic, not 'mnemnonic'.
248 2008-09-29 Matthias Clasen <mclasen@redhat.com>
250 Bug 553086 – hard to see current immodule
252 * gtk/gtkimmulticontext.c (gtk_im_multicontext_append_menuitems):
253 Display the actually selected context in the system menuitem.
254 Complaint by Akira Tagoh.
256 2008-09-29 Matthias Clasen <mclasen@redhat.com>
258 Bug 530568 – Entries with visibility=FALSE should warn for caps-lock
261 * gtk/gtkentry.c: Add a tooltip-like Caps Lock warning for
262 password entries. The warning is also triggered if an input method
263 is active. The warning can be turned off using the
264 GtkEntry::caps-lock-warning property.
265 Proposed by Owen Taylor
267 2008-09-29 Matthias Clasen <mclasen@redhat.com>
270 * gtk/gtkimmulticontext.[hc] (gtk_im_multicontext_get_context_id):
271 Add a getter for the the sealed context_id field.
273 2008-09-29 Matthias Clasen <mclasen@redhat.com>
275 Bug 107000 – Add signals to GdkKeymap for monitoring caps_lock, etc.
278 * gdk/gdkkeys.[ch]: Add a new GdkKeymap::state-changed signal, and
279 a gdk_keymap_get_caps_lock_state function.
281 * gdk/x11/gdkkeys-x11.c: Implement it here. For now, only emit
282 state-changed when caps lock lockedness changes.
284 * gdk/x11/gdkdisplay-x11.c: Also select for modifier lock status
285 changes in the XkbSelectEventDetails call.
287 2008-09-29 Kristian Rietveld <kris@imendio.com>
289 Bug 487624 - Tooltips doesn't get updated if ther's no mouse motion
292 * gtk/gtkwidget.c (gtk_widget_set_property): after updating
293 tooltip text or markup, call gtk_widget_trigger_tooltip_query()
294 so that existing visible tooltips are updated.
296 2008-09-29 Matthias Clasen <mclasen@redhat.com>
298 Bug 371908 – Password Entry broken
299 Bug 317002 – Disable input method completely in GtkEntry when it's
302 * gtk/gtkentry.c (gtk_entry_backspace): Make backspace behave
303 properly when invisible.
305 * gtk/gtkentry.c (gtk_entry_create_layout): Show preedit even if
308 * gtk/gtkentry.c (gtk_entry_set_visibility): Don't disable input
309 methods when making the entry invisible.
311 2008-09-29 Emmanuele Bassi <ebassi@linux.intel.com>
313 * gdk/x11/gdkinput.c:
314 (gdk_device_class_init), (gdk_device_finalize): Correctly chain
315 up the finalize implementation.
317 2008-09-29 Richard Hult <richard@imendio.com>
319 Bug 554141 – uninitialized data use/free in gtkclipboard-quartz.c
321 * gtk/gtkclipboard-quartz.c: (gtk_clipboard_wait_for_contents):
322 Patch from Jon A. Cruz to initialize the allocated selection data.
324 2008-09-27 Matthias Clasen <mclasen@redhat.com>
326 Bug 339367 – Incorrect spotlocation
328 * modules/input/gtkimcontextxim.c: Correct the spot location
329 for on-the-spot style.
331 2008-09-27 Denis Washington <denisw@svn.gnome.org>
333 * gtk/gtkiconview.c: only draw keyboard focus when keyboard navigation
334 is used, like GtkTreeView. (Bug #553575)
336 2008-09-26 Matthias Clasen <mclasen@redhat.com>
338 Bug 552959 – GtkTrayIcon: _NET_SYSTEM_TRAY_VISUAL and real
341 * gtk/gtktrayicon-x11.c: Add support for the _NET_SYSTEM_TRAY_VISUAL
342 property described in
343 http://lists.freedesktop.org/archives/xdg/2008-September/009919.html
344 If _NET_SYSTEM_TRAY_VISUAL is a visual with an alpha channel, the
345 parent-relative-background hack is skipped and we draw with a real
346 transparent background.
348 * gtk/gtkrc.c: Remove the default GtkTrayIcon style, since the
349 parent-relative background is now set when realizing the tray
354 2008-09-26 Matthias Clasen <mclasen@redhat.com>
356 Bug 552956 – Should check composite extension version
358 * gdk/x11/gdkdisplay-x11.c: Check that the version of the
359 composite extension is at least 0.4.
362 2008-09-26 Matthias Clasen <mclasen@redhat.com>
364 Bug 553803 – eventually call XCloseDevice on XOpenDevice results
366 * gdk/x11/gdkinput.c: Add a finalize function for device objects,
367 and call XCloseDevice there.
369 * gdk/x11/gdkinput-x11.c:
370 * gdk/x11/gdkdisplay-x11.c: Move freeing of device objects to
371 the finalize function.
372 Patch by Caolan McNamara
374 2008-09-26 Matthias Clasen <mclasen@redhat.com>
376 Bug 553578 - tabs are not drawn correctly
378 * gtk/gtknotebook.c: Track the visibility state of notebook tabs
379 between allocations so that we know to redraw the tab labels if
380 tabs are hidden and shown without changing position.
381 Reported by Marek Kašík, patch by Owen Taylor.
383 2008-09-26 Matthias Clasen <mclasen@redhat.com>
385 Bug 553133 – GtkFileChooser won't ask to mount a volume
386 Bug 553211 – GtkFileChooserButton unsets filter after first use
388 * gtk/gtkfilechooserdefault.c (shortcuts_activate_volume): Use
389 a GtkMountOperation when mounting, so that we get a password
390 dialog when required.
392 * gtk/gtkfilechooserdefault.c (show_and_select_files): Also
393 get the content-type, since it is used later on.
394 Pointed out by Davyd Madeley.
396 2008-09-26 Cody Russell <bratsche@gnome.org>
398 Bug 553917 – Typo in gdkwindow-win32.c
400 * gdk/win32/gdkwindow-win32.c: Fixed a typo in
401 update_system_menu(). Changed GDK_DECOR_ALL to GDK_FUNC_ALL.
403 Reported by Richard Hult
405 2008-09-25 Marek Kasik <mkasik@redhat.com>
407 Bug 553241 – double freed pointer in lpr_write cause firefox3 crash
409 * modules/printbackends/lpr/gtkprintbackendlpr.c:
410 The redundant freeing of memory was removed.
414 2008-09-25 Michael Natterer <mitch@imendio.com>
416 * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_finalize):
417 don't unref the file system backend, the newly added
418 unset_file_system_backend() already does this (bug #553135).
420 2008-09-24 Michael Natterer <mitch@imendio.com>
422 * gtk/gtkeventbox.c: events return gboolean not gint, reindented
425 2008-09-24 Johan Dahlin <johan@gnome.org>
427 Bug 553385 – gtk-builder-convert creates untranslated combobox models
429 * gtk/gtk-builder-convert: Set the translatable property on
430 col tags for converted combos.
432 2008-09-24 Tor Lillqvist <tml@novell.com>
434 * gtk-zip.sh.in: Include all of share/man, lib/pkgconfig,
435 share/aclocal and share/gtk-doc instead of trying to list
436 individual files or subdirectories. We had missed gail.pc, for
439 2008-09-24 Christian Dywan <christian@imendio.com>
441 Bug 538782 – Make GtkMenu's arrow size themable
443 * gtk/gtkmenu.c (gtk_menu_class_init), (gtk_menu_paint):
444 Implement "arrow-scaling" style property in GtkMenu.
446 2008-09-24 Christian Dywan <christian@imendio.com>
448 Bug 408244 – add GtkDialog::content-area-spacing
450 * gtk/gtkbox.c (gtk_box_init), (gtk_box_set_spacing),
451 (_gtk_box_set_spacing_set), (_gtk_box_get_spacing_set):
453 * gtk/gtkdialog.c (gtk_dialog_class_init), (update_spacings):
454 Implement "content-area-spacing" style property in GtkDialog
455 and internal helper _gtk_box_get_spacing_set in GtkBox.
456 Patch by Tim Janik, Sven Herzberg and myself.
458 2008-09-24 Christian Dywan <christian@imendio.com>
460 Bug 541391 – Unfocussable Treeview swallows focus
462 * gtk/gtktreeview.c (grab_focus_and_unset_draw_keyfocus),
463 (gtk_tree_view_focus): Honor GTK_WIDGET_CAN_FOCUS properly
465 2008-09-24 Denis Washington <denisw@svn.gnome.org>
467 * gtk/gtkiconview.c: draw focus as a rectangle around the
468 complete item, not just the text. (Bug #38254)
470 2008-09-23 Michael Natterer <mitch@imendio.com>
473 * gtk/gtksignal.[ch]: s/GtkType/GType/ and
474 s/GtkSignalMarshaller/GSignalCMarshaller/.
476 2008-09-23 Michael Natterer <mitch@imendio.com>
478 * gdk/x11/gdkevents-x11.c (gdk_event_translate): remove unused
479 variable and fix indentation.
481 2008-09-23 Michael Natterer <mitch@imendio.com>
488 * gtk/gtkoldeditable.h
494 * gtk/gtktreeitem.h: get rid of GtkType and GTK_CHECK_FOO() also
495 in all deprecated headers.
497 2008-09-22 Matthias Clasen <mclasen@redhat.com>
499 Bug 553135 – eog crash: assertion failed. Gtk error:
500 shortcuts_remove_rows: code should not be reached
502 * gtk/gtkfilechooserdefault.c: Disconnect from GtkFileSystem
503 signals when we are destroyed, in order to avoid nasty surprises.
504 Patch by Claudio Saavedra
506 2008-09-22 Emmanuele Bassi <ebassi@linux.intel.com>
508 Bug 552789 – Show size column in the search and recently used
511 * gtk/gtkfilechooserdefault.c: Display the file size column
512 when in OPERATION_MODE_SEARCH. This removes a stat() call
513 and simplifies the code a little bit by changing the query
514 for file informations for each search engine hit.
516 2008-09-22 Michael Natterer <mitch@imendio.com>
523 * gtk/gtktreeitem.c: use G_CALLBACK and GCallback instead of
524 GTK_SIGNAL_FUNC and GtkSignalFunc also in deprecated code.
526 2008-09-22 Frederic Crozat <fcrozat@mandriva.com>
528 * gtk/gtkfilesystem.c: use the correct gi18n header.
531 2008-09-22 Michael Natterer <mitch@imendio.com>
533 * gtk/gtktoolbar.[ch]: add "Deprecated: 2.4" to all the deprecated
534 append(), prepend() and insert() functions and recommend to use
535 gtk_toolbar_insert() instead. Use GCallback instead of
536 GtkSignalFunc even in deprecated API.
538 2008-09-20 Matthias Clasen <mclasen@redhat.com>
540 * gtk/gtkfilechooserbutton.c (filter_model_visible_func): Don't
543 2008-09-19 Owen Taylor <otaylor@redhat.com>
545 Small cleanups to debug messages for GtkPlug/GtkSocket
547 * gtk/gtksocket-x11.c: Fix debug message to say "Socket" not "Plug"
548 * gtk/gtkplug-x11.c: Remove excess newlines from the ends of debug
551 2008-09-19 Carlos Garnacho <carlos@imendio.com>
553 Bug 83935 – GtkEntry's default invisible char should be U+25CF
555 * gtk/gtkentry.c (find_invisible_char) (gtk_entry_init): Find a
556 more suitable invisible char than '*' based on the used font.
557 (gtk_entry_class_init) (gtk_entry_set_property)
558 (gtk_entry_get_property): Add a "invisible-char-set" property.
559 (gtk_entry_unset_invisible_char): New function, needed now that the
560 default invisible char isn't fixed.
563 * docs/reference/gtk/gtk-sections.txt: Add the new function.
565 2008-09-19 Christian Persch <chpe@gnome.org>
567 Bug 552837 – mem leak in gtkimmulticontext
569 * gtk/gtkimmulticontext.c: (gtk_im_multicontext_get_slave): Plug mem
572 2008-09-18 Emmanuele Bassi <ebassi@linux.intel.com>
574 * gtk/gtkfilechooserdefault.c (settings_save): Save the size column
575 visibility state with the rest of the FileChooser settings.
577 2008-09-18 Emmanuele Bassi <ebassi@linux.intel.com>
579 Bug 325095 – show a 'size' column
581 * gtk/gtkfilechooserdefault.c:
582 * gtk/gtkfilechooserprivate.h: Add a context menu item controlling
583 the visibility of the file size column. This works only for the
584 browse mode, and the column is not visible by default.
586 * gtk/gtkfilechoosersettings.[ch]: Add a ShowSizeColumn key to the
589 2008-09-18 Dominic Lachowicz <domlachowicz@gmail.com>
591 * modules/engines/ms-windows/*: Revert most of previous patch, as
592 it didn't work as expected; Some work toward #531086 - the new
593 GtkTooltip widget doesn't theme properly on win32. Now, at least
594 the background color seems okay
596 2008-09-18 Dominic Lachowicz <domlachowicz@gmail.com>
598 * modules/engines/ms-windows/*: MS Windows style should use
599 pango_win32_font_description_from_logfont; Allows us to rip out a
600 lot of potentially buggy code, and also get the font specification
601 from the XP theme (#434987)
603 2008-09-18 Matthias Clasen <mclasen@redhat.com>
605 * configure.in: updated version number to 2.15.0 for development.
607 * ChangeLog.pre-2-14: rotate ChangeLog
609 === Branch for 2.14 ===