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