summaryrefslogtreecommitdiff
path: root/fluid/Makefile
AgeCommit message (Collapse)Author
2025-03-06Remove autotools (configure/make) supportAlbrecht Schlosser
2024-08-10Configure/make: Quote variables that may contain spacesmid-kid
This allows installing FLTK to directories that contain spaces.
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
2023-12-20Make the 'Forms' compatibility library 'fltk_forms' optionalAlbrecht Schlosser
This library is no longer needed in FLTK itself. There is only one demo program (test/forms.cxx) that uses it if it is built. The demo program displays a message if fltk_forms is not available. The default is 'enabled' for backwards compatibility but this may be changed to 'disabled' in a future version.
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-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-21Fix fluid build with configure/make + dependenciesAlbrecht Schlosser
2023-08-29FLUID: separate SourceView panel into its own fileMatthias Melcher
hereby removing almost 200 lines of unrelated code form fluid.cxx and making the location of the panel code more obvious. Needs a make depend on Linux.
2023-07-19Fix missing (new) source file in fluid and dependenciesAlbrecht Schlosser
New file: Fl_Button_Type.cxx
2023-03-18Fix and update alignment #346 (#701)Matthias Melcher
* interactive layout alignment rewritten * interface for new alignment rules * new alignment dialog box * user defined layout rules added * layout rules can be stored in projects, settings, and external files * Valgrind verification
2023-02-15Move class Fl_Shortcut_Button from FLUID to core (#677) (#680)Matthias Melcher
2022-09-10New configure setting "--enable-wayland --disable-x11" to build pure Wayland ↵ManoloFLTK
platform.
2022-08-29Make hybrid Wayland/X11 platform.ManoloFLTK
2022-03-04Add the Wayland platform to FLTK 1.4 - continued.ManoloFLTK
2021-12-13#322: remove Fluid's dependency on fltk_forms.Matthias 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-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.
2021-12-04Fluid support for high res graphicsMatthias Melcher
Changing all pixmaps to Hi DPI Fixed wrong tooltip Fixed misleading "invisible" indicator
2021-05-13Refactor macOS bundle generation to avoid "quarantine"Albrecht Schlosser
macOS Big Sur 11.3 introduced a new "security feature" such that app bundles created from existing bundle templates in downloaded files (tar distibutions, expanded) could no longer be executed without unsetting the "quarantine" attribute. This commit fixes this by creating all bundles from scratch. Known *workaround* for older tarballs and snapshots: $ xattr -d -r com.apple.quarantine xxx.app
2020-11-01Rewrite CodeEditor syntax highlighting for issue #135Greg Ercolano
2020-09-16Fix fluid output for international languagesAlbrecht Schlosser
The fluid version and other values in .fl files are written as float values which means that locale settings apply since we enabled the locale with "setlocale()". Update the "rebuild" target in fluid and src folders to update the fluid (.fl) files and related {.cxx|.h} files.
2020-08-20Fluid: when linking include LDFLAGS orderMichael Dickens
LDFLAGS often contains "-L*" flags as provided outside the build to tell the linker where to search for libraries. If these are included -before- the ones used for internal linkage as found in LINKSHARED, and FLTK is already installed on the system, then the already-installed FLTK libraries will be found before those internal to the build. Moving the LDFLAGS after LINKSHARED generally solves this issue. Worst case the move won't hurt linking since all of the flags are still included in the link command.
2020-07-06Remove $Id$ tags, update URL's, and moreAlbrecht Schlosser
- remove obsolete svn '$Id$' tags from all source files - update .fl files and generated files accordingly - replace 'http://www.fltk.org' URL's with 'https://...' - replace bug report URL 'str.php' with 'bugs.php' - remove trailing whitespace - fix other whitespace errors flagged by Git - add and/or fix missing or wrong standard headers - convert tabs to spaces in all source files The only relevant code changes are in the fluid/ folder where some .fl files and other source files were used to generate the '$Id' headers and footers.
2020-06-13Update dependenciesAlbrecht Schlosser
Change sort order using -f (--ignore-case): fold lower case to upper case characters
2019-06-22Update dependency systemAlbrecht Schlosser
Try to make `make depend' independent of locale.
2019-02-10Fix Makefile to produce an app bundle under macOSManoloFLTK
2019-01-18Sort makedepend files for better comparabilityAlbrecht Schlosser
The intention is to improve (and minimize) diffs when dependencies are changed and `make depend' is executed. (1) use `makedepend ... -w 20' (2) `sort -u' the resultant file with some more "magic". (1) makes sure that there is only one dependent file per line, (2) makes lines unique since `makedepend' can output one file many times which is redundant and makes diffs hard to read. This uses 'mv', 'grep', and 'sort' in all FLTK library Makefiles. Image libraries are intentionally left for a later update.
2017-02-15Fluid: Fix platform-specific build system (CMake + configure).Albrecht Schlosser
Don't compile "empty" file (avoid warning: empty translation unit). Add '-u' (update) command switch to 'make rebuild'. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12173 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-07-18Adds external editor capability to fluid for all platforms.Greg Ercolano
Solves STR#3213. [CORRECTED] git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11818 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-02-27Fix compiler warnings (STR #2988) - final commit.Albrecht Schlosser
This commit includes all fixes from branch-1.3 (svn r 11243) and additional fixes for warnings that crept in during the porting efforts, particularly C++ ("//") comments in C and included header files, and some more. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11246 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-02-27Fix Makefiles (particularly target 'clean').Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11237 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-09-21Fixes STR# 2973: collection of Sun compiler fixes to Makefiles.Greg Ercolano
o Adds $(CXXFLAGS) to $(CXX) commands o Implements older, more backwards compatible Bourne shell test(1) syntax for equality tests (= vs ==) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9981 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-07-19Modifications to all LGPL headers for STR #2685.Greg Ercolano
(to clarify static exception LGPL by changing license references) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8864 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-20Removed IDE support from Fluid because it never got finished and seemed more ↵Matthias Melcher
like a race against windmills. I may pick this up again later - maybe. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8086 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-05-07Added 'rotated_text' to the Fluid IDE setup. It should probably be in 'Demo' ↵Matthias Melcher
as well. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7595 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-12Added ide generating code to command line version of Fluid.Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7484 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-01-01Changed the copyright to 2009 for header files. Still todo: src and test ↵Matthias Melcher
directory. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6614 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-29In the configuration setp, LIBNAME (which contains the local path of the ↵Matthias Melcher
library as seen from the src directory) was used wrong. I added LIBBASENAME, the true library name without the path, and replaced LIBNAME wherever it was used wrongly. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6611 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-07-13Make --post create a basic Mac OS X application bundle with a shell scriptMichael R Sweet
that executes the bundled program. Change the defaults for Quartz, threading, large file support, XDBE, Xft, and Xinerama to "yes". Remove the old Mac OS X resource fork file. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6142 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-02-26STR 1883: Attempt to fix installation of binaries in .app bundle on ↵Matthias Melcher
platforms other than OS X. Must be tested with Cygwin and on Linux! git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6051 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-02-25STR 1795: applied patch to fix Icon path settings. Will try on my Linux ↵Matthias Melcher
machine next. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6045 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-03-06STR #1623: restored the unloved POSTBUILD command because the reulting ↵Matthias Melcher
executable is still better than the automatically foregrounding one. The 'right thing' is to create a bundle anyways. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5728 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-06Use INSTALL_BIN instead of CP for Mac OS bundles...Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5665 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-06Use install command instead of CHMOD, CP, and MKDIR.Michael R Sweet
Drop all POSTBUILD stuff as it is no longer used. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5663 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-10-07Fix install-linux target in test directory.Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5511 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-08-30Fixed typo in 'desktop-osx' install. Commented out unused variable.Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5384 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-07-25Fix use of LDFLAGS and make install depend on all target...Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5264 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-06-19Add --with-archflags option to configure script, and use it in the rightMichael R Sweet
places. Update changes file. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5216 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-04-28STR #1169: Fixed 'make distclean' to remove binaries inside MacOS app packagesMatthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5040 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-01-15Fix OSX make and install stuff.Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4759 ea41ed52-d2ee-0310-a9c1-e6b18d33e121