2010-08-30 Alejandro G. Castro <alex@igalia.com>
[WebKit-https.git] / WebKitExamplePlugins / ChangeLog
1 2010-06-16  Anders Carlsson  <andersca@apple.com>
2
3         Fix build.
4
5         * NetscapeCoreAnimationMoviePlugin/main.m:
6         (NPP_New):
7         (NPP_WriteReady):
8         (NPP_Write):
9         (NPP_HandleEvent):
10
11 2010-06-10  Anders Carlsson  <andersca@apple.com>
12
13         Fix build.
14
15         * NetscapeCocoaPlugin/NetscapeCocoaPlugin.xcodeproj/project.pbxproj:
16         * NetscapeCocoaPlugin/main.m:
17         (NPP_New):
18         (NPP_NewStream):
19         (NPP_WriteReady):
20         (NPP_Write):
21         (NPP_HandleEvent):
22
23 2010-03-02  Anders Carlsson  <andersca@apple.com>
24
25         Reviewed by Kevin Decker.
26
27         NPWindow is now null in the Cocoa event model.
28
29         * NetscapeInputMethodPlugin/main.m:
30         (handleDraw):
31         (NPP_HandleEvent):
32
33 2009-07-10  Adam Roben  <aroben@apple.com>
34
35         Sort all our Xcode projects
36
37         Accomplished using sort-Xcode-project-file.
38
39         Requested by Dave Kilzer.
40
41         * NetscapeCocoaPlugin/NetscapeCocoaPlugin.xcodeproj/project.pbxproj:
42         * NetscapeCoreAnimationMoviePlugin/NetscapeCoreAnimationMoviePlugin.xcodeproj/project.pbxproj:
43         * NetscapeCoreAnimationPlugin/NetscapeCoreAnimationPlugin.xcodeproj/project.pbxproj:
44
45 2009-06-15  Anders Carlsson  <andersca@apple.com>
46
47         Reviewed by Kevin Decker.
48
49         Add Core Animation movie plug-in example.
50         
51         * NetscapeCoreAnimationMoviePlugin: Added.
52         * NetscapeCoreAnimationMoviePlugin/English.lproj: Added.
53         * NetscapeCoreAnimationMoviePlugin/English.lproj/InfoPlist.strings: Added.
54         * NetscapeCoreAnimationMoviePlugin/Info.plist: Added.
55         * NetscapeCoreAnimationMoviePlugin/MovieControllerLayer.h: Added.
56         * NetscapeCoreAnimationMoviePlugin/MovieControllerLayer.m: Added.
57         (createImageNamed):
58         (-[MovieControllerLayer init]):
59         (-[MovieControllerLayer dealloc]):
60         (-[MovieControllerLayer _playPauseButtonRect]):
61         (-[MovieControllerLayer _sliderRect]):
62         (-[MovieControllerLayer _sliderThumbRect]):
63         (-[MovieControllerLayer _innerSliderRect]):
64         (-[MovieControllerLayer _drawPlayPauseButtonInContext:]):
65         (-[MovieControllerLayer _drawSliderInContext:]):
66         (-[MovieControllerLayer drawInContext:]):
67         (-[MovieControllerLayer _currentTime]):
68         (-[MovieControllerLayer _duration]):
69         (-[MovieControllerLayer _isPlaying]):
70         (-[MovieControllerLayer _updateTime:]):
71         (-[MovieControllerLayer _rateDidChange:]):
72         (-[MovieControllerLayer _timeDidChange:]):
73         (-[MovieControllerLayer actionForKey:]):
74         (-[MovieControllerLayer setMovie:]):
75         (-[MovieControllerLayer _setNewTimeForThumbCenterX:]):
76         (-[MovieControllerLayer handleMouseDown:]):
77         (-[MovieControllerLayer handleMouseUp:]):
78         (-[MovieControllerLayer handleMouseDragged:]):
79         * NetscapeCoreAnimationMoviePlugin/NetscapeCoreAnimationMoviePlugin.xcodeproj: Added.
80         * NetscapeCoreAnimationMoviePlugin/NetscapeCoreAnimationMoviePlugin.xcodeproj/project.pbxproj: Added.
81         * NetscapeCoreAnimationMoviePlugin/Pause.tiff: Added.
82         * NetscapeCoreAnimationMoviePlugin/Play.tiff: Added.
83         * NetscapeCoreAnimationMoviePlugin/SliderTrackCenter.tiff: Added.
84         * NetscapeCoreAnimationMoviePlugin/SliderTrackLeft.tiff: Added.
85         * NetscapeCoreAnimationMoviePlugin/SliderTrackRight.tiff: Added.
86         * NetscapeCoreAnimationMoviePlugin/Thumb.tiff: Added.
87         * NetscapeCoreAnimationMoviePlugin/main.m: Added.
88         (NP_Initialize):
89         (NP_GetEntryPoints):
90         (NP_Shutdown):
91         (NPP_New):
92         (NPP_Destroy):
93         (NPP_SetWindow):
94         (NPP_NewStream):
95         (NPP_DestroyStream):
96         (NPP_WriteReady):
97         (NPP_Write):
98         (NPP_StreamAsFile):
99         (NPP_Print):
100         (handleMouseDown):
101         (togglePlayPause):
102         (handleMouseUp):
103         (handleMouseDragged):
104         (handleMouseEntered):
105         (handleMouseExited):
106         (handleKeyDown):
107         (handleScrollEvent):
108         (NPP_HandleEvent):
109         (NPP_URLNotify):
110         (NPP_GetValue):
111         (NPP_SetValue):
112         * NetscapeCoreAnimationMoviePlugin/test.html: Added.
113
114 2009-04-27  Anders Carlsson  <andersca@apple.com>
115
116         Reviewed by Adam Roben.
117
118         Update the example plug-in for new changes to the Cocoa event model.
119         
120         * NetscapeCocoaPlugin/main.m:
121         (handleDraw):
122         (handleMouseEvent):
123         (NPP_HandleEvent):
124
125 2009-03-13  Anders Carlsson  <andersca@apple.com>
126
127         Reviewed by Kevin Decker.
128
129         Update to match new API.
130         
131         * NetscapeInputMethodPlugin/main.m:
132         (NPP_New):
133         (NPP_Destroy):
134         (NPP_SetWindow):
135         (handleDraw):
136         (invalidatePlugin):
137         (handleFocusChanged):
138         (handleMouseMoved):
139         (handleMouseDown):
140         (handleTextFieldKeyDown):
141         (handleTextInput):
142         (NPP_HandleEvent):
143         (NPP_URLNotify):
144         (NPP_GetValue):
145         (NPP_SetValue):
146
147 2008-12-12  Anders Carlsson  <andersca@apple.com>
148
149         Reviewed by Darin Adler.
150
151         There's no need to hold on to the QCComposition. Also, toggle between a gold and silver compass 
152         when a mouse button is pressed.
153         
154         * NetscapeCoreAnimationPlugin/Composition.qtz:
155         * NetscapeCoreAnimationPlugin/main.m:
156         (NPP_Destroy):
157         (handleMouseClick):
158         (NPP_GetValue):
159
160 2008-12-12  Anders Carlsson  <andersca@apple.com>
161
162         Revert some accidentally committed changes.
163         
164         * NetscapeCocoaPlugin/NetscapeCocoaPlugin.xcodeproj/project.pbxproj:
165         * NetscapeCocoaPlugin/main.m:
166         (handleDraw):
167         (handleMouseEvent):
168         (NPP_HandleEvent):
169
170 2008-12-12  Anders Carlsson  <andersca@apple.com>
171
172         Reviewed by Kevin Decker.
173
174         Add a sample Core Animation NPAPI plug-in.
175         
176         * NetscapeCocoaPlugin/NetscapeCocoaPlugin.xcodeproj/project.pbxproj:
177         * NetscapeCocoaPlugin/main.m:
178         (handleDraw):
179         (handleMouseEvent):
180         (NPP_HandleEvent):
181         * NetscapeCoreAnimationPlugin: Added.
182         * NetscapeCoreAnimationPlugin/Composition.qtz: Added.
183         * NetscapeCoreAnimationPlugin/English.lproj: Added.
184         * NetscapeCoreAnimationPlugin/English.lproj/InfoPlist.strings: Added.
185         * NetscapeCoreAnimationPlugin/Info.plist: Added.
186         * NetscapeCoreAnimationPlugin/NetscapeCoreAnimationPlugin.xcodeproj: Added.
187         * NetscapeCoreAnimationPlugin/NetscapeCoreAnimationPlugin.xcodeproj/project.pbxproj: Added.
188         * NetscapeCoreAnimationPlugin/main.m: Added.
189         (NP_Initialize):
190         (NP_GetEntryPoints):
191         (NP_Shutdown):
192         (NPP_New):
193         (NPP_Destroy):
194         (NPP_SetWindow):
195         (NPP_NewStream):
196         (NPP_DestroyStream):
197         (NPP_WriteReady):
198         (NPP_Write):
199         (NPP_StreamAsFile):
200         (NPP_Print):
201         (handleMouseClick):
202         (NPP_HandleEvent):
203         (NPP_URLNotify):
204         (NPP_GetValue):
205         (NPP_SetValue):
206         * NetscapeCoreAnimationPlugin/test.html: Added.
207
208 2008-12-08  David Kilzer  <ddkilzer@apple.com>
209
210         Bug 22555: Sort "children" sections in Xcode project files
211
212         <https://bugs.webkit.org/show_bug.cgi?id=22555>
213
214         Reviewed by Eric Seidel.
215
216         * NetscapeCocoaPlugin/NetscapeCocoaPlugin.xcodeproj/project.pbxproj: Sorted.
217
218 2008-08-20  Josh Aas  <joshmoz@gmail.com>
219
220         Reviewed and landed by Anders.
221
222         <rdar://problem/6163636> 
223         rename NPCocoaEvent's "event" struct to "data" (20446)
224
225         * NetscapeCocoaPlugin/main.m:
226         (handleMouseEvent):
227         (handleKeyboardEvent):
228         (NPP_HandleEvent):
229
230 2008-05-22  Josh Aas  <joshmoz@gmail.com>
231
232         Reviewed by Anders.
233
234         Use correct enum.
235         
236         * NetscapeCocoaPlugin/main.m:
237         (NPP_New):
238         * NetscapeInputMethodPlugin/main.m:
239         (NPP_New):
240
241 2008-05-12  Anders Carlsson  <andersca@apple.com>
242
243         Reviewed by Alexey.
244
245         Add input method test plug-in.
246         
247         * NetscapeInputMethodPlugin: Added.
248         * NetscapeInputMethodPlugin/English.lproj: Added.
249         * NetscapeInputMethodPlugin/English.lproj/InfoPlist.strings: Added.
250         * NetscapeInputMethodPlugin/Info.plist: Added.
251         * NetscapeInputMethodPlugin/NetscapeInputMethodPlugin.xcodeproj: Added.
252         * NetscapeInputMethodPlugin/NetscapeInputMethodPlugin.xcodeproj/project.pbxproj: Added.
253         * NetscapeInputMethodPlugin/main.m: Added.
254         (NP_Initialize):
255         (NP_GetEntryPoints):
256         (NP_Shutdown):
257         (NPP_New):
258         (NPP_Destroy):
259         (NPP_SetWindow):
260         (NPP_NewStream):
261         (NPP_DestroyStream):
262         (NPP_WriteReady):
263         (NPP_Write):
264         (NPP_StreamAsFile):
265         (NPP_Print):
266         (handleDraw):
267         (invalidatePlugin):
268         (handleFocusChanged):
269         (handleMouseMoved):
270         (handleMouseDown):
271         (NPP_HandleEvent):
272         (NPP_URLNotify):
273         (selectionRange):
274         (NPP_InsertText):
275         (NPP_DoCommandBySelector):
276         (markedTextAttributes):
277         (NPP_SetMarkedText):
278         (NPP_UnmarkText):
279         (NPP_HasMarkedText):
280         (NPP_AttributedSubstringFromRange):
281         (NPP_MarkedRange):
282         (NPP_SelectedRange):
283         (NPP_FirstRectForCharacterRange):
284         (pluginTextInputFuncs):
285         (NPP_GetValue):
286         (NPP_SetValue):
287         * NetscapeInputMethodPlugin/test.html: Added.
288
289 2008-05-06  Anders Carlsson  <andersca@apple.com>
290
291         Reviewed by Mitz.
292
293         Add NPN_PopUpContextMenu example.
294         
295         * NetscapeCocoaPlugin/MenuHandler.h: Added.
296         * NetscapeCocoaPlugin/MenuHandler.m: Added.
297         (-[MenuHandler _openURL:]):
298         (-[MenuHandler _disabledItem:]):
299         (-[MenuHandler validateUserInterfaceItem:]):
300         (-[MenuHandler initWithBrowserFuncs:instance:]):
301         (-[MenuHandler dealloc]):
302         (-[MenuHandler menu]):
303         * NetscapeCocoaPlugin/NetscapeCocoaPlugin.xcodeproj/project.pbxproj:
304         * NetscapeCocoaPlugin/main.m:
305         (NPP_Destroy):
306         (handleMouseEvent):
307
308 2008-05-06  Anders Carlsson  <andersca@apple.com>
309
310         Reviewed by Jon, Tim and Mark.
311
312         Add a sample NPAPI plugin that uses the Cocoa event model.
313
314         * .: Added.
315         * ChangeLog: Added.
316         * NetscapeCocoaPlugin: Added.
317         * NetscapeCocoaPlugin/English.lproj: Added.
318         * NetscapeCocoaPlugin/English.lproj/InfoPlist.strings: Added.
319         * NetscapeCocoaPlugin/Info.plist: Added.
320         * NetscapeCocoaPlugin/NetscapeCocoaPlugin.xcodeproj: Added.
321         * NetscapeCocoaPlugin/NetscapeCocoaPlugin.xcodeproj/project.pbxproj: Added.
322         * NetscapeCocoaPlugin/main.m: Added.
323         (NP_Initialize):
324         (NP_GetEntryPoints):
325         (NP_Shutdown):
326         (NPP_New):
327         (NPP_Destroy):
328         (NPP_SetWindow):
329         (NPP_NewStream):
330         (NPP_DestroyStream):
331         (NPP_WriteReady):
332         (NPP_Write):
333         (NPP_StreamAsFile):
334         (NPP_Print):
335         (handleDraw):
336         (eventType):
337         (invalidatePlugin):
338         (handleMouseEvent):
339         (handleKeyboardEvent):
340         (NPP_HandleEvent):
341         (NPP_URLNotify):
342         (NPP_GetValue):
343         (NPP_SetValue):
344         * NetscapeCocoaPlugin/test.html: Added.