| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2022-09-27 | Simpler code to support FLTK widgets in macOS OpenGL 3 windows. | ManoloFLTK | |
| Also, the application-level code to add widgets to a GL3 window becomes platform-independent. | |||
| 2022-09-26 | Replace all calls to sprintf() by calls to snprintf(). | ManoloFLTK | |
| 2022-09-26 | Fix crash under macOS 13 Ventura public beta 6 when closing menu window. | ManoloFLTK | |
| Bizarrely, an NSMouseEntered event arrives returning nil to [event window]! | |||
| 2022-09-25 | Add cross-platform support for adding widgets to an OpenGL3-based Fl_Gl_Window. | ManoloFLTK | |
| Under non-macOS platforms, the key is to call glUseProgram(0); after having used OpenGL 3 which allows to then use OpenGL 1 and draw FLTK widgets over the OpenGL3 scene. Under macOS, this is impossible because macOS GL3 contexts are not compatible with GL1. The solution implemented here is to create an additional Fl_Gl_Window placed above and sized as the GL3-based window, to give it a non opaque, GL1-based context, and to put the FLTK widgets in that additional window. | |||
| 2022-09-23 | GL3 for macOS platform: allow creation of GL1 and GL3 contexts by an app. | ManoloFLTK | |
| 2022-09-23 | GL3 support under X11: ask for compatibility profile if possible. | ManoloFLTK | |
| 2022-09-23 | Fix Fl_X11_Window_Driver::fullscreen_on() and ↵ | ManoloFLTK | |
| Fl_X11_Window_Driver::fullscreen_off(). | |||
| 2022-09-23 | Wayland: process OPTION_USE_WAYLAND for Unix only | ManoloFLTK | |
| 2022-09-22 | Fix issue #501: build error under macOS 10.10 | ManoloFLTK | |
| 2022-09-22 | Wayland: fix window closing with titlelbar close button. | ManoloFLTK | |
| 2022-09-17 | Allow use of Fl_Window::default_icon() with a scaled image - Part 2. | ManoloFLTK | |
| Default icons are handled according to their scaled size, if there scaled. | |||
| 2022-09-15 | Make Fl::set_color(r,g,b,a) effective under Wayland and macOS. | ManoloFLTK | |
| 2022-09-14 | Improve virtual void* Fl_Gl_Window_Driver::GetProcAddress(procName) | ManoloFLTK | |
| 2022-09-13 | Avoid deprecated glGetString(GL_EXTENSIONS) call when possible. | ManoloFLTK | |
| 2022-09-13 | Remove forgotten debug code. | ManoloFLTK | |
| 2022-09-12 | Allow use of Fl_Window::default_icon() with a scaled image. | ManoloFLTK | |
| 2022-09-11 | Fix fl_read_image() under hybrid Wayland/X11 platform. | ManoloFLTK | |
| Function fl_read_image() obliges to keep a minimal use of global variable fl_window also under the Wayland platform, even if its type (Window) makes little sense for the hybrid library because it has its X11 value (given by X11/X.h) which is not meaningful for the Wayland leg of the hybrid platform. Virtual member function Fl_Surface_Device::as_image_surface() becomes useless. | |||
| 2022-09-11 | Fix support of CMake OPTION_WAYLAND_ONLY. | ManoloFLTK | |
| 2022-09-11 | Add needed variable for Wayland-only platform. | ManoloFLTK | |
| 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 | |
