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