summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2020-02-03Don't "export" X11 specific fl_open_display() functionAlbrecht Schlosser
The X11 specific overloaded function fl_open_display(Display *) has never been documented but exposed (and "exported" in the ABI) in FL/platform.H which is not necessary. This internal function is now static and no longer exposed in the ABI. Don't confuse with fl_open_display() w/o arguments which is still exported and declared in FL/platform.H.
2020-01-31Fix disabling of deprecated warningsAlbrecht Schlosser
Fix cut'n'paste error: needs #pragma pop instead of push.
2020-01-31Update Fl::keyboard_screen_scaling()Albrecht Schlosser
- make the internal variable static - make it callable after fl_open_display() - document that it's currently only usable to switch scaling off
2020-01-31Disable X11 "deprecated declaration" warningAlbrecht Schlosser
... for GCC >= 4.6 and clang compilers. This annoying warning exists on X11 (Linux/Unix/macOS) platforms because we need to use XKeycodeToKeysym() although it is deprecated. See STR 2913 for discussion and details.
2020-01-31Fix typoAlbrecht Schlosser
2020-01-31Add Fl::keyboard_screen_scaling(int) to control recognition of ctrl/+/-/0/ManoloFLTK
2020-01-31Add a "Preview" switch to the GTK native file chooser.ManoloFLTK
The button state is recorded in a preference so is recovered the next time the GTK file chooser runs.
2020-01-30New public static variable bool Fl_Image::register_images_doneManoloFLTK
Allows an app to detect whether fl_register_images() was called or not.
2020-01-30Protect against situation where HAVE_DLSYM && HAVE_DLFCN_H && ↵ManoloFLTK
!defined(RTLD_DEFAULT)
2020-01-27Restore compilability when HAVE_DLFCN_H = 0ManoloFLTK
2020-01-27Restore compilability when HAVE_DLFCN_H = 0ManoloFLTK
2020-01-24GTK printer chooser: add code to support choice of paper size and orientationManoloFLTK
2020-01-23Remove unnecessary extern declarationManoloFLTK
2020-01-22Fix preservation of the caller's locale when running GTK dialogs.ManoloFLTK
There are now 2 kinds of GTK libraries (V2 and V3) and two dialogs the file chooser and the printer chooser.
2020-01-20Fix Fl_PostScript_Graphics_Driver::clip_box()Albrecht Schlosser
2020-01-20Improve documentation of clipping functionsAlbrecht Schlosser
Clarify functionality of fl_not_clipped() and fl_clip_box(). Add developer documentation for Fl_Graphics_Driver::clip_box(). Documentation only, no code changes in this commit.
2020-01-19Have Fl_Quartz_Copy_Surface_Driver use retina resolution for resulting bitmapManoloFLTK
2020-01-18Use visible size information when copying macOS image from clipboard.ManoloFLTK
2020-01-17Make Fl::screen_scale(int, float) functional also after initial window display.ManoloFLTK
2020-01-16Fix DND in read-only Fl_Input (Fl_Output)Albrecht Schlosser
See report in fltk.coredev as of today (Jan 16, 2020): "Fl_Input in readonly mode - wrong behaviour". Summary: Drag and drop within a read-only Fl_Input (i.e. Fl_Output) widget would not insert the dragged text (correct) but removed the dragged text from the widget (error). This is now fixed.
2020-01-16Fix JIS Keyboard dead keysOKAMURA, Yasunobu
2020-01-16Don't include 'src/flstring.h' in menubar demoAlbrecht Schlosser
src/flstring.h should only be used in library code because it includes <config.h>. Document this fact in src/flstring.h.
2020-01-15Fix uninitialized vars in calls to fl_clip_box() (issue #6)Albrecht Schlosser
The main fixes are only to avoid static code analyzer warnings reported in issue #5, but there are also minor bug fixes included. These bug fixes are more of theoretical concerns though. Close #6.
2020-01-15Slightly improve Fl_Quartz_Graphics_Driver::copy_offscreen() when macOS ≥ 10.4ManoloFLTK
2020-01-14Merge remote-tracking branch 'refs/remotes/origin/master'Matthias Melcher
2020-01-14Fixed some documentation for Fl_Preferences and fl_make_path.Matthias Melcher
2020-01-14Fix typo in commentManoloFLTK
2020-01-13Add missing Fl_Image_Reader filesAlbrecht Schlosser
Forgot to add these files. Sorry for the noise.
2020-01-13Fix Doxygen warnings and errorsAlbrecht Schlosser
2020-01-13Combine image readers in class Fl_Image_ReaderAlbrecht Schlosser
This new class is explicitly internal and undocumented. We can rename and/or redefine or extend it as we need. This work is based on Matt's recent update with separate internal classes BMPReader and GIFReader which have been replaced by Fl_Image_Reader.
2020-01-13Bring main window to front when it's not there.ManoloFLTK
2020-01-11Implement Fl_Window::icon() and default_icon() for macOSManoloFLTK
The implementation is effective for macOS 10.10 and above. Demo program test/device uses the new implementation.
2020-01-11Improved documentation of Fl_Preferences.Matthias Melcher
Detailed information on how preference file paths are generated, and preliminary docs what happens if that fails. Documentation, on what FLTK die pre 1.4 when any of this failed. Also, a little TODO list for me that I will hopefully get to in the next days.
2020-01-10Updated image readers.Matthias Melcher
Removed duplicate code from Fl_JPEG_Image, updated and unified Doxygen comments. Avoiding name conflict in new protected functions.
2020-01-09Fix X11 RTL text clipping (STR 2798) - part 2Albrecht Schlosser
Yet another fix for RTL text...
2020-01-08Improve X11 coordinate clipping for text (STR 2798)Albrecht Schlosser
Text outside the 16-bit X11 coordinate space must be clipped before calling X11 draw functions, otherwise text might appear anywhere in the window because X11 would "truncate" the coordinates instead of proper clipping (X11 handles only 16-bit coordinates).
2020-01-05Fix Doxygen description of the constructors.ManoloFLTK
2020-01-04Update dependencies and .gitignoreAlbrecht Schlosser
2020-01-04MacOS: Added the original code to the Fl_Preferences path that would search ↵Matthias Melcher
$HOME first, and only if that fails, we try other ways to find the home directory. This should be highly compatible with what we had first.
2020-01-03Merge remote-tracking branch 'refs/remotes/origin/master'Matthias Melcher
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-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-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."