Commit Graph

150 Commits

Author SHA1 Message Date
Vincent Sanders d06df231bc Update the core to use the split operations table headers
Second in the series to decouple the core API usage from the frontends.
2014-10-16 22:33:43 +01:00
Vincent Sanders 02bbaa3e88 split version info into its own header and remove unnecessary nesurf.h includes
The netsurf.h header should *only* contain the registration, core
initialisation and finalisation methods. Version information is best
placed in its own header.

Also remove any unneeded inclusion of this header limiting it to
solely the places the relevant API is required.
2014-10-13 15:08:16 +01:00
Vincent Sanders 37755fb135 add incomplete scheme fetcher for javascript urls 2014-08-25 15:59:52 -07:00
Michael Drake 49bed056dd Make browser_window_navigate (un)verifiable flag match browser_window_create. 2014-02-10 22:40:04 +00:00
Michael Drake af014bce99 Allow tab creation without history clone. Changes browser_window_create and browser_window_navigate flags. 2014-02-10 14:08:45 +00:00
Vincent Sanders f8854707bb fix leak of utsname structure (coverity 1109881) 2013-11-06 10:53:01 +00:00
Vincent Sanders ccb0c1cfd1 implement very, very bad js window.top method 2013-06-03 23:10:53 +01:00
Vincent Sanders 3aba4b778a enable trace logging in binding generation 2013-06-03 15:16:38 +01:00
Vincent Sanders 8d57bb30af forcing a GC when the new global is created improves memory usage with scripts enabled 2013-06-03 11:55:37 +01:00
Vincent Sanders 6397fedb2b Turns out there are still two different compiles of the 1.8.5 API about 2013-06-03 11:10:46 +01:00
Vincent Sanders ae6058c15c create objects from window on demand an keep them as simple unshared objects
update prototype handling to keep GC refs
2013-06-02 21:00:32 +01:00
Vincent Sanders ee6e6eec05 move options include 2013-05-28 14:16:10 +01:00
Vincent Sanders ca345e9b99 fix version range when teh callback API changed 2013-05-22 20:42:37 +01:00
Vincent Sanders ce0fe06349 create javascript heartbeat and hook a script timeout to it 2013-05-22 19:12:26 +01:00
Vincent Sanders 95e726c7cc split sources lists out to their subdirectories as first step towards using core buildsystem 2013-03-11 17:53:52 +00:00
Vincent Sanders f3b515540e move javascript makefile 2013-03-11 11:09:47 +00:00
Vincent Sanders 529ca251fc rename flags for browser_window routines to be shorter 2013-02-18 11:51:42 +00:00
Vincent Sanders 3bfb5b96a7 browser_window_navigate refactor 2013-02-18 11:23:27 +00:00
Vincent Sanders 4ffa39177d fix docuemnt/window location to correctly navigate, fixes http://www.avaaz.org/ base page 2013-02-07 18:16:37 +00:00
Vincent Sanders 5ee7c6fd5c fix cast warning in location::href setter 2013-01-31 22:53:20 +00:00
Vincent Sanders 3d075bec32 add href location setter 2013-01-31 20:29:12 +00:00
Vincent Sanders 67ffb8e6e9 implement Element::hasAttribute 2013-01-23 17:46:40 +00:00
Vincent Sanders 09dc0649df implement Element::removeAttribute 2013-01-23 17:12:57 +00:00
Vincent Sanders 7ab835df8f implement Element::className 2013-01-23 17:00:13 +00:00
Vincent Sanders 16d938dd63 implement Element::id 2013-01-23 16:28:35 +00:00
Vincent Sanders db7d3acdc3 add and use debug logging macro 2013-01-23 15:51:55 +00:00
Vincent Sanders 1d08350981 implement Element::tagName 2013-01-23 15:51:55 +00:00
Vincent Sanders fab7b04de6 implement Element::getElementsByTagName 2013-01-23 15:51:45 +00:00
Vincent Sanders 31f7af700f implement Element::setAttribute 2013-01-23 13:42:43 +00:00
Vincent Sanders faddd8b035 implement Element::getAttribute 2013-01-23 12:37:56 +00:00
Vincent Sanders 9b568abf96 add default property handler for array indexing 2013-01-22 22:54:34 +00:00
Vincent Sanders fc6f04161e simplify jsapi property compatability macros 2013-01-22 18:58:22 +00:00
Vincent Sanders 5f66864c3a add macros for default proprty actions 2013-01-17 19:58:15 +00:00
Vincent Sanders 7b62bb5ff8 implement document.compatmode 2013-01-17 19:58:15 +00:00
Vincent Sanders bb10e7131f use a prologue section in the node binding to abstract out javascrip dom node to libdom node conversion 2013-01-02 23:14:31 +00:00
Vincent Sanders 1b8f9daa51 Initial implementation of document.createComment
Improve robustness of jsobject to libdom object conversion in appendChild
2013-01-02 23:14:30 +00:00
Vincent Sanders 27873fa9fe add explicit stdlib include for definition of free() 2012-12-20 17:17:42 +00:00
Vincent Sanders c0f9ae95b9 change the javascript bindings to use generated headers 2012-12-20 17:00:06 +00:00
Vincent Sanders 0d803b6c0d add coment on superclasses 2012-12-17 18:33:08 +00:00
Vincent Sanders e913a58ee7 add missing copyright header 2012-12-17 15:15:11 +00:00
Vincent Sanders 347fdf0743 add dom event handler to document object 2012-12-17 14:55:16 +00:00
Vincent Sanders 90f0cfb551 allow for JSOPTION_JIT to not be set 2012-12-16 20:51:42 +00:00
Vincent Sanders 25e85f1429 do not add script handler if runtime cannot be initialised 2012-12-13 15:35:01 +00:00
Vincent Sanders 04825c62df implement document.URL and document.documentURI 2012-12-07 15:50:24 +00:00
Vincent Sanders 99f93da0f3 correctly handle location 2012-12-07 12:08:56 +00:00
Vincent Sanders 0718d80918 abstract out GC root manipulation for js values 2012-12-04 18:15:14 +00:00
Vincent Sanders 897acff532 make events work on elements 2012-12-04 18:01:11 +00:00
Vincent Sanders 878fe3e68c fix disabled javascript function signature 2012-12-03 17:53:14 +00:00
Vincent Sanders 70ece8a428 add stub implemntation for event handling in elements 2012-12-03 17:34:03 +00:00
Vincent Sanders 3052864773 issue click events at dom 2012-12-03 17:09:44 +00:00