Greg Ercolano
70a104131a
Solve Mac 10.10.5 fluid build errors ( #1245 )
2025-04-05 14:53:24 -07:00
Albrecht Schlosser
61f132845b
CMake: simplify fluid build
...
- define variable MAIN_FILES to avoid repetition
- make target_include_directories(fluid-lib) PUBLIC rather than PRIVATE
2025-04-04 15:54:36 +02:00
Matthias Melcher
bd9d1bc038
Fixes a couple of compiler warnings on AppleClang.
2025-03-30 00:38:10 +01:00
Albrecht Schlosser
80c73b508c
Fluid documentation: fix image name "main_window.png"
...
Remove prefix "Fluid." from generated image name.
2025-03-23 15:04:40 +01:00
Matthias Melcher
51a55bc736
Fluid: restructuring and rejuvenation of the source code.
...
* Add classes for application and project
* Removed all globals from Fluid.h
* Extracting args and project history into their own classes
* Moving globals into Application class
* Initialize values inside headers for some classes.
* Undo functionality wrapped in a class inside Project.
* File reader and writer are now linked to a project.
* Avoid global project access
* Nodes (former Types) will be managed by a new Tree class.
* Removed static members (hidden globals) form Node/Fl_Type.
* Adding Tree iterator.
* Use nullptr instead of 0, NULL, or 0L
* Renamed Fl_..._Type to ..._Node, FL_OVERRIDE -> override
* Renaming ..._type to ...::prototype
* Splitting Widget Panel into multiple files.
* Moved callback code into widget panel file.
* Cleaning up Fluid_Image -> Image_asset
* Moving Fd_Snap_Action into new namespace fld::app::Snap_Action etc.
* Moved mergeback into proj folder.
* `enum ID` is now `enum class Type`.
2025-03-16 17:16:12 -04:00
Albrecht Schlosser
f99fdcdc71
Fix fluid documentation generation
...
std::string doesn't allow nullptr as input string
2025-03-10 18:15:21 +01:00
Albrecht Schlosser
8838e976a0
More (mostly) documentation updates for FLTK 1.5.0
...
All files: remove autoconf/configure related stuff, update links.
- README.txt: describe prerequisites, provide generic instructions
on how to use CMake to build FLTK
- test/demo.cxx: remove code used for configure/make build
- test/CMakeLists.txt: remove obsolete 'target_compile_definitions()'
2025-03-10 15:43:12 +01:00
Matthias Melcher
ff62ed249e
Fluid: one small fix.
2025-03-08 00:21:12 +01:00
Matthias Melcher
15ad447e2a
Fluid: last incremental chage, restructuring
2025-03-08 00:14:27 +01:00
Matthias Melcher
ca22660bbb
Fluid: last incremental change: restructuring
2025-03-08 00:14:27 +01:00
Matthias Melcher
1186b4e255
Making fl_filename_... public for std::string.
...
New functions append "_str" to the function name to
avoid ambiguities when calling them. So
'char *fl_filename_name(const char *)' becomes
'std::string fl_filename_name_str(const std::string &)'
2025-03-07 20:26:03 +01:00
Matthias Melcher
70e5dc23ae
Cleaning up widget browser, renamed to Node_Browser.
2025-03-07 19:52:54 +01:00
Matthias Melcher
c3571838cb
Fluid: Rebuilding most of the widget directory.
...
One file per logical unit.
Namespaces.
Non-static data member initializers to never
get an uninitialized field again.
2025-03-07 18:54:24 +01:00
Matthias Melcher
d449a3d9bf
Fixes for icon path and Windows includes.
2025-03-07 16:46:39 +01:00
Matthias Melcher
1985aefc0e
Restructuring Fluid source files.
2025-03-07 16:34:48 +01:00
Matthias Melcher
6acda521cc
Removes the remaining references to Fl_String.
...
Still to do: rename fl_filename... to fl_filename..._str
and introduce into core library.
2025-03-07 01:15:57 +01:00
Matthias Melcher
063ff67fcd
Fixing a couple of warnings.
2025-03-07 00:59:25 +01:00
Matthias Melcher
9cfd932d3a
Replce Fl_String in Fluid with std::string.
...
Also fix for Linux.
2025-03-07 00:48:18 +01:00
Matthias Melcher
3068c7a0af
Fl_String is now just an alias for std::string.
...
All mentions of Fl_String will be replaced with std::string
and the Fl_String implementation will be removed.
2025-03-07 00:12:40 +01:00
Albrecht Schlosser
191b33e0de
Update version numbers to 1.5.0
2025-03-06 18:16:03 +01:00
Albrecht Schlosser
e2ca1a39c8
Remove autotools (configure/make) support
2025-03-06 17:12:52 +01:00
Albrecht Schlosser
02af6a57eb
Bump version numbers to 1.4.2
2025-02-21 16:25:39 +01:00
Albrecht Schlosser
eaf5fb8d11
Fix buffer overflow warning [-Wstringop-truncation]
...
Note: this fixes the warning, but a better fix would be to use either
strlcpy(), fl_strlcpy(), or a string type in 1.5.0 or higher.
2025-02-19 17:22:16 +01:00
Albrecht Schlosser
904039c4c6
Fix typos and trailing whitespace
...
Also replace 'MSWindows' with 'Windows' where appropriate, leaving
only old documents like README files from 1.3 and older as-is.
2025-02-05 12:34:39 +01:00
Matthias Melcher
4ce09ae47a
Fluid: Fix file history text.
2024-12-28 17:23:55 -05:00
Matthias Melcher
050cbabdfe
Fluid: Rename Stratgy constants to comply with CMP.
...
Capitalized constants.
Added flag to indicate creation by user or file.
Removed global variable 'reading_file'.
2024-12-27 20:56:10 -05:00
Matthias Melcher
89466c2d37
FLUID: Minor fix and docs.
2024-12-22 11:45:51 -06:00
Matthias Melcher
7d49c02803
FLUID: fix one more warning.
2024-12-21 12:26:20 -06:00
Matthias Melcher
17d300215b
FLUID: Remove warnings.
2024-12-21 12:22:13 -06:00
MatthiasWM
4d8a0df312
FLUID: Improve path handling on Windows.
2024-12-21 12:14:31 -06:00
Matthias Melcher
1f25ee82b0
FLUID: Improve filename list in main menu.
2024-12-21 11:22:07 -06:00
Matthias Melcher
18a7a392a8
fluid: alternative version format
2024-12-10 01:35:44 +01:00
Matthias Melcher
9a80eeccb4
FLUID: command line argument -v shows fltk version at build time
2024-12-10 01:35:44 +01:00
Albrecht Schlosser
eb4d8d4957
Update more fluid and generated files
...
... after output of trailing whitespace has been fixed.
2024-12-09 22:41:45 +01:00
Matthias Melcher
ead9078bc3
FLUID: avoid trailing spaces in empty comment lines ( #1161 )
2024-12-09 21:53:32 +01:00
Albrecht Schlosser
fe8177ea2c
Update Fluid (.fl) files for release 1.4.1
2024-12-09 20:46:01 +01:00
Albrecht Schlosser
99a6286288
Bump version numbers for release 1.4.1
...
To do: update CHANGES.txt with real info.
2024-12-09 20:46:01 +01:00
Matthias Melcher
d1ba7fbf50
Giving access to some Fl_Text_Display member variables ( #1153 )
...
And typos in FLUID source code docs.
2024-12-07 17:31:14 +01:00
Matthias Melcher
e18926ec76
FLUID: Fixes more places to clear cached pointers.
2024-12-04 16:05:39 +01:00
Matthias Melcher
b315422a37
FLUID: clearing caches browser values ( #1152 )
2024-12-04 15:44:39 +01:00
Matthias Melcher
fcae10e296
FLUID: Fixes default settings tab.
2024-12-04 14:49:14 +01:00
Matthias Melcher
7d964d92ae
FLUID: minor improvemnets to buffer handling ( #1152 )
...
The described crash can not be reproduced. The changes
improve the stability of the call that causes the crash.
2024-12-04 14:22:21 +01:00
Matthias Melcher
8df4f8e398
FLUID: avoid generating undo un spurious relayout events, #1152
2024-12-03 20:37:28 +01:00
Matthias Melcher
13bb611b4e
FLUID: Fixing Project Modflags when adding shell commands.
2024-12-01 16:44:04 +01:00
Matthias Melcher
cef968e8a0
FLUID: avoiding integer overflow warning.
2024-11-21 09:41:17 +01:00
Matthias Melcher
d767b8ceb8
FLUID: autodoc image memory allocation fix.
2024-11-21 01:30:28 +01:00
Matthias Melcher
6df2219aa0
FLUID: fixing autodocs file leak and memory leak
2024-11-19 23:27:03 +01:00
Albrecht Schlosser
eb545c981b
Fluid: replace 'FL_WINDOW+1' with 'FL_DOUBLE_WINDOW'
...
Note: 'FL_DOUBLE_WINDOW' *is* currently defined as 'FL_WINDOW+1'.
This commit doesn't change real code but prevents potential bugs
in the future if one of these constants would be changed.
2024-10-24 17:56:51 +02:00
Matthias Melcher
2228ec22d7
FLUID: Adds missing code for Grid and Flex live: #1092
2024-10-22 13:49:48 +02:00
Matthias Melcher
fb5c652200
FLUID: quick fix for live preview of Grid: #1092
...
- Grid Type live preview support was not implemented
- this is not a final fix, but just to avoid a crash
- additional work needed for Flex and Grid
2024-10-22 12:41:48 +02:00