Hook up request and show for typing candidates in WK1
[WebKit-https.git] / Source / WebKit / mac / ChangeLog
1 2015-12-07  Beth Dakin  <bdakin@apple.com>
2
3         Hook up request and show for typing candidates in WK1
4         https://bugs.webkit.org/show_bug.cgi?id=151831
5         -and corresponding-
6         <rdar://problem/23751214>
7
8         Reviewed by Enrica Casucci.
9
10         Add member variables to WebEditorClient. One is a WeakPtrFactory for the 
11         asynchronous handlers, and the other caches the VisibleSelection at the time 
12         candidates were requested so that we can make sure the candidates are still 
13         valid once we receive them.
14         * WebCoreSupport/WebEditorClient.h:
15         * WebCoreSupport/WebEditorClient.mm:
16         (WebEditorClient::WebEditorClient):
17
18         Call [NSSpellChecker requestCandidatesForSelectedRange] with the appropriate 
19         parameters.
20         (WebEditorClient::requestCandidatesForSelection):
21
22         Two helpers to compute information that we need for both of the handlers 
23         below.
24         (candidateRangeForSelection):
25         (candidateWouldReplaceText):
26
27         In this handler, we just need to call [NSSpellChecker showCandidates] with 
28         the appropriate parameters.
29         (WebEditorClient::handleRequestedCandidates):
30
31         Once a candidate is accepted, it should be inserted in the right way.
32         (WebEditorClient::handleAcceptedCandidate):
33
34 2015-12-03  Jer Noble  <jer.noble@apple.com>
35
36         Expose WebCore's InvisibleAutoplayNotPermitted setting to WebKit & WebKit2
37         https://bugs.webkit.org/show_bug.cgi?id=151830
38
39         Reviewed by Anders Carlsson.
40
41         Add a new WebPreferences property invisibleAutoplayNotPermitted.
42
43         * WebView/WebPreferenceKeysPrivate.h:
44         * WebView/WebPreferences.mm:
45         (-[WebPreferences invisibleAutoplayNotPermitted]):
46         (-[WebPreferences setInvisibleAutoplayNotPermitted:]):
47         * WebView/WebPreferencesPrivate.h:
48         * WebView/WebView.mm:
49         (-[WebView _preferencesChanged:]):
50
51 2015-12-03  Anders Carlsson  <andersca@apple.com>
52
53         Remove Objective-C GC support
54         https://bugs.webkit.org/show_bug.cgi?id=151819
55         rdar://problem/23746991
56
57         Reviewed by Dan Bernstein.
58
59         * Carbon/CarbonWindowAdapter.mm:
60         (+[CarbonWindowAdapter initialize]): Deleted.
61         (-[CarbonWindowAdapter finalize]): Deleted.
62         * Configurations/Base.xcconfig:
63         * History/WebBackForwardList.mm:
64         (+[WebBackForwardList initialize]): Deleted.
65         (-[WebBackForwardList finalize]): Deleted.
66         * History/WebHistory.mm:
67         (-[WebHistoryPrivate finalize]): Deleted.
68         (-[WebHistory finalize]): Deleted.
69         * History/WebHistoryItem.mm:
70         (+[WebHistoryItem initialize]): Deleted.
71         (-[WebHistoryItem finalize]): Deleted.
72         * Misc/WebElementDictionary.mm:
73         (+[WebElementDictionary initialize]): Deleted.
74         (-[WebElementDictionary finalize]): Deleted.
75         * Plugins/Hosted/WebHostedNetscapePluginView.mm:
76         (+[WebHostedNetscapePluginView initialize]): Deleted.
77         * Plugins/WebBaseNetscapePluginView.mm:
78         (-[WebBaseNetscapePluginView finalize]): Deleted.
79         * Plugins/WebBasePluginPackage.mm:
80         (-[WebBasePluginPackage finalize]): Deleted.
81         * Plugins/WebNetscapePluginView.mm:
82         (+[WebNetscapePluginView initialize]): Deleted.
83         (-[WebNetscapePluginView finalize]): Deleted.
84         * Plugins/WebPluginContainerCheck.mm:
85         (-[WebPluginContainerCheck finalize]): Deleted.
86         * WebCoreSupport/WebEditorClient.mm:
87         (+[WebUndoStep initialize]): Deleted.
88         (-[WebUndoStep finalize]): Deleted.
89         * WebCoreSupport/WebFrameLoaderClient.mm:
90         * WebCoreSupport/WebOpenPanelResultListener.mm:
91         (-[WebOpenPanelResultListener finalize]): Deleted.
92         * WebCoreSupport/WebSecurityOrigin.mm:
93         (-[WebSecurityOrigin finalize]): Deleted.
94         * WebView/WebArchive.mm:
95         (+[WebArchivePrivate initialize]): Deleted.
96         * WebView/WebDataSource.mm:
97         (+[WebDataSource initialize]): Deleted.
98         (-[WebDataSource finalize]): Deleted.
99         * WebView/WebDynamicScrollBarsView.mm:
100         (-[WebDynamicScrollBarsView finalize]): Deleted.
101         * WebView/WebFrame.mm:
102         (-[WebFramePrivate setWebFrameView:]):
103         (-[WebFramePrivate finalize]): Deleted.
104         (-[WebFrame finalize]): Deleted.
105         * WebView/WebFrameView.mm:
106         (-[WebFrameView finalize]): Deleted.
107         * WebView/WebHTMLRepresentation.mm:
108         (-[WebHTMLRepresentation finalize]): Deleted.
109         * WebView/WebHTMLView.mm:
110         (+[WebHTMLViewPrivate initialize]):
111         (-[WebHTMLViewPrivate finalize]): Deleted.
112         (+[WebHTMLView initialize]): Deleted.
113         (-[WebHTMLView finalize]): Deleted.
114         * WebView/WebResource.mm:
115         (+[WebResourcePrivate initialize]): Deleted.
116         (-[WebResourcePrivate finalize]): Deleted.
117         * WebView/WebTextIterator.mm:
118         (+[WebTextIteratorPrivate initialize]): Deleted.
119         * WebView/WebView.mm:
120         (-[WebView finalize]): Deleted.
121         * WebView/WebViewData.mm:
122         (+[WebViewPrivate initialize]): Deleted.
123         (-[WebViewPrivate init]): Deleted.
124         (-[WebViewPrivate finalize]): Deleted.
125
126 2015-12-02  Antti Koivisto  <antti@apple.com>
127
128         Move ResourceLoadScheduler to WebKit1
129         https://bugs.webkit.org/show_bug.cgi?id=151743
130
131         Reviewed by Alex Christensen.
132
133         * Plugins/Hosted/HostedNetscapePluginStream.mm:
134         (WebKit::HostedNetscapePluginStream::start):
135         (WebKit::HostedNetscapePluginStream::stop):
136         * Plugins/WebNetscapePluginStream.mm:
137         (WebNetscapePluginStream::start):
138         (WebNetscapePluginStream::stop):
139         * WebCoreSupport/WebPlatformStrategies.h:
140         * WebCoreSupport/WebPlatformStrategies.mm:
141         (WebPlatformStrategies::createLoaderStrategy):
142         (WebPlatformStrategies::createPasteboardStrategy):
143         (WebPlatformStrategies::createPluginStrategy):
144         (WebPlatformStrategies::createBlobRegistry):
145         (WebPlatformStrategies::cookiesForDOM):
146         * WebView/WebView.mm:
147         (-[WebView _dispatchPendingLoadRequests]):
148         (+[WebView _setLoadResourcesSerially:]):
149         (+[WebView _HTTPPipeliningEnabled]):
150
151 2015-12-01  Yusuke Suzuki  <utatane.tea@gmail.com>
152
153         [ES6] Implement LLInt/Baseline Support for ES6 Generators and enable this feature
154         https://bugs.webkit.org/show_bug.cgi?id=150792
155
156         Reviewed by Saam Barati.
157
158         * Configurations/FeatureDefines.xcconfig:
159
160 2015-12-01  Commit Queue  <commit-queue@webkit.org>
161
162         Unreviewed, rolling out r192914.
163         https://bugs.webkit.org/show_bug.cgi?id=151734
164
165         JSC tests for this change are failing on 32 and 64-bit bots
166         (Requested by ryanhaddad on #webkit).
167
168         Reverted changeset:
169
170         "[ES6] Implement LLInt/Baseline Support for ES6 Generators and
171         enable this feature"
172         https://bugs.webkit.org/show_bug.cgi?id=150792
173         http://trac.webkit.org/changeset/192914
174
175 2015-12-01  Yusuke Suzuki  <utatane.tea@gmail.com>
176
177         [ES6] Implement LLInt/Baseline Support for ES6 Generators and enable this feature
178         https://bugs.webkit.org/show_bug.cgi?id=150792
179
180         Reviewed by Saam Barati.
181
182         * Configurations/FeatureDefines.xcconfig:
183
184 2015-11-30  Katlyn Graff  <kgraff@apple.com>
185
186         Rename ActiveDOMObject/DOMWindow PageCacheSuspension code to support more reasons for suspension
187         https://bugs.webkit.org/show_bug.cgi?id=151677
188
189         Reviewed by Ryosuke Niwa.
190
191         * WebView/WebFrame.mm:
192         (-[WebFrame _cacheabilityDictionary]):
193
194 2015-11-30  Jiewen Tan  <jiewen_tan@apple.com>
195
196         Null dereference loading Blink layout test http/tests/misc/detach-during-notifyDone.html
197         https://bugs.webkit.org/show_bug.cgi?id=149309
198         <rdar://problem/22748363>
199
200         Reviewed by Brent Fulgham.
201
202         * WebView/WebDataSource.mm:
203         (WebDataSourcePrivate::~WebDataSourcePrivate):
204         Refine the assertion to treat <rdar://problem/9673866>.
205
206 == Rolled over to ChangeLog-2015-11-21 ==