Commit Graph

8300 Commits

Author SHA1 Message Date
Vincent Sanders
966fb9f215 rationalise the JSAPI macro usage requires nsgenbind changes 2012-11-22 14:00:13 +00:00
Vincent Sanders
054984099f use correct unref functions 2012-11-21 22:08:18 +00:00
Vincent Sanders
c2cd36fda8 improve location interface implementation 2012-11-21 18:51:44 +00:00
Vincent Sanders
a159a4a79b update JSAPI_PS() signature to cope with new nsgenbind 2012-11-20 19:17:54 +00:00
Vincent Sanders
7757008433 add window enumeration test 2012-11-19 17:26:23 +00:00
Vincent Sanders
bb6b546b4b cleanup formatting in binding files 2012-11-19 17:23:24 +00:00
Ole Loots
e042008f2b Revert "Refactored menu event handling and got rid of several windom calls."
This reverts commit d1a5c738e6.
this change belongs into a new branch
2012-11-18 23:15:48 +01:00
Ole Loots
47c0ce6f14 Revert "Added missing Makefile changes for recent deskmenu commit."
This reverts commit c5fb16d56d.
This change belongs into a new branch
2012-11-18 23:15:21 +01:00
Vincent Sanders
6797e1f8ef add nodeValue implementation 2012-11-18 21:50:11 +00:00
Vincent Sanders
4769698d13 add enumeration test on the document node 2012-11-18 21:49:25 +00:00
Vincent Sanders
8810bc0163 add nodeName implementation 2012-11-18 21:24:29 +00:00
Vincent Sanders
ba867955a2 add nodeType 2012-11-18 21:12:49 +00:00
Vincent Sanders
fa9046fc97 implement childElementCount 2012-11-18 17:35:52 +00:00
Vincent Sanders
99d3633e03 implement previousElementSibling and nextElementSibling 2012-11-18 12:59:10 +00:00
Vincent Sanders
bec8711528 implement lastElementChild 2012-11-18 12:38:07 +00:00
Vincent Sanders
b1ca83ad8c implement firstElementChild 2012-11-18 12:14:44 +00:00
Vincent Sanders
6589c7cc19 add Garbage colelction root set macros 2012-11-17 11:19:31 +00:00
Vincent Sanders
82cae10284 more enumeration tests and update test index 2012-11-16 21:52:27 +00:00
Vincent Sanders
e36b8f6579 safely deal with NULL strings 2012-11-16 15:31:14 +00:00
Ole Loots
c5fb16d56d Added missing Makefile changes for recent deskmenu commit. 2012-11-14 22:00:38 +01:00
Ole Loots
d1a5c738e6 Refactored menu event handling and got rid of several windom calls. 2012-11-14 21:37:35 +01:00
Vincent Sanders
2bea506f83 add Node interface binding just to get the prototype 2012-11-14 02:11:01 +00:00
Vincent Sanders
9acba6cbcc add node enumeration test 2012-11-13 23:22:10 +00:00
Ole Loots
082c76d9c3 Merge branch 'master' of git://git.netsurf-browser.org/netsurf 2012-11-12 21:27:53 +01:00
Ole Loots
44808e1c52 Added message box, so warn_user works as expected. 2012-11-12 21:23:39 +01:00
Chris Young
6641b082f8 Fix the display of the drag save icon 2012-11-11 23:17:00 +00:00
Chris Young
967d22afe5 These were allocated with c lib functions, not AllocVec 2012-11-11 23:05:25 +00:00
Chris Young
adcbfb9789 Fix options GUI cleanup (credit: Gazelle) 2012-11-11 22:49:18 +00:00
Michael Drake
8c60d38769 Can't clone a content that gets reflowed for a viewport size. 2012-11-11 20:14:18 +00:00
Michael Drake
c040fbc4cc Allow reformats to different size. 2012-11-11 20:02:45 +00:00
Michael Drake
bd3f65b7da Use can_reformat instead of HTML special case. Allow reflow of parent for any object that gets a reformat. 2012-11-11 19:13:36 +00:00
Michael Drake
ddf45cd672 Reformat objects that reach the READY state. 2012-11-11 18:40:55 +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
John-Mark Bell
bb3a6bbb3b Permit hotlist entries to have no title. 2012-11-11 11:23:43 +00:00
Chris Young
f2ab822a83 Prevent NULL pointer access with plain text contents 2012-11-10 22:26:43 +00:00
Chris Young
41ed8e3da3 Pass UTF-8 text length for conversion 2012-11-10 16:05:48 +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
617d655c7b Remove libxml 2012-11-10 00:11:57 +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
2810fe764d make javascript tests acessible from index and tidy them up a little 2012-11-09 18:03:02 +00:00
Daniel Silverstone
413248d0fc Rough implementation of httponly cookie support 2012-11-09 11:38:46 +00:00
Vincent Sanders
9318e66449 add document.createElement 2012-11-09 10:52:55 +00:00
Chris Young
e25cb44814 Remove font_unicode_list - font_unicode is a list now. 2012-11-08 23:56:42 +00:00
Chris Young
83e2c640cf Remove the fallback font options from the prefs GUI; it isn't really needed now we have the font scanner and any advanced tweaking needs to be actioned through the Choices file anyway (the GUI would need a lot of work to add all the new options) 2012-11-08 23:41:14 +00:00
Chris Young
b0e43148b5 JSContext needs to be a pointer 2012-11-08 23:28:04 +00:00
Chris Young
96ed2e65d9 Fix crash when fallback font is not set and NetSurf was unable to find anything suitable on startup. 2012-11-08 20:48:38 +00:00
Chris Young
2a63ce87bb Spidermonkey 1.70 headers don't have JS_SET_RVAL 2012-11-08 20:09:40 +00:00
Vincent Sanders
85ede7192d put correct type casts into constructor 2012-11-08 17:30:43 +00:00