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