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