Some illegal UTF-8 sequences might have caused buffer overflows. This
is checked now. Also updated string buffer sizes to support full Unicode
range up to U+10FFFF, i.e. UTF-8 sequences with up to four bytes.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12059 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit fixes the truncated string drawing that was partly fixed
in svn r 9112 (FLTK 1.3.1, 2011-10-01).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12057 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Note: this commit *is* included in fltk-1.3.4-rc2 although it was committed
after the release.
I forgot to commit it, but since it was modified in my working copy
it was included in the RC.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12054 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
One FreeBSD user reported a case where "/" does not appear in /etc/fstab, and thus
did not appear when the "File Systems" menu item of Fl_File_Chooser is run.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12047 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
(For fluid, we maintain /both/ .fl and .cxx/.h files in SVN; easy to forget..!)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12042 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Clicking "Rebuild Tree" after "Close All" did not show the widgets
(Fl_Input test, ccc button, D1, D2). This is now fixed.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12035 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Also, add Doxygen comment this class is not for use outside the library.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12030 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Documentation has been fixed and clarified, and ld() handling is now
consistent in Fl_(RGB_)Image, their subclasses and fl_draw_image()
and similar functions.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12028 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
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
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
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
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
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
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
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
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