webengine/osswebengine/WebCore/ChangeLog
changeset 0 dd21522fd290
equal deleted inserted replaced
-1:000000000000 0:dd21522fd290
       
     1 2007-12-01  Mark Rowe  <mrowe@apple.com>
       
     2 
       
     3         Merge r26782 to Safari-3-branch.
       
     4 
       
     5     2007-10-19  Sam Weinig  <sam@webkit.org>
       
     6 
       
     7         Fix Windows, Qt and GTK builds.
       
     8 
       
     9         * WebCore.pro:
       
    10         * WebCore.vcproj/WebCore.vcproj:
       
    11 
       
    12 2007-12-01  Mark Rowe  <mrowe@apple.com>
       
    13 
       
    14         Merge r28225 to Safari-3-branch.
       
    15 
       
    16     2007-11-29  Sam Weinig  <sam@webkit.org>
       
    17 
       
    18         Reviewed by Oliver.
       
    19 
       
    20         Additional fix for <rdar://problem/5592988> / http://bugs.webkit.org/show_bug.cgi?id=15936
       
    21         - More closely match IE's policy for frame navigation.
       
    22 
       
    23         * bindings/js/kjs_window.cpp:
       
    24         (KJS::WindowProtoFuncOpen::callAsFunction):
       
    25         * loader/FrameLoader.cpp:
       
    26         (WebCore::FrameLoader::shouldAllowNavigation):
       
    27         * page/FrameTree.cpp:
       
    28         (WebCore::FrameTree::top):
       
    29         * page/FrameTree.h:
       
    30 
       
    31 2007-12-01  Mark Rowe  <mrowe@apple.com>
       
    32 
       
    33         Merge r28056 to Safari-3-branch.
       
    34 
       
    35     2007-11-26  Sam Weinig  <sam@webkit.org>
       
    36 
       
    37         Reviewed by Darin.
       
    38 
       
    39         Fix for <rdar://problem/5592988>
       
    40         - Enforce tighter restrictions on what frames in other domains
       
    41           can be navigated.
       
    42 
       
    43         Tests: http/tests/security/frameNavigation/xss-ALLOWED-parent-navigation-change.html
       
    44                http/tests/security/frameNavigation/xss-ALLOWED-targeted-subframe-navigation-change.html
       
    45 
       
    46         * bindings/js/kjs_window.cpp:
       
    47         (KJS::Window::put):
       
    48         (KJS::Location::put):
       
    49         (KJS::LocationProtoFuncReplace::callAsFunction):
       
    50         (KJS::LocationProtoFuncAssign::callAsFunction):
       
    51         * loader/FrameLoader.cpp:
       
    52         (WebCore::FrameLoader::createWindow):
       
    53         (WebCore::FrameLoader::load):
       
    54         (WebCore::FrameLoader::shouldAllowNavigation): Move and update logic from canTarget().
       
    55         * loader/FrameLoader.h:
       
    56         * page/FrameTree.cpp:
       
    57         (WebCore::FrameTree::isDescendantOf): Make this O(1) in the case when both frames are not
       
    58         in the same page.
       
    59 
       
    60 2007-12-01  Mark Rowe  <mrowe@apple.com>
       
    61 
       
    62     Merge r27433 from trunk to Safari-3-branch.
       
    63 
       
    64     2007-11-04  Sam Weinig  <sam@webkit.org>
       
    65 
       
    66         Rubber-stamped by Adam Roben.
       
    67 
       
    68         Rename SecurityOrigin::allowsAccessFrom to SecurityOrigin::canAccess to 
       
    69         clear up ambiguity.
       
    70 
       
    71         * bindings/js/kjs_window.cpp:
       
    72         (KJS::Window::isSafeScript):
       
    73         * platform/SecurityOrigin.cpp:
       
    74         (WebCore::SecurityOrigin::canAccess):
       
    75         * platform/SecurityOrigin.h:
       
    76 
       
    77 2007-12-01  Mark Rowe  <mrowe@apple.com>
       
    78 
       
    79         Merge r26780 from trunk to Safari-3-branch.
       
    80 
       
    81     2007-10-19  Sam Weinig  <sam@webkit.org>
       
    82 
       
    83         Reviewed by Darin.
       
    84 
       
    85         Encapsulate the same origin check into the new SecurityOrigin class.
       
    86 
       
    87         * WebCore.xcodeproj/project.pbxproj:
       
    88         * bindings/js/kjs_window.cpp:
       
    89         (KJS::Window::isSafeScript):
       
    90         * dom/Document.cpp:
       
    91         (WebCore::Document::Document):
       
    92         (WebCore::Document::defaultEventHandler):
       
    93         * dom/Document.h:
       
    94         (WebCore::Document::securityOrigin):
       
    95         * loader/FrameLoader.cpp:
       
    96         (WebCore::FrameLoader::begin):
       
    97         (WebCore::FrameLoader::setOpener):
       
    98         * loader/FrameLoader.h:
       
    99         * platform/SecurityOrigin.cpp: Added.
       
   100         (WebCore::SecurityOrigin::SecurityOrigin):
       
   101         (WebCore::SecurityOrigin::clear):
       
   102         (WebCore::SecurityOrigin::isEmpty):
       
   103         (WebCore::SecurityOrigin::setForFrame):
       
   104         (WebCore::SecurityOrigin::setDomainFromDOM):
       
   105         (WebCore::SecurityOrigin::allowsAccessFrom):
       
   106         (WebCore::SecurityOrigin::isSecureTransitionTo):
       
   107         * platform/SecurityOrigin.h: Added.
       
   108 
       
   109 2007-10-25  Jon Honeycutt  <jhoneycutt@apple.com>
       
   110 
       
   111         Reviewed by Steve.
       
   112 
       
   113         <rdar://5548217>: [NTS] Java 6 update 3 crashes Safari when loading a 
       
   114         java page
       
   115 
       
   116         Previous patch erroneously compared a path and a
       
   117         path-including-filename. This corrects that. It also caches the result
       
   118         of safariPluginsPath() and uses shell API funcs for determining filename
       
   119         and parent directory from a full path.
       
   120 
       
   121         * ChangeLog:
       
   122         * plugins/win/PluginDatabaseWin.cpp:
       
   123         (WebCore::safariPluginsPath): Cache return value. Use API functions to
       
   124         build the path
       
   125         (WebCore::PluginDatabaseWin::pluginForMIMEType): Compare again plugin's
       
   126         parent directory, not full path
       
   127         (WebCore::PluginDatabaseWin::pluginForExtension): Same
       
   128         * plugins/win/PluginPackageWin.cpp:
       
   129         (WebCore::PluginPackageWin::PluginPackageWin): Store parent directory
       
   130         * plugins/win/PluginPackageWin.h:
       
   131         (WebCore::PluginPackageWin::parentDirectory):
       
   132         * plugins/win/PluginStreamWin.cpp:
       
   133         (WebCore::PluginStreamWin::didReceiveData):
       
   134 
       
   135 2007-10-24  Alice Liu  <alice.liu@apple.com>
       
   136 
       
   137         Reviewed by Oliver.
       
   138 
       
   139         Fix <rdar://5410959>  editing/selection/drag-to-contenteditable-iframe.html fails on Windows
       
   140         
       
   141         * page/win/EventHandlerWin.cpp:
       
   142         (WebCore::EventHandler::passMouseMoveEventToSubframe):
       
   143         Some mouse move events are actually drags, which on mac return early from this function.
       
   144         Adding the same logic to its Windows equivalent.  
       
   145 
       
   146 2007-10-24  Brady Eidson  <beidson@apple.com>
       
   147 
       
   148         Reviewed by Anders
       
   149 
       
   150         <rdar://5554130> DatabaseTracker.o has a global initializer
       
   151 
       
   152         Since DatabaseTracker is a singleton, it makes much more sense to keep the database path as a member variable.
       
   153         Now constructing the shared DatabaseTracker no longer implicitly opens it - It is only opened when the databases 
       
   154         path is set.
       
   155         
       
   156         * WebCore.vcproj/WebCore.vcproj: Copy WebCore/storage headers for WebKit build
       
   157         
       
   158         * storage/Database.cpp:
       
   159         (WebCore::Database::~Database): Remove bogus assertion
       
   160         
       
   161         * storage/DatabaseTracker.cpp:
       
   162         (WebCore::DatabaseTracker::DatabaseTracker): Does nothing now!  Move this code to openTrackerDatabase
       
   163         (WebCore::DatabaseTracker::setDatabasePath): Set the member variable, also closing/opening the database if needed
       
   164         (WebCore::DatabaseTracker::databasePath):
       
   165         (WebCore::DatabaseTracker::openTrackerDatabase): To open and validate the Databases db, moved from the c'tor
       
   166         (WebCore::DatabaseTracker::fullPathForDatabase): Return the member variable
       
   167         * storage/DatabaseTracker.h:
       
   168 
       
   169 2007-10-24  David Hyatt  <hyatt@apple.com>
       
   170 
       
   171         Don't try to gap fill transformed selections.  Fix the invalidation of selection to use the clip to visible content
       
   172         code path so that it works with multi-column layouts and transforms.
       
   173 
       
   174         Reviewed by aroben
       
   175 
       
   176         * rendering/RenderBlock.cpp:
       
   177         (WebCore::RenderBlock::isSelectionRoot):
       
   178         (WebCore::RenderBlock::fillSelectionGaps):
       
   179         * rendering/RenderView.cpp:
       
   180         (WebCore::RenderView::setSelection):
       
   181 
       
   182 2007-10-24  Eric Seidel  <eric@webkit.org>
       
   183 
       
   184         No review, I want to tickle the CIA bot to test changes,
       
   185         and took this as an opportunity to clean up some old change logs.
       
   186 
       
   187         * ChangeLog-2005-08-23: update email address
       
   188         * ChangeLog-2006-12-31: fix spelling mistakes
       
   189 
       
   190 2007-10-24  Dan Bernstein  <mitz@apple.com>
       
   191 
       
   192         Reviewed by Oliver Hunt.
       
   193 
       
   194         - add "(anonymous)" to the renderName of anonymous table cells, rows and sections
       
   195 
       
   196         * rendering/RenderTableCell.h:
       
   197         (WebCore::RenderTableCell::renderName):
       
   198         * rendering/RenderTableRow.h:
       
   199         (WebCore::RenderTableRow::renderName):
       
   200         * rendering/RenderTableSection.h:
       
   201         (WebCore::RenderTableSection::renderName):
       
   202 
       
   203 2007-10-24  Timothy Hatcher  <timothy@apple.com>
       
   204 
       
   205         Reviewed by Adam.
       
   206 
       
   207         Bug 15476: DOM tree fully expands some elements when arrowing up
       
   208         http://bugs.webkit.org/show_bug.cgi?id=15476
       
   209 
       
   210         Add a new expandTreeElementsWhenArrowing option to TreeOutline. This option
       
   211         is used only for the sidebar and search results.
       
   212 
       
   213         * page/inspector/inspector.js: Opt-in for the sidebar and search results.
       
   214         * page/inspector/treeoutline.js: Add expandTreeElementsWhenArrowing and pass
       
   215           this option to traverseNextTreeElement and traversePreviousTreeElement.
       
   216 
       
   217 2007-10-24  Anders Carlsson  <andersca@apple.com>
       
   218 
       
   219         Reviewed by Geoff and Mitz.
       
   220 
       
   221         <rdar://problem/5493833>
       
   222         REGRESSION: ~5MB of image data leaked @ cuteoverload.com (often seen while browsing other sites, too)
       
   223 
       
   224         * bindings/js/kjs_binding.cpp:
       
   225         (KJS::ScriptInterpreter::markDOMNodesForDocument):
       
   226         If an image element that is currently loading an image is not in the document,
       
   227         it should still be marked.
       
   228         
       
   229         * bindings/js/kjs_html.cpp:
       
   230         (WebCore::ImageConstructorImp::construct):
       
   231         Force the document wrapper to be created.
       
   232         
       
   233         * html/HTMLImageElement.h:
       
   234         (WebCore::HTMLImageElement::haveFiredLoadEvent):
       
   235         New method which calls down to the image loader.
       
   236         
       
   237         * html/HTMLImageLoader.cpp:
       
   238         (WebCore::HTMLImageLoader::HTMLImageLoader):
       
   239         (WebCore::HTMLImageLoader::~HTMLImageLoader):
       
   240         (WebCore::HTMLImageLoader::setLoadingImage):
       
   241         (WebCore::HTMLImageLoader::dispatchLoadEvent):
       
   242         Remove code that's not needed anymore.
       
   243         
       
   244         * html/HTMLImageLoader.h:
       
   245         (WebCore::HTMLImageLoader::haveFiredLoadEvent):
       
   246         Make this public.
       
   247 
       
   248 2007-10-23  Adam Roben  <aroben@apple.com>
       
   249 
       
   250         Move Windows safe file creation code into WebCore from WebPreferences
       
   251 
       
   252         Reviewed by Brady.
       
   253 
       
   254         * platform/FileSystem.h:
       
   255         * platform/win/FileSystemWin.cpp:
       
   256         (WebCore::safeCreateFile): Moved here from WebKit/win/WebPreferences.cpp.
       
   257 
       
   258 2007-10-23  Adam Roben  <aroben@apple.com>
       
   259 
       
   260         Add methods to FileSystemWin to get some user profile directories
       
   261 
       
   262         These directories are used to hold things like preferences, caches,
       
   263         etc.
       
   264 
       
   265         Reviewed by Brady.
       
   266 
       
   267         * platform/FileSystem.h: Added new method declarations for Windows
       
   268         only.
       
   269         * platform/win/FileSystemWin.cpp:
       
   270         (WebCore::bundleName): Added.
       
   271         (WebCore::storageDirectory): Added.
       
   272         (WebCore::cachedStorageDirectory): Added.
       
   273         (WebCore::localUserSpecificStorageDirectory): Added. Returns the
       
   274         directory where WebKit should store any user-specific data that should
       
   275         stay local to the current machine (i.e., shouldn't be stored in a
       
   276         roaming profile).
       
   277         (WebCore::roamingUserSpecificStorageDirectory): Added. Returns the
       
   278         directory where WebKit should store any user-specific data that should
       
   279         move with the user from machine to machine (i.e., should be stored in
       
   280         a roaming profile).
       
   281 
       
   282 2007-10-24  Alp Toker  <alp@atoker.com>
       
   283 
       
   284         Reviewed by Mark Rowe.
       
   285 
       
   286         http://bugs.webkit.org/show_bug.cgi?id=15659
       
   287         InlineTextBox does not setStrokeStyle() as needed
       
   288 
       
   289         GraphicsContextCairo workaround to support a GraphicsContextCG quirk:
       
   290 
       
   291         Save and restore the StrokeStyle manually.
       
   292 
       
   293         * platform/graphics/cairo/GraphicsContextCairo.cpp:
       
   294         (WebCore::GraphicsContext::drawLineForText):
       
   295 
       
   296 2007-10-24  Julien Chaffraix  <julien.chaffraix@gmail.com>
       
   297 
       
   298         Reviewed by Darin.
       
   299 
       
   300         Patch for http://bugs.webkit.org/show_bug.cgi?id=15356
       
   301         Bug 15356: getResponseHeader and getAllResponseHeaders do not throw exceptions
       
   302 
       
   303         - getAllResponseHeaders and getResponseHeader throws INVALID_STATE_ERR exception as specified in the specification
       
   304 
       
   305         - Add the check to field-name production in getResponseHeader (call to isValidToken) and returns an empty string if the header is not valid (Opera and IE behaviour)
       
   306 
       
   307         - Updated XMLHttpRequest::responseMIMEType() to keep its behaviour
       
   308 
       
   309         Tests: http/tests/xmlhttprequest/xmlhttprequest-InvalidStateException-getAllRequestHeaders.html
       
   310                http/tests/xmlhttprequest/xmlhttprequest-InvalidStateException-getRequestHeader.html
       
   311                http/tests/xmlhttprequest/xmlhttprequest-invalidHeader-getRequestHeader.html
       
   312 
       
   313         * bindings/js/JSXMLHttpRequest.cpp:
       
   314         (KJS::JSXMLHttpRequestPrototypeFunction::callAsFunction):
       
   315         * xml/XMLHttpRequest.cpp:
       
   316         (WebCore::XMLHttpRequest::getAllResponseHeaders):
       
   317         (WebCore::XMLHttpRequest::getResponseHeader):
       
   318         (WebCore::XMLHttpRequest::responseMIMEType):
       
   319         * xml/XMLHttpRequest.h:
       
   320 
       
   321 2007-10-24  Lars Knoll  <lars@trolltech.com>
       
   322 
       
   323         Reviewed by Simon.
       
   324 
       
   325         implement most of DragData.
       
   326 
       
   327         WARNING: NO TEST CASES ADDED OR CHANGED
       
   328 
       
   329         * platform/qt/DragDataQt.cpp:
       
   330         (WebCore::DragData::containsColor):
       
   331         (WebCore::DragData::containsFiles):
       
   332         (WebCore::DragData::asFilenames):
       
   333         (WebCore::DragData::containsPlainText):
       
   334         (WebCore::DragData::asPlainText):
       
   335         (WebCore::DragData::asColor):
       
   336         (WebCore::DragData::containsCompatibleContent):
       
   337         (WebCore::DragData::containsURL):
       
   338 
       
   339 2007-10-24  Lars Knoll  <lars@trolltech.com>
       
   340 
       
   341         Reviewed by Simon.
       
   342 
       
   343         remove a stupid notImplemented() warning and implement PasteBoad::clear().
       
   344 
       
   345         WARNING: NO TEST CASES ADDED OR CHANGED
       
   346 
       
   347         * platform/qt/PasteboardQt.cpp:
       
   348 
       
   349 2007-10-24  Lars Knoll  <lars@trolltech.com>
       
   350 
       
   351         Reviewed by Simon.
       
   352 
       
   353         implement Pasteboard::documentFragment(), and fix a mem leak.
       
   354 
       
   355         WARNING: NO TEST CASES ADDED OR CHANGED
       
   356 
       
   357         * platform/qt/PasteboardQt.cpp:
       
   358         (WebCore::Pasteboard::generalPasteboard):
       
   359         (WebCore::Pasteboard::documentFragment):
       
   360 
       
   361 2007-10-24  Lars Knoll  <lars@trolltech.com>
       
   362 
       
   363         Reviewed by Simon.
       
   364 
       
   365         Simplify the PlatformKeyEvent constructor. No need to have an extra boolean for isKeyUp in there, as the QKeyEvent has the information.
       
   366 
       
   367         WARNING: NO TEST CASES ADDED OR CHANGED
       
   368 
       
   369         * platform/PlatformKeyboardEvent.h:
       
   370         * platform/qt/PlatformKeyboardEventQt.cpp:
       
   371         (WebCore::PlatformKeyboardEvent::PlatformKeyboardEvent):
       
   372 
       
   373 2007-10-24  Lars Knoll  <lars@trolltech.com>
       
   374 
       
   375         Reviewed by Simon.
       
   376 
       
   377         use the new QTextBoundaryFinder class in Qt.
       
   378 
       
   379         WARNING: NO TEST CASES ADDED OR CHANGED
       
   380 
       
   381         * platform/qt/TextBoundaries.cpp:
       
   382         (WebCore::findNextWordFromIndex):
       
   383         (WebCore::findWordBoundary):
       
   384         * platform/qt/TextBreakIteratorQt.cpp:
       
   385         (WebCore::wordBreakIterator):
       
   386         (WebCore::characterBreakIterator):
       
   387         (WebCore::lineBreakIterator):
       
   388         (WebCore::sentenceBreakIterator):
       
   389         (WebCore::textBreakFirst):
       
   390         (WebCore::textBreakNext):
       
   391         (WebCore::textBreakPreceding):
       
   392         (WebCore::textBreakFollowing):
       
   393         (WebCore::textBreakCurrent):
       
   394         (WebCore::isTextBreak):
       
   395 
       
   396 2007-10-24  Darin Adler  <darin@apple.com>
       
   397 
       
   398         Reviewed by Maciej.
       
   399 
       
   400         - http://bugs.webkit.org/show_bug.cgi?id=15657
       
   401           change static hash tables to use powers of two for speed
       
   402 
       
   403         * bindings/scripts/CodeGeneratorJS.pm: Updated to generate new format.
       
   404 
       
   405 2007-10-24  Simon Hausmann  <hausmann@kde.org>
       
   406 
       
   407         Reviewed by Lars.
       
   408 
       
   409         Make the implementation of pathByAppendingComponent use QDir.
       
   410 
       
   411         * platform/qt/FileSystemQt.cpp:
       
   412 
       
   413 2007-10-24  David Hyatt  <hyatt@apple.com>
       
   414 
       
   415         Make repainting work with transforms.
       
   416 
       
   417         Reviewed by John Sullivan
       
   418 
       
   419         * rendering/RenderBox.cpp:
       
   420         (WebCore::RenderBox::computeAbsoluteRepaintRect):
       
   421 
       
   422 2007-10-23  Alp Toker  <alp@atoker.com>
       
   423 
       
   424         Reviewed by Maciej.
       
   425 
       
   426         http://bugs.webkit.org/show_bug.cgi?id=14412
       
   427         [GDK] Clipboard support
       
   428 
       
   429         Initial clipboard implementation for the GTK+ port.
       
   430 
       
   431         * platform/gtk/ClipboardGtk.cpp:
       
   432         (WebCore::Editor::newGeneralClipboard):
       
   433         * platform/gtk/PasteboardGtk.cpp:
       
   434         (WebCore::Pasteboard::generalPasteboard):
       
   435         (WebCore::Pasteboard::Pasteboard):
       
   436         (WebCore::Pasteboard::~Pasteboard):
       
   437         (WebCore::Pasteboard::writeSelection):
       
   438         (WebCore::Pasteboard::writeImage):
       
   439         (WebCore::Pasteboard::clear):
       
   440         (WebCore::Pasteboard::plainText):
       
   441         * platform/gtk/TemporaryLinkStubs.cpp:
       
   442 
       
   443 2007-10-23  Timothy Hatcher  <timothy@apple.com>
       
   444 
       
   445         Reviewed by Adam.
       
   446 
       
   447         Fixes the Network panel so that it refreshes as needed.
       
   448 
       
   449         * page/inspector/ConsolePanel.js: Call the base class show() and hide() first.
       
   450         * page/inspector/NetworkPanel.js: Add refreshNeeded and refreshIfNeeded back. Ditto.
       
   451 
       
   452 2007-10-23  Justin Garcia  <justin.garcia@apple.com>
       
   453 
       
   454         Reviewed by Oliver Hunt.
       
   455 
       
   456         <rdar://problem/5544856> 
       
   457         REGRESSION: After typing 2-byte text, undo only undoes one keystroke at a time
       
   458         
       
   459         No layout test for now because I'm having trouble getting Undo during a layout
       
   460         test to only undo the last Undo step, and I want to write a test that fails
       
   461         without the code change.
       
   462 
       
   463         * editing/Editor.cpp:
       
   464         (WebCore::Editor::confirmComposition): When we replace the previous composition,
       
   465         delete it with a sub-command of the command used to insert the new composition,
       
   466         instead of with a separate command.  No new code was added because insertText
       
   467         already deletes the current selection.
       
   468         (WebCore::Editor::setComposition): Ditto.
       
   469 
       
   470 2007-10-23  Adam Roben  <aroben@apple.com>
       
   471 
       
   472         Fix the behavior of pathByAppendingComponent when path is empty
       
   473 
       
   474         We now use the Windows Shell API function PathAppendW instead of
       
   475         rolling our own broken implementation.
       
   476 
       
   477         Reviewed by Anders.
       
   478 
       
   479         * platform/win/FileSystemWin.cpp:
       
   480         (WebCore::pathByAppendingComponent):
       
   481 
       
   482 2007-10-23  Adele Peterson  <adele@apple.com>
       
   483 
       
   484         Reviewed by Darin.
       
   485 
       
   486         Fix for <rdar://problem/5543228> CrashTracer: [USER] 2 crashes in Safari at com.apple.WebCore: WebCore::HTMLInputElement::defaultEventHandler + 872
       
   487 
       
   488         Test: fast/forms/textfield-onchange-deletion.html
       
   489 
       
   490         * html/HTMLInputElement.cpp: (WebCore::HTMLInputElement::defaultEventHandler):
       
   491           Refetch the renderer since arbitrary JS code run during onchange can do anything, including destroying it.
       
   492 
       
   493 2007-10-23  Timothy Hatcher  <timothy@apple.com>
       
   494 
       
   495         Reviewed by Sam Weinig.
       
   496 
       
   497         - Made seperate files for the various classes in ResourcePanel.js.
       
   498         - Broke up ResourcePanel.js and created seperate panel classes for different resource types.
       
   499         - Moved View code down to the Panel base-class.
       
   500         - Reduced code duplication in DatabasePanel.js by sub-classing from the new ResourcePanel.
       
   501 
       
   502         * page/inspector/DatabasePanel.js:
       
   503         * page/inspector/DocumentPanel.js: Added.
       
   504         * page/inspector/FontPanel.js: Added.
       
   505         * page/inspector/ImagePanel.js: Added.
       
   506         * page/inspector/Panel.js: Added.
       
   507         * page/inspector/PropertiesSection.js: Added.
       
   508         * page/inspector/Resource.js:
       
   509         * page/inspector/ResourcePanel.js:
       
   510         * page/inspector/SidebarPane.js: Added.
       
   511         * page/inspector/SourcePanel.js: Added.
       
   512         * page/inspector/inspector.css:
       
   513         * page/inspector/inspector.html:
       
   514         * page/inspector/inspector.js:
       
   515 
       
   516 2007-10-23  Anders Carlsson  <andersca@apple.com>
       
   517 
       
   518         Correct the version #if check.
       
   519         
       
   520         * platform/sql/SQLDatabase.cpp:
       
   521         (WebCore::SQLDatabase::authorizerFunction):
       
   522 
       
   523 >>>>>>> .merge-right.r27048
       
   524 2007-10-23  Jon Honeycutt  <jhoneycutt@apple.com>
       
   525 
       
   526         Reviewed by Anders.
       
   527 
       
   528         <rdar://5548217>: [NTS] Java 6 update 3 crashes Safari when loading a 
       
   529         java page
       
   530 
       
   531         It is possible to load Mozilla's Java plugin instead of our own, which
       
   532         can lead to a crash. The fix is to prefer plugins in our own Plugins
       
   533         directory when searching for a plugin.
       
   534 
       
   535         * plugins/win/PluginDatabaseWin.cpp:
       
   536         (WebCore::safariPluginsPath): Return the path to our own Plugins
       
   537         directory
       
   538         (WebCore::PluginDatabaseWin::defaultPluginPaths): Use new method
       
   539         safariPluginsPath()
       
   540         (WebCore::PluginDatabaseWin::pluginForMIMEType): If the plugin's path is
       
   541         our Plugins path, return this plugin. Otherwise, continue scanning the
       
   542         list of plugins
       
   543         (WebCore::PluginDatabaseWin::pluginForExtension): Same
       
   544         * plugins/win/PluginPackageWin.h:
       
   545         (WebCore::PluginPackageWin::path): Return this plugin's path
       
   546 
       
   547 2007-10-22  Steve Falkenburg  <sfalken@apple.com>
       
   548 
       
   549         Fix build.
       
   550 
       
   551         * plugins/win/PluginViewWin.cpp:
       
   552 
       
   553 2007-10-22  Jon Honeycutt  <jhoneycutt@apple.com>
       
   554 
       
   555         Reviewed by Anders.
       
   556 
       
   557         <rdar://5548217>: [NTS] Java 6 update 3 crashes Safari when loading a 
       
   558         java page
       
   559 
       
   560         We purposefully do not destroy our Java VM when its reference count
       
   561         reaches 0, but we were unloading our JavaPlugin.dll when its reference
       
   562         count reached 0, which lost the reference to the VM. This led to our
       
   563         process trying to create a new VM the next time a page using Java was
       
   564         loaded, and the JNI spec states that a single process is not allowed to
       
   565         create more than one VM. The fix is to avoid unloading the Java plugin
       
   566         via our PluginQuirkDontUnloadPlugin. 
       
   567 
       
   568         * plugins/win/PluginViewWin.cpp:
       
   569         (WebCore::PluginViewWin::determineQuirks):
       
   570 
       
   571 2007-10-18  Adam Roben  <aroben@apple.com>
       
   572 
       
   573         Fix <rdar://5547462> Need to copy Inspector resources in Production builds
       
   574 
       
   575         I also added an excludes file for the xcopy command to avoid copying
       
   576         .svn folders.
       
   577 
       
   578         Reviewed by Geoff.
       
   579 
       
   580         * WebCore.vcproj/WebCore.make: Make sure we copy the Inspector
       
   581         resources.
       
   582         * WebCore.vcproj/WebCore.vcproj: Pass /exclude:xcopy.excludes to
       
   583         xcopy.
       
   584         * WebCore.vcproj/xcopy.excludes: Added.
       
   585 
       
   586 2007-10-16  Alice Liu  <alice.liu@apple.com>
       
   587 
       
   588         rubber-stamped by Darin.
       
   589 
       
   590         flipping my previous fix around so that mac is special-cased instead of win.
       
   591 
       
   592         * dom/Document.cpp:
       
   593         (WebCore::Document::defaultEventHandler):
       
   594 
       
   595 2007-10-16  Alice Liu  <alice.liu@apple.com>
       
   596 
       
   597         Reviewed by Adele.
       
   598 
       
   599         fixed <rdar://5085596> Accesskeys don't work
       
   600         
       
   601         * dom/Document.cpp:
       
   602         (WebCore::Document::defaultEventHandler):
       
   603         accesskey modifier is platform-depedent.
       
   604 
       
   605 2007-10-15  Jon Honeycutt  <jhoneycutt@apple.com>
       
   606 
       
   607         Reviewed by Ollie.
       
   608 
       
   609         Use OwnPtr for m_deliveryData, and fix a bug where we were memmove()ing
       
   610         over m_deliveryData instead of its data buffer
       
   611 
       
   612         * plugins/win/PluginStreamWin.cpp:
       
   613         (WebCore::PluginStreamWin::~PluginStreamWin): Don't delete
       
   614         m_deliveryData
       
   615         (WebCore::PluginStreamWin::deliverData): Fix memmove() call
       
   616         (WebCore::PluginStreamWin::didReceiveData): Assign using OwnPtr::set()
       
   617         * plugins/win/PluginStreamWin.h: Use OwnPtr
       
   618 
       
   619 2007-10-15  Steve Falkenburg  <sfalken@apple.com>
       
   620 
       
   621         Reviewed by Oliver.
       
   622 
       
   623         Add missing null check.
       
   624 
       
   625         * platform/network/cf/AuthenticationCF.cpp:
       
   626         (WebCore::core):
       
   627 
       
   628 2007-10-15  Jon Honeycutt  <jhoneycutt@apple.com>
       
   629 
       
   630         Reviewed by Anders.
       
   631 
       
   632         <rdar://5510700> Repro crash loading embedded Windows Media Player
       
   633         content
       
   634 
       
   635         Anders noticed that the older Windows Media Player plugin (npdsplay.dll)
       
   636         will crash if it receives its resource requests out of order, whereas we
       
   637         were immediately fulfilling untargeted, non-JavaScript requests and
       
   638         scheduling targeted or JavaScript resource requests. Implement his
       
   639         suggested fix, which is to schedule PluginRequests for all resource
       
   640         requests 
       
   641 
       
   642         * plugins/win/PluginViewWin.cpp:
       
   643         (WebCore::getString):
       
   644         (WebCore::PluginViewWin::performRequest): If this non-JavaScript request
       
   645         has no target, create a stream for it
       
   646         (WebCore::PluginViewWin::load): Schedule PluginRequests for all resource
       
   647         requests
       
   648 
       
   649 2007-10-15  Jon Honeycutt  <jhoneycutt@apple.com>
       
   650 
       
   651         Reviewed by Maciej.
       
   652 
       
   653         Return a more appropriate error from NPN_RequestRange, which is
       
   654         currently unimplemented
       
   655 
       
   656         * plugins/win/npapi.cpp: return NPERR_STREAM_NOT_SEEKABLE 
       
   657         (NPN_RequestRead):
       
   658 
       
   659 2007-10-15  Jon Honeycutt  <jhoneycutt@apple.com>
       
   660 
       
   661         Reviewed by Maciej.
       
   662 
       
   663         Add a missing function pointer to the m_browserFuncs structure
       
   664 
       
   665         * plugins/win/PluginPackageWin.cpp:
       
   666         (WebCore::PluginPackageWin::load):
       
   667 
       
   668 == Rolled over to ChangeLog-2007-10-14 ==