Commit Graph

44 Commits

Author SHA1 Message Date
Albrecht Schlosser 773467dee4 Refactor macOS bundle generation to avoid "quarantine"
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
2021-05-13 16:18:13 +02:00
Albrecht Schlosser 720b84ef9d CMake: refactor and reformat CMake files
- raise minimum CMake version from 2.6.3 to 3.2.3 (Jun 01, 2015)
- indent all CMake files according to the CMP (2 col.)
- refactor FLTK version number definitions and usage
- unify CMake and autoconf/configure variable names:
  - FL_VERSION -> FLTK_VERSION
  - FL_MAJOR_VERSION -> FLTK_VERSION_MAJOR
  - etc. for _MINOR_ and _PATCH_, respectively
  - note: this does not affect FL_VERSION etc. in source code
- generate "export headers" for all libraries (experimental: OFF)
- port some forgotten goodies from branch-1.3 to master
- merge and improve macro 'create_example' (WIP)
- remove "temporary" options and code for older CMake versions
- include and use 'GenerateExportHeader' (experimental, WIP: OFF)
  - note: created header files are not yet used
- build only *one* DLL with Visual Studio (tested, works)
  - similar to the bundled IDE projects in 1.3.x
- add some dynamically linked test/demo programs ('*-shared')
  if shared libraries are built (WIP)
- split 'macros.cmake': use one file per macro
2020-07-15 00:34:53 +02: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 0a38e2e36d Fix epm homepage (url) 2020-03-16 22:43:03 +01:00
Michael C Tiernan 3d83633fc6 Changed two file names.
x-fluid.desktop should have been without the x-
The file CHANGES has moved to CHANGES.txt
2020-03-15 11:56:16 +01:00
Albrecht Schlosser 7458281545 Rename README files to README.txt (and several similar files).
Files without '.txt' suffix can't be handled well by Windows (users),
hence renaming such text files to *.txt makes FLTK more "Windows-friendly".

There are a few exceptions (this is intentional): README and other files
in bundled libraries (maintained upstream) are not changed.
2018-12-10 16:50:56 +01:00
Albrecht Schlosser 42d8aba117 Replace FL/x.H with FL/platform.H - step 2 (STR #3435).
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-31 21:17:17 +00:00
Albrecht Schlosser f41be78153 Rename confusing configure and Makefile (makeinclude) variable.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10653 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-03-25 20:06: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
Albrecht Schlosser 9ff0c90926 Added new png header file pnglibconf.h
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8661 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-05-14 18:11:56 +00:00
Matthias Melcher 848756bf03 Removed wrong links from package file.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8648 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-05-10 23:45:50 +00:00
Matthias Melcher 3f5297450a Attempt to get fltk.*.in ready for 1.3.0 final version. Removed obsolete line.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8647 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-05-10 21:19:06 +00:00
Matthias Melcher bb47ac6115 Attempt to get fltk.*.in ready for 1.3.0 final version.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8646 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-05-10 20:47:21 +00:00
Matthias Melcher a803cec1b7 Fixed even more Copyright to 2010. Probably still forgot some.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7906 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-28 21:28:30 +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
Michael R Sweet 27147a02c4 Update copyrights for packaging files.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6059 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-02-28 16:50:07 +00:00
Matthias Melcher 46f5f93825 STR #1887: fixed some of the EPM issues
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6058 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-02-27 15:36:29 +00:00
Matthias Melcher 5382d3c8d5 STR 1795: applied patch to fix Icon path settings. Will try on my Linux machine next.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6045 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-02-25 14:43:34 +00:00
Michael R Sweet 7d64ba5ec8 Newer autoconf defines "datarootdir", which "datadir" depends on. I still
don't know why they did this...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5677 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-08 19:17:47 +00:00
Michael R Sweet 31e948ed4b Update packaging files.
Remove --post code from fltk-config (--post is now ignore on all
platforms)

Remove outdated information from README.mac.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5664 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-06 19:44:10 +00:00
Michael R Sweet f27180b7cd Do some rearranging of image and desktop support files.
Add new Block Attack! game...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5358 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-08-25 06:58:33 +00:00
Michael R Sweet 89d3f74435 Fix EPM list file and games programs.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4761 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-01-15 20:33:10 +00:00
Michael R Sweet 9b12d18155 Update EPM list file and OSX icon for FLUID.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4760 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-01-15 20:05:11 +00:00
Michael R Sweet 61b86ce0e5 More packaging fun (games package to "advertise" FLTK...)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4755 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-01-15 18:02:44 +00:00
Michael R Sweet 45ff3267cd Fix installation of Linux desktop files.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4751 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-01-15 03:25:44 +00:00
Michael R Sweet 887a458227 Work on Linux and OSX desktop integration stuff via make install and
packaging via EPM.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4750 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-01-15 03:16:09 +00:00
Michael R Sweet 1c399af444 Update source file headers with STR web page.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4288 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-04-16 00:13:17 +00:00
Michael R Sweet b41cf28662 Update "clean" targets to properly handle core files, remove backup files,
etc.

Add "install" target to test directory which installs the example programs.

Install the config.h file in the examples directory.

Make sure the example programs compile outside the FLTK source dir.

Add example programs to fltk.list.in.

Fix missing redraw() in x_cb() in FLUID...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4287 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-04-16 00:01:49 +00:00
Michael R Sweet add37faa25 Copyright updates.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4052 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-02-24 21:55:12 +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 b46c9b63a1 Fixup shared library installation.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3036 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-06-15 05:54:14 +00:00
Michael R Sweet f79d805e93 Fix distribution list (again)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3024 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-06-05 22:46:01 +00:00
Michael R Sweet 81053e4fe7 Don't package header symlinks on OSX, which doesn't need 'em.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3023 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-06-05 22:06:41 +00:00
Michael R Sweet 936e471e35 Add symlink for installs on OSX so that the wrong include file is not
used (OSX compiler bug)

Add dummy fl_open_callback() functions on X11 and WIN32.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3021 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-06-01 00:31:32 +00:00
Michael R Sweet 9c7ec90412 Fix open-documents callback stuff.
Add open documents callback to FLUID.

Add FLUID application to fltk.list file for packaging.

Add FLUID application icon and data files.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3020 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-06-01 00:23:57 +00:00
Michael R Sweet 00cb676e11 Copyright update for 1.1.3 release (not quite yet, but soon...)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2936 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-01-30 21:46:07 +00:00
Michael R Sweet cd5c9b8743 OSX fixes for GLUT/GL window classes.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2859 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-12-04 04:44:54 +00:00
Michael R Sweet 7c4010a106 Fix EPM list file shared library handling.
Add shared FLUID support to EPM list file.

Add post install resource assignment when installing on Darwin.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2530 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-07-14 19:24:36 +00:00
Michael R Sweet 75b9c5a68f Reset version numbers to 1.1.0 (no rcN)
Add images library to list file.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2523 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-07-12 02:04:53 +00:00
Michael R Sweet 5c360947ee Move forms code to fltk_forms library, a la 2.0.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2027 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-03-25 21:39:01 +00:00
Michael R Sweet a55363086d Don't apply tile image to menu or overlay windows.
Add Fl_BMP_Image.H links to fltk.list.in.

Reset colors to standard FLTK ones in Fl::get_system_colors().

Don't clear button events when fixing focus.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1918 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-01-07 18:47:27 +00:00
Michael R Sweet 2d6a98560e Doco and dist file updates.
Add fltk-config man page.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1911 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-01-06 13:40:32 +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 1a7bbc55c5 Configure script changes...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1769 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-11-27 22:03:29 +00:00