1. 12 Jun, 2002 1 commit
  2. 10 Jun, 2002 4 commits
    • Hans Breuer's avatar
      added gdkdisplay and gdkscreen · 6539a7d3
      Hans Breuer authored
      2002-06-10  Hans Breuer  <hans@breuer.org>
      
      	* gdk/makefile.msc : added gdkdisplay and gdkscreen
      
      	* gdk/win32/gdkdisplay-win32.c (gdk_open_display) :
      	need to gdk_screen_set_default_colormap(). Also un-static
      	some exported gdk_display_*() functions
      
      	* gdk/win32/gdkdrawable-win32.c : added "gdkscreen.h"
      
      	* gdk/win32/gdkscreen-win32.c : implement
      	gdk_screen_get_number, fixed typo, added rewuired headers
      
      	[merge from 2.0.x branch, should we really manifest
      	 GtkPlug as being an X11 only thing this way? See #58541]
      	* gtk/gtkwindow.c (gtk_window_show): Conditionalize
      	GTK_IS_PLUG() check on GDK_WINDOWING_X11. (Problem
      	reported by Sven Neumann)
      6539a7d3
    • Tor Lillqvist's avatar
      [ merge from stable ] · 663ec013
      Tor Lillqvist authored
      2002-06-10  Tor Lillqvist  <tml@iki.fi>
      
      	[ merge from stable ]
      
      	* gdk/win32/gdkmain-win32.c (gdk_screen_get_width_mm,
      	gdk_screen_get_height_mm): Use the "logical dpi" to calculate
      	(pseudo) physical sizes. Similar to the use of "logical dpi" in
      	Pango as suggested by Joaquin Cuenca Abela.
      
      	Two fixes by Florent Duguet:
      
      	* gdk/win32/gdkwindow-win32.c (gdk_window_set_cursor): Correct
      	semantics for setting cursor to NULL (should use cursor of parent
      	window).
      
      	* gdk/win32/gdkgc-win32.c (gdk_win32_hdc_get): Plug memory
      	leak.
      663ec013
    • Federico Mena Quintero's avatar
      New functions to fetch 32 or 16-bit little-endian values starting at a · ebeb676c
      Federico Mena Quintero authored
      2002-06-07  Federico Mena Quintero  <federico@ximian.com>
      
      	* io-bmp.c (lsb_32):
      	(lsb_16): New functions to fetch 32 or 16-bit little-endian values
      	starting at a specific memory location.  We do this instead of
      	GINT32_FROM_LE() as the latter is simply dereferences a cast,
      	which doesn't work on platforms with alignment requirements.
      	Fixes #84083.
      ebeb676c
    • Naba Kumar's avatar
      Added hi in ALL_LINGUAS Added new hindi translation. · 3d5f7b0c
      Naba Kumar authored
      	* configure.in: Added hi in ALL_LINGUAS
      	* po/hi.po: Added new hindi translation.
      3d5f7b0c
  3. 09 Jun, 2002 1 commit
    • Matthias Clasen's avatar
      Don't leak child_anchor_table. (#84425) · 2c867d1e
      Matthias Clasen authored
      	* gtk/gtktextbtree.c (_gtk_text_btree_unref): Don't leak
      	child_anchor_table.  (#84425)
      
      	* gtk/gtktextlayout.c (gtk_text_layout_finalize): Don't leak
      	one_display_cache.  (#84424)
      2c867d1e
  4. 08 Jun, 2002 1 commit
    • Jonathan Blandford's avatar
      Fix sizing bug. · 79c202b5
      Jonathan Blandford authored
      Fri Jun  7 23:11:42 2002  Jonathan Blandford  <jrb@gnome.org>
      
      	* gtk/gtktreeview.c (gtk_tree_view_real_expand_row): Fix sizing
      	bug.
      
      	* docs/reference/gtk/tmpl/gtkbutton.sgml: Remove ^M's.
      
      Not sure why all the docs updated.
      79c202b5
  5. 07 Jun, 2002 2 commits
    • Matthias Clasen's avatar
      New function, split off from gtk_tree_view_column_clear_attributes. · a68df0b2
      Matthias Clasen authored
      	* gtk/gtktreeviewcolumn.c
      	(gtk_tree_view_column_clear_attributes_by_info): New function,
      	split off from gtk_tree_view_column_clear_attributes.
      	(gtk_tree_view_column_clear_attributes):
      	(gtk_tree_view_column_finalize):  Call the new function, avoid
      	recalculating the info from the renderer.  (#84413)
      
      	* gtk/gtktextview.c (text_view_child_new_anchored): Initialize
      	vc->type in order to avoid a later UMR.  (#84415)
      a68df0b2
    • Mark McLoughlin's avatar
      use the RootWindow of this screen for gdk_window_get_pointer. · 4c547ec4
      Mark McLoughlin authored
      2002-06-07  Mark McLoughlin  <mark@skynet.ie>
      
              * gtk/gtkwindow.c: (gtk_window_compute_configure_request): use
              the RootWindow of this screen for gdk_window_get_pointer.
      4c547ec4
  6. 06 Jun, 2002 5 commits
    • Matthias Clasen's avatar
      Set hardware_keycode for KeyRelease events. (#84305) · 91745dfe
      Matthias Clasen authored
      	* gdk/x11/gdkevents-x11.c (gdk_event_translate): Set
      	hardware_keycode for KeyRelease events.  (#84305)
      91745dfe
    • Owen Taylor's avatar
      Don't redraw when the area is completely above the visible area. · d44ba97f
      Owen Taylor authored
      Thu May 23 15:44:30 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtktextview.c (changed_handler): Don't redraw
              when the area is completely above the visible area.
      d44ba97f
    • Owen Taylor's avatar
      Add a "is_focus" property indicating whether a widget is the focus widget · c0f78ae0
      Owen Taylor authored
      Fri May 17 17:27:21 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkwindow.c gtk/gtkwidget.c: Add a "is_focus"
              property indicating whether a widget is the focus
              widget within the toplevel.
      
              * gtk/gtkwindow.[ch]: Add "is_active" "has_toplevel_focus"
              properties to indicate (separately) the idea of
              being the part of the toplevel with the input focus
              and being the active widget. (Needed for full XEMBED
              compliance.)
      
              * gtk/gtkplug.c gtk/gtksocket.c: Update to work
              in terms of is_active/has_toplevel_focus, and thus
              handle the active/focused XEMBED distinction
              correctly.
      
              * gtk/gtkplug.c (gtk_plug_realize): Remove
              FOCUS_CHANGE_MASK, since we don't need it.
      
      Fri May 17 18:07:34 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtksocket.c (gtk_socket_add_window): Send
              XEMBED_EMBEDDED_NOTIFY.
      
              * gtk/gtksocket.c: Assume windows without _XEMBED_INFO
              property want to be mapped, for better
              current-Qt compatibility.
      c0f78ae0
    • Kristian Rietveld's avatar
      don't leak the GArray (figured out by Matthias Clasen, fixes #82026). · 3f6c0318
      Kristian Rietveld authored
      Thu Jun  6 17:27:01 2002  Kristian Rietveld  <kris@gtk.org>
      
              * gtk/gtkrbtree.c (_gtk_rbtree_reorder): don't leak the GArray
              (figured out by Matthias Clasen, fixes #82026).
      3f6c0318
    • Owen Taylor's avatar
      Changes multihead reorganizing code for win32 support, mostly from a patch · aeaaae04
      Owen Taylor authored
      Wed Jun  5 18:34:47 2002  Owen Taylor  <otaylor@redhat.com>
      
      	Changes multihead reorganizing code for win32 support,
      	mostly from a patch by Hans Breuer.
      
      	* gdk/gdkcolor.c gdk/x11/gdkcolor-x11.c gdk/gdkcursor.c
      	  gdk/x11/gdkcursor-x11.c gdk/gdkevents.c gdk/x11/gdkevents-x11.c
      	  gdk/gdkfont.c gdk/x11/gdkfont-x11.c gdk/gdkkeys.c
      	  gdk/x11/gdkkeys-x11.c gdk/gdkimage.c gdk/x11/gdkimage-x11.c
      	  gdk/gdkscreen.c gdk/x11/gdkmain-x11.c
      	  gdk/gdkdisplay.c gdk/gdkevents-x11.c gdk/gdkpango.c
      	  gdk/x11/gdkpango-x11.c gdk/gdkselection.c
      	  gdk/x11/gdkselection-x11.c gdk/gdkwindow.c
      	  gdk/x11/gdkwindow-x11.c gdk/gdkvisual.c gdk/x11/gdkvisual-x11.c:
      	  Move port-independent singlehead wrapper functions into
      	  port-independent part of GDK. (#80009)
      
      	* gdk/win32/gdkcolor-win32.c gdk/win32/gdkcursor-win32.c
      	  gdk/win32/gdkevents-win32.c gdk/win32/gdkfont-win32.c
      	  gdk/win32/gdkimage-win32.c gdk/win32/gdkkeys-win32.c
      	  gdk/win32/gdkmain-win32.c gdk/win32/gdkproperty-win32.c
      	  gdk/win32/gdkselection-win32.c gdk/win32/gkwindow-win32.c:
      	Turn singlehead functions into "multihead" functions that ignore
      	their GdkDisplay or GdkScreen arguments.
      
      	* gdk/win32/gdkdrawable-win32.c gdk/win32/gdkevents-win32.c
      	gdk/win32/gdkinput-win32.c gdk/win32/gdkprivate-win32.h:
      	Misc multihead-compatibility changes.
      
      	* gtk/gtk.def gdk/gdk.def: Update for multihead functions.
      
      	* gdk/gdkcolormap.h gdk/gdkvisual.h gdk/x11/gdkcolormap-x11.c
      	gdk/x11/gdkvisual-x11.c: Remove the screen fields
      	from the public parts of the colormap/visual structures, add accessors
      	instead.
      
      	* gdk/gdkpixbuf-render.c gdk/gdkpixmap.c gdk/gdkrgb.c
      	  gdk/x11/gdkcolormap-x11.c gdk/x11/gdkimage-x11.c
      	  gdk/x11/gdkimage-x11.c gdk/x11/gdkprivate-x11.h gtk/gtkgc.c
      	  gtk/gtkstyle.c gtk/gtkwidget.c: Use accessors to get the screen
      	for colormaps, visuals; move the fields into the private
      	structures for the x11 backend.
      
      	* gdk/gdkdisplay.[ch] gdk/x11/gdkdisplay-x11.[ch]
      	  gdk/gdkscreen.[ch] gdk/x11/gdkscreen-x11.c:
      	Remove virtualization of screen and display functions.
      	(#79990, patch from Erwann Chenede)
      
      	* gdk/win32/gdkdisplay-x11.c gdk/win32/gdkscreen-win32.c
      	gdk/win32/{Makefile.am, makefile.msc, makefile.mingw}:
      	New files containing stub implementations of Display,
      	Screen functions.
      
      	* gdk/x11/gdkscreen-x11.[ch] gdk/x11/gdkdisplay-x11.[ch]
      	gdk/x11/gdkx.h: Clean up function exports and what
      	headers they are in. (#79954)
      
      	* gdk/x11/gdkx.h: Fix macro that was referring to a non-existant
      	screen->screen_num. (In the patch for #79972, Erwann Chenede)
      
      	* gdk/gdkscreen.c gdk/gdkwindow.c gdk/x11/gdkinternals.h
      	 gdk/x11/gdkscreen-x11.c: Fix gdk_screen_get_window_at_pointer()
      	to use window hooks. (#79972, patch partly from Erwann Chenede)
      
      	* gdk/x11/gdkdisplay-x11.c gdk/x11/gdkevents-x11.c: Fix
      	some warnings.
      aeaaae04
  7. 05 Jun, 2002 1 commit
    • Kristian Rietveld's avatar
      Related bugs: #76252, #76396, #80866. · 1df47f17
      Kristian Rietveld authored
      Wed Jun  5 23:29:41 2002  Kristian Rietveld  <kris@gtk.org>
      
              Related bugs: #76252, #76396, #80866.
      
              * gtk/gtktreeselection.[ch]: added
              gtk_tree_selection_get_selected_rows(),
              added gtk_tree_selection_count_selected_rows(),
              renamed gtk_tree_selection_real_select_range() to
              gtk_tree_selection_real_modify_range(), and added mode parameter,
              added gtk_tree_selection_unselect_range().
      1df47f17
  8. 04 Jun, 2002 5 commits
    • Owen Taylor's avatar
      If we have xft .pc file, use that when checking for Xft/Xrender. (Still · 9f224d08
      Owen Taylor authored
      Tue Jun  4 17:39:34 2002  Owen Taylor  <otaylor@redhat.com>
      
              * configure.in: If we have xft .pc file, use that
              when checking for Xft/Xrender. (Still need to separate
              out HAVE_XFT, HAVE_RENDER)
      
              * configure.in: Make sure Xft cflags come before X cflags.
      9f224d08
    • Kristian Rietveld's avatar
      added gtk_tree_view_expand_to_path. · 0219cc38
      Kristian Rietveld authored
      Tue Jun  4 21:13:57 2002  Kristian Rietveld  <kris@gtk.org>
      
              * gtk/gtktreeview.[ch]: added gtk_tree_view_expand_to_path.
      0219cc38
    • Kristian Rietveld's avatar
      Discussed in #76249. · f39b189d
      Kristian Rietveld authored
      Tue Jun  4 19:24:41 2002  Kristian Rietveld  <kris@gtk.org>
      
              Discussed in #76249.
      
              * gtk/gtkliststore.[ch]: made gtk_list_store_remove return a gboolean,
              added gtk_list_store_iter_is_valid.
      
              * gtk/gtktreestore.[ch]: made gtk_tree_store_remove return a gboolean,
              added gtk_tree_store_iter_is_valid.
      
              * gtk/gtktreemodelsort.[ch]: added VALID_ITER macro as in liststore
              and treestore sources, added gtk_tree_model_sort_iter_is_valid.
      f39b189d
    • Kristian Rietveld's avatar
      add gtk_tree_model_get_string_from_iter (#74667). · 46006990
      Kristian Rietveld authored
      Tue Jun  4 19:18:20 2002  Kristian Rietveld  <kris@gtk.org>
      
              * gtk/gtktreemodel.[ch]: add gtk_tree_model_get_string_from_iter
              (#74667).
      46006990
    • Daniel Elstner's avatar
      [ merge from stable ] · ba8f8b4d
      Daniel Elstner authored
      2002-06-04  Daniel Elstner  <daniel.elstner@gmx.net>
      
      [ merge from stable ]
      
      * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_render): Really fix #83796: Revert jrb's last patch, and move the second if-clause into the fist one's else-branch.  This is also what the other cell renderers do.
      ba8f8b4d
  9. 03 Jun, 2002 3 commits
    • Jiri (George) Lebl's avatar
      update · 9ad79b6c
      Jiri (George) Lebl authored
      Mon Jun 03 16:42:53 2002  George Lebl <jirka@5z.com>
      
      	* cs.po: update
      9ad79b6c
    • Matthias Clasen's avatar
      Replace homegrown "nbsp", "hash" and "percent" entities by standard ISO · 96937b32
      Matthias Clasen authored
      	* gtk/tmpl/gtkprogress.sgml:
      	* gtk/tmpl/gtkscale.sgml:
      	* gtk/tmpl/gtktreemodel.sgml:
      	* gtk/tmpl/gtkimage.sgml:
      	* gtk/tmpl/gtksignal.sgml:
      	* gtk/tmpl/gtkrc.sgml:
      	* gtk/gtk-docs.sgml:
      	* gdk/gdk-docs.sgml:
      	* gdk/tmpl/threads.sgml:
      	* gdk/tmpl/cursors.sgml:
      	* gdk/tmpl/rgb.sgml: Replace homegrown "nbsp", "hash" and
      	"percent" entities by standard ISO entities "nbsp", "num" and
      	"percnt".
      
      	* gtk/text_widget.sgml: Fix a link.
      96937b32
    • Federico Mena Quintero's avatar
      Fix the MSB -> MSB case. Fixes #79190. · dc8e66d3
      Federico Mena Quintero authored
      2002-06-03  Federico Mena Quintero  <federico@ximian.com>
      
      	* gdk/gdkpixbuf-drawable.c (rgb565msb): Fix the MSB -> MSB case.
      	Fixes #79190.
      dc8e66d3
  10. 02 Jun, 2002 1 commit
  11. 01 Jun, 2002 1 commit
    • Jonathan Blandford's avatar
      add missing flag, #83796 · fce6c25f
      Jonathan Blandford authored
      Sat Jun  1 10:43:28 2002  Jonathan Blandford  <jrb@gnome.org>
      
      	* gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_render):
      	add missing flag, #83796
      fce6c25f
  12. 31 May, 2002 2 commits
  13. 30 May, 2002 4 commits
  14. 29 May, 2002 1 commit
  15. 28 May, 2002 1 commit
    • Matthias Clasen's avatar
      Markup fixes · 2aaf3c0e
      Matthias Clasen authored
      	* gtk/gtkwindow.c (gtk_window_move): Markup fixes
      
      	* gtk/gtkrc.c (gtk_rc_get_module_dir): Markup fixes.
      
      	* gdk/x11/gdkcursor-x11.c (gdk_cursor_new_for_screen): Update docs
      	for Docbook XML.
      
      	* gtk/*, gdk/*, gdk-pixbuf/*: Create XML, not SGML.
      
      	* gtk/tmpl/*: Remove property documentation which comes from the
      	source now.
      
      	* gtk/building.sgml: Remove traces of gxi.
      2aaf3c0e
  16. 27 May, 2002 1 commit
    • Daniel Elstner's avatar
      [ merge from stable ] · 810e4880
      Daniel Elstner authored
      2002-05-27  Daniel Elstner  <daniel.elstner@gmx.net>
      
      [ merge from stable ]
      
      Fixes for #83190
      
      * gtk/gtktreedatalist.h (_GtkTreeDataList::data): Add missing fields to anonymous union: glong, gulong, gint64 and guint64.  This is an internal header file, so it should not affect ABI or API compatibility.
      
      * gtk/gtktreedatalist.c (_gtk_tree_data_list_node_to_value): Implement missing support for glong, gulong, gint64 and guint64 fundamental types.  Use data.v_uint instead of data.v_int for G_TYPE_FLAGS, as GValue does.
      (_gtk_tree_data_list_value_to_node): ditto
      (_gtk_tree_data_list_node_copy): Add case labels for missing fundamental types, and reorder them to match the other functions.
      (gtk_tree_data_list_compare_func): Implement comparison for glong, gulong, gint64 and guint64.  Use g_value_get_enum() for G_TYPE_ENUM and g_value_get_flags() for G_TYPE_FLAGS, rather than accessing them as gint/guint.  The G_VALUE_HOLDS() check probably won't like this.
      810e4880
  17. 24 May, 2002 2 commits
  18. 22 May, 2002 4 commits
    • Tor Lillqvist's avatar
      Use correct path to the loaders and immodules directories · 93865f49
      Tor Lillqvist authored
      2002-05-23  Tor Lillqvist  <tml@iki.fi>
      
      	* gtk-zip.sh.in: Use correct path to the loaders and immodules
      	directories (GTK_BINARY_VERSION, not GTK_VERSION).
      93865f49
    • Owen Taylor's avatar
      Require autoconf-2.52 explicitely, since otherwise Debian will process it · 9a9cdb26
      Owen Taylor authored
      Wed May 22 16:12:38 2002  Owen Taylor  <otaylor@redhat.com>
      
              * configure.in: Require autoconf-2.52 explicitely,
              since otherwise Debian will process it with 2.13 (ugh!).
      
      Wed May 22 12:29:20 2002  Jonathan Blandford  <jrb@redhat.com>
      
              * gtk/gtkscrolledwindow.c (gtk_scrolled_window_init): remove
              GTK_RESIZE_QUEUE setting.
      9a9cdb26
    • Tor Lillqvist's avatar
      Use GTK_BINARY_VERSION (and not GTK_VERSION) in the path to the loaders on · 7952906c
      Tor Lillqvist authored
      2002-05-22  Tor Lillqvist  <tml@iki.fi>
      
      	* gdk-pixbuf-io.c (get_libdir): Use GTK_BINARY_VERSION (and not
      	GTK_VERSION) in the path to the loaders on Win32, too.
      
      	* Makefile.am: Pass GTK_BINARY_VERSION.
      7952906c
    • Federico Mena Quintero's avatar
      Ahem, take the rowstride into account!!! Fixes #82515. · 1528b0ad
      Federico Mena Quintero authored
      2002-05-22  Federico Mena Quintero  <federico@ximian.com>
      
      	* io-xpm.c (pixbuf_create_from_xpm): Ahem, take the rowstride into
      	account!!!  Fixes #82515.
      
      	[This bug is not present in the GNOME 1.4 branch as its XPM loader
      	does not use gdk_pixbuf_new(); rather it malloc()s a buffer with
      	no row padding and then uses gdk_pixbuf_new_from_data() on it.]
      
      	[IMPORTANT: The comment above is to make my life easier when
      	merging stuff across branches.  If you make changes to gdk-pixbuf
      	in either branch, please include a comment in the ChangeLog that
      	indicates whether this should be merged into the other branch.
      	Thanks!]
      1528b0ad