Albrecht Schlosser
5c19bf07bf
Documentation fixes.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12026 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-10-14 14:33:14 +00:00
Manolo Gouy
81873ec324
Mac OS X SDK 10.12 is now supported, so MAC_OS_X_VERSION_10_12 is defined if SDK does not define it.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12021 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-10-08 05:59:14 +00:00
Manolo Gouy
5c93e73a54
Add FL_EXPORT to quiet warning with MS VS2015
...
see http://www.fltk.org/newsgroups.php?s34326+gfltk.general+v34341
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12020 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-10-07 07:50:22 +00:00
Manolo Gouy
842c45f938
Fl_Native_File_Chooser on MacOS: improve handling of case where no chooser title is set.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12012 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-10-05 07:36:04 +00:00
Manolo Gouy
6324e540fe
Improve Fl_Native_File_Chooser open dialog under Mac OS 10.12 that had lost its titlebar message.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12010 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-10-04 14:56:38 +00:00
Manolo Gouy
6df5b37006
Fix for STR#3308 - MacOS-specific part
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12008 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-10-04 11:26:36 +00:00
Manolo Gouy
68688867f1
Explain how to proceed after "configure: error: cannot run /bin/sh ./config.sub"
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12007 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-10-03 16:12:51 +00:00
Manolo Gouy
a98d3a20c6
This file is used by the offscreen demo program when building with Xcode.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12005 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-10-03 15:48:12 +00:00
Manolo Gouy
581db5c588
Xcode version 8 is usable to build FLTK.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12004 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-10-03 15:40:13 +00:00
Albrecht Schlosser
c8837ffaec
Fl_Shared_Image documentation enhancements and clarifications.
...
Minor code changes (e.g. renaming of variables) included, but no functional
changes.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12002 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-10-01 22:35:37 +00:00
Greg Ercolano
7651217fa3
Applying my suggested patch to solve immediate issues with STR #3231 .
...
Probably more needs to be done (see STR), but at least solves the
immediate issues.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12000 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-10-01 21:20:18 +00:00
Albrecht Schlosser
7d6caa94a2
Configure #4 : update libs and header configuration and summary.
...
Rewrite library and header configuration so HAVE_something is only set
in config.h if both library and header files are found.
Fix and enhance summary output to display _found_ options instead of
_requested_ options (e.g. don't show Xft if Xft was requested but not found).
Configure is aborted if Xft is requested explicitly but not found.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11997 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-09-30 20:51:45 +00:00
Albrecht Schlosser
b4bf9f01f2
Configure #3 : indenting and whitespace fixes.
...
A few more indenting and whitespace fixes:
- remove trailing spaces and tabs
- use a combination of tabs and spaces for indenting.
Note: most parts of configure.ac used tabs+spaces, but there were some
parts not consistent with this. Now tabs+spaces indenting is used
everywhere. This commit does not change functionality.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11996 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-09-30 12:36:55 +00:00
Albrecht Schlosser
8a50066f8f
Configure #2 : replace deprecated macros, fix all autoconf warnings.
...
autoconf --warnings=all displayed a long list of warnings about deprecated
macros and suggested to use autoupdate to fix these warnings.
This commit fixes all these warnings and replaces some more macros with
more modern ones while still maintaining compatibility with autoconf 2.50.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11995 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-09-30 11:47:38 +00:00
Albrecht Schlosser
6978abb398
Configure #1 : rename configure.in to configure.ac.
...
This commit and the following commits marked "Configure #x:" will
update the autoconf/configure system to a more future-proof state
while maintaining compatibility with autoconf 2.50:
- rename configure.in to configure.ac (this commit)
- replace deprecated configure macros with recommended ones
- simplify some configure macros (e.g. CHECK_HEADERS instead of CHECH_HEADER)
- improve indenting (clarify macro arguments)
- better (combined) header and library checks
- and some more small changes.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11994 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-09-30 11:33:14 +00:00
Manolo Gouy
f658fc0aea
Add necessary autorelease pool for function get_window_frame_sizes()
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11991 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-09-27 20:08:23 +00:00
Manolo Gouy
8a1b394380
MacOS platform: fix building under OS 10.4 that may not have kCGBitmapByteOrder32Host #define'd
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11989 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-09-27 10:36:08 +00:00
Greg Ercolano
6930bfca17
Small doc clarification for omitted word, caught by Albrecht via private email.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11986 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-09-26 19:29:03 +00:00
Manolo Gouy
0c303164ba
Mac OS platform: Remove old Carbon code from cairo/Fl_Cairo.cxx
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11980 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-09-26 09:22:55 +00:00
Albrecht Schlosser
8a392f90de
X11: More explicit warning when using rotated text w/o Xft.
...
The warning is issued to stderr only once (previously: every time rotated
text was used).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11977 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-09-25 11:07:06 +00:00
Albrecht Schlosser
c930e2c0c0
Fl_Tree documentation fixes.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11975 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-09-24 22:47:28 +00:00
Albrecht Schlosser
6def7a3924
Fix copyright year.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11970 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-09-23 14:03:40 +00:00
Albrecht Schlosser
b7fc62a589
Fix potential crash when using keyboard nav. on Fl_Tabs (STR #3333 ).
...
Also: more consistent use of 'const int nc = children()'. Added 'const'
qualifier for clarity only. This does not change the behavior.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11969 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-09-23 14:01:12 +00:00
Manolo Gouy
a4b36aaa12
Add the offscreen test app to the list of apps produced by the Xcode project.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11962 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-09-21 10:25:20 +00:00
Manolo Gouy
943cb5583e
Change default Mac OS deployment target for apps built by the Xcode project for FLTK to 10.7.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11961 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-09-21 09:03:15 +00:00
Manolo Gouy
9c429ac63c
Remove the 'suppressed' variable from cocoaMouseHandler(), a useless residue from ancient code.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11959 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-09-21 06:10:06 +00:00
Albrecht Schlosser
ad65146bf9
Update dependencies.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11955 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-09-20 13:19:25 +00:00
Albrecht Schlosser
0c317dbce8
Fix potential compiler warnings.
...
Backported from branch-1.3-porting.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11954 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-09-20 13:17:29 +00:00
Albrecht Schlosser
5886d3706f
Update fluid files and copyright.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11952 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-09-20 12:57:18 +00:00
Greg Ercolano
7dbb29524a
Small size mods to prevent Fl_Help_View scrollbar and wordwrap,
...
while keeping Albrecht's recent mods.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11947 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-09-16 20:28:15 +00:00
Manolo Gouy
8b2c6cecfc
Documentation: clarify and extend the description of Fl::paste().
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11945 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-09-16 09:11:48 +00:00
Manolo Gouy
713cdbeb93
Documentation: better structure for the description of function Fl::paste()
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11944 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-09-16 08:24:10 +00:00
Manolo Gouy
0c457fb89d
Remove possible warnings when compiled with -Wundef
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11943 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-09-13 11:51:24 +00:00
Albrecht Schlosser
381dbf43f6
Fix native file chooser test program (STR #3326 ).
...
Fix compilation error under Windows with MS compiler (Visual Studio) only.
Also fix layout and resizing behavior.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11940 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-09-13 00:56:51 +00:00
Manolo Gouy
6796d05425
Fix typo in macro __LP64__
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11939 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-09-12 16:22:59 +00:00
Manolo Gouy
ee0a47973c
Make clear that clipboard and drag-n-drop textual data are UTF-8 encoded.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11933 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-09-12 10:47:05 +00:00
Manolo Gouy
0e94558dda
Remove comments that refer to non-cocoa Mac OS source code, which no longer exists.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11927 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-09-06 05:00:08 +00:00
Greg Ercolano
cad4115c23
Help text typo
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11924 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-09-05 19:29:48 +00:00
Greg Ercolano
3317b4df30
Code indent consistency + doxygen \code indent fixes.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11923 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-09-05 19:28:21 +00:00
Greg Ercolano
1dc11af70f
Fixes STR#3200 issue with filter() on Win32.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11920 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-09-05 16:46:59 +00:00
Greg Ercolano
86d8af009a
Added "Filter" field to test filter strings.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11919 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-09-05 16:41:14 +00:00
Manolo Gouy
a9195a3d94
MacOS platform: make configure-based build produce a bundled demo app in test.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11918 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-09-03 08:14:43 +00:00
Manolo Gouy
f84f5821b0
Mac OS platform: make the colbrowser demo load its data file from its bundle when started
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11917 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-09-03 07:45:31 +00:00
Manolo Gouy
c98f143ccb
Mac OS platform: make the help demo load its data file when started after configure build.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11916 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-09-03 07:35:59 +00:00
Albrecht Schlosser
c0fb27cc2f
Fix compiler warning (STR #3081 ).
...
Note to devs: this was already fixed in branch-1.3-porting.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11914 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-09-01 12:41:19 +00:00
Greg Ercolano
f2aabb5ef8
Fixes STR# 3325 - fixes scheme oriented focus box drawing problems when Fl_Choice height is <20
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11907 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-08-30 19:08:36 +00:00
Greg Ercolano
0cbc735d4f
Limit line numbering to New>Code editor.
...
(was affecting Properties->Callback and New>Code>Comment editors)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11905 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-08-30 05:44:19 +00:00
Manolo Gouy
924f223fc4
Fix slight scaling error when pasting Enhanced metafile from clipboard.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11903 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-08-28 15:18:44 +00:00
Manolo Gouy
172c8c8984
Remove implicit conversion between Fl_Image* and Fl_RGB_Image*
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11902 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-08-28 09:51:10 +00:00
Manolo Gouy
3b5bf9691d
Use desktop scaling factor also when pasting an Enhanced Metafile
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11901 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-08-28 06:54:20 +00:00