Albrecht Schlosser
6b0e38942f
More configure.in quoting fixes.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11860 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-08-01 12:22:49 +00:00
Albrecht Schlosser
fa03b7c7b9
Fix quoting in configure.in.
...
There were two real errors (AC_MSG_ERROR, fixed in previous commit) and
lots of less important missing quotes.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11858 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-08-01 08:33:05 +00:00
Greg Ercolano
6c0908b39f
Bringing over fix [r11855] from 1.3 current to the porting branch.
...
Fixes problem with AC_MSG_ERROR() macro which was causing this error
when e.g. the X11 libs weren't found:
configure: line 410: test: aborting.: integer expression expected
configure: error: Configure could not find required X11 libraries
For info on correct use of AC_MSG_ERROR(), see:
https://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.69/html_node/Printing-Messages.html
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11856 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-08-01 05:00:19 +00:00
Albrecht Schlosser
71ec2f2b5c
Remove copyright markers from abi-version.* (STR #3161 ).
...
See STR comments #10 - #14 .
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11854 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-07-29 18:50:24 +00:00
Albrecht Schlosser
524fb8ae27
Fix more Windows 64-bit g++ compiler warnings.
...
Fixed warnings:
42 cast to pointer from integer of different size [-Wint-to-pointer-cast]
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11852 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-07-29 10:54:22 +00:00
Albrecht Schlosser
17b9f6d6cb
Fix compiler warnings (gcc 6.1).
...
Some of these warnings were benign (code formatting), but one of them
showed a potential bug (zero divide in test/fraciewer.cxx).
Fixed warnings:
1 this 'while' clause does not guard... [-Wmisleading-indentation]
1 this 'for' clause does not guard... [-Wmisleading-indentation]
1 this 'else' clause does not guard... [-Wmisleading-indentation]
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11850 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-07-29 09:24:04 +00:00
Albrecht Schlosser
a633de6461
Doc changes: set fl_font before fl_measure() (STR #3243 )
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11848 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-07-24 08:55:02 +00:00
Manolo Gouy
54dcf145fe
Fix Fl_X11_System_Driver::utf8locale() that did not work when no locale is set.
...
Also, minor simplification of Fl_WinAPI_System_Driver::utf8locale().
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11846 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-07-23 04:48:40 +00:00
Greg Ercolano
67213cf0d8
Bringing over fix [r11844] from 1.3 current to the porting branch.
...
Fixes STR #3270 ; when an image is used as a link,
this mod synchronizes the link's hot spot with the image.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11845 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-07-23 04:32:10 +00:00
Greg Ercolano
7b30c4720e
Bringing over fix [r11842] from 1.3 current to the porting branch.
...
Fixes to fl_choice() docs, added screenshots.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11843 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-07-22 10:30:34 +00:00
Greg Ercolano
e92fa6914b
Bringing over fix [r11840] from 1.3 current to the porting branch.
...
Solves STR#3294; added methods to let user set the userdeicon,
and removed the performance degrading automatic deicon creation.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11841 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-07-21 00:51:14 +00:00
Greg Ercolano
aa5ac8656d
svn property mods..
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11839 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-07-20 18:40:49 +00:00
Greg Ercolano
d1dd240bd4
Bringing over fix [r11835] from 1.3 current to the porting branch.
...
Improved fluid-org.png diagram.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11836 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-07-20 18:06:27 +00:00
Greg Ercolano
ef110d5949
Bringing over fix [r11833] from 1.3 current to the porting branch.
...
Added updated settings dialog screenshots to the fluid docs.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11834 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-07-20 17:08:29 +00:00
Greg Ercolano
509ed5962a
Bringing over fix [r11188] from 1.3 current to the porting branch.
...
Some code cleanup of FNFC Win32: no functional changes.
> Replace huge static WCHAR wpattern[] array with dynamic in win32 FNFC (ABI 1.3.4)
(Should decrease the memory weight WIN32 lib)
> Simplify current working directory management
> Comment simplification, CMP adherence
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11831 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-07-20 02:25:15 +00:00
Greg Ercolano
6465c2c544
Bringing over fix [r11756] from 1.3 current to the porting branch.
...
Small doxygen doc fix for scrollbar_width().
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11830 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-07-20 01:07:10 +00:00
Greg Ercolano
508af6b48e
Bringing over fix [r11757] from 1.3 current to the porting branch.
...
Doc mod to refer to fltk color chip table.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11829 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-07-20 01:05:58 +00:00
Greg Ercolano
ebba50752d
Bringing over fix [r11758] from 1.3 current to the porting branch.
...
(Enumerations.H had already been updated, but the enumerations.dox had not)
Added references to the virtual colorcube.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11828 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-07-20 01:03:33 +00:00
Greg Ercolano
d2d5573bc5
Bringing over fix [r11759] from 1.3 current to the porting branch.
...
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-porting@11827 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-07-20 00:55:06 +00:00
Greg Ercolano
1b238e52cd
Bringing over fix [r11766] from 1.3 current to the porting branch.
...
Doc fix: fixes STR#3312.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11826 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-07-20 00:50:36 +00:00
Greg Ercolano
f375b6098f
Bringing over fix [r11786] from 1.3 current to the porting branch.
...
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-porting@11825 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-07-19 23:50:09 +00:00
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