aboutsummaryrefslogtreecommitdiff
path: root/dw/fltkplatform.cc
AgeCommit message (Collapse)Author
2024-10-05Add support for more CSS unitsRodrigo Arias Mallo
Implements support for ch, rem, vw, vh, vmin and vmax units of CSS lengths. For now the units relative to the viewport are only computed once, and they won't change when the window is resized, but only when the page is reloaded. See: https://www.toomanyatoms.com/software/mobilized_dillo.html Authored-By: dogma
2024-08-07Use dStrdup instead of strdupRodrigo Arias Mallo
The strdup function is not available in POSIX-2001, so we use our own implementation in dlib: dStrdup. Reviewed-by: dogma
2024-08-07Fix pedantic warningsRodrigo Arias Mallo
Reviewed-by: dogma
2015-02-02TEXTAREA placeholder attributecorvid
2015-01-22INPUT placeholder attributecorvid
2014-09-19rm Fl_Printer stubcorvid
thread http://lists.dillo.org/pipermail/dillo-dev/2014-September/010231.html
2013-12-20RTFL messages.Sebastian Geerken
2013-12-09Activated RTFL again, see <http://www.dillo.org/~sgeerken/rtfl/>.Sebastian Geerken
2013-06-17Added gamma correction value to dw::core::ImgBuf.Sebastian Geerken
2012-11-25dw entry resource, mentions of maxLength should be sizecorvid
2012-10-30trim some spacescorvid
2012-10-03update comments for fl_width(uint_t) workaroundcorvid
2011-11-11locale-independent ASCII character case handlingcorvid
Basically, I and i are different letters in Turkic languages, and this causes problems for str(n)casecmp and toupper/tolower in these locales when dillo is dealing with ASCII.
2011-10-25fix letter-spacing with combining characterscorvid
2011-10-22text-transform propertycorvid
2011-09-11set tooltip text color to always use blackcorvid
2011-09-11reintroduce fltk2-era special handling for the color blackcorvid
I was mistakenly under the impression that it wasn't necessary for 1.3, but if you use 0 for a color, that means FL_FOREGROUND_COLOR.
2011-09-06remove trailing whitespaceJorge Arellano Cid
2011-07-24disable 'Found font:' messagesJohannes Hofmann
2011-07-21work around a fl_width() bugcorvid
Pretty easy workaround, yes? :)
2011-07-18prefer fontFamily over fontStyle should a desired font not existJohannes Hofmann
This fixes missing characters on chinese websites if there specfied font has no italic variant.
2011-07-11tooltip label measurement and alignmentcorvid
2011-07-11rm tooltip string escaping (again)corvid
2011-07-11for small-caps, make use of fltk-1.3's fl_touppercorvid
2011-07-08Cancel the tooltip window when a popup menu is shownJorge Arellano Cid
2011-07-08Add a small delay before showing the tooltipJorge Arellano Cid
Although the code seems simple, it must avoid race conditions which are not trivial (dw, fltk, dw/fltk).
2011-07-08Workaround: fixes hiding a tooltip with the keyboard or mousewheelJorge Arellano Cid
This is a complex problem where it is not clear whether the bug lies in dillo, fltk, or in their interaction. Tooltip handling is fuzzy in FLTK, and there are glitches in it; trying to "fix" it inside dillo produces partial solutions. OTOH, although implementing custom tooltip handling adds complexity, it provides a solution that so far works in all the testcases.
2011-06-20avoid linking unused printer codeDomingo Alvarez Duarte
http://lists.auriga.wearlab.de/pipermail/dillo-dev/2011-June/008447.html
2011-06-12merge in recent changes from main repocorvid
2011-06-09switch fltk font handling to Fl::get_font_name() entirelyJohannes Hofmann
This seems to give more consitent results when xft is disabled.
2011-06-06port preferred font code to fltk-1.3Johannes Hofmann
2011-06-03smallcaps use the proper enum valuecorvid
2011-05-30Reintroduce @-escaping for tooltips.corvid
I don't know what case I managed to test where I thought it was unnecessary with 1.3. I do know that '&' has not been a problem...
2010-11-24trim some spacescorvid
2010-10-09make dillo compile with clangJohannes Hofmann
* Variable length arrays are not allowed in C++. They are supported in C99 and gcc seems to accept them in C++ mode. Replace the few places where variable length arrays are used. * The widget member in ComplexButtonResource was colliding with the widget member of FltkResource, so rename it to childWidget.
2010-10-09Use utf8encode/utf8decode (instead of mbrtowc/wcrtomb) for smallcaps.Jorge Arellano Cid
With these functions there's no need to alter the locale.
2010-10-08Don't touch letter spacing for small-capsJorge Arellano Cid
2010-10-07Add utf8 uppercasing to small-capsJorge Arellano Cid
For some reason utf8decode() didn't work for me, so I used mbrtowc() funcs.
2010-04-22use belowmouse() as fltk::Widget for tooltipscorvid
2009-11-17properly handle comma separated lists of font names in CSSJohannes Hofmann
2009-10-18use letter spacing when drawingcorvid
2009-10-15remove multiple views capability from dwcorvid
It was complicated, we don't use it, and we currently had no plans to use it.
2009-10-15remove "using namespace" statements from header filesJohannes Hofmann
"using namespace" in headers also affects all files that include the header which is unwanted and unexpected in most cases.
2009-10-10tooltip workaround for chars special to fltkcorvid
2009-10-03some tooltipscorvid
2009-03-02Updated the GPL copyright note in the source filesDetlef Riekenberg
2009-02-09whitespace cleanup: 's/ +$//g'Jorge Arellano Cid
2009-02-08's/if(/if (/g' 's/for(/for (/g' 's/while(/while (/g', and indentation.Jorge Arellano Cid
2009-02-06Implemented size for SELECT listscorvid
2009-01-31don't ignore font attributes when falling back to HELVETICAJohannes Hofmann