1 2007-10-25 David Hyatt <hyatt@apple.com>
3 Fix for bug 15672, backgrounds don't tile properly inside transforms. This patch fixes tiling
4 of backgrounds inside CSS transforms and also of HTML content with background images inside SVG
7 Reviewed by aroben and mmitz
9 * WebCoreSupport/WebSystemInterface.m:
10 (InitWebCoreSystemInterface):
11 * WebKit.xcodeproj/project.pbxproj:
13 2007-10-25 John Sullivan <sullivan@apple.com>
15 Reviewed by Tim Hatcher
17 Removed the support for toggling whether WebKit uses the 10.5 PDFKit improvements. Now it
18 always does, when available.
20 * WebView/WebPreferencesPrivate.h:
21 removed _usePDFPreviewView and _setUsePDFPreviewView:. Note that these were guarded with
22 a comment that says that they can be removed when no longer needed. That time is now.
24 * WebView/WebPreferences.m:
25 (+[WebPreferences initialize]):
26 removed WebKitUsePDFPreviewViewPreferenceKey
27 (-[WebPreferences _usePDFPreviewView]):
29 (-[WebPreferences _setUsePDFPreviewView:]):
32 * WebView/WebPDFView.mm:
33 (-[WebPDFView initWithFrame:]):
34 don't check _usePDFPreviewView
36 * WebView/WebPreferenceKeysPrivate.h:
37 removed WebKitUsePDFPreviewViewPreferenceKey
39 2007-10-24 Timothy Hatcher <timothy@apple.com>
41 Reviewed by Mark Rowe.
43 <rdar://problem/5069711> OpenSource version of libWebKitSystemInterface.a is Tiger only, causes issues if used on Leopard
45 Use the WebKitSystemInterface that matches the system version.
47 * Configurations/DebugRelease.xcconfig:
48 * WebKit.xcodeproj/project.pbxproj:
50 2007-10-24 Brady Eidson <beidson@apple.com>
54 <rdar://problem/5554130> DatabaseTracker.o has a global initializer
56 * Misc/WebDatabaseManager.mm:
57 (WebKitSetWebDatabasesPathIfNecessary): Call the member function instead of a static one
59 2007-10-23 Mark Rowe <mrowe@apple.com>
61 Build fix for Eric's build fix in r26916.
63 * MigrateHeaders.make:
65 2007-10-22 Eric Seidel <eric@webkit.org>
69 * MigrateHeaders.make: copy over font-face related DOM headers
71 2007-10-22 Andrew Wellington <proton@wiretapped.net>
73 Reviewed by Mark Rowe.
75 Fix for local database support after r26879
76 Ensure that ENABLE_DATABASE and ENABLE_ICONDATABASE are correctly set
78 * Configurations/WebKit.xcconfig:
80 2007-10-19 Brady Eidson <beidson@apple.com>
82 Reviewed by Tim Hatcher
84 Added support for Chrome prompts required by the Storage API
85 Added support API for future managing of databases from the WebKit client
86 Added preference and initialization for the databases path
88 * Misc/WebDatabaseManager.h: Added. WebDatabaseManager is how a WebKit application can list and
89 remove the current available databases
90 * Misc/WebDatabaseManager.mm: Added.
91 (+[WebDatabaseManager origins]):
92 (+[WebDatabaseManager databasesWithOrigin:]):
93 (+[WebDatabaseManager deleteAllDatabases]):
94 (+[WebDatabaseManager deleteAllDatabasesWithOrigin:]):
95 (+[WebDatabaseManager deleteDatabaseWithOrigin:named:]):
96 (WebKitSetWebDatabasesPathIfNecessary): Setup the database path
97 * Misc/WebDatabaseManagerPrivate.h: Added.
99 * WebCoreSupport/WebChromeClient.h: Support for calling the delegate to run the prompt for
100 an origin exceeding its size limit
101 * WebCoreSupport/WebChromeClient.mm:
102 (WebChromeClient::runDatabaseSizeLimitPrompt):
103 * WebKit.xcodeproj/project.pbxproj:
104 * WebView/WebUIDelegate.h:
106 * WebView/WebView.mm:
107 (-[WebView _commonInitializationWithFrameName:groupName:]): Setup the database path
108 * WebView/WebViewInternal.h:
110 2007-10-19 John Sullivan <sullivan@apple.com>
112 Reviewed by Tim Hatcher
114 - fixed <rdar://problem/5540325> REGRESSION (2.0.4-3): History menu looks odd after clearing history
116 * History/WebHistory.mm:
117 (-[WebHistoryPrivate removeAllItems]):
118 This was fallout from r25275. We need to clear the orderedLastVisitedDays cache here, in addition
119 to the other places where it's cleared.
121 2007-10-18 Dan Bernstein <dan.bernstein@apple.com>
125 * WebView/WebDataSource.mm:
126 (-[WebDataSource _MIMETypeOfResponse:]):
128 2007-10-18 Dan Bernstein <dan.bernstein@apple.com>
130 Reviewed by Adam Roben.
132 - fix <rdar://problem/5313523>
133 REGRESSION(Leopard): http/tests/incremental/slow-utf8-text.pl fails on Leopard
135 * WebCoreSupport/WebFrameLoaderClient.mm:
136 (WebFrameLoaderClient::makeDocumentView): Changed to use _responseMIMEType.
137 * WebView/WebDataSource.mm:
138 (-[WebDataSource _MIMETypeOfResponse:]): Added. Works around
139 <rdar://problem/5321972> by testing for the case of an NSHTTPURLResponse
140 with a MIMEType of application/octet-stream and a Content-Type header
141 starting with text/plain and returning text/plain as the MIME type in
143 (-[WebDataSource _responseMIMEType]): Added. Used to get the correct
145 (-[WebDataSource _isDocumentHTML]): Changed to use _responseMIMEType.
146 (-[WebDataSource _makeRepresentation]): Ditto.
147 (-[WebDataSource mainResource]): Ditto.
148 (-[WebDataSource subresources]): Changed to use _MIMETypeOfResponse and
149 pass the MIME type explicitly.
150 (-[WebDataSource subresourceForURL:]): Ditto.
151 * WebView/WebDataSourcePrivate.h:
152 * WebView/WebFrameView.mm:
153 (-[WebFrameView _makeDocumentViewForDataSource:]): Changed to use
155 * WebView/WebResource.mm:
156 (-[WebResource _initWithData:URL:response:MIMEType:]): Changed this
157 method to take a MIME type instead of extracting it from the response,
158 so that WebDataSource could pass the correct MIME type.
159 * WebView/WebResourcePrivate.h:
160 >>>>>>> trunk:WebKit/ChangeLog
162 2007-10-17 Darin Adler <darin@apple.com>
164 Reviewed by Mark Rowe.
166 - fix <rdar://problem/5183775> Uninitialized memory in -[WebDynamicScrollBarsView updateScrollers]
168 * WebView/WebDynamicScrollBarsView.m: (-[WebDynamicScrollBarsView updateScrollers]):
169 Change code path so it doesn't dispatch a method that returns an NSSize passing a nil object.
170 It's safe to do that for functions that return integers or pointers, but not structures.
172 2007-10-16 David Kilzer <ddkilzer@apple.com>
176 <rdar://problem/5544354> Wrong delegate method called in
177 WebFrameLoaderClient::dispatchDidReceiveServerRedirectForProvisionalLoad()
179 * WebCoreSupport/WebFrameLoaderClient.mm:
180 (WebFrameLoaderClient::dispatchDidReceiveServerRedirectForProvisionalLoad): Fixed selector name.
182 2007-10-16 Darin Adler <darin@apple.com>
186 - moved transpose command implementation into WebCore
188 * WebView/WebHTMLView.mm: Removed transpose: and replaced it with standard WebCore forwarding.
190 2007-10-16 Darin Adler <darin@apple.com>
192 Reviewed by Maciej and Geoff (and looked over by Eric).
194 - http://bugs.webkit.org/show_bug.cgi?id=15519
195 eliminate use of <ctype.h> for processing ASCII
197 * ForwardingHeaders/wtf/ASCIICType.h: Added.
198 * ForwardingHeaders/wtf/DisallowCType.h: Added.
200 * WebKitPrefix.h: Include DisallowCType.h.
202 * Misc/WebNSURLExtras.mm: (-[NSURL _web_URLWithLowercasedScheme]): Use toASCIILower.
203 * WebView/WebHTMLView.mm:
204 (-[WebHTMLView callWebCoreCommand:]): Use toASCIIUpper.
205 (-[WebTextCompleteController filterKeyDown:]): Add a list of specific character codes,
206 instead of using ispunct.
208 2007-10-16 John Sullivan <sullivan@apple.com>
210 Reviewed by Adam Roben
212 Cleaned up localizable strings
214 * English.lproj/Localizable.strings:
216 * StringsNotToBeLocalized.txt:
218 * WebKit.xcodeproj/project.pbxproj:
219 StringsNotToBeLocalized.txt recently moved but project file wasn't updated to match; now it is
221 2007-10-15 Kevin Decker <kdecker@apple.com>
223 Reviewed by Darin Adler.
225 Fixed: <rdar://problem/5520541> REGRESSION: Broken image when forwarding certain email on Tiger
227 * WebCoreSupport/WebFrameBridge.mm: The problem was that we were loading Mail's WebKit plug-in
228 too soon, which borked some necessary housekeeping on behalf of Mail. The fix is to add a quirk
229 that treats Tiger Mail's WebKit plug-in like a Netscape plug-in, thus ensuring the plug-in will
230 load during first layout and not attach time. For this plug-in, loading at first layout is
231 expected and is consistent with Safari 2 behavior.
233 2007-10-15 John Sullivan <sullivan@apple.com>
235 Reviewed by Geoff Garen
237 Replaced NS_DURING/NS_HANDLER with @try/@catch throughout WebKit
239 I made the following changes:
240 - replaced NS_DURING with @try, and added opening brace if there wasn't one
241 - replaced NS_HANDLER with @catch (NSException *localException), and added braces if there weren't any
242 - removed NS_ENDHANDLER, and added a closing brace if there wasn't one
243 - in a couple of places, fixed indentation therein
245 * Misc/WebIconDatabase.mm:
246 (objectFromPathForKey):
247 * WebView/WebHTMLView.mm:
248 (-[WebHTMLView drawSingleRect:]):
249 (-[WebHTMLView beginDocument]):
250 (-[WebHTMLView deleteToMark:]):
251 * WebView/WebView.mm:
252 (-[WebView initWithCoder:]):
254 == Rolled over to ChangeLog-2007-10-14 ==