]> Pileus Git - ~andy/gtk/blob - ChangeLog
fed82d91f88728deaa0819825150fe58f75f4f74
[~andy/gtk] / ChangeLog
1 2008-09-30  Michael Natterer  <mitch@imendio.com>
2
3         * gtk/gtk.symbols: forgot the G_GNUC_CONST of
4         gtk_orientable_get_type().
5
6 2008-09-30  Michael Natterer  <mitch@imendio.com>
7
8         Bug 541009 – Get rid of separate subclasses for horizontal and
9         vertical orientation:
10
11         * gtk/Makefile.am
12         * gtk/gtk.symbols
13         * gtk/gtk.h
14         * gtk/gtkorientable.[ch]: add new interface GtkOrientable which
15         will be implemented by everything that can switch orientation.
16
17 2008-09-30  Christian Dywan  <christian@imendio.com>
18
19         Fix a typo in the tutorial.
20
21         * docs/tutorial/gtk-tut.sgml: It's mnemonic, not 'mnemnonic'.
22
23 2008-09-29  Matthias Clasen  <mclasen@redhat.com>
24
25         Bug 553086 – hard to see current immodule
26
27         * gtk/gtkimmulticontext.c (gtk_im_multicontext_append_menuitems):
28         Display the actually selected context in the system menuitem.
29         Complaint by Akira Tagoh.
30
31 2008-09-29  Matthias Clasen  <mclasen@redhat.com>
32
33         Bug 530568 – Entries with visibility=FALSE should warn for caps-lock
34         on
35
36         * gtk/gtkentry.c: Add a tooltip-like Caps Lock warning for
37         password entries. The warning is also triggered if an input method
38         is active. The warning can be turned off using the
39         GtkEntry::caps-lock-warning property. 
40         Proposed by Owen Taylor
41
42 2008-09-29  Matthias Clasen  <mclasen@redhat.com>
43
44         * gtk/gtk.symbols:
45         * gtk/gtkimmulticontext.[hc] (gtk_im_multicontext_get_context_id): 
46         Add a getter for the the sealed context_id field.
47
48 2008-09-29  Matthias Clasen  <mclasen@redhat.com>
49
50         Bug 107000 – Add signals to GdkKeymap for monitoring caps_lock, etc.
51
52         * gdk/gdk.symbols:
53         * gdk/gdkkeys.[ch]: Add a new GdkKeymap::state-changed signal, and
54         a gdk_keymap_get_caps_lock_state function.
55
56         * gdk/x11/gdkkeys-x11.c: Implement it here. For now, only emit
57         state-changed when caps lock lockedness changes. 
58
59         * gdk/x11/gdkdisplay-x11.c: Also select for modifier lock status
60         changes in the XkbSelectEventDetails call.
61
62 2008-09-29  Kristian Rietveld  <kris@imendio.com>
63
64         Bug 487624 - Tooltips doesn't get updated if ther's no mouse motion
65         over widget
66
67         * gtk/gtkwidget.c (gtk_widget_set_property): after updating
68         tooltip text or markup, call gtk_widget_trigger_tooltip_query()
69         so that existing visible tooltips are updated.
70
71 2008-09-29  Matthias Clasen  <mclasen@redhat.com>
72
73         Bug 371908 – Password Entry broken
74         Bug 317002 – Disable input method completely in GtkEntry when it's 
75         in invisible mode.
76
77         * gtk/gtkentry.c (gtk_entry_backspace): Make backspace behave
78         properly when invisible.
79
80         * gtk/gtkentry.c (gtk_entry_create_layout): Show preedit even if
81         invisible. 
82
83         * gtk/gtkentry.c (gtk_entry_set_visibility): Don't disable input
84         methods when making the entry invisible.
85         
86 2008-09-29  Emmanuele Bassi  <ebassi@linux.intel.com>
87
88         * gdk/x11/gdkinput.c:
89         (gdk_device_class_init), (gdk_device_finalize): Correctly chain
90         up the finalize implementation.
91
92 2008-09-29  Richard Hult  <richard@imendio.com>
93
94         Bug 554141 – uninitialized data use/free in gtkclipboard-quartz.c
95
96         * gtk/gtkclipboard-quartz.c: (gtk_clipboard_wait_for_contents):
97         Patch from Jon A. Cruz to initialize the allocated selection data.
98
99 2008-09-27  Matthias Clasen  <mclasen@redhat.com>
100
101         Bug 339367 – Incorrect spotlocation
102
103         * modules/input/gtkimcontextxim.c: Correct the spot location
104         for on-the-spot style.
105
106 2008-09-27  Denis Washington  <denisw@svn.gnome.org>
107
108         * gtk/gtkiconview.c: only draw keyboard focus when keyboard navigation
109         is used, like GtkTreeView. (Bug #553575)
110
111 2008-09-26  Matthias Clasen  <mclasen@redhat.com>
112
113         Bug 552959 – GtkTrayIcon: _NET_SYSTEM_TRAY_VISUAL and real
114         transparency
115
116         * gtk/gtktrayicon-x11.c: Add support for the _BET_SYSTEM_TRAY_VISUAL
117         property described in
118         http://lists.freedesktop.org/archives/xdg/2008-September/009919.html
119         If _NET_SYSTEM_TRAY_VISUAL is a visual with an alpha channel, the 
120         parent-relative-background hack is skipped and we draw with a real
121         transparent background.
122
123         * gtk/gtkrc.c: Remove the default GtkTrayIcon style, since the
124         parent-relative background is now set when realizing the tray
125         icon.
126
127         Patch by Owen Taylor
128
129 2008-09-26  Matthias Clasen  <mclasen@redhat.com>
130
131         Bug 552956 – Should check composite extension version
132
133         * gdk/x11/gdkdisplay-x11.c: Check that the version of the
134         composite extension is at least 0.4.
135         Patch by Owen Taylor
136
137 2008-09-26  Matthias Clasen  <mclasen@redhat.com>
138         
139         Bug 553803 – eventually call XCloseDevice on XOpenDevice results
140
141         * gdk/x11/gdkinput.c: Add a finalize function for device objects,
142         and call XCloseDevice there. 
143
144         * gdk/x11/gdkinput-x11.c:
145         * gdk/x11/gdkdisplay-x11.c: Move freeing of device objects to
146         the finalize function.
147         Patch by Caolan McNamara
148         
149 2008-09-26  Matthias Clasen  <mclasen@redhat.com>
150
151         Bug 553578 - tabs are not drawn correctly
152
153         * gtk/gtknotebook.c: Track the visibility state of notebook tabs 
154         between allocations so that we know to redraw the tab labels if 
155         tabs are hidden and shown without changing position. 
156         Reported by Marek Kašík, patch by Owen Taylor.
157
158 2008-09-26  Matthias Clasen  <mclasen@redhat.com>
159
160         Bug 553133 – GtkFileChooser won't ask to mount a volume
161         Bug 553211 – GtkFileChooserButton unsets filter after first use
162
163         * gtk/gtkfilechooserdefault.c (shortcuts_activate_volume): Use
164         a GtkMountOperation when mounting, so that we get a password
165         dialog when required.  
166
167         * gtk/gtkfilechooserdefault.c (show_and_select_files): Also
168         get the content-type, since it is used later on. 
169         Pointed out by Davyd Madeley.
170
171 2008-09-26  Cody Russell  <bratsche@gnome.org>
172
173         Bug 553917 – Typo in gdkwindow-win32.c
174
175         * gdk/win32/gdkwindow-win32.c: Fixed a typo in
176         update_system_menu().  Changed GDK_DECOR_ALL to GDK_FUNC_ALL.
177
178         Reported by Richard Hult
179
180 2008-09-25  Marek Kasik  <mkasik@redhat.com>
181
182         Bug 553241 – double freed pointer in lpr_write cause firefox3 crash
183
184         * modules/printbackends/lpr/gtkprintbackendlpr.c:
185         The redundant freeing of memory was removed.
186
187         Patch by Chris Wang
188
189 2008-09-25  Michael Natterer  <mitch@imendio.com>
190
191         * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_finalize):
192         don't unref the file system backend, the newly added
193         unset_file_system_backend() already does this (bug #553135).
194
195 2008-09-24  Michael Natterer  <mitch@imendio.com>
196
197         * gtk/gtkeventbox.c: events return gboolean not gint, reindented
198         static prototypes.
199
200 2008-09-24  Johan Dahlin  <johan@gnome.org>
201
202         Bug 553385 – gtk-builder-convert creates untranslated combobox models
203
204         * gtk/gtk-builder-convert: Set the translatable property on
205         col tags for converted combos.
206
207 2008-09-24  Tor Lillqvist  <tml@novell.com>
208
209         * gtk-zip.sh.in: Include all of share/man, lib/pkgconfig,
210         share/aclocal and share/gtk-doc instead of trying to list
211         individual files or subdirectories. We had missed gail.pc, for
212         instance.
213
214 2008-09-24  Christian Dywan  <christian@imendio.com>
215
216         Bug 538782 – Make GtkMenu's arrow size themable
217
218         * gtk/gtkmenu.c (gtk_menu_class_init), (gtk_menu_paint):
219         Implement "arrow-scaling" style property in GtkMenu.
220
221 2008-09-24  Christian Dywan  <christian@imendio.com>
222
223         Bug 408244 – add GtkDialog::content-area-spacing
224
225         * gtk/gtkbox.c (gtk_box_init), (gtk_box_set_spacing),
226         (_gtk_box_set_spacing_set), (_gtk_box_get_spacing_set):
227         * gtk/gtkbox.h:
228         * gtk/gtkdialog.c (gtk_dialog_class_init), (update_spacings):
229         Implement "content-area-spacing" style property in GtkDialog
230         and internal helper _gtk_box_get_spacing_set in GtkBox.
231         Patch by Tim Janik, Sven Herzberg and myself.
232
233 2008-09-24  Christian Dywan  <christian@imendio.com>
234
235         Bug 541391 – Unfocussable Treeview swallows focus
236
237         * gtk/gtktreeview.c (grab_focus_and_unset_draw_keyfocus),
238         (gtk_tree_view_focus): Honor GTK_WIDGET_CAN_FOCUS properly
239
240 2008-09-24  Denis Washington  <denisw@svn.gnome.org>
241
242         * gtk/gtkiconview.c: draw focus as a rectangle around the
243         complete item, not just the text. (Bug #38254)
244
245 2008-09-23  Michael Natterer  <mitch@imendio.com>
246
247         * gtk/gtkobject.c
248         * gtk/gtksignal.[ch]: s/GtkType/GType/ and
249         s/GtkSignalMarshaller/GSignalCMarshaller/.
250
251 2008-09-23  Michael Natterer  <mitch@imendio.com>
252
253         * gdk/x11/gdkevents-x11.c (gdk_event_translate): remove unused
254         variable and fix indentation.
255
256 2008-09-23  Michael Natterer  <mitch@imendio.com>
257
258         * gtk/gtkclist.h
259         * gtk/gtkctree.h
260         * gtk/gtklist.h
261         * gtk/gtklistitem.h
262         * gtk/gtkobject.h
263         * gtk/gtkoldeditable.h
264         * gtk/gtkpixmap.h
265         * gtk/gtkpreview.h
266         * gtk/gtktext.h
267         * gtk/gtktipsquery.h
268         * gtk/gtktree.h
269         * gtk/gtktreeitem.h: get rid of GtkType and GTK_CHECK_FOO() also
270         in all deprecated headers.
271
272 2008-09-22  Matthias Clasen  <mclasen@redhat.com>
273
274         Bug 553135 – eog crash: assertion failed. Gtk error:
275         shortcuts_remove_rows: code should not be reached
276
277         * gtk/gtkfilechooserdefault.c: Disconnect from GtkFileSystem 
278         signals when we are destroyed, in order to avoid nasty surprises.
279         Patch by Claudio Saavedra
280
281 2008-09-22  Emmanuele Bassi  <ebassi@linux.intel.com>
282
283         Bug 552789 – Show size column in the search and recently used
284         files modes
285
286         * gtk/gtkfilechooserdefault.c: Display the file size column
287         when in OPERATION_MODE_SEARCH. This removes a stat() call
288         and simplifies the code a little bit by changing the query
289         for file informations for each search engine hit.
290
291 2008-09-22  Michael Natterer  <mitch@imendio.com>
292
293         * gtk/gtksignal.[ch]
294         * gtk/gtkclist.c
295         * gtk/gtklist.c
296         * gtk/gtkmain.c
297         * gtk/gtktext.c
298         * gtk/gtktreeitem.c: use G_CALLBACK and GCallback instead of
299         GTK_SIGNAL_FUNC and GtkSignalFunc also in deprecated code.
300
301 2008-09-22  Frederic Crozat  <fcrozat@mandriva.com>
302
303         * gtk/gtkfilesystem.c: use the correct gi18n header.
304         Fixes bug #553000.
305
306 2008-09-22  Michael Natterer  <mitch@imendio.com>
307
308         * gtk/gtktoolbar.[ch]: add "Deprecated: 2.4" to all the deprecated
309         append(), prepend() and insert() functions and recommend to use
310         gtk_toolbar_insert() instead. Use GCallback instead of
311         GtkSignalFunc even in deprecated API.
312
313 2008-09-20  Matthias Clasen  <mclasen@redhat.com>
314
315         * gtk/gtkfilechooserbutton.c (filter_model_visible_func): Don't
316         leak a GFile.
317
318 2008-09-19  Owen Taylor  <otaylor@redhat.com>
319
320         Small cleanups to debug messages for GtkPlug/GtkSocket
321
322         * gtk/gtksocket-x11.c: Fix debug message to say "Socket" not "Plug"
323         * gtk/gtkplug-x11.c: Remove excess newlines from the ends of debug
324         messages.
325
326 2008-09-19  Carlos Garnacho  <carlos@imendio.com>
327
328         Bug 83935 – GtkEntry's default invisible char should be U+25CF
329
330         * gtk/gtkentry.c (find_invisible_char) (gtk_entry_init): Find a
331         more suitable invisible char than '*' based on the used font.
332         (gtk_entry_class_init) (gtk_entry_set_property)
333         (gtk_entry_get_property): Add a "invisible-char-set" property.
334         (gtk_entry_unset_invisible_char): New function, needed now that the
335         default invisible char isn't fixed.
336         * gtk/gtkentry.h:
337         * gtk/gtk.symbols:
338         * docs/reference/gtk/gtk-sections.txt: Add the new function.
339
340 2008-09-19  Christian Persch  <chpe@gnome.org>
341  
342         Bug 552837 – mem leak in gtkimmulticontext
343  
344         * gtk/gtkimmulticontext.c: (gtk_im_multicontext_get_slave): Plug mem
345         leak.
346  
347 2008-09-18  Emmanuele Bassi  <ebassi@linux.intel.com>
348
349         * gtk/gtkfilechooserdefault.c (settings_save): Save the size column
350         visibility state with the rest of the FileChooser settings.
351
352 2008-09-18  Emmanuele Bassi  <ebassi@linux.intel.com>
353
354         Bug 325095 – show a 'size' column
355
356         * gtk/gtkfilechooserdefault.c:
357         * gtk/gtkfilechooserprivate.h: Add a context menu item controlling
358         the visibility of the file size column. This works only for the
359         browse mode, and the column is not visible by default.
360
361         * gtk/gtkfilechoosersettings.[ch]: Add a ShowSizeColumn key to the
362         settings file.
363
364 2008-09-18  Dominic Lachowicz  <domlachowicz@gmail.com>
365
366         * modules/engines/ms-windows/*: Revert most of previous patch, as
367         it didn't work as expected; Some work toward #531086 - the new
368         GtkTooltip widget doesn't theme properly on win32. Now, at least
369         the background color seems okay
370         
371 2008-09-18  Dominic Lachowicz  <domlachowicz@gmail.com>
372
373         * modules/engines/ms-windows/*: MS Windows style should use
374         pango_win32_font_description_from_logfont; Allows us to rip out a
375         lot of potentially buggy code, and also get the font specification
376         from the XP theme (#434987)
377         
378 2008-09-18  Matthias Clasen  <mclasen@redhat.com>
379
380         * configure.in: updated version number to 2.15.0 for development.
381
382         * ChangeLog.pre-2-14: rotate ChangeLog
383
384 === Branch for 2.14 ===