1. 11 Nov, 2007 1 commit
    • darin@apple.com's avatar
      JavaScriptCore: · ee752e7d
      darin@apple.com authored
              Reviewed by Sam.
      
              - http://bugs.webkit.org/show_bug.cgi?id=15924
                next round of changes to JSRegExp (formerly PCRE)
      
              This is a combination of converting to C++, tweaking the API, and adding
              some additional optimizations.
      
              Future steps will involve getting rid of the use of UTF-8 completely
              (we'll use UTF-16 exclusively instead), eliminating more source files,
              and some more speed-ups.
      
              SunSpider says the current round is an 0.9% speed-up overall, and a
              5.3% speed-up for regexp.
      
              * JavaScriptCore.exp: Updated for new entry points.
      
              * JavaScriptCore.pri:
              * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
              * JavaScriptCore.vcproj/dftables/dftables.vcproj:
              * JavaScriptCore.xcodeproj/project.pbxproj:
              * JavaScriptCoreSources.bkl:
              * jscore.bkl:
              Updated for new source file names and ForwardingHeaders.
      
              * kjs/regexp.cpp:
              (KJS::RegExp::RegExp): Changed to use the error message without calling
              strdup on it and to pass the new types and options.
              (KJS::RegExp::~RegExp): Removed the now-unneeded free of the error message.
              (KJS::RegExp::match): Pass the new types and options.
              * kjs/regexp.h: Update type of m_constructionError.
      
              * pcre/AUTHORS: Update to reflect the status of the project -- we don't include
              the Google parts, and this isn't the PCRE library, per se.
              * pcre/COPYING: Ditto.
      
              * pcre/dftables.cpp: Copied from JavaScriptCore/pcre/dftables.c.
              (main): Removed unneeded ctype_digit.
      
              * pcre/pcre.h: Convert to C++, tweak API a bit. Use UChar instead of JSRegExpChar.
      
              * pcre/pcre_compile.cpp: Copied from JavaScriptCore/pcre/pcre_compile.c.
              Moved a lot of private stuff used only within this file here from pcre_internal.h.
              Renumbered the error codes.
              (error_text): Use a single string with embedded nulls for the error text (I got
              this idea from newer versions of PCRE).
              (check_escape): Changed return type to be enum instead of int. Replaced ctype_digit
              uses with isASCIIDigit.
              (is_counted_repeat): Ditto.
              (read_repeat_counts): Ditto.
              (first_significant_code): Ditto.
              (find_fixedlength): Ditto.
              (could_be_empty_branch): Ditto.
              (compile_branch): Ditto. Also removed some code that handles changing options.
              JavaScript doesn't have any of the features that allow options to change.
              (compile_regex): Updated for change to options parameter.
              (is_anchored): Ditto.
              (find_firstassertedchar): Ditto.
              (jsRegExpCompile): Changed to take separate flags instead of an options int.
              Also changed to call new/delete instead of pcre_malloc/free.
              (jsRegExpFree): Ditto.
      
              * pcre/pcre_exec.cpp: Copied from JavaScriptCore/pcre/pcre_exec.c.
              Added a case that uses computed goto for the opcode loop, but did not turn it on.
              Changed the RMATCH macro to handle returns more efficiently by putting the where
              pointer in the new frame instead of the old one, allowing us to branch to the
              return with a single statement. Switched to new/delete from pcre_malloc/free.
              Changed many RRETURN callers to not set the return value since it's already
              set correctly. Replaced the rrc variable with an is_match variable. Values other
              than "match" and "no match" are now handled differently. This allows us to remove
              the code to check for those cases in various rules.
              (match): All the case statements use a macro BEGIN_OPCODE instead. And all the
              continue statements, or break statements that break out of the outer case use
              a macro NEXT_OPCODE instead. Replaced a few if statements with assertions.
              (jsRegExpExecute): Use new/delete instead of pcre_malloc/free. Removed unused
              start_match field from the match block.
      
              * pcre/pcre_internal.h: Moved the last few configuration macros from pcre-config.h
              in here. Removed various unused types. Converted from JSRegExpChar to UChar.
              Eliminated pcre_malloc/free. Replaced the opcode enum with a macro that can be
              used in multiple places. Unfortunately we lose the comments for each opcode; we
              should find a place to put those back. Removed ctype_digit.
      
              * pcre/pcre_maketables.cpp: Copied from JavaScriptCore/pcre/pcre_maketables.c.
              (pcre_maketables): Got rid of the conditional code that allows this to be compiled
              in -- it's only used for dftables now (and soon may be obsolete entirely).
              Changed code for cbit_digit to not use isdigit, and took the "_" case out of the
              loop. Removed ctype_digit.
      
              * pcre/pcre_ord2utf8.cpp: Copied from JavaScriptCore/pcre/pcre_ord2utf8.c.
      
              * pcre/pcre_tables.cpp: Copied from JavaScriptCore/pcre/pcre_tables.c.
              Moved _pcre_OP_lengths out of here into pcre_exec.cpp.
      
              * pcre/pcre_ucp_searchfuncs.cpp: Copied from JavaScriptCore/pcre/pcre_ucp_searchfuncs.c.
              Updated for other file name changes.
      
              * pcre/pcre_xclass.cpp: Copied from JavaScriptCore/pcre/pcre_xclass.c.
      
              * pcre/ucpinternal.h: Updated header.
      
              * pcre/ucptable.cpp: Copied from JavaScriptCore/pcre/ucptable.c.
      
              * wtf/ASCIICType.h: (WTF::isASCIIDigit): Removed a branch by changing from && to
              & for this operation. Also added an overload that takes an int because that's
              useful for PCRE. Later we could optimize for int and overload other functions in
              this file; stuck to this simple one for now.
      
              * wtf/unicode/icu/UnicodeIcu.h: Removed unused isUpper.
              * wtf/unicode/qt4/UnicodeQt4.h: Ditto.
      
              * pcre/LICENCE: Removed.
              * pcre/pcre-config.h: Removed.
              * wtf/FastMallocPCRE.cpp: Removed.
      
              * pcre/dftables.c: Renamed to cpp.
              * pcre/pcre_compile.c: Ditto.
              * pcre/pcre_exec.c: Ditto.
              * pcre/pcre_maketables.c: Ditto.
              * pcre/pcre_ord2utf8.c: Ditto.
              * pcre/pcre_tables.c: Ditto.
              * pcre/pcre_ucp_searchfuncs.c: Ditto.
              * pcre/pcre_xclass.c: Ditto.
              * pcre/ucptable.c: Ditto.
      
      WebCore:
      
              Reviewed by Sam.
      
              - updated for JSRegExp function changes
      
              * platform/RegularExpression.cpp:
              (WebCore::RegularExpression::Private::compile):
              (WebCore::RegularExpression::match):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@27686 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ee752e7d
  2. 08 Nov, 2007 1 commit
  3. 29 Sep, 2007 1 commit
    • zecke's avatar
      Bakefiles: · f5c101bc
      zecke authored
      2007-09-29  Holger Hans Peter Freyther  <zecke@selfish.org>
      
              Reviewed by Mark.
      
              -Fix http://bugs.webkit.org/show_bug.cgi?id=13226.
              Remove Bakefiles from svn.
      
              * Bakefiles/Bakefiles.bkgen: Removed.
              * Bakefiles/ChangeLog: Removed.
              * Bakefiles/Readme.txt: Removed.
              * Bakefiles/presets.bkl: Removed.
              * Bakefiles/update-file-lists.py: Removed.
      
      JavaScriptCore:
      2007-09-29  Holger Hans Peter Freyther  <zecke@selfish.org>
      
              Reviewed by Mark.
      
              -Fix http://bugs.webkit.org/show_bug.cgi?id=13226.
              Remove Bakefiles from svn.
      
              * JavaScriptCoreSources.bkl: Removed.
              * jscore.bkl: Removed.
      
      WebCore:
      2007-09-29  Holger Hans Peter Freyther  <zecke@selfish.org>
      
              Reviewed by Mark.
      
              -Fix http://bugs.webkit.org/show_bug.cgi?id=13226.
              Remove Bakefiles from svn.
      
              * Projects/gdk/webcore-gdk.bkl: Removed.
              * Projects/wx/webcore-wx.bkl: Removed.
              * WebCoreSources.bkl: Removed.
              * webcore-base.bkl: Removed.
      
      WebKitTools
      2007-09-29  Holger Hans Peter Freyther  <zecke@selfish.org>
      
              Reviewed by Mark.
      
              -Fix http://bugs.webkit.org/show_bug.cgi?id=13226.
              Remove Bakefiles from svn.
      
              * GtkLauncher/Bakefiles.bkgen: Removed.
              * GtkLauncher/ENV: Removed.
              * GtkLauncher/gdklauncher.bkl: Removed.
              * GtkLauncher/mk: Removed.
              * Scripts/regenerate-makefiles: Removed.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@25808 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f5c101bc
  4. 18 Mar, 2007 1 commit
    • mjs's avatar
      JavaScriptCore: · 23fc88db
      mjs authored
              Reviewed by Mark.
              
              - avoid static construction (and global variable access) in a smarter, more portable way,
              to later enable MUTLI_THREAD mode to work on other platforms and compilers.
              
              * kjs/CommonIdentifiers.cpp: Added. New class to hold all the shared identifiers.
              (KJS::CommonIdentifiers::CommonIdentifiers):
              (KJS::CommonIdentifiers::shared):
              * kjs/CommonIdentifiers.h: Added.
      
              * kjs/ExecState.h:
              (KJS::ExecState::propertyNames): Hand the CommonIdentifiers instance here for easy access.
              (KJS::ExecState::ExecState):
      
              * API/JSObjectRef.cpp:
              (JSObjectMakeConstructor):
              * CMakeLists.txt:
              * JavaScriptCore.exp:
              * JavaScriptCore.pri:
              * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
              * JavaScriptCore.xcodeproj/project.pbxproj:
              * JavaScriptCoreSources.bkl:
              * bindings/runtime_array.cpp:
              (RuntimeArray::getOwnPropertySlot):
              (RuntimeArray::put):
              * bindings/runtime_method.cpp:
              (RuntimeMethod::getOwnPropertySlot):
              * kjs/array_object.cpp:
              (ArrayInstance::getOwnPropertySlot):
              (ArrayInstance::put):
              (ArrayInstance::deleteProperty):
              (ArrayProtoFunc::ArrayProtoFunc):
              (ArrayProtoFunc::callAsFunction):
              (ArrayObjectImp::ArrayObjectImp):
              * kjs/bool_object.cpp:
              (BooleanPrototype::BooleanPrototype):
              (BooleanProtoFunc::BooleanProtoFunc):
              (BooleanProtoFunc::callAsFunction):
              (BooleanObjectImp::BooleanObjectImp):
              * kjs/completion.h:
              (KJS::Completion::Completion):
              * kjs/date_object.cpp:
              (KJS::DateProtoFunc::DateProtoFunc):
              (KJS::DateObjectImp::DateObjectImp):
              (KJS::DateObjectFuncImp::DateObjectFuncImp):
              * kjs/error_object.cpp:
              (ErrorPrototype::ErrorPrototype):
              (ErrorProtoFunc::ErrorProtoFunc):
              (ErrorProtoFunc::callAsFunction):
              (ErrorObjectImp::ErrorObjectImp):
              (ErrorObjectImp::construct):
              (NativeErrorPrototype::NativeErrorPrototype):
              (NativeErrorImp::NativeErrorImp):
              (NativeErrorImp::construct):
              (NativeErrorImp::callAsFunction):
              * kjs/function.cpp:
              (KJS::FunctionImp::getOwnPropertySlot):
              (KJS::FunctionImp::put):
              (KJS::FunctionImp::deleteProperty):
              (KJS::FunctionImp::getParameterName):
              (KJS::DeclaredFunctionImp::construct):
              (KJS::IndexToNameMap::unMap):
              (KJS::Arguments::Arguments):
              (KJS::ActivationImp::getOwnPropertySlot):
              (KJS::ActivationImp::deleteProperty):
              (KJS::GlobalFuncImp::GlobalFuncImp):
              * kjs/function_object.cpp:
              (FunctionPrototype::FunctionPrototype):
              (FunctionProtoFunc::FunctionProtoFunc):
              (FunctionProtoFunc::callAsFunction):
              (FunctionObjectImp::FunctionObjectImp):
              (FunctionObjectImp::construct):
              * kjs/grammar.y:
              * kjs/identifier.cpp:
              * kjs/identifier.h:
              * kjs/interpreter.cpp:
              (KJS::Interpreter::init):
              (KJS::Interpreter::initGlobalObject):
              * kjs/interpreter.h:
              * kjs/lookup.h:
              * kjs/math_object.cpp:
              (MathFuncImp::MathFuncImp):
              * kjs/nodes.cpp:
              (ArrayNode::evaluate):
              (FuncDeclNode::processFuncDecl):
              (FuncExprNode::evaluate):
              * kjs/number_object.cpp:
              (NumberPrototype::NumberPrototype):
              (NumberProtoFunc::NumberProtoFunc):
              (NumberObjectImp::NumberObjectImp):
              * kjs/object.cpp:
              (KJS::JSObject::put):
              (KJS::JSObject::defaultValue):
              (KJS::JSObject::hasInstance):
              * kjs/object.h:
              (KJS::JSObject::getOwnPropertySlot):
              * kjs/object_object.cpp:
              (ObjectPrototype::ObjectPrototype):
              (ObjectProtoFunc::ObjectProtoFunc):
              (ObjectObjectImp::ObjectObjectImp):
              * kjs/regexp_object.cpp:
              (RegExpPrototype::RegExpPrototype):
              (RegExpProtoFunc::RegExpProtoFunc):
              (RegExpObjectImp::RegExpObjectImp):
              * kjs/string_object.cpp:
              (KJS::StringInstance::getOwnPropertySlot):
              (KJS::StringInstance::put):
              (KJS::StringInstance::deleteProperty):
              (KJS::StringPrototype::StringPrototype):
              (KJS::StringProtoFunc::StringProtoFunc):
              (KJS::StringProtoFunc::callAsFunction):
              (KJS::StringObjectImp::StringObjectImp):
              (KJS::StringObjectFuncImp::StringObjectFuncImp):
              * kjs/testkjs.cpp:
              (TestFunctionImp::TestFunctionImp):
      
      WebCore:
      
              Reviewed by Mark.
      
              - avoid static construction (and global variable access) in a smarter, more portable way,
              to later enable MUTLI_THREAD mode to work on other platforms and compilers.
              
              * bindings/js/JSCustomXPathNSResolver.cpp:
              (WebCore::JSCustomXPathNSResolver::lookupNamespaceURI):
              * bindings/js/JSHTMLInputElementBase.cpp:
              (WebCore::JSHTMLInputElementBaseFunction::JSHTMLInputElementBaseFunction):
              * bindings/js/JSHTMLOptionElementConstructor.cpp:
              (WebCore::JSHTMLOptionElementConstructor::JSHTMLOptionElementConstructor):
              * bindings/js/JSXMLHttpRequest.cpp:
              (KJS::JSXMLHttpRequestConstructorImp::JSXMLHttpRequestConstructorImp):
              * bindings/js/JSXSLTProcessor.cpp:
              (KJS::XSLTProcessorConstructorImp::XSLTProcessorConstructorImp):
              * bindings/js/kjs_dom.cpp:
              (KJS::DOMNamedNodeMap::getOwnPropertySlot):
              (KJS::DOMNamedNodesCollection::getOwnPropertySlot):
              * bindings/js/kjs_events.cpp:
              (KJS::JSAbstractEventListener::handleEvent):
              * bindings/js/kjs_html.cpp:
              (KJS::HTMLElementFunction::HTMLElementFunction):
              (KJS::JSHTMLCollection::getOwnPropertySlot):
              * bindings/js/kjs_window.cpp:
              (KJS::ScheduledAction::execute):
              * bindings/objc/WebScriptObject.mm:
              * bindings/scripts/CodeGeneratorJS.pm:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@20310 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      23fc88db
  5. 31 Dec, 2006 1 commit
    • ddkilzer's avatar
      JavaScriptCore: · 60a7a800
      ddkilzer authored
              Reviewed by Geoff.
      
              Update embedded pcre library from version 6.2 to 6.4.  Changes from pcre 6.2 to 6.3
              did not include any files in JavaScriptCore/pcre.
      
              All changes include renaming EXPORT to PCRE_EXPORT, renaming of ucp_findchar() to
              _pcre_ucp_findchar(), or comment changes.  Additional changes noted below.
      
              * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj: Updated source file list.
              * JavaScriptCore.xcodeproj/project.pbxproj: Renamed pcre_printint.c to pcre_printint.src
              and changed it from a source file to a header file.
              * JavaScriptCoreSources.bkl: Updated source file list.
              * pcre/CMakeLists.txt: Updated source file list.
              * pcre/pcre-config.h:
              * pcre/pcre.h: Updated version.
              * pcre/pcre.pri: Updated source file list.
              * pcre/pcre_compile.c: Include pcre_printint.src #if DEBUG.
              (pcre_compile2):
              * pcre/pcre_config.c:
              * pcre/pcre_exec.c:
              (match):
              * pcre/pcre_fullinfo.c:
              * pcre/pcre_info.c:
              * pcre/pcre_internal.h: Added header guard.  Removed export of _pcre_printint().
              * pcre/pcre_ord2utf8.c:
              * pcre/pcre_printint.c: Renamed to pcre_printint.src.
              * pcre/pcre_printint.src: Added.  Renamed _pcre_printint() to pcre_printint().
              * pcre/pcre_refcount.c:
              * pcre/pcre_study.c:
              * pcre/pcre_tables.c:
              * pcre/pcre_try_flipped.c:
              * pcre/pcre_ucp_findchar.c: Added contents of ucp_findchar.c.
              * pcre/pcre_version.c:
              * pcre/pcre_xclass.c:
              (_pcre_xclass):
              * pcre/ucp.h: Removed export of ucp_findchar().
              * pcre/ucp_findchar.c: Removed.  Contents moved to pcre_ucp_findchar.c.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@18498 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      60a7a800
  6. 12 Nov, 2006 1 commit
    • bdash's avatar
      2006-11-12 Mark Rowe <bdash@webkit.org> · 3e7c4ace
      bdash authored
              Reviewed by Mitz.
      
              Linux/Gdk compilation fixes, and bakefile cleanups.  Based on patches by
              Alp Toker.
      
              * Projects/gdk/webcore-gdk.bkl:
              * WebCoreSources.bkl:
              * page/PageState.cpp:
              * platform/gdk/ChromeClientGdk.h:
              (WebCore::ChromeClientGdk::ref):
              (WebCore::ChromeClientGdk::deref):
              * platform/gdk/FrameGdk.cpp:
              (WebCore::FrameGdkClientDefault::openURL):
              (WebCore::FrameGdkClientDefault::didReceiveData):
              (WebCore::FrameGdkClientDefault::receivedAllData):
              (WebCore::FrameGdk::FrameGdk):
              (WebCore::FrameGdk::~FrameGdk):
              * platform/gdk/FrameGdk.h:
              * platform/gdk/KeyEventGdk.cpp:
              (WebCore::keyIdentifierForGdkKeyCode):
              * platform/gdk/ScreenClientGdk.h: Removed.
              * platform/gdk/TemporaryLinkStubs.cpp:
              (FrameGdk::canPaste):
              (FrameGdk::originalRequestURL):
              (TextField::TextField):
              * platform/network/gdk/ResourceHandleManager.cpp:
              (WebCore::ResourceHandleManager::downloadTimerCallback):
              (WebCore::ResourceHandleManager::add):
              (WebCore::ResourceHandleManager::cancel):
              * webcore-base.bkl:
      2006-11-12  Mark Rowe  <bdash@webkit.org>
      
              Reviewed by Mitz.
      
              Clean up of JavaScriptCore bakefiles.
      
              * JavaScriptCoreSources.bkl:
              * jscore.bkl:
      2006-11-12  Mark Rowe  <bdash@webkit.org>
      
              Reviewed by Mitz.
      
              Clean up of GdkLauncher bakefile.
      
              * GdkLauncher/gdklauncher.bkl:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@17741 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3e7c4ace
  7. 04 Oct, 2006 1 commit
  8. 15 Sep, 2006 1 commit
    • 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
  9. 02 Sep, 2006 1 commit
  10. 29 Jul, 2006 1 commit
    • darin's avatar
      JavaScriptCore: · ad19609e
      darin authored
              Reviewed by Darin.
      
              - fixes for Linux build
      
              * JavaScriptCoreSources.bkl: Added new files to build, kjs/PropertyNameArray.cpp
              and kjs/testkjs.cpp, and removed old files.
      
      WebCore:
      
              Reviewed and tweaked by Darin.
      
              - fixes for Linux build
                (still might not compile, since Darin tweaked but was unable to test).
      
              * WebCoreSources.bkl: Added some new sources, removed some obsolete ones.
              * Projects/gdk/webcore-gdk.bkl: Added RenderPopupMenuGdk.cpp
      
              * html/HTMLPlugInElement.h: Removed incorrect syntax with class name
              before ::.
      
              * platform/gdk/FrameGdk.h:
              * platform/gdk/FrameGdk.cpp: Updated parameters of constructor. Moved a couple stubs
              out of this file.
              * platform/gdk/RenderPopupMenuGdk.h: Added.
              * platform/gdk/RenderPopupMenuGdk.cpp: Added. Just a file full of empty stubs.
              * platform/gdk/RenderThemeGdk.h:
              * platform/gdk/RenderThemeGdk.cpp: (WebCore::RenderThemeGdk::createPopupMenu): Added.
      
              * platform/gdk/TemporaryLinkStubs.cpp: Add some new stubs.
      
      WebKitTools:
      
              Reviewed by Darin.
      
              - fixes for Linux build
      
              * GdkLauncher/mk: Added call to bakefile_gen before calling make.
              * GdkLauncher/gdklauncher.bkl: Tweak comment.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15691 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ad19609e
  11. 30 Jun, 2006 1 commit
    • darin's avatar
      Reviewed by Darin. · fed93534
      darin authored
              Compilation fixes for Linux/Gdk.
      
              * JavaScriptCore/kjs/interpreter.cpp: added include of signal.h
              * JavaScriptCore/kjs/ExecState.h: added missing class declaration 
              * JavaScriptCore/kjs/ExecState.cpp: case wrong on include of context.h 
              * JavaScriptCore/JavaScriptCoreSources.bkl: added Context.cpp and ExecState.cpp
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15118 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fed93534
  12. 10 Jun, 2006 1 commit
    • ggaren's avatar
      JavaScriptCore: · 1ec99535
      ggaren authored
              - http://bugzilla.opendarwin.org/show_bug.cgi?id=8515
              Linux porting compile bug
              
              Fix by Mike Emmel, Reviewed by Darin.
      
              * JavaScriptCoreSources.bkl:
              * jscore.bkl:
              * wtf/Platform.h:
      
      WebCore:
      
              - http://bugzilla.opendarwin.org/show_bug.cgi?id=8515
              Linux porting compile bug
              
              Fix by Mike Emmel, Reviewed by Darin.
      
              * Projects/gdk/webcore-gdk.bkl:
              * WebCoreSources.bkl:
              * css/maketokenizer:
              * html/HTMLCanvasElement.cpp:
              * html/HTMLImageElement.h:
              * icon/IconDatabase.cpp:
              * make-generated-sources.sh:
              * page/Frame.h:
              * page/FramePrivate.h:
              * platform/Cursor.h:
              * platform/FontData.h:
              (WebCore::FontData::getGlyphIndex):
              * platform/GlyphBuffer.h:
              (WebCore::GlyphBuffer::glyphAt):
              (WebCore::GlyphBuffer::advanceAt):
              (WebCore::GlyphBuffer::add):
              * platform/GraphicsContext.h:
              * platform/PlatformKeyboardEvent.h:
              * platform/PlatformMouseEvent.h:
              * platform/PlatformWheelEvent.h:
              * platform/ScrollView.h:
              * platform/TransferJob.h:
              (WebCore::TransferJob::getInternal):
              * platform/TransferJobInternal.h:
              (WebCore::TransferJobInternal::TransferJobInternal):
              * platform/Widget.h:
              * platform/cairo/GraphicsContextCairo.cpp:
              (WebCore::GraphicsContext::GraphicsContext):
              (WebCore::GraphicsContext::roundToDevicePixels):
              * webcore-base.bkl:
              * xpath/impl/XPathValue.cpp:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14807 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1ec99535
  13. 13 May, 2006 1 commit
    • ap's avatar
      2006-05-13 Kevin M. Ollivier <kevino@theolliviers.com> · f3516ff1
      ap authored
              Reviewed by Darin, landed by ap.
      
              - http://bugzilla.opendarwin.org/show_bug.cgi?id=8528
                Bakefiles (and generated Makefiles) for wx and gdk ports
      
      JavaScriptCore:
              * make-generated-sources.sh: 
              Added script to configure environment to run DerivedSources.make
              
              * JavaScriptCoreSources.bkl:
              Added JavaScriptCore sources list for Bakefile.
              
              * jscore.bkl:
              Bakefile used to generate JavaScriptCore project files 
              (currently only used by wx and gdk ports)
      
      WebCore:
              * make-generated-sources.sh: 
              Added script to configure environment to run DerivedSources.make
              
              * move-js-headers.sh:
              Added script to copy JavaScriptCore includes into one dir so that 
              Framework-style includes will work on all OSes. (written by Mike Emmel)
              
              * platform/wx: New dir, home for the wxWidgets port
              * platform/wx/wx-encodings.txt: Added temp. stub for wx encodings file.
              
              * Projects: New dir, for various project files for ports.
              
              * Projects/gdk: New dir, GDK port files.
              * Projects/webcore-gdk.bkl: Bakefile to generate GDK port project files
              
              * Projects/wx: New dir, wxWidgets port files.
              * Projects/webcore-wx.bkl: Bakefile to generate wxWidgets port project files
      
      WebKitTools:
              * Scripts/install-unix-extras: Added.
              * Scripts/regenerate-makefiles: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14359 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f3516ff1