Commit Graph

8454 Commits

Author SHA1 Message Date
Matthias Melcher
bf9dfa2afd
Merge pull request #11 from MatthiasWM/master
Fixing STR #2901, Fl_Browser formatting char
2018-12-28 17:25:28 -08:00
Matthias Melcher
bf48acdbe5 Adding documentation for '@N', inactive color. 2018-12-29 02:16:40 +01:00
Matthias Melcher
c099837a3e Also testing # as a format_char() 2018-12-29 02:08:40 +01:00
Matthias Melcher
95ab1dd73e Fixing STR #2901, wrongly escaping the formatting character code in Fl_Browser. 2018-12-29 02:03:49 +01:00
Matthias Melcher
6097bde83c
Merge pull request #10 from MatthiasWM/master
Updated macOS build documentation for 1.4
2018-12-28 16:21:48 -08:00
Matthias Melcher
29fe0c43df Remove obsolete condition to make static analysis happy. 2018-12-29 01:19:51 +01:00
Matthias Melcher
e169b1941f Remove a C style type cast from jpeg_mem_src. 2018-12-29 00:44:39 +01:00
Matthias Melcher
a3ee6cff92 Refactored gl_remove_displaylist_fonts to be more easily readable and to stop triggering static analysis tool. 2018-12-29 00:34:57 +01:00
Albrecht Schlosser
59612f6e7e Activate travis-ci, update mail notifications.
Note: current mail notifications are configured for first tests.
We may need to reconfigure this later.

See build logs at https://travis-ci.com/fltk/fltk
2018-12-28 22:48:13 +01:00
Matthias Melcher
6e7b91ea10
Merge pull request #8 from fltk/feature/travis
Travis implementation supporting  build and doc generation for a matrix of targets
2018-12-28 11:37:46 -08:00
Matthias Melcher
a77ffd1dde Xcode for some reason needs a github account to clone a public github repo. Documentation reflects that now. 2018-12-28 20:28:29 +01:00
Matthias Melcher
70e29f9c7d More fixes. 2018-12-28 19:50:39 +01:00
Matthias Melcher
d58255074d Note if Apple ID or admin access is needed. 2018-12-28 19:37:31 +01:00
Matthias Melcher
2c67ae07dd Directly install command line tools. 2018-12-28 19:29:34 +01:00
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