Albrecht Schlosser
f40cb28308
Fix uninitialized variable warning.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11810 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-07-15 10:24:35 +00:00
Greg Ercolano
1c761bedc3
Solves STR# 3305 as ABI feature 1.3.4.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11808 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-07-14 18:48:43 +00:00
Greg Ercolano
7d3218f7ea
Fix problem w/unittest's schemes -> tab3 text editors
...
not showing up correctly.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11807 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-07-14 18:12:46 +00:00
Greg Ercolano
e45dfc2b20
Small code simplification as suggested in comment #15 of STR#2828
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11806 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-07-14 01:12:21 +00:00
Greg Ercolano
5a340a2e5e
Solves STR#3306.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11805 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-07-13 23:19:12 +00:00
Albrecht Schlosser
f41ef4e158
Clarification and better documentation of ABI version configuration.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11803 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-07-09 18:43:31 +00:00
Albrecht Schlosser
189591d4b6
Documentation fixes and clarifications.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11801 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-07-09 17:06:46 +00:00
Greg Ercolano
a0086f7075
Document savefile() return value, see also references to/from outputfile()
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11799 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-06-25 00:54:24 +00:00
Greg Ercolano
e964f33514
Small doc improvements/elaborations.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11798 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-06-23 20:17:11 +00:00
Manolo Gouy
abb580f294
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@11797 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-06-22 08:46:02 +00:00
Greg Ercolano
88105f2d72
Brought in Manolo's doc mods (r11785).
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11795 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-06-22 07:49:34 +00:00
Greg Ercolano
e756dd8dab
Changed Fl_Sys_Menu_Bar::update() from protected -> public
...
as per STR #3317 and manolo's commit #11785 to branch-1.3-porting/
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11793 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-06-22 07:43:16 +00:00
Manolo Gouy
1680285406
Output the value of Fl_Gl_Window::pixels_per_unit() as a float.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11791 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-06-22 07:18:30 +00:00
Manolo Gouy
dcf8bc2afa
Fix for STR#3316: use same value for the size argument of glGenLists() and glDeleteLists()
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11789 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-06-22 06:55:40 +00:00
Manolo Gouy
1919691343
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@11788 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-06-22 05:58:30 +00:00
Manolo Gouy
6b95819984
Make Fl_Gl_Window::pixels_per_unit() return a float (rather than int) value.
...
This is compatible with future scaling factors applicable to the GUI.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11787 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-06-22 05:44:14 +00:00
Greg Ercolano
e09806d249
Some small Fl_Sys_Menu_Bar related doc mods as per STR#3317.
...
WIP -- more to come; just checking in what I have for now..
1) rank -> index
2) Added docs for index \return values for some methods
3) Some clarification in the internal docs about rank vs. index
4) Enabled Fl_Menu_Item's enum flags to be able to be links (added @file
to Fl_Menu_Item.H) so references to e.g. "::FL_MENU_TOGGLE" will show
up as links in doxygen docs.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11786 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-06-18 00:32:18 +00:00
Albrecht Schlosser
879d03fab4
[CMake] Improve sound support detection.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11780 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-06-14 10:57:56 +00:00
Manolo Gouy
c4d004d5b3
THE best way to test for availability of dlsym().
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11778 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-06-14 05:17:00 +00:00
Albrecht Schlosser
8d67e81b7d
[CMake] Add missing end of file comment.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11776 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-06-13 22:29:17 +00:00
Albrecht Schlosser
ccd5f72035
[CMake] Fix restoration of CMAKE_REQUIRED_LIBRARIES.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11775 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-06-13 22:14:31 +00:00
Manolo Gouy
e2b6f1c7ec
Fix cases where function dlsym() is not in library libdl
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11773 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-06-13 12:23:22 +00:00
Manolo Gouy
da46b5caa3
Fix positionning of text after <HR> directive (partial fix of STR #3227 ).
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11768 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-06-03 11:40:26 +00:00
Greg Ercolano
3420a418c0
Doc fix: fixes STR#3312.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11766 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-06-03 05:13:44 +00:00
Albrecht Schlosser
2058a25373
Hopefully final fix of HTML entity handling
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11763 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-05-31 11:31:58 +00:00
Manolo Gouy
d850775282
Proper handling of html entities (&name;) in text selections of Fl_Help_View widget.
...
This commit reproduces the same changes in the fltk-1.3-porting branch.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11761 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-05-31 09:12:40 +00:00
Greg Ercolano
6b288980cb
Fl_Text_Editor documentation mods for kf_xxx functions.
...
(Discussion on fltk.coredev May 29 - 30th 2016)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11759 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-05-30 22:01:06 +00:00
Greg Ercolano
b37803b0ad
Added references to the virtual colormap.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11758 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-05-28 15:50:17 +00:00
Greg Ercolano
8a68fd1de8
Doc mod to refer to fltk color chip table.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11757 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-05-28 15:39:05 +00:00
Greg Ercolano
92aa25597d
Small doxygen doc fix for scrollbar_width().
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11756 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-05-26 16:39:09 +00:00
Albrecht Schlosser
f47e381838
Generate Doxygen docs with the highest possible ABI version.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11754 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-05-25 15:55:03 +00:00
Albrecht Schlosser
f9b235212d
remove duplicate '†'
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11752 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-05-23 10:48:06 +00:00
Albrecht Schlosser
556727f026
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@11751 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-05-23 10:45:16 +00:00
Albrecht Schlosser
1127234621
Fix compiler warning.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11749 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-05-22 13:43:12 +00:00
Albrecht Schlosser
bc9bb9bd70
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@11745 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-05-17 16:25:27 +00:00
Albrecht Schlosser
3a9afecc0b
Add HTML entity tests to test/help-test.html.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11743 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-05-17 16:08:13 +00:00
Albrecht Schlosser
c092b92938
[CMake] Improve Mac OS X bundle generation and more (STR #3299 ).
...
Remove example specific tests from macro CREATE_EXAMPLE, add
function to set bundle icon, simplify some CMake setup code,
deprecate usage of UseFLTK.CMake.
Todo: Fix documentation.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11742 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-05-16 14:43:37 +00:00
Manolo Gouy
d6906ffb16
Copy help-test.html inside the help bundle
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11737 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-05-15 13:18:48 +00:00
Manolo Gouy
cc3ef5bec9
Simplify test/help.cxx when USING_XCODE is set.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11736 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-05-15 08:28:47 +00:00
Albrecht Schlosser
90e4ba1eed
Fix typo in html file test/help-test.html
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11734 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-05-13 13:01:40 +00:00
Greg Ercolano
3bd3f5c5de
Removed test mods.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11731 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-05-11 22:39:13 +00:00
Greg Ercolano
dd9c9531f7
Test 2
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11730 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-05-11 22:37:07 +00:00
Greg Ercolano
6efea91c43
Test commit.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11729 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-05-11 22:32:07 +00:00
Albrecht Schlosser
21768d9410
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@11726 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-05-09 11:25:57 +00:00
Manolo Gouy
489bb91a82
Safer code for gl_draw() when used on normal window and Mac OS X.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11725 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-05-09 08:01:16 +00:00
Manolo Gouy
59f5b732ae
Documentation: detail ownership of the image data when pasting from an image-containing clipboard.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11715 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-05-05 08:47:37 +00:00
Manolo Gouy
8feb1bda5f
Make all platforms get same kind of Fl_Image object when pasting an image from clipboard.
...
Previously the X11 platform got an Fl_Shared_Image whereas other got an Fl_RGB_Image,
which made image deletion difficult. Now all platforms get an Fl_RGB_Image object.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11712 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-05-05 07:21:24 +00:00
Albrecht Schlosser
eda47df063
Fix compiler warning when compiled with USING_XCODE [-fpermissive].
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11562 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-09 12:38:49 +00:00
Albrecht Schlosser
1bc1f910e0
Improve Unicode documentation, fix typos.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11548 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-07 00:01:15 +00:00
Albrecht Schlosser
17f677e0a3
Fix more compiler warnings.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11535 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-05 21:12:49 +00:00