Vincent Sanders
c0b0dbd373
fix incorrect type in message loading
...
zlib has changed
typedef voidp gzFile;
to
typedef struct gzFile_s *gzFile;
historically the gzFile *fp has efectively expanded to void**fp
The compiler considerd void ** to be identical to void* as void cannot
be dereferenced and compilation suceeded.
With a concrete type it does not work.
svn path=/trunk/netsurf/; revision=13517
2012-03-14 16:42:02 +00:00
John Mark Bell
26a1bb7718
Use S_IRWXU where appropriate
...
svn path=/trunk/netsurf/; revision=13439
2012-02-10 20:02:13 +00:00
Michael Drake
67f2470d5a
Pass whether background images are wanted in redraw_context.
...
svn path=/trunk/netsurf/; revision=13335
2011-12-23 22:39:25 +00:00
John Mark Bell
6ef2df13f7
Fix const correctness
...
svn path=/trunk/netsurf/; revision=13228
2011-12-04 11:12:17 +00:00
Michael Drake
714f07c48b
Rename nsurl_enquire to nsurl_has_component.
...
svn path=/trunk/netsurf/; revision=13183
2011-11-27 18:32:06 +00:00
Michael Drake
de10eff59c
Don't escape '|'.
...
svn path=/trunk/netsurf/; revision=13162
2011-11-23 16:27:20 +00:00
Michael Drake
04f6957141
Fix handling of bad mailto: urls.
...
svn path=/trunk/netsurf/; revision=13113
2011-11-03 12:15:32 +00:00
Michael Drake
3ecf3c1eaf
Fix empty port separator and redundant port removal when credentials are present.
...
svn path=/trunk/netsurf/; revision=13108
2011-10-31 22:23:02 +00:00
Michael Drake
a4dc04e44a
Test numbers before calling strncmp.
...
svn path=/trunk/netsurf/; revision=13107
2011-10-31 22:17:05 +00:00
Michael Drake
d64e09aef7
Make sure port's just 80, before removing in http case.
...
svn path=/trunk/netsurf/; revision=13106
2011-10-31 22:13:38 +00:00
Michael Drake
ea761e16e6
nsurl optimisation: Remove a load of branches into fewer.
...
svn path=/trunk/netsurf/; revision=13105
2011-10-31 22:02:40 +00:00
Michael Drake
3936e6df15
Remove some code that's not needed. Fix redundant port handling.
...
svn path=/trunk/netsurf/; revision=13104
2011-10-31 21:47:10 +00:00
Michael Drake
c6f13db858
Don't need to generate string from scratch in nsurl_defragment, just copy.
...
svn path=/trunk/netsurf/; revision=13103
2011-10-31 21:27:11 +00:00
Michael Drake
f980e6015f
nsurl optimisation: Don't use separate allocations for nsurl strings.
...
svn path=/trunk/netsurf/; revision=13102
2011-10-31 21:13:29 +00:00
Michael Drake
a112bfb676
Function for adding fragment onto nsurl.
...
svn path=/trunk/netsurf/; revision=13087
2011-10-28 19:18:14 +00:00
John Mark Bell
f90aeba984
Appease ancient Perl installs.
...
svn path=/trunk/netsurf/; revision=13079
2011-10-24 22:52:12 +00:00
John Mark Bell
da930e48ad
Use local variables instead of global filehandles
...
svn path=/trunk/netsurf/; revision=13068
2011-10-17 21:55:45 +00:00
Michael Drake
62248c06d3
Don't need to rescan authority if there was no scheme. Bring documentation back into sync with code. Make pre-authority slash skipping more robust.
...
svn path=/trunk/netsurf/; revision=13061
2011-10-15 14:03:13 +00:00
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
2011-10-15 13:11:04 +00:00
John Mark Bell
ee930d97e4
Fix handling of no scheme
...
svn path=/trunk/netsurf/; revision=13055
2011-10-15 11:51:54 +00:00
John Mark Bell
ca4dfc7f1e
Move nsurl test suite into test/
...
Fix up llcache tester to reflect nsurl changes
Make handling of http:,http:/,http:// consistent
Fix buffer overflow when presented with an input string: "http://"
svn path=/trunk/netsurf/; revision=13051
2011-10-14 21:29:13 +00:00
Michael Drake
c69e75220d
Remove unused variable.
...
svn path=/trunk/netsurf/; revision=13048
2011-10-14 20:54:18 +00:00
Michael Drake
9bf80e3788
Improve bad URL handling.
...
svn path=/trunk/netsurf/; revision=13045
2011-10-14 13:54:52 +00:00
Michael Drake
0826de092f
Fix double inclusion of host/port separator when login credentials are present. Add tests to tester.
...
svn path=/trunk/netsurf/; revision=13040
2011-10-13 19:39:30 +00:00
Michael Drake
606d7cc64e
Add nsurl testing rig.
...
svn path=/trunk/netsurf/; revision=13035
2011-10-11 14:59:32 +00:00
Michael Drake
9a7b316661
Set scheme_end marker after advance due to leading whitespace.
...
svn path=/trunk/netsurf/; revision=13034
2011-10-11 14:54:28 +00:00
Michael Drake
624967f30a
Pedantic spacing fix.
...
svn path=/trunk/netsurf/; revision=13009
2011-10-08 13:14:08 +00:00
Michael Drake
642d773e2f
Add function to get at url length.
...
svn path=/trunk/netsurf/; revision=13003
2011-10-08 12:03:54 +00:00
Michael Drake
c8bdbdd2e7
Handle joining to a base with no path.
...
svn path=/trunk/netsurf/; revision=12983
2011-10-07 21:16:35 +00:00
Michael Drake
3fde9589c1
Remove unused url_normalise() and don't include regex.h.
...
svn path=/trunk/netsurf/; revision=12971
2011-10-06 12:38:47 +00:00
Michael Drake
fd5ad500c5
Only need to cope with trailing whitespace if it exists.
...
svn path=/trunk/netsurf/; revision=12969
2011-10-06 11:53:23 +00:00
Michael Drake
1203c4baf2
Ensure trailing whitespace is ignored.
...
svn path=/trunk/netsurf/; revision=12960
2011-10-05 20:16:19 +00:00
Michael Drake
7d3a84231e
Optimise nsurl__is_no_escape.
...
svn path=/trunk/netsurf/; revision=12957
2011-10-05 15:43:44 +00:00
Michael Drake
7d0b91caa7
Make sure the fragment remover sets the nsurl to NULL on failure.
...
svn path=/trunk/netsurf/; revision=12956
2011-10-05 12:15:27 +00:00
Michael Drake
921e9959e6
Namespaceing.
...
svn path=/trunk/netsurf/; revision=12955
2011-10-05 12:13:26 +00:00
Michael Drake
0c30fe98af
Handle % in URL without 2 hex digits after.
...
svn path=/trunk/netsurf/; revision=12953
2011-10-05 09:46:06 +00:00
Michael Drake
20c70fcb90
Fix upper case hex and return -1 for invalid hex.
...
svn path=/trunk/netsurf/; revision=12952
2011-10-05 09:41:54 +00:00
Vincent Sanders
c18c9b5511
make url character checks table driven and remove expensive strchr
...
svn path=/trunk/netsurf/; revision=12951
2011-10-05 09:33:56 +00:00
Michael Drake
280ece6df9
Handle upper case hex.
...
svn path=/trunk/netsurf/; revision=12950
2011-10-05 09:30:12 +00:00
Vincent Sanders
a25f87a739
make nsurl__create_from_section correctly escape characters as per RFC3986
...
svn path=/trunk/netsurf/; revision=12948
2011-10-04 22:32:04 +00:00
John Mark Bell
170136a4e8
Ensure refcounts add up
...
svn path=/trunk/netsurf/; revision=12944
2011-10-03 22:13:45 +00:00
Michael Drake
6366f25f0d
Remove LOG.
...
svn path=/trunk/netsurf/; revision=12936
2011-10-03 20:56:35 +00:00
Michael Drake
a522d9ff14
Fix host/path with no scheme.
...
svn path=/trunk/netsurf/; revision=12935
2011-10-03 20:54:41 +00:00
Michael Drake
898b01e721
More conversion to nsurl. (box->href, object params, imagemaps, (i)frames)
...
svn path=/trunk/netsurf/; revision=12933
2011-10-03 20:28:29 +00:00
Michael Drake
a595d7c4bb
Fix parse of url with host name only.
...
svn path=/trunk/netsurf/; revision=12925
2011-10-03 11:36:26 +00:00
Michael Drake
2220e1c725
Fragment component doesn't include hash.
...
svn path=/trunk/netsurf/; revision=12924
2011-10-03 11:35:02 +00:00
Michael Drake
f97d7425a8
lwc version of ring function.
...
svn path=/trunk/netsurf/; revision=12911
2011-09-29 15:32:39 +00:00
Michael Drake
970d6dd835
Add function to get a nsurl with fragment removed from a nsurl.
...
svn path=/trunk/netsurf/; revision=12903
2011-09-28 11:26:10 +00:00
Michael Drake
7e7e1f6ed3
Squash erroneous warnings abuout uninitalised variable use from gcc 3.4.6.
...
svn path=/trunk/netsurf/; revision=12901
2011-09-27 12:08:23 +00:00
Michael Drake
e1f7a37f15
Port fetch layer to nsurl. Remove unused fetch_get_referer function.
...
svn path=/trunk/netsurf/; revision=12899
2011-09-27 11:07:32 +00:00
Michael Drake
a269a82d1f
s/nsurl_get_lwc/nsurl_get_component/
...
svn path=/trunk/netsurf/; revision=12898
2011-09-27 08:18:32 +00:00
Michael Drake
e90f794706
Add nsurl_get_lwc function.
...
svn path=/trunk/netsurf/; revision=12894
2011-09-26 21:50:16 +00:00
Michael Drake
75d61bca44
Simply return bool from nsurl_compare.
...
svn path=/trunk/netsurf/; revision=12889
2011-09-26 14:57:45 +00:00
Michael Drake
47b18439e7
Change if/else if ladder to a switch.
...
svn path=/trunk/netsurf/; revision=12887
2011-09-26 14:12:19 +00:00
Michael Drake
85e5fcea40
Updated documentation.
...
svn path=/trunk/netsurf/; revision=12884
2011-09-26 13:29:05 +00:00
Michael Drake
38caddcf93
Add means to find out if a NetSurf URL object contains a given component.
...
svn path=/trunk/netsurf/; revision=12883
2011-09-26 13:27:20 +00:00
Michael Drake
dc53b47e0b
Don't return length from nsurl_access.
...
svn path=/trunk/netsurf/; revision=12882
2011-09-26 12:19:35 +00:00
Michael Drake
1385dea029
Assert that the url exists before reducing its reference count. Thanks to Martin Bazley.
...
svn path=/trunk/netsurf/; revision=12865
2011-09-23 09:06:05 +00:00
Michael Drake
2837f05094
nsurl_access must return const.
...
svn path=/trunk/netsurf/; revision=12863
2011-09-22 20:45:38 +00:00
Michael Drake
828b5b44c7
Simplify nsurl_access and sync implementation with API.
...
svn path=/trunk/netsurf/; revision=12862
2011-09-22 20:28:26 +00:00
Michael Drake
8c861347c0
Add nsurl_ref for copying, replace nsurl_destroy with nsurl_unref, and add nsurl_access for accessing a pointer to string data internal to the NetSurf URL object.
...
svn path=/trunk/netsurf/; revision=12861
2011-09-22 16:28:46 +00:00
Michael Drake
9f3a082658
New URL handling (unused atm).
...
svn path=/trunk/netsurf/; revision=12843
2011-09-21 14:36:42 +00:00
Vincent Sanders
dec633ca8e
make high level cache take a parameter structure
...
make hlcache have a single global container
svn path=/trunk/netsurf/; revision=12779
2011-09-08 12:04:57 +00:00
Michael Drake
4075648e7a
Content interface to get at contextual content at point.
...
svn path=/trunk/netsurf/; revision=12753
2011-09-06 18:07:30 +00:00
John Mark Bell
338544df09
Squash warnings
...
svn path=/trunk/netsurf/; revision=12721
2011-09-05 07:19:04 +00:00
John Mark Bell
6807fa854d
Sniff content types where appropriate.
...
We never sniff for CSS, nor for non-page artefacts (e.g. treeview icons)
svn path=/trunk/netsurf/; revision=12707
2011-09-04 06:28:09 +00:00
John Mark Bell
3e1bd0d0bf
Skip over credentials when lower casing host
...
svn path=/trunk/netsurf/; revision=12624
2011-07-24 12:11:11 +00:00
John Mark Bell
b34502af82
Refactor http utilities
...
svn path=/trunk/netsurf/; revision=12595
2011-07-08 08:38:17 +00:00
Michael Drake
eddae6af06
Remove plotter table global. Pass a redraw context around redraw functions. Knockout could be handled better. Note: untested on most front ends.
...
svn path=/trunk/netsurf/; revision=12543
2011-06-30 15:48:07 +00:00
Michael Drake
b57c2e0bee
Move rectangle type to utils/types.h
...
svn path=/trunk/netsurf/; revision=12525
2011-06-28 15:18:48 +00:00
John Mark Bell
e71691bae8
Merge branches/jmb/content-factory to trunk
...
svn path=/trunk/netsurf/; revision=12283
2011-05-06 20:40:09 +00:00
John Mark Bell
f55474bf78
Make strchrnul stupid.
...
svn path=/trunk/netsurf/; revision=12174
2011-04-08 07:18:27 +00:00
John Mark Bell
ff60007458
Fix build with NDEBUG defined
...
svn path=/trunk/netsurf/; revision=12154
2011-04-03 22:23:14 +00:00
Vincent Sanders
74ffc40e92
move logging initialisation
...
svn path=/trunk/netsurf/; revision=12152
2011-04-02 13:05:55 +00:00
Vincent Sanders
ad12c46af5
remove extraneous logging
...
fix windows path_to_url coping with NULL input and allocation errors.
remove forced verbose logging
svn path=/trunk/netsurf/; revision=12147
2011-03-29 20:50:31 +00:00
Vincent Sanders
402aaeb368
make windows frontend use
...
svn path=/trunk/netsurf/; revision=12146
2011-03-29 20:38:40 +00:00
Michael Drake
66f6e9eff5
Rename utils/resource to utils/filepath to avoid confusion with resource: fetcher.
...
svn path=/trunk/netsurf/; revision=12088
2011-03-17 11:26:30 +00:00
Vincent Sanders
1da7b161f8
Stop gtk printing from exploding if its unable to initialise the job
...
add interface to clone a high level cache handle
make generic printing core call new hlcache interface
svn path=/trunk/netsurf/; revision=12068
2011-03-15 22:02:06 +00:00
Daniel Silverstone
1cd4c59f99
Slightly safer operation on RO
...
svn path=/trunk/netsurf/; revision=12064
2011-03-15 18:43:41 +00:00
Daniel Silverstone
a4b99f5c31
Remove use of POSIX.pm from svn-testament -- RISCOS seems to be incomplete in that respect
...
svn path=/trunk/netsurf/; revision=12062
2011-03-15 17:55:13 +00:00
Daniel Silverstone
775a139103
And use POSIX::uname for the hostname
...
svn path=/trunk/netsurf/; revision=12061
2011-03-15 15:49:08 +00:00
Daniel Silverstone
6d2a7a3495
Corify a bunch of svn-testament to work better on RISC OS with a bit of luck
...
svn path=/trunk/netsurf/; revision=12060
2011-03-15 15:45:18 +00:00
Chris Young
1d764f7bf7
Fix warning
...
svn path=/trunk/netsurf/; revision=12056
2011-03-15 00:26:25 +00:00
Chris Young
bdf75f07aa
Try harder to get useful values if (a) getent is not available or (b) HOSTNAME env-var
...
does not exist.
svn path=/trunk/netsurf/; revision=12055
2011-03-15 00:20:18 +00:00
John Mark Bell
408f78b737
Move schedule.h to utils/
...
svn path=/trunk/netsurf/; revision=12039
2011-03-13 22:50:54 +00:00
Chris Young
c615507e15
Set version using testament.h instead of old ARexx script
...
svn path=/trunk/netsurf/; revision=12028
2011-03-13 17:32:00 +00:00
Daniel Silverstone
514b94b1f4
Add hostname and path
...
svn path=/trunk/netsurf/; revision=12023
2011-03-13 12:17:18 +00:00
Daniel Silverstone
8695000b83
Slightly better out-of-svn build info
...
svn path=/trunk/netsurf/; revision=12022
2011-03-13 12:09:01 +00:00
Daniel Silverstone
cc18b5f21e
Initial testament functionality
...
svn path=/trunk/netsurf/; revision=12020
2011-03-13 11:59:20 +00:00
John Mark Bell
0c7c722e23
Log to stderr
...
svn path=/trunk/netsurf/; revision=11983
2011-03-12 19:13:27 +00:00
Daniel Silverstone
7e85d15cb6
Add a deaf monkey frontend. TODO: Make it listen
...
svn path=/trunk/netsurf/; revision=11968
2011-03-12 15:08:07 +00:00
John Mark Bell
f71dcf9667
Further hackery for the inconsistency of iconv() APIs
...
svn path=/trunk/netsurf/; revision=11951
2011-03-09 21:30:54 +00:00
John Mark Bell
021d3afd3e
Fix comment
...
svn path=/trunk/netsurf/; revision=11798
2011-02-25 19:41:13 +00:00
Vincent Sanders
0231675abf
add resource handling
...
move gtk and framebuffer to use generic resource handling
svn path=/trunk/netsurf/; revision=11772
2011-02-23 22:27:55 +00:00
John Mark Bell
c550ae0e69
Parser for Content-Disposition header
...
svn path=/trunk/netsurf/; revision=11765
2011-02-22 23:46:03 +00:00
Vincent Sanders
3c414e7668
Stop win32 frontend using 100% cpu time when idle
...
svn path=/trunk/netsurf/; revision=11633
2011-02-08 23:42:18 +00:00
Vincent Sanders
aa2865c7a4
add compatability for inet_pton and inet_aton
...
svn path=/trunk/netsurf/; revision=11627
2011-02-07 14:41:44 +00:00
John Mark Bell
a128b7acec
Rationalise definition of NO_IPV6 for atari frontend
...
svn path=/trunk/netsurf/; revision=11623
2011-02-06 15:40:36 +00:00
John Mark Bell
656a2d20c1
Explicitly cast unused results to void
...
svn path=/trunk/netsurf/; revision=11596
2011-02-01 21:50:34 +00:00
Sven Weidauer
fd23621211
Changing Xcode project file to build using the Makefiles and fixed some warnings.
...
svn path=/trunk/netsurf/; revision=11558
2011-01-31 07:57:52 +00:00
François Revel
3060423700
Remove odd WARNFLAGS copied from Atari stuff. Silence warning about redeclared strcasestr().
...
svn path=/trunk/netsurf/; revision=11381
2011-01-19 01:42:54 +00:00
John Mark Bell
e65bdafbe3
Fix url_host_is_ip_address() when encountering blatently invalid IPv4 addresses (which inet_aton fails to notice).
...
Also fix a number of insidious buffer overflows.
svn path=/trunk/netsurf/; revision=11293
2011-01-12 21:48:07 +00:00
John Mark Bell
8c09af5568
Add Mac OS X detection to config.h (credit: Sven Weidauer)
...
svn path=/trunk/netsurf/; revision=11291
2011-01-12 20:15:04 +00:00
James Bursa
ae44623e0d
Remove unused include.
...
svn path=/trunk/netsurf/; revision=11273
2011-01-09 21:39:49 +00:00
John Mark Bell
124e4cd788
Atari frontend (credit: Ole Loots)
...
svn path=/trunk/netsurf/; revision=11218
2011-01-05 21:02:22 +00:00
John Mark Bell
ed2fcc7121
AmigaOS 3 doesn't support IPv6, either
...
svn path=/trunk/netsurf/; revision=11147
2010-12-29 21:25:09 +00:00
John Mark Bell
a501aeaabe
malloc.h is non-standard. Remove it
...
svn path=/trunk/netsurf/; revision=11141
2010-12-29 18:39:20 +00:00
Daniel Silverstone
8f734e5b7a
Add RING_COUNTBYLWCHOST
...
svn path=/trunk/netsurf/; revision=11107
2010-12-20 10:31:59 +00:00
John Mark Bell
b550f27f4b
Fix OpenBSD build (credit: Anthony Bentley)
...
svn path=/trunk/netsurf/; revision=11054
2010-12-14 08:38:20 +00:00
Chris Young
e3073b6623
OS4's Roadshow doesn't have IPv6 yet
...
svn path=/trunk/netsurf/; revision=11031
2010-12-12 11:37:14 +00:00
François Revel
afc6a62b7a
BeOS does not support IPv6, and never will.
...
svn path=/trunk/netsurf/; revision=11014
2010-12-05 19:16:49 +00:00
Rob Kendrick
632f7df653
More IPv6 compatibility work, added hack to cope with incorrect calls to url_host_is_ip_address while we fix the callers.
...
svn path=/trunk/netsurf/; revision=10968
2010-12-04 16:35:48 +00:00
Rob Kendrick
fe56f45ac6
Reimplement url_host_is_ipaddress() to cope with IPv6 addresses and decimal/hex IPv4 addresses in addition to dotted-quad v4 addresses.
...
svn path=/trunk/netsurf/; revision=10959
2010-12-04 14:47:03 +00:00
Vincent Sanders
18196e6692
Improve url_host_is_ip_address
...
svn path=/trunk/netsurf/; revision=10951
2010-11-26 15:36:27 +00:00
Vincent Sanders
07c62407e2
Fix windows url bar
...
Clean up toolbar and urlbar creation and subclassing
svn path=/trunk/netsurf/; revision=10891
2010-10-17 00:08:35 +00:00
Vincent Sanders
aa2587254a
Update build instructions
...
Remove warnings from treeview branch merge
svn path=/trunk/netsurf/; revision=10874
2010-10-09 18:00:32 +00:00
Vincent Sanders
4d6534622e
add realpath compatability for windows
...
svn path=/trunk/netsurf/; revision=10873
2010-10-09 17:11:28 +00:00
John Mark Bell
6173bb0e6c
Merge treeview-redux to trunk
...
svn path=/trunk/netsurf/; revision=10865
2010-10-05 19:14:46 +00:00
Rob Kendrick
195c1ea319
Add seconds/microseconds wallclock time to log output, move header includes to inside guard.
...
svn path=/trunk/netsurf/; revision=10864
2010-10-04 19:58:10 +00:00
James Bursa
a359fb13fa
Remove themes.c and themes.h. Not used and implementation was never done.
...
svn path=/trunk/netsurf/; revision=10765
2010-09-12 23:57:27 +00:00
Vincent Sanders
faca1687ce
hell with it, heres a version which should result in fewer portability complaints
...
svn path=/trunk/netsurf/; revision=10756
2010-09-11 18:47:36 +00:00
Chris Young
4cbb19f218
Fix compilation on AmigaOS4
...
svn path=/trunk/netsurf/; revision=10755
2010-09-11 17:45:23 +00:00
John Mark Bell
2077918805
Merge branches/vince/netsurf-file-fetcher to trunk
...
r=jmb
svn path=/trunk/netsurf/; revision=10750
2010-09-09 21:45:59 +00:00
François Revel
d4ea23abab
Add a fallback for PRId64 as it's not defined on BeOS. It's only valid for 32bit, but any 64bit platform should be recent enough to have them.
...
svn path=/trunk/netsurf/; revision=10674
2010-08-02 21:44:35 +00:00
Vincent Sanders
bda534e12a
Clean up how GTK frontend finds resources
...
svn path=/trunk/netsurf/; revision=10668
2010-07-28 15:22:44 +00:00
Michael Drake
513793a060
Fix inventory file leafname.
...
svn path=/trunk/netsurf/; revision=10624
2010-07-09 21:36:55 +00:00
Chris Young
d6eb28d5de
Replace unnecessarily complicated path concatenation with something simpler and
...
easily adaptable to different platform path structures.
svn path=/trunk/netsurf/; revision=10621
2010-07-09 19:45:44 +00:00
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
2010-04-30 16:06:03 +00:00
Vincent Sanders
bd9c0d9a7e
hopefully fix the _GNU_SOURCE mess
...
svn path=/trunk/netsurf/; revision=10487
2010-04-26 09:27:16 +00:00
Vincent Sanders
03bb3e8636
remove _GNU_SOURCE define from everywhere.
...
strndup is not standard so provide an implementation.
svn path=/trunk/netsurf/; revision=10474
2010-04-24 15:22:17 +00:00
John Mark Bell
f81ea3419e
Fix Content-Type header parsing
...
svn path=/trunk/netsurf/; revision=10426
2010-04-18 11:14:56 +00:00
Daniel Silverstone
0235cc68d8
When iterating a linked list, please to always remember to *iterate* and not just stop after one item.
...
svn path=/trunk/netsurf/; revision=10400
2010-04-14 16:28:55 +00:00
Daniel Silverstone
6948496d45
Ensure that aborting or releasing hlcache handles will result in nascent retrieval contexts being cleaned up
...
svn path=/trunk/netsurf/; revision=10298
2010-04-08 11:21:50 +00:00
John Mark Bell
2748fe4f64
Make downloads work again.
...
svn path=/trunk/netsurf/; revision=10243
2010-04-05 21:35:38 +00:00
Vincent Sanders
95e4a737de
rationalise the usage of the file scheme
...
svn path=/trunk/netsurf/; revision=10221
2010-03-31 13:59:57 +00:00
John Mark Bell
e6d85230f1
Squash warning
...
svn path=/trunk/netsurf/; revision=10197
2010-03-28 23:40:12 +00:00
Daniel Silverstone
270ef59a98
Merge jmb/new-cache; r=dsilvers,rs=vince
...
svn path=/trunk/netsurf/; revision=10180
2010-03-28 12:56:39 +00:00
Chris Young
033b5d815a
Move code which extracts the filename from a given path into frontend.
...
svn path=/trunk/netsurf/; revision=10139
2010-03-21 13:32:59 +00:00
John Mark Bell
160c5de283
Valgrind suppressions file
...
svn path=/trunk/netsurf/; revision=9967
2010-02-11 00:23:59 +00:00
Vincent Sanders
55162445db
Add Windows frontend
...
svn path=/trunk/netsurf/; revision=9940
2010-01-31 00:36:02 +00:00
John Mark Bell
b75b2ae8bb
Merge r9731:HEAD from branches/MarkieB/gtkmain to trunk.
...
svn path=/trunk/netsurf/; revision=9737
2009-12-18 20:15:50 +00:00
John Mark Bell
355799ce0b
Merge branches/MarkieB/gtkmain to trunk.
...
svn path=/trunk/netsurf/; revision=9729
2009-12-17 23:55:02 +00:00
John Mark Bell
defdc423b5
Less broken conditional
...
svn path=/trunk/netsurf/; revision=9444
2009-08-25 08:28:01 +00:00
John Mark Bell
55888a00fe
Portability hacks.
...
svn path=/trunk/netsurf/; revision=9432
2009-08-24 12:05:00 +00:00
John Mark Bell
03d181b65d
Squash warnings
...
svn path=/trunk/netsurf/; revision=9431
2009-08-24 11:59:43 +00:00
John Mark Bell
ddeadd1c02
Merge LibCSS port to trunk.
...
svn path=/trunk/netsurf/; revision=8752
2009-07-23 23:05:34 +00:00
John Mark Bell
b0962da79a
Much tidying, additional commentary, and fix for insane bit mask calculation.
...
svn path=/trunk/netsurf/; revision=7623
2009-05-29 13:26:58 +00:00
John Mark Bell
6471f83c19
We don't care about the result of regexec(); only that it was successful or not
...
svn path=/trunk/netsurf/; revision=7612
2009-05-28 16:25:01 +00:00
John Mark Bell
243c1ba03f
Limit scope of manually-defined NDEBUG. Purge a bunch of redundant #undef NDEBUG.
...
svn path=/trunk/netsurf/; revision=7593
2009-05-28 10:39:53 +00:00
John Mark Bell
daf7a52dd6
Hubbub is no longer optional.
...
Remove libxml2 parser binding.
svn path=/trunk/netsurf/; revision=7115
2009-04-17 00:54:27 +00:00
John Mark Bell
6a7b1a73a7
Fix compilation with GCC 2.95.
...
It astounds me how some of this lot compiled at all.
svn path=/trunk/netsurf/; revision=7104
2009-04-16 12:49:49 +00:00
John Mark Bell
87add71110
Purge WITH_DRAW_EXPORT
...
svn path=/trunk/netsurf/; revision=6980
2009-03-29 00:24:14 +00:00
John Mark Bell
f0432b9f7b
Purge WITH_SAVE_COMPLETE
...
svn path=/trunk/netsurf/; revision=6979
2009-03-29 00:22:20 +00:00
John Mark Bell
5823b09a1c
Squash warning
...
svn path=/trunk/netsurf/; revision=6904
2009-03-27 00:48:22 +00:00
Rob Kendrick
c72b3cf71a
OpenBSD 4.4 compilation fixes. Does not deal with lack of -Wextra or -Wstrict-aliasing for lpu or hubbub.
...
svn path=/trunk/netsurf/; revision=6673
2009-03-02 19:26:11 +00:00
François Revel
3aa3708f17
Haiku neither has va_copy (yet).
...
svn path=/trunk/netsurf/; revision=6605
2009-02-22 17:54:30 +00:00
John Mark Bell
903edd1bf5
Purge WITH_SEARCH
...
svn path=/trunk/netsurf/; revision=6604
2009-02-22 15:21:54 +00:00
John Mark Bell
5943c3a3ba
Purge WITH_URL
...
svn path=/trunk/netsurf/; revision=6603
2009-02-22 15:19:06 +00:00
John Mark Bell
16a821e2aa
Purge WITH_URI
...
svn path=/trunk/netsurf/; revision=6602
2009-02-22 15:17:46 +00:00
John Mark Bell
851da107c9
Purge WITH_PRINT
...
svn path=/trunk/netsurf/; revision=6601
2009-02-22 15:16:04 +00:00
John Mark Bell
b98f105b24
Purge WITH_AUTH
...
svn path=/trunk/netsurf/; revision=6600
2009-02-22 15:13:10 +00:00
John Mark Bell
a3fecdf1fc
Squash leak
...
svn path=/trunk/netsurf/; revision=6561
2009-02-18 14:10:35 +00:00
John Mark Bell
abb231b633
Fix ucs4->utf8 conversion. It probably helps to return the number of bytes in the buffer, rather than the free space.
...
svn path=/trunk/netsurf/; revision=6558
2009-02-18 12:53:44 +00:00
John Mark Bell
41d2eca3b1
Port our UTF-8 routines to parserutils (only enabled when building against Hubbub).
...
Sync our temporary internal copies of these functions with parserutils (which is rather better tested and fixes a number of known bugs in NetSurf's previous UTF-8 handling).
Ideally, this will be the only place in NetSurf that has any dependency on parserutils, so port the amiga font code to our internal APIs.
svn path=/trunk/netsurf/; revision=6550
2009-02-17 23:44:17 +00:00
Daniel Silverstone
dd5f00fe79
Re-enable the ability to control the SSL certificate UI's inclusion. As a side-effect, NetSurf won't build SSL unless the cURL on the system is linked against OpenSSL
...
svn path=/trunk/netsurf/; revision=6526
2009-02-15 11:47:13 +00:00
John Tytgat
3f0c50e5a0
- C strings have always an implicit NUL character at the end, no need to specify an extra one.
...
- riscos/configure/con_theme.c: removed spurious code line.
svn path=/trunk/netsurf/; revision=6331
2009-02-01 13:37:32 +00:00
Rob Kendrick
3d260f6e75
Fix warnings and formatting
...
svn path=/trunk/netsurf/; revision=5956
2009-01-02 15:10:33 +00:00
John Mark Bell
ce93fc9d4c
Add _GNU_SOURCE. Ugh.
...
svn path=/trunk/netsurf/; revision=5813
2008-11-28 17:20:50 +00:00
John Mark Bell
bd94520701
More hoops, more warnings squashed.
...
svn path=/trunk/netsurf/; revision=5570
2008-10-13 23:49:15 +00:00
Daniel Silverstone
3f5d902edd
Merged revisions 5309-5406,5409-5422 via svnmerge from
...
svn://svn.netsurf-browser.org/branches/vince/netsurf-fb
........
r5309 | vince | 2008-09-13 10:59:10 +0100 (Sat, 13 Sep 2008) | 2 lines
first stab at framebuffer frontend
........
r5313 | vince | 2008-09-14 15:08:52 +0100 (Sun, 14 Sep 2008) | 2 lines
add line plotters
........
r5314 | vince | 2008-09-14 15:28:12 +0100 (Sun, 14 Sep 2008) | 2 lines
add rectangle plot to 16bpp plotters
........
r5315 | vince | 2008-09-14 19:58:57 +0100 (Sun, 14 Sep 2008) | 2 lines
improve 16bpp image plot
........
r5316 | vince | 2008-09-15 00:35:32 +0100 (Mon, 15 Sep 2008) | 2 lines
abstract the os specific framebuffer init
........
r5317 | vince | 2008-09-15 11:18:51 +0100 (Mon, 15 Sep 2008) | 2 lines
first cut of linux frontend
........
r5318 | vince | 2008-09-15 12:01:00 +0100 (Mon, 15 Sep 2008) | 2 lines
remove junk includes
........
r5319 | vince | 2008-09-15 12:09:02 +0100 (Mon, 15 Sep 2008) | 2 lines
make plotters OS agnostic again
........
r5322 | vince | 2008-09-15 15:55:01 +0100 (Mon, 15 Sep 2008) | 2 lines
Linux frontend operates
........
r5323 | vince | 2008-09-15 16:32:47 +0100 (Mon, 15 Sep 2008) | 2 lines
abstract out OS specific input
........
r5326 | vince | 2008-09-15 19:21:01 +0100 (Mon, 15 Sep 2008) | 2 lines
Improve linux mode setting
........
r5329 | vince | 2008-09-15 21:13:33 +0100 (Mon, 15 Sep 2008) | 2 lines
improve text clipping
........
r5339 | vince | 2008-09-16 00:07:57 +0100 (Tue, 16 Sep 2008) | 2 lines
possibly fix text clipping issue
........
r5342 | vince | 2008-09-16 00:39:36 +0100 (Tue, 16 Sep 2008) | 2 lines
consolidate polygon plotters
........
r5344 | dsilvers | 2008-09-16 10:21:06 +0100 (Tue, 16 Sep 2008) | 1 line
Fix up the framebuffer target makefile a bit more, add some config options for it
........
r5345 | dsilvers | 2008-09-16 10:22:19 +0100 (Tue, 16 Sep 2008) | 1 line
Ensure the appropriate frontend is selected when building framebuffer
........
r5346 | dsilvers | 2008-09-16 10:27:16 +0100 (Tue, 16 Sep 2008) | 1 line
Update build system to support targetting separate framebuffer frontends in different build trees, update executable to be nsfb-blah
........
r5350 | vince | 2008-09-16 17:15:04 +0100 (Tue, 16 Sep 2008) | 1 line
Add -g to provide symbols for framebuffer link
........
r5351 | vince | 2008-09-16 17:17:09 +0100 (Tue, 16 Sep 2008) | 1 line
framebuffer scheduler now works, plotters tweaked, gui tracks window redraw requirements better, keypresses not duplicated under linux fb
........
r5352 | dsilvers | 2008-09-16 17:38:53 +0100 (Tue, 16 Sep 2008) | 1 line
Ensure we only allow one fetcher at a time
........
r5361 | vince | 2008-09-17 11:48:44 +0100 (Wed, 17 Sep 2008) | 2 lines
initial cursor support
........
r5362 | vince | 2008-09-17 13:56:47 +0100 (Wed, 17 Sep 2008) | 2 lines
add mouse handling
........
r5363 | vince | 2008-09-17 14:14:44 +0100 (Wed, 17 Sep 2008) | 2 lines
add framebuffer resources
........
r5364 | vince | 2008-09-17 17:12:21 +0100 (Wed, 17 Sep 2008) | 2 lines
add reasonable pointer
........
r5366 | vince | 2008-09-17 17:17:25 +0100 (Wed, 17 Sep 2008) | 2 lines
fix pointer alpha
........
r5370 | vince | 2008-09-18 13:43:53 +0100 (Thu, 18 Sep 2008) | 2 lines
warning squash and cleanup ready for trunk merge
........
r5375 | vince | 2008-09-19 14:58:43 +0100 (Fri, 19 Sep 2008) | 2 lines
Working mouse navigation
........
r5377 | vince | 2008-09-20 14:06:22 +0100 (Sat, 20 Sep 2008) | 2 lines
Improve scrolling
........
r5378 | vince | 2008-09-20 14:46:46 +0100 (Sat, 20 Sep 2008) | 2 lines
fix redraw issues with scrolling
........
r5380 | vince | 2008-09-20 17:08:43 +0100 (Sat, 20 Sep 2008) | 3 lines
Alter panning to use its own flag so it doesnt cause invalid redraw
operations
........
r5381 | vince | 2008-09-20 21:52:45 +0100 (Sat, 20 Sep 2008) | 2 lines
add dummy framebuffer
........
r5383 | vince | 2008-09-21 00:00:15 +0100 (Sun, 21 Sep 2008) | 2 lines
fix segfault when cursor is off teh bottom of teh screen
........
r5384 | vince | 2008-09-21 00:06:08 +0100 (Sun, 21 Sep 2008) | 2 lines
fix off by one in pointer fix
........
r5385 | vince | 2008-09-21 00:25:09 +0100 (Sun, 21 Sep 2008) | 2 lines
when fixing bloody silly off by one errors remember to fix *both* references
........
r5387 | vince | 2008-09-21 00:38:13 +0100 (Sun, 21 Sep 2008) | 2 lines
last try at stopping the pointer segfault
........
r5388 | vince | 2008-09-21 16:24:18 +0100 (Sun, 21 Sep 2008) | 2 lines
improve vertical text clipping
........
r5392 | vince | 2008-09-21 23:11:51 +0100 (Sun, 21 Sep 2008) | 2 lines
Improve text plotters
........
r5393 | vince | 2008-09-21 23:34:38 +0100 (Sun, 21 Sep 2008) | 2 lines
fix 32bpp line plotting
........
r5394 | vince | 2008-09-22 00:00:03 +0100 (Mon, 22 Sep 2008) | 2 lines
Fix off by one error in line plotting clipping
........
r5397 | vince | 2008-09-22 13:46:22 +0100 (Mon, 22 Sep 2008) | 2 lines
Fix bitmap tileing
........
r5398 | vince | 2008-09-22 17:46:02 +0100 (Mon, 22 Sep 2008) | 2 lines
enable knockout renderer
........
r5399 | vince | 2008-09-22 18:43:48 +0100 (Mon, 22 Sep 2008) | 2 lines
ensure clipping region lies within window, caused by knockout renderer
........
r5400 | vince | 2008-09-22 19:20:25 +0100 (Mon, 22 Sep 2008) | 2 lines
update cursor to one swiped from X windows
........
r5405 | vince | 2008-09-23 09:09:05 +0100 (Tue, 23 Sep 2008) | 2 lines
fix vertical scroll limit
........
r5412 | dsilvers | 2008-09-23 10:53:14 +0100 (Tue, 23 Sep 2008) | 1 line
Revert noisy fetcher patch
........
r5413 | dsilvers | 2008-09-23 10:58:00 +0100 (Tue, 23 Sep 2008) | 1 line
Add header guards
........
r5414 | dsilvers | 2008-09-23 11:31:31 +0100 (Tue, 23 Sep 2008) | 1 line
Tidy the region clipping slightly
........
r5416 | dsilvers | 2008-09-23 12:05:00 +0100 (Tue, 23 Sep 2008) | 1 line
Rationalise how the framebuffer frontend finds resources and options
........
r5418 | dsilvers | 2008-09-23 13:59:00 +0100 (Tue, 23 Sep 2008) | 1 line
Ensure options are overridden after load, and squash an fb_gui.c warning
........
r5419 | dsilvers | 2008-09-23 14:20:07 +0100 (Tue, 23 Sep 2008) | 1 line
Support fb_mode and fb_device options
........
r5420 | dsilvers | 2008-09-23 14:21:48 +0100 (Tue, 23 Sep 2008) | 1 line
Support option_fb_device in the able frontend
........
r5421 | dsilvers | 2008-09-23 14:25:17 +0100 (Tue, 23 Sep 2008) | 1 line
Ensure target_blank is disabled
........
r5422 | dsilvers | 2008-09-23 14:39:00 +0100 (Tue, 23 Sep 2008) | 1 line
Rework linux fb frontend to support scanning and opening all event devices for input
........
svn path=/trunk/netsurf/; revision=5423
2008-09-23 14:00:40 +00:00
John Mark Bell
a2a28e0c0a
Fix array overrun.
...
svn path=/trunk/netsurf/; revision=5406
2008-09-23 09:14:40 +00:00
Daniel Silverstone
7dd73c5b43
Ensure we actually use the FNV offset basis rather than the prime, for initialising the hash
...
svn path=/trunk/netsurf/; revision=5286
2008-09-08 15:23:34 +00:00
Chris Young
3a788f0af2
Removed some debug which was supposed to be temporary.
...
svn path=/trunk/netsurf/; revision=5219
2008-08-29 18:19:06 +00:00
John Mark Bell
e11fe86d73
Looks like I mis-remembered the API here.
...
Also check for memory exhaustion.
svn path=/trunk/netsurf/; revision=5207
2008-08-26 06:21:10 +00:00
Chris Young
553c4aac8b
Prevent iconv() being passed an empty string in utf8_convert()
...
svn path=/trunk/netsurf/; revision=5202
2008-08-26 00:53:02 +00:00
John Tytgat
e063a2a59d
Second merge of Adam Blokus' GSoC work from his branch 'branches/adamblokus/netsurf'.
...
Merged revisions 4195-4211,4216,4219-4220,4222-4234,4236-4250,4252-4262,4264-4266,4268-4326,4329-4335,4338-4342,4344-4411,4413-4420,4422-4436,4438-4491,4494-4506,4508-4514,4516,4518-4552,4554,4556-4564,4567-4568,4570-4574,4576-4686,4689-4692,4694,4698-4709,4715-4723,4725-4755,4757-4769,4771-4919,4921-4996,4998-5110,5112-5117 via svnmerge from
svn://svn.netsurf-browser.org/branches/adamblokus/netsurf
........
r4736 | adamblokus | 2008-07-26 13:46:54 +0200 (Sat, 26 Jul 2008) | 2 lines
Sorting out some problems with svn.
........
r4737 | adamblokus | 2008-07-26 13:54:36 +0200 (Sat, 26 Jul 2008) | 4 lines
Added export tab to the options dialog.
Added the possibility of changing some print options.
........
r4897 | adamblokus | 2008-08-04 17:59:05 +0200 (Mon, 04 Aug 2008) | 5 lines
Added checking of horizontal clipping.
Added better table loosening.
Changed some minor bugs.
Applied changes in the Export options tab according to the review from tlsa.
........
r4905 | adamblokus | 2008-08-05 01:53:34 +0200 (Tue, 05 Aug 2008) | 2 lines
Fixed bug which made it impossible to export pdf's.
........
r4919 | adamblokus | 2008-08-05 16:39:33 +0200 (Tue, 05 Aug 2008) | 2 lines
Fixed some memory leaks which caused Netsurf to break.
........
r4927 | adamblokus | 2008-08-06 02:26:30 +0200 (Wed, 06 Aug 2008) | 4 lines
Fixed bug with filenames which crashed Netsurf.
Turned anti aliasing off for printing.
Fixed some scaling issues.
........
r4928 | adamblokus | 2008-08-06 17:52:44 +0200 (Wed, 06 Aug 2008) | 5 lines
Added new export/print options:
- suppressing images
- turning off backgrounds
- toggled loosening
........
r4950 | adamblokus | 2008-08-07 21:15:21 +0200 (Thu, 07 Aug 2008) | 5 lines
Added new options to PDF export:
- document compression
- document encryption
Added PDF password dialog
........
r4954 | adamblokus | 2008-08-07 22:11:31 +0200 (Thu, 07 Aug 2008) | 2 lines
Added saving print settings.
........
r4956 | adamblokus | 2008-08-07 22:44:48 +0200 (Thu, 07 Aug 2008) | 2 lines
Fixes to PDF encryption
........
r4970 | adamblokus | 2008-08-09 15:26:24 +0200 (Sat, 09 Aug 2008) | 3 lines
Fixed bug in plotting tiled bitmaps.
Fixed bug with too long text decorations.
........
r4977 | adamblokus | 2008-08-09 19:18:56 +0200 (Sat, 09 Aug 2008) | 2 lines
Fixed JPG embedding bug.
........
r4988 | adamblokus | 2008-08-10 16:59:51 +0200 (Sun, 10 Aug 2008) | 3 lines
Added clip checking to pdf plotters. No more "blank" clips.
Made PDF compression a default setting.
........
r4995 | adamblokus | 2008-08-10 20:03:00 +0200 (Sun, 10 Aug 2008) | 2 lines
Fixed Haru crash on font-size==0.
........
r4996 | adamblokus | 2008-08-10 21:04:43 +0200 (Sun, 10 Aug 2008) | 2 lines
Added changing text mode only if necessary.
........
r5045 | adamblokus | 2008-08-11 21:26:26 +0200 (Mon, 11 Aug 2008) | 3 lines
Removing gtk stuff from core code.
Little fix in options.
........
r5048 | adamblokus | 2008-08-11 21:57:45 +0200 (Mon, 11 Aug 2008) | 2 lines
Better font size checking in PDF export.
........
r5050 | adamblokus | 2008-08-11 22:19:56 +0200 (Mon, 11 Aug 2008) | 2 lines
Fixed riscos text scale bug.
........
r5073 | adamblokus | 2008-08-12 17:40:57 +0200 (Tue, 12 Aug 2008) | 2 lines
Added missing tooltips
........
r5092 | adamblokus | 2008-08-13 17:09:25 +0200 (Wed, 13 Aug 2008) | 2 lines
Moved /pdf folder to desktop/save_pdf
........
r5110 | adamblokus | 2008-08-13 22:44:50 +0200 (Wed, 13 Aug 2008) | 2 lines
Added comments.
........
r5113 | adamblokus | 2008-08-13 23:07:35 +0200 (Wed, 13 Aug 2008) | 2 lines
Cosmetic changes
........
r5116 | adamblokus | 2008-08-14 16:10:18 +0200 (Thu, 14 Aug 2008) | 2 lines
Fixed bug with BOX_INLINE_END in tree duplication.
........
r5117 | joty | 2008-08-14 21:47:46 +0200 (Thu, 14 Aug 2008) | 1 line
Improvement for r5116: use local vars when possible; rename global last to box_duplicate_last; check on box_duplicate_main_tree failure.
........
svn path=/trunk/netsurf/; revision=5118
2008-08-14 20:32:10 +00:00
François Revel
2fdf10c985
BeOS doesn't have strtof and PRIxPTR.
...
svn path=/trunk/netsurf/; revision=5101
2008-08-13 17:37:59 +00:00
François Revel
4c8989a6db
no va_copy on BeOS
...
svn path=/trunk/netsurf/; revision=5066
2008-08-12 01:44:59 +00:00
François Revel
065533f90e
Some BeOS specifics
...
svn path=/trunk/netsurf/; revision=5052
2008-08-11 22:50:44 +00:00
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 Mark Bell
408ca416e8
Really fix warnings.
...
svn path=/trunk/netsurf/; revision=5027
2008-08-11 16:12:08 +00:00
John Mark Bell
00a1a0d35c
Squash warnings on RISC OS
...
svn path=/trunk/netsurf/; revision=5023
2008-08-11 08:57:05 +00:00
François Revel
d432e7f868
Remove hardcoded define for LIBICONV_PLUG
...
svn path=/trunk/netsurf/; revision=4967
2008-08-08 23:49:45 +00:00
John Tytgat
4be25b2951
Update my e-mail address.
...
svn path=/trunk/netsurf/; revision=4908
2008-08-05 01:30:31 +00:00
John Mark Bell
a011abf55f
Move plugin option to Makefile.config.
...
Disable it by default.
svn path=/trunk/netsurf/; revision=4853
2008-08-01 11:29:18 +00:00
Rob Kendrick
9418f693d2
Restore accidentally removed line
...
svn path=/trunk/netsurf/; revision=4804
2008-07-29 15:36:54 +00:00
Rob Kendrick
9eacc5ca04
Make user agent string and default homepage configurable from Makefile.config
...
svn path=/trunk/netsurf/; revision=4803
2008-07-29 15:10:31 +00:00
François Revel
4c6006e6f4
C89
...
svn path=/trunk/netsurf/; revision=4795
2008-07-29 09:34:43 +00:00
Rob Kendrick
fe7cae2bfe
Refactor Makefile a little to be slightly more organised. Made more features configurable from Makefile.config
...
svn path=/trunk/netsurf/; revision=4775
2008-07-28 20:56:24 +00:00
John Tytgat
5f6c2cbff7
- Compiler warning squash
...
- Changed a lineending \n\r -> \n for a couple of files.
- More code style conformance.
svn path=/trunk/netsurf/; revision=4762
2008-07-26 22:29:15 +00:00
Rob Kendrick
789ab037d1
Add simple, experimental Makefile.config support.
...
* GTK-specific features, such as RSVG and librosprite, can be set to one of
three options; YES, NO or AUTO. AUTO will attempt to auto-detect its
availability and enable it if it is available.
* Haru PDF export/printing is enabled via this also. It lacks a pkg-config
file and works on RISC OS too, and thus has no auto-detection. Disabling
it disables the PDF-related menu entries in nsgtk.
svn path=/trunk/netsurf/; revision=4747
2008-07-26 17:08:23 +00:00
John Tytgat
35d3d6d0bb
First merge of Adam Blokus' GSoC work from his branch 'branches/adamblokus/netsurf'.
...
Merged revisions 4212-4552,4554-4709,4711-4724 via svnmerge from
svn://svn.netsurf-browser.org/branches/adamblokus/netsurf
........
r4212 | adamblokus | 2008-05-26 19:42:31 +0200 (Mon, 26 May 2008) | 4 lines
Pdf plotting skeleton pinned on Print Preview in GTK.
Just creates a file and draws lines.
........
r4213 | adamblokus | 2008-05-27 00:11:03 +0200 (Tue, 27 May 2008) | 4 lines
Pdf plotter - added drawing some graphic primitives.
Still with limited functionality, but a snapshot of the
currently viewed page can be made and resembles the original.
........
r4214 | adamblokus | 2008-05-27 11:43:31 +0200 (Tue, 27 May 2008) | 2 lines
Corrected encoding name
........
r4215 | adamblokus | 2008-05-27 12:47:26 +0200 (Tue, 27 May 2008) | 3 lines
Colours and polygons added.
........
r4217 | adamblokus | 2008-05-27 21:39:35 +0200 (Tue, 27 May 2008) | 6 lines
Added rectangles, filled boxes and clipping.
Taken into consideration joty's comments.
Added a todo list for this part.
Added some debug stuff and checking boundaries.
........
r4218 | adamblokus | 2008-05-28 12:37:30 +0200 (Wed, 28 May 2008) | 2 lines
Added path ploting (not sure if valid argument order for bezier) and dashed/dotted line styles
........
r4221 | adamblokus | 2008-05-28 22:11:05 +0200 (Wed, 28 May 2008) | 3 lines
Some more options in graphic primitives and normalizing some parameters.
........
r4235 | adamblokus | 2008-05-31 22:54:56 +0200 (Sat, 31 May 2008) | 4 lines
Plotting changed as jmb suggested (is the least invasive one from the possible)
Added dummy bitmap plotting - way of plotting an image is determined by its type.
........
r4251 | adamblokus | 2008-06-03 17:12:15 +0200 (Tue, 03 Jun 2008) | 3 lines
Added plotting jpg and png images - quite a lot to improve in this code, but it seems to work ;)
........
r4263 | adamblokus | 2008-06-05 14:20:32 +0200 (Thu, 05 Jun 2008) | 3 lines
Added hadling images other than png and jpeg - with transparency.
........
r4267 | adamblokus | 2008-06-06 15:36:34 +0200 (Fri, 06 Jun 2008) | 5 lines
Added handling NULL-returns from all mallocs.
Added plot_bitmap_tile handling.
Changed code style a little.
........
r4327 | adamblokus | 2008-06-12 17:46:34 +0200 (Thu, 12 Jun 2008) | 5 lines
Added a first prototype of the paged-output organization.
Still not sure about naming, file locations etc.
Works with the same pdf plotting as before.
........
r4328 | adamblokus | 2008-06-13 13:52:15 +0200 (Fri, 13 Jun 2008) | 4 lines
Added primitive width adjustment and outputing the whole
website in multiple pages.
........
r4336 | joty | 2008-06-15 15:06:57 +0200 (Sun, 15 Jun 2008) | 1 line
Fix RISC OS build failure (change r4235 wasn't complete).
........
r4337 | joty | 2008-06-15 18:15:32 +0200 (Sun, 15 Jun 2008) | 16 lines
This enables "Export PDF" in RISC OS build:
- Docs/Doxyfile(PREDEFINED): Added WITH_PDF_EXPORT
- Makefile.sources(S_PDF): Add to RISC OS target as well.
- utils/config.h: Define WITH_PDF_EXPORT which controls if we want to have
PDF export functionality or not.
- riscos/save_pdf.c,riscos/save_pdf.h(save_as_pdf): Use PDF print API made
by Adam Blokus to write a PDF file under RISC OS.
- riscos/save.c: Call save_as_pdf added.
- riscos/menus.c: Add 'Export->PDF' menu entry.
- riscos/menus.h(menu_action): Added BROWSER_EXPORT_PDF.
- desktop/gui.h(gui_save_type): Added GUI_SAVE_PDF.
- desktop/print.c(print_run): Added return value.
- Makefile(CCACHE): Moved closed to the place where CC is set for the first time.
(LDFLAGS): Centralised adding all non-pkgconfig libraries and added Haru + PNG libs.
........
r4343 | adamblokus | 2008-06-16 01:08:52 +0200 (Mon, 16 Jun 2008) | 3 lines
Added margins and page size adjustment.
........
r4412 | adamblokus | 2008-06-21 20:22:07 +0200 (Sat, 21 Jun 2008) | 4 lines
Added 'fuzzy' margins on page bottom.
Disabled direct png embedding, because it is too unstable in Haru now.
........
r4421 | adamblokus | 2008-06-22 18:52:28 +0200 (Sun, 22 Jun 2008) | 2 lines
Added "Save as.." dialog and Export->PDF menu entry. Print preview still works with default path.
........
r4437 | adamblokus | 2008-06-25 02:44:46 +0200 (Wed, 25 Jun 2008) | 4 lines
Added skeleton of applying loose layout.
Minor code cleaning-up.
........
r4492 | adamblokus | 2008-07-02 09:02:42 +0200 (Wed, 02 Jul 2008) | 5 lines
Implemented the elementar ideas of the loose layout.
Added scaling in the printing routine.
Added some basic demonstrations.
........
r4493 | adamblokus | 2008-07-02 09:05:55 +0200 (Wed, 02 Jul 2008) | 3 lines
Cleaned up the loosing code - commited to much of leftover rubbish code.
........
r4507 | adamblokus | 2008-07-04 14:25:48 +0200 (Fri, 04 Jul 2008) | 4 lines
Added duplicating box tree and current content - window flickering during printing solved.
Minor error checking after new HPDF_Image_AddSMask call.
........
r4515 | adamblokus | 2008-07-06 22:28:16 +0200 (Sun, 06 Jul 2008) | 2 lines
Changes in loosen layout (image resizing).
........
r4517 | adamblokus | 2008-07-06 22:38:23 +0200 (Sun, 06 Jul 2008) | 2 lines
Added pdf font handling and rendering functions with the use of Haru functions.
........
r4555 | adamblokus | 2008-07-10 00:59:05 +0200 (Thu, 10 Jul 2008) | 2 lines
Added a very basic and still buggy GTK print implementation.
........
r4565 | adamblokus | 2008-07-10 14:50:16 +0200 (Thu, 10 Jul 2008) | 2 lines
Added gtk printing one more time - I have forgotten to add the main file.
........
r4566 | adamblokus | 2008-07-10 14:57:02 +0200 (Thu, 10 Jul 2008) | 2 lines
removed error with comment
........
r4569 | adamblokus | 2008-07-10 15:52:55 +0200 (Thu, 10 Jul 2008) | 5 lines
Major style improvements - added a lot of doxygen comments,
followed tlsa's style guide.
Added some more error checking, too.
........
r4575 | adamblokus | 2008-07-10 18:48:26 +0200 (Thu, 10 Jul 2008) | 2 lines
Cleaned up the code.
........
r4687 | adamblokus | 2008-07-17 14:17:19 +0200 (Thu, 17 Jul 2008) | 2 lines
Changed everything according to jmb's review plus some minor bug fixes to gtk_print.
........
r4688 | adamblokus | 2008-07-17 17:16:34 +0200 (Thu, 17 Jul 2008) | 2 lines
Solved the netsurf.glade clash from r4421.
........
r4693 | adamblokus | 2008-07-18 18:11:51 +0200 (Fri, 18 Jul 2008) | 2 lines
Fixed bug with wrong number of pages in gtk printing.
........
r4695 | adamblokus | 2008-07-18 19:59:24 +0200 (Fri, 18 Jul 2008) | 3 lines
- fixed uncommented line from the previous commit
- fixed bug with scale bigger than 1.0 (incorretly clipped page)
........
r4696 | adamblokus | 2008-07-18 23:28:00 +0200 (Fri, 18 Jul 2008) | 2 lines
Fixed bug in gtk_print_font_paint (and nsfont_paint).
........
r4697 | adamblokus | 2008-07-18 23:35:38 +0200 (Fri, 18 Jul 2008) | 2 lines
Bug fix in nsfont_paint.
........
r4711 | adamblokus | 2008-07-19 22:44:15 +0200 (Sat, 19 Jul 2008) | 2 lines
Added gtk_selection files.
........
r4712 | adamblokus | 2008-07-20 11:15:06 +0200 (Sun, 20 Jul 2008) | 2 lines
Addam missing glade files.
........
r4713 | joty | 2008-07-20 17:13:10 +0200 (Sun, 20 Jul 2008) | 1 line
Follow change r4517 for RISC OS and BeOS platforms : Added pdf font handling and rendering functions with the use of Haru functions.
........
r4714 | joty | 2008-07-20 18:19:50 +0200 (Sun, 20 Jul 2008) | 1 line
Declare haru_nsfont iso define an instance for each C source including the font_haru.h header. This fixes breakage of PDF export on RISC OS.
........
r4724 | adamblokus | 2008-07-23 03:30:08 +0200 (Wed, 23 Jul 2008) | 6 lines
Applied changes according to joty's review.
Added checking the dimensions of a plotted image to pdf plotter.
Commented out jpg embedding (it seems to cause some problems
I'll bring it back when I figure out what's wrong) .
Added back some files removed by mistake.
........
svn path=/trunk/netsurf/; revision=4741
2008-07-26 16:01:59 +00:00
Rob Kendrick
94dea065b9
Add support for gzipped Messages files
...
svn path=/trunk/netsurf/; revision=4739
2008-07-26 15:18:21 +00:00
John Mark Bell
c02fcf5bc2
Update to last LGPL2+ version of talloc.
...
svn path=/trunk/netsurf/; revision=4528
2008-07-07 17:41:29 +00:00
James Bursa
884b93acaa
Remove unused function filename_as_url().
...
svn path=/trunk/netsurf/; revision=4334
2008-06-14 23:24:11 +00:00
John Mark Bell
50f520379b
warnings.squash();
...
svn path=/trunk/netsurf/; revision=4206
2008-05-26 10:34:47 +00:00
John Tytgat
793d466edf
- introduction of SLEN()
...
- enforce result of url_normalize() being NULL on failure
- plug memory leak when url_normalize() fails
svn path=/trunk/netsurf/; revision=4200
2008-05-25 15:51:30 +00:00
John Tytgat
e89c346573
Remove .cvsignore.
...
svn path=/trunk/netsurf/; revision=4199
2008-05-25 15:23:51 +00:00
John Tytgat
3f6d2a9f0c
Contribution from Philip Boulain <prb@ecs.soton.ac.uk>:
...
This makes url_normalize take care of whitespace in a fairly useful way,
consistent with other browsers:
- Leading and trailing whitespace is trimmed
- Internal whitespace is urlescaped
For example,
" http://www.google.co.uk/search?q=hello world "
becomes
"http://www.google.co.uk/search?q=hello%20world "
Explicit trailing whitespace, e.g. "...hello world%20", is left alone.
The upshot is that if you sloppily copy-paste a URL from IRC or whatnot
into the address bar, NetSurf no longer silently ignores you if you
caught some adjacent whitespace.
svn path=/trunk/netsurf/; revision=4198
2008-05-25 15:04:22 +00:00
John Mark Bell
baca6796eb
Ensure we've got a definition for size_t
...
svn path=/trunk/netsurf/; revision=4157
2008-05-14 10:23:22 +00:00
John Mark Bell
23fb72ea6b
The core code has always assumed a locale of "C".
...
Do not change the locale globally, else things will break in weird and
wonderful ways.
Introduce utils/locale.[ch], which provide locale-specific wrappers for various
functions (currently just the <ctype.h> ones).
Fix up the few places I can see that actually require that the underlying
locale is paid attention to.
Some notes:
1) The GTK frontend code has not been touched. It is possible that reading of
numeric values (e.g. from the preferences dialogue) may break with this
change, particularly in locales that use something other than '.' as their
decimal separator.
2) The search code is left unchanged (i.e. assuming a locale of "C").
This may break case insensitive matching of non-ASCII characters.
I doubt that ever actually worked, anyway. In future, it should use
Unicode case conversion to achieve the same effect.
3) The text input handling in the core makes use of isspace() to detect
word boundaries. This is fine for western languages (even in the C locale,
which it's currently assuming). It will, however, break for CJK et. al.
(this has always been the case, rather than being a new issue)
4) text-transform uses locale-specific variants of to{lower,upper}. In future
this should probably be performing Unicode case conversion. This is the
only part of the core code that makes use of locale information.
In future, if you require locale-specific behaviour, do the following:
setlocale(LC_<whatever>, "");
<your operation(s) here>
setlocale(LC_<whatever>, "C");
The first setlocale will change the current locale to the native environment.
The second setlocale will reset the current locale to "C".
Any value other than "" or "C" is probably a bug, unless there's a really
good reason for it.
In the long term, it is expected that all locale-dependent code will reside in
platform frontends -- the core being wholly locale agnostic (though assuming
"C" for things like decimal separators).
svn path=/trunk/netsurf/; revision=4153
2008-05-13 14:37:44 +00:00
Michael Drake
48431f9674
Remove text export build config option. Tidy up save_text code.
...
svn path=/trunk/netsurf/; revision=4095
2008-04-13 21:58:43 +00:00
John Tytgat
0d39c69763
- riscos/gui.c(path_to_url): escape the characters which need to be escaped when converting the host path to file: URL.
...
- utils/{url.c,url.h}(url_escape):
* added parameter 'toskip' to specify number of input characters which need to be skipped in the escape process. This avoids extra malloc buffer juggling.
* added parameter 'escexceptions' to specify the characters which need to be excluded from the escape process.
Solves SF tracker ID 1910169.
Note that when discname in path contains '/' characters (case: "file:///Sunfish#192.168.0.50::/home/joty.$/jo.html") or there is no discname specified at all (case "file:///HostFS:$/jo.htm"), you
need an UnixLib fix as in http://www.riscos.info/websvn/listing.php?repname=gccsdk&path=%2Ftrunk%2Fgcc4%2F&rev=3395&sc=1
svn path=/trunk/netsurf/; revision=4069
2008-04-02 00:43:51 +00:00
James Shaw
9402e110e9
Implement sprite support for GTK using librosprite
...
svn path=/trunk/netsurf/; revision=4051
2008-03-29 13:30:04 +00:00
Michael Drake
38644b0b4a
Update to use new build system.
...
svn path=/trunk/netsurf/; revision=3981
2008-03-19 17:26:22 +00:00
John Mark Bell
b087dfb3da
Remove spurious *
...
svn path=/trunk/netsurf/; revision=3946
2008-03-13 18:26:20 +00:00
Rob Kendrick
6906f6b861
Add -D_NETBSD_SOURCE to Makefile.unix for building on NetBSD. Also don't provide prototype for strcasestr under NetBSD. Fixes segfaults.
...
svn path=/trunk/netsurf/; revision=3943
2008-03-12 21:16:15 +00:00
John Tytgat
62d2e47936
Avoid magic numbers.
...
svn path=/trunk/netsurf/; revision=3907
2008-03-09 16:34:57 +00:00
Rob Kendrick
8e79665248
Initial attempt at implementing data: URLs. Needs cleaning and verifying that I'm using the fetcher API correctly. Appears to work, though.
...
svn path=/trunk/netsurf/; revision=3882
2008-03-05 14:21:29 +00:00
John Mark Bell
1cf46a6792
SignednessWarnings.squash()
...
Aside from a number of instances of const being cast away (mostly relating to the urldb, which is correct to only export const data) this now builds warning-free with GCC 4 on x86, which is nice.
svn path=/trunk/netsurf/; revision=3868
2008-02-25 17:58:00 +00:00
John Mark Bell
ad6fcea6b0
Add url_fragment to extract fragment from URL
...
Optionally allow url_compare to ignore fragments in comparison
Fix handling of url_compare result in a few places
Fix redirects which contain fragments in the Location header
svn path=/trunk/netsurf/; revision=3826
2008-02-03 12:04:48 +00:00
John Mark Bell
2fa8e656a1
The previous fix was broken -- URI paths include the leafname.
...
Make url_path() return the full path (including the leafname).
Defaulted cookie path attributes have the leafname and trailing slash stripped.
Add testcase for defaulted path.
Fix testcase conditions for paths with leafnames.
svn path=/trunk/netsurf/; revision=3693
2008-01-07 12:01:11 +00:00
John Mark Bell
252ad5c476
Add url_leafname()
...
Remove spurious * from url_host_is_ip_address()
svn path=/trunk/netsurf/; revision=3691
2008-01-07 04:54:08 +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
Vincent Sanders
c032d88ba7
a script which will determine who was the last person to change a line which has a warning upon it (and a which revision)
...
svn path=/trunk/netsurf/; revision=3484
2007-08-08 14:20:57 +00:00
John Mark Bell
7ec7ba37db
Fix debug build
...
svn path=/trunk/netsurf/; revision=3477
2007-08-06 22:17:42 +00:00
John Mark Bell
3d11398006
Purge NCOS build options; these have been redundant for ages.
...
svn path=/trunk/netsurf/; revision=3454
2007-07-21 22:17:07 +00:00
Rob Kendrick
04292695be
Initial work on RSVG image handler. Still a lot to do.
...
svn path=/trunk/netsurf/; revision=3433
2007-07-18 17:58:35 +00:00
Rob Kendrick
59f358eb0f
Wrap internal SVG renderer with appropriate #ifdef WITH_NS_SVG
...
svn path=/trunk/netsurf/; revision=3432
2007-07-18 14:49:26 +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
Rob Kendrick
89a44d8bc3
FreeBSD portability fixes.
...
* Remove usage of d_ino from utils/filename.c (it was checking
for the inode being 0, and I cannot spot anywhere in UnixLib
where it would explicitly do this anyway)
* Add -D_XOPEN_SOURCE=600 to gcc command line, and replace old
-D_POSIX_C_SOURCE to include =200112L (as that's the standard
we use).
svn path=/trunk/netsurf/; revision=3347
2007-06-15 18:43:07 +00:00
Daniel Silverstone
9ef3a2cd57
Reflow useragent.c to be 8 char indent. Also rename build_user_agent to user_agent_build_string so that all useragent.c starts user_agent_*
...
svn path=/trunk/netsurf/; revision=3334
2007-06-10 18:13:59 +00:00
John Mark Bell
87ca206e13
Warning fixes.
...
svn path=/trunk/netsurf/; revision=3332
2007-06-10 18:08:22 +00:00
Daniel Silverstone
1dd7e97eb3
Merge scheme switcher branch in.
...
svn path=/trunk/netsurf/; revision=3330
2007-06-10 17:46:44 +00:00
Rob Kendrick
47f9ee3581
Check return value of stat() in filename.c and report oddness using LOG
...
svn path=/trunk/netsurf/; revision=3318
2007-06-10 11:28:44 +00:00
Rob Kendrick
818a744178
Stop filename.c using d_type member in dirent struct, as this is completely and utterly unportable. Not even Linux has it anymore.
...
svn path=/trunk/netsurf/; revision=3317
2007-06-10 11:11:46 +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
Daniel Silverstone
25e22eb1f5
Add a -v option to enable debug logging. Pass -v by default to the RO runimage.
...
svn path=/trunk/netsurf/; revision=3306
2007-05-30 22:27:58 +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
James Bursa
6e6d397e9d
Remove defines that were never or are no longer used.
...
svn path=/trunk/netsurf/; revision=3259
2007-04-30 03:18:17 +00:00
John Mark Bell
d1b79f3e41
Bring percent-encoding closer to what other browsers do.
...
svn path=/trunk/netsurf/; revision=3179
2007-02-11 22:28:00 +00:00
Rob Kendrick
bdf7affb19
Fix almost all warnings in gtk/
...
svn path=/trunk/netsurf/; revision=3173
2007-02-10 02:21:32 +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
Richard Wilson
ef65cb38bd
Fix 1535120, 1528673
...
svn path=/trunk/netsurf/; revision=3087
2006-12-01 21:09:49 +00:00
Michael Drake
ba23e4b693
Update project URL.
...
svn path=/trunk/netsurf/; revision=3073
2006-11-27 15:35:18 +00:00
Rob Kendrick
9a2cdc2db8
Skeleton implementation of new themes API, complete with documentation, for discussion purposes.
...
svn path=/trunk/netsurf/; revision=3021
2006-10-31 16:19:21 +00:00
Rob Kendrick
bbfda21e1c
Add verbose flag to theme creation tool - silent unless used.
...
svn path=/trunk/netsurf/; revision=3019
2006-10-27 14:56:32 +00:00
Rob Kendrick
88fec4362c
Make containers use mmap() where available
...
svn path=/trunk/netsurf/; revision=3018
2006-10-26 23:53:16 +00:00
Rob Kendrick
87a660d1ea
Import initial work on theme container handling code and simple command-line tool to create and dismantal them. Still a little grungy, and doesn't check in enough places for memory exhaustion.
...
svn path=/trunk/netsurf/; revision=3017
2006-10-26 01:10:46 +00:00
Rob Kendrick
8c05d8274d
Make hashtable's fnv hash inline - saves 8 instructions and two pipeline flushes per call
...
svn path=/trunk/netsurf/; revision=3014
2006-10-20 16:56:40 +00:00
Richard Wilson
8be8304bc6
Plug possible memory leak. Reduce memory usage. Add facility to iterate through a hashtable.
...
svn path=/trunk/netsurf/; revision=3013
2006-10-20 12:13:28 +00:00
Rob Kendrick
7711781f24
Further hash table optimisations and tidies. Test rig now does more lookups to favour the more comment case for speed tests, etc.
...
svn path=/trunk/netsurf/; revision=3003
2006-10-13 15:50:11 +00:00
Richard Wilson
a8a944bd52
Optimise and tidy up code.
...
svn path=/trunk/netsurf/; revision=3002
2006-10-13 15:09:30 +00:00
John Mark Bell
cda3154a92
Fix bad pointer increment
...
svn path=/trunk/netsurf/; revision=2999
2006-10-12 14:01:14 +00:00
John Mark Bell
2caa96dcc9
Fix attempts to call die() before messages_hash exists:
...
1) Make hash_* more robust in the face of bad parameters
2) Make messages_* more robust in the face of bad parameters
3) Tidy up gui_init such that localised messages are loaded at the
earliest opportunity
svn path=/trunk/netsurf/; revision=2998
2006-10-12 14:00:40 +00:00
John Mark Bell
4b09b7b8a0
Correcly encode spaces for url-encoded form submission.
...
svn path=/trunk/netsurf/; revision=2960
2006-09-19 10:08:33 +00:00
Richard Wilson
1999becb42
Finish event based GUI system transition and begin code cleanup.
...
svn path=/trunk/netsurf/; revision=2922
2006-09-06 14:44:42 +00:00
Richard Wilson
b0851c9dde
Expose url component functions.
...
svn path=/trunk/netsurf/; revision=2907
2006-09-02 16:42:37 +00:00
Richard Wilson
74fa727509
Experimental new frames code.
...
svn path=/trunk/netsurf/; revision=2906
2006-09-02 15:52:41 +00:00
Rob Kendrick
8d7172fd17
Make Messages file parsing and searching use new re-usable hash table library
...
svn path=/trunk/netsurf/; revision=2879
2006-08-21 22:07:10 +00:00
Rob Kendrick
9670b32b7f
Add documentation comments to hash table implementation.
...
svn path=/trunk/netsurf/; revision=2877
2006-08-21 16:51:39 +00:00
James Bursa
efb9fd036b
Check for malloc failing in hash_add(). Remove unnecessary casts.
...
svn path=/trunk/netsurf/; revision=2873
2006-08-20 16:02:22 +00:00
Rob Kendrick
1f9fed8556
Make hash_add() return success/failure bool
...
svn path=/trunk/netsurf/; revision=2872
2006-08-20 13:46:30 +00:00
Rob Kendrick
d6b1f763ff
Implement simple reusable write-once hash table for use in new Messages file handling.
...
svn path=/trunk/netsurf/; revision=2871
2006-08-20 12:25:41 +00:00
Rob Kendrick
537bc37805
Slightly improve hash table for Messages file. Paves way for more generic use of it, as well as more constant performance.
...
svn path=/trunk/netsurf/; revision=2870
2006-08-19 23:37:58 +00:00
Richard Wilson
6c4003bf90
Remove URL caching and fix NULL reads.
...
svn path=/trunk/netsurf/; revision=2855
2006-08-17 14:48:28 +00:00
Richard Wilson
de0c4e2c32
Implement up toolbar icon and menu option.
...
svn path=/trunk/netsurf/; revision=2705
2006-07-03 21:07:02 +00:00
John Mark Bell
b7af14b591
Implement component-wise URL comparison
...
svn path=/trunk/netsurf/; revision=2697
2006-07-02 22:34:04 +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
f73bae5c29
Make url_plq ensure url_get_components found a path
...
Make url_scheme call url_destroy_components in case where no scheme was
found.
svn path=/trunk/netsurf/; revision=2686
2006-07-01 22:40:41 +00:00
Richard Wilson
f22838ab62
Stop possible pollution of the cache.
...
svn path=/trunk/netsurf/; revision=2681
2006-06-30 23:09:21 +00:00
Richard Wilson
cea180d752
Rewrite url_join to RFC 3986 compliance, and without the use of regular expressions. This should speed up pages with lots of links and also fix certain cases where URLs were incorrectly returned.
...
svn path=/trunk/netsurf/; revision=2664
2006-06-28 21:49:41 +00:00
Richard Wilson
d45a56ba7f
Fix URL joining for fragments.
...
svn path=/trunk/netsurf/; revision=2658
2006-06-27 18:47:33 +00:00
Richard Wilson
a0414fd967
Massively optimise common URL functions. This should (a) drastically reduce the start-up time for users with a large history/hotlist, and (b) decrease the loading time for pages with a sizable number of references.
...
svn path=/trunk/netsurf/; revision=2656
2006-06-27 17:59:32 +00:00
Richard Wilson
83c6568057
Don't use a regexp to extract scheme name.
...
svn path=/trunk/netsurf/; revision=2655
2006-06-27 00:53:39 +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
9eb3efff78
Make filename_create_directory check if directory already exists
...
Constify return of filename_request
Make bitmap save code check for filename_request failure
Update ro_gui_view_source to take account of constification
svn path=/trunk/netsurf/; revision=2639
2006-06-20 22:58:36 +00:00
John Mark Bell
4f249f9d0a
Merge cookies changes into head - unvalidated transactions and a UI
...
still need implementing.
svn path=/trunk/netsurf/; revision=2632
2006-06-19 21:49:25 +00:00
James Bursa
77907dd584
Fix crash when a relative URL contains "//../".
...
svn path=/trunk/netsurf/; revision=2543
2006-04-22 09:07:28 +00:00
John Mark Bell
79946e43c9
Lose spurious RISC OS-specific include (fixes GTK build)
...
svn path=/trunk/netsurf/; revision=2542
2006-04-22 00:22:28 +00:00
Richard Wilson
546ad9e70a
Apparently I need to specify add/deletions too...
...
svn path=/trunk/netsurf/; revision=2541
2006-04-21 23:50:36 +00:00
John Mark Bell
c09eb457df
Unify information databases
...
svn path=/trunk/netsurf/; revision=2519
2006-04-09 23:21:13 +00:00
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
John Mark Bell
4f3691d183
[project @ 2004-08-05 20:32:00 by jmb]
...
Text search. Press F4 to access it
svn path=/import/netsurf/; revision=1182
2004-08-05 20:32:00 +00:00
James Bursa
7114ceadd5
[project @ 2004-07-28 22:35:02 by bursa]
...
Heap debugging functions and log analysis script.
svn path=/import/netsurf/; revision=1156
2004-07-28 22:35:02 +00:00
John Mark Bell
67b0b7be62
[project @ 2004-07-27 20:44:46 by jmb]
...
Language configuration menu
Make adjust clicks on font size arrows style guide compliant
svn path=/import/netsurf/; revision=1154
2004-07-27 20:44:46 +00:00
Andrew Timmins
b02f6fa9a0
[project @ 2004-07-25 19:25:26 by atimmins]
...
Updated to support paned config dialog.
svn path=/import/netsurf/; revision=1143
2004-07-25 19:25:26 +00:00
John Tytgat
23e408a978
[project @ 2004-07-19 20:49:34 by joty]
...
Build fix (part 2).
svn path=/import/netsurf/; revision=1119
2004-07-19 20:49:34 +00:00
John Tytgat
c4fe691ea4
[project @ 2004-07-19 20:43:25 by joty]
...
Build fix.
svn path=/import/netsurf/; revision=1118
2004-07-19 20:43:25 +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
Andrew Timmins
a3925b4ffc
[project @ 2004-07-19 19:34:07 by atimmins]
...
Updated to support NCNetSurf build options
svn path=/import/netsurf/; revision=1115
2004-07-19 19:34:07 +00:00
Andrew Timmins
86f60c4c0a
[project @ 2004-07-18 22:21:32 by atimmins]
...
svn path=/import/netsurf/; revision=1097
2004-07-18 22:21:32 +00:00
Richard Wilson
b7bb766e95
[project @ 2004-07-16 19:47:02 by rjw]
...
Fix for hotlist menu selection. Interface for MNG/JNG display.
svn path=/import/netsurf/; revision=1083
2004-07-16 19:47:03 +00:00
John Tytgat
9295b0bcb1
[project @ 2004-07-08 20:13:35 by joty]
...
Log function name too when compiling with Norcroft.
svn path=/import/netsurf/; revision=1058
2004-07-08 20:13:35 +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
James Bursa
86206259fe
[project @ 2004-06-21 15:25:35 by bursa]
...
Remove obsolete files and some dead code.
svn path=/import/netsurf/; revision=988
2004-06-21 15:27:56 +00:00
James Bursa
08177fa581
[project @ 2004-06-10 20:41:26 by bursa]
...
Add global content list. Better error handling in content code. Improved code documentation. Remove some obsolete functions. Implement debug window listing contents.
svn path=/import/netsurf/; revision=951
2004-06-10 20:41:26 +00:00
James Bursa
e3833d52a2
[project @ 2004-06-08 10:56:21 by bursa]
...
Ignore whitespace at the start and end of URLs.
svn path=/import/netsurf/; revision=935
2004-06-08 10:56:21 +00:00
James Bursa
aebd66fbba
[project @ 2004-06-02 20:53:37 by bursa]
...
Make config change according to build.
svn path=/import/netsurf/; revision=906
2004-06-02 20:53:37 +00:00
Matthew Hambley
5de4fdf37b
[project @ 2004-05-20 20:55:36 by matthewh]
...
Added a .cvsignore file to hide automatically built files
svn path=/import/netsurf/; revision=874
2004-05-20 20:55:36 +00:00
Richard Wilson
3f0f5d7be9
[project @ 2004-05-12 10:23:07 by rjw]
...
Interactive help keys made more descriptive.
Message key length increased to 24.
svn path=/import/netsurf/; revision=856
2004-05-12 10:23:07 +00:00
James Bursa
7356aa96c9
[project @ 2004-05-08 18:13:27 by bursa]
...
Clean up and make more efficient.
svn path=/import/netsurf/; revision=843
2004-05-08 18:13:27 +00:00
James Bursa
9d9f208d7e
[project @ 2004-05-07 19:04:59 by bursa]
...
Fix possible buffer under-read.
svn path=/import/netsurf/; revision=840
2004-05-07 19:04:59 +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
0bb2a027d6
[project @ 2004-04-13 23:21:03 by bursa]
...
Make scheme matching stricter.
svn path=/import/netsurf/; revision=779
2004-04-13 23:21:03 +00:00
James Bursa
9d4f0a373c
[project @ 2004-04-12 20:43:29 by bursa]
...
Fix bug in url_join().
svn path=/import/netsurf/; revision=763
2004-04-12 20:43:29 +00:00
James Bursa
d5a81883e8
[project @ 2004-03-27 23:18:52 by bursa]
...
Implement url_nice() and make save boxes use it to choose the default filename.
svn path=/import/netsurf/; revision=682
2004-03-27 23:18:52 +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
John Mark Bell
7d0b144391
[project @ 2004-03-24 23:51:08 by jmb]
...
Text Export support.
svn path=/import/netsurf/; revision=665
2004-03-24 23:51:08 +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
6839622183
[project @ 2004-02-17 12:41:38 by jmb]
...
Begin save complete support.
Fix memory leak when using Select PNG renderer. (commented out lines can probably removed)
svn path=/import/netsurf/; revision=556
2004-02-17 12:41:38 +00:00
John Mark Bell
94bb784e4a
[project @ 2004-02-15 22:22:38 by jmb]
...
Add reminder to update Docs/Doxyfile too.
svn path=/import/netsurf/; revision=550
2004-02-15 22:22:38 +00:00
John Mark Bell
3720fafac0
[project @ 2004-02-14 22:26:35 by jmb]
...
Draw export module.
svn path=/import/netsurf/; revision=541
2004-02-14 22:26:35 +00:00
John Mark Bell
0dab93fe76
[project @ 2004-01-20 19:08:34 by jmb]
...
Allow toggling of POST support.
Add new toolbar icon numbers to riscos/gui.h
svn path=/import/netsurf/; revision=490
2004-01-20 19:08:34 +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
James Bursa
314a53cd63
[project @ 2004-01-02 12:04:29 by bursa]
...
Implement memory pools.
svn path=/import/netsurf/; revision=478
2004-01-02 12:04:29 +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
John Mark Bell
9f963dbf96
[project @ 2003-12-29 22:20:52 by jmb]
...
Escape @ symbol in email address.
svn path=/import/netsurf/; revision=469
2003-12-29 22:20:52 +00:00
Michael Drake
f3aa842441
[project @ 2003-12-29 20:16:37 by tlsa]
...
Use Acorn-defined characters
svn path=/import/netsurf/; revision=468
2003-12-29 20:16:37 +00:00
John Mark Bell
4e2345da92
[project @ 2003-12-29 18:59:15 by jmb]
...
Comment out unnecessary call to cache_dump from html_process_data.
Add Licence and relevant #include to tt2code. Stops the compiler moaning
about no definition of unicode_transliterate.
svn path=/import/netsurf/; revision=467
2003-12-29 18:59:15 +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
15d57a6634
[project @ 2003-08-16 18:39:10 by bursa]
...
New portable messages module.
svn path=/import/netsurf/; revision=244
2003-08-16 18:39:10 +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
James Bursa
405e2321a8
[project @ 2003-01-07 23:15:23 by bursa]
...
Clean up many compiler warnings.
svn path=/import/netsurf/; revision=88
2003-01-07 23:15:23 +00:00
James Bursa
53c0e810e5
[project @ 2002-10-08 09:38:29 by bursa]
...
LOG(()) macro for easier debugging.
svn path=/import/netsurf/; revision=41
2002-10-08 09:38:29 +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
12c3ff3d62
[project @ 2002-08-11 23:04:02 by bursa]
...
[monkeyson] Multiple-include guards.
svn path=/import/netsurf/; revision=30
2002-08-11 23:04: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