Subject: CVS commit: pkgsrc
To: None <pkgsrc-changes@netbsd.org>
From: Johnny C. Lam <jlam@netbsd.org>
List: pkgsrc-changes
Date: 05/26/2001 09:37:46
Module Name:	pkgsrc
Committed By:	jlam
Date:		Sat May 26 06:37:46 UTC 2001

Modified Files:
	pkgsrc/x11/fltk: Makefile distinfo
	pkgsrc/x11/fltk/patches: patch-aa patch-ab patch-ac patch-ad patch-ae
	    patch-af
	pkgsrc/x11/fltk/pkg: PLIST
Added Files:
	pkgsrc/x11/fltk/patches: patch-ag patch-ah

Log Message:
Update fltk to 1.0.11.  Changes from version 1.0.10 include bugfixes and:

- Added new const const pointer versions of pixmap functions to eliminate
  an annoying pointer warning message that was generated by the Sun and
  other C++ compilers.

- Eliminated all "var hides class::var" warnings.

- Eliminated all "string literal converted to char *" warnings.

- The file chooser buttons use user_data() rather than the label to decide
  what to do, allowing the label to be somewhat cleaner.

- Fl_has_idle only tested N-1 callbacks and missed one.

- Fl_Gl_Window has a new method to allow you to get and set the context:

      void Fl_Gl_Window::context(void*, int destroy = 0)
      void* Fl_Gl_Window::context() const;

  Return or set a pointer to the GLContext that this window is using. This
  is a system-dependent structure, but it is portable to copy the context
  from one window to another. You can also set it to NULL, which will
  force FLTK to recreate the context the next time make_current() is
  called, this is useful for getting around bugs in OpenGL implementations.

  If destroy_flag is true the context will be destroyed by fltk when the
  window is destroyed, or when the mode() is changed, or the next time
  context(x) is called.

- Added Fl::add_check(...), Fl::remove_check, and Fl::has_check. These are
  similar to idle callbacks but are only called just before it waits for
  new events.  They can be used to watch for changes in global state and
  respond to them.

- Added simple FLTK and FLUID manual pages.


To generate a diff of this commit:
cvs rdiff -r1.14 -r1.15 pkgsrc/x11/fltk/Makefile
cvs rdiff -r1.2 -r1.3 pkgsrc/x11/fltk/distinfo
cvs rdiff -r1.3 -r1.4 pkgsrc/x11/fltk/patches/patch-aa \
    pkgsrc/x11/fltk/patches/patch-ac pkgsrc/x11/fltk/patches/patch-ad
cvs rdiff -r1.5 -r1.6 pkgsrc/x11/fltk/patches/patch-ab
cvs rdiff -r1.1 -r1.2 pkgsrc/x11/fltk/patches/patch-ae \
    pkgsrc/x11/fltk/patches/patch-af
cvs rdiff -r0 -r1.1 pkgsrc/x11/fltk/patches/patch-ag \
    pkgsrc/x11/fltk/patches/patch-ah
cvs rdiff -r1.6 -r1.7 pkgsrc/x11/fltk/pkg/PLIST

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.