summaryrefslogtreecommitdiff
path: root/src/Fl_String.cxx
AgeCommit message (Collapse)Author
2025-05-11Remove obsolete class Fl_StringAlbrecht Schlosser
Note: it's still in branch-1.4 and in git history for reference
2025-03-07Fl_String is now just an alias for std::string.Matthias Melcher
All mentions of Fl_String will be replaced with std::string and the Fl_String implementation will be removed.
2024-01-10Add Fl_String not-equal testGreg Ercolano
2023-12-01Adds some possible NULL references and small fixesMatthias Melcher
2023-10-31Move the Fl_String class to the DriverDeveloper Doxygen groupManoloFLTK
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-09-05Adds some convenience methods.Matthias Melcher
fl_filename_absolute can no generate a path using arbitrary source paths. Fl_Menu_ adds find_item_with_user_data and find_item_with_argument Fl_String adds find(string, start)
2023-03-23Improve Fl_Cairo_Window documentation (typos + indentation)Albrecht Schlosser
Also fix a doxygen warning in Fl_String.
2023-03-02Fix typos in Doxygen documentationManoloFLTK
2023-03-01Improved Fl_String capacity incrementsMatthias Melcher
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-06Fix "\todo Complete documentation of class Fl_String"ManoloFLTK
Also - fix "\todo Unicode?" in Fl_Text_Display::display_insert() after verification - fix "\todo [Internal] The user_data value must be implemented using \p fl_intptr_t" because that's now in place.
2023-01-13Improve debug output of Fl_StringAlbrecht Schlosser
- add newline (\n) before string output - remove quotes (')
2022-12-22Fix compilation on old gcc (#606)Matthias Melcher
* Fixing char* use in FLUID * Fixing const cast
2022-12-20Clean up class Fl_String (part of issue #601)Albrecht Schlosser
- remove static variable 'string_count' - improve and document methods debug() and hexdump() This commit does not resolve issue 601 but removes some development leftovers. Methods debug() and hexdump() left for debugging as requested.
2022-11-26Handle Fluid project settings better (#556)Matthias Melcher
Fix allocation bug in Fl_String
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).
2021-12-04Rename src/Fl_String.cxx to src/Fl_String_class.cxxAlbrecht Schlosser
Sorry for the noise, still fixing a name class on case-insensitive file systems (macOS and Windows).
2021-12-04Rename FL/Fl_String.H to FL/Fl_String_class.HAlbrecht Schlosser
The previous name existed already with different case (fl_string.h) in the FL folder which broke the build on macOS and Windows. This may be a temporary fix - until I find a better way.
2021-12-04Add minimal version of class Fl_StringAlbrecht Schlosser
This class will be used in fl_input_str() and fl_password_str(). Todo: add missing documentation ...