Commit Graph

337 Commits

Author SHA1 Message Date
Michael R Sweet
a50a8b702a Changelog.
Prep for 1.1.7.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3927 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-11-29 15:01:43 +00:00
Michael R Sweet
fc8d065cd7 The configure script did not support --disable-localfoo to
completely disable image file support (STR #582)

The Visual C++ 6.0 project files still listed the old JPEG, PNG,
and ZLIB library names (STR #577)

Fixed the scandir() conditional code for HP-UX 11i (STR #585)

Fl_Text_Display didn't support CTRL/CMD-A/C (STR #601)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3898 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-11-20 03:44:18 +00:00
Michael R Sweet
23bb059065 Watcom fixes (STR #584, STR #594, STR #595)
Fixed library include order when building DSOs on MacOS X (STR
#596)

fl_xid() could cause a WIN32 application to crash (STR #560, STR
#576, STR #618)

Fl_Browser::remove_() removed the item from the list before
computing the item height, which caused problems with some
programs (STR #613)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3897 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-11-20 03:19:59 +00:00
Michael R Sweet
e5355c3243 Prep for 1.1.5 release.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3871 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-10-18 21:05:28 +00:00
Michael R Sweet
b2f9a532e7 Shortcuts were incorrectly underlined in multi-line labels (STR
#566)

Remove Winline from GCC options.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3870 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-10-18 20:40:36 +00:00
Michael R Sweet
96801156ad Prep for 1.1.5rc3 release.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3845 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-09-24 20:08:29 +00:00
Matthias Melcher
8327822026 Updated config stuff to allow for --enable-quartz ofr Mac OS X which in
turn defined USE_QUARTZ to 1 and defines __APPLE_QUARTZ__. If Quartz
is not disabled, it will define __APPLE_QD__ for Quickdraw.

I also replaced all relevand #ifdef __APPLE__ with #ifdef __APPLE_QD__
#elif defined(__APPLE_QUARTZ__). This does not affect the compile at
this time and both version will generate the same Quickdraw code.

I will start to replace all QD calls with Quartz calls for the
remainder of the week until I can completely remove all QD calls from
the Quartz branch.

Thanks to Robert Smith for a great initial Quartz implementation.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3782 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-08-25 00:20:27 +00:00
Michael R Sweet
b98e54a92f Remove the GCC -Wshadow option.
Use fltk_xyz for the PNG, JPEG, and ZLIB libraries instead of the normal
names, to avoid collisions with existing installs.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3727 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-07-29 18:13:11 +00:00
Michael R Sweet
dd193b3820 Include libdir in link options.
Add all compiler warnings...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3697 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-07-26 17:46:36 +00:00
Michael R Sweet
7ee19d1140 Fix local image library build bug.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3688 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-07-23 19:26:27 +00:00
Michael R Sweet
5f2ae3cf65 Fix PNG tests.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3663 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-07-12 15:50:01 +00:00
Michael R Sweet
388a864ef7 Makefile and configure script support for image libs.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3644 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-07-06 00:18:49 +00:00
Michael R Sweet
24fcc5aa29 The fltk-config script did not include the "-mno-cygwin" option
under CygWin (STR #434)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3502 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-07-05 13:20:28 +00:00
Michael R Sweet
849c90e53b The configure script now offers options for JPEG, PNG, and ZLIB
libraries (STR #416)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3454 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-06-09 12:09:39 +00:00
Michael R Sweet
213be08972 FLTK now builds with the current release of MinGW (STR #325, STR
#401, STR #402)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3432 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-06-01 14:49:51 +00:00
Michael R Sweet
a3d0905c9e Copyright updates and prep for 1.1.5rc1.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3391 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-04-11 04:39:01 +00:00
Michael R Sweet
182acd8618 Fix configure script (STR #174)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3108 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-09-20 18:40:36 +00:00
Michael R Sweet
aed1a91613 Add --with-links configure option.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3103 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-09-14 14:28:22 +00:00
Michael R Sweet
4e6a41e2cd Bump to 1.1.5rc1...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3100 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-09-09 15:15:18 +00:00
Michael R Sweet
6eef9839bb Fix configure.in for autoconf 2.57.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3079 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-08-05 22:40:45 +00:00
Michael R Sweet
afbeea5714 Bump to 1.1.4 and fix changelog.
#ifdef in fluid was wrong - didn't use piping on OSX when not compiling
against Metroworks compiler.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3068 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-08-02 12:38:10 +00:00
Michael R Sweet
520d44ebf6 Fix scheme and image drawing bugs.
Bump to 1.1.4rc2.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3064 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-07-29 02:12:36 +00:00
Michael R Sweet
1251b42130 Fix Xft2 usage (still need to do a final fix that loads the proper X
font...)

Fix Fl_Window/Fl_Double_Window in FLUID.

Fix background tile coloring for plastic scheme.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3045 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-07-12 04:20:48 +00:00
Michael R Sweet
f9ded8959a Fix shared libraries on OSX (STR #51)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3034 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-06-15 05:37:32 +00:00
Michael R Sweet
47426f0b3f Drop undocumented and non-working --prefix and --exec-prefix options to
fltk-config script (STR #56)

Fix configure tests that had bogus whitespace in them (STR #60)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3015 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-05-29 19:43:06 +00:00
Michael R Sweet
9636dd13c1 Fix OSX shared library command. (STR #51)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3008 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-05-27 20:22:50 +00:00
Michael R Sweet
83df87d710 Update to 1.1.4rc1 for testing...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2999 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-05-26 01:45:18 +00:00
Michael R Sweet
82a8a171e5 Bump version number for next release.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2943 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-02-13 21:58:03 +00:00
Michael R Sweet
00cb676e11 Copyright update for 1.1.3 release (not quite yet, but soon...)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2936 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-01-30 21:46:07 +00:00
Michael R Sweet
4842030537 Bump version number in CVS...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2857 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-11-25 18:19:46 +00:00
Michael R Sweet
9268b0288d Add Alpha compiler stuff and cast for menu code.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2837 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-11-14 13:57:40 +00:00
Michael R Sweet
6a4c701e8f Don't use built-in snprintf/vsnprintf functions on Tru64 4.0, since there
are no prototypes and not all patch levels provide them.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2832 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-11-08 19:50:35 +00:00
Michael R Sweet
9e0efc1e88 First fixes for 1.1.2 - Fl_Scrollbar shouldn't take keyboard focus,
move Fl_Slider focus stuff to main handle() method, use Fl_Light_Button
in scroll demo.

Bump version numbers to 1.1.2.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2690 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-24 12:53:41 +00:00
Michael R Sweet
e001b30f18 Define bool=char, true=1, and false=0 for C++ compilers that don't
support bool.  This isn't as nice as the config.h solution, but it will
make sure that apps that use fltk-config to get the CXXFLAGS will work
on all compilers.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2688 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-23 15:18:57 +00:00
Michael R Sweet
3939b6cde5 Dammit, the NEdit code update before 1.1.0 introduced "bool" back into
Fl_Text_*.  Rather than breaking binary compatibility, add the necessary
configure check and code in config.h.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2682 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-22 13:45:23 +00:00
Michael R Sweet
b40f5fb69e Documentation updates.
Bump version to 1.1.1.

Fix "no change" button in FLUID.

Set dirty flag when changing nodes in Fl_Preferences.

Add the extra include dir options when doing "fltk-config --compile foo.cxx".


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2659 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-07 13:19:22 +00:00
Michael R Sweet
0c0035904c Fix bug #613088 - Fl_Text_Display crash.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2638 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-09-26 20:27:16 +00:00
Michael R Sweet
0792860a57 Add support for XV/GIMP thumbnail format (P7)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2626 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-09-17 20:27:19 +00:00
Michael R Sweet
1860641362 Fix more compile errors.
Redraw Fl_Input_ background using the box() function + clipping.

Bump to 1.1.0rc6.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2575 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-08-12 19:42:55 +00:00
Michael R Sweet
b2e9308751 More shadowed variables in FLUID, plus use snprintf, strlcpy, and strlcat.
Don't use extra warning flags for normal compiles.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2568 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-08-09 22:57:00 +00:00
Michael R Sweet
a6b935289e Move the rest of the image file formats (except for XBM and XPM) to
the fltk_images library; saves about 16k in the FLTK core library on my
Intel system.

Fix a memory leak bug in most of the fl_set_fonts*.cxx implementations;
as a result, the Fl_Fontdesc structure now has a fontname member to old
the human-readable font name.

Lots of fixes for shadowed variables, etc.

Use snprintf, strlcpy, and strlcat in more places.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2566 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-08-09 01:09:49 +00:00
Michael R Sweet
a11a31ff78 Range check Fl_Text_Buffer::search_forward().
Don't use png_read_destroy() - it doesn't free all memory.

Add uncache() method to image classes.

Memory/initialization bugs in Fl_File_Chooser (valgrind)

Make sure both Fl_Window constructors have default cursor initialization
code...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2562 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-08-05 17:50:25 +00:00
Michael R Sweet
c22732b9e0 OK, we'll do one more rc release since so many of the build things have
changed...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2542 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-07-20 23:39:08 +00:00
Michael R Sweet
458b4ef2d0 Try different check for libstdc++ that might work better with Cygwin.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2538 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-07-17 17:05:08 +00:00
Michael R Sweet
3346a9fee7 Change the Fl_Group current, add, and remove methods so they are no longer
inline; this should make shared libraries work better on all platforms.

Link FLUID against shared libraries, too, so that the installed fluid is
also using shared libraries (still make a statically linked fluid for the
build)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2525 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-07-14 17:03:31 +00:00
Michael R Sweet
75b9c5a68f Reset version numbers to 1.1.0 (no rcN)
Add images library to list file.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2523 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-07-12 02:04:53 +00:00
Michael R Sweet
32fee075fb Support MSYS as well as Cygwin configure stuff...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2500 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-07-10 02:47:14 +00:00
Michael R Sweet
6a6e4ab66c Separate the extra image functions into fltk_images.
Add new fl_register_images() function to register the extra file formats
with Fl_Shared_Image.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2329 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-06-28 21:04:37 +00:00
Michael R Sweet
1be610c970 Better MingW handling.
Convert C++ comments to C comments in filename.H, which is included
from some C files.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2321 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-06-26 12:03:28 +00:00
Michael R Sweet
690f5c5d07 Change POSTBUILD back to : in configure script.
Change POSTBUILD to "rem" in MingW makeinclude file.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2318 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-06-25 13:36:27 +00:00
Michael R Sweet
12c9e04690 Use true instead of : for POSTBUILD on non-MacOS systems.
Redo library README file...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2317 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-06-24 19:49:45 +00:00
Michael R Sweet
bb056f7805 Update GCC test in configure script.
Add range checking to BMP loader, and fix colormap + 4-bit BMP file
loading.

Copy 2.0 window position fix for XFree86 4.x and others.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2315 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-06-24 02:04:54 +00:00
Michael R Sweet
5d7f42585b Fix test for OpenGL libraries - not == xno, but != xyes.
Add some other NEdit text display data that wasn't in the current
implementation (wrap + line number stuff).


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2296 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-06-08 12:51:38 +00:00
Michael R Sweet
fbeb7fc775 Don't use -OPT on IRIX 5.3...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2295 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-06-07 20:15:17 +00:00
Michael R Sweet
7f64473ace Some fixes to get FLTK to compile under Jaquar.
Still have problems with menus and OpenGL...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2280 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-06-03 16:09:27 +00:00
Michael R Sweet
3a117a899c Get rid of as many compiler warnings as possible.
Add missing offbits seek when reading BMP files.

Add -OPT:Olimit=4000 to SGI compiler options (for keyboard_ui)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2253 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-05-24 14:19:19 +00:00
Michael R Sweet
6fb964c36e Add -sgi_version,sgi1.1 to the IRIX DSO command.
Add Fl_Shared_Image.html to the list of HTML files to install.

Change C++ command to C in src/flstring.h.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2244 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-05-19 17:44:56 +00:00
Michael R Sweet
88d54cd78b Massive update to use strlcpy() and strlcat() instead of strncpy()
and strncat() in almost all places (there are still a few strncpy's
that need to be used...)

Added configure check for strlcat() and strlcpy().

Added emulation code for strlcat() and strlcpy().


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2239 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-05-16 12:47:44 +00:00
Michael R Sweet
84bccaf8e7 Add #include <X11/Xlib.h> to Xdbe check...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2202 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-05-07 00:55:48 +00:00
Michael R Sweet
44bb5f60de Add Fl_Preferences class to base library.
Add FLTK_DATADIR definition to config.h for system-wide configuration
data.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2126 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-04-28 16:41:17 +00:00
Michael R Sweet
14b93c034b Add +z option with HP-UX compilers when compiling shared libraries.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2112 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-04-26 12:39:32 +00:00
Michael R Sweet
7b99f66d03 Add check for libpng/png.h as well as png.h, and include the appropriate
one as needed...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2106 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-04-24 18:29:06 +00:00
Michael R Sweet
c2521c01da Bump version info to 1.1.0rc1.
Force full redraw in Fl_Input when using Xft or OSX anti-aliased text.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2094 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-04-16 17:11:11 +00:00
Michael R Sweet
8964212393 OSX threading support - a little buggy right now, but hopefully we'll be
able to work out the kinks without too much effort.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2093 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-04-16 15:49:06 +00:00
Michael R Sweet
126def8800 Update docos for all configure options.
Bump version numbers to 1.1.0b13.

Need to include <config.h> (via "flstring.h") in src/Fl.cxx to
get Fl_Window::hide() to call fl_destroy_xft_draw()...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2066 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-04-10 16:26:33 +00:00
Michael R Sweet
77a3b80dff OK, back out -fvtable-thunks and add conditional compile for WIN32
DnD code for Cygwin...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2062 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-04-09 20:36:28 +00:00
Michael R Sweet
921f66e3e6 Add "-fvtable-thunks" to OPTIM when compiling with Cygwin.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2061 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-04-09 18:18:25 +00:00
Michael R Sweet
d7b371bfe6 Move -mwindows and -DWIN32 back to C*FLAGS and LDFLAGS for Cygwin builds.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2058 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-04-09 09:22:15 +00:00
Michael R Sweet
5c360947ee Move forms code to fltk_forms library, a la 2.0.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2027 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-03-25 21:39:01 +00:00
Michael R Sweet
6660f52740 Disable Xft by default.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1992 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-03-08 01:18:09 +00:00
Michael R Sweet
cab1dedbd1 Fix non-Xft build.
Add "--disable-xft" option to configure script.

Update dependencies.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1988 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-03-06 19:42:30 +00:00
Michael R Sweet
e52b682a99 Add Xft support to 1.1.x.
TODO: Fl::set_fonts() should add all of the fonts returned by Xft;
right now it is a no-op.

BUG: Getting X messages like "XRequest.155: 202 0x260002b" for some
reason on my system.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1987 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-03-06 18:11:01 +00:00
Michael R Sweet
71f9afb6cb Use +O2 for compiler on HP-UX.
Show where we are installing.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1961 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-02-15 18:15:46 +00:00
Michael R Sweet
c9b5b36906 Fix filename_relative().
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1942 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-01-22 00:46:09 +00:00
Michael R Sweet
7a82535b93 Revise configure script and makeinclude file to use OPTIM variable,
and to provide new "--with-optim=flags" option.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1929 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-01-13 19:17:36 +00:00
Michael R Sweet
c874ba21a9 Add -lcomctl32 for Windows builds.
Make no-cygwin the default (almost 2:1 in favor of this change)

Some minor reorganization and cleanup of the configure.in file,
so that the Cygwin stuff is done first, and other ops are done
together.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1927 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-01-11 21:42:05 +00:00
Michael R Sweet
bccdafdaef Fixed from Teun.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1919 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-01-07 20:40:02 +00:00
Michael R Sweet
2d6a98560e Doco and dist file updates.
Add fltk-config man page.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1911 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-01-06 13:40:32 +00:00
Michael R Sweet
64b4177ef4 Copyright updates...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1903 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-01-01 15:11:33 +00:00
Michael R Sweet
3a904f07b7 Bump version numbers to 1.1.0b9.
Default exec_prefix to ${prefix} instead of prefix value.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1898 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-12-30 04:45:34 +00:00
Michael R Sweet
a2e149d132 "make clean" should not delete makedepend, since we now track this
in CVS (makedepend contains local dependencies, not <stdio.h> and
so forth)...

The configure script didn't add -fpermissive or -fno-exceptions to
the CFLAGS and CXXFLAGS variables.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1880 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-12-19 19:23:32 +00:00
Michael R Sweet
75a3206b79 Check for *BSD -pthread option.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1865 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-12-17 15:36:28 +00:00
Michael R Sweet
4ef0817b83 Disable threading by default.
Remove 2.0 FL_API defines from threads.h, since that header is not part
of the library.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1848 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-12-14 21:02:24 +00:00
Michael R Sweet
4982fb29a0 Clean up default menu for FLTK applications - don't need "About FLTK".
Add "--post program" option to fltk-config so that MacOS apps can bind
the resources.  Also binds resources with --compile.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1846 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-12-14 19:34:30 +00:00
Michael R Sweet
100f78de3f CygWin threading fixes from Teun.
Update dependencies.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1828 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-12-09 20:26:24 +00:00
Michael R Sweet
64f2cc0635 Fix threading test.
Add threading demo from 2.0, with minor improvements to make the
prime number generation faster/more realistic.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1823 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-12-08 16:23:51 +00:00
Michael R Sweet
ba2be02ab2 FLTK 2.0 threading support under FLTK 1.1. Needs porting to OSX.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1819 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-12-06 22:16:49 +00:00
Matthias Melcher
ab896c6d5f FLTK 1.1.0 for Mac "Out Of The Box Experience": type 'make' and watch...
- updated configure.in and Makefiles to support Darwin (Mac OS X BSD
  environment)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1813 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-12-06 02:20:36 +00:00
Michael R Sweet
fc3999a24e Don't install header symlinks under MacOS either...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1808 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-12-04 19:57:45 +00:00
Michael R Sweet
bb2ac233c6 My bad... Remove autoconf-generated Enumerations.H - it's only
needed for updating the version numbers automatically, and I've
gotten update conflicts on several occasions.

The other files (fltk-config, etc.) are still generated by
autoconf.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1800 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-12-03 18:57:45 +00:00
Michael R Sweet
83df36c2de Clean all GL demos with a "make clean".
Don't need -lgdi32 anymore for CygWin.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1793 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-11-29 22:22:08 +00:00
Michael R Sweet
249f06e077 Require autoconf 2.13 or newer.
Remove unnecessary .fl -> .exe rule (was commented out)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1790 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-11-29 21:50:05 +00:00
Michael R Sweet
02d869450d Minor tweeks to the configure script for CygWin and Mesa.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1787 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-11-29 21:12:15 +00:00
Michael R Sweet
c78dcd55ec More doco updates.
Enable tooltips by default, and don't enable them when setting the
tooltip value, since that will negate any changes a program might
make when displaying the file chooser dialog, etc.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1777 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-11-28 20:43:44 +00:00
Michael R Sweet
1a7bbc55c5 Configure script changes...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1769 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-11-27 22:03:29 +00:00
Michael R Sweet
42df8c1288 Fix typos from OSX commit.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1766 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-11-27 17:48:16 +00:00
Michael R Sweet
2b85bf8168 Preliminary commit of my MacOS X work.
**** THIS CODE COMPILES BUT DOES NOT WORK. ****

TODO: fix event handling - getting blank windows, etc.
TODO: re-port OpenGL code.
TODO: add support for images with alpha.
TODO: add support for more then just beeps in fl_beep().
TODO: other stuff I'm sure...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1765 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-11-27 17:44:08 +00:00
Michael R Sweet
4323f46e2c Add EM and STRONG support to Fl_HelpView.
Fix --disable-cygwin configure option, and use AC_SEARCH_LIBS for
math library.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1711 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-11-22 13:56:10 +00:00
Michael R Sweet
85f3c6a3db Don't use -lm unless required.
Add --disable-cygwin option.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1709 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-11-20 20:10:59 +00:00
Michael R Sweet
84e38d4d91 Move header installs to new FL/Makefile, which is generated by
configure.

Comment out symlink stuff for Cygwin, and (hopefully) soon for OSX, too.

Add uninstall targets where needed.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1707 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-11-19 21:25:35 +00:00
Michael R Sweet
8b5a03d3a2 More CygWin stuff, and a fix for WIN32 with the new fl_beep() function.
Add a new "migration" appendix to the FLTK manual.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1695 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-11-18 12:48:38 +00:00
Michael R Sweet
406404de72 Update configure script to support non-X platforms; currently just
CygWin, soon OSX too...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1688 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-11-17 15:55:36 +00:00
Michael R Sweet
ab1e093308 Don't use -lsupc++ with gcc 2.96; just tried it on RH 7.2 and that
library isn't present or needed.

PNG image support updates for Fl_Help_View and Fl_File_Icon; didn't
handle transparency properly.

Support KDE 2.x icons.

Separate image/load_system_icons code from main Fl_File_Icon sources,
so that apps that don't use load_system_icons() won't need the image
libraries...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1687 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-11-17 15:27:15 +00:00
Michael R Sweet
5338ba6d1e Add check for GCC 2.96, and add -lsupc++ to the link line if so...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1676 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-11-02 20:40:29 +00:00
Michael R Sweet
6c202ba503 Fix uversion setup (only numbers please)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1672 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-11-01 16:55:12 +00:00
Michael R Sweet
52f21643d3 Fix "checking" messages...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1671 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-11-01 16:43:38 +00:00
Michael R Sweet
322d454659 Clean up configure script a little, update default man page
directory...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1670 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-11-01 14:54:06 +00:00
Michael R Sweet
4625fdf7a5 Only add x_includes to path if it is not empty.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1656 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-10-25 17:25:11 +00:00
Michael R Sweet
d5e60a4f2b Keep using ${prefix} with mandir, so that RPM builds are easier.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1655 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-10-25 17:13:26 +00:00
Michael R Sweet
f4c1454765 Put Linux man pages in /usr/share/man.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1654 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-10-25 17:12:03 +00:00
Michael R Sweet
2d559beaad Check for GCC 3.0.x...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1648 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-10-23 11:42:23 +00:00
Michael R Sweet
461002c3ad Check for png_read_destroy(), since newer versions of libpng do not
provide (or export) this function.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1641 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-10-19 14:04:08 +00:00
Michael R Sweet
621a34c576 Fix configure script - wasn't setting libdir properly for different
exec_prefix values...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1639 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-10-18 20:47:10 +00:00
Michael R Sweet
9da85233f9 Fl::belowmouse() was resetting the tooltip, causing the flashing
in the FLUID window and havoc for the KDE 2.2 window manager...

Changed the default tooltip position to be +10, +10 from the
mouse pointer, and the default tooltip background color to a
pale yellow to match other toolkit defaults.

Update Fl_Widget::flags_ to be an integer, to support more flag
bits.

Update Fl_Window to support override() and set_override() methods.

The configure script did not set the default library path to
/usr/lib32 under IRIX 6.2 and higher when prefix is /usr.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1637 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-10-18 18:53:20 +00:00
Michael R Sweet
8310941985 Check for png_set_tRNS_to_alpha() in configure script.
Add image and documentation defines to all of the config.h files.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1629 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-10-01 16:49:29 +00:00
Michael R Sweet
ddf259f2bb New fltk-config script for 1.1.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1614 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-09-29 15:57:32 +00:00
Michael R Sweet
00ef77c267 Add new widgets to FLUID.
Add on-line help to FLUID.

Change ALT shortcuts to CTRL shortcuts.

Update config script to set documentation directory in config.h.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1572 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-08-11 16:09:26 +00:00
Michael R Sweet
90781ce428 No _INCLUDE_POSIX_SOURCE definition for HP-UX...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1567 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-08-08 12:47:59 +00:00
Michael R Sweet
75da2409dc Typo fix...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1557 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-08-05 16:10:09 +00:00
Michael R Sweet
f6ea21e2fb Keyboard nav for tabs.
Define MAX_PATH for Cygwin.

Update configure script to add *BSD DSO generation rules and X include
directory for Xdbe.h and OpenGL headers.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1556 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-08-05 15:34:28 +00:00
Michael R Sweet
9d81d971f7 Fl_HelpDialog and Fl_HelpView widgets.
"help" demo.

Minor doco updates.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1539 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-08-02 19:43:49 +00:00
Michael R Sweet
58b0f306be Don't build OpenGL demos if OpenGL is not available or disabled.
Fix depend rule for src directory (wasn't doing OpenGL files)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1520 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-08-02 18:15:44 +00:00
Michael R Sweet
bff75e491a OpenGL stuff is now in libfltkgl.*
Added support for shared libraries under AIX.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1519 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-08-02 18:08:36 +00:00
Michael R Sweet
f50ac7f22e Fix Mesa test in configure script.
Update changelog.

Update revision number for manual.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1455 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-05-07 14:34:22 +00:00
Michael R Sweet
09f987eeb1 Separate test for GLU and GL...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1449 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-04-30 17:17:01 +00:00
Michael R Sweet
f2d2d347e9 Fix configure script and configh.in...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1448 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-04-27 17:00:23 +00:00
Michael R Sweet
ff3295f036 Handle WM_ACTIVATEAPP message under WIN32, using GetAsyncKeyState() for
all of the key and button states in FLTK.

SunOS 4.x changes (check for <sys/stdtypes.h> and don't rely on
realloc(NULL, size) working - this doesn't work on a lot of platforms!)

Fix nesting of #ifdefs in vsnprintf.c - the C++ wrapper stuff wasn't
being included outside the checks for the individual functions...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1444 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-04-27 14:39:27 +00:00
Michael R Sweet
d3afe9c10a Don't use GCC c++ or g++ compiler to build programs, use gcc instead.
Some more anti-warning stuff...

Added --disable-gl option to disable OpenGL support + check.

Added code to stop the configuration if X11 could not be found.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1441 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-04-25 13:34:43 +00:00
Michael R Sweet
022ba3679f AIX changes...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1430 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-04-13 19:13:14 +00:00
Michael R Sweet
3af11190f8 Check for the <GL/gl.h> header file before looking for the OpenGL or
Mesa libraries.  This should eliminate all of the reports we're getting
about missing header files...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1379 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-02-21 21:37:30 +00:00
Michael R Sweet
5cade5e89a Added HP compiler option.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1370 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-02-16 13:35:28 +00:00
Michael R Sweet
86b5507486 Configure script changes to support man pages, HTMLDOC, AIX/QNX with
strings.h, etc.

Add check for strings.h in fluid/factory.cxx.

Add directories and man page rules to makeinclude.in

Rename man page sources; these are formatted to the correct extensions.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1368 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-02-12 15:12:14 +00:00
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