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