Commit Graph

43 Commits

Author SHA1 Message Date
Matthias Melcher 08c69a548c STR 3442: changed .cxx file, but not .fl 2021-12-13 18:17:07 +01:00
Matthias Melcher 1c962bf5e2 STR 3210: indentation is now controlled in one single position for all source and header files. 2021-12-11 03:40:07 +01:00
Matthias Melcher 16dae3ea06 Fluid: restructuring and commenting.
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-08 15:52:15 +01:00
Albrecht Schlosser f09e17c3c5 Remove $Id$ tags, update URL's, and more
- 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-07-06 20:28:20 +02:00
Albrecht Schlosser 21fb8725c6 Generate copyright year in fluid's about_panel
Copyright year "1998-XXXX" is now generated from current year.
This avoids editing the source code every year.
2020-04-06 20:02:42 +02:00
Albrecht Schlosser e70733b46f fluid: update copyright year.
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-01 11:08:38 +00:00
Albrecht Schlosser 90f6c8ee26 Update copyright year(s).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12282 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-06-29 18:12:57 +00:00
Albrecht Schlosser eede707852 Update fluid files and copyright.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11956 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-09-20 13:31:38 +00:00
Albrecht Schlosser 00dd296ff2 Bump version numbers for next minor release: FLTK 1.4.0.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11088 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-01-30 00:56:42 +00:00
Albrecht Schlosser c9d8e0feaa Update fluid .fl files and generated code - remove trailing white space.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10783 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-07-09 02:09:33 +00:00
Albrecht Schlosser 0f45a7adf5 [Version 1.3.4] Update version numbers - hopefully complete.
Note to devs: if I missed something, please mark follow-up commits with
[Version 1.3.4] so we can find the necessary commits for version updates.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10612 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-03-10 01:41:55 +00:00
Albrecht Schlosser fd04b88260 Fix regression introduced in svn r10331.
Didn't build in Windows IDE projects because of missing snprintf().


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10420 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-10-30 17:24:57 +00:00
Albrecht Schlosser aef482198e Bump version numbers to 1.3.3.
All fluid .fl files have been rewritten with fluid 1.3.3 and may differ
somehow, but there are no significant changes.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10353 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-10-05 00:03:27 +00:00
Albrecht Schlosser de3fd7574f Generate version number in fluid's about panel automatically.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10331 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-22 18:22:02 +00:00
Ian MacArthur eaa67248a7 Typo: It turns out that when we stepped the version number up to
1.3.2, we didn't change the hard coded value in fluid's about_panel.

Though:
Why is this value hard-coded anyway? Should fluid not be picking
that up from Enumerations.h at build time, or something?



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9827 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-02-20 10:27:47 +00:00
Matthias Melcher 8701434312 Upgrade version number to 1.3.1
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9707 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-11-06 21:13:54 +00:00
Greg Ercolano 4f4a8fc3c7 Modifications to all LGPL headers for STR #2685.
(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
2011-07-19 04:49:30 +00:00
Matthias Melcher fe25f19767 Adding embedded documentation to Fluid if installed odcs are not found. Falls back to the internet if that does not exist either. Also, adds JPEG and PNG images to the Shared Image list if they were loaded from memory - see example use in fluid.cxx which loads and embedded html document containing an embedded PNG image.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8306 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-24 17:04:22 +00:00
Albrecht Schlosser 0f42da625a Fixed XFT layout problems in fluid/about_panel.fl (STR #2165) and copyright
year. This is far from a complete solution for STR 2165, but it fixed the
most prominent issue (about_panel). It's done be enlarging some boxes and
the whole window.
M    fluid/about_panel.cxx


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8144 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-30 16:17:49 +00:00
Greg Ercolano 4327734e69 More copyright 2010 mods.
Used: vi `grep -r 'Copyright .*Spitzak' . | grep -v 2010 | grep -v '/\.svn' | cut -d: -f1`


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7913 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-29 18:18:27 +00:00
Matthias Melcher 167d767e0f Changed the copyright to 2009 for header files. Still todo: src and test directory.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6614 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-01-01 16:11:32 +00:00
Matthias Melcher 4e8e8b9f02 More Doxygen comment support for Fluid.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6302 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-18 21:11:28 +00:00
Matthias Melcher 7d013249f7 First checkin simply updating a few version numbers and copyright dates
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6086 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-03-27 21:38:44 +00:00
Michael R Sweet b4c1d3ef03 Implement new "gtk+" scheme which provides a Bluecurve look-n-feel.
Fix size and position of dialog controls in FLUID to match the HIG.

Add "GTK+" scheme to the list of selectable schemes in FLUID.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5438 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-09-17 14:58:25 +00:00
Michael R Sweet f7305675c4 More copyright updates.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4748 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-01-15 02:26:54 +00:00
Michael R Sweet 81bd60b47d More UI cleanup.
fluid/*.fl:
    - Go through all of the UIs and make sure they conform to the
      UI guidelines.

fluid/fluid.cxx:
    - Change fl_ask() and fl_choice() to use the "Save"/"Don't
      Save" and similar button labels instead of "Yes" and "No",
      per UI guidelines.

fluid/factory.cxx:
fluid/Fl_Type.h:
    - Make sure that widget and type names are capitalized.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4130 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-03-19 08:38:21 +00:00
Michael R Sweet 8fcd08ffaa Tweak 1.1.x FLUID some more...
fluid/about_panel.*:
    - Finish cleanup of about dialog.

fluid/comments.h:
    - Change default FLTK header comment to refer to the STR
      page instead of fltk-bugs (will update the CMP
      accordingly)

fluid/fluid.cxx:
    - Update all menu items that open a window to have "..."
    - Change overlays/widget bin on/off to "Toggle foo"
    - Add a divider after toggle items.

fluid/makedepend:
    - Update FLUID dependencies so that changes to comments.h
      will cause an rebuild of the affected files.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4125 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-03-17 07:11:57 +00:00
Michael R Sweet fb820bcf23 Add icon images (still need to update OSX icon file...)
Update FLUID about window to use new icon and clean up layout.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4103 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-03-10 12:23:43 +00:00
Michael R Sweet 7cad39d3ef Start working on a new FLUID icon for desktop integration...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4098 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-03-10 04:15:17 +00:00
Matthias Melcher fc1a4cf809 Added a new Type to fluid called 'Comment' to be used for standardized Copyright notices and other comments throughout the source code.
- simply add the 'Comment' type from the 'New' menu or the Widget Bin
- comments in the very first position will be added at the very beginning of the source file or header. Comments at the end are at the very end in source and headers as well.
- if the users enters simple text, FLUID will add '// ' in front of every line. If a line already starts with '//' or a block starts with '/*', the text will be copied verbatim.
- text can be loaded from files
- text can be stored in a database and quickly retrieved later via a pulldown menu. The pulldown menu is customizable.

Enjoy!

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4092 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-03-09 21:26:53 +00:00
Michael R Sweet 23bb059065 Watcom fixes (STR #584, STR #594, STR #595)
Fixed library include order when building DSOs on MacOS X (STR
#596)

fl_xid() could cause a WIN32 application to crash (STR #560, STR
#576, STR #618)

Fl_Browser::remove_() removed the item from the list before
computing the item height, which caused problems with some
programs (STR #613)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3897 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-11-20 03:19:59 +00:00
Michael R Sweet a3d0905c9e Copyright updates and prep for 1.1.5rc1.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3391 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-04-11 04:39:01 +00:00
Michael R Sweet 4e6a41e2cd Bump to 1.1.5rc1...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3100 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-09-09 15:15:18 +00:00
Michael R Sweet 29240895e2 Bump version number and copyright year in FLUID about panel...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2954 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-03-26 04:12:16 +00:00
Michael R Sweet 50274f8d85 Update copyright in FLUID "about" window.
Update fltk-config to support all C++ file extensions.

Make background of FLTK logo transparent.

Disable overlays if the scheme is set.

Fix table cell formatting in Fl_Help_View.  Still need to resolve an
issue with column widths vs. table widths.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1965 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-02-20 13:02:27 +00:00
Michael R Sweet 64b4177ef4 Copyright updates...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1903 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-01-01 15:11:33 +00:00
Michael R Sweet 72b56edc29 Tooltips, and more tooltips.
Fl_Browser_, Fl_Choice, and Fl_Input_ did not do the tooltip stuff.

Fix write_properties so it writes tooltips properly from FLUID.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1616 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-09-29 22:59:45 +00:00
Michael R Sweet 94788c4628 Copyright 2001.
FLTK 1.0.11.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1356 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-01-22 15:13:41 +00:00
Michael R Sweet f87393aaa1 OK, now version 1.0.9
Updated email addresses to point to fltk.org domain...

Updated README and CHANGES files accordingly.

Updated makeinclude and Makefile files to put -L../lib before the
LDFLAGS/GLDFLAGS to avoid problem reported by Alexander.

documentation/Makefile wasn't including makeinclude.

Updated FLUID about window to show version 1.0.9.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1168 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2000-06-05 21:21:24 +00:00
Michael R Sweet a73c7f58e6 Documentation updates for 1.0.8.
FLUID GUI tweeks (OK and Cancel use now consistent, spacing now consistent,
Courier font for code, etc.)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1039 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2000-03-15 18:57:07 +00:00
Michael R Sweet 7e0bd92469 The about dialog was too small.
git-svn-id: file:///fltk/svn/fltk/trunk@248 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-01-26 22:19:33 +00:00
Michael R Sweet b8d34c3d4b Lots of little GUI tweeks, capitalization changes, copyright update, etc.
git-svn-id: file:///fltk/svn/fltk/trunk@247 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-01-26 21:59:41 +00:00
Michael R Sweet f9039b2ae2 Initial revision
git-svn-id: file:///fltk/svn/fltk/trunk@2 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-10-06 18:21:25 +00:00