]> Pileus Git - ~andy/gtk/blob - ChangeLog
eb41a14351d938a0125eb6742a29f5170397d7fe
[~andy/gtk] / ChangeLog
1 2006-10-07  Tor Lillqvist  <tml@novell.com>
2
3         * gtk/gtkcalendar.c (gtk_calendar_init): Use the Win32 thread
4         locale's first day of week setting on Win32. (#339752, Bogdan
5         Nicula) Don't do this if one of the environment variables that
6         affect gettext is set, though. In that case use the week start day
7         from the corresponding message catalog.
8
9         Unfortunately the same logic isn't possible in the weekday and
10         month name lookup; there even if you have set one of the
11         aforementioned environment variables, you still get the weekday
12         and month names from the Win32 thread locale. Yes, this is
13         inconsistent.
14
15         Use only wide-character API in the Win32 code in this file, too.
16
17 2006-10-06  Matthias Clasen  <mclasen@redhat.com>
18
19         * gtk/gtkfilechooser.c (gtk_file_chooser_set_select_multiple):
20         Fix the docs.  (#360112)
21
22         * gtk/gtkcellview.c: Don't set the background of the
23         window in a no-window widget.  (#359581, Xan Lopez)
24
25
26 2006-10-05  Behdad Esfahbod  <behdad@gnome.org>
27
28         * gtk/Makefile.am, gtk/aliasfilescheck.sh:  Propagate srcdir into the
29         test correctly. (#359845)
30
31 2006-10-05  Michael Natterer  <mitch@imendio.com>
32
33         * gtk/gtkrc.[ch]: added new scanner token "unbind" which gets
34         rid of a key binding (in fact, it only lets it appear unbound).
35
36         * gtk/gtkbindings.[ch] (struct GtkBindingEntry): added
37         "guint marks_unbound : 1"
38
39         (gtk_binding_entry_skip): new API which marks the entry as unbound.
40
41         Changed code so it returns FALSE when "marks_unbound == TRUE" is
42         encountered while activating bindings, effectively letting the
43         binding appear unbound (regardless of still existing bindings in
44         lower binding priority levels). Fixes bug #358329.
45
46         (gtk_binding_entry_add)
47         (gtk_binding_entry_clear)
48         (gtk_binding_entry_add_signall)
49         (gtk_binding_parse_binding): deprected these functions.
50
51         (_gtk_binding_parse_binding)
52         (_gtk_binding_entry_add_signall): new internal API.
53
54         * gtk/gtk.symbols: changed accordingly.
55
56 2006-10-03  Matthias Clasen  <mclasen@redhat.com>
57
58         Fix interaction of GtkEntryCompletion with input
59         methods.  (#354495, Diego Escalante Urrelo)
60
61         * gtk/gtkentry.c (gtk_entry_completion_key_press): Only reset
62         the im context if we actually handle the key event.
63
64         * gtk/gtkentrycompletion.c: Also propagate key release events
65         to the entry.
66
67 2006-10-03  Matthias Clasen  <mclasen@redhat.com>
68
69         * gtk/gtkprintsettings.c (gtk_print_settings_get_duplex):
70         Fix a typo.  (#359052, Ghee Teo)
71
72         * gtk/*.c, gdk/*.c: Apply a patch by Behdad Esfahbod to
73         reduce relocations. (#359053)
74
75 2006-10-03  Matthias Clasen  <mclasen@redhat.com>
76
77         * modules/printbackends/cups/gtkcupsutils.c:
78         * modules/printbackends/cups/gtkprintbackendcups.c: Complete
79         the fix for bug 357280.
80
81 2006-10-02  Behdad Esfahbod  <behdad@gnome.org>
82
83         * gdk-pixbuf/Makefile.am:
84         * gdk/Makefile.am:
85         * gtk/Makefile.am:
86         Include pltcheck.sh in EXTRA_DIST.
87
88 2006-10-02  Behdad Esfahbod  <behdad@gnome.org>
89
90         * gdk/x11/gdkevents-x11.c: Move all includes before including
91         gdkalias.h.
92
93 2006-10-02  Behdad Esfahbod  <behdad@gnome.org>
94
95         * gtk/Makefile.am: Fix typo in file name.  (#358931)
96
97 2006-10-02  Matthias Clasen  <mclasen@redhat.com>
98
99         * modules/printbackends/cups/gtkprintbackendcups.c (available_choices): 
100         Only use the group name field if cups is new enough.  (#357280)
101
102         * gtk/gtksizegroup.c: Make sure that the quarks are 
103         initialized before using them.  (#353736)
104
105         * gtk/Makefile.am (stamp-icons): Use rm instead of ln -f to
106         replace existing links.  (#354849, James Evans)
107
108 2006-10-01  Matthias Clasen  <mclasen@redhat.com>
109
110         * gtk/gtkexpander.c (gtk_expander_realize) 
111         (gtk_expander_size_allocate): Make the event_window large
112         enough to cover the full height of the label_widget.  (#358351,
113         Scott Horowitz)
114
115 2006-10-01  Tor Lillqvist  <tml@novell.com>
116
117         * gtk/gtkfilesystemwin32.c: Same change as to gtkfilesystemunix.c.
118
119 2006-09-30  Matthias Clasen  <mclasen@redhat.com>
120
121         * gtk/gtkfilechooserbutton.c (update_combo_box): Protect
122         against base_path being NULL.  (#358405, many reporters)
123
124 2006-09-29  Matthias Clasen  <mclasen@redhat.com>
125
126         * gtk/gtkfilesystemunix.c: Apply a patch by Padraig O'Briain
127         to avoid a deadlock.
128
129 2006-09-27  Kristian Rietveld  <kris@imendio.com>
130
131         * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_free_level),
132         (gtk_tree_model_filter_ref_node),
133         (gtk_tree_model_filter_real_unref_node): bring zero ref count loops
134         in sync with each other and the sort model.
135
136 2006-09-27  Kristian Rietveld  <kris@imendio.com>
137
138         * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_init),
139         (gtk_tree_model_filter_finalize), (gtk_tree_model_filter_row_deleted),
140         (gtk_tree_model_filter_new): unref the virtual root path once that
141         node (or one if its ancestors) is deleted, set virtual_root_deleted
142         so we only unref it once.
143
144 2006-09-27  Kristian Rietveld  <kris@imendio.com>
145
146         * gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_changed),
147         (gtk_tree_model_sort_sort_level): ref count nodes the proper way,
148         (gtk_tree_model_sort_ref_node), (gtk_tree_model_sort_real_unref_node),
149         (gtk_tree_model_sort_free_level): bring zero ref count loops in
150         sync,
151         (gtk_tree_model_sort_free_level): free child levels before
152         decreasing the zero ref count of the current level,
153         (gtk_tree_model_sort_clear_cache): only clear cache if zero_ref_count
154         is > 0.
155
156 2006-09-25  Matthias Clasen  <mclasen@redhat.com>
157
158         * demos/gtk-demo/*.c:
159         * gtk/gtkeventbox.c:
160         * gtk/gtkprintoperation.c: Fix typos. String change.
161
162 2006-09-25  Kristian Rietveld  <kris@gtk.org>
163
164         * gtk/gtktreeview.c (gtk_tree_view_scroll_to_cell): if the tree view
165         has already been realized; scroll to background area instead of
166         cell area. (Fixes #330683, Johan Dahlin, Tommi Komulainen).
167
168 2006-09-25  Kristian Rietveld  <kris@gtk.org>
169
170         * gtk/gtktreeview.c (gtk_tree_view_set_grid_lines): only attempt
171         to create the GCs if the widget is realized. (Fixes #357578).
172
173 2006-09-25  Matthias Clasen  <mclasen@redhat.com>
174
175         * gtk/gtkuimanager.c (_gtk_menu_is_empty): Don't leak
176         the list of children (#357454, Paolo Borelli)
177
178 2006-09-25  Michael Natterer  <mitch@imendio.com>
179
180         * gdk/x11/gdkdisplay-x11.c (gdk_display_x11_finalize): free
181         display->input_windows with g_free(), not g_object_unref()
182         (#357566, Tommi Komulainen).
183
184 2006-09-24  Kristian Rietveld  <kris@gtk.org>
185
186         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init),
187         (gtk_cell_renderer_text_[sg]et_property): actually add align-set
188         property to the API (left-over patch from #157439).
189
190 2006-09-24  Kristian Rietveld  <kris@gtk.org>
191
192         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button): draw
193         the indicator if the column has a sort column id (and the model is
194         sortable) or if the user explicitly requested the indicator
195         to be shown.  (Fixes #352738, Chris Vine).
196
197 2006-09-23  Tor Lillqvist  <tml@novell.com>
198
199         * gtk/Makefile.am: Use EXEEXT.
200
201 2006-09-22  Michael Natterer  <mitch@imendio.com>
202
203         * gtk/gtkstyle.c (gtk_style_real_copy): also copy icon factories
204         and color hashes. Fixes bug #357132.
205
206 2006-09-22  Matthias Clasen  <mclasen@redhat.com>
207
208         Make remote bookmarks work better (#354887)
209         
210         * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): 
211         (shortcuts_insert_path): 
212         * gtk/gtkfilechooserbutton.c (change_icon_theme): 
213         (model_add_bookmarks): 
214         (model_update_current_folder): 
215         (update_label_and_image): 
216         If the bookmark points to a remote file, don't call get_info(), 
217         since that may a) take a long time and b) pop up an auth dialog.
218         Instead, just use a folder icon and create a display name
219         from the uri.
220
221         * gtk/gtkfilechooserdefault.c (_gtk_file_chooser_label_for_uri): 
222         New function to create a suitable display name for a remote
223         uri. This should really be done in GtkFileSystem.
224         
225 2006-09-21  Michael Natterer  <mitch@imendio.com>
226
227        Implement lots of value setters for GdkGC, based on a heavily
228        modified patch from Thomas Broyer (bug #328853):
229
230         * gdk/quartz/gdkcolor-quartz.c: removed functions which set colors
231         on the CGContext. Instead, added gdk_quartz_get_rgba_from_pixel()
232         which simply returns RGBA values from a GdkColor's pixel value.
233         See gdk_quartz_update_context_from_gc() below.
234
235         * gdk/quartz/gdkprivate-quartz.h (struct GdkGCQuartz): added lots
236         of members for the newly suppored GC values. Added enum
237         GdkQuartzContextValuesMask which is used for setting up the
238         CGContext for filling and/or stroking.
239
240         * gdk/quartz/gdkgc-quartz.c (gdk_quartz_gc_get_values)
241         (gdk_quartz_gc_set_values)
242         (_gdk_windowing_gc_copy): support a lot more GC values.
243
244         (gdk_quartz_update_context_from_gc): added
245         GdkQuartzContextValuesMask parameter and set filling/stroking
246         parameters accordingly. This function also gained full control
247         over the FG and BG colors (they can't be set separately any more).
248
249         The stipple mask part of the patch doesn't work but seems to take
250         the right approach and doesn't make things worse, so I applied it.
251
252         Did *not* apply the clipping part of the patch since I don't
253         understand it (I don't understand the version in CVS either, but
254         it at least works :-)
255
256         * gdk/quartz/gdkdrawable-quartz.c: pass the right masks to
257         gdk_quartz_update_context_from_gc() and removed separate color
258         setting calls. Some minor fixes.
259
260         * gdk/quartz/gdkwindow-quartz.c
261         (gdk_window_impl_quartz_begin_paint_region): set the CGContext's
262         fill color manually. We don't have/need a GC here.
263
264 2006-09-21  Michael Natterer  <mitch@imendio.com>
265
266         * gdk/quartz/gdkwindow-quartz.c
267         (gdk_window_impl_quartz_begin_paint_region): fix cast: it's
268         drawable_impl->wrapper that is the GdkWindow, not the
269         drawable_impl itself.
270
271 2006-09-20  Behnam Esfahbod <behnam@zwnj.org>
272
273         * gdk/x11/gdkkeys-x11.c:
274           (get_direction): just check the first shift-level of keyboard
275         layout for RTL and LTR keysyms() (compliment to #116626)
276
277 Wed Sep 20 16:59:38 2006  Tim Janik  <timj@imendio.com>
278
279         * gtk/gtkviewport.c: always update the bin_window position and size
280         in size_allocate, even if we don't have a visible child. this fixes
281         expose artefacts as described in #313508.
282
283         * gtk/gtkscrolledwindow.c: make hiding of automatic scrollbars when we
284         have no visible child explicit.
285
286 2006-09-19  Ryan Lortie  <desrt@desrt.ca>
287
288         * docs/reference/gdk/gdk-sections.txt:
289         * gdk/gdk.symbols:
290         * gdk/gdkpango.h:
291         * gdk/gdkpango.c: Bug 355343.  Add a GdkPangoAttrEmbossColor.
292           (gdk_pango_layout_get_clip_region): Remove an unused variable.
293           (gdk_pango_attr_embossed_new): Fix documentation.
294
295 Tue Sep 19 17:00:04 2006  Tim Janik  <timj@imendio.com>
296
297         * gtk/gtkarrow.c: added GtkArrow::arrow-scaling style property to 
298         control the arrow/border ratio within the allocation.
299
300         * tests/testgtk.c: added a GtkArrow to handle box test.
301
302         * tests/testgtkrc: test ::arrow-scaling property.
303
304 2006-09-19  Matthias Clasen  <mclasen@redhat.com>
305
306         * gtk/gtkfilechooserdefault.c (update_current_folder_get_info_cb):
307         Display an error when we come to the root.  
308
309 2006-09-16  Matthias Clasen  <mclasen@redhat.com>
310
311         * gtk/gtkfilechooserbutton.c: Use bookmark labels in 
312         the combobox. 
313
314         * gtk/gtkfilechooserbutton.c: Don't add remote volumes and 
315         bookmarks to the model in local-only mode, to avoid 
316         authentication dialogs pop up for invisible bookmarks, and
317         to fix issues with separators not being hidden when
318         they should.  (#354887, Dennis Cranston)
319
320 2006-09-16  Matthias Clasen  <mclasen@redhat.com>
321
322         * gtk/gtkcombobox.c (gtk_combo_box_finalize): Unref the
323         treeview use in list mode.  (#355732, Richard Hult)
324
325         * gtk/gtktreeview.c (gtk_tree_view_set_grid_lines): Send
326         change notification for the right property.  (#355308,
327         Torsten Schoenfeld)
328
329 2006-09-15  Michael Natterer  <mitch@imendio.com>
330
331         * gtk/gtktreeview.c (gtk_tree_view_key_press): refactored column
332         header navigation/resizing/reordering to be more readable and lose
333         one level of nesting.
334
335 2006-09-15  Kristian Rietveld  <kris@imendio.com>
336
337         * gtk/gtktreeview.c (gtk_tree_view_key_press): actually directly
338         return after handling column button focus; we disable wrap around
339         with this (which actually happened via a really weird code path).
340         (Michael Natterer)
341
342 2006-09-15  Kristian Rietveld  <kris@imendio.com>
343
344         * gtk/gtktreeview.c (gtk_tree_view_key_press): make column resizing
345         code RTL aware, also break from the loops after we have seen the
346         focussed column button (Michael Natterer).
347
348 Thu Sep 14 12:28:51 2006  Tim Janik  <timj@imendio.com>
349
350         * tests/testrichtext.c (main): intialize random number generator state
351         upon program start, to enable truely random testing.
352
353 2006-09-13 Michael Emmel <mike.emmel@gmail.com>
354
355         * gdk/directfb/gdkcolor-directfb.c small clean ups include order
356         * gdk/directfb/gdkwindow-directfb.c fixed beep compile error
357         * gdk/directfb/Makefile.am removed GDK_PIXBUF_DISABLE_DEPRECATED
358                 GDK_DISABLE_DEPRECATED to allow compile per Behdad
359         * gdk/quartz/Makefile.am same change as directfb Makefile
360         * gtk/Makefile.am fixed typo that cause socket stubs not to compile
361
362 2006-09-13 Matthias Clasen <mclasen@redhat.com>
363
364         * gtk/gtkcolorsel.c: Use a GtkWindow instead of a GtkInvisible
365         for the grab widget, to make the color picker work with window
366         groups.  
367
368 2006-09-12 Hong Jen Yee <pcman.tw@gmail.com>
369
370         signed off by: Dom Lachowicz
371         
372         * modules/engines/ms-windows/msw_style.c: Bug 340201. This contains
373         a large number of improvements to the Microsoft Windows theme engine
374         which are fully described in the bug report.
375         
376 Mon Sep 11 14:22:39 2006  Tim Janik  <timj@imendio.com>
377
378         * tests/testgtk.c: fixed compiler warnings.
379
380 2006-09-10  Matthias Clasen  <mclasen@redhat.com>
381
382         * gtk/gtkfilechooserbutton.c (model_add_special): Request
383         the display name too, otherwise "Desktop" does not appear
384         in the file chooser button. 
385
386 2006-09-10  Tor Lillqvist  <tml@novell.com>
387
388         * gdk/win32/gdkprivate-win32.h
389         * gdk/win32/gdkmain-win32.c
390         * gdk/win32/gdkwindow-win32.c: Define WINVER and _WIN32_WINNT as
391         0x0500 in gdkprivate-win32.h instead of doing it in two source
392         files. (#355212, Mike Edenfield)
393
394         * gdk/win32/gdkwindow-win32.c: We can also remove the ersatz
395         GetAncestor() for the _MSC_VER && WINVER < 0x0500 case, I hope.
396
397 2006-09-10  Matthias Clasen  <mclasen@redhat.com>
398
399         * Commit a patch by Behdad to fix typos, omissions and other
400         errors in the symbol aliasing, and add checks for local PLT
401         entries.  (#354687, Behdad Esfahbod)
402
403         * gtk/gtktreeview.c (gtk_tree_view_search_scroll_event): Renew
404         the flush timeout.  (#354043, Nelson Benitez)
405         
406         * gtk/gtkfilechoosersettings.c (set_unexpected_element_end_error): 
407         Improve wording. String change!  (#355126, David Lodge)
408
409         * gtk/updateiconcache.c: Improve wording. String change!  (#355128,
410         David Lodge)
411
412         * gtk/paper_names_offsets.c: Fix a typo. String change!  (#355134,
413         David Lodge)
414
415 2006-09-09  Matthias Clasen <mclasen@redhat.com>
416
417         * gdk/x11/gdkfonts-x11.c: Fix small theoretical memory leaks.
418         (#353916, Chris Wilson)
419
420         * gtk/gtksettings.c (_gtk_settings_reset_rc_values):
421         Don't leak the to_reset list.  (#353914, Chris Wilson)
422
423         * gtk/gtkwidget.c: Add docs for the parent-set signal.
424         (#353772, Mariano Suárez-Alvarez)
425
426 2006-09-08  Matthias Clasen <mclasen@redhat.com>
427
428         * gtk/gtktextbuffer.c (remove_all_selection_clipboards):
429         Don't clear clipboards here, since we are called from finalize
430         and can't emit signals.
431
432         * configure.in: Set version to 2.11.0
433
434 2006-09-06  Richard Hult  <richard@imendio.com>
435
436         * gdk/quartz/gdkkeys-quartz.c: (maybe_update_keymap): Special-case 
437         shift-tab and map it to GDK_ISO_Left_Tab, fixes bug #350806.
438
439 2006-09-04  Kristian Rietveld  <kris@imendio.com>
440
441         * gtk/gtkfilechooserdefault.c (update_current_folder_get_info_cb):
442         if setting the given folder failed, try setting the parent folder
443         until we succeed; display an error box at the end.
444
445 2006-09-04  Kristian Rietveld  <kris@imendio.com>
446
447         * gtk/gtkpathbar.c (gtk_path_bar_dispose): don't cancel the
448         operations spawned by buttons here,
449         (set_button_image_get_info_cb): bail out if button is NULL, but
450         do free button_data,
451         (button_data_free): only free the data if non NULL (since this
452         function can be called multiple times for the same data), cancel
453         handle if pending but don't free button_data in this case (will
454         happen in the callback).
455
456 2006-09-04  Michael Natterer  <mitch@imendio.com>
457
458         * gtk/gtkrc.c (rc_parse_token_or_compound)
459         (gtk_rc_parse_assignment): serialize floating point values using
460         locale-independent functions. (#346751, Frederic Crozat)
461
462 2006-09-04  Tor Lillqvist  <tml@novell.com>
463
464         * gdk/win32/gdkevents-win32.c
465         * gdk/win32/gdkwindow-win32.c: Use wide-char API for message and
466         window handling (PeekMessage, PostMessage, SendMessage,
467         DispatchMessage, DefWindowProc, RegisterClassEx,
468         CreateWindowEx). (#321597)
469
470 2006-09-03  Kristian Rietveld  <kris@imendio.com>
471
472         * gtk/gtkfilechooserdefault.c (save_entry_get_info_cb),
473         (file_exists_get_info_cb), (gtk_file_chooser_default_should_respond):
474         change file_exists_and_is_not_folder checks to get the file info
475         for the path directly instead of querying the current file folder
476         of the save entry.
477
478         * gtk/gtkfilechooserprivate.h (struct _GtkFileChooserDefault): add
479         new field.
480
481         * tests/autotestfilechooser.c (wait_for_idle_idle), (wait_for_idle),
482         (test_reload_sequence), (test_button_folder_states_for_action): wait
483         for idle after setting a folder to ensure the async operations to load
484         the folder are finished,
485         (test_confirm_overwrite), (test_confirm_overwrite_for_path):
486         factor out test_confirm_overwrite code so we can add tests for more
487         paths more easily.
488
489 2006-09-03  Richard Hult  <richard@imendio.com>
490
491         * gdk/quartz/GdkQuartzView.c (drawRect): Don't do anything if
492         exposure isn't in the event mask, plug a leak, and check that the
493         window isn't destroyed.
494         (isOpaque): Check that the window isn't destroyed, fixes bug 
495         #353028.
496
497 2006-09-03  Matthias Clasen  <mclasen@redhat.com>
498
499         * gtk/gtkwidget.c (gtk_widget_class_init): Fix a typo.  
500         (#354035, Mariano Suárez-Alvarez)
501
502         * gtk/gtkmain.c (post_parse_hook): 
503         * gdk/gdk.c (gdk_init): Handle display_name being NULL.
504         (#354004, Chris Wilson)
505
506 2006-09-03  Tor Lillqvist  <tml@novell.com>
507
508         * gdk/win32/gdkwindow-win32.c (gdk_window_beep): No
509         GDK_WINDOW_DISPLAY in the Win32 backend.
510
511         * gtk/gtkfilesystemwin32.c: Copy what Kris did to
512         gtkfilesystemunix.c
513
514 2006-09-02  Kristian Rietveld  <kris@imendio.com>
515
516         First part of file chooser fixes.
517
518         * gtk/gtkfilechooserbutton.c (model_add_special): also set the
519         handle in the model for the desktopdir case.
520
521         * gtk/gtkfilechooserdefault.c (shortcuts_add_current_folder): free
522         volume in case we retrieved it but don't pass it on to insert_path,
523         (shortcuts_model_create): change the column type for the handles
524         to pointer instead of GObject so our handle ref counting is not
525         disturbed,
526         (show_and_select_paths_finished_loading): don't forget to unref
527         the dialog.
528
529         * gtk/gtkfilesystemunix.c (gtk_file_system_unix_class_init),
530         (gtk_file_system_unix_init), (gtk_file_system_unix_dispose):
531         remove pending execute_callbacks_idle during dispose, also
532         execute all callbacks waiting to be run in the next idle,
533         (queue_*callback), (execute_callbacks_idle): refactor to maintain
534         a list of callbacks to call per file system instead of globally,
535         guard the file system during callback invocation,
536         (gtk_file_system_unix_get_folder): only add load folder idle if
537         none has been added yet.
538
539 2006-09-01  Matthias Clasen  <mclasen@redhat.com>
540
541         * gtk/gtkentry.c: Don't unnecessarily reset the im context
542         when deleting the selection.  (#353803, Alex Larsson)
543
544 2006-09-01  Abel Cheung  <abel@oaka.org>
545
546         * configure.in: Added 'ang' 'dz' to ALL_LINGUAS.
547
548 2006-08-31  Matthias Clasen  <mclasen@redhat.com>
549
550         Stop cursor blinking after a configurable timeout.
551         (#353670, #352442, Arjan van de Ven, Manu Cornet)
552         
553         * gtk/gtksettings.c (gtk_settings_class_init): Add a 
554         gtk-cursor-blink-timeout setting, which specifies the number
555         of seconds that the cursor should blink after a user interaction.
556         The default value is G_MAXINT to preserve the current behaviour.
557
558         * gtk/gtkentry.c (blink_cb): Stop blinking after blink-timeout
559         seconds.
560
561         * gtk/gtkentry.c (gtk_entry_completion_key_press) 
562         (gtk_entry_button_press, gtk_entry_focus_in): Reset the
563         blink timer.
564
565         * gtk/gtktextview.c (blink_cb): Stop blinking after blink-timeout
566         seconds. 
567
568         * gtk/gtktextview.c (gtk_text_view_key_press_event) 
569         (gtk_text_view_button_press_event, gtk_text_view_focus_in_event): 
570         Reset the blink timer.
571         
572 2006-08-31  Matthias Clasen  <mclasen@redhat.com>
573
574         * gtk/gtkprintoperation-unix.c (get_print_dialog): Don't specify
575         explicit format capabilities.  (#346505, Christian Persch)
576
577         * modules/printbackends/cups/gtkprintbackendcups.c (cups_request_printer_list_cb): Send printer-list-done on error. 
578
579 2006-08-31  Michael Natterer  <mitch@imendio.com>
580
581         * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Fix build.
582
583 2006-08-30  Richard Hult  <richard@imendio.com>
584
585         * gdk/quartz/gdkwindow-quartz.c (gdk_window_beep): Fix build.
586
587 2006-08-30  Matthias Clasen  <mclasen@redhat.com>
588
589         * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Only use XKB
590         for beeping if we are using XKB.  
591
592 2006-08-29  Matthias Clasen  <mclasen@redhat.com>
593
594         * gdk/gdkwindow.h: 
595         * gdk/gdk.symbols: 
596         * gdk/directfb/gdkwindow-directfb.c (gdk_window_beep): 
597         * gdk/win32/gdkwindow-win32.c (gdk_window_beep): 
598         * gdk/quartz/gdkwindow-quartz.c (gdk_window_beep): 
599         * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Add a function
600         to beep on a window. For X11, implement this with
601         XkbBell.  (#353455, Mariano Suárez-Alvarez)
602         
603 2006-08-29  Tor Lillqvist  <tml@novell.com>
604
605         Remove support for Windows 9x/ME. GTK+ hasn't worked on Win9x
606         since 2.6 or 2.8. It's pointless to keep the Win9x code in here as
607         it isn't being maintained anyway. If somebody is interested, it
608         can always be found in older GTK+ versions, and in CVS.
609
610         * configure.in
611         * acconfig.h
612         * gdk/Makefile.am
613         * gdk/win32/Makefile.am
614         * gdk/win32/libie55uid.la
615         * gdk/win32/gdkevents-win32.c: Remove the --with-ie55 configure
616         switch and associated stuff. Active IMM and the <dimm.h> header
617         was used for IM support on NT4 and Win9x. Win2k and later have IM
618         support built-in.
619
620         * gdk/win32/gdkcursor-win32.c
621         * gdk/win32/gdkdnd-win32.c
622         * gdk/win32/gdkdrawable-win32.c
623         * gdk/win32/gdkevents-win32.c
624         * gdk/win32/gdkgc-win32.c
625         * gdk/win32/gdkglobals-win32.c
626         * gdk/win32/gdkkeys-win32.c
627         * gdk/win32/gdkmain-win32.c
628         * gdk/win32/gdkproperty-win32.c
629         * gdk/win32/gdkselection-win32.c
630         * gdk/win32/gdkwindow-win32.c: Remove the G_WIN32_IS_NT_BASED()
631         and G_WIN32_HAVE_WIDECHAR_API() tests and their false (Win9x)
632         branches, and any variables or static functions used only by the
633         Win9x branches.
634
635         * gdk/win32/gdkprivate-win32.h: Remove backup definitions for
636         constants that aren't missing from current mingw and MSVC6
637         headers.
638
639         * gdk/win32/gdkmain-win32.c
640         * gdk/win32/gdkprivate-win32.h: Remove the _gdk_win32_gdi_failed()
641         function. On NT-based Windows GetLastError() returns error codes
642         also for failed GDI calls, so we can use _gdk_win32_api_failed()
643         always.
644
645 2006-08-29  Emmanuele Bassi  <ebassi@gnome.org>
646
647         * gtk/gtkrecentchoosermenu.c
648         (gtk_recent_chooser_menu_set_current_uri): Break when an item
649         is found and activated. (#353449, based on a patch by Jan Arne
650         Petersen)
651
652 Fri Jul 14 16:13:37 2006  Tim Janik  <timj@gtk.org>
653
654         * gtk/gtkprogressbar.c: introduced ::xspacing and ::yspacing style 
655         properties which make all hardcoded padding and spacing values
656         configurable. properly swap ::text-xalign treatment for RTL widgets.
657
658         * gtk/gtkprogress.c: fixed style property blurbs. made alignment 
659         proeprty more consistent with GtkMisc alignment blurbs. mention
660         RTL treatment for text-xalign.
661
662 Tue Aug 29 11:57:40 2006  Tim Janik  <timj@imendio.com>
663
664         * tests/testgtk.c: allow (most) windows to be resizable.
665         added ellipsization settings to progress bars. 
666
667 2006-08-28  Matthias Clasen   <mclasen@redhat.com>
668
669         * modules/printbackend/cups/gtkprintbackendcups.c: Use a
670         resonable timeout of 3 seconds when polling for printer
671         list updates, instead of 300000 seconds...
672
673 2006-08-28  Michael Natterer  <mitch@imendio.com>
674
675         * gtk/gtktextbufferserialize.c (serialize_text): don't write out
676         </apply_tag> for tags that have already been closed by the logic
677         which turns overlapping spans into XML-able trees. Fixes broken
678         XML when there are overlapping tags in the buffer. Also free two
679         leaked GLists and did some cleanup.
680
681         * tests/Makefile.am
682         * tests/testrichtext.c: new test which creates randomly tagged
683         GtkTextBuffers and serializes/deserializes them.
684
685 2006-08-26  Matthias Clasen  <mclasen@redhat.com>
686
687         * gtk/gtkstatusicon.c (gtk_status_icon_reset_image_data): 
688         Don't leak pixbufs.  (#352264, Ross Burton)
689
690         * gtk/gtklinkbutton.c (set_link_underline): Don't leak
691         PangoAttributes.  (#352391, Paolo Borelli)
692
693 2006-08-25  Matthias Clasen  <mclasen@redhat.com>
694
695         * demos/gtk-demo/Makefile.am:
696         * demos/gtk-demo/textscroll.c: Add an example of automatic
697         scrolling, thanks to Yevgen Muntyan.  (#351206)
698         
699         * gtk/gtkmodules.c (find_module): Use local binding when
700         loading modules.  (#351868)
701
702 2006-08-24  Michael Natterer  <mitch@imendio.com>
703
704         * gdk/quartz/gdkdisplay-quartz.c (gdk_display_get_name): return
705         the hostname instead of NULL.
706
707 2006-08-23  Matthias Clasen  <mclasen@redhat.com>
708
709         * gtk/gtkprinteroptionwidget.[hc]: Fix confusion about
710         names and values in comboboxes, and clean up some
711         coding style issues.
712
713 2006-08-23  Tor Lillqvist  <tml@novell.com>
714
715         * gtk/gtkfilesystemwin32.c (gtk_file_system_win32_make_path):
716         Revert unintended translatable string addition. Use same string
717         in GError as in gtkfilesystemunix.c.
718
719         * gtk/gtkfilesystemwin32.c (_gtk_file_system_win32_path_compare):
720         Fix logic at the end of strings. 
721
722         * gtk/gtkfilesystemwin32.c: Maintain a hash table of live
723         handles and check that we have no outstanding handles at
724         finalization time. (Copying what Matthias did for
725         gtkfilesystemunix.c)
726
727 2006-08-23  Matthias Clasen  <mclasen@redhat.com>
728
729         * gtk/gtkfilesystemunix.c: Maintain a hash table
730         of live handles and check that we have no outstanding
731         handles at finalization time. (Copying what
732         Federico did for gtkfilesystemgnomevfs.c)
733
734 2007-08-22  Matthias Clasen  <mclasen@redhat.com> 
735
736         * Branch for 2.10
737