1. 19 Feb, 2002 2 commits
    • Owen Taylor's avatar
      Add routines _gtk_find_module(), _gtk_get_module_path() to look up a · a255d9cd
      Owen Taylor authored
      Mon Feb 18 23:16:16 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkmain.[ch]: Add routines _gtk_find_module(),
              _gtk_get_module_path() to look up a module of an arbitrary type in
              a standard fashion. (#68474)
      
              * gtk/gtkrc.c: Make module_path keyword warn and do
              nothing. Remove the im_module_path keyword.
      
              * gtk/gtkrc.c (gtk_rc_get_im_module_path): Fix
              to return the standard path instead of one determined
              from im_module_path and GTK_IM_MODULE_PATH.
      
              * gtk+-2.0.pc.in: Add gtk_host to go along with gtk_binary_version.
      a255d9cd
    • Matthias Clasen's avatar
      Trivial formatting fixes to all examples, simple functional fixes to · bd73a312
      Matthias Clasen authored
      	* docs/tutorial/gtk-tut.sgml, docs/examples/*: Trivial formatting
      	fixes to all examples, simple functional fixes to rangewidgets example.
      bd73a312
  2. 18 Feb, 2002 13 commits
    • Owen Taylor's avatar
      Select the right item in the family list. (Reported by Mark Patton, Patch · c3940d4a
      Owen Taylor authored
      Mon Feb 18 18:27:45 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkfontsel.c (gtk_font_selection_set_font_name): Select
              the right item in the family list. (Reported by Mark Patton,
              Patch from Satajyit Kanungo, #64240)
      
              * gtk/gtkfontsel.c (gtk_font_selection_set_font_name): Update
              the size and face entry lists as well, fix memory leak.
              (Also #64240)
      
              * gtk/gtkfontsel.c (gtk_font_selection_show_available_sizes):
              Allow fractional sizes, unselect the selected row if none
              matches.
      
              * gtk/gtkscrolledwindow.c (gtk_scrolled_window_focus): Fix
              a bug where the scrolled window would always get focus
              when focusing out of the child.
      c3940d4a
    • Hans Breuer's avatar
      process WM_PAINT messages for bg_pixmap == GDK_NO_BG, fixes The GIMP's · 911700a3
      Hans Breuer authored
      2002-02-18  Hans Breuer  <hans@breuer.org>
      
      	* gdk/win32/gdkevents-win32.c : process WM_PAINT messages
      	for bg_pixmap == GDK_NO_BG, fixes The GIMP's canvas
      	rendering glitches on win32
      
      	* gdk/win32/gdkinput-win32.c : use g_object_new to create
      	GdkDevice instead of g_new
      
      	* gtk/gtkpaned.c : make LAST_SIGNAL the last in enum.
      	This avoids to smash totally unrelated static data and
      	resulting random crashes. (as reported on gtk-devel-list,
      	2002-02-10 : testgtk crashes)
      
      	* gtk/gtk.def : add new file selection entry points
      911700a3
    • Owen Taylor's avatar
      Remove support for the poorly defined text/plain type for now. (#55117) · 7ea9e804
      Owen Taylor authored
      Mon Feb 18 17:34:43 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkentry.c gtk/gtktextview.c: Remove support for
              the poorly defined text/plain type for now. (#55117)
      7ea9e804
    • Owen Taylor's avatar
      Add some docs for GTK_NEED_REQUEST GTK_NEED_ALLOCATION. · 8fe564e3
      Owen Taylor authored
      Mon Feb 18 16:44:00 2002  Owen Taylor  <otaylor@redhat.com>
      
              * docs/widget_system.txt: Add some docs for GTK_NEED_REQUEST
              GTK_NEED_ALLOCATION.
      
              * gtk/gtkmenu.c (gtk_menu_popup): Scroll the menu
              to the right place before showing the menu to
              avoid spurious enter events.
      
              * gtk/gtkmenu.c (gtk_menu_realize): Only scroll
              if there is an active menu item.
      
              * gtk/gtkwidget.c (gtk_widget_init): Set RESIZE_NEEDED
              ALLOC_NEEDED initially.
      8fe564e3
    • Matthias Clasen's avatar
      fix the version number in NEWS · a2bf986b
      Matthias Clasen authored
      a2bf986b
    • Manish Singh's avatar
      ack, remove conflict marker · 78c6308a
      Manish Singh authored
      78c6308a
    • Manish Singh's avatar
      don't comment out the lines to dist the packer example, just simply remove · a3b1cd22
      Manish Singh authored
      2002-02-18  Manish Singh  <yosh@gimp.org>
      
              * Makefile.am: don't comment out the lines to dist the packer
              example, just simply remove it. (the continuation line confused
              make even though it was in the comment, barf)
      a3b1cd22
    • Manish Singh's avatar
      really remove · ded86e55
      Manish Singh authored
      ded86e55
    • Owen Taylor's avatar
      Fix problems with stuck grab (#60132, reported by Nicolas Setton) and · 211c4696
      Owen Taylor authored
      Mon Feb 18 14:40:22 2002  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkcombo.c (gtk_combo_popdown_list): Fix problems
      	with stuck grab (#60132, reported by Nicolas Setton) and
      	stuck prelighting. Combine duplicated code in three
      	places for popping down the list.
      211c4696
    • Owen Taylor's avatar
      gtk/gtkclist.c (adjust_adjustments) gtk/gtklayout.c · b2b29ea1
      Owen Taylor authored
      Mon Feb 18 14:17:59 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkclist.c (adjust_adjustments)
              * gtk/gtklayout.c (gtk_layout_size_allocate)
              * gtk/gtktextview.c (gtk_text_view_size_allocate)
              * gtk/gtktreeview.c (gtk_tree_view_size_allocate)
              * gtk/gtkviewport.c (gtk_viewport_size_allocate):
              Standardize on a page increment of page minus 1 line
              rather than half a page (#51027, Eric Fischer)
      
              * gtk/gtkviewport.c (gtk_viewport_size_allocate):
              Change step increment to be 0.1 * page_size height rather than
              a fixed 10 pixels.
      b2b29ea1
    • Owen Taylor's avatar
      Don't commit unless we got at least one hex digit. (#70619) · 6f58c368
      Owen Taylor authored
      Mon Feb 18 12:31:52 2002  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkimcontextsimple.c (gtk_im_context_simple_filter_keypress):
      	Don't commit unless we got at least one hex digit. (#70619)
      6f58c368
    • Owen Taylor's avatar
      Released 1.3.14 · 2e8d083c
      Owen Taylor authored
      Sun Feb 17 21:30:49 2002  Owen Taylor  <otaylor@redhat.com>
      
              * Released 1.3.14
      
              * configure.in: Version 1.3.14, interface, binary age 0.
      
              * gdk/gdkregion-generic.c (miSubtractO): Fix out-of-bounds
              read. (#71619, reported by Morten Welinder)
      
              * gtk/gtkmenu.c (gtk_menu_class_init): Fix setting default.
      
              * gtk/gtkfilesel.c (gtk_file_selection_class_init): Add
              a select_multiple property to go along with thenew
              get/set_select_multiple.
      
              * gdk/gdkwindow.c: Patch from Soeren Sandmann to improve
              update debugging code. (#71703)
      2e8d083c
    • Owen Taylor's avatar
      Updated for filesel changes. · e0f29748
      Owen Taylor authored
      Sun Feb 17 21:33:33 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtk-sections.txt: Updated for filesel changes.
      e0f29748
  3. 17 Feb, 2002 9 commits
    • Tor Lillqvist's avatar
      Don't set the PC_EXPLICIT flag for unused palette entries, that might have · 28bfe195
      Tor Lillqvist authored
      2002-02-17  Tor Lillqvist  <tml@iki.fi>
      
      	* gdk/win32/gdkcolor-win32.c (free_colors): Don't set the
      	PC_EXPLICIT flag for unused palette entries, that might have
      	undesired side effects. Just set them to black. Black is always
      	present in a palette, so having superfluous black entries won't
      	cause any extra allocations from the system palette either when
      	realized.
      
      	* gdk/win32/gdkevents-win32.c
      	(gdk_event_translate:WM_QUERYNEWPALETTE): Don't do anything if the
      	system visual is static color, i.e. the user has told GDK to use
      	just the 16 static colors. In that case no need to redraw
      	anything, as the colors are static and by definition always
      	correctly mapped in the system palette.
      	(WM_PALETTECHANGED): Ditto, no need to call UpdateColors() either.
      28bfe195
    • Matthias Clasen's avatar
      Make the paned example deprecation-clean. · 38d639c0
      Matthias Clasen authored
      	* docs/tutorial/gtk-tut.sgml, examples/paned/paned.c,
      	examples/paned/Makefile: Make the paned example deprecation-clean.
      
      	* various ChangeLog files: correct my email.
      38d639c0
    • jacob berkman's avatar
      remove the packer example files as they don't exist in CVS. · f1f5cc1a
      jacob berkman authored
      2002-02-17  jacob berkman  <jacob@ximian.com>
      
      	* Makefile.am: remove the packer example files as they don't exist
      	in CVS.
      f1f5cc1a
    • Manish Singh's avatar
      hm, check buttons look better for below. · cfca364b
      Manish Singh authored
      2002-02-16  Manish Singh  <yosh@gimp.org>
      
              * tests/testgtk.c: hm, check buttons look better for below.
      cfca364b
    • Manish Singh's avatar
      redid the filesel test. Added a way to set select multiple as a toggle · 0adb1b26
      Manish Singh authored
      2002-02-16  Manish Singh  <yosh@gimp.org>
      
              * tests/testgtk.c: redid the filesel test. Added a way to set select
              multiple as a toggle button, and made show/hide fileops toggle
              buttons as well. get_selections() is called on OK and all the
              filenames selected are printed.
      0adb1b26
    • Tor Lillqvist's avatar
      Remove comment about the gtk-1-3-win32-production branch having more · efbdfddb
      Tor Lillqvist authored
      2002-02-17  Tor Lillqvist  <tml@iki.fi>
      
      	* README.win32: Remove comment about the gtk-1-3-win32-production
      	branch having more functionality.
      efbdfddb
    • Tor Lillqvist's avatar
      Massive changes. Too many to list here, but I'll try a summary: · bc1ec5c1
      Tor Lillqvist authored
      2002-02-17  Tor Lillqvist  <tml@iki.fi>
      
      	* gdk/win32/*.c: Massive changes. Too many to list here, but I'll
      	try a summary:
      
      	1) Unify GdkPixmap and GdkImage implementation: For each
      	GdkPixmap, allocate a GdkImage, and vice versa.
      	GdkPixmapImplWin32Data has a pointer to the GdkImage.
      	GdkImage::windowing_data is a pointer to the GdkPixmap.
      
      	This simplifies many pixmap and image related functions a lot, and
      	reduces duplicated code snippets. For instance, there is only one
      	place in gdk/win32 where CreateDIBSection() is called, in the
      	function _gdk_win32_new_pixmap(). Converting a bitmap (GdkPixmap)
      	to a Windows region is almost trivial, with the bitmap bits being
      	readily accessible in the associated GdkImage.
      
      	All blitting between GdkPixmaps, GdkWindows and GdkImages goes
      	through handled the _gdk_win32_blit() function, which calls
      	different functions to handle the cases of blitting from pixmaps,
      	inside windows (scrolling), or from windows, which all require
      	somewhat different handling.
      
      	2) Support 256-color mode. This has long been very broken, now it
      	works more or less OK. Keep the logical palette for each colormap
      	as small as possible while allocating and freeing colors. Select
      	and realize the logical palette associated with a GdkColormap into
      	a DC before drawing or blitting.
      
      	When the display is in 256-color mode, make it possible for the
      	user to override the size of the palette(s) used with either the
      	GDK_WIN32_MAX_COLORS environment variable, or a -max-colors
      	command line option. It is possible to reduce the palette size all
      	the way down to using just the 16 static colors (which causes the
      	system visual to be of type GDK_VISUAL_STATIC_COLOR. This could
      	possibly be useful if one desperately wants to avoid color
      	flashing. (Note that in order for this to work properly, an as of
      	yet not commited fix to gdkrgb.c is needed.)
      
      	Handle the palette messages. On WM_PALETTECHANGED, call
      	UpdateColors() for the given window hierarchy. Do this only if a
      	window in some other top-level window hierarchy caused the palette
      	change (realized a palette). Do this max five times in a row (an
      	arbitrarily chosen limit), though, otherwise redraw by generating
      	expose events. On WM_QUERYNEWPALETTE, cause a redraw of the whole
      	window hierarchy by generating GDK_EXPOSE events.
      
      	3) Code cleanup in general. For instance, remove the "emulated"
      	X11 structs ColormapStruct, Visual and XStandardColormap. Use the
      	new GDK_DEBUG_* flags for debugging output in the relevant source
      	files. Remove the unused colormap hash table in gdkcolor-win32.c
      
      	4) Plug some resource leaks.
      
      2002-02-14  Tor Lillqvist  <tml@iki.fi>
      
      	* gdk/win32/gdkdnd-win32.c (gdk_dropfiles_filter): Use
      	g_filename_to_uri() to actually create legal URIs in the
      	text/uri-list data.
      bc1ec5c1
    • Manish Singh's avatar
      Added multiple selection API · ff612419
      Manish Singh authored
      2002-02-16  Manish Singh  <yosh@gimp.org>
      
              * gtk/gtkfilesel.[ch]: Added multiple selection API
      ff612419
    • Manish Singh's avatar
      use fabs() on a double instead of abs() · 66572327
      Manish Singh authored
      2002-02-16  Manish Singh  <yosh@gimp.org>
      
              * gdk/linux-fb/miarc.c: use fabs() on a double instead of abs()
      66572327
  4. 16 Feb, 2002 7 commits
    • Matthias Clasen's avatar
      More work on #71430. · b3d5f148
      Matthias Clasen authored
      	* examples/*/Makefile (CFLAGS): add deprecation guards.
      
      	* docs/tutorial/gtk-tut.sgml, examples/*/*.c: make most examples
      	deprecation-clean; the major offenders right now are the examples
      	that make heavy use of completely deprecated or broken widgets:
      	list, tree, text, pixmap, paned and progressbar. These will have
      	to be redone from scratch.
      
      	* demos/Makefile.am (INCLUDES): add -DGDK_PIXBUF_DISABLE_DEPRECATED.
      b3d5f148
    • Kristian Rietveld's avatar
      This commit lands the 'dy patch'. · 554838e4
      Kristian Rietveld authored
      Sun Feb 17 00:13:06 2002  Kristian Rietveld  <kris@gtk.org>
      
              This commit lands the 'dy patch'.
      
              * gtk/gtktreeview.c (validate_rows_handler): update top_row or dy,
              (gtk_tree_view_top_row_to_dy): new function,
              (gtk_tree_view_row_changed): update top_row or dy,
              (gtk_tree_view_rows_reordered): update top_row
      554838e4
    • Matthias Clasen's avatar
      rearrange rules to not emit the example start and end markers. · 21ac424e
      Matthias Clasen authored
      	* examples/extract.awk: rearrange rules to not emit the example
      	start and end markers.
      
      	* docs/tutorial/gtk-tut.sgml: turn the start and end markers into
      	SGML comments, so they don't clutter the formatted tutorial.
      21ac424e
    • Matthias Clasen's avatar
      Forgot to actually remove these. · e07fabae
      Matthias Clasen authored
      e07fabae
    • Tivo Leedjrv's avatar
      Updated Estonian translation. · 8f7ef454
      Tivo Leedjrv authored
      2002-02-16  Tõivo Leedjärv  <leedjarv@interest.ee>
      
              * et.po: Updated Estonian translation.
      8f7ef454
    • Havoc Pennington's avatar
      take GDK_HINT_RESIZE_INC into account, and handle negative coordinates · e672dd61
      Havoc Pennington authored
      2002-02-16  Havoc Pennington  <hp@pobox.com>
      
      	* gtk/gtkwindow.c (gtk_window_parse_geometry): take
      	GDK_HINT_RESIZE_INC into account, and handle negative coordinates
      	correctly. (Can't email Owen - hope this is OK.)
      e672dd61
    • Owen Taylor's avatar
      Add key bindings on GtkScrolledWindow for arrow keys, PageUp/PageDown · 59fc8ff8
      Owen Taylor authored
      Fri Feb 15 20:09:45 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkscrolledwindow.[ch] gtk/gtkmarshallers.list:
              Add key bindings on GtkScrolledWindow for arrow keys,
              PageUp/PageDown Home/End to scroll the window.
              Bind Control-[Shift]-Tab to focus out of the scrolled
              window entirely. Allow the scrolled window to be
              focused if no child can be focused. (#63480)
      
              * gtk/gtkwidget.c (gtk_widget_hide): Remove the REALIZED()
              check - if we have visible but not mapped widgets
              (inside a unshown notebook tab, for instance), we need
              to track their size. (#65087, reported by Damon Chaplin.)
      
              * gtk/gtkcolorsel.c (palette_change_color): Shut up
              a warning.
      59fc8ff8
  5. 15 Feb, 2002 7 commits
  6. 14 Feb, 2002 2 commits
    • Matthias Clasen's avatar
      The following changes are the beginning of the work on #71430. · 542dec4c
      Matthias Clasen authored
      	* examples/extract.sh, examples/extract.awk: Make extraction work.
      
      	* examples/Makefile (SUBDIRS): Remove packer.
      
      	* examples/packer/pack.c, examples/packer/Makefile: Removed.
      
      	* docs/tutorial/gtk-tut.sgml: Fix the included examples far
      	enough to make them compile and (mostly) work, remove the packer
      	example.
      542dec4c
    • Owen Taylor's avatar
      Patch from Bill Haneman and Padraig O'Briain to add cursor_aspect_ratio · 8f5c2c76
      Owen Taylor authored
      Thu Feb 14 16:46:48 2002  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkentry.c gtk/gtktextdisplay.c gtk/gtklabel.c
      	gtk/gtkstyle.[ch] gtk/gtkwidget.c: Patch from Bill
      	Haneman and Padraig O'Briain to add cursor_aspect_ratio
      	style property to GtkWidget to allow theming the aspect
      	ratio of the cursor.
      
      	* gtk/gtkentry.c gtk/gtktextview.c gtk/gtklabel.c
      	gtk/gtkwidget.c tests/testgtkrc: Move cursor-color style property
      	to GtkWidget.
      8f5c2c76