1. 14 Jan, 2003 1 commit
    • Matthias Clasen's avatar
      Skip invisible chars for GTK_MOVEMENT_LOGICAL_POSITIONS and · 740f871a
      Matthias Clasen authored
      
      	* gtk/gtktextview.c (gtk_text_view_move_cursor_internal): Skip
      	invisible chars for GTK_MOVEMENT_LOGICAL_POSITIONS and
      	GTK_MOVEMENT_WORDS.
      
      	* gtk/gtktextiter.c,
      	gtk/gtktextiter.h: Add some variant movement functions which
      	skip invisible chars, and do some cleanups.
      
      	* gtk/gtk-sections.txt: Add new GtkTextIter functions.
      740f871a
  2. 12 Jan, 2003 1 commit
    • Tor Lillqvist's avatar
      Merge from stable: · 4a3c812b
      Tor Lillqvist authored
      2003-01-12  Tor Lillqvist  <tml@iki.fi>
      
      	Merge from stable:
      
      	* gtk/gtkmain.c: Move inclusion of config.h and gtkintl.h earlier,
      	as gtkprivate.h redefines GTK_LOCALEDIR on Win32, for run-time
      	lookup.
      
      	* gdk/Makefile.am (libgdk_win32_2_0_la_DEPENDENCIES): Depend on
      	gdk.def.
      
      	* gdk/gdk.def
      	* gtk/gtk.def: Add some missing entries. Thanks to Kenichi SUTO.
      
      	* gtk-zip.sh.in (DEVZIP): Add bin/{gtk-query-immodules-2.0,
      	gtk-demo}.exe and share/gtk-2.0.
      
      	* gdk/win32/gdkwindow-win32.c (gdk_window_set_skip_taskbar_hint):
      	Implement by setting or clearing the WS_EX_TOOLWINDOW extended
      	window style.
      	(gdk_window_set_type_hint): Add all cases to the switch (not all
      	do anything, though). Handle GDK_WINDOW_TYPE_HINT_TOOLBAR by
      	calling gdk_window_set_skip_taskbar_hint(). This means that GTK
      	won't know that the skip_taskbar hint is on for the window, is
      	this bad?
      4a3c812b
  3. 09 Jan, 2003 1 commit
    • Manish Singh's avatar
      #include <stdlib.h> for putenv, <string.h> for strlen. · bd6ac8c6
      Manish Singh authored
      Wed Jan  8 18:43:03 2003  Manish Singh  <yosh@gimp.org>
      
              * gdk/x11/gdkdisplay-x11.c: #include <stdlib.h> for putenv,
              <string.h> for strlen.
      
              * gdk/x11/gdkscreen-x11.c: #include <stdlib.h> for getenv,
              <string.h> for strrchr.
      
              * tests/testgtk.c (create_saved_position): "x" and "y" properties
              for widgets no longer exist, use gtk_window_move instead.
      
              * test/testtextbuffer.c (check_get_set_text): cast strlen to
              int for g_error.
      bd6ac8c6
  4. 08 Jan, 2003 1 commit
  5. 07 Jan, 2003 1 commit
  6. 06 Jan, 2003 2 commits
    • Matthias Clasen's avatar
      Add a comment that the just_selected_element is unused. · f50f45bc
      Matthias Clasen authored
      2003-01-07  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtktextview.h (struct _GtkTextView): Add a comment that
      	the just_selected_element is unused.
      
      	* gtk/gtktextview.c (extend_selection): New helper function to
      	find the range that should be added to the selection.
      	(selection_motion_event_handler):
      	(gtk_text_view_start_selection_drag):
      	(gtk_text_view_end_selection_drag):
      	(selection_motion_event_handler):
      	(selection_scan_timeout): Support select-by-words/lines.
      	(gtk_text_view_button_press_event): Start a selection drag on
      	double/triple clicks.  (#78599)
      f50f45bc
    • Matthias Clasen's avatar
      Implement a utility function proposed in #102534: · bc70dc94
      Matthias Clasen authored
      2003-01-06  Matthias Clasen  <maclas@gmx.de>
      
      	Implement a utility function proposed in #102534:
      
      	* gtk/gtktextbtree.h:
      	* gtk/gtktextbtree.c (_gtk_text_btree_select_range): New function.
      	(_gtk_text_btree_place_cursor): Now a simple wrapper around
      	_gtk_text_btree_select_range().
      
      	* gtk/gtktextbuffer.h:
      	* gtk/gtktextbuffer.c (gtk_text_buffer_select_range): New function.
      	(gtk_text_buffer_place_cursor): Now a simple wrapper around
      	gtk_text_buffer_select_range().
      bc70dc94
  7. 05 Jan, 2003 2 commits
    • Havoc Pennington's avatar
      fix a stray bracket that was breaking the build · 4b881c09
      Havoc Pennington authored
      2003-01-05  Havoc Pennington  <hp@pobox.com>
      
      	* configure.in: fix a stray bracket that was breaking the build
      4b881c09
    • Tor Lillqvist's avatar
      Use correct DLL and import library names, with GTK_API_VERSION in name, · 0973b993
      Tor Lillqvist authored
      2003-01-05  Tor Lillqvist  <tml@iki.fi>
      
      	* gtk-zip.sh.in: Use correct DLL and import library names, with
      	GTK_API_VERSION in name, not GTK_MAJOR_VERSION.GTK_MINOR_VERSION.
      	(DEVZIP): Add gdk-pixbuf-query-loaders.exe.
      
      	* configure.in: Improve check for dimm.h.
      
      	* configure.in: Set SOEXT to 'so' on Unix, 'dll' on Win32. Used in
      	gdk-pixbuf/Makefile.am.
      
      	* gdk-pixbuf/makefile.mingw.in
      	* gdk-pixbuf/pixops/makefile.mingw.in
      	* gdk/makefile.mingw.in
      	* gdk/win32/makefile.mingw.in
      	* gtk/makefile.mingw.in: Remove. Not maintained anyway.
      
      	* gdk-pixbuf/Makefile.am
      	* gdk-pixbuf/pixops/Makefile.am
      	* gdk/Makefile.am
      	* gdk/win32/Makefile.am
      	* gtk/Makefile.am
      	* configure.in: Remove makefile.mingw{,.in} from here, too.
      
      	* README.win32: Updates. Don't mention the now removed
      	makefile.mingw files.
      
      	* gdk/gdk.def
      	* gtk/gtk.def: Add a couple of missing entries.
      
      	* gdk/gdkkeynames.c: Include <string.h> for strcmp() and memcpy().
      
      	* gdk/win32/gdkevents-win32.c: Move dimm.h header clash workaround
      	earlier.
      
      	* gdk/win32/rc/Makefile.am: Add hack to help
      	build/win32/lt-compile-resource decide which kind of libtool
      	object file to produce.
      0973b993
  8. 04 Jan, 2003 6 commits
  9. 02 Jan, 2003 1 commit
  10. 31 Dec, 2002 1 commit
  11. 28 Dec, 2002 1 commit
  12. 27 Dec, 2002 1 commit
  13. 25 Dec, 2002 2 commits
  14. 24 Dec, 2002 1 commit
  15. 23 Dec, 2002 1 commit
    • Matthias Clasen's avatar
      Don't call gtk_text_iter_backward_sentence_start() if count is zero. · 98c47bc8
      Matthias Clasen authored
      2002-12-23  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtktextiter.c (gtk_text_iter_backward_sentence_starts):
      	Don't call gtk_text_iter_backward_sentence_start() if
      	count is zero.  (#99115)
      
      	* gtk/gtktextview.c (gtk_text_view_move_cursor_internal): Call
      	move_cursor() even if the cursor hasn't moved, since it has the
      	side effect of canceling the selection.  (#81395, #98537, #9833)
      98c47bc8
  16. 22 Dec, 2002 1 commit
  17. 21 Dec, 2002 4 commits
    • Tor Lillqvist's avatar
      Move the code that sets the window style and extended window style, and · eee70b81
      Tor Lillqvist authored
      2002-12-21  Tor Lillqvist  <tml@iki.fi>
      
      	* gdk/win32/gdkwindow-win32.c (gdk_window_new): Move the code that
      	sets the window style and extended window style, and adjusts the
      	width and height to take the window decorations into account
      	earlier. The adjusted width and height used to be ignored. Remove
      	the local x, y, width and height variables, no need to further
      	confuse the code by having local copies. (Partial fix, I hope, for
      	#101588)
      
      	(gdk_window_move): When moving top-level windows, take title bar
      	and border width into account, offsetting the coordinates before
      	calling SetWindowPos().
      
      	(gdk_window_set_decorations, gdk_window_set_functions):
      	Reimplement, taking into account the peculiar semantics of
      	GDK_DECOR_ALL and GDK_FUNC_ALL. (#79036)
      
      	(gdk_window_get_decorations): Implement. (#98981)
      
      	(gdk_window_set_type_hint): When setting
      	GDK_WINDOW_TYPE_HINT_MENU, call	gdk_window_set_decorations().
      	(#79036)
      
      	* gdk/gdk.def: Add gdk_window_get_decorations. (#98981)
      eee70b81
    • Matthias Clasen's avatar
      New static function to set the background of all windows. · e42ddac3
      Matthias Clasen authored
      	* gtk/gtktextview.c (gtk_text_view_set_background): New static
      	function to set the background of all windows.
      	(gtk_text_view_style_set): Use gtk_text_view_set_background().
      	(gtk_text_view_state_changed): New function; change background
      	according to state.  (#88126)
      e42ddac3
    • Havoc Pennington's avatar
      fix the documentation · 535c4b52
      Havoc Pennington authored
      2002-12-21  Havoc Pennington  <hp@pobox.com>
      
      	* gtk/gtktextview.c (gtk_text_view_move_visually): fix the documentation
      535c4b52
    • Owen Taylor's avatar
      === Released 2.2.0 === · 968f6f2b
      Owen Taylor authored
      Fri Dec 20 15:23:26 2002  Owen Taylor  <otaylor@redhat.com>
      
              * === Released 2.2.0 ===
      
              * configure.in: Version 2.2.0, interface age 0, binary age 200.
      
              * README.in: Update the release notes.
      
              * INSTALL.in: Mention that Pango-1.0 can be used with GTK+-2.2.
      
              * NEWS: Update.
      968f6f2b
  18. 20 Dec, 2002 1 commit
  19. 19 Dec, 2002 2 commits
    • Owen Taylor's avatar
      Call the filters on the window where the event is received, not on the · 9902a670
      Owen Taylor authored
      Thu Dec 19 11:42:00 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/x11/gdkevents-x11.c (gdk_event_translate): Call
              the filters on the window where the event is received,
              not on the window the event is "about". (#101512,
              Bolian Yin.)
      9902a670
    • Kristian Rietveld's avatar
      the rand variable should be static to avoid conflicts with rand(). · 4a19c3da
      Kristian Rietveld authored
      Thu Dec 19 03:58:36 2002  Kristian Rietveld  <kris@gtk.org>
      
              * tests/testtreeflow.c: the rand variable should be static to
              avoid conflicts with rand(). (#100844, reported by Soeren Sandmann,
              fix pointed out by Matthias Clasen).
      
      Thu Dec 19 03:56:23 2002  Kristian Rietveld  <kris@gtk.org>
      
              * gtk/gtktreeview.c (gtk_tree_view_real_select_cursor_row): if we
              started editing, we handled this key signal, so return TRUE.
              (#100532, reported by Soeren Sandmann).
      4a19c3da
  20. 18 Dec, 2002 2 commits
  21. 17 Dec, 2002 6 commits
    • Owen Taylor's avatar
      === Released 2.1.5 === · 7c2e5d92
      Owen Taylor authored
      Mon Dec 16 22:38:11 2002  Owen Taylor  <otaylor@redhat.com>
      
              * === Released 2.1.5 ===
      
              * configure.in: GTK+-2.1.5, interface age 2, binary age 105.
      
              * NEWS: Updated.
      
              * gtk/Makefile.am (gtk_c_sources): Remove reference to fnmatch.h
      7c2e5d92
    • Owen Taylor's avatar
      Don't use AC_CHECK_LIB() when checking for FreeType, Pango, Atk since that · 0216952a
      Owen Taylor authored
      Mon Dec 16 22:12:01 2002  Owen Taylor  <otaylor@redhat.com>
      
              * configure.in: Don't use AC_CHECK_LIB() when
              checking for FreeType, Pango, Atk since that get
              the ordering wrong. Instead, set LIBS ourself
              and call AC_TRY_LINK_FUNC(). (#98406)
      0216952a
    • Owen Taylor's avatar
      Call gtk_entry_set_position_internal() that takes a new "reset_IM" · 24899adb
      Owen Taylor authored
      Mon Dec 16 21:39:28 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkentry.c (gtk_entry_enter_text): Call
              gtk_entry_set_position_internal() that takes a
              new "reset_IM" parameter, so that we avoid the
              problem where committing text would reset the
              input method. (#74381, Kang Jeong-Hee)
      24899adb
    • Tor Lillqvist's avatar
      Implement two missing functions (#101369) · 85e7cab2
      Tor Lillqvist authored
      2002-12-17  Tor Lillqvist  <tml@iki.fi>
      
      	Implement two missing functions (#101369)
      
      	* gdk/gdk.def: Add here, too.
      85e7cab2
    • Matthias Clasen's avatar
      Fix a few doc comments. Link to style properties. · 5d347cad
      Matthias Clasen authored
      2002-12-17  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkcontainer.c: Fix a few doc comments.
      	* gtk/tmpl/gtkrc.sgml: Link to style properties.
      
      	* gtk/tmpl/gtkcontainer.sgml: Add bits about child properties.
      
      	* gtk/tmpl/gtkwidget.sgml: Add bits about style properties.
      
      	* gdk/tmpl/pixmaps.sgml:
      	* gdk/tmpl/windows.sgml:
      	* gdk/tmpl/drawing.sgml:
      	* gdk/tmpl/gcs.sgml:
      	* gtk/tmpl/gtktextview.sgml:
      	* gtk/tmpl/gtkrc.sgml:
      	* gtk/tmpl/gtkiconfactory.sgml:
      	* gtk/tmpl/gtkaccelgroup.sgml: Remove ids which are now
      	generated by gtk-doc.
      5d347cad
    • Tor Lillqvist's avatar
      Minor cosmetics. · 7ed6dc1d
      Tor Lillqvist authored
      2002-12-17  Tor Lillqvist  <tml@iki.fi>
      
      	* gdk/win32/gdkglobals-win32.c: Minor cosmetics.
      
      	Implement two missing functions (#101369)
      
      	* gdk/win32/gdkevents-win32.c
      	(gdk_display_add_client_message_filter): Implement by calling
      	gdk_add_client_message_filter(), no separate displays on Windows,
      	at least not yet.
      
      	* gdk/win32/gdkgc-win32.c (gdk_gc_get_screen): Implement by
      	returning the only screen so far, _gdk_screen.
      7ed6dc1d
  22. 16 Dec, 2002 1 commit