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