00001
00002
00003 using namespace KJS;
00004
00005 namespace KJS {
00006
00007 static const char ScreenTableStrings[] = {
00008 "\0"
00009 "availHeight\0"
00010 "availWidth\0"
00011 "colorDepth\0"
00012 "pixelDepth\0"
00013 "availLeft\0"
00014 "availTop\0"
00015 "height\0"
00016 "width\0"
00017 };
00018
00019
00020 static const struct HashEntry ScreenTableEntries[] = {
00021 { 0, 0, 0, 0, -1 },
00022 { 24, Screen::ColorDepth, DontEnum|ReadOnly, 0, 9 },
00023 { 0, 0, 0, 0, -1 },
00024 { 65, Screen::Height, DontEnum|ReadOnly, 0, 7 },
00025 { 35, Screen::PixelDepth, DontEnum|ReadOnly, 0, -1 },
00026 { 72, Screen::Width, DontEnum|ReadOnly, 0, -1 },
00027 { 56, Screen::AvailTop, DontEnum|ReadOnly, 0, 8 },
00028 { 46, Screen::AvailLeft, DontEnum|ReadOnly, 0, -1 },
00029 { 1, Screen::AvailHeight, DontEnum|ReadOnly, 0, -1 },
00030 { 13, Screen::AvailWidth, DontEnum|ReadOnly, 0, -1 }
00031 };
00032
00033 const struct HashTable ScreenTable = { 2, 10, ScreenTableEntries, 7, ScreenTableStrings};
00034
00035 }
00036
00037 using namespace KJS;
00038
00039 namespace KJS {
00040
00041 static const char WindowTableStrings[] = {
00042 "\0"
00043 "removeEventListener\0"
00044 "offscreenBuffering\0"
00045 "clientInformation\0"
00046 "addEventListener\0"
00047 "XMLHttpRequest\0"
00048 "XMLSerializer\0"
00049 "captureEvents\0"
00050 "clearInterval\0"
00051 "defaultStatus\0"
00052 "defaultstatus\0"
00053 "releaseEvents\0"
00054 "DOMException\0"
00055 "clearTimeout\0"
00056 "innerHeight\0"
00057 "onmousedown\0"
00058 "onmousemove\0"
00059 "onmouseover\0"
00060 "outerHeight\0"
00061 "pageXOffset\0"
00062 "pageYOffset\0"
00063 "personalbar\0"
00064 "setInterval\0"
00065 "NodeFilter\0"
00066 "innerWidth\0"
00067 "ondblclick\0"
00068 "ondragdrop\0"
00069 "onkeypress\0"
00070 "onmouseout\0"
00071 "outerWidth\0"
00072 "scrollbars\0"
00073 "setTimeout\0"
00074 "konqueror\0"
00075 "navigator\0"
00076 "onkeydown\0"
00077 "onmouseup\0"
00078 "document\0"
00079 "external\0"
00080 "location\0"
00081 "navigate\0"
00082 "onchange\0"
00083 "onresize\0"
00084 "onselect\0"
00085 "onsubmit\0"
00086 "onunload\0"
00087 "resizeBy\0"
00088 "resizeTo\0"
00089 "scrollBy\0"
00090 "scrollTo\0"
00091 "CSSRule\0"
00092 "confirm\0"
00093 "history\0"
00094 "onabort\0"
00095 "onclick\0"
00096 "onerror\0"
00097 "onfocus\0"
00098 "onkeyup\0"
00099 "onreset\0"
00100 "screenX\0"
00101 "screenY\0"
00102 "sidebar\0"
00103 "Option\0"
00104 "closed\0"
00105 "crypto\0"
00106 "frames\0"
00107 "length\0"
00108 "moveBy\0"
00109 "moveTo\0"
00110 "onblur\0"
00111 "onload\0"
00112 "onmove\0"
00113 "opener\0"
00114 "parent\0"
00115 "prompt\0"
00116 "screen\0"
00117 "scroll\0"
00118 "window\0"
00119 "Event\0"
00120 "Image\0"
00121 "Range\0"
00122 "alert\0"
00123 "close\0"
00124 "event\0"
00125 "print\0"
00126 "Node\0"
00127 "name\0"
00128 "open\0"
00129 "self\0"
00130 "top\0"
00131 };
00132
00133
00134 static const struct HashEntry WindowTableEntries[] = {
00135 { 236, Window::Onmouseover, DontDelete, 0, -1 },
00136 { 330, Window::Ondblclick, DontDelete, 0, -1 },
00137 { 711, Window::Blur, DontDelete|Function, 0, -1 },
00138 { 580, Window::_History, DontDelete|ReadOnly, 0, -1 },
00139 { 0, 0, 0, 0, -1 },
00140 { 1, Window::RemoveEventListener, DontDelete|Function, 3, -1 },
00141 { 0, 0, 0, 0, -1 },
00142 { 0, 0, 0, 0, -1 },
00143 { 319, Window::InnerWidth, DontDelete|ReadOnly, 0, -1 },
00144 { 492, Window::Onresize, DontDelete, 0, -1 },
00145 { 200, Window::InnerHeight, DontDelete|ReadOnly, 0, 99 },
00146 { 510, Window::Onsubmit, DontDelete, 0, -1 },
00147 { 796, Window::Close, DontDelete|Function, 0, -1 },
00148 { 0, 0, 0, 0, -1 },
00149 { 417, Window::_Navigator, DontDelete|ReadOnly, 0, 101 },
00150 { 0, 0, 0, 0, -1 },
00151 { 0, 0, 0, 0, -1 },
00152 { 695, Window::MoveBy, DontDelete|Function, 2, -1 },
00153 { 0, 0, 0, 0, -1 },
00154 { 0, 0, 0, 0, -1 },
00155 { 0, 0, 0, 0, -1 },
00156 { 0, 0, 0, 0, -1 },
00157 { 614, Window::Focus, DontDelete|Function, 0, -1 },
00158 { 0, 0, 0, 0, -1 },
00159 { 802, Window::Event, DontDelete|ReadOnly, 0, 98 },
00160 { 667, Window::Closed, DontDelete|ReadOnly, 0, 87 },
00161 { 0, 0, 0, 0, -1 },
00162 { 374, Window::OuterWidth, DontDelete|ReadOnly, 0, -1 },
00163 { 341, Window::Ondragdrop, DontDelete, 0, 111 },
00164 { 681, Window::Frames, DontDelete|ReadOnly, 0, 89 },
00165 { 0, 0, 0, 0, -1 },
00166 { 751, Window::_Screen, DontDelete|ReadOnly, 0, 102 },
00167 { 564, Window::CSSRule, DontDelete, 0, 91 },
00168 { 688, Window::Length, DontDelete|ReadOnly, 0, 92 },
00169 { 652, Window::SideBar, DontDelete|ReadOnly, 0, -1 },
00170 { 385, Window::Scrollbars, DontDelete|ReadOnly, 0, 104 },
00171 { 174, Window::DOMException, DontDelete, 0, -1 },
00172 { 0, 0, 0, 0, -1 },
00173 { 296, Window::SetInterval, DontDelete|Function, 2, -1 },
00174 { 0, 0, 0, 0, -1 },
00175 { 730, Window::Opener, DontDelete|ReadOnly, 0, -1 },
00176 { 407, Window::_Konqueror, DontDelete|ReadOnly, 0, 90 },
00177 { 814, Window::Node, DontDelete, 0, -1 },
00178 { 596, Window::Onclick, DontDelete, 0, -1 },
00179 { 187, Window::ClearTimeout, DontDelete|Function, 1, -1 },
00180 { 0, 0, 0, 0, -1 },
00181 { 284, Window::Personalbar, DontDelete|ReadOnly, 0, 93 },
00182 { 308, Window::NodeFilter, DontDelete, 0, -1 },
00183 { 21, Window::OffscreenBuffering, DontDelete|ReadOnly, 0, 97 },
00184 { 709, Window::Onblur, DontDelete, 0, -1 },
00185 { 0, 0, 0, 0, -1 },
00186 { 118, Window::ClearInterval, DontDelete|Function, 1, 115 },
00187 { 483, Window::Onchange, DontDelete, 0, -1 },
00188 { 0, 0, 0, 0, -1 },
00189 { 572, Window::Confirm, DontDelete|Function, 1, -1 },
00190 { 765, Window::_Window, DontDelete|ReadOnly, 0, -1 },
00191 { 0, 0, 0, 0, -1 },
00192 { 40, Window::ClientInformation, DontDelete|ReadOnly, 0, -1 },
00193 { 784, Window::Range, DontDelete, 0, -1 },
00194 { 546, Window::ScrollBy, DontDelete|Function, 2, -1 },
00195 { 0, 0, 0, 0, -1 },
00196 { 160, Window::ReleaseEvents, DontDelete|Function, 0, 106 },
00197 { 528, Window::ResizeBy, DontDelete|Function, 2, -1 },
00198 { 352, Window::Onkeypress, DontDelete, 0, -1 },
00199 { 674, Window::Crypto, DontDelete|ReadOnly, 0, 105 },
00200 { 744, Window::Prompt, DontDelete|Function, 2, -1 },
00201 { 0, 0, 0, 0, -1 },
00202 { 153, Window::Status, DontDelete, 0, 94 },
00203 { 0, 0, 0, 0, -1 },
00204 { 819, Window::Name, DontDelete, 0, 108 },
00205 { 537, Window::ResizeTo, DontDelete|Function, 2, -1 },
00206 { 0, 0, 0, 0, -1 },
00207 { 260, Window::PageXOffset, DontDelete|ReadOnly, 0, 116 },
00208 { 272, Window::PageYOffset, DontDelete|ReadOnly, 0, 100 },
00209 { 465, Window::_Location, DontDelete, 0, 113 },
00210 { 0, 0, 0, 0, -1 },
00211 { 0, 0, 0, 0, -1 },
00212 { 0, 0, 0, 0, -1 },
00213 { 829, Window::Self, DontDelete|ReadOnly, 0, 96 },
00214 { 772, Window::EventCtor, DontDelete, 0, 107 },
00215 { 132, Window::DefaultStatus, DontDelete, 0, 88 },
00216 { 519, Window::Onunload, DontDelete, 0, -1 },
00217 { 224, Window::Onmousemove, DontDelete, 0, -1 },
00218 { 58, Window::AddEventListener, DontDelete|Function, 3, 110 },
00219 { 456, Window::_External, DontDelete|ReadOnly, 0, -1 },
00220 { 0, 0, 0, 0, -1 },
00221 { 824, Window::Open, DontDelete|Function, 3, -1 },
00222 { 146, Window::DefaultStatus, DontDelete, 0, 95 },
00223 { 447, Window::Document, DontDelete|ReadOnly, 0, 103 },
00224 { 248, Window::OuterHeight, DontDelete|ReadOnly, 0, -1 },
00225 { 737, Window::Parent, DontDelete|ReadOnly, 0, -1 },
00226 { 636, Window::ScreenX, DontDelete|ReadOnly, 0, -1 },
00227 { 644, Window::ScreenY, DontDelete|ReadOnly, 0, 109 },
00228 { 758, Window::Scroll, DontDelete|Function, 2, 114 },
00229 { 555, Window::ScrollTo, DontDelete|Function, 2, -1 },
00230 { 702, Window::MoveTo, DontDelete|Function, 2, -1 },
00231 { 834, Window::Top, DontDelete|ReadOnly, 0, 117 },
00232 { 778, Window::Image, DontDelete|ReadOnly, 0, -1 },
00233 { 660, Window::Option, DontDelete|ReadOnly, 0, -1 },
00234 { 75, Window::XMLHttpRequest, DontDelete|ReadOnly, 0, -1 },
00235 { 90, Window::XMLSerializer, DontDelete|ReadOnly, 0, -1 },
00236 { 790, Window::Alert, DontDelete|Function, 1, -1 },
00237 { 396, Window::SetTimeout, DontDelete|Function, 2, -1 },
00238 { 104, Window::CaptureEvents, DontDelete|Function, 0, -1 },
00239 { 808, Window::Print, DontDelete|Function, 0, -1 },
00240 { 474, Window::Navigate, DontDelete|Function, 1, -1 },
00241 { 588, Window::Onabort, DontDelete, 0, -1 },
00242 { 604, Window::Onerror, DontDelete, 0, -1 },
00243 { 612, Window::Onfocus, DontDelete, 0, -1 },
00244 { 427, Window::Onkeydown, DontDelete, 0, -1 },
00245 { 620, Window::Onkeyup, DontDelete, 0, 112 },
00246 { 716, Window::Onload, DontDelete, 0, -1 },
00247 { 212, Window::Onmousedown, DontDelete, 0, -1 },
00248 { 363, Window::Onmouseout, DontDelete, 0, -1 },
00249 { 437, Window::Onmouseup, DontDelete, 0, -1 },
00250 { 723, Window::Onmove, DontDelete, 0, -1 },
00251 { 628, Window::Onreset, DontDelete, 0, -1 },
00252 { 501, Window::Onselect, DontDelete, 0, -1 }
00253 };
00254
00255 const struct HashTable WindowTable = { 2, 118, WindowTableEntries, 87, WindowTableStrings};
00256
00257 }
00258
00259 using namespace KJS;
00260
00261 namespace KJS {
00262
00263 static const char LocationTableStrings[] = {
00264 "\0"
00265 "hostname\0"
00266 "pathname\0"
00267 "protocol\0"
00268 "toString\0"
00269 "replace\0"
00270 "[[==]]\0"
00271 "assign\0"
00272 "reload\0"
00273 "search\0"
00274 "hash\0"
00275 "host\0"
00276 "href\0"
00277 "port\0"
00278 };
00279
00280
00281 static const struct HashEntry LocationTableEntries[] = {
00282 { 28, Location::ToString, DontDelete|Function, 0, -1 },
00283 { 0, 0, 0, 0, -1 },
00284 { 73, Location::Hash, DontDelete, 0, 11 },
00285 { 83, Location::Href, DontDelete, 0, 13 },
00286 { 59, Location::Reload, DontDelete|Function, 0, -1 },
00287 { 1, Location::Hostname, DontDelete, 0, -1 },
00288 { 78, Location::Host, DontDelete, 0, 14 },
00289 { 52, Location::Assign, DontDelete|Function, 1, -1 },
00290 { 0, 0, 0, 0, -1 },
00291 { 0, 0, 0, 0, -1 },
00292 { 10, Location::Pathname, DontDelete, 0, -1 },
00293 { 88, Location::Port, DontDelete, 0, 12 },
00294 { 19, Location::Protocol, DontDelete, 0, -1 },
00295 { 66, Location::Search, DontDelete, 0, -1 },
00296 { 45, Location::EqualEqual, DontDelete|ReadOnly, 0, 15 },
00297 { 37, Location::Replace, DontDelete|Function, 1, -1 }
00298 };
00299
00300 const struct HashTable LocationTable = { 2, 16, LocationTableEntries, 11, LocationTableStrings};
00301
00302 }
00303
00304 using namespace KJS;
00305
00306 namespace KJS {
00307
00308 static const char ExternalTableStrings[] = {
00309 "\0"
00310 "addFavorite\0"
00311 };
00312
00313
00314 static const struct HashEntry ExternalTableEntries[] = {
00315 { 0, 0, 0, 0, -1 },
00316 { 1, External::AddFavorite, DontDelete|Function, 1, -1 },
00317 { 0, 0, 0, 0, -1 },
00318 { 0, 0, 0, 0, -1 }
00319 };
00320
00321 const struct HashTable ExternalTable = { 2, 4, ExternalTableEntries, 4, ExternalTableStrings};
00322
00323 }
00324
00325 using namespace KJS;
00326
00327 namespace KJS {
00328
00329 static const char HistoryTableStrings[] = {
00330 "\0"
00331 "forward\0"
00332 "length\0"
00333 "back\0"
00334 "go\0"
00335 };
00336
00337
00338 static const struct HashEntry HistoryTableEntries[] = {
00339 { 0, 0, 0, 0, -1 },
00340 { 16, History::Back, DontDelete|Function, 0, 4 },
00341 { 9, History::Length, DontDelete|ReadOnly, 0, 5 },
00342 { 0, 0, 0, 0, -1 },
00343 { 1, History::Forward, DontDelete|Function, 0, -1 },
00344 { 21, History::Go, DontDelete|Function, 1, -1 }
00345 };
00346
00347 const struct HashTable HistoryTable = { 2, 6, HistoryTableEntries, 4, HistoryTableStrings};
00348
00349 }