Commit Graph

1251 Commits

Author SHA1 Message Date
Matthias Melcher
82d5679f9c Fix forgotten run_pdflatex call. 2025-04-23 15:41:32 +02:00
Matthias Melcher
2af2e1d586 Fluid: Backport update for documentation scripts
from 1.5 48e22d2, based on 678c850
2025-04-23 14:13:47 +02:00
Albrecht Schlosser
8ac2a99565 Fix "fully support ... own shared libraries" (#1238)
- If shared libraries are built, then fluid, fltk-options, and the
  "games" are linked against the shared FLTK libraries. On some
  platforms the static and the shared versions of fluid and
  fltk-options are built. The games are only built if
  FLTK_BUILD_TEST is enabled.

- The CMake 'install' target now installs the games (if built)
  and their man pages on all platforms (no matter if that is
  useful, for instance on Windows).

- On macOS 'CMAKE_INSTALL_RPATH' is set so *installed* programs
  automatically find their shared FLTK libraries. The "shared"
  versions of fluid and fltk-options got their own '.plist' files.
  This works for both the executables themselves as well as those
  included in bundles. There may be more to do on the macOS platform.

Backported from 'master' (1066b69c8e).
2025-04-21 22:00:35 +02:00
Albrecht Schlosser
709fdef10f Update version numbers to 1.4.3 2025-04-18 20:13:13 +02:00
Albrecht Schlosser
03dc76846d CMake: simplify fluid build
- define variable MAIN_FILES to avoid repetition
- make target_include_directories(fluid-lib) PUBLIC rather than PRIVATE

Backported and slightly modified from master,
  commit 61f132845b
2025-04-04 16:10:38 +02: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
Albrecht Schlosser
d85b67beac Fluid: update function_panel.fl from function_panel.cxx
Note: in commit a7328d940b
  "FLUID: Imporving method name `can_have_children()`"
  the file function_panel.cxx was edited w/o the corresponding
  fluid (.fl) file.

This commit fixes this, assuming the .cxx file was correct.
2024-10-20 20:03:09 +02:00
Albrecht Schlosser
d163ab1357 Make remaining 'XPM' images 'const' 2024-10-20 17:00:16 +02:00
Albrecht Schlosser
cb6ee39852 Update documentation
- fix missing doxygen version in PDF docs created by CMake
- remove unnecessary quotes ('...') from version numbers and
  Git revisions (previously added for debugging purposes)
- fix navigation links at the bottom of tutorial pages (HTML only)
- remove 'D. Gibson' from documentation headers on his request
2024-10-17 16:01:32 +02:00
Matthias Melcher
acf3037ae8 FLUID: make sure that dialogs are visible for snapshots 2024-10-17 14:32:42 +02:00
Matthias Melcher
c454930966 FLUID: Fixes uninitialized class member 2024-10-17 14:17:44 +02:00
Albrecht Schlosser
a6a0a65edf Update or remove version numbers, update copyright years
Note: one goal is to have to edit fewer version numbers in source
files for each release.

We may be able to generate some files by the build procedure (CMake)
to avoid editing them in the future (1.5.0 or later).
2024-10-15 20:42:26 +02:00
Albrecht Schlosser
ad422791f0 Update dependencies 2024-10-15 19:52:16 +02:00
Albrecht Schlosser
d589c05b17 Fix documentation typos and trailing whitespace 2024-10-15 18:59:28 +02:00
Matthias Melcher
9eb5f11c39 FLUID: Fixes file reading bug, introduces two weeks ago: #1078 2024-10-06 17:33:13 +02:00
Matthias Melcher
da20d8397d FLUID: Improved paste order option 2024-09-15 14:00:15 +02:00
Matthias Melcher
b9b2f5d10f FLUID; Minor cleanup and code docs. 2024-09-14 23:14:52 +02:00
Matthias Melcher
4ff85176c9 FLUID: Improved insertion point for duplicate
Make a better guess where nodes should go when duplicating
a branch of the scene graph
2024-09-14 23:04:27 +02:00
Matthias Melcher
e7f1247552 FLUID: type node placement in scene graph revised
- fixes copy/paste operation that would place pasted types wrong
- improves paste into folded and unfolded groups
- improves duplication of multiple types
- much improved placement of types that don;t fit at the
  requested position
- some more testing will follow in the next days
2024-09-14 01:10:41 +02:00
Matthias Melcher
e2b703e77d FLUID: formatting 2024-09-12 01:38:35 +02:00
Matthias Melcher
0ac0ec2aa3 FLUID: Eliminating two globals 2024-09-11 22:29:45 +02:00
Matthias Melcher
a7328d940b FLUID: Imporving method name can_have_children() 2024-09-11 15:00:48 +02:00