dslinux/lib/flnx CHANGES COPYING ChangeLog Makefile config.h

amadeus dslinux_amadeus at user.in-berlin.de
Thu Aug 24 17:09:13 CEST 2006

Update of /cvsroot/dslinux/dslinux/lib/flnx
In directory antilope:/tmp/cvs-serv23249/lib/flnx

Added Files:
	CHANGES COPYING ChangeLog Makefile config.h 
Log Message:
added flnx library

--- NEW FILE: config.h ---
/* config.h.  Generated automatically by configure.  */
 * "$Id: config.h,v 1.1 2006-08-24 15:09:10 dslinux_amadeus Exp $"
 * Configuration file for the Fast Light Tool Kit (FLTK).
 * @configure_input@
 * Copyright 1998-1999 by Bill Spitzak and others.
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Library General Public
 * License as published by the Free Software Foundation; either
 * version 2 of the License, or (at your option) any later version.
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * Library General Public License for more details.
 * You should have received a copy of the GNU Library General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
 * USA.
 * Please report all bugs and problems to "FLTK-bugs at easysw.com".

 * Thickness of FL_UP_BOX and FL_DOWN_BOX.  Current 1,2, and 3 are
 * supported.
 * 3 is the historic FLTK look.
 * 2 is the default and looks like Microsoft Windows, KDE, and Qt.
 * 1 is a plausible future evolution...
 * Note that this may be simulated at runtime by redefining the boxtypes
 * using Fl::set_boxtype().

#define BORDER_WIDTH 2

 * Do you have OpenGL? Set this to 0 if you don't have or plan to use
 * OpenGL, and FLTK will be smaller.

#define HAVE_GL 0

 * Setting this to zero will save a good deal of code (especially for
 * fl_draw_image), but FLTK will only work on TrueColor visuals.

#define USE_COLORMAP 0

 * Do we have the X double-buffer extension?

#define HAVE_XDBE 0

 * Actually try to use the double-buffer extension?  Set this to zero
 * disable use of XDBE without breaking the list_visuals program.


 * Use the X overlay extension?  FLTK will try to use an overlay
 * visual for Fl_Overlay_Window, the Gl_Window overlay, and for the
 * menus.  Setting this to zero will remove a substantial amount of
 * code from FLTK.  Overlays have only been tested on SGI servers!

#define HAVE_OVERLAY 0

 * It is possible your GL has an overlay even if X does not.  If so,
 * set this to 1.


 * Byte order of your machine: 1 = big-endian, 0 = little-endian.


 * U16, U32, U64:
 * Types used by fl_draw_image.  One of U32 or U64 must be defined.
 * U16 is optional but FLTK will work better with it!

#define U16 unsigned short
#define U32 unsigned
/* #undef U64 */

 * Where is <dirent.h> (used only by fl_file_chooser and scandir).

#define HAVE_DIRENT_H 1
#define HAVE_SYS_NDIR_H 0
#define HAVE_SYS_DIR_H 1
#define HAVE_NDIR_H 0
#define HAVE_SCANDIR 1

 * possibly missing sprintf-style functions:


 * Whether or not select() call has its own header file.


 * Use poll() if we don't have select().

#define HAVE_POLL 0

 * End of "$Id: config.h,v 1.1 2006-08-24 15:09:10 dslinux_amadeus Exp $".


	- Fixed Fl_Input_ bug under WIN32 - no longer stop accepting input
	  when one of the "Windows" keys is pressed.
	- Now call TranslateEvent for all events under WIN32.
	- Fixes for OpenBSD and NetBSD
	- The FL_CURSOR_HAND cursor now uses the IDC_HAND cursor instead of
	  IDC_UPARROW under Windows 98 and 2000.
	- Fl_Scrollbar now does a page-up/down when you click outside the
	- Fl_Window::show(0, NULL) causes core dump
	- Fixed a compile-time error in fl_call_main.c for Borland C++.
	- "fluid -c filename.fl" would try to open an X display if the
	  FLUID file contained an Fl_Browser widget.
	- Fl_Browser now correctly measures items with @C or @B color
	  formatting commands.
	- Fixed a bitmap drawing bug for WIN32 (bit reversal table was wrong)
	- fl_xyz() dialogs now set a title in the title bar.
	- fl_alert() sounds the bell under X11.
	- fl_xyz() dialogs now call MessageBeep() under WIN32.
	- Fl_Browser_ didn't draw the selection box with the inactive color
	  when the browser wasn't activated.
	- Fl_Browser now responds to FL_KEYBOARD as well as FL_SHORTCUT.  If
	  you subclass it to accept focus then keyboard navigation will work.
	- Fl_Tile and Fl_Tabs do their callback when the user changes their
	- Made some of the private methods of Fl_Browser protected.
	- Now set win_gravity correctly, this helps some X
	  window managers that use it position the window where
	  FLTK wants it to be.
	- 0-width browsers crashed.
	- Minor change: if the X window manager does not do
	  anything else with windows that don't have their
	  position specified, the windows appear centered in the
	  screen, rather than in the top-left corner.  This
	  happened with modal windows under Irix 4Dwm.  This
	  also causes windows to be centered when no window
	  manager is running, which might be useful for
	  installation gui programs?
	- Clicking in an Fl_Input field the first time selects the entire
	- Clicking the middle mouse button in an Fl_Input field now inserts
	  the text at the indicated position instead of the cursor position.
	- Drag-selecting text in an Fl_Input field now copies the text
	- Fl::flush() no longer calls the draw() method for invisible windows.
	- Calling deactivate() on an invisible widget could cause an
	  infinite loop in some obscure cases.
	- Added #pragma's for SGI C++ compilers - the 6.{23} X headers had
	  errors in them.
	- Fl_Gl_Window::ortho() changed so that text and images
	  are not erased if the origin is off the left/bottom of the
	- Small change to Fl_Input so that a click that gives it
	  the focus also selects all the text.
	- Fixed a slider drawing problem.
	- You can now add/delete children of Fl_Tabs widgets whether or
	  not they are visible.
	- Now embed woff options for SGI C++ compilers (gets rid of X11
	  header warnings)
	- draw_pixmap used a cast that the Digital UNIX C++ compiler didn't
	- The GLUT function key constants were off by one.
	- The XPM reading code didn't handle RGB colors other than #rrggbb.


    - Fl_win32.cxx defined WM_MOUSE_LEAVE instead of WM_MOUSELEAVE.
    - Fl_get_key_win32.cxx needed to include <ctype.h>
    - gl_draw_pixmap.cxx needed a pointer cast for ANSI C++.
    - Fl_Repeat_Button didn't always delete its timeout.
    - Now keep track of the current OpenGL context; this provides
      significant performance improvements for OpenGL applications
      with a single context.


    - Fl_Roller didn't handle a width and height of 0.
    - filename_list() fix for FreeBSD.
    - Fixed RPM install docos - needed "--install" option...
    - Fl_Browser_ wouldn't draw the vertical scrollbar right away if it
      added a horizontal one which covered the last line.
    - Fl_Tabs problems - single-character labels don't show up (problem in
      measure_tabs() or measure_label() methods?), and doesn't clear top
      tab area before drawing tabs.
    - Fl_Browser needs a destructor.
    - fl_draw_label() quoted characters between 0x80 and 0xa0, which
      caused problems for some programs using the WinANSI character set.
    - FLUID didn't handle declared class destructors.
    - Fixed another WIN32 cut/paste bug.
    - Fl_Tabs didn't work properly when there was only 1 tab.
    - Fl_Menu::add() didn't delete the old array.
    - Fl_Repeat_Button didn't delete its timeout when disabled.
    - fl_draw() would crash if no font was set (now defaults to
      a 14-pixel Helvetica font)
    - Can't forward declare classes; need to check for "class ", "struct ",
      "union ", etc.  See Bill's message
    - Added #pragma around xlib.h for IRIX
    - FL_KEYBOARD events have the correct x/y when sent to child X
      windows. Note that if you worked around this bug by adjusting the
      x/y yourself you will have to change your code. In addition all
      events have the correct x/y when sent to the grab() widget.  And
      the code to do all this was simplified a lot.
    - The XPM code didn't handle named colors with spaces in the names.
    - Pressing ESCape closed the window with pointer focus, even if there
      was a modal window open (now closes the modal window).
    - Fluid no longer produces trigraphs accidentally in the image data.
    - Fluid uses string constant concatenation to produce shorter image
    - The Fl_Group deletion code crashed if there was exactly one child
    - Simulated overlays in single-buffered Fl_Gl_Windows now draw
      correctly (though very slowly as it requires the entire window to
      be redrawn to erase the overlay).  This fix ported our Digital
      Domain programs better to systems with no overlay hardware.
    - Added support for extern "C" declarations in FLUID.
    - Added Fl_Pack support to FLUID.
    - Fixed the order of #include's in FLUID generated header files.
    - Fixed detection of vsnprintf and snprintf under HP-UX 10.20 once
      and for all.
    - The checkers demo did not compile with GCC 2.95
    - FLUID didn't output virtual destructors properly.
    - Added inline "make_visible()" method to Fl_Browser.
    - Fl::wait() now returns immediately if any timeouts are
    - 16-bit XPM files are now properly handled.
    - Fl_Window::resize() was missing FL_EXPORT (caused problems
      with Windows DLLs)
    - FLUID was writing extern declarations twice.
    - New FLUID arrow key functionality: arrows move by one pixel, shift+arrow
      resizes, ctrl+arrow steps by grid


    - Documentation updates
    - Fl_Browser::bottomline(size) didn't scroll to the bottom
      if the second-to-last line was visible.
    - fl_wait() didn't poll FDs properly for WIN32.
    - Fixed DLL definitions for BC++.
    - FLUID now handles nested classes properly.
    - The "connect" demo now does a wait() for the PPP process
      so that you aren't left with a lot of zombie processes.
    - Fixed the FLTK colormap to use FF instead of F4 for full
      intensity values.
    - Minor change to scrollbar drawing code to match other
    - New selections would cancel themselves out in WIN32.
    - The header file links were broken in the IRIX
    - fl_elapsed() now always uses GetClockTick() for WIN32.
    - fl_display is now initialized to GetModuleHandle(NULL) -
      this fixes problems people had with Cygwin and MingW32.
    - WinMain() is no longer compiled in with Cygwin and
      MingW32; it wasn't being used for those compilers anyways.
    - Added Solaris compiler options to configure script.
    - Fl_Value_Input wouldn't update properly if you set the
      value from a callback.
    - Fl_Tile wouldn't resize if the resizeable widget was the
      last child.
    - Was missing #include <ctype.h> and #include <stdlib.h> in
      several files, which caused problems on some platforms.
    - Fixed another case where Fl_Browser_ could get in an
      infinite resizing loop.
    - Fl_win32.cxx now includes <FL/filename.H> to export missing
      DLL symbols.
    - Fluid didn't handle member functions that include the
      scope operator.
    - Fl_Chart was dividing by 0 if there were no data samples
      or if they were all the same (min == max).


    - XDBE is now enabled for IRIX 6.[234] as well as 6.5.
    - FLUID didn't write the when() condition properly.
    - Tab/space/backtab/backspace can be used to navigate
      through menus.
    - Changed $(DSONAME) in the src/Makefile to "libfltk.so.1
    - Fl_Browser could read past the end of the string when
      computing the item height.
    - Fl_Browser could get in an infinite loop when checking to
      see if scrollbars needed to be displayed.
    - FLUID now honors the return type of the outermost widget. 
      This was a problem when substituting Fl_Group in an
      Fl_Window widget.
    - Fl_Menu_::copy() wasn't allocating a power of 2 for the
      array size.
    - FLWM would crash if fl_xmousewin was deleted.
    - The fast_slow demo now uses output widgets.
    - Timers under WIN32 were unreliable.


    - Documentation updates
    - The Visual C++ project files didn't include fl_add_idle.cxx.
    - LIBRARY/DSO name inconsistencies in src/Makefile.
    - src/Makefile didn't clean the DSO.
    - The valuator demo now has only a single callback.
    - The code looked for HAVE_SYS_SELECT_H, but the
      config file uses HAVE_SYS_SELECT.
    - Fl_Image redraw not quite right under X11 or WIN32
    - Problems with timeouts & cube demo under WIN32
    - FLUID problems with inline functions.
    - Documentation fixes...
    - Fl_Browser::item_height() didn't handle blank lines or
      non-default fonts properly.
    - FL/math.h didn't have #ifndef...#define...#endif guards
      against multiple inclusion...
    - Fl_Menu_::copy() fix - didn't allocate power of 2...
    - Fl::damage() now remains true until all windows are actually
    - Fl_Widget destructor, hide(), and deactivate() methods no longer
      send FL_LEAVE, FL_RELEASE, or FL_UNFOCUS events to the widget
      (which could cause applications to crash).
    - FLUID now outputs symbolic names for align() and when().
    - Fixed select() to use maxfd + 1 instead of maxfd.
    - Added "Fl::remove_fd(fd, when)" function so you can remove the
      read and write callbacks separately.
    - The Fl::add_fd() and Fl::add_timeout() arrays are now dynamically
    - FLUID didn't always turn the FL_SUBMENU flag on for submenu titles.
    - The "extra code" in FLUID now is placed before the "o->end()" call
      for Fl_Group and its derived classes.
    - You can now set a FL_Window widget's class in FLUID to Fl_Group to
      generate a function or class that builds part of a GUI (i.e. no window).
    - FLUID now displays "Save file before exiting?" with the standard yes,
      no, and cancel buttons rather than "Discard changes?".
    - Fl_Menu_::add() now works with any type of menu, even one set with
      the menu() method.
    - The keypad keys were not always decoded properly under X11.
    - Some pointers were not being turned off when widgets were deleted,
      which caused some applications (like FLWM) to crash.


    - Documentation fixes.
    - Fl::check() didn't return the correct value, breaking a number
      of applications.
    - Fixed fluid bug that caused styles patch to crash when you delete
      a menu item.
    - Updated valuators demo to put the values in the gui box.
    - Fl_Browser_::item_height() didn't always compute the correct
    - Fixed the alignment of Fl_Choice text.
    - Fixes for OS/2.
    - Fl_Menu_Item::clear() didn't clear value.
    - Added some changes to make FLTK work with Borland C++.
    - ANSI C++ fixes.
    - Plugged a memory leak in the fractal demo.
    - Fl::add_timeout() didn't work under WIN32 with small values.
    - The configure script and makefiles now define DSONAME and
      use the static library for all example programs.    

--- NEW FILE: Makefile ---
# Makefile for flnx in uClinux
# ============================

# Special compiler options
CFLAGS += -DPDA -DNANO_X -I./FL -I./src -I. -I$(ROOTDIR)/include/microwin
CFLAGS += -D'NANOXFOLDER="/usr/bin"'

# Header files
INCS   := $(wildcard FL/*)
INCS   += config.h

# Object files
CXX_OBJS := $(patsubst %.cxx,%.o,$(wildcard src/*.cxx))
C_OBJS   := $(patsubst %.c,%.o,$(wildcard src/*.c))

.PHONY: all
all: libfltk.a

$(CXX_OBJS): %.o: %.cxx $(INCS)
	$(CC) $(CFLAGS) -c $< -o $@

$(C_OBJS): %.o: %.c $(INCS)
	$(CC) $(CFLAGS) -c $< -o $@

libfltk.a: $(C_OBJS) $(CXX_OBJS)
	$(AR) rv $@ $(C_OBJS) $(CXX_OBJS)
	$(RANLIB) $@

.PHONY: romfs

.PHONY: clean
	-rm -f *.[oa] *~

			 Version 2, June 1991

	  Copyright (C) 1991 Free Software Foundation, Inc.
       59 Temple Place, Suite 330, Boston, MA  02111-1307  USA

     Everyone is permitted to copy and distribute verbatim copies
      of this license document, but changing it is not allowed.

    [This is the first released version of the library GPL.  It is
   numbered 2 because it goes with version 2 of the ordinary GPL.]


  The licenses for most software are designed to take away your
freedom to share and change it.  By contrast, the GNU General Public
Licenses are intended to guarantee your freedom to share and change
free software--to make sure the software is free for all its users.

  This license, the Library General Public License, applies to some
specially designated Free Software Foundation software, and to any
other libraries whose authors decide to use it.  You can use it for
your libraries, too.

  When we speak of free software, we are referring to freedom, not
price.  Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
this service if you wish), that you receive source code or can get it
if you want it, that you can change the software or use pieces of it
in new free programs; and that you know you can do these things.

  To protect your rights, we need to make restrictions that forbid
anyone to deny you these rights or to ask you to surrender the rights.
These restrictions translate to certain responsibilities for you if
you distribute copies of the library, or if you modify it.

  For example, if you distribute copies of the library, whether gratis
or for a fee, you must give the recipients all the rights that we gave
you.  You must make sure that they, too, receive or can get the source
code.  If you link a program with the library, you must provide
complete object files to the recipients so that they can relink them
with the library, after making changes to the library and recompiling
it.  And you must show them these terms so they know their rights.

  Our method of protecting your rights has two steps: (1) copyright
the library, and (2) offer you this license which gives you legal
permission to copy, distribute and/or modify the library.

  Also, for each distributor's protection, we want to make certain
that everyone understands that there is no warranty for this free
library.  If the library is modified by someone else and passed on, we
want its recipients to know that what they have is not the original
version, so that any problems introduced by others will not reflect on
the original authors' reputations.
  Finally, any free program is threatened constantly by software
patents.  We wish to avoid the danger that companies distributing free
software will individually obtain patent licenses, thus in effect
transforming the program into proprietary software.  To prevent this,
we have made it clear that any patent must be licensed for everyone's
free use or not licensed at all.

  Most GNU software, including some libraries, is covered by the ordinary
GNU General Public License, which was designed for utility programs.  This
license, the GNU Library General Public License, applies to certain
designated libraries.  This license is quite different from the ordinary
one; be sure to read it in full, and don't assume that anything in it is
the same as in the ordinary license.

  The reason we have a separate public license for some libraries is that
they blur the distinction we usually make between modifying or adding to a
program and simply using it.  Linking a program with a library, without
changing the library, is in some sense simply using the library, and is
analogous to running a utility program or application program.  However, in
a textual and legal sense, the linked executable is a combined work, a
derivative of the original library, and the ordinary General Public License
treats it as such.

  Because of this blurred distinction, using the ordinary General
Public License for libraries did not effectively promote software
sharing, because most developers did not use the libraries.  We
concluded that weaker conditions might promote sharing better.

  However, unrestricted linking of non-free programs would deprive the
users of those programs of all benefit from the free status of the
libraries themselves.  This Library General Public License is intended to
permit developers of non-free programs to use free libraries, while
preserving your freedom as a user of such programs to change the free
libraries that are incorporated in them.  (We have not seen how to achieve
this as regards changes in header files, but we have achieved it as regards
changes in the actual functions of the Library.)  The hope is that this
will lead to faster development of free libraries.

  The precise terms and conditions for copying, distribution and
modification follow.  Pay close attention to the difference between a
"work based on the library" and a "work that uses the library".  The
former contains code derived from the library, while the latter only
works together with the library.

  Note that it is possible for a library to be covered by the ordinary
General Public License rather than by this special one.

  0. This License Agreement applies to any software library which
contains a notice placed by the copyright holder or other authorized
party saying it may be distributed under the terms of this Library
General Public License (also called "this License").  Each licensee is
addressed as "you".

  A "library" means a collection of software functions and/or data
prepared so as to be conveniently linked with application programs
(which use some of those functions and data) to form executables.

  The "Library", below, refers to any such software library or work
which has been distributed under these terms.  A "work based on the
Library" means either the Library or any derivative work under
copyright law: that is to say, a work containing the Library or a
portion of it, either verbatim or with modifications and/or translated
straightforwardly into another language.  (Hereinafter, translation is
included without limitation in the term "modification".)

  "Source code" for a work means the preferred form of the work for
making modifications to it.  For a library, complete source code means
all the source code for all modules it contains, plus any associated
interface definition files, plus the scripts used to control compilation
and installation of the library.

  Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope.  The act of
running a program using the Library is not restricted, and output from
such a program is covered only if its contents constitute a work based
on the Library (independent of the use of the Library in a tool for
writing it).  Whether that is true depends on what the Library does
and what the program that uses the Library does.

  1. You may copy and distribute verbatim copies of the Library's
complete source code as you receive it, in any medium, provided that
you conspicuously and appropriately publish on each copy an
appropriate copyright notice and disclaimer of warranty; keep intact
all the notices that refer to this License and to the absence of any
warranty; and distribute a copy of this License along with the

  You may charge a fee for the physical act of transferring a copy,
and you may at your option offer warranty protection in exchange for a
  2. You may modify your copy or copies of the Library or any portion
of it, thus forming a work based on the Library, and copy and
distribute such modifications or work under the terms of Section 1
above, provided that you also meet all of these conditions:

    a) The modified work must itself be a software library.

    b) You must cause the files modified to carry prominent notices
    stating that you changed the files and the date of any change.

    c) You must cause the whole of the work to be licensed at no
    charge to all third parties under the terms of this License.

    d) If a facility in the modified Library refers to a function or a
    table of data to be supplied by an application program that uses
    the facility, other than as an argument passed when the facility
    is invoked, then you must make a good faith effort to ensure that,
    in the event an application does not supply such function or
    table, the facility still operates, and performs whatever part of
    its purpose remains meaningful.

    (For example, a function in a library to compute square roots has
    a purpose that is entirely well-defined independent of the
    application.  Therefore, Subsection 2d requires that any
    application-supplied function or table used by this function must
    be optional: if the application does not supply it, the square
    root function must still compute square roots.)

These requirements apply to the modified work as a whole.  If
identifiable sections of that work are not derived from the Library,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
sections when you distribute them as separate works.  But when you
distribute the same sections as part of a whole which is a work based
on the Library, the distribution of the whole must be on the terms of
this License, whose permissions for other licensees extend to the
entire whole, and thus to each and every part regardless of who wrote

Thus, it is not the intent of this section to claim rights or contest
your rights to work written entirely by you; rather, the intent is to
exercise the right to control the distribution of derivative or
collective works based on the Library.

In addition, mere aggregation of another work not based on the Library
with the Library (or with a work based on the Library) on a volume of
a storage or distribution medium does not bring the other work under
the scope of this License.

  3. You may opt to apply the terms of the ordinary GNU General Public
License instead of this License to a given copy of the Library.  To do
this, you must alter all the notices that refer to this License, so
that they refer to the ordinary GNU General Public License, version 2,
instead of to this License.  (If a newer version than version 2 of the
ordinary GNU General Public License has appeared, then you can specify
that version instead if you wish.)  Do not make any other change in
these notices.
  Once this change is made in a given copy, it is irreversible for
that copy, so the ordinary GNU General Public License applies to all
subsequent copies and derivative works made from that copy.

  This option is useful when you wish to copy part of the code of
the Library into a program that is not a library.

  4. You may copy and distribute the Library (or a portion or
derivative of it, under Section 2) in object code or executable form
under the terms of Sections 1 and 2 above provided that you accompany
it with the complete corresponding machine-readable source code, which
must be distributed under the terms of Sections 1 and 2 above on a
medium customarily used for software interchange.

  If distribution of object code is made by offering access to copy
from a designated place, then offering equivalent access to copy the
source code from the same place satisfies the requirement to
distribute the source code, even though third parties are not
compelled to copy the source along with the object code.

  5. A program that contains no derivative of any portion of the
Library, but is designed to work with the Library by being compiled or
linked with it, is called a "work that uses the Library".  Such a
work, in isolation, is not a derivative work of the Library, and
therefore falls outside the scope of this License.

  However, linking a "work that uses the Library" with the Library
creates an executable that is a derivative of the Library (because it
contains portions of the Library), rather than a "work that uses the
library".  The executable is therefore covered by this License.
Section 6 states terms for distribution of such executables.

  When a "work that uses the Library" uses material from a header file
that is part of the Library, the object code for the work may be a
derivative work of the Library even though the source code is not.
Whether this is true is especially significant if the work can be
linked without the Library, or if the work is itself a library.  The
threshold for this to be true is not precisely defined by law.

  If such an object file uses only numerical parameters, data
structure layouts and accessors, and small macros and small inline
functions (ten lines or less in length), then the use of the object
file is unrestricted, regardless of whether it is legally a derivative
work.  (Executables containing this object code plus portions of the
Library will still fall under Section 6.)

  Otherwise, if the work is a derivative of the Library, you may
distribute the object code for the work under the terms of Section 6.
Any executables containing that work also fall under Section 6,
whether or not they are linked directly with the Library itself.
  6. As an exception to the Sections above, you may also compile or
link a "work that uses the Library" with the Library to produce a
work containing portions of the Library, and distribute that work
under terms of your choice, provided that the terms permit
modification of the work for the customer's own use and reverse
engineering for debugging such modifications.

  You must give prominent notice with each copy of the work that the
Library is used in it and that the Library and its use are covered by
this License.  You must supply a copy of this License.  If the work
during execution displays copyright notices, you must include the
copyright notice for the Library among them, as well as a reference
directing the user to the copy of this License.  Also, you must do one
of these things:

    a) Accompany the work with the complete corresponding
    machine-readable source code for the Library including whatever
    changes were used in the work (which must be distributed under
    Sections 1 and 2 above); and, if the work is an executable linked
    with the Library, with the complete machine-readable "work that
    uses the Library", as object code and/or source code, so that the
    user can modify the Library and then relink to produce a modified
    executable containing the modified Library.  (It is understood
    that the user who changes the contents of definitions files in the
    Library will not necessarily be able to recompile the application
    to use the modified definitions.)

    b) Accompany the work with a written offer, valid for at
    least three years, to give the same user the materials
    specified in Subsection 6a, above, for a charge no more
    than the cost of performing this distribution.

    c) If distribution of the work is made by offering access to copy
    from a designated place, offer equivalent access to copy the above
    specified materials from the same place.

    d) Verify that the user has already received a copy of these
    materials or that you have already sent this user a copy.

  For an executable, the required form of the "work that uses the
Library" must include any data and utility programs needed for
reproducing the executable from it.  However, as a special exception,
the source code distributed need not include anything that is normally
distributed (in either source or binary form) with the major
components (compiler, kernel, and so on) of the operating system on
which the executable runs, unless that component itself accompanies
the executable.

  It may happen that this requirement contradicts the license
restrictions of other proprietary libraries that do not normally
accompany the operating system.  Such a contradiction means you cannot
use both them and the Library together in an executable that you
  7. You may place library facilities that are a work based on the
Library side-by-side in a single library together with other library
facilities not covered by this License, and distribute such a combined
library, provided that the separate distribution of the work based on
the Library and of the other library facilities is otherwise
permitted, and provided that you do these two things:

    a) Accompany the combined library with a copy of the same work
    based on the Library, uncombined with any other library
    facilities.  This must be distributed under the terms of the
    Sections above.

    b) Give prominent notice with the combined library of the fact
    that part of it is a work based on the Library, and explaining
    where to find the accompanying uncombined form of the same work.

  8. You may not copy, modify, sublicense, link with, or distribute
the Library except as expressly provided under this License.  Any
attempt otherwise to copy, modify, sublicense, link with, or
distribute the Library is void, and will automatically terminate your
rights under this License.  However, parties who have received copies,
or rights, from you under this License will not have their licenses
terminated so long as such parties remain in full compliance.

  9. You are not required to accept this License, since you have not
signed it.  However, nothing else grants you permission to modify or
distribute the Library or its derivative works.  These actions are
prohibited by law if you do not accept this License.  Therefore, by
modifying or distributing the Library (or any work based on the
Library), you indicate your acceptance of this License to do so, and
all its terms and conditions for copying, distributing or modifying
the Library or works based on it.

  10. Each time you redistribute the Library (or any work based on the
Library), the recipient automatically receives a license from the
original licensor to copy, distribute, link with or modify the Library
subject to these terms and conditions.  You may not impose any further
restrictions on the recipients' exercise of the rights granted herein.
You are not responsible for enforcing compliance by third parties to
this License.
  11. If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues),
conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License.  If you cannot
distribute so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you
may not distribute the Library at all.  For example, if a patent
license would not permit royalty-free redistribution of the Library by
all those who receive copies directly or indirectly through you, then
the only way you could satisfy both it and this License would be to
refrain entirely from distribution of the Library.

If any portion of this section is held invalid or unenforceable under any
particular circumstance, the balance of the section is intended to apply,
and the section as a whole is intended to apply in other circumstances.

It is not the purpose of this section to induce you to infringe any
patents or other property right claims or to contest validity of any
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system which is
implemented by public license practices.  Many people have made
generous contributions to the wide range of software distributed
through that system in reliance on consistent application of that
system; it is up to the author/donor to decide if he or she is willing
to distribute software through any other system and a licensee cannot
impose that choice.

This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.

  12. If the distribution and/or use of the Library is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Library under this License may add
an explicit geographical distribution limitation excluding those countries,
so that distribution is permitted only in or among countries not thus
excluded.  In such case, this License incorporates the limitation as if
written in the body of this License.

  13. The Free Software Foundation may publish revised and/or new
versions of the Library General Public License from time to time.
Such new versions will be similar in spirit to the present version,
but may differ in detail to address new problems or concerns.

Each version is given a distinguishing version number.  If the Library
specifies a version number of this License which applies to it and
"any later version", you have the option of following the terms and
conditions either of that version or of any later version published by
the Free Software Foundation.  If the Library does not specify a
license version number, you may choose any version ever published by
the Free Software Foundation.
  14. If you wish to incorporate parts of the Library into other free
programs whose distribution conditions are incompatible with these,
write to the author to ask for permission.  For software which is
copyrighted by the Free Software Foundation, write to the Free
Software Foundation; we sometimes make exceptions for this.  Our
decision will be guided by the two goals of preserving the free status
of all derivatives of our free software and of promoting the sharing
and reuse of software generally.




     Appendix: How to Apply These Terms to Your New Libraries

  If you develop a new library, and you want it to be of the greatest
possible use to the public, we recommend making it free software that
everyone can redistribute and change.  You can do so by permitting
redistribution under these terms (or, alternatively, under the terms of the
ordinary General Public License).

  To apply these terms, attach the following notices to the library.  It is
safest to attach them to the start of each source file to most effectively
convey the exclusion of warranty; and each file should have at least the
"copyright" line and a pointer to where the full notice is found.

    <one line to give the library's name and a brief idea of what it does.>
    Copyright (C) <year>  <name of author>

    This library is free software; you can redistribute it and/or
    modify it under the terms of the GNU Library General Public
    License as published by the Free Software Foundation; either
    version 2 of the License, or (at your option) any later version.

    This library is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    Library General Public License for more details.

    You should have received a copy of the GNU Library General Public
    License along with this library; if not, write to the Free
    Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

Also add information on how to contact you by electronic and paper mail.

You should also get your employer (if you work as a programmer) or your
school, if any, to sign a "copyright disclaimer" for the library, if
necessary.  Here is a sample; alter the names:

  Yoyodyne, Inc., hereby disclaims all copyright interest in the
  library `Frob' (a library for tweaking knobs) written by James Random Hacker.

  <signature of Ty Coon>, 1 April 1990
  Ty Coon, President of Vice

That's all there is to it!

--- NEW FILE: ChangeLog ---
post .015
         - 04/25/01 Added patch (Steven Hein (ssh at sgi.com)
           * Remove several debug messages
           * Optimized the image draw routines (uusing pixel caching)

flnx 0.15 (Microwindows Version 0.89pre6) - 16th Nov 2000 - jeffm at censoft.com
	- Resloved Microwindows issue for not redrawing bitmaps on buttons.
	  Submitted patch to Microwindows project.
	- Revamped X,Y coordinate system to be more like FLTK 1.0.7. Now,
	  widgets in many nested windows work correctly.
	- Catching Microwindows update resize and move events.
	- Added Fl_Window_Resize class for to catch Microwindows window 
	  managers resize events.
	- Implemented virtual resize_notify method so you can give application
	  specific instructions for resizing (or you could just call the 
	  default resize).
	- Fluid now works under Microwindows (Now you can design apps on your
flnx 0.14 (Microwindows Version 0.89pre5) - 2nd Nov 2000 - jeffm at censoft.com
	- Dialog boxes ( and other child windows ) are now correctly destroyed by nanox window managers.
	- Fixed checkers demo ( see flnx/test/checkers.cxx)
	- Fixed cursors to change at correct hotspots ( see flnx/test/tile.cxx )
	- Fixed cursors to change to correct foreground and background colors ( see flnx/test/cursor.cxx ).
	  Note: we are still working on getting all the cursor bitmaps to include. Currently we only have some
	  default cursors.
	- Now requests fonts by name as if they were TrueType.
	- Now responds with font that matches most closely  
	  the size you request in lieu of the actual TrueType font.
	- Added TODO list concerning defects and unfinished tasks.
	- Added INSTALL documentation. 
flnx 0.13 (Microwindows Version 0.89pre3) - 25th Oct 2000 - jeffm at censoft.com
	- Fixed first and third mouse button reversal problem between flnx and microwindows.
	- Fixed Fl_Overlay.
	- Fixed many window decorating and parenting problems inside of nanowm.
	- Menus are no longer clipped by parent windows.
	- Fixed file selection box.
	- FL_ROUND_UP_BOX and FL_ROUND_DOWN_BOX look even better.
	- Increased speed of True Type Fonts (much better!).
	- Fixed Fl_vertex.cxx's fl_circle() ... it is now "polygon aware" (i.e. see clock demo).
	- Fixed pop-up menu on right click.
flnx 0.12 (Microwindows Version 0.89pre3) - 18th Oct 2000 - jeffm at censoft.com 
	- The event loop completely redone (FLNX under nanox is much faster).
	- The event loop can now handle FL_TIMEOUT events properly (i.e. see
	- Menu Bars and Menu Buttons do not decorate inside of nanowm.
	- Menu Bars and Menu Buttons events work correctly (i.e. draw in the
  	  correct position).
  	- Parts of Fl_Dial do not disappear after use.
  	- Fl_Windows have FL_BLACK borders instead of FL_RED borders.
  	- Window Parenting works better (i.e. see flnx/tests/tile demo).
  	- Fl_Scroll now scrolls when other widgets are placed inside.
  	- Double buffering works.
  	- Fl_Box types FL_ROUND_BOX and FL_ROUND_DOWN_BOX draw correctly.
  	- Fl_Bitmap works correctly.
  	- Fl_Pixmap works correctly.
  	- Fl_Image works (nanox server side draws images REALLY slow on X, it is
  	  faster with framebuffer).
pre6 (Microwindows Version 0.88pre10) - 18th June 2000 - greg at censoft.com
	* fixed text background output
	* added MWFONT_DEFAULT_GUI if asked for font fails
	* bugfixed region clipping code
	* applied Kevin's fix for expose events, nx regions, new configure

pre5 (Microwindows Version 0.88pre9) - 15th June 2000 - greg at censoft.com
	* first Nano-X port, contributed by Tanghao

More information about the dslinux-commit mailing list