| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2022-09-11 | Fix regression in fl_read_image() after introduction of hybrid Wayland/X11 ↵ | ManoloFLTK | |
| platform. The special use context of fl_read_image() inside the draw() function of an Fl_Double_Window, where the function should read inside the window's double buffer rather than the on-screen window, no longer worked. Removal of all uses of the fl_window global variable from platform-independent code remains necessary, because this variable is ill-defined in the Wayland/X11 library. | |||
| 2022-09-10 | New configure setting "--enable-wayland --disable-x11" to build pure Wayland ↵ | ManoloFLTK | |
| platform. | |||
| 2022-09-09 | New OPTION_WAYLAND_ONLY for CMake to build pure Wayland platform. | ManoloFLTK | |
| 2022-09-09 | Wayland: support going from borderless to bordered window. | ManoloFLTK | |
| 2022-09-09 | Wayland: fix handling of fast calls to Fl_Window::flush(). | ManoloFLTK | |
| Also fix scaling of borderless windows. | |||
| 2022-09-08 | Wayland: remove memory leak from missing wl_callback_destroy() call. | ManoloFLTK | |
| This hopefully corresponds to the memory leak mentioned in fltk.general named "FLTK and Wayland". | |||
| 2022-09-08 | Add necessary virtual qualifier to ~Fl_Font_Descriptor() and derived. | ManoloFLTK | |
| 2022-09-07 | Improve support of child windows that may leak outside their parent window. | ManoloFLTK | |
| 1) add Wayland code that prevent subwindows from leaking outside their parent. This does not cover GL subwindows. 2) add macOS code that prevent GL subwindows from leaking outside their parent. This fixes issue #494 for the macOS platform. N.B.: Wayland GL subwindows are not prevented from leaking because no solution that would not require any change in client applications was found. Code that would cover Wayland GL subwindows but would require client applications to always use the FL_ALPHA flag is included in this commit in commented out form. | |||
| 2022-09-06 | Wayland: fix memory leak on FL_KEYUP events | Albrecht Schlosser | |
| The old code would allocate memory on FL_KEYDOWN and FL_KEYUP events and never free the latter. The fix is to allocate memory only on FL_KEYDOWN events which will be free'd later as intended. Also fix two unrelated whitespace errors. | |||
| 2022-09-03 | Fix for issue #493 | ManoloFLTK | |
| 2022-09-02 | Fix compiler warning [-Wunused-function] | Albrecht Schlosser | |
| warning: ‘int xrender_supported()’ defined but not used This happens only with certain configure options, particularly if FLTK_USE_CAIRO is set, i.e. drawing with Cairo is enabled. | |||
| 2022-09-01 | Remove useless if (...) | Albrecht Schlosser | |
| 2022-09-01 | Simplify Fl_Window_Driver::screen_num() member functions. | ManoloFLTK | |
| 2022-09-01 | Restore building with --disable-xft | ManoloFLTK | |
| 2022-08-31 | Wayland platform: remove redirection of stderr. | ManoloFLTK | |
| 2022-08-31 | Hybrid Wayland/X11: remove setenv() call from ↵ | ManoloFLTK | |
| Fl_Wayland_System_Driver::disable_wayland(). | |||
| 2022-08-30 | Hybrid Wayland/X11 platform: improve control of chosen backend. | ManoloFLTK | |
| 2022-08-30 | Attempt to improve fl_disable_wayland(). | ManoloFLTK | |
| 2022-08-30 | Add FL_EXPORT to Fl_Wayland_Screen_Driver::wl_display member variable. | ManoloFLTK | |
| 2022-08-30 | Wayland: Fix Fl_Gl_Window_Driver::newGlWindowDriver() for shared libs | ManoloFLTK | |
| 2022-08-30 | Set Fl_Graphics_Driver::set_color(Fl_Color, unsigned) used by macOS, Wayland ↵ | ManoloFLTK | |
| and display-cairo. | |||
| 2022-08-29 | Improve selection of Wayland or X11 backend | Albrecht Schlosser | |
| Calling fl_disable_wayland() at runtime must have highest priority before environment variables are considered. | |||
| 2022-08-29 | X11: Fix rescaling of non-resizable window (issue #491) | Albrecht Schlosser | |
| 2022-08-29 | Hybrid Wayland/X11 : more accurate writing of fl_wl_display(). | ManoloFLTK | |
| 2022-08-29 | Wayland/X11 hybrid: fix crash of test program demo. | ManoloFLTK | |
| 2022-08-29 | Update dependencies, fix trailing whitespace | Albrecht Schlosser | |
| 2022-08-29 | Make hybrid Wayland/X11 platform. | ManoloFLTK | |
| 2022-08-25 | Fix dependencies and whitespace errors | Albrecht Schlosser | |
| No "real" code changes, but dependencies can affect building. | |||
| 2022-08-25 | Remove unneeded FL_EXPORT declaration. | ManoloFLTK | |
| 2022-08-25 | Wayland: reduce the number of platform-specific FL_EXPORT directives. | ManoloFLTK | |
| 2022-08-24 | Add FL_EXPORT directives to support building shared libs with -no-undefined | ManoloFLTK | |
| 2022-08-23 | Wayland: Fix obscure problem when closing file dialog under recent OS versions. | ManoloFLTK | |
| The problem is that the app sometimes stops after closing a file dialog window. It results in fact from a bug in function draw_title_bar of libdecor-gtk.c that erroneously calls libdecor_frame_set_max_content_size(). This bug is being proposed to be fixed by a MR to libdecor. But moving the libdecor_frame_set_min/max_content_size() calls after the capability changes hides the bug, and the problem with file dialog doesn't show. | |||
| 2022-08-23 | Comment-only changes. | ManoloFLTK | |
| 2022-08-23 | Add FL_EXPORT directives erroneously removed at 7deff86. | ManoloFLTK | |
| 2022-08-21 | Fix argument of glMatrixMode() call. | ManoloFLTK | |
| 2022-08-20 | Add static Fl_Wayland_Window_Driver::gl_plugin() member function. | ManoloFLTK | |
| 2022-08-20 | Remove FL_EXPORT qualifier from platform-specific class declarations. | ManoloFLTK | |
| 2022-08-20 | Add int Fl::system(const char *command) static member function. | ManoloFLTK | |
| 2022-08-19 | Fl_Graphics_Driver: remove unused virtual qualifiers. | ManoloFLTK | |
| 2022-08-18 | Add a few missing virtual members to Fl_Cairo_Graphics_Driver. | ManoloFLTK | |
| 2022-08-18 | Document Fl_Gl_Window::draw_begin() and draw_end(). | ManoloFLTK | |
| 2022-08-18 | Simplify class Fl_OpenGL_Display_Device. | ManoloFLTK | |
| 2022-08-18 | Remove un-necessary Fl_Wayland_Gl_Window_Driver::capture_gl_rectangle(). | ManoloFLTK | |
| 2022-08-17 | Simplify Fl_Wayland_Gl_Window_Driver::make_current_before() member function. | ManoloFLTK | |
| 2022-08-17 | Wayland platform: improve Fl_Gl_Window resize operations. | ManoloFLTK | |
| 2022-08-15 | Remove useless Fl_Wayland_Window_Driver::show_with_args_begin/end(). | ManoloFLTK | |
| 2022-08-15 | Fix Fl_Wayland_Window_Driver::decoration_sizes(). | ManoloFLTK | |
| 2022-08-13 | Replace call to CreateFont() by call to CreateFontW(). | ManoloFLTK | |
| 2022-08-12 | Add virtual Fl_Cairo_Graphics_Driver::cache_size() member function. | ManoloFLTK | |
| 2022-08-10 | Fix Fl_Xlib_Graphics_Driver for drawing tiled images. | ManoloFLTK | |
| Conflicting demands arise in the implementation of class Fl_Xlib_Graphics_Driver for drawing images with the XRender library : 1) Issue #163 leads to use a bilinear filter to draw-and-scale images. 2) This tends to blur the edges of drawn areas which is bad for tiled images (that is because the edges get alpha values, even for an opaque source image). This commit resolves the conflict adding a means to detect whether the library is busy drawing a tiled image. If so, the bilinear filter is not applied, drawn areas don't have blurred edges, resulting in a nice tiling. With this commit, these test apps perform correctly: - tiled_image is correct at all scaling factor values also when modified to use a depth-3 or a depth-4 Fl_RGB_Image as tile; - unittests - Drawing Images is correct at all scaling factor values; - pixmap_browser scales correctly up and down JPEG and PNG images. | |||
