Commit Graph

324 Commits

Author SHA1 Message Date
Albrecht Schlosser
5772a1987c Cosmetic changes only in configure.in.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10418 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-10-30 14:07:58 +00:00
Albrecht Schlosser
be19d2c3d6 Fix a regression introduced in svn r10344 in autoconf/configure builds.
Shared library sizes were about 4x the usual size, because makeinclude
and fltk-config always used "-g -O2", i.e. debugging compiler options.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10403 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-10-28 18:12:47 +00:00
Albrecht Schlosser
c2ede5bb26 Missing version number update
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10354 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-10-05 01:23:51 +00:00
Albrecht Schlosser
8a3c43da55 Remove unused htmldoc from autoconf configure options.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10351 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-10-04 22:32:34 +00:00
Albrecht Schlosser
529aaf08f7 Configure enhancements for Cygwin (STR #2974).
Remove obsolete -mno-cygwin option for Cygwin -> MinGW/WIN32 compilation.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10344 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-28 20:48:00 +00:00
Lauri Kasanen
95ba2900f3 Use the -fvisibility checks properly; needed to move ac_prog_cc and _cxx up in the file.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10246 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-08-22 19:44:27 +00:00
Lauri Kasanen
7944cc9a57 Revert 10243, it broke the build for others.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10245 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-08-22 17:26:28 +00:00
Lauri Kasanen
1af2035e91 Check for compiler support of -fvisibility and -fvisibility-inlines-hidden
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10243 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-08-22 11:33:36 +00:00
Lauri Kasanen
5613941a28 Include Xft results in fltk-config CFLAGS. STR #2893
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10238 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-08-21 13:25:55 +00:00
Lauri Kasanen
64dd5df141 Enable symbol visibility on Linux, bringing a shared libfltk on par with Windows.
Also drops the size of libfltk.so nicely.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10236 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-08-21 12:29:48 +00:00
Lauri Kasanen
3113727cc9 Use symbolic and sectioned builds if supported by the toolchain.
These help both shared lib size, as well as app size when statically linking. STR #3097


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10230 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-08-21 12:08:02 +00:00
Pierre Ossman
332dc1b7ac Add method to set any custom cursor, based on a Fl_RGB_Image object.
Also change our fallback cursors to use this method, so that fallback
cursors are handled in a platform independent manner. STR #2660.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10196 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-06-16 11:17:57 +00:00
Pierre Ossman
e1df29b852 Stop relying on uname and instead ask autoconf what platform
we are building for. This makes cross compiling things a lot
easier.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9990 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-09-24 09:10:04 +00:00
Pierre Ossman
1d6cc80d59 STR 2636. Add ability to get notifications whenever the
clipboard changes.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9974 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-09-11 12:54:40 +00:00
Albrecht Schlosser
e9767cce34 Removed autoconf/configure and CMake tests and defines for
unused function strtoll() [resolves one part of STR #2965].


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9923 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-05-22 10:40:58 +00:00
Ian MacArthur
f37c9a1b6f Doh! Forgot to bump the copyright year...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9797 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-01-16 12:50:29 +00:00
Ian MacArthur
f40aece7ee I just noticed that when 1.3.2 was released, the FL_PATCH_VERSION in configure.in was left at 1 rather than being bumped to 2.
Though the FL_PATCH_VERSION in Enumerations.H seems to be fine, I think.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9796 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-01-16 12:48:29 +00:00
Matthias Melcher
8701434312 Upgrade version number to 1.3.1
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9707 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-11-06 21:13:54 +00:00
Fabien Costantini
822bc272fc Fixed linux 64 gcc 4.6.1 compilation problems
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9373 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-04-22 02:45:09 +00:00
Albrecht Schlosser
91ce609fc7 simplify MinGW install directory check.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9328 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-04-07 11:56:09 +00:00
Manolo Gouy
f309c395fc STR#2600 again: under X11, dynamically load the libXrandr shared library.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9123 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-10-04 09:21:47 +00:00
Manolo Gouy
9bdc310346 Fix STR#2600 : screens configuration changes are now detected under all platforms.
Requires the RandR X extension.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9102 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-09-30 14:46:08 +00:00
Greg Ercolano
4f4a8fc3c7 Modifications to all LGPL headers for STR #2685.
(to clarify static exception LGPL by changing license references)



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8864 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-07-19 04:49:30 +00:00
Manolo Gouy
937ddb60c1 Fix STR #2582 (Mac OS): The problem: under Mac OS, file config.h can be used with distinct
architectures when using configure --with-archflags option, thus file config.h should not contain
architecture-dependent definitions.
The fix: 1) don't use autoconf's endianness determination procedure because it can't give a result
that fits both big and little endian architectures.
2) have config.h include a mac-specific file under Mac OS.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8511 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-03-06 16:54:58 +00:00
Manolo Gouy
60bb67ba0e Fix the #define U64 part of STR #2582: don't define it for Mac OS because its value
varies with architecture.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8501 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-03-03 12:10:43 +00:00
Manolo Gouy
b693eac483 Fix STR #2516: under MSys, the FLTK_DOCDIR config.h variable did not allow
fluid to find its help files even if they are correctly installed.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8474 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-02-25 22:19:09 +00:00
Manolo Gouy
8d9f90e416 Mac OS only: Added the architecture flags to the dynamic library-creating command
in configure.in. Also, applied suggestion in "Fixing configure.in for OSX universal builds"
from the fltk.development forum that architecture flags are not transmitted from
configure to the fltk-config script. This brings 2 benefits:
- A universal library can be prepared, and then used to build applications of any sort
of architectures.
- Makefiles using non-Apple compilers that don't know the -arch option can call fltk-config.
This new behavior in now made clear in file README.OSX.txt.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8469 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-02-24 10:27:33 +00:00
Albrecht Schlosser
eb0b154ffd Fix for STR #2313 (SunOS scandir exception) and avoid double check of
scandir() if the POSIX compatible header was found.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8436 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-02-16 12:33:56 +00:00
Albrecht Schlosser
884aba6086 Fix threads configuration on Windows (Cygwin/MinGW), so that we don't
try to find libpthread, unless we use Cygwin with the Cygwin dll,
since Windows always uses native threads.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8422 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-02-14 18:11:15 +00:00
Albrecht Schlosser
97bafa2e04 More cross-compiling features in configure: using AC_PATH_TOOL instead of
AC_PATH_PROG for ar and windres to get the cross-tools' paths.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8397 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-02-07 14:30:30 +00:00
Albrecht Schlosser
84d0db1318 Removed superfluous -mno-cygwin from MinGW builds and corrected spelling
of "MinGW" and "Cygwin", where appropriate.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8391 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-02-06 14:46:40 +00:00
yuri
1b146a4837 wix find windress when using crosscompiler
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8303 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-23 11:14:21 +00:00
Manolo Gouy
bc509d32eb Fix STR #2504 (first part). Replaced HAVE _CAIRO by FLTK_HAVE_CAIRO and USE_CAIRO
by FLTK_USE_CAIRO everywhere.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8198 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-06 10:24:58 +00:00
Manolo Gouy
874bca74f5 Mac OS X: removed all uses of Carbon (except for older OS versions) and re-organized
text input around the NSTextInput protocol.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8173 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-03 16:50:34 +00:00
Albrecht Schlosser
c4be7d9cd7 Changed default for configure option --with-links for common misspellings
on case sensitive file systems like Unix/Linux, as discussed some time ago.
The new default is --without-links.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8141 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-30 15:05:53 +00:00
Manolo Gouy
dbb7be0fee Mac OS X: removed dependency from AudioToolbox.framework by calling NSBeep() from Cocoa.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8135 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-29 11:33:42 +00:00
Manolo Gouy
f3c7efc8d2 The 3 objective-c++ files used for the Mac OS X support are no longer included
by other files but added to the list of source files to be compiled
for Mac OS X only. Support files for autoconf/configure/make, CMake and Xcode
are also modified accordingly.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8049 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-17 10:43:41 +00:00
Albrecht Schlosser
e1cff96f1f Added Windows Resource Compiler ("RC") to configure/makeinclude for
easier cross-compiling (not yet fully supported).


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7973 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-08 09:48:07 +00:00
Greg Ercolano
4327734e69 More copyright 2010 mods.
Used: vi `grep -r 'Copyright .*Spitzak' . | grep -v 2010 | grep -v '/\.svn' | cut -d: -f1`


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7913 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-29 18:18:27 +00:00
Manolo Gouy
f4fc4241b7 STR #2155: fixed using sparkaround's patch conditional to use of configure --enable-cp936
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7902 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-28 18:55:50 +00:00
Manolo Gouy
037519a9b8 added possible Mac OS X --with-archflags values in help text.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7871 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-18 14:41:42 +00:00
Manolo Gouy
e002042fd9 Mac OS X: compile with default architecture (i386 on 10.5, x86_64 on 10.6) and allow
alternative architecture running configure with option --with-archflags="-arch xxx"

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7870 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-18 13:23:52 +00:00
Manolo Gouy
db6ca980af Fixed ./configure --enable-shared=yes on Mac OS X 10.6
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7869 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-17 18:31:50 +00:00
Matthias Melcher
eca6b3fd9f Library directory prefix for 64 bit builds
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7865 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-17 11:13:57 +00:00
Albrecht Schlosser
6710c83508 Fixed configure script portability problem (STR #2379)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7648 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-06-18 10:11:09 +00:00
Greg Ercolano
4fd11eba88 Changed references to fltk-bugs@fltk.org -> STR form.
Todo: LGPL license file references (COPYING, license.dox, etc)



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7563 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-28 03:15:47 +00:00
yuri
5bc66fafc3 fix mingw32 crosscompilation under linux - select correct WIN32 GUI
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7254 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-13 21:51:52 +00:00
Matthias Melcher
5c0f4f62f1 Added Audio Tools to link line to support currect version of alert sound.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7240 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-10 22:37:22 +00:00
Matthias Melcher
b2cffc688e Moved OS X code base to the more moder Cocoa toolkit thanks to the awesome work of Manolo Gouy (STR #2221). This is a big one! I tested all test applications under 32-bit autoconf and Xcode, and a few apps under 64bit intel. No PPC testing was done. Please verify this patch if you have the machine!
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6951 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-12-06 22:21:55 +00:00
Matthias Melcher
d5b5659dbc Fixed the OS X Snow Leopard patch which would fail for versions greate 10.6 (10.6.1, for example)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6883 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-09-19 07:37:38 +00:00