Commit Graph

857 Commits

Author SHA1 Message Date
Manolo Gouy 86e48ce2ca configure build and Mac platform: make the colbrowser and help demo find their data file
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11928 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-09-07 16:05:55 +00:00
Greg Ercolano 832e117f81 Bringing over fix [r11924] from 1.3 current to the porting branch.
Help text typo



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11925 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-09-05 19:31:13 +00:00
Greg Ercolano f20152e5f2 Bringing over fix [r11919] from 1.3 current to the porting branch.
Added "Filter" field to test filter strings.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11921 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-09-05 16:56:10 +00:00
Manolo Gouy 36717ec845 Output also a bundled version of demo, as done for all other test apps under Mac OS platform.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11915 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-09-01 19:41:26 +00:00
Manolo Gouy 89954986bb Remove another instance of the USING_XCODE preprocessor variable
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11912 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-08-31 17:01:27 +00:00
Manolo Gouy e5486b24d1 Fix Mac OS launching of the browser test program.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11911 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-08-31 16:59:22 +00:00
Manolo Gouy b1e25e4838 Remove one instance of the USING_XCODE preprocessor variable that is not necessary.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11910 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-08-31 16:14:39 +00:00
Manolo Gouy 4d55e204f8 Remove the USING_XCODE preprocessor variable that became useless
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11909 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-08-31 16:12:28 +00:00
Albrecht Schlosser 17b9f6d6cb Fix compiler warnings (gcc 6.1).
Some of these warnings were benign (code formatting), but one of them
showed a potential bug (zero divide in test/fraciewer.cxx).

Fixed warnings:

 1 this 'while' clause does not guard... [-Wmisleading-indentation]
 1 this 'for' clause does not guard... [-Wmisleading-indentation]
 1 this 'else' clause does not guard... [-Wmisleading-indentation]



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11850 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-07-29 09:24:04 +00:00
Greg Ercolano e92fa6914b Bringing over fix [r11840] from 1.3 current to the porting branch.
Solves STR#3294; added methods to let user set the userdeicon,
and removed the performance degrading automatic deicon creation.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11841 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-07-21 00:51:14 +00:00
Greg Ercolano ec4120795d Removed ABI guards that snuck in with r11819.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11822 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-07-19 23:19:16 +00:00
Manolo Gouy 984fcbaefc Add dots-per-inch info to the screen data displayed by the fullscreen demo.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11796 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-06-22 08:36:48 +00:00
Albrecht Schlosser c8155bc7d1 Remove unnecessary #include statement.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11782 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-06-14 11:15:22 +00:00
Albrecht Schlosser ace85426bc [CMake] Improve sound support detection.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11781 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-06-14 11:00:29 +00:00
Manolo Gouy cba54044a7 Fix building on FreeBSD that failed for test programs requiring audio output.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11769 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-06-07 10:39:15 +00:00
Albrecht Schlosser 241634c2b6 remove duplicate '†'
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11753 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-05-23 10:48:59 +00:00
Albrecht Schlosser cea813e6ee Add another special test case "†" for Fl_Help_View.
Note: † = &#x2020 = U+2020, i.e. 0x2020 & 255 = 0x20 = ' ' (space).


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11750 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-05-23 10:31:00 +00:00
Albrecht Schlosser 495d15cf7a Add HTML entity tests to test/help-test.html.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11744 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-05-17 16:10:12 +00:00
Manolo Gouy a6b31a05af CMake on Mac OS: copy support files to application bundles.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11740 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-05-15 14:07:48 +00:00
Manolo Gouy c68d4d52d8 Fix colbrowser.cxx for __APPLE__
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11739 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-05-15 14:06:01 +00:00
Manolo Gouy e3d96c1bcf Simpler test/help.cxx under Mac OS X
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11738 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-05-15 13:52:17 +00:00
Albrecht Schlosser 3db259007a Fix typo in html file test/help-test.html
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11735 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-05-13 13:02:39 +00:00
Albrecht Schlosser 2dacc9a1db Fix documentation of Fl_Tile (STR #3303).
Clarify that the resizable() box should be the first child to ensure
correct event delivery to children.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11727 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-05-09 11:29:59 +00:00
Manolo Gouy f4ec7192a9 Add tests to avoid null pointer errors
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11703 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-27 16:42:20 +00:00
Manolo Gouy ae23f0cb5e Progress toward support of CMake OPTION_APPLE_SDL
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11673 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-20 04:49:36 +00:00
Matthias Melcher acba16a38f Pico can draw lines rectf and arcs, so the top level driver does not have to
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11621 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-15 21:26:13 +00:00
Manolo Gouy a1de05784b Fix position in window of string "Line styles".
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11611 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-15 08:06:47 +00:00
Albrecht Schlosser 7e04657ce7 Remove obsolete EMX (DOS, OS/2 extender) support.
This commit changes all files except src/Fl_File_Chooser2.cxx.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11590 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-12 17:53:18 +00:00
Albrecht Schlosser d98a8e13e6 Fix compiler warning when compiled with USING_XCODE [-fpermissive].
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11561 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-09 12:37:44 +00:00
Albrecht Schlosser 020a96b4a8 Fix more compiler warnings.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11536 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-05 21:15:45 +00:00
Manolo Gouy a22791b691 Have the device demo operate also the Fl_PostScript_File_Device class.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11527 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-04 11:31:51 +00:00
Manolo Gouy ff0ec68023 Add necessary #include directive under Mac OS.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11429 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-03-26 11:38:38 +00:00
Albrecht Schlosser 29a9e89b39 Remove FLTK_ABI_VERSION from all but *tree*.* and documentation.
Everything related to Fl_Tree and its test and demo programs has been
cleaned.

Documentation needs updates.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11428 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-03-26 02:55:14 +00:00
Albrecht Schlosser 9de6339d81 Fix compiler warning.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11426 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-03-26 01:34:10 +00:00
Matthias Melcher 6955d5d082 Completed the vector font.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11424 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-03-25 23:10:15 +00:00
Manolo Gouy 6608db0b0c Rewrite Fl_Window::border(int) under the driver model.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11409 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-03-23 16:14:35 +00:00
Albrecht Schlosser 3d28ff46fb Update dependencies.
Note: the manually edited dep's have not been updated.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11385 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-03-19 22:23:34 +00:00
Manolo Gouy 459b0d1d07 Restore high resolution support.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11324 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-03-08 22:19:57 +00:00
Matthias Melcher 58eb525366 Compiling test/colbrowser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11319 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-03-08 15:49:45 +00:00
Albrecht Schlosser b4126742f2 Fix and simplify exe name handling in demo (Windows).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11294 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-03-05 14:40:49 +00:00
Albrecht Schlosser 3f401f4477 Add Ian's offscreen test program.
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-03-05 00:53:40 +00:00
Ian MacArthur 3c25a338c4 porting branch: Modify unittest_images.cxx to support "on the fly" update of the image test controls.
This builds on the mechanism that Albrecht added to test flipped and inverted image drawing, but allows the settings to be changed at runtime rather than at compile time as previously.

I'm commiting it here for testing use in the porting branch, but I'm not happy I've really tested it enough yet so reluctant to commit it in the main fltk-1.3.x branch until this code has been reviewed and tested by others.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11281 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-03-04 13:11:05 +00:00
Matthias Melcher fcdc7f1212 Made Pico/SDL setup compile and run some minimal code.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11274 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-03-03 00:07:17 +00:00
Albrecht Schlosser 5a8f3f908b Enable negative 'd' and 'ld' arguments in fl_draw_image() test.
This commit defines additional preprocessor macros to enable testing
negative d and ld arguments of fl_draw_image(). Documentation (test
scenario) has also been improved.

Same commit as in branch-1.3, svn r11269.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11271 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-03-02 15:52:29 +00:00
Matthias Melcher 53859c584f Add support for SDL as a base library on OS X.
This commit adds the basic setup in CMake to allow SDL as a base
library for FLTK on OS X (and probably for other platforms as well).

The SDL library driver set is derived from yet another new driver
set named 'Pico'. 'Pico' is a base class for a driver that will
allow porting of FLTK with the tinyest amount of effort. This 
implementation of the SDL driver shall be documented very well
to explain the porting process.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11262 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-03-02 00:54:37 +00:00
Albrecht Schlosser d67e9ccb73 Fix compiler warnings (STR #2988) - final commit.
This commit includes all fixes from branch-1.3 (svn r 11243) and additional
fixes for warnings that crept in during the porting efforts, particularly
C++ ("//") comments in C and included header files, and some more.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11246 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-02-27 17:27:21 +00:00
Manolo Gouy 0b406baa0f Rewrite all fl_XXX_offscreen() functions so they use an Fl_Image_Surface object.
These functions become therefore platform-independent.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11241 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-02-27 13:52:27 +00:00
Albrecht Schlosser 425867ad2a Update dependencies.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11238 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-02-27 01:26:10 +00:00
Albrecht Schlosser e1f5f5f7ec Update dependencies.
Note: we should really get rid of that!


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11219 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-02-26 11:17:48 +00:00
Manolo Gouy 14759eb387 Mac OS platform: make fl_draw_image() draw correctly depth-4 images with transparent areas.
This simplifies the drawing of Fl_Pixmap's.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11214 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-02-25 07:01:10 +00:00