1 2007-10-24 Timothy Hatcher <timothy@apple.com>
5 <rdar://problem/5069711> OpenSource version of libWebKitSystemInterface.a is Tiger only, causes issues if used on Leopard
7 Use the WebKitSystemInterface that matches the system version.
9 * Configurations/DebugRelease.xcconfig:
10 * WebKit.xcodeproj/project.pbxproj:
12 2007-10-24 Brady Eidson <beidson@apple.com>
16 <rdar://problem/5554130> DatabaseTracker.o has a global initializer
18 * Misc/WebDatabaseManager.mm:
19 (WebKitSetWebDatabasesPathIfNecessary): Call the member function instead of a static one
21 2007-10-23 Mark Rowe <mrowe@apple.com>
23 Build fix for Eric's build fix in r26916.
25 * MigrateHeaders.make:
27 2007-10-22 Eric Seidel <eric@webkit.org>
31 * MigrateHeaders.make: copy over font-face related DOM headers
33 2007-10-22 Andrew Wellington <proton@wiretapped.net>
35 Reviewed by Mark Rowe.
37 Fix for local database support after r26879
38 Ensure that ENABLE_DATABASE and ENABLE_ICONDATABASE are correctly set
40 * Configurations/WebKit.xcconfig:
42 2007-10-19 Brady Eidson <beidson@apple.com>
44 Reviewed by Tim Hatcher
46 Added support for Chrome prompts required by the Storage API
47 Added support API for future managing of databases from the WebKit client
48 Added preference and initialization for the databases path
50 * Misc/WebDatabaseManager.h: Added. WebDatabaseManager is how a WebKit application can list and
51 remove the current available databases
52 * Misc/WebDatabaseManager.mm: Added.
53 (+[WebDatabaseManager origins]):
54 (+[WebDatabaseManager databasesWithOrigin:]):
55 (+[WebDatabaseManager deleteAllDatabases]):
56 (+[WebDatabaseManager deleteAllDatabasesWithOrigin:]):
57 (+[WebDatabaseManager deleteDatabaseWithOrigin:named:]):
58 (WebKitSetWebDatabasesPathIfNecessary): Setup the database path
59 * Misc/WebDatabaseManagerPrivate.h: Added.
61 * WebCoreSupport/WebChromeClient.h: Support for calling the delegate to run the prompt for
62 an origin exceeding its size limit
63 * WebCoreSupport/WebChromeClient.mm:
64 (WebChromeClient::runDatabaseSizeLimitPrompt):
65 * WebKit.xcodeproj/project.pbxproj:
66 * WebView/WebUIDelegate.h:
69 (-[WebView _commonInitializationWithFrameName:groupName:]): Setup the database path
70 * WebView/WebViewInternal.h:
72 2007-10-19 John Sullivan <sullivan@apple.com>
74 Reviewed by Tim Hatcher
76 - fixed <rdar://problem/5540325> REGRESSION (2.0.4-3): History menu looks odd after clearing history
78 * History/WebHistory.mm:
79 (-[WebHistoryPrivate removeAllItems]):
80 This was fallout from r25275. We need to clear the orderedLastVisitedDays cache here, in addition
81 to the other places where it's cleared.
83 2007-10-18 Dan Bernstein <dan.bernstein@apple.com>
87 * WebView/WebDataSource.mm:
88 (-[WebDataSource _MIMETypeOfResponse:]):
90 2007-10-18 Dan Bernstein <dan.bernstein@apple.com>
92 Reviewed by Adam Roben.
94 - fix <rdar://problem/5313523>
95 REGRESSION(Leopard): http/tests/incremental/slow-utf8-text.pl fails on Leopard
97 * WebCoreSupport/WebFrameLoaderClient.mm:
98 (WebFrameLoaderClient::makeDocumentView): Changed to use _responseMIMEType.
99 * WebView/WebDataSource.mm:
100 (-[WebDataSource _MIMETypeOfResponse:]): Added. Works around
101 <rdar://problem/5321972> by testing for the case of an NSHTTPURLResponse
102 with a MIMEType of application/octet-stream and a Content-Type header
103 starting with text/plain and returning text/plain as the MIME type in
105 (-[WebDataSource _responseMIMEType]): Added. Used to get the correct
107 (-[WebDataSource _isDocumentHTML]): Changed to use _responseMIMEType.
108 (-[WebDataSource _makeRepresentation]): Ditto.
109 (-[WebDataSource mainResource]): Ditto.
110 (-[WebDataSource subresources]): Changed to use _MIMETypeOfResponse and
111 pass the MIME type explicitly.
112 (-[WebDataSource subresourceForURL:]): Ditto.
113 * WebView/WebDataSourcePrivate.h:
114 * WebView/WebFrameView.mm:
115 (-[WebFrameView _makeDocumentViewForDataSource:]): Changed to use
117 * WebView/WebResource.mm:
118 (-[WebResource _initWithData:URL:response:MIMEType:]): Changed this
119 method to take a MIME type instead of extracting it from the response,
120 so that WebDataSource could pass the correct MIME type.
121 * WebView/WebResourcePrivate.h:
122 >>>>>>> trunk:WebKit/ChangeLog
124 2007-10-17 Darin Adler <darin@apple.com>
126 Reviewed by Mark Rowe.
128 - fix <rdar://problem/5183775> Uninitialized memory in -[WebDynamicScrollBarsView updateScrollers]
130 * WebView/WebDynamicScrollBarsView.m: (-[WebDynamicScrollBarsView updateScrollers]):
131 Change code path so it doesn't dispatch a method that returns an NSSize passing a nil object.
132 It's safe to do that for functions that return integers or pointers, but not structures.
134 2007-10-16 David Kilzer <ddkilzer@apple.com>
138 <rdar://problem/5544354> Wrong delegate method called in
139 WebFrameLoaderClient::dispatchDidReceiveServerRedirectForProvisionalLoad()
141 * WebCoreSupport/WebFrameLoaderClient.mm:
142 (WebFrameLoaderClient::dispatchDidReceiveServerRedirectForProvisionalLoad): Fixed selector name.
144 2007-10-16 Darin Adler <darin@apple.com>
148 - moved transpose command implementation into WebCore
150 * WebView/WebHTMLView.mm: Removed transpose: and replaced it with standard WebCore forwarding.
152 2007-10-16 Darin Adler <darin@apple.com>
154 Reviewed by Maciej and Geoff (and looked over by Eric).
156 - http://bugs.webkit.org/show_bug.cgi?id=15519
157 eliminate use of <ctype.h> for processing ASCII
159 * ForwardingHeaders/wtf/ASCIICType.h: Added.
160 * ForwardingHeaders/wtf/DisallowCType.h: Added.
162 * WebKitPrefix.h: Include DisallowCType.h.
164 * Misc/WebNSURLExtras.mm: (-[NSURL _web_URLWithLowercasedScheme]): Use toASCIILower.
165 * WebView/WebHTMLView.mm:
166 (-[WebHTMLView callWebCoreCommand:]): Use toASCIIUpper.
167 (-[WebTextCompleteController filterKeyDown:]): Add a list of specific character codes,
168 instead of using ispunct.
170 2007-10-16 John Sullivan <sullivan@apple.com>
172 Reviewed by Adam Roben
174 Cleaned up localizable strings
176 * English.lproj/Localizable.strings:
178 * StringsNotToBeLocalized.txt:
180 * WebKit.xcodeproj/project.pbxproj:
181 StringsNotToBeLocalized.txt recently moved but project file wasn't updated to match; now it is
183 2007-10-15 Kevin Decker <kdecker@apple.com>
185 Reviewed by Darin Adler.
187 Fixed: <rdar://problem/5520541> REGRESSION: Broken image when forwarding certain email on Tiger
189 * WebCoreSupport/WebFrameBridge.mm: The problem was that we were loading Mail's WebKit plug-in
190 too soon, which borked some necessary housekeeping on behalf of Mail. The fix is to add a quirk
191 that treats Tiger Mail's WebKit plug-in like a Netscape plug-in, thus ensuring the plug-in will
192 load during first layout and not attach time. For this plug-in, loading at first layout is
193 expected and is consistent with Safari 2 behavior.
195 2007-10-15 John Sullivan <sullivan@apple.com>
197 Reviewed by Geoff Garen
199 Replaced NS_DURING/NS_HANDLER with @try/@catch throughout WebKit
201 I made the following changes:
202 - replaced NS_DURING with @try, and added opening brace if there wasn't one
203 - replaced NS_HANDLER with @catch (NSException *localException), and added braces if there weren't any
204 - removed NS_ENDHANDLER, and added a closing brace if there wasn't one
205 - in a couple of places, fixed indentation therein
207 * Misc/WebIconDatabase.mm:
208 (objectFromPathForKey):
209 * WebView/WebHTMLView.mm:
210 (-[WebHTMLView drawSingleRect:]):
211 (-[WebHTMLView beginDocument]):
212 (-[WebHTMLView deleteToMark:]):
213 * WebView/WebView.mm:
214 (-[WebView initWithCoder:]):
216 == Rolled over to ChangeLog-2007-10-14 ==