2009-04-27 Anders Carlsson <andersca@apple.com>
[WebKit-https.git] / WebKitExamplePlugins / ChangeLog
1 2009-04-27  Anders Carlsson  <andersca@apple.com>
2
3         Reviewed by Adam Roben.
4
5         Update the example plug-in for new changes to the Cocoa event model.
6         
7         * NetscapeCocoaPlugin/main.m:
8         (handleDraw):
9         (handleMouseEvent):
10         (NPP_HandleEvent):
11
12 2009-03-13  Anders Carlsson  <andersca@apple.com>
13
14         Reviewed by Kevin Decker.
15
16         Update to match new API.
17         
18         * NetscapeInputMethodPlugin/main.m:
19         (NPP_New):
20         (NPP_Destroy):
21         (NPP_SetWindow):
22         (handleDraw):
23         (invalidatePlugin):
24         (handleFocusChanged):
25         (handleMouseMoved):
26         (handleMouseDown):
27         (handleTextFieldKeyDown):
28         (handleTextInput):
29         (NPP_HandleEvent):
30         (NPP_URLNotify):
31         (NPP_GetValue):
32         (NPP_SetValue):
33
34 2008-12-12  Anders Carlsson  <andersca@apple.com>
35
36         Reviewed by Darin Adler.
37
38         There's no need to hold on to the QCComposition. Also, toggle between a gold and silver compass 
39         when a mouse button is pressed.
40         
41         * NetscapeCoreAnimationPlugin/Composition.qtz:
42         * NetscapeCoreAnimationPlugin/main.m:
43         (NPP_Destroy):
44         (handleMouseClick):
45         (NPP_GetValue):
46
47 2008-12-12  Anders Carlsson  <andersca@apple.com>
48
49         Revert some accidentally committed changes.
50         
51         * NetscapeCocoaPlugin/NetscapeCocoaPlugin.xcodeproj/project.pbxproj:
52         * NetscapeCocoaPlugin/main.m:
53         (handleDraw):
54         (handleMouseEvent):
55         (NPP_HandleEvent):
56
57 2008-12-12  Anders Carlsson  <andersca@apple.com>
58
59         Reviewed by Kevin Decker.
60
61         Add a sample Core Animation NPAPI plug-in.
62         
63         * NetscapeCocoaPlugin/NetscapeCocoaPlugin.xcodeproj/project.pbxproj:
64         * NetscapeCocoaPlugin/main.m:
65         (handleDraw):
66         (handleMouseEvent):
67         (NPP_HandleEvent):
68         * NetscapeCoreAnimationPlugin: Added.
69         * NetscapeCoreAnimationPlugin/Composition.qtz: Added.
70         * NetscapeCoreAnimationPlugin/English.lproj: Added.
71         * NetscapeCoreAnimationPlugin/English.lproj/InfoPlist.strings: Added.
72         * NetscapeCoreAnimationPlugin/Info.plist: Added.
73         * NetscapeCoreAnimationPlugin/NetscapeCoreAnimationPlugin.xcodeproj: Added.
74         * NetscapeCoreAnimationPlugin/NetscapeCoreAnimationPlugin.xcodeproj/project.pbxproj: Added.
75         * NetscapeCoreAnimationPlugin/main.m: Added.
76         (NP_Initialize):
77         (NP_GetEntryPoints):
78         (NP_Shutdown):
79         (NPP_New):
80         (NPP_Destroy):
81         (NPP_SetWindow):
82         (NPP_NewStream):
83         (NPP_DestroyStream):
84         (NPP_WriteReady):
85         (NPP_Write):
86         (NPP_StreamAsFile):
87         (NPP_Print):
88         (handleMouseClick):
89         (NPP_HandleEvent):
90         (NPP_URLNotify):
91         (NPP_GetValue):
92         (NPP_SetValue):
93         * NetscapeCoreAnimationPlugin/test.html: Added.
94
95 2008-12-08  David Kilzer  <ddkilzer@apple.com>
96
97         Bug 22555: Sort "children" sections in Xcode project files
98
99         <https://bugs.webkit.org/show_bug.cgi?id=22555>
100
101         Reviewed by Eric Seidel.
102
103         * NetscapeCocoaPlugin/NetscapeCocoaPlugin.xcodeproj/project.pbxproj: Sorted.
104
105 2008-08-20  Josh Aas  <joshmoz@gmail.com>
106
107         Reviewed and landed by Anders.
108
109         <rdar://problem/6163636> 
110         rename NPCocoaEvent's "event" struct to "data" (20446)
111
112         * NetscapeCocoaPlugin/main.m:
113         (handleMouseEvent):
114         (handleKeyboardEvent):
115         (NPP_HandleEvent):
116
117 2008-05-22  Josh Aas  <joshmoz@gmail.com>
118
119         Reviewed by Anders.
120
121         Use correct enum.
122         
123         * NetscapeCocoaPlugin/main.m:
124         (NPP_New):
125         * NetscapeInputMethodPlugin/main.m:
126         (NPP_New):
127
128 2008-05-12  Anders Carlsson  <andersca@apple.com>
129
130         Reviewed by Alexey.
131
132         Add input method test plug-in.
133         
134         * NetscapeInputMethodPlugin: Added.
135         * NetscapeInputMethodPlugin/English.lproj: Added.
136         * NetscapeInputMethodPlugin/English.lproj/InfoPlist.strings: Added.
137         * NetscapeInputMethodPlugin/Info.plist: Added.
138         * NetscapeInputMethodPlugin/NetscapeInputMethodPlugin.xcodeproj: Added.
139         * NetscapeInputMethodPlugin/NetscapeInputMethodPlugin.xcodeproj/project.pbxproj: Added.
140         * NetscapeInputMethodPlugin/main.m: Added.
141         (NP_Initialize):
142         (NP_GetEntryPoints):
143         (NP_Shutdown):
144         (NPP_New):
145         (NPP_Destroy):
146         (NPP_SetWindow):
147         (NPP_NewStream):
148         (NPP_DestroyStream):
149         (NPP_WriteReady):
150         (NPP_Write):
151         (NPP_StreamAsFile):
152         (NPP_Print):
153         (handleDraw):
154         (invalidatePlugin):
155         (handleFocusChanged):
156         (handleMouseMoved):
157         (handleMouseDown):
158         (NPP_HandleEvent):
159         (NPP_URLNotify):
160         (selectionRange):
161         (NPP_InsertText):
162         (NPP_DoCommandBySelector):
163         (markedTextAttributes):
164         (NPP_SetMarkedText):
165         (NPP_UnmarkText):
166         (NPP_HasMarkedText):
167         (NPP_AttributedSubstringFromRange):
168         (NPP_MarkedRange):
169         (NPP_SelectedRange):
170         (NPP_FirstRectForCharacterRange):
171         (pluginTextInputFuncs):
172         (NPP_GetValue):
173         (NPP_SetValue):
174         * NetscapeInputMethodPlugin/test.html: Added.
175
176 2008-05-06  Anders Carlsson  <andersca@apple.com>
177
178         Reviewed by Mitz.
179
180         Add NPN_PopUpContextMenu example.
181         
182         * NetscapeCocoaPlugin/MenuHandler.h: Added.
183         * NetscapeCocoaPlugin/MenuHandler.m: Added.
184         (-[MenuHandler _openURL:]):
185         (-[MenuHandler _disabledItem:]):
186         (-[MenuHandler validateUserInterfaceItem:]):
187         (-[MenuHandler initWithBrowserFuncs:instance:]):
188         (-[MenuHandler dealloc]):
189         (-[MenuHandler menu]):
190         * NetscapeCocoaPlugin/NetscapeCocoaPlugin.xcodeproj/project.pbxproj:
191         * NetscapeCocoaPlugin/main.m:
192         (NPP_Destroy):
193         (handleMouseEvent):
194
195 2008-05-06  Anders Carlsson  <andersca@apple.com>
196
197         Reviewed by Jon, Tim and Mark.
198
199         Add a sample NPAPI plugin that uses the Cocoa event model.
200
201         * .: Added.
202         * ChangeLog: Added.
203         * NetscapeCocoaPlugin: Added.
204         * NetscapeCocoaPlugin/English.lproj: Added.
205         * NetscapeCocoaPlugin/English.lproj/InfoPlist.strings: Added.
206         * NetscapeCocoaPlugin/Info.plist: Added.
207         * NetscapeCocoaPlugin/NetscapeCocoaPlugin.xcodeproj: Added.
208         * NetscapeCocoaPlugin/NetscapeCocoaPlugin.xcodeproj/project.pbxproj: Added.
209         * NetscapeCocoaPlugin/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         (eventType):
224         (invalidatePlugin):
225         (handleMouseEvent):
226         (handleKeyboardEvent):
227         (NPP_HandleEvent):
228         (NPP_URLNotify):
229         (NPP_GetValue):
230         (NPP_SetValue):
231         * NetscapeCocoaPlugin/test.html: Added.