Ignore:
Timestamp:
Jun 29, 2008, 12:53:42 PM (17 years ago)
Author:
[email protected]
Message:

2008-06-29 Sam Weinig <[email protected]>

Rubber-stamped by Oliver Hunt.

Splits DateConstructor and DatePrototype out of date_object.h/cpp
Moves shared Date code into DateMath.

  • DerivedSources.make:
  • GNUmakefile.am:
  • JavaScriptCore.pri:
  • JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
  • JavaScriptCore.xcodeproj/project.pbxproj:
  • JavaScriptCoreSources.bkl:
  • kjs/AllInOneFile.cpp:
  • kjs/DateConstructor.cpp: Copied from kjs/date_object.cpp.
  • kjs/DateConstructor.h: Copied from kjs/date_object.h.
  • kjs/DateMath.cpp: (KJS::ymdhmsToSeconds): (KJS::): (KJS::skipSpacesAndComments): (KJS::findMonth): (KJS::parseDate): (KJS::timeClip): (KJS::formatDate): (KJS::formatDateUTCVariant): (KJS::formatTime):
  • kjs/DateMath.h: (KJS::gmtoffset):
  • kjs/DatePrototype.cpp: Copied from kjs/date_object.cpp.
  • kjs/DatePrototype.h: Copied from kjs/date_object.h.
  • kjs/JSGlobalObject.cpp:
  • kjs/JSObject.cpp:
  • kjs/date_object.cpp:
  • kjs/date_object.h:
  • kjs/internal.cpp:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/JavaScriptCore.xcodeproj/project.pbxproj

    r34865 r34872  
    242242                BC18C5240E16FC8A00B34460 /* ArrayPrototype.lut.h in Headers */ = {isa = PBXBuildFile; fileRef = BC18C5230E16FC8A00B34460 /* ArrayPrototype.lut.h */; };
    243243                BC18C5260E16FCA700B34460 /* StringPrototype.lut.h in Headers */ = {isa = PBXBuildFile; fileRef = BC18C5250E16FCA700B34460 /* StringPrototype.lut.h */; };
    244                 BC18C5280E16FCB500B34460 /* date_object.lut.h in Headers */ = {isa = PBXBuildFile; fileRef = BC18C5270E16FCB500B34460 /* date_object.lut.h */; };
    245244                BC18C52A0E16FCC200B34460 /* MathObject.lut.h in Headers */ = {isa = PBXBuildFile; fileRef = BC18C5290E16FCC200B34460 /* MathObject.lut.h */; };
    246245                BC18C52C0E16FCD200B34460 /* RegExpObject.lut.h in Headers */ = {isa = PBXBuildFile; fileRef = BC18C52B0E16FCD200B34460 /* RegExpObject.lut.h */; };
     
    250249                BCD202C40E1706A7002C7E82 /* RegExpPrototype.h in Headers */ = {isa = PBXBuildFile; fileRef = BCD202C00E1706A7002C7E82 /* RegExpPrototype.h */; };
    251250                BCD202D60E170708002C7E82 /* RegExpConstructor.lut.h in Headers */ = {isa = PBXBuildFile; fileRef = BCD202D50E170708002C7E82 /* RegExpConstructor.lut.h */; };
     251                BCD2034A0E17135E002C7E82 /* DateConstructor.h in Headers */ = {isa = PBXBuildFile; fileRef = BCD203460E17135E002C7E82 /* DateConstructor.h */; };
     252                BCD2034C0E17135E002C7E82 /* DatePrototype.h in Headers */ = {isa = PBXBuildFile; fileRef = BCD203480E17135E002C7E82 /* DatePrototype.h */; };
     253                BCD203E80E1718F4002C7E82 /* DatePrototype.lut.h in Headers */ = {isa = PBXBuildFile; fileRef = BCD203E70E1718F4002C7E82 /* DatePrototype.lut.h */; };
    252254                E178636D0D9BEEC300D74E75 /* InitializeThreading.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E178636C0D9BEEC300D74E75 /* InitializeThreading.cpp */; };
    253255                E18E3A590DF9278C00D90B34 /* JSGlobalData.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E18E3A570DF9278C00D90B34 /* JSGlobalData.cpp */; };
     
    594596                BC18C5230E16FC8A00B34460 /* ArrayPrototype.lut.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ArrayPrototype.lut.h; sourceTree = "<group>"; };
    595597                BC18C5250E16FCA700B34460 /* StringPrototype.lut.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = StringPrototype.lut.h; sourceTree = "<group>"; };
    596                 BC18C5270E16FCB500B34460 /* date_object.lut.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = date_object.lut.h; sourceTree = "<group>"; };
    597598                BC18C5290E16FCC200B34460 /* MathObject.lut.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MathObject.lut.h; sourceTree = "<group>"; };
    598599                BC18C52B0E16FCD200B34460 /* RegExpObject.lut.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RegExpObject.lut.h; sourceTree = "<group>"; };
     
    625626                BCD202C00E1706A7002C7E82 /* RegExpPrototype.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RegExpPrototype.h; sourceTree = "<group>"; };
    626627                BCD202D50E170708002C7E82 /* RegExpConstructor.lut.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RegExpConstructor.lut.h; sourceTree = "<group>"; };
     628                BCD203450E17135E002C7E82 /* DateConstructor.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = DateConstructor.cpp; sourceTree = "<group>"; };
     629                BCD203460E17135E002C7E82 /* DateConstructor.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DateConstructor.h; sourceTree = "<group>"; };
     630                BCD203470E17135E002C7E82 /* DatePrototype.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = DatePrototype.cpp; sourceTree = "<group>"; };
     631                BCD203480E17135E002C7E82 /* DatePrototype.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DatePrototype.h; sourceTree = "<group>"; };
     632                BCD203E70E1718F4002C7E82 /* DatePrototype.lut.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DatePrototype.lut.h; sourceTree = "<group>"; };
    627633                BCF6553B0A2048DE0038A194 /* MathExtras.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = MathExtras.h; sourceTree = "<group>"; };
    628634                D21202280AD4310C00ED79B6 /* DateMath.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = DateMath.cpp; sourceTree = "<group>"; };
     
    935941                                BC18C5230E16FC8A00B34460 /* ArrayPrototype.lut.h */,
    936942                                65B174BE09D1000200820339 /* chartables.c */,
    937                                 BC18C5270E16FCB500B34460 /* date_object.lut.h */,
     943                                BCD203E70E1718F4002C7E82 /* DatePrototype.lut.h */,
    938944                                65FB3F4809D11B2400F49DEB /* grammar.cpp */,
    939945                                BC18C52F0E16FCEB00B34460 /* grammar.h */,
     
    955961                        children = (
    956962                                06D358A00DAAD9C4003B174E /* mac */,
     963                                E195678D09E7CF1200B89D13 /* unicode */,
    957964                                93AA4F770957251F0084B3A7 /* AlwaysInline.h */,
    958965                                938C4F690CA06BC700D9310A /* ASCIICType.h */,
     
    10001007                                E1EE793C0D6C9B9200FEA3BA /* ThreadingPthreads.cpp */,
    10011008                                E1B7C8BD0DA3A3360074B0DC /* ThreadSpecific.h */,
    1002                                 E195678D09E7CF1200B89D13 /* unicode */,
    10031009                                935AF46B09E9D9DB00ACD1D8 /* UnusedParam.h */,
    10041010                                6592C316098B7DE10003D4F6 /* Vector.h */,
     
    10371043                                F692A8550255597D01FF60F7 /* date_object.cpp */,
    10381044                                F692A8560255597D01FF60F7 /* date_object.h */,
     1045                                BCD203450E17135E002C7E82 /* DateConstructor.cpp */,
     1046                                BCD203460E17135E002C7E82 /* DateConstructor.h */,
     1047                                BCD203470E17135E002C7E82 /* DatePrototype.cpp */,
     1048                                BCD203480E17135E002C7E82 /* DatePrototype.h */,
    10391049                                D21202280AD4310C00ED79B6 /* DateMath.cpp */,
    10401050                                D21202290AD4310C00ED79B6 /* DateMath.h */,
     
    13681378                                BC18C5240E16FC8A00B34460 /* ArrayPrototype.lut.h in Headers */,
    13691379                                BC18C5260E16FCA700B34460 /* StringPrototype.lut.h in Headers */,
    1370                                 BC18C5280E16FCB500B34460 /* date_object.lut.h in Headers */,
    13711380                                BC18C52A0E16FCC200B34460 /* MathObject.lut.h in Headers */,
    13721381                                BC18C52C0E16FCD200B34460 /* RegExpObject.lut.h in Headers */,
     
    13761385                                BCD202C40E1706A7002C7E82 /* RegExpPrototype.h in Headers */,
    13771386                                BCD202D60E170708002C7E82 /* RegExpConstructor.lut.h in Headers */,
     1387                                BCD2034A0E17135E002C7E82 /* DateConstructor.h in Headers */,
     1388                                BCD2034C0E17135E002C7E82 /* DatePrototype.h in Headers */,
     1389                                BCD203E80E1718F4002C7E82 /* DatePrototype.lut.h in Headers */,
    13781390                        );
    13791391                        runOnlyForDeploymentPostprocessing = 0;
Note: See TracChangeset for help on using the changeset viewer.