1. 02 Nov, 2001 4 commits
    • Owen Taylor's avatar
      ref/unref around gtk_widget_event() if we are going to set a flag · 55676c57
      Owen Taylor authored
      Thu Nov  1 19:56:40 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkmain.c (gtk_main_do_event): ref/unref
      	around gtk_widget_event() if we are going to
      	set a flag afterwards. (#63464)
      55676c57
    • Owen Taylor's avatar
      Actually add the missing/broken image icon as the image for the "missing · 05969ed5
      Owen Taylor authored
      Thu Nov  1 19:44:48 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkiconfactory.c gtk/stock-icons/Makefile.am:
      	Actually add the missing/broken image icon as the
      	image for the "missing image" stock icon.
      05969ed5
    • Owen Taylor's avatar
      Set a reasonable default height for the window. · c77203bd
      Owen Taylor authored
      Thu Nov  1 19:18:34 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* demos/gtk-demo/stock_browser.c (do_stock_browser):
      	Set a reasonable default height for the window.
      
      	* demos/gtk-demo/stock_browser.c (id_to_macro): Fix
      	bug where subsequent '-' weren't converted to '_'.
      	(#59550, Matthias Clasen)
      
      	* demos/gtk-demo/appwindow.c (menu_items): Don't right
      	justify the Help menu - just include a comment on
      	how to do it. (#63539, 	Marius Andreiana)
      
      	* gtk/gtkiconfactory.c (gtk_icon_set_get_sizes): Don't
      	list GTK_ICON_SIZE_INVALID.
      
      	* demos/gtk-demo/stock_browser.c: Show the biggest available
      	size, not a fixed size. (Often reported, including #63539,
      	Marius Andreiana)
      c77203bd
    • Jonathan Blandford's avatar
      Fix reorder_fixup, #59583 · a2ff9e41
      Jonathan Blandford authored
      Thu Nov  1 19:11:35 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtkrbtree.c (gtk_rbtree_reorder_fixup): Fix reorder_fixup,
      	#59583
      
      	* gtk/gtktreeselection.c (gtk_tree_selection_set_mode): fix
      	warning.
      a2ff9e41
  2. 01 Nov, 2001 6 commits
    • Owen Taylor's avatar
      Make GtkFunction return boolean, not gint. (Daniel Elstner). · 2ced30ad
      Owen Taylor authored
      Thu Nov  1 16:54:00 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtktypeutils.h: Make GtkFunction return boolean, not gint.
      	(Daniel Elstner).
      2ced30ad
    • Owen Taylor's avatar
      Add: - A ::retrieve_surrounding signal that asks the widget for context · a1fe2ac1
      Owen Taylor authored
      Thu Nov  1 16:20:56 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkimcontext.[ch]: Add:
      	  - A ::retrieve_surrounding signal that asks the widget for
      	    context around the insertion point.
      	  - A ::delete_surrounding signal that asks the widget to
      	    delete context aroudn the insertion point.
      	  - gtk_im_context_set_context() for widgets to set context
      	    around the insertion point in response to ::retrieve_context.
      	  - gtk_im_context_get_context() for context to get context
      	    around the insertion point
      
      	* gtkmarshal.list: Add BOOL:INT,INT
      
      	* gtk/gtkimmulticontext.c: Proxy the get_surrounding() /
      	set_surrounding() methods, and the ::retrieve_surrounding /
      	::delete_surrounding signals.
      
      	* gtk/gtkentry.c gtk/gtktreeview.c: Hook up to the
      	GtkIMContext::retrieve_surrounding / ::delete_surrounding
      	signals.
      a1fe2ac1
    • Jonathan Blandford's avatar
      it's amazing how well things work sometimes, even when they're completely · 2704ea2b
      Jonathan Blandford authored
      Thu Nov  1 15:45:04 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreemodelsort.c (gtk_tree_model_sort_rows_reordered):
      	it's amazing how well things work sometimes, even when they're
      	completely wrong.
      
      	* gtk/gtktreeview.c (gtk_tree_view_real_collapse_row): Fix bug
      	where you could try to collapse a node w/o it having children.
      
      	(gtk_tree_view_class_init): remove Shift L<->R as they already
      	existed for expand/collapse.
      2704ea2b
    • Jonathan Blandford's avatar
      Fix crash found by Matt Wilson. · b852358d
      Jonathan Blandford authored
      Thu Nov  1 12:21:31 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreeview.c (gtk_tree_view_focus_to_cursor): Fix crash
      	found by Matt Wilson.
      b852358d
    • Jonathan Blandford's avatar
      Support Shift, Control, and Shift|Control L<->R, #63475 · d63b7cd6
      Jonathan Blandford authored
      Thu Nov  1 00:44:50 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreeview.c (gtk_tree_view_class_init): Support Shift,
      	Control, and Shift|Control L<->R, #63475
      d63b7cd6
    • Jonathan Blandford's avatar
      fix infinite loop noticed by yosh. · e7729de2
      Jonathan Blandford authored
      Wed Oct 31 18:53:51 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreemodel.c (gtk_tree_row_ref_deleted_callback): fix
      	infinite loop noticed by yosh.
      e7729de2
  3. 31 Oct, 2001 16 commits
  4. 30 Oct, 2001 5 commits
  5. 29 Oct, 2001 9 commits
    • jacob berkman's avatar
      automake doesn't support conditionalized LDFLAGS, so put win32 flags in · 7c12bae8
      jacob berkman authored
      2001-10-29  jacob berkman  <jacob@ximian.com>
      
      	* gdk/Makefile.am (LDFLAGS):
      	* gtk/Makefile.am (LDFLAGS): automake doesn't support conditionalized
      	LDFLAGS, so put win32 flags in here
      7c12bae8
    • Jonathan Blandford's avatar
      Darn. I can't believe this took this long to fix. · 14a5e057
      Jonathan Blandford authored
      Mon Oct 29 15:41:58 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreemodelsort.c (gtk_tree_model_sort_sort_level): Darn.
      	I can't believe this took this long to fix.
      14a5e057
    • Jonathan Blandford's avatar
      fix reordered signal. · b5ccbdfb
      Jonathan Blandford authored
      Mon Oct 29 13:54:49 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreemodelsort.c (gtk_tree_model_sort_rows_reordered): fix
      	reordered signal.
      b5ccbdfb
    • Owen Taylor's avatar
      Grab the focus to the fileop entry for create dir / rename file. · 326f7715
      Owen Taylor authored
      Mon Oct 29 12:27:51 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkfilesel.c (gtk_file_selection_rename_file): Grab
      	the focus to the fileop entry for create dir / rename
      	file.
      326f7715
    • Owen Taylor's avatar
      Don't use AC_CHECK_FILE to check for a file since it always spits warnings · ededbc64
      Owen Taylor authored
      Mon Oct 29 12:21:49 2001  Owen Taylor  <otaylor@redhat.com>
      
              * configure.in: Don't use AC_CHECK_FILE to check for a
              file since it always spits warnings about cross compilation,
              use -f instead. It's not like we cross compile properly
              anyways.
      
              * configure.in (gtktargetlib): Move call to AC_PROG_CC
              to suppress autoconf warning.
      
              * acconfig.h: Add some missing #undefs from recent
              Win32 additions.
      ededbc64
    • Owen Taylor's avatar
      Don't try to use pkg-config when we didn't find it. (#62944, Eric Lemings) · 1493f6f7
      Owen Taylor authored
      Mon Oct 29 11:31:40 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* m4macros/gtk-2.0.m4: Don't try to use pkg-config
      	when we didn't find it. (#62944, Eric Lemings)
      
      	* m4macros/gtk-2.0.m4: Fix problem with spaces around =
      	sign in assignment. (#63209, Arkadiusz Miskiewicz)
      1493f6f7
    • Anders Carlsson's avatar
      Calculate the buttons size request before using it. Fixes #61696. · 62adef45
      Anders Carlsson authored
      2001-10-29  Anders Carlsson  <andersca@gnu.org>
      
      	* gtk/gtktreeview.c (gtk_tree_view_size_request): Calculate
      	the buttons size request before using it. Fixes #61696.
      62adef45
    • Tor Lillqvist's avatar
      Updates. · 06b4ef65
      Tor Lillqvist authored
      2001-10-29  Tor Lillqvist  <tml@iki.fi>
      
      	* README.win32: Updates.
      
      	* gtk-zip.sh.in: New file, used to build distribution package for
      	Windows.
      
      	* gdk/gdkglobals.c: Mark gdk_threads_mutex for DLL export when
      	applicable with GDKVAR.
      
      	* gtk/gtk.def: Update.
      
      	* gtk/gtkfilesel.c: Include <winsock.h> (if available) for
      	gethostname().
      
      	* gtk/gtkmain.c
      	* gtk/gtkrc.c: (Win32) Save actual DLL name for later use in DLL
      	entry function. Avoid hardcoded paths GTK_LIBDIR, GTK_SYSCONFDIR,
      	GTK_DATA_PREFIX and GTK_LOCALEDIR, instead add functions that call
      	g_win32_get_package_installation_subdirectory() with the actual
      	DLL name saved above. Redefine above directory name macros to call
      	these functions. Remove some ifdefs.
      
      	* gtk/maketypes.awk: Output GTKTYPEBUILTINS_VAR (that marks
      	variable for export on Win32) also to the _vars file.
      
      	Changes for autoconfiscated build on Win32, and addition of Win32
      	backend to the related files:
      
      	* configure.in: Like in GLib, set LT_CURRENT_MINUS_AGE for use
      	when forming DLL name in some files. Set MS_LIB_AVAILABLE is
      	lib.exe is available. Call AC_LIBTOOL_WIN32_DLL. Set
      	PLATFORM_WIN32, OS_WIN32 and USE_WIN32 automake conditionals. Add
      	win32 target, using pangowin32. Don't use the
      	-export-symbols-regex option on Win32, we use .def files to list
      	exported symbols. Check <winsock.h> (for gethostname() in
      	gtkfilesel.c). Enclose nested AC_CHECK_* macros in brackets to
      	prevent premature m4 expansion.
      
      	* acconfig.h: Add HAVE_WINTAB.
      
      	* gdk/Makefile.am: Add libgdk-win32-1.3.la target and associated
      	macros and rules. Use -no-undefined on Win32. Use gdk.def file. If
      	MS_LIB_AVAILABLE, build MS import library. Install the import
      	libraries. If HAVE_WINTAB, link with the Wintab library.
      
      	* gtk/Makefile.am: Add libgtk-win32-1.3.la target and associated
      	macros and rules. Use -no-undefined on Win32. Use gtk-win32.def
      	file. Install import libraries.
      06b4ef65
    • Tor Lillqvist's avatar
      New file, hand-written wrapper for the Wintab library. · a53f14a6
      Tor Lillqvist authored
      2001-10-29  Tor Lillqvist  <tml@iki.fi>
      
      	* gdk/win32/libwntab32x.la: New file, hand-written wrapper for the
      	Wintab library.
      
      	* gdk/win32/gdkwin32.h
      	* gdk/win32/gdkprivate-win32.h: Reorganise to match corresponding
      	X11 headers better, and to enable gdkwin32.h to be installed and
      	included from applications, but not the *-win32.h headers.
      
      	* gdk/win32/*.c: Corresponding small changes, simplifications of
      	#includes.
      
      	* gdk/win32/gdkregion-win32.c: Remove.
      
      	* gdk/win32/gdkevents-win32.c (print_event): Add GDK_SETTING.
      
      	* gdk/win32/gdkfont-win32.c
      	* gdk/win32/gdkgeometry-win32.c: Remove unused variables.
      
      	* gdk/win32/gdkproperty-win32.c (gdk_atom_intern): Don't insert
      	GDK_NONE values into hash table.
      
      	Changes for autoconfiscated build on Win32, and addition of Win32
      	backend to the related files:
      
      	* gdk/win32/Makefile.am: Actually enable building the win32
      	objects here, not just list all files in EXTRA_DIST. Link in the
      	compiled resource file from rc/gdk-win32res.lo. If HAVE_WINTAB,
      	copy the Wintab library into the .libs directory.
      
      	* gdk/win32/gdkwindow-win32.c (RegisterGdkClass): Don't assume the
      	name of the GDK DLL when fetching the icon. Use the HMODULE saved
      	in gdk_dll_hinstance by DllMain.
      
      	* gdk/win32/rc/Makefile.am: Build gdk-win32res.lo using the
      	build/win32/lt-compile-resource script.
      
      	* gdk/win32/rc/gdk.rc.in
      	* gtk/gtk-win32.rc.in: Use the DLL name that libtool would use.
      a53f14a6