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