Commit Graph

8540 Commits

Author SHA1 Message Date
Matthias Melcher
9cd6d38465 Added docs for other build options 2018-12-28 19:23:10 +01:00
Matthias Melcher
7c4ac3361a Tested and Working version or macOS command line build README. 2018-12-28 17:25:16 +01:00
Matthias Melcher
f4a0349013 Tested macOS instruction with fresh macOS Mojave install 2018-12-28 16:36:11 +01:00
Matthias Melcher
763248a3ed Easy way to install command line clang and git. 2018-12-28 16:06:59 +01:00
Matthias Melcher
9894117fa6 Putting the 'Contents' together for the macOS README. 2018-12-28 15:35:51 +01:00
Matthias Melcher
f2ddd52f76 Completed README for macOS command line builds. Must still be verified on a clean machine. 2018-12-28 15:07:07 +01:00
fab672000
8c44c9a6b1 As requested implement cmake builds and also implement matrix customization to use a static analyzer and also doc gen in only one target to avoid having too many targets 2018-12-27 21:47:23 -06:00
Matthias Melcher
62ff8695a0 Testing some styles for markdown file. 2018-12-27 16:10:35 +01:00
Matthias Melcher
148acf9e66 Markup mess 2018-12-27 15:32:50 +01:00
Matthias Melcher
9141399a3b Started to rewrite README.OSX.txt as README.macOS.md . Also testing GitHub quirks 2018-12-27 15:29:13 +01:00
Matthias Melcher
75eefbcd42 Fixing some minor lint, found by Pavel Shlyak using PVS studio 2018-12-27 13:05:35 +01:00
fabien
c361b64096 Travis implementation allowing to build four targets on change of master or a matching pattern of feature/*.
This implementation differs from existing fltk-test and also gitlab implementation :
 - minimum, fast light implementation: stripoped all unused constructions compared to other implementations
 - supports successful builds of four targets (linu, osx and then gcc and clang for each of them)
- uses before_script instead of before_install
- uses after_success for building documentation, instead of building always if error
- only builds documentation on linux targets for now (can easily change if future)
2018-12-26 16:19:25 -06:00
fabien
5c7118f8d9 Add documentation on how to build Cairo in Linux Debian and derivatives. 2018-12-25 12:25:35 -06:00
Matthias Melcher
550ba7e105 Testing github 'commit' and 'push' by modifying obsolete documentation in the README files. 2018-12-24 00:03:45 +01:00
fabien
65d90c33dc Removes few tabs from options.cmake. When removing tabs, also apply cmp standard (two spaces) recommended indentation. 2018-12-22 15:01:20 -06:00
fabien
9338385da7 remove unnecessary double braces in option.cmake cairo detection code 2018-12-22 10:35:52 -06:00
fabien
caea9c0c01 Make .gitignore ignore CMake autogenerated files and also visual studio .vs directory 2018-12-22 08:56:33 -06:00
fabien
e3b289e008 CMake CAIRO support minor improvements: Make the conditional code more readeable by reusing the already parsed PKG_CAIRO_FOUND variable instead of testing for it again, which also simplifies the preconditions testing. Fix typo (. in endif statement comment). 2018-12-22 08:26:56 -06:00
fabien
31dddf5719 Fix typo in README.Cairo.txt 2018-12-22 08:24:17 -06:00
fabien
4ad9b5af0c Ignore .tlog file generated by msbuild when using msvc tools. 2018-12-22 08:23:12 -06:00
Albrecht Schlosser
2153a93430 Fix line endings.
Note: we recommend `git config core.autocrlf true'.
2018-12-20 19:42:17 +01:00
Albrecht Schlosser
88129db051 Improve CMake's Cairo detection and issue error message...
... if Cairo was requested (OPTION_CAIRO or OPTION_CAIROEXT) but
Cairo was not found. CMake generation is terminated with a fatal error.

The user has two choices: install Cairo libs and headers or disable
OPTION_CAIRO and OPTION_CAIROEXT.
2018-12-20 19:12:50 +01:00
ManoloFLTK
a46695b7fc Merge remote-tracking branch 'origin/master' 2018-12-16 19:02:34 +01:00
ManoloFLTK
75293c1725 macOS + CMake + OPTION_APPLE_X11 : restore building of GLU-based test apps. 2018-12-16 19:01:56 +01:00
Albrecht Schlosser
59cd39a505 Fix another clang-tidy warning (issue #5, part 1).
See https://github.com/fltk/fltk/issues/5

As Manolo pointed out the questionable variable was not used (read)
in this case of the switch statement, hence it can be removed.
2018-12-16 13:13:46 +01:00
Albrecht Schlosser
2e6a4eb69a Fix clang-tidy unused variable warning (issue #5, part 3).
https://github.com/fltk/fltk/issues/5
2018-12-15 13:27:39 +01:00
Albrecht Schlosser
9ea0d4ccbc
Quick fix: menu disappearing (STR #3503 continued)
Quick fix to repair a case when Fl_Menu_Item::pulldown() was called with only
five arguments (argument pbutton == null) as discussed here:

d87ac9b597 (comments)
2018-12-11 11:50:07 +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
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
ManoloFLTK
6c876189d8 Fix MacOS-specific regression appeared with move to git when building test with configure.
The svn contained empty directories, e.g., test/blocks.app/Contents/MacOS/
Git apparently can't store empty directories.
The test/Makefile is modified to create these directories at build-time.
2018-12-09 16:34:49 +01:00
ManoloFLTK
d087bae685 These binary files should not be committed. 2018-12-09 16:00:20 +01:00
ManoloFLTK
04f03ff056 Necessary for correct app bundles 2018-12-09 15:53:40 +01:00
ManoloFLTK
0240158d4c macOS: creation of window with subwindow in iconized form - continued.
With macOS 10.13 and 10.14 at least, recursivelySendToSubwindows:@selector(display)
is not necessary in the new procedure where the window icon is computed in
windowDidMiniaturize rather than in windowWillMiniaturize as was done before.
2018-12-09 10:45:17 +01:00
ManoloFLTK
433f9b8ccb macOS Mojave: fix window with subwindow created in iconized form - continued
Some more changes needed to keep support of MacOS < 10.5
2018-12-08 19:38:15 +01:00
ManoloFLTK
b4c3fec029 macOS Mojave: fix window with subwindow created in iconized form. 2018-12-08 16:31:18 +01:00
Albrecht Schlosser
7c1ccfa038 Complete fix for STR #3503 (Fl_Choice).
Fl_Choice::handle() needs to be fixed as well.
2018-12-07 17:52:32 +01:00
Manolo Gouy
6e49ce0a28 Merge remote-tracking branch 'origin/master' 2018-12-07 16:59:11 +01:00
Manolo Gouy
ed87d98c24 macOS comment only: refer to OS 10.14.2 gone public now. 2018-12-07 16:59:00 +01:00
Albrecht Schlosser
d87ac9b597 Fix crash if menu is deleted while menu is open (SGR #3503).
This can happen if a menu widget (e.g. Fl_Choice) is deleted in a
timer callback while the menu is open (pulldown active).
2018-12-07 14:45:50 +01:00
ManoloFLTK
f9228e55b3 Better Doxygen explanation of the use of Fl::paste(). 2018-12-05 14:53:27 +01:00
ManoloFLTK
05e3df582e Avoid 2 errors sent by Doxygen 1.8.14 2018-12-05 12:43:50 +01:00
ManoloFLTK
3bcb1256bb New static member function: Fl_Device_Plugin *Fl_Device_Plugin::opengl_plugin() 2018-12-05 11:04:58 +01:00
ManoloFLTK
fb4cb71655 Merge remote-tracking branch 'origin/master' 2018-12-04 15:11:21 +01:00
ManoloFLTK
d2870d6f7d Define useful implementations of Fl_Graphics_Driver::push_no_clip() and pop_clip(). 2018-12-04 15:11:03 +01:00
Albrecht Schlosser
474d6e2393 Fix 'fluid.app' for case sensitive macOS file systems.
Change 'Fluid.app' to 'fluid.app'.

Also changed documentation and (https) links in modified files.
2018-12-04 14:20:33 +01:00
ManoloFLTK
b985b884f8 Give a meaningful default implementation to a few more member functions of class Fl_Graphics_Driver. 2018-12-04 12:57:32 +01:00
ManoloFLTK
7278a53758 Merge remote-tracking branch 'origin/master' 2018-12-04 12:33:28 +01:00
ManoloFLTK
45278560f2 Simpler implementation of class SVG_Graphics_Driver is enough. 2018-12-04 12:31:55 +01:00
fab672000
1fca986c79
Merge pull request #1 from fltk/develop-fabien
Fix .gitignore after building on mac OSX (using ./configure unix makefiles) still show…
2018-12-03 15:20:14 -06:00
fab672000
4ded3c2099 Added as well the .DS_Store pattern as recommended by Manolo. 2018-12-03 15:19:25 -06:00