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