Commit Graph

6798 Commits

Author SHA1 Message Date
Albrecht Schlosser
54a1faf041 Remove explicit mail notification from .travis.yml
See commit 5c18cb84f2 why this is better. See also:
https://docs.travis-ci.com/user/notifications/#how-is-the-build-email-receiver-determined
2019-02-16 09:33:33 +01:00
ManoloFLTK
37707357b4 Merge branch 'branch-1.3' of https://github.com/fltk/fltk into branch-1.3 2019-02-12 10:22:12 +01:00
ManoloFLTK
21e59c3cec Fix Xcode FLTK project for use under macOS 10.14 2019-02-12 10:20:13 +01:00
Albrecht Schlosser
aed2f8eb91 Update release date of 1.3.5rc1 2019-02-11 14:24:58 +01:00
Albrecht Schlosser
e64268b00a Update makesrcdist (internal use only)
This commit adds the creation of MD5 sums for all generated
distribution tarballs for easier installation.
2019-02-11 14:23:21 +01:00
ManoloFLTK
499387244e Fix Makefile to produce an app bundle under macOS 2019-02-11 00:36:57 +01:00
Albrecht Schlosser
98bd74cdca Finalize makesrcdist (internal use only) 2019-02-10 14:20:05 +01:00
Albrecht Schlosser
03e700863a Update dependencies 2019-02-10 14:19:37 +01:00
Albrecht Schlosser
1f75ed6931 Update list of known bugs (KNOWN_BUGS.html)
This is an (edited) excerpt of https://www.fltk.org/roadmap.php in a
slightly different format (downloaded with `wget`) and redacted to
contain only FLTK 1.3 and 1.4.
2019-02-09 17:02:16 +01:00
Albrecht Schlosser
3184d17880 Update README's and some documentation
Documentation updates are not complete, but I updated most of the
http: links to https: and most references to subversion or svn to
git.
2019-02-09 16:44:37 +01:00
Albrecht Schlosser
1397b70ce7 Remove duplicate source from Makefile (and sort it)
It's easier to notice duplicate files if they are sorted.
2019-02-09 15:41:35 +01:00
ManoloFLTK
7ce74b42a0 Fix for STR #3503 - handle Fl_Menu_ deleted while its menu window runs. 2019-02-05 18:44:09 +01:00
ManoloFLTK
8e78e53a85 Mention fix for STR 3473 and STR 3507. 2019-01-30 18:09:44 +01:00
ManoloFLTK
26d73fd1d1 Fix for STR#3473 (and its duplicate STR#3507)
Recent Linux distribution have replaced the freetype-config command
by pkg-config. The fix tries the new procedure with pkg-config and
falls back to freetype-config if the new procedure fails.
2019-01-30 17:45:10 +01:00
Albrecht Schlosser
a8640c6225 Fix Fl_Tree::insert() with pos out ouf range (#18)
The given position to insert a new item was not checked  against the
valid range so the program  could crash if a position less than zero
or greater than children() was given. The position is now clamped to
the valid range, i.e. the item is either prepended or appended.

Fixes issue #18.

Backported from 1.4, commit 9b272cfa4e
2019-01-25 18:27:21 +01:00
ManoloFLTK
328380cfec Merge branch 'branch-1.3' of https://github.com/fltk/fltk into branch-1.3 2019-01-23 18:56:11 +01:00
ManoloFLTK
c9bb57e58e Fix minor text input problem related to dead key previewing.
macOS normally previews a dead key and then replaces the preview by the final text
after the second key is typed.
macOS ≥ 10.7 also opens an auxiliary window to help choosing among possible characters
after some keys (e.g., n, c, o, a) are pressed and maintained for a while.
The problem fixed here is that after an auxiliary window has been used,
dead keys are no longer previewed.
That problem emerged at some undetermined point before 10.14 and after 10.7.
2019-01-23 18:55:35 +01:00
Albrecht Schlosser
9ed337d938 Improve ABI configuration documentation
Add a note to rebuild everything after changing the ABI configuration.
2019-01-19 17:16:09 +01:00
Albrecht Schlosser
c35adb92c7 Fix dependencies (STR 3506)
test/fracviewer.cxx wouldn't be compiled if the ABI version was
changed with configure and `make' was executed w/o `make clean'.
Add 'fracviewer.cxx' to list of source files to fix this.

Also add missing unittest_scrollbarsize.cxx to dependencies of
unittests.o.

Finally run `makedepend' to update all dependencies.
2019-01-17 18:12:41 +01:00
Albrecht Schlosser
995427f86c Update Travis CI control file again 2019-01-12 19:01:30 +01:00
Albrecht Schlosser
09fba2aba1 Update Travis CI control file 2019-01-12 18:43:18 +01:00
Albrecht Schlosser
6e876de917 Add simplified Travis CI control file 2019-01-12 18:33:26 +01:00
Manolo Gouy
a53dbee5e9 Merge branch 'branch-1.3' of https://github.com/fltk/fltk into branch-1.3 2019-01-09 15:32:55 +01:00
Manolo Gouy
294105d8d7 Support running under MacOS 10.14 with SDK 10.14 and 32-bit architecture. 2019-01-09 15:25:29 +01:00
Albrecht Schlosser
64b3327dfb Update CHANGES 2019-01-06 19:38:55 +01:00
Albrecht Schlosser
35e03733f4 Fix Fl_GIF_Image Color Table handling (STR 3491)
Loading GIF images could crash if there was no "Global Color Table"
but individual "Local Color Tables" with individual images.

Now local color tables are used correctly if available, but images that
lack both global and local color tables are being loaded with a default
(gray) color table and a warning is issued with Fl::warning().

The default color table uses black and white in the first two indices
as recommended by the standard.
2019-01-06 18:03:02 +01:00
Albrecht Schlosser
da227a49eb Fix Doxygen documentation generation.
Back-ported from 1.4.x and verified.
2019-01-01 20:50:48 +01:00
Albrecht Schlosser
f1517d5df9 Prepare for release of FLTK 1.3.5.
CHANGES: update list of changes.
KNOWN_BUGS.html: prepare list of open bugs (currently empty).

Todo: add actual bug list to KNOWN_BUGS.html before release.
2019-01-01 18:51:21 +01:00
Albrecht Schlosser
b646b0be19 Update `makesrcdist' to be used with Git.
Copied from 'master' with minor modifications.

Todo: test, apply, copy necessary mods back to 'master'.
2019-01-01 18:49:40 +01:00
Albrecht Schlosser
168ec2e89e Fix more line endings of (DOS) command files in IDE folders.
These DOS command files / scripts / batch files should have cr/lf line endings.
2018-12-22 01:09:10 +01:00
Albrecht Schlosser
9a7c01a8aa 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.

Note: back-ported (cherry-picked) from 1.4.0 (master): 88129db051
2018-12-20 20:52:32 +01:00
Albrecht Schlosser
b1f6e3e90e Fix line endings.
Note: we recommend `git config core.autocrlf true'.
2018-12-20 19:58:57 +01:00
ManoloFLTK
0a98405424 macOS + CMake: restore building of GLU_based test apps. 2018-12-16 18:18:52 +01:00
ManoloFLTK
e870310d9a macOS + CMake build: restore use of OPTION_APPLE_X11 2018-12-16 17:41:38 +01:00
ManoloFLTK
90ddc4923e macOS: recent Apple compilers fail if no -mmacosx-version-min= option is used
That is useful for
./configure --enable-x11
under macOS X.
2018-12-15 20:05:32 +01:00
Albrecht Schlosser
b7d434b863 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)

Backported from 'master': 9ea0d4ccbc
2018-12-11 18:21:00 +01:00
ManoloFLTK
0d14e25354 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:47:30 +01:00
ManoloFLTK
037a09cdea macOS mojave: fix window with subwindow created in iconized form. 2018-12-08 19:15:35 +01:00
Albrecht Schlosser
dabc725486 Complete fix for STR #3503 (Fl_Choice).
Fl_Choice::handle() needs to be fixed as well.
2018-12-07 17:55:31 +01:00
Albrecht Schlosser
3aa32804f7 Fix crash if menu is deleted while menu is open (SGR #3503).
This can happen when a menu widget (e.g. Fl_Choice) is deleted in a
timer callback while the menu is open (pulldown active).
2018-12-07 14:27:39 +01:00
ManoloFLTK
7d18420956 Add .DS_Store files to .gitignore useful under MacOS 2018-12-05 13:35:53 +01:00
ManoloFLTK
632144439d Remove errors with Doxygen 1.8.14 2018-12-05 13:30:51 +01:00
Albrecht Schlosser
3bd78bb022 Fix CMake build (fluid) on case sensitive macOS file systems.
Note: Xcode projects NOT modified. These project files appear to refer
to 'fluid/Fluid.app' (with uppercase 'F') as well.
2018-12-04 15:00:49 +01:00
Albrecht Schlosser
9cd69dbad1 Fix line endings of Visual Studio IDE files.
This is only a technical (git) change.
File endings have been set to cr/lf in ide/.gitattributes.
2018-12-04 14:46:24 +01:00
Manolo Gouy
a0b4e146e8 MacOS: further support of scenarios mixing miniaturize/deminiaturize/change screen configurations.
Test scenario:
 - use 2-screen configuration, one retina, one non-retina as main screen
 - put subwindow-containing window on retina
 - miniaturize window
 - close retina screen
 - de-miniaturize window
 The subwindow was wrong without this change.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@13132 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-11-23 09:52:26 +00:00
Manolo Gouy
433b77e5d9 MacOS: introduce classes FLViewLayer and FLGLViewLayer to support layer-based windows under Mojave.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@13130 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-11-22 14:28:57 +00:00
Manolo Gouy
47127be7dd MacOS: fix necessary for 10.14.2 public beta 3
Apple keeps changing how windows are drawn under 10.14 Mojave, even between minor 
releases! 
This change is required to correctly update a GL window moved from a non-retina to
a retina display under 10.14.2 public beta 3 (glpuzzle shows the problem).
It's unsure if it will still be necessary with 10.14.2, or later versions, but the change
does no harm if it's not necessary.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@13125 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-11-17 16:05:11 +00:00
Manolo Gouy
93f4f91429 MacOS: simpler implementation of extra code necessary at first display of layer-backed GL windows
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@13122 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-11-16 08:56:48 +00:00
Manolo Gouy
9dfa8a92a9 Fix macOS 10.14 Mojave support of the FLTK-cairo interface.
After experimenting with a modified cairo_test program that draws both with
 cairo and with regular FLTK drawing functions to the same window, it seems
 necessary to control for possible changes to the graphics context made by
 cairo in Fl_Window::make_current() rather than in
 cairo_create_surface().

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@13120 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-11-09 14:46:49 +00:00
Manolo Gouy
50b8ba6a53 Remove compilation warning with -Wexpansion-to-defined
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@13118 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-11-09 13:34:02 +00:00