summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2019-02-28Fix error in Fl_WinAPI_Screen_Driver::screen_work_area() when screen is scaled.ManoloFLTK
2019-02-27Simplifies memory allocation of system menu items for FL_SUBMENU_POINTERManoloFLTK
2019-02-27Avoid recreation of the system menu bar without changeManoloFLTK
2019-02-24Remove statement that became unnecessary.ManoloFLTK
2019-02-24Allow to call Fl_Sys_Menu_Bar::about() early in the program.ManoloFLTK
2019-02-24Simplify code for the FLMenuItem classManoloFLTK
2019-02-23Rename member todelete_ of struct Fl_Window_Driver::shape_data_type to ↵ManoloFLTK
effective_bitmap_
2019-02-23New member function const Fl_Image* Fl_Window::shape() replaces int ↵ManoloFLTK
Fl_Window::is_shaped() The new function allows to get the window's shaping image and delete it after use, if appropriate.
2019-02-21Remove compilation warning with -Wunused-resultManoloFLTK
Warning was: ignoring return value of ‘char* fgets(char*, int, FILE*)’
2019-02-21X11: use XGetDefault() to read the value of the Xft.dpi resource.ManoloFLTK
2019-02-20Use also the Xft.dpi resource to initialize the GUI scale factor.ManoloFLTK
2019-02-20Check to avoid erroneous values for the starting GUI scale factor.ManoloFLTK
2019-02-19X11 + gnome: improve detection of the current display scale factorManoloFLTK
Gnome now seems to store the value of the display scale factor in file $HOME/.config/monitor.xml. Previously, that value was readable with the gsettings command. The present commit uses the information found in that file and reverts back to the gsettings command if that information is not found.
2019-02-09X11 platform: account for window scaling in drag-n-drop operations.ManoloFLTK
2019-02-08Rename method -[FLViewLayer viewFrameDidChange] to -[FLViewLayer ↵ManoloFLTK
reset_layer_data] The new name follows FLTK naming rules and has the benefit of avoiding potential collision with future macOS method names that follow a different naming rule.
2019-02-05Fix for STR #3503 - handle Fl_Menu_ deleted while its menu window is running.ManoloFLTK
2019-02-05Fixed two warnings from Doxygen.Matthias Melcher
2019-02-04Fixed Fl_Text_Editor selection range after paste (STR #3248).Matthias Melcher
2019-02-04Fl_Roller can now be controlled via the mouse wheel (STR #3120).Matthias Melcher
2019-02-04Fixed crash for very small Fl_Color_Chooser (STR #3490).Matthias Melcher
2019-02-03DocsMatthias Melcher
2019-02-03Fixed bug introduced while removing shadow lintMatthias Melcher
2019-02-02Tooltips hide by themselves after 12 seconds (STR #2584).Matthias Melcher
2019-02-02STR #3323: glutAddMenuEntry now has a const label argumentMatthias Melcher
2019-02-02Added Fl_Input_::append() method (STR #2953).Matthias Melcher
2019-02-02Fixed pulldown menu position when at the bottom of the screen (STR #2880).Matthias Melcher
2019-02-02STR #2714: remove new shadow lint for MacOSMatthias Melcher
2019-02-02Fixed missing item handling in Fl_Chekc_Browser (STR #3480).Matthias Melcher
2019-02-02Fl_Help_Dialog::load() now returns an error code (STR #3429)Matthias Melcher
2019-02-01Fixed Delete key in Fl_Input deleting entire widgets in Fluid (STR #2841).Matthias Melcher
2019-02-01STR #3498: Fl_Check_Browser::add(item) now accepts NULL.Matthias Melcher
As promised in the docs.
2019-02-01Additional fix for STR #2531Matthias Melcher
Wiggeling characters in Fl_Text_Display due to advanced kerning.
2019-02-01STR 2531: Fl_Text_Display no longer wiggles.Matthias Melcher
On MacOS and other systems that support kerning, dragging a selection over text would make the text to the right of the selection jump in x by a fraction of a pixel. The new code makes sure that the text stays rock solid.
2019-01-30STR 3430: fixed Help_View return valueMatthias Melcher
2019-01-28Remove useless statement.ManoloFLTK
2019-01-25Fix Fl_Tree::insert() with pos out ouf range (#18)Albrecht Schlosser
The given position to insert a new item was not checked against the valid range so the program could crash if a position less than zero or greater than children() was given. The position is now clamped to the valid range, i.e. the item is either prepended or appended. Fixes issue #18.
2019-01-24Fix minor text input problem related to dead key previewing.ManoloFLTK
macOS normally previews a dead key and then replaces the preview by the final text after the second key is typed. macOS ≥10.7 also opens an auxiliary window to help choosing among possible characters after some keys (e.g., n, c, o, a) are pressed and maintained for a while. The problem fixed here is that after an auxiliary window has been used, dead keys are no longer previewed. That problem emerged at some undetermined point before 10.14 and after 10.7.
2019-01-21Remove incorrect putenv(buf) call followed by free(buf).ManoloFLTK
2019-01-20Remove unnecessary code related to layer-backed views.ManoloFLTK
That code is not useful if layer-backed views are used only with macOS 10.14.
2019-01-18Update dependencies (now sorted)Albrecht Schlosser
The main dependencies (makedepend files) are now sorted alphabetically with one dependency per line.
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-18Update (remaining) dependenciesAlbrecht Schlosser
2019-01-17Merge branch 'master' of https://github.com/fltk/fltk into AndroidMatthias Melcher
2019-01-17Android CMake: icons, docs, more appsMatthias Melcher
2019-01-16Correct typo in comment.ManoloFLTK
2019-01-09Fix Fl_GIF_Image Color Table handling (STR 3491)Albrecht Schlosser
Loading GIF images could crash if there was no "Global Color Table" but individual "Local Color Tables" with individual images. Now local color tables are used correctly if available, but images that lack both global and local color tables are being loaded with a default (gray) color table and a warning is issued with Fl::warning(). The default color table uses black and white in the first two indices as recommended by the standard. Cherry-picked from: 35e03733f48397819902a4ef2ebff9bcb8676f54
2019-01-04Slight reorganization of the [FLWindow close] method.Manolo Gouy
It might be safer to use the window's contentView before sending the close message to the window.
2019-01-04Remove [FLViewLayer dealloc] method.ManoloFLTK
The Apple doc recommends not to release resources in an object's dealloc method. The job is now done in the [FLWindow close] method.
2019-01-04Restore possibility to compile with SDK 10.7 or earlier.ManoloFLTK
2018-12-30Merge remote-tracking branch 'origin/master'ManoloFLTK