1. 08 Sep, 2000 3 commits
    • Jonathan Blandford's avatar
      gtk/gtktextdisplay.c gtk/gtktextlayout.c gtk/gtktexttag.c gtk/gtktexttag.h · 8ff6644c
      Jonathan Blandford authored
      2000-09-08  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktextdisplay.c
      	* gtk/gtktextlayout.c
      	* gtk/gtktexttag.c
      	* gtk/gtktexttag.h
      	* gtk/testtext.c: Change the overstrike property to strikethrough,
      	to closer match pango.
      8ff6644c
    • Owen Taylor's avatar
      Fix up visibility so that focus, cursor_visible and blink interact · 2e2272aa
      Owen Taylor authored
      Fri Sep  8 14:28:00 2000  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtktextview.c: Fix up visibility so that focus,
      	cursor_visible and blink interact properly.  Reenable cursor blink
      	which had been roughly disabled. Make blink and focus
      	properly per-view.
      
      	* gtk/gtktextlayout.[ch] (gtk_text_layout_set_cursor_visible):
      	Add a flag for whether to display insertion cursor and
      	a function to set the flag.
      
      	* gtk/gtktextlayout.c (gtk_text_layout_get_line_yrange): Change
      	get_line_y() to get_line_yrange(), to be a bit more generally
      	useful.
      2e2272aa
    • Jiri (George) Lebl's avatar
      in gtk_menu_set_submenu_navigation_region do stop_navigating_submenu, to · 38a656ab
      Jiri (George) Lebl authored
      Thu Sep 07 20:54:33 2000  George Lebl <jirka@5z.com>
      
      	* gtk/gtkmenu.c:  in gtk_menu_set_submenu_navigation_region
      	  do stop_navigating_submenu, to clear last timeout properly.
      	  Also in gtk_menu_motion_notify move ignore_enter above
      	  the conditional to make it always happen as suggested by Owen
      38a656ab
  2. 07 Sep, 2000 2 commits
    • Tor Lillqvist's avatar
      Use -Wall. Add gdkpango-win32.o · 6ffe1dcf
      Tor Lillqvist authored
      2000-09-07  Tor Lillqvist  <tml@iki.fi>
      
      	* gdk/win32/makefile.mingw.in: Use -Wall. Add gdkpango-win32.o
      
      	* gdk/win32/gdkwin32.h: Add more definitions missing from the free
      	w32api headers.
      
      	* gdk/win32/gdkprivate-win32.h: Add a couple of missing
      	declarations.
      
      	* gdk/win32/gdkdrawable-win32.c: Remove gcc -Wall warnings.
      	(gdk_win32_get_colormap): A line had been deleted by mistake.
      
      	* gdk/win32/gdkevents-win32.c: Remove lint (gcc -Wall) here, too.
      	(gdk_event_translate): Handle more virtual keycodes to be able to
      	generate GDK events for Control-comma, Control-period, etc.
      
      	* gtk/gtk.def: Add some missing entry points.
      
      2000-09-07  Tor Lillqvist  <tml@iki.fi>
      
      	* makefile.mingw.in: Use own version number for gdk-pixbuf DLLs,
      	like on Unix.
      6ffe1dcf
    • Owen Taylor's avatar
      Move gtk-reference files into GTK+ tree proper. · 71337db9
      Owen Taylor authored
      Thu Sep  7 14:15:03 2000  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/* gtk/*: Move gtk-reference files into GTK+ tree proper.
      
      	* Update sections.txt files to correspond to current code,
      	tweak .sgml files and Makefiles to correspond.
      
      	* gtk/tmpl/gtkradiomenuitem.sgml (this): Remove extra <para>
      71337db9
  3. 05 Sep, 2000 2 commits
    • Sebastian Wilhelmi's avatar
      Remove conftest* after use along the lines of AC_TRY_COMPILE. · 8c4980ed
      Sebastian Wilhelmi authored
      
      2000-09-05  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
      
      	* configure.in (use_mmx_asm): Remove conftest* after use along the
      	lines of AC_TRY_COMPILE.
      
              * .cvsignore updates
      8c4980ed
    • Sebastian Wilhelmi's avatar
      Use g_path_get_dirname instead of g_dirname, which is deprecated. · f4fc70e3
      Sebastian Wilhelmi authored
      
      2000-09-05  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
      
      	* gtk/gtkrc.c (gtk_rc_parse_file): Use g_path_get_dirname instead
      	of g_dirname, which is deprecated.
      	(gtk_rc_parse_any): Removed calls to
      	g_scanner_{freeze,thaw}_symbol_table, which are deprecated.
      
      	* gtk/gtkbindings.c (binding_entry_new, binding_entry_destroy):
      	Removed calls to g_hash_table_{freeze,thaw}, as they are
      	deprecated now.
      
      	* gtk/testtext.c (buffer_pretty_name): Use g_path_get_basename
      	instead of g_basename.
      f4fc70e3
  4. 04 Sep, 2000 1 commit
  5. 03 Sep, 2000 1 commit
    • Jiri (George) Lebl's avatar
      Add some documenting comments about GTK_CAN_DEFAULT, GTK_HAS_DEFAULT and · 49a6b833
      Jiri (George) Lebl authored
      Sun Sep 03 00:47:08 2000  George Lebl <jirka@5z.com>
      
      	* gtk/gtkwidget.h:  Add some documenting comments about
      	  GTK_CAN_DEFAULT, GTK_HAS_DEFAULT and GTK_RECEIVES_DEFAULT
      	  just as owen said on irc.
      
      	* gtk/gtkwindow.c (gtk_window_set_default):  Don't blindly
      	  set HAS_DEFAULT.  Only set it if there isn't another window
      	  holding it (a focus window which RECEIVES_DEFAULT) and only unset
      	  it if the widget is not the focused window with RECEIVES_DEFAULT.
      	  This fixes weird double default bugs in dialogs which has things
      	  call gtk_window_set_default at times.
      49a6b833
  6. 02 Sep, 2000 1 commit
    • Owen Taylor's avatar
      Apply patch from Nils Barth and David Santiago to improve submenu · e4229e9c
      Owen Taylor authored
      Fri Sep  1 22:39:07 2000  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkmenu.[ch] TODO.xml: Apply patch from
      	Nils Barth and David Santiago to improve submenu
      	navigation. The patch does this by creating a triangular
      	region from the point where the pointer leaves the
      	menu to the submenu.  While the pointer is in
      	that region and a timeout has not expired, events
      	that would cause the active submenu to change are
      	ignored.
      e4229e9c
  7. 01 Sep, 2000 1 commit
    • Owen Taylor's avatar
      Fix bug where moving a toplevel window immediately after sizing it would · 6e3a2369
      Owen Taylor authored
      Fri Sep  1 15:34:46 2000  Owen Taylor  <otaylor@redhat.com>
      
      	* gdk/x11/gdkwindow-x11.c (gdk_window_move): Fix bug where
      	moving a toplevel window immediately after sizing it would
      	result in it being sized back to the old size since
      	impl->width, impl->height aren't updated until we hear
      	back from the server. There is still a (longstanding) bug
      	here that gdk_window_get_size() will give the wrong size
      	until we do hear back.
      6e3a2369
  8. 31 Aug, 2000 5 commits
    • Havoc Pennington's avatar
      Rename GtkTextStyleValues to GtkTextAttributes · 78500e90
      Havoc Pennington authored
      2000-08-31  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtktextiter.h, gtk/gtktextiter.c, gtk/gtktextlayout.h,
      	gtk/gtktextlayout.c, gtk/gtktexttag.h, gtk/gtktexttag.c,
      	gtk/gtktexttagprivate.h, gtk/gtktextview.c:
      	Rename GtkTextStyleValues to GtkTextAttributes
      78500e90
    • Havoc Pennington's avatar
      cache end line, for rapid testing whether an iterator is the end iterator · 41b5d5d2
      Havoc Pennington authored
      2000-08-31  Havoc Pennington  <hp@pobox.com>
      
      * gtk/gtktextbtree.c (GtkTextBTree): cache end line,
      for rapid testing whether an iterator is the end iterator
      (gtk_text_btree_new): init end line cache
      (gtk_text_line_is_last): use fast cached line to
      see if we're the last line.
      (get_last_line): use cached line here too, should
      speed up some random unrelated code.
      41b5d5d2
    • Havoc Pennington's avatar
      Add marshallers for changed GtkTextBuffer signals. · a9de9539
      Havoc Pennington authored
      2000-08-30  Havoc Pennington  <hp@pobox.com>
      
      * gtk/gtkmarshal.list: Add marshallers for changed GtkTextBuffer
      signals.
      
      * gtk/gtktextbuffer.h: Add "interactive" arg to insert_text and
      delete_text signals. This allows the signals to be used for
      implementing undo.
      
      * gtk/gtktextbuffer.c: Change signal handler signatures;
      provide "interactive" argument when emitting insert_text or
      delete_text signal.
      a9de9539
    • Havoc Pennington's avatar
      Docs · b9680416
      Havoc Pennington authored
      2000-08-30  Havoc Pennington  <hp@pobox.com>
      
      * gtk/gtktextbuffer.c: Docs
      b9680416
    • Owen Taylor's avatar
      remove GDK_IMAGE_SHARED_PIXMAP from switch statements, since Tor removed · d717bbe4
      Owen Taylor authored
      Fri Aug 25 12:16:15 2000  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/x11/gdkimage-x11.c: remove GDK_IMAGE_SHARED_PIXMAP
      	from switch statements, since Tor removed the enumeration
      	value.
      
      	* gdk/x11/gdkimage-x11.c (gdk_image_get):
      	s/GDK_IS_WINDOW/GDK_IS_DRAWABLE/.
      d717bbe4
  9. 30 Aug, 2000 1 commit
  10. 28 Aug, 2000 1 commit
  11. 22 Aug, 2000 2 commits
    • Owen Taylor's avatar
      Fix double free of font desc. · 3f14b459
      Owen Taylor authored
      Tue Aug 22 12:33:24 2000  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/testgtk.c (create_styles): Fix double free of
      	font desc.
      3f14b459
    • Owen Taylor's avatar
      Add gtk_widget_modify_{fg,bg,text,base,font}. · 92b22465
      Owen Taylor authored
      Mon Aug 21 22:39:18 2000  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkwidget.[ch]: Add gtk_widget_modify_{fg,bg,text,base,font}.
      
      	* gtk/testgtk.c (create_styles): Add a test for modifying
      	the style through gtk_widget_modify_*.
      
      	* gtk/gtkwidget.c (gtk_widget_get_modifier_style): Add
      	a function to get the current modifier style.
      
      	* gtk/gtkwidget.c (gtk_widget_modify_style): Make a copy
      	of the passed in GtkRcStyle instead of ref'ing it.
      
      	* gtk/gtkrc.[ch]: Add gtk_rc_style_copy().
      92b22465
  12. 19 Aug, 2000 1 commit
    • Tor Lillqvist's avatar
      gdk/gdkimage.h No need any longer on Win32 for the shared memory · 617e17da
      Tor Lillqvist authored
      2000-08-20  Tor Lillqvist  <tml@iki.fi>
      
      	* gdk/gdkimage.h
      	* gdk/win32/gdkimage-win32.c: No need any longer on Win32 for the
      	shared memory image+pixmap GdkImage type, or
      	gdk_image_bitmap_new(). They were used in the gdk_imlib port, but
      	I am dropping that.
      
      	* gtk/gtkmain.h: On Win32, use a #define to map gtk_init() to
      	actually call gtk_init_abi_check(), passing also
      	sizeof(GtkWindow). Ditto for gtk_init_check().
      
      	* gtk/gtk.def
      	* gtk/gtkmain.c: (gtk_init_abi_check, gtk_init_check_abi_check):
      	New functions, used to check that the GTK+-using code has been
      	compiled using the correct compiler and switches. In particular,
      	with gcc one has to use the -fnative-struct switch as GTK+ is
      	compiled with that.
      617e17da
  13. 18 Aug, 2000 1 commit
  14. 12 Aug, 2000 2 commits
    • Tor Lillqvist's avatar
      gdk/gdk.def Add missing entries. · e0833cd5
      Tor Lillqvist authored
      2000-08-12  Tor Lillqvist  <tml@iki.fi>
      
      	* gdk/gdk.def
      	* gtk/gtk.def: Add missing entries.
      
      	* gdk/win32/gdkfont-win32.c (gdk_font_load_internal): Use
      	OUT_TT_ONLY_PRECIS, try to get a TrueType font.
      
      	* gdk/win32/gdkinput-win32.c (gdk_device_get_state): New
      	function. Dummy implementation at this point.
      
      	* gtk/makefile.mingw.in: Fix typo. Add testtext and testtextbuffer
      	rules. Undefine GTK_COMPILATION when compiling the test programs.
      
      	* gtk/gtkdebug.h: Mark gtk_debug_flags for export/import.
      
      	* gdk_pixbuf.def: Add missing entry point.
      e0833cd5
    • Tor Lillqvist's avatar
      Add more calls to g_filename_{to,from}_utf8() to convert back and forth · b4d6a195
      Tor Lillqvist authored
      2000-08-11  Tor Lillqvist  <tml@iki.fi>
      
      	* gtk/gtkfilesel.c: Add more calls to g_filename_{to,from}_utf8()
      	to convert back and forth from UTF-8 and the "system" (or "current
      	locale") charset when necessary. Indentation/spacing cleanup.
      b4d6a195
  15. 11 Aug, 2000 1 commit
    • Havoc Pennington's avatar
      Change the format of the snapshot version to match glib · fcc95150
      Havoc Pennington authored
      2000-08-10  Havoc Pennington  <hp@redhat.com>
      
      * Makefile.am (snapshot): Change the format of the snapshot
      version to match glib
      
      * gdk/win32/Makefile.am (EXTRA_DIST): remove gdkinputprivate.h
      from EXTRA_DIST since it doesn't seem to exist
      
      2000-08-10  Havoc Pennington  <hp@redhat.com>
      
      * Makefile.am (EXTRA_DIST): The *.def files had the wrong names
      (s/pixbuf_/pixbufloader_)
      fcc95150
  16. 09 Aug, 2000 1 commit
  17. 03 Aug, 2000 2 commits
  18. 02 Aug, 2000 1 commit
  19. 01 Aug, 2000 2 commits
    • Tor Lillqvist's avatar
      Check for <unistd.h>. · 7bc2cb6e
      Tor Lillqvist authored
      2000-08-02  Tor Lillqvist  <tml@iki.fi>
      
      	* configure.in: Check for <unistd.h>.
      
      2000-08-02  Tor Lillqvist  <tml@iki.fi>
      
      	* io-bmp.c
      	* io-ico.c
      	* io-ras.c
      	* io-tiff.c
      	* io-wbmp.c: Conditionalise inclusion of <unistd.h>.
      
      	* makefile.mingw.in: List loaders alphabetically. Add the wbmp
      	one. Fix names of DLLs to have '-' instead of '_'.
      7bc2cb6e
    • Martin Baulig's avatar
      Use g_message() and not g_warning() to display the message that this is a · d0893cc5
      Martin Baulig authored
      2000-08-01  Martin Baulig  <baulig@suse.de>
      
      	* gtk/gtkmain.c (gtk_init_check): Use g_message() and not g_warning()
      	to display the message that this is a development version of GTK+.
      d0893cc5
  20. 31 Jul, 2000 5 commits
    • Owen Taylor's avatar
      Fix problem where computation was depending on widget->allocation instead · e9a03443
      Owen Taylor authored
      Mon Jul 31 18:37:36 2000  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkentry.c (entry_adjust_scroll): Fix problem where computation
      	was depending on widget->allocation instead of the width of text_area,
      	which was incorrect for subclasses like GtkSpinButton.
      
      	* gdk/gdkpango.c (gdk_draw_layout): Fix a couple of typos
      	with width == 1 tests that should be width == -1.
      e9a03443
    • Owen Taylor's avatar
      Replace broken, (broken, Elliot, every single window blank on X) custom · 44afc537
      Owen Taylor authored
      Mon Jul 31 16:45:48 2000  Owen Taylor  <otaylor@redhat.com>
      
      	* gdk/gdkwindow.c (gdk_window_process_updates_internal): Replace broken,
      	(broken, Elliot, every single window blank on X) custom code with call
      	to gdk_window_is_viewable() which a) prevents code duplicate and
      	b) works.
      44afc537
    • Elliot Lee's avatar
      We really do need to include gdkfb.h in order to get the GDK_PARENT_ROOT() · d9e05d70
      Elliot Lee authored
      
      
      * gtk/gtkcolorsel.c: We really do need to include gdkfb.h in order to get the GDK_PARENT_ROOT()
      macro to work.
      * gtk/gtkmarshal.list: Add NONE:STRING,POINTER
      * gdk/gdkwindow.c: Don't send expose events, or invalidate pieces of, windows that aren't shown.
      * gdk/linux-fb: Redraw-when-menu-hidden solved, plus a bunch of pointer grab stuff.
      d9e05d70
    • BST 2000  Tony Gale's avatar
      s/gtk_main_iteration/g_main_iteration/ · 621639b7
      BST 2000 Tony Gale authored
      Mon Jul 31 13:53:16 BST 2000  Tony Gale <gale@gtk.org>
      
              * docs/gtkfaq.sgml docs/gtk-faq.sgml:
                s/gtk_main_iteration/g_main_iteration/
      
                Did this already in change:
                      Mon Nov 15 17:17:51 GMT 1999 Tony Gale  <gale@gtk.org>
                don't know how it got reverted.
      621639b7
    • Stanislav Brabec's avatar
      #ifdef G_ENABLE_DEBUG around gdk_arg_debug_cb and gdk_arg_no_debug_cb to · e4d140d5
      Stanislav Brabec authored
      2000-07-31  Stanislav Brabec  <utx@penguin.cz>
      
              * gdk/gdk.c: #ifdef G_ENABLE_DEBUG around gdk_arg_debug_cb and
              gdk_arg_no_debug_cb to fix compilation problem with --disable-debug.
      
              * gdk/Makefile.am: Link gdk against actually compiled gdk_pixbuf-1.3,
              not gdk_pixbuf.
      e4d140d5
  21. 30 Jul, 2000 2 commits
    • Pablo Saratxaga's avatar
      updated Serbian files · 3d8f790e
      Pablo Saratxaga authored
      3d8f790e
    • Tor Lillqvist's avatar
      Add makefile.mingw.in to EXTRA_DIST. · 471396fd
      Tor Lillqvist authored
      2000-07-30  Tor Lillqvist  <tml@iki.fi>
      
      	* gdk/Makefile.am: Add makefile.mingw.in to EXTRA_DIST.
      
      	* gdk/win32/gdkevents-win32.c (gdk_events_init, gdk_events_queue):
      	Remove the g_pipe_readable_msg stuff. Not needed with new GLib
      	GIOChannel implementation.
      
      	* gdk/win32/gdkinput.c
      	* gdk/win32/gdkpango-win32.c: Update license name here, too.
      
      	* gdk/win32/gdkwin32id.c (gdk_win32_handle_table_lookup): Fix
      	definition to match prototype.
      
      	* gtk/makefile.mingw.in: Add libiconv CFLAGS and LIBS.
      471396fd
  22. 28 Jul, 2000 1 commit
    • Elliot Lee's avatar
      Add gdk_pixbuf_loader_new_with_type function, to allow handling image · 3ddaa735
      Elliot Lee authored
      
      
      2000-07-27  Elliot Lee  <sopwith@redhat.com>
      
      	* gtk/gdk-pixbuf-loader.[ch]: Add gdk_pixbuf_loader_new_with_type
      	function, to allow handling image formats that cannot be detected
      	by looking at content alone.
      
      gdk-pixbuf/
      2000-07-27  Elliot Lee  <sopwith@redhat.com>
      	* gdk-pixbuf-io.h, gdk-pixbuf-io.c: Add gdk_pixbuf_get_named_module() function to facilitate above change
      	* io-bmp.c: Don't malloc a temporary buffer - use stack instead.
      	* io-wbmp.c, pixbufloader_wbmp.defs, gdk-pixbuf-io.c, Makefile: Implement loader for WBMP format.
      
      **NOTE: I haven't tested this yet, I need to sync it to another machine, but it if it is broken
      I'm already working on fixing it
      3ddaa735
  23. 27 Jul, 2000 1 commit