Vincent Sanders
ef00272e2f
add helpers for time_t reading/writing
11 years ago
Vincent Sanders
07e4924254
make vsnstrjoin correctly check for null arguments.
11 years ago
Vincent Sanders
4784273195
fix typo in nsc_time_strptime
11 years ago
Vincent Sanders
6532346277
add struct tm definition and fix build error
11 years ago
Vincent Sanders
1a3ee6090d
add strptime compatability
11 years ago
Vincent Sanders
39b0393d31
cleanup utils header, remove cruft and add documentation
11 years ago
Vincent Sanders
c1e2da80df
add string utility to join strings
11 years ago
Michael Drake
cde62790f6
Update for new lpu API.
11 years ago
Michael Drake
c933b0aff9
Sort non zero-padded numerical filename parts correctly.
11 years ago
Michael Drake
2a09b66040
Add own implementations of alphasort and scandir when not available.
11 years ago
Vincent Sanders
52c5cccdeb
cleanup tree_create_leaf_node text ownership
12 years ago
John Mark Bell
5b644acf61
Move timeval_subtract to utils/log.c & make it static, as it's not used anywhere else
...
svn path=/trunk/netsurf/; revision=13059
13 years ago
John Mark Bell
f55474bf78
Make strchrnul stupid.
...
svn path=/trunk/netsurf/; revision=12174
14 years ago
John Mark Bell
ff60007458
Fix build with NDEBUG defined
...
svn path=/trunk/netsurf/; revision=12154
14 years ago
Vincent Sanders
aa2865c7a4
add compatability for inet_pton and inet_aton
...
svn path=/trunk/netsurf/; revision=11627
14 years ago
Vincent Sanders
07c62407e2
Fix windows url bar
...
Clean up toolbar and urlbar creation and subclassing
svn path=/trunk/netsurf/; revision=10891
14 years ago
Vincent Sanders
4d6534622e
add realpath compatability for windows
...
svn path=/trunk/netsurf/; revision=10873
15 years ago
Daniel Silverstone
5e887908b3
Consolidate several 'myrealloc' functions into ns_realloc, rename one which *is* different, thereby eliminating the word 'myrealloc' from the NS codebase
...
svn path=/trunk/netsurf/; revision=10530
15 years ago
Vincent Sanders
bd9c0d9a7e
hopefully fix the _GNU_SOURCE mess
...
svn path=/trunk/netsurf/; revision=10487
15 years ago
Vincent Sanders
03bb3e8636
remove _GNU_SOURCE define from everywhere.
...
strndup is not standard so provide an implementation.
svn path=/trunk/netsurf/; revision=10474
15 years ago
Vincent Sanders
55162445db
Add Windows frontend
...
svn path=/trunk/netsurf/; revision=9940
15 years ago
John Mark Bell
355799ce0b
Merge branches/MarkieB/gtkmain to trunk.
...
svn path=/trunk/netsurf/; revision=9729
15 years ago
John Mark Bell
ddeadd1c02
Merge LibCSS port to trunk.
...
svn path=/trunk/netsurf/; revision=8752
16 years ago
John Mark Bell
243c1ba03f
Limit scope of manually-defined NDEBUG. Purge a bunch of redundant #undef NDEBUG.
...
svn path=/trunk/netsurf/; revision=7593
16 years ago
John Mark Bell
25018c455b
Make nsgtk compile on Mac OS X.
...
svn path=/trunk/netsurf/; revision=5031
17 years ago
John Tytgat
4be25b2951
Update my e-mail address.
...
svn path=/trunk/netsurf/; revision=4908
17 years ago
François Revel
4c6006e6f4
C89
...
svn path=/trunk/netsurf/; revision=4795
17 years ago
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
18 years ago
Rob Kendrick
36ecbc6be2
Add HAVE_STRNDUP and supporting structure to config.h and make utils.[ch] reflect it.
...
svn path=/trunk/netsurf/; revision=3351
18 years ago
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
18 years ago
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
18 years ago
James Bursa
0547422534
Move user-agent generation into fetch.c and simplify.
...
svn path=/trunk/netsurf/; revision=3260
18 years ago
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
18 years ago
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
18 years ago
James Bursa
a0b6661eb6
Make GTK build compile on FreeBSD.
...
svn path=/trunk/netsurf/; revision=3154
18 years ago
Michael Drake
ba23e4b693
Update project URL.
...
svn path=/trunk/netsurf/; revision=3073
18 years ago
John Mark Bell
2cb285209e
Use case-insensitive strstr to match "stylesheet"
...
svn path=/trunk/netsurf/; revision=2689
19 years ago
John Mark Bell
0ef42d4e5e
Remove clean_cookiejar; it's been redundant for years
...
svn path=/trunk/netsurf/; revision=2654
19 years ago
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
19 years ago
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
20 years ago
James Bursa
0e894ca80b
[project @ 2005-05-24 20:22:14 by bursa]
...
Remove unnecessary include.
svn path=/import/netsurf/; revision=1737
20 years ago
John Mark Bell
1da8ee63a3
[project @ 2005-04-16 05:16:18 by jmb]
...
Lose \todo
svn path=/import/netsurf/; revision=1649
20 years ago
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
20 years ago
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
20 years ago
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
20 years ago
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
20 years ago
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
20 years ago
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
21 years ago
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
21 years ago
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
21 years ago