Commit Graph

36 Commits

Author SHA1 Message Date
Albrecht Schlosser
f04f8fb1a2 Give fluid and fltk-options their own .gitignore files
Move git exclusions from the main .gitignore file to the respective
directories to simplify the main file.

Note to devs: some file types are ignored "everywhere" (e.g. *.exe),
there's no need to add these files to the subdirs.
2023-02-05 19:41:19 +01:00
Albrecht Schlosser
410e57d2db Don't build libdecor demos, add generated files to .gitignore
1) We don't need to build the libdecor demo programs for FLTK.

2) The Wayland build process generates some source and header files
   in the main src/ directory. These files are now ignored by git.
2022-11-23 13:33:52 +01:00
Albrecht Schlosser
6472f9b041 Fix build process of PDF docs on macOS and update .gitignore
Note: the syntax of command/switch `sed -i` is slightly different
  on macOS vs. Linux and should not be used.

Move .gitignore parts referring to /documentation/ to their own file
  'documentation/.gitignore' and add new generated file(s).
2022-09-23 15:45:45 +02:00
Albrecht Schlosser
5438954d8c Generate FL/fl_config.h rather than FL/abi-version.h
... as discussed in fltk.coredev in thread "RFC: introduce public
config header <FL/fl_config.h>", see:
https://groups.google.com/g/fltkcoredev/c/xLCs1AIXMVo/m/MHZpQggzAQAJ

- Rename abi-version.h to fl_config.h, rename input files,
  update dependencies, .gitignore, CMake, configure and Makefiles.

- Include Cairo options in FL/fl_config.h

- Rename FLTK_USE_CAIRO to FLTK_HAVE_CAIROEXT for consistency.

- Include <FL/fl_config.h> in config.h and wherever necessary,
  fix include order (move FL/Fl.H to the top) and more.

- Move USE_X11 to fl_config.h and rename to FLTK_USE_X11

- Do not include <config.h> in Cairo demo program which is no
  longer required in Cairo programs since FLTK 1.4.0
2021-12-18 22:44:08 +01:00
Matthias Melcher
ace6a64161 Fluid STR 3460.D: making dialog more interactive. 2021-12-09 12:42:56 +01:00
Matthias Melcher
45d1d95b57 Fluid: Adding shortcuts for Checkbox and Radio Menuitems. 2021-12-05 21:51:18 +01:00
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
Michael R Sweet
e3c3b9b39f
Save work on configure.ac modernization. 2021-02-13 17:17:43 -05:00
Albrecht Schlosser
1078b8fe43 Update dependencies
Change sort order using -f (--ignore-case):
  fold lower case to upper case characters
2020-06-13 12:50:06 +02:00
Albrecht Schlosser
95165884b6 Support cross-compilation with autotools
We use the host system's `fluid` when cross-compiling. This must be
executable as `fluid`, i.e. it must be in the PATH or otherwise
defined, for instance as an alias.
2020-06-10 16:24:39 +02:00
Albrecht Schlosser
09ee1c0b9c (Git) ignore .vscode folder
The "Visual Studio Code" editor (Open Source by Microsoft) is
becoming more and more popular. It uses a (hidden) folder '.vscode'
in the workspace root directory to store its configurations. We
need to ignore this folder to avoid confusing developers and
checking it in by accident.

See https://github.com/Microsoft/vscode
2020-06-02 14:41:15 +02:00
Albrecht Schlosser
811033af19 Reorganize .gitignore file(s)
Move ignored files in /examples/ and /test/ to their own folders,
i.e. to examples/.gitignore and test/.gitignore, resp.
2020-04-20 14:25:08 +02:00
Albrecht Schlosser
97e30260ec Update dependencies and .gitignore 2020-01-04 01:54:30 +01:00
fabien
caea9c0c01 Make .gitignore ignore CMake autogenerated files and also visual studio .vs directory 2018-12-22 08:56:33 -06:00
fabien
4ad9b5af0c Ignore .tlog file generated by msbuild when using msvc tools. 2018-12-22 08:23:12 -06:00
Albrecht Schlosser
810b914717 Update examples: minor changes, rename, update .gitignore
.gitignore, Makefile: add missing files, sort example filenames.
Makefile.FLTK: update and extend FLTKCONFIG definition examples.

Rename README.examples to README.txt (easier for Windows users).

README.txt: minor edits, fix link, remove trailing whitespace.
2018-12-10 15:00:45 +01:00
fab672000
4ded3c2099 Added as well the .DS_Store pattern as recommended by Manolo. 2018-12-03 15:19:25 -06:00
fab672000
ee9bd35266 Fix building on mac OSX (using ./configure unix makefiles) still shows not ignored binaries. Note that fltk block, checkers and sudoku games do have special content inside the .app folder, so ensure that these are not globally ignored while cleaning up the other test apps binary content that should be ignored. 2018-12-01 17:25:21 -06:00
Albrecht Schlosser
29981da5ca Remove no longer needed file from .gitignore
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12994 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-07-28 09:11:28 +00:00
Albrecht Schlosser
76d5ed4f4b Update Makefile + ignored files.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12986 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-06-27 20:44:21 +00:00
Albrecht Schlosser
163b2d4868 Update ignored files: new example howto-menu-with-images.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12446 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-09-12 12:49:48 +00:00
Albrecht Schlosser
f643714879 Add draggable-group example program.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12372 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-08-05 16:44:49 +00:00
Albrecht Schlosser
16774ddc4e Rename test/help demo program to test/help_dialog.
This change avoids a name conflict with CMake's auto-generated target 'help'
for "Unix Makefiles", "Ninja", and supposedly other generators as well.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12171 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-02-08 02:06:52 +00:00
Albrecht Schlosser
c57c3a1c6c Fix ignored files, add 'build' directory to ignored files.
The 'build' directory must never be used in the FLTK source.
It is reserved as the recommended build directory for CMake.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12104 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-11-11 21:18:42 +00:00
Albrecht Schlosser
3f401f4477 Add Ian's offscreen test program.
Same commit as branch-1.3, svn r11287.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11288 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-03-05 00:53:40 +00:00
Albrecht Schlosser
9adb181156 Make FL_ABI_VERSION configurable (STR #3161).
This commit adds the configure option --with-abiversion and the CMake option
OPTION_ABI_VERSION. Both options can be set e.g. to 10304 to build with
FL_ABI_VERSION = 10304 (FLTK 1.3.4).

For IDE builds there are new files ide/<IDE-NAME>/FL/abi-version.h that
can be edited to change the ABI version before the FLTK lib is built.
Note that this file MUST be copied to the include/FL directory if the
IDE-built library is to be installed.

The default is FL_ABI_VERSION = FL_MAJOR*10000 + FL_MINOR*100 + 0, i.e.
10300 for all FLTK 1.3.x versions to keep binary compatibility (ABI).

Todo: more tests and more documentation.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10786 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-07-12 19:23:55 +00:00
Albrecht Schlosser
2098d8bfd8 Generate Doxyfile and Doxybook from common source file Doxyfile.in.
Now we have less files to edit, and Doxyfile.in is shared with the
CMake generation of Doxyfile and Doxybook.

Besides that two files with FLTK version numbers are now removed (less
work for future version updates).


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10762 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-06-16 13:18:28 +00:00
Albrecht Schlosser
333b5268c3 Add FLTK version test program examples/fltk-versions.cxx.
This program can be used to verify that the FLTK runtime system
(ABI version) is binary compatible with the compiled and linked program.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10712 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-04-21 12:44:46 +00:00
Albrecht Schlosser
b89035f360 Add new animated demo to CMakeLists.txt, update .gitignore and svn props.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10643 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-03-18 13:31:59 +00:00
Albrecht Schlosser
57318e8b3e Update ignored files in examples directory.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10465 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-11-21 17:17:49 +00:00
Albrecht Schlosser
157c5bf15e Add generated file documentation/src/fltk-book.tex to ignored files.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10384 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-10-19 12:15:40 +00:00
Albrecht Schlosser
eb1af07952 Add Fl_Window::wait_for_expose() and test program (STR #3124).
Also modified .gitignore, svn-properties, Makefile and CMake-Files.

Todo: test/twowin.cxx and test/windowfocus.cxx need to be added to ide files
(MS VC++ and Xcode).


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10339 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-26 23:58:05 +00:00
Albrecht Schlosser
6781789948 Add test/twowin to .gitignore file.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10324 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-19 22:03:17 +00:00
Albrecht Schlosser
0ddd4e4717 Update .gitignore file
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10247 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-08-23 00:22:55 +00:00
Albrecht Schlosser
f6e1394df9 Fix .gitignore line endings, set 'svn:eol-style native' property.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10085 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-01-26 01:28:39 +00:00
Albrecht Schlosser
adfc450da4 Add .gitignore file for conversion to git.
Note: generated from svn with 'git svn show-ignore'.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10084 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-01-26 01:05:29 +00:00