Commit Graph

6821 Commits

Author SHA1 Message Date
Albrecht Schlosser
d4859abe66 Fix DND in read-only Fl_Input (Fl_Output) (#113)
Cherry-picking fix from FLTK 1.4 (master).

See report in fltk.coredev as of Jan 16, 2020:
  "Fl_Input in readonly mode - wrong behaviour".

Summary: Drag and drop within a read-only Fl_Input (i.e. Fl_Output)
  widget would not insert the dragged text (correct) but removed
  the dragged text from the widget (error). This is now fixed.
2020-07-20 13:45:16 +02:00
Greg Ercolano
a0caebb663 fixes issue92, added -d debug flag to fluid 2020-06-19 11:32:02 -07:00
Albrecht Schlosser
d4d2136b3b Fix overly restrictive JPEG filter (#81)
See https://github.com/fltk/fltk/issues/81

Fixes #81
2020-06-15 04:02:51 +02:00
Albrecht Schlosser
7a108b3723 Minor CMake updates (formatting)
Backported from master branch
2020-06-13 13:53:45 +02:00
ManoloFLTK
ef7e2410e3 CMake support of the Darwin+XQuartz test platform 2020-05-29 17:31:38 +02:00
ManoloFLTK
65ea0f5f43 Have Fl_Pack::draw() call Fl_Group::init_sizes() on its parent group.
Fl_Pack::draw() sometimes resizes itself. This must be followed
by a call to Fl_Group::init_sizes() as indicated in that function's doc:
"If you rearrange the widgets in your group, call this method to register
the new arrangement with the Fl_Group that contains them."
2020-05-29 17:31:38 +02:00
ManoloFLTK
8b73735d65 Set OPTION_USE_SYSTEM_LIBPNG/JPEG off under macOS by default 2020-05-29 17:31:38 +02:00
ManoloFLTK
7bcfea7f27 Improve Fl_Copy_Surface under macOS 2020-05-29 17:31:38 +02:00
ManoloFLTK
4dd2718cd0 Restore macOS capacity to turn window fullscreen encompassing several screens. 2020-05-28 12:16:52 +02:00
ManoloFLTK
5972eeb750 Transfer more fixes from branch 1.4 to branch 1.3 2020-05-27 17:38:34 +02:00
ManoloFLTK
8ae0ac92ad Remove changes inadvertently introduced in previous commit (46235ff). 2020-05-27 12:11:16 +02:00
ManoloFLTK
46235ff922 Transfer to branch 1.3 all changes in Fl_cocoa.mm from branch 1.4 as of 20 may 2020
This makes branch 1.3 OK for macOS 10.15 Catalina.
2020-05-27 11:06:03 +02:00
Albrecht Schlosser
219ae5e455 X11: Fix X Input Methods (XIM) (STR 3502, 3192)
Revert commit 958d912ffc using 'XSetLocaleModifiers("@im=");'
which was incorrect (STR 3192).

Apply fix for STR 3502, using 'XSetLocaleModifiers("");' which appears
to be the correct solution for using X Input Methods (XIM).
2020-02-10 13:16:16 +01:00
OKAMURA, Yasunobu
b1e4ec4011 Fix JIS Keyboard dead keys 2020-01-16 16:19:15 +01:00
Albrecht Schlosser
9fb6d048a0 Fix trailing whitespace in CHANGES 2019-12-26 17:01:35 +01:00
Albrecht Schlosser
770663920e Fix Fl::add_timeout() in draw() under Linux (STR 3188)
Timeouts queued during Fl_Widget::draw() - called by Fl::flush() -
would not be serviced unless other events were processed. For
Details see STR 3188.
2019-12-09 17:50:15 +01:00
ManoloFLTK
02db5d4799 Fix for Fl_Native_File_Chooser under macOS 10.15 Catalina and in BROWSE_SAVE_FILE mode 2019-12-05 16:14:37 +01:00
ManoloFLTK
68fd81a7ad Fix use of Xrender extension with old, 16-bit framebuffers.
Subject "Bug in 1.4 Displaying PNG under x64 Kernel x86 app." in flak.general
contains a report by Darren Legge that presents the problem,
and a later post stating the code modification does fix the problem.
2019-09-11 15:41:23 +02:00
ManoloFLTK
5dd2b4409f Windows: add bitmap version of graphics when copying to clipboard 2019-07-19 08:12:34 +02:00
ManoloFLTK
b846d26233 X11: add support for copy+paste of image within one app 2019-07-19 08:12:34 +02:00
Albrecht Schlosser
25b947aa7d Prepare for release 1.3.5 (final) 2019-03-03 09:40:23 +01:00
Albrecht Schlosser
4ecdfd1e6f Remove wrong entry in CHANGES 2019-02-18 13:59:05 +01:00
Albrecht Schlosser
b533fe8881 Prepare release candidate 2 (1.3.5rc2) 2019-02-17 12:53:19 +01:00
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