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