Commit Graph

6185 Commits

Author SHA1 Message Date
Albrecht Schlosser
579783def0 Fix doxygen docs of previous commit.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10675 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-04-04 16:51:37 +00:00
Albrecht Schlosser
36385a4b56 Add Fl::abi_check() method to test if the runtime ABI version is correct.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10674 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-04-04 16:21:52 +00:00
Albrecht Schlosser
94ddbc1995 Add FL_ABI_VERSION, FL_API_VERSION, Fl::abi_version(), and Fl::api_version().
The new constants are the API and ABI versions in int format, resp.
The new static methods return the compiled-in API and ABI versions, resp.

FLTK_ABI_VERSION is deprecated, but still defined (same as FL_ABI_VERSION).


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10673 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-04-04 15:36:04 +00:00
Matthias Melcher
c4b0a2f3bf Tricking Fl_Text_Display into using bearable colors for CodeView in Fluid.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10672 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-04-04 15:06:30 +00:00
Matthias Melcher
326b64d278 STR #3184: fixed code editor in Fluid to check the previous line for a block comment style in the last character. If so, the previous line is include in the calculation of the current line. This seems to fix issues when changing the block-comment character combination '*/' by deleting a character or adding one in the middle.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10671 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-04-04 11:17:38 +00:00
Albrecht Schlosser
f05b677a4b Fix Windows 64-bit compilation warnings (STR #2813).
Thanks to Csaba for providing a patch.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10670 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-04-04 09:52:53 +00:00
Albrecht Schlosser
33f61316fc Fix typo.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10669 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-04-03 19:39:45 +00:00
Albrecht Schlosser
d6bcdbe375 Remove useless cast that would break Windows 64-bit compilation.
This cast broke Windows 64-bit compilation with a hard error.
$ x86_64-w64-mingw32-g++ --version
x86_64-w64-mingw32-g++ (GCC) 4.8.3
Error message:
widget_panel.cxx:82:41: error: cast from ‘void*’ to ‘long int’ loses precision [-fpermissive]
 wCallback->do_callback(wCallback, (long)v);
                                         ^


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10668 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-04-03 16:15:14 +00:00
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