From 9743729cb11a085bb934b4d243316b8a808333e0 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 --- 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/globhist.c | 8 ++++---- src/scripting/smjs/view_state_object.c | 8 ++++---- 10 files changed, 38 insertions(+), 38 deletions(-) diff --git a/src/ecmascript/spidermonkey/document.c b/src/ecmascript/spidermonkey/document.c index 05a75f193..3e3ed6a84 100644 --- a/src/ecmascript/spidermonkey/document.c +++ b/src/ecmascript/spidermonkey/document.c @@ -174,8 +174,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 3ee459f01..7f3cc77a8 100644 --- a/src/ecmascript/spidermonkey/form.c +++ b/src/ecmascript/spidermonkey/form.c @@ -279,8 +279,8 @@ input_get_property(JSContext *ctx, JSObject *obj, jsval id, jsval *vp) if (fc->type == FC_SELECT) int_to_jsval(ctx, vp, fs->state); 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 @@ -401,8 +401,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; @@ -958,8 +958,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 @@ -1045,8 +1045,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 af90ce631..f16df0257 100644 --- a/src/ecmascript/spidermonkey/location.c +++ b/src/ecmascript/spidermonkey/location.c @@ -177,8 +177,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 9b9c7c8f5..a009d623e 100644 --- a/src/ecmascript/spidermonkey/navigator.c +++ b/src/ecmascript/spidermonkey/navigator.c @@ -138,8 +138,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 63e45cb44..3c290a373 100644 --- a/src/ecmascript/spidermonkey/unibar.c +++ b/src/ecmascript/spidermonkey/unibar.c @@ -127,8 +127,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; @@ -181,8 +181,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 1ae68095c..1e5cba6a8 100644 --- a/src/ecmascript/spidermonkey/window.c +++ b/src/ecmascript/spidermonkey/window.c @@ -238,8 +238,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 @@ -287,8 +287,8 @@ window_set_property(JSContext *ctx, JSObject *obj, jsval id, jsval *vp) print_screen_status(vs->doc_view->session); 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/bookmarks.c b/src/scripting/smjs/bookmarks.c index 1d891f12e..f591bd8fe 100644 --- a/src/scripting/smjs/bookmarks.c +++ b/src/scripting/smjs/bookmarks.c @@ -116,8 +116,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 @@ -164,8 +164,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 4c46cfc05..393f664a9 100644 --- a/src/scripting/smjs/cache_object.c +++ b/src/scripting/smjs/cache_object.c @@ -91,8 +91,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 @@ -149,8 +149,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/globhist.c b/src/scripting/smjs/globhist.c index 211a7a1a7..094f2e9dc 100644 --- a/src/scripting/smjs/globhist.c +++ b/src/scripting/smjs/globhist.c @@ -105,8 +105,8 @@ smjs_globhist_item_get_property(JSContext *ctx, JSObject *obj, jsval id, 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 @@ -163,8 +163,8 @@ smjs_globhist_item_set_property(JSContext *ctx, JSObject *obj, jsval id, jsval * 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 05edf88f7..b5f1ca0cf 100644 --- a/src/scripting/smjs/view_state_object.c +++ b/src/scripting/smjs/view_state_object.c @@ -68,8 +68,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 @@ -103,8 +103,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;