]> Pileus Git - ~andy/gtk/blob - ChangeLog
Fix a property definition
[~andy/gtk] / ChangeLog
1 2008-10-24  Matthias Clasen  <mclasen@redhat.com>
2
3         * gtk/gtkmountoperation.c: The "screen" property ought to have
4         type GdkScreen, not GtkWindow. Found by Cosimo Cecchi
5
6 2008-10-24  Matthias Clasen  <mclasen@redhat.com>
7
8         Bug 556954 – gtk+/gtk/gtkrecentchooserdefault.c: mismatching
9         allocation and deallocation
10
11         * gtk/gtkrecentchooserdefault.c (remove_selected_from_list): Don't
12         free a strdup'ed string by g_free. Pointed out by Daniel Marjamäki
13
14 2008-10-24  Matthias Clasen  <mclasen@redhat.com>
15
16         Bug 556835 – gtkentry.c: variable is declared at middle of block
17
18         * gtk/gtkentry.c (gtk_entry_copy_clipboard): Fix a C99ism pointed
19         out by Kazuki Iwamoto
20
21 2008-10-24  Matthias Clasen  <mclasen@redhat.com>
22
23         Bug 557524 – "va_end(args);" should be added into
24         gtk_text_buffer_insert_with_tags_by_name( )
25
26         * gtk/gtktextbuffer.c (gtk_text_buffer_insert_with_tags_by_name):
27         Don't forget to call va_end. Pointed out by Boram Park
28
29 2008-10-23  Alexander Larsson  <alexl@redhat.com>
30
31         Bug 528320 - Incorrect icons displayed for files with custom mimetype icons
32         
33         * gtk/gtkfilesystem.c:
34         (_gtk_file_info_render_icon):
35         Fall back on default file icon if there was no icon or it
36         was not found in the theme. This goes with the corresponding
37         change in glib to not add the fallback icon, but is useful
38         in other cases too.
39
40 2008-10-22  Behdad Esfahbod  <behdad@gnome.org>
41
42         Bug 555920 – gtkentry.c passes wrong enum to
43         pango_layout_set_alignment()
44
45         * gtk/gtkentry.c (gtk_entry_create_layout): Don't set layout
46         adjustment.
47
48 2008-10-22  Matthias Clasen  <mclasen@redhat.com>
49
50         * gdk/x11/gdkscreen-x11.c: Only emit size-changed if the screen
51         size actually changed.
52
53 2008-10-21  Michael Natterer  <mitch@imendio.com>
54
55         * gdk/gdkdraw.c
56         * gdk/gdkimage.c
57         * gdk/gdkscreen.c
58         * gdk/gdkwindow.c: replace assertions for obj != NULL by
59         GDK_IS_OBJ(), remove redundant != NULL checks when there is
60         already a type check, add some g_return_if_fail() that were
61         missing entirely, fix some broken indentation and spacing.
62
63 2008-10-21  Tor Lillqvist  <tml@novell.com>
64
65         Bug 557266 - Window Management Problem
66
67         Also reported in mail to gtk-list, and of course it has been well
68         known in general that window state management is messy and buggy
69         in various ways in gdk/win32.
70
71         * gdk/win32/gdkwindow-win32.c (show_window_internal): Correct
72         handling of GDK_WINDOW_STATE_ABOVE windows. It doesn't work to set
73         the WS_EX_TOPMOST extended style bit using SetWindowLong(). We
74         must call SetWindowPos() on the window using HWND_TOPMOST
75         instead. The description for WS_EX_TOPMOST in the documentation
76         for CreateWindowEx() even implies that if you read it carefully.
77
78 2008-10-21  Michael Natterer  <mitch@imendio.com>
79
80         * gdk/gdkapplaunchcontext.c: reorder functions to be in standard
81         order, add prototypes and namespace to static functions, add
82         g_return_if_fail()s which were missing all over the place.
83
84 2008-10-20  Christian Persch  <chpe@gnome.org>
85
86         Bug 557059 – crash when compositing emblems with icon
87
88         * gtk/gtkicontheme.c: (apply_emblems): Copy the pixbuf before using it
89         with gtk_pixbuf_composite, in case its pixdata is read-only (mmaped
90         from icon cache or builtins).
91
92 2008-10-20  Murray Cumming  <murrayc@murrayc.com>
93
94         * gtk/gtkiconview.c: gtk_icon_view_set_tooltip_row(), 
95         gtk_icon_view_set_tooltip_item():
96         * gtk/gtktreeview.c: gtk_icon_view_set_tooltip_row(), 
97         gtk_icon_view_set_tooltip_cell():
98         Documentation: Mention the simple set_tooltip_column() 
99         alternative.
100
101 2008-10-18  Tor Lillqvist  <tml@novell.com>
102
103         * gdk/win32/gdkevents-win32.c (gdk_event_translate): On
104         WM_WINDOWPOSCHANGING, don't dereference windowpos in the debugging
105         output without setting it first.
106
107 2008-10-18  Tor Lillqvist  <tml@novell.com>
108
109         Bug 556578 - GIMP windows stay on top of other windows
110
111         * gdk/win32/gdkevents-win32.c (ensure_stacking_on_unminimize)
112         (ensure_stacking_on_window_pos_changing)
113         (ensure_stacking_on_activate_app): Ignore unmapped windows in the
114         loops where we look for the lowest "transient-type" window.
115
116         (gdk_event_translate): Don't call
117         ensure_stacking_on_window_pos_changing() or
118         ensure_stacking_on_activate_app() for unmapped windows.
119
120 2008-10-16  Marek Kasik  <mkasik@redhat.com>
121
122         Bug 556527 - The current page property is not passed to
123         GtkPrintUnixDialog
124
125         * gtk/gtkprintoperation-unix.c: pass current-page property
126         to GtkPrintUnixDialog
127
128 2008-10-15  Michael Natterer  <mitch@imendio.com>
129
130         * gdk/gdkapplaunchcontext.h (GDK_IS_APP_LAUNCH_CONTEXT): fix typo
131         in the type name so the macro becomes usable.
132
133 2008-10-14  Christian Dywan  <christian@imendio.com>
134
135         556150 – gtk 'object' property test fixing
136
137         * gtk/tests/object.c (list_ignore_properties):
138         Remove some recently fixed properties from the exception list
139
140 2008-10-13  Matthias Clasen  <mclasen@redhat.com>
141
142         Bug 555779 – GtkCellRendererPixbuf crashed on failed GIcon lookup
143
144         * gtk/gtkcellrendererpixbuf
145         (gtk_cell_renderer_pixbuf_create_themed_pixbuf): Don't crash
146         if a GIcon is not present in the current theme. Patch by 
147         Alex Larsson.
148
149 2008-10-13  Matthias Clasen  <mclasen@redhat.com>
150
151         Bug 552318 – menubar mnemonics consumed even when
152         gtk-enable-mnemonics=false
153
154         * gtk/gtkwindow.c (gtk_window_activate_key): Don't let mnemonic
155         entries block accelerator activation when gtk-enable-mnemonics is
156         FALSE. Problem reported by Andreas Moog.
157
158 2008-10-13  Cody Russell <cody@jhu.edu>
159
160         * test/testfilechooser.c: Fix option parsing so that -a and
161         --action work correctly.
162
163 2008-10-13  Christian Persch <chpe@gnome.org>
164
165         Bug 555386 – format not a string literal and no format arguments
166
167         * gtk/gtkiconfactory.c
168         * gtk/gtkprintbackend.c
169         * gtk/gtkprintoperation.c
170         * gtk/gtkthemes.c
171         * gtk/tests/builder.c
172         * modules/other/gail/gailtextview.c
173         * tests/testmerge.c: Use printf safely.
174
175 2008-10-13  Christian Persch <chpe@gnome.org>
176
177         Bug 555724 – gtkcellrendereraccel not initialised correctly
178
179         * gtk/gtkcellrendereraccel.c: Initialise the cell text.
180
181 2008-10-12  Simos Xenitellis  <simos@gnome.org>
182
183         Bug 555625 – Updated gtk_compose_seqs_compact table 
184         (gtkimcontextsimpleseqs.h)
185         
186         * gtk/gtkimcontextsimpleseqs.c: Updated the compose sequence table.
187         In this update we removed a further set of compose sequences that
188         are otherwise covered by check_algorithmically(). 
189
190         * gtk/gtkimcontextsimple.c: Updated table value that shows how many 
191         distinct first values exist in the compose sequences. 
192         Change from 22 to 20.
193         
194 2008-10-11  Matthias Clasen  <mclasen@redhat.com>
195
196         * gtk/gtktoolbar.c: Revert the GtkSettings::gtk-toolbar-icon-size
197         part of the previous change, since it doesn't work correctly without
198         extra complication, and using custom icon sizes doesn't make too
199         much sense in a desktop-wide setting.
200
201 2008-10-11  Matthias Clasen  <mclasen@redhat.com>
202
203         Bug 555186 – Setting gtk-toolbar-icon-size with custom icon_size
204
205         * gtk/gtktoolbar.c: Turn GtkToolbar::icon-size and
206         GtkSettings::gtk-toolbar-icon-size into int properties, to
207         allow the use of app-registered icon sizes.
208
209 2008-10-11  Christian Dywan  <christian@imendio.com>
210
211         Bug 555676 – gtk_widget_real_grab_focus assumes toplevel == window
212
213         * gtk/gtkwidget.c (gtk_widget_real_grab_focus):
214         Actually test for GTK_IS_WINDOW *and* GTK_WIDGET_TOPLEVEL
215
216 2008-10-10  Behdad Esfahbod  <behdad@gnome.org>
217
218         Bug 551355 – [PATCH] Make glib build with libtool 2.2
219
220         * autogen.sh: Accept libtool 2.2.   We are moving towards having
221         it working.
222
223 2008-10-10  Richard Hult  <richard@imendio.com>
224
225         * gdk/quartz/gdkkeys-quartz.c: (gdk_keymap_get_caps_lock_state)
226         Add empty stub to fix linking.
227
228 2008-10-10  Simos Xenitellis  <simos@gnome.org>
229
230         Bug 555000 – Wrong treatment on non-spacing marks dead keys in 
231         GtkIMContextSimple
232
233         * gtk/gtkimcontextsimple.c: Change IS_DEAD_KEY() macro so that
234         it only checks if input is a deadkey keysym.
235
236 2008-10-09  Christian Dywan  <christian@imendio.com>
237
238         Bug 555676 – gtk_widget_real_grab_focus assumes toplevel == window
239
240         * gtk/gtkwidget.c (gtk_widget_real_grab_focus):
241         Test for GTK_IS_WINDOW instead of GTK_WIDGET_TOPLEVEL
242
243 2008-10-09  Christian Dywan  <christian@imendio.com>
244
245         Bug 555573 – gtk_font_selection_set_font_name
246         shouldn't require a screen
247
248         * gtk/gtkfontsel.c (gtk_font_selection_set_font_name):
249         Don't warn if there is no screen, just return FALSE
250
251 2008-10-09  Christian Dywan  <christian@imendio.com>
252
253         Bug 555523 – gtk_scale_button_set_adjustment should accept NULL
254
255         * gtk/gtkscalebutton.c (gtk_scale_button_set_adjustment):
256         Create a new adjustment if NULL is passed, like other widgets
257
258 2008-10-09  Christian Dywan  <christian@imendio.com>
259
260         Bug 555578 – GtkTable propertiy maxima are wrong
261
262         * gtk/gtktable.c (gtk_table_class_init), (gtk_table_resize):
263         Always use 65535 instead of G_MAXUINT since that is
264         the actually supported maximum number of columns and rows
265
266 2008-10-09  Richard Hult  <richard@imendio.com>
267
268         Bug 550342 – Splash screens have a caption
269
270         * gdk/quartz/gdkwindow-quartz.c: (_gdk_window_new),
271         (gdk_window_set_decorations): Patch from Marianne Gagnon to make
272         splash windows borderless.
273
274 2008-10-09  Michael Natterer  <mitch@imendio.com>
275
276         Bug 516425 – Optionally display accelerators in popups
277
278         * gtk/gtkuimanager.h (enum GtkUIManagerItemType): add value
279         GTK_UI_MANAGER_POPUP_WITH_ACCELS which works like _POPUP but
280         shows the actions' accelerators.
281
282         * gtk/gtkuimanager.c: honor the new enum value for programmatically
283         created UIs, and support <popup accelerators="true"> in the XML
284         for the same purpose.
285
286 2008-10-09  Simos Xenitellis  <simos@gnome.org>
287
288         Bug 554192 – double press on the "circumflex" dead key 
289         (standard french 105 keyboard) no longer produces the "^" character
290
291         * gtk/gtkimcontextsimple.c (gtk_im_context_simple_filter_keypress):
292         Changed the order, put check_compact_table() first, then 
293         check_algorithmically().
294
295 2008-10-08  Christian Persch  <chpe@gnome.org>
296
297         Bug 554702 – gtkfilesystem leaks GError
298
299         * gtk/gtkfilesystem.c (_gtk_file_system_init): Free the GError.
300
301 2008-10-08  Matthias Clasen  <mclasen@redhat.com>
302
303         * gtk/gtkfilechooserdefault.c (update_current_folder_get_info_cb):
304         Don't forget to reset reload_state when current_folder is already
305         correct. Fixes https://bugzilla.redhat.com/show_bug.cgi?id=465992
306
307 2008-10-08  Christian Dywan  <christian@imendio.com>
308
309         Bug 555270 – Allow unsetting a MessageDialog's image
310
311         * gtk/gtkmessagedialog.c (gtk_message_dialog_set_property),
312         Remove a superfluous cast to GtkWidget*
313         (gtk_message_dialog_set_image): Accept NULL for the image
314         and unset the image in that case.
315
316 2008-10-08  Christian Dywan  <christian@imendio.com>
317
318         Bug 436533 – Allow more space efficient scroll arrows placement
319
320         * gtk/gtkenums.h: Add GtkArrowPlacement
321         * gtk/gtkmenu.c (gtk_menu_class_init), (get_arrows_border),
322         (get_arrows_visible_area), (get_double_arrows),
323         (get_arrows_sensitive_area): Implement GtkMenu::arrow-placement
324         to allow scrolling arrows to be placed at the start, end or both
325         Patch by Tommi Komulainen and myself
326
327 2008-10-08  Christian Dywan  <christian@imendio.com>
328
329         Bug 555387 – Changing the sensitivity of a statusbar
330         mistakenly requires a display
331
332         * gtk/gtkstatusbar.c (set_grip_cursor): Only change the cursor
333         of the resize grip if there is a grip window.
334
335 2008-10-06  Matthias Clasen  <mclasen@redhat.com>
336
337         * gtk/gtktooltip.c (gtk_tooltip_show_tooltip): Avoid unitialized
338         memory warnings from valgrind.
339
340 2008-10-07 11:03:30  Tim Janik  <timj@imendio.com>
341
342         * gtk/gtkbox.h: keep GtkBox as an abstract type and keep _gtk_box_new()
343         as private function until we settle on the exact semantics.
344         renamed _gtk_box_set_old_defaults() as suggested by Mitch.
345
346 2008-10-07  Michael Natterer  <mitch@imendio.com>
347
348         * gtk/gtkbox.c: reindent static prototypes.
349
350 2008-10-07  Michael Natterer  <mitch@imendio.com>
351
352         Bug 553573 – Add orientation API to GtkBox
353
354         * gtk/gtkbox.[hh]: implement the GtkOrientable interface and
355         swallow all code from GtkHBox and GtkVBox. Add gtk_box_new()
356         which takes a GtkOrientation argument. Also move the newly
357         added "spacing_set" boolean from struct GtkBox to the new
358         private struct.
359
360         * gtk/gtkhbox.[ch]
361         * gtk/gtkvbox.[ch]: remove all code except the constructor and
362         call gtk_orientable_set_orientation() in init().
363
364         * gtk/gtk.symbols: add gtk_box_new().
365
366 2008-10-06  Björn Lindqvist  <bjourne@gmail.com>
367
368         Bug 539464 – gtk_cell_view_get_model is missing in GtkCellView
369
370         * gtk/gtkcellview.c (gtk_cell_view_get_model): Add
371         gtk_cell_view_get_model.
372
373 2008-10-06  Matthias Clasen  <mclasen@redhat.com>
374
375         * gtk/gtkprintunixdialog.c (create_main_page): Show the tooltip
376         on the range entry itself, too.
377
378 2008-10-04  Tor Lillqvist  <tml@novell.com>
379
380         Bug 132501 - Make utility window translate to tool window in win32
381
382         Implement the utility window type hint. Such windows are kept on
383         top of other windows of the same process. Makes GIMP's toolbox and
384         dock windows behave more like in GNOME under metacity. Apply the
385         same logic also to windows marked with the dialog window type
386         hint, and windows that are transient for some other window. I'll
387         call such windows "transient-type" below.
388
389         * gdk/win32/gdkevents-win32.c (doesnt_want_key): Drop unused
390         variables.
391
392         (ensure_stacking_on_unminimize)
393         (ensure_stacking_on_window_pos_changing)
394         (ensure_stacking_on_activate_app): New functions to implement the
395         desired stacking order. Make sure that a window that is not
396         transient-type stays below any transient-type windows of the
397         application. When activating a non-transient-type window make sure
398         it rises as high as possible while still staying below the lowest
399         transient-type window.
400
401         (gdk_event_translate): Call above functions on
402         WM_WINDOWPOSCHANGING, WM_ACTIVATEAPP and on WM_SIZE when
403         unminimizing. Improve debugging printout.
404
405         * gdk/win32/gdkwindow-win32.c (get_effective_window_decorations):
406         Handle utility windows like toolbar windows.
407
408         (gdk_window_new_internal) (update_style_bits): Give utility
409         windows the WS_EX_TOOLWINDOW extended style.
410
411         (gdk_window_set_title): If debugging "misc" or "events", make the
412         handle of top-level windows show up in their title bars. Very
413         useful when looking at debugging output.
414
415         (gdk_window_set_transient_for) (gdk_window_set_keep_above)
416         (gdk_window_set_keep_below) (gdk_window_set_modal_hint)
417         (gdk_window_set_skip_taskbar_hint)
418         (gdk_window_set_skip_pager_hint): Add and improve debugging
419         printout.
420
421         (gdk_window_set_type_hint): Print hint symbolically in GDK_NOTE().
422
423 2008-10-04  Tor Lillqvist  <tml@novell.com>
424
425         * gdk/win32/gdkmain-win32.c (_gdk_win32_window_exstyle_to_string)
426         (_gdk_win32_window_pos_bits_to_string): New debugging printout
427         functions. Decode the WS_EX_* and SWP_* bits.
428
429         * gdk/win32/gdkprivate-win32.h: Declare them. Define
430         GDK_DEBUG_MISC_OR_EVENTS for use in GDK_NOTE() to match either
431         "misc" or "events".
432
433 2008-10-03  Matthias Clasen <mclasen@redhat.com>
434
435         * gtk/gtkmodules.c (_gtk_modules_settings_changed): Add some
436         debug output.
437
438 2008-10-02  Matthias Clasen <mclasen@redhat.com>
439
440         Bug 96431 – Can't cut and paste / DND within invisible entry
441
442         * gtk/gtkentry.c: Disable cut, copy and drag out of an invisible
443         entry. Proposed by Owen Taylor
444
445 2008-10-02  Matthias Clasen <mclasen@redhat.com>
446
447         Bug 530575 – GtkEntry with invisible chars has a confused cursor in
448         overwrite mode
449
450         * gtk/gtkentry.c (gtk_entry_draw_cursor): Use the visible text
451         in the layout when positioning the cursor, not the actual text
452         content of the entry. This makes a different when using overwrite
453         mode in an invisible entry. 
454         Problem noticed by Jonathan Blandford
455
456         * gtk/gtktextutil.c: Fix a typo in a comment
457
458 2008-10-02  Christian Persch
459
460         Bug 554704 – gtkfilesystemmodel does too much work
461
462         * gtk/gtkfilesystemmodel.c: Replace g_slist_length()<1 check with a
463         simple NULL check.
464
465 2008-10-02  Christian Persch
466
467         Bug 554701 – filechooser spams console with useless warnings
468
469         * gtk/gtkfilesystem.c.c: Don't warn if the async call was simply
470         cancelled.
471
472 2008-10-02  Christian Persch
473
474         Bug 554698 – mem leak in filechooser
475
476         * gtk/gtkfilechooserdefault.c: Plug a mem leak.
477
478 2008-10-02  Christian Persch
479
480         Bug 554696 – invalid free function used
481
482         * gtk/gtkfilesystemmodel.c: Use the right free func.
483
484 2008-10-02  Christian Persch
485
486         Bug 554691 – mem leak in filechooser
487
488         * gtk/gtkfilesystemmodel.c: Plug a mem leak.
489
490 2008-10-02  Christian Persch
491
492         Bug 554690 – mem leak in filechooser
493
494         * gtk/gtkfilechooserdefault.c: Plug a mem leak.
495
496 2008-10-02  Michael Natterer  <mitch@imendio.com>
497
498         Bug 553585 – Add orientation API to GtkRuler
499
500         * gtk/gtkruler.[ch]: implement the GtkOrientable interface and
501         swallow all code from GtkHRuler and GtkVRuler. Add gtk_ruler_new()
502         which takes a GtkOrientation argument.
503
504         * gtk/gtkhruler.c
505         * gtk/gtkvruler.c: remove all code except the constructor and
506         call gtk_orientable_set_orientation() in init().
507
508         * gtk/gtk.symbols: add gtk_ruler_new().
509
510 2008-10-01  Torsten Schoenfeld  <kaffeetisch@gmx.de>
511
512         * docs/reference/gtk/gtk-sections.txt:
513         * gtk/gtk.symbols:
514         * gtk/gtkselection.c:
515         * gtk/gtkselection.h: Add gtk_selection_data_get_selection to
516         retrieve the sealed struct field GtkSelectionData.selection.
517
518 2008-10-01  Tor Lillqvist  <tml@novell.com>
519
520         * gtk/gtkscalebutton.c: Don't #define _GNU_SOURCE on Windows as it
521         confuses newest mingw headers.
522
523 2008-10-01  Tor Lillqvist  <tml@novell.com>
524
525         * gdk/win32/gdkkeys-win32.c (gdk_keymap_get_caps_lock_state):
526         Implement trivially on Windows. Not sure if something more complex
527         is actually needed, more specifically whether the function needs
528         to differentiate between "Caps Lock" and "Shift Lock" semantics?
529
530 2008-10-01  Simos Xenitellis  <simos@gnome.org>
531
532         Bug 554506 – combining diacritics broken, became deadkeys
533
534         * gtk/gtkimcontextsimple.c: added check if keysym is greater
535         than 0x1000000, in this case it is not a dead key.
536
537 2008-09-30  Michael Natterer  <mitch@imendio.com>
538
539         Bug 553582 – Add orientation API to GtkSeparator
540
541         * gtk/gtkseparator.[ch]: implement the GtkOrientable interface and
542         swallow all code from GtkHSeparator and GtkVSeparator. Add
543         gtk_separator_new() which takes a GtkOrientation argument.
544
545         * gtk/gtkhseparator.c
546         * gtk/gtkvseparator.c: remove all code except the constructor and
547         call gtk_orientable_set_orientation() in init().
548
549         * gtk/gtk.symbols: add gtk_separator_new().
550
551 2008-09-30  Marek Kasik  <mkasik@redhat.com>
552
553         Bug 344522 – support non-local destination files (GtkPrint):
554
555         * gtk/gtkprintunixdialog.c
556         * gtk/gtkprinteroptionwidget.c: Process URI instead of filename.
557         * modules/printbackends/file/gtkprintbackendfile.c: Add ability
558         to save files on non-local filesystems.
559
560 2008-09-30  Michael Natterer  <mitch@imendio.com>
561
562         * gtk/gtk.symbols: forgot the G_GNUC_CONST of
563         gtk_orientable_get_type().
564
565 2008-09-30  Michael Natterer  <mitch@imendio.com>
566
567         Bug 541009 – Get rid of separate subclasses for horizontal and
568         vertical orientation:
569
570         * gtk/Makefile.am
571         * gtk/gtk.symbols
572         * gtk/gtk.h
573         * gtk/gtkorientable.[ch]: add new interface GtkOrientable which
574         will be implemented by everything that can switch orientation.
575
576 2008-09-30  Christian Dywan  <christian@imendio.com>
577
578         Fix a typo in the tutorial.
579
580         * docs/tutorial/gtk-tut.sgml: It's mnemonic, not 'mnemnonic'.
581
582 2008-09-29  Matthias Clasen  <mclasen@redhat.com>
583
584         Bug 553086 – hard to see current immodule
585
586         * gtk/gtkimmulticontext.c (gtk_im_multicontext_append_menuitems):
587         Display the actually selected context in the system menuitem.
588         Complaint by Akira Tagoh.
589
590 2008-09-29  Matthias Clasen  <mclasen@redhat.com>
591
592         Bug 530568 – Entries with visibility=FALSE should warn for caps-lock
593         on
594
595         * gtk/gtkentry.c: Add a tooltip-like Caps Lock warning for
596         password entries. The warning is also triggered if an input method
597         is active. The warning can be turned off using the
598         GtkEntry::caps-lock-warning property. 
599         Proposed by Owen Taylor
600
601 2008-09-29  Matthias Clasen  <mclasen@redhat.com>
602
603         * gtk/gtk.symbols:
604         * gtk/gtkimmulticontext.[hc] (gtk_im_multicontext_get_context_id): 
605         Add a getter for the the sealed context_id field.
606
607 2008-09-29  Matthias Clasen  <mclasen@redhat.com>
608
609         Bug 107000 – Add signals to GdkKeymap for monitoring caps_lock, etc.
610
611         * gdk/gdk.symbols:
612         * gdk/gdkkeys.[ch]: Add a new GdkKeymap::state-changed signal, and
613         a gdk_keymap_get_caps_lock_state function.
614
615         * gdk/x11/gdkkeys-x11.c: Implement it here. For now, only emit
616         state-changed when caps lock lockedness changes. 
617
618         * gdk/x11/gdkdisplay-x11.c: Also select for modifier lock status
619         changes in the XkbSelectEventDetails call.
620
621 2008-09-29  Kristian Rietveld  <kris@imendio.com>
622
623         Bug 487624 - Tooltips doesn't get updated if ther's no mouse motion
624         over widget
625
626         * gtk/gtkwidget.c (gtk_widget_set_property): after updating
627         tooltip text or markup, call gtk_widget_trigger_tooltip_query()
628         so that existing visible tooltips are updated.
629
630 2008-09-29  Matthias Clasen  <mclasen@redhat.com>
631
632         Bug 371908 – Password Entry broken
633         Bug 317002 – Disable input method completely in GtkEntry when it's 
634         in invisible mode.
635
636         * gtk/gtkentry.c (gtk_entry_backspace): Make backspace behave
637         properly when invisible.
638
639         * gtk/gtkentry.c (gtk_entry_create_layout): Show preedit even if
640         invisible. 
641
642         * gtk/gtkentry.c (gtk_entry_set_visibility): Don't disable input
643         methods when making the entry invisible.
644         
645 2008-09-29  Emmanuele Bassi  <ebassi@linux.intel.com>
646
647         * gdk/x11/gdkinput.c:
648         (gdk_device_class_init), (gdk_device_finalize): Correctly chain
649         up the finalize implementation.
650
651 2008-09-29  Richard Hult  <richard@imendio.com>
652
653         Bug 554141 – uninitialized data use/free in gtkclipboard-quartz.c
654
655         * gtk/gtkclipboard-quartz.c: (gtk_clipboard_wait_for_contents):
656         Patch from Jon A. Cruz to initialize the allocated selection data.
657
658 2008-09-27  Matthias Clasen  <mclasen@redhat.com>
659
660         Bug 339367 – Incorrect spotlocation
661
662         * modules/input/gtkimcontextxim.c: Correct the spot location
663         for on-the-spot style.
664
665 2008-09-27  Denis Washington  <denisw@svn.gnome.org>
666
667         * gtk/gtkiconview.c: only draw keyboard focus when keyboard navigation
668         is used, like GtkTreeView. (Bug #553575)
669
670 2008-09-26  Matthias Clasen  <mclasen@redhat.com>
671
672         Bug 552959 – GtkTrayIcon: _NET_SYSTEM_TRAY_VISUAL and real
673         transparency
674
675         * gtk/gtktrayicon-x11.c: Add support for the _NET_SYSTEM_TRAY_VISUAL
676         property described in
677         http://lists.freedesktop.org/archives/xdg/2008-September/009919.html
678         If _NET_SYSTEM_TRAY_VISUAL is a visual with an alpha channel, the 
679         parent-relative-background hack is skipped and we draw with a real
680         transparent background.
681
682         * gtk/gtkrc.c: Remove the default GtkTrayIcon style, since the
683         parent-relative background is now set when realizing the tray
684         icon.
685
686         Patch by Owen Taylor
687
688 2008-09-26  Matthias Clasen  <mclasen@redhat.com>
689
690         Bug 552956 – Should check composite extension version
691
692         * gdk/x11/gdkdisplay-x11.c: Check that the version of the
693         composite extension is at least 0.4.
694         Patch by Owen Taylor
695
696 2008-09-26  Matthias Clasen  <mclasen@redhat.com>
697         
698         Bug 553803 – eventually call XCloseDevice on XOpenDevice results
699
700         * gdk/x11/gdkinput.c: Add a finalize function for device objects,
701         and call XCloseDevice there. 
702
703         * gdk/x11/gdkinput-x11.c:
704         * gdk/x11/gdkdisplay-x11.c: Move freeing of device objects to
705         the finalize function.
706         Patch by Caolan McNamara
707         
708 2008-09-26  Matthias Clasen  <mclasen@redhat.com>
709
710         Bug 553578 - tabs are not drawn correctly
711
712         * gtk/gtknotebook.c: Track the visibility state of notebook tabs 
713         between allocations so that we know to redraw the tab labels if 
714         tabs are hidden and shown without changing position. 
715         Reported by Marek Kašík, patch by Owen Taylor.
716
717 2008-09-26  Matthias Clasen  <mclasen@redhat.com>
718
719         Bug 553133 – GtkFileChooser won't ask to mount a volume
720         Bug 553211 – GtkFileChooserButton unsets filter after first use
721
722         * gtk/gtkfilechooserdefault.c (shortcuts_activate_volume): Use
723         a GtkMountOperation when mounting, so that we get a password
724         dialog when required.  
725
726         * gtk/gtkfilechooserdefault.c (show_and_select_files): Also
727         get the content-type, since it is used later on. 
728         Pointed out by Davyd Madeley.
729
730 2008-09-26  Cody Russell  <bratsche@gnome.org>
731
732         Bug 553917 – Typo in gdkwindow-win32.c
733
734         * gdk/win32/gdkwindow-win32.c: Fixed a typo in
735         update_system_menu().  Changed GDK_DECOR_ALL to GDK_FUNC_ALL.
736
737         Reported by Richard Hult
738
739 2008-09-25  Marek Kasik  <mkasik@redhat.com>
740
741         Bug 553241 – double freed pointer in lpr_write cause firefox3 crash
742
743         * modules/printbackends/lpr/gtkprintbackendlpr.c:
744         The redundant freeing of memory was removed.
745
746         Patch by Chris Wang
747
748 2008-09-25  Michael Natterer  <mitch@imendio.com>
749
750         * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_finalize):
751         don't unref the file system backend, the newly added
752         unset_file_system_backend() already does this (bug #553135).
753
754 2008-09-24  Michael Natterer  <mitch@imendio.com>
755
756         * gtk/gtkeventbox.c: events return gboolean not gint, reindented
757         static prototypes.
758
759 2008-09-24  Johan Dahlin  <johan@gnome.org>
760
761         Bug 553385 – gtk-builder-convert creates untranslated combobox models
762
763         * gtk/gtk-builder-convert: Set the translatable property on
764         col tags for converted combos.
765
766 2008-09-24  Tor Lillqvist  <tml@novell.com>
767
768         * gtk-zip.sh.in: Include all of share/man, lib/pkgconfig,
769         share/aclocal and share/gtk-doc instead of trying to list
770         individual files or subdirectories. We had missed gail.pc, for
771         instance.
772
773 2008-09-24  Christian Dywan  <christian@imendio.com>
774
775         Bug 538782 – Make GtkMenu's arrow size themable
776
777         * gtk/gtkmenu.c (gtk_menu_class_init), (gtk_menu_paint):
778         Implement "arrow-scaling" style property in GtkMenu.
779
780 2008-09-24  Christian Dywan  <christian@imendio.com>
781
782         Bug 408244 – add GtkDialog::content-area-spacing
783
784         * gtk/gtkbox.c (gtk_box_init), (gtk_box_set_spacing),
785         (_gtk_box_set_spacing_set), (_gtk_box_get_spacing_set):
786         * gtk/gtkbox.h:
787         * gtk/gtkdialog.c (gtk_dialog_class_init), (update_spacings):
788         Implement "content-area-spacing" style property in GtkDialog
789         and internal helper _gtk_box_get_spacing_set in GtkBox.
790         Patch by Tim Janik, Sven Herzberg and myself.
791
792 2008-09-24  Christian Dywan  <christian@imendio.com>
793
794         Bug 541391 – Unfocussable Treeview swallows focus
795
796         * gtk/gtktreeview.c (grab_focus_and_unset_draw_keyfocus),
797         (gtk_tree_view_focus): Honor GTK_WIDGET_CAN_FOCUS properly
798
799 2008-09-24  Denis Washington  <denisw@svn.gnome.org>
800
801         * gtk/gtkiconview.c: draw focus as a rectangle around the
802         complete item, not just the text. (Bug #38254)
803
804 2008-09-23  Michael Natterer  <mitch@imendio.com>
805
806         * gtk/gtkobject.c
807         * gtk/gtksignal.[ch]: s/GtkType/GType/ and
808         s/GtkSignalMarshaller/GSignalCMarshaller/.
809
810 2008-09-23  Michael Natterer  <mitch@imendio.com>
811
812         * gdk/x11/gdkevents-x11.c (gdk_event_translate): remove unused
813         variable and fix indentation.
814
815 2008-09-23  Michael Natterer  <mitch@imendio.com>
816
817         * gtk/gtkclist.h
818         * gtk/gtkctree.h
819         * gtk/gtklist.h
820         * gtk/gtklistitem.h
821         * gtk/gtkobject.h
822         * gtk/gtkoldeditable.h
823         * gtk/gtkpixmap.h
824         * gtk/gtkpreview.h
825         * gtk/gtktext.h
826         * gtk/gtktipsquery.h
827         * gtk/gtktree.h
828         * gtk/gtktreeitem.h: get rid of GtkType and GTK_CHECK_FOO() also
829         in all deprecated headers.
830
831 2008-09-22  Matthias Clasen  <mclasen@redhat.com>
832
833         Bug 553135 – eog crash: assertion failed. Gtk error:
834         shortcuts_remove_rows: code should not be reached
835
836         * gtk/gtkfilechooserdefault.c: Disconnect from GtkFileSystem 
837         signals when we are destroyed, in order to avoid nasty surprises.
838         Patch by Claudio Saavedra
839
840 2008-09-22  Emmanuele Bassi  <ebassi@linux.intel.com>
841
842         Bug 552789 – Show size column in the search and recently used
843         files modes
844
845         * gtk/gtkfilechooserdefault.c: Display the file size column
846         when in OPERATION_MODE_SEARCH. This removes a stat() call
847         and simplifies the code a little bit by changing the query
848         for file informations for each search engine hit.
849
850 2008-09-22  Michael Natterer  <mitch@imendio.com>
851
852         * gtk/gtksignal.[ch]
853         * gtk/gtkclist.c
854         * gtk/gtklist.c
855         * gtk/gtkmain.c
856         * gtk/gtktext.c
857         * gtk/gtktreeitem.c: use G_CALLBACK and GCallback instead of
858         GTK_SIGNAL_FUNC and GtkSignalFunc also in deprecated code.
859
860 2008-09-22  Frederic Crozat  <fcrozat@mandriva.com>
861
862         * gtk/gtkfilesystem.c: use the correct gi18n header.
863         Fixes bug #553000.
864
865 2008-09-22  Michael Natterer  <mitch@imendio.com>
866
867         * gtk/gtktoolbar.[ch]: add "Deprecated: 2.4" to all the deprecated
868         append(), prepend() and insert() functions and recommend to use
869         gtk_toolbar_insert() instead. Use GCallback instead of
870         GtkSignalFunc even in deprecated API.
871
872 2008-09-20  Matthias Clasen  <mclasen@redhat.com>
873
874         * gtk/gtkfilechooserbutton.c (filter_model_visible_func): Don't
875         leak a GFile.
876
877 2008-09-19  Owen Taylor  <otaylor@redhat.com>
878
879         Small cleanups to debug messages for GtkPlug/GtkSocket
880
881         * gtk/gtksocket-x11.c: Fix debug message to say "Socket" not "Plug"
882         * gtk/gtkplug-x11.c: Remove excess newlines from the ends of debug
883         messages.
884
885 2008-09-19  Carlos Garnacho  <carlos@imendio.com>
886
887         Bug 83935 – GtkEntry's default invisible char should be U+25CF
888
889         * gtk/gtkentry.c (find_invisible_char) (gtk_entry_init): Find a
890         more suitable invisible char than '*' based on the used font.
891         (gtk_entry_class_init) (gtk_entry_set_property)
892         (gtk_entry_get_property): Add a "invisible-char-set" property.
893         (gtk_entry_unset_invisible_char): New function, needed now that the
894         default invisible char isn't fixed.
895         * gtk/gtkentry.h:
896         * gtk/gtk.symbols:
897         * docs/reference/gtk/gtk-sections.txt: Add the new function.
898
899 2008-09-19  Christian Persch  <chpe@gnome.org>
900  
901         Bug 552837 – mem leak in gtkimmulticontext
902  
903         * gtk/gtkimmulticontext.c: (gtk_im_multicontext_get_slave): Plug mem
904         leak.
905  
906 2008-09-18  Emmanuele Bassi  <ebassi@linux.intel.com>
907
908         * gtk/gtkfilechooserdefault.c (settings_save): Save the size column
909         visibility state with the rest of the FileChooser settings.
910
911 2008-09-18  Emmanuele Bassi  <ebassi@linux.intel.com>
912
913         Bug 325095 – show a 'size' column
914
915         * gtk/gtkfilechooserdefault.c:
916         * gtk/gtkfilechooserprivate.h: Add a context menu item controlling
917         the visibility of the file size column. This works only for the
918         browse mode, and the column is not visible by default.
919
920         * gtk/gtkfilechoosersettings.[ch]: Add a ShowSizeColumn key to the
921         settings file.
922
923 2008-09-18  Dominic Lachowicz  <domlachowicz@gmail.com>
924
925         * modules/engines/ms-windows/*: Revert most of previous patch, as
926         it didn't work as expected; Some work toward #531086 - the new
927         GtkTooltip widget doesn't theme properly on win32. Now, at least
928         the background color seems okay
929         
930 2008-09-18  Dominic Lachowicz  <domlachowicz@gmail.com>
931
932         * modules/engines/ms-windows/*: MS Windows style should use
933         pango_win32_font_description_from_logfont; Allows us to rip out a
934         lot of potentially buggy code, and also get the font specification
935         from the XP theme (#434987)
936         
937 2008-09-18  Matthias Clasen  <mclasen@redhat.com>
938
939         * configure.in: updated version number to 2.15.0 for development.
940
941         * ChangeLog.pre-2-14: rotate ChangeLog
942
943 === Branch for 2.14 ===