1. 06 Mar, 2008 1 commit
  2. 23 Feb, 2008 1 commit
  3. 11 Nov, 2007 1 commit
  4. 20 Oct, 2007 1 commit
    • bdash's avatar
      2007-10-20 Mark Rowe <mrowe@apple.com> · beda83e5
      bdash authored
              Reviewed by Alp.
      
              Gtk changes needed to enable HTML 5 client-side database storage.
      
      JavaScriptCore:
      
              * wtf/Platform.h: Have Gtk use pthreads for now.
      
      WebCore:
      
              * WebCore.pro: Have Gtk use ThreadingPthreads.cpp.
              * platform/pthreads/ThreadingPthreads.cpp: Include errno so that EDEADLK and EBUSY are available.
      
      WebKit/gtk:
      
              * Api/webkitgtkglobal.cpp: Set a default database path based on the user data directory.
              This should become configurable by client applications in the future.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@26824 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      beda83e5
  5. 18 Oct, 2007 1 commit
    • darin's avatar
      Reviewed by Anders. · 061c6c03
      darin authored
              - some small tweaks to the threading implementation
      
              I had trouble building on Windows. Either the problem went away by itself
              or one of these changes fixed it.
      
              * platform/Threading.h: Eliminated the use of friend, and shared a single
              declaration for the initializeThreading function.
      
              * platform/pthreads/ThreadingPthreads.cpp: (WebCore::ThreadCondition::wait):
              Call impl() here.
      
              * platform/win/ThreadingWin.cpp: Got rid of two globals here with static
              constructors. Also added a typedef for the type of the function queue.
              (WebCore::functionQueueMutex): Added function.
              (WebCore::functionQueue): Ditto.
              (WebCore::callFunctionsOnMainThread): Use functions instead of using the
              globals directly.
              (WebCore::callOnMainThread): Ditto.
      
              * css/CSSParser.cpp: Had to touch this file to make things build.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@26756 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      061c6c03
  6. 17 Oct, 2007 1 commit
    • andersca's avatar
      JavaScriptCore: · 2468bda7
      andersca authored
              Reviewed by Oliver.
      
              * wtf/Platform.h:
              #define USE_PTHREADS on Mac.
      
      WebCore:
      
              Reviewed by Oliver.
      
              * WebCore.xcodeproj/project.pbxproj:
              * WebCore.vcproj/WebCore.vcproj:
              
              * config.h:
              #define USE_PTHREADS on Windows.
              
              * loader/icon/IconDatabase.cpp:
              (WebCore::IconDatabase::getOrCreateIconRecord):
              (WebCore::IconDatabase::getOrCreatePageURLRecord):
              Update for mutex changes.
              
              * platform/Threading.h:
              (WebCore::):
              (WebCore::ThreadSafeShared::ThreadSafeShared):
              (WebCore::ThreadSafeShared::ref):
              (WebCore::ThreadSafeShared::deref):
              (WebCore::ThreadSafeShared::hasOneRef):
              (WebCore::ThreadSafeShared::refCount):
              (WebCore::ThreadSafeShared::isThreadSafe):
              Add a new Shared base class that uses a mutex to manage its refcount.
              
              (WebCore::createThread):
              (WebCore::waitForThreadCompletion):
              (WebCore::detachThread):
              New functions for thread creation.
              
              (WebCore::Mutex::Mutex):
              (WebCore::Mutex::~Mutex):
              (WebCore::Mutex::lock):
              (WebCore::Mutex::tryLock):
              (WebCore::Mutex::unlock):
              Move the definitions to ThreadingPthreads.cpp
              
              (WebCore::ThreadCondition::ThreadCondition):
              (WebCore::ThreadCondition::~ThreadCondition):
              (WebCore::ThreadCondition::wait):
              (WebCore::ThreadCondition::signal):
              (WebCore::ThreadCondition::broadcast):
              Move the definitions to ThreadingPthreads.cpp
              
              * platform/pthreads: Added.
              * platform/pthreads/ThreadingPthreads.cpp: Added.
              Add pthread specific implementation of the thread creation functions, Mutex and ThreadCondition.
      
      win:
      
              Update for locking primitive changes.
      
              * WebIconDatabase.cpp:
              (WebIconDatabase::scheduleNotificationDelivery):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@26716 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2468bda7