Commit Graph

8376 Commits

Author SHA1 Message Date
Matthias Melcher
c97990e517 Removed all shadow lint in header files (STR #2714). 2019-02-02 22:29:53 +01:00
Matthias Melcher
5cd9f6fb80 STR #3323: glutAddMenuEntry now has a const label argument 2019-02-02 22:16:16 +01:00
Matthias Melcher
30733d2d8d Added Fl_Input_::append() method (STR #2953). 2019-02-02 22:04:15 +01:00
Matthias Melcher
5062b5a010 Fixed pulldown menu position when at the bottom of the screen (STR #2880). 2019-02-02 18:36:44 +01:00
Matthias Melcher
452a410a3e STR #2714: remove new shadow lint for MacOS 2019-02-02 17:47:55 +01:00
Matthias Melcher
76668c7cc1 Made Fl_Check_Browser::swap_item public. 2019-02-02 16:28:18 +01:00
Matthias Melcher
e06c09fa25 Fixed missing item handling in Fl_Chekc_Browser (STR #3480). 2019-02-02 16:24:10 +01:00
Matthias Melcher
2ce406ab42 Fl_Help_Dialog::load() now returns an error code (STR #3429) 2019-02-02 01:10:24 +01:00
Matthias Melcher
0698e16a6b Fixed Delete key in Fl_Input deleting entire widgets in Fluid (STR #2841). 2019-02-01 23:59:20 +01:00
Matthias Melcher
d6294ac2fc Reorganized Fluid Template feature (STR #3336). 2019-02-01 23:16:49 +01:00
Matthias Melcher
af8e406f88 Updated Fluid documentation and image (STR #3328). 2019-02-01 21:59:07 +01:00
Matthias Melcher
2b6347d0bd STR #3445: Duplicating Widget Class in Fluid no longer crashes. 2019-02-01 21:32:48 +01:00
Matthias Melcher
aa6d9b74c6 Updated CHANGES file. 2019-02-01 20:59:06 +01:00
Matthias Melcher
4deeea317a STR #3498: Fl_Check_Browser::add(item) now accepts NULL.
As promised in the docs.
2019-02-01 19:36:44 +01:00
Matthias Melcher
a5d55f2e2d STR #3386: Interface to set maximum width of spinner text field. 2019-02-01 18:58:43 +01:00
Matthias Melcher
389521a885 Additional fix for STR #2531
Wiggeling characters in Fl_Text_Display due to advanced kerning.
2019-02-01 18:18:28 +01:00
Matthias Melcher
ab90f849ff Merge remote-tracking branch 'upstream/master' 2019-02-01 00:48:34 +01:00
Matthias Melcher
56a79c4aad STR 2531: Fl_Text_Display no longer wiggles.
On MacOS and other systems that support kerning, dragging a selection over text would
make the text to the right of the selection jump in x by a fraction of a pixel. The new code
makes sure that the text stays rock solid.
2019-02-01 00:48:04 +01:00
Albrecht Schlosser
716a5067a9 Update nanosvg library to current upstream version
See README.bundled-libs.txt
2019-01-31 19:06:06 +01:00
Matthias Melcher
39a8c72c86 STR 3430: fixed Help_View return value 2019-01-30 23:41:11 +01:00
ManoloFLTK
6d373286bc Mention Fix for STR#3473 (and its duplicate STR#3507) 2019-01-30 18:01:12 +01:00
ManoloFLTK
669f159665 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:58:22 +01:00
ManoloFLTK
899eaf8a69 Remove useless statement. 2019-01-28 17:10:13 +01:00
Albrecht Schlosser
2c5ba94458 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.
2019-01-25 17:40:51 +01:00
ManoloFLTK
9b272cfa4e 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-24 15:19:33 +01:00
Greg Ercolano
4f8e07a0cd Doxygen mods for new FL_TREE_SELECT_SINGLE_DRAGGABLE flag
o Added mention of drag+drop / FL_TREE_SELECT_SINGLE_DRAGGABLE
     to list of features on main Fl_Tree doxygen page.

   o Whitespace mods to FL_TREE_SELECT_* to fix doxygen 1.8.5
     whitespace sensitivity that was causing single sentence
     to break into two when spanning multiple "///>" comments
     for last item in an enum (doesn't end in ",")
2019-01-23 16:01:06 -08:00
ManoloFLTK
83ecdd183a Remove incorrect putenv(buf) call followed by free(buf). 2019-01-21 16:03:59 +01:00
ManoloFLTK
ba729e50b7 Remove unnecessary code related to layer-backed views.
That code is not useful if layer-backed views are used only with macOS 10.14.
2019-01-20 19:13:08 +01:00
Albrecht Schlosser
788a2f9fee Improve ABI configuration documentation
Add a note to rebuild everything after changing the ABI configuration.
2019-01-19 17:20:05 +01:00
Albrecht Schlosser
76c781a6da Merge local branch 'sort_makedepend'
The main dependencies (makedepend files) are now sorted.
2019-01-18 16:28:41 +01:00
Albrecht Schlosser
bb91970122 Update dependencies (now sorted)
The main dependencies (makedepend files) are now sorted alphabetically
with one dependency per line.
2019-01-18 16:27:32 +01:00
Albrecht Schlosser
80ad88555f Sort makedepend files for better comparability
The intention is to improve (and minimize) diffs when dependencies
are changed and `make depend' is executed.

(1) use `makedepend ... -w 20'
(2) `sort -u' the resultant file with some more "magic".

(1) makes sure that there is only one dependent file per line,
(2) makes lines unique since `makedepend' can output one file
    many times which is redundant and makes diffs hard to read.

This uses 'mv', 'grep', and 'sort' in all FLTK library Makefiles.
Image libraries are intentionally left for a later update.
2019-01-18 15:44:24 +01:00
Albrecht Schlosser
64cd95d6d5 Merge branch 'fix-dependencies' (STR 3506)
This is intentionally a merge commit that includes both the fix
necessary for STR 3506 and the update of all remaining dependencies.
2019-01-18 14:12:34 +01:00
Albrecht Schlosser
2167908f8e Update (remaining) dependencies 2019-01-18 14:11:41 +01:00
Albrecht Schlosser
9177c6e4cc 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 dependencies.

Note: cherry-picked from branch-1.3 and adjusted to fit master (1.4)
2019-01-18 14:09:44 +01:00
Matthias Melcher
6bc3fa3768 Merge branch 'master' of https://github.com/fltk/fltk into Android 2019-01-17 21:30:16 +01:00
Matthias Melcher
2f0e45e7a7 Android CMake: icons, docs, more apps 2019-01-17 21:29:24 +01:00
Matthias Melcher
111985665d Andoird CMake: trying to autocreate Fluid files 2019-01-17 00:49:44 +01:00
ManoloFLTK
78510a831d Merge remote-tracking branch 'origin/master' 2019-01-16 13:38:45 +01:00
ManoloFLTK
d17454ac6a Correct typo in comment. 2019-01-16 13:38:13 +01:00
Matthias Melcher
563baced13 Android CMake: fix, more autogenerated files
Fixed a bug that would cause an error is Android Build was NOT
defined. Creating list of test targets automatically.
2019-01-16 02:12:29 +01:00
Matthias Melcher
6de1c93e54 Android CMake: macro for multiple tests
Added a macro that creates the IDE files for a named test.
This is just a rough layout and will only work for the
simpelest of test targets.
2019-01-16 01:25:59 +01:00
Matthias Melcher
a4fc8b06e1 Fixed typo in test/Cmake 2019-01-15 01:32:26 +01:00
Matthias Melcher
b450cea7e2 Android: starting to use CMake to build AndroidStudio files. 2019-01-15 01:22:18 +01:00
Matthias Melcher
e25511131b Android: modifying CMake to also create AndroidStudio IDE 2019-01-14 23:27:34 +01:00
Matthias Melcher
16181a3afb Android: modifying CMake to also create AndroidStudio IDE 2019-01-14 23:27:12 +01:00
Matthias Melcher
6ff11dd8d0 Added Fl_Simple_Terminal to Fluid. 2019-01-14 01:43:17 +01:00
Matthias Melcher
6a61772c80 STR 3460: Fluid menu item types
Added pulldown menus to create radio style and checkbox style
menu items without going through the Class menu.
2019-01-14 01:14:40 +01:00
Matthias Melcher
b71601fe7c STR 3460: shell window remembers position
The Fluid window to display the execute shell command result
is now reopened where it was previously closed.
2019-01-14 00:09:31 +01:00
Matthias Melcher
3d6b234c27 STR 3460: remember cursor position in code editor
When editing code in Fluid, the COde_Type class will now
remember the last cursor position and reopen the editor
dialog at that position (not for external editor).
2019-01-13 23:32:34 +01:00