1 Wed Sep 20 16:59:38 2006 Tim Janik <timj@imendio.com>
3 * gtk/gtkviewport.c: always update the bin_window position and size
4 in size_allocate, even if we don't have a visible child. this fixes
5 expose artefacts as described in #313508.
7 * gtk/gtkscrolledwindow.c: make hiding of automatic scrollbars when we
8 have no visible child explicit.
10 2006-09-19 Ryan Lortie <desrt@desrt.ca>
12 * docs/reference/gdk/gdk-sections.txt:
15 * gdk/gdkpango.c: Bug 355343. Add a GdkPangoAttrEmbossColor.
16 (gdk_pango_layout_get_clip_region): Remove an unused variable.
17 (gdk_pango_attr_embossed_new): Fix documentation.
19 Tue Sep 19 17:00:04 2006 Tim Janik <timj@imendio.com>
21 * gtk/gtkarrow.c: added GtkArrow::arrow-scaling style property to
22 control the arrow/border ratio within the allocation.
24 * tests/testgtk.c: added a GtkArrow to handle box test.
26 * tests/testgtkrc: test ::arrow-scaling property.
28 2006-09-19 Matthias Clasen <mclasen@redhat.com>
30 * gtk/gtkfilechooserdefault.c (update_current_folder_get_info_cb):
31 Display an error when we come to the root.
33 2006-09-16 Matthias Clasen <mclasen@redhat.com>
35 * gtk/gtkfilechooserbutton.c: Use bookmark labels in
38 * gtk/gtkfilechooserbutton.c: Don't add remote volumes and
39 bookmarks to the model in local-only mode, to avoid
40 authentication dialogs pop up for invisible bookmarks, and
41 to fix issues with separators not being hidden when
42 they should. (#354887, Dennis Cranston)
44 2006-09-16 Matthias Clasen <mclasen@redhat.com>
46 * gtk/gtkcombobox.c (gtk_combo_box_finalize): Unref the
47 treeview use in list mode. (#355732, Richard Hult)
49 * gtk/gtktreeview.c (gtk_tree_view_set_grid_lines): Send
50 change notification for the right property. (#355308,
53 2006-09-15 Michael Natterer <mitch@imendio.com>
55 * gtk/gtktreeview.c (gtk_tree_view_key_press): refactored column
56 header navigation/resizing/reordering to be more readable and lose
59 2006-09-15 Kristian Rietveld <kris@imendio.com>
61 * gtk/gtktreeview.c (gtk_tree_view_key_press): actually directly
62 return after handling column button focus; we disable wrap around
63 with this (which actually happened via a really weird code path).
66 2006-09-15 Kristian Rietveld <kris@imendio.com>
68 * gtk/gtktreeview.c (gtk_tree_view_key_press): make column resizing
69 code RTL aware, also break from the loops after we have seen the
70 focussed column button (Michael Natterer).
72 Thu Sep 14 12:28:51 2006 Tim Janik <timj@imendio.com>
74 * tests/testrichtext.c (main): intialize random number generator state
75 upon program start, to enable truely random testing.
77 2006-09-13 Michael Emmel <mike.emmel@gmail.com>
79 * gdk/directfb/gdkcolor-directfb.c small clean ups include order
80 * gdk/directfb/gdkwindow-directfb.c fixed beep compile error
81 * gdk/directfb/Makefile.am removed GDK_PIXBUF_DISABLE_DEPRECATED
82 GDK_DISABLE_DEPRECATED to allow compile per Behdad
83 * gdk/quartz/Makefile.am same change as directfb Makefile
84 * gtk/Makefile.am fixed typo that cause socket stubs not to compile
86 2006-09-13 Matthias Clasen <mclasen@redhat.com>
88 * gtk/gtkcolorsel.c: Use a GtkWindow instead of a GtkInvisible
89 for the grab widget, to make the color picker work with window
92 2006-09-12 Hong Jen Yee <pcman.tw@gmail.com>
94 signed off by: Dom Lachowicz
96 * modules/engines/ms-windows/msw_style.c: Bug 340201. This contains
97 a large number of improvements to the Microsoft Windows theme engine
98 which are fully described in the bug report.
100 Mon Sep 11 14:22:39 2006 Tim Janik <timj@imendio.com>
102 * tests/testgtk.c: fixed compiler warnings.
104 2006-09-10 Matthias Clasen <mclasen@redhat.com>
106 * gtk/gtkfilechooserbutton.c (model_add_special): Request
107 the display name too, otherwise "Desktop" does not appear
108 in the file chooser button.
110 2006-09-10 Tor Lillqvist <tml@novell.com>
112 * gdk/win32/gdkprivate-win32.h
113 * gdk/win32/gdkmain-win32.c
114 * gdk/win32/gdkwindow-win32.c: Define WINVER and _WIN32_WINNT as
115 0x0500 in gdkprivate-win32.h instead of doing it in two source
116 files. (#355212, Mike Edenfield)
118 * gdk/win32/gdkwindow-win32.c: We can also remove the ersatz
119 GetAncestor() for the _MSC_VER && WINVER < 0x0500 case, I hope.
121 2006-09-10 Matthias Clasen <mclasen@redhat.com>
123 * Commit a patch by Behdad to fix typos, omissions and other
124 errors in the symbol aliasing, and add checks for local PLT
125 entries. (#354687, Behdad Esfahbod)
127 * gtk/gtktreeview.c (gtk_tree_view_search_scroll_event): Renew
128 the flush timeout. (#354043, Nelson Benitez)
130 * gtk/gtkfilechoosersettings.c (set_unexpected_element_end_error):
131 Improve wording. String change! (#355126, David Lodge)
133 * gtk/updateiconcache.c: Improve wording. String change! (#355128,
136 * gtk/paper_names_offsets.c: Fix a typo. String change! (#355134,
139 2006-09-09 Matthias Clasen <mclasen@redhat.com>
141 * gdk/x11/gdkfonts-x11.c: Fix small theoretical memory leaks.
142 (#353916, Chris Wilson)
144 * gtk/gtksettings.c (_gtk_settings_reset_rc_values):
145 Don't leak the to_reset list. (#353914, Chris Wilson)
147 * gtk/gtkwidget.c: Add docs for the parent-set signal.
148 (#353772, Mariano Suárez-Alvarez)
150 2006-09-08 Matthias Clasen <mclasen@redhat.com>
152 * gtk/gtktextbuffer.c (remove_all_selection_clipboards):
153 Don't clear clipboards here, since we are called from finalize
154 and can't emit signals.
156 * configure.in: Set version to 2.11.0
158 2006-09-06 Richard Hult <richard@imendio.com>
160 * gdk/quartz/gdkkeys-quartz.c: (maybe_update_keymap): Special-case
161 shift-tab and map it to GDK_ISO_Left_Tab, fixes bug #350806.
163 2006-09-04 Kristian Rietveld <kris@imendio.com>
165 * gtk/gtkfilechooserdefault.c (update_current_folder_get_info_cb):
166 if setting the given folder failed, try setting the parent folder
167 until we succeed; display an error box at the end.
169 2006-09-04 Kristian Rietveld <kris@imendio.com>
171 * gtk/gtkpathbar.c (gtk_path_bar_dispose): don't cancel the
172 operations spawned by buttons here,
173 (set_button_image_get_info_cb): bail out if button is NULL, but
175 (button_data_free): only free the data if non NULL (since this
176 function can be called multiple times for the same data), cancel
177 handle if pending but don't free button_data in this case (will
178 happen in the callback).
180 2006-09-04 Michael Natterer <mitch@imendio.com>
182 * gtk/gtkrc.c (rc_parse_token_or_compound)
183 (gtk_rc_parse_assignment): serialize floating point values using
184 locale-independent functions. (#346751, Frederic Crozat)
186 2006-09-04 Tor Lillqvist <tml@novell.com>
188 * gdk/win32/gdkevents-win32.c
189 * gdk/win32/gdkwindow-win32.c: Use wide-char API for message and
190 window handling (PeekMessage, PostMessage, SendMessage,
191 DispatchMessage, DefWindowProc, RegisterClassEx,
192 CreateWindowEx). (#321597)
194 2006-09-03 Kristian Rietveld <kris@imendio.com>
196 * gtk/gtkfilechooserdefault.c (save_entry_get_info_cb),
197 (file_exists_get_info_cb), (gtk_file_chooser_default_should_respond):
198 change file_exists_and_is_not_folder checks to get the file info
199 for the path directly instead of querying the current file folder
202 * gtk/gtkfilechooserprivate.h (struct _GtkFileChooserDefault): add
205 * tests/autotestfilechooser.c (wait_for_idle_idle), (wait_for_idle),
206 (test_reload_sequence), (test_button_folder_states_for_action): wait
207 for idle after setting a folder to ensure the async operations to load
208 the folder are finished,
209 (test_confirm_overwrite), (test_confirm_overwrite_for_path):
210 factor out test_confirm_overwrite code so we can add tests for more
213 2006-09-03 Richard Hult <richard@imendio.com>
215 * gdk/quartz/GdkQuartzView.c (drawRect): Don't do anything if
216 exposure isn't in the event mask, plug a leak, and check that the
217 window isn't destroyed.
218 (isOpaque): Check that the window isn't destroyed, fixes bug
221 2006-09-03 Matthias Clasen <mclasen@redhat.com>
223 * gtk/gtkwidget.c (gtk_widget_class_init): Fix a typo.
224 (#354035, Mariano Suárez-Alvarez)
226 * gtk/gtkmain.c (post_parse_hook):
227 * gdk/gdk.c (gdk_init): Handle display_name being NULL.
228 (#354004, Chris Wilson)
230 2006-09-03 Tor Lillqvist <tml@novell.com>
232 * gdk/win32/gdkwindow-win32.c (gdk_window_beep): No
233 GDK_WINDOW_DISPLAY in the Win32 backend.
235 * gtk/gtkfilesystemwin32.c: Copy what Kris did to
238 2006-09-02 Kristian Rietveld <kris@imendio.com>
240 First part of file chooser fixes.
242 * gtk/gtkfilechooserbutton.c (model_add_special): also set the
243 handle in the model for the desktopdir case.
245 * gtk/gtkfilechooserdefault.c (shortcuts_add_current_folder): free
246 volume in case we retrieved it but don't pass it on to insert_path,
247 (shortcuts_model_create): change the column type for the handles
248 to pointer instead of GObject so our handle ref counting is not
250 (show_and_select_paths_finished_loading): don't forget to unref
253 * gtk/gtkfilesystemunix.c (gtk_file_system_unix_class_init),
254 (gtk_file_system_unix_init), (gtk_file_system_unix_dispose):
255 remove pending execute_callbacks_idle during dispose, also
256 execute all callbacks waiting to be run in the next idle,
257 (queue_*callback), (execute_callbacks_idle): refactor to maintain
258 a list of callbacks to call per file system instead of globally,
259 guard the file system during callback invocation,
260 (gtk_file_system_unix_get_folder): only add load folder idle if
261 none has been added yet.
263 2006-09-01 Matthias Clasen <mclasen@redhat.com>
265 * gtk/gtkentry.c: Don't unnecessarily reset the im context
266 when deleting the selection. (#353803, Alex Larsson)
268 2006-09-01 Abel Cheung <abel@oaka.org>
270 * configure.in: Added 'ang' 'dz' to ALL_LINGUAS.
272 2006-08-31 Matthias Clasen <mclasen@redhat.com>
274 Stop cursor blinking after a configurable timeout.
275 (#353670, #352442, Arjan van de Ven, Manu Cornet)
277 * gtk/gtksettings.c (gtk_settings_class_init): Add a
278 gtk-cursor-blink-timeout setting, which specifies the number
279 of seconds that the cursor should blink after a user interaction.
280 The default value is G_MAXINT to preserve the current behaviour.
282 * gtk/gtkentry.c (blink_cb): Stop blinking after blink-timeout
285 * gtk/gtkentry.c (gtk_entry_completion_key_press)
286 (gtk_entry_button_press, gtk_entry_focus_in): Reset the
289 * gtk/gtktextview.c (blink_cb): Stop blinking after blink-timeout
292 * gtk/gtktextview.c (gtk_text_view_key_press_event)
293 (gtk_text_view_button_press_event, gtk_text_view_focus_in_event):
294 Reset the blink timer.
296 2006-08-31 Matthias Clasen <mclasen@redhat.com>
298 * gtk/gtkprintoperation-unix.c (get_print_dialog): Don't specify
299 explicit format capabilities. (#346505, Christian Persch)
301 * modules/printbackends/cups/gtkprintbackendcups.c (cups_request_printer_list_cb): Send printer-list-done on error.
303 2006-08-31 Michael Natterer <mitch@imendio.com>
305 * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Fix build.
307 2006-08-30 Richard Hult <richard@imendio.com>
309 * gdk/quartz/gdkwindow-quartz.c (gdk_window_beep): Fix build.
311 2006-08-30 Matthias Clasen <mclasen@redhat.com>
313 * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Only use XKB
314 for beeping if we are using XKB.
316 2006-08-29 Matthias Clasen <mclasen@redhat.com>
320 * gdk/directfb/gdkwindow-directfb.c (gdk_window_beep):
321 * gdk/win32/gdkwindow-win32.c (gdk_window_beep):
322 * gdk/quartz/gdkwindow-quartz.c (gdk_window_beep):
323 * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Add a function
324 to beep on a window. For X11, implement this with
325 XkbBell. (#353455, Mariano Suárez-Alvarez)
327 2006-08-29 Tor Lillqvist <tml@novell.com>
329 Remove support for Windows 9x/ME. GTK+ hasn't worked on Win9x
330 since 2.6 or 2.8. It's pointless to keep the Win9x code in here as
331 it isn't being maintained anyway. If somebody is interested, it
332 can always be found in older GTK+ versions, and in CVS.
337 * gdk/win32/Makefile.am
338 * gdk/win32/libie55uid.la
339 * gdk/win32/gdkevents-win32.c: Remove the --with-ie55 configure
340 switch and associated stuff. Active IMM and the <dimm.h> header
341 was used for IM support on NT4 and Win9x. Win2k and later have IM
344 * gdk/win32/gdkcursor-win32.c
345 * gdk/win32/gdkdnd-win32.c
346 * gdk/win32/gdkdrawable-win32.c
347 * gdk/win32/gdkevents-win32.c
348 * gdk/win32/gdkgc-win32.c
349 * gdk/win32/gdkglobals-win32.c
350 * gdk/win32/gdkkeys-win32.c
351 * gdk/win32/gdkmain-win32.c
352 * gdk/win32/gdkproperty-win32.c
353 * gdk/win32/gdkselection-win32.c
354 * gdk/win32/gdkwindow-win32.c: Remove the G_WIN32_IS_NT_BASED()
355 and G_WIN32_HAVE_WIDECHAR_API() tests and their false (Win9x)
356 branches, and any variables or static functions used only by the
359 * gdk/win32/gdkprivate-win32.h: Remove backup definitions for
360 constants that aren't missing from current mingw and MSVC6
363 * gdk/win32/gdkmain-win32.c
364 * gdk/win32/gdkprivate-win32.h: Remove the _gdk_win32_gdi_failed()
365 function. On NT-based Windows GetLastError() returns error codes
366 also for failed GDI calls, so we can use _gdk_win32_api_failed()
369 2006-08-29 Emmanuele Bassi <ebassi@gnome.org>
371 * gtk/gtkrecentchoosermenu.c
372 (gtk_recent_chooser_menu_set_current_uri): Break when an item
373 is found and activated. (#353449, based on a patch by Jan Arne
376 Fri Jul 14 16:13:37 2006 Tim Janik <timj@gtk.org>
378 * gtk/gtkprogressbar.c: introduced ::xspacing and ::yspacing style
379 properties which make all hardcoded padding and spacing values
380 configurable. properly swap ::text-xalign treatment for RTL widgets.
382 * gtk/gtkprogress.c: fixed style property blurbs. made alignment
383 proeprty more consistent with GtkMisc alignment blurbs. mention
384 RTL treatment for text-xalign.
386 Tue Aug 29 11:57:40 2006 Tim Janik <timj@imendio.com>
388 * tests/testgtk.c: allow (most) windows to be resizable.
389 added ellipsization settings to progress bars.
391 2006-08-28 Matthias Clasen <mclasen@redhat.com>
393 * modules/printbackend/cups/gtkprintbackendcups.c: Use a
394 resonable timeout of 3 seconds when polling for printer
395 list updates, instead of 300000 seconds...
397 2006-08-28 Michael Natterer <mitch@imendio.com>
399 * gtk/gtktextbufferserialize.c (serialize_text): don't write out
400 </apply_tag> for tags that have already been closed by the logic
401 which turns overlapping spans into XML-able trees. Fixes broken
402 XML when there are overlapping tags in the buffer. Also free two
403 leaked GLists and did some cleanup.
406 * tests/testrichtext.c: new test which creates randomly tagged
407 GtkTextBuffers and serializes/deserializes them.
409 2006-08-26 Matthias Clasen <mclasen@redhat.com>
411 * gtk/gtkstatusicon.c (gtk_status_icon_reset_image_data):
412 Don't leak pixbufs. (#352264, Ross Burton)
414 * gtk/gtklinkbutton.c (set_link_underline): Don't leak
415 PangoAttributes. (#352391, Paolo Borelli)
417 2006-08-25 Matthias Clasen <mclasen@redhat.com>
419 * demos/gtk-demo/Makefile.am:
420 * demos/gtk-demo/textscroll.c: Add an example of automatic
421 scrolling, thanks to Yevgen Muntyan. (#351206)
423 * gtk/gtkmodules.c (find_module): Use local binding when
424 loading modules. (#351868)
426 2006-08-24 Michael Natterer <mitch@imendio.com>
428 * gdk/quartz/gdkdisplay-quartz.c (gdk_display_get_name): return
429 the hostname instead of NULL.
431 2006-08-23 Matthias Clasen <mclasen@redhat.com>
433 * gtk/gtkprinteroptionwidget.[hc]: Fix confusion about
434 names and values in comboboxes, and clean up some
437 2006-08-23 Tor Lillqvist <tml@novell.com>
439 * gtk/gtkfilesystemwin32.c (gtk_file_system_win32_make_path):
440 Revert unintended translatable string addition. Use same string
441 in GError as in gtkfilesystemunix.c.
443 * gtk/gtkfilesystemwin32.c (_gtk_file_system_win32_path_compare):
444 Fix logic at the end of strings.
446 * gtk/gtkfilesystemwin32.c: Maintain a hash table of live
447 handles and check that we have no outstanding handles at
448 finalization time. (Copying what Matthias did for
451 2006-08-23 Matthias Clasen <mclasen@redhat.com>
453 * gtk/gtkfilesystemunix.c: Maintain a hash table
454 of live handles and check that we have no outstanding
455 handles at finalization time. (Copying what
456 Federico did for gtkfilesystemgnomevfs.c)
458 2007-08-22 Matthias Clasen <mclasen@redhat.com>