Commit Graph

479 Commits

Author SHA1 Message Date
Vincent Sanders
cc7f45898b refactor stylesheet handling to separate object from within html rendering 2013-02-24 16:08:37 +00:00
Michael Drake
f72da52cfc Fix over-allocation of space for hash table chain heads. 2013-02-22 22:33:36 +00:00
Michael Drake
d8af191c0a Include stdbool.h 2013-02-22 13:31:51 +00:00
Michael Drake
7088908cc2 Merge branch 'master' of git://git.netsurf-browser.org/netsurf
Conflicts of doom:
	render/html.c
2013-02-22 13:24:36 +00:00
Michael Drake
c2a718075a A load of refactoring of how content selection and input work.
Keypresses now go via content interface.
Contents don't shove the selection object into browser windows any more.
Contents report selection existence by sending message.
HTML content keeps track of where selections in it exist.
Contents report whether they have input focus via caret setting msg.
Caret can be hidden (can still input/paste) or removed.
Consolidate textarea selection handling.
Make textarea report its selection status changes to client.
Various textarea fixes.
Changed how we decide when to clear selections, and give focus.
2013-02-22 12:19:35 +00:00
Vincent Sanders
5be20a0d6e change stylesheet fetching to be generated from the default dom events 2013-02-19 23:51:16 +00:00
Vincent Sanders
3bfb5b96a7 browser_window_navigate refactor 2013-02-18 11:23:27 +00:00
Vincent Sanders
7ab835df8f implement Element::className 2013-01-23 17:00:13 +00:00
Michael Drake
4e756f6088 Remove architecture from UA string. 2013-01-14 13:59:07 +00:00
John-Mark Bell
a6b08c674f Fix handling of junk input 2013-01-12 20:57:01 +00:00
John-Mark Bell
261528747c Remove code that hasn't been used since 2004. 2013-01-12 02:35:09 +00:00
John-Mark Bell
d0d3d31e97 Revert "Treat cookies from HTTP and HTTPS as identical."
Sadly, this breaks path cookies on HTTPS sites. The correct
fix is to implement RFC6265 in full (probably replacing
urldb with something less complex, too).

This reverts commit 924f8844d4.
2013-01-04 22:06:31 +00:00
John-Mark Bell
568a9c2b8f Remove junk "http_equiv" string. 2013-01-03 00:33:36 +00:00
John-Mark Bell
924f8844d4 Treat cookies from HTTP and HTTPS as identical. 2013-01-03 00:28:51 +00:00
John-Mark Bell
ea3f09a724 Correctly emit entities when serialising to HTML. 2012-12-30 23:37:06 +00:00
Vincent Sanders
347fdf0743 add dom event handler to document object 2012-12-17 14:55:16 +00:00
Vincent Sanders
912b9de928 ensure default action fetcher is set to NULL 2012-12-06 19:33:25 +00:00
Vincent Sanders
646aed64ff change to parameterised parser binding creation 2012-12-06 18:04:43 +00:00
Vincent Sanders
fb5d763d75 extend corestings with event types 2012-11-28 17:19:49 +00:00
Vincent Sanders
ce309aa5a9 add message retrival of error codes ensuring there are messages for all codes 2012-11-26 17:32:57 +00:00
Adrien Destugues - PulkoMandy
eb28188661 Update the BeOS/Haiku port
* Toolbar use HVIF icons on Haiku
* Download window
* Some tweaks to the event loop to let network traffic happen

Signed-off-by: François Revol <revol@free.fr>
2012-11-24 21:39:40 +01:00
Michael Drake
8bccf16158 Check if box with imagemap at point has area at point. 2012-11-22 17:40:20 +00:00
Vincent Sanders
7d83151d1a make nsurl_access() not assert with being passed a NULL url as it is assumed elsewhere this will never fail. 2012-11-22 17:04:26 +00:00
Chris Young
7df658618c Close file when we've finished parsing it. 2012-11-11 11:48:42 +00:00
John-Mark Bell
ce640e59fd Report (and ignore) failure to load non-existent document. (Credit: Chris Young) 2012-11-11 11:31:34 +00:00
Vincent Sanders
a79e098817 remove redundant domutils and put functionality in existing utils/libdom 2012-11-10 11:44:38 +00:00
John-Mark Bell
4d58ed6562 Port hotlist load/save to libdom. 2012-11-09 23:23:04 +00:00
John-Mark Bell
79bd44fcb4 Fix conditionals to be sane 2012-11-09 23:23:04 +00:00
Vincent Sanders
43fb761f45 add document.body, head and documentElement getters
add a dom utility file and use it
2012-11-07 18:53:05 +00:00
Vincent Sanders
2b4a359425 reduce call overhead on log messages 2012-11-05 15:49:23 +00:00
Daniel Silverstone
b23aee2f09 type=search is a new-fangled HTML5 thing which we treat as input and thus give EX width hinting. Closes #3578446 2012-11-04 17:29:26 +00:00
Michael Drake
9ab851a5a9 Fix join with rel part of " ". Add a few tests. 2012-11-02 10:54:34 +00:00
Michael Drake
a526209e74 More useful title info for images. 2012-10-24 18:22:45 +01:00
Vincent Sanders
f18bbd48c7 Improve error handling in html content 2012-10-17 21:52:43 +01:00
Michael Drake
e2bde3482b Remove double ;. 2012-10-16 18:36:34 +01:00
Michael Drake
53b51c8083 Add newline at end of file. 2012-10-14 18:32:15 +01:00
Michael Drake
4fccdf18f3 Move dom walker to utils/libdom.{c|h}. Add a few HTML elements to core strings. 2012-10-12 16:21:29 +01:00
Michael Drake
672fa0a8e2 Make url_{get|reform|destroy}_components static. 2012-10-11 20:12:06 +01:00
Michael Drake
d84e3fd773 Add nsurl_replace_query. Add tests. Make tester itterate remaining lwc_strings. 2012-10-11 19:23:22 +01:00
Michael Drake
4c4e93ea54 Remove unused function. 2012-10-11 17:49:01 +01:00
Michael Drake
8ab9430bb4 Don't need url_compare any more. 2012-10-11 17:24:00 +01:00
Michael Drake
25cacb19c8 Ensure correct error type is returned. 2012-10-11 14:21:13 +01:00
Michael Drake
93ee8f48c1 Fix dead store. 2012-10-11 14:11:49 +01:00
Michael Drake
20425b6914 Ensure non-void functions have a return at the end, even though it shouldn't get there, to squash warning. 2012-10-11 11:58:27 +01:00
Michael Drake
9d29c8b48a Merge branch 'master' of git://git.netsurf-browser.org/netsurf 2012-10-08 20:34:34 +01:00
Michael Drake
1b9b870921 Add "https" lwc string. 2012-10-08 19:26:35 +01:00
Vincent Sanders
5800789df2 trivial docuemntation cleanups to address some of the huge number of docuemntation warnings 2012-10-08 14:52:24 +01:00
Daniel Silverstone
9cb4d00ea9 If you pass CI_BUILD=xxx to make, it will build a CI #xxx into the version string and also mention it in the testament 2012-10-06 18:12:57 +01:00
Michael Drake
aeac82ff17 Remove url_parent. 2012-10-06 14:11:29 +01:00
Michael Drake
40343b740d Add nusrl_parent function, to get parent path URL. 2012-10-06 14:06:38 +01:00