Ignore:
Timestamp:
Jan 2, 2009, 12:59:17 PM (16 years ago)
Author:
[email protected]
Message:

Bug 23080: Remove last vestiges of KJS references

<https://bugs.webkit.org/show_bug.cgi?id=23080>

Reviewed by Darin Adler.

Also updated Apple copyright statements.

  • DerivedSources.make: Changed bison "kjsyy" prefix to "jscyy".
  • GNUmakefile.am: Ditto.
  • JavaScriptCore.pri: Ditto. Also changed KJSBISON to JSCBISON and kjsbison to jscbison.
  • JavaScriptCoreSources.bkl: Changed JSCORE_KJS_SOURCES to JSCORE_JSC_SOURCES.
  • jscore.bkl: Ditto.
  • create_hash_table: Updated copyright and removed old comment.
  • parser/Grammar.y: Changed "kjsyy" prefix to "jscyy" prefix.
  • parser/Lexer.cpp: Ditto. Also changed KJS_DEBUG_LEX to JSC_DEBUG_LEX. (jscyylex): (JSC::Lexer::lex):
  • parser/Parser.cpp: Ditto. (JSC::Parser::parse):
  • pcre/dftables: Changed "kjs_pcre_" prefix to "jsc_pcre_".
  • pcre/pcre_compile.cpp: Ditto. (getOthercaseRange): (encodeUTF8): (compileBranch): (calculateCompiledPatternLength):
  • pcre/pcre_exec.cpp: Ditto. (matchRef): (getUTF8CharAndIncrementLength): (match):
  • pcre/pcre_internal.h: Ditto. (toLowerCase): (flipCase): (classBitmapForChar): (charTypeForChar):
  • pcre/pcre_tables.cpp: Ditto.
  • pcre/pcre_ucp_searchfuncs.cpp: Ditto. (jsc_pcre_ucp_othercase):
  • pcre/pcre_xclass.cpp: Ditto. (getUTF8CharAndAdvancePointer): (jsc_pcre_xclass):
  • runtime/Collector.h: Updated header guards using the clean-header-guards script.
  • runtime/CollectorHeapIterator.h: Added missing header guard.
  • runtime/Identifier.h: Updated header guards.
  • runtime/JSFunction.h: Fixed end-of-namespace comment.
  • runtime/JSGlobalObject.cpp: (JSC::JSGlobalObject::reset): Renamed "kjsprint" debug function to "jscprint". Changed implementation method from globalFuncKJSPrint() to globalFuncJSCPrint().
  • runtime/JSGlobalObjectFunctions.cpp: (JSC::globalFuncJSCPrint): Renamed from globalFuncKJSPrint().
  • runtime/JSGlobalObjectFunctions.h: Ditto.
  • runtime/JSImmediate.h: Updated header guards.
  • runtime/JSLock.h: Ditto.
  • runtime/JSType.h: Ditto.
  • runtime/JSWrapperObject.h: Ditto.
  • runtime/Lookup.h: Ditto.
  • runtime/Operations.h: Ditto.
  • runtime/Protect.h: Ditto.
  • runtime/RegExp.h: Ditto.
  • runtime/UString.h: Ditto.
  • tests/mozilla/js1_5/Array/regress-157652.js: Changed "KJS" reference in comment to "JSC".
  • wrec/CharacterClassConstructor.cpp: Change "kjs_pcre_" function prefixes to "jsc_pcre_". (JSC::WREC::CharacterClassConstructor::put): (JSC::WREC::CharacterClassConstructor::flush):
  • wtf/unicode/Unicode.h: Change "KJS_" header guard to "WTF_".
  • wtf/unicode/icu/UnicodeIcu.h: Ditto.
  • wtf/unicode/qt4/UnicodeQt4.h: Ditto.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/pcre/pcre_compile.cpp

    r39164 r39554  
    77                 Originally written by Philip Hazel
    88           Copyright (c) 1997-2006 University of Cambridge
    9     Copyright (C) 2002, 2004, 2006, 2007 Apple Inc. All rights reserved.
     9    Copyright (C) 2002, 2004, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved.
    1010    Copyright (C) 2007 Eric Seidel <[email protected]>
    1111
     
    487487   
    488488    for (c = *cptr; c <= d; c++) {
    489         if ((othercase = kjs_pcre_ucp_othercase(c)) >= 0)
     489        if ((othercase = jsc_pcre_ucp_othercase(c)) >= 0)
    490490            break;
    491491    }
     
    498498   
    499499    for (++c; c <= d; c++) {
    500         if (kjs_pcre_ucp_othercase(c) != next)
     500        if (jsc_pcre_ucp_othercase(c) != next)
    501501            break;
    502502        next++;
     
    526526{
    527527    int i;
    528     for (i = 0; i < kjs_pcre_utf8_table1_size; i++)
    529         if (cvalue <= kjs_pcre_utf8_table1[i])
     528    for (i = 0; i < jsc_pcre_utf8_table1_size; i++)
     529        if (cvalue <= jsc_pcre_utf8_table1[i])
    530530            break;
    531531    buffer += i;
     
    534534        cvalue >>= 6;
    535535    }
    536     *buffer = kjs_pcre_utf8_table2[i] | cvalue;
     536    *buffer = jsc_pcre_utf8_table2[i] | cvalue;
    537537    return i + 1;
    538538}
     
    910910                        if (options & IgnoreCaseOption) {
    911911                            int othercase;
    912                             if ((othercase = kjs_pcre_ucp_othercase(c)) >= 0) {
     912                            if ((othercase = jsc_pcre_ucp_othercase(c)) >= 0) {
    913913                                *class_utf8data++ = XCL_SINGLE;
    914914                                class_utf8data += encodeUTF8(othercase, class_utf8data);
     
    20562056                    if (c > 127) {
    20572057                        int i;
    2058                         for (i = 0; i < kjs_pcre_utf8_table1_size; i++)
    2059                             if (c <= kjs_pcre_utf8_table1[i]) break;
     2058                        for (i = 0; i < jsc_pcre_utf8_table1_size; i++)
     2059                            if (c <= jsc_pcre_utf8_table1[i]) break;
    20602060                        length += i;
    20612061                        lastitemlength += i;
     
    25102510                if (c > 127) {
    25112511                    int i;
    2512                     for (i = 0; i < kjs_pcre_utf8_table1_size; i++)
    2513                         if (c <= kjs_pcre_utf8_table1[i])
     2512                    for (i = 0; i < jsc_pcre_utf8_table1_size; i++)
     2513                        if (c <= jsc_pcre_utf8_table1[i])
    25142514                            break;
    25152515                    length += i;
Note: See TracChangeset for help on using the changeset viewer.