Greg Ercolano
4f9345b40a
Bringing over this fix [r11798] from 1.3 current to the porting branch.
...
Small doc improvements/elaborations.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11824 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-07-19 23:27:34 +00:00
Greg Ercolano
2436521610
Bringing over this fix from 1.3 current to the porting branch.
...
Document savefile() return value, see also references to/from outputfile()
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11823 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-07-19 23:23:28 +00:00
Greg Ercolano
ec4120795d
Removed ABI guards that snuck in with r11819.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11822 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-07-19 23:19:16 +00:00
Greg Ercolano
b6e4668352
Bringing over this fix from 1.3 current to the porting branch.
...
Applies small code simplification as suggested in comment #15 of STR#2828.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11821 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-07-19 20:27:16 +00:00
Greg Ercolano
dfd97e4639
Bringing over this fix from 1.3 current to the porting branch.
...
Fixes STR #3305 ; adds tab_nav() method allowing Fl_Text_Editor
to honor tab key focus navigation.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11820 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-07-19 20:18:18 +00:00
Greg Ercolano
dc8a00fbba
Bringing over this fix from 1.3 current to the porting branch.
...
Fixes STR #3306 ; const version of bound_key_function().
Also affects patches in STR #3305 , which will be applied in next commit.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11819 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-07-19 20:12:21 +00:00
Greg Ercolano
8850c5c822
Adds external editor capability to fluid for all platforms.
...
Solves STR#3213. [CORRECTED]
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11818 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-07-18 21:12:25 +00:00
Albrecht Schlosser
bcb75b518f
Improve drawing of rounded box (STR #2943 ).
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11815 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-07-15 22:12:30 +00:00
Albrecht Schlosser
9713905710
Allow widget callback to be NULL (STR #2835 ).
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11812 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-07-15 19:23:32 +00:00
Albrecht Schlosser
db05cd1a92
Fix uninitialized variable warning.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11809 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-07-15 10:23:46 +00:00
Albrecht Schlosser
d0fa58f700
Clarification and better documentation of ABI version configuration.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11804 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-07-09 18:47:06 +00:00
Albrecht Schlosser
d1b9d1032f
Documentation fixes and clarifications.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11802 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-07-09 17:14:22 +00:00
Manolo Gouy
05d60bd29d
Add handling of call before the screen layout has been computed.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11800 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-06-25 05:11:50 +00:00
Manolo Gouy
984fcbaefc
Add dots-per-inch info to the screen data displayed by the fullscreen demo.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11796 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-06-22 08:36:48 +00:00
Manolo Gouy
22596d3f5f
Make Fl_Gl_Window::pixels_per_unit() return a float (rather than int) value.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11794 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-06-22 07:45:53 +00:00
Manolo Gouy
0ff9df96d9
Change copyright year
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11792 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-06-22 07:22:08 +00:00
Manolo Gouy
943d1cf987
Use Xrandr to get the true DPI of the display under the X11 platform.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11790 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-06-22 07:04:00 +00:00
Manolo Gouy
a7af6ab04c
Make Fl_Sys_Menu_Bar::update() public and cross-platform.
...
It was before protected and Mac OS-specific.
This allows to call it after direct modification of menu items.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11785 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-06-17 12:56:18 +00:00
Manolo Gouy
d7edc737aa
Fix for STR#3316 to match the size argument of glGenLists() and glDeleteLists() calls.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11784 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-06-16 16:35:05 +00:00
Albrecht Schlosser
7700518fa9
Fix compiler warning under Linux [-Wunused-variable].
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11783 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-06-14 11:33:29 +00:00
Albrecht Schlosser
c8155bc7d1
Remove unnecessary #include statement.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11782 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-06-14 11:15:22 +00:00
Albrecht Schlosser
ace85426bc
[CMake] Improve sound support detection.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11781 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-06-14 11:00:29 +00:00
Manolo Gouy
68cf00ee09
THE best way to test for availability of dlsym().
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11779 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-06-14 05:19:32 +00:00
Albrecht Schlosser
1f81808b10
[CMake] Fix restoration of CMAKE_REQUIRED_LIBRARIES.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11777 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-06-13 22:32:01 +00:00
Manolo Gouy
dc2fd2befc
Fix cases where function dlysym() is not in library libdl.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11774 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-06-13 12:29:54 +00:00
Manolo Gouy
8232cac84f
Remove // "$id: lines in the middle of the source code
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11772 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-06-11 05:49:36 +00:00
Manolo Gouy
ebd08c6340
Add missing variable declaration under AIX
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11771 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-06-09 13:47:09 +00:00
Manolo Gouy
343e97d579
Add missing variable declaration under NetBSD
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11770 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-06-09 13:44:55 +00:00
Manolo Gouy
cba54044a7
Fix building on FreeBSD that failed for test programs requiring audio output.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11769 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-06-07 10:39:15 +00:00
Manolo Gouy
99941d13da
Fix for positionning of text after <HR> directive (part of STR #3227 ).
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11767 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-06-03 11:38:40 +00:00
Albrecht Schlosser
77f607224c
Fix compiler warnings.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11765 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-05-31 12:09:52 +00:00
Albrecht Schlosser
5991a49ffe
Hopefully final fix of HTML entity handling
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11764 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-05-31 11:32:25 +00:00
Manolo Gouy
dc7d04c889
Give all virtual methods of class Fl_Graphics_Driver do-nothing implementations.
...
Thus, Fl_Graphics_Driver can be subclassed and only that part of its virtual methods
that is useful for an application is re-implemented.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11762 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-05-31 09:25:56 +00:00
Manolo Gouy
1f4ca7ef83
Polishing conversions between char- and int-typed variables.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11760 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-05-31 08:51:35 +00:00
Albrecht Schlosser
d812a06b9a
Generate Doxygen docs with the highest possible ABI version.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11755 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-05-25 16:08:04 +00:00
Albrecht Schlosser
241634c2b6
remove duplicate '†'
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11753 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-05-23 10:48:59 +00:00
Albrecht Schlosser
cea813e6ee
Add another special test case "†" for Fl_Help_View.
...
Note: † = † = U+2020, i.e. 0x2020 & 255 = 0x20 = ' ' (space).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11750 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-05-23 10:31:00 +00:00
Albrecht Schlosser
ffbcd89b53
Fix compiler warnings.
...
FL/platform_types.h: C++ style comments are not allowed in ISO C90.
src/Fl_Help_View.cxx: type qualifiers ignored on function return type.
src/Fl_Image_Surface.cxx: (Linux) converting to non-pointer type
‘long unsigned int’ from NULL [-Wconversion-null]
Line #70 : In member function ‘Fl_Offscreen Fl_Image_Surface::offscreen()’
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11748 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-05-22 13:36:40 +00:00
Manolo Gouy
867e640cb8
Fix handing of html entities in copied text by Fl_Help_View widget.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11747 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-05-19 16:50:09 +00:00
Albrecht Schlosser
ccf3681097
Fix Fl_Help_View buffer overflow (STR #3275 ).
...
This version works much better than the previous one:
- fixed buffer overflow ("stack corruption")
- fixed potential long text truncation
- fixed tab formatting at line start or any offset divisible by 8
- better handling of HTML entities (aka quoted characters)
- code simplifications, e.g. HV_Edit_Buffer::cmp() + width()
Todo:
- improve and standardize handling of HTML entities
- more tests
Missing features and known bugs:
- strike out text (not implemented)
- table and horizontal line formatting issues (STR #3227 )
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11746 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-05-17 16:33:50 +00:00
Albrecht Schlosser
495d15cf7a
Add HTML entity tests to test/help-test.html.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11744 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-05-17 16:10:12 +00:00
Manolo Gouy
8eb1517ffc
More accurate message about how to port the stat() function to a new platform.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11741 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-05-16 10:54:13 +00:00
Manolo Gouy
a6b31a05af
CMake on Mac OS: copy support files to application bundles.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11740 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-05-15 14:07:48 +00:00
Manolo Gouy
c68d4d52d8
Fix colbrowser.cxx for __APPLE__
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11739 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-05-15 14:06:01 +00:00
Manolo Gouy
e3d96c1bcf
Simpler test/help.cxx under Mac OS X
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11738 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-05-15 13:52:17 +00:00
Albrecht Schlosser
3db259007a
Fix typo in html file test/help-test.html
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11735 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-05-13 13:02:39 +00:00
Manolo Gouy
207d8fe09b
Add GLContext to the set of platform-dependent types defined in FL/platform_types.h
...
If a platform does not support OpenGL, it can just typedef GLContext as void*
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11733 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-05-13 06:45:40 +00:00
Manolo Gouy
01c5b06fa0
Slightly simpler Fl_Graphics_Driver::default_driver() function.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11732 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-05-13 06:41:33 +00:00
Manolo Gouy
cc35e003eb
Move GL-related member functions from class Fl_Cocoa_Screen_Driver to class Fl_Cocoa_Gl_Window_Driver
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11728 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-05-09 16:10:54 +00:00
Albrecht Schlosser
2dacc9a1db
Fix documentation of Fl_Tile (STR #3303 ).
...
Clarify that the resizable() box should be the first child to ensure
correct event delivery to children.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11727 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-05-09 11:29:59 +00:00