summaryrefslogtreecommitdiff
path: root/src/xutf8
AgeCommit message (Collapse)Author
2012-04-24Fixed even more warnings in Fl_x.cxx & utf8Wrap.cFabien Costantini
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9394 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-04-24Fixed a warning in utf8Wrap.cFabien Costantini
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9393 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-04-22Fixed linux 64 gcc 4.6.1 compilation problemsFabien Costantini
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9373 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-04-05Fixed build error in msvs because Fl ref to FULLSCREEN enum was not ↵Fabien Costantini
accessible in Fl_Widget. new inline is_fullscreen() getter has been implemented to avoid a build error with (at least) msvc compilers. Fixed a ton of warnings / problems when bilding on windows 64 bits target with ms toolchain. cleaned up about 200 warnings raised when building win74 targets. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9325 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-08-08Fix STR #2688. fl_width(' ') was wrong under X11 without XFT.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8930 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-07-19Modifications to all LGPL headers for STR #2685.Greg Ercolano
(to clarify static exception LGPL by changing license references) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8864 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-02-08Correct a few minor typos in xutf8/utf8Wrap.c and add comments to (attempt ↵Ian MacArthur
to) better explain what I have added... git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8401 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-02-08Set properties on xutf8/utf8Wrap.cIan MacArthur
It doesn't look as if the props are set on any of the xutf8 files, actually. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8400 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-02-07Attempt to fix STR #2550 to make fl_text_extents work in Xlib-onlyIan MacArthur
(i.e. non-XFT) X11 builds. This appears to be working now, though I can not test it fully, so we need more feedback. In particular the setting of the dx param is certainly wrong, but works fine in general cases. I think. Also, I suspect it may behave badly in the face of RtoL text rendering but I think we have other problems in that area anyway... git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8399 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-02-01Fixes to help build on SGI.Greg Ercolano
Mainly: problem with C++ style comments that were in C code and headers. SGI C compiler / pre processor no grok C++ comments. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8347 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-12Deleted unused files in src/xutf8Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8270 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-11Fixed a few GNU compiler warnings (-pedantic): C++ comments in C files,Albrecht Schlosser
extraneous ';' and ',' and an invalid cast. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8263 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-15Fix STR # 2481: removed compilation warnings.Manolo Gouy
Files utf8Input.c and utf8Wrap.c (via ucs2fontmap.c that's included) need a different half of each of these input files. What is in the other half is unused and thus triggers a compilation warning. This has been fixed by adding #define NEED_TOWC in utf8Input.c and #define NEED_TOMB in ucs2fontmap.c and by bracketting the first half of these include files by #ifdef NEED_TOWC/#endif and the second half by #ifdef NEED_TOMB/#endif. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8038 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-15Changed all #include "config.h" to #include <config.h>.Albrecht Schlosser
This is necessary for out-of-source builds (e.g. CMake) to work correctly. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8033 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-30Fixed argument type in X11 calls (STR 2432)Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7921 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-28Fixed more Copyright to 2010.Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7904 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-28STR #2155: fixed using sparkaround's patch conditional to use of configure ↵Manolo Gouy
--enable-cp936 git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7902 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-18Fixed ARM Unicode cross compilation issue (STR #2432)Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7873 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-28Changed references to fltk-bugs@fltk.org -> STR form.Greg Ercolano
Todo: LGPL license file references (COPYING, license.dox, etc) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7563 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-19tweaked fl_wcwidth.c and mk_wcwidth.c to remove system wchar_tengelsman
commented out, or replaced, wchar_t with unsigned int. commented out unused functions from mk_wcwidth.c. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7536 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-18tweaked fl_wcwidth.c and mk_wcwidth.c to supercede system wchar_tengelsman
fl_wcwidth.c has a typedef unsigned int wchar_t; and mk_wcwidth.c has an #if 0 to stop #include <wchar.h> git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7530 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-18vanilla version of Markus Kuhn's wcwidth.c plus wrapper codeengelsman
wcwidth() function required to give column widths for UTF-8 and is required from solving remaining parts of STR-2158 git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7529 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-03-18xutf8 files code conformance:Greg Ercolano
o C files containing C++ "//" comments -> C style "/* */" comments o Converted unintended doxygen style comments to regular C comments o FLTK brace/indent coding standard conformance o Tested linux + sgi o Avoided mods to xutf8/lcUniConv [libiconv/FSF code] to avoid unwanted diffs with future updates of that lib as per Fabien's fltk.dev request 03/14/09. (Those files already compliant anyway) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6698 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-03-14deleted obsolete src/xutf8/makedepend.bak from repository.Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6681 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-03-14Fixes for SGI builds (STR#2174)Greg Ercolano
1) C++ style comments in C files converted to /* */ 2) #warning's had to be #ifdef'ed out (#if !defined(sgi)..) With these mods, 1.3.x compiles on IRIX 6.5 with no failures. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6680 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-03-13More LGPL headers and svn footers compliance (STR#2085 contd).Greg Ercolano
Think I got all of 'em this time. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6677 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-03-13LGPL headers and svn footers compliance (STR#2085)Greg Ercolano
todo: FLTK style indent + code compliance. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6675 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-04+ Fixed non standard fltk utf8 files headers.Fabien Costantini
Kept original author and copyright. Added standard fltk LGPL header notice + Added missing comment to fl_width() related to latest utf8 STR#2086 related fix in r6539 and r6540. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6542 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-19Fixed mingw was broken because src/XUtf8 Makefile didn't point to proper ↵Fabien Costantini
../../lib and ../../makeinclude paths. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6461 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-25+ Cairo branch merged after successful testing on Mac OS X 10.5.4, Linux ↵Fabien Costantini
Ubuntu 8.04,Windows XPSP2. This integration is minimum as discussed, in particular it does not feature any fltk cairo drawing substitution as in fltk2. Still it provides all the fundations to go further even in next 1.4 ... By default *no* cairo features are implemented nor linked, it can only be activated by --enable-cairo whose default is false. Please visit the README.cairo for complete description. + fixed UTF8 compilation pb on linux ubuntu + minor comments fixes on the fly git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6350 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-10Merging the UTF8 patch, consisting of O'ksi'd s original 1.1.6 patch and ↵Matthias Melcher
additions by Ian. PLEASE BE AWARE that the patch in its current incarnation is a regression in many aspects and further work is required before we can announce Unicode support. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6212 ea41ed52-d2ee-0310-a9c1-e6b18d33e121