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