1. 15 Sep, 2006 4 commits
    • bdash's avatar
      2006-09-15 Krzysztof Kowalczyk <kkowalczyk@gmail.com> · e2ec6f25
      bdash authored
              Reviewed by Adam.
      
              http://bugzilla.opendarwin.org/show_bug.cgi?id=10864
              Bug 10864: Linux\GDK build fixes
      
              * JavaScriptCoreSources.bkl:
              * jscore.bkl:
      
      2006-09-15  Krzysztof Kowalczyk  <kkowalczyk@gmail.com>
      
              Reviewed by Adam.
      
              http://bugzilla.opendarwin.org/show_bug.cgi?id=10864
              Bug 10864: Linux\GDK build fixes
      
              * Projects/gdk/webcore-gdk.bkl:
              * WebCoreSources.bkl:
              * platform/gdk/FontCacheGdk.cpp:
              * platform/gdk/FontDataGdk.cpp:
              (WebCore::FontData::platformInit):
              * platform/gdk/FontGdk.cpp:
              (WebCore::Font::drawGlyphs):
              * platform/gdk/FrameGdk.cpp:
              (WebCore::FrameGdk::handleGdkEvent):
              * platform/gdk/FrameGdk.h:
              * platform/gdk/ImageGdk.cpp: Added.
              (WebCore::Image::initPlatformData):
              (WebCore::Image::invalidatePlatformData):
              (WebCore::Image::loadPlatformResource):
              (WebCore::Image::supportsType):
              * platform/gdk/RenderPopupMenuGdk.cpp:
              (WebCore::RenderPopupMenuGdk::hidePopup):
              * platform/gdk/RenderPopupMenuGdk.h:
              * platform/gdk/ScreenGdk.cpp:
              (WebCore::drawableForPage):
              (WebCore::screenRect):
              (WebCore::screenDepth):
              (WebCore::usableScreenRect):
              (WebCore::scaleFactor):
              * platform/gdk/SystemTimeLinux.cpp:
              (WebCore::currentTime):
              * platform/gdk/TemporaryLinkStubs.cpp:
              (FrameGdk::bindingRootObject):
              (FrameGdk::markMisspellings):
              (WebCore::screenDepthPerComponent):
              (WebCore::screenIsMonochrome):
              (WebCore::fileButtonChooseFileLabel):
              (WebCore::fileButtonNoFileSelectedLabel):
              (FrameGdk::shouldChangeSelection):
              (FrameGdk::respondToChangedSelection):
              (FrameGdk::respondToChangedContents):
              (Path::contains):
              (PlatformScrollBar::PlatformScrollBar):
              (PlatformScrollBar::~PlatformScrollBar):
              (PlatformScrollBar::width):
              (PlatformScrollBar::height):
              (PlatformScrollBar::setEnabled):
              (PlatformScrollBar::paint):
              (PlatformScrollBar::setScrollBarValue):
              (PlatformScrollBar::setKnobProportion):
              (PlatformScrollBar::setRect):
              (ScrollBar::ScrollBar):
              (FileChooser::FileChooser):
              (FileChooser::~FileChooser):
              (FileChooser::openFileChooser):
              (FileChooser::basenameForWidth):
              (FileChooser::uploadControlDetaching):
              (FileChooser::chooseFile):
              (Icon::Icon):
              (Icon::~Icon):
              (Icon::newIconForFile):
              (Icon::paint):
              (IconLoader::stopLoading):
              (IconLoader::startLoading):
              (IconLoader::createForFrame):
              (IconDatabase::isIconExpiredForIconURL):
              (IconDatabase::hasEntryForIconURL):
              (IconDatabase::sharedIconDatabase):
              * platform/gdk/WidgetGdk.cpp:
              * webcore-base.bkl:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16382 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e2ec6f25
    • aroben's avatar
      Windows build fix. · ecc3fa61
      aroben authored
              * JavaScriptCore.vcproj/JavaScriptCore/build-generated-files.sh:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16380 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ecc3fa61
    • andersca's avatar
      2006-09-15 Anders Carlsson <acarlsson@apple.com> · 0281d295
      andersca authored
              * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
              Fix the release build.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16376 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0281d295
    • andersca's avatar
      2006-09-15 Anders Carlsson <acarlsson@apple.com> · 53794dc8
      andersca authored
              Reviewed by Steve.
      
              Add JavaScriptCore API to the build.
              * API/JSBase.cpp:
              * API/JSCallbackConstructor.cpp:
              * API/JSCallbackFunction.cpp:
              * API/JSCallbackObject.cpp:
              * API/JSClassRef.cpp:
              * API/JSContextRef.cpp:
              * API/JSObjectRef.cpp:
              * API/JSStringRef.cpp:
              * API/JSValueRef.cpp:
              * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
              * os-win32/stdbool.h: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16371 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      53794dc8
  2. 13 Sep, 2006 1 commit
    • sfalken's avatar
      2006-09-12 Steve Falkenburg <sfalken@apple.com> · 44b3f483
      sfalken authored
              Reviewed by Ada.
              
              Build tweaks (doing JavaScriptCore now since it doesn't have
              dependencies).
      
              * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
              * JavaScriptCore.vcproj/JavaScriptCore/build-generated-files.sh:
              * JavaScriptCore.vcproj/JavaScriptCore/dstroot-to-sdk.cmd: Added.
              * JavaScriptCore.vcproj/dftables/dftables.vcproj:
              * JavaScriptCore.vcproj/testkjs/testkjs.vcproj:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16354 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      44b3f483
  3. 12 Sep, 2006 2 commits
  4. 11 Sep, 2006 3 commits
  5. 10 Sep, 2006 1 commit
  6. 05 Sep, 2006 1 commit
  7. 03 Sep, 2006 1 commit
    • ap's avatar
      Reviewed by Tim H. · 897b7094
      ap authored
              http://bugzilla.opendarwin.org/show_bug.cgi?id=10693
              Convert JavaScript arrays to AppleScript lists
      
      JavaScriptCore:
              * JavaScriptCore.exp: Export ArrayInstance::info and ArrayInstance::getItem().
              * kjs/array_instance.h:
              * kjs/array_object.cpp:
              (ArrayInstance::getItem): Added a method to access array items from C++.
      
      WebCore:
              * bridge/mac/WebCoreFrameBridge.mm:
              (aeDescFromJSValue): Added a case for ArrayInstance.
      
      LayoutTests:
              * fast/AppleScript/array-expected.txt:
              * fast/AppleScript/array.html: Updated results, added a test for
              circular dependencies.
      
      WebKitTools:
              * DumpRenderTree/AppleScriptController.m:
              (convertAEDescToObject):
              (-[AppleScriptController doJavaScript:]): Support printing AEDescLists.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16200 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      897b7094
  8. 02 Sep, 2006 1 commit
  9. 01 Sep, 2006 2 commits
  10. 31 Aug, 2006 6 commits
  11. 30 Aug, 2006 3 commits
    • darin's avatar
      Reviewed by Tim Hatcher. · 4786e77e
      darin authored
              - add WTF::getPtr, a function template that makes it possible to write
                generic code that gets a raw pointer out of any of our pointer types
      
              * JavaScriptCore.xcodeproj/project.pbxproj:
              * wtf/GetPtr.h: Added.
              * wtf/ListRefPtr.h: (WTF::getPtr): Added.
              * wtf/OwnArrayPtr.h: (WTF::getPtr): Added.
              * wtf/OwnPtr.h: (WTF::getPtr): Added.
              * wtf/PassRefPtr.h: (WTF::getPtr): Added.
              * wtf/RefPtr.h: (WTF::getPtr): Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16133 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4786e77e
    • ggaren's avatar
      JavaScriptCore: · a9dad09b
      ggaren authored
              Reviewed, tweaked by ggaren.
      
              - Added storage and accessor functions for ExecState as a fix for
                http://bugzilla.opendarwin.org/show_bug.cgi?id=10114
              
              * kjs/ExecState.cpp:
              (KJS::ExecState::ExecState):
              * kjs/ExecState.h:
              * kjs/context.h:
              (KJS::Context::setExecState):
              (KJS::Context::execState):
      
      LayoutTests:
      
              Reviewed by ggaren.
      
              - Updated test to check for exceptions thrown in a plug-in.  This is
                a test for http://bugzilla.opendarwin.org/show_bug.cgi?id=10114.
              * plugins/bindings-test-expected.txt:
              * plugins/bindings-test.html:
      
      WebCore:
      
              Reviewed, tweaked by ggaren.
              
              - Changed to use ExecState on current context rather than global.
                Part of the fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=10114
              * bindings/objc/WebScriptObject.mm:
              (+[WebScriptObject throwException:]):
              (-[WebScriptObject setException:]):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16117 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a9dad09b
    • thatcher's avatar
      JavaScriptCore: · 74d70e43
      thatcher authored
              Reviewed by Tim H.
      
              Commit KDE related tweaks, to be able to
              differentiate between a Qt-only or a KDE build.
      
              * CMakeLists.txt: Install wtf-unity library.
              * wtf/Platform.h: Add define for the KDE platform.
      
      WebCore:
      
              Reviewed by Tim H.
      
              Commit KDE related tweaks, to be able to
              differentiate between a Qt-only or a KDE build.
      
              * CMakeLists.txt: Move global variables up to trunk/CMakeLists.txt.
                                Also rename USE_WEBKIT_SVG_SUPPORT to WEBKIT_USE_SVG_SUPPORT.
      
      WebKitTools:
      
              Reviewed by Tim H.
      
              Commit KDE related tweaks, to be able to
              differentiate between a Qt-only or a KDE build.
      
              * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt: Add ksvg2/ includes.
              * QtLauncher/CMakeLists.txt: Add ksvg2/ includes.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16115 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      74d70e43
  12. 28 Aug, 2006 2 commits
    • ggaren's avatar
      Reviewed by Maciej. · 4c7c632c
      ggaren authored
              
              Added support for experimental CFNetwork-based loader (not turned on yet).
              
              While I was there, I did the following platform cleanup:
              - Windows now uses USE(WININET) instead of PLATFORM(WIN_OS), to match the
                USE(CFNETWORK) idiom.
              - Removed some #includes of windows.h in platform-independent headers.
              - Changed #ifdef __APPLE__ to PLATFORM(MAC)
              - Fixed some build bustage, including case-sensitive filesystem bustage.
      
              * loader/loader.cpp:
              (WebCore::Loader::receivedAllData):
              * platform/Cursor.h:
              * platform/KURL.h:
              * platform/ResourceLoader.h:
              * platform/ResourceLoaderClient.h:
              * platform/ResourceLoaderInternal.h:
              (WebCore::ResourceLoaderInternal::ResourceLoaderInternal):
              * platform/cfnet/KURLCFNet.cpp: Added.
              (WebCore::KURL::createCFURL):
              * platform/cfnet/ResourceLoaderCFNet.cpp: Added.
              (WebCore::willSendRequest):
              (WebCore::didReceiveChallenge):
              (WebCore::didCancelChallenge):
              (WebCore::didReceiveResponse):
              (WebCore::didReceiveData):
              (WebCore::didFinishLoading):
              (WebCore::didFail):
              (WebCore::willCacheResponse):
              (WebCore::addHeadersFromString):
              (WebCore::ResourceLoaderInternal::~ResourceLoaderInternal):
              (WebCore::ResourceLoader::~ResourceLoader):
              (WebCore::arrayFromFormData):
              (WebCore::emptyPerform):
              (WebCore::runLoaderThread):
              (WebCore::ResourceLoader::start):
              (WebCore::ResourceLoader::cancel):
              * platform/win/CursorWin.cpp:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16089 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4c7c632c
    • darin's avatar
      Reviewed by Geoff. · 199a05ce
      darin authored
              * kjs/list.h: Use explicit in constructor (as appropriate).
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16076 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      199a05ce
  13. 24 Aug, 2006 1 commit
  14. 23 Aug, 2006 2 commits
  15. 22 Aug, 2006 2 commits
    • andersca's avatar
      2006-08-22 Anders Carlsson <acarlsson@apple.com> · 78ea61b6
      andersca authored
              Reviewed by Darin.
      
              Move the npruntime code over to using HashMap and the runtime_root code over to using 
              HashMap and HashCountedSet.
              
              * bindings/NP_jsobject.cpp:
              * bindings/c/c_utility.cpp:
              (KJS::Bindings::identifierFromNPIdentifier):
              * bindings/c/c_utility.h:
              * bindings/jni/jni_jsobject.cpp:
              (JavaJSObject::invoke):
              * bindings/npruntime.cpp:
              (getStringIdentifierMap):
              (getIntIdentifierMap):
              (_NPN_GetStringIdentifier):
              (_NPN_GetIntIdentifier):
              * bindings/runtime_root.cpp:
              (getReferencesByRootMap):
              (getReferencesSet):
              (KJS::Bindings::findReferenceSet):
              (KJS::Bindings::rootForImp):
              (KJS::Bindings::rootForInterpreter):
              (KJS::Bindings::addNativeReference):
              (KJS::Bindings::removeNativeReference):
              (RootObject::removeAllNativeReferences):
              * bindings/runtime_root.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15972 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      78ea61b6
    • andersca's avatar
      2006-08-22 Anders Carlsson <acarlsson@apple.com> · 1303935d
      andersca authored
              Reviewed by Geoff.
              
              Switch over the NPAPI and Java bindings to using HashMaps instead of dictionaries.
              
              * JavaScriptCore.xcodeproj/project.pbxproj:
              * bindings/c/c_class.cpp:
              (KJS::Bindings::CClass::CClass):
              (KJS::Bindings::CClass::~CClass):
              (KJS::Bindings::CClass::classForIsA):
              (KJS::Bindings::CClass::methodsNamed):
              (KJS::Bindings::CClass::fieldNamed):
              * bindings/c/c_class.h:
              * bindings/jni/jni_class.cpp:
              (JavaClass::JavaClass):
              (JavaClass::~JavaClass):
              (JavaClass::methodsNamed):
              (JavaClass::fieldNamed):
              * bindings/jni/jni_class.h:
              * bindings/objc/objc_class.h:
              * bindings/objc/objc_class.mm:
              (KJS::Bindings::deleteMethod):
              (KJS::Bindings::deleteField):
              (KJS::Bindings::):
              (KJS::Bindings::ObjcClass::methodsNamed):
              (KJS::Bindings::ObjcClass::fieldNamed):
              * bindings/runtime.cpp:
              * bindings/runtime.h:
              * bindings/runtime_object.cpp:
              (RuntimeObjectImp::fieldGetter):
              (RuntimeObjectImp::getOwnPropertySlot):
              (RuntimeObjectImp::put):
              (RuntimeObjectImp::canPut):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15969 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1303935d
  16. 21 Aug, 2006 1 commit
  17. 20 Aug, 2006 1 commit
  18. 18 Aug, 2006 5 commits
  19. 17 Aug, 2006 1 commit