summaryrefslogtreecommitdiff
path: root/utils/utils.c
Commit message (Collapse)AuthorAgeFilesLines
* Use case-insensitive strstr to match "stylesheet"John Mark Bell2006-07-021-0/+21
| | | | svn path=/trunk/netsurf/; revision=2689
* Remove clean_cookiejar; it's been redundant for yearsJohn Mark Bell2006-06-271-77/+0
| | | | svn path=/trunk/netsurf/; revision=2654
* [project @ 2006-02-06 00:10:09 by jmb]John Mark Bell2006-02-061-0/+23
| | | | | | Implement HTTP caching algorithm; this should avoid stale cache entries being used. svn path=/import/netsurf/; revision=2059
* [project @ 2005-06-07 21:29:26 by jmb]John Mark Bell2005-06-071-34/+0
| | | | | | | Lose cnv_str_local_enc and friends. UTF-8 conversion functions now return an enumerated type allowing for fallbacks, if appropriate. svn path=/import/netsurf/; revision=1744
* [project @ 2005-05-24 20:22:14 by bursa]James Bursa2005-05-241-1/+0
| | | | | | Remove unnecessary include. svn path=/import/netsurf/; revision=1737
* [project @ 2005-04-16 05:16:18 by jmb]John Mark Bell2005-04-161-3/+0
| | | | | | Lose \todo svn path=/import/netsurf/; revision=1649
* [project @ 2005-04-16 05:09:32 by jmb]John Mark Bell2005-04-161-99/+5
| | | | | | | | | | | | Split out UTF-8 handling functions. Submit URL-encoded forms in sensible encoding: * First entry in accept-charset list, if present * Document encoding, otherwise We may want to explicitly look for UTF-8, to save converting. Convert cnv_str_local_enc/cnv_local_enc_str to use iconv (they're now veneers for utf8_[to/from]_enc). Provide mechanism for looking up local system charset (derived from system alphabet, under RISC OS) svn path=/import/netsurf/; revision=1647
* [project @ 2005-01-02 03:58:20 by jmb]John Mark Bell2005-01-021-38/+13
| | | | | | xcalloc/xrealloc/xstrdup-purge - Lose remaining calls (and purge the relevant functions from utils.c) svn path=/import/netsurf/; revision=1419
* [project @ 2004-12-09 22:23:32 by bursa]James Bursa2004-12-091-3/+12
| | | | | | Remove die() from squash_whitespace(). All calls need checking. svn path=/import/netsurf/; revision=1399
* [project @ 2004-12-08 12:38:27 by kevinb]Kevin Bagust2004-12-081-3/+3
| | | | | | Altered calls to xfree into calls to free in clean_cookiejar svn path=/import/netsurf/; revision=1392
* [project @ 2004-12-08 00:10:17 by kevinb]Kevin Bagust2004-12-081-21/+6
| | | | | | Removed unused function load, and altered call to xcalloc into a call to calloc in clean_cookiejar svn path=/import/netsurf/; revision=1389
* [project @ 2004-07-19 20:29:47 by joty]John Tytgat2004-07-191-2/+64
| | | | | | | Added cnv_local_enc_str() : to convert string in local machine encoding into UTF-8 NUL terminated string. svn path=/import/netsurf/; revision=1116
* [project @ 2004-07-05 20:19:51 by joty]John Tytgat2004-07-051-56/+75
| | | | | | Using UTF-8 instead of Latin1 encoding. svn path=/import/netsurf/; revision=1049
* [project @ 2004-06-27 23:24:11 by bursa]James Bursa2004-06-271-2/+5
| | | | | | Rewritten download window. Now downloads direct to file. New download window gui. svn path=/import/netsurf/; revision=1020
* [project @ 2004-05-02 17:06:59 by jmb]John Mark Bell2004-05-021-3/+5
| | | | | | No longer truncate bytesize. svn path=/import/netsurf/; revision=817
* [project @ 2004-04-25 11:40:05 by matthewh]Matthew Hambley2004-04-251-0/+51
| | | | | | A more human face to download bytecounts. Needs someone who can speak French to correct the fr messages file. svn path=/import/netsurf/; revision=803
* [project @ 2004-04-21 22:51:51 by jmb]John Mark Bell2004-04-211-0/+5
| | | | | | Fix crash in tolat1_pre. Thanks to John Tytgat for reporting. svn path=/import/netsurf/; revision=800
* [project @ 2004-03-27 00:49:29 by bursa]James Bursa2004-03-271-5/+0
| | | | | | Update die() to use an error box. svn path=/import/netsurf/; revision=673
* [project @ 2004-03-15 15:03:34 by bursa]James Bursa2004-03-151-3/+8
| | | | | | Remove isspace() calls to avoid squashing nbsp (see setlocale() change). svn path=/import/netsurf/; revision=624
* [project @ 2004-03-05 22:15:33 by jmb]John Mark Bell2004-03-051-0/+2
| | | | | | | Fix URI file dragging properly. Fix missing fclose in load() svn path=/import/netsurf/; revision=587
* [project @ 2004-03-02 18:02:17 by bursa]James Bursa2004-03-021-104/+1
| | | | | | Add new url functions and modify to use them. svn path=/import/netsurf/; revision=578
* [project @ 2004-02-27 14:09:15 by bursa]James Bursa2004-02-271-8/+1
| | | | | | Implement option_language. svn path=/import/netsurf/; revision=574
* [project @ 2004-02-25 15:12:57 by bursa]James Bursa2004-02-251-0/+1
| | | | | | Implement scaling; rewrite desktop/browser; add riscos/thumbnail; rewrite history. svn path=/import/netsurf/; revision=566
* [project @ 2004-02-17 23:38:44 by jmb]John Mark Bell2004-02-171-1/+1
| | | | | | | Improve save_complete. Add missing #ifdef to about.c. svn path=/import/netsurf/; revision=559
* [project @ 2004-01-05 02:10:59 by jmb]John Mark Bell2004-01-051-2/+9
| | | | | | | Add ability to turn off browser features in build. This may be useful when hunting down bugs. svn path=/import/netsurf/; revision=480
* [project @ 2003-12-30 16:47:16 by jmb]John Mark Bell2003-12-301-1/+1
| | | | | | Read cookie file from the correct path svn path=/import/netsurf/; revision=472
* [project @ 2003-12-29 00:38:59 by bursa]James Bursa2003-12-291-6/+19
| | | | | | Transliterate Unicode to Latin1 using Markus Kuhn's transtab. svn path=/import/netsurf/; revision=465
* [project @ 2003-12-28 02:35:46 by jmb]John Mark Bell2003-12-281-0/+71
| | | | | | | | | | | Remove expired cookies from the cookiejar. Cookies are removed every time a window is closed and when NetSurf is quit. /me slaps libcurl for not doing it itself. Make cookie_create() read the cookie jar location from the messages file. svn path=/import/netsurf/; revision=463
* [project @ 2003-12-27 23:49:31 by jmb]John Mark Bell2003-12-271-1/+28
| | | | | | | | Add about:cookies. Tidy special URL handling code (it's now been moved into url_join in utils.c). svn path=/import/netsurf/; revision=461
* [project @ 2003-12-27 20:15:22 by bursa]James Bursa2003-12-271-0/+22
| | | | | | Use charset from Content-Type header. svn path=/import/netsurf/; revision=460
* [project @ 2003-12-27 00:37:10 by jmb]John Mark Bell2003-12-271-6/+7
| | | | | | More code tidying... svn path=/import/netsurf/; revision=453
* [project @ 2003-12-26 16:21:46 by bursa]James Bursa2003-12-261-16/+17
| | | | | | Rewrite get_host_from_url() to use uri library. svn path=/import/netsurf/; revision=444
* [project @ 2003-12-26 00:17:55 by bursa]James Bursa2003-12-261-87/+49
| | | | | | New url_join using liburi, <base href=...>. svn path=/import/netsurf/; revision=441
* [project @ 2003-12-21 22:05:05 by jmb]John Mark Bell2003-12-211-33/+0
| | | | | | Clean up version string related mess. svn path=/import/netsurf/; revision=438
* [project @ 2003-12-19 00:59:36 by jmb]John Mark Bell2003-12-191-0/+34
| | | | | | Move version string creation to utils for easy access svn path=/import/netsurf/; revision=432
* [project @ 2003-11-07 23:47:55 by bursa]James Bursa2003-11-071-0/+16
| | | | | | Add is_dir(). svn path=/import/netsurf/; revision=407
* [project @ 2003-10-25 19:20:13 by jmb]John Mark Bell2003-10-251-3/+22
| | | | | | | HTTP Auth login improved (greatly). Addresses all three issues in the previous version. svn path=/import/netsurf/; revision=382
* [project @ 2003-10-07 21:34:39 by bursa]James Bursa2003-10-071-0/+25
| | | | | | Implement white-space property. svn path=/import/netsurf/; revision=348
* [project @ 2003-06-30 12:44:02 by bursa]James Bursa2003-06-301-2/+7
| | | | | | New file headers. svn path=/import/netsurf/; revision=190
* [project @ 2003-05-22 13:21:45 by bursa]James Bursa2003-05-221-3/+42
| | | | | | Form GET support (John M Bell) svn path=/import/netsurf/; revision=130
* [project @ 2003-04-11 21:06:51 by bursa]James Bursa2003-04-111-1/+36
| | | | | | Memory usage and CSS fixes. svn path=/import/netsurf/; revision=122
* [project @ 2003-04-05 21:38:06 by bursa]James Bursa2003-04-051-1/+57
| | | | | | External stylesheets. svn path=/import/netsurf/; revision=115
* [project @ 2003-02-09 12:58:14 by bursa]James Bursa2003-02-091-2/+2
| | | | | | Reorganization and rewrite of fetch, cache, and content handling. svn path=/import/netsurf/; revision=96
* [project @ 2002-09-11 14:24:02 by monkeyson]Phil Mellor2002-09-111-1/+9
| | | | | | RISC OS Wimp GUI. svn path=/import/netsurf/; revision=33
* [project @ 2002-06-21 18:16:24 by bursa]James Bursa2002-06-211-3/+3
| | | | | | Implemented clear, fixed inline / float bugs, eliminated many compiler warnings. svn path=/import/netsurf/; revision=22
* [project @ 2002-06-18 21:24:21 by bursa]James Bursa2002-06-181-16/+14
| | | | | | Improved inline and float layout, new CSS properties, better debug output. svn path=/import/netsurf/; revision=20
* [project @ 2002-05-21 21:27:29 by bursa]James Bursa2002-05-211-1/+18
| | | | | | Add squash_whitespace(). svn path=/import/netsurf/; revision=17
* [project @ 2002-04-22 09:24:35 by bursa]James Bursa2002-04-221-0/+75
Initial revision svn path=/import/netsurf/; revision=2