Commit Graph

11778 Commits

Author SHA1 Message Date
Chris Young
5f5ca2c205 Add a function to retrieve the decoded version of IDNA URLs 2015-10-24 15:12:56 +01:00
Daniel Silverstone
c752c85618 Correct some incorrect error case handling and add tests to demonstrate fix 2015-10-21 18:55:39 +02:00
Daniel Silverstone
2f52338328 Fix up Element to return null rather than undefined, add tests 2015-10-21 18:46:43 +02:00
Daniel Silverstone
79068dd50f Support pushing NULL nodes, by pushing a JS 'null' object instead 2015-10-21 18:32:40 +02:00
Daniel Silverstone
629287c224 Revert "allow for libdom node calls which return NULL to indicate no node."
This reverts commit 37ea372a10.
2015-10-21 18:30:42 +02:00
Daniel Silverstone
0ddb60d82a Revert "The node acessors should return javacript null not an error"
This reverts commit 0645bc7570.
2015-10-21 18:30:36 +02:00
Vincent Sanders
0645bc7570 The node acessors should return javacript null not an error 2015-10-20 22:49:41 +01:00
Vincent Sanders
37ea372a10 allow for libdom node calls which return NULL to indicate no node. 2015-10-20 22:36:42 +01:00
Vincent Sanders
6d0d964cac Implement Document::documentElement binding 2015-10-18 11:06:41 +01:00
Vincent Sanders
eb17f4ab37 Implement basic browsing context name property 2015-10-18 10:53:49 +01:00
Vincent Sanders
9409bc2ad7 add automaticaly generated property setter and getters to HTMLTitleElement 2015-10-14 15:54:22 +01:00
Vincent Sanders
9666888f0c add automaticaly generated property setter and getters to HTMLTextAreaElement 2015-10-14 15:48:35 +01:00
Vincent Sanders
c7ca9ae819 add automaticaly generated property setter and getters to HTMLTableSectionElement 2015-10-14 15:39:45 +01:00
Vincent Sanders
f624e9f272 add automaticaly generated property setter and getters to HTMLTableRowElement 2015-10-14 15:36:43 +01:00
Vincent Sanders
3e6feede1f add automaticaly generated property setter and getters to HTMLTableElement 2015-10-14 15:15:42 +01:00
Vincent Sanders
0805bf2cd6 add automaticaly generated property setter and getters to HTMLTableColElement 2015-10-14 15:09:16 +01:00
Vincent Sanders
0d4105907d add automaticaly generated property setter and getters to HTMLTableCellElement 2015-10-14 14:46:31 +01:00
Vincent Sanders
47fb74ee88 add automaticaly generated property setter and getters to HTMLTableCaptionElement 2015-10-14 14:22:56 +01:00
Vincent Sanders
3bcc9922ee add automaticaly generated property setter and getters to HTMLStyleElement 2015-10-14 14:17:30 +01:00
Vincent Sanders
d676b64bec add automaticaly generated property setter and getters to HTMLSelectElement 2015-10-14 13:28:19 +01:00
Vincent Sanders
c1937ee617 add automaticaly generated property setter and getters to HTMLScriptElement 2015-10-14 13:20:28 +01:00
Vincent Sanders
4f843d3b6f add automaticaly generated property setter and getters to HTMLQuoteElement 2015-10-14 12:51:35 +01:00
Vincent Sanders
02fb81009e add automaticaly generated property setter and getters to HTMLParamhElement 2015-10-14 09:21:26 +01:00
Vincent Sanders
b516854d0a add automaticaly generated property setter and getters to HTMLParagraphElement 2015-10-14 09:15:59 +01:00
Vincent Sanders
2b71eef763 add automaticaly generated property setter and getters to HTMLOptionElement 2015-10-14 09:09:41 +01:00
Vincent Sanders
079667ee6c add automaticaly generated property setter and getters to HTMLObjectElement 2015-10-13 23:36:01 +01:00
Vincent Sanders
2f129cdef7 add automaticaly generated property setter and getters to HTMLMenuElement 2015-10-13 23:31:52 +01:00
Vincent Sanders
b667375dcc add automaticaly generated property setter and getters to HTMLMetaElement 2015-10-13 23:28:35 +01:00
Vincent Sanders
94a740c7c1 split out html marquee element support
libdom does not support this element at all so there are currently no
automatic implementations defined.
2015-10-13 23:24:37 +01:00
Vincent Sanders
d57dec2454 add automaticaly generated property setter and getters to HTMLMapElement 2015-10-13 23:20:50 +01:00
Vincent Sanders
5fdf040e90 add automaticaly generated property setter and getters to HTMLLinkElement 2015-10-13 23:17:05 +01:00
Vincent Sanders
4fa4786035 add automaticaly generated property setter and getters to HTMLLIElement 2015-10-13 22:23:22 +01:00
Vincent Sanders
71849b0c04 add automaticaly generated property setter and getters to HTMLLegendElement 2015-10-13 21:26:23 +01:00
Vincent Sanders
444721354e add automaticaly generated property setter and getters to HTMLLabelElement 2015-10-13 21:00:02 +01:00
Vincent Sanders
2f68549812 add automaticaly generated property setter and getters to HTMLInputElement 2015-10-13 20:54:54 +01:00
Vincent Sanders
e1769827fc add automaticaly generated property setter and getters to HTMLImageElement 2015-10-13 20:41:10 +01:00
Vincent Sanders
b54bf459a5 add automaticaly generated property setter and getters to HTMLIFrameElement 2015-10-13 16:24:22 +01:00
Vincent Sanders
450cefbd49 add automaticaly generated property setter and getters to HTMLHtmlElement 2015-10-13 10:37:12 +01:00
Vincent Sanders
c39096c30d add automaticaly generated property setter and getters to HTMLHeadingElement 2015-10-13 09:57:35 +01:00
Vincent Sanders
5263712ad4 add automaticaly generated property setter and getters to HTMLFrameSetElement 2015-10-13 09:27:06 +01:00
Vincent Sanders
d01cecdf7f add automaticaly generated property setter and getters to HTMLFrameElement 2015-10-13 09:22:46 +01:00
Dave Higton
cb178413ef Fix RISC OS menu entries for delete
The RISC OS key that deletes entries from e.g. the hotlist and the
global history is Del(ete), not ^X as shown in the menus.  ^X is
more associated with cut to clipboard, which the above mentioned
delete operations do not do, so it makes more sense to leave the
functionality as is, and modify the menu text to match the key.

NB It seems that NL keyboards are rare things; Netherlanders are
more likely to use an English keyboard (US or UK), so Del is the
correct choice for the majority in NL.
2015-10-12 21:36:11 +01:00
Adrien Destugues
d97958a973 BeOS/Haiku: implement some of the Help menu. 2015-10-12 21:11:48 +01:00
Adrien Destugues
a182bb5501 BeOS/Haiku: Remove obsolete "messages" file. 2015-10-12 21:11:42 +01:00
Adrien Destugues
5546a3dbcd BeOS/Haiku: improve menus management
* Embed language resources in executable, so they can be used without
installing
* Add a few strings we want to use
* Remove most menus since they are not implemented yet

Fixes http://bugs.netsurf-browser.org/mantis/view.php?id=2164
2015-10-12 21:11:25 +01:00
Adrien Destugues
af66ed3194 BeOS/Haiku: use Haiku native dialog box.
* Looks better than a standard alert.
2015-10-12 21:11:21 +01:00
Adrien Destugues
15777ee750 BeOS/Haiku: Disable replicant dragger
* While making NetSurf replicable is nice, it doesn't work at all
* The dragger is not useful: the main interest of replicability is apps
programmatically embedding NetSurf, rather than manually dragging it
around.
* I leave this around if mmu_man wants to fix and re-enable it, but
under a define so it doesn't get in the way for release builds.

Fixes http://bugs.netsurf-browser.org/mantis/view.php?id=2163.
2015-10-12 21:09:44 +01:00
Adrien Destugues
0e606ac64b BeOS/Haiku: use cross-platform "select" code.
Fixes http://bugs.netsurf-browser.org/mantis/view.php?id=2165.
2015-10-12 21:09:07 +01:00
Adrien Destugues
2071c2a91b Fix BeOS build
Mainly C/C++ conflicts:
* Designated initializer are not part of C++
* C++ already defines min() and max()
* Force C99 and remove -O0 since we now use a decent compiler
2015-10-12 21:08:25 +01:00
Adrien Destugues
46ff49baef BeOS build instructions: advise to use Quick-Start method
It is now fully supported on Haiku, so let anyone interested know.
Unfortunately BeOS will still need the manual build, and it can't work
because Duktape is C99 only. I'll let mmu_man handle that, I don't need
the BeOS port myself.
2015-10-12 21:06:46 +01:00