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