1. 23 Sep, 2007 1 commit
    • zecke's avatar
      /: · 2752405f
      zecke authored
      2007-09-20  Holger Hans Peter Freyther  <zecke@selfish.org>
      
              Rubber stamped by Adam.
      
              Renamed files from *Gdk to *Gtk (see #14732) using the
              work of Juan A. Suarez Romero as a base.
      
              GDK -> GTK
      
              * WebKit.pri:
              * WebKit.pro:
      
      JavaScriptCore:
      2007-09-20  Holger Hans Peter Freyther  <zecke@selfish.org>
      
              Rubber stamped by Adam.
      
              Renamed files from *Gdk to *Gtk (see #14732) using the
              work of Juan A. Suarez Romero as a base.
      
              GDK -> GTK 
      
              * JavaScriptCore.pri:
              * kjs/testkjs.pro:
              * pcre/dftables.pro:
              * wtf/Platform.h: PLATFORM(GDK) to PLATFORM(GTK)
      
      WebCore:
      2007-09-20  Holger Hans Peter Freyther  <zecke@selfish.org>
      
              Rubber stamped by Adam.
      
              Renamed files from *Gdk to *Gtk (see #14732) using the
              work of Juan A. Suarez Romero as a base.
      
              GDK -> GTK
      
              * Projects/gdk/webcore-gdk.bkl:
              * WebCore.pro:
              * WebCoreSources.bkl:
              * loader/gdk: Removed.
              * loader/gdk/DocumentLoaderGdk.cpp: Removed.
              * loader/gtk: Added.
              * loader/gtk/DocumentLoaderGdk.cpp: Removed.
              * loader/gtk/DocumentLoaderGtk.cpp: Added.
              * page/FrameView.cpp:
              * page/FrameView.h:
              * page/gdk: Removed.
              * page/gdk/DragControllerGdk.cpp: Removed.
              * page/gdk/EventHandlerGdk.cpp: Removed.
              * page/gdk/FrameGdk.cpp: Removed.
              * page/gtk: Added.
              * page/gtk/DragControllerGdk.cpp: Removed.
              * page/gtk/DragControllerGtk.cpp: Added.
              * page/gtk/EventHandlerGdk.cpp: Removed.
              * page/gtk/EventHandlerGtk.cpp: Added.
              (WebCore::EventHandler::createDraggingClipboard):
              * page/gtk/FrameGdk.cpp: Removed.
              * page/gtk/FrameGtk.cpp: Added.
              * platform/ContextMenuItem.h:
              * platform/Cursor.h:
              * platform/DragData.h:
              * platform/DragImage.h:
              * platform/FontData.h:
              * platform/NotImplemented.h:
              * platform/PlatformKeyboardEvent.h:
              * platform/PlatformMenuDescription.h:
              * platform/PlatformMouseEvent.h:
              * platform/PlatformWheelEvent.h:
              * platform/ScrollView.h:
              * platform/Widget.h:
              * platform/gdk: Removed.
              * platform/gdk/ClipboardGdk.cpp: Removed.
              * platform/gdk/ClipboardGdk.h: Removed.
              * platform/gdk/ContextMenuGdk.cpp: Removed.
              * platform/gdk/ContextMenuItemGdk.cpp: Removed.
              * platform/gdk/CookieJarGdk.cpp: Removed.
              * platform/gdk/CursorGdk.cpp: Removed.
              * platform/gdk/DragDataGdk.cpp: Removed.
              * platform/gdk/DragImageGdk.cpp: Removed.
              * platform/gdk/FileChooserGdk.cpp: Removed.
              * platform/gdk/FileSystemGdk.cpp: Removed.
              * platform/gdk/FontCacheGdk.cpp: Removed.
              * platform/gdk/FontDataGdk.cpp: Removed.
              * platform/gdk/FontGdk.cpp: Removed.
              * platform/gdk/FontPlatformData.h: Removed.
              * platform/gdk/FontPlatformDataGdk.cpp: Removed.
              * platform/gdk/GlyphPageTreeNodeGdk.cpp: Removed.
              * platform/gdk/KeyEventGdk.cpp: Removed.
              * platform/gdk/KeyboardCodes.h: Removed.
              * platform/gdk/LocalizedStringsGdk.cpp: Removed.
              * platform/gdk/LoggingGdk.cpp: Removed.
              * platform/gdk/MIMETypeRegistryGdk.cpp: Removed.
              * platform/gdk/MouseEventGdk.cpp: Removed.
              * platform/gdk/PasteboardGdk.cpp: Removed.
              * platform/gdk/PlatformScreenGdk.cpp: Removed.
              * platform/gdk/PlatformScrollBar.h: Removed.
              * platform/gdk/PlatformScrollBarGdk.cpp: Removed.
              * platform/gdk/PopupMenuGdk.cpp: Removed.
              * platform/gdk/RenderThemeGdk.cpp: Removed.
              * platform/gdk/RenderThemeGdk.h: Removed.
              * platform/gdk/ScrollViewGdk.cpp: Removed.
              * platform/gdk/SearchPopupMenuGdk.cpp: Removed.
              * platform/gdk/SharedTimerLinux.cpp: Removed.
              * platform/gdk/SoundGdk.cpp: Removed.
              * platform/gdk/SystemTimeLinux.cpp: Removed.
              * platform/gdk/TemporaryLinkStubs.cpp: Removed.
              * platform/gdk/WheelEventGdk.cpp: Removed.
              * platform/gdk/WidgetGdk.cpp: Removed.
              * platform/graphics/GraphicsContext.h:
              * platform/graphics/cairo/GraphicsContextCairo.cpp:
              (WebCore::GraphicsContextPlatformPrivate::GraphicsContextPlatformPrivate):
              (WebCore::GraphicsContext::setPlatformFont):
              * platform/graphics/gdk: Removed.
              * platform/graphics/gdk/IconGdk.cpp: Removed.
              * platform/graphics/gdk/ImageGdk.cpp: Removed.
              * platform/graphics/gtk: Added.
              * platform/graphics/gtk/IconGdk.cpp: Removed.
              * platform/graphics/gtk/IconGtk.cpp: Added.
              * platform/graphics/gtk/ImageGdk.cpp: Removed.
              * platform/graphics/gtk/ImageGtk.cpp: Added.
              * platform/gtk: Added.
              * platform/gtk/ClipboardGdk.cpp: Removed.
              * platform/gtk/ClipboardGdk.h: Removed.
              * platform/gtk/ClipboardGtk.cpp: Added.
              (WebCore::ClipboardGtk::ClipboardGtk):
              (WebCore::ClipboardGtk::~ClipboardGtk):
              (WebCore::ClipboardGtk::clearData):
              (WebCore::ClipboardGtk::clearAllData):
              (WebCore::ClipboardGtk::getData):
              (WebCore::ClipboardGtk::setData):
              (WebCore::ClipboardGtk::types):
              (WebCore::ClipboardGtk::dragLocation):
              (WebCore::ClipboardGtk::dragImage):
              (WebCore::ClipboardGtk::setDragImage):
              (WebCore::ClipboardGtk::dragImageElement):
              (WebCore::ClipboardGtk::setDragImageElement):
              (WebCore::ClipboardGtk::createDragImage):
              (WebCore::ClipboardGtk::declareAndWriteDragImage):
              (WebCore::ClipboardGtk::writeURL):
              (WebCore::ClipboardGtk::writeRange):
              (WebCore::ClipboardGtk::hasData):
              * platform/gtk/ClipboardGtk.h: Added.
              * platform/gtk/ContextMenuGdk.cpp: Removed.
              * platform/gtk/ContextMenuGtk.cpp: Added.
              * platform/gtk/ContextMenuItemGdk.cpp: Removed.
              * platform/gtk/ContextMenuItemGtk.cpp: Added.
              * platform/gtk/CookieJarGdk.cpp: Removed.
              * platform/gtk/CookieJarGtk.cpp: Added.
              * platform/gtk/CursorGdk.cpp: Removed.
              * platform/gtk/CursorGtk.cpp: Added.
              * platform/gtk/DragDataGdk.cpp: Removed.
              * platform/gtk/DragDataGtk.cpp: Added.
              * platform/gtk/DragImageGdk.cpp: Removed.
              * platform/gtk/DragImageGtk.cpp: Added.
              * platform/gtk/FileChooserGdk.cpp: Removed.
              * platform/gtk/FileChooserGtk.cpp: Added.
              * platform/gtk/FileSystemGdk.cpp: Removed.
              * platform/gtk/FileSystemGtk.cpp: Added.
              * platform/gtk/FontCacheGdk.cpp: Removed.
              * platform/gtk/FontCacheGtk.cpp: Added.
              * platform/gtk/FontDataGdk.cpp: Removed.
              * platform/gtk/FontDataGtk.cpp: Added.
              * platform/gtk/FontGdk.cpp: Removed.
              * platform/gtk/FontGtk.cpp: Added.
              * platform/gtk/FontPlatformDataGdk.cpp: Removed.
              * platform/gtk/FontPlatformDataGtk.cpp: Added.
              * platform/gtk/GlyphPageTreeNodeGdk.cpp: Removed.
              * platform/gtk/GlyphPageTreeNodeGtk.cpp: Added.
              * platform/gtk/KeyEventGdk.cpp: Removed.
              * platform/gtk/KeyEventGtk.cpp: Added.
              * platform/gtk/LocalizedStringsGdk.cpp: Removed.
              * platform/gtk/LocalizedStringsGtk.cpp: Added.
              * platform/gtk/LoggingGdk.cpp: Removed.
              * platform/gtk/LoggingGtk.cpp: Added.
              * platform/gtk/MIMETypeRegistryGdk.cpp: Removed.
              * platform/gtk/MIMETypeRegistryGtk.cpp: Added.
              * platform/gtk/MouseEventGdk.cpp: Removed.
              * platform/gtk/MouseEventGtk.cpp: Added.
              * platform/gtk/PasteboardGdk.cpp: Removed.
              * platform/gtk/PasteboardGtk.cpp: Added.
              * platform/gtk/PlatformScreenGdk.cpp: Removed.
              * platform/gtk/PlatformScreenGtk.cpp: Added.
              * platform/gtk/PlatformScrollBarGdk.cpp: Removed.
              * platform/gtk/PlatformScrollBarGtk.cpp: Added.
              * platform/gtk/PopupMenuGdk.cpp: Removed.
              * platform/gtk/PopupMenuGtk.cpp: Added.
              * platform/gtk/RenderThemeGdk.cpp: Removed.
              * platform/gtk/RenderThemeGdk.h: Removed.
              * platform/gtk/RenderThemeGtk.cpp: Added.
              (WebCore::theme):
              (WebCore::RenderThemeGtk::RenderThemeGtk):
              (WebCore::RenderThemeGtk::close):
              (WebCore::RenderThemeGtk::addIntrinsicMargins):
              (WebCore::RenderThemeGtk::supportsFocus):
              (WebCore::RenderThemeGtk::determineState):
              (WebCore::RenderThemeGtk::determineShadow):
              (WebCore::RenderThemeGtk::getThemeData):
              (WebCore::RenderThemeGtk::setCheckboxSize):
              (WebCore::RenderThemeGtk::paintCheckbox):
              (WebCore::RenderThemeGtk::setRadioSize):
              (WebCore::RenderThemeGtk::paintRadio):
              (WebCore::RenderThemeGtk::paintButton):
              (WebCore::RenderThemeGtk::adjustTextFieldStyle):
              (WebCore::RenderThemeGtk::paintTextField):
              (WebCore::RenderThemeGtk::paintTextArea):
              (WebCore::RenderThemeGtk::adjustButtonStyle):
              (WebCore::RenderThemeGtk::systemFont):
              (WebCore::RenderThemeGtk::gtkButton):
              (WebCore::RenderThemeGtk::gtkCheckbox):
              (WebCore::RenderThemeGtk::gtkRadioButton):
              (WebCore::RenderThemeGtk::gtkWindowContainer):
              * platform/gtk/RenderThemeGtk.h: Added.
              * platform/gtk/ScrollViewGdk.cpp: Removed.
              * platform/gtk/ScrollViewGtk.cpp: Added.
              * platform/gtk/SearchPopupMenuGdk.cpp: Removed.
              * platform/gtk/SearchPopupMenuGtk.cpp: Added.
              * platform/gtk/SoundGdk.cpp: Removed.
              * platform/gtk/SoundGtk.cpp: Added.
              * platform/gtk/WheelEventGdk.cpp: Removed.
              * platform/gtk/WheelEventGtk.cpp: Added.
              * platform/gtk/WidgetGdk.cpp: Removed.
              * platform/gtk/WidgetGtk.cpp: Added.
              * platform/network/ResourceHandle.h:
      
      WebKitTools:
      2007-09-20  Holger Hans Peter Freyther  <zecke@selfish.org>
      
              Rubber stamped by Adam.
      
              * GdkLauncher: Removed.
              * GdkLauncher/Bakefiles.bkgen: Removed.
              * GdkLauncher/ENV: Removed.
              * GdkLauncher/GdkLauncher.pro: Removed.
              * GdkLauncher/gdklauncher.bkl: Removed.
              * GdkLauncher/main.cpp: Removed.
              * GdkLauncher/mk: Removed.
              * GdkLauncher/simple.svg: Removed.
              * GdkLauncher/text.html: Removed.
              * GtkLauncher: Added.
              * GtkLauncher/GdkLauncher.pro: Removed.
              * GtkLauncher/GtkLauncher.pro: Added.
              * GtkLauncher/main.cpp:
              (updateWindowTitle):
              (main):
              * Scripts/build-webkit:
              * Scripts/regenerate-makefiles:
              * Scripts/run-javascriptcore-tests:
              * Scripts/run-launcher:
              * Scripts/run-webkit-tests:
              * Scripts/webkitdirs.pm:
      
      
      
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@25703 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2752405f
  2. 21 Sep, 2007 1 commit
  3. 19 Sep, 2007 3 commits
  4. 18 Sep, 2007 1 commit
  5. 15 Sep, 2007 1 commit
  6. 14 Sep, 2007 1 commit
  7. 13 Sep, 2007 5 commits
    • bdash's avatar
      Versioning. · 28404dd8
      bdash authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@25555 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      28404dd8
    • ggaren's avatar
      Try to fix GDK build. · 883f31cb
      ggaren authored
              * wtf/MathExtras.h:
              (wtf_random_init):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@25542 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      883f31cb
    • ggaren's avatar
      2007-09-12 Geoff Garen <ggaren@apple.com> · d1db0917
      ggaren authored
              Reviewed by Sam Weinig.
      
              Fixed <rdar://problem/5429064> 141885 Safari JavaScript: Math.random() slightly less randomly distributed than on Safari / Mac
      
              Math.random was skewed slightly upward because it assumed that RAND_MAX was outside the range of
              values that rand() might return. This problem was particularly pronounced on Windows because
              the range of values returned by rand() on Windows is 2^16 smaller than the range of values
              return by rand() on Mac.
      
              Fixed by accounting for RAND_MAX return values. Also, switched Windows over to rand_s, which has
              a range that's equal to rand()'s range on Mac.
      
              * kjs/config.h:
      
              * kjs/math_object.cpp:
              (MathFuncImp::callAsFunction): Use the new new thing.
      
              * wtf/MathExtras.h: Platform abstraction for random numbers, to cover over differences on Windows.
              (wtf_random_init):
              (wtf_random):
      
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@25541 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d1db0917
    • antti's avatar
      JavaScriptCore: · 62ca7640
      antti authored
              Reviewed by Maciej.
              
              Small addition to previous path to cover
              http://bugs.webkit.org/show_bug.cgi?id=11399
              window.eval runs in the global scope of the calling window
              
              Switch variable scope as well.
      
              * kjs/function.cpp:
              (KJS::GlobalFuncImp::callAsFunction):
      
      LayoutTests:
      
              Reviewed by Maciej.
              
              Change test case to cover
              http://bugs.webkit.org/show_bug.cgi?id=11399
              too.
      
              * fast/js/window-eval-context-expected.txt:
              * fast/js/window-eval-context.html:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@25535 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      62ca7640
    • antti's avatar
      JavaScriptCore: · 6f363809
      antti authored
              Reviewed by Geoff, Maciej.
              
              Fix <rdar://problem/5445058>
              REGRESSION: Unable to upload picture to eBay auction due to domain security check
              
              eBay uses window.eval() between windows. In Firefox window.eval() switches execution
              and security context to the target window, something WebKit did not do. With WebKit
              security tightening in r24781, this broke picture uploads.
              
              Fix by making WebKit switch context in window.eval().
              
              * kjs/Context.cpp:
              (KJS::Context::Context):
              (KJS::Context::~Context):
              * kjs/context.h:
              Save and restore interpreter context independently from calling context.
              
              * kjs/function.cpp:
              (KJS::GlobalFuncImp::callAsFunction):
              If eval is called for global object different than current one, switch execution context
              to that object and push it to scope.
      
      LayoutTests:
      
              Reviewed by Geoff, Maciej.
              
              Test for <rdar://problem/5445058>
              REGRESSION: Unable to upload picture to eBay auction due to domain security check
      
              * fast/js/window-eval-context-expected.txt: Added.
              * fast/js/window-eval-context.html: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@25534 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6f363809
  8. 12 Sep, 2007 1 commit
  9. 10 Sep, 2007 1 commit
    • thatcher's avatar
      Reviewed by Darin Adler. · 032e405e
      thatcher authored
              <rdar://problem/5456224> CrashTracer: [USER] 2 crashes in Toast Titanium at com.apple.CoreServices.CarbonCore: CSMemDisposePtr + 37
      
              Removed the implementation of these malloc zone functions. We do not have the ability to 
              check if a pointer is valid or not, so we can't correctly implement them. The system free 
              does not fail if you pass in a bad pointer.
      
              * wtf/FastMalloc.cpp:
              (WTF::FastMallocZone::size):
              (WTF::FastMallocZone::zoneMalloc):
              (WTF::FastMallocZone::zoneCalloc):
              (WTF::FastMallocZone::zoneFree):
              (WTF::FastMallocZone::zoneRealloc):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@25483 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      032e405e
  10. 08 Sep, 2007 1 commit
  11. 07 Sep, 2007 2 commits
    • darin's avatar
      Reviewed by Steve Falkenburg. · 24c0c0fc
      darin authored
              - fix crash seen on Windows release builds
      
              * wtf/FastMalloc.cpp: Change pthread_getspecific optimization to be done only
              on the DARWIN platform. Also correct a couple reinterpret_cast that should be
              static_cast instead.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@25422 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      24c0c0fc
    • kmccullo's avatar
      JavaScriptCore: · f8adb24a
      kmccullo authored
              Reviewed by Maciej.
      
              - Moved JSRetainPtr to the API.
      
              * API/JSRetainPtr.h: Copied from kjs/JSRetainPtr.h.
              (JSRetain):
              (JSRelease):
              (JSRetainPtr::JSRetainPtr):
              (JSRetainPtr::~JSRetainPtr):
              (JSRetainPtr::get):
              (JSRetainPtr::releaseRef):
              (JSRetainPtr::operator->):
              (JSRetainPtr::operator!):
              (JSRetainPtr::operator UnspecifiedBoolType):
              (::operator):
              (::adopt):
              (::swap):
              (swap):
              (operator==):
              (operator!=):
              * JavaScriptCore.xcodeproj/project.pbxproj:
              * kjs/JSRetainPtr.h: Removed.
      
      WebKitTools:
      
              Reviewed by Maciej.
      
              - Changed Drosera to take advantage of the JSRetainPtr changes.
      
              * Drosera/DebuggerDocument.cpp:
              (DebuggerDocument::breakpointEditorHTML):
              (DebuggerDocument::evaluateScript):
              (DebuggerDocument::valueForScopeVariableNamed):
              (DebuggerDocument::log):
              (DebuggerDocument::windowScriptObjectAvailable):
              (DebuggerDocument::toJSArray):
              (DebuggerDocument::callFunctionOnObject):
              (DebuggerDocument::logException):
              * Drosera/mac/DebuggerDocumentMac.mm:
              (-[DebuggerClientMac webView:didLoadMainResourceForDataSource:]):
              (-[DebuggerClientMac webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
              (DebuggerDocument::platformEvaluateScript):
              (DebuggerDocument::getPlatformCurrentFunctionStack):
              (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
              (DebuggerDocument::platformValueForScopeVariableNamed):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@25413 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f8adb24a
  12. 06 Sep, 2007 2 commits
    • mjs's avatar
      Reviewed by Darin. · d4095444
      mjs authored
              
              - Remove single-threaded optimization for FastMalloc. 
              
              It does not appear to help anywhere but Mac OS X on PPC, due to
              pthread_getspecific being slow there. On Intel, removing the
              optimization results in a ~1.5% PLT speedup, a ~1-5% JS iBench
              speedup, and a ~1.5% HTML iBench speedup. On PPC this change is a
              speedup on some benchmarks, a slight hit on others.
      
              * JavaScriptCore.xcodeproj/project.pbxproj:
              * kjs/collector.cpp:
              (KJS::Collector::registerThread):
              * wtf/FastMalloc.cpp:
              (WTF::TCMalloc_ThreadCache::GetCache):
              (WTF::TCMalloc_ThreadCache::GetCacheIfPresent):
              (WTF::TCMalloc_ThreadCache::CreateCacheIfNecessary):
              (WTF::do_malloc):
              * wtf/FastMallocInternal.h: Removed.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@25409 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d4095444
    • kmccullo's avatar
      JavaScriptCore: · 068a3344
      kmccullo authored
              Reviewed by Adam, Sam, Darin.
      
              - Created a JSRetainPtr specifically for JSStringRefs so they can be automatically refed and derefed.
      
              * JavaScriptCore.xcodeproj/project.pbxproj:
              * kjs/JSRetainPtr.h: Copied from wtf/RetainPtr.h.
              (KJS::JSRetain):
              (KJS::JSRelease):
              (KJS::):
              (KJS::JSRetainPtr::JSRetainPtr):
              (KJS::JSRetainPtr::~JSRetainPtr):
              (KJS::JSRetainPtr::get):
              (KJS::JSRetainPtr::releaseRef):
              (KJS::JSRetainPtr::operator->):
              (KJS::JSRetainPtr::operator UnspecifiedBoolType):
              (KJS::::operator):
              (KJS::::adopt):
              (KJS::::swap):
              (KJS::swap):
              (KJS::operator==):
              (KJS::operator!=):
      
      WebKitTools:
      
              Reviewed by Adam, Sam, Darin.
      
              - Separated what is platform dependant from what is not.  Creating the structure needed for Drosera for Win.
      
              * Drosera/Debugger.h: Added.
              * Drosera/DebuggerDocument.cpp:
              (DebuggerDocument::breakpointEditorHTMLCallback):
              (DebuggerDocument::isPausedCallback):
              (DebuggerDocument::pauseCallback):
              (DebuggerDocument::resumeCallback):
              (DebuggerDocument::stepIntoCallback):
              (DebuggerDocument::evaluateScriptCallback):
              (DebuggerDocument::currentFunctionStackCallback):
              (DebuggerDocument::localScopeVariableNamesForCallFrameCallback):
              (DebuggerDocument::valueForScopeVariableNamedCallback):
              (DebuggerDocument::logCallback):
              (DebuggerDocument::breakpointEditorHTML):
              (DebuggerDocument::isPaused):
              (DebuggerDocument::pause):
              (DebuggerDocument::resume):
              (DebuggerDocument::stepInto):
              (DebuggerDocument::evaluateScript):
              (DebuggerDocument::currentFunctionStack):
              (DebuggerDocument::localScopeVariableNamesForCallFrame):
              (DebuggerDocument::valueForScopeVariableNamed):
              (DebuggerDocument::log):
              (DebuggerDocument::toolbarPause):
              (DebuggerDocument::toolbarResume):
              (DebuggerDocument::toolbarStepInto):
              (DebuggerDocument::toolbarStepOver):
              (DebuggerDocument::toolbarStepOut):
              (DebuggerDocument::toolbarShowConsole):
              (DebuggerDocument::toolbarCloseCurrentFile):
              (DebuggerDocument::updateFileSource):
              (DebuggerDocument::didParseScript):
              (DebuggerDocument::willExecuteStatement):
              (DebuggerDocument::didEnterCallFrame):
              (DebuggerDocument::willLeaveCallFrame):
              (DebuggerDocument::exceptionWasRaised):
              (DebuggerDocument::windowScriptObjectAvailable):
              (DebuggerDocument::toJSArray):
              (DebuggerDocument::callGlobalFunction):
              (DebuggerDocument::callFunctionOnObject):
              (DebuggerDocument::getDroseraJSClass):
              (DebuggerDocument::staticFunctions):
              (DebuggerDocument::logException):
              * Drosera/DebuggerDocument.h:
              (DebuggerDocument::DebuggerDocument):
              * Drosera/ForwardingHeaders: Added.
              * Drosera/ForwardingHeaders/wtf: Added.
              * Drosera/ForwardingHeaders/wtf/Platform.h: Added.
              * Drosera/config.h:
              * Drosera/console.html:
              * Drosera/console.js:
              * Drosera/debugger.js:
              * Drosera/mac/DebuggerApplication.mm:
              (-[DebuggerApplication attach:]):
              * Drosera/mac/DebuggerDocumentMac.h:
              * Drosera/mac/DebuggerDocumentMac.mm:
              (+[NSString stringOrNilFromWebScriptResult:]):
              (+[DebuggerClientMac log:]):
              (-[DebuggerClientMac initWithServerName:]):
              (-[DebuggerClientMac dealloc]):
              (-[DebuggerClientMac pause]):
              (-[DebuggerClientMac resume]):
              (-[DebuggerClientMac pause:]):
              (-[DebuggerClientMac resume:]):
              (-[DebuggerClientMac stepInto:]):
              (-[DebuggerClientMac stepOver:]):
              (-[DebuggerClientMac stepOut:]):
              (-[DebuggerClientMac showConsole:]):
              (-[DebuggerClientMac closeCurrentFile:]):
              (-[DebuggerClientMac validateUserInterfaceItem:]):
              (-[DebuggerClientMac webView:windowScriptObjectAvailable:]):
              (-[DebuggerClientMac webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
              (-[DebuggerClientMac webView:willExecuteStatement:sourceId:line:forWebFrame:]):
              (-[DebuggerClientMac webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
              (-[DebuggerClientMac webView:exceptionWasRaised:sourceId:line:forWebFrame:]):
              (DebuggerDocument::platformPause):
              (DebuggerDocument::platformResume):
              (DebuggerDocument::platformStepInto):
              (DebuggerDocument::platformEvaluateScript):
              (DebuggerDocument::platformCurrentFunctionStack):
              (DebuggerDocument::platformLocalScopeVariableNamesForCallFrame):
              (DebuggerDocument::platformValueForScopeVariableNamed):
              (DebuggerDocument::platformLog):
              * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@25394 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      068a3344
  13. 05 Sep, 2007 1 commit
  14. 04 Sep, 2007 2 commits
    • mjs's avatar
      Back out accidentally committed change. · f4018951
      mjs authored
              * JavaScriptCore.xcodeproj/project.pbxproj:
              * kjs/collector.cpp:
              (KJS::Collector::registerThread):
              * wtf/FastMalloc.cpp:
              (WTF::fastMallocSetIsMultiThreaded):
              (WTF::TCMalloc_ThreadCache::GetCache):
              (WTF::TCMalloc_ThreadCache::GetCacheIfPresent):
              (WTF::TCMalloc_ThreadCache::CreateCacheIfNecessary):
              (WTF::do_malloc):
              * wtf/FastMallocInternal.h: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@25366 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f4018951
    • mjs's avatar
      Reviewed by Darin. · 1ecd4611
      mjs authored
              
              - Added Vector::appendRange(), which appends to a vector based on a given start and end iterator
              - Added keys() and values() functions to HashMap iterators, which give keys-only and values-only iterators
              
              Together, these allow easy copying of a set, or the keys or values of a map, into a Vector. Examples:
              
              HashMap<int, int> map;
              HashSet<int> set;
              Vector<int> vec;
              // ...
              vec.appendRange(set.begin(), set.end());
              vec.appendRange(map.begin().keys(), map.end().keys());
              vec.appendRange(map.begin().values(), map.end().values());
      
              This also allows for a slightly nicer syntax when iterating a map. Instead of saying 
              (*it)->first, you can say *it.values(). Similarly for keys. Example:
              
              HashMap<int, int>::const_iterator end = map.end();
              for (HashMap<int, int>::const_iterator it = map.begin(); it != end; ++it)
              printf(" [%d => %d]", *it.keys(), *it.values());
      
              * JavaScriptCore.xcodeproj/project.pbxproj:
              * wtf/HashIterators.h: Added.
              (WTF::):
              (WTF::HashTableConstKeysIterator::HashTableConstKeysIterator):
              (WTF::HashTableConstKeysIterator::get):
              (WTF::HashTableConstKeysIterator::operator*):
              (WTF::HashTableConstKeysIterator::operator->):
              (WTF::HashTableConstKeysIterator::operator++):
              (WTF::HashTableConstValuesIterator::HashTableConstValuesIterator):
              (WTF::HashTableConstValuesIterator::get):
              (WTF::HashTableConstValuesIterator::operator*):
              (WTF::HashTableConstValuesIterator::operator->):
              (WTF::HashTableConstValuesIterator::operator++):
              (WTF::HashTableKeysIterator::HashTableKeysIterator):
              (WTF::HashTableKeysIterator::get):
              (WTF::HashTableKeysIterator::operator*):
              (WTF::HashTableKeysIterator::operator->):
              (WTF::HashTableKeysIterator::operator++):
              (WTF::HashTableKeysIterator::operator HashTableConstKeysIterator<HashTableType, KeyType, MappedType>):
              (WTF::HashTableValuesIterator::HashTableValuesIterator):
              (WTF::HashTableValuesIterator::get):
              (WTF::HashTableValuesIterator::operator*):
              (WTF::HashTableValuesIterator::operator->):
              (WTF::HashTableValuesIterator::operator++):
              (WTF::HashTableValuesIterator::operator HashTableConstValuesIterator<HashTableType, KeyType, MappedType>):
              (WTF::operator==):
              (WTF::operator!=):
              * wtf/HashTable.h:
              * wtf/Vector.h:
              (WTF::::appendRange):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@25365 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1ecd4611
  15. 03 Sep, 2007 1 commit
    • bdash's avatar
      2007-09-03 Mark Rowe <mrowe@apple.com> · 062debd2
      bdash authored
              Reviewed by Tim Hatcher.
      
              <rdar://problem/5452164> Production build with in symbols directory has no debug info
      
              Enable debug symbol generation on all build configurations.  Production builds are stripped
              of symbols by Xcode during deployment post-processing.
      
              * Configurations/Base.xcconfig:
              * JavaScriptCore.xcodeproj/project.pbxproj:
      
      2007-09-03  Mark Rowe  <mrowe@apple.com>
      
              Reviewed by Tim Hatcher.
      
              <rdar://problem/5452164> Production build with in symbols directory has no debug info
      
              Enable debug symbol generation on all build configurations.  Production builds are stripped
              of symbols by Xcode during deployment post-processing.
      
              * Configurations/Base.xcconfig:
              * JavaScriptGlue.xcodeproj/project.pbxproj:
      
      2007-09-03  Mark Rowe  <mrowe@apple.com>
      
              Reviewed by Tim Hatcher.
      
              <rdar://problem/5452164> Production build with in symbols directory has no debug info
      
              Enable debug symbol generation on all build configurations.  Production builds are stripped
              of symbols by Xcode during deployment post-processing.
      
              * Configurations/Base.xcconfig:
              * WebCore.xcodeproj/project.pbxproj:
      
      2007-09-03  Mark Rowe  <mrowe@apple.com>
      
              Reviewed by Tim Hatcher.
      
              <rdar://problem/5452164> Production build with in symbols directory has no debug info
      
              Enable debug symbol generation on all build configurations.  Production builds are stripped
              of symbols by Xcode during deployment post-processing.
      
              * Configurations/Base.xcconfig:
              * WebKit.xcodeproj/project.pbxproj:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@25349 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      062debd2
  16. 30 Aug, 2007 2 commits
    • bdash's avatar
      Versioning. · c7fe35d2
      bdash authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@25325 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c7fe35d2
    • bdash's avatar
      2007-08-30 Riku Voipio <riku.voipio@iki.fi> · cacecb36
      bdash authored
              Reviewed by Dave Kilzer.
      
              Better ARM defines.
      
              * kjs/ustring.h: Update comments to reflect the change and update test
              to fit changes to Platform.h.
              * wtf/Platform.h: Forced packing is only needed on oldabi ARM.
              Set middle-endian floats only for little-endian oldabi ARM.
              Set big-endian define for big-endian ARM.
      
      2007-08-30  Riku Voipio  <riku.voipio@iki.fi>
      
              Reviewed by Dave Kilzer.
      
              Better ARM defines.
      
              * platform/DeprecatedString.h: Update comments to reflect the
              change and update test to fit changes to Platform.h.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@25321 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cacecb36
  17. 29 Aug, 2007 1 commit
  18. 27 Aug, 2007 3 commits
    • darin's avatar
      - quick follow on to that last check-in · ab00fd0f
      darin authored
              * API/JSCallbackObject.cpp: (KJS::JSCallbackObject::JSCallbackObject):
              Need to initialize m_class to 0.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@25258 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ab00fd0f
    • bdash's avatar
      2007-08-26 Mark Rowe <mrowe@apple.com> · bea0d9af
      bdash authored
              Reviewed by Darin Adler.
      
              <rdar://problem/4949002> JSGlobalContextCreate can cause crashes because it passes a NULL JSContextRef to the globalObjectClass's initialize callback
      
              JSCallbackObject now tracks whether it was constructed with a null ExecState.  This will happen when the object is being used as the global object,
              as the Interpreter needs to be created after the global object.  In this situation the initialization is deferred until after the Interpreter's
              ExecState is available to be passed down to the initialize callbacks.
      
              * API/JSCallbackObject.cpp:
              (KJS::JSCallbackObject::init): Track whether we successfully initialized.
              (KJS::JSCallbackObject::initializeIfNeeded): Attempt to initialize with the new ExecState.
              * API/JSCallbackObject.h:
              * API/JSContextRef.cpp:
              (JSGlobalContextCreate): Initialize the JSCallbackObject with the Interpreter's ExecState.
              * API/testapi.c:
              (testInitializeOfGlobalObjectClassHasNonNullContext):
              (main): Verify that the context passed to the initialize callback is non-null.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@25257 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bea0d9af
    • bdash's avatar
      2007-08-26 Mark Rowe <mrowe@apple.com> · 19c9a3e4
      bdash authored
              Reviewed by Darin Adler.
      
              <rdar://problem/5438496> JSGlobalContextCreate crashes when passed a custom class
      
              * API/JSContextRef.cpp:
              (JSGlobalContextCreate): Specify jsNull() as the prototype and let Interpreter's constructor fix it up to point at builtinObjectPrototype().
              * API/testapi.c:
              (main): Use an instance of a custom class as the global object to ensure the code path is exercised in the test.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@25256 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      19c9a3e4
  19. 26 Aug, 2007 1 commit
  20. 25 Aug, 2007 3 commits
  21. 20 Aug, 2007 1 commit
    • kmccullo's avatar
      JavaScriptCore: · 50d76b6d
      kmccullo authored
              Reviewed by Geoff and Adam.
      
              - Changing stack depth to 500 (from 100 on mac and win) to help out some apps specifically gmail.  <rdar://problem/3590522> JavaScript call stack limit of 99 is too small for some applications; needs to be closer to 500 (4045)
      
              * kjs/object.cpp:
      
      LayoutTests:
      
              Reviewed by Geoff and Adam.
      
              - Changing stack depth toi 500 (from 100 in mac and win) to help out some apps specifically gmail.  <rdar://problem/3590522> JavaScript call stack limit of 99 is too small for some applications; needs to be closer to 500 (4045).
      
              * fast/js/deep-recursion-test-expected.txt: Added.
              * fast/js/deep-recursion-test.html: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@25161 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      50d76b6d
  22. 16 Aug, 2007 1 commit
  23. 15 Aug, 2007 2 commits
  24. 14 Aug, 2007 2 commits
    • andrew's avatar
      JavaScriptCore: · 2e9a8332
      andrew authored
              Reviewed by Darin.
              
              http://bugs.webkit.org/show_bug.cgi?id=14967 part 1 - Eliminate most implicit
              conversions of wtf::Vector<T> to T* by explicitly calling .data()
      
              * API/JSCallbackConstructor.cpp:
              (KJS::JSCallbackConstructor::construct):
              * API/JSCallbackFunction.cpp:
              (KJS::JSCallbackFunction::callAsFunction):
              * API/JSCallbackObject.cpp:
              (KJS::JSCallbackObject::construct):
              (KJS::JSCallbackObject::callAsFunction):
              * bindings/c/c_instance.cpp:
              (KJS::Bindings::CInstance::invokeMethod):
              (KJS::Bindings::CInstance::invokeDefaultMethod):
              * kjs/number_object.cpp:
              (integer_part_noexp):
              (char_sequence):
              * kjs/ustring.cpp:
              (KJS::UString::UTF8String):
      
      WebCore:
      
              Reviewed by Darin.
              
              http://bugs.webkit.org/show_bug.cgi?id=14967 part 1 - Eliminate most implicit
              conversions of wtf::Vector<T> to T* by explicitly calling .data()
      
              * html/HTMLSelectElement.cpp:
              (WebCore::HTMLSelectElement::saveState):
              * platform/KURL.cpp:
              (WebCore::KURL::KURL):
              (WebCore::KURL::init):
              (WebCore::KURL::decode_string):
              (WebCore::KURL::parse):
              (WebCore::KURL::encode_string):
              * platform/cf/KURLCFNet.cpp:
              (WebCore::KURL::KURL):
              * platform/mac/KURLMac.mm:
              (WebCore::KURL::KURL):
              * rendering/RenderFrameSet.cpp:
              (WebCore::RenderFrameSet::layOutAxis):
      
      win:
      
              Reviewed by Darin.
              
              http://bugs.webkit.org/show_bug.cgi?id=14967 part 1 - Eliminate most implicit
              conversions of wtf::Vector<T> to T* by explicitly calling .data()
      
              * WebView.cpp:
              (getCompositionString):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@25085 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2e9a8332
    • darin's avatar
      Reviewed by Sam. · 6238e2a5
      darin authored
              - fix <rdar://problem/5410570> Global initializer introduced by use of std::numeric_limits in r24919
      
              * kjs/ustring.cpp:
              (KJS::overflowIndicator): Turned into a function.
              (KJS::maxUChars): Ditto.
              (KJS::allocChars): Use the functions.
              (KJS::reallocChars): Ditto.
              (KJS::UString::expandedSize): Ditto.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@25078 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6238e2a5