Matthias Melcher
e77d29a1ee
Doc update for OS X installation.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8330 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-29 14:35:01 +00:00
Greg Ercolano
909cf0061b
Fixes STR#2547.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8327 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-29 06:00:46 +00:00
Manolo Gouy
8181b42f88
Removed compilation warning for pre-10.5 Mac OS.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8326 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-28 18:10:39 +00:00
Manolo Gouy
5e50478380
Fix STR #2541 . The code is unchanged for Mac OS and MSWindows because the bug
...
does not occur there.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8325 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-28 17:38:07 +00:00
Greg Ercolano
35c7c2f14c
Makefile modified to demonstrate use of fltk-config.
...
FLTK settings defined in a separate Makefile.FLTK
which users can nab for their own use.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8324 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-28 16:11:45 +00:00
Manolo Gouy
23ab3ff119
Corrected typo in Doxygen doc (again).
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8323 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-28 08:37:49 +00:00
Manolo Gouy
12f064a121
Corrected typo in Doxygen doc
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8322 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-28 08:20:34 +00:00
Greg Ercolano
d8d04b2485
Removed unncessary calls to set_value_hide() which was
...
causing a crash on windows.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8321 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-28 01:34:22 +00:00
Manolo Gouy
4df0320ec6
Clarified the Doxygen docs of fl_utf8toUtf16() and fl_utf8towc() where there was some mixup.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8320 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-27 17:27:52 +00:00
Manolo Gouy
8d4dea4bc0
Allow easier modification of the block size for character widths.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8319 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-27 16:55:43 +00:00
Matthias Melcher
60eae78679
Slightly changed the event dispatch functions to allow for exception handling.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8318 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-26 19:14:38 +00:00
Matthias Melcher
5e0710fcd0
Stupid bug removed
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8315 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-25 22:16:49 +00:00
Matthias Melcher
7b832a512e
Added Fl::event_dispatch() which can add a function to FLTK that monitors all events before they reach Fl::handle(). STR 2532
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8314 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-25 19:54:09 +00:00
Manolo Gouy
ece27e347c
Fix STR #2530 (Mac OS only)-continued. Change to allow display of the surrogate zone of UniChar.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8311 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-24 21:58:44 +00:00
Manolo Gouy
37180e08b3
Fix STR #2530 (Mac OS only)-continued. Use 512 blocks of 128 character widths-continued:
...
two 256->512 substitutions were missing.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8310 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-24 21:00:17 +00:00
Manolo Gouy
e3a96057c1
Fix STR #2530 (Mac OS only)-continued. Use 512 blocks of 128 character widths
...
(instead of 256x256) because this reduces greatly the opening time of windows
with several new fonts.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8309 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-24 20:05:34 +00:00
Albrecht Schlosser
5824eb4eb9
Removed unnecessary dependencies from ide/VisualC6/fltkdll.dsp.
...
This is a try to get rid of bogus X11 warnings (STR #2521 ).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8308 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-24 19:48:36 +00:00
Albrecht Schlosser
ddc3d3b8c5
Fixed ide/VisualC6/fltkdll.dsp to writed the correct dll in debug mode.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8307 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-24 19:04:18 +00:00
Matthias Melcher
fe25f19767
Adding embedded documentation to Fluid if installed odcs are not found. Falls back to the internet if that does not exist either. Also, adds JPEG and PNG images to the Shared Image list if they were loaded from memory - see example use in fluid.cxx which loads and embedded html document containing an embedded PNG image.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8306 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-24 17:04:22 +00:00
Manolo Gouy
f9363c16d0
Fix STR #2530 (Mac OS only). Implements a fast algorithm for fl_width() that memorizes the
...
width of all characters the first time they are seen and computes the width of a string
as the sum of the widths of its characters. Char widths are memorized in 256 blocks of 256 widths;
only blocks used in some text are allocated and computed. The width of characters beyond
U+FFFF is computed anew each time. Strings are drawn using core text, after having
deactivated character kerning, so their width is the sum of the widths of their characters.
This is the same algorithm as used for WIN32.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8305 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-24 15:30:14 +00:00
yuri
1b146a4837
wix find windress when using crosscompiler
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8303 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-23 11:14:21 +00:00
Albrecht Schlosser
c54e998967
Added FL_EXPORT for some more classes and structs to clean up MS DLL building.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8301 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-22 22:40:11 +00:00
Albrecht Schlosser
1c38a0f2f7
Tweaks to silence more MS compiler warnings.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8300 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-22 22:38:55 +00:00
Albrecht Schlosser
00710928d4
Added compiler options to silence warnings.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8299 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-22 22:35:56 +00:00
Greg Ercolano
5f1f1d7444
Brian, Greg, and Albrecht's solutions to build errors in VS6.
...
Possibly solves STR#2521.
There are still warnings about bool <-> int conversion
that are probably benign.
There are also warnings during dependency creation
about other platform files that also appear to be benign.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8298 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-22 21:15:52 +00:00
Albrecht Schlosser
d655684c77
Added missing dependency on tree.fl, and extended target clean to delete
...
all fluid-generated .h files (as well as .cxx files).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8297 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-22 16:56:12 +00:00
Manolo Gouy
0a346cf536
Removed duplicate definition of font_mx variable.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8296 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-21 16:05:46 +00:00
Manolo Gouy
a306fe46d3
Redefined fl_xid() as an inline function when used inside the FLTK library.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8295 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-20 13:22:30 +00:00
Manolo Gouy
30c1eed80b
A better solution to the crash when printing the mandelbrot demo under WIN32.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8294 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-20 12:55:50 +00:00
Albrecht Schlosser
0eec2893a1
Updated VisualC2008 and VisualC2010 project files to define FL_LIBRARY in
...
non-dll builds. Also changed some dependencies to get correct build order.
To Do: VisualC2008 doesn't create the .cxx and .h files with fluid from
.fl files correctly (VisualC2010 does, but maybe except test/tree.cxx).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8293 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-20 00:37:18 +00:00
Matthias Melcher
0ae74b5ab1
Fluid binary type adds size to the array of unsigned char, giving better access to the resource.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8292 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-19 23:14:09 +00:00
Manolo Gouy
b015837b2a
Removed gcc 4.4 compiler warning:
...
Fl_Preferences.cxx:1322: warning: ignoring return value of
‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8291 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-19 06:33:48 +00:00
Manolo Gouy
39ae4651bf
Removed compiler warning:
...
Fl_PNG_Image.cxx:108: warning: 'fp' may be used uninitialized in this function
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8290 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-19 06:29:06 +00:00
Albrecht Schlosser
96c410dceb
Hiding the Fl_X class under WIN32 (STR #2522 ).
...
Applied Manolo's patch, modified to use FL_INTERNALS for
explicit request in user code to expose class Fl_X.
Also changed X11 and Mac OS to use FL_INTERNALS.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8289 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-17 23:52:32 +00:00
Albrecht Schlosser
b841d90d3c
Documentation updates (remaining fix for STR #2520 ).
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8288 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-17 22:42:34 +00:00
Manolo Gouy
0ae1054d07
Fix 2nd part of STR #2520 : added Fl_PNG_Image in-memory constructor.
...
This constructor has a 3rd argument, the size of the array holding the in-memory PNG image.
This allows the constructor to check for errors in the image.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8287 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-17 20:51:12 +00:00
Manolo Gouy
5af1531cd2
Fl_File_Chooser: removed the "Show hidden files" button for WIN32 where it's not relevant.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8286 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-17 09:39:14 +00:00
Manolo Gouy
5593c60d50
Fix STR #2524 : no more NSAutoreleaseNoPool messages.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8285 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-16 21:05:29 +00:00
Manolo Gouy
356b3bbc7d
Fix STR #2523 : unimplemented functions have been removed.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8284 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-16 19:56:01 +00:00
Manolo Gouy
253dfe93c1
Fix STR #2525 . The bug was PPC-specific.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8283 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-16 19:44:12 +00:00
Manolo Gouy
e2ddb1715c
Fl_File_Chooser: added a "Show hidden files" button. Hidden files aren't shown
...
by default now. This removes a TODO clause.
Fl_Native_File_Chooser: removed the hack that added the "Show hidden files" button, and
made the "file already exists" warning message localizable.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8282 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-16 18:26:51 +00:00
Manolo Gouy
774880acc5
Replaced "foreign language" by "another language" in doc.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8281 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-16 18:21:39 +00:00
Manolo Gouy
6f9f141462
Replaced "foreign language" by "another language" in doc.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8280 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-16 18:16:35 +00:00
Ian MacArthur
bf52399372
Another tweak to fl_init_xim() as proposed by Denton Thomas.
...
Should not change the behaviour from the previous fix, it is
just a bit tidier!
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8279 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-15 22:47:30 +00:00
Ian MacArthur
d87cc866fc
This is an attempt to resolve the potential leaks identified in fl_init_xim() by
...
Denton Thomas.
This is not quite the patch as he proposed it, but I *think* whay I have done
is OK.
Seems to be OK for me anyway... Needs testing by others of course!
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8278 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-14 22:06:41 +00:00
Manolo Gouy
1a0b262f99
Fix memory leak in fl_new_ic() reported by Denton Thomas.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8277 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-14 11:48:18 +00:00
Manolo Gouy
728b46535b
Document that hidden class Fl_X is accessible only if FL_LIBRARY is #define'd.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8276 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-13 22:32:38 +00:00
Manolo Gouy
9fc93d2613
Fix STR #2518 : remove gcc 4.4 compilation warnings with -Wall
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8275 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-13 22:07:31 +00:00
Manolo Gouy
1ef50fc9c2
Mention in comment that FL_LIBRARY must be defined to access the Fl_X class
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8274 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-13 22:00:11 +00:00
Manolo Gouy
172e368434
Fixed WIN32 crash when printing with the test/mandelbrot demo.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8273 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-13 20:05:32 +00:00