]> Pileus Git - ~andy/gtk/blob - ChangeLog
Some documentation fixes. (#314882, Guillaume Cottenceau)
[~andy/gtk] / ChangeLog
1 2005-08-31  Matthias Clasen  <mclasen@redhat.com>
2
3         * gtk/gtktreemodel.c: Some documentation fixes.  (#314882,
4         Guillaume Cottenceau)
5
6         * gtk/gtktextiter.c (gtk_text_iter_backward_visible_cursor_positions): 
7         Fix a typo in the docs.  (#314878, Guillaume Cottenceau)
8
9 2005-08-30  Matthias Clasen  <mclasen@redhat.com>
10
11         * gtk/gtkentry.c (gtk_entry_class_init): Add key bindings to
12         make C-/ select all and C-\ unselect all.  (#309301,
13         Kathy Fernandez)
14
15         * gtk/gtkimcontextsimple.c: Change the compose sequence for
16         soft hyphen to be multi_key-minus-minus-space, and add
17         compose sequences multi_key-minus-minus-period and 
18         multi_key-minus-minus-minus for en dash and em dash.
19         (#172653, Christian Lohmaier)
20
21         * gtk/gtkentry.c (gtk_entry_draw_frame): Fix some unused
22         code.  (#313946, Christian Persch)
23
24         * gtk/gtkuimanager.c (gtk_ui_manager_class_init): Another
25         fix for the default value of the "ui" property.
26
27 2005-08-30  Matthias Clasen  <mclasen@redhat.com>
28
29         * gtk/gtk.symbols: 
30         * gtk/gtkselection.h:
31         * gtk/gtkselection.c: Add functions which look for text, image
32         or uri targets in an array of atoms.   (#314089, Mark Wielaard)
33
34         * gtk/gtk.symbols: 
35         * gtk/gtkselection.h:
36         * gtk/gtkselection.c (gtk_selection_data_targets_include_uri): 
37         Add a function to check wether targets include uri.  
38         (#314092, Mark Wielaard)
39         
40         * gtk/gtk.symbols: 
41         * gtk/gtkwindow.h: 
42         * gtk/gtkwindow.c: Add a deletable property with getter
43         and setter, to control the close button in the window 
44         frame.  (#59718, Havoc Pennington)
45
46 2005-08-29  Matthias Clasen  <mclasen@redhat.com>
47
48         * gtk/gtkrc.key.emacs: Add C-n/C-p/C-f/C-b as alternatives
49         to the arrow keys for menu navigation.  (#162825, Carl Worth)
50
51         * gtk/gtkentry.c, gtk/gtktextview.c: More typo fixes
52
53         * gtk/gtksocket-x11.c, gtk/gtkstatusicon-x11.c: Fix typos.
54
55         * gtk/gtkstatusicon-x11.c (gtk_status_icon_new_from_stock): 
56         * gtk/gtkimage.c (gtk_image_new_from_stock): Don't
57         refer to nonexisting stock ids.
58
59         * gtk/gtktextview.c (popup_targets_received): 
60         * gtk/gtkentry.c (popup_targets_received): Construct
61         the "Select All" menuitem from stock.
62
63         * gtk/stock-icons/stock_select_all_{16,24}.png:
64         * gtk/stock-icons/Makefile.am: 
65         * gtk/gtkiconfactory.c:
66         * gtk/gtkstock.h: 
67         * gtk/gtkstock.c: Add a "Select All" stock item.  (#78545,
68         Calum Benson)
69
70         * gtk/gtktrayicon.c: Add a pointer to the spec.
71
72         * gtk/gtkstatusicon-x11.c: Add docs.
73
74         * gtk/gtkstatusicon.h: Fix a typo.
75
76         Add a cross-platform "tray icon" API, by
77         porting EggStatusIcon/EggTrayIcon (#105101)
78         
79         * gtk/gtkstatusicon.h: A GtkStatusIcon is an object which
80         displays an icon in a notification area.
81
82         * gtk/gtkstatusicon-x11.c: GtkStatusIcon implementation for
83         X11, using GtkTrayIcon.
84
85         * gtk/gtktrayicon.h: 
86         * gtk/gtktrayicon.c: An implementation of the freedesktop.org
87         system tray specification, not public API.
88
89         * gtk/gtk.symbols: Add new exported functions.
90
91         * gtk/gtk.h: Include gtkstatusicon.h.
92
93         * gtk/Makefile.am: Add new files.
94
95         * tests/Makefile.am:
96         * tests/teststatusicon.c: Test for GtkStatusIcon.
97
98 2005-08-29  Christopher Aillon  <caillon@redhat.com>
99
100         * gtk/gtkstock.c: Add builtin GtkStockItems for GTK_STOCK_CONNECT
101         and GTK_STOCK_DISCONNECT
102         
103 2005-08-29  Matthias Clasen  <mclasen@redhat.com>
104
105         * gtk/gtksocket-x11.c (_gtk_socket_windowing_embed_notify): 
106         Use XFixesChangeSaveSet if available.  (#314682)
107
108         * gtk/gtkmenu.c (gtk_menu_grab_notify):  Only cancel if the menu
109         was active.  (#314298, Christian Persch, analysis by Mark McLoughlin)
110
111 2005-08-29  Matthias Clasen  <mclasen@redhat.com>
112
113         * gtk/gtkiconcache.c (_gtk_icon_cache_get_icon): Remove an
114         accidentally leftover duplicate pixbuf creation.  (#314700,
115         Kjartan Maraas)
116
117         * gtk/gtksettings.c (settings_update_cursor_theme): Don't 
118         leak the cursor theme name.  (#314693, Kjartan Maraas)
119
120         * gdk/x11/gdkasync.c (_gdk_x11_get_window_child_info): Free 
121         state.children in all cases.  (#313862, Kjartan Maraas)
122
123 2005-08-28  Matthias Clasen  <mclasen@redhat.com>
124
125         * po/POTFILES.in, po-properties/POTFILES.in:
126         Add gdk/gdkscreen.c
127
128 2005-08-27  Matthias Clasen  <mclasen@redhat.com>
129
130         * gtk/gtkuimanager.c (gtk_ui_manager_class_init): Fix the default
131         value of the ui property. (#314532, Yong Wang)
132
133         * gdk/x11/gdkproperty-x11.c (gdk_property_get): Don't warn
134         when G_MAXLONG is passed as length.  
135
136 2005-08-26  Matthias Clasen  <mclasen@redhat.com>
137
138         * gtk/updateiconcache.c: Add a separate --ignore-theme-index option
139         to avoid overloading --force.  (JP Rosevaar)
140
141 2005-08-26  Matthias Clasen  <mclasen@redhat.com>
142
143         * configure.in: Bump version to 2.9.0
144
145         * gdk/gdk.symbols: 
146         * gdk/gdkscreen.h: 
147         * gdk/gdkscreen.c: Make the GdkScreen font options api
148         public, and add properties GdkScreen::font-options and
149         GdkScreen::resolution.  (#314004)
150
151         * gdk/gdkpango.c:
152         * gtk/gtksettings.c:
153         * gtk/gtkwidget.c: Adjust all callers.
154         
155         * gdk/gdkintl.h: Simplify and use glib/gi18n-lib.h.
156         * gdk/gdkpango.c: Include gdkintl.h, not gtkintl.h.
157         * gdk/gdkscreen.c: Include gdkintl.h.
158
159         * gtk/gtkicontheme.c (theme_lookup_icon): Avoid an uninitialized
160         variable warning, pointed out by Colin Walters. (#314585)
161
162 2005-08-26  Tor Lillqvist  <tml@novell.com>
163
164         * gtk/gtkfilesystemwin32.c: Remove some ifdeffed out debugging
165         printouts.
166         (gtk_file_system_win32_parse): Don't mishandle UNC paths. (#314519)
167
168 2005-08-26  Matthias Clasen  <mclasen@redhat.com>
169
170         * gtk/gtkcalendar.c (gtk_calendar_init): Fix the calculation
171         of week_start.  (#314473, JP Rosevaar)
172
173 2005-08-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
174
175         * gtk/gtkfilesystemmodel.c (idle_finished_loading_cb): Acquire GDK
176         lock.  (#314533, Thomas Fitzsimmons)
177
178 2005-08-25  Matthias Clasen  <mclasen@redhat.com>
179
180         * gtk/gtktoolbar.c (_gtk_toolbar_elide_underscores): Handle
181         NULL gracefully.  (#314523, Ed Catmur)
182
183 2005-08-25  Owen Taylor  <otaylor@redhat.com>
184
185         * gdk/x11/gdkcursor-x11.c (gdk_x11_display_set_cursor_theme): 
186         Handle theme == NULL.
187
188 2005-08-25  Matthias Clasen  <mclasen@redhat.com>
189
190         * gtk/gtkmenutoolbutton.c (menu_position_func): Take widget
191         y offset into account when positioning the popup.  (#314470,
192         Christian Persch)
193
194 2005-08-25  Owen Taylor  <otaylor@redhat.com>
195
196         * gdk/gdkscreen.c (gdk_screen_get_type): Use gdk_screen_init
197         as instance_init, not base_init! (#314452, Fix from Frederic
198         Crozat, reported by Joe Marcus Clarke). Trivial cleanup: use -1.
199         rather than 1 for a negative flag value.
200
201 2005-08-24  Owen Taylor  <otaylor@redhat.com>
202
203         * gdk/gdkpango.c (draw_error_underline): Add a note about
204         cut-and-paste between here and Pango.
205
206 2005-08-24  Matthias Clasen  <mclasen@redhat.com>
207
208         * === Released 2.8.2 ===
209
210         * gtk/gtkclipboard.c (request_image_received_func): Use the correct
211         callback for image/gif, and also try image/bmp.  (#314086,  Mark 
212         Wielaard)
213
214         * gtk/gtkfilesystemunix.c (gtk_file_system_unix_volume_render_icon): 
215         Use gnome-dev-harddisk for volumes, not gnome-fs-blockdev.  (#314382,
216         Sebastien Bacher)
217         
218         * NEWS: Updates
219
220         * gtk/gtksettings.c (gtk_settings_get_for_screen): Make sure font
221         and cursor settings get propagated down to the screen initially.
222         Pointed out by Frederic Crozat.
223
224         * gtk/gtkicontheme.c (ensure_valid_themes): Don't try to send a client
225         message if the screen is NULL. Noticed by Kjartan Maraas.
226
227 2005-08-24  Matthias Clasen  <mclasen@redhat.com>
228
229         * Bump version
230
231         * === Released 2.8.1 ===
232
233         * NEWS: Updates
234         
235 2005-08-24  Matthias Clasen  <mclasen@redhat.com>
236
237         * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_visible): Protect
238         against lazy filterers which return values other than TRUE or
239         FALSE from their visible func.  (#314335)
240
241 2005-08-23  Owen Taylor  <otaylor@redhat.com>
242
243         Fix for #314004, reported by Michael Reinsch:
244
245         * gdk/gdk.symbols:
246         * gdk/gdkscreen.[ch]: Add gdk_screen_get/set_font_options_libgtk_only()
247         Add gdk_screen_get/set_resolution_libgtk_only()
248
249         * gdk/gdkpango.c (gdk_pango_context_get_for_screen): Set
250         the options for the screen on the newly created context.
251
252         * gtk/gtksettings.c (settings_update_font_options/dpi) gtkwidget.c: 
253         Move font options and dpi code from gtkwidget.c to gtksettings.c, set
254         the font options on the screen.
255
256         * gtk/gtkwidget.c (gtk_widget_update_pango_context): Just get
257         the font options from the screen and set them on the context.
258
259 2005-08-23  Kristian Rietveld  <kris@gtk.org>
260
261         * gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_inserted): don't
262         bother inserting new rows in a level with a zero refcount and
263         immediately free the level. (Fixes #312350, reported by Markku Vire).
264
265 2005-08-23  Matthias Clasen  <mclasen@redhat.com>
266
267         * gtk/updateiconcache.c: Complain when there is no index.theme file
268         in the specified directory, unless --force is used. Also add an
269         --index-only option to create caches without image data.
270
271         * gtk/gtkfilechooserdefault.c (shortcuts_append_desktop): Fix a
272         C99ism.  (#314262, Robert Jeff Mitchell)
273         
274 2005-08-22  Manish Singh  <yosh@gimp.org>
275
276         * gtk/gtkicontheme.h: add declaration for _gtk_icon_theme_check_reload.
277
278         * gtk/gtkwindow.c: remove declaration of gtk_window_read_rcfiles.
279
280 2005-08-22  Matthias Clasen  <mclasen@redhat.com>
281
282         * gtk/gtkwindow.c (gtk_window_client_event): 
283         * gtk/gtkicontheme.c (ensure_valid_themes) 
284         (_gtk_icon_theme_check_reload): Implement a clientmessage based
285         scheme for makeing sure that all GTK+ applications notice if an
286         icon theme has been updated. This should prevent multiple versions
287         of an icon theme cache to be mapped in memory at the same time,
288         which can cause excessive memory consumption.  (#313156, Chris 
289         Lahey)
290
291 2005-08-22  Matthias Clasen  <mclasen@redhat.com>
292
293         * gtk/gtkicontheme.c (gtk_icon_theme_load_icon): Add a note
294         regarding icon theme changes.
295
296         * gtk/gtkiconcache.c (_gtk_icon_cache_get_icon): When returning
297         pixbufs which are backed by the mmapped memory of an icon cache,
298         increase the refcount of the icon cache, so that the memory is not
299         munmapped away underneath the pixbuf upon icon theme changes.  
300         (#314170, Kjartan Maraas)
301
302         * docs/tools/Makefile.am (LDADDS): Add GTK_DEP_LIBS, in order 
303         to link against Xext.  (#314062)
304
305         * gtk/gtkhsv.c (paint_triangle): One more fix to prevent buffer
306         overruns.  (#314081, Hans Breuer)
307
308 2005-08-20  Matthias Clasen  <mclasen@redhat.com>
309
310         * gtk/gtkentry.c (gtk_entry_get_layout): Clarify that the
311         returned layout must not be modified.
312
313 Sat Aug 20 16:12:14 2005  Jonathan Blandford  <jrb@redhat.com>
314
315         * gtk/gtktreeview.c (gtk_tree_view_set_model): clear
316         scroll_to_path if the model changes.
317
318         * gtk/gtkiconview.c: (gtk_icon_view_destroy),
319         (gtk_icon_view_size_allocate), (gtk_icon_view_set_cursor),
320         (gtk_icon_view_scroll_to_path): Handle scrolling to a path before
321         we're realized, #312798
322         (gtk_icon_view_set_model): clear scroll_to_path if the model
323         changes.
324
325 2005-08-20  Matthias Clasen  <mclasen@redhat.com>
326
327         * gtk/gtkrange.c (gtk_range_adjustment_changed) 
328         (gtk_range_adjustment_value_changed):  Don't queue a draw
329         if the layout has not changed.  (#313991, Benjamin Berg)
330
331 2005-08-19  Matthias Clasen  <mclasen@redhat.com>
332
333         * gtk/gtktreeitem.c: Remove duplicate lines.  (#313344,
334         Benoit Carpentier)
335
336         * modules/engines/ms-windows/msw_style.c (setup_system_styles): 
337         Fix a typo. 
338
339         * gtk/gtkfilechooserbutton.c (change_icon_theme) 
340         (model_add_special, model_add_special, model_add_volumes):
341         Handle pixbuf being NULL without warnings. Also, don't
342         leak pixbuf references when the icon theme is changed.
343
344         * gtk/gtkmain.c (gtk_get_event_widget): Don't access
345         the user data on destroyed windows, since at best
346         it can be a stale pointer.  (#313953, Robin Green)      
347
348 2005-08-19  Matthias Clasen  <mclasen@redhat.com>
349
350         * gtk/gtkhsv.c (paint_triangle): Avoid a buffer overrun.  
351         (#313900, Sebastien Bacher)
352
353         * gtk/gtktreeview.c (gtk_tree_view_get_visible_range): Return
354         FALSE if the tree is empty.  (#313891, Guillaume Cottenceau)
355
356         * gdk/x11/gdkdnd-x11.c (_gdk_drag_get_protocol_for_display) 
357         (xdnd_read_actions, get_client_window_at_coords_recurse): 
358         Free data returned from XGetWindowProperty. 
359
360         * gdk/x11/gdkevents-x11.c (fetch_net_wm_check_window) 
361         Free data returned from XGetWindowProperty.  (313867, Kjartan
362         Maraas)
363         
364         * gdk/x11/gdkdnd-x11.c (get_client_window_at_coords_recurse): Free
365         children in all cases.  (#313862, Kjartan Maraas)
366
367         * gtk/gtkicontheme.c (theme_lookup_icon): Store GtkIconData structs 
368         in the per-directory hash, even if they come from the icon cache. 
369         We tried to avoid that before, but as a result leaked icon data
370         structs.  (#313852, Kjartan Maraas)
371
372 2005-08-18  Matthias Clasen  <mclasen@redhat.com>
373
374         * gtk/gtkmenutoolbutton.c (gtk_menu_tool_button_destroy): Disconnect
375         signal handlers on destroy, not on finalize.  (#313759, Brett Atoms)
376
377 2005-08-15  Owen Taylor  <otaylor@redhat.com>
378
379         * configure.in: Add -lXext to GDK_EXTRA_LIBS in absence of pkg-config
380         files for x11/xext. (Jonas Bonn)
381
382 2005-08-15  Tor Lillqvist  <tml@novell.com>
383
384         * gtk/gtkicontheme.c (theme_lookup_icon): Put debugging printout
385         inside GTK_NOTE.
386
387 2005-08-15  Owen Taylor  <otaylor@redhat.com>
388
389         * configure.in: Fix have_base_pc / have_base_x_pc typo.
390
391         * gdk/x11/gdkdrawable-x11.c gtk/gtksettings.c: Remove panoxft.h includes.
392         (#313417, James Andrewartha)
393
394         * configure.in: Add fontconfig to X_PACKAGES, since we use it for
395         FcNameConstant(). (More of #313417)
396
397 2005-08-15  Matthias Clasen  <mclasen@redhat.com>
398
399         * gtk/gtkfilechooserdefault.c: When using gtk_dialog_run() for
400         modal dialogs, make sure to inherit the window group from 
401         the parent, since we don't inherit window groups across
402         transient parents currently.  (#312918, Christian Persch)
403
404         * gtk/gtkmessagedialog.c (gtk_message_dialog_new): 
405         * gtk/gtkdialog.c (gtk_dialog_run): Slight update to the docs. 
406
407         * gtk/gtkiconview.c (gtk_icon_view_select_path) 
408         (gtk_icon_view_scroll_to_path): Handle paths of depth 0
409         gracefully.  (#312796, Jonathan Blandford)
410
411         * tests/testtoolbar.c: Add some more tests for menu placement.
412
413         * gtk/gtkmenutoolbutton.c (menu_position_func): 
414         * gtk/gtktoolbar.c (menu_position_func): Improve positioning
415         of toolbutton menus and of the overflow menu.  (#312937, 
416         #153870, Christian Persch, Paolo Borelli)
417
418 2005-08-15  Tor Lillqvist  <tml@novell.com>
419
420         * gtk/updateiconcache.c: Use g_path_get_dirname() instead of
421         the nonportable <libgen.h> and dirname().
422
423 2005-08-15  Matthias Clasen  <mclasen@redhat.com>
424
425         * gtk/gtksizegroup.c: Use object data to mark widgets and
426         groups as visited, so that we avoid constant extra list
427         traversals. Also allocate quarks in class_init.  (#311618,
428         Michael Natterer)
429
430         * gtk/gtkicontheme.c (gtk_icon_theme_lookup_icon): Correct the 
431         download location for the hicolor icon theme. (#313475, Olexiy 
432         Avramchenko)
433
434         * gtk/gtkicontheme.c: Remove debug spew. 
435
436 2005-08-15  Owen Taylor  <otaylor@redhat.com>
437
438         * gdk/linux-fb/gdkwindow-fb.c (gdk_window_set_back_pixmap): 
439         * gdk/win32/gdkwindow-win32.c (gdk_window_set_back_pixmap): 
440         * gdk/x11/gdkwindow-x11.c (gdk_window_set_back_pixmap):
441         Handle pixmap == NULL when checking for a colormap.
442         (Allin Cottrell).
443
444 2005-08-14  Matthias Clasen  <mclasen@redhat.com>
445
446         * gtk/updateiconcache.c: Store only one copy of the pixel data
447         for symlinked icons. To achieve this, maintain a hashtable 
448         mapping pathnames to pixel data, and share the pixel data for
449         all symlinks resolving to the same pathname. When writing out
450         the image data, write out the pixel data only the first time
451         it is met, and store the offset pointing to the first copy
452         for use in all later cases.
453         This reduces the size of the Bluecurve icon cache from 40
454         to 13MB. (#312972)
455