summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2020-11-10Fix for issue #155 "SVG rendering spoiled by scaling".ManoloFLTK
2020-11-10Restore building with --disable-svgManoloFLTK
2020-11-10Remove useless typedef declaration.ManoloFLTK
2020-11-10Remove compilation warning that HAVE_DLFCN_H is undefined.ManoloFLTK
2020-11-07Simpler code and doc of Fl::screen_scale(int n, float factor)ManoloFLTK
2020-11-03Add extra argument to Fl_SVG_File_Surface constructor.ManoloFLTK
This makes processing of the underlying FILE object consistant by classes Fl_SVG_File_Surface, Fl_EPS_File_Surface and Fl_PostScript_File_Surface.
2020-11-02Fix possible memory leak in ↵ManoloFLTK
Fl_WinAPI_Screen_Driver::read_win_rectangle_unscaled() Thanks to "fire-eggs" for spotting it. Also minor optimisations in Fl_X11_Screen_Driver::read_win_rectangle_unscaled() and Fl_Cocoa_Screen_Driver::read_win_rectangle_unscaled(). This closes PR #151.
2020-11-02Save fl_file_chooser directory on cancel (STR 3225) (#110)engelsman
* save fl_file_chooser directory on cancel (STR3225) by default, the fl_file_chooser() starts in the current directory if no filename is given, but the directory is reset to the "system directory" if the dialog is cancelled without choosing a file. This patch saves and restores the directory if no file is chosen. See also https://www.fltk.org/str.php?L3225 * add fl_file_chooser() reinitialization comments
2020-11-01Add Fl_PostScript_File_Device::close_command(Fl_PostScript_Close_Command cmd)ManoloFLTK
Also expand Doxygen doc of class Fl_Printer for the X11 platform.
2020-10-30X11+GTK: remove warning when native file chooser runs on WaylandManoloFLTK
2020-10-29Fix PostScript driver for fl_draw_image(buf,X,Y,W,H,D,L) with negative D or LManoloFLTK
2020-10-29Cairo-based PostScript: fix image tilingManoloFLTK
2020-10-28Remove the "Print" window meant for debugging.ManoloFLTK
2020-10-28Pango ps (#148)ManoloFLTK
Use cairo-PostScript to output PostScript when pango is available. This allows to draw in vectorial form any script. Before, only the Latin script could be drawn to PostScript in vectorial form.
2020-10-14Minor fix in doc of the Fl_Image_Surface constructor.ManoloFLTK
2020-10-14Simpler implementation of Fl_Quartz_Image_Surface_Driver::image()ManoloFLTK
2020-10-12Simpler macOS implementation of capture of window titlebars.ManoloFLTK
2020-10-11Change procedure to capture window titlebar for macOS ≥ 10.15ManoloFLTK
That is necessary to support macOS Big Sur because previous procedure did not work for tabbed windows. The new procedure is potentially usable from macOS 10.5, but tested at this stage for macOS ≥ 10.15.
2020-10-08Fl_Xlib_Font_Descriptor does not need char glok[64] when USE_XFT is onManoloFLTK
2020-10-05Fix for issue #145 and for unbundled macOS apps.ManoloFLTK
2020-10-05Fix issue #145: Native file dialog on macOS in the absence of another FLTK ↵ManoloFLTK
window.
2020-10-04Create Fl_X11_System_Driver::dlopen_or_dlsym() for run-time addresses.ManoloFLTK
The intent is to gather in a single place of the X11 platform source code all variable elements when using dlopen() and dlsym() system functions (e.g., .so vs .dylib extension name, is RTLD_DEFAULT available, locations to be sought). Member function Fl_System_Driver::load() is created only to support Fl_Plugin_Manager::load().
2020-10-02Have Fl_X11_System_Driver::newUUID() use uuid_generate() if available at ↵ManoloFLTK
run-time. The code falls back to the ad-hoc method if uuid_generate() isn't available.
2020-09-30Fix possible memory allocation error.ManoloFLTK
2020-09-23Solves issue #143.Greg Ercolano
2020-09-23Add Doxygen doc of "static unsigned Fl_Graphics_Driver::need_pixmap_bg_color"ManoloFLTK
2020-09-21macOS: minor improvement of capture of window titlebar.ManoloFLTK
2020-09-19Fix when building with SDK 10.15 and running with 11.0 Big SurManoloFLTK
When FLTK runs under macOS "Big Sur", the OS appears as 11.0 if FLTK was built with SDK 11.0 and as 10.16 it it was built with SDK 10.15.
2020-09-19macOS: increase resolution when drawing window titlebars to PostScriptManoloFLTK
2020-09-18Improve Fl_Menu_Item docs and inline deprecated methodsAlbrecht Schlosser
The deprecated methods are now calling the new methods to be entirely compatible. These methods should be removed in 1.5.0 (fix unrelated whitespace as well)
2020-09-18More detailed doc of Fl_Image_Surface::image()ManoloFLTK
2020-09-17Noted unused variable in Fl_Text_Display..Greg Ercolano
2020-09-16Added Fl_Text_Display::style_buffer(), solves issue #138Greg Ercolano
2020-09-16Removed incorrect docs, solves issue #137Greg Ercolano
2020-09-16Fix fluid output for international languagesAlbrecht Schlosser
The fluid version and other values in .fl files are written as float values which means that locale settings apply since we enabled the locale with "setlocale()". Update the "rebuild" target in fluid and src folders to update the fluid (.fl) files and related {.cxx|.h} files.
2020-09-07Further minor change to support macOS 11.0 "Big Sur".ManoloFLTK
2020-09-06Fix Fl_Check_Browser.{H|cxx} indentation (#121) (#132)Albrecht Schlosser
* Fix Fl_Check_Browser.{H|cxx} indentation (#121) ... and some more whitespace errors as proposed by Greg ... in issue #121: Fl_Check_Browser--whitespace-patch.txt Fixes #121 * Fix copyright years
2020-09-01Fix issue with Fl_Tiled_Image: did not correctly drawfire-eggs
... to sub-region of widget. Original patch (PR #114) modified by Albrecht-S: - fixed whitespace - removed modifications of test/unittest_images.cxx
2020-09-01Customize corner radius for rounded box/frame (#130)Albrecht Schlosser
Make maximum box corner radius and shadow width configurable. See Fl::box_border_radius_max() and Fl::box_shadow_width(). Documentation: update image of box types. Fixes #130
2020-08-22Fix .clang-format and some whitespace errorsAlbrecht Schlosser
.clang-format: UseTab: ForIndentation -> Never Update fluid generated files
2020-08-17Make recent changes to support macOS 11.0 "Big Sur" active with 11.0 only.ManoloFLTK
An optimisation used for drawing to windows is not possible under 11.0. This commits reinstalls it under macOS 10.14 and 10.15.
2020-08-14Add Fl_Window::screen_num(int) to fully control window locationManoloFLTK
on multi-screen systems having distinct per-screen scaling factors.
2020-08-11Slightly simpler code in the drawRect:(NSRect) methodManoloFLTK
2020-08-10Fix missing Alt-N shortcut for newly created favoritesGreg Ercolano
Fl_File_Chooser's "Add Favorite" function wasn't including the Alt-N shortcut when initially added. Now just calls update_favorites() to rebuild the menu with proper shortcut numbering.
2020-08-10Added Mike's feature list to Fl_File_Chooser docsGreg Ercolano
When Mike proposed Fl_File_Chooser, he included a list of features in the voting contest: https://www.fltk.org/contest.php Seemed like a good idea to include these in the widget's docs.
2020-08-10Add support of macOS 11.0 "Big Sur".ManoloFLTK
2020-08-08Allow unix style paths for windows native filechooserGreg Ercolano
Allows and preserves unix style paths if user specifies them, otherwise uses Windows style. This allows end users to use either style path and get behavior they expect in cross-platform environments. Addresses problems raised by issue #122
2020-08-07Error string that was created is now saved with errmsg()Greg Ercolano
2020-08-05Remove useless 'if (...)'Albrecht Schlosser
- dasharray_ can never be NULL unless if memory allocation failed previously - if dasharray_ was NULL, the previous strcmp() would have crashed anyway (but it can't be NULL, see above)
2020-08-04Remove memory leak.ManoloFLTK