Commit Graph

312 Commits

Author SHA1 Message Date
Fabien Costantini e458232cc1 Generalized latest PNG configuration configure code to jpeg and zilb. Also warning user now if he asked for system lib (jpeg,z,png) that is not found. Seems to work fine under OSX, please review.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6519 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-11-12 12:48:51 +00:00
Fabien Costantini 250090b3f0 More optimisation and cleanup for the PNG lib handling in configure.in. Also reordered the variables the same way in the main if test code so that differences now are obvious between the two modes
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6515 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-11-10 22:03:55 +00:00
Albrecht Schlosser 6c279f9909 Test the system png lib and headers only, if --enable-localpng is _not_ set.
Commented out an obsolete statement.
Added a check for png_get_valid, if using the system lib.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6513 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-11-10 21:05:22 +00:00
Fabien Costantini 9481db94d9 Now we finally can check as well if a correct PNG header was found, if it is not the case or the lib is not found, then syslib will be updated adequately. Reused latest Al AC_CHECK_HEADER() and included them from the begining in the syslib_ok test. Tested with default,disable,enable png.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6512 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-11-10 20:11:36 +00:00
Albrecht Schlosser 04f6740b35 Added header checks for png image library.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6510 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-11-10 18:21:38 +00:00
Fabien Costantini c2d5dd32b5 Fixes the configure problem when the png option is not specified.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6509 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-11-10 17:22:14 +00:00
Fabien Costantini 5dfe62a97b Fixed broken png image include.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6505 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-11-09 21:05:52 +00:00
Ian MacArthur f61a8993d5 STR 1949 - revise configure.in to cerrectly detect png_set_tRNS_to_alpha
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6504 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-11-09 13:15:05 +00:00
Fabien Costantini b2deb4b6f4 Fixed one typoe in configure.in, changed LINKFLTKCAIRO parameter passing in LINKSHARED.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6487 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-25 21:06:31 +00:00
Fabien Costantini ed6ac69dd6 Fixed cairo makefiles link error when shared option activated under linux.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6485 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-25 18:31:44 +00:00
Fabien Costantini f6d5f48bbe Fixed enable-shared would not work when cairo is not available. Added a new flag name FLTKCAIROOPTION for conditional -l cairo lib include.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6484 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-25 14:53:03 +00:00
Fabien Costantini 268ffc6ef2 Cairo increment 2: Finer cairo granularity, less deps, new fltk_cairo lib
+ added new USE_CAIRO config preprocessor def. 
   to differentiate from HAVE_CAIRO so that we can use the cairo lib 
   without forcing the full fltk lib to be linked against it.
   In that case, cairo autolink context functionality which needs fltk lib 
   instrumentation is disabled.
 + added new --enable-cairoext, which correspond to previous --enable-cairo.
   now, --enable-cairo only adds HAVE_CAIRO def. and keeps fltk lib
   from referencing cairo.
   In both cases (--enable-cairo & --enable-cairoext), a new fltk_cairo lib is 
   created. This lib, similarly to local versions of png,jpeg and zlib, 
   is not generated if cairo is not enabled.
 + added cairo to fltk-config : now new --use-cairo flag is available
 + modified all unix like makefiles to now generate minimum cairo deps and also
   new libfltk_cairo lib.
 + added new cairo subdir to permit conditional fltk_cairo lib generation. 
 + vc2005 project minimum update to compile without be broken, but still needs
   to create a similar fltk_cairo independent lib. For now, it works as before
   with a dedicated cairo env. similar to --enable-cairoext context in unix.
 + regression tested ok with cairo disabled on win32, mac osx, mingw.
  


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6462 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-19 01:42:35 +00:00
Fabien Costantini 14ca02ffff Doxygen documentation: commented out the 1.5.7 specific doc options, updated README for pdf and html use. Now minimum version required is 1.5.5
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6440 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-15 15:58:04 +00:00
Fabien Costantini 528d1d0e7a Doxygen pdf documentation: added htmlonly endhtmlonly tags to avoid pdf doc to have ugly nav bar at the end of the custom chapters. This implies that no ref tag is used, so i reverted ref tags to original a href names. htmldoc was never expanded to doxygen, changed it so that it works in configure.in .
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6428 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-14 20:40:23 +00:00
Fabien Costantini 097c3cd91e fixed missing case darwin in configure.in after qd removal.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6425 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-13 23:34:07 +00:00
Fabien Costantini 92051890f1 Quickdraw removal: option removed from configure, all Qd code removed from sources. Also took this opportunity to sort the ifdef clauses so that USE_X11 shows first. Also added error pragma to enforce proper target checking, thus make even less assumptions.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6423 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-13 23:10:43 +00:00
Fabien Costantini 126f2e1dce remove non ascii char before end of line, clean up some dnl lines so that syntax highlighting in emacs is working again as expected.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6355 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-30 17:14:20 +00:00
Fabien Costantini ffad932289 + Cairo branch merged after successful testing on Mac OS X 10.5.4, Linux Ubuntu 8.04,Windows XPSP2.
This integration is minimum as discussed, in particular it does not feature any fltk cairo drawing substitution
  as in fltk2.
  Still it provides all the fundations to go further even in next 1.4 ... 
  By default *no* cairo features are implemented nor linked, it can only be activated by --enable-cairo
  whose default is false.
  Please visit the README.cairo for complete description.

+ fixed UTF8 compilation pb on linux ubuntu

+ minor comments fixes on the fly



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6350 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-25 18:26:33 +00:00
Fabien Costantini e77a5d14d8 wsock32 static lib dependency removal from win build files.
error msg if wsock load fails changed by Fl::fatal() API use.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6174 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-08-28 17:33:56 +00:00
Michael R Sweet ba2e9f3375 Make --post create a basic Mac OS X application bundle with a shell script
that executes the bundled program.

Change the defaults for Quartz, threading, large file support, XDBE, Xft,
and Xinerama to "yes".

Remove the old Mac OS X resource fork file.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6142 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-07-13 21:39:07 +00:00
Matthias Melcher 232ef4e159 Updated 1.3 with changes from 1.1.9
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6099 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-04-12 19:16:19 +00:00
Matthias Melcher 9c538a4b2e STR 1883: Attempt to fix installation of binaries in .app bundle on platforms other than OS X. Must be tested with Cygwin and on Linux!
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6051 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-02-26 15:26:08 +00:00
Michael R Sweet 6208077d2a Add configure summary.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5986 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-11-20 21:52:54 +00:00
Matthias Melcher abde88e220 On OS X: disable all 'deprecated' warnings to be able to see the really important warnings. Nevertheless, we will have to replace all Carbon calls as soon as possible. Also re-fixed (i hope) the 'return' from an endless loop in 'threads.cxx'
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5849 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-20 16:32:37 +00:00
Michael R Sweet d8c288df3e Fix compiler warnings/errors.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5848 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-20 16:18:31 +00:00
Michael R Sweet 73d01dd659 Fix all compiler warnings from various build systems.
Fix vsnprintf() implementation to properly handle long and long long ints.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5845 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-20 00:01:06 +00:00
Michael R Sweet e37b4526fc Solaris sh (POSIX shell) does not support the Bash substitution syntax.
Add a different workaround for this Cygwin shell bug (however note that
we are NOT going to go out of our way to work around Cygwin bugs - you
need to report those upstream folks!)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5830 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-14 19:35:32 +00:00
Matthias Melcher 62d66c6422 Str #1656: changed default optimization on Cygwin/Mingw to -O3 because -O3 causes verifably and repeatably bad code.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5823 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-14 12:21:42 +00:00
Matthias Melcher 2df9fcb3aa OSF/Tru64 now uses 'install-sh' instead of 'install' to accomodate for a missing '-d' option (STR #1632)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5822 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-14 12:00:06 +00:00
Matthias Melcher ee1d3823a0 Modified 'configure.in' to overcome the Cygwin bug of adding a ^M to the output of the 'sizeof' test code. From all I read, the notation seems to be shell scripting standard and should be available everywhere.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5807 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-09 19:40:04 +00:00
Matthias Melcher d84e2832f7 Second aproach at solving the 'install -d' issue. I added a public domain script that supposedly solves the issue on every box. I also looke at 'install-sh', but found a bazillion of versions, doing so much more than we actually need. But I am open to sugestions, and happy to reverse my changes if something better comes along.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5799 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-03 12:33:20 +00:00
Matthias Melcher ba562f87b9 STR #1632: replaced 'install -d' with 'mkdir -p', falling back to 'install' in case 'mkdir' could not be found (which I can't imagine happening. Now I hope that every implementation of 'mkdir' supports the '-p' flag.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5797 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-02 15:01:37 +00:00
Michael R Sweet ded0bf0432 Add LDFLAGS for DLLs via Cygwin/MingW as noted by Ian MacArthur.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5690 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-10 21:21:02 +00:00
Michael R Sweet 057e542c39 More Cygwin DLL fixes (STR #1585)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5682 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-08 21:22:32 +00:00
Michael R Sweet e173e7bec0 Add header check for dlfcn.h.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5678 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-08 20:14:30 +00:00
Michael R Sweet 7b4d33bbdd Make sure INSTALL command uses absolute path for install-sh...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5676 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-08 19:14:29 +00:00
Michael R Sweet 4d6faca615 Add support for glutGetProcAddress() on Mac OS X and other platforms
via dlsym() (STR #1582)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5673 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-08 15:44:28 +00:00
Michael R Sweet 44b2ff35cf Use install command instead of CHMOD, CP, and MKDIR.
Drop all POSTBUILD stuff as it is no longer used.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5663 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-06 19:35:28 +00:00
Michael R Sweet 47fb93aa3c Update pthreads configure test to work on more platforms.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5661 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-05 18:39:27 +00:00
Michael R Sweet 1c61b1297d Fix glXGetProcAddressARB() usage and support for POSIX threads on HP-UX 11.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5660 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-05 03:20:30 +00:00
Michael R Sweet 502f83219d Fix DLL generation via MingW/Cygwin (STR #1546)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5659 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-02 20:23:31 +00:00
Michael R Sweet 7a9e9468e6 Add -fno-strict-aliasing to compiler options since GCC doesn't understand
that char * and unsigned char * are safe to interchange (STR #1484)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5538 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-10-31 21:28:11 +00:00
Michael R Sweet 4e0cea8f10 Scratch that, looks like autoconf 2.50 added AC_SYS_LARGEFILE. 2.57
added documentation for it...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5537 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-10-31 21:15:47 +00:00
Michael R Sweet 7dd62791f9 AC_SYS_LARGEFILE appears to have been introduced in autoconf 2.57...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5536 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-10-31 21:11:04 +00:00
Michael R Sweet ef2dc5bd87 Add DSOFLAGS to DSOCOMMAND's, so that we inherit X_LIBS and other options
for linking of shared libs.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5426 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-09-12 01:31:42 +00:00
Michael R Sweet cdc165bd68 Fixed DSO generation (STR #1405)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5413 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-09-05 01:39:13 +00:00
Michael R Sweet 464e8110a7 Fix man page extension for games.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5380 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-08-29 16:45:48 +00:00
Matthias Melcher 4f6119433b Fixed Makefile configuration for OS X dynamic library. STR #1391
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5292 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-08-12 11:05:04 +00:00
Michael R Sweet 8266e090f5 Don't call dummy function inside dummy function - some compilers don't like
it...

Drop +DAportable from default HP-UX optimizations.

Move HP-UX C++ compiler warning options to CXXFLAGS.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5274 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-08-02 18:03:10 +00:00
Michael R Sweet d9eecaf4ab Fix problems with new FLUID output, add common to closing braces to show
what widget is being closed, and bump the version number to 1.1.8 in the
repo...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5271 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-07-27 19:26:11 +00:00
Michael R Sweet 8761079f3c Revert change to --enable-cygwin option since ARCHFLAGS does not work with
the configure tests for strlcpy and friends.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5241 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-06-26 13:45:07 +00:00
Michael R Sweet eea2b38b34 Add --with-archflags option to configure script, and use it in the right
places.

Update changes file.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5216 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-06-19 18:29:31 +00:00
Michael R Sweet 7565604dbf Make sure native eol-style is set on all source files.
Fix some freetype-config and xprop issues in the configure script.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5166 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-05-30 14:04:00 +00:00
Matthias Melcher e35e2a27a2 Included fltk.spec in configure.in
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5137 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-05-21 08:50:25 +00:00
Michael R Sweet bf7082f16c Fix fl_filename_list() bug (STR #1159) caused by changing of the ABI
(dirent size is different for large file mode)

The default is now --disable-largefile; if you use --enable-largefile,
the large file support definitions are propagated to the fltk-config
script as well.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4779 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-01-31 15:50:06 +00:00
Michael R Sweet 115d539691 More packaging fun.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4756 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-01-15 18:36:16 +00:00
Michael R Sweet 61b86ce0e5 More packaging fun (games package to "advertise" FLTK...)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4755 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-01-15 18:02:44 +00:00
Michael R Sweet 887a458227 Work on Linux and OSX desktop integration stuff via make install and
packaging via EPM.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4750 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-01-15 03:16:09 +00:00
Michael R Sweet 72b136d58b Fix MingW threading support.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4731 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-01-02 12:47:09 +00:00
Michael R Sweet e73818789d Add Cygwin/MingW support for winmm library... (STR #1121)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4707 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-12-14 02:27:23 +00:00
Michael R Sweet 7dd1ddbeef FLTK now enables large file support when available (STR #1087)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4702 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-12-14 00:39:55 +00:00
Matthias Melcher 861944d1cb Removed the "-g" compile option for the optimized version of FLTK. This was probably a leftover from someone debugging the optimized version (and I am too lazy and polit to run "svn blame", especially since that someone could have been myself ;-)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4692 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-12-10 10:23:44 +00:00
Michael R Sweet a6e6888a2d Add OSX audio support to Sudoku (THANK YOU IAN!)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4690 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-12-08 03:51:21 +00:00
Michael R Sweet 2f40b8b80b Start adding support for sound in Sudoku via ALSA.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4684 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-12-05 00:55:01 +00:00
Michael R Sweet 9e8a88e66c Fix mousewheel handler bug (using wrong variable in initial check)
Add sudoku game app (fun for the holidays! :)

Use "-Os -g" as the default optimization settings.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4652 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-11-25 20:40:16 +00:00
Michael R Sweet 6e88ede6a4 Remove libsupc++ stuff, since it doesn't work on OSX 10.4 or with
other (broken) GCC installs.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4572 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-09-18 04:02:29 +00:00
Michael R Sweet 6585e234ae Added shared library support for Cygwin and MingW (STR #893)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4474 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-08 00:54:30 +00:00
Michael R Sweet b8dcdf4c64 Compilation could fail if a previous installation of FLTK was in
the same (non-standard) directory as an image library (STR #926)

configure.in:
    - Add LINKFLTKFORMS definition.
    - Change LINKFLTK* definitions to just reference the static
      libraries themselves.

makeinclude.in:
    - Use LINKFLTKFORMS and drop -L../lib stuff for static linking.

src/Makefile:
    - Move -L. in front of LDLIBS and IMGLIBS when linking shared
      libfltk_images.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4472 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-08 00:44:38 +00:00
Matthias Melcher 458d1dc75d Attempt to make 'localeconv()' part of the configuration process. VC6 works, but I'll need feedback for all other platforms... . Trying OS X in a few minutes.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4454 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-07-24 18:41:30 +00:00
Michael R Sweet 671ef36117 Fix MacOS X 10.4 compile issues.
configure.in:
    - 10.4 doesn't include libsupc++.a, so we need to use g++ when compiling.

src/Fl_Help_View.cxx:
    - Fl_Help_View::format_table(): missing initialization of font and fsize.

src/Fl_Text_Buffer.cxx:
    - Fl_Text_Buffer::remove_rectangle(): missing initialization of endOffset.

src/Fl_Gl_Window.cxx:
    - Fl_Gl_Window::flush(): use 0xff instead of ~0 for clear_damage() call.

test/keyboard.cxx:
    - Apparently unnamed structs are not supported by Apple's GCC 4.0...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4301 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-04-28 17:48:04 +00:00
Michael R Sweet 1c399af444 Update source file headers with STR web page.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4288 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-04-16 00:13:17 +00:00
Michael R Sweet e4e36d8229 Move -Wconversion option for GCC to extra warning options (not enabled
by default, to eliminate image library errors...)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4284 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-04-15 14:21:59 +00:00
Michael R Sweet ff60e09c09 Add -Wno-format-y2k option to eliminate Y2k warnings - ignored by some
versions of GCC, but at least the newer versions won't give us that
warning about our use of strftime()...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4280 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-04-13 19:40:56 +00:00
Michael R Sweet cc593f6b64 Add Fl::screen_count() and Fl::screen_xywh() APIs to support multi-
screen displays (currently only X11 support with Xinerama)



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4223 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-03-31 16:01:24 +00:00
Michael R Sweet add37faa25 Copyright updates.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4052 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-02-24 21:55:12 +00:00
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