]> Pileus Git - ~andy/gtk/blobdiff - ChangeLog.pre-2-10
Fix https://bugzilla.novell.com/show_bug.cgi?id=184875 - make the location
[~andy/gtk] / ChangeLog.pre-2-10
index 38c52cbe66710e46bf275a54b0d68590aca56eda..5195b2f9979b08ae949d2bdcc3c6d7a138b52549 100644 (file)
@@ -1,4 +1,378 @@
+2006-07-18  Federico Mena Quintero  <federico@novell.com>
+
+       Fix https://bugzilla.novell.com/show_bug.cgi?id=184875 - make the
+       location entry in Save mode preserve the stuff from
+       set_filename(); it was overwriting it with $cwd.
+
+       This is the same fix for
+       http://bugzilla.gnome.org/show_bug.cgi?id=347066
+
+       * tests/autotestfilechooser.c: (test_black_box): Added black-box
+       test for set_filename() and set_current_name().
+
+       * gtk/gtkfilechooser.c (gtk_file_chooser_get_type): Cast to
+       GClassInitFunc in the call to g_type_register_static_simple(), to
+       avoid a compiler warning.
+
+       * gtk/gtkfilechooserprivate.h (struct _GtkFileChooserDefault):
+       Added a browse_files_last_selected_name field.  We'll copy the
+       logic from gtkfilesel.c to see when to clear the location entry.
+       (struct _GtkFileChooserDefault): Removed the
+       processing_pending_selections field.
+
+       * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_finalize):
+       Free impl->browse_files_last_selected_name.
+       (pending_select_paths_process): Don't use
+       impl->processing_pending_selections.
+       (update_chooser_entry): Keep track of the name that was last
+       selected in the file list.  We use this to know when to clear the
+       location entry.  The logic is similar to that of
+       gtkfilesel.c:gtk_file_selection_file_changed().  This also lets us
+       get rid of the processing_pending_selections flag.
+       (update_chooser_entry): Clear the entry if we didn't have a
+       selection before.
+       (location_switch_to_filename_entry): Do not set $cwd as the
+       contents of the location entry here...
+       (location_popup_handler): ... but do it here instead, only as the
+       result of the user asking to turn on the location entry.
+       (gtk_file_chooser_default_get_paths): If the location entry is
+       empty, do the fallback of seeing if it is sensible to say that
+       $cwd is the selected path.
+       (gtk_file_chooser_default_update_current_folder): Don't set the
+       text of the location entry; this is no longer needed with the
+       fixes above.
+       (shortcuts_activate_iter): Clear the location entry when
+       activating a shortcut if we are not in SAVE mode.  This keeps the
+       contents of the location entry consistent even when switching
+       folders via the shortcuts.
+
+2006-07-18  Michael Natterer  <mitch@imendio.com>
+
+       * gtk/gtkrange.c: remember the sensitivity of the steppers in
+       GtkRangeLayout, update it in gtk_range_calc_layout() and check for
+       changes in layout_changed(), so adjustment changes that leave the
+       slider position unchanged are still able to update the steppers'
+       sensitivity. Fixes bug #347902.
+
+2006-07-18  Kristian Rietveld  <kris@imendio.com>
+
+       * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_start_editing):
+       oooops.
+
+2006-07-18  Kristian Rietveld  <kris@imendio.com>
+
+       Fix for #335012, reported by Matteo Nastasi.
+
+       * gtk/gtktreeview.c (gtk_tree_view_real_start_editing): if the
+       requested space of the editable is smaller than the cell area,
+       put it up above the middle of the cell area.
+
+       * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_start_editing):
+       configure the inner border to cover the cell area if the 
+       entry requisition is smaller than the cell_area.
+
+2006-07-18  Kristian Rietveld  <kris@imendio.com>
+
+       Another fix for #164884.
+
+       * gtk/gtktreeprivate.h: add in_grab field.
+
+       * gtk/gtktreeview.c (gtk_tree_view_button_press): only save press
+       to possibly begin a drag when there's no grab pending,
+       (gtk_tree_view_grab_notify): toggle in_grab field.
+
+2006-07-18  Kristian Rietveld  <kris@imendio.com>
+
+       * gtk/gtktreeview.c (gtk_tree_view_realize): use MAX
+       priv->width, alloc.width when allocating the bin_window,
+       (gtk_tree_view_bin_expose): don't overrun bin_window when drawing
+       the flat box.
+
+2006-07-17  Richard Hult  <richard@imendio.com>
+
+       * gtk/gtkdnd-quartz.c: (gtk_drag_begin_internal): Set an empty
+       NSImage if there is none, covers the cases where applications try
+       to set a pixmap which is not supported by the quartz backend.
+
+2006-07-17  Richard Hult  <richard@imendio.com>
+
+       * gdk/quartz/gdkevents-quartz.c: (create_key_event):
+       * gdk/quartz/gdkkeys-quartz.c: (_gdk_quartz_key_event_type),
+       (_gdk_quartz_key_is_modifier):
+       * gdk/quartz/gdkprivate-quartz.h: Fill in string, length and
+       is_modifier for key events. Map some more keys into gdk keyvals.
+
+2006-07-17  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtknotebook.c (gtk_notebook_stop_reorder): Don't undo
+       reordering if we haven't been reordering.  (#346836, Ed Catmur)
+
+2006-07-17  Richard Hult  <richard@imendio.com>
+
+       * gdk/quartz/gdkkeys-quartz.c: Add escape to the list of special
+       keys, to get the escape key working.
+
+2006-07-17  Richard Hult  <richard@imendio.com>
+
+       * gdk/quartz/gdkdisplay-quartz.c (gdk_display_open): Initialize
+       GdkInput.
+       
+2006-07-17  Kristian Rietveld  <kris@imendio.com>
+
+       * gtk/gtktreeview.c (gtk_tree_view_build_tree): check if the iter
+       still has children after running the test-expand-row func,
+       (gtk_tree_view_real_expand_row): ditto. (#302127, Billy Biggs).
+
+2006-07-17  Michael Natterer  <mitch@imendio.com>
+
+       * gtk/gtkcalendar.c (calendar_timer): use 5 * gtk-timeout-repeat,
+       just as many other widgets. Makes the calendar arrow buttons
+       usable for quick month/year skipping (#142582).
+
+2006-07-17  Richard Hult  <richard@imendio.com>
+
+       * gdk/quartz/gdkwindow-quartz.c:
+       (_gdk_windowing_window_destroy_foreign): Fix comment.
+       (gdk_window_set_title): Surround by release pool macros.
+       (gdk_window_get_type_hint): Fix return value.
+       (gdk_window_get_frame_extents): Implement.
+       (gdk_window_iconify): Use the release pool macros.
+       (gdk_window_deiconify): Likewise. 
+       (_gdk_windowing_get_pointer): Implement.
+       (gdk_window_get_deskrelative_origin, gdk_window_get_root_origin): 
+       Implement.
+
+       * gdk/quartz/gdkevents-quartz.c (create_crossing_event) 
+       (create_scroll_event, convert_window_coordinates_to_root): 
+       Set coordinates and root coordinates for crossing and scroll 
+       events.
+
+       * gdk/quartz/gdkcursor-quartz.c (gdk_cursor_new_for_display): 
+       Map some more cursors.
+
+2006-07-17  Matthias Clasen  <mclasen@redhat.com>
+
+       * gdk/gdkwindow.c (gdk_window_get_pointer): Add some more
+       detail to the docs.  (#311399, Nikos Kouremenos)
+
+       * gtk/gtkentrycompletion.c (gtk_entry_completion_set_match_func): 
+       * gtk/gtkcomboboxentry.c (gtk_combo_box_entry_set_text_column): 
+       Fix typos in the docs.
+
+2006-07-16  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkassistant.c: Some small documentation
+       fixups.  (#347711, Guillaume Cottenceau)
+
+       * gtk/gtkfilechooserdefault.c (browse_widgets_create): Mark
+       the text of the location label as translatable.  
+
+       * gtk/gtkprintjob.c (gtk_print_job_send): Fix a typo in 
+       the docs.  (#347211, Kouhei Sutou)   
+
+       * configure.in: Make the test for the sync extension
+       more robust.  (#347315, Tommi Komulainen)
+
+       * gtk/gtktextiter.c: Declare GtkTextRealIter as a type that 
+       may alias.  (#347585, Ed Catmur)
+
+2006-07-13  Michael Emmel  <mike.emmel@gmail.com>
+
+       * gdk/directfb/gdkdrawable-directfb.c
+       Remove +1 in fill and draw rect this may be wrong.
+       Commented out update calls left for reference the should not be needed.
+       Comment out subsurface for cairo remove when proved its not needed
+       * gdk/directfb/gdkkeys-directfb.c
+       Allow multiple calls and return if initalized
+       * gdk/directfb/gdkmain-directfb.c
+       Make sure string is malloced since its freed by apps
+       * gdk/directfb/gdkprivate-directfb.c
+       Added back pointer to window for paintable impl
+       * gdk/directfb/gdkvisual-directfb.c
+       Fix for Bug 346733 make sure visual list is populated
+       * gdk/directfb/gdkwindow-directfb.c
+       Finally removed uneeded pixmap buffering now implements GdkPainter
+
+2006-07-11  Emmanuele Bassi  <ebassi@gnome.org>
+
+       * gtk/gtkrecentchooser.c (gtk_recent_chooser_set_show_numbers),
+       (gtk_recent_chooser_get_show_numbers): Check if the chooser
+       implementation supports the "show-number" property and use a
+       meaningful warning in case it doesn't; tell developers not to
+       use these functions.
+
+2006-07-10  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkaction.c:
+       * gtk/gtkiconview.c:
+       * gtk/gtkprintbackend.c:
+       * gtk/gtkprintoperation-unix.c:
+       * gtk/gtkscrolledwindow.c:
+       * gtk/gtktoolbar.c: Fix some typos with inline property
+       docs.  (#347065, John Finlay)
+
+       * gtk/gtkfilechooserbutton.c: Fix some memory handling
+       issues.  (#347043, Chris Wilson)
+
+2006-07-10  Emmanuele Bassi  <ebassi@gnome.org>
+
+       * gtk/gtkrecentchooserdefault.c (scan_for_uri_cb): Do not
+       leak the URI returned by the model; select the row when
+       calling gtk_recent_chooser_set_current_uri(). (patch by
+       Torsten Schoenfeld)
+
+2006-07-10  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkpapersize.c (gtk_paper_size_is_equal): Fix a 
+       typo in the docs.  (#347041, Kouhei Sutou)
+
+       * gtk/gtkprintcontext.c (gtk_print_context_get_height): Fix
+       a typo in the docs.  (#347032, Kouhei Sutou)
+
+       * gtk/gtkassistant.c (gtk_assistant_focus): Don't assume
+       that priv->current_page is non-NULL.  (#347048, Guillaume 
+       Cottenceau)
+
+       * gtk/gtk.symbols: Add some missing deprecation guards.
+
+       * gdk/directfb/gdkwindow-directfb.c: Don't confuse gtk-doc.
+
+2006-07-10  Richard Hult  <richard@imendio.com>
+
+       * gdk/quartz/gdkpixmap-quartz.c: (gdk_bitmap_create_from_data): 
+       Account for alignment when reading xbm data. (#346721, patch
+       by Dave Vasilevsky)
+
+2006-07-09  Richard Hult  <richard@imendio.com>
+
+       * gdk/quartz/gdkgeometry-quartz.c:
+       * gdk/quartz/gdkmain-quartz.c:
+       * gdk/quartz/gdkpixmap-quartz.c:
+       * gdk/quartz/gdkwindow-quartz.c:
+       * gtk/gtkclipboard-quartz.c: Implement some more stubs for pygtk, 
+       bug #346713.
+
+2006-07-09  Richard Hult  <richard@imendio.com>
+
+       * gdk/quartz/gdkwindow-quartz.c (gdk_window_new): Release the pool
+       in all cases.
+       (move_resize_window_internal): Surround by alloc/release pool.
+       Patch from Brian Tarricone, fixes bug #347018.
+
+2006-07-08  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkfilechooserbutton.c (update_label_and_image): Don't
+       leak an empty list.  (#346970, Chris Wilson)
+
+2006-07-08  Behdad Esfahbod  <behdad@gnome.org>
+
+       * gdk/gdkpango.c (layout_iter_get_line_clip_region),
+       (gdk_pango_layout_line_get_clip_region),
+       (gdk_pango_layout_get_clip_region): Fix quadratic implementation of
+       gdk_pango_layout_get_clip_region into a linear one. (#337910, patch
+       by Priit Laes)
+
+2006-07-07  Richard Hult  <richard@imendio.com>
+
+       * gdk/quartz/gdkevents-quartz.c: Generate a grab broken event when
+       appropriate. Fixes bug #346603, patch from Dave Vasilevsky.
+       
+       * gdk/quartz/gdkevents-quartz.c:
+       * gdk/quartz/gdkkeys-quartz.c:
+       * gdk/quartz/gdkprivate-quartz.c: Another patch from Dave Vasilevsky,
+       fixes bug #346605. Makes modifier key events being sent properly.
+
+2006-07-07  Michael Natterer  <mitch@imendio.com>
+
+       * gtk/gtkrc.c
+       * gtk/gtksettings.c: fix canonicalization of property names which
+       was broken after recent constant string cleanup.
+
+2006-07-07  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkicontheme.c: Small memory savings.
+
+2006-07-06  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkfilechooserbutton.c: Get the display name
+       for the home directory.  (#346498, Dennis Cranston,
+       patch by Andreas Köhler)
+
+2006-07-06  Behdad Esfahbod  <behdad@gnome.org>
+
+       * configure.in: Drop required Pango version down to 1.12.0. (#346597)
+
+2006-07-06  John (J5) Palmieri  <johnp@redhat.com>
+
+       * modules/printbackends/cups/gtkprintbackendcups.c: 
+       (cups_request_printer_list_cb): Get the name of the first printer
+       in a class to use when requesting a PPD
+       (cups_request_ppd_cb, cups_request_ppd): Fix the parameters of
+       the "details-acquired" signal emittion
+       (cups_request_ppd): get the ppd name from the cups printer
+
+       * modules/printbackends/cups/gtkprintercups.c (gtk_printer_cups_get_ppd_name):
+       New method for getting the name of the ppd we should request
+
+2006-07-06  Michael Natterer  <mitch@imendio.com>
+
+       * gtk/gtkrc.c: added a bunch of utility functions to copy
+       icon_factories and color_hashes between GtkRcStyles and make sure
+       that newly created, duplicated and merged styles have access to
+       all icon_factories and color_hashes they need. Fixes bug #346668.
+
+2006-07-06  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/*.c: Improve the -/_ consistency in signal and
+       property names, reducing the amount of near-duplicate strings.
+
+2006-07-05  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtktreeview.c (gtk_tree_view_set_enable_tree_lines): Don't
+       leak dash_list.  (#346639, Christian Persch)
+
+       * gtk/gtkwindow.c (gtk_window_unmap, gtk_window_set_keep_above) 
+       (gtk_window_set_keep_below): Fix some assignments involving
+       booleans.  (#346467, Christian Persch)
+
+2006-07-03  Matthias Clasen <mclasen@redhat.com>
+
+       * gtk/gtkgamma.c: Use serialized pixbufs instead of xpms.
+       
+2006-07-03  Runa Bhattacharjee <runabh@gmail.com>
+
+       * configure.in: Added Bengali India (bn_IN) to ALL_LINGUAS.
+
+2006-06-26  Michael Emmel  <mike.emmel@gmail.com>
+       
+       * gdk/directfb/gdkdirectfb.h: changed ifdef to compile with api introduced
+       in directfb 0.9.25 
+       * gdk/directfb/gdkwindow-directfb.c: changed ifdef to 0.9.25 
+
+2006-07-03  Matthias Clasen  <mclasen@redhat.com>
+
+       * configure.in: Bump version
+
+2006-07-02  Matthias Clasen  <mclasen@redhat.com>
+       
+       * === Released 2.10.0 ===
+
+       * gtk/gtkmenubar.c (window_key_press_handler): Treat
+       "" like NULL when parsing the menu-bar-accel setting.   
+       * gtk/gtkmenu.c (gtk_menu_key_press): Here too.  
+       (#346420, Yevgen Muntyan)
+
+       * configure.in: Require cairo 1.2 and GLib 2.12,
+       set version to 2.10
+
 2006-06-30  Matthias Clasen  <mclasen@redhat.com>
+       
+       * gtk/gtknotebook.c (gtk_notebook_tab_space): Remove
+       redundant assignments to page, which may cause NULL
+       dereferences.  (#346334, Dave Vasilevsky)
+
+       * demos/gtk-demo/editable_cells.c: Portability fix.
+       (#346375, Thomas Klausner)
 
        * NEWS, README.in, INSTALL.in: Updates