Commit Graph

8796 Commits

Author SHA1 Message Date
Albrecht Schlosser
79af685c28 Fix typos 2019-02-09 21:21:48 +01:00
ManoloFLTK
f8334cb999 Merge remote-tracking branch 'origin/master' 2019-02-09 16:29:06 +01:00
ManoloFLTK
2c12bf4e1a X11 platform: account for window scaling in drag-n-drop operations. 2019-02-09 16:28:26 +01:00
Albrecht Schlosser
024064cb4e Remove duplicate source from Makefile (and sort it)
It's easier to notice duplicate files if they are sorted.
2019-02-09 15:39:41 +01:00
ManoloFLTK
44552f3e63 Rename method -[FLViewLayer viewFrameDidChange] to -[FLViewLayer reset_layer_data]
The new name follows FLTK naming rules and has the benefit of avoiding potential
collision with future macOS method names that follow a different naming rule.
2019-02-08 11:04:30 +01:00
ManoloFLTK
65916c106e Remove Fl_Image::as_rgb_image() virtual member function.
It's not used in the library, so its utility remains to be proven.
2019-02-06 17:22:28 +01:00
ManoloFLTK
751506a3fb Fix for STR #3503 - handle Fl_Menu_ deleted while its menu window is running. 2019-02-05 18:40:52 +01:00
Matthias Melcher
3a7bae7d7f Fixed two warnings from Doxygen. 2019-02-05 15:28:48 +01:00
Matthias Melcher
d41ff666d0 Small improvements to README.macOS.md 2019-02-05 11:24:06 +01:00
Matthias Melcher
7d9d7dd7b8 Fixed all Pixmaps to be '*const' (STR #3108). 2019-02-05 00:14:37 +01:00
Matthias Melcher
4b4e95f280 Fixed Fl_Text_Editor selection range after paste (STR #3248). 2019-02-04 23:57:22 +01:00
Matthias Melcher
b663ce85e0 Improved decumentation for '@' symbols in labels (STR #2940). 2019-02-04 23:32:37 +01:00
Matthias Melcher
0cac8d52e3 Fl_Roller can now be controlled via the mouse wheel (STR #3120). 2019-02-04 23:12:02 +01:00
Matthias Melcher
67f0bf6fee Fixed crash for very small Fl_Color_Chooser (STR #3490). 2019-02-04 00:58:51 +01:00
Matthias Melcher
a7e91e0199 Docs 2019-02-03 09:07:22 +01:00
Matthias Melcher
6d021274d7 Fixed bug introduced while removing shadow lint 2019-02-03 09:05:36 +01:00
Matthias Melcher
017754453e Typo 2019-02-03 00:49:03 +01:00
Matthias Melcher
2be4d720ab Tooltips hide by themselves after 12 seconds (STR #2584). 2019-02-02 23:56:45 +01:00
Matthias Melcher
0bf8197a24 Typo 2019-02-02 23:23:08 +01:00
Matthias Melcher
f4dd9c5199 Added widget visibilit indicator to Fluid (STR #2669). 2019-02-02 23:22:40 +01:00
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