]> Pileus Git - ~andy/gtk/blob - ChangeLog
Don't ignore reverse portrait option when is selected in page setup
[~andy/gtk] / ChangeLog
1 2006-12-24  Carlos Garcia Campos  <carlosgc@gnome.org>
2
3         * gtk/gtkpagesetupunixdialog.c: Don't ignore reverse portrait option
4         when is selected in page setup dialog. Fixes bug #365047.
5
6 2006-12-24  Behdad Esfahbod  <behdad@gnome.org>
7
8         * gtk/gtkentry.c (_gtk_entry_effective_inner_border):
9         Use gtk_border_free when freeing border.
10
11 2006-12-24  Matthias Clasen  <mclasen@redhat.com>
12
13         * gtk/gtkentry.c (gtk_entry_button_press): When
14         shift-clicking, keep the larger part of the selection
15         selected.  (#353709, Benjamin Otte)
16
17         * gtk/gtkbutton.c (gtk_button_get_props): Use 
18         gtk_border_free when freeing borders.
19
20         * gtk/gtkbutton.c (gtk_button_grab_notify): Be more
21         careful when faking a button release.  (#323146,
22         Travis Abbott)
23
24         * gtk/gtkhandlebox.c (draw_textured_frame): Draw the
25         handle with the right orientation, depending on the
26         position of the handlebox.  (#159764, Benjamin Berg)
27
28 2006-12-24  Behdad Esfahbod  <behdad@gnome.org>
29
30         * gtk/gtkstyle.c (gtk_border_copy), (gtk_border_free): Use gslice for
31         GtkBorder (#383557).
32
33 2006-12-24  Behdad Esfahbod  <behdad@gnome.org>
34
35         Bug 340141 – Update to Pango 1.16 API
36
37         * gdk/gdkpango.c (layout_iter_get_line_clip_region),
38         (gdk_pango_layout_line_get_clip_region):
39         * gtk/gtkcalendar.c (gtk_calendar_size_request):
40         * gtk/gtkentry.c (gtk_entry_get_pixel_ranges),
41         (get_layout_position), (gtk_entry_find_position),
42         (gtk_entry_adjust_scroll):
43         * gtk/gtkiconview.c (get_pango_text_offsets):
44         * gtk/gtklabel.c (get_cursor_direction):
45         * gtk/gtkstyle.c (get_insensitive_layout):
46         * gtk/gtktextdisplay.c (render_para):
47         * gtk/gtktextlayout.c (allocate_child_widgets),
48         (find_display_line_below), (find_display_line_above),
49         (gtk_text_layout_move_iter_to_previous_line),
50         (gtk_text_layout_move_iter_to_next_line),
51         (gtk_text_layout_move_iter_to_line_end),
52         (gtk_text_layout_iter_starts_line),
53         (gtk_text_layout_move_iter_to_x):
54         * gtk/gtktextutil.c (limit_layout_lines):
55         Use the _readonly version of pango_layout_iter_get_line(),
56         pango_layout_iter_get_run(), pango_layout_get_line(), and
57         pango_layout_get_lines().
58
59         * gtk/gtkmain.c (gtk_get_default_language): Use
60         pango_get_default_language().
61
62 2006-12-24  Matthias Clasen  <mclasen@redhat.com>
63
64         * gtk/gtkentry.c (gtk_entry_set_text): Emit changed
65         and notify:text only once. The same fix was applied
66         for replacing the selection via DND or copy-and-paste.
67         (#64998, Damon Chaplin, Sven Herzberg)
68
69 2006-12-23  Matthias Clasen  <mclasen@redhat.com>
70
71         * gtk/gtkimmulticontext.c: Be careful to not override
72         GTK+ translations with the translations of the input
73         method.  (#317080, Tor Lillqvist)
74
75         * modules/input/imcedilla.c: Use standard macros
76         for translation domain and locale dir.
77
78         * gtk/gtkimcontextsimple.c: Allow composing l with 
79         stroke.  (#349638, Daniel Lublin)
80
81         * gtk/gen-paper-names.c: Fix a thinko in the suffix
82         calculation.  (#382369, Christian Persch)
83
84         * gtk/paper_names_offsets.c: Regenerated.
85
86 2006-12-22  Matthias Clasen  <mclasen@redhat.com>
87
88         * modules/engines/pixbuf/pixbuf.h:
89         * modules/engines/pixbuf/pixbuf-rc-style.h:
90         * modules/engines/pixbuf/pixbuf-style.h: Move 
91         G_GNUC_INTERNAL before function declarations.  (#352276,
92         Damien Carbery)
93
94 2006-12-22  Matthias Clasen  <mclasen@redhat.com>
95
96         * demos/gtk-demo/*.c: Fix some leaks.  (#348108, Chris
97         Wilson)
98
99 2006-12-22  Matthias Clasen  <mclasen@redhat.com>
100
101         * *.c: Replace a lot of idle and timeout calls by
102         the new gdk_threads api. 
103
104         * gdk/gdk.symbols:
105         * gdk/gdk.h:
106         * gdk/gdk.c: Add functions to allow threadsafe handling
107         of idles and timeouts wrt. to the GDK lock.  (#321886,
108         Chris Wilson)
109         
110 2006-12-22  Matthias Clasen  <mclasen@redhat.com>
111         
112         * gdk/gdkpango.c: Use pango_cairo_show_error_underline.  
113         (#340141, Behdad Esfahbod)
114
115         * configure.in: Check for getc_unlocked.
116
117         * gtk/xdgmime/xdgmimemagic.c: Use getc if getc_unlocked is
118         unavailable.   (#381499)
119
120         * tests/teststatusicon.c: Fix a typo
121
122 2006-12-22  Matthias Clasen  <mclasen@redhat.com>
123
124         Make it possible to track the embeddedness of
125         statusicon (#387215, Martyn Russell, patch by Christian
126         Persch)
127
128         * gtk/gtkstatusicon.c: Add orientation and embedded properties.
129         * gtk/gtkplug.c: 
130         * gtk/gtkplug-x11.c: Add an embedded property.
131         * tests/teststatusicon.c: Test the new properties.
132
133         * gtk/gtkwidget.c (gtk_widget_get_draw_rectangle): Don't
134         leak draw_border.  (#387170, Kjartan Maraas)
135
136 2006-12-21  Matthias Clasen  <mclasen@redhat.com>
137
138          * gtk/gtkfilechooserembed.c (_gtk_file_chooser_embed_set_delegate()):
139         Typo fix.  (#388123, Murray Cumming)
140         
141         * gdk/x11/gdkinput-x11.c (_gdk_input_common_other_event):
142         Generate double-click events.  (#380421, Tommi Komulainen)
143
144         * gdk/x1/gdkinput-xfree.c (_gdk_input_configure_event):
145         (_gdk_input_enter_event): Correct return_if_fail checks.
146         (#379803, Tommi Komulainen)
147
148         * gdk/gdkdisplay.c: Improve the docs of some functions operating
149         on the default display.  (##353438, Mariano Suárez-Alvarez)
150
151 2006-12-21  Matthew Barnes  <mbarnes@redhat.com>
152
153         * docs/reference/gdk/gdk-sections.txt:
154         * gdk/gdkcolor.[ch] (gdk_color_to_string): Add a function for
155         converting a GdkColor to a string (#373856).
156
157         * configure.in: Bump pango requirement to 1.15.2.
158
159 2006-12-20  Matthias Clasen  <mclasen@redhat.com>
160         
161         * gdk/keynames.txt: Mark arrow keys as translatable.  (#369506,
162         Bastian Nocera)
163
164         * gdk/keyname-table.h: Regenerated
165
166         * gtk/gtktextbuffer.c: Add signal documentation.  (#317064,
167         Søren Wedel Nielsen)
168
169         * gtk/gtktextview.c (gtk_text_view_start_selection_drag):
170         Silently return if a drag is already in progress, rather
171         than asserting.  (#335622, Li Yuan, testcase by Erwann Chenede)
172
173         * gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_new_with_dialog):
174         Allow any GtkDialog that implements GtkFileChooser as
175         dialog.  (#335473, Tommi Komulainen)
176
177 2006-12-20  Mikael Hallendal  <micke@imendio.com>
178
179         * gtk/gtkstatusicon.c: (gtk_status_icon_init): Fixed a last minute
180         change in the quartz backend.
181
182 2006-12-20  Mikael Hallendal  <micke@imendio.com>
183
184         * gtk/Makefile.am: Added gtkstatusicon-quartz.c
185         * gtk/gtkstatusicon-quartz.c: Implements the quartz backend for the
186         status icon.
187         * gtk/gtkstatusicon.c: Hooked in the new quartz backend. Bug #387874.
188
189 2006-12-19  Matthias Clasen  <mclasen@redhat.com>
190
191         * gtk/gtkprintunixdialog.c: Add a tooltip explaining the
192         format of page ranges, and improve the page sequence icon
193         for the case of n_copies == 1.
194  
195 2006-12-19  Mikael Hallendal  <micke@imendio.com>
196
197         * gdk/quartz/gdkcursor-quartz.c: Splitted out the GdkPixbuf to NSImage
198         routine so that it can be used from libgtk as well (needed for
199         upcoming GtkStatusIcon support in the Quartz port).
200         * gdk/quartz/gdkevents-quartz.c: Don't assume that all NSWindows are
201         created from GDK, this is not true for the status icon.
202         * gdk/quartz/gdkprivate-quartz.h:
203         * gdk/quartz/gdkquartz.h: Added 
204         gdk_quartz_pixbuf_to_ns_image_libgtk_only so that it is available to 
205         the status icon code.
206
207 2006-12-16  Tristan Van Berkom <tvb@gnome.org>
208
209         * gtk/gtkmessagedialog.c: Added return_if_fail (image) to
210         gtk_message_dialog_set_image ()
211
212         * gtk/gtkscrolledwindow.c: Fixed a bug in set_property()
213         (setting "window-placement-set" could result in a crash because
214         of boolean/enum mixup)
215
216 2006-12-15  Federico Mena Quintero  <federico@novell.com>
217
218         Merged from gtk-2-10:
219
220         * gtk/gtkmenu.c (gtk_menu_set_title): Don't try to optimize for
221         the case where the new title is the same as the old title, to
222         preserve the behavior from GTK+ 2.8 (NULL and "" titles are not
223         equivalent).  Handle the case where title == priv->title.  This
224         was found by the LSB compatibility tests:
225         https://bugzilla.novell.com/show_bug.cgi?id=223882
226
227 2006-12-15  Dom Lachowicz <domlachowicz@gmail.com>
228
229         * gtk/gtkcombobox.c: Make GtkComboBox in "appears-as-list" mode
230         more closely resemble its Win32 counterpart. Bug #340204.
231
232 2006-12-14  Carlos Garnacho  <carlosg@gnome.org>
233
234         * gtk/gtkcalendar.c: draw arrows pointing to the right correctly
235         placed inside their GdkWindow. Bug #385672.
236
237 2006-12-14  Christian Persch  <chpe@cvs.gnome.org>
238
239         * gtk/gtkiconview.c: Fix docs typo. Bug #385642.
240
241 2006-12-13  Dom Lachowicz <domlachowicz@gmail.com>
242
243         * src/modules/engines/ms-windows/msw_style.c: Bug 351679 - Notebooks 
244         drawn with extra line below tab in MS-Windows theme. Patch by 
245         Cody Russell
246         
247 2006-12-13  Matthias Clasen  <mclasen@redhat.com>
248
249         * gtk/Makefile.am: Add --unlink-tempfile to the evince call
250         for print preview.  (#370041, Ghee Teo)
251
252 2006-12-11  Matthias Clasen  <mclasen@redhat.com>
253
254         * gtk/gtkprogressbar.c (gtk_progress_bar_paint_text): Be more
255         careful when overdrawing antialiased text.  (#352435, Alex Jones,
256         patch by Benjamin Otte)
257
258         * gtk/gtksettings.c: Change the way in which color scheme information
259         is merged to correctly handle vanishing colors.  (#374420, 
260         Benjamin Berg, patch by Callum McKenzie) 
261         Also allow to separate entries in color schemes by ';' 
262         instead of newline.  
263
264 2006-12-10  Matthias Clasen  <mclasen@redhat.com>
265
266         * modules/printbackends/cups/gtkcupsutils.c (gtk_cups_request_encode_option): 
267         Properly pass multi-value options to cups.  (#355350, Jürg Billeter) 
268
269 2006-12-10  Kristian Rietveld  <kris@gtk.org>
270
271         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_focus_out_event):
272         cancel editing (ie. don't accept changes) when the entry loses
273         focus. (Fixes #164494, reported by Chris Rouch).
274
275 2006-12-10  Matthias Clasen  <mclasen@redhat.com>
276
277         * configure.in: Correct a misapplied patch. 
278
279 2006-12-10  Tor Lillqvist  <tml@novell.com>
280
281         * gtk-zip.sh.in: Put gdk-pixbuf-query-loaders.exe and
282         gtk-query-immodules-2.0.exe in the runtime zipfile instead of
283         developer zipfile. Users might add pixbuf loaders or immodules
284         even if they are not interested in developing gtk+-using software.
285
286 2006-12-10  Matthias Clasen  <mclasen@redhat.com>
287
288         * configure.in: Check for crt_extern.h and _NSGetEnviron.
289         * gdk/x11/gdkspawn-x11.c: Fix compilation on Darwin where
290         environ is not available.  (#384168, Min Sik Kim)
291
292 2006-12-07  Paolo Maggi  <paolo@gnome.org>
293
294         Fixes bug #383407
295         
296         * gtk/gtkentry.c (gtk_entry_set_text): check for
297         completion->priv->changed_id > 0 before calling 
298         g_signal_handler_[un]block.
299         (gtk_entry_completion_key_press): does not block/unblock the "changed"
300         signal before calling gtk_entry_set_text.
301         
302 2006-12-07  Carlos Garnacho  <carlosg@gnome.org>
303
304         * gtk/gtkcellrendererprogress (compute_dimensions): do not use
305         xthickness/ythickness, they aren't used any longer for drawing.
306
307 2006-12-07  Matthias Clasen  <mclasen@redhat.com>
308
309         * gtk/gtkrc.c (_gtk_rc_init): Fix clipping of accelerator
310         underlines by giving labels a small draw-border.
311
312 2006-12-06  Kristian Rietveld  <kris@gtk.org>
313
314         * gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_render):
315         draw progress bar through theme engine instead of using our own
316         custom cairo drawing code (#377244, patch from Carlos Garnacho).
317
318 2006-12-06  Matthias Clasen  <mclasen@redhat.com>
319
320         * gtk/gtkprintunixdialog.c (update_dialog_from_capabilities):
321         Update the sensitivity of the collate checkbutton more frequently,
322         proposed by Tim Waugh.
323
324 2006-12-04  Matthias Clasen  <mclasen@redhat.com>
325
326         * gtk/gtkmessagedialog.c (setup_type): Set a11y name and role
327         since we no longer set window titles.
328
329 2006-12-04  Christian Persch  <chpe@cvs.gnome.org>
330
331         * gtk/gtkpagesetup.c: (gtk_page_setup_get_paper_size),
332         (gtk_page_setup_set_paper_size): Don't leak the old page size when
333         setting a new one. Bug #382314.
334
335 2006-12-03  Michael Natterer  <mitch@gimp.org>
336
337         * gtk/gtktextview.c: remove FIXME #include that is no longer needed.
338
339 2006-12-03  Kristian Rietveld  <kris@gtk.org>
340
341         Make sure [xy]_offset are always being initialized, fix pixbuf
342         renderer padding.  (#108235, Sven Neumann).
343
344         * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_get_size),
345         (gtk_cell_renderer_pixbuf_render): add padding in _render instead
346         of _get_size.
347
348         * gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_get_size):
349         always initialize [xy]_offset.
350         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_get_size): ditto.
351         * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_get_size):
352         ditto.
353
354 2006-12-03  Kristian Rietveld  <kris@gtk.org>
355
356         * gtk/gtktreeview.c (validate_visible_area): when not using an
357         explicit alignment, use the full area of the row (not just dy)
358         to determine how to implicitly align it.  (Fixes #363191, reported
359         by Federico Mena Quintero).
360
361 2006-12-02  Matthias Clasen  <mclasen@redhat.com>
362
363         * gtk/gtkicontheme.c (insert_theme): Properly clean up
364         if an icon theme index file has no directories.  (#381236)
365
366 2006-12-02  Dom Lachowicz <domlachowicz@gmail.com>
367
368         * src/modules/engines/ms-windows/msw_style.c: Bug 351678 - Notebooks 
369         not with PositionType.Top drawn incorrectly. Patch by Cody Russell
370         
371 2006-11-28  Behdad Esfahbod  <behdad@gnome.org>
372
373         Remove the broken Thai input method and add a functional Thai and Lao
374         input method by Theppitak Karoonboonyanan. (#81031)
375
376         * modules/input/imthai.c:
377         * modules/input/gtkimcontextthai.c:
378         * modules/input/gtkimcontextthai.h:
379         * modules/input/thai-charprop.c:
380         * modules/input/thai-charprop.h:
381         Added.
382
383         * modules/input/imthai-broken.c:
384         Removed.
385         
386         * modules/input/Makefile.am:
387         Updated.
388
389 2006-11-27  Christian Persch  <chpe@cvs.gnome.org>
390
391         * gtk/gtkstatusicon.c: Notify when the screen changes. Bug #379793.
392
393 Mon Nov 27 12:27:06 2006  Tim Janik  <timj@imendio.com>
394
395         * gtk/gtktextview.c: applied patch by  Colin Leroy for
396         Control+GDK_KP_Left to move one word to the left, #356255.
397
398 2006-11-26  Benjamin Berg  <benjamin@sipsolutions.net>
399
400         * gtk/gtkstyle.c: (gtk_default_draw_flat_box): Protect against NULL
401           widget. (#379503)
402
403 2006-11-25  Matthias Clasen  <mclasen@redhat.com>
404
405         * modules/printbackends/cups/gtkprintbackendcups.c: Make
406         print dialog work when 'BrowseShortNames Off' is specified
407         in cups configuration. Patch by Tim Waugh.
408
409 2006-11-24  Michael Natterer  <mitch@imendio.com>
410
411         * gtk/gtktreeview.c (gtk_tree_view_move_cursor_up_down): if we
412         can't go up/down, consult gtk_widget_keynav_failed() and leave the
413         widget if it returns FALSE (bug #322640).
414
415 2006-11-23  Behdad Esfahbod  <behdad@gnome.org>
416
417         * gtk/gtkmain.c: Fix minor typo in docs. (#378632, Hannes Mueller)
418
419 2006-11-22  Emmanuele Bassi  <ebassi@gnome.org>
420
421         * gtk/gtkrecentmanager.c:
422         (get_uri_shortname_for_display): g_filename_from_uri() might
423         fail; catch the failure and fall back to the non-local URI
424         case. (#363437)
425
426 2006-11-19  Mark McLoughlin  <mark@skynet.ie>
427
428         Fixes bug #376502 - multi-screen support for GtkStatusIcon
429
430         * gtk/gtkstatusicon.[ch]:
431         (gtk_status_icon_set_screen),
432         (gtk_status_icon_get_screen): add multi-screen API. Allows
433         an app to display an icon on a non-default screen
434         (gtk_status_icon_class_init),
435         (gtk_status_icon_set_property),
436         (gtk_status_icon_get_property): add a "screen" property
437         
438         * tests/teststatusicon.c: update to test on multiple screens
439
440 2006-11-17  Matthias Clasen  <mclasen@redhat.com>
441
442         Fix problems with drag cancellation. (#376535, Michael Natterer)
443         
444         * gtk/gtkdnd.c (gtk_drag_source_info_destroy): Disconnect signal
445         handlers before emitting drag-end.
446         (gtk_drag_end): Disconnect signal handlers before removing
447         the grab.  
448
449 2006-11-16  Mariano Suárez-Alvarez <mariano@gnome.org>
450
451         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init):
452         add gtk-doc blurb on GtkCellRendererText::edited (#376094)
453
454 2006-11-16  Michael Natterer  <mitch@imendio.com>
455
456         * gtk/gtkradiobutton.c (gtk_radio_button_focus): don't use
457         gtk_widget_keynav_failed(). Instead, look at gtk-keynav-cursor-only
458         and gtk-keynav-wrap-around and wrap around, beep or continue outside
459         the group manually (bug #322640).
460
461 2006-11-16  Michael Natterer  <mitch@imendio.com>
462
463         Add new infrastructure for notifications of failed keyboard
464         navigation and navigation with restricted set of keys.
465
466         The patch handles configurable beeping, navigating the GUI with
467         cursor keys only (as in phone environments), and configurable
468         wrap-around. Fixes bugs #322640, #70986, #318827, #334726, #334742
469         and #309291.
470
471         * gtk/gtksettings.c: added properties gtk-keynav-cursor-only,
472         gtk-keynav-wrap-around and gtk-error-bell.
473
474         * gtk/gtkwidget.[ch]: added new signal "keynav-failed" and public
475         API to emit it. Added New function gtk_widget_error_bell() which
476         looks at the gtk-error-bell setting and calls gdk_window_beep()
477         accordingly.
478
479         * gtk/gtk.symbols: add the new widget symbols.
480
481         * gtk/gtkcellrendereraccel.c
482         * gtk/gtkimcontextsimple.c
483         * gtk/gtkmenu.c
484         * gtk/gtknotebook.c: use gtk_widget_error_bell() or look at the
485         gtk-error-bell setting instead of calling gdk_display_beep()
486         unconditionally.
487
488         * gtk/gtkcombobox.c
489         * gtk/gtkentry.c
490         * gtk/gtkiconview.c
491         * gtk/gtklabel.c
492         * gtk/gtkmenushell.c
493         * gtk/gtkspinbutton.c
494         * gtk/gtktextview.c
495         * gtk/gtktreeview.c: call gtk_widget_error_bell() on failed keynav.
496
497         * gtk/gtkentry.c
498         * gtk/gtklabel.c
499         * gtk/gtkrange.c
500         * gtk/gtktextview.c: consult gtk_widget_keynav_failed() on failed
501         cursor navigation and leave the widget if it returns FALSE.
502
503         * gtk/gtkmenushell.c
504         * gtk/gtknotebook.c: only wrap around if gtk-keynav-wrap-around
505         is TRUE.
506
507         * gtk/gtkradiobutton.c: ask gtk_widget_keynav_failed() to decide
508         whether to to wrap-around, and don't select active items on cursor
509         navigation if gtk-keynav-cursor-only is TRUE. Should look at
510         gtk-keynav-wrap-around too, will look into that.
511
512 2006-11-16  Emmanuele Bassi  <ebassi@gnome.org>
513
514         * gtk/gtkrecentmanager.c:
515         (gtk_recent_info_get_uri_display): Return the URI
516         of the GtkRecentInfo object (upgraded to UTF-8 if
517         needed) in case of non-local file. (#351945)
518
519 2006-11-16  Emmanuele Bassi  <ebassi@gnome.org>
520         
521         * gtk/gtkrecentchoosermenu.c:
522         (gtk_recent_chooser_menu_add_tip): Apply the tip only
523         if we have a displayable name for the item. (#365031,
524         patch by padraig.obriain(at)sun.com)
525
526 2006-11-16  Emmanuele Bassi  <ebassi@gnome.org>
527
528         * gtk/gtkrecentmanager.c: Provide a fast path returning
529         NULL when the limit is set to 0.
530
531         * gtk/gtkrecentchooserdefault.c:
532         * gtk/gtkrecentchoosermenu.c: Add the same fast path
533         inside the RecentChooser implementation; add a check
534         in the list clamping code. (#373466 and duplicates)
535
536 2006-11-15  Matthias Clasen  <mclasen@redhat.com>
537
538         * modules/printbackends/cups/gtkprintbackendcups.c (cups_printer_get_options): 
539         Don't pass NULL to strncpy.  (#359537, patch by  Carlos Garcia Campos)
540
541 2006-11-15  Michael Natterer  <mitch@imendio.com>
542
543         * gtk/gtkrange.[ch]: added properties "fill-level",
544         "show-fill-level" and "restrict-to-fill-level" and getters/setters
545         for them. The "fill level" is an additional marker on the range's
546         trough than can be e.g. used to indicate the amount of
547         pre-buffering in a range showing the play position of streamed
548         media. See the embedded API docs for details. Made GtkRangeLayout
549         a GTypeInstance private struct and removed finalize()
550         implementation. Fixes bug #349808
551
552         * gtk/gtk.symbols: added the new symbols.
553
554 2006-11-14  Behdad Esfahbod  <behdad@gnome.org>
555
556         * configure.in: Make libtool magic robust. (#352795)
557
558 2006-11-13  Paolo Borelli  <pborelli@katamail.com>
559
560         * gtk/gtkrc.c (gtk_rc_parse_icon_source): plug small memory
561         leak (#370395)
562
563 2006-11-09  Kristian Rietveld  <kris@imendio.com>
564
565         * gtk/gtktreeview.c (gtk_tree_view_move_cursor_up_down): disable
566         don't move cursor case for SELECTION_NONE. (#371756, John Ellis).
567
568 2006-11-09  Carlos Garnacho  <carlosg@gnome.org>
569
570         * gtk/gtkpathbar.c (on_slider_unmap): Fix parenthesis confusion.
571
572 2006-11-08  Carlos Garnacho  <carlosg@gnome.org>
573
574         * gtk/gtkpathbar.c (on_slider_unmap): added, do not leave the scroll
575         timeout running if the slider buttons are hidden. (#372527)
576
577 2006-11-08  Christian Persch  <chpe@cvs.gnome.org>
578
579         * gtk/gtkfilechooserdefault.c (browse_widgets_create): Don't make
580         the "Location" label bold. Bug #372449.
581
582 2006-11-07  Carlos Garnacho  <carlosg@gnome.org>
583
584         * gtk/gtknotebook.c (gtk_notebook_calculate_tabs_allocation): make
585         non-focused tabs xthickness/ythickness thinner. (#353962)
586
587 2006-11-07  Paolo Borelli  <pborelli@katamail.com>
588
589         * gtk/gtktextbtree.c (_gtk_text_btree_delete): avoid memory
590         corruption (#357050).
591
592 2006-11-06  Alexander Larsson  <alexl@redhat.com>
593
594         * gtk/gtkdnd.c: (gtk_drag_begin_internal),
595         (gtk_drag_source_info_destroy), (gtk_drag_end),
596         (gtk_drag_grab_notify_cb):
597         Cancel drag when the grab is shadowed. (#122688)
598
599 2006-11-01  Kristian Rietveld  <kris@imendio.com>
600
601         * gtk/gtkcombobox.c (gtk_combo_box_class_init),
602         (gtk_combo_box_size_request): add arrow-size property to control
603         the minimum size of the arrow, have the arrow scale up with the
604         font by default. (#357950).
605
606 2006-10-30  Kristian Rietveld  <kris@gtk.org>
607
608         * gtk/gtktreeview.c (gtk_tree_view_move_cursor_page_up_down): don't
609         forget to queue a draw for the new cursor node. (Fixes #366548,
610         reported by Sven Herzberg).
611
612 2006-10-30  Michael Natterer  <mitch@imendio.com>
613
614         * gtk/gtkrange.c (gtk_range_key_press): consume the Escape key
615         only if we actually cancel a drag. Fixes bug #58389.
616
617 2006-10-30  Kristian Rietveld  <kris@gtk.org>
618
619         * gtk/gtktreeview.c (gtk_tree_view_class_init): change left/right
620         keybindings to collapse/expand rows instead of moving the focus
621         cursor. (#105895, Brian Bober and others).
622
623 2006-10-29  Kristian Rietveld  <kris@gtk.org>
624
625         * gtk/gtktreeview.c (gtk_tree_view_real_expand_row): guard against
626         child removal in row-expanded callback. (#366782, John Ellis).
627
628 2006-10-29  Tor Lillqvist  <tml@novell.com>
629
630         * gdk/win32/gdkwindow-win32.c (RegisterGdkClass): Improve handling
631         of the small icon of the window class. (#152620, Kazuki Iwamoto)
632
633 2006-10-29  Tor Lillqvist  <tml@novell.com>
634
635         * gdk/win32/gdkcursor-win32.c
636         (gdk_win32_icon_to_pixbuf_libgtk_only): Implement for B&W cursors,
637         for instance the built-in GDK ones.
638
639 2006-10-27  Kristian Rietveld  <kris@gtk.org>
640
641         * gtk/gtktreeview.c (validate_visible_area): rework the area_above == 0
642         case to not overwrite the variables in the lower scope (which are
643         used later on ...), get the path correctly and bail out when there
644         isn't a node above us. (#359231).
645
646 2006-10-26  Christian Persch  <chpe@cvs.gnome.org>
647
648         * gtk/gtkaboutdialog.c: Put initial focus on Close button (#337261).
649
650 2006-10-25  Johan Dahlin  <jdahlin@async.com.br>
651
652         * gtk/gtk.symbols: Add missing symbols to so make check can pass
653
654 2006-10-23  Dom Lachowicz <domlachowicz@gmail.com>
655
656         * src/modules/engines/ms-windows/msw_style.c (draw_expander): Remember
657         to free GDI Pen resources, introduced by bug 340201.(#364514)
658         
659 2006-10-18  Kristian Rietveld  <kris@imendio.com>
660
661         * tests/testcombo.c (main): connect to notify::popup-shown instead of
662         popup-show (the latter does not exist).
663
664 2006-10-15  Paolo Borelli  <pborelli@katamail.com>
665
666         * gtk/gtkicontheme.c (pixbuf_supports_svg): plug memory leak.
667         Fixes bug #362439.
668
669 2006-10-12  Michael Natterer  <mitch@imendio.com>
670
671         * gtk/gtkcombobox.c (gtk_combo_box_class_init): fix commit below
672         (committed the wrong patch).
673
674 2006-10-12  Michael Natterer  <mitch@imendio.com>
675
676         * gtk/gtkcombobox.c: added "move-active" and "popup" signals and
677         bindings to trigger them. Removed gtk_combo_box_key_press(), it's
678         obsolete now. Fixes bug #358293.
679
680 2006-10-11  Michael Emmel  <mike.emmel@gmail.com>
681
682         * gdkpixmap-directfb.c: add missing RGB24 case (#361176) 
683
684 2006-10-11  Tor Lillqvist  <tml@novell.com>
685
686         * configure.in: Enable having some gdk-pixbuf loaders built-in
687         even if loading the others dynamically. Define Automake
688         conditional INCLUDE_FOO for each loader as TRUE if that loader is
689         built-in. See also gdk-pixbuf/ChangeLog.
690
691 Wed Oct 11 14:31:30 2006  Tim Janik  <timj@imendio.com>
692
693         * docs/reference/gtk/gtk-sections.txt:
694         * gtk/gtkbindings.c: document gtk_binding_entry_skip().
695
696 2006-10-11  Tor Lillqvist  <tml@novell.com>
697
698         * gtk/gtk.symbols: Remove gtk_combo_string_key, which is a static
699         variable.
700
701 2006-10-11  Tor Lillqvist  <tml@novell.com>
702
703         Merge from 2.10 branch:
704
705         * gtk/gtkmain.c (do_pre_parse_initialization): On Win32, if
706         environment variable LC_ALL or LANG is set, set the Win32 thread
707         locale to the corresponding locale. Then call the C library
708         setlocale() to set the C library locale accordingly. The
709         inconsistency mentioned below is gone. (#339756) Do some special
710         casing for Serbia and Montenegro. Handle the Latin and Cyrillic
711         scripts for Azeri, Uzbek and Serbian.
712         (enum_locale_proc): Helper function for the above functionality.
713
714         * gtk/gtkcalendar.c (gtk_calendar_init): No longer need to check
715         if the environment variables are set here, as they have already
716         been taken into account and the Win32 thread locale has been
717         set.
718
719 Tue Oct 10 16:38:23 2006  Tim Janik  <timj@imendio.com>
720
721         * gtk/tmpl/gtkbindings.sgml: 
722         * gtk/gtkbindings.c: applied patch from Michael Natterer to move to 
723         inline docs. applied wording fixes suggested by Martyn Russell.
724
725 2006-10-09  Matthias Clasen  <mclasen@redhat.com>
726
727         * gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state):
728         Update the docs to state which out parameters may be NULL.
729         (#360870, Attilio Fiandrotti)
730
731 2006-10-08  Matthias Clasen  <mclasen@redhat.com>
732
733         * gtk/gtkprintunixdialog.c (update_dialog_from_capabilities): Fix
734         a typo.  (#359542, Ghee Teo)
735
736 2006-10-08 Matthias Clasen <mclasen@redhat.com>
737
738         * gtk/gtknotebook.c (gtk_notebook_reorder_tab): Only
739         reorder tabs if the focus is in the tab.  (#350342, Carlos
740         Garnacho Parro)
741
742 2006-10-08 Michael Emmel <mike.emmel@gmail.com>
743
744         * gdk/directfb/gdkproperty-directfb.c strdup atom name (#357611) 
745
746 2006-10-08  Kristian Rietveld  <kris@gtk.org>
747
748         * gtk/gtktreeview.[ch] (gtk_tree_view_set_property),
749         (gtk_tree_view_set_show_expanders),
750         (gtk_tree_view_get_show_expanders): add getter/setter for
751         show-expanders property, queue a redraw when this property
752         is toggled (#351167, Martin Ejdestig),
753         (gtk_tree_view_set_level_indentation),
754         (gtk_tree_view_get_level_indentation): also add getter/setter
755         and docs for level-indentation property.
756
757 2006-10-08  Matthias Clasen  <mclasen@redhat.com>
758
759         * gtk/gtkradiobutton.c (gtk_radio_button_focus): Don't 
760         leak a list.  (#360350, Benjamin Berg)
761
762         * Apply a cleanup patch by Kjartan Maraas  (#341812)
763
764 2006-10-07  Tor Lillqvist  <tml@novell.com>
765
766         * gtk/gtkcalendar.c (gtk_calendar_init): Use the Win32 thread
767         locale's first day of week setting on Win32. (#339752, Bogdan
768         Nicula) Don't do this if one of the environment variables that
769         affect gettext is set, though. In that case use the week start day
770         from the corresponding message catalog.
771
772         Unfortunately the same logic isn't possible in the weekday and
773         month name lookup; there even if you have set one of the
774         aforementioned environment variables, you still get the weekday
775         and month names from the Win32 thread locale. Yes, this is
776         inconsistent.
777
778         Use only wide-character API in the Win32 code in this file, too.
779
780 2006-10-06  Matthias Clasen  <mclasen@redhat.com>
781
782         * gtk/gtkfilechooser.c (gtk_file_chooser_set_select_multiple):
783         Fix the docs.  (#360112)
784
785         * gtk/gtkcellview.c: Don't set the background of the
786         window in a no-window widget.  (#359581, Xan Lopez)
787
788
789 2006-10-05  Behdad Esfahbod  <behdad@gnome.org>
790
791         * gtk/Makefile.am, gtk/aliasfilescheck.sh:  Propagate srcdir into the
792         test correctly. (#359845)
793
794 2006-10-05  Michael Natterer  <mitch@imendio.com>
795
796         * gtk/gtkrc.[ch]: added new scanner token "unbind" which gets
797         rid of a key binding (in fact, it only lets it appear unbound).
798
799         * gtk/gtkbindings.[ch] (struct GtkBindingEntry): added
800         "guint marks_unbound : 1"
801
802         (gtk_binding_entry_skip): new API which marks the entry as unbound.
803
804         Changed code so it returns FALSE when "marks_unbound == TRUE" is
805         encountered while activating bindings, effectively letting the
806         binding appear unbound (regardless of still existing bindings in
807         lower binding priority levels). Fixes bug #358329.
808
809         (gtk_binding_entry_add)
810         (gtk_binding_entry_clear)
811         (gtk_binding_entry_add_signall)
812         (gtk_binding_parse_binding): deprected these functions.
813
814         (_gtk_binding_parse_binding)
815         (_gtk_binding_entry_add_signall): new internal API.
816
817         * gtk/gtk.symbols: changed accordingly.
818
819 2006-10-03  Matthias Clasen  <mclasen@redhat.com>
820
821         Fix interaction of GtkEntryCompletion with input
822         methods.  (#354495, Diego Escalante Urrelo)
823
824         * gtk/gtkentry.c (gtk_entry_completion_key_press): Only reset
825         the im context if we actually handle the key event.
826
827         * gtk/gtkentrycompletion.c: Also propagate key release events
828         to the entry.
829
830 2006-10-03  Matthias Clasen  <mclasen@redhat.com>
831
832         * gtk/gtkprintsettings.c (gtk_print_settings_get_duplex):
833         Fix a typo.  (#359052, Ghee Teo)
834
835         * gtk/*.c, gdk/*.c: Apply a patch by Behdad Esfahbod to
836         reduce relocations. (#359053)
837
838 2006-10-03  Matthias Clasen  <mclasen@redhat.com>
839
840         * modules/printbackends/cups/gtkcupsutils.c:
841         * modules/printbackends/cups/gtkprintbackendcups.c: Complete
842         the fix for bug 357280.
843
844 2006-10-02  Behdad Esfahbod  <behdad@gnome.org>
845
846         * gdk-pixbuf/Makefile.am:
847         * gdk/Makefile.am:
848         * gtk/Makefile.am:
849         Include pltcheck.sh in EXTRA_DIST.
850
851 2006-10-02  Behdad Esfahbod  <behdad@gnome.org>
852
853         * gdk/x11/gdkevents-x11.c: Move all includes before including
854         gdkalias.h.
855
856 2006-10-02  Behdad Esfahbod  <behdad@gnome.org>
857
858         * gtk/Makefile.am: Fix typo in file name.  (#358931)
859
860 2006-10-02  Matthias Clasen  <mclasen@redhat.com>
861
862         * modules/printbackends/cups/gtkprintbackendcups.c (available_choices): 
863         Only use the group name field if cups is new enough.  (#357280)
864
865         * gtk/gtksizegroup.c: Make sure that the quarks are 
866         initialized before using them.  (#353736)
867
868         * gtk/Makefile.am (stamp-icons): Use rm instead of ln -f to
869         replace existing links.  (#354849, James Evans)
870
871 2006-10-01  Matthias Clasen  <mclasen@redhat.com>
872
873         * gtk/gtkexpander.c (gtk_expander_realize) 
874         (gtk_expander_size_allocate): Make the event_window large
875         enough to cover the full height of the label_widget.  (#358351,
876         Scott Horowitz)
877
878 2006-10-01  Tor Lillqvist  <tml@novell.com>
879
880         * gtk/gtkfilesystemwin32.c: Same change as to gtkfilesystemunix.c.
881
882 2006-09-30  Matthias Clasen  <mclasen@redhat.com>
883
884         * gtk/gtkfilechooserbutton.c (update_combo_box): Protect
885         against base_path being NULL.  (#358405, many reporters)
886
887 2006-09-29  Matthias Clasen  <mclasen@redhat.com>
888
889         * gtk/gtkfilesystemunix.c: Apply a patch by Padraig O'Briain
890         to avoid a deadlock.
891
892 2006-09-27  Kristian Rietveld  <kris@imendio.com>
893
894         * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_free_level),
895         (gtk_tree_model_filter_ref_node),
896         (gtk_tree_model_filter_real_unref_node): bring zero ref count loops
897         in sync with each other and the sort model.
898
899 2006-09-27  Kristian Rietveld  <kris@imendio.com>
900
901         * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_init),
902         (gtk_tree_model_filter_finalize), (gtk_tree_model_filter_row_deleted),
903         (gtk_tree_model_filter_new): unref the virtual root path once that
904         node (or one if its ancestors) is deleted, set virtual_root_deleted
905         so we only unref it once.
906
907 2006-09-27  Kristian Rietveld  <kris@imendio.com>
908
909         * gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_changed),
910         (gtk_tree_model_sort_sort_level): ref count nodes the proper way,
911         (gtk_tree_model_sort_ref_node), (gtk_tree_model_sort_real_unref_node),
912         (gtk_tree_model_sort_free_level): bring zero ref count loops in
913         sync,
914         (gtk_tree_model_sort_free_level): free child levels before
915         decreasing the zero ref count of the current level,
916         (gtk_tree_model_sort_clear_cache): only clear cache if zero_ref_count
917         is > 0.
918
919 2006-09-25  Matthias Clasen  <mclasen@redhat.com>
920
921         * demos/gtk-demo/*.c:
922         * gtk/gtkeventbox.c:
923         * gtk/gtkprintoperation.c: Fix typos. String change.
924
925 2006-09-25  Kristian Rietveld  <kris@gtk.org>
926
927         * gtk/gtktreeview.c (gtk_tree_view_scroll_to_cell): if the tree view
928         has already been realized; scroll to background area instead of
929         cell area. (Fixes #330683, Johan Dahlin, Tommi Komulainen).
930
931 2006-09-25  Kristian Rietveld  <kris@gtk.org>
932
933         * gtk/gtktreeview.c (gtk_tree_view_set_grid_lines): only attempt
934         to create the GCs if the widget is realized. (Fixes #357578).
935
936 2006-09-25  Matthias Clasen  <mclasen@redhat.com>
937
938         * gtk/gtkuimanager.c (_gtk_menu_is_empty): Don't leak
939         the list of children (#357454, Paolo Borelli)
940
941 2006-09-25  Michael Natterer  <mitch@imendio.com>
942
943         * gdk/x11/gdkdisplay-x11.c (gdk_display_x11_finalize): free
944         display->input_windows with g_free(), not g_object_unref()
945         (#357566, Tommi Komulainen).
946
947 2006-09-24  Kristian Rietveld  <kris@gtk.org>
948
949         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init),
950         (gtk_cell_renderer_text_[sg]et_property): actually add align-set
951         property to the API (left-over patch from #157439).
952
953 2006-09-24  Kristian Rietveld  <kris@gtk.org>
954
955         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button): draw
956         the indicator if the column has a sort column id (and the model is
957         sortable) or if the user explicitly requested the indicator
958         to be shown.  (Fixes #352738, Chris Vine).
959
960 2006-09-23  Tor Lillqvist  <tml@novell.com>
961
962         * gtk/Makefile.am: Use EXEEXT.
963
964 2006-09-22  Michael Natterer  <mitch@imendio.com>
965
966         * gtk/gtkstyle.c (gtk_style_real_copy): also copy icon factories
967         and color hashes. Fixes bug #357132.
968
969 2006-09-22  Matthias Clasen  <mclasen@redhat.com>
970
971         Make remote bookmarks work better (#354887)
972         
973         * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): 
974         (shortcuts_insert_path): 
975         * gtk/gtkfilechooserbutton.c (change_icon_theme): 
976         (model_add_bookmarks): 
977         (model_update_current_folder): 
978         (update_label_and_image): 
979         If the bookmark points to a remote file, don't call get_info(), 
980         since that may a) take a long time and b) pop up an auth dialog.
981         Instead, just use a folder icon and create a display name
982         from the uri.
983
984         * gtk/gtkfilechooserdefault.c (_gtk_file_chooser_label_for_uri): 
985         New function to create a suitable display name for a remote
986         uri. This should really be done in GtkFileSystem.
987         
988 2006-09-21  Michael Natterer  <mitch@imendio.com>
989
990        Implement lots of value setters for GdkGC, based on a heavily
991        modified patch from Thomas Broyer (bug #328853):
992
993         * gdk/quartz/gdkcolor-quartz.c: removed functions which set colors
994         on the CGContext. Instead, added gdk_quartz_get_rgba_from_pixel()
995         which simply returns RGBA values from a GdkColor's pixel value.
996         See gdk_quartz_update_context_from_gc() below.
997
998         * gdk/quartz/gdkprivate-quartz.h (struct GdkGCQuartz): added lots
999         of members for the newly suppored GC values. Added enum
1000         GdkQuartzContextValuesMask which is used for setting up the
1001         CGContext for filling and/or stroking.
1002
1003         * gdk/quartz/gdkgc-quartz.c (gdk_quartz_gc_get_values)
1004         (gdk_quartz_gc_set_values)
1005         (_gdk_windowing_gc_copy): support a lot more GC values.
1006
1007         (gdk_quartz_update_context_from_gc): added
1008         GdkQuartzContextValuesMask parameter and set filling/stroking
1009         parameters accordingly. This function also gained full control
1010         over the FG and BG colors (they can't be set separately any more).
1011
1012         The stipple mask part of the patch doesn't work but seems to take
1013         the right approach and doesn't make things worse, so I applied it.
1014
1015         Did *not* apply the clipping part of the patch since I don't
1016         understand it (I don't understand the version in CVS either, but
1017         it at least works :-)
1018
1019         * gdk/quartz/gdkdrawable-quartz.c: pass the right masks to
1020         gdk_quartz_update_context_from_gc() and removed separate color
1021         setting calls. Some minor fixes.
1022
1023         * gdk/quartz/gdkwindow-quartz.c
1024         (gdk_window_impl_quartz_begin_paint_region): set the CGContext's
1025         fill color manually. We don't have/need a GC here.
1026
1027 2006-09-21  Michael Natterer  <mitch@imendio.com>
1028
1029         * gdk/quartz/gdkwindow-quartz.c
1030         (gdk_window_impl_quartz_begin_paint_region): fix cast: it's
1031         drawable_impl->wrapper that is the GdkWindow, not the
1032         drawable_impl itself.
1033
1034 2006-09-20  Behnam Esfahbod <behnam@zwnj.org>
1035
1036         * gdk/x11/gdkkeys-x11.c:
1037           (get_direction): just check the first shift-level of keyboard
1038         layout for RTL and LTR keysyms() (compliment to #116626)
1039
1040 Wed Sep 20 16:59:38 2006  Tim Janik  <timj@imendio.com>
1041
1042         * gtk/gtkviewport.c: always update the bin_window position and size
1043         in size_allocate, even if we don't have a visible child. this fixes
1044         expose artefacts as described in #313508.
1045
1046         * gtk/gtkscrolledwindow.c: make hiding of automatic scrollbars when we
1047         have no visible child explicit.
1048
1049 2006-09-19  Ryan Lortie  <desrt@desrt.ca>
1050
1051         * docs/reference/gdk/gdk-sections.txt:
1052         * gdk/gdk.symbols:
1053         * gdk/gdkpango.h:
1054         * gdk/gdkpango.c: Bug 355343.  Add a GdkPangoAttrEmbossColor.
1055           (gdk_pango_layout_get_clip_region): Remove an unused variable.
1056           (gdk_pango_attr_embossed_new): Fix documentation.
1057
1058 Tue Sep 19 17:00:04 2006  Tim Janik  <timj@imendio.com>
1059
1060         * gtk/gtkarrow.c: added GtkArrow::arrow-scaling style property to 
1061         control the arrow/border ratio within the allocation.
1062
1063         * tests/testgtk.c: added a GtkArrow to handle box test.
1064
1065         * tests/testgtkrc: test ::arrow-scaling property.
1066
1067 2006-09-19  Matthias Clasen  <mclasen@redhat.com>
1068
1069         * gtk/gtkfilechooserdefault.c (update_current_folder_get_info_cb):
1070         Display an error when we come to the root.  
1071
1072 2006-09-16  Matthias Clasen  <mclasen@redhat.com>
1073
1074         * gtk/gtkfilechooserbutton.c: Use bookmark labels in 
1075         the combobox. 
1076
1077         * gtk/gtkfilechooserbutton.c: Don't add remote volumes and 
1078         bookmarks to the model in local-only mode, to avoid 
1079         authentication dialogs pop up for invisible bookmarks, and
1080         to fix issues with separators not being hidden when
1081         they should.  (#354887, Dennis Cranston)
1082
1083 2006-09-16  Matthias Clasen  <mclasen@redhat.com>
1084
1085         * gtk/gtkcombobox.c (gtk_combo_box_finalize): Unref the
1086         treeview use in list mode.  (#355732, Richard Hult)
1087
1088         * gtk/gtktreeview.c (gtk_tree_view_set_grid_lines): Send
1089         change notification for the right property.  (#355308,
1090         Torsten Schoenfeld)
1091
1092 2006-09-15  Michael Natterer  <mitch@imendio.com>
1093
1094         * gtk/gtktreeview.c (gtk_tree_view_key_press): refactored column
1095         header navigation/resizing/reordering to be more readable and lose
1096         one level of nesting.
1097
1098 2006-09-15  Kristian Rietveld  <kris@imendio.com>
1099
1100         * gtk/gtktreeview.c (gtk_tree_view_key_press): actually directly
1101         return after handling column button focus; we disable wrap around
1102         with this (which actually happened via a really weird code path).
1103         (Michael Natterer)
1104
1105 2006-09-15  Kristian Rietveld  <kris@imendio.com>
1106
1107         * gtk/gtktreeview.c (gtk_tree_view_key_press): make column resizing
1108         code RTL aware, also break from the loops after we have seen the
1109         focussed column button (Michael Natterer).
1110
1111 Thu Sep 14 12:28:51 2006  Tim Janik  <timj@imendio.com>
1112
1113         * tests/testrichtext.c (main): intialize random number generator state
1114         upon program start, to enable truely random testing.
1115
1116 2006-09-13 Michael Emmel <mike.emmel@gmail.com>
1117
1118         * gdk/directfb/gdkcolor-directfb.c small clean ups include order
1119         * gdk/directfb/gdkwindow-directfb.c fixed beep compile error
1120         * gdk/directfb/Makefile.am removed GDK_PIXBUF_DISABLE_DEPRECATED
1121                 GDK_DISABLE_DEPRECATED to allow compile per Behdad
1122         * gdk/quartz/Makefile.am same change as directfb Makefile
1123         * gtk/Makefile.am fixed typo that cause socket stubs not to compile
1124
1125 2006-09-13 Matthias Clasen <mclasen@redhat.com>
1126
1127         * gtk/gtkcolorsel.c: Use a GtkWindow instead of a GtkInvisible
1128         for the grab widget, to make the color picker work with window
1129         groups.  
1130
1131 2006-09-12 Hong Jen Yee <pcman.tw@gmail.com>
1132
1133         signed off by: Dom Lachowicz
1134         
1135         * modules/engines/ms-windows/msw_style.c: Bug 340201. This contains
1136         a large number of improvements to the Microsoft Windows theme engine
1137         which are fully described in the bug report.
1138         
1139 Mon Sep 11 14:22:39 2006  Tim Janik  <timj@imendio.com>
1140
1141         * tests/testgtk.c: fixed compiler warnings.
1142
1143 2006-09-10  Matthias Clasen  <mclasen@redhat.com>
1144
1145         * gtk/gtkfilechooserbutton.c (model_add_special): Request
1146         the display name too, otherwise "Desktop" does not appear
1147         in the file chooser button. 
1148
1149 2006-09-10  Tor Lillqvist  <tml@novell.com>
1150
1151         * gdk/win32/gdkprivate-win32.h
1152         * gdk/win32/gdkmain-win32.c
1153         * gdk/win32/gdkwindow-win32.c: Define WINVER and _WIN32_WINNT as
1154         0x0500 in gdkprivate-win32.h instead of doing it in two source
1155         files. (#355212, Mike Edenfield)
1156
1157         * gdk/win32/gdkwindow-win32.c: We can also remove the ersatz
1158         GetAncestor() for the _MSC_VER && WINVER < 0x0500 case, I hope.
1159
1160 2006-09-10  Matthias Clasen  <mclasen@redhat.com>
1161
1162         * Commit a patch by Behdad to fix typos, omissions and other
1163         errors in the symbol aliasing, and add checks for local PLT
1164         entries.  (#354687, Behdad Esfahbod)
1165
1166         * gtk/gtktreeview.c (gtk_tree_view_search_scroll_event): Renew
1167         the flush timeout.  (#354043, Nelson Benitez)
1168         
1169         * gtk/gtkfilechoosersettings.c (set_unexpected_element_end_error): 
1170         Improve wording. String change!  (#355126, David Lodge)
1171
1172         * gtk/updateiconcache.c: Improve wording. String change!  (#355128,
1173         David Lodge)
1174
1175         * gtk/paper_names_offsets.c: Fix a typo. String change!  (#355134,
1176         David Lodge)
1177
1178 2006-09-09  Matthias Clasen <mclasen@redhat.com>
1179
1180         * gdk/x11/gdkfonts-x11.c: Fix small theoretical memory leaks.
1181         (#353916, Chris Wilson)
1182
1183         * gtk/gtksettings.c (_gtk_settings_reset_rc_values):
1184         Don't leak the to_reset list.  (#353914, Chris Wilson)
1185
1186         * gtk/gtkwidget.c: Add docs for the parent-set signal.
1187         (#353772, Mariano Suárez-Alvarez)
1188
1189 2006-09-08  Matthias Clasen <mclasen@redhat.com>
1190
1191         * gtk/gtktextbuffer.c (remove_all_selection_clipboards):
1192         Don't clear clipboards here, since we are called from finalize
1193         and can't emit signals.
1194
1195         * configure.in: Set version to 2.11.0
1196
1197 2006-09-06  Richard Hult  <richard@imendio.com>
1198
1199         * gdk/quartz/gdkkeys-quartz.c: (maybe_update_keymap): Special-case 
1200         shift-tab and map it to GDK_ISO_Left_Tab, fixes bug #350806.
1201
1202 2006-09-04  Kristian Rietveld  <kris@imendio.com>
1203
1204         * gtk/gtkfilechooserdefault.c (update_current_folder_get_info_cb):
1205         if setting the given folder failed, try setting the parent folder
1206         until we succeed; display an error box at the end.
1207
1208 2006-09-04  Kristian Rietveld  <kris@imendio.com>
1209
1210         * gtk/gtkpathbar.c (gtk_path_bar_dispose): don't cancel the
1211         operations spawned by buttons here,
1212         (set_button_image_get_info_cb): bail out if button is NULL, but
1213         do free button_data,
1214         (button_data_free): only free the data if non NULL (since this
1215         function can be called multiple times for the same data), cancel
1216         handle if pending but don't free button_data in this case (will
1217         happen in the callback).
1218
1219 2006-09-04  Michael Natterer  <mitch@imendio.com>
1220
1221         * gtk/gtkrc.c (rc_parse_token_or_compound)
1222         (gtk_rc_parse_assignment): serialize floating point values using
1223         locale-independent functions. (#346751, Frederic Crozat)
1224
1225 2006-09-04  Tor Lillqvist  <tml@novell.com>
1226
1227         * gdk/win32/gdkevents-win32.c
1228         * gdk/win32/gdkwindow-win32.c: Use wide-char API for message and
1229         window handling (PeekMessage, PostMessage, SendMessage,
1230         DispatchMessage, DefWindowProc, RegisterClassEx,
1231         CreateWindowEx). (#321597)
1232
1233 2006-09-03  Kristian Rietveld  <kris@imendio.com>
1234
1235         * gtk/gtkfilechooserdefault.c (save_entry_get_info_cb),
1236         (file_exists_get_info_cb), (gtk_file_chooser_default_should_respond):
1237         change file_exists_and_is_not_folder checks to get the file info
1238         for the path directly instead of querying the current file folder
1239         of the save entry.
1240
1241         * gtk/gtkfilechooserprivate.h (struct _GtkFileChooserDefault): add
1242         new field.
1243
1244         * tests/autotestfilechooser.c (wait_for_idle_idle), (wait_for_idle),
1245         (test_reload_sequence), (test_button_folder_states_for_action): wait
1246         for idle after setting a folder to ensure the async operations to load
1247         the folder are finished,
1248         (test_confirm_overwrite), (test_confirm_overwrite_for_path):
1249         factor out test_confirm_overwrite code so we can add tests for more
1250         paths more easily.
1251
1252 2006-09-03  Richard Hult  <richard@imendio.com>
1253
1254         * gdk/quartz/GdkQuartzView.c (drawRect): Don't do anything if
1255         exposure isn't in the event mask, plug a leak, and check that the
1256         window isn't destroyed.
1257         (isOpaque): Check that the window isn't destroyed, fixes bug 
1258         #353028.
1259
1260 2006-09-03  Matthias Clasen  <mclasen@redhat.com>
1261
1262         * gtk/gtkwidget.c (gtk_widget_class_init): Fix a typo.  
1263         (#354035, Mariano Suárez-Alvarez)
1264
1265         * gtk/gtkmain.c (post_parse_hook): 
1266         * gdk/gdk.c (gdk_init): Handle display_name being NULL.
1267         (#354004, Chris Wilson)
1268
1269 2006-09-03  Tor Lillqvist  <tml@novell.com>
1270
1271         * gdk/win32/gdkwindow-win32.c (gdk_window_beep): No
1272         GDK_WINDOW_DISPLAY in the Win32 backend.
1273
1274         * gtk/gtkfilesystemwin32.c: Copy what Kris did to
1275         gtkfilesystemunix.c
1276
1277 2006-09-02  Kristian Rietveld  <kris@imendio.com>
1278
1279         First part of file chooser fixes.
1280
1281         * gtk/gtkfilechooserbutton.c (model_add_special): also set the
1282         handle in the model for the desktopdir case.
1283
1284         * gtk/gtkfilechooserdefault.c (shortcuts_add_current_folder): free
1285         volume in case we retrieved it but don't pass it on to insert_path,
1286         (shortcuts_model_create): change the column type for the handles
1287         to pointer instead of GObject so our handle ref counting is not
1288         disturbed,
1289         (show_and_select_paths_finished_loading): don't forget to unref
1290         the dialog.
1291
1292         * gtk/gtkfilesystemunix.c (gtk_file_system_unix_class_init),
1293         (gtk_file_system_unix_init), (gtk_file_system_unix_dispose):
1294         remove pending execute_callbacks_idle during dispose, also
1295         execute all callbacks waiting to be run in the next idle,
1296         (queue_*callback), (execute_callbacks_idle): refactor to maintain
1297         a list of callbacks to call per file system instead of globally,
1298         guard the file system during callback invocation,
1299         (gtk_file_system_unix_get_folder): only add load folder idle if
1300         none has been added yet.
1301
1302 2006-09-01  Matthias Clasen  <mclasen@redhat.com>
1303
1304         * gtk/gtkentry.c: Don't unnecessarily reset the im context
1305         when deleting the selection.  (#353803, Alex Larsson)
1306
1307 2006-09-01  Abel Cheung  <abel@oaka.org>
1308
1309         * configure.in: Added 'ang' 'dz' to ALL_LINGUAS.
1310
1311 2006-08-31  Matthias Clasen  <mclasen@redhat.com>
1312
1313         Stop cursor blinking after a configurable timeout.
1314         (#353670, #352442, Arjan van de Ven, Manu Cornet)
1315         
1316         * gtk/gtksettings.c (gtk_settings_class_init): Add a 
1317         gtk-cursor-blink-timeout setting, which specifies the number
1318         of seconds that the cursor should blink after a user interaction.
1319         The default value is G_MAXINT to preserve the current behaviour.
1320
1321         * gtk/gtkentry.c (blink_cb): Stop blinking after blink-timeout
1322         seconds.
1323
1324         * gtk/gtkentry.c (gtk_entry_completion_key_press) 
1325         (gtk_entry_button_press, gtk_entry_focus_in): Reset the
1326         blink timer.
1327
1328         * gtk/gtktextview.c (blink_cb): Stop blinking after blink-timeout
1329         seconds. 
1330
1331         * gtk/gtktextview.c (gtk_text_view_key_press_event) 
1332         (gtk_text_view_button_press_event, gtk_text_view_focus_in_event): 
1333         Reset the blink timer.
1334         
1335 2006-08-31  Matthias Clasen  <mclasen@redhat.com>
1336
1337         * gtk/gtkprintoperation-unix.c (get_print_dialog): Don't specify
1338         explicit format capabilities.  (#346505, Christian Persch)
1339
1340         * modules/printbackends/cups/gtkprintbackendcups.c (cups_request_printer_list_cb): Send printer-list-done on error. 
1341
1342 2006-08-31  Michael Natterer  <mitch@imendio.com>
1343
1344         * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Fix build.
1345
1346 2006-08-30  Richard Hult  <richard@imendio.com>
1347
1348         * gdk/quartz/gdkwindow-quartz.c (gdk_window_beep): Fix build.
1349
1350 2006-08-30  Matthias Clasen  <mclasen@redhat.com>
1351
1352         * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Only use XKB
1353         for beeping if we are using XKB.  
1354
1355 2006-08-29  Matthias Clasen  <mclasen@redhat.com>
1356
1357         * gdk/gdkwindow.h: 
1358         * gdk/gdk.symbols: 
1359         * gdk/directfb/gdkwindow-directfb.c (gdk_window_beep): 
1360         * gdk/win32/gdkwindow-win32.c (gdk_window_beep): 
1361         * gdk/quartz/gdkwindow-quartz.c (gdk_window_beep): 
1362         * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Add a function
1363         to beep on a window. For X11, implement this with
1364         XkbBell.  (#353455, Mariano Suárez-Alvarez)
1365         
1366 2006-08-29  Tor Lillqvist  <tml@novell.com>
1367
1368         Remove support for Windows 9x/ME. GTK+ hasn't worked on Win9x
1369         since 2.6 or 2.8. It's pointless to keep the Win9x code in here as
1370         it isn't being maintained anyway. If somebody is interested, it
1371         can always be found in older GTK+ versions, and in CVS.
1372
1373         * configure.in
1374         * acconfig.h
1375         * gdk/Makefile.am
1376         * gdk/win32/Makefile.am
1377         * gdk/win32/libie55uid.la
1378         * gdk/win32/gdkevents-win32.c: Remove the --with-ie55 configure
1379         switch and associated stuff. Active IMM and the <dimm.h> header
1380         was used for IM support on NT4 and Win9x. Win2k and later have IM
1381         support built-in.
1382
1383         * gdk/win32/gdkcursor-win32.c
1384         * gdk/win32/gdkdnd-win32.c
1385         * gdk/win32/gdkdrawable-win32.c
1386         * gdk/win32/gdkevents-win32.c
1387         * gdk/win32/gdkgc-win32.c
1388         * gdk/win32/gdkglobals-win32.c
1389         * gdk/win32/gdkkeys-win32.c
1390         * gdk/win32/gdkmain-win32.c
1391         * gdk/win32/gdkproperty-win32.c
1392         * gdk/win32/gdkselection-win32.c
1393         * gdk/win32/gdkwindow-win32.c: Remove the G_WIN32_IS_NT_BASED()
1394         and G_WIN32_HAVE_WIDECHAR_API() tests and their false (Win9x)
1395         branches, and any variables or static functions used only by the
1396         Win9x branches.
1397
1398         * gdk/win32/gdkprivate-win32.h: Remove backup definitions for
1399         constants that aren't missing from current mingw and MSVC6
1400         headers.
1401
1402         * gdk/win32/gdkmain-win32.c
1403         * gdk/win32/gdkprivate-win32.h: Remove the _gdk_win32_gdi_failed()
1404         function. On NT-based Windows GetLastError() returns error codes
1405         also for failed GDI calls, so we can use _gdk_win32_api_failed()
1406         always.
1407
1408 2006-08-29  Emmanuele Bassi  <ebassi@gnome.org>
1409
1410         * gtk/gtkrecentchoosermenu.c
1411         (gtk_recent_chooser_menu_set_current_uri): Break when an item
1412         is found and activated. (#353449, based on a patch by Jan Arne
1413         Petersen)
1414
1415 Fri Jul 14 16:13:37 2006  Tim Janik  <timj@gtk.org>
1416
1417         * gtk/gtkprogressbar.c: introduced ::xspacing and ::yspacing style 
1418         properties which make all hardcoded padding and spacing values
1419         configurable. properly swap ::text-xalign treatment for RTL widgets.
1420
1421         * gtk/gtkprogress.c: fixed style property blurbs. made alignment 
1422         proeprty more consistent with GtkMisc alignment blurbs. mention
1423         RTL treatment for text-xalign.
1424
1425 Tue Aug 29 11:57:40 2006  Tim Janik  <timj@imendio.com>
1426
1427         * tests/testgtk.c: allow (most) windows to be resizable.
1428         added ellipsization settings to progress bars. 
1429
1430 2006-08-28  Matthias Clasen   <mclasen@redhat.com>
1431
1432         * modules/printbackend/cups/gtkprintbackendcups.c: Use a
1433         resonable timeout of 3 seconds when polling for printer
1434         list updates, instead of 300000 seconds...
1435
1436 2006-08-28  Michael Natterer  <mitch@imendio.com>
1437
1438         * gtk/gtktextbufferserialize.c (serialize_text): don't write out
1439         </apply_tag> for tags that have already been closed by the logic
1440         which turns overlapping spans into XML-able trees. Fixes broken
1441         XML when there are overlapping tags in the buffer. Also free two
1442         leaked GLists and did some cleanup.
1443
1444         * tests/Makefile.am
1445         * tests/testrichtext.c: new test which creates randomly tagged
1446         GtkTextBuffers and serializes/deserializes them.
1447
1448 2006-08-26  Matthias Clasen  <mclasen@redhat.com>
1449
1450         * gtk/gtkstatusicon.c (gtk_status_icon_reset_image_data): 
1451         Don't leak pixbufs.  (#352264, Ross Burton)
1452
1453         * gtk/gtklinkbutton.c (set_link_underline): Don't leak
1454         PangoAttributes.  (#352391, Paolo Borelli)
1455
1456 2006-08-25  Matthias Clasen  <mclasen@redhat.com>
1457
1458         * demos/gtk-demo/Makefile.am:
1459         * demos/gtk-demo/textscroll.c: Add an example of automatic
1460         scrolling, thanks to Yevgen Muntyan.  (#351206)
1461         
1462         * gtk/gtkmodules.c (find_module): Use local binding when
1463         loading modules.  (#351868)
1464
1465 2006-08-24  Michael Natterer  <mitch@imendio.com>
1466
1467         * gdk/quartz/gdkdisplay-quartz.c (gdk_display_get_name): return
1468         the hostname instead of NULL.
1469
1470 2006-08-23  Matthias Clasen  <mclasen@redhat.com>
1471
1472         * gtk/gtkprinteroptionwidget.[hc]: Fix confusion about
1473         names and values in comboboxes, and clean up some
1474         coding style issues.
1475
1476 2006-08-23  Tor Lillqvist  <tml@novell.com>
1477
1478         * gtk/gtkfilesystemwin32.c (gtk_file_system_win32_make_path):
1479         Revert unintended translatable string addition. Use same string
1480         in GError as in gtkfilesystemunix.c.
1481
1482         * gtk/gtkfilesystemwin32.c (_gtk_file_system_win32_path_compare):
1483         Fix logic at the end of strings. 
1484
1485         * gtk/gtkfilesystemwin32.c: Maintain a hash table of live
1486         handles and check that we have no outstanding handles at
1487         finalization time. (Copying what Matthias did for
1488         gtkfilesystemunix.c)
1489
1490 2006-08-23  Matthias Clasen  <mclasen@redhat.com>
1491
1492         * gtk/gtkfilesystemunix.c: Maintain a hash table
1493         of live handles and check that we have no outstanding
1494         handles at finalization time. (Copying what
1495         Federico did for gtkfilesystemgnomevfs.c)
1496
1497 2007-08-22  Matthias Clasen  <mclasen@redhat.com> 
1498
1499         * Branch for 2.10
1500