1. 09 Aug, 2004 10 commits
    • Matthias Clasen's avatar
      Add hidden aliases for exported symbols which are used internally in order · 3612aee5
      Matthias Clasen authored
      Mon Aug  9 12:48:04 2004  Matthias Clasen  <maclas@gmx.de>
      
      	Add hidden aliases for exported symbols which are
      	used internally in order to get rid of many PLT
      	entries.  (#145519, Arjan van de Ven)
      
      	* gtk/Makefile.am: Add rules to generate gtk.def and
      	from gtk.symbols, and make make check check the abi
      	with abicheck.sh.
      	(gtk_private_h_sources): Add gtkinternals.h
      	(gtk_built_private_headers): Add gtkalias.h
      	(gtk_extra_sources): Add gtk.symbols
      	(EXTRA_DIST): Add makegtkalias.pl and abicheck.sh
      
      	* gtk/gtk.symbols: New file. Definition of the GTK+ ABI.
      	The file can be processed by cpp to filter out certain
      	subsets of symbols.
      
      	* gtk/abicheck.sh: New file. Script to check the actually
      	symbols exported from libgtk-x11.2.0.so against the symbols
      	found in gtk.symbols.
      
      	* gtk/makegtkalias.pl: New file. Perl script to generate the
      	header containing the alias definitions for internally used
      	exported symbols from a list of symbols.
      
      	* gtk/gtkinternals.h: New file. An uninstalled header listing
      	symbols which must be exported for some reason and do not appear
      	in any other header.
      
      	* gtk/*.c: Include gtkalias.h
      3612aee5
    • Matthias Clasen's avatar
      Only undef gtk_init_check and gtk_init on win32. · 23e35417
      Matthias Clasen authored
      Mon Aug  9 11:49:46 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkmain.c: Only undef gtk_init_check and gtk_init on win32.
      23e35417
    • Matthias Clasen's avatar
      Add gtk_entry_layout_index_to_text_index() and its inverse. The have · b94a8883
      Matthias Clasen authored
      Mon Aug  9 10:50:05 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkentry.h: Add gtk_entry_layout_index_to_text_index()
      	and its inverse. The have always been exported and are meant
      	to be public.
      b94a8883
    • Matthias Clasen's avatar
      Don't leak the file contents. · ad534c2b
      Matthias Clasen authored
      Mon Aug  9 00:28:34 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkicontheme.c (load_svg_at_size): Don't leak the
      	file contents.
      ad534c2b
    • Matthias Clasen's avatar
      Don't leak the icon source. · ecf2d107
      Matthias Clasen authored
      Mon Aug  9 00:13:03 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkaboutdialog.c (icon_set_new_from_pixbufs): Don't
      	leak the icon source.
      ecf2d107
    • Matthias Clasen's avatar
      Don't leak a reference to the pixbufs. · fbc0b767
      Matthias Clasen authored
      Sun Aug  8 23:46:20 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): Don't
      	leak a reference to the pixbufs.
      fbc0b767
    • Matthias Clasen's avatar
      Ref and sink the column. (gtk_combo_box_menu_destroy): Unref the column. · 0c42eed2
      Matthias Clasen authored
      Sun Aug  8 23:36:55 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkcombobox.c (gtk_combo_box_menu_setup): Ref
      	and sink the column.
      	(gtk_combo_box_menu_destroy): Unref the column.
      
      Sun Aug  8 23:35:00 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkdnd.c (gtk_drag_source_add_text_targets):
      	(gtk_drag_dest_add_text_targets): Don't leak a reference
      	to the target list.
      0c42eed2
    • Matthias Clasen's avatar
      Don't stumble over separators which are not backed by model rows. · b04a72a5
      Matthias Clasen authored
      Sun Aug  8 22:52:26 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkcombobox.c (find_menu_by_path): Don't stumble over
      	separators which are not backed by model rows.
      b04a72a5
    • Matthias Clasen's avatar
      Oops. · 0528aeae
      Matthias Clasen authored
      0528aeae
    • Matthias Clasen's avatar
      Don't leak the path. · c1af2aa6
      Matthias Clasen authored
      Sun Aug  8 11:01:23 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkcombobox.c (gtk_combo_box_set_active): Don't leak
      	the path.
      c1af2aa6
  2. 08 Aug, 2004 5 commits
  3. 07 Aug, 2004 5 commits
    • Tor Lillqvist's avatar
      Don't hardcode mapping of VK_DECIMAL to GDK_KP_Decimal. Instead, let · 2fdbd4e8
      Tor Lillqvist authored
      2004-08-07  Tor Lillqvist  <tml@iki.fi>
      
      	* gdk/win32/gdkkeys-win32.c (update_keymap): Don't hardcode
      	mapping of VK_DECIMAL to GDK_KP_Decimal. Instead, let ToAsciiEx()
      	map it to what's printed on the keypad decimal key for the current
      	input locale (keyboard layout). (#149404)
      2fdbd4e8
    • Matthias Clasen's avatar
      Use GtkTreeViewRowSeparatorFunc instead of GtkCellRendererSepText. · f82ca65b
      Matthias Clasen authored
      Sat Aug  7 18:19:03 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkfilechooserdefault.c (save_folder_combo_create):
      	(shortcuts_list_create): Use GtkTreeViewRowSeparatorFunc
      	instead of GtkCellRendererSepText.  (#147864)
      
      	* gtk/gtkcellrendererseptext.[hc]: Removed.
      
      	* gtk/Makefile.am: Remove gtkcellrendererseptext.[hc]
      
      Sat Aug  7 18:15:15 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkcombobox.c (gtk_combo_box_menu_row_deleted):
      	(gtk_combo_box_menu_row_inserted):
      	(gtk_combo_box_menu_row_changed): Correctly handle
      	insertion and deletion of separators in menu mode.
      f82ca65b
    • Tor Lillqvist's avatar
      WM_WINDOWPOSCHANGED): Add _gdk_offset_{x,y} to top-level window · 5f7fbb27
      Tor Lillqvist authored
      2004-08-07  Tor Lillqvist  <tml@iki.fi>
      
      	* gdk/win32/gdkevents-win32.c (handle_configure_event,
      	gdk_event_translate:WM_WINDOWPOSCHANGED): Add _gdk_offset_{x,y} to
      	top-level window coordinates, not just in generated
      	events. (#148526, Robert Ögren)
      5f7fbb27
    • Matthias Clasen's avatar
      Fix a typo · 6c021548
      Matthias Clasen authored
      6c021548
    • Matthias Clasen's avatar
      Make the column drag code a bit more robust (still scary, though). · f62365d2
      Matthias Clasen authored
      Sat Aug  7 01:26:08 2004  Matthias Clasen  <maclas@gmx.de>
      
      	Make the column drag code a bit more robust (still scary,
      	though).  (#106992, Christian Biere)
      
      	* gtk/gtktreeview.c (_gtk_tree_view_column_start_drag): Assert
      	that cur_reorder is NULL here.
      
      	* gtk/gtktreeview.c (gtk_tree_view_button_release_drag_column):
      	Reset cur_reorder to NULL, and only hide drag_highlight_window
      	if it exists.
      f62365d2
  4. 06 Aug, 2004 6 commits
    • Federico Mena Quintero's avatar
      Fix #144232: · bbd78cd9
      Federico Mena Quintero authored
      2004-08-06  Federico Mena Quintero  <federico@ximian.com>
      
      	Fix #144232:
      
      	* gtk/gtkfilechooserdefault.c (save_widgets_create): Use a
      	GtkFileChooserEntry for the file name, rather than a GtkEntry.
      	(update_chooser_entry): Set the contents of the file chooser entry
      	rather than the plain entry's.
      	(gtk_file_chooser_default_set_current_folder): Set the new folder
      	on the save entry.
      	(gtk_file_chooser_default_set_current_name): Set the name on the
      	file chooser entry.
      	(check_save_entry): Use the file chooser entry rather than the
      	plain entry.
      
      	* gtk/gtkfilechooserentry.c
      	(_gtk_file_chooser_entry_set_base_folder): Call
      	gtk_file_chooser_entry_changed() so that we recompute the current
      	folder based on the new base folder.
      bbd78cd9
    • Hans Breuer's avatar
      make it compile and more similar to the X11 implementation [backward · 74051776
      Hans Breuer authored
      2004-08-06  Hans Breuer  <hans@breuer.org>
      
      	* gdk/win32/gdkwindow-win32.c : make it compile and more
      	similar to the X11 implementation [backward compatibility
      	for GDK_WINDOW_TEMP, GDK_INPUT_ONLY (fixes bug #148702),
      	use the *screen* function variants, dont reparent already
      	destroyed]
      	(get_visible_region) : take the win32 part into account
      	(_gdk_windowing_window_destroy) : remove from handle table
      
      	* gdk/win32/gdkdisplay-win32.c : added
      	gdk_display_(request|supports)_selection_notification ()
      	with a currently mostly pointless implementation ;-)
      
      	* gtk/gtkfilesystemwin32.c (*_to_path) : same changes as on *NIX,
      	plugs memory leak
      	(gtk_file_system_win32_render_icon) : use new GTK_STOCK_DIRECTORY
      
      	* gtk/makefile.msc.in demos/gtk-demo/makefile.msc.in
      	  gtk/stock-icons/makefile.msc tests/makefile.msc : updated
      
      	* gdk/gdk.def gtk/gtk.def : updated externals
      
      	* tests/testiconview.c : remove unneeded dirent.h inclusion
      74051776
    • Hans Breuer's avatar
      updated · bec29744
      Hans Breuer authored
      2004-08-06  Hans Breuer  <hans@breuer.org>
      
      	* gdk_pixbuf.def makefile.msc : updated
      bec29744
    • Matthias Clasen's avatar
      Fix an off-by-one error. (#141809, Markku Vire) · 16297350
      Matthias Clasen authored
      
      	* gtk/gtktreeview.c (gtk_tree_view_move_cursor_page_up_down): Fix
      	an off-by-one error.  (#141809, Markku Vire)
      16297350
    • Matthias Clasen's avatar
      Really fix the initialization of the target list. · 39469f8f
      Matthias Clasen authored
      2004-08-06  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkdnd.c (gtk_drag_dest_set, gtk_drag_source_set): Really
      	fix the initialization of the target list.
      
      	Support XDND v5. (#10220, Owen Taylor)
      
      	* gdk/x11/gdkdnd-x11.c: Record the XDND version and whether the
      	drop was successful in the GdkDragContextPrivateX11 struct.
      	(xdnd_finished_filter): Store the success status of the drop
      	for an XDND version 5 interaction. For other versions, always
      	assume the drop was successful.
      	(xdnd_check_dest): Return the protocol version.
      	(_gdk_drag_get_protocol_for_display): Return the protocol version.
      	(gdk_drag_find_window_for_screen): Store the used protocol version
      	in the GdkDragContext.
      	(xdnd_send_enter): Send the used protocol version from the context,
      	instead of hardwiring 3.
      	(xdnd_enter_filter): Accept protocol versions >= 3 and store the
      	used protocol version in the context.
      
      	* gdk/gdkdnd.h:
      	* gdk/x11/gdkdnd-x11.c (gdk_drag_drop_succeeded): New function
      	to find out whether a drop was successful.
      39469f8f
    • Robert Ögren's avatar
      Set x_root and y_root in button and motion events from the tablet. · b65449a7
      Robert Ögren authored
      2004-07-28  Robert Ögren  <gtk@roboros.com>
      
      	* gdk/win32/gdkinput-win32.c (_gdk_input_other_event): Set x_root
      	and y_root in button and motion events from the tablet. (#148715)
      b65449a7
  5. 05 Aug, 2004 3 commits
  6. 04 Aug, 2004 8 commits
  7. 03 Aug, 2004 3 commits