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