summaryrefslogtreecommitdiff
path: root/fluid
AgeCommit message (Collapse)Author
2022-08-29Make hybrid Wayland/X11 platform.ManoloFLTK
2022-04-03Build and use fluid-cmd on Windows for .fl files (#224, #293)Albrecht Schlosser
On Windows fluid.exe is a "GUI" program and does not allow console output which can be a problem in automated builds. In Visual Studio the fluid GUI program would pop up console windows when generating .cxx and .h files from .fl files. The new (additional) fluid-cmd.exe is built as console application for users that need it and it is used in the FLTK build process on Windows to convert the .fl files.
2022-03-04Add the Wayland platform to FLTK 1.4 - continued.ManoloFLTK
2022-03-03Fix whitespace, update dependencies and fluid filesAlbrecht Schlosser
2022-02-26Fix Visual Studio build warningsAlbrecht Schlosser
2022-02-20Fluid: no grid on window resizing. (#399)Matthias Melcher
2022-02-20Fluid: fixed missing return value (#398)Matthias Melcher
...and possible devision by zero
2022-02-14Adding comments to recent Fluid changes.Matthias Melcher
2022-02-13Better Fluid Widget dimension controls (#394)Matthias Melcher
* Size and position widgets can evaluate basic math. * Allowing x, y, w, and h as variables for formulas. Also supporting 'i' as a counting index when selecting multiple widgets, so setting Y: to i*25+10 arranges all selected widgets vertically. * Additional variables cx, etc. for children box cx, cy, cw, ch
2022-02-13Fluid: adding feature: Functions can also be "local". (#390)Matthias Melcher
Before, Functions could only be "static" (keyword static is added) or "global" (prototype is added). This is harmful if the function or method was declared elsewhere. "local" solves that.
2022-02-11Fixed Fluid Alignment panel i18n to none.Matthias Melcher
2022-01-23Remove experimental platforms Android, Pico, SDL (PR #376)Albrecht Schlosser
... as discussed in fltk.coredev: "FLTK 1.4.0 release schedule" https://groups.google.com/g/fltkcoredev/c/PDbHTRpXVh0/m/JqboexZ_AwAJ
2022-01-19Fixing and upgrading Fl_Preferences (#374)Matthias Melcher
* Added filename function to Fl_Preferences Static function to get filename before opening. Member to get filename after opening. Bug fixes for memory mapped preferences. * ERROR is a macro on Windows, don't use it * Added Fl_Preferences::dirty(). User can now check if the database will be written when flushed or destroyed. Flush returns a crude error code. * Fl_Preferences::get binary data returns # of bytes read. * Verified group deletion code * Fl_Preferences ignores locale. This will make .prefs files interchangeable between different computers. * Updating the Preferences Mode to ignore locale. * Fixes in docs.
2022-01-19Remove potential compiler error with -Wc++11-narrowingManoloFLTK
2022-01-16Update fluid files and generated filesAlbrecht Schlosser
fluid/widget_panel.cxx: apply previous fluid fix
2022-01-16Rename FL/Fl_String_class.H to FL/Fl_String.HAlbrecht Schlosser
This is part 2 of the final fix for a previous name clash on case insensitive file systems (fl_string.h vs. Fl_String.H).
2022-01-16Rename FL/fl_string.h to FL/fl_string_functions.hAlbrecht Schlosser
This is part 1 of the final fix for a previous name clash on case insensitive file systems (fl_string.h vs. Fl_String.H).
2022-01-12Renewing old code, as suggested by Albrecht.Matthias Melcher
2022-01-11Reintroducing delet o;Matthias Melcher
2022-01-11Fluid: Window was not updated when widget was deleted.Matthias Melcher
For parents with a box type based on FRAME.
2022-01-11Avoiding CodeQL warning.Matthias Melcher
Changed a statement emitted by Fluid to avoid 'unused' warnings: if(w){} into (void)w; to avoid triggering 'Bad error checking' warnings.
2022-01-08avoid early include of Fl.H optionMatthias Melcher
2022-01-07Fixed a crash bug in Fluid where partial menus were deleted.Matthias Melcher
Reading an .fl file rebuilds a menu item arrays with every item read. If a menu is only partially read, the end marker (label==NULL) is not set, so that deleting the menu will run beyond the missing marker. This bug was exposed by adding images to menu items, which requires additional deletes.
2022-01-05Fix whitespace and Makefile dependenciesAlbrecht Schlosser
No code changes
2022-01-01Installing Fluid correctly on macOSMatthias Melcher
2021-12-20GitHub #328: removed stray ';' in Fluid code generation.Matthias Melcher
2021-12-19Update fluid generated and .fl files (remove mac_shell...)Albrecht Schlosser
Commit updated .cxx files in src/ with fixed indenting Remove `mac_shell_*' statements from fluid (.fl) files
2021-12-19Github #351: fixed missing curly brackets.Matthias Melcher
2021-12-19STR 3289: Fluid i18n, gettext, catguts improvementsMatthias Melcher
Removed some unneeded code.
2021-12-18Generate FL/fl_config.h rather than FL/abi-version.hAlbrecht Schlosser
... as discussed in fltk.coredev in thread "RFC: introduce public config header <FL/fl_config.h>", see: https://groups.google.com/g/fltkcoredev/c/xLCs1AIXMVo/m/MHZpQggzAQAJ - Rename abi-version.h to fl_config.h, rename input files, update dependencies, .gitignore, CMake, configure and Makefiles. - Include Cairo options in FL/fl_config.h - Rename FLTK_USE_CAIRO to FLTK_HAVE_CAIROEXT for consistency. - Include <FL/fl_config.h> in config.h and wherever necessary, fix include order (move FL/Fl.H to the top) and more. - Move USE_X11 to fl_config.h and rename to FLTK_USE_X11 - Do not include <config.h> in Cairo demo program which is no longer required in Cairo programs since FLTK 1.4.0
2021-12-18Remove unused and outdated demo, update dependenciesAlbrecht Schlosser
- remove test/connect.cxx - fix typos in comments in a related android file - update dependencies
2021-12-18Removed superfluous commentsMatthias Melcher
2021-12-18Github #340: removing two warnings.Matthias Melcher
2021-12-18Correcting UFT vs. UTF character flipMatthias Melcher
2021-12-17STR 3355: allow Unicode UTF-8 in source codeMatthias Melcher
This includes changes in the UI in Project Settings.
2021-12-17GitHub #327: menu buttons will no longer grab arrow keys.Matthias Melcher
In Fluid, selecting a menu button, and selecting it again to make it movable would also grab the text input focus, which would prevent the enclosing window from using arrow key events to manipulate the selected widget.
2021-12-17GitHub #326: browser scrolling should be much improvedMatthias Melcher
Code now convinces browser to rebuild when the tree changes by UI. When widgets are move, the current widget should always be visible. It's the responsibility of the UI callback to update the browser.
2021-12-16GitHub #329: fixed missing codeMatthias Melcher
Commented out code was obsolete. line_len was a true bug which can shred the end of lines. Removed Warning
2021-12-15github #328: temporarily disabling new project flagsMatthias Melcher
Project wide settings require a redesign. Temporarily disabled until I find a satisfying solution.
2021-12-15#329 #318: Fixed Fluid indenting and trailing whitespaceMatthias Melcher
2021-12-14Fix trailing whitespace and a MSVC compiler warningAlbrecht Schlosser
No code changes
2021-12-13Fluid: convert Fl_Group::forms_end() to a static functionAlbrecht Schlosser
... just in case we disable forms compatibility in the future and remove Fl_Group::forms_end(). Also: improve doxygen docs, fix some typos.
2021-12-13#319: Fixed Live Resize Mode in FluidMatthias Melcher
2021-12-13#322: remove Fluid's dependency on fltk_forms.Matthias Melcher
2021-12-13STR 3442: invalid conversion warning in VisualCMatthias Melcher
2021-12-13STR 3442: changed .cxx file, but not .flMatthias Melcher
2021-12-13STR 3442: copy/paste now inserts widget as expected.Matthias Melcher
Fluid would add pasted widgets as the last child of the current group, even if they were cut at the beginning of the group. This patch adds a 'startegy' to adding widgets to allow merging closer to the 'current' widget. Also added d'n'd for the widget bin and some other UI improvements. STR 3442: some preparation, variable renaming STR 3442: unifying functions to add widgets. Adding widgets interactively is merged into one function, making undo/redo work as expected and removing unexpected differences between adding by menu or bin. STR 3442: adding drag'n'drop for windows from bin. Just drag the window symbol out of the tree and drop it anywhere on the desktop. Visual representation of dragged Window. STR 3442: insert individual nodes after 'current' STR 3442: adding new widget at expected positions. The widget bin can finally do drag'n'drop. Widgets appear in the tree close to the last selection. Duplicating now ads right below. Cut and paste inserts after last selection. Fluid: replaced #define with strict enum type.
2021-12-13Fluid: "Widget Class" subclasses Group but incorrectly shows Window subtypes.James Palmer
2021-12-11Fluid: use fl_strdup() to fix MSVC compiler warningAlbrecht Schlosser
2021-12-11Fluid PR 313: update subtype menu to show "Normal" when deactivated.Matthias Melcher
Based on jdpalmer's pull request: If the subtype menu is disabled because there are no subtypes, the deactivated menu will still display the subtype of the last widget that had a subtype value. Clearing the menu when there are no subtypes fixes this minor inconsistency.