Commit Graph

23 Commits

Author SHA1 Message Date
Albrecht Schlosser
0a6be0a83f Fix compiler warnings (STR 2988), porting from branch-1.3.
This commit is the accumulated patch introduced in branch 1.3
in svn r 11094, 11095, and 11096.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11097 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-01-31 04:33:54 +00:00
Albrecht Schlosser
449e15ecee Add copyright comments, improve comments, don't set FL_ABI_VERSION.
FL_ABI_VERSION should not be set in the IDE projects to avoid having to
update the version numbers for each release.

The default is used if FL_ABI_VERSION is not defined.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10788 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-07-13 18:17:33 +00:00
Albrecht Schlosser
9adb181156 Make FL_ABI_VERSION configurable (STR #3161).
This commit adds the configure option --with-abiversion and the CMake option
OPTION_ABI_VERSION. Both options can be set e.g. to 10304 to build with
FL_ABI_VERSION = 10304 (FLTK 1.3.4).

For IDE builds there are new files ide/<IDE-NAME>/FL/abi-version.h that
can be edited to change the ABI version before the FLTK lib is built.
Note that this file MUST be copied to the include/FL directory if the
IDE-built library is to be installed.

The default is FL_ABI_VERSION = FL_MAJOR*10000 + FL_MINOR*100 + 0, i.e.
10300 for all FLTK 1.3.x versions to keep binary compatibility (ABI).

Todo: more tests and more documentation.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10786 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-07-12 19:23:55 +00:00
Albrecht Schlosser
3e1da3012a Remove Fl::*sleep() method family, as discussed in fltk.coredev.
Hopefully this doesn't break Windows or Mac OX IDE builds, please help
testing.

Short story: these functions showed compatibility problems, lacked some
quality (regarding interruption by signals), and maybe more.

This is a combined commit that reverts three (3) svn commits. The following
lists are extracted from git, but show the svn revisions and files:

    Remove Fl::*sleep() family, part 1: revert svn r 10287.

:100644 100644 a988702... 794920f... M	ide/Xcode4/FLTK.xcodeproj/project.pbxproj

    Remove Fl::*sleep() family, part 2: revert svn r 10151.

:100644 100644 cf839e6... bfde9c4... M	ide/Xcode3/FLTK.xcodeproj/project.pbxproj
:100644 100644 794920f... c0c772a... M	ide/Xcode4/FLTK.xcodeproj/project.pbxproj

    Remove Fl::*sleep() family, part 2b: revert svn r 10151 (continued).

:100644 100644 bfde9c4... abf2922... M	ide/Xcode3/FLTK.xcodeproj/project.pbxproj

    Remove Fl::*sleep() family, part 3: revert svn r 10150.

:100644 100644 b469018... e76a3e5... M	FL/Fl.H
:100644 100644 7bb7899... 4d4755d... M	ide/VisualC2008/fltk.lib.vcproj
:100644 100644 9d9a2cf... 334aef8... M	ide/VisualC2008/fltkdll.vcproj
:100644 100644 5533a54... e30058b... M	ide/VisualC2010/fltk.lib.vcxproj
:100644 100644 e49f691... 1259c87... M	ide/VisualC2010/fltk.lib.vcxproj.filters
:100644 100644 946f31a... d53ab80... M	src/CMakeLists.txt
:100644 000000 fed36fd... 0000000... D	src/Fl_sleep.cxx
:100644 100644 3d9656c... 3b265f9... M	src/Makefile
:100644 100644 6eadbcb... 5dd5872... M	test/sudoku.cxx


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10419 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-10-30 16:05:22 +00:00
Manolo Gouy
82960c272b Replaced Fl_Shaped_Window.cxx by Fl_Window_shape.cxx in VisualC files.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10326 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-21 14:38:10 +00:00
Manolo Gouy
4f2790d793 Add Fl_PostScript.cxx to list of files compiled in libfltk for VisualC projects.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10292 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-08 16:16:58 +00:00
Manolo Gouy
8997131377 Added the Fl_Shaped_Window class to support windows of arbitrary shapes.
The new class is fully Doxygen-documented.
Added an example program (example/shapedwindow.cxx) that exercises the new class.
Modified all IDE-supporting files accordingly.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10255 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-08-27 11:55:57 +00:00
Manolo Gouy
9c6006ac6f Added new source files Fl_Copy_Surface.cxx & Fl_Image_Surface.cxx to visualC2008
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10168 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-05-24 14:28:06 +00:00
Fabien Costantini
54b0123eab Added a new portable sleep API(ABI compatible). Now features a flexible multi-usage sleep() api accepting decimals, msleep() for millisecs only, usleep() for microsecs. Updated Makefiles, cmakefiles, vs2008, vs2010 with the new Fl_sleep add-on. Documented new API. still needs to be added in Xcode.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10150 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-05-21 04:10:12 +00:00
Greg Ercolano
c5d5ba1cf5 Applying the etorres gleam patch. STR #2672.
TODO: Xcode 4 ide needs fl_gleam.cxx added
      Test of Visual Studio IDE mods (which were hand-modified)



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10113 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-02-25 04:24:41 +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
Albrecht Schlosser
8c6864adea Fixed silly missing dependencies that prevented successful fltkdll builds
with VisualC2008. Works w/o errors and warnings for Release build, but
issues lots of warnings about "missing debug info for referencing module"
for Debug build (I have no idea how to solve these). Anyway, everything
builds "successful" now.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8760 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-05-30 12:56:02 +00:00
Albrecht Schlosser
fa731c806c ide/VisualC2008:
Fixed unittests(d).exe name (was: unittest(d).exe).
  Added missing custom build rule to tree.fl in Release mode.
  Fixed fluid dependency (removed fltkdll), since this made fluid.exe build
  with fltkdll.dll (strange, the same config works in VisualC2010).


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8716 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-05-22 17:33:03 +00:00
Albrecht Schlosser
c4099faffe Updated VisualC2008 project files:
- new and deleted files in zlib 1.2.5
 - added missing dependency: tree -> fluid


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8514 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-03-11 00:14:29 +00:00
Michael R Sweet
1216e9530f Update JPEG library to v8b.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8425 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-02-15 15:25:53 +00:00
Albrecht Schlosser
0eec2893a1 Updated VisualC2008 and VisualC2010 project files to define FL_LIBRARY in
non-dll builds. Also changed some dependencies to get correct build order.
To Do: VisualC2008 doesn't create the .cxx and .h files with fluid from
.fl files correctly (VisualC2010 does, but maybe except test/tree.cxx).


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8293 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-20 00:37:18 +00:00
Manolo Gouy
0e066f5511 Fix STR #2504 (last 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@8200 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-06 10:27:18 +00:00
Manolo Gouy
0300ea28e7 Fix STR #2504 (2nd 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@8199 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-06 10:26:25 +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
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
Matthias Melcher
a0d364d760 Added unittests test program to both VisualC solutions (2008 and 2010)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7842 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-15 17:18:33 +00:00
Matthias Melcher
a1d5bf784c Added two missing projects to VC2008
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7755 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-10-26 20:25:57 +00:00
Matthias Melcher
4574a63b3e Adding IDE files specifically for Visual Studio 2008 on MSWindows. This is probably the most used IDE on that platform. I will port this to VisualStudio 2010 as well, just to make things complete.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7746 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-10-26 09:48:21 +00:00