Rob Kendrick
36ecbc6be2
Add HAVE_STRNDUP and supporting structure to config.h and make utils.[ch] reflect it.
...
svn path=/trunk/netsurf/; revision=3351
2007-06-16 23:30:47 +00:00
Rob Kendrick
43257a160b
Changes to allow building on Solaris.
...
* Tested on Solaris Express: Developer Edition,
which is between Solaris 10 and 11.
* Used gcc, libmng etc packages using pkg-get and blastwave's resources.
* Had to build lemon and re2c manually.
svn path=/trunk/netsurf/; revision=3350
2007-06-15 22:07:11 +00:00
Daniel Silverstone
6807b4208a
Remove the netsurf/ from the include paths and rationalise use of <> vs "" in includes
...
NetSurf includes are now done with ""s and other system includes with <>s as C intended.
The scandeps tool has been updated to only look for ""ed includes, and to verify that the
files exist in the tree before adding them to the dependency lines. The depend rule has
therefore been augmented to make sure the autogenerated files are built before it is run.
This is untested under self-hosted RISC OS builds. All else tested and works.
svn path=/trunk/netsurf/; revision=3307
2007-05-30 22:39:54 +00:00
James Bursa
0547422534
Move user-agent generation into fetch.c and simplify.
...
svn path=/trunk/netsurf/; revision=3260
2007-05-02 02:38:38 +00:00
Rob Kendrick
5426a708a9
Generates and use a User-Agent: string based on new netsurf_version_major/minor values, and results of uname().
...
svn path=/trunk/netsurf/; revision=3158
2007-01-30 19:51:54 +00:00
Rob Kendrick
7c88381a59
Make time taken that is displayed in status bar use gettimeofday()-based time rather than clock()-based time
...
svn path=/trunk/netsurf/; revision=3157
2007-01-30 15:32:31 +00:00
James Bursa
a0b6661eb6
Make GTK build compile on FreeBSD.
...
svn path=/trunk/netsurf/; revision=3154
2007-01-29 22:27:15 +00:00
Michael Drake
ba23e4b693
Update project URL.
...
svn path=/trunk/netsurf/; revision=3073
2006-11-27 15:35:18 +00:00
John Mark Bell
2cb285209e
Use case-insensitive strstr to match "stylesheet"
...
svn path=/trunk/netsurf/; revision=2689
2006-07-02 10:26:51 +00:00
John Mark Bell
0ef42d4e5e
Remove clean_cookiejar; it's been redundant for years
...
svn path=/trunk/netsurf/; revision=2654
2006-06-27 00:35:48 +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
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
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
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
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 Tytgat
f94da48139
[project @ 2004-07-19 20:29:47 by joty]
...
Added cnv_local_enc_str() : to convert string in local machine encoding
into UTF-8 NUL terminated string.
svn path=/import/netsurf/; revision=1116
2004-07-19 20:29:47 +00:00
John Tytgat
a0d511734a
[project @ 2004-07-05 20:19:51 by joty]
...
Using UTF-8 instead of Latin1 encoding.
svn path=/import/netsurf/; revision=1049
2004-07-05 20:19:52 +00:00
James Bursa
a1d73ecd11
[project @ 2004-06-27 23:24:11 by bursa]
...
Rewritten download window. Now downloads direct to file. New download window gui.
svn path=/import/netsurf/; revision=1020
2004-06-27 23:24:11 +00:00
John Mark Bell
a054631f2d
[project @ 2004-05-02 17:06:59 by jmb]
...
No longer truncate bytesize.
svn path=/import/netsurf/; revision=817
2004-05-02 17:06:59 +00:00
Matthew Hambley
d44ab700d0
[project @ 2004-04-25 11:40:05 by matthewh]
...
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
2004-04-25 11:40:05 +00:00
John Mark Bell
bfb0116bea
[project @ 2004-04-21 22:51:51 by jmb]
...
Fix crash in tolat1_pre. Thanks to John Tytgat for reporting.
svn path=/import/netsurf/; revision=800
2004-04-21 22:51:51 +00:00
James Bursa
9a204ed536
[project @ 2004-03-27 00:49:29 by bursa]
...
Update die() to use an error box.
svn path=/import/netsurf/; revision=673
2004-03-27 00:49:29 +00:00
James Bursa
d0913e33f0
[project @ 2004-03-15 15:03:34 by bursa]
...
Remove isspace() calls to avoid squashing nbsp (see setlocale() change).
svn path=/import/netsurf/; revision=624
2004-03-15 15:03:34 +00:00
John Mark Bell
727db7f3d6
[project @ 2004-03-05 22:15:33 by jmb]
...
Fix URI file dragging properly.
Fix missing fclose in load()
svn path=/import/netsurf/; revision=587
2004-03-05 22:15:33 +00:00
James Bursa
1c85bf0429
[project @ 2004-03-02 18:02:17 by bursa]
...
Add new url functions and modify to use them.
svn path=/import/netsurf/; revision=578
2004-03-02 18:02:41 +00:00
James Bursa
37cf580743
[project @ 2004-02-27 14:09:15 by bursa]
...
Implement option_language.
svn path=/import/netsurf/; revision=574
2004-02-27 14:09:15 +00:00
James Bursa
7897a98a4c
[project @ 2004-02-25 15:12:57 by bursa]
...
Implement scaling; rewrite desktop/browser; add riscos/thumbnail; rewrite history.
svn path=/import/netsurf/; revision=566
2004-02-25 15:12:58 +00:00
John Mark Bell
36bb869ae4
[project @ 2004-02-17 23:38:44 by jmb]
...
Improve save_complete.
Add missing #ifdef to about.c.
svn path=/import/netsurf/; revision=559
2004-02-17 23:38:44 +00:00
John Mark Bell
62245d13ec
[project @ 2004-01-05 02:10:59 by jmb]
...
Add ability to turn off browser features in build.
This may be useful when hunting down bugs.
svn path=/import/netsurf/; revision=480
2004-01-05 02:10:59 +00:00
John Mark Bell
25ec7fcc34
[project @ 2003-12-30 16:47:16 by jmb]
...
Read cookie file from the correct path
svn path=/import/netsurf/; revision=472
2003-12-30 16:47:16 +00:00
James Bursa
4fcbc23c1c
[project @ 2003-12-29 00:38:59 by bursa]
...
Transliterate Unicode to Latin1 using Markus Kuhn's transtab.
svn path=/import/netsurf/; revision=465
2003-12-29 00:38:59 +00:00
John Mark Bell
b0b2ec850f
[project @ 2003-12-28 02:35:46 by jmb]
...
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
2003-12-28 02:35:46 +00:00
John Mark Bell
9ec88eb91f
[project @ 2003-12-27 23:49:31 by jmb]
...
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
2003-12-27 23:49:31 +00:00
James Bursa
ce0d5294d5
[project @ 2003-12-27 20:15:22 by bursa]
...
Use charset from Content-Type header.
svn path=/import/netsurf/; revision=460
2003-12-27 20:15:23 +00:00
John Mark Bell
006a24e810
[project @ 2003-12-27 00:37:10 by jmb]
...
More code tidying...
svn path=/import/netsurf/; revision=453
2003-12-27 00:37:10 +00:00
James Bursa
20a6f739dc
[project @ 2003-12-26 16:21:46 by bursa]
...
Rewrite get_host_from_url() to use uri library.
svn path=/import/netsurf/; revision=444
2003-12-26 16:21:46 +00:00
James Bursa
f1b59814f8
[project @ 2003-12-26 00:17:55 by bursa]
...
New url_join using liburi, <base href=...>.
svn path=/import/netsurf/; revision=441
2003-12-26 00:17:55 +00:00
John Mark Bell
96bbdbc7ab
[project @ 2003-12-21 22:05:05 by jmb]
...
Clean up version string related mess.
svn path=/import/netsurf/; revision=438
2003-12-21 22:05:05 +00:00
John Mark Bell
4f52950690
[project @ 2003-12-19 00:59:36 by jmb]
...
Move version string creation to utils for easy access
svn path=/import/netsurf/; revision=432
2003-12-19 00:59:36 +00:00
James Bursa
e8def12ba2
[project @ 2003-11-07 23:47:55 by bursa]
...
Add is_dir().
svn path=/import/netsurf/; revision=407
2003-11-07 23:47:55 +00:00
John Mark Bell
c9e188a4d1
[project @ 2003-10-25 19:20:13 by jmb]
...
HTTP Auth login improved (greatly).
Addresses all three issues in the previous version.
svn path=/import/netsurf/; revision=382
2003-10-25 19:20:13 +00:00
James Bursa
bbcdf13fe0
[project @ 2003-10-07 21:34:39 by bursa]
...
Implement white-space property.
svn path=/import/netsurf/; revision=348
2003-10-07 21:34:39 +00:00
James Bursa
017fc4eb4b
[project @ 2003-06-30 12:44:02 by bursa]
...
New file headers.
svn path=/import/netsurf/; revision=190
2003-06-30 12:44:03 +00:00
James Bursa
80fe931f80
[project @ 2003-05-22 13:21:45 by bursa]
...
Form GET support (John M Bell)
svn path=/import/netsurf/; revision=130
2003-05-22 13:21:45 +00:00
James Bursa
0267469306
[project @ 2003-04-11 21:06:51 by bursa]
...
Memory usage and CSS fixes.
svn path=/import/netsurf/; revision=122
2003-04-11 21:06:51 +00:00
James Bursa
2253e38be8
[project @ 2003-04-05 21:38:06 by bursa]
...
External stylesheets.
svn path=/import/netsurf/; revision=115
2003-04-05 21:38:06 +00:00
James Bursa
a4c5929a2f
[project @ 2003-02-09 12:58:14 by bursa]
...
Reorganization and rewrite of fetch, cache, and content handling.
svn path=/import/netsurf/; revision=96
2003-02-09 12:58:15 +00:00
Phil Mellor
811106028f
[project @ 2002-09-11 14:24:02 by monkeyson]
...
RISC OS Wimp GUI.
svn path=/import/netsurf/; revision=33
2002-09-11 14:24:02 +00:00
James Bursa
0a5d2d0daf
[project @ 2002-06-21 18:16:24 by bursa]
...
Implemented clear, fixed inline / float bugs, eliminated many compiler warnings.
svn path=/import/netsurf/; revision=22
2002-06-21 18:16:24 +00:00
James Bursa
74ef206f53
[project @ 2002-06-18 21:24:21 by bursa]
...
Improved inline and float layout, new CSS properties, better debug output.
svn path=/import/netsurf/; revision=20
2002-06-18 21:24:21 +00:00
James Bursa
f78fab56c7
[project @ 2002-05-21 21:27:29 by bursa]
...
Add squash_whitespace().
svn path=/import/netsurf/; revision=17
2002-05-21 21:27:29 +00:00
James Bursa
6d48b29c2b
[project @ 2002-04-22 09:24:35 by bursa]
...
Initial revision
svn path=/import/netsurf/; revision=2
2002-04-22 09:24:35 +00:00