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