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