Commit Graph

4534 Commits

Author SHA1 Message Date
Manolo Gouy 77204efa1c X11 specific: made class Fl_X visible only if FL_LIBRARY is defined before compilation,
as discussed in fltk.development ("Fl_X not exported on mac in 1.3").  
Tested OK with configure+make and CMake.
At this point, the FL_X class remains to be hidden on the WIN32 platform.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8268 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-12 09:24:03 +00:00
Albrecht Schlosser 0cfc132601 Documentation updates. Reformatted development.dox, removed some old and
obsolete parts.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8267 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-12 09:20:11 +00:00
Manolo Gouy be8b1f4ac5 Another change to allow OS-independent compilation of external applications as suggested by Greg.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8266 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-12 07:54:42 +00:00
Albrecht Schlosser b4c15eb8ae Fixed a few GNU compiler warnings (-pedantic): C++ comments in C files,
extraneous ';' and ',' and an invalid cast.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8263 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-11 20:52:38 +00:00
Matthias Melcher 9c0c450cbd Fixed accidental commit of some eperimental dead key preview code. STR 2515
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8262 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-11 20:50:36 +00:00
Albrecht Schlosser 645e86a30c Updated documentation copyright dates to 2011.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8261 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-11 20:23:46 +00:00
Matthias Melcher b55ac81f51 Attempt to fix the dead_key/special_key issue.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8259 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-11 16:43:52 +00:00
Albrecht Schlosser 7ada14f3b7 Reverting unintentionally committed experimental code in r8256. Sorry.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8258 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-11 13:40:26 +00:00
Matthias Melcher 026632d781 Small formatting updates for Intor.dox
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8257 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-11 13:07:10 +00:00
Albrecht Schlosser 313352b55f Updated documentation/README to reflect the new distribution of
pre-generated documentation as separate downloads.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8256 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-11 13:06:15 +00:00
Manolo Gouy b6d2207550 New attempt to fix STR #2513.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8255 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-11 12:08:44 +00:00
Albrecht Schlosser aa4342fe1a Next try to improve documentation title and version numbers.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8254 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-11 10:49:50 +00:00
Albrecht Schlosser 1cccb74748 Fixed Doxygen version numbers (and better HTML title with version number).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8253 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-11 10:37:47 +00:00
Manolo Gouy 03af588ef9 Added missing #include's when compiled using Xcode
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8252 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-11 10:36:44 +00:00
Greg Ercolano 94a3cdaa47 Added dnd example to Makefile.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8249 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-10 22:25:59 +00:00
Manolo Gouy d21d46979b Attempt to fix STR #2513: make sure that MAC_OS_X_VERSION_10_5 is defined.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8240 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-10 12:42:17 +00:00
Manolo Gouy 34c10b3557 Fix STR #2514. Removes compilation warnings when using gcc 4.4 with -Wall
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8239 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-10 12:02:48 +00:00
Ian MacArthur 41a64c5012 Attempt to update doxygen description of building under winXX as it was out of date
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8238 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-10 11:37:22 +00:00
Manolo Gouy 7cc7abbd12 Removed compilation warning.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8229 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-09 16:40:38 +00:00
Manolo Gouy 2dadc8cb54 First step to support CJK input under Mac OS: implementation of the function
firstRectForCharacterRange of the NSTextInput protocol.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8228 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-09 16:07:13 +00:00
Matthias Melcher 5f940c4e4b Remove screen dimension test
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8226 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-09 14:26:21 +00:00
Manolo Gouy 1277b4e9a2 Added missing static function qualifier
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8225 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-09 14:16:36 +00:00
Manolo Gouy eec2fbea89 Corrected typos
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8224 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-09 14:08:58 +00:00
Matthias Melcher d96789d931 STR 1760: using the alt modifier on OS X to access menubar accelerators.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8223 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-09 12:56:50 +00:00
Manolo Gouy 712554e3b0 Fixed STR #2512: crash in test/tree demo.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8222 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-09 08:34:13 +00:00
Greg Ercolano 3715d38360 Added a drag and drop example.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8221 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-08 18:58:50 +00:00
Greg Ercolano ba82efddcd Example was missing end() in ctor.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8220 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-08 18:41:47 +00:00
Matthias Melcher 0b6b69caaa Accidentaly copied here
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8219 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-08 16:31:55 +00:00
Matthias Melcher 2dc664935d git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8217 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 2011-01-08 16:28:16 +00:00
Albrecht Schlosser f62a6a927a Removed unused (but unnecessarily incremented and decremented)
timeout counter variables and improved comment.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8216 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-08 11:53:28 +00:00
Albrecht Schlosser 45745509f0 Fix to take care of Cygwin that uses UTF-16 as well as native Windows,
i.e. sizeof(wchar_t) = 2, and Unicode is UTF-16 with surrogate pairs.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8214 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-07 17:23:02 +00:00
Manolo Gouy 63e77dfe56 Removed compilation warning in fl_font_win32.cxx
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8213 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-07 16:19:30 +00:00
Manolo Gouy 97fce6b748 Removed requirement of Mac OS 10.4 because of use of [NSScreen userSpaceScaleFactor]
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8212 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-07 14:47:02 +00:00
Albrecht Schlosser 8197ba8d9b STR #2505: Fixed double string conversion.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8211 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-07 13:28:42 +00:00
Albrecht Schlosser cdaff761f7 src/screen_xywh.cxx:
Fix X11 screen_init() if Xinerama is available, but not active.
Still investigating why there are nonsense dpi values under Cygwin/X11,
but maybe this is an X server problem.

test/hello.cxx:
Extended test statements - don't forget to remove before release.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8210 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-07 12:39:51 +00:00
yuri 3c25646121 fix build with xinerama
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8209 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-07 09:45:40 +00:00
Manolo Gouy 5c4cfa8863 Fix STR #2505. This allows bad UTF-8 strings to be displayed under X11+Xft without crash.
Any string is converted to Unicode (to UTF-16 under Cygwin) by fl_utf8decode() within
the fl_draw() and fl_width() functions, and the converted data is drawn/measured.
fl_utf8decode() accepts any byte input, even bad UTF-8.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8208 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-07 09:15:02 +00:00
Matthias Melcher af1d2731d0 DPI fixed for X11
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8207 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-07 01:37:47 +00:00
Matthias Melcher ecc423c2f1 DPI fixed for Xinerama?
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8206 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-07 01:33:29 +00:00
Matthias Melcher 308c6bc307 DPI fixes for MSWindows GDI
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8205 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-07 01:12:04 +00:00
Matthias Melcher 7dc05cb20e First attempt at finding the screen pixel sizes. Can't test Xinerame, MSWindows, or X11 yet.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8204 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-07 01:01:04 +00:00
Matthias Melcher d6bffb20a3 STR 2511: some minor doc changes. I did some extensive changes just after releasing RC2
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8203 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-06 21:48:37 +00:00
Matthias Melcher 3ed49c0793 STR 2510: send Fluid help string to an FLTK dialog box for Visual Studio builds.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8202 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-06 21:36:04 +00:00
Manolo Gouy 22111debb8 Fixed use of FLTK_HAVE_CAIRO under Mac OS.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8201 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-06 13:17:21 +00:00
Manolo Gouy 0e066f5511 Fix STR #2504 (last part). Replaced HAVE _CAIRO by FLTK_HAVE_CAIRO and USE_CAIRO
by FLTK_USE_CAIRO everywhere.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8200 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-06 10:27:18 +00:00
Manolo Gouy 0300ea28e7 Fix STR #2504 (2nd part). Replaced HAVE _CAIRO by FLTK_HAVE_CAIRO and USE_CAIRO
by FLTK_USE_CAIRO everywhere.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8199 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-06 10:26:25 +00:00
Manolo Gouy bc509d32eb Fix STR #2504 (first part). Replaced HAVE _CAIRO by FLTK_HAVE_CAIRO and USE_CAIRO
by FLTK_USE_CAIRO everywhere.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8198 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-06 10:24:58 +00:00
Manolo Gouy ead3432f9b Classes Fl_Printer and Fl_Postscript_Printer: added missing class_name() calls.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8197 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-06 08:46:54 +00:00
Manolo Gouy 9f61a96b85 Declared protected the constructors of classes Fl_System_Printer and Fl_Postscript_Printer,
so end users only employ the system-independent Fl_Printer class.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8196 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-06 06:06:57 +00:00
Albrecht Schlosser 128636292a Added refman.pdf to clean target in documentation/Makefile.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8195 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-05 23:00:33 +00:00