aboutsummaryrefslogtreecommitdiff
path: root/src/misc.h
AgeCommit message (Collapse)Author
2025-05-01Allow whitespaces before separatorRodrigo Arias Mallo
2025-05-01Use simpler algorithm to remove bad charactersRodrigo Arias Mallo
This one requires a copy of the string, but it is easier to follow.
2025-05-01Simplify algorithm to parse filenameRodrigo Arias Mallo
Instead of keeping a escaped flag, we simply check again both the previous and current character for non-backlash and quote. As the filename can be empty if we don't get a maching quote, we stop there.
2025-05-01Flatten the conditionals so it is easier to readRodrigo Arias Mallo
2025-05-01Free memory before erasing the pointerRodrigo Arias Mallo
2025-05-01Make all pointers mandatory (not NULL)Rodrigo Arias Mallo
2025-05-01Move a_Misc_parse_content_disposition() to misc.hRodrigo Arias Mallo
For now it allows building the unit test without linking problems. A more long-term solution is to split the code into separate modules that can be tested more easily.
2025-05-01Support for Content-Disposition filenameCameron Paul
2024-08-07Make Dillo C99 standard compliantRodrigo Arias Mallo
Reviewed-by: dogma
2011-07-24Added an optional label to dillorc's search_url. Format: "[<label> ]<url>"Jorge Arellano Cid
2009-11-29respect UTF-8 when splitting long lines in plain.cc (noticed by corvid)Johannes Hofmann
When splitting long lines in plain text to avoid X11 coordinate overflows we need to make sure that multibyte UTF-8 chars are not split. Additionally combining chars like accents should stay together with their base char.
2008-09-17 - Fixed a memory leak in plain.cc.jcid
2008-08-12- Eliminated gcc 4.2.3 warnings on 64bit OS.jcid
2008-05-29- Switched from charset to content-type for handling data.jcid
- Fixed data guesser to detect ASCII, LATIN1, UTF8, KOI8-R, CP-1251 as text.
2008-04-15- Made file inputs free the loaded file after the page is left.jcid
2007-10-07Initial revisionjcid