1 2006-09-03 Kristian Rietveld <kris@imendio.com>
3 * gtk/gtkfilechooserdefault.c (save_entry_get_info_cb),
4 (file_exists_get_info_cb), (gtk_file_chooser_default_should_respond):
5 change file_exists_and_is_not_folder checks to get the file info
6 for the path directly instead of querying the current file folder
9 * gtk/gtkfilechooserprivate.h (struct _GtkFileChooserDefault): add
12 * tests/autotestfilechooser.c (wait_for_idle_idle), (wait_for_idle),
13 (test_reload_sequence), (test_button_folder_states_for_action): wait
14 for idle after setting a folder to ensure the async operations to load
15 the folder are finished,
16 (test_confirm_overwrite), (test_confirm_overwrite_for_path):
17 factor out test_confirm_overwrite code so we can add tests for more
20 2006-09-03 Richard Hult <richard@imendio.com>
22 * gdk/quartz/GdkQuartzView.c (drawRect): Don't do anything if
23 exposure isn't in the event mask, plug a leak, and check that the
24 window isn't destroyed.
25 (isOpaque): Check that the window isn't destroyed, fixes bug
28 2006-09-03 Matthias Clasen <mclasen@redhat.com>
30 * gtk/gtkwidget.c (gtk_widget_class_init): Fix a typo.
31 (#354035, Mariano Suárez-Alvarez)
33 * gtk/gtkmain.c (post_parse_hook):
34 * gdk/gdk.c (gdk_init): Handle display_name being NULL.
35 (#354004, Chris Wilson)
37 2006-09-03 Tor Lillqvist <tml@novell.com>
39 * gdk/win32/gdkwindow-win32.c (gdk_window_beep): No
40 GDK_WINDOW_DISPLAY in the Win32 backend.
42 * gtk/gtkfilesystemwin32.c: Copy what Kris did to
45 2006-09-02 Kristian Rietveld <kris@imendio.com>
47 First part of file chooser fixes.
49 * gtk/gtkfilechooserbutton.c (model_add_special): also set the
50 handle in the model for the desktopdir case.
52 * gtk/gtkfilechooserdefault.c (shortcuts_add_current_folder): free
53 volume in case we retrieved it but don't pass it on to insert_path,
54 (shortcuts_model_create): change the column type for the handles
55 to pointer instead of GObject so our handle ref counting is not
57 (show_and_select_paths_finished_loading): don't forget to unref
60 * gtk/gtkfilesystemunix.c (gtk_file_system_unix_class_init),
61 (gtk_file_system_unix_init), (gtk_file_system_unix_dispose):
62 remove pending execute_callbacks_idle during dispose, also
63 execute all callbacks waiting to be run in the next idle,
64 (queue_*callback), (execute_callbacks_idle): refactor to maintain
65 a list of callbacks to call per file system instead of globally,
66 guard the file system during callback invocation,
67 (gtk_file_system_unix_get_folder): only add load folder idle if
68 none has been added yet.
70 2006-09-01 Matthias Clasen <mclasen@redhat.com>
72 * gtk/gtkentry.c: Don't unnecessarily reset the im context
73 when deleting the selection. (#353803, Alex Larsson)
75 2006-09-01 Abel Cheung <abel@oaka.org>
77 * configure.in: Added 'ang' 'dz' to ALL_LINGUAS.
79 2006-08-31 Matthias Clasen <mclasen@redhat.com>
81 Stop cursor blinking after a configurable timeout.
82 (#353670, #352442, Arjan van de Ven, Manu Cornet)
84 * gtk/gtksettings.c (gtk_settings_class_init): Add a
85 gtk-cursor-blink-timeout setting, which specifies the number
86 of seconds that the cursor should blink after a user interaction.
87 The default value is G_MAXINT to preserve the current behaviour.
89 * gtk/gtkentry.c (blink_cb): Stop blinking after blink-timeout
92 * gtk/gtkentry.c (gtk_entry_completion_key_press)
93 (gtk_entry_button_press, gtk_entry_focus_in): Reset the
96 * gtk/gtktextview.c (blink_cb): Stop blinking after blink-timeout
99 * gtk/gtktextview.c (gtk_text_view_key_press_event)
100 (gtk_text_view_button_press_event, gtk_text_view_focus_in_event):
101 Reset the blink timer.
103 2006-08-31 Matthias Clasen <mclasen@redhat.com>
105 * gtk/gtkprintoperation-unix.c (get_print_dialog): Don't specify
106 explicit format capabilities. (#346505, Christian Persch)
108 * modules/printbackends/cups/gtkprintbackendcups.c (cups_request_printer_list_cb): Send printer-list-done on error.
110 2006-08-31 Michael Natterer <mitch@imendio.com>
112 * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Fix build.
114 2006-08-30 Richard Hult <richard@imendio.com>
116 * gdk/quartz/gdkwindow-quartz.c (gdk_window_beep): Fix build.
118 2006-08-30 Matthias Clasen <mclasen@redhat.com>
120 * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Only use XKB
121 for beeping if we are using XKB.
123 2006-08-29 Matthias Clasen <mclasen@redhat.com>
127 * gdk/directfb/gdkwindow-directfb.c (gdk_window_beep):
128 * gdk/win32/gdkwindow-win32.c (gdk_window_beep):
129 * gdk/quartz/gdkwindow-quartz.c (gdk_window_beep):
130 * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Add a function
131 to beep on a window. For X11, implement this with
132 XkbBell. (#353455, Mariano Suárez-Alvarez)
134 2006-08-29 Tor Lillqvist <tml@novell.com>
136 Remove support for Windows 9x/ME. GTK+ hasn't worked on Win9x
137 since 2.6 or 2.8. It's pointless to keep the Win9x code in here as
138 it isn't being maintained anyway. If somebody is interested, it
139 can always be found in older GTK+ versions, and in CVS.
144 * gdk/win32/Makefile.am
145 * gdk/win32/libie55uid.la
146 * gdk/win32/gdkevents-win32.c: Remove the --with-ie55 configure
147 switch and associated stuff. Active IMM and the <dimm.h> header
148 was used for IM support on NT4 and Win9x. Win2k and later have IM
151 * gdk/win32/gdkcursor-win32.c
152 * gdk/win32/gdkdnd-win32.c
153 * gdk/win32/gdkdrawable-win32.c
154 * gdk/win32/gdkevents-win32.c
155 * gdk/win32/gdkgc-win32.c
156 * gdk/win32/gdkglobals-win32.c
157 * gdk/win32/gdkkeys-win32.c
158 * gdk/win32/gdkmain-win32.c
159 * gdk/win32/gdkproperty-win32.c
160 * gdk/win32/gdkselection-win32.c
161 * gdk/win32/gdkwindow-win32.c: Remove the G_WIN32_IS_NT_BASED()
162 and G_WIN32_HAVE_WIDECHAR_API() tests and their false (Win9x)
163 branches, and any variables or static functions used only by the
166 * gdk/win32/gdkprivate-win32.h: Remove backup definitions for
167 constants that aren't missing from current mingw and MSVC6
170 * gdk/win32/gdkmain-win32.c
171 * gdk/win32/gdkprivate-win32.h: Remove the _gdk_win32_gdi_failed()
172 function. On NT-based Windows GetLastError() returns error codes
173 also for failed GDI calls, so we can use _gdk_win32_api_failed()
176 2006-08-29 Emmanuele Bassi <ebassi@gnome.org>
178 * gtk/gtkrecentchoosermenu.c
179 (gtk_recent_chooser_menu_set_current_uri): Break when an item
180 is found and activated. (#353449, based on a patch by Jan Arne
183 Fri Jul 14 16:13:37 2006 Tim Janik <timj@gtk.org>
185 * gtk/gtkprogressbar.c: introduced ::xspacing and ::yspacing style
186 properties which make all hardcoded padding and spacing values
187 configurable. properly swap ::text-xalign treatment for RTL widgets.
189 * gtk/gtkprogress.c: fixed style property blurbs. made alignment
190 proeprty more consistent with GtkMisc alignment blurbs. mention
191 RTL treatment for text-xalign.
193 Tue Aug 29 11:57:40 2006 Tim Janik <timj@imendio.com>
195 * tests/testgtk.c: allow (most) windows to be resizable.
196 added ellipsization settings to progress bars.
198 2006-08-28 Matthias Clasen <mclasen@redhat.com>
200 * modules/printbackend/cups/gtkprintbackendcups.c: Use a
201 resonable timeout of 3 seconds when polling for printer
202 list updates, instead of 300000 seconds...
204 2006-08-28 Michael Natterer <mitch@imendio.com>
206 * gtk/gtktextbufferserialize.c (serialize_text): don't write out
207 </apply_tag> for tags that have already been closed by the logic
208 which turns overlapping spans into XML-able trees. Fixes broken
209 XML when there are overlapping tags in the buffer. Also free two
210 leaked GLists and did some cleanup.
213 * tests/testrichtext.c: new test which creates randomly tagged
214 GtkTextBuffers and serializes/deserializes them.
216 2006-08-26 Matthias Clasen <mclasen@redhat.com>
218 * gtk/gtkstatusicon.c (gtk_status_icon_reset_image_data):
219 Don't leak pixbufs. (#352264, Ross Burton)
221 * gtk/gtklinkbutton.c (set_link_underline): Don't leak
222 PangoAttributes. (#352391, Paolo Borelli)
224 2006-08-25 Matthias Clasen <mclasen@redhat.com>
226 * demos/gtk-demo/Makefile.am:
227 * demos/gtk-demo/textscroll.c: Add an example of automatic
228 scrolling, thanks to Yevgen Muntyan. (#351206)
230 * gtk/gtkmodules.c (find_module): Use local binding when
231 loading modules. (#351868)
233 2006-08-24 Michael Natterer <mitch@imendio.com>
235 * gdk/quartz/gdkdisplay-quartz.c (gdk_display_get_name): return
236 the hostname instead of NULL.
238 2006-08-23 Matthias Clasen <mclasen@redhat.com>
240 * gtk/gtkprinteroptionwidget.[hc]: Fix confusion about
241 names and values in comboboxes, and clean up some
244 2006-08-23 Tor Lillqvist <tml@novell.com>
246 * gtk/gtkfilesystemwin32.c (gtk_file_system_win32_make_path):
247 Revert unintended translatable string addition. Use same string
248 in GError as in gtkfilesystemunix.c.
250 * gtk/gtkfilesystemwin32.c (_gtk_file_system_win32_path_compare):
251 Fix logic at the end of strings.
253 * gtk/gtkfilesystemwin32.c: Maintain a hash table of live
254 handles and check that we have no outstanding handles at
255 finalization time. (Copying what Matthias did for
258 2006-08-23 Matthias Clasen <mclasen@redhat.com>
260 * gtk/gtkfilesystemunix.c: Maintain a hash table
261 of live handles and check that we have no outstanding
262 handles at finalization time. (Copying what
263 Federico did for gtkfilesystemgnomevfs.c)
265 2007-08-22 Matthias Clasen <mclasen@redhat.com>