1. 23 Feb, 2000 1 commit
  2. 22 Feb, 2000 3 commits
  3. 20 Feb, 2000 1 commit
  4. 19 Feb, 2000 2 commits
  5. 18 Feb, 2000 2 commits
    • Anders Carlsson's avatar
      Fix my e-mail address · 797d3454
      Anders Carlsson authored
      797d3454
    • Owen Taylor's avatar
      Remove OwnerGrabButtonMask from button entries for GDK_BUTTON_PRESS / · c8a2382b
      Owen Taylor authored
      Fri Feb 18 14:37:29 2000  Owen Taylor  <otaylor@redhat.com>
      
      	* gdk/x11/gdkwindow-x11.c (gdk_event_mask_table): Remove
      	OwnerGrabButtonMask from button entries for
      	GDK_BUTTON_PRESS / GDK_BUTTON_RELEASE.
      
      	* gtk/gtklayout.c (gtk_layout_realize): Always add GDK_SCROLL
      	to the event mask (which will result in button/press release
      	being added to the event mask on Unix) so scrolling works
      	for layouts in scroll windows.
      
      	* gdk/gdkevents.h (enum): Fix up GDK_ALL_EVENTS_MASK.
      
      	Patch from Anders Carlsson  <andersca@picard.andersnet> to add
      	a scroll event.
      
       	* gtk/testgtk.c (scroll_test_scroll): Added an example of mouse wheel
       	scrolling to the "Test Scrolling" part of testgtk.
      
       	* gtk/gtkwidget.h (struct _GtkWidgetClass): Added scroll_event signal.
      
       	* gtk/gtkwidget.c: Added "scroll_event" GTK+ signal and matched
       	it against GDK_SCROLL.
      
       	* gtk/gtkrange.c (gtk_range_scroll_event): Updated to use the new
       	way of mouse wheel scrolling.
      
       	* gtk/gtkscrolledwindow.c (gtk_scrolled_window_scroll_event): Likewise.
      
       	* gtk/gtkspinbutton.c (gtk_spin_button_scroll): Likewise.
      
       	* gtk/gtkmain.c: Removed previous mouse wheel hack.
      
       	* gdk/x11/gdkwindow-x11.c (gdk_event_mask_table): Added entry in
       	gdk_event_mask_table.
      
       	* gdk/x11/gdkevents-x11.c (gdk_event_translate): Added
       	GdkEventScroll handler.
      
       	* gdk/gdkevents.h: Added GdkEventScroll structure.
      c8a2382b
  6. 17 Feb, 2000 1 commit
    • Owen Taylor's avatar
      Add patch from Jonathan Blandford and Anders Carlsson to change the Paned · ab1deac8
      Owen Taylor authored
      Thu Feb 17 17:10:12 2000  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gt{h,k,}vpaned.[ch]: Add patch from Jonathan Blandford
      	and Anders Carlsson to change the Paned widgets so that they
      	can be dragged from anywhere along the length. Also change
      	the way that this is drawn to make this apparent.
      
      	* gtk/gtkoptionmenu.c (gtk_option_menu_get_history): Apply patch
      	from George Lebl to check that option_menu->menu is present
      	before getting history.
      ab1deac8
  7. 14 Feb, 2000 3 commits
  8. 13 Feb, 2000 4 commits
    • Tor Lillqvist's avatar
      Move the test for no segments before the assertion for non-NULL segment · 37cfb7d7
      Tor Lillqvist authored
      2000-02-14  Tor Lillqvist  <tml@iki.fi>
      
      * gdk/gdkdraw.c (gdk_draw_segments): Move the test for no segments
      before the assertion for non-NULL segment list.
      
      * gdk/win32/gdkgc-win32.c: (gdk_win32_gc_values_to_win32values):
      Seems that pattern brushes *must* be 8x8 pixels! At least on my
      machine, but it might be display driver dependent. Sigh, so make
      sure the stipple is that size. Does Windows suck or what?
      
      * gdk/win32/gdkdrawable-win32.c: Improve error handling in a few
      places.
      37cfb7d7
    • Havoc Pennington's avatar
      init refcount to 1 (gdk_cursor_new): init refcount to 1 · 95a9052d
      Havoc Pennington authored
      2000-02-13  Havoc Pennington  <hp@pobox.com>
      
      	* gdk/x11/gdkcursor-x11.c (gdk_cursor_new_from_pixmap): init
      		refcount to 1
      			(gdk_cursor_new): init refcount to 1
      
      				* gdk/win32/gdkcursor-win32.c
      (gdk_cursor_new): init refcount to 1
      95a9052d
    • Tor Lillqvist's avatar
      Add an extra parameter so that we don't have to do unnecessary settings to · ff99eb7c
      Tor Lillqvist authored
      2000-02-13  Tor Lillqvist  <tml@iki.fi>
      
      * gdk/win32/gdkgc-win32.c (gdk_gc_predraw): Add an extra parameter
      so that we don't have to do unnecessary settings to the HDC.
      
      * gdk/win32/gdkdrawable-win32.c
      * gdk/win32/gdkimage-win32.c: Corresponding changes to the calls of
      gdk_gc_predraw.
      
      * gdk/win32/gdkdrawable-win32.c: Special-casing for GdkGCs where
      the fill style is GDK_OPAQUE_STIPPLED. In those cases we construct
      GDI paths, call WidenPath to get the outline of the stroken path,
      and then fill the outline (with the brush that was built from the
      stipple).
      
      * gdk/win32/gdkgc-win32.c: Factor out common code from
      _gdk_win32_gc_new and gdk_win32_gc_set_values into
      gdk_win32_gc_values_to_win32values.
      
      * gdk/win32/gdkmain-win32.c (gdk_win32_last_error_string,
      gdk_win32_api_failed): New functions for error logging.
      
      * gdk/win32/gdkprivate-win32.h: Declare them, and a macro
      WIN32_API_FAILED to call them, passing function or file name and
      line number.
      
      * gdk/win32/*.c: Use the WIN32_API_FAILED macro.
      
      * gdk/win32/gdkprivate-win32.h: Store just the pixel values from
      GdkColor for foreground and background in GdkGCWin32Data.
      
      * gdk/makefile.cygwin: Link in the resource object separately.
      
      * gdk/win32/rc/gdk.rc
      * gtk/gtk.rc (New file)
      * gdk/win32/makefile.cygwin
      * gtk/makefile.cygwin: Update build number in DLLs automatically,
      as in GLib.
      ff99eb7c
    • Tim Janik's avatar
      s/refcount/ref_count/. · ef03cb52
      Tim Janik authored
      Sun Feb 13 08:54:45 2000  Tim Janik  <timj@gtk.org>
      
              * gdk/gdkcursor.h (struct _GdkCursor): s/refcount/ref_count/.
              * gdk/x11/gdkcursor-x11.c (gdk_cursor_new_from_pixmap):
              * gdk/x11/gdkcursor-x11.c (_gdk_cursor_destroy):
              * gdk/gdkcursor.c (gdk_cursor_ref): insert assertments for the
              parameters given and cursor->ref_count. coding style fixups.
      
              * gtk/gtksocket.c (gtk_socket_class_init): parent class is GtkContainer,
              not GtkWidget.
      
              * gtk/*.h: applied patch from Mathieu Lacage <lacage@email.enst.fr> to
              fix up widget macros and add _GET_CLASS() variant.
      
              * gtk/*.c: some GtkType fixups.
      ef03cb52
  9. 09 Feb, 2000 1 commit
  10. 07 Feb, 2000 2 commits
  11. 03 Feb, 2000 6 commits
    • Michael Meeks's avatar
      By order of jrb: const patch for various bits, io-gif.c fixup for · 45cb0268
      Michael Meeks authored
      By order of jrb:
      	const patch for various bits,
      	io-gif.c fixup for animations.
      45cb0268
    • Pablo Saratxaga's avatar
      updated lt.po · 0f5251b5
      Pablo Saratxaga authored
      0f5251b5
    • Kjartan Maraas's avatar
      Updated Norwegian translation. · c37dde73
      Kjartan Maraas authored
      2000-02-04  Kjartan Maraas  <kmaraas@online.no>
      
      	* no.po: Updated Norwegian translation.
      c37dde73
    • Tor Lillqvist's avatar
      Argh, decided not to return a string that must be freed from · a30c4b9e
      Tor Lillqvist authored
      gtk_file_selection_get_filename after all, as that would
      cause memory leaks in all apps that use it unless they
      specifically checked fot the GTk+ version.
      
      gtk_file_selection_get_filename returns the filename in the C
      runtime encoding. It calls g_filename_from_utf8, but copies the
      returned string to a static buffer, which is returned. I think
      this is better than returning the result from g_filename_from_utf8
      directly, which would mean all apps that use it would have to free
      the return value. Or should this function care about this issue at
      all? Maybe a new function with clearly defined semantics.
      a30c4b9e
    • Tor Lillqvist's avatar
      Use g_filename_to_utf8 to convert the font names Windows gives us from · e57b1afa
      Tor Lillqvist authored
      2000-02-04  Tor Lillqvist  <tml@iki.fi>
      
      * gdk/win32/gdkfont-win32.c (logfont_to_xlfd): Use
      g_filename_to_utf8 to convert the font names Windows gives us from
      whatever is the default codepage to UTF-8.
      (gdk_font_load_internal) Use g_filename_from_utf8 for conversion
      in the other direction.
      
      * gdk/win32/gdkgc-win32.c (gdk_win32_gc_set_values): Fix cut&paste
      error in debugging output.
      
      2000-02-02  Tor Lillqvist  <tml@iki.fi>
      
      * gdk/win32/gdkwindow-win32.c (gdk_window_clear): Pass zero width
      and height parameters to gdk_window_clear_area(). Not minus one.
      
      2000-02-01  Tor Lillqvist  <tml@iki.fi>
      
      * gtk/gtkfilesel.c: Use the g_filename_to_utf8 and
      g_filename_from_utf8 functions (which were added a moment ago to
      GLib). Some cleanups: Use gbooleans. Use GStrings instead of fixed
      size buffers.
      
      * gtk/gtkfilesel.h: Add comment about
      gtk_file_selection_get_filename returning the filename in the C
      runtime's encoding.
      
      * README.win32
      * gdk/gdk.def
      * gdk/makefile.{cygwin,msc}
      * gtk/gtk.def: Updates.
      
      * gdk/gdkcursor-win32.c: Initialise refcount.
      e57b1afa
    • Pablo Saratxaga's avatar
      updated ca.po · e489f9c2
      Pablo Saratxaga authored
      e489f9c2
  12. 02 Feb, 2000 3 commits
    • Federico Mena Quintero's avatar
      Added sanity check for width and height being >= 0. Also, do nothing if · e9f75f6b
      Federico Mena Quintero authored
      2000-02-03  Federico Mena Quintero  <federico@helixcode.com>
      
      	* gdk-pixbuf/gdk-pixbuf-render.c
      	(gdk_pixbuf_render_threshold_alpha): Added sanity check for width
      	and height being >= 0.  Also, do nothing if either of them is
      	zero.  Thanks to Ettore for pointing this out.
      	(gdk_pixbuf_render_to_drawable): Likewise.
      	(gdk_pixbuf_render_to_drawable_alpha): Likewise.
      e9f75f6b
    • Federico Mena Quintero's avatar
      Removed debugging g_print. Thanks to John Sullivan <sullivan@eazel.com> · 51a0dc30
      Federico Mena Quintero authored
      2000-02-02  Federico Mena Quintero  <federico@helixcode.com>
      
      	* gdk-pixbuf/io-gif.c (gif_get_lzw): Removed debugging g_print.
      	Thanks to John Sullivan <sullivan@eazel.com> for the patch.
      
      	* gdk-pixbuf/testpixbuf-drawable.c (configure_cb): Get a new area
      	of the screen when the window is resized.  Thanks to David
      	N. Welton <davidw@linuxcare.com> for pointing this out.
      	Misc. cleanups to the rest of the file.
      51a0dc30
    • Damon Chaplin's avatar
      rearranged a bit. · 4caf4dc7
      Damon Chaplin authored
      2000-02-03  Damon Chaplin  <damon@karuna.freeserve.co.uk>
      
      	* gdk/gdk-sections.txt: rearranged a bit.
      
      	* gdk/tmpl/event_structs.sgml: updated.
      
      	* gtk/gtk-sections.txt: added INCLUDE tag for Private Info section.
      
      	* gdk/tmpl/color_contexts.sgml: added note saying it is deprecated.
      	* gdk/tmpl/dnd.sgml: added note saying read the GTK+ DnD docs.
      4caf4dc7
  13. 01 Feb, 2000 3 commits
    • Owen Taylor's avatar
      Add some sanity checks if the widget passed to gtk_drag_get_data() was not · cacec65e
      Owen Taylor authored
      Wed Feb  2 11:58:05 2000  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkdnd.c (gtk_drag_selection_received): Add some sanity
      	checks if the widget passed to gtk_drag_get_data() was not the
      	dest widget.
      cacec65e
    • Damon Chaplin's avatar
      ran make templates. · 50ab749f
      Damon Chaplin authored
      2000-02-02  Damon Chaplin  <damon@karuna.freeserve.co.uk>
      
              * gdk/tmpl/*.sgml: ran make templates.
      
              * gdk/gdk-docs.sgml: rearranged sections.
      
              * gdk/tmpl/events.sgml: documented.
      
              * gdk/tmpl/general.sgml: documented.
      
              * gdk/tmpl/rgb.sgml: fixed a few '@' -> '#'.
      
              * gdk/gdk-sections.txt: rearranged a few bits, including moving
              GdkWChar and related functions from the input method section to the
              font section, and GdkCapStyle etc. from Drawing Primitives to GCs.
      
              * gdk/tmpl/images.sgml: documented.
      
              * gdk/tmpl/drawing.sgml: updated.
      
              * gdk/tmpl/regions.sgml: updated.
      
              * gdk/tmpl/input_contexts.sgml: documented.
      
              * gdk/tmpl/input_methods.sgml: documented.
      
              * gdk/tmpl/selections.sgml: changed xref to a link since Jade says
              a xref to a RefEntry is not supported.
      50ab749f
    • Federico Mena Quintero's avatar
      gnome_init() does not call gdk_rgb_init(), so don't mention that it does · d2014471
      Federico Mena Quintero authored
      2000-02-01  Federico Mena Quintero  <federico@helixcode.com>
      
      	* doc/tmpl/rendering.sgml: gnome_init() does not call
      	gdk_rgb_init(), so don't mention that it does in the
      	documentation.  Thanks to Alexander Kruuse <kruuse@home.se> for
      	pointing this out.
      d2014471
  14. 31 Jan, 2000 1 commit
  15. 30 Jan, 2000 3 commits
  16. 29 Jan, 2000 3 commits
    • Havoc Pennington's avatar
      forgot to cvs add this · a3a4a60c
      Havoc Pennington authored
      a3a4a60c
    • Havoc Pennington's avatar
      use gdk_cursor_unref instead of destroy · 4d48b106
      Havoc Pennington authored
      2000-01-30  Havoc Pennington  <hp@pobox.com>
      
      	* gtk/testgtk.c (set_cursor): use gdk_cursor_unref instead of
      		destroy
      
      			* gdk/gdkimage.c (gdk_image_ref): image wasn't being returned
      
      				* gdk/gdkprivate.h: declare
      _gdk_cursor_destroy which is then
      	implemented in platform-specific code
      
      		* gdk/Makefile.am (gdk_c_sources): add gdkcursor.c
      
      			* gdk/x11/gdkcursor-x11.c (gdk_cursor_destroy):
      rename with an
      	underscore in front
      
      		* gdk/win32/gdkcursor-win32.c (gdk_cursor_destroy):
      			put an underscore in front
      
      				* gdk/gdkcursor.c: new file, implements
      					gdk_cursor_ref/gdk_cursor_unref
      
      						* gdk/gdkcursor.h: Refcount GdkCursor
      
      							* gdk/gdkcompat.h
      (gdk_cursor_destroy): compat
      4d48b106
    • Mark Crichton's avatar
      I dated telsa to break gdk-pixbuf. · 7d399719
      Mark Crichton authored
      
      
      I dated telsa to break gdk-pixbuf.
      
      I didn't think she can do it.
      
      She somehow did, with Alan's help
      
      Fixed it (it was a build bug)
      
      Now, it should be 1000% telsa-proofed.
      
      Mark
      7d399719
  17. 28 Jan, 2000 1 commit