From c16a37a9ade6751e2ca79b914e2abafd1a0e959b Mon Sep 17 00:00:00 2001 From: Kalle Olavi Niemitalo Date: Sun, 27 May 2007 18:36:31 +0300 Subject: [PATCH] SMJS: comment changes [ Backported from commit 9743729cb11a085bb934b4d243316b8a808333e0 in ELinks 0.12.GIT. --KON ] --- src/ecmascript/spidermonkey/document.c | 4 ++-- src/ecmascript/spidermonkey/form.c | 16 ++++++++-------- src/ecmascript/spidermonkey/location.c | 4 ++-- src/ecmascript/spidermonkey/navigator.c | 4 ++-- src/ecmascript/spidermonkey/unibar.c | 8 ++++---- src/ecmascript/spidermonkey/window.c | 8 ++++---- src/scripting/smjs/bookmarks.c | 8 ++++---- src/scripting/smjs/cache_object.c | 8 ++++---- src/scripting/smjs/view_state_object.c | 8 ++++---- 9 files changed, 34 insertions(+), 34 deletions(-) diff --git a/src/ecmascript/spidermonkey/document.c b/src/ecmascript/spidermonkey/document.c index b29c2e9f..6dc2b9b5 100644 --- a/src/ecmascript/spidermonkey/document.c +++ b/src/ecmascript/spidermonkey/document.c @@ -162,8 +162,8 @@ document_get_property(JSContext *ctx, JSObject *obj, jsval id, jsval *vp) astring_to_jsval(ctx, vp, get_uri_string(document->uri, URI_ORIGINAL)); break; default: - /* Unrecognized property ID; someone is using the - * object as an array. SMJS builtin classes (e.g. + /* Unrecognized integer property ID; someone is using + * the object as an array. SMJS builtin classes (e.g. * js_RegExpClass) just return JS_TRUE in this case * and leave *@vp unchanged. Do the same here. * (Actually not quite the same, as we already used diff --git a/src/ecmascript/spidermonkey/form.c b/src/ecmascript/spidermonkey/form.c index 1f82399c..8715d46a 100644 --- a/src/ecmascript/spidermonkey/form.c +++ b/src/ecmascript/spidermonkey/form.c @@ -260,8 +260,8 @@ input_get_property(JSContext *ctx, JSObject *obj, jsval id, jsval *vp) break; default: - /* Unrecognized property ID; someone is using the - * object as an array. SMJS builtin classes (e.g. + /* Unrecognized integer property ID; someone is using + * the object as an array. SMJS builtin classes (e.g. * js_RegExpClass) just return JS_TRUE in this case * and leave *@vp unchanged. Do the same here. * (Actually not quite the same, as we already used @@ -364,8 +364,8 @@ input_set_property(JSContext *ctx, JSObject *obj, jsval id, jsval *vp) break; default: - /* Unrecognized property ID; someone is using the - * object as an array. SMJS builtin classes (e.g. + /* Unrecognized integer property ID; someone is using + * the object as an array. SMJS builtin classes (e.g. * js_RegExpClass) just return JS_TRUE in this case. * Do the same here. */ return JS_TRUE; @@ -913,8 +913,8 @@ form_get_property(JSContext *ctx, JSObject *obj, jsval id, jsval *vp) break; default: - /* Unrecognized property ID; someone is using the - * object as an array. SMJS builtin classes (e.g. + /* Unrecognized integer property ID; someone is using + * the object as an array. SMJS builtin classes (e.g. * js_RegExpClass) just return JS_TRUE in this case * and leave *@vp unchanged. Do the same here. * (Actually not quite the same, as we already used @@ -995,8 +995,8 @@ form_set_property(JSContext *ctx, JSObject *obj, jsval id, jsval *vp) break; default: - /* Unrecognized property ID; someone is using the - * object as an array. SMJS builtin classes (e.g. + /* Unrecognized integer property ID; someone is using + * the object as an array. SMJS builtin classes (e.g. * js_RegExpClass) just return JS_TRUE in this case. * Do the same here. */ break; diff --git a/src/ecmascript/spidermonkey/location.c b/src/ecmascript/spidermonkey/location.c index 139fe3bf..edd87f3d 100644 --- a/src/ecmascript/spidermonkey/location.c +++ b/src/ecmascript/spidermonkey/location.c @@ -171,8 +171,8 @@ location_get_property(JSContext *ctx, JSObject *obj, jsval id, jsval *vp) astring_to_jsval(ctx, vp, get_uri_string(vs->uri, URI_ORIGINAL)); break; default: - /* Unrecognized property ID; someone is using the - * object as an array. SMJS builtin classes (e.g. + /* Unrecognized integer property ID; someone is using + * the object as an array. SMJS builtin classes (e.g. * js_RegExpClass) just return JS_TRUE in this case * and leave *@vp unchanged. Do the same here. * (Actually not quite the same, as we already used diff --git a/src/ecmascript/spidermonkey/navigator.c b/src/ecmascript/spidermonkey/navigator.c index 6c7ceab1..9566bab0 100644 --- a/src/ecmascript/spidermonkey/navigator.c +++ b/src/ecmascript/spidermonkey/navigator.c @@ -134,8 +134,8 @@ navigator_get_property(JSContext *ctx, JSObject *obj, jsval id, jsval *vp) } break; default: - /* Unrecognized property ID; someone is using the - * object as an array. SMJS builtin classes (e.g. + /* Unrecognized integer property ID; someone is using + * the object as an array. SMJS builtin classes (e.g. * js_RegExpClass) just return JS_TRUE in this case * and leave *@vp unchanged. Do the same here. * (Actually not quite the same, as we already used diff --git a/src/ecmascript/spidermonkey/unibar.c b/src/ecmascript/spidermonkey/unibar.c index e99aa11f..8abc666c 100644 --- a/src/ecmascript/spidermonkey/unibar.c +++ b/src/ecmascript/spidermonkey/unibar.c @@ -121,8 +121,8 @@ unibar_get_property(JSContext *ctx, JSObject *obj, jsval id, jsval *vp) #undef unibar_fetch break; default: - /* Unrecognized property ID; someone is using the - * object as an array. SMJS builtin classes (e.g. + /* Unrecognized integer property ID; someone is using + * the object as an array. SMJS builtin classes (e.g. * js_RegExpClass) just return JS_TRUE in this case * and leave *@vp unchanged. Do the same here. */ break; @@ -175,8 +175,8 @@ unibar_set_property(JSContext *ctx, JSObject *obj, jsval id, jsval *vp) register_bottom_half(update_status, NULL); break; default: - /* Unrecognized property ID; someone is using the - * object as an array. SMJS builtin classes (e.g. + /* Unrecognized integer property ID; someone is using + * the object as an array. SMJS builtin classes (e.g. * js_RegExpClass) just return JS_TRUE in this case. * Do the same here. */ return JS_TRUE; diff --git a/src/ecmascript/spidermonkey/window.c b/src/ecmascript/spidermonkey/window.c index 8ece2e16..dda554cc 100644 --- a/src/ecmascript/spidermonkey/window.c +++ b/src/ecmascript/spidermonkey/window.c @@ -230,8 +230,8 @@ found_parent: break; } default: - /* Unrecognized property ID; someone is using the - * object as an array. SMJS builtin classes (e.g. + /* Unrecognized integer property ID; someone is using + * the object as an array. SMJS builtin classes (e.g. * js_RegExpClass) just return JS_TRUE in this case * and leave *@vp unchanged. Do the same here. * (Actually not quite the same, as we already used @@ -275,8 +275,8 @@ window_set_property(JSContext *ctx, JSObject *obj, jsval id, jsval *vp) switch (JSVAL_TO_INT(id)) { default: - /* Unrecognized property ID; someone is using the - * object as an array. SMJS builtin classes (e.g. + /* Unrecognized integer property ID; someone is using + * the object as an array. SMJS builtin classes (e.g. * js_RegExpClass) just return JS_TRUE in this case. * Do the same here. */ return JS_TRUE; diff --git a/src/scripting/smjs/bookmarks.c b/src/scripting/smjs/bookmarks.c index f3e8a78c..978471b2 100644 --- a/src/scripting/smjs/bookmarks.c +++ b/src/scripting/smjs/bookmarks.c @@ -112,8 +112,8 @@ bookmark_get_property(JSContext *ctx, JSObject *obj, jsval id, jsval *vp) return JS_TRUE; default: - /* Unrecognized property ID; someone is using the - * object as an array. SMJS builtin classes (e.g. + /* Unrecognized integer property ID; someone is using + * the object as an array. SMJS builtin classes (e.g. * js_RegExpClass) just return JS_TRUE in this case * and leave *@vp unchanged. Do the same here. * (Actually not quite the same, as we already used @@ -160,8 +160,8 @@ bookmark_set_property(JSContext *ctx, JSObject *obj, jsval id, jsval *vp) return JS_TRUE; } default: - /* Unrecognized property ID; someone is using the - * object as an array. SMJS builtin classes (e.g. + /* Unrecognized integer property ID; someone is using + * the object as an array. SMJS builtin classes (e.g. * js_RegExpClass) just return JS_TRUE in this case. * Do the same here. */ return JS_TRUE; diff --git a/src/scripting/smjs/cache_object.c b/src/scripting/smjs/cache_object.c index ac7dbd70..731d84b3 100644 --- a/src/scripting/smjs/cache_object.c +++ b/src/scripting/smjs/cache_object.c @@ -87,8 +87,8 @@ cache_entry_get_property(JSContext *ctx, JSObject *obj, jsval id, jsval *vp) return JS_TRUE; default: - /* Unrecognized property ID; someone is using the - * object as an array. SMJS builtin classes (e.g. + /* Unrecognized integer property ID; someone is using + * the object as an array. SMJS builtin classes (e.g. * js_RegExpClass) just return JS_TRUE in this case * and leave *@vp unchanged. Do the same here. * (Actually not quite the same, as we already used @@ -145,8 +145,8 @@ cache_entry_set_property(JSContext *ctx, JSObject *obj, jsval id, jsval *vp) return JS_TRUE; } default: - /* Unrecognized property ID; someone is using the - * object as an array. SMJS builtin classes (e.g. + /* Unrecognized integer property ID; someone is using + * the object as an array. SMJS builtin classes (e.g. * js_RegExpClass) just return JS_TRUE in this case. * Do the same here. */ return JS_TRUE; diff --git a/src/scripting/smjs/view_state_object.c b/src/scripting/smjs/view_state_object.c index d31687bb..4d079d83 100644 --- a/src/scripting/smjs/view_state_object.c +++ b/src/scripting/smjs/view_state_object.c @@ -60,8 +60,8 @@ view_state_get_property(JSContext *ctx, JSObject *obj, jsval id, jsval *vp) return JS_TRUE; default: - /* Unrecognized property ID; someone is using the - * object as an array. SMJS builtin classes (e.g. + /* Unrecognized integer property ID; someone is using + * the object as an array. SMJS builtin classes (e.g. * js_RegExpClass) just return JS_TRUE in this case * and leave *@vp unchanged. Do the same here. * (Actually not quite the same, as we already used @@ -95,8 +95,8 @@ view_state_set_property(JSContext *ctx, JSObject *obj, jsval id, jsval *vp) return JS_TRUE; } default: - /* Unrecognized property ID; someone is using the - * object as an array. SMJS builtin classes (e.g. + /* Unrecognized integer property ID; someone is using + * the object as an array. SMJS builtin classes (e.g. * js_RegExpClass) just return JS_TRUE in this case. * Do the same here. */ return JS_TRUE;