Commit Graph

60 Commits

Author SHA1 Message Date
John Mark Bell
25018c455b Make nsgtk compile on Mac OS X.
svn path=/trunk/netsurf/; revision=5031
2008-08-11 16:44:12 +00:00
John Tytgat
4be25b2951 Update my e-mail address.
svn path=/trunk/netsurf/; revision=4908
2008-08-05 01:30:31 +00:00
François Revel
4c6006e6f4 C89
svn path=/trunk/netsurf/; revision=4795
2008-07-29 09:34:43 +00:00
Vincent Sanders
2f864eeecc Update all source code file headers to reflect GPL version 2 only and contain appropriate licence text
svn path=/trunk/netsurf/; revision=3486
2007-08-08 16:16:03 +00:00
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