Commit Graph

6127 Commits

Author SHA1 Message Date
Albrecht Schlosser
c8cacb7677 Fix more compiler warnings in test/*.cxx (STR #2813).
Thanks to Csaba for the patch.
Also fixed copyright and a few indenting issues.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10667 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-04-03 12:31:58 +00:00
Albrecht Schlosser
e27102b0e9 Fix compiler warnings in test/forms.cxx and more (inspired by STR #2813).
This update ought to fix the compiler warnings (tested only under Linux)
mentioned in STR #2813. The patch is very different though (more radical).

Also removed unused code, fixed copyright and trailing white space.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10666 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-04-03 12:18:31 +00:00
Albrecht Schlosser
762df84207 Fix copyright and remove obsolete comment.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10665 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-04-03 11:04:43 +00:00
Albrecht Schlosser
e11571a373 Fix compiler warning on Windows 64-bit (STR #2813).
Thanks to Csaba for finding this and providing a patch.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10664 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-04-03 10:57:33 +00:00
Albrecht Schlosser
3bbfe90dd2 Fix compiler warning (another part of STR #2813).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10663 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-04-03 10:45:42 +00:00
Albrecht Schlosser
4b97d6cbf1 Fix uninitialized variable compiler warning (part of STR #2813).
Thanks to Csaba for finding this and providing a patch.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10662 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-04-03 10:33:37 +00:00
Albrecht Schlosser
50c963de12 Add missing cast (part of patch for STR #2813).
Thanks to Csaba for finding this and providing a patch.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10661 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-04-03 10:22:58 +00:00
Manolo Gouy
38a0ebd38f Restore compilability with old SDKs after commit of support for zoom gesture.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10660 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-04-03 05:31:01 +00:00
Matthias Melcher
d5a8755ead Added comments to Fluid Widgets. The comment field is between the Additional Code and Callback field on the C++ Tab of the Widget Editor. Care was taken to correctly resize.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10659 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-04-02 17:19:33 +00:00
Matthias Melcher
552502d44a Fixed the Tab order in Fluid dialogs that contain a comment field. The comment field can no longer have tabs in it anymore (hey, it's either that or the other, right?). But I believe that this is a limitation that the user can easily live with. It's just comments, not code.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10658 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-04-02 14:08:18 +00:00
Matthias Melcher
61a7bf60f9 Finally fixed the order of arrow and icon in the Type browser in Fluid.
Boy, this has been bothering me since the early eighties (or whenever
I checked that in first). Sorry that it took me a little while.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10657 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-04-01 15:33:44 +00:00
Matthias Melcher
d44b518c07 Added FL_ZOOM_GESTURE gesture for OS X.
Sadly, I have not commited any code in years, and despite the rumour that
I was hit by a train, or worse, move on to Qt, here I am, commmiting unwanted
code. Hopefully there are equivalents for this on other platforms?!


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10656 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-04-01 15:32:06 +00:00
Albrecht Schlosser
b712d85d28 Fix two Linux (gcc/g++) compilation warnings.
warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’,
declared with attribute warn_unused_result [-Wunused-result]


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10655 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-03-30 11:42:29 +00:00
Albrecht Schlosser
b4a0961b88 Update dependencies.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10654 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-03-28 11:35:35 +00:00
Albrecht Schlosser
f41be78153 Rename confusing configure and Makefile (makeinclude) variable.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10653 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-03-25 20:06:54 +00:00
Albrecht Schlosser
b762768cff Fix compilation with FLTK_ABI_VERSION == 10301 and 10302.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10652 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-03-25 19:15:19 +00:00
Manolo Gouy
6ea2b8baea More detailed documentation about drawing to other surfaces than the computer display.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10651 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-03-24 14:20:38 +00:00
Manolo Gouy
54773419f9 Changed Xcode-related date.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10650 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-03-22 07:38:05 +00:00
Manolo Gouy
20e67cd128 Changed eol-style.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10649 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-03-22 07:35:06 +00:00
Manolo Gouy
15c37362e7 Updated Xcode-related info.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10648 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-03-22 07:29:07 +00:00
Manolo Gouy
d4867caf80 Fix STR #3176: possible bad border effect when a set of radio menu items is located first in its menu.
Fl_Menu_Item::set_only() is deprecated and replaced by Fl_Menu_::set_only(Fl_Menu_item*).


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10647 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-03-22 07:08:04 +00:00
Albrecht Schlosser
78852b1724 Documentation: Update ide/README.IDE
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10646 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-03-21 16:57:35 +00:00
Manolo Gouy
e6b51bc3c9 BSD-style printing: remove spaces after -P and -# options.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10645 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-03-21 08:45:42 +00:00
Albrecht Schlosser
9451f0b888 Documentation: Clarify Fl_Menu_Item::size() docs.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10644 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-03-20 17:17:27 +00:00
Albrecht Schlosser
b89035f360 Add new animated demo to CMakeLists.txt, update .gitignore and svn props.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10643 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-03-18 13:31:59 +00:00
Manolo Gouy
58c787bf91 Detailed how to build the configure script when downloading FLTK by svn.
Great help from Greg's post about installing autoconf + automake on Mac OS.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10642 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-03-18 12:49:18 +00:00
Manolo Gouy
53cbe2407e Removed -arch ppc that no longer works with new Apple compilers.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10641 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-03-18 12:03:08 +00:00
Manolo Gouy
1a820df25f Reflect in README.OSX.txt the removal of the Xcode project. A single Xcode project is now used.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10640 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-03-18 11:51:54 +00:00
Manolo Gouy
b055364dd0 Used by the animated demo.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10639 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-03-18 11:35:28 +00:00
Manolo Gouy
982121f807 Added the new 'animated' test program.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10638 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-03-18 11:32:42 +00:00
Manolo Gouy
e4531949ab Fixed a series of warnings when building with Xcode on Mac OS.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10637 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-03-18 10:28:13 +00:00
Manolo Gouy
7a7046e4f2 Added the new animated test program. Removed references to the AGL framework.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10636 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-03-18 10:14:35 +00:00
Albrecht Schlosser
bbdfa06f78 Clarify documentation of Fl_Window::wait_for_expose().
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10635 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-03-17 16:13:52 +00:00
Albrecht Schlosser
ae4b51b970 Remove obsolete watcom makefiles.
These makefiles included '../watcom.mif' which had already been removed
and they had not been updated anyway.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10634 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-03-17 14:53:09 +00:00
Albrecht Schlosser
913bae54e5 Fix zlib compilation warnings under OS X and maybe Unix/Linux.
This was a regression because of an oversight when upgrading the bundled
libs. Reported by Manolo, fix confirmed by Kevin in fltk.coredev.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10633 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-03-17 13:52:57 +00:00
Lauri Kasanen
0eaa71e033 Mark the picture formats static, they don't change
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10632 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-03-17 09:00:50 +00:00
Lauri Kasanen
966e553eba Fix a failure in the U64 optimized argb path.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10631 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-03-16 18:36:01 +00:00
Lauri Kasanen
70d6d20e11 Add a test program to benchmark alpha blending.
The new XRender code uses 21 times less cpu than the old
read-back-and-manually-blend option. The blending is also
GPU-accelerated where possible, but works in software on
vesa/fb drivers.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10630 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-03-16 18:23:59 +00:00
Lauri Kasanen
854c5ebd76 Correct HAVE_XRENDER preprocessor checks.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10629 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-03-16 18:16:27 +00:00
Lauri Kasanen
c91e48149b Add support for accelerated alpha blending under X11.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10628 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-03-16 18:12:28 +00:00
Albrecht Schlosser
4798d70ded Update copyright (year) in generated fluid files.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10627 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-03-16 18:03:16 +00:00
Albrecht Schlosser
463eb3a181 Update bundled libjpeg from jpeg-8c to jpeg-9a.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10626 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-03-16 16:57:13 +00:00
Albrecht Schlosser
992192dd02 Update bundled libpng from version 1.5.10 to 1.6.16.
libpng 1.6.16 is the current stable version, 1.6.17 is in development (rc..).


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10625 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-03-16 16:47:32 +00:00
Albrecht Schlosser
ed339a8b35 Update bundled zlib from 1.2.5 to 1.2.8 (latest version as of Mar 12, 2015).
Source: http://zlib.net/
  Current release: zlib 1.2.8 April 28, 2013.

  Update note: not all files included in zlib are also included in FLTK's
  zlib version. However, there are only two files that are different from
  the original zlib versions:

  - zlib/CMakeLists.txt
  - zlib/Makefile


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10624 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-03-16 16:32:23 +00:00
Manolo Gouy
251a6e2fdb Allow compilation when HAVE_XRENDER is undefined or 0
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10623 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-03-16 15:17:49 +00:00
Lauri Kasanen
a6c4b29a18 Detect XRender support
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10622 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-03-16 11:07:00 +00:00
Albrecht Schlosser
fdab34b20e Fix 'boolean' issue with jpeg-9 library compatibility (STR #2920).
According to comments in STR #2920 and my own tests this is also
compatible with older jpeg libraries (at least jpeg-8).


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10621 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-03-15 19:32:33 +00:00
Manolo Gouy
066f718674 Mentioned Fl_Shared_Image::scale() and BSD-style printing.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10620 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-03-12 15:33:30 +00:00
Manolo Gouy
2b952dda54 Linux/unix: added support for BSD-style printing, that is, using lpq/lpr instead of lpstat/lp .
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10619 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-03-12 15:24:15 +00:00
Manolo Gouy
1c3163f206 More detailed Doxygen doc of Fl_Shared_Image::scale() and Fl_Image::draw(X,Y,W,H,cx,cy).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10618 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-03-12 08:59:14 +00:00