]> Pileus Git - ~andy/gtk/blob - ChangeLog
Show the tooltip on the range entry itself, too.
[~andy/gtk] / ChangeLog
1 2008-10-06  Matthias Clasen  <mclasen@redhat.com>
2
3         * gtk/gtkprintunixdialog.c (create_main_page): Show the tooltip
4         on the range entry itself, too.
5
6 2008-10-04  Tor Lillqvist  <tml@novell.com>
7
8         Bug 132501 - Make utility window translate to tool window in win32
9
10         Implement the utility window type hint. Such windows are kept on
11         top of other windows. Makes GIMP's toolbox and dock windows behave
12         more like in GNOME under metacity. Apply the same logic also to
13         windows marked with the dialog window type hint, and windows that
14         are transient for some other window. I'll call such windows
15         "transient-type" below.
16
17         * gdk/win32/gdkevents-win32.c (doesnt_want_key): Drop unused
18         variables.
19
20         (ensure_stacking_on_unminimize)
21         (ensure_stacking_on_window_pos_changing)
22         (ensure_stacking_on_activate_app): New functions to implement the
23         desired stacking order. Make sure that a window that is not
24         transient-type stays below any transient-type windows of the
25         application. When activating a non-transient-type window make sure
26         it rises as high as possible while still staying below the lowest
27         transient-type window.
28
29         (gdk_event_translate): Call above functions on
30         WM_WINDOWPOSCHANGING, WM_ACTIVATEAPP and on WM_SIZE when
31         unminimizing. Improve debugging printout.
32
33         * gdk/win32/gdkwindow-win32.c (get_effective_window_decorations):
34         Handle utility windows like toolbar windows.
35
36         (gdk_window_new_internal) (update_style_bits): Give utility
37         windows the WS_EX_TOOLWINDOW extended style.
38
39         (gdk_window_set_title): If debugging "misc" or "events", make the
40         handle of top-level windows show up in their title bars. Very
41         useful when looking at debugging output.
42
43         (gdk_window_set_transient_for) (gdk_window_set_keep_above)
44         (gdk_window_set_keep_below) (gdk_window_set_modal_hint)
45         (gdk_window_set_skip_taskbar_hint)
46         (gdk_window_set_skip_pager_hint): Add and improve debugging
47         printout.
48
49         (gdk_window_set_type_hint): Print hint symbolically in GDK_NOTE().
50
51 2008-10-04  Tor Lillqvist  <tml@novell.com>
52
53         * gdk/win32/gdkmain-win32.c (_gdk_win32_window_exstyle_to_string)
54         (_gdk_win32_window_pos_bits_to_string): New debugging printout
55         functions. Decode the WS_EX_* and SWP_* bits.
56
57         * gdk/win32/gdkprivate-win32.h: Declare them. Define
58         GDK_DEBUG_MISC_OR_EVENTS for use in GDK_NOTE() to match either
59         "misc" or "events".
60
61 2008-10-03  Matthias Clasen <mclasen@redhat.com>
62
63         * gtk/gtkmodules.c (_gtk_modules_settings_changed): Add some
64         debug output.
65
66 2008-10-02  Matthias Clasen <mclasen@redhat.com>
67
68         Bug 96431 – Can't cut and paste / DND within invisible entry
69
70         * gtk/gtkentry.c: Disable cut, copy and drag out of an invisible
71         entry. Proposed by Owen Taylor
72
73 2008-10-02  Matthias Clasen <mclasen@redhat.com>
74
75         Bug 530575 – GtkEntry with invisible chars has a confused cursor in
76         overwrite mode
77
78         * gtk/gtkentry.c (gtk_entry_draw_cursor): Use the visible text
79         in the layout when positioning the cursor, not the actual text
80         content of the entry. This makes a different when using overwrite
81         mode in an invisible entry. 
82         Problem noticed by Jonathan Blandford
83
84         * gtk/gtktextutil.c: Fix a typo in a comment
85
86 2008-10-02  Christian Persch
87
88         Bug 554704 – gtkfilesystemmodel does too much work
89
90         * gtk/gtkfilesystemmodel.c: Replace g_slist_length()<1 check with a
91         simple NULL check.
92
93 2008-10-02  Christian Persch
94
95         Bug 554701 – filechooser spams console with useless warnings
96
97         * gtk/gtkfilesystem.c.c: Don't warn if the async call was simply
98         cancelled.
99
100 2008-10-02  Christian Persch
101
102         Bug 554698 – mem leak in filechooser
103
104         * gtk/gtkfilechooserdefault.c: Plug a mem leak.
105
106 2008-10-02  Christian Persch
107
108         Bug 554696 – invalid free function used
109
110         * gtk/gtkfilesystemmodel.c: Use the right free func.
111
112 2008-10-02  Christian Persch
113
114         Bug 554691 – mem leak in filechooser
115
116         * gtk/gtkfilesystemmodel.c: Plug a mem leak.
117
118 2008-10-02  Christian Persch
119
120         Bug 554690 – mem leak in filechooser
121
122         * gtk/gtkfilechooserdefault.c: Plug a mem leak.
123
124 2008-10-02  Michael Natterer  <mitch@imendio.com>
125
126         Bug 553585 – Add orientation API to GtkRuler
127
128         * gtk/gtkruler.[ch]: implement the GtkOrientable interface and
129         swallow all code from GtkHRuler and GtkVRuler. Add gtk_ruler_new()
130         which takes a GtkOrientation argument.
131
132         * gtk/gtkhruler.c
133         * gtk/gtkvruler.c: remove all code except the constructor and
134         call gtk_orientable_set_orientation() in init().
135
136         * gtk/gtk.symbols: add gtk_ruler_new().
137
138 2008-10-01  Torsten Schoenfeld  <kaffeetisch@gmx.de>
139
140         * docs/reference/gtk/gtk-sections.txt:
141         * gtk/gtk.symbols:
142         * gtk/gtkselection.c:
143         * gtk/gtkselection.h: Add gtk_selection_data_get_selection to
144         retrieve the sealed struct field GtkSelectionData.selection.
145
146 2008-10-01  Tor Lillqvist  <tml@novell.com>
147
148         * gtk/gtkscalebutton.c: Don't #define _GNU_SOURCE on Windows as it
149         confuses newest mingw headers.
150
151 2008-10-01  Tor Lillqvist  <tml@novell.com>
152
153         * gdk/win32/gdkkeys-win32.c (gdk_keymap_get_caps_lock_state):
154         Implement trivially on Windows. Not sure if something more complex
155         is actually needed, more specifically whether the function needs
156         to differentiate between "Caps Lock" and "Shift Lock" semantics?
157
158 2008-10-01  Simos Xenitellis  <simos@gnome.org>
159
160         Bug 554506 – combining diacritics broken, became deadkeys
161
162         * gtk/gtkimcontextsimple.c: added check if keysym is greater
163         than 0x1000000, in this case it is not a dead key.
164
165 2008-09-30  Michael Natterer  <mitch@imendio.com>
166
167         Bug 553582 – Add orientation API to GtkSeparator
168
169         * gtk/gtkseparator.[ch]: implement the GtkOrientable interface and
170         swallow all code from GtkHSeparator and GtkVSeparator. Add
171         gtk_separator_new() which takes a GtkOrientation argument.
172
173         * gtk/gtkhseparator.c
174         * gtk/gtkvseparator.c: remove all code except the constructor and
175         call gtk_orientable_set_orientation() in init().
176
177         * gtk/gtk.symbols: add gtk_separator_new().
178
179 2008-09-30  Marek Kasik  <mkasik@redhat.com>
180
181         Bug 344522 – support non-local destination files (GtkPrint):
182
183         * gtk/gtkprintunixdialog.c
184         * gtk/gtkprinteroptionwidget.c: Process URI instead of filename.
185         * modules/printbackends/file/gtkprintbackendfile.c: Add ability
186         to save files on non-local filesystems.
187
188 2008-09-30  Michael Natterer  <mitch@imendio.com>
189
190         * gtk/gtk.symbols: forgot the G_GNUC_CONST of
191         gtk_orientable_get_type().
192
193 2008-09-30  Michael Natterer  <mitch@imendio.com>
194
195         Bug 541009 – Get rid of separate subclasses for horizontal and
196         vertical orientation:
197
198         * gtk/Makefile.am
199         * gtk/gtk.symbols
200         * gtk/gtk.h
201         * gtk/gtkorientable.[ch]: add new interface GtkOrientable which
202         will be implemented by everything that can switch orientation.
203
204 2008-09-30  Christian Dywan  <christian@imendio.com>
205
206         Fix a typo in the tutorial.
207
208         * docs/tutorial/gtk-tut.sgml: It's mnemonic, not 'mnemnonic'.
209
210 2008-09-29  Matthias Clasen  <mclasen@redhat.com>
211
212         Bug 553086 – hard to see current immodule
213
214         * gtk/gtkimmulticontext.c (gtk_im_multicontext_append_menuitems):
215         Display the actually selected context in the system menuitem.
216         Complaint by Akira Tagoh.
217
218 2008-09-29  Matthias Clasen  <mclasen@redhat.com>
219
220         Bug 530568 – Entries with visibility=FALSE should warn for caps-lock
221         on
222
223         * gtk/gtkentry.c: Add a tooltip-like Caps Lock warning for
224         password entries. The warning is also triggered if an input method
225         is active. The warning can be turned off using the
226         GtkEntry::caps-lock-warning property. 
227         Proposed by Owen Taylor
228
229 2008-09-29  Matthias Clasen  <mclasen@redhat.com>
230
231         * gtk/gtk.symbols:
232         * gtk/gtkimmulticontext.[hc] (gtk_im_multicontext_get_context_id): 
233         Add a getter for the the sealed context_id field.
234
235 2008-09-29  Matthias Clasen  <mclasen@redhat.com>
236
237         Bug 107000 – Add signals to GdkKeymap for monitoring caps_lock, etc.
238
239         * gdk/gdk.symbols:
240         * gdk/gdkkeys.[ch]: Add a new GdkKeymap::state-changed signal, and
241         a gdk_keymap_get_caps_lock_state function.
242
243         * gdk/x11/gdkkeys-x11.c: Implement it here. For now, only emit
244         state-changed when caps lock lockedness changes. 
245
246         * gdk/x11/gdkdisplay-x11.c: Also select for modifier lock status
247         changes in the XkbSelectEventDetails call.
248
249 2008-09-29  Kristian Rietveld  <kris@imendio.com>
250
251         Bug 487624 - Tooltips doesn't get updated if ther's no mouse motion
252         over widget
253
254         * gtk/gtkwidget.c (gtk_widget_set_property): after updating
255         tooltip text or markup, call gtk_widget_trigger_tooltip_query()
256         so that existing visible tooltips are updated.
257
258 2008-09-29  Matthias Clasen  <mclasen@redhat.com>
259
260         Bug 371908 – Password Entry broken
261         Bug 317002 – Disable input method completely in GtkEntry when it's 
262         in invisible mode.
263
264         * gtk/gtkentry.c (gtk_entry_backspace): Make backspace behave
265         properly when invisible.
266
267         * gtk/gtkentry.c (gtk_entry_create_layout): Show preedit even if
268         invisible. 
269
270         * gtk/gtkentry.c (gtk_entry_set_visibility): Don't disable input
271         methods when making the entry invisible.
272         
273 2008-09-29  Emmanuele Bassi  <ebassi@linux.intel.com>
274
275         * gdk/x11/gdkinput.c:
276         (gdk_device_class_init), (gdk_device_finalize): Correctly chain
277         up the finalize implementation.
278
279 2008-09-29  Richard Hult  <richard@imendio.com>
280
281         Bug 554141 – uninitialized data use/free in gtkclipboard-quartz.c
282
283         * gtk/gtkclipboard-quartz.c: (gtk_clipboard_wait_for_contents):
284         Patch from Jon A. Cruz to initialize the allocated selection data.
285
286 2008-09-27  Matthias Clasen  <mclasen@redhat.com>
287
288         Bug 339367 – Incorrect spotlocation
289
290         * modules/input/gtkimcontextxim.c: Correct the spot location
291         for on-the-spot style.
292
293 2008-09-27  Denis Washington  <denisw@svn.gnome.org>
294
295         * gtk/gtkiconview.c: only draw keyboard focus when keyboard navigation
296         is used, like GtkTreeView. (Bug #553575)
297
298 2008-09-26  Matthias Clasen  <mclasen@redhat.com>
299
300         Bug 552959 – GtkTrayIcon: _NET_SYSTEM_TRAY_VISUAL and real
301         transparency
302
303         * gtk/gtktrayicon-x11.c: Add support for the _NET_SYSTEM_TRAY_VISUAL
304         property described in
305         http://lists.freedesktop.org/archives/xdg/2008-September/009919.html
306         If _NET_SYSTEM_TRAY_VISUAL is a visual with an alpha channel, the 
307         parent-relative-background hack is skipped and we draw with a real
308         transparent background.
309
310         * gtk/gtkrc.c: Remove the default GtkTrayIcon style, since the
311         parent-relative background is now set when realizing the tray
312         icon.
313
314         Patch by Owen Taylor
315
316 2008-09-26  Matthias Clasen  <mclasen@redhat.com>
317
318         Bug 552956 – Should check composite extension version
319
320         * gdk/x11/gdkdisplay-x11.c: Check that the version of the
321         composite extension is at least 0.4.
322         Patch by Owen Taylor
323
324 2008-09-26  Matthias Clasen  <mclasen@redhat.com>
325         
326         Bug 553803 – eventually call XCloseDevice on XOpenDevice results
327
328         * gdk/x11/gdkinput.c: Add a finalize function for device objects,
329         and call XCloseDevice there. 
330
331         * gdk/x11/gdkinput-x11.c:
332         * gdk/x11/gdkdisplay-x11.c: Move freeing of device objects to
333         the finalize function.
334         Patch by Caolan McNamara
335         
336 2008-09-26  Matthias Clasen  <mclasen@redhat.com>
337
338         Bug 553578 - tabs are not drawn correctly
339
340         * gtk/gtknotebook.c: Track the visibility state of notebook tabs 
341         between allocations so that we know to redraw the tab labels if 
342         tabs are hidden and shown without changing position. 
343         Reported by Marek Kašík, patch by Owen Taylor.
344
345 2008-09-26  Matthias Clasen  <mclasen@redhat.com>
346
347         Bug 553133 – GtkFileChooser won't ask to mount a volume
348         Bug 553211 – GtkFileChooserButton unsets filter after first use
349
350         * gtk/gtkfilechooserdefault.c (shortcuts_activate_volume): Use
351         a GtkMountOperation when mounting, so that we get a password
352         dialog when required.  
353
354         * gtk/gtkfilechooserdefault.c (show_and_select_files): Also
355         get the content-type, since it is used later on. 
356         Pointed out by Davyd Madeley.
357
358 2008-09-26  Cody Russell  <bratsche@gnome.org>
359
360         Bug 553917 – Typo in gdkwindow-win32.c
361
362         * gdk/win32/gdkwindow-win32.c: Fixed a typo in
363         update_system_menu().  Changed GDK_DECOR_ALL to GDK_FUNC_ALL.
364
365         Reported by Richard Hult
366
367 2008-09-25  Marek Kasik  <mkasik@redhat.com>
368
369         Bug 553241 – double freed pointer in lpr_write cause firefox3 crash
370
371         * modules/printbackends/lpr/gtkprintbackendlpr.c:
372         The redundant freeing of memory was removed.
373
374         Patch by Chris Wang
375
376 2008-09-25  Michael Natterer  <mitch@imendio.com>
377
378         * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_finalize):
379         don't unref the file system backend, the newly added
380         unset_file_system_backend() already does this (bug #553135).
381
382 2008-09-24  Michael Natterer  <mitch@imendio.com>
383
384         * gtk/gtkeventbox.c: events return gboolean not gint, reindented
385         static prototypes.
386
387 2008-09-24  Johan Dahlin  <johan@gnome.org>
388
389         Bug 553385 – gtk-builder-convert creates untranslated combobox models
390
391         * gtk/gtk-builder-convert: Set the translatable property on
392         col tags for converted combos.
393
394 2008-09-24  Tor Lillqvist  <tml@novell.com>
395
396         * gtk-zip.sh.in: Include all of share/man, lib/pkgconfig,
397         share/aclocal and share/gtk-doc instead of trying to list
398         individual files or subdirectories. We had missed gail.pc, for
399         instance.
400
401 2008-09-24  Christian Dywan  <christian@imendio.com>
402
403         Bug 538782 – Make GtkMenu's arrow size themable
404
405         * gtk/gtkmenu.c (gtk_menu_class_init), (gtk_menu_paint):
406         Implement "arrow-scaling" style property in GtkMenu.
407
408 2008-09-24  Christian Dywan  <christian@imendio.com>
409
410         Bug 408244 – add GtkDialog::content-area-spacing
411
412         * gtk/gtkbox.c (gtk_box_init), (gtk_box_set_spacing),
413         (_gtk_box_set_spacing_set), (_gtk_box_get_spacing_set):
414         * gtk/gtkbox.h:
415         * gtk/gtkdialog.c (gtk_dialog_class_init), (update_spacings):
416         Implement "content-area-spacing" style property in GtkDialog
417         and internal helper _gtk_box_get_spacing_set in GtkBox.
418         Patch by Tim Janik, Sven Herzberg and myself.
419
420 2008-09-24  Christian Dywan  <christian@imendio.com>
421
422         Bug 541391 – Unfocussable Treeview swallows focus
423
424         * gtk/gtktreeview.c (grab_focus_and_unset_draw_keyfocus),
425         (gtk_tree_view_focus): Honor GTK_WIDGET_CAN_FOCUS properly
426
427 2008-09-24  Denis Washington  <denisw@svn.gnome.org>
428
429         * gtk/gtkiconview.c: draw focus as a rectangle around the
430         complete item, not just the text. (Bug #38254)
431
432 2008-09-23  Michael Natterer  <mitch@imendio.com>
433
434         * gtk/gtkobject.c
435         * gtk/gtksignal.[ch]: s/GtkType/GType/ and
436         s/GtkSignalMarshaller/GSignalCMarshaller/.
437
438 2008-09-23  Michael Natterer  <mitch@imendio.com>
439
440         * gdk/x11/gdkevents-x11.c (gdk_event_translate): remove unused
441         variable and fix indentation.
442
443 2008-09-23  Michael Natterer  <mitch@imendio.com>
444
445         * gtk/gtkclist.h
446         * gtk/gtkctree.h
447         * gtk/gtklist.h
448         * gtk/gtklistitem.h
449         * gtk/gtkobject.h
450         * gtk/gtkoldeditable.h
451         * gtk/gtkpixmap.h
452         * gtk/gtkpreview.h
453         * gtk/gtktext.h
454         * gtk/gtktipsquery.h
455         * gtk/gtktree.h
456         * gtk/gtktreeitem.h: get rid of GtkType and GTK_CHECK_FOO() also
457         in all deprecated headers.
458
459 2008-09-22  Matthias Clasen  <mclasen@redhat.com>
460
461         Bug 553135 – eog crash: assertion failed. Gtk error:
462         shortcuts_remove_rows: code should not be reached
463
464         * gtk/gtkfilechooserdefault.c: Disconnect from GtkFileSystem 
465         signals when we are destroyed, in order to avoid nasty surprises.
466         Patch by Claudio Saavedra
467
468 2008-09-22  Emmanuele Bassi  <ebassi@linux.intel.com>
469
470         Bug 552789 – Show size column in the search and recently used
471         files modes
472
473         * gtk/gtkfilechooserdefault.c: Display the file size column
474         when in OPERATION_MODE_SEARCH. This removes a stat() call
475         and simplifies the code a little bit by changing the query
476         for file informations for each search engine hit.
477
478 2008-09-22  Michael Natterer  <mitch@imendio.com>
479
480         * gtk/gtksignal.[ch]
481         * gtk/gtkclist.c
482         * gtk/gtklist.c
483         * gtk/gtkmain.c
484         * gtk/gtktext.c
485         * gtk/gtktreeitem.c: use G_CALLBACK and GCallback instead of
486         GTK_SIGNAL_FUNC and GtkSignalFunc also in deprecated code.
487
488 2008-09-22  Frederic Crozat  <fcrozat@mandriva.com>
489
490         * gtk/gtkfilesystem.c: use the correct gi18n header.
491         Fixes bug #553000.
492
493 2008-09-22  Michael Natterer  <mitch@imendio.com>
494
495         * gtk/gtktoolbar.[ch]: add "Deprecated: 2.4" to all the deprecated
496         append(), prepend() and insert() functions and recommend to use
497         gtk_toolbar_insert() instead. Use GCallback instead of
498         GtkSignalFunc even in deprecated API.
499
500 2008-09-20  Matthias Clasen  <mclasen@redhat.com>
501
502         * gtk/gtkfilechooserbutton.c (filter_model_visible_func): Don't
503         leak a GFile.
504
505 2008-09-19  Owen Taylor  <otaylor@redhat.com>
506
507         Small cleanups to debug messages for GtkPlug/GtkSocket
508
509         * gtk/gtksocket-x11.c: Fix debug message to say "Socket" not "Plug"
510         * gtk/gtkplug-x11.c: Remove excess newlines from the ends of debug
511         messages.
512
513 2008-09-19  Carlos Garnacho  <carlos@imendio.com>
514
515         Bug 83935 – GtkEntry's default invisible char should be U+25CF
516
517         * gtk/gtkentry.c (find_invisible_char) (gtk_entry_init): Find a
518         more suitable invisible char than '*' based on the used font.
519         (gtk_entry_class_init) (gtk_entry_set_property)
520         (gtk_entry_get_property): Add a "invisible-char-set" property.
521         (gtk_entry_unset_invisible_char): New function, needed now that the
522         default invisible char isn't fixed.
523         * gtk/gtkentry.h:
524         * gtk/gtk.symbols:
525         * docs/reference/gtk/gtk-sections.txt: Add the new function.
526
527 2008-09-19  Christian Persch  <chpe@gnome.org>
528  
529         Bug 552837 – mem leak in gtkimmulticontext
530  
531         * gtk/gtkimmulticontext.c: (gtk_im_multicontext_get_slave): Plug mem
532         leak.
533  
534 2008-09-18  Emmanuele Bassi  <ebassi@linux.intel.com>
535
536         * gtk/gtkfilechooserdefault.c (settings_save): Save the size column
537         visibility state with the rest of the FileChooser settings.
538
539 2008-09-18  Emmanuele Bassi  <ebassi@linux.intel.com>
540
541         Bug 325095 – show a 'size' column
542
543         * gtk/gtkfilechooserdefault.c:
544         * gtk/gtkfilechooserprivate.h: Add a context menu item controlling
545         the visibility of the file size column. This works only for the
546         browse mode, and the column is not visible by default.
547
548         * gtk/gtkfilechoosersettings.[ch]: Add a ShowSizeColumn key to the
549         settings file.
550
551 2008-09-18  Dominic Lachowicz  <domlachowicz@gmail.com>
552
553         * modules/engines/ms-windows/*: Revert most of previous patch, as
554         it didn't work as expected; Some work toward #531086 - the new
555         GtkTooltip widget doesn't theme properly on win32. Now, at least
556         the background color seems okay
557         
558 2008-09-18  Dominic Lachowicz  <domlachowicz@gmail.com>
559
560         * modules/engines/ms-windows/*: MS Windows style should use
561         pango_win32_font_description_from_logfont; Allows us to rip out a
562         lot of potentially buggy code, and also get the font specification
563         from the XP theme (#434987)
564         
565 2008-09-18  Matthias Clasen  <mclasen@redhat.com>
566
567         * configure.in: updated version number to 2.15.0 for development.
568
569         * ChangeLog.pre-2-14: rotate ChangeLog
570
571 === Branch for 2.14 ===