summaryrefslogtreecommitdiff
path: root/test/Makefile
AgeCommit message (Collapse)Author
2022-02-06OpenGL implementation of all `fl_` "Drawing Fast Shapes" graphics calls (#385)Matthias Melcher
* Fix build system for unites, * Updated unittest to check OpenGL drawing. Making sure that OpenGL drawing is exactly the same as native drawing to make FLTK widget rendering look the same in GL windows. * Make OpenGL optional. * Implemented clipping in OpenGL * unites drawing fast shapes * Fixed CMake * Updating unittest. Added tests for fl_pi and fl_arc (int) Renamed tab to render complex shapes. * Improved OpenGL FLTK drawing emulation. * Fixed GTK ROUND DOWN BOX * Fixing Makefile for unittest * Correctly aligning OpenGL text. * Fixed text alignment in GL windows. Explained the "FLTK over GL " example in Cube. * Overlapping test. * Better GL graphics alignment. * Drawing the focus rect. * Adding Alpha Channel support for GL. * Added FLTK-on-GL documentation.
2021-11-18Reformat and move clipboard demo from examples to test folderAlbrecht Schlosser
The clipboard demo is more a test program than an example and very useful even if the examples are not built. Also update dependencies.
2021-11-08Add new resize examples to Makefile, update dependenciesAlbrecht Schlosser
2021-05-13Refactor macOS bundle generation to avoid "quarantine"Albrecht Schlosser
macOS Big Sur 11.3 introduced a new "security feature" such that app bundles created from existing bundle templates in downloaded files (tar distibutions, expanded) could no longer be executed without unsetting the "quarantine" attribute. This commit fixes this by creating all bundles from scratch. Known *workaround* for older tarballs and snapshots: $ xattr -d -r com.apple.quarantine xxx.app
2021-03-01Fix cairo build (autoconf + CMake) + README'sAlbrecht Schlosser
- rewrite to use pkg-config with both autoconf + CMake - remove hardcoded library names - fix build dependencies and search directories - remove or replace old and unused variables - update README files To be done: - implement fallback for autoconf/configure if pkg-config is missing - fix pango build (uses cairo internally)
2020-12-02Remove build-time warning.ManoloFLTK
The warning message was: Makefile:318: warning: ignoring prerequisites on suffix rule definition
2020-08-21Fix examples build (configure/make)Albrecht Schlosser
Fix more issues caused by moving fltk-versions from examples to test and adding examples to the CMake build process (gitlab-ci)
2020-07-20add resize examples as per STR3433Duncan Gibson
add example code for creating images for resize.dox based on Article #415: How does resizing work? https://www.fltk.org/articles.php?L415 see also https://www.fltk.org/str.php?L3433
2020-07-06Remove $Id$ tags, update URL's, and moreAlbrecht Schlosser
- remove obsolete svn '$Id$' tags from all source files - update .fl files and generated files accordingly - replace 'http://www.fltk.org' URL's with 'https://...' - replace bug report URL 'str.php' with 'bugs.php' - remove trailing whitespace - fix other whitespace errors flagged by Git - add and/or fix missing or wrong standard headers - convert tabs to spaces in all source files The only relevant code changes are in the fluid/ folder where some .fl files and other source files were used to generate the '$Id' headers and footers.
2020-06-29Move class Fl_SVG_File_Surface from libfltk to libfltk_images.ManoloFLTK
File examples/SVG_File_Surface.cxx is no longer useful because it was a very partial implementation of what is now class Fl_SVG_File_Surface.
2020-06-27Add classes Fl_SVG_File_Surface and Fl_EPS_File_Surface to draw to SVG and EPS.ManoloFLTK
Test programs device and pixmap_browser use these new classes. Class Fl_SVG_File_Surface can be optionally made non functional using the --disable-svg configure option or turning off OPTION_USE_SVG in CMake. Class Fl_EPS_File_Surface can be optionally made non functional using the --disable-print configure option or turning off OPTION_PRINT_SUPPORT in CMake.
2020-06-21Remove superfluous dependency on forms libraryAlbrecht Schlosser
Some of the test programs were linked with libfltk_forms which was unnecessary. The only one requiring this is the forms demo. [CMake] reordered linked FLTK libs in dependency order.
2020-06-13Update dependenciesAlbrecht Schlosser
Change sort order using -f (--ignore-case): fold lower case to upper case characters
2020-06-10Support cross-compilation with autotoolsAlbrecht Schlosser
We use the host system's `fluid` when cross-compiling. This must be executable as `fluid`, i.e. it must be in the PATH or otherwise defined, for instance as an alias.
2020-01-04Update test/Makefile for checkers build with fluidAlbrecht Schlosser
2019-06-22Update dependency systemAlbrecht Schlosser
Try to make `make depend' independent of locale.
2019-06-22Additional Makefile rules and source files for issue #29.Greg Ercolano
This adds source png and xcf files for checkers pieces. Also adds Makefile rules using xxd to convert .png -> .h as requested by Albrecht in issue #29, (hmm, no comment numbers github?)..message dated "June 22nd 2019 4:22am PDT".
2019-06-22Fix issue #29: Updated buggy/ugly checkers piece iconsGreg Ercolano
OP noticed our one-bit xbm images demonstrated an X11 driver bug on certain hardware. While it's good that our test programs show the bug (e.g. test/bitmap), it's bad that our games do. Removed the 16 xbm files used by checkers which simulated transparency with dithered images, and replaced with 4 "hexdump" png files that are cleaner/simpler looking for such lores pieces (46x46 pixels). Will follow up with a separate commit for the source .png and gimp .xcf file I used for making the pieces.
2019-03-28Update dependenciesAlbrecht Schlosser
Note: these dependencies are not complete and will likely never be because they depend on different configurations.
2019-02-09Remove duplicate source from Makefile (and sort it)Albrecht Schlosser
It's easier to notice duplicate files if they are sorted.
2019-01-18Sort makedepend files for better comparabilityAlbrecht Schlosser
The intention is to improve (and minimize) diffs when dependencies are changed and `make depend' is executed. (1) use `makedepend ... -w 20' (2) `sort -u' the resultant file with some more "magic". (1) makes sure that there is only one dependent file per line, (2) makes lines unique since `makedepend' can output one file many times which is redundant and makes diffs hard to read. This uses 'mv', 'grep', and 'sort' in all FLTK library Makefiles. Image libraries are intentionally left for a later update.
2019-01-18Fix dependencies (STR 3506)Albrecht Schlosser
test/fracviewer.cxx wouldn't be compiled if the ABI version was changed with configure and `make' was executed w/o `make clean'. Add 'fracviewer.cxx' to list of source files to fix this. Also add missing unittest_scrollbarsize.cxx to dependencies of unittests.o. Finally run `makedepend' to update dependencies. Note: cherry-picked from branch-1.3 and adjusted to fit master (1.4)
2018-12-09Fix MacOS-specific regression appeared with move to git when building test ↵ManoloFLTK
with configure. The svn contained empty directories, e.g., test/blocks.app/Contents/MacOS/ Git apparently can't store empty directories. The test/Makefile is modified to create these directories at build-time.
2017-10-17Added Fl_Simple_Terminal widget, and mods to test+example programs (STR #3411).Greg Ercolano
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12506 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-02-08Rename test/help demo program to test/help_dialog.Albrecht Schlosser
This change avoids a name conflict with CMake's auto-generated target 'help' for "Unix Makefiles", "Ninja", and supposedly other generators as well. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12171 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-09-07configure build and Mac platform: make the colbrowser and help demo find ↵Manolo Gouy
their data file git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11928 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-09-01Output also a bundled version of demo, as done for all other test apps under ↵Manolo Gouy
Mac OS platform. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11915 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-03-05Add Ian's offscreen test program.Albrecht Schlosser
Same commit as branch-1.3, svn r11287. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11288 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-02-02Stop using ide/Xcode4/plists/editor-Info.plist because ide will be removed.Manolo Gouy
This file is moved to the test/ directory. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11120 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-12-29Mac OS: Enhanced the application bundle for the editor demoManolo Gouy
so it is launchable by dropping any file on its icon. This is done both for the configure/make and the CMake build systems (the Xcode build system did that already). The editor demo is the only one calling fl_open_callback(). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10981 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-03-16Add a test program to benchmark alpha blending.Lauri Kasanen
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
2014-09-26Add Fl_Window::wait_for_expose() and test program (STR #3124).Albrecht Schlosser
Also modified .gitignore, svn-properties, Makefile and CMake-Files. Todo: test/twowin.cxx and test/windowfocus.cxx need to be added to ide files (MS VC++ and Xcode). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10339 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-05Add a two-window focus testLauri Kasanen
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10277 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-06-16Add ability to set custom icons for windows. STR #2816.Pierre Ossman
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10197 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-09-21Fixes STR# 2973: collection of Sun compiler fixes to Makefiles.Greg Ercolano
o Adds $(CXXFLAGS) to $(CXX) commands o Implements older, more backwards compatible Bourne shell test(1) syntax for equality tests (= vs ==) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9981 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-03-27Added unittest for checking symbol rendering and fl_measure() with symbols.Greg Ercolano
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9850 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-03-08Added schemes test to unittests app, to check fltk schemes for artifacts.Greg Ercolano
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9834 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-12-05MacOS: create a bundled version of all example programs with fltk-config --postManolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9736 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-07-19Modifications to all LGPL headers for STR #2685.Greg Ercolano
(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-02-06Removed uses of Fl_Native_File_Chooser_{MAC,WIN32}.H that no longer exist.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8389 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-22Added missing dependency on tree.fl, and extended target clean to deleteAlbrecht Schlosser
all fluid-generated .h files (as well as .cxx files). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8297 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-08Added Windows Resource Compiler ("RC") to configure/makeinclude forAlbrecht Schlosser
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-11-28Fixed even more Copyright to 2010. Probably still forgot some.Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7906 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-14Merge of branch-1.3-Fl_Printer, with the following main changes:Albrecht Schlosser
(1) adding Fl_Device class (and more) for device abstraction (2) adding Fl_Pinter class (and more) for printing support. Todo: Code cleanup, update dependencies, remove/replace test print window. I'm looking into converting the test window popup in a global shortcut that would pop up the print dialog now... git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7263 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-01-27makedepend updates for all source directories (except src/xutf8).Albrecht Schlosser
src/Makefile: adjusted WIN32 and Mac dependencies test/Makefile: dto. Todo: src/xutf8/makedepend needs to be checked. There are obviously functions and headers that are included in a platform dependent way. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7032 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-01-14I've tweaked the demo.menu to include Greg's new native file chooser test ↵Ian MacArthur
alongside the existing fltk file chooser test. Also, I've taken the liberty of making the native file chooser load the system icons by default (Greg had them not loaded by default, but I think it looks better with them...) and I have adjusted the Makefile accordingly to make the linked libraries match. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7000 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-01-13Added Fl_Native_File_Chooser widget (with manolo's cocoa mods) to FLTK.Greg Ercolano
* Source brought into CMP standards compliance * test program added (test/native-filechooser.cxx) * Tested with linux (Ubuntu8) and with OSX (cocoa and non-cocoa builds) TODO: * Needs doxygen docs from Greg's original HTML documentation * Needs mods to Windows build files * Needs mods to cmake, and other build files * Needs Manolo's latest mods (from STR #2298) mentioned on and after "02:05 Jan 13, 2010" git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6997 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-11-14Added Fl_Tree source code, demo files, and documentation. Thanks, Greg!Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6934 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-11-14Adding Gerg's Fl_Table widget to FLTK 1.3 with kind permission. ↵Matthias Melcher
Documentation not yet added Support for both Visual Studio IDE's not yet added. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6929 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-04-24add fl_draw(int angle, const char* ... functions for rotated text drawingyuri
STR#1840 closed, STR#207 not closed because non-xft functions not implemented drawing of N Utf8 characters need correction for rotated and not rotated fl_draw functions not solved! git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6779 ea41ed52-d2ee-0310-a9c1-e6b18d33e121