summaryrefslogtreecommitdiff
path: root/fluid/code.cxx
AgeCommit message (Collapse)Author
2025-02-05Fix typos and trailing whitespaceAlbrecht Schlosser
Also replace 'MSWindows' with 'Windows' where appropriate, leaving only old documents like README files from 1.3 and older as-is.
2024-10-15Fix documentation typos and trailing whitespaceAlbrecht Schlosser
2024-04-25FLUID: Improve usability of Declaration BlocksMatthias Melcher
Decl Blocks can now output code around static code in source and header files.
2024-04-19FLUID: Create VisualStudio compatible long stringsMatthias Melcher
Better labels on FLUDI image properties dialog Better documentation on image compression
2024-04-17Separate FLUID user documentation, screen shot automation (#936)Matthias Melcher
* CMake integration, no autotiools * alignment panel is now correctly renamed to setting panel * source view is now correctly renamed to code view * Merge FLTK FLUID docs into FLUID user manual. * Add two simple entry tutorials * Remove FLUID chapter form FLTK docs. * GitHub action to generate HTML and PDF docs and make the available as artefacts
2024-03-02FLUID: comments, typos, formattingMatthias Melcher
2023-12-30Fluid: fix "MergeBack" preference locationAlbrecht Schlosser
... although currently disabled - just in case this feature will be re-enabled.
2023-12-04#859: FLUID: Improves widget class code formattingMatthias Melcher
- categorizes multiple comments before a widget class member correctly vs. before a widget member - reintrodues newline characters for comment preview in the widget browser
2023-12-04FLUID: improves special handling of widget_class membersMatthias Melcher
2023-12-04Fix compiler warningsAlbrecht Schlosser
fluid/code.cxx: unused variable src/drivers/Xlib/Fl_Xlib_Graphics_Driver_font_x.cxx: function may return address of local variable [-Wreturn-local-addr]
2023-12-04FLUID: Refactored writing escaped stringsMatthias Melcher
2023-11-16FLUID: inlined data can be stored compressed.Matthias Melcher
2023-11-06FLUID: '\r' (CR) is skipped when reading project filesMatthias Melcher
Project and code files are now always written with LF instead of CRLF, even on MSWindows machines.
2023-11-05FLUID: Adds missing Include for MSWindows.Matthias Melcher
2023-11-05FLUID: Fixes child properties reader.Matthias Melcher
2023-10-31FLUID: Stroe uid's in hexMatthias Melcher
2023-10-27FLUID: Store path to last written code file.Matthias Melcher
After some discussions it became clear that the code file may be written into an unpredictable location by the build system. Fluid now remembers that location in a user setting file and seems to do the expected thing after a brief test.
2023-10-26FLUID: Refactors MergeBackMatthias Melcher
* moved functionality into its own files * refactored all methods to be less than a page * documented all calls * tested all situations I could think of
2023-10-26FLUID: Fixes compile time error and docs.Matthias Melcher
2023-10-26FLUID: Adds more capabilities to MergeBack.Matthias Melcher
* better diagnostic dialog texts in interactive mode * won't merge back again after a first mergeback is applied * code needs refactoring and must be in its ow source file
2023-10-26FLUID: Fixes warnings.Matthias Melcher
2023-10-26FLUID: Adds initial MergeBack feature.Matthias Melcher
2023-10-25FLUID: Adds hierarchical node search in header files.Matthias Melcher
2023-10-24FLUID: Adds much more detailed CodeViewMatthias Melcher
in preparation for "find" and "reveal"
2023-10-22Make Fl_String and Fl_Int_Vector private (#789)Albrecht Schlosser
- add CMake option 'OPTION_USE_STD' - add configure option '--enable-use_std' - move FL/Fl_String.H to src/Fl_String.H - move FL/Fl_Int_Vector.H to src/Fl_Int_Vector.H - remove Fl_String from demo program examples/callbacks.cxx - remove Fl_Int_Vector from public header FL/Fl_Table.H - some methods of Fl_Table are no longer inline - add CMake option OPTION_USE_STD to allow std::string in some selected functions and methods Experimental, may be removed before release: - use either Fl_Int_Vector or std::vector in Fl_Table depending on CMake OPTION_USE_STD or configure --enable-use_std Move all fl_filename* functions that use Fl_String to fluid Main changes in fluid: - add fluid_filename.h and .cxx - include "fluid_filename.h" rather than <FL/filename.H> Update fl_input(), fl_password() and test/ask - add maxchar parameter to fl_input() and fl_password() - fl_input_str() and fl_password_str() are optional and return std::string if enabled (FLTK_USE_STD)
2023-10-20FLUID: basic Fl_Grid supportMatthias Melcher
* no settings for children yet * ne good interactive editing for children
2023-09-26FLUID: Fixes regression #777Matthias Melcher
Wrote wrong path in #inlude statement under certain conditions. Also removed 'snap' tag if not needed.
2023-09-05FLUID: increases readabilityMatthias Melcher
- removed some direct filename manipulation - central place to generate file names and paths - fixes command line filename override if no actual batch command is given
2023-08-26Fixes a bunch of typos in comments.Matthias Melcher
2023-07-19FLUID: RTTI improvements, 'is_a90' now const, apply RTTIMatthias Melcher
2023-07-17FLUID: restores g++98 compatibilityMatthias Melcher
I want enum classes, sigh.
2023-07-17FLUID: using symbols instead of integersMatthias Melcher
2023-07-14FLUID: fixes all overlapping widgets in all .fl filesMatthias Melcher
Also fixes an issue with multiple use of the same variable for different types of i18n.
2023-02-23Fl_String refactoring and extension (#683)Matthias Melcher
- add true unittest and Fl_String testing - interface and printout are similar to gtest without requiring external linkage. just run `unittest --core`. - new Fl_String API - extended API to fl_input_str and fl_password_str - co-authored-by: Albrecht Schlosser <albrechts.fltk@online.de>
2023-02-09FLUID: Fix memory leak (#672)Matthias Melcher
2023-01-26Fixing FLUID file corruption from issue #653 (#662)Matthias Melcher
Removing all globals in file writer (#653 ) Fix some static analyser complaints Valgrind: handle width==0 in GfxDrivers on Wayland and X11 Don't use `Fl_Input_::static_value`, it accesses previous buffer that may be deleted Project file write encapsulated, removing globals Encapsulating project file reader, removing states in glbals Project i/o increased source code readability
2023-01-01FLUID refactor and macOS warnings removed (#623)Matthias Melcher
P renamed to g_project class Project renamed to class Fluid_Project fixes macOS type cast warnings
2022-12-22Fix compilation on old gcc (#606)Matthias Melcher
* Fixing char* use in FLUID * Fixing const cast
2022-11-26Handle Fluid project settings better (#556)Matthias Melcher
Fix allocation bug in Fl_String
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-08avoid early include of Fl.H optionMatthias Melcher
2021-12-20GitHub #328: removed stray ';' in Fluid code generation.Matthias Melcher
2021-12-19STR 3289: Fluid i18n, gettext, catguts improvementsMatthias Melcher
Removed some unneeded code.
2021-12-17STR 3355: allow Unicode UTF-8 in source codeMatthias Melcher
This includes changes in the UI in Project Settings.
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-15#329 #318: Fixed Fluid indenting and trailing whitespaceMatthias Melcher
2021-12-11STR 3210: indentation is now controlled in one single position for all ↵Matthias Melcher
source and header files.
2021-12-10Fluid: clean up Doxyfile, fix two minor doxygen issuesAlbrecht Schlosser
Note: I "downgraded" this Doxyfile from 1.9.2 to 1.9.1 and edited all offending tags in the file for compatibility with 1.9.1 and 1.9.2. Older versions may issue warnings.
2021-12-09STR 3210: fixing indentation of Fl_Menu_Item cnd Widget allbacks.Matthias Melcher
also added and fixed a few comments STR 3210: fixed indenting of widget callbacks. Also fixed what is considered a 'name' (could still be improved). Also better formatting inlined functions in the header.
2021-12-08Fluid: restructuring and commenting.Matthias Melcher
tl;dr : making Fluid maintainable, no changes in code execution and logic. This is a pretty extensive restructuring of the Fluid source tree. It was neccessary because source and header files were getting much too big to handle. Many source files had no header, and many headers declared functions that were in diffrent source files. Reorganized much of the include statements. Added comments to some of the files. Added Doxygen configuration file for standalone Fluid docs. Tested everything by rebuilding Fluid .fl designs with the resorted version of Fluid.