Commit Graph

105 Commits

Author SHA1 Message Date
Michael R Sweet 94788c4628 Copyright 2001.
FLTK 1.0.11.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1356 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-01-22 15:13:41 +00:00
Michael R Sweet b230781ddc Specify portable architecture options for HP-UX compilers.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1344 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2000-12-06 21:09:59 +00:00
Michael R Sweet 7d432ff92c Get rid of "member X hidden by variable X" warnings...
Fix strcasecmp() detection...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1337 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2000-11-20 19:02:20 +00:00
Michael R Sweet a45a6308d0 strcasecmp() for FLUID under AIX.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1336 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2000-11-20 15:44:19 +00:00
Michael R Sweet 4b2003e24a Configure script changes...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1334 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2000-11-20 15:12:39 +00:00
Michael R Sweet 739e9411e7 Minor change for Sun C/C++ compilers (-xO3 instead of -O) for better
optimization.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1326 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2000-11-09 21:53:00 +00:00
Bill Spitzak 2cbf4041b3 Does not clear Fl::keysym on every event, this makes better back compatability and fixes Win2000
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1325 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2000-10-21 20:01:56 +00:00
Michael R Sweet ec770b7f4a Reenabled overlay code - seems to work great now, Bill!
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1173 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2000-06-06 14:48:17 +00:00
Michael R Sweet f87393aaa1 OK, now version 1.0.9
Updated email addresses to point to fltk.org domain...

Updated README and CHANGES files accordingly.

Updated makeinclude and Makefile files to put -L../lib before the
LDFLAGS/GLDFLAGS to avoid problem reported by Alexander.

documentation/Makefile wasn't including makeinclude.

Updated FLUID about window to show version 1.0.9.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1168 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2000-06-05 21:21:24 +00:00
Michael R Sweet 63f88fb5f2 Dropped use of -fno-rtti since this causes problems with apps that don't
use -fno-rtti.  Increases size of FLUID about 19k on my PC.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1161 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2000-06-03 13:21:13 +00:00
Michael R Sweet 5d7d40fd35 Dropped use of -fomit-frame-pointer, as I've just discovered that it
prevents the use of libsafe.  Also, the code size savings are negligable
(96 bytes for FLUID)

Added I18N docos to FLUID chapter.  We probably need to expand discussion
a lot more in the 2.0 docos.

The EPM list installed the static FLTK library with execute permission,
which caused EPM to strip the library, making it impossible to link
against... :(


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1097 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2000-04-27 00:17:54 +00:00
Michael R Sweet 0ef73e50d6 Commented out enabling overlay support until we can get it working right.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1094 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2000-04-26 14:14:41 +00:00
Michael R Sweet 8fe1161d9f Fixed other occurrence of -fomit-stack-frame that should be
-fomit-frame-pointer.

Now check for -fpermissive under Solaris (should eliminate complaints of
compiles not working under Solaris with GCC 2.95.x :)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1093 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2000-04-26 12:55:29 +00:00
Bill Spitzak 1b529efa42 Fixed the -fno_exceptions test so it does not always fail.
I had a hard time figuring this out.  Autoconf will produce useless files
without producing an error message, and it does not like commas in any
of the fields.  I had to look at the generated script to get something
working.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1092 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2000-04-26 07:59:53 +00:00
Bill Spitzak 34e44c5206 Changed -omit-stack-frame to -omit-frame-pointer, hope this is correct
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1091 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2000-04-26 06:55:08 +00:00
Michael R Sweet 4b561b6e90 Updated copyright notices for all of the 1.0.x files.
Updated the configure script for *BSD and GCC 2.95 (-fno-exceptions)

Added install rule to documentation directory.

Dumped old packages directory; added traditional RPM spec file and EPM
list file (that replace all of the packages stuff)

The FLUID man page is now "fluid.1" for the formatted page and "fluid.man"
for the non-formatted page, since only IRIX uses pack'd formatted man pages.

Whew!


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1090 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2000-04-25 22:17:00 +00:00
Bill Spitzak 06ea565dba Fixed configure uversion for Irix 6.5
Fix (untested) xparsecolor emulation on Win32 for #x where x != 6 digits


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@789 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-10-19 04:50:34 +00:00
Michael R Sweet 018667ce16 Fixed configure.in for HP-UX - wasn't detecting vsnprintf and snprintf
properly (needed to use AC_CHECK_FUNC and fixed uversion string).


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@640 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-08-09 13:35:04 +00:00
Bill Spitzak 8abc94ba07 Added Solaris switches suggested by Carlos O'Ryan (coryan@cs.wustl.edu)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@590 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-05-19 19:07:15 +00:00
Bill Spitzak 9324cc741c Shortened the option string for IRIX a bit by combining the two -woff's
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@588 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-05-14 09:08:05 +00:00
Bill Spitzak 84e4e91a3c Made XDBE work on all versions of Irix that have it
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@565 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-04-30 06:41:11 +00:00
Michael R Sweet a5778a1864 Updated README and distribution packages to use v1.0.1.
Updated makefiles and makeincludes to use DSONAME and GLDLIBS.

Updated configure.in to use DSONAME instead of LIBNAME.

Updated editor example code in documentation.

Added ANSI C++ changes to make things compile with the latest EGCS
compiler.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@458 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-25 15:26:44 +00:00
Michael R Sweet 26068ce30e Removed extra \ in HP-UX DSO command.
git-svn-id: file:///fltk/svn/fltk/trunk@402 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-10 14:22:29 +00:00
Michael R Sweet e82c497641 It would help if the configure script substituted DSOCOMMAND...
git-svn-id: file:///fltk/svn/fltk/trunk@392 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-09 19:24:42 +00:00
Michael R Sweet 022e5d90f1 Updated Linux DSO rules.
Changed configure.in, makeinclude, and src/Makefile to use DSOCOMMAND
instead of replacing LIBCOMMAND.

src/Makefile now creates both static and shared libraries if
--enable-shared is requested.

fluid/Makefile always uses the static library so that a CVS build will
always work, even if libfltk.so.1 isn't installed (problem for Solaris
and Linux, which don't support LD_LIBRARY_PATH).


git-svn-id: file:///fltk/svn/fltk/trunk@387 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-09 18:32:44 +00:00
Michael R Sweet d5166693cb Updated Digital UNIX DSO commands.
git-svn-id: file:///fltk/svn/fltk/trunk@385 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-09 17:55:05 +00:00
Michael R Sweet 2a10f22ed7 Updated Solaris shared library command (again).
git-svn-id: file:///fltk/svn/fltk/trunk@384 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-09 17:48:18 +00:00
Michael R Sweet 000e30f728 Changed Solaris shared library command to ld using -h option to set
soname.


git-svn-id: file:///fltk/svn/fltk/trunk@383 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-09 17:18:05 +00:00
Michael R Sweet d38b07ca26 Updated DSO stuff in configure.in (soname, -fPIC, etc)
Added LDFLAGS to LDLIBS in makeinclude.in.


git-svn-id: file:///fltk/svn/fltk/trunk@355 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-04 14:48:08 +00:00
Carl E. Thompson a53a5cb978 Changes egcs/gcc optimization default to "-O2" . Makes library and apps
much smaller.

-Carl


git-svn-id: file:///fltk/svn/fltk/trunk@342 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-25 19:47:31 +00:00
Michael R Sweet 8b5f73c23c Minor typo in configure script (== instead of =)
git-svn-id: file:///fltk/svn/fltk/trunk@322 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-22 21:42:54 +00:00
Michael R Sweet c33c7ff0b8 Now don't enable XDBE under SunOS or IRIX 6.3 or earlier.
Added HP C++ compiler warning options.

Added HP-UX check with (v)snprintf() - HP-UX has them, but doesn't have
prototypes...


git-svn-id: file:///fltk/svn/fltk/trunk@311 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-22 20:53:35 +00:00
Michael R Sweet 480101ea19 Updated Solaris scandir() check - the case statement was giving autoconf
fits...


git-svn-id: file:///fltk/svn/fltk/trunk@294 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-18 15:05:50 +00:00
Michael R Sweet 1c3caadc23 Updated scandir() check to use FLTK scandir function instead of Sun
scandir().

Changed IRIX optimization to always be -O2 to avoid -o32 compiler
warnings.


git-svn-id: file:///fltk/svn/fltk/trunk@289 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-18 13:42:08 +00:00
Michael R Sweet 9aa244c8e3 Fixed typo in configure input (dns# instead of dnl#).
git-svn-id: file:///fltk/svn/fltk/trunk@287 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-18 13:00:21 +00:00
Michael R Sweet 468391363b Updated configure.in for proper debug and optimization handling.
The new configure script now defaults to no debugging; if you use the
--enable-debug option to configure, it uses "-g" for debug.

The optimizer section applies the compiler warning options and optimizer
options separately.  If debug is requested, no -O options are added.

For IRIX 6.2 and higher, and for GCC/EGCS, -O3 is used for optimization.
For IRIX 5.x -O2 is used.  For HP-UX +O2 is used.


git-svn-id: file:///fltk/svn/fltk/trunk@261 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-01 19:40:25 +00:00
Bill Spitzak 4c53a5d8f4 Added optimization for SGI builds (mike: please run autoconf before making
a distribution).
Documentation fixes.


git-svn-id: file:///fltk/svn/fltk/trunk@259 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-01-31 07:43:16 +00:00
Michael R Sweet 41195fbba6 Updated to include <sys/select.h> as needed.
Removed IRIX select() prototype - not needed for IRIX 5.3 or higher.


git-svn-id: file:///fltk/svn/fltk/trunk@254 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-01-27 17:52:25 +00:00
Michael R Sweet 0a36d98420 Yay, change all copyright notices to be 1998-1999.
git-svn-id: file:///fltk/svn/fltk/trunk@201 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-01-07 19:18:01 +00:00
Michael R Sweet 13070ee270 Updated shared library code to create symbolic links to .so.1 or .sl.1
files...


git-svn-id: file:///fltk/svn/fltk/trunk@165 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-12-18 13:53:27 +00:00
Michael R Sweet 027516a195 Removed SunOS Xdbe check...
git-svn-id: file:///fltk/svn/fltk/trunk@146 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-12-07 14:57:26 +00:00
Michael R Sweet 3743b7c53a .C -> .cxx...
git-svn-id: file:///fltk/svn/fltk/trunk@145 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-12-07 14:35:53 +00:00
Michael R Sweet 849e11623e Changes from Carl to get rid of default_ variables...
git-svn-id: file:///fltk/svn/fltk/trunk@106 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-12-02 15:39:39 +00:00
Michael R Sweet e22ea76909 Updated compiler options - shouldn't force a particular C or C++ compiler
under IRIX, nor the -n32 option; that is for the CFLAGS and CXXFLAGS
options!


git-svn-id: file:///fltk/svn/fltk/trunk@54 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-11-05 16:17:39 +00:00
Michael R Sweet 80b1529ef4 Multiple patches from Bill:
- Double-buffered window fixes.
  - Tabs fixes.
  - X/WIN32 fixes.
  - Fl_Input fixes.
  - Support for vsnprintf and friends.
  - Support for printf-style arguments in utility functions.


git-svn-id: file:///fltk/svn/fltk/trunk@52 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-11-05 16:04:53 +00:00
Michael R Sweet 000af67fea CFLAGS and CXXFLAGS don't default to blank... Put mandatory DEBUGFLAGS
back in...


git-svn-id: file:///fltk/svn/fltk/trunk@49 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-10-21 21:43:54 +00:00
Michael R Sweet 701dfbc5bb Forgot a BORDER_WIDTH line...
git-svn-id: file:///fltk/svn/fltk/trunk@48 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-10-21 21:42:13 +00:00
Michael R Sweet 05d7379a35 Autoconf sucks - can't redefine BORDER_WIDTH to another value in config.h...
Removed --enable-windows-style option.


git-svn-id: file:///fltk/svn/fltk/trunk@47 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-10-21 21:41:41 +00:00
Michael R Sweet 85b225865e Updated CFLAGS check so we don't clobber them...
git-svn-id: file:///fltk/svn/fltk/trunk@46 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-10-21 20:56:42 +00:00
Michael R Sweet 918c3a2bec Dropped -enable-production.
Changed default CFLAGS to -O2.


git-svn-id: file:///fltk/svn/fltk/trunk@45 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-10-21 20:42:08 +00:00
Michael R Sweet 9af1ddb924 Added -enable-windows-style support to configh.in and configure.in.
Updated README for -enable-production option.


git-svn-id: file:///fltk/svn/fltk/trunk@42 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-10-21 17:57:42 +00:00
Michael R Sweet 7657a2e4a5 Fixed all the frigging file headings - was missing a $ in the Id string.
Applied some damage bit fixes from Bill Spitzak.


git-svn-id: file:///fltk/svn/fltk/trunk@28 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-10-21 14:21:44 +00:00
Michael R Sweet d3dee719fb More changes to top-level makefile and configuration files.
git-svn-id: file:///fltk/svn/fltk/trunk@27 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-10-21 14:00:53 +00:00
Michael R Sweet 53fcfae9cb Updated autoconf files to support shared libraries and JPEG library.
Updated README files.
Removed old files.


git-svn-id: file:///fltk/svn/fltk/trunk@24 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-10-20 16:41:24 +00:00
Michael R Sweet f9039b2ae2 Initial revision
git-svn-id: file:///fltk/svn/fltk/trunk@2 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-10-06 18:21:25 +00:00