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