1. 05 Oct, 2000 1 commit
  2. 04 Oct, 2000 2 commits
    • Havoc Pennington's avatar
      Fix copyrights · 502e5a88
      Havoc Pennington authored
      2000-10-04  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtkstock.h, gtk/gtkstock.c, gtk/gtkiconfactory.h,
      	gtk/gtkiconfactory.c: Fix copyrights
      
      	* demos/testpixbuf.c: add inline pixbuf test
      502e5a88
    • Havoc Pennington's avatar
      clean up trailing whitespace, add extensive tests for tag toggle · 928c0698
      Havoc Pennington authored
      2000-10-03  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/testtextbuffer.c: clean up trailing whitespace,
      	add extensive tests for tag toggle iteration.
      
      	* gtk/gtktextiter.c (MAX_LINEAR_SCAN): decrease linear scan
      	distance
      
      	* gtk/gtktextbtree.c (gtk_text_line_next_could_contain_tag):
      	optimize case where the tag root is on level 1
      	(gtk_text_line_previous_could_contain_tag): attempt to implement
      	(gtk_text_line_next_could_contain_tag): Abstract out node_compare
      	functionality
      
      	* gtk/gtktextiter.c (gtk_text_iter_backward_to_tag_toggle):
      	Implement this, though not very efficiently.
      
      	* gtk/gtktextiterprivate.h: reformat
      
      	* gtk/gtktextiter.c (gtk_text_iter_get_char): return 0 on the end
      	iterator
      
      	* gtk/gtktextbuffer.c (gtk_text_buffer_delete_interactive): Fix
      	this to properly revalidate the iterators.
      
      	* gtk/gtktextview.c (gtk_text_view_delete): fix control-K to work
      	properly at the end of the line (and therefore on empty lines)
      
      	* gtk/gtktextbtree.c (gtk_text_btree_get_selection_bounds): Gee,
      	maybe we should return a value...
      928c0698
  3. 03 Oct, 2000 1 commit
    • Tor Lillqvist's avatar
      Guard definition of alloca(). glib.h now handles that. · 69ac9451
      Tor Lillqvist authored
      2000-10-03  Tor Lillqvist  <tml@iki.fi>
      
      	* config.h.win32: Guard definition of alloca(). glib.h now handles
      	that.
      
      	* gdk/gdk.def
      	* gtk/gtk.def: Add new entry points.
      
      	Changes just to make GTK+ build without errors on Win32. No hope
      	of it working in its current state, though...:
      
      	* gdk/win32/gdkselection-win32.c: Remove gcc -Wall warnings.  Add
      	some functions from the X11 backend, just to make GTK+ build.
      
      	* gdk/makefile.mingw.in
      	* gtk/makefile.mingw.in: Use correct gdk_pixbuf version
      	number. Add new object files.
      
      	* gtk/gtkclipboard.c: Include gdkwin32.h on Win32. Use
      	GetMessageTime to get timestamp (where on X11 uses
      	gdk_x11_get_server_time()).
      69ac9451
  4. 02 Oct, 2000 1 commit
    • Havoc Pennington's avatar
      text_window_* weren't static and should have been. Start work on child · 8ebf77d1
      Havoc Pennington authored
      2000-10-02  Havoc Pennington  <hp@pobox.com>
      
              * gtk/gtktextview.c: text_window_* weren't static and should have
      	        been.
      		        Start work on child widgets; not yet complete,
      syncing to
              office computer.
      
      	        * gtk/gtktextchild.h: change this to contain a public interface,
      		starting work on child interfaces.
      		        * gtk/gtktextchildprivate.h: move private interfaces here
      
      			* gtk/Makefile.am: update to reflect gtktextchildprivate.h
      
      			* gtk/gtktextview.h, gtk/gtktextview.c, gtk/gtktextbuffer.h,
      			gtk/gtktextbuffer.c, gtk/gtktextiter.h, gtk/gtk/textiter.c,
      			gtk/gtktextmark.c: copyright notices
      
      			* gtk/gtktextmarkprivate.h: reformat, and put _ in
      front of
              internal functions
      
      	* gtk/gtktextchild.c (_pixbuf_segment_new): put _ in front of
      	internal function
      
      	* gtk/gtktextlayout.c (gtk_text_layout_get_line_display):
      	Reformatting
      8ebf77d1
  5. 30 Sep, 2000 2 commits
    • Havoc Pennington's avatar
      Handle NULL start/end pointers · 632fda6f
      Havoc Pennington authored
      2000-09-30  Havoc Pennington  <hp@pobox.com>
      
      * gtk/gtktextbtree.c (gtk_text_btree_get_selection_bounds): Handle
      NULL start/end pointers
      
      * gtk/gtktextbuffer.c: Write some docs
      (gtk_text_buffer_get_selection_bounds): Allow start/end to be
      NULL, so you can just check whether there's a selection.
      
      * gtk/gtktextbtree.c (gtk_text_btree_remove_mark): No need to
      cleanup_line or segments_changed ourselves, it gets done
      in unlink_segment
      
      * gtk/gtktextmark.h:
      s/gtk_text_mark_deleted/gtk_text_mark_get_deleted/
      
      * gtk/gtktextsegment.h: Clean up some indentation and naming mess
      
      * gtk/gtktextmark.c: delete some more old Tk cruft
      
      * gtk/gtktextbuffer.c (gtk_text_buffer_delete_mark): add ref to
      mark before removing it, so we can emit MARK_DELETED with a valid
      pointer.
      (gtk_text_buffer_mark_set): hold ref across signal emission
      
      * gtk/gtktextbtree.c (gtk_text_btree_remove_mark): improve
      whining about attempts to delete special marks
      
      * gtk/gtktextbuffer.c (_gtk_text_buffer_spew): Prepend with
      underscore, since it's internal.
      
      * gtk/gtktextbuffer.h: Remove find_string prototype, this is
      now implemented in terms of iterators in gtktextiter.h
      
      * gtk/gtktextbuffer.c (gtk_text_buffer_set_text):
      New function, destructively sets contents of buffer. Also
      a convenient way to clear the buffer by setting text to ""
      
      * gtk/gtktextiter.c (gtk_text_iter_make_surreal): reformat
      multiline string literal
      
      * gtk/testtext.c (text_changed_callback): Redraw line numbers if
      text changes.
      
      * gtk/gtktextiter.c (forward_char): Return FALSE if new location
      is not dereferenceable
      (gtk_text_iter_forward_lines): fix return value
      632fda6f
    • Havoc Pennington's avatar
      fix indentation · 244996ff
      Havoc Pennington authored
      2000-09-29  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtktexttag.c (gtk_text_tag_set_priority): fix indentation
      
              * gtk/gtktextview.c: Implement drag thresholding; change functions
      	that set border window size to have nicer name
      	(gtk_text_view_mark_set_handler):  Fix this to have the
      	right signature.
      
      	* gtk/testtextbuffer.c (fill_buffer): Update with pixbuf changes
      
      	* gtk/testtext.c: Update with API changes, put line numbers on
      	both sides.
      
      	* gtk/gtktextiter.c (gtk_text_iter_get_pixbuf): Replace get_pixmap
      	with this
      
      	* gtk/gtktextchild.h, gtk/gtktextchild.c: replace all pixmap with
      	pixbuf; delete a big block of #if 0 Tk code
      
      	* gtk/gtktextbuffer.c (gtk_text_buffer_insert_pixbuf): Replace
      	insert_pixmap with insert_pixbuf
      244996ff
  6. 29 Sep, 2000 1 commit
    • Havoc Pennington's avatar
      Implement the side windows. · d0cbd57d
      Havoc Pennington authored
      2000-09-29  Havoc Pennington  <hp@pobox.com>
      
      * gtk/gtktextview.c: Implement the side windows.
      
      * gtk/testtext.c: Implement simple line numbering in the
      left side window; seems to make scrolling sloooow. Oops.
      Also, cursor blink is for some reason causing redraws
      of the line numbers. Should investigate...
      d0cbd57d
  7. 28 Sep, 2000 1 commit
    • Havoc Pennington's avatar
      Set up infrastructure to deal with lots of scrolling child windows, and · 85735ec7
      Havoc Pennington authored
      2000-09-28  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtktextview.c: Set up infrastructure to deal with lots of
      	scrolling child windows, and draw focus rectangle properly.
      
      	(gtk_text_view_buffer_to_window_coords):
      	Coordinate transformation to deal with all these freaking windows
      	and offsets
      	(gtk_text_view_window_to_buffer_coords): transform the other way
      
      	* gtk/testtext.c (create_buffer): Update to match Pango API change
      
      	* gtk/gtktexttagtable.c (gtk_text_tag_table_foreach): Go over the
      	anonymous tags
      	(foreach_unref): don't emit remove signal from finalize, just
      	set tag's parent to NULL
      85735ec7
  8. 26 Sep, 2000 2 commits
    • Havoc Pennington's avatar
      remove Fix some warnings · 3e6e7b94
      Havoc Pennington authored
      2000-09-26  Havoc Pennington  <hp@redhat.com>
      
              * gtk/gtkiconfactory.c (gtk_icon_set_clear): remove
      	Fix some warnings
      3e6e7b94
    • Havoc Pennington's avatar
      Move more text widget headers into the private header list · e8597130
      Havoc Pennington authored
      2000-09-26  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/Makefile.am (gtk_private_h_sources): Move more text widget
      	headers	into the private header list
      
      	* Makefile.am (pkgconfig_DATA): install pkg-config files
      
      	* configure.in: add pkg-config files
      
      	* gdk-2.0.pc.in, gdk-pixbuf.pc.in, gtk+-2.0.pc.in: pkg-config files
      
      	* gtk/gtkwindow.c (gtk_window_read_rcfiles): Invalidate
      	outstanding icon caches on theme change.
      
      	* gtk/gtkiconfactory.h, gtk/gtkiconfactory.c: New icon system. Three
      	important types:
      
      	(GtkIconSource): Specification for creating a pixbuf
      	appropriate for a direction/state/size triplet from
      	a source pixbuf or filename
      
      	(GtkIconSet): List of GtkIconSource objects that are used to
      	create the "same" icon (e.g. an OK button icon), and cache for
      	rendered icons
      
      	(GtkIconFactory): Hash from stock ID to GtkIconSet; used to look
      	up the icon set for a given stock ID.  GTK maintains a stack of
      	GtkIconFactory to search, and applications or libraries can add
      	additional icon factories on top of the stack
      
              * gtk/gtkrc.h, gtk/gtkrc.c: When loading an RcStyle, parse
      	the set of GtkIconSource specified for a given stock ID into
      	a GtkIconSet, and put the GtkIconSet into a GtkIconFactory for the
      	RcStyle, under the specified stock ID.
      
      	* gtk/gtkstyle.h, gtk/gtkstyle.c: Add a virtual function
      	render_icon used to derive a GdkPixbuf from a GtkIconSource.
      	This allows people to theme how prelight, insensitive, etc. are
      	done.
      
      	(gtk_style_lookup_icon_set): Look up a stock ID in the list of
      	icon factories for a style, and return the resulting
      	icon set if any.
      
      	(gtk_style_render_icon): Render an icon using the render_icon
      	method in the GtkStyleClass.
      
      	* gtk/gtkwidget.h, gtk/gtkwidget.c (gtk_widget_render_icon):
      	Use the style for a given widget to look up a stock ID, get the
      	icon set, and render an icon using the render_icon method
      	of the style
      
      	* gtk/gtkstock.h, gtk/gtkstock.c: Header with the GtkStockItem type
      	(contains information about a stock item), the built-in stock item
      	IDs, and functions to add/lookup stock items.
      
      	* gtk/stock-icons/*: Stock icons that come with GTK
      
      	* gtk/gtkbutton.h, gtk/gtkbutton.c (gtk_button_new_stock): Returns
      	a button based on a GtkStockItem
      	(gtk_button_new_accel): Takes a uline string and accel group, and
      	installs the accelerator.
      
      	* gtk/gtkimage.h, gtk/gtkimage.c: Make this into a generic
      	image-display widget.
      e8597130
  9. 25 Sep, 2000 1 commit
    • Havoc Pennington's avatar
      Draw the focus, and leave space to do so. · 9bec105a
      Havoc Pennington authored
      2000-09-25  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtktextview.c: Draw the focus, and leave space to do so.
      
      	* gtk/gtktexttypes.c: Remove Latin1 conversion stuff
      
      	* gtk/gtktextbtree.c (gtk_text_btree_node_remove_data):
      	Fix a bug when removing node data, we didn't properly
      	re-splice the linked list after removing the data.
      
      	* gtk/gtktextview.c (gtk_text_view_key_press_event): Pass through
      	GDK_Tab as literal tab, Ctrl-Tab to tab to focus widget
      
      	* gtk/gtktextbuffer.c (selection_received): fix g_convert usage
      
      	* gtk/gtktextlayout.c (set_para_values): Set tab array
      	for the layout from the GtkTextTag.
      
      	* gtk/gtktexttypes.h: delete tab and search cruft,
      	remove g_convert() in favor of GLib version
      
      	* gtk/gtktexttypes.c: remove tab implementation from here,
      	move to Pango
      
      	* gtk/gtktexttag.h, gtk/gtktexttag.c: Implement
      	tab stuff using new PangoTabArray from Pango
      
      	* gtk/gtktexttag.c (gtk_text_attributes_fill_from_tags): Remove
      	unused border_width stuff
      9bec105a
  10. 14 Sep, 2000 3 commits
    • Owen Taylor's avatar
      Remove g_convert (moved to glib) and now useless utf_to_latin1() · 2a9abf57
      Owen Taylor authored
      Thu Sep 14 12:21:12 2000  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtktexttypes.[ch]: Remove g_convert (moved to
      	glib) and now useless utf_to_latin1() latin1_to_utf()
      2a9abf57
    • Owen Taylor's avatar
      Add gtkclipboard.[ch · 5fea6944
      Owen Taylor authored
      Thu Sep 14 12:43:30 2000  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtk.h gtk/Makefile.am: Add gtkclipboard.[ch
      5fea6944
    • Owen Taylor's avatar
      Remove g_convert (moved to glib) and now useless utf_to_latin1() · 39339f14
      Owen Taylor authored
      Thu Sep 14 12:21:12 2000  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtktexttypes.[ch]: Remove g_convert (moved to
      	glib) and now useless utf_to_latin1() latin1_to_utf()
      
      	* gtk/gtktextview.[ch]: Change ::move_insert and
      	::delete_text action signals to ::move and ::delete;
      	create the signals with the right enumeration type,
      	not GTK_TYPE_ENUM so that bindings work. Add C-d, M-d,
      	C-v bindings, change Home, End to move to beginning/end
      	of line, Add C-Home C-End to move to beginning/end
      	of buffer. Change ::cut_text to ::cut_clipboard, etc;
      	combine ::scroll_text into ::move; use new GtkSelectionData
      	functions to simplify DND text handling.
      
      	* gtk/gtkenums.h gtk/gtktextview.h: Move movement,
      	deletion enumerations here, rename enumeration values to
      	be consistently plural.
      
      	* gtk/gtktextbuffer.c: Use new clipboard interfaces
      	for cut/copy/paste and primary selection.
      
      	* gtk/gtktextbuffer.[ch]: Remove excess time and
      	'interactive' arguments from cut/copy/paste;
      	rename cut to cut_clipboard, etc; remove
      	gtk_text_buffer_get_clipboard_contents().
      
      	* gtk/gtktextlayout.[ch]: Add
      	gtk_text_layout_move_iter_to_line_end() to move	the iter to
      	line ends.
      
      	* gtk/gtkselection.[ch] (gtk_selection_data_set/get_text):
      	Functions to set or get a UTF-8 string on the selection
      	data.
      
      	* gtk/gtkclipboard.[ch]: New, simplified selection handling
      	interfaces.
      
      	* gtk/gtkinvisible.c (gtk_invisible_new): Realize newly
      	created widgets - one of these is useless if we don't.
      
      	* gtk/gtkselection.[ch] (gtk_selection_clear_targets): Export
      	a public function clear all targets registered for the
      	widget.
      
      	* gtk/gtkselection.c (gtk_selection_owner_set) docs/Changes-2.0.txt:
      	Never call gtk_widget_realize() - that was just asking
      	for bizarre side-effects.
      
      	* gtk/gtkselection.c (gtk_selection_owner_set): Call
      	gdk_selection_owner_set even if the widget is the
      	same so that we reliably update the timestamp on
      	the server.
      
      	* gdk/x11/gdkevents-x11.c gdk/x11/gdkx.h: Add a
      	gdk_x11_get_server_time() function.
      
      	* gdk/x11/gdkevents-x11.c gdk/x11/gdkprivate-x11.h
      	gdk/x11/gdkselection-x11.c gdk/x11/gdkwindow-x11.h:
      	Add some tricky filtering on serial numbers for
      	selection clear events to fix up long-standard
      	race condition FIXME's in gtkselection.c.
      
      	* gdk/gdkproperty.h gdk/x11/gdkselection-x11.h: Add
      	routines to convert from utf8 to compound text or
      	STRING and from a text property to UTF-8.
      
      	* gtk/gtkmain.[ch] (gtk_get_current_event_time): Add
      	a convenience function gdk_get_current_event_time().
      
      	* gtk/gtkselection.c (gtk_selection_data_copy/free): Copy
      	and free selection_data->data properly
      39339f14
  11. 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
  12. 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
      Doc comment fixing. (Mostly non-matching parameter names.) · 21b53897
      Owen Taylor authored
      Thu Sep  7 11:47:02 2000  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtktextbuffer.c gtk/gtkimcontext.c gtk/gtkwidget.c:
      	Doc comment fixing. (Mostly non-matching parameter names.)
      
      	* gtk/gtkcalendar.c gtk/gtklist.c gtk/gtknotebook.c: Modify
      	comments a little to avoid looking like a doc comment.
      
      	* gtk/gtkspinbutton.h (GTK_INPUT_ERROR): Change INPUT_ERROR to
      	GTK_INPUT_ERROR. (Should the mechanism for erros in spin button
      	conversions be changed to GError?)
      
      	* gtk/gtkcolorsel.c (GTK_CUSTOM_PALETTE_WIDTH/HEIGHT):
      	Move private #defines into .c file.
      
      	* gtk/gtktexttag.c (gtk_text_tag_class_init): Alphabetize
      	order of argument addition, remove duplicates.
      
      	* gtk/gtkaspectframe.h (struct _GtkAspectFrameClass):
      	parent class is FrameClass, not BinClass.
      
      	* gtk/gtk.h: Add gtkinvisible, which was missing.
      	(It's occasionalyl useful for client apps, if seldom.)
      
      	* gdk/gdktypes.h: Remove obsolete GDK_CORE_POINTER
      	#define.
      21b53897
  13. 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
  14. 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
  15. 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
  16. 31 Aug, 2000 4 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
  17. 30 Aug, 2000 1 commit
  18. 28 Aug, 2000 1 commit
  19. 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
  20. 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
  21. 18 Aug, 2000 1 commit
  22. 12 Aug, 2000 5 commits
  23. 09 Aug, 2000 1 commit