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