Commit Graph

121 Commits

Author SHA1 Message Date
Daniel Silverstone da16158c0a [project @ 2006-03-16 23:30:46 by dsilvers]
Fix another assumption that freeing/dupping/whatever a NULL is safe.

svn path=/import/netsurf/; revision=2132
2006-03-16 23:30:46 +00:00
Richard Wilson da4a9313f1 [project @ 2006-02-25 18:50:34 by rjw]
Support for BMP files

svn path=/import/netsurf/; revision=2095
2006-02-25 18:51:51 +00:00
John Mark Bell d4d3e5ee1c [project @ 2006-02-23 15:06:53 by jmb]
Handle invalid SSL certificates better - UI still needs work.
Modify fetch callback data parameter type to remove compiler warnings.
Constify things.
Lose global ssl_verify_certificates option.
Fix issue when closing a dialog without input focus.

svn path=/import/netsurf/; revision=2092
2006-02-23 15:06:54 +00:00
John Mark Bell 5ce5fe084c [project @ 2006-02-19 18:26:23 by jmb]
Rewrite HTTP authentication.
Fix extraction of realm from WWW-Authenticate header.
Tidy up login dialog code.

svn path=/import/netsurf/; revision=2085
2006-02-19 18:26:23 +00:00
John Mark Bell 6b6841f07e [project @ 2006-02-11 18:11:09 by jmb]
Clear cached conversion descriptor if iconv() fails

svn path=/import/netsurf/; revision=2071
2006-02-11 18:11:09 +00:00
Adrian Lees 57c86c8c0e [project @ 2006-02-07 16:16:23 by adrianl]
Confirmation before overwriting with download files; Interface Choices dialog

svn path=/import/netsurf/; revision=2061
2006-02-07 16:16:23 +00:00
John Mark Bell 0f228ada91 [project @ 2006-02-06 00:10:09 by jmb]
Implement HTTP caching algorithm; this should avoid stale cache entries being used.

svn path=/import/netsurf/; revision=2059
2006-02-06 00:10:09 +00:00
Richard Wilson 26e7a21863 [project @ 2006-01-18 00:54:27 by rjw]
Tidy up code to use generic url<->path functions.

svn path=/import/netsurf/; revision=2022
2006-01-18 00:54:27 +00:00
Adrian Lees 1efd4796a2 [project @ 2005-12-10 14:31:32 by adrianl]
ArtWorks support

svn path=/import/netsurf/; revision=1891
2005-12-10 14:31:33 +00:00
James Bursa 4af7520647 [project @ 2005-08-20 23:04:35 by bursa]
Fix strndup() warnings.

svn path=/import/netsurf/; revision=1850
2005-08-20 23:04:35 +00:00
James Bursa 253c199d1f [project @ 2005-07-23 20:43:37 by bursa]
Rewrite and simplify url_nice() to improve suggested filenames. Add option to keep extensions (no UI currently).

svn path=/import/netsurf/; revision=1814
2005-07-23 20:43:37 +00:00
Adrian Lees 77f1158f6b [project @ 2005-07-16 16:15:37 by adrianl]
Faster utf8 next/prev functions

svn path=/import/netsurf/; revision=1797
2005-07-16 16:15:37 +00:00
John Mark Bell f4ecaaed31 [project @ 2005-07-16 14:35:20 by jmb]
- Convert Messages files to UTF-8 encoding.
- Replace local_encoding_name() with platform specific
  utf8_[to,from]_local_encoding() functions - this allows mapping of 8bit
  characters 0x80->0x9f (inclusive).
- All text that is rendered by the RISC OS Wimp is now converted to the system
  local encoding prior to display.
- Lose the horrendous hack that was messages_get_key()
- Menu text is now translated to system local encoding on the fly (if necessary)
  rather than at menu creation time. This allows the system alphabet to change
  under us and our menus remain usable.
- The Languages menu now lists all languages that are present in the LangNames
  file. In the case of selecting the UI language, those languages which are not
  available are shaded.

svn path=/import/netsurf/; revision=1796
2005-07-16 14:35:25 +00:00
John Mark Bell 46bc8ca154 [project @ 2005-07-11 18:10:10 by jmb]
Cache previous iconv conversion descriptor

svn path=/import/netsurf/; revision=1792
2005-07-11 18:10:10 +00:00
James Bursa 21e5d8ca15 [project @ 2005-07-02 18:18:48 by bursa]
Fix file comment for Doxygen.

svn path=/import/netsurf/; revision=1778
2005-07-02 18:18:48 +00:00
John Mark Bell b81b983b36 [project @ 2005-07-02 14:35:43 by jmb]
Tidy up

svn path=/import/netsurf/; revision=1773
2005-07-02 14:35:43 +00:00
John Mark Bell ed5a93caad [project @ 2005-06-28 23:46:16 by jmb]
Using Iconv to convert between an encoding and itself is pretty pointless.

svn path=/import/netsurf/; revision=1772
2005-06-28 23:46:16 +00:00
Adrian Lees 8aed1103b6 [project @ 2005-06-27 01:57:54 by adrianl]
Fix termination of output from url_escape

svn path=/import/netsurf/; revision=1770
2005-06-27 01:57:54 +00:00
John Mark Bell 5817f82ba8 [project @ 2005-06-26 22:18:37 by jmb]
Improve clarity of use of utf8_to_enc.
Remove use of curl_escape - url_escape does similar things, just better.

svn path=/import/netsurf/; revision=1766
2005-06-26 22:18:37 +00:00
John Mark Bell 0bcfdbeb50 [project @ 2005-06-07 21:29:26 by jmb]
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
2005-06-07 21:29:26 +00:00
James Bursa 0e894ca80b [project @ 2005-05-24 20:22:14 by bursa]
Remove unnecessary include.

svn path=/import/netsurf/; revision=1737
2005-05-24 20:22:14 +00:00
John Mark Bell fd99b1e906 [project @ 2005-05-23 22:27:37 by jmb]
Tighten up entry conditions

svn path=/import/netsurf/; revision=1735
2005-05-23 22:27:37 +00:00
James Bursa 5137041fed [project @ 2005-05-11 20:33:25 by bursa]
Remove no longer used memory pool code.

svn path=/import/netsurf/; revision=1720
2005-05-11 20:33:25 +00:00
James Bursa b05bef4a61 [project @ 2005-04-30 14:31:48 by bursa]
Fix bug in url_up_re which caused /xy/../ not to be recognised when xy was 2 characters. Add defines for match part numbers. Simplify part 6(g) of url_join().

svn path=/import/netsurf/; revision=1704
2005-04-30 14:31:48 +00:00
John Mark Bell a051b36ae7 [project @ 2005-04-23 22:26:05 by jmb]
Make url_join match the spec - see http://www.ics.uci.edu/~fielding/url/test1.html for testcases.

svn path=/import/netsurf/; revision=1682
2005-04-23 22:26:05 +00:00
Adrian Lees 9c1cb7bb2d [project @ 2005-04-23 02:58:27 by adrianl]
Query windows, desktop save protocol, confirm abort/quit when downloads in progress

svn path=/import/netsurf/; revision=1679
2005-04-23 02:58:27 +00:00
Adrian Lees 8da644f442 [project @ 2005-04-21 21:36:23 by adrianl]
Dragging URLs into toolbar URL icon; keyboard actions in textareas conform to Wimp's icon editing; display of scale % fixed for 120%

svn path=/import/netsurf/; revision=1676
2005-04-21 21:36:23 +00:00
Adrian Lees f10db1f6f1 [project @ 2005-04-16 08:19:56 by adrianl]
missing #include

svn path=/import/netsurf/; revision=1651
2005-04-16 08:20:20 +00:00
John Mark Bell 1da8ee63a3 [project @ 2005-04-16 05:16:18 by jmb]
Lose \todo

svn path=/import/netsurf/; revision=1649
2005-04-16 05:16:18 +00:00
John Mark Bell d43dc8839e [project @ 2005-04-16 05:10:08 by jmb]
Don't unescape characters 0x80->0xFF

svn path=/import/netsurf/; revision=1648
2005-04-16 05:10:08 +00:00
John Mark Bell c17dc661ea [project @ 2005-04-16 05:09:32 by jmb]
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
2005-04-16 05:09:33 +00:00
Adrian Lees 25e9cbf55b [project @ 2005-04-15 05:52:04 by adrianl]
Defined NOF_ELEMENTS utility macro

svn path=/import/netsurf/; revision=1635
2005-04-15 05:52:04 +00:00
James Bursa fef4301a74 [project @ 2005-04-03 10:56:49 by bursa]
Talloc memory allocation functions from Samba.

svn path=/import/netsurf/; revision=1591
2005-04-03 10:56:49 +00:00
John Mark Bell a91cd77902 [project @ 2005-02-14 22:35:05 by jmb]
Fix bug in regex

svn path=/import/netsurf/; revision=1513
2005-02-14 22:35:05 +00:00
John Mark Bell 0c7b9496ef [project @ 2005-02-14 21:20:26 by jmb]
Make regex work with latest unixlib.
Fix incorrect return value

svn path=/import/netsurf/; revision=1512
2005-02-14 21:20:26 +00:00
Richard Wilson 2affb76944 [project @ 2005-02-03 13:18:22 by rjw]
Implementation of URL suggestion

svn path=/import/netsurf/; revision=1488
2005-02-03 13:18:22 +00:00
James Bursa f0b264670e [project @ 2005-01-13 22:42:38 by bursa]
Start on theme auto-install. Fix content_add_user() not to broadcast error on memory exhaustion.

svn path=/import/netsurf/; revision=1448
2005-01-13 22:42:39 +00:00
James Bursa a1fe308d13 [project @ 2005-01-02 14:41:07 by bursa]
regexec() returns int, not a pointer.

svn path=/import/netsurf/; revision=1425
2005-01-02 14:41:07 +00:00
John Mark Bell 7a49cba9f3 [project @ 2005-01-02 04:01:21 by jmb]
Lose warning

svn path=/import/netsurf/; revision=1420
2005-01-02 04:01:21 +00:00
John Mark Bell 8334683068 [project @ 2005-01-02 03:58:20 by jmb]
xcalloc/xrealloc/xstrdup-purge - Lose remaining calls (and purge the relevant functions from utils.c)

svn path=/import/netsurf/; revision=1419
2005-01-02 03:58:21 +00:00
James Bursa de508f98a7 [project @ 2004-12-09 22:23:32 by bursa]
Remove die() from squash_whitespace(). All calls need checking.

svn path=/import/netsurf/; revision=1399
2004-12-09 22:23:32 +00:00
Kevin Bagust b80f6a7380 [project @ 2004-12-08 12:38:27 by kevinb]
Altered calls to xfree into calls to free in clean_cookiejar

svn path=/import/netsurf/; revision=1392
2004-12-08 12:38:27 +00:00
Kevin Bagust e11c05d257 [project @ 2004-12-08 00:10:17 by kevinb]
Removed unused function load, and altered call to xcalloc into a call to calloc in clean_cookiejar

svn path=/import/netsurf/; revision=1389
2004-12-08 00:10:17 +00:00
John Mark Bell 93f8d3badc [project @ 2004-10-05 14:36:44 by jmb]
Lose RISC OS specific includes from GIF code.
Fix jpegs for the gtk build.
Allow use of gifs in gtk build.

svn path=/import/netsurf/; revision=1303
2004-10-05 14:36:44 +00:00
John Mark Bell 49ce807e3c [project @ 2004-10-01 21:31:55 by jmb]
A somewhat better implementation of referrers which no longer sends the referer if the URL schemes don't match.

Things to do:
1) Preservation of referer across redirects (see comment in browser.c:284)
2) GUI templates/code for configuration of referer sending (simple on/off toggle only)
3) Make referer sending when fetching objects/stylesheets for a page pay attention to option_send_referer?
4) Handle the case where the referer is in the form of http://moo:foo@mysite.com/ (ie the login details embedded in the referer - not good).

svn path=/import/netsurf/; revision=1297
2004-10-01 21:31:55 +00:00
James Bursa 3371a27391 [project @ 2004-09-03 22:44:47 by bursa]
Add generic bitmap functions. Move jpeg and mng code from riscos/ to image/ and update to use bitmap. Note: background tiling and drawfile export for jpeg and mng/png are broken.

svn path=/import/netsurf/; revision=1265
2004-09-03 22:44:48 +00:00
John Tytgat 7264ae50e5 [project @ 2004-08-14 15:07:19 by joty]
- Rename len() to css_len2px().
- Less compiler warnings concerning float/int implicit casts.
- More stddef.h type usuage.

svn path=/import/netsurf/; revision=1232
2004-08-14 15:07:21 +00:00
John Mark Bell c9bd6fa9fc [project @ 2004-08-09 16:11:58 by jmb]
Rework the interface of the URL handing module to allow for multiple error types.
Modify save_complete URL rewriting appropriately.

svn path=/import/netsurf/; revision=1206
2004-08-09 16:11:58 +00:00
John Mark Bell 9e52a06935 [project @ 2004-08-09 07:37:29 by jmb]
Checkin missing config.h update

svn path=/import/netsurf/; revision=1203
2004-08-09 07:37:29 +00:00
John Mark Bell f68d4491be [project @ 2004-08-06 22:20:36 by jmb]
Make the likes of <a href="#foo"> work

svn path=/import/netsurf/; revision=1188
2004-08-06 22:20:36 +00:00