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