1. 04 Jan, 2002 2 commits
    • Owen Taylor's avatar
      Fix problem where retrieved atoms weren't properly returned. · 90eb9ef0
      Owen Taylor authored
      Thu Dec 27 18:12:55 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gdk/x11/gdkproperty-x11.c (gdk_property_get): Fix
      	problem where retrieved atoms weren't properly returned.
      90eb9ef0
    • Owen Taylor's avatar
      Fix and uncomment non-MMX version. · c96a394c
      Owen Taylor authored
      Thu Jan  3 19:31:58 2002  Owen Taylor  <otaylor@redhat.com>
      
      	* pixops/pixops.c (scale_line_22_33): Fix and uncomment
      	non-MMX version.
      
      	* pixops/pixops.c (pixops_composite_nearest): Remove a
      	division.
      
      	* pixops/pixops.c (pixops_composite): Add some docs
      	about the parameters.
      
      	* pixops/README: Add notes about the correct algorithms
      	for alpha compositing and how to implement them quickly.
      c96a394c
  2. 03 Jan, 2002 4 commits
    • Matthias Clasen's avatar
      Small additions. · 317ba5b2
      Matthias Clasen authored
              * gtk/tmpl/gtktextview.sgml: Small additions.
      
              * gtk/tmpl/gtksignal.sgml: Explain what to use instead.
      
              * gtk/question_index.sgml, gtk/text_widget.sgml, gtk/tree_widget.sgml,
              gtk/changes-1.2.sgml, gtk/changes-2.0.sgml,
              gtk/framebuffer.sgml: SGML fixes and additions.
      
              * gtk/tmpl/gtksignal.sgml, gtk/tmpl/gtkdialog.sgml,
              gtk/tmpl/gtkeditable.sgml, gtk/tmpl/gtkfilesel.sgml,
              gtk/tmpl/gtkmain.sgml, gtk/tmpl/gtkmenu.sgml,
              gtk/tmpl/gtkmessagedialog.sgml, gtk/tmpl/gtkrc.sgml,
              gtk/tmpl/gtktogglebutton.sgml, gtk/tmpl/gtkspinbutton.sgml,
              gtk/tmpl/gtkpaned.sgml, gtk/tmpl/gtkwindow.sgml:
              Replace references to deprecated functions.
      317ba5b2
    • Anders Carlsson's avatar
      When tab is pressed and the text view isn't editable, move the focus · 39900836
      Anders Carlsson authored
      2002-01-03  Anders Carlsson  <andersca@gnu.org>
      
      	* gtk/gtktextview.c (gtk_text_view_key_press_event): When
      	tab is pressed and the text view isn't editable,
      	move the focus instead.
      39900836
    • Matthias Clasen's avatar
      Add markup. · 0ea3acb0
      Matthias Clasen authored
              * gtk/changes-1.2.sgml, gtk/changes-2.0.sgml,
              gtk/framebuffer.sgml: Add markup.
      0ea3acb0
    • Anders Carlsson's avatar
      Free dash list if necessary. · a11baab1
      Anders Carlsson authored
      2002-01-03  Anders Carlsson  <andersca@gnu.org>
      
      	* gtk/gtkstyle.c (gtk_default_draw_focus): Free dash list if
      	necessary.
      
      	* gtk/gtkhsv.c (gtk_hsv_get_focus_gc): Free dash list.
      
      	* gtk/gtkcolorsel.c (get_focus_gc): Free dash list.
      
      	* gtk/gtkdnd.c (set_icon_stock_pixbuf): Don't unref the mask
      	if it's NULL.
      a11baab1
  3. 02 Jan, 2002 4 commits
    • Anders Carlsson's avatar
      Rename gtk_tree_view_queue_draw_node to _gtk_tree_view_queue_draw_node. · 88edb0e5
      Anders Carlsson authored
      2002-01-03  Anders Carlsson  <andersca@gnu.org>
      
      	* gtk/gtktreeview.c: Rename gtk_tree_view_queue_draw_node to
      	_gtk_tree_view_queue_draw_node.
      	(gtk_tree_view_row_has_child_toggled): Only redraw one node.
      
      	* gtk/gtktreesortable.c (gtk_tree_sortable_set_sort_func):
      	sort_column_id can be 0.
      
      	* gtk/gtktreeselection.c (gtk_tree_selection_real_select_node):
      	Only redraw one the node being selected.
      
      	* gtk/gtktreeprivate.h: Add _gtk_tree_view_queue_draw_node.
      88edb0e5
    • Tim Janik's avatar
      don't ignore realized but visible && !mapped resize containers (which is · bc879373
      Tim Janik authored
      Wed Jan  2 23:09:06 2002  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkcontainer.c (_gtk_container_queue_resize): don't ignore
              realized but visible && !mapped resize containers (which is
              possible with unset CHILD_VISIBLE now).
      bc879373
    • jacob berkman's avatar
      automake still doesn't support libsomething_la_LDFLAGS, so fix the build · 11ae67f9
      jacob berkman authored
      2002-01-02  jacob berkman  <jacob@ximian.com>
      
      	* gtk/Makefile.am (LDFLAGS): automake still doesn't support
      	libsomething_la_LDFLAGS, so fix the build again
      11ae67f9
    • Havoc Pennington's avatar
      propagate exposes to no window children not in the buffer window. · 290e4efd
      Havoc Pennington authored
      2002-01-01  Havoc Pennington  <hp@pobox.com>
      
      	* gtk/gtktextview.c (gtk_text_view_expose_event): propagate
      	exposes to no window children not in the buffer window.
      	(gtk_text_view_class_init): add move_focus bindings for Ctrl-Tab
      	- is this the right way to do it?
      	(gtk_text_view_focus): add focus method, just chains up for now,
      	I'm not sure why the GtkContainer implementation doesn't work
      
      	* gtk/gtktextbtree.c (_gtk_text_btree_insert_child_anchor): fill
      	in the text line for the child anchor segment
      
      	* tests/testtext.c (do_add_focus_children): add another test
      	example (to put focusable buttons into the widget)
      290e4efd
  4. 01 Jan, 2002 5 commits
    • Havoc Pennington's avatar
      move README.linux-fb in here · e7153de0
      Havoc Pennington authored
      2002-01-01  Havoc Pennington  <hp@pobox.com>
      
      	* gtk/framebuffer.sgml: move README.linux-fb in here
      
      	* gtk/tmpl/gtkpreview.sgml: explain what to use instead
      
      	* gtk/tmpl/gtkseparator.sgml: typo fix
      
      	* gtk/tmpl/gtkstock.sgml: add some overview docs
      
      	* gtk/Makefile.am (content_files): add new files
      
      	* gtk/changes-1.2.sgml: move Changes-1.2.txt in here
      
      	* gtk/changes-2.0.sgml: move Changes-2.0.txt in here
      
      	* gdk/tmpl/threads.sgml: mention gdk_threads_init() in the
      	overview docs, copy in the examples from the FAQ
      
      	* gtk/gtk-docs.sgml: change DTD to 3.1, and add
      	question_index.sgml and changes-1.2, changes-2.0
      
      	* gtk/tmpl/gtkdrawingarea.sgml: fixups to reflect 2.0 changes
      
      	* gtk/question_index.sgml: new section with question-based
      	index of the manual
      
      	* gtk/text_widget.sgml: fix some cross-references
      
      2002-01-01  Havoc Pennington  <hp@pobox.com>
      
      	* docs/README.linux-fb: note that this file is obsolete
      
      	* docs/Changes-2.0.txt, docs/Changes-1.2.txt: Add notes to these
      	files that they should not be edited and look in the reference
      	manual instead. Probably these files should just be replaced by
      	the note, and their main contents deleted.
      
      	* gtk/gtktextview.c: docs
      
      	* gtk/gtktextmark.c: docs
      
      	* gtk/gtktextchild.c: docs
      
      	* gtk/gtktextbuffer.c: docs stuff
      
      	* gtk/gtkclipboard.c (gtk_clipboard_get): fool with docs to maybe
      	give people more leads in sorting out PRIMARY vs. CLIPBOARD
      e7153de0
    • Tor Lillqvist's avatar
      Append EXEEXT to ../gdk-pixbuf/gdk-pixbuf-csource. · c8940d6f
      Tor Lillqvist authored
      2002-01-01  Tor Lillqvist  <tml@iki.fi>
      
      	* demos/Makefile.am (test-inline-pixbufs.h): Append EXEEXT to
      	../gdk-pixbuf/gdk-pixbuf-csource.
      
      2001-12-31  Tor Lillqvist  <tml@iki.fi>
      
      	* gdk/win32/gdkgc-win32.c (predraw_set_foreground): Improved error
      	handling.
      	(gdk_win32_hdc_get,gdk_win32_hdc_release): Silence gcc -Wall.
      
      	* gdk/win32/gdkimage-win32.c (_gdk_win32_get_image): Silence gcc
      	-Wall.  Use GDK_IS_PIXMAP_IMPL_WIN32 instead of GDK_IS_PIXMAP in
      	one more place.
      
      	* gdk/win32/gdkinput-win32.c (_gdk_input_other_event): Silence gcc
      	-Wall.
      
      	* gtk/Makefile.am (libgtk_win32_1_3_la_LDFLAGS): Add -lwsock32.
      c8940d6f
    • Havoc Pennington's avatar
      doc fix · 77b8bac9
      Havoc Pennington authored
      2002-01-01  Havoc Pennington  <hp@pobox.com>
      
      	* gtk/gtktextview.c (gtk_text_view_get_default_attributes): doc
      	fix
      
      2002-01-01  Havoc Pennington  <hp@pobox.com>
      
      	* gtk/tmpl/gtktexttag.sgml: docs updates, mention that invisible
      	property isn't implemented
      
      	* gtk/text_widget.sgml: small tweaks
      77b8bac9
    • Havoc Pennington's avatar
      docs updates, mention that invisible property isn't implemented · 07e5b7f6
      Havoc Pennington authored
      2002-01-01  Havoc Pennington  <hp@pobox.com>
      
      	* gtk/tmpl/gtktexttag.sgml: docs updates, mention that invisible
      	property isn't implemented
      
      	* gtk/text_widget.sgml: small tweaks
      
      2002-01-01  Havoc Pennington  <hp@pobox.com>
      
      	* gtk/gtktextview.c (gtk_text_view_get_default_attributes): doc
      	fix
      07e5b7f6
    • Havoc Pennington's avatar
      Replace call to gtk_widget_size_request() that expected to actually · 6ee899e5
      Havoc Pennington authored
      2002-01-01  Havoc Pennington  <hp@pobox.com>
      
      	* gtk/gtktextview.c (changed_handler): Replace call to
      	gtk_widget_size_request() that expected to actually compute the
      	request with a direct use of widget_class->size_request, so we get
      	our size request right; fixes remaining part of #63065 reported by
      	Matthias Clasen
      6ee899e5
  5. 31 Dec, 2001 6 commits
    • Havoc Pennington's avatar
      remove backward_char since we no longer have bogus newline · d07cd9f8
      Havoc Pennington authored
      2001-12-31  Havoc Pennington  <hp@pobox.com>
      
      	* tests/testtext.c (do_insert_and_scroll): remove backward_char
      	since we no longer have bogus newline
      	(dialog_response_callback): remove another backward_char horkage,
      	reported by Matthias Clasen #63065
      d07cd9f8
    • Havoc Pennington's avatar
      fix an incorrect assertion that the "valid" flag is always correct in a · 9b185ed7
      Havoc Pennington authored
      2001-12-31  Havoc Pennington  <hp@pobox.com>
      
      	* gtk/gtktextbtree.c (gtk_text_btree_node_view_check_consistency):
      	fix an incorrect assertion that the "valid" flag is always correct
      	in a node and add explanatory comment. This keeps me from
      	reproducing #59101, but I'm remembering that 59101 was actually
      	about incorrect pixel totals, so I'm not sure 59101 is actually
      	fixed. May just have stopped happening due to some change in
      	how C-k works.
      9b185ed7
    • Havoc Pennington's avatar
      extend selection if shift is down, bug #50939 · 64891890
      Havoc Pennington authored
      2001-12-31  Havoc Pennington  <hp@pobox.com>
      
      	* gtk/gtktextview.c (gtk_text_view_start_selection_drag): extend
      	selection if shift is down, bug #50939
      	(gtk_text_view_button_press_event): add double/triple click
      	selection to the current selection if shift is down
      64891890
    • Havoc Pennington's avatar
      fix to use ensure_byte_offsets not ensure_char_offsets, patch from Padraig · a307ffbf
      Havoc Pennington authored
      2001-12-31  Havoc Pennington  <hp@pobox.com>
      
      	* gtk/gtktextiter.c (gtk_text_iter_get_visible_line_index): fix
      	to use ensure_byte_offsets not ensure_char_offsets, patch
      	from Padraig O'Briain bug #67356
      a307ffbf
    • Havoc Pennington's avatar
      fix GtkDialogFlags to have the right values, reported by Jeff Franks · 5c6ef799
      Havoc Pennington authored
      2001-12-30  Havoc Pennington  <hp@pobox.com>
      
      	* gtk/gtkdialog.h (GtkDialogFlags): fix GtkDialogFlags to have
      	the right values, reported by Jeff Franks
      5c6ef799
    • Matthias Clasen's avatar
      Remove references to nonexisting functions. · da1c3390
      Matthias Clasen authored
              * gtk/tmpl/gtkbbox.sgml: Remove references to nonexisting functions.
      
              * gtk/tmpl/gtkcolorseldlg.sgml, gtk/tmpl/gtkdrawingarea.sgml,
              gtk/tmpl/gtkmain.sgml, gtk/tmpl/gtkhseparator.sgml,
              gtk/tmpl/gtktree.sgml, gtk/tmpl/gtkradiobutton.sgml,
              gtk/tmpl/gtkradiomenuitem.sgml:
              Replace references to deprecated functions.
      
              * gtk/tmpl/gtkhbbox.sgml,gtk/tmpl/gtkvbbox.sgml: Minor fixes.
      da1c3390
  6. 30 Dec, 2001 1 commit
    • Matthias Clasen's avatar
      Additions. · d925a72d
      Matthias Clasen authored
              * gtk/tmpl/gtkpixmap.sgml, gtk/tmpl/gtkscale.sgml,
              gtk/tmpl/gtkmain.sgml, gtk/tmpl/gtkimcontextsimple.sgml: Additions.
      
              * gtk/gtkwindow.c, gtk/gtkimcontextsimple.c: Minor documentation tweaks.
      d925a72d
  7. 29 Dec, 2001 2 commits
    • Tor Lillqvist's avatar
      Add makefile.msc. · c7401dec
      Tor Lillqvist authored
      2001-12-29  Tor Lillqvist  <tml@iki.fi>
      
      	* Makefile.am (EXTRA_DIST): Add makefile.msc.
      c7401dec
    • Matthias Clasen's avatar
      GDK instead of Gdk. · 5b291073
      Matthias Clasen authored
              * gdk-pixbuf/porting-from-imlib.sgml: GDK instead of Gdk.
      
              * gdk-pixbuf/tmpl/gdk-pixbuf-xlib-init.sgml: Replace references to
              deprecated functions.
      
              * gdk/tmpl/event_structs.sgml, gdk/tmpl/gcs.sgml,
              gdk/tmpl/images.sgml: Replace references to deprecated functions.
      
              * gdk/tmpl/properties.sgml, gdk/tmpl/selections.sgml: Additions.
      
              * gdk/x11/gdkproperty-x11.c, gdk/x11/gdkselection-x11.c:
              Minor documentation tweaks.
      5b291073
  8. 28 Dec, 2001 3 commits
  9. 27 Dec, 2001 6 commits
    • Owen Taylor's avatar
      Make interpretation of misc->xpad/ypad consistent with GtkLabel. Do · 6d51fcd9
      Owen Taylor authored
      Thu Dec 27 16:05:30 2001  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkarrow.c gtk/gtkimage.c gtkpixmap.c: Make interpretation
              of misc->xpad/ypad consistent with GtkLabel. Do
              directional flipping when interpreting misc->xalign/yalign.
              Fix off-by-one error for negative x,y. (#67472, reported
              by Mathieu Lacage)
      6d51fcd9
    • Owen Taylor's avatar
      Remove optimization that was causing problems because we called · 7aeb18a5
      Owen Taylor authored
      Thu Dec 27 15:45:41 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkwidget.c (gtk_widget_set_style_internal):
      	Remove optimization that was causing problems because
      	we called gtk_widget_size_request() before we called
      	gtk_widget_queue_resize() so RESIZE_NEEDED was not
      	set. Optimization shouldn't mattter now that we
      	are smart about needlessly size requesting or allocating
      	widgets. (#67598, reported by Jacob Berkman)
      7aeb18a5
    • Owen Taylor's avatar
      Call gdk_window_get_pointer() on menu->bin_window not menu->window, so we · 095d7c33
      Owen Taylor authored
      Thu Dec 27 15:38:20 2001  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkmenu.c (gtk_menu_stop_navigating_submenu_cb):
              Call gdk_window_get_pointer() on menu->bin_window not
              menu->window, so we get the correct window for the
              menu item. (#65213, Guillermo S. Romero)
      095d7c33
    • Owen Taylor's avatar
      Allow unsetting the title by setting to NULL. Move docs inline. Update the · aae695ab
      Owen Taylor authored
      Thu Dec 27 15:13:44 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkmenu.c (gtk_menu_set_title): Allow unsetting
      	the title by setting to NULL. Move docs inline.
      	Update the title if the tearoff window already
      	exists. Code cleanup. (Fixes #65190, reported by
      	Vitaly Tishkov.)
      aae695ab
    • Owen Taylor's avatar
      gtk/gtkplug.c (gtk_plug_key_press_event): Don't do special handling of key · 95f4d72e
      Owen Taylor authored
      Thu Dec 27 14:04:22 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtksocket.c (gtk_socket_key_press_event):
      	gtk/gtkplug.c (gtk_plug_key_press_event): Don't do
      	special handling of key presses unless we are doing
      	iter-app embedding. (Fixes #67590, Anders Carlsson)
      95f4d72e
    • Kristian Rietveld's avatar
      fix a few places where I was confused between modelsort iters and other · 2282ef41
      Kristian Rietveld authored
      Thu Dec 27 16:37:04 2001  Kristian Rietveld  <kris@gtk.org>
      
              * gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_deleted),
              (gtk_tree_model_sort_sort_level),
              (gtk_tree_model_sort_insert_value): fix a few places where
              I was confused between modelsort iters and other iters. This was
              really going to happen someday ;)
      2282ef41
  10. 26 Dec, 2001 5 commits
    • Kristian Rietveld's avatar
      ensure we are unprelighted before reordering · 51ba1729
      Kristian Rietveld authored
      Wed Dec 26 23:41:41 2001  Kristian Rietveld  <kris@gtk.org>
      
              * gtk/gtktreeview.c (gtk_tree_view_rows_reordered): ensure
              we are unprelighted before reordering
      
              * gtk/gtktreemodel.c (gtk_tree_row_ref_reordered_callback): we
              need to break out of the for loop, not return
      
              * gtk/gtktreemodelsort.c: more fixage and cleanups. It seems to
              be pretty stable now, though it still needs some more code
              cleanups.
      51ba1729
    • Owen Taylor's avatar
      Document the fact that gtk_paned_set_handle_size() has been removed. · c56a3caa
      Owen Taylor authored
      Wed Dec 26 12:32:31 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* docs/Changes-2.0.txt: Document the fact that
      	gtk_paned_set_handle_size() has been removed.
      
      	* gtk/gtkpaned.h Remove gtk_paned_handle_size() compat macro,
      	since it pointed to gtk_paned_set_handle_size(), which
      	was removed. (#66760, Matt Wilson)
      c56a3caa
    • Owen Taylor's avatar
      Connect gtk_drag_hightlight_expose _after_, so it works with widgets that · 1a0be4a6
      Owen Taylor authored
      Wed Dec 26 12:28:24 2001  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkdnd.c (gtk_drag_highlight): Connect
              gtk_drag_hightlight_expose _after_, so it works with
              widgets that paint there entire background. (#66735)
      1a0be4a6
    • Owen Taylor's avatar
      Assign the allocation to widget->allocation. (Fixes #67290, Chris Phelps.) · b48e255d
      Owen Taylor authored
      Wed Dec 26 12:17:06 2001  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkplug.c (gtk_plug_size_allocate): Assign the
              allocation to widget->allocation. (Fixes #67290,
              Chris Phelps.)
      b48e255d
    • Owen Taylor's avatar
      (#67542, reported by Anders Carlsson) · e1033f5f
      Owen Taylor authored
      Wed Dec 26 11:49:01 2001  Owen Taylor  <otaylor@redhat.com>
      
              (#67542, reported by Anders Carlsson)
      
              * gtk/gtkstyle.c (gtk_style_real_init_from_rc): Merge
              rc_style->font_desc with defaul style instead of replacing
              it.
      
              * gtk/gtkrc.c (gtk_rc_style_real_merge): Allow partial
              font descriptions in RC styles by calling
              pango_font_description_merge().
      e1033f5f
  11. 24 Dec, 2001 2 commits