summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-01-03Added code to read GIF files from memory (GitHub issue #33, 2/2)Matthias Melcher
2020-01-03Added code to read BMP files from memory (GitHub issue #33, 1/2)Matthias Melcher
2020-01-03Fixed previous commit for MSWindows.MatthiasM
2020-01-03Linux build: typos and stupidities to prev. commitMatthiasWM
2020-01-03Linux/MSWindows: improved Fl_Preferences file path checkingMatthias Melcher
2020-01-03macOS: checking Fl_Preferences file path improvedMatthias Melcher
zlib: removed warning
2019-12-31Merge remote-tracking branch 'refs/remotes/origin/master'Matthias Melcher
2019-12-31Commented out some silly code in the preferences test.Matthias Melcher
2019-12-31Limiting file access for Fl_Preferences.Matthias Melcher
Added Fl_Preferences::file_access() and various flags that make it possible to limit or completely deny file access to the preferences system, either for the core library or for the application or both.
2019-12-30Small docs addition for issue#45.Greg Ercolano
2019-12-27Merge branch 'master' of https://github.com/fltk/fltkManoloFLTK
2019-12-27Have Fl_Pack::draw() call Fl_Group::init_sizes() on its parent group.ManoloFLTK
Fl_Pack::draw() sometimes resizes itself. This must be followed by a call to Fl_Group::init_sizes() as indicated in that function's doc: "If you rearrange the widgets in your group, call this method to register the new arrangement with the Fl_Group that contains them."
2019-12-26Fix rare early timeouts in Fl_Clock (STR 3516).Albrecht Schlosser
This is the main patch for Fl_Clock discussed in STR 3516. Although the root cause under Linux (in Fl::add_timeout()) has been fixed in a previous commit (35a3e7cc1) early timeouts may still occur, e.g. under Windows in a Virtualbox environment. This commit reverts bab61a93d and replaces it with the patch proposed by Manolo and further discussed in STR 3516.
2019-12-26Fix Fl::add_timeout() under Linux (STR 3516)Albrecht Schlosser
See comment 14 (excerpt): "The current implementation basically handles add_timeout() the same way as repeat_timeout(), i.e. add_timeout() *calls* repeat_timeout(). However, repeat_timeout() intentionally *corrects* the timeout value by the value found in the global variable 'missed_timeout_by' which is set when the timer expires, directly before the timer callback is called. This variable is never reset." This commit resets the variable as necessary in Fl::add_timeout().
2019-12-24Fluid needs to include text and binary files from within the .fl source ↵Matthias Melcher
directory. Fixed including binaries and text to use the same path as the source code. This is consistent with the way the file is selected in the corresponding dialog box. Since the old behavior was false, I don't think this will break any existing projects.
2019-12-23Merge remote-tracking branch 'refs/remotes/origin/master'Matthias Melcher
2019-12-23macOS: fixed all demo programs that need to access resourcesMatthias Melcher
MacOS uses bundles instead of executables. CMake creates those bundles in various locations, depending on the generator used (Xcode or Makefiles). I tried to fix all instances where demo apps did not find the resources they needed. This probably must be done for Linux and MSWindows as well.
2019-12-22Android Image driver was incomplete and did not compile.Matthias Melcher
2019-12-20Fix problems after closing full-screen windowManoloFLTK
macOS strangely sends NSViewFrameDidChangeNotification and a drawRect: message to its content view after having sent to the window the close message. That is apparently new in 10.15.2
2019-12-19Merge branch 'master' of https://github.com/fltk/fltkManoloFLTK
2019-12-19Fix support of screen scaling under macOSManoloFLTK
2019-12-09Fix Fl::add_timeout() in draw() under Linux (STR 3188)Albrecht Schlosser
Timeouts queued during Fl_Widget::draw() - called by Fl::flush() - would not be serviced unless other events were processed. For Details see STR 3188.
2019-11-21Improve Cairo demo programAlbrecht Schlosser
- remove unused variables - add comments - center drawn buttons - make text slightly smaller to fit into button - reorder button colors (r, g, b)
2019-11-09Undo commit b1bcd1f that was not necessary.ManoloFLTK
2019-11-08Safer control of memory allocation of aux_bitmap member of FLViewManoloFLTK
2019-11-08Don't use Fl::readqueue() in cube demoAlbrecht Schlosser
Usage of Fl::readqueue() is not recommended (should be deprecated?), hence we shouldn't use it in our demo program(s). To do: remove Fl::readqueue() usage from fluid.
2019-11-08Fix cube demo if OpenGL is not availableAlbrecht Schlosser
(1) Fix a compilation error (2) Fix high CPU usage
2019-11-08X11 + pango: Sort font names ignoring case.ManoloFLTK
2019-11-07Reorganise use of virtual member function Fl_Surface_Device::end_current()ManoloFLTK
2019-11-06Link Doxygen doc of Fl_Widget::label(text) to relevant part of FLTK ↵ManoloFLTK
programming manual.
2019-11-05Comments only: place new class Fl_GTK_Printer_Driver in the inheritance ↵ManoloFLTK
description.
2019-11-02Slightly simpler code to support fl_overlay_rect() on HighDPI screens.ManoloFLTK
2019-11-01Fix HiDPI support under X11 to read/draw RGB image from/to display.ManoloFLTK
2019-11-01Fix fl_overlay_rect() under X11 on HighDPI display.ManoloFLTK
The mandelbrot demo program is fixed.
2019-10-31Restore support of 'configure --enable-x11' with macOS 10.15 CatalinaManoloFLTK
2019-10-31Continue CMake support of the Darwin+XQuartz+fink test platformManoloFLTK
2019-10-30Merge remote-tracking branch 'refs/remotes/origin/master'ManoloFLTK
2019-10-30Restore CMake support of Darwin + XQuartz + fink test platformManoloFLTK
2019-10-30Fix typo and debug output when loading libgtkAlbrecht Schlosser
A recent commit changed the library name, supposedly unintended. While testing I found that the debug statements generated confusing output (both "selected GTK-3" and "selected GTK-2") when GTK-3 was available.
2019-10-30Restore CMake support of Darwin + XQuartz + finkManoloFLTK
2019-10-30Fix path to header fileManoloFLTK
2019-10-30Concentrate source code that supports Darwin + XQuartz + fink as test platformManoloFLTK
2019-10-27Documentation: make clear that "Using OpenGL in Normal FLTK Windows" isn't ↵ManoloFLTK
useful with macOS.
2019-10-26Restore support of OpenGL on retina without Fl::use_high_res_GL(1)ManoloFLTK
Apparently the default value of the wantsBestResolutionOpenGLSurface property changed with macOS Catalina 10.15
2019-10-22Add default value of 0 for 1st arg of member function Fl_Printer::begin_job().ManoloFLTK
2019-10-20Avoid useless code when drawing directly.ManoloFLTK
2019-10-14Rewrite for macOS 10.15 CatalinaManoloFLTK
Another way to support what occurs under macOS 10.15 where the bitmap graphics context prepared by the system when drawRect: runs sometimes changes its number of bytes/row even if the width and height are unchanged. This is expected to perform better when the number of bytes/row alternates between two values.
2019-10-12Fix for macOS Catalina 10.15ManoloFLTK
Under Catalina, the bitmap graphics context prepared by the system when drawRect: runs sometimes changes its number of bytes/row even if the width and height are unchanged.
2019-10-09Faster processing of layer-backed views used with MacOS ≥ 10.14ManoloFLTK
Calls to CGBitmapContextCreateImage() and CGContextDrawImage() are replaced by faster calls to memcpy().
2019-09-24Faster drawing of layer-based windows if entirely redrawnManoloFLTK