1. 03 Dec, 2002 8 commits
    • mjs's avatar
      Reviewed by: Darin Adler · 7ae759a1
      mjs authored
      	- fixed Deployment build.
      
              * kjs/dtoa.cpp: Work around warnings.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2913 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7ae759a1
    • mjs's avatar
      - fixed 3114790 - Gamespot reviews pages badly mis-rendering · 7c33c6fe
      mjs authored
      	because floating point numbers format wide
      
      	Reviewed by: David Hyatt
      
      	* kjs/dtoa.cpp: Imported float <--> string conversion routines
      	from David M. Gay. I changed this to fix warnings and avoid
      	colliding with names of standard library functions.
              * kjs/dtoa.h: Added a header I made up for dtoa.cpp
              * kjs/ustring.cpp:
              (UString::from): Use new double to string routine (kjs_strtod).
              (UString::toDouble): Use new string to double routine (kjs_dtoa).
              * JavaScriptCore.pbproj/project.pbxproj: Added new files
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2912 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7c33c6fe
    • hyatt's avatar
      Fix for 3112599, aol.com shopping page doesn't work. Apply · c054e2c1
      hyatt authored
      	the same form demotion trick to <tr> that I did already for
      	<tbody> and <table>.
      
      	r=gramps
      
              * khtml/html/dtd.cpp:
              (DOM::checkChild):
              * khtml/html/html_tableimpl.cpp:
              (HTMLTableRowElementImpl::addChild):
              * khtml/html/html_tableimpl.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2911 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c054e2c1
    • cblu's avatar
      Fixed: · 81e00008
      cblu authored
      	3112477 - REGRESSION: dropping image within window loads image in current window
      	Fix: Unregister the parent webview for dragging when the drag starts, reregister after the drag ends.
      
      	3116423 - Dragged images sometimes have the wrong promised-file file type
      	Fix: Make the - [NSView_web_dragPromisedImage...] method take a file type rather than deriving the file type from the URL
      
      	3115768 - REGRESSION: contextual menu item "copy url to clipboard" doesn't work
      	Fix: In [NSPastboard _web_writeURL:andTitle:withOwner:] adding pboard types  doesn't work for the general pasteboard, have to redeclare.
      
      	3116594 - Image on the drag pasteboard shouldn't have applied transparency and scaling
      	Fix: In - [NSView_web_dragPromisedImage...] put the original image on the pboard
      
      	Reviewed by John.
      
              * Misc.subproj/WebNSPasteboardExtras.m:
              (-[NSPasteboard _web_writeURL:andTitle:withOwner:]): don't use addTypes as it doesn't work as I expected
              * Misc.subproj/WebNSViewExtras.h:
              * Misc.subproj/WebNSViewExtras.m:
              (-[NSView _web_dragPromisedImage:origin:URL:fileType:title:event:]): put the original image on the pboard, not the drag image
              * WebView.subproj/WebHTMLView.m:
              (-[WebHTMLView dragImage:at:offset:event:pasteboard:source:slideBack:]):
              (-[WebHTMLView mouseDragged:]): call _web_dragPromisedImage
              (-[WebHTMLView draggedImage:endedAt:operation:]): call -[WebView _reregisterDraggedTypes]
              * WebView.subproj/WebImageView.m:
              (-[WebImageView mouseDragged:]): call _web_dragPromisedImage
              (-[WebImageView draggedImage:endedAt:operation:]): call -[WebView _reregisterDraggedTypes]
              * WebView.subproj/WebView.m:
              (-[WebView initWithFrame:]): call _reregisterDraggedTypes
              (-[WebView draggingEntered:]): simplified, don't need to check drag source
              * WebView.subproj/WebViewPrivate.h:
              * WebView.subproj/WebViewPrivate.m:
              (-[WebView _reregisterDraggedTypes]):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2910 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      81e00008
    • hyatt's avatar
      Fix link feedback regression on aintitcool.com. Observe · f00e5339
      hyatt authored
      	the wacky feedback we give now (yes, it matches MacIE and
      	Gecko).  Gotta love this malformed page.
      
      	<a><h4>...</h4></a>
      
      	r=mjs
      
              * khtml/rendering/render_object.cpp:
              (RenderObject::nodeAtPoint):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2909 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f00e5339
    • darin's avatar
      - fixed 3114796 -- WORLD LEAKS: 1 WebFrame leaked on trivial source file with <html> tag only · cd793664
      darin authored
      	(probably fixed a ton of other bugs too, since this always leaks)
      
      	Reviewed by Chris.
      
              * WebView.subproj/WebHTMLViewPrivate.m: (-[WebHTMLView _elementAtPoint:]):
      	Added a missing autorelease.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2908 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cd793664
    • darin's avatar
      WebFoundation: · 1b0078cc
      darin authored
      	Reviewed by Maciej.
      
              * English.lproj/StringsNotToBeLocalized.txt: Updated for recent changes.
      
      WebKit:
      
      	Reviewed by Maciej.
      
              * WebView.subproj/WebView.m: Fixed a pair of strings that conflict.
              * English.lproj/Localizable.strings: Regenerated.
              * English.lproj/StringsNotToBeLocalized.txt: Updated for recent changes.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2907 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1b0078cc
    • hyatt's avatar
      Eliminate the KONQBLOCK hack. Fixes ipodhacks.com (a mislayout · 95b02579
      hyatt authored
      	caused by malformed html... <table><br>...)
      
      	r=mjs
      
              * khtml/css/html4.css:
              * khtml/html/dtd.cpp:
              (DOM::checkChild):
              * khtml/html/html_elementimpl.cpp:
              (HTMLElementImpl::isInline):
              * khtml/html/htmlparser.cpp:
              (KHTMLParser::reset):
              (KHTMLParser::insertNode):
              * khtml/html/htmlparser.h:
              * khtml/misc/htmltags.c:
              (hash_tag):
              (findTag):
              * khtml/misc/htmltags.h:
              * khtml/misc/htmltags.in:
              * khtml/rendering/render_flow.cpp:
              (RenderFlow::layoutBlockChildren):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2906 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      95b02579
  2. 02 Dec, 2002 4 commits
    • hyatt's avatar
      Fix for 3032557, wsj.com DHTML elements in the wrong position. · ebaefe36
      hyatt authored
      	This patch adds support for img.x and img.y (a Mozilla extension
      	from NS4 days), which is used by the site to position the menus.
      
      	r=kocienda on the patch.
      
              * khtml/dom/html_image.cpp:
              (HTMLImageElement::x):
              (HTMLImageElement::y):
              * khtml/dom/html_image.h:
              * khtml/ecma/kjs_html.cpp:
              (KJS::HTMLElement::getValueProperty):
              * khtml/ecma/kjs_html.h:
              * khtml/ecma/kjs_html.lut.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2905 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ebaefe36
    • hyatt's avatar
      Undo my changes to margin collapsing for blocks inside inlines. · f9e981ea
      hyatt authored
      	Although they may be correct in a strict mode, they don't
      	work with the real-world Web.  For now, I'm just backing out
      	the code.  The CSS WG hasn't decided how this should work yet
      	anyway, so I'll just let the quirk behavior be our behavior
      	in both modes.
      
      	This fixes aintitcool.com.
      
              * khtml/rendering/render_flow.cpp:
              (RenderFlow::layoutBlockChildren):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2904 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f9e981ea
    • trey's avatar
      WebKit: · edb8fdb4
      trey authored
      	Refined bookmark notifications to be more detailed.  We now have added, removed,
      	willChange and didChange.
      
              * Bookmarks.subproj/WebBookmarkGroup.h:   New API.
              * Bookmarks.subproj/WebBookmarkGroup.m:
              (-[WebBookmarkGroup _sendNotification:forBookmark:children:]):
              (-[WebBookmarkGroup _setTopBookmark:]):
              (-[WebBookmarkGroup _bookmarkWillChange:]):
              (-[WebBookmarkGroup _bookmarkDidChange:]):
              (-[WebBookmarkGroup _bookmarkChildren:wereAddedToParent:]):
              (-[WebBookmarkGroup _bookmarkChildren:wereRemovedToParent:]):
      	All just small pieces of flow control for posting the notes.
              * Bookmarks.subproj/WebBookmarkGroupPrivate.h:  Internal methods for posting the notes.
              * Bookmarks.subproj/WebBookmarkLeaf.m:
              (-[WebBookmarkLeaf setTitle:]):  Post da note
              (-[WebBookmarkLeaf setURLString:]):  Post da note
              (-[WebBookmarkLeaf description]):  Added for debugging.
              * Bookmarks.subproj/WebBookmarkList.m:
              (-[WebBookmarkList setTitle:]):  Post da note
              (-[WebBookmarkList removeChild:]):  Post da note
              (-[WebBookmarkList insertChild:atIndex:]):  Post da note
              * Bookmarks.subproj/WebBookmarkProxy.m:
              (-[WebBookmarkProxy setTitle:]):  Post da note
              * English.lproj/StringsNotToBeLocalized.txt:  New strings.
              * WebKit.exp:   New strings.
      
      WebBrowser:
      
      	The auto-complete DB properly tracks HistoryItems and Bookmarks coming and going.
      	We have only one DB entry for a given URL, with a ref count.  HistoryItems replace
      	Bookmarks in the DB, so we have a well-defined place to keep stats like visitCount
      	or recent times accessed.
      
              * BookmarksController.m:
              (-[BookmarksController awakeFromNib]):  Adopt new API for bookmark notifications.
              * BookmarksViewController.m:    Adopt new API for bookmark notifications.
              * CompletionController.m:
              (+[CompletionController _tree_create]):  Set refCount of root node.
              (_keyStringFromItem):  Nuke redundant code.
              (_keyStringFromNode):  Deleted nodes must retain their key string to function
      	properly in the DB.
              (_findPotentialNode):  Test for deleted nodes using new bit.
              (+[CompletionController _tree_addItem:]):  New rules for handing a collision on
      	add.  Bump ref count, replace Bookmarks with HistoryItems.
              (+[CompletionController _tree_deleteItem:]):  Obey refcounting.
              (+[CompletionController _tree_nextItemUsingCursor:]):  Test for deleted nodes using new bit.
              (DumpAutoCompleteTree):  Debugging nit.
              (+[CompletionController _removeBookmarkTree:]):  New utility routine.
              (+[CompletionController _loadDB]):  Debugging nits.
              (-[CompletionController _executeQuery]):  Bandaid fix for user typing "www.".
              (+[CompletionController _registerForNotifications]):  Register for bookmark notes.
              (+[CompletionController _bookmarksAdded:]):  Receive bookmark note.
              (+[CompletionController _bookmarksRemoved:]):  Receive bookmark note.
              (+[CompletionController _bookmarkWillChange:]):  Receive bookmark note.
              (+[CompletionController _bookmarkDidChange:]):  Receive bookmark note.
              (-[CompletionController _positionWindow]):  Small code rearranging.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2903 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      edb8fdb4
    • mjs's avatar
      WebKit: · f2954aae
      mjs authored
      	- added original URL field to action dictionary so that policy delegates
      	can avoid prompting over and over on redirects.
      
              * WebKit.exp:
              * WebView.subproj/WebControllerPolicyDelegate.h:
              * WebView.subproj/WebControllerPolicyDelegate.m:
              * WebView.subproj/WebDataSource.m:
              (-[WebDataSource initWithRequest:]):
              * WebView.subproj/WebDataSourcePrivate.m:
              (-[WebDataSource _startLoading:]):
              * WebView.subproj/WebFrame.m:
              (-[WebFrame loadRequest:]):
              * WebView.subproj/WebFramePrivate.h:
              * WebView.subproj/WebFramePrivate.m:
              (-[WebFrame _actionInformationForNavigationType:event:originalURL:]):
              (-[WebFrame _checkNavigationPolicyForRequest:dataSource:andCall:withSelector:]):
              (-[WebFrame _addExtraFieldsToRequest:]):
              (-[WebFrame _loadURL:loadType:triggeringEvent:isFormSubmission:]):
              (-[WebFrame _postWithURL:data:contentType:triggeringEvent:]):
      
      WebBrowser:
      
      	- fixed 3109894 - Insecure form warning prompts twice
      
              * BrowserWebController.m:
              (-[BrowserWebController decideNavigationPolicyForAction:andRequest:inFrame:decisionListener:]):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2902 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f2954aae
  3. 01 Dec, 2002 1 commit
    • hyatt's avatar
      Convert the WebCore cache from LRU to size-adjusted and · fd2f79ae
      hyatt authored
      	popularity-aware LRU (LRU-SP).  With the improved cache,
      	the size restriction on images can be relaxed back to 40K
      	(from 16K) while retaining the same score on cvs-base.
      	This should result in better real-world performance.
      
              * khtml/misc/loader.cpp:
              (CachedObject::ref):
              (CachedObject::setSize):
              (m_tail):
              (LRUList::~LRUList):
              (Cache::flush):
              (FastLog2):
              (Cache::getLRUListFor):
              (Cache::removeFromLRUList):
              (Cache::insertInLRUList):
              (Cache::adjustSize):
              * khtml/misc/loader.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2901 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fd2f79ae
  4. 29 Nov, 2002 1 commit
    • gramps's avatar
      * khtml/css/html4.css: · b504b4c1
      gramps authored
      Finally tweak headline font sizes and margins to match Gecko and CSS
      standard:
          - increase H1 font-size from 1.7em to 2em
          - increase H2 font-size from 1.4em to 1.5em
          - make H2 top and bottom margin match (bottom was strangely .87em)
          - increase H4 margin from 1.0em to 1.33em
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2900 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b504b4c1
  5. 28 Nov, 2002 1 commit
    • darin's avatar
      * Downloads.subproj/WebDownloadHandler.m: · 63464016
      darin authored
              (-[WebDownloadHandler createFileIfNecessary]): Add a FIXME.
              (-[WebDownloadHandler writeDataForkData:resourceForkData:]): Notify that the file system has
      	changed so the Finder can respond to the size change.
              (-[WebDownloadHandler finishedLoading]): Notify that the file system has changed now that the
      	download has completed and the files are closed (may be redundant now that we have the above,
      	but will do no harm).
      
              * Plugins.subproj/WebBaseNetscapePluginView.m:
              (-[WebBaseNetscapePluginView loadRequest:inTarget:withNotifyData:]):
      	Use _web_isCaseInsensitiveEqualToString instead of lowercaseString.
      
              * Misc.subproj/WebNSViewExtras.m: Tweak formatting.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2899 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      63464016
  6. 27 Nov, 2002 8 commits
  7. 26 Nov, 2002 16 commits
    • hyatt's avatar
      Smarter block inside inline handling. Eliminate whitespace · fd74e959
      hyatt authored
      	that is in between blocks inside inilnes.
      
              * khtml/xml/dom_textimpl.cpp:
              (TextImpl::attach):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2890 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fd74e959
    • hyatt's avatar
      Don't let blocks inside inlines collapse with their surroundings · a867c4cc
      hyatt authored
      	ever.
      
              * khtml/rendering/render_flow.cpp:
              (RenderFlow::layoutBlockChildren):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2889 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a867c4cc
    • hyatt's avatar
      Fix a collapsing margin regression on aintitcool caused by · a70ea4e9
      hyatt authored
      	my support of blocks inside inlines.  A block could be wrapped
      	by an inline, e.g., <font><p>foo</p></font>, and in this case,
      	you do not apply the collapsing margin quirk.  The margin stays.
      
              * khtml/rendering/render_flow.cpp:
              (RenderFlow::layoutBlockChildren):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2888 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a70ea4e9
    • cblu's avatar
      WebKit: · af69d0e5
      cblu authored
      	Fixed: 3090834 - Launch WMP (Window Media Player) when encountering WMP content
      
      	Added contentURL to WebPluginError.
      
              * Plugins.subproj/WebNetscapePluginDocumentView.m:
              (-[WebNetscapePluginDocumentView setDataSource:]):
              * Plugins.subproj/WebNetscapePluginPackage.m:
              (-[WebNetscapePluginPackage initWithPath:]):
              * Plugins.subproj/WebNullPluginView.m:
              (-[WebNullPluginView viewDidMoveToWindow]):
              * Plugins.subproj/WebPluginError.h:
              * Plugins.subproj/WebPluginError.m:
              (-[WebPluginErrorPrivate dealloc]):
              (-[WebPluginError dealloc]):
              * WebCoreSupport.subproj/WebBridge.m:
              (-[WebBridge viewForPluginWithURL:attributes:baseURL:MIMEType:]):
              (-[WebBridge viewForJavaAppletWithFrame:attributes:baseURL:]):
      
      WebBrowser:
      
      	Fixed: 3090834 - Launch WMP (Window Media Player) when encountering WMP content
      
              * BrowserNSWorkspaceExtras.h:
              * BrowserNSWorkspaceExtras.m:
              (-[NSWorkspace pathForApplicationOfFileAtPath:]): fixed leak
              (-[NSWorkspace pathForApplicationForMIMEType:]): added
              * English.lproj/Localizable.strings:
              * LoadProgressMonitor.m:
              (-[LoadProgressMonitor launchApplicationSheetEnded:returnCode:contextInfo:]): launch WMP
              (-[LoadProgressMonitor pluginErrorSheetEnded:returnCode:contextInfo:]): renamed
              (-[LoadProgressMonitor pluginFailedWithError:dataSource:]): check for WMP content
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2887 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      af69d0e5
    • hyatt's avatar
      Fix the font family stuff to be refcounted, so copying · 99a0b88d
      hyatt authored
      	fonts stays cheap.  Re-enabling it.
      
      	Patch the render_arena code with some debugging info
      	to help detect when memory gets trashed.
      
      	Fix the background painting code to deal with negative
      	x and y bakcground positions.  Fixes the brain on
      	brainjar.com.
      
              * khtml/css/cssstyleselector.cpp:
              * khtml/rendering/render_arena.cpp:
              (RenderArena::free):
              * khtml/rendering/render_box.cpp:
              (RenderBox::paintBackground):
              * kwq/KWQFont.h:
              * kwq/KWQFont.mm:
              (QFontFamily::QFontFamily):
              (QFontFamily::operator=):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2886 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      99a0b88d
    • sheridan's avatar
      Alex-34 stamp · 28b2189d
      sheridan authored
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2884 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      28b2189d
    • mjs's avatar
      Change ActivationImp to be allocated via the garbage collector · 0e6b4f09
      mjs authored
      	again instead of on the stack. This fixes the following four
      	regressions but sadly it causes a 6% performance hit. It's
      	probably possibly to reduce the hit a bit by being smarter about
      	inlining and the way the marking list variant is implemented, but
      	I'll look into that later.
      
      	- fixed 3111500 - REGRESSION: crash in "KJS::ScopeChain::mark()" on www.posci.com
      	- fixed 3111145 - REGRESSION: reproducible crash in KJS hashtable lookup at time.com
      	- fixed 3110897 - REGRESSION: javascript crasher on http://bmwgallery.tripod.com/
      	- fixed 3109987 - REGRESSION: Reproducible crash in KJS ObjectImp at live365.com
      
      	Also:
      
      	- improved DEBUG_COLLECTOR mode a bit by never giving memory back
      	to the system.
      
              * kjs/collector.cpp:
              * kjs/context.h:
              * kjs/function.cpp:
              (ActivationImp::ActivationImp):
              (ActivationImp::mark):
              (ActivationImp::createArgumentsObject):
              * kjs/function.h:
              * kjs/internal.cpp:
              (ContextImp::ContextImp):
              (ContextImp::mark):
              * kjs/list.cpp:
              * kjs/list.h:
              * kjs/value.cpp:
              (Value::Value):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2883 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0e6b4f09
    • darin's avatar
      * kjs/property_map.cpp: · 13d73dc6
      darin authored
      	(PropertyMap::save): Look at the attributes the same way in the single hash entry
      	case as in the actual hash table case. Change the rule for which attributes to save
      	to "attributes that don't have the ReadOnly, DontEnum, or Function bit set".
              Also fix bug where saving an empty property map would leave the count set to the old value.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2882 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      13d73dc6
    • rjw's avatar
      JavaScriptCore · 3f05b75a
      rjw authored
              Remove debugging code.  Could be cause of performance regresssion.
              * kjs/nodes.cpp:
              (FunctionCallNode::evaluate):
      
              Restire attributes correctly.
              * kjs/property_map.cpp:
      
      WebKit        Only cache page if the load has completed.
              * WebView.subproj/WebFramePrivate.m:
              (-[WebFrame _setState:]):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2881 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3f05b75a
    • hyatt's avatar
      Backing out support for multiple font families for now. · 6d8e1e57
      hyatt authored
      	The support is still there in QFont.  I've just stopped
      	the style selector from walking the entire value list (it
      	will only put the first family into the font).
      
      	The original change  caused a 5% perf regression.
      	I'm going to see what kinds of tricks I can pull to get
      	some of this back before re-enabling the feature.
      
              * khtml/css/cssstyleselector.cpp:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2880 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6d8e1e57
    • cblu's avatar
      Removed some logging. · cb7cf7f9
      cblu authored
              * WebView.subproj/WebControllerPrivate.m:
              (+[WebController _supportedImageMIMETypes]):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2879 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cb7cf7f9
    • cblu's avatar
      WebFoundation: · 8966bc86
      cblu authored
      	Added MIME types for images that NSImage can handle.
      
              * types.plist:
      
      WebKit:
      
      	Fixed: 3112003 - Show standalone tiffs using AppKit not QT plug-in
      
      	We now dynamically check NSImage for supported image types when registering WebImageView's and WebImageRepresentation's supported MIME types.
      
              * WebView.subproj/WebControllerPrivate.h:
              * WebView.subproj/WebControllerPrivate.m:
              (+[WebController _supportedImageMIMETypes]): convert NSImage types to mime types
              * WebView.subproj/WebDataSourcePrivate.m:
              (+[WebDataSource _repTypes]): use _supportedImageMIMETypes to register mime types of WebImageRepresentation
              * WebView.subproj/WebViewPrivate.m:
              (+[WebView _viewTypes]): use _supportedImageMIMETypes to register mime types of WebImageView
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2878 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8966bc86
    • hyatt's avatar
      Fix render object removal to remerge adjacent anonymous inline boxes · 1e2f5634
      hyatt authored
      	when an intervening block box gets removed.
      
              * khtml/rendering/render_flow.cpp:
              (RenderFlow::removeChild):
              * khtml/rendering/render_flow.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2877 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1e2f5634
    • cblu's avatar
      Fixed: 3061174 - javascript: URLs sent by plugins don't work · 1c8f2449
      cblu authored
      	For "Javascript:" URLs.
      
              * Plugins.subproj/WebBaseNetscapePluginView.m:
              (-[WebBaseNetscapePluginView loadRequest:inTarget:withNotifyData:]): lowercase the scheme
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2876 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1c8f2449
    • rjw's avatar
      · e1a5bc6d
      rjw authored
      WebBrowser
              Added some logging to indicate when page cache is turned on.
      
              * Debug/DebugUtilities.m:
              (-[BrowserDocument toggleBackForwardEnabled:]):
      
      WebKit
              More work on back/forward cache.  It's ready for
              more general testing.  Although, to be safe I've
              left it disabled by default for tomorrow's release.
              It will log when a page is save and restored from
              the page cache.
      
              * WebCoreSupport.subproj/WebBridge.m:
              (-[WebBridge saveDocumentToPageCache:]):
              * WebView.subproj/WebDataSourcePrivate.m:
              (-[WebDataSource _startLoading:]):
              (-[WebDataSource _commitIfReady:]):
              (-[WebDataSource _loadIcon]):
              * WebView.subproj/WebFramePrivate.h:
              * WebView.subproj/WebFramePrivate.m:
              (-[WebFrame _transitionToCommitted:]):
              (-[WebFrame _setState:]):
              (-[WebFrame _loadItem:fromItem:withLoadType:]):
              (-[WebFrame _continueLoadRequestAfterNavigationPolicy:request:]):
              (-[WebFrame _setProvisionalDataSource:]):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2875 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e1a5bc6d
    • rjw's avatar
      JavaScriptCore · e67107bd
      rjw authored
              Use delete[] (not delete) operator to delete array.
      
              * kjs/property_map.cpp:
      
      WebBrowser
              Use cleaned up API to enable/disable page cache.
      
              * Debug/DebugUtilities.m:
              (-[BrowserDocument toggleBackForwardEnabled:]):
      
      WebCore
              Cleanup up leaking objects in page cache.
      
              * kwq/KWQKHTMLPart.mm:
              (KWQKHTMLPart::openURLFromPageCache):
              * kwq/WebCoreBridge.mm:
              (-[KWQPageState initWithDocument:DOM::URL:windowProperties:KJS::locationProperties:KJS::]):
              (-[KWQPageState dealloc]):
      
      WebKit
              Cleanup leaking objects in page cache.
              Cleaned up API a bit.
      
              * History.subproj/WebBackForwardList.h:
              * History.subproj/WebBackForwardList.m:
              (-[WebBackForwardList dealloc]):
              (+[WebBackForwardList setUsesPageCache:]):
              (+[WebBackForwardList usesPageCache]):
              (+[WebBackForwardList setPageCacheSize:]):
              (+[WebBackForwardList pageCacheSize]):
              * History.subproj/WebHistoryItem.h:
              * History.subproj/WebHistoryItem.m:
              (-[WebHistoryItem setHasPageCache:]):
              * WebCoreSupport.subproj/WebBridge.m:
              (-[WebBridge saveDocumentToPageCache:]):
              * WebKit.exp:
              * WebView.subproj/WebFramePrivate.m:
              (-[WebFrame _canCachePage]):
              (-[WebFrame _purgePageCache]):
              (-[WebFrame _setState:]):
              (-[WebFrame _continueLoadRequestAfterNavigationPolicy:request:]):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2874 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e67107bd
  8. 25 Nov, 2002 1 commit