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