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