summaryrefslogtreecommitdiff
path: root/fluid
AgeCommit message (Collapse)Author
2020-06-24Fix static code analyzer warningsAlbrecht Schlosser
Note: there's more to do ...
2020-06-19Added fluid command line '-d' debug flagGreg Ercolano
2020-06-18Fix problem with Windows pids being unsigned DWORDsGreg Ercolano
Had to get away from overloading PIDs with error codes, so now error codes are returned separately from the PID.
2020-06-13Update dependenciesAlbrecht Schlosser
Change sort order using -f (--ignore-case): fold lower case to upper case characters
2020-05-24Fix fluid undo/redo menu activation and deactivationAlbrecht Schlosser
(1) fix typo in recent commit (2) deactivate undo/redo menus on startup and after reset Fixes issue #84
2020-05-24Fix broken undoGreg Ercolano
Replaced hardwired index#s for undo/redo menu items with dynamic lookup.
2020-04-08Fix documentation URL'sAlbrecht Schlosser
2020-04-06Update copyright and FLTK site URLAlbrecht Schlosser
All .fl files and generated files have been updated.
2020-04-06Generate copyright year in fluid's about_panelAlbrecht Schlosser
Copyright year "1998-XXXX" is now generated from current year. This avoids editing the source code every year.
2020-03-11Remove CodeWarrior "support"Albrecht Schlosser
Metrowerks CodeWarrior was an ancient macOS compiler (discontinued since 2005) that defined the macro __MWERKS__. Code using this macro and several comments have been removed.
2020-03-08Fix a memory leak in fluidAlbrecht Schlosser
Also fixed two typos in comments.
2020-02-11Fix potential null pointer dereferences in fluidAlbrecht Schlosser
2020-02-11Fix static analyzer errors and warningsAlbrecht Schlosser
Fix several bugs found by scan-build (more to come). https://clang-analyzer.llvm.org/scan-build.html See also current travis-ci build log with static analyzer, e.g. https://travis-ci.com/fltk/fltk/jobs/285426415 (link may become invalid in the future).
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