]> Pileus Git - ~andy/gtk/blob - ChangeLog
Request the display name too, otherwise "Desktop" does not appear in the
[~andy/gtk] / ChangeLog
1 2006-09-10  Matthias Clasen  <mclasen@redhat.com>
2
3         * gtk/gtkfilechooserbutton.c (model_add_special): Request
4         the display name too, otherwise "Desktop" does not appear
5         in the file chooser button. 
6
7 2006-09-10  Tor Lillqvist  <tml@novell.com>
8
9         * gdk/win32/gdkprivate-win32.h
10         * gdk/win32/gdkmain-win32.c
11         * gdk/win32/gdkwindow-win32.c: Define WINVER and _WIN32_WINNT as
12         0x0500 in gdkprivate-win32.h instead of doing it in two source
13         files. (#355212, Mike Edenfield)
14
15         * gdk/win32/gdkwindow-win32.c: We can also remove the ersatz
16         GetAncestor() for the _MSC_VER && WINVER < 0x0500 case, I hope.
17
18 2006-09-10  Matthias Clasen  <mclasen@redhat.com>
19
20         * Commit a patch by Behdad to fix typos, omissions and other
21         errors in the symbol aliasing, and add checks for local PLT
22         entries.  (#354687, Behdad Esfahbod)
23
24         * gtk/gtktreeview.c (gtk_tree_view_search_scroll_event): Renew
25         the flush timeout.  (#354043, Nelson Benitez)
26         
27         * gtk/gtkfilechoosersettings.c (set_unexpected_element_end_error): 
28         Improve wording. String change!  (#355126, David Lodge)
29
30         * gtk/updateiconcache.c: Improve wording. String change!  (#355128,
31         David Lodge)
32
33         * gtk/paper_names_offsets.c: Fix a typo. String change!  (#355134,
34         David Lodge)
35
36 2006-09-09  Matthias Clasen <mclasen@redhat.com>
37
38         * gdk/x11/gdkfonts-x11.c: Fix small theoretical memory leaks.
39         (#353916, Chris Wilson)
40
41         * gtk/gtksettings.c (_gtk_settings_reset_rc_values):
42         Don't leak the to_reset list.  (#353914, Chris Wilson)
43
44         * gtk/gtkwidget.c: Add docs for the parent-set signal.
45         (#353772, Mariano Suárez-Alvarez)
46
47 2006-09-08  Matthias Clasen <mclasen@redhat.com>
48
49         * gtk/gtktextbuffer.c (remove_all_selection_clipboards):
50         Don't clear clipboards here, since we are called from finalize
51         and can't emit signals.
52
53         * configure.in: Set version to 2.11.0
54
55 2006-09-06  Richard Hult  <richard@imendio.com>
56
57         * gdk/quartz/gdkkeys-quartz.c: (maybe_update_keymap): Special-case 
58         shift-tab and map it to GDK_ISO_Left_Tab, fixes bug #350806.
59
60 2006-09-04  Kristian Rietveld  <kris@imendio.com>
61
62         * gtk/gtkfilechooserdefault.c (update_current_folder_get_info_cb):
63         if setting the given folder failed, try setting the parent folder
64         until we succeed; display an error box at the end.
65
66 2006-09-04  Kristian Rietveld  <kris@imendio.com>
67
68         * gtk/gtkpathbar.c (gtk_path_bar_dispose): don't cancel the
69         operations spawned by buttons here,
70         (set_button_image_get_info_cb): bail out if button is NULL, but
71         do free button_data,
72         (button_data_free): only free the data if non NULL (since this
73         function can be called multiple times for the same data), cancel
74         handle if pending but don't free button_data in this case (will
75         happen in the callback).
76
77 2006-09-04  Michael Natterer  <mitch@imendio.com>
78
79         * gtk/gtkrc.c (rc_parse_token_or_compound)
80         (gtk_rc_parse_assignment): serialize floating point values using
81         locale-independent functions. (#346751, Frederic Crozat)
82
83 2006-09-04  Tor Lillqvist  <tml@novell.com>
84
85         * gdk/win32/gdkevents-win32.c
86         * gdk/win32/gdkwindow-win32.c: Use wide-char API for message and
87         window handling (PeekMessage, PostMessage, SendMessage,
88         DispatchMessage, DefWindowProc, RegisterClassEx,
89         CreateWindowEx). (#321597)
90
91 2006-09-03  Kristian Rietveld  <kris@imendio.com>
92
93         * gtk/gtkfilechooserdefault.c (save_entry_get_info_cb),
94         (file_exists_get_info_cb), (gtk_file_chooser_default_should_respond):
95         change file_exists_and_is_not_folder checks to get the file info
96         for the path directly instead of querying the current file folder
97         of the save entry.
98
99         * gtk/gtkfilechooserprivate.h (struct _GtkFileChooserDefault): add
100         new field.
101
102         * tests/autotestfilechooser.c (wait_for_idle_idle), (wait_for_idle),
103         (test_reload_sequence), (test_button_folder_states_for_action): wait
104         for idle after setting a folder to ensure the async operations to load
105         the folder are finished,
106         (test_confirm_overwrite), (test_confirm_overwrite_for_path):
107         factor out test_confirm_overwrite code so we can add tests for more
108         paths more easily.
109
110 2006-09-03  Richard Hult  <richard@imendio.com>
111
112         * gdk/quartz/GdkQuartzView.c (drawRect): Don't do anything if
113         exposure isn't in the event mask, plug a leak, and check that the
114         window isn't destroyed.
115         (isOpaque): Check that the window isn't destroyed, fixes bug 
116         #353028.
117
118 2006-09-03  Matthias Clasen  <mclasen@redhat.com>
119
120         * gtk/gtkwidget.c (gtk_widget_class_init): Fix a typo.  
121         (#354035, Mariano Suárez-Alvarez)
122
123         * gtk/gtkmain.c (post_parse_hook): 
124         * gdk/gdk.c (gdk_init): Handle display_name being NULL.
125         (#354004, Chris Wilson)
126
127 2006-09-03  Tor Lillqvist  <tml@novell.com>
128
129         * gdk/win32/gdkwindow-win32.c (gdk_window_beep): No
130         GDK_WINDOW_DISPLAY in the Win32 backend.
131
132         * gtk/gtkfilesystemwin32.c: Copy what Kris did to
133         gtkfilesystemunix.c
134
135 2006-09-02  Kristian Rietveld  <kris@imendio.com>
136
137         First part of file chooser fixes.
138
139         * gtk/gtkfilechooserbutton.c (model_add_special): also set the
140         handle in the model for the desktopdir case.
141
142         * gtk/gtkfilechooserdefault.c (shortcuts_add_current_folder): free
143         volume in case we retrieved it but don't pass it on to insert_path,
144         (shortcuts_model_create): change the column type for the handles
145         to pointer instead of GObject so our handle ref counting is not
146         disturbed,
147         (show_and_select_paths_finished_loading): don't forget to unref
148         the dialog.
149
150         * gtk/gtkfilesystemunix.c (gtk_file_system_unix_class_init),
151         (gtk_file_system_unix_init), (gtk_file_system_unix_dispose):
152         remove pending execute_callbacks_idle during dispose, also
153         execute all callbacks waiting to be run in the next idle,
154         (queue_*callback), (execute_callbacks_idle): refactor to maintain
155         a list of callbacks to call per file system instead of globally,
156         guard the file system during callback invocation,
157         (gtk_file_system_unix_get_folder): only add load folder idle if
158         none has been added yet.
159
160 2006-09-01  Matthias Clasen  <mclasen@redhat.com>
161
162         * gtk/gtkentry.c: Don't unnecessarily reset the im context
163         when deleting the selection.  (#353803, Alex Larsson)
164
165 2006-09-01  Abel Cheung  <abel@oaka.org>
166
167         * configure.in: Added 'ang' 'dz' to ALL_LINGUAS.
168
169 2006-08-31  Matthias Clasen  <mclasen@redhat.com>
170
171         Stop cursor blinking after a configurable timeout.
172         (#353670, #352442, Arjan van de Ven, Manu Cornet)
173         
174         * gtk/gtksettings.c (gtk_settings_class_init): Add a 
175         gtk-cursor-blink-timeout setting, which specifies the number
176         of seconds that the cursor should blink after a user interaction.
177         The default value is G_MAXINT to preserve the current behaviour.
178
179         * gtk/gtkentry.c (blink_cb): Stop blinking after blink-timeout
180         seconds.
181
182         * gtk/gtkentry.c (gtk_entry_completion_key_press) 
183         (gtk_entry_button_press, gtk_entry_focus_in): Reset the
184         blink timer.
185
186         * gtk/gtktextview.c (blink_cb): Stop blinking after blink-timeout
187         seconds. 
188
189         * gtk/gtktextview.c (gtk_text_view_key_press_event) 
190         (gtk_text_view_button_press_event, gtk_text_view_focus_in_event): 
191         Reset the blink timer.
192         
193 2006-08-31  Matthias Clasen  <mclasen@redhat.com>
194
195         * gtk/gtkprintoperation-unix.c (get_print_dialog): Don't specify
196         explicit format capabilities.  (#346505, Christian Persch)
197
198         * modules/printbackends/cups/gtkprintbackendcups.c (cups_request_printer_list_cb): Send printer-list-done on error. 
199
200 2006-08-31  Michael Natterer  <mitch@imendio.com>
201
202         * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Fix build.
203
204 2006-08-30  Richard Hult  <richard@imendio.com>
205
206         * gdk/quartz/gdkwindow-quartz.c (gdk_window_beep): Fix build.
207
208 2006-08-30  Matthias Clasen  <mclasen@redhat.com>
209
210         * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Only use XKB
211         for beeping if we are using XKB.  
212
213 2006-08-29  Matthias Clasen  <mclasen@redhat.com>
214
215         * gdk/gdkwindow.h: 
216         * gdk/gdk.symbols: 
217         * gdk/directfb/gdkwindow-directfb.c (gdk_window_beep): 
218         * gdk/win32/gdkwindow-win32.c (gdk_window_beep): 
219         * gdk/quartz/gdkwindow-quartz.c (gdk_window_beep): 
220         * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Add a function
221         to beep on a window. For X11, implement this with
222         XkbBell.  (#353455, Mariano Suárez-Alvarez)
223         
224 2006-08-29  Tor Lillqvist  <tml@novell.com>
225
226         Remove support for Windows 9x/ME. GTK+ hasn't worked on Win9x
227         since 2.6 or 2.8. It's pointless to keep the Win9x code in here as
228         it isn't being maintained anyway. If somebody is interested, it
229         can always be found in older GTK+ versions, and in CVS.
230
231         * configure.in
232         * acconfig.h
233         * gdk/Makefile.am
234         * gdk/win32/Makefile.am
235         * gdk/win32/libie55uid.la
236         * gdk/win32/gdkevents-win32.c: Remove the --with-ie55 configure
237         switch and associated stuff. Active IMM and the <dimm.h> header
238         was used for IM support on NT4 and Win9x. Win2k and later have IM
239         support built-in.
240
241         * gdk/win32/gdkcursor-win32.c
242         * gdk/win32/gdkdnd-win32.c
243         * gdk/win32/gdkdrawable-win32.c
244         * gdk/win32/gdkevents-win32.c
245         * gdk/win32/gdkgc-win32.c
246         * gdk/win32/gdkglobals-win32.c
247         * gdk/win32/gdkkeys-win32.c
248         * gdk/win32/gdkmain-win32.c
249         * gdk/win32/gdkproperty-win32.c
250         * gdk/win32/gdkselection-win32.c
251         * gdk/win32/gdkwindow-win32.c: Remove the G_WIN32_IS_NT_BASED()
252         and G_WIN32_HAVE_WIDECHAR_API() tests and their false (Win9x)
253         branches, and any variables or static functions used only by the
254         Win9x branches.
255
256         * gdk/win32/gdkprivate-win32.h: Remove backup definitions for
257         constants that aren't missing from current mingw and MSVC6
258         headers.
259
260         * gdk/win32/gdkmain-win32.c
261         * gdk/win32/gdkprivate-win32.h: Remove the _gdk_win32_gdi_failed()
262         function. On NT-based Windows GetLastError() returns error codes
263         also for failed GDI calls, so we can use _gdk_win32_api_failed()
264         always.
265
266 2006-08-29  Emmanuele Bassi  <ebassi@gnome.org>
267
268         * gtk/gtkrecentchoosermenu.c
269         (gtk_recent_chooser_menu_set_current_uri): Break when an item
270         is found and activated. (#353449, based on a patch by Jan Arne
271         Petersen)
272
273 Fri Jul 14 16:13:37 2006  Tim Janik  <timj@gtk.org>
274
275         * gtk/gtkprogressbar.c: introduced ::xspacing and ::yspacing style 
276         properties which make all hardcoded padding and spacing values
277         configurable. properly swap ::text-xalign treatment for RTL widgets.
278
279         * gtk/gtkprogress.c: fixed style property blurbs. made alignment 
280         proeprty more consistent with GtkMisc alignment blurbs. mention
281         RTL treatment for text-xalign.
282
283 Tue Aug 29 11:57:40 2006  Tim Janik  <timj@imendio.com>
284
285         * tests/testgtk.c: allow (most) windows to be resizable.
286         added ellipsization settings to progress bars. 
287
288 2006-08-28  Matthias Clasen   <mclasen@redhat.com>
289
290         * modules/printbackend/cups/gtkprintbackendcups.c: Use a
291         resonable timeout of 3 seconds when polling for printer
292         list updates, instead of 300000 seconds...
293
294 2006-08-28  Michael Natterer  <mitch@imendio.com>
295
296         * gtk/gtktextbufferserialize.c (serialize_text): don't write out
297         </apply_tag> for tags that have already been closed by the logic
298         which turns overlapping spans into XML-able trees. Fixes broken
299         XML when there are overlapping tags in the buffer. Also free two
300         leaked GLists and did some cleanup.
301
302         * tests/Makefile.am
303         * tests/testrichtext.c: new test which creates randomly tagged
304         GtkTextBuffers and serializes/deserializes them.
305
306 2006-08-26  Matthias Clasen  <mclasen@redhat.com>
307
308         * gtk/gtkstatusicon.c (gtk_status_icon_reset_image_data): 
309         Don't leak pixbufs.  (#352264, Ross Burton)
310
311         * gtk/gtklinkbutton.c (set_link_underline): Don't leak
312         PangoAttributes.  (#352391, Paolo Borelli)
313
314 2006-08-25  Matthias Clasen  <mclasen@redhat.com>
315
316         * demos/gtk-demo/Makefile.am:
317         * demos/gtk-demo/textscroll.c: Add an example of automatic
318         scrolling, thanks to Yevgen Muntyan.  (#351206)
319         
320         * gtk/gtkmodules.c (find_module): Use local binding when
321         loading modules.  (#351868)
322
323 2006-08-24  Michael Natterer  <mitch@imendio.com>
324
325         * gdk/quartz/gdkdisplay-quartz.c (gdk_display_get_name): return
326         the hostname instead of NULL.
327
328 2006-08-23  Matthias Clasen  <mclasen@redhat.com>
329
330         * gtk/gtkprinteroptionwidget.[hc]: Fix confusion about
331         names and values in comboboxes, and clean up some
332         coding style issues.
333
334 2006-08-23  Tor Lillqvist  <tml@novell.com>
335
336         * gtk/gtkfilesystemwin32.c (gtk_file_system_win32_make_path):
337         Revert unintended translatable string addition. Use same string
338         in GError as in gtkfilesystemunix.c.
339
340         * gtk/gtkfilesystemwin32.c (_gtk_file_system_win32_path_compare):
341         Fix logic at the end of strings. 
342
343         * gtk/gtkfilesystemwin32.c: Maintain a hash table of live
344         handles and check that we have no outstanding handles at
345         finalization time. (Copying what Matthias did for
346         gtkfilesystemunix.c)
347
348 2006-08-23  Matthias Clasen  <mclasen@redhat.com>
349
350         * gtk/gtkfilesystemunix.c: Maintain a hash table
351         of live handles and check that we have no outstanding
352         handles at finalization time. (Copying what
353         Federico did for gtkfilesystemgnomevfs.c)
354
355 2007-08-22  Matthias Clasen  <mclasen@redhat.com> 
356
357         * Branch for 2.10
358