summaryrefslogtreecommitdiff
path: root/fluid
AgeCommit message (Collapse)Author
2019-12-24Fluid needs to include text and binary files from within the .fl source ↵Matthias Melcher
directory. Fixed including binaries and text to use the same path as the source code. This is consistent with the way the file is selected in the corresponding dialog box. Since the old behavior was false, I don't think this will break any existing projects.
2019-09-15X11 platform: use Gnome printer dialog when the GTK library is available at ↵ManoloFLTK
run-time The code to determine whether the GTK library is available is now in Fl_X11_System_Driver::probe_for_GTK() called both by Fl_Printer::begin_job() and Fl_Native_File_Chooser. New Fl::option OPTION_PRINTER_USES_GTK allows to deactivate use of the Gnome print dialog. Minor change in Fl_Native_File_Chooser: GTK version 3 is searched before version 2, whereas the search order was the opposite before.
2019-08-29Fix another compiler warning (STR 3529)Albrecht Schlosser
fluid/template_panel.{fl|cxx}: .../fluid/template_panel.cxx:261:44: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] Solution: increase buffer size from 1024 to 1400.
2019-08-29Fix one compiler warning (STR 3529)Albrecht Schlosser
fluid/undo.cxx: fix warning [-Wformat-truncation=] This fix also removes some static variables and simplifies the function undo_filename(). It does no longer copy the full filename string back to a given buffer. Now it returns a pointer to the internal filename string. Summary: fix compiler warning, save memory, simplify a function, and speed up code by not copying data unnecessarily.
2019-06-22Update dependency systemAlbrecht Schlosser
Try to make `make depend' independent of locale.
2019-04-04Fix potential crash in fluid (issue #14)Albrecht Schlosser
trimclassname() would crash if it was given a NULL pointer. Now a NULL pointer is returned instead. Fixes #14
2019-03-25Update dependenciesAlbrecht Schlosser
2019-02-16Fix Fluid batch mode with Fl_Simple_Terminal.Matthias Melcher
Fl_Simple_Terminal would connect Fluid to the Display in batch mode. We fix that by creating an Fl_Text_Display instead.
2019-02-10Fix Makefile to produce an app bundle under macOSManoloFLTK
2019-02-05Fixed all Pixmaps to be '*const' (STR #3108).Matthias Melcher
2019-02-02Added widget visibilit indicator to Fluid (STR #2669).Matthias Melcher
2019-02-01Reorganized Fluid Template feature (STR #3336).Matthias Melcher
2019-02-01STR #3445: Duplicating Widget Class in Fluid no longer crashes.Matthias Melcher
2019-01-18Update dependencies (now sorted)Albrecht Schlosser
The main dependencies (makedepend files) are now sorted alphabetically with one dependency per line.
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.
2019-01-18Update (remaining) dependenciesAlbrecht Schlosser
2019-01-14Added Fl_Simple_Terminal to Fluid.Matthias Melcher
2019-01-14STR 3460: Fluid menu item typesMatthias Melcher
Added pulldown menus to create radio style and checkbox style menu items without going through the Class menu.
2019-01-14STR 3460: shell window remembers positionMatthias Melcher
The Fluid window to display the execute shell command result is now reopened where it was previously closed.
2019-01-13STR 3460: remember cursor position in code editorMatthias Melcher
When editing code in Fluid, the COde_Type class will now remember the last cursor position and reopen the editor dialog at that position (not for external editor).
2019-01-13STR 3460: removed nanny code for Fluid commentsMatthias Melcher
When writing comments, FLuid would check if the comment was C compatible. However, comments don;t need to comply to C syntax. We could check for the "*/", but is that really needed?
2018-12-27Fixing some minor lint, found by Pavel Shlyak using PVS studioMatthias Melcher
2018-12-04Fix 'fluid.app' for case sensitive macOS file systems.Albrecht Schlosser
Change 'Fluid.app' to 'fluid.app'. Also changed documentation and (https) links in modified files.
2018-10-22Add missing include file <string.h>.Albrecht Schlosser
Preparing for another commit... git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@13081 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-10-09Fluid inlined text data must be 'const'Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@13065 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-10-09Avoiding crash when accessing free'd memory.Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@13064 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-08-30Update dependencies and fluid files, fix typos.Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@13036 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-08-27MacOS X: Fixed Fluid CMake to use the included Info.plist instead of the ↵Matthias Melcher
CMake template. This will teach Fluid to accept .fl and .fld files again. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@13029 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-08-27Fixed indenting and some wording in previous changes to FluidMatthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@13028 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-08-25Beautified some of the code. Removed size calculation error. Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@13027 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-08-25Added new functionality to Fluid: the 'binary data' type can now include ↵Matthias Melcher
text files as well as binary files into the source code. There is an additional check box in the dialog. Terminology is now "inlined data" instead of "binary data". Texts were modified to reflect the changes. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@13026 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-06-23Doxygen only: fixed all block comments starting with an asterisk to ↵Matthias Melcher
space-only, fixed doxygen keywords prepended with @ to use a backward slash instead. No code was changed. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12970 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-05-01fluid: update copyright year.Albrecht Schlosser
This is particularly useful for fluid/about_panel.{fl,cxx,h}. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12888 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-05-01Update fluid (.fl) files.Albrecht Schlosser
src/Fl_Help_Dialog.fl: Add one missing declaration. Other files: update (fluid -u) and update source (fluid -c). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12887 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-04-12Remove unnecessary dependency on FL/Fl_Rect.H.Albrecht Schlosser
Fl_Rect.H is no longer included by Fl_Group.H to avoid unnecessary dependencies on Fl_Rect.H. Currently it is only needed to access the array returned by the protected method bounds(). Also clarified documentation. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12827 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-04-10Remove unused variable, update dependencies.Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12826 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-03-02Android: should build and runMatthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12701 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-03-02More Android changes.Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12699 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-02-09Replace "WIN32" with "_WIN32" or "Windows".Albrecht Schlosser
Replace compiler/preprocessor/platform macro "WIN32" with "_WIN32". Replace "WIN32" in text and documentation with "Windows". Replace "MSWindows" with "Windows". To do: README.Windows.txt (and maybe other documentation as well) needs updates. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12655 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-01-31Replace FL/x.H with FL/platform.H - step 2 (STR #3435).Albrecht Schlosser
This second step replaces FL/x.H with FL/platform.H in all source files. Dependencies have been adjusted as well. This commit completes the replacement of FL/x.H with FL/platform.H. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12641 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-01-31Replace FL/x.H with FL/platform.H - step 1.Albrecht Schlosser
This first step replaces FL/x.H with FL/platform.H but keeps a small FL/x.H that #include's FL/platform.H for backwards compatibility. Documentation sources in documentation/src/*.dox have been fixed, but references in other source files need to be fixed in another step. Dependencies have been adjusted. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12640 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-11-18Fix illegal memory access after free when closing fluid (STR #3427).Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12567 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-11-18Fix crash when closing fluid with Fl_Table (STR #3427).Albrecht Schlosser
Many thanks to Chris for the patch! git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12565 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-11-12Replace chdir() with new wrapper fl_chdir().Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12558 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-10-28Fixes STR# 3420; fluid crash on certain static functions.Greg Ercolano
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12531 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-10-15Replace remaining calls to getcwd() with fl_getcwd().Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12501 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-10-15Replace remaining calls to access() with fl_access().Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12499 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-10-15Replace inappropriate usage of __WATCOM__ with _MSC_VER.Albrecht Schlosser
Note: this is in parts temporary since some of the functions redefined for Visual Studio will be replaced with fl_*() functions in later commits. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12498 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-10-15Replace remaining calls to unlink() with fl_unlink().Albrecht Schlosser
Tested under Linux, MinGW, and Visual Studio 2015. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12496 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-10-13Update dependencies.Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12493 ea41ed52-d2ee-0310-a9c1-e6b18d33e121