Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

This commit was manufactured by cvs2svn to create tag 'v201010131945'.

  • Loading branch information...
commit 6e1e5d44e15dd1fb8fd02ceb1356e38680308b59 1 parent 3b649dc
nitind authored
Showing with 0 additions and 27,831 deletions.
  1. +0 −7 bundles/org.eclipse.wst.jsdt.debug.crossfire/.classpath
  2. +0 −25 bundles/org.eclipse.wst.jsdt.debug.crossfire/.options
  3. +0 −34 bundles/org.eclipse.wst.jsdt.debug.crossfire/.project
  4. +0 −90 bundles/org.eclipse.wst.jsdt.debug.crossfire/.settings/org.eclipse.jdt.core.prefs
  5. +0 −19 bundles/org.eclipse.wst.jsdt.debug.crossfire/META-INF/MANIFEST.MF
  6. +0 −12 bundles/org.eclipse.wst.jsdt.debug.crossfire/OSGI-INF/l10n/bundle.properties
  7. +0 −6 bundles/org.eclipse.wst.jsdt.debug.crossfire/build.properties
  8. +0 −19 bundles/org.eclipse.wst.jsdt.debug.crossfire/plugin.xml
  9. +0 −42 bundles/org.eclipse.wst.jsdt.debug.crossfire/src/org/eclipse/wst/jsdt/debug/internal/crossfire/Constants.java
  10. +0 −154 ...org.eclipse.wst.jsdt.debug.crossfire/src/org/eclipse/wst/jsdt/debug/internal/crossfire/CrossFirePlugin.java
  11. +0 −33 bundles/org.eclipse.wst.jsdt.debug.crossfire/src/org/eclipse/wst/jsdt/debug/internal/crossfire/Tracing.java
  12. +0 −91 ...pse.wst.jsdt.debug.crossfire/src/org/eclipse/wst/jsdt/debug/internal/crossfire/connect/BrowserArgument.java
  13. +0 −163 ....debug.crossfire/src/org/eclipse/wst/jsdt/debug/internal/crossfire/connect/CrossfireAttachingConnector.java
  14. +0 −90 ....debug.crossfire/src/org/eclipse/wst/jsdt/debug/internal/crossfire/connect/CrossfireListeningConnector.java
  15. +0 −105 ...clipse.wst.jsdt.debug.crossfire/src/org/eclipse/wst/jsdt/debug/internal/crossfire/connect/HostArgument.java
  16. +0 −41 ...rg.eclipse.wst.jsdt.debug.crossfire/src/org/eclipse/wst/jsdt/debug/internal/crossfire/connect/Messages.java
  17. +0 −133 ...clipse.wst.jsdt.debug.crossfire/src/org/eclipse/wst/jsdt/debug/internal/crossfire/connect/PortArgument.java
  18. +0 −138 ...pse.wst.jsdt.debug.crossfire/src/org/eclipse/wst/jsdt/debug/internal/crossfire/connect/TimeoutArgument.java
  19. +0 −24 ...ipse.wst.jsdt.debug.crossfire/src/org/eclipse/wst/jsdt/debug/internal/crossfire/connect/messages.properties
  20. +0 −36 ...pse.wst.jsdt.debug.crossfire/src/org/eclipse/wst/jsdt/debug/internal/crossfire/event/CFBreakpointEvent.java
  21. +0 −36 ....jsdt.debug.crossfire/src/org/eclipse/wst/jsdt/debug/internal/crossfire/event/CFDebuggerStatementEvent.java
  22. +0 −51 ...s/org.eclipse.wst.jsdt.debug.crossfire/src/org/eclipse/wst/jsdt/debug/internal/crossfire/event/CFEvent.java
  23. +0 −274 ....eclipse.wst.jsdt.debug.crossfire/src/org/eclipse/wst/jsdt/debug/internal/crossfire/event/CFEventQueue.java
  24. +0 −70 ...rg.eclipse.wst.jsdt.debug.crossfire/src/org/eclipse/wst/jsdt/debug/internal/crossfire/event/CFEventSet.java
  25. +0 −47 ...ipse.wst.jsdt.debug.crossfire/src/org/eclipse/wst/jsdt/debug/internal/crossfire/event/CFExceptionEvent.java
  26. +0 −53 ...ipse.wst.jsdt.debug.crossfire/src/org/eclipse/wst/jsdt/debug/internal/crossfire/event/CFLocatableEvent.java
  27. +0 −45 ...pse.wst.jsdt.debug.crossfire/src/org/eclipse/wst/jsdt/debug/internal/crossfire/event/CFScriptLoadEvent.java
  28. +0 −36 ...clipse.wst.jsdt.debug.crossfire/src/org/eclipse/wst/jsdt/debug/internal/crossfire/event/CFSuspendEvent.java
  29. +0 −34 ...se.wst.jsdt.debug.crossfire/src/org/eclipse/wst/jsdt/debug/internal/crossfire/event/CFThreadEnterEvent.java
  30. +0 −34 ...pse.wst.jsdt.debug.crossfire/src/org/eclipse/wst/jsdt/debug/internal/crossfire/event/CFThreadExitEvent.java
  31. +0 −32 ...clipse.wst.jsdt.debug.crossfire/src/org/eclipse/wst/jsdt/debug/internal/crossfire/event/CFVMDeathEvent.java
  32. +0 −61 ...lipse.wst.jsdt.debug.crossfire/src/org/eclipse/wst/jsdt/debug/internal/crossfire/jsdi/CFArrayReference.java
  33. +0 −77 ...eclipse.wst.jsdt.debug.crossfire/src/org/eclipse/wst/jsdt/debug/internal/crossfire/jsdi/CFBooleanValue.java
  34. +0 −286 ....wst.jsdt.debug.crossfire/src/org/eclipse/wst/jsdt/debug/internal/crossfire/jsdi/CFEventRequestManager.java
  35. +0 −63 ...se.wst.jsdt.debug.crossfire/src/org/eclipse/wst/jsdt/debug/internal/crossfire/jsdi/CFFunctionReference.java
  36. +0 −74 ...org.eclipse.wst.jsdt.debug.crossfire/src/org/eclipse/wst/jsdt/debug/internal/crossfire/jsdi/CFLocation.java
  37. +0 −76 ...s/org.eclipse.wst.jsdt.debug.crossfire/src/org/eclipse/wst/jsdt/debug/internal/crossfire/jsdi/CFMirror.java
  38. +0 −45 ...rg.eclipse.wst.jsdt.debug.crossfire/src/org/eclipse/wst/jsdt/debug/internal/crossfire/jsdi/CFNullValue.java
  39. +0 −83 ....eclipse.wst.jsdt.debug.crossfire/src/org/eclipse/wst/jsdt/debug/internal/crossfire/jsdi/CFNumberValue.java
  40. +0 −142 ...ipse.wst.jsdt.debug.crossfire/src/org/eclipse/wst/jsdt/debug/internal/crossfire/jsdi/CFObjectReference.java
  41. +0 −88 ...org.eclipse.wst.jsdt.debug.crossfire/src/org/eclipse/wst/jsdt/debug/internal/crossfire/jsdi/CFProperty.java
  42. +0 −214 ...ipse.wst.jsdt.debug.crossfire/src/org/eclipse/wst/jsdt/debug/internal/crossfire/jsdi/CFScriptReference.java
  43. +0 −305 ...g.eclipse.wst.jsdt.debug.crossfire/src/org/eclipse/wst/jsdt/debug/internal/crossfire/jsdi/CFStackFrame.java
  44. +0 −61 ....eclipse.wst.jsdt.debug.crossfire/src/org/eclipse/wst/jsdt/debug/internal/crossfire/jsdi/CFStringValue.java
  45. +0 −236 ...ipse.wst.jsdt.debug.crossfire/src/org/eclipse/wst/jsdt/debug/internal/crossfire/jsdi/CFThreadReference.java
  46. +0 −47 ...lipse.wst.jsdt.debug.crossfire/src/org/eclipse/wst/jsdt/debug/internal/crossfire/jsdi/CFUndefinedValue.java
  47. +0 −81 ...org.eclipse.wst.jsdt.debug.crossfire/src/org/eclipse/wst/jsdt/debug/internal/crossfire/jsdi/CFVariable.java
  48. +0 −588 ...lipse.wst.jsdt.debug.crossfire/src/org/eclipse/wst/jsdt/debug/internal/crossfire/jsdi/CFVirtualMachine.java
  49. +0 −30 ...s/org.eclipse.wst.jsdt.debug.crossfire/src/org/eclipse/wst/jsdt/debug/internal/crossfire/jsdi/Messages.java
  50. +0 −13 ...eclipse.wst.jsdt.debug.crossfire/src/org/eclipse/wst/jsdt/debug/internal/crossfire/jsdi/messages.properties
  51. +0 −84 ...wst.jsdt.debug.crossfire/src/org/eclipse/wst/jsdt/debug/internal/crossfire/request/CFBreakpointRequest.java
  52. +0 −30 ...ipse.wst.jsdt.debug.crossfire/src/org/eclipse/wst/jsdt/debug/internal/crossfire/request/CFDeathRequest.java
  53. +0 −38 ...e.wst.jsdt.debug.crossfire/src/org/eclipse/wst/jsdt/debug/internal/crossfire/request/CFDebuggerRequest.java
  54. +0 −30 ...wst.jsdt.debug.crossfire/src/org/eclipse/wst/jsdt/debug/internal/crossfire/request/CFDisconnectRequest.java
  55. +0 −54 ...ipse.wst.jsdt.debug.crossfire/src/org/eclipse/wst/jsdt/debug/internal/crossfire/request/CFEventRequest.java
  56. +0 −38 ....wst.jsdt.debug.crossfire/src/org/eclipse/wst/jsdt/debug/internal/crossfire/request/CFExceptionRequest.java
  57. +0 −30 ...wst.jsdt.debug.crossfire/src/org/eclipse/wst/jsdt/debug/internal/crossfire/request/CFScriptLoadRequest.java
  58. +0 −42 ...lipse.wst.jsdt.debug.crossfire/src/org/eclipse/wst/jsdt/debug/internal/crossfire/request/CFStepRequest.java
  59. +0 −32 ...se.wst.jsdt.debug.crossfire/src/org/eclipse/wst/jsdt/debug/internal/crossfire/request/CFSuspendRequest.java
  60. +0 −38 ...st.jsdt.debug.crossfire/src/org/eclipse/wst/jsdt/debug/internal/crossfire/request/CFThreadEnterRequest.java
  61. +0 −48 ...st.jsdt.debug.crossfire/src/org/eclipse/wst/jsdt/debug/internal/crossfire/request/CFThreadEventRequest.java
  62. +0 −38 ...wst.jsdt.debug.crossfire/src/org/eclipse/wst/jsdt/debug/internal/crossfire/request/CFThreadExitRequest.java
  63. +0 −182 ...clipse.wst.jsdt.debug.crossfire/src/org/eclipse/wst/jsdt/debug/internal/crossfire/transport/Attributes.java
  64. +0 −156 ...pse.wst.jsdt.debug.crossfire/src/org/eclipse/wst/jsdt/debug/internal/crossfire/transport/CFEventPacket.java
  65. +0 −117 ....eclipse.wst.jsdt.debug.crossfire/src/org/eclipse/wst/jsdt/debug/internal/crossfire/transport/CFPacket.java
  66. +0 −154 ...e.wst.jsdt.debug.crossfire/src/org/eclipse/wst/jsdt/debug/internal/crossfire/transport/CFRequestPacket.java
  67. +0 −192 ....wst.jsdt.debug.crossfire/src/org/eclipse/wst/jsdt/debug/internal/crossfire/transport/CFResponsePacket.java
  68. +0 −178 ...st.jsdt.debug.crossfire/src/org/eclipse/wst/jsdt/debug/internal/crossfire/transport/CFSocketConnection.java
  69. +0 −76 ...st.jsdt.debug.crossfire/src/org/eclipse/wst/jsdt/debug/internal/crossfire/transport/CFTransportService.java
  70. +0 −97 ....eclipse.wst.jsdt.debug.crossfire/src/org/eclipse/wst/jsdt/debug/internal/crossfire/transport/Commands.java
  71. +0 −69 ...e.wst.jsdt.debug.crossfire/src/org/eclipse/wst/jsdt/debug/internal/crossfire/transport/HandShakePacket.java
  72. +0 −540 .../org.eclipse.wst.jsdt.debug.crossfire/src/org/eclipse/wst/jsdt/debug/internal/crossfire/transport/JSON.java
  73. +0 −7 bundles/org.eclipse.wst.jsdt.debug.rhino.debugger/.classpath
  74. +0 −28 bundles/org.eclipse.wst.jsdt.debug.rhino.debugger/.project
  75. +0 −90 bundles/org.eclipse.wst.jsdt.debug.rhino.debugger/.settings/org.eclipse.jdt.core.prefs
  76. +0 −4 bundles/org.eclipse.wst.jsdt.debug.rhino.debugger/.settings/org.eclipse.pde.core.prefs
  77. +0 −16 bundles/org.eclipse.wst.jsdt.debug.rhino.debugger/META-INF/MANIFEST.MF
  78. +0 −12 bundles/org.eclipse.wst.jsdt.debug.rhino.debugger/OSGI-INF/l10n/bundle.properties
  79. +0 −28 bundles/org.eclipse.wst.jsdt.debug.rhino.debugger/about.html
  80. +0 −7 bundles/org.eclipse.wst.jsdt.debug.rhino.debugger/build.properties
  81. +0 −82 ...clipse.wst.jsdt.debug.rhino.debugger/src/org/eclipse/wst/jsdt/debug/internal/rhino/debugger/Breakpoint.java
  82. +0 −369 ...lipse.wst.jsdt.debug.rhino.debugger/src/org/eclipse/wst/jsdt/debug/internal/rhino/debugger/ContextData.java
  83. +0 −290 ...t.jsdt.debug.rhino.debugger/src/org/eclipse/wst/jsdt/debug/internal/rhino/debugger/DebugSessionManager.java
  84. +0 −90 ...se.wst.jsdt.debug.rhino.debugger/src/org/eclipse/wst/jsdt/debug/internal/rhino/debugger/FunctionSource.java
  85. +0 −25 ....eclipse.wst.jsdt.debug.rhino.debugger/src/org/eclipse/wst/jsdt/debug/internal/rhino/debugger/LineData.java
  86. +0 −454 ...se.wst.jsdt.debug.rhino.debugger/src/org/eclipse/wst/jsdt/debug/internal/rhino/debugger/RequestHandler.java
  87. +0 −537 ...wst.jsdt.debug.rhino.debugger/src/org/eclipse/wst/jsdt/debug/internal/rhino/debugger/RhinoDebuggerImpl.java
  88. +0 −471 ...ipse.wst.jsdt.debug.rhino.debugger/src/org/eclipse/wst/jsdt/debug/internal/rhino/debugger/ScriptSource.java
  89. +0 −500 ...clipse.wst.jsdt.debug.rhino.debugger/src/org/eclipse/wst/jsdt/debug/internal/rhino/debugger/StackFrame.java
  90. +0 −180 ...clipse.wst.jsdt.debug.rhino.debugger/src/org/eclipse/wst/jsdt/debug/internal/rhino/debugger/ThreadData.java
  91. +0 −46 ...clipse.wst.jsdt.debug.rhino.debugger/src/org/eclipse/wst/jsdt/debug/internal/rhino/transport/Constants.java
  92. +0 −83 ...ipse.wst.jsdt.debug.rhino.debugger/src/org/eclipse/wst/jsdt/debug/internal/rhino/transport/EventPacket.java
  93. +0 −130 ...se.wst.jsdt.debug.rhino.debugger/src/org/eclipse/wst/jsdt/debug/internal/rhino/transport/JSONConstants.java
  94. +0 −462 ...eclipse.wst.jsdt.debug.rhino.debugger/src/org/eclipse/wst/jsdt/debug/internal/rhino/transport/JSONUtil.java
  95. +0 −130 ....wst.jsdt.debug.rhino.debugger/src/org/eclipse/wst/jsdt/debug/internal/rhino/transport/PipedConnection.java
  96. +0 −163 ...sdt.debug.rhino.debugger/src/org/eclipse/wst/jsdt/debug/internal/rhino/transport/PipedTransportService.java
  97. +0 −91 ...ipse.wst.jsdt.debug.rhino.debugger/src/org/eclipse/wst/jsdt/debug/internal/rhino/transport/RhinoPacket.java
  98. +0 −124 ...pse.wst.jsdt.debug.rhino.debugger/src/org/eclipse/wst/jsdt/debug/internal/rhino/transport/RhinoRequest.java
  99. +0 −168 ...se.wst.jsdt.debug.rhino.debugger/src/org/eclipse/wst/jsdt/debug/internal/rhino/transport/RhinoResponse.java
  100. +0 −102 ...sdt.debug.rhino.debugger/src/org/eclipse/wst/jsdt/debug/internal/rhino/transport/RhinoSocketConnection.java
  101. +0 −66 ...sdt.debug.rhino.debugger/src/org/eclipse/wst/jsdt/debug/internal/rhino/transport/RhinoTransportService.java
  102. +0 −13 ...e.wst.jsdt.debug.rhino.debugger/src/org/eclipse/wst/jsdt/debug/internal/rhino/transport/messages.properties
  103. +0 −66 .../org.eclipse.wst.jsdt.debug.rhino.debugger/src/org/eclipse/wst/jsdt/debug/rhino/debugger/RhinoDebugger.java
  104. +0 −365 ...rg.eclipse.wst.jsdt.debug.rhino.debugger/src/org/eclipse/wst/jsdt/debug/rhino/debugger/shell/DebugMain.java
  105. +0 −130 ...g.eclipse.wst.jsdt.debug.rhino.debugger/src/org/eclipse/wst/jsdt/debug/rhino/debugger/shell/DebugShell.java
  106. +0 −7 bundles/org.eclipse.wst.jsdt.debug.rhino.ui/.classpath
  107. +0 −34 bundles/org.eclipse.wst.jsdt.debug.rhino.ui/.project
  108. +0 −90 bundles/org.eclipse.wst.jsdt.debug.rhino.ui/.settings/org.eclipse.jdt.core.prefs
  109. +0 −29 bundles/org.eclipse.wst.jsdt.debug.rhino.ui/META-INF/MANIFEST.MF
  110. +0 −25 bundles/org.eclipse.wst.jsdt.debug.rhino.ui/OSGI-INF/l10n/bundle.properties
  111. +0 −87 bundles/org.eclipse.wst.jsdt.debug.rhino.ui/about.html
  112. +0 −8 bundles/org.eclipse.wst.jsdt.debug.rhino.ui/build.properties
  113. BIN  bundles/org.eclipse.wst.jsdt.debug.rhino.ui/icons/elcl16/library.gif
  114. BIN  bundles/org.eclipse.wst.jsdt.debug.rhino.ui/icons/elcl16/main_tab.gif
  115. BIN  bundles/org.eclipse.wst.jsdt.debug.rhino.ui/icons/elcl16/rhino.gif
  116. BIN  bundles/org.eclipse.wst.jsdt.debug.rhino.ui/icons/elcl16/script.gif
  117. +0 −180 bundles/org.eclipse.wst.jsdt.debug.rhino.ui/plugin.xml
  118. +0 −44 ...es/org.eclipse.wst.jsdt.debug.rhino.ui/src/org/eclipse/wst/jsdt/debug/internal/rhino/ui/IHelpConstants.java
  119. +0 −72 .../org.eclipse.wst.jsdt.debug.rhino.ui/src/org/eclipse/wst/jsdt/debug/internal/rhino/ui/ILaunchConstants.java
  120. +0 −37 ...les/org.eclipse.wst.jsdt.debug.rhino.ui/src/org/eclipse/wst/jsdt/debug/internal/rhino/ui/ISharedImages.java
  121. +0 −100 ...lipse.wst.jsdt.debug.rhino.ui/src/org/eclipse/wst/jsdt/debug/internal/rhino/ui/ImageDescriptorRegistry.java
  122. +0 −99 ...g.eclipse.wst.jsdt.debug.rhino.ui/src/org/eclipse/wst/jsdt/debug/internal/rhino/ui/RhinoAdapterFactory.java
  123. +0 −130 ...rg.eclipse.wst.jsdt.debug.rhino.ui/src/org/eclipse/wst/jsdt/debug/internal/rhino/ui/RhinoImageRegistry.java
  124. +0 −68 ...g.eclipse.wst.jsdt.debug.rhino.ui/src/org/eclipse/wst/jsdt/debug/internal/rhino/ui/RhinoPropertyTester.java
  125. +0 −125 ...les/org.eclipse.wst.jsdt.debug.rhino.ui/src/org/eclipse/wst/jsdt/debug/internal/rhino/ui/RhinoUIPlugin.java
  126. +0 −69 ...clipse.wst.jsdt.debug.rhino.ui/src/org/eclipse/wst/jsdt/debug/internal/rhino/ui/launching/IncludeEntry.java
  127. +0 −392 ....eclipse.wst.jsdt.debug.rhino.ui/src/org/eclipse/wst/jsdt/debug/internal/rhino/ui/launching/IncludeTab.java
  128. +0 −68 ...rg.eclipse.wst.jsdt.debug.rhino.ui/src/org/eclipse/wst/jsdt/debug/internal/rhino/ui/launching/Messages.java
  129. +0 −205 ...wst.jsdt.debug.rhino.ui/src/org/eclipse/wst/jsdt/debug/internal/rhino/ui/launching/RhinoLaunchShortcut.java
  130. +0 −657 ...sdt.debug.rhino.ui/src/org/eclipse/wst/jsdt/debug/internal/rhino/ui/launching/RhinoLocalLaunchDelegate.java
  131. +0 −317 ...clipse.wst.jsdt.debug.rhino.ui/src/org/eclipse/wst/jsdt/debug/internal/rhino/ui/launching/RhinoMainTab.java
  132. +0 −70 ...clipse.wst.jsdt.debug.rhino.ui/src/org/eclipse/wst/jsdt/debug/internal/rhino/ui/launching/RhinoProcess.java
  133. +0 −49 ...lipse.wst.jsdt.debug.rhino.ui/src/org/eclipse/wst/jsdt/debug/internal/rhino/ui/launching/RhinoTabGroup.java
  134. +0 −51 ...ipse.wst.jsdt.debug.rhino.ui/src/org/eclipse/wst/jsdt/debug/internal/rhino/ui/launching/messages.properties
  135. +0 −65 ...ipse.wst.jsdt.debug.rhino.ui/src/org/eclipse/wst/jsdt/debug/internal/rhino/ui/refactoring/FolderChange.java
  136. +0 −67 ...jsdt.debug.rhino.ui/src/org/eclipse/wst/jsdt/debug/internal/rhino/ui/refactoring/FolderMoveParticipant.java
  137. +0 −68 ...dt.debug.rhino.ui/src/org/eclipse/wst/jsdt/debug/internal/rhino/ui/refactoring/FolderRenameParticipant.java
  138. +0 −31 ....eclipse.wst.jsdt.debug.rhino.ui/src/org/eclipse/wst/jsdt/debug/internal/rhino/ui/refactoring/Messages.java
  139. +0 −62 ...pse.wst.jsdt.debug.rhino.ui/src/org/eclipse/wst/jsdt/debug/internal/rhino/ui/refactoring/ProjectChange.java
  140. +0 −63 ...t.debug.rhino.ui/src/org/eclipse/wst/jsdt/debug/internal/rhino/ui/refactoring/ProjectRenameParticipant.java
  141. +0 −316 ...lipse.wst.jsdt.debug.rhino.ui/src/org/eclipse/wst/jsdt/debug/internal/rhino/ui/refactoring/Refactoring.java
  142. +0 −182 ...lipse.wst.jsdt.debug.rhino.ui/src/org/eclipse/wst/jsdt/debug/internal/rhino/ui/refactoring/RhinoChange.java
  143. +0 −60 ...ipse.wst.jsdt.debug.rhino.ui/src/org/eclipse/wst/jsdt/debug/internal/rhino/ui/refactoring/ScriptChange.java
  144. +0 −67 ...jsdt.debug.rhino.ui/src/org/eclipse/wst/jsdt/debug/internal/rhino/ui/refactoring/ScriptMoveParticipant.java
  145. +0 −68 ...dt.debug.rhino.ui/src/org/eclipse/wst/jsdt/debug/internal/rhino/ui/refactoring/ScriptRenameParticipant.java
  146. +0 −14 ...se.wst.jsdt.debug.rhino.ui/src/org/eclipse/wst/jsdt/debug/internal/rhino/ui/refactoring/messages.properties
  147. +0 −29 ...se.wst.jsdt.debug.rhino.ui/src/org/eclipse/wst/jsdt/debug/internal/rhino/ui/source/RhinoSourceDirector.java
  148. +0 −71 ...dt.debug.rhino.ui/src/org/eclipse/wst/jsdt/debug/internal/rhino/ui/source/RhinoSourceLookupParticipant.java
  149. +0 −77 ...st.jsdt.debug.rhino.ui/src/org/eclipse/wst/jsdt/debug/internal/rhino/ui/source/RhinoSourcePathComputer.java
  150. +0 −7 bundles/org.eclipse.wst.jsdt.debug.rhino/.classpath
  151. +0 −34 bundles/org.eclipse.wst.jsdt.debug.rhino/.project
  152. +0 −90 bundles/org.eclipse.wst.jsdt.debug.rhino/.settings/org.eclipse.jdt.core.prefs
  153. +0 −28 bundles/org.eclipse.wst.jsdt.debug.rhino/META-INF/MANIFEST.MF
  154. +0 −12 bundles/org.eclipse.wst.jsdt.debug.rhino/OSGI-INF/l10n/bundle.properties
  155. +0 −28 bundles/org.eclipse.wst.jsdt.debug.rhino/about.html
  156. +0 −8 bundles/org.eclipse.wst.jsdt.debug.rhino/build.properties
  157. +0 −35 bundles/org.eclipse.wst.jsdt.debug.rhino/plugin.xml
  158. +0 −29 bundles/org.eclipse.wst.jsdt.debug.rhino/src/org/eclipse/wst/jsdt/debug/internal/rhino/Constants.java
  159. +0 −126 bundles/org.eclipse.wst.jsdt.debug.rhino/src/org/eclipse/wst/jsdt/debug/internal/rhino/RhinoDebugPlugin.java
  160. +0 −42 ....eclipse.wst.jsdt.debug.rhino/src/org/eclipse/wst/jsdt/debug/internal/rhino/RhinoPreferenceInitializer.java
  161. +0 −69 ...org.eclipse.wst.jsdt.debug.rhino/src/org/eclipse/wst/jsdt/debug/internal/rhino/RhinoPreferencesManager.java
  162. +0 −95 ....jsdt.debug.rhino/src/org/eclipse/wst/jsdt/debug/internal/rhino/breakpoints/RhinoBreakpointParticipant.java
  163. +0 −127 ...org.eclipse.wst.jsdt.debug.rhino/src/org/eclipse/wst/jsdt/debug/internal/rhino/jsdi/ArrayReferenceImpl.java
  164. +0 −89 ...s/org.eclipse.wst.jsdt.debug.rhino/src/org/eclipse/wst/jsdt/debug/internal/rhino/jsdi/BooleanValueImpl.java
  165. +0 −68 ....eclipse.wst.jsdt.debug.rhino/src/org/eclipse/wst/jsdt/debug/internal/rhino/jsdi/FunctionReferenceImpl.java
  166. +0 −104 bundles/org.eclipse.wst.jsdt.debug.rhino/src/org/eclipse/wst/jsdt/debug/internal/rhino/jsdi/LocationImpl.java
  167. +0 −28 bundles/org.eclipse.wst.jsdt.debug.rhino/src/org/eclipse/wst/jsdt/debug/internal/rhino/jsdi/Messages.java
  168. +0 −62 bundles/org.eclipse.wst.jsdt.debug.rhino/src/org/eclipse/wst/jsdt/debug/internal/rhino/jsdi/MirrorImpl.java
  169. +0 −49 bundles/org.eclipse.wst.jsdt.debug.rhino/src/org/eclipse/wst/jsdt/debug/internal/rhino/jsdi/NullValueImpl.java
  170. +0 −107 ...es/org.eclipse.wst.jsdt.debug.rhino/src/org/eclipse/wst/jsdt/debug/internal/rhino/jsdi/NumberValueImpl.java
  171. +0 −163 ...rg.eclipse.wst.jsdt.debug.rhino/src/org/eclipse/wst/jsdt/debug/internal/rhino/jsdi/ObjectReferenceImpl.java
  172. +0 −84 bundles/org.eclipse.wst.jsdt.debug.rhino/src/org/eclipse/wst/jsdt/debug/internal/rhino/jsdi/PropertyImpl.java
  173. +0 −191 ...rg.eclipse.wst.jsdt.debug.rhino/src/org/eclipse/wst/jsdt/debug/internal/rhino/jsdi/ScriptReferenceImpl.java
  174. +0 −242 ...les/org.eclipse.wst.jsdt.debug.rhino/src/org/eclipse/wst/jsdt/debug/internal/rhino/jsdi/StackFrameImpl.java
  175. +0 −61 ...es/org.eclipse.wst.jsdt.debug.rhino/src/org/eclipse/wst/jsdt/debug/internal/rhino/jsdi/StringValueImpl.java
  176. +0 −250 ...rg.eclipse.wst.jsdt.debug.rhino/src/org/eclipse/wst/jsdt/debug/internal/rhino/jsdi/ThreadReferenceImpl.java
  177. +0 −58 ...org.eclipse.wst.jsdt.debug.rhino/src/org/eclipse/wst/jsdt/debug/internal/rhino/jsdi/UndefinedValueImpl.java
  178. +0 −48 bundles/org.eclipse.wst.jsdt.debug.rhino/src/org/eclipse/wst/jsdt/debug/internal/rhino/jsdi/VariableImpl.java
  179. +0 −445 ...org.eclipse.wst.jsdt.debug.rhino/src/org/eclipse/wst/jsdt/debug/internal/rhino/jsdi/VirtualMachineImpl.java
  180. +0 −90 ...g.eclipse.wst.jsdt.debug.rhino/src/org/eclipse/wst/jsdt/debug/internal/rhino/jsdi/connect/HostArgument.java
  181. +0 −35 ...s/org.eclipse.wst.jsdt.debug.rhino/src/org/eclipse/wst/jsdt/debug/internal/rhino/jsdi/connect/Messages.java
  182. +0 −133 ...g.eclipse.wst.jsdt.debug.rhino/src/org/eclipse/wst/jsdt/debug/internal/rhino/jsdi/connect/PortArgument.java
  183. +0 −82 ...st.jsdt.debug.rhino/src/org/eclipse/wst/jsdt/debug/internal/rhino/jsdi/connect/RhinoAttachingConnector.java
  184. +0 −16 ...eclipse.wst.jsdt.debug.rhino/src/org/eclipse/wst/jsdt/debug/internal/rhino/jsdi/connect/messages.properties
  185. +0 −36 ...ipse.wst.jsdt.debug.rhino/src/org/eclipse/wst/jsdt/debug/internal/rhino/jsdi/event/BreakpointEventImpl.java
  186. +0 −36 ...t.jsdt.debug.rhino/src/org/eclipse/wst/jsdt/debug/internal/rhino/jsdi/event/DebuggerStatementEventImpl.java
  187. +0 −51 ...es/org.eclipse.wst.jsdt.debug.rhino/src/org/eclipse/wst/jsdt/debug/internal/rhino/jsdi/event/EventImpl.java
  188. +0 −229 ...g.eclipse.wst.jsdt.debug.rhino/src/org/eclipse/wst/jsdt/debug/internal/rhino/jsdi/event/EventQueueImpl.java
  189. +0 −71 ...org.eclipse.wst.jsdt.debug.rhino/src/org/eclipse/wst/jsdt/debug/internal/rhino/jsdi/event/EventSetImpl.java
  190. +0 −47 ...lipse.wst.jsdt.debug.rhino/src/org/eclipse/wst/jsdt/debug/internal/rhino/jsdi/event/ExceptionEventImpl.java
  191. +0 −53 ...lipse.wst.jsdt.debug.rhino/src/org/eclipse/wst/jsdt/debug/internal/rhino/jsdi/event/LocatableEventImpl.java
  192. +0 −47 ...ipse.wst.jsdt.debug.rhino/src/org/eclipse/wst/jsdt/debug/internal/rhino/jsdi/event/ScriptLoadEventImpl.java
  193. +0 −36 ...rg.eclipse.wst.jsdt.debug.rhino/src/org/eclipse/wst/jsdt/debug/internal/rhino/jsdi/event/StepEventImpl.java
  194. +0 −37 ...eclipse.wst.jsdt.debug.rhino/src/org/eclipse/wst/jsdt/debug/internal/rhino/jsdi/event/SuspendEventImpl.java
  195. +0 −34 ...pse.wst.jsdt.debug.rhino/src/org/eclipse/wst/jsdt/debug/internal/rhino/jsdi/event/ThreadEnterEventImpl.java
  196. +0 −34 ...ipse.wst.jsdt.debug.rhino/src/org/eclipse/wst/jsdt/debug/internal/rhino/jsdi/event/ThreadExitEventImpl.java
  197. +0 −32 ...eclipse.wst.jsdt.debug.rhino/src/org/eclipse/wst/jsdt/debug/internal/rhino/jsdi/event/VMDeathEventImpl.java
  198. +0 −1  ...les/org.eclipse.wst.jsdt.debug.rhino/src/org/eclipse/wst/jsdt/debug/internal/rhino/jsdi/messages.properties
  199. +0 −163 ....wst.jsdt.debug.rhino/src/org/eclipse/wst/jsdt/debug/internal/rhino/jsdi/request/BreakpointRequestImpl.java
  200. +0 −57 ...dt.debug.rhino/src/org/eclipse/wst/jsdt/debug/internal/rhino/jsdi/request/DebuggerStatementRequestImpl.java
  201. +0 −75 ...lipse.wst.jsdt.debug.rhino/src/org/eclipse/wst/jsdt/debug/internal/rhino/jsdi/request/EventRequestImpl.java
  202. +0 −259 ...st.jsdt.debug.rhino/src/org/eclipse/wst/jsdt/debug/internal/rhino/jsdi/request/EventRequestManagerImpl.java
  203. +0 −49 ...e.wst.jsdt.debug.rhino/src/org/eclipse/wst/jsdt/debug/internal/rhino/jsdi/request/ExceptionRequestImpl.java
  204. +0 −30 ....wst.jsdt.debug.rhino/src/org/eclipse/wst/jsdt/debug/internal/rhino/jsdi/request/ScriptLoadRequestImpl.java
  205. +0 −83 ...clipse.wst.jsdt.debug.rhino/src/org/eclipse/wst/jsdt/debug/internal/rhino/jsdi/request/StepRequestImpl.java
  206. +0 −42 ...pse.wst.jsdt.debug.rhino/src/org/eclipse/wst/jsdt/debug/internal/rhino/jsdi/request/SuspendRequestImpl.java
  207. +0 −49 ...wst.jsdt.debug.rhino/src/org/eclipse/wst/jsdt/debug/internal/rhino/jsdi/request/ThreadEnterRequestImpl.java
  208. +0 −49 ....wst.jsdt.debug.rhino/src/org/eclipse/wst/jsdt/debug/internal/rhino/jsdi/request/ThreadExitRequestImpl.java
  209. +0 −30 ...pse.wst.jsdt.debug.rhino/src/org/eclipse/wst/jsdt/debug/internal/rhino/jsdi/request/VMDeathRequestImpl.java
  210. +0 −30 ...st.jsdt.debug.rhino/src/org/eclipse/wst/jsdt/debug/internal/rhino/jsdi/request/VMDisconnectRequestImpl.java
  211. +0 −7 bundles/org.eclipse.wst.jsdt.debug.transport/.classpath
  212. +0 −34 bundles/org.eclipse.wst.jsdt.debug.transport/.project
  213. +0 −90 bundles/org.eclipse.wst.jsdt.debug.transport/.settings/org.eclipse.jdt.core.prefs
  214. +0 −11 bundles/org.eclipse.wst.jsdt.debug.transport/META-INF/MANIFEST.MF
  215. +0 −12 bundles/org.eclipse.wst.jsdt.debug.transport/OSGI-INF/l10n/bundle.properties
  216. +0 −87 bundles/org.eclipse.wst.jsdt.debug.transport/about.html
  217. +0 −6 bundles/org.eclipse.wst.jsdt.debug.transport/build.properties
  218. +0 −60 bundles/org.eclipse.wst.jsdt.debug.transport/src/org/eclipse/wst/jsdt/debug/transport/Connection.java
  219. +0 −52 bundles/org.eclipse.wst.jsdt.debug.transport/src/org/eclipse/wst/jsdt/debug/transport/Constants.java
  220. +0 −112 bundles/org.eclipse.wst.jsdt.debug.transport/src/org/eclipse/wst/jsdt/debug/transport/DebugSession.java
  221. +0 −25 bundles/org.eclipse.wst.jsdt.debug.transport/src/org/eclipse/wst/jsdt/debug/transport/ListenerKey.java
  222. +0 −67 bundles/org.eclipse.wst.jsdt.debug.transport/src/org/eclipse/wst/jsdt/debug/transport/TransportService.java
  223. +0 −33 ...ipse.wst.jsdt.debug.transport/src/org/eclipse/wst/jsdt/debug/transport/exception/DisconnectedException.java
  224. +0 −33 ...g.eclipse.wst.jsdt.debug.transport/src/org/eclipse/wst/jsdt/debug/transport/exception/TimeoutException.java
  225. +0 −39 bundles/org.eclipse.wst.jsdt.debug.transport/src/org/eclipse/wst/jsdt/debug/transport/packet/Event.java
  226. +0 −40 bundles/org.eclipse.wst.jsdt.debug.transport/src/org/eclipse/wst/jsdt/debug/transport/packet/Packet.java
  227. +0 −114 ...les/org.eclipse.wst.jsdt.debug.transport/src/org/eclipse/wst/jsdt/debug/transport/packet/PacketManager.java
  228. +0 −284 ....eclipse.wst.jsdt.debug.transport/src/org/eclipse/wst/jsdt/debug/transport/packet/PacketReceiveManager.java
  229. +0 −112 ...org.eclipse.wst.jsdt.debug.transport/src/org/eclipse/wst/jsdt/debug/transport/packet/PacketSendManager.java
  230. +0 −47 bundles/org.eclipse.wst.jsdt.debug.transport/src/org/eclipse/wst/jsdt/debug/transport/packet/Request.java
  231. +0 −61 bundles/org.eclipse.wst.jsdt.debug.transport/src/org/eclipse/wst/jsdt/debug/transport/packet/Response.java
  232. +0 −96 .../org.eclipse.wst.jsdt.debug.transport/src/org/eclipse/wst/jsdt/debug/transport/socket/SocketConnection.java
  233. +0 −28 ...org.eclipse.wst.jsdt.debug.transport/src/org/eclipse/wst/jsdt/debug/transport/socket/SocketListenerKey.java
  234. +0 −154 ...clipse.wst.jsdt.debug.transport/src/org/eclipse/wst/jsdt/debug/transport/socket/SocketTransportService.java
  235. +0 −7 bundles/org.eclipse.wst.jsdt.debug.ui/.classpath
  236. +0 −34 bundles/org.eclipse.wst.jsdt.debug.ui/.project
  237. +0 −90 bundles/org.eclipse.wst.jsdt.debug.ui/.settings/org.eclipse.jdt.core.prefs
  238. +0 −33 bundles/org.eclipse.wst.jsdt.debug.ui/META-INF/MANIFEST.MF
  239. +0 −63 bundles/org.eclipse.wst.jsdt.debug.ui/OSGI-INF/l10n/bundle.properties
  240. +0 −28 bundles/org.eclipse.wst.jsdt.debug.ui/about.html
  241. +0 −11 bundles/org.eclipse.wst.jsdt.debug.ui/build.properties
  242. BIN  bundles/org.eclipse.wst.jsdt.debug.ui/icons/dlcl16/brkpd_obj.gif
  243. BIN  bundles/org.eclipse.wst.jsdt.debug.ui/icons/elcl16/brkp_obj.gif
  244. BIN  bundles/org.eclipse.wst.jsdt.debug.ui/icons/elcl16/connect.gif
  245. BIN  bundles/org.eclipse.wst.jsdt.debug.ui/icons/elcl16/jsbook_obj.gif
  246. BIN  bundles/org.eclipse.wst.jsdt.debug.ui/icons/elcl16/localvariable.gif
  247. BIN  bundles/org.eclipse.wst.jsdt.debug.ui/icons/elcl16/proto_var.gif
  248. BIN  bundles/org.eclipse.wst.jsdt.debug.ui/icons/elcl16/script.gif
  249. BIN  bundles/org.eclipse.wst.jsdt.debug.ui/icons/elcl16/script_grp.gif
  250. BIN  bundles/org.eclipse.wst.jsdt.debug.ui/icons/elcl16/scriptbp.gif
  251. BIN  bundles/org.eclipse.wst.jsdt.debug.ui/icons/elcl16/sethitcount_co.gif
  252. BIN  bundles/org.eclipse.wst.jsdt.debug.ui/icons/elcl16/source.gif
  253. BIN  bundles/org.eclipse.wst.jsdt.debug.ui/icons/elcl16/suspend_co.gif
  254. BIN  bundles/org.eclipse.wst.jsdt.debug.ui/icons/elcl16/this_var.gif
  255. BIN  bundles/org.eclipse.wst.jsdt.debug.ui/icons/ovr16/caught_ovr.gif
  256. BIN  bundles/org.eclipse.wst.jsdt.debug.ui/icons/ovr16/caught_ovr_disabled.gif
  257. BIN  bundles/org.eclipse.wst.jsdt.debug.ui/icons/ovr16/conditional_ovr.gif
  258. BIN  bundles/org.eclipse.wst.jsdt.debug.ui/icons/ovr16/conditional_ovr_disabled.gif
  259. BIN  bundles/org.eclipse.wst.jsdt.debug.ui/icons/ovr16/entry_ovr.gif
  260. BIN  bundles/org.eclipse.wst.jsdt.debug.ui/icons/ovr16/entry_ovr_disabled.gif
  261. BIN  bundles/org.eclipse.wst.jsdt.debug.ui/icons/ovr16/exit_ovr.gif
  262. BIN  bundles/org.eclipse.wst.jsdt.debug.ui/icons/ovr16/exit_ovr_disabled.gif
  263. BIN  bundles/org.eclipse.wst.jsdt.debug.ui/icons/ovr16/installed_ovr.gif
  264. BIN  bundles/org.eclipse.wst.jsdt.debug.ui/icons/ovr16/installed_ovr_disabled.gif
  265. BIN  bundles/org.eclipse.wst.jsdt.debug.ui/icons/ovr16/scoped_ovr.gif
  266. BIN  bundles/org.eclipse.wst.jsdt.debug.ui/icons/ovr16/scoped_ovr_disabled.gif
  267. BIN  bundles/org.eclipse.wst.jsdt.debug.ui/icons/ovr16/uncaught_ovr.gif
  268. BIN  bundles/org.eclipse.wst.jsdt.debug.ui/icons/ovr16/uncaught_ovr_disabled.gif
  269. +0 −556 bundles/org.eclipse.wst.jsdt.debug.ui/plugin.xml
  270. +0 −38 bundles/org.eclipse.wst.jsdt.debug.ui/src/org/eclipse/wst/jsdt/debug/internal/ui/Constants.java
  271. +0 −35 bundles/org.eclipse.wst.jsdt.debug.ui/src/org/eclipse/wst/jsdt/debug/internal/ui/DebugWCManager.java
  272. +0 −32 bundles/org.eclipse.wst.jsdt.debug.ui/src/org/eclipse/wst/jsdt/debug/internal/ui/IHelpContextIds.java
  273. +0 −117 bundles/org.eclipse.wst.jsdt.debug.ui/src/org/eclipse/wst/jsdt/debug/internal/ui/ISharedImages.java
  274. +0 −100 bundles/org.eclipse.wst.jsdt.debug.ui/src/org/eclipse/wst/jsdt/debug/internal/ui/ImageDescriptorRegistry.java
  275. +0 −179 bundles/org.eclipse.wst.jsdt.debug.ui/src/org/eclipse/wst/jsdt/debug/internal/ui/JavaScriptDebugUIPlugin.java
  276. +0 −38 ...se.wst.jsdt.debug.ui/src/org/eclipse/wst/jsdt/debug/internal/ui/JavaScriptDebugUIPreferenceInitializer.java
  277. +0 −188 ...les/org.eclipse.wst.jsdt.debug.ui/src/org/eclipse/wst/jsdt/debug/internal/ui/JavaScriptImageDescriptor.java
  278. +0 −149 bundles/org.eclipse.wst.jsdt.debug.ui/src/org/eclipse/wst/jsdt/debug/internal/ui/JavaScriptImageRegistry.java
  279. +0 −552 ...s/org.eclipse.wst.jsdt.debug.ui/src/org/eclipse/wst/jsdt/debug/internal/ui/JavaScriptModelPresentation.java
  280. +0 −68 bundles/org.eclipse.wst.jsdt.debug.ui/src/org/eclipse/wst/jsdt/debug/internal/ui/Messages.java
  281. +0 −60 bundles/org.eclipse.wst.jsdt.debug.ui/src/org/eclipse/wst/jsdt/debug/internal/ui/PreferencesManager.java
  282. +0 −507 bundles/org.eclipse.wst.jsdt.debug.ui/src/org/eclipse/wst/jsdt/debug/internal/ui/SWTFactory.java
  283. +0 −122 ...pse.wst.jsdt.debug.ui/src/org/eclipse/wst/jsdt/debug/internal/ui/actions/AddScriptLoadBreakpointAction.java
  284. +0 −218 ....eclipse.wst.jsdt.debug.ui/src/org/eclipse/wst/jsdt/debug/internal/ui/actions/BreakpointHitCountAction.java
  285. +0 −70 ...clipse.wst.jsdt.debug.ui/src/org/eclipse/wst/jsdt/debug/internal/ui/actions/BreakpointPropertiesAction.java
  286. +0 −103 ...t.jsdt.debug.ui/src/org/eclipse/wst/jsdt/debug/internal/ui/actions/BreakpointSuspendPolicyToggleAction.java
  287. +0 −253 ...rg.eclipse.wst.jsdt.debug.ui/src/org/eclipse/wst/jsdt/debug/internal/ui/actions/BreakpointToggleAction.java
  288. +0 −56 ...les/org.eclipse.wst.jsdt.debug.ui/src/org/eclipse/wst/jsdt/debug/internal/ui/actions/EntryToggleAction.java
  289. +0 −367 bundles/org.eclipse.wst.jsdt.debug.ui/src/org/eclipse/wst/jsdt/debug/internal/ui/actions/EvaluateAction.java
  290. +0 −89 ...eclipse.wst.jsdt.debug.ui/src/org/eclipse/wst/jsdt/debug/internal/ui/actions/EvaluateEditorPopupAction.java
  291. +0 −56 bundles/org.eclipse.wst.jsdt.debug.ui/src/org/eclipse/wst/jsdt/debug/internal/ui/actions/ExitToggleAction.java
  292. +0 −59 .../org.eclipse.wst.jsdt.debug.ui/src/org/eclipse/wst/jsdt/debug/internal/ui/actions/FunctionFilterAction.java
  293. +0 −159 bundles/org.eclipse.wst.jsdt.debug.ui/src/org/eclipse/wst/jsdt/debug/internal/ui/actions/OpenSourceAction.java
  294. +0 −44 ...les/org.eclipse.wst.jsdt.debug.ui/src/org/eclipse/wst/jsdt/debug/internal/ui/actions/ProtoFilterAction.java
  295. +0 −41 ...g.eclipse.wst.jsdt.debug.ui/src/org/eclipse/wst/jsdt/debug/internal/ui/actions/ShowLoadedScriptsAction.java
  296. +0 −71 ...pse.wst.jsdt.debug.ui/src/org/eclipse/wst/jsdt/debug/internal/ui/actions/SuspendOnAllScriptLoadsAction.java
  297. +0 −68 ...eclipse.wst.jsdt.debug.ui/src/org/eclipse/wst/jsdt/debug/internal/ui/actions/SuspendOnExceptionsAction.java
  298. +0 −44 bundles/org.eclipse.wst.jsdt.debug.ui/src/org/eclipse/wst/jsdt/debug/internal/ui/actions/ThisFilterAction.java
  299. +0 −186 bundles/org.eclipse.wst.jsdt.debug.ui/src/org/eclipse/wst/jsdt/debug/internal/ui/actions/ViewFilterAction.java
  300. +0 −152 ...eclipse.wst.jsdt.debug.ui/src/org/eclipse/wst/jsdt/debug/internal/ui/adapters/JavaScriptAdapterFactory.java
Sorry, we could not display the entire diff because too many files (411) changed.
View
7 bundles/org.eclipse.wst.jsdt.debug.crossfire/.classpath
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.4"/>
- <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
- <classpathentry kind="src" path="src"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
View
25 bundles/org.eclipse.wst.jsdt.debug.crossfire/.options
@@ -1,25 +0,0 @@
-###############################################################################
-# Copyright (c) 2010 IBM Corporation and others.
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Eclipse Public License v1.0
-# which accompanies this distribution, and is available at
-# http://www.eclipse.org/legal/epl-v10.html
-#
-# Contributors:
-# IBM Corporation - initial API and implementation
-###############################################################################
-
-#option file for tracing options for Crossfire debugger port
-org.eclipse.wst.jsdt.debug.crossfire/debug=true
-
-#option to trace packets being sent / received
-org.eclipse.wst.jsdt.debug.crossfire/packets=false
-
-#option to trace the event queue
-org.eclipse.wst.jsdt.debug.crossfire/eventqueue=false
-
-#option to trace the jsdi impl* elements
-org.eclipse.wst.jsdt.debug.crossfire/jsdi=false
-
-#option to trace the JSON parser
-org.eclipse.wst.jsdt.debug.crossfire/json=false
View
34 bundles/org.eclipse.wst.jsdt.debug.crossfire/.project
@@ -1,34 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.wst.jsdt.debug.internal.crossfire</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.ManifestBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.SchemaBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.api.tools.apiAnalysisBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.pde.PluginNature</nature>
- <nature>org.eclipse.jdt.core.javanature</nature>
- <nature>org.eclipse.pde.api.tools.apiAnalysisNature</nature>
- </natures>
-</projectDescription>
View
90 bundles/org.eclipse.wst.jsdt.debug.crossfire/.settings/org.eclipse.jdt.core.prefs
@@ -1,90 +0,0 @@
-#Fri Apr 30 10:04:28 CDT 2010
-eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.2
-org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
-org.eclipse.jdt.core.compiler.compliance=1.4
-org.eclipse.jdt.core.compiler.debug.lineNumber=generate
-org.eclipse.jdt.core.compiler.debug.localVariable=generate
-org.eclipse.jdt.core.compiler.debug.sourceFile=generate
-org.eclipse.jdt.core.compiler.doc.comment.support=enabled
-org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=warning
-org.eclipse.jdt.core.compiler.problem.autoboxing=ignore
-org.eclipse.jdt.core.compiler.problem.comparingIdentical=error
-org.eclipse.jdt.core.compiler.problem.deadCode=error
-org.eclipse.jdt.core.compiler.problem.deprecation=warning
-org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled
-org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled
-org.eclipse.jdt.core.compiler.problem.discouragedReference=warning
-org.eclipse.jdt.core.compiler.problem.emptyStatement=ignore
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=warning
-org.eclipse.jdt.core.compiler.problem.fallthroughCase=error
-org.eclipse.jdt.core.compiler.problem.fatalOptionalError=disabled
-org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore
-org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning
-org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning
-org.eclipse.jdt.core.compiler.problem.forbiddenReference=error
-org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning
-org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning
-org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=ignore
-org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=error
-org.eclipse.jdt.core.compiler.problem.invalidJavadoc=ignore
-org.eclipse.jdt.core.compiler.problem.invalidJavadocTags=disabled
-org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsDeprecatedRef=disabled
-org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsNotVisibleRef=disabled
-org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsVisibility=public
-org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore
-org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning
-org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore
-org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=error
-org.eclipse.jdt.core.compiler.problem.missingJavadocComments=ignore
-org.eclipse.jdt.core.compiler.problem.missingJavadocCommentsOverriding=disabled
-org.eclipse.jdt.core.compiler.problem.missingJavadocCommentsVisibility=public
-org.eclipse.jdt.core.compiler.problem.missingJavadocTagDescription=return_tag
-org.eclipse.jdt.core.compiler.problem.missingJavadocTags=ignore
-org.eclipse.jdt.core.compiler.problem.missingJavadocTagsOverriding=disabled
-org.eclipse.jdt.core.compiler.problem.missingJavadocTagsVisibility=public
-org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore
-org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=enabled
-org.eclipse.jdt.core.compiler.problem.missingSerialVersion=ignore
-org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=ignore
-org.eclipse.jdt.core.compiler.problem.noEffectAssignment=error
-org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=error
-org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=error
-org.eclipse.jdt.core.compiler.problem.nullReference=warning
-org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning
-org.eclipse.jdt.core.compiler.problem.parameterAssignment=error
-org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=error
-org.eclipse.jdt.core.compiler.problem.potentialNullReference=ignore
-org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning
-org.eclipse.jdt.core.compiler.problem.redundantNullCheck=ignore
-org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=error
-org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled
-org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=error
-org.eclipse.jdt.core.compiler.problem.suppressOptionalErrors=disabled
-org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled
-org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore
-org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning
-org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning
-org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore
-org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning
-org.eclipse.jdt.core.compiler.problem.unnecessaryElse=error
-org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=error
-org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore
-org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=error
-org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=enabled
-org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled
-org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled
-org.eclipse.jdt.core.compiler.problem.unusedImport=error
-org.eclipse.jdt.core.compiler.problem.unusedLabel=error
-org.eclipse.jdt.core.compiler.problem.unusedLocal=error
-org.eclipse.jdt.core.compiler.problem.unusedObjectAllocation=error
-org.eclipse.jdt.core.compiler.problem.unusedParameter=error
-org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled
-org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled
-org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled
-org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=error
-org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning
-org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning
-org.eclipse.jdt.core.compiler.source=1.3
View
19 bundles/org.eclipse.wst.jsdt.debug.crossfire/META-INF/MANIFEST.MF
@@ -1,19 +0,0 @@
-Manifest-Version: 1.0
-Bundle-ManifestVersion: 2
-Bundle-Name: %Bundle-Name
-Bundle-SymbolicName: org.eclipse.wst.jsdt.debug.crossfire;singleton:=true
-Bundle-Version: 1.0.0.qualifier
-Bundle-Activator: org.eclipse.wst.jsdt.debug.internal.crossfire.CrossFirePlugin
-Bundle-Vendor: %Bundle-Vendor
-Require-Bundle: org.eclipse.core.runtime,
- org.eclipse.wst.jsdt.debug.core;bundle-version="1.0.0",
- org.eclipse.wst.jsdt.debug.transport;bundle-version="1.0.0",
- org.eclipse.debug.core
-Bundle-RequiredExecutionEnvironment: J2SE-1.4
-Bundle-ActivationPolicy: lazy
-Export-Package: org.eclipse.wst.jsdt.debug.internal.crossfire;x-internal:=true,
- org.eclipse.wst.jsdt.debug.internal.crossfire.connect;x-internal:=true,
- org.eclipse.wst.jsdt.debug.internal.crossfire.event;x-internal:=true,
- org.eclipse.wst.jsdt.debug.internal.crossfire.jsdi;x-internal:=true,
- org.eclipse.wst.jsdt.debug.internal.crossfire.request;x-internal:=true,
- org.eclipse.wst.jsdt.debug.internal.crossfire.transport;x-internal:=true
View
12 bundles/org.eclipse.wst.jsdt.debug.crossfire/OSGI-INF/l10n/bundle.properties
@@ -1,12 +0,0 @@
-###############################################################################
-# Copyright (c) 2010 IBM Corporation and others.
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Eclipse Public License v1.0
-# which accompanies this distribution, and is available at
-# http://www.eclipse.org/legal/epl-v10.html
-#
-# Contributors:
-# IBM Corporation - initial API and implementation
-###############################################################################
-Bundle-Vendor = Eclipse Web Tools Platform
-Bundle-Name = Crossfire JavaScript Debug
View
6 bundles/org.eclipse.wst.jsdt.debug.crossfire/build.properties
@@ -1,6 +0,0 @@
-source.. = src/
-output.. = bin/
-bin.includes = META-INF/,\
- .,\
- plugin.xml,\
- OSGI-INF/l10n/bundle.properties
View
19 bundles/org.eclipse.wst.jsdt.debug.crossfire/plugin.xml
@@ -1,19 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?eclipse version="3.4"?>
-<plugin>
- <extension
- point="org.eclipse.wst.jsdt.debug.core.launchingConnectors">
- <connector
- class="org.eclipse.wst.jsdt.debug.internal.crossfire.connect.CrossfireListeningConnector"
- id="crossfire.remote.listen.connector">
- </connector>
- </extension>
- <extension
- point="org.eclipse.wst.jsdt.debug.core.launchingConnectors">
- <connector
- class="org.eclipse.wst.jsdt.debug.internal.crossfire.connect.CrossfireAttachingConnector"
- id="crossfire.remote.attach.connector">
- </connector>
- </extension>
-
-</plugin>
View
42 ...es/org.eclipse.wst.jsdt.debug.crossfire/src/org/eclipse/wst/jsdt/debug/internal/crossfire/Constants.java
@@ -1,42 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2010 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.wst.jsdt.debug.internal.crossfire;
-
-/**
- * Constants for the bundle
- *
- * @since 1.0
- */
-public interface Constants {
-
- /**
- * Constant representing a space
- */
- public static final String SPACE = " "; //$NON-NLS-1$
- /**
- * Constant representing a colon.<br>
- * <br>
- * Value is: <code>:</code>
- */
- public static final String COLON = ":"; //$NON-NLS-1$
- /**
- * Constant representing the empty string
- */
- public static final String EMPTY_STRING = ""; //$NON-NLS-1$
- /**
- * UTF-8 encoding constant <br>
- * <br>
- * Value is: <code>UTF-8</code>
- */
- public static final String UTF_8 = "UTF-8"; //$NON-NLS-1$
- public static String URI_FILE_SCHEME = "file"; //$NON-NLS-1$
- public static final String UNKNOWN = "unknown"; //$NON-NLS-1$
-}
View
154 ....eclipse.wst.jsdt.debug.crossfire/src/org/eclipse/wst/jsdt/debug/internal/crossfire/CrossFirePlugin.java
@@ -1,154 +0,0 @@
-package org.eclipse.wst.jsdt.debug.internal.crossfire;
-
-import java.net.URI;
-import java.net.URISyntaxException;
-
-import org.eclipse.core.runtime.IPath;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Platform;
-import org.eclipse.core.runtime.Plugin;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.wst.jsdt.debug.internal.crossfire.event.CFEventQueue;
-import org.eclipse.wst.jsdt.debug.internal.crossfire.jsdi.CFMirror;
-import org.eclipse.wst.jsdt.debug.internal.crossfire.transport.JSON;
-import org.eclipse.wst.jsdt.debug.internal.crossfire.transport.CFPacket;
-import org.osgi.framework.BundleActivator;
-import org.osgi.framework.BundleContext;
-
-/**
- * Crossfire {@link BundleActivator}
- *
- * @since 1.0
- */
-public class CrossFirePlugin extends Plugin {
-
- /**
- * Id of the bundle
- */
- public static final String PLUGIN_ID = "org.eclipse.wst.jsdt.debug.crossfire"; //$NON-NLS-1$
- /**
- * CFPacket tracing option name
- */
- public static final String TRC_PACKETS = PLUGIN_ID + "/packets"; //$NON-NLS-1$
- /**
- * CFEventPacket queue tracing option name
- */
- public static final String TRC_EVENTQUEUE = PLUGIN_ID + "/eventqueue"; //$NON-NLS-1$
- /**
- * JSDI implementation tracing option name
- */
- public static final String TRC_JSDI = PLUGIN_ID + "/jsdi"; //$NON-NLS-1$
- /**
- * JSON parser tracing option
- */
- public static final String TRC_JSON = PLUGIN_ID + "/json"; //$NON-NLS-1$
-
- /**
- * Status code indicating an unexpected internal error.
- */
- public static final int INTERNAL_ERROR = 120;
-
- private static CrossFirePlugin plugin = null;
-
- /*
- * (non-Javadoc)
- * @see org.osgi.framework.BundleActivator#start(org.osgi.framework.BundleContext)
- */
- public void start(BundleContext bundleContext) throws Exception {
- super.start(bundleContext);
- plugin = this;
- configureTracing();
- }
-
- /* (non-Javadoc)
- * @see org.osgi.framework.BundleActivator#stop(org.osgi.framework.BundleContext)
- */
- public void stop(BundleContext bundleContext) throws Exception {
- try {
- plugin = null;
- }
- finally {
- super.stop(bundleContext);
- }
- }
-
- /**
- * @return the singleton instance
- */
- public static CrossFirePlugin getDefault() {
- return plugin;
- }
-
- /**
- * Logs the specified status with this plug-in's log.
- *
- * @param status status to log
- */
- public static void log(IStatus status) {
- if (plugin != null) {
- plugin.getLog().log(status);
- }
- }
-
- /**
- * Logs the specified throwable with this plug-in's log.
- *
- * @param t throwable to log
- */
- public static void log(Throwable t) {
- log(newErrorStatus("Error logged from Crossfire Debug: ", t)); //$NON-NLS-1$
- }
-
- /**
- * Logs an internal error with the specified message.
- *
- * @param message the error message to log
- */
- public static void logErrorMessage(String message) {
- log(newErrorStatus("Internal message logged from Crossfire Debug: " + message, null)); //$NON-NLS-1$
- }
-
- /**
- * Returns a new error status for this plug-in with the given message
- * @param message the message to be included in the status
- * @param exception the exception to be included in the status or <code>null</code> if none
- * @return a new error status
- */
- public static IStatus newErrorStatus(String message, Throwable exception) {
- return new Status(IStatus.ERROR, PLUGIN_ID, INTERNAL_ERROR, message, exception);
- }
-
- /**
- * Turns on / off any tracing options
- */
- public void configureTracing() {
- if(CrossFirePlugin.getDefault().isDebugging()) {
- String option = Platform.getDebugOption(TRC_PACKETS);
- if(option != null) {
- CFPacket.setTracing(Boolean.valueOf(option).booleanValue());
- }
- option = Platform.getDebugOption(TRC_EVENTQUEUE);
- if(option != null) {
- CFEventQueue.setTracing(Boolean.valueOf(option).booleanValue());
- }
- option = Platform.getDebugOption(TRC_JSDI);
- if(option != null) {
- CFMirror.setTracing(Boolean.valueOf(option).booleanValue());
- }
- option = Platform.getDebugOption(TRC_JSON);
- if(option != null) {
- JSON.setTracing(Boolean.valueOf(option).booleanValue());
- }
- }
- }
-
- /**
- * Creates a new {@link URI} with the <code>file</code> scheme
- * @param path
- * @return a new {@link URI}
- * @throws URISyntaxException
- */
- public static URI fileURI(IPath path) throws URISyntaxException {
- return new URI(Constants.URI_FILE_SCHEME, null, path.makeAbsolute().toString(), null);
- }
-}
View
33 bundles/org.eclipse.wst.jsdt.debug.crossfire/src/org/eclipse/wst/jsdt/debug/internal/crossfire/Tracing.java
@@ -1,33 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2010 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.wst.jsdt.debug.internal.crossfire;
-
-import org.eclipse.wst.jsdt.debug.internal.crossfire.transport.JSON;
-
-/**
- * Helper class for common tracing functions
- *
- * @since 1.0
- */
-public class Tracing {
-
- public static final String PRINTABLE_LINE_FEED = "\\\\r\\\\n"; //$NON-NLS-1$
-
- /**
- * Writes the string to system out cleaning it of control chars before printing it
- *
- * @param string
- */
- public static void writeString(String string) {
- System.out.println("[CROSSFIRE]" + string.replaceAll(JSON.LINE_FEED, PRINTABLE_LINE_FEED)); //$NON-NLS-1$
- }
-
-}
View
91 ....wst.jsdt.debug.crossfire/src/org/eclipse/wst/jsdt/debug/internal/crossfire/connect/BrowserArgument.java
@@ -1,91 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2010 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.wst.jsdt.debug.internal.crossfire.connect;
-
-import org.eclipse.wst.jsdt.debug.core.jsdi.connect.Connector.BooleanArgument;
-
-/**
- * Option to automatically launch the browser and connect to it
- *
- * @since 1.0
- */
-public class BrowserArgument implements BooleanArgument {
-
- /**
- * name of the argument
- */
- public static final String BROWSER = "browser"; //$NON-NLS-1$
-
- private boolean doit = false;
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.jsdt.debug.core.jsdi.connect.Connector.Argument#description()
- */
- public String description() {
- return Messages.auto_attach_desc;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.jsdt.debug.core.jsdi.connect.Connector.Argument#label()
- */
- public String label() {
- return Messages.auto_attach_label;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.jsdt.debug.core.jsdi.connect.Connector.Argument#mustSpecify()
- */
- public boolean mustSpecify() {
- return false;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.jsdt.debug.core.jsdi.connect.Connector.Argument#name()
- */
- public String name() {
- return BROWSER;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.jsdt.debug.core.jsdi.connect.Connector.Argument#setValue(java.lang.String)
- */
- public void setValue(String value) {
- doit = Boolean.valueOf(value).booleanValue();
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.jsdt.debug.core.jsdi.connect.Connector.Argument#value()
- */
- public String value() {
- return Boolean.toString(doit);
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.jsdt.debug.core.jsdi.connect.Connector.BooleanArgument#booleanValue()
- */
- public boolean booleanValue() {
- return doit;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.jsdt.debug.core.jsdi.connect.Connector.BooleanArgument#isValid(java.lang.String)
- */
- public boolean isValid(String value) {
- return true;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.jsdt.debug.core.jsdi.connect.Connector.BooleanArgument#setValue(boolean)
- */
- public void setValue(boolean booleanValue) {
- doit = booleanValue;
- }
-}
View
163 ...bug.crossfire/src/org/eclipse/wst/jsdt/debug/internal/crossfire/connect/CrossfireAttachingConnector.java
@@ -1,163 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2010 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.wst.jsdt.debug.internal.crossfire.connect;
-
-import java.io.IOException;
-import java.util.HashMap;
-import java.util.Map;
-
-import org.eclipse.core.runtime.Platform;
-import org.eclipse.osgi.util.NLS;
-import org.eclipse.wst.jsdt.debug.core.jsdi.VirtualMachine;
-import org.eclipse.wst.jsdt.debug.core.jsdi.connect.AttachingConnector;
-import org.eclipse.wst.jsdt.debug.internal.crossfire.jsdi.CFVirtualMachine;
-import org.eclipse.wst.jsdt.debug.internal.crossfire.transport.CFTransportService;
-import org.eclipse.wst.jsdt.debug.transport.Connection;
-import org.eclipse.wst.jsdt.debug.transport.DebugSession;
-import org.eclipse.wst.jsdt.debug.transport.TransportService;
-
-/**
- * Attaching connector for Crossfire
- *
- * @since 1.0
- */
-public class CrossfireAttachingConnector implements AttachingConnector {
-
- public static final String CROSSFIRE_REMOTE_ATTACH_CONNECTOR_ID = "crossfire.remote.attach.connector"; //$NON-NLS-1$
-
- /**
- * Constructor
- */
- public CrossfireAttachingConnector() {
- }
-
- /*
- * (non-Javadoc)
- * @see org.eclipse.wst.jsdt.debug.core.jsdi.connect.Connector#defaultArguments()
- */
- public Map defaultArguments() {
- Map args = new HashMap(4);
- args.put(HostArgument.HOST, new HostArgument(null));
- args.put(PortArgument.PORT, new PortArgument(5000));
- args.put(TimeoutArgument.TIMEOUT, new TimeoutArgument());
- //XXX hack because there is no good way to find the Firefox executable on Win
- if(!Platform.OS_WIN32.equals(Platform.getOS())) {
- args.put(BrowserArgument.BROWSER, new BrowserArgument());
- }
- return args;
- }
-
- /*
- * (non-Javadoc)
- * @see org.eclipse.wst.jsdt.debug.core.jsdi.connect.Connector#description()
- */
- public String description() {
- return Messages.attach_connector_desc;
- }
-
- /*
- * (non-Javadoc)
- * @see org.eclipse.wst.jsdt.debug.core.jsdi.connect.Connector#name()
- */
- public String name() {
- return Messages.crossfire_remote_attach;
- }
-
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.wst.jsdt.debug.core.jsdi.connect.Connector#id()
- */
- public String id() {
- return CROSSFIRE_REMOTE_ATTACH_CONNECTOR_ID;
- }
-
- /*
- * (non-Javadoc)
- * @see org.eclipse.wst.jsdt.debug.core.jsdi.connect.AttachingConnector#attach
- * (java.util.Map)
- */
- public VirtualMachine attach(Map arguments) throws IOException {
- String str = (String) arguments.get(BrowserArgument.BROWSER);
- //XXX hack because there is no good way to find the Firefox executable on Win
- boolean browser = Boolean.valueOf(str).booleanValue() && !Platform.OS_WIN32.equals(Platform.getOS());
- if (browser && !HostArgument.isLocalhost((String) arguments.get(HostArgument.HOST))) {
- // we cannot auto launch the browser on a different host
- throw new IOException(Messages.cannot_launch_browser_not_localhost);
- }
- Connection c = null;
- if (browser) {
- c = launchForBrowser(arguments);
- } else {
- c = launch(arguments);
- }
- DebugSession session = new DebugSession(c);
- return new CFVirtualMachine(session);
- }
-
- /**
- * Launches the browser and connects to it. This method will poll for the
- * browser to be launched but only for a fixed timeout.
- *
- * @param arguments
- * @return the created connection or <code>null</code> if the attempt to
- * connect times out, the browser process terminates before we can
- * connect
- * @throws IOException
- */
- Connection launchForBrowser(final Map arguments) throws IOException {
- String host = (String) arguments.get(HostArgument.HOST);
- String port = (String) arguments.get(PortArgument.PORT);
- StringBuffer buffer = new StringBuffer("firefox -ProfileManager -load-fb-modules -crossfire-server-port ").append(port); //$NON-NLS-1$
- Process p = Runtime.getRuntime().exec(buffer.toString());
- TransportService service = new CFTransportService();
- String timeoutstr = (String) arguments.get(TimeoutArgument.TIMEOUT);
- int timeout = Integer.parseInt(timeoutstr);
- buffer = new StringBuffer();
- buffer.append(host).append(':').append(Integer.parseInt(port));
- long timer = System.currentTimeMillis() + 20000;
- Connection c = null;
- while (p != null && System.currentTimeMillis() < timer && c == null) {
- try {
- c = service.attach(buffer.toString(), timeout,timeout);
- } catch (IOException ioe) {
- // ignore while pinging to connect
- try {
- Thread.sleep(200);
- } catch (InterruptedException e) {
- //do nothing
- }
- }
- }
- if (c == null) {
- throw new IOException(NLS.bind(Messages.failed_to_attach_to_auto_browser, new String[] {host, port }));
- }
- return c;
- }
-
- /**
- * Tries to connect to the given
- *
- * @param arguments
- * @return the {@link Connection} or throws an exception
- * @throws IOException
- */
- Connection launch(Map arguments) throws IOException {
- TransportService service = new CFTransportService();
- String host = (String) arguments.get(HostArgument.HOST);
- String port = (String) arguments.get(PortArgument.PORT);
- String timeoutstr = (String) arguments.get(TimeoutArgument.TIMEOUT);
- int timeout = Integer.parseInt(timeoutstr);
- StringBuffer buffer = new StringBuffer();
- buffer.append(host).append(':').append(Integer.parseInt(port));
- return service.attach(buffer.toString(), timeout, timeout);
- }
-}
View
90 ...bug.crossfire/src/org/eclipse/wst/jsdt/debug/internal/crossfire/connect/CrossfireListeningConnector.java
@@ -1,90 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2010 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.wst.jsdt.debug.internal.crossfire.connect;
-
-import java.io.IOException;
-import java.util.HashMap;
-import java.util.Map;
-
-import org.eclipse.wst.jsdt.debug.core.jsdi.VirtualMachine;
-import org.eclipse.wst.jsdt.debug.core.jsdi.connect.ListeningConnector;
-import org.eclipse.wst.jsdt.debug.internal.crossfire.jsdi.CFVirtualMachine;
-import org.eclipse.wst.jsdt.debug.internal.crossfire.transport.CFTransportService;
-import org.eclipse.wst.jsdt.debug.transport.Connection;
-import org.eclipse.wst.jsdt.debug.transport.DebugSession;
-import org.eclipse.wst.jsdt.debug.transport.TransportService;
-
-/**
- * Default launching connector for CrossFire
- *
- * @since 1.0
- */
-public class CrossfireListeningConnector implements ListeningConnector {
-
- /**
- * The id of the connector
- */
- public static final String CROSSFIRE_REMOTE_ATTACH_CONNECTOR_ID = "crossfire.remote.listen.connector"; //$NON-NLS-1$
-
- /**
- * Constructor
- */
- public CrossfireListeningConnector() {
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.jsdt.debug.core.jsdi.connect.Connector#defaultArguments()
- */
- public Map defaultArguments() {
- Map args = new HashMap(2);
- args.put(HostArgument.HOST, new HostArgument(null));
- args.put(PortArgument.PORT, new PortArgument(5000));
- args.put(TimeoutArgument.TIMEOUT, new TimeoutArgument());
- return args;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.jsdt.debug.core.jsdi.connect.Connector#description()
- */
- public String description() {
- return Messages.attach_connector_desc;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.jsdt.debug.core.jsdi.connect.Connector#name()
- */
- public String name() {
- return Messages.attach_connector_name;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.jsdt.debug.core.jsdi.connect.Connector#id()
- */
- public String id() {
- return CROSSFIRE_REMOTE_ATTACH_CONNECTOR_ID;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.jsdt.debug.core.jsdi.connect.ListeningConnector#accept(java.util.Map)
- */
- public VirtualMachine accept(Map arguments) throws IOException {
- TransportService service = new CFTransportService();
- String host = (String) arguments.get(HostArgument.HOST);
- String port = (String) arguments.get(PortArgument.PORT);
- String timeoutstr = (String) arguments.get(TimeoutArgument.TIMEOUT);
- int timeout = Integer.parseInt(timeoutstr);
- StringBuffer buffer = new StringBuffer();
- buffer.append(host).append(':').append(Integer.parseInt(port));
- Connection c = service.accept(service.startListening(buffer.toString()), timeout, timeout);
- DebugSession session = new DebugSession(c);
- return new CFVirtualMachine(session);
- }
-}
View
105 ...pse.wst.jsdt.debug.crossfire/src/org/eclipse/wst/jsdt/debug/internal/crossfire/connect/HostArgument.java
@@ -1,105 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2010 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.wst.jsdt.debug.internal.crossfire.connect;
-
-import org.eclipse.wst.jsdt.debug.core.jsdi.connect.Connector.StringArgument;
-import org.eclipse.wst.jsdt.debug.transport.Constants;
-
-/**
- * Implementation of a string argument that describes the host argument
- *
- * @since 1.0
- */
-public class HostArgument implements StringArgument {
-
- private static final long serialVersionUID = 3057403815318177030L;
- private String host;
-
- /**
- * Host attribute name
- */
- public static final String HOST = "host"; //$NON-NLS-1$
-
- /**
- * Constructor
- *
- * @param host
- */
- public HostArgument(String host) {
- setValue(host);
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.jsdt.debug.core.jsdi.connect.Connector.Argument#description()
- */
- public String description() {
- return Messages.host_arg_desc;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.jsdt.debug.core.jsdi.connect.Connector.StringArgument#isValid(java.lang.String)
- */
- public boolean isValid(String value) {
- return value != null;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.jsdt.debug.core.jsdi.connect.Connector.Argument#label()
- */
- public String label() {
- return Messages.host_arg_name;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.jsdt.debug.core.jsdi.connect.Connector.Argument#mustSpecify()
- */
- public boolean mustSpecify() {
- return true;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.jsdt.debug.core.jsdi.connect.Connector.Argument#name()
- */
- public String name() {
- return HOST;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.jsdt.debug.core.jsdi.connect.Connector.Argument#setValue(java.lang.String)
- */
- public void setValue(String host) {
- if(host == null) {
- this.host = Constants.LOCALHOST;
- }
- else {
- if (!isValid(host)) {
- throw new IllegalArgumentException();
- }
- this.host = host;
- }
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.jsdt.debug.core.jsdi.connect.Connector.Argument#value()
- */
- public String value() {
- return host;
- }
-
- /**
- * Returns if the given host is <code>localhost</code> or <code>127.0.0.1</code>
- * @param host
- * @return true if the given host it localhost (127.0.0.1) false otherwise
- */
- public static boolean isLocalhost(String host) {
- return host.equals(Constants.LOCALHOST) || host.equals(Constants.LOCALHOST_IP);
- }
-}
View
41 ...eclipse.wst.jsdt.debug.crossfire/src/org/eclipse/wst/jsdt/debug/internal/crossfire/connect/Messages.java
@@ -1,41 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2010 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.wst.jsdt.debug.internal.crossfire.connect;
-
-import org.eclipse.osgi.util.NLS;
-
-/**
- *
- */
-public class Messages extends NLS {
- private static final String BUNDLE_NAME = "org.eclipse.wst.jsdt.debug.internal.crossfire.connect.messages"; //$NON-NLS-1$
- public static String attach_connector_desc;
- public static String attach_connector_name;
- public static String auto_attach_desc;
- public static String auto_attach_label;
- public static String cannot_launch_browser_not_localhost;
- public static String crossfire_remote_attach;
- public static String failed_to_attach_to_auto_browser;
- public static String host_arg_desc;
- public static String host_arg_name;
- public static String only_localhost_is_supported;
- public static String port_arg_desc;
- public static String port_arg_name;
- public static String timeout;
- public static String timeout_desc;
- static {
- // initialize resource bundle
- NLS.initializeMessages(BUNDLE_NAME, Messages.class);
- }
-
- private Messages() {
- }
-}
View
133 ...pse.wst.jsdt.debug.crossfire/src/org/eclipse/wst/jsdt/debug/internal/crossfire/connect/PortArgument.java
@@ -1,133 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2010 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.wst.jsdt.debug.internal.crossfire.connect;
-
-import org.eclipse.wst.jsdt.debug.core.jsdi.connect.Connector.IntegerArgument;
-
-/**
- * Implementation of an {@link IntegerArgument} that describes the port to try connecting to
- *
- * @since 1.0
- */
-public class PortArgument implements IntegerArgument {
-
- private static final long serialVersionUID = -1954469572907116388L;
- private int port;
-
- /**
- * The port attribute name
- */
- public static final String PORT = "port"; //$NON-NLS-1$
-
- /**
- * Constructor
- *
- * @param port
- */
- public PortArgument(int port) {
- setValue(port);
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.jsdt.debug.core.jsdi.connect.Connector.IntegerArgument#intValue()
- */
- public int intValue() {
- return port;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.jsdt.debug.core.jsdi.connect.Connector.IntegerArgument#isValid(int)
- */
- public boolean isValid(int intValue) {
- return intValue > 0;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.jsdt.debug.core.jsdi.connect.Connector.IntegerArgument#max()
- */
- public int max() {
- return Integer.MAX_VALUE;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.jsdt.debug.core.jsdi.connect.Connector.IntegerArgument#min()
- */
- public int min() {
- return 1;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.jsdt.debug.core.jsdi.connect.Connector.IntegerArgument#setValue(int)
- */
- public void setValue(int port) {
- this.port = port;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.jsdt.debug.core.jsdi.connect.Connector.Argument#description()
- */
- public String description() {
- return Messages.port_arg_desc;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.jsdt.debug.core.jsdi.connect.Connector.IntegerArgument#isValid(java.lang.String)
- */
- public boolean isValid(String value) {
- try {
- int intValue = Integer.parseInt(value);
- return isValid(intValue);
- } catch (NumberFormatException e) {
- return false;
- }
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.jsdt.debug.core.jsdi.connect.Connector.Argument#label()
- */
- public String label() {
- return Messages.port_arg_name;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.jsdt.debug.core.jsdi.connect.Connector.Argument#mustSpecify()
- */
- public boolean mustSpecify() {
- return true;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.jsdt.debug.core.jsdi.connect.Connector.Argument#name()
- */
- public String name() {
- return PORT;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.jsdt.debug.core.jsdi.connect.Connector.Argument#setValue(java.lang.String)
- */
- public void setValue(String value) {
- try {
- int intValue = Integer.parseInt(value);
- setValue(intValue);
- } catch (NumberFormatException nfe) {
- // re-throw IllegalArgumentException
- throw new IllegalArgumentException(nfe.getMessage());
- }
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.jsdt.debug.core.jsdi.connect.Connector.Argument#value()
- */
- public String value() {
- return Integer.toString(port);
- }
-}
View
138 ....wst.jsdt.debug.crossfire/src/org/eclipse/wst/jsdt/debug/internal/crossfire/connect/TimeoutArgument.java
@@ -1,138 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2010 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.wst.jsdt.debug.internal.crossfire.connect;
-
-import org.eclipse.wst.jsdt.debug.core.jsdi.connect.Connector.IntegerArgument;
-
-/**
- * Argument used to specify a timeout (in ms)
- *
- * @since 1.1
- */
-public class TimeoutArgument implements IntegerArgument {
-
- /**
- * Argument to specify a timeout
- */
- public static final String TIMEOUT = "timeout"; //$NON-NLS-1$
- /**
- * default connecting timeout
- */
- public static final Integer CONNECT_TIMEOUT = new Integer(30000);
-
- /**
- * The timeout
- */
- private int timeout = 0;
-
- /**
- * Constructor
- */
- public TimeoutArgument() {
- setValue(CONNECT_TIMEOUT.intValue());
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.jsdt.debug.core.jsdi.connect.Connector.Argument#description()
- */
- public String description() {
- return Messages.timeout_desc;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.jsdt.debug.core.jsdi.connect.Connector.Argument#label()
- */
- public String label() {
- return Messages.timeout;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.jsdt.debug.core.jsdi.connect.Connector.Argument#mustSpecify()
- */
- public boolean mustSpecify() {
- return true;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.jsdt.debug.core.jsdi.connect.Connector.Argument#name()
- */
- public String name() {
- return TIMEOUT;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.jsdt.debug.core.jsdi.connect.Connector.Argument#setValue(java.lang.String)
- */
- public void setValue(String value) {
- try {
- timeout = Integer.parseInt(value);
- }
- catch(NumberFormatException nfe) {
- //do nothing the new value will not be set
- }
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.jsdt.debug.core.jsdi.connect.Connector.Argument#value()
- */
- public String value() {
- return Integer.toString(timeout);
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.jsdt.debug.core.jsdi.connect.Connector.IntegerArgument#intValue()
- */
- public int intValue() {
- return timeout;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.jsdt.debug.core.jsdi.connect.Connector.IntegerArgument#isValid(int)
- */
- public boolean isValid(int intValue) {
- return intValue > 0;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.jsdt.debug.core.jsdi.connect.Connector.IntegerArgument#isValid(java.lang.String)
- */
- public boolean isValid(String value) {
- try {
- return Integer.parseInt(value) > 0;
- }
- catch(NumberFormatException bfe) {
- //do nothing, just not valid
- }
- return false;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.jsdt.debug.core.jsdi.connect.Connector.IntegerArgument#max()
- */
- public int max() {
- return Integer.MAX_VALUE;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.jsdt.debug.core.jsdi.connect.Connector.IntegerArgument#min()
- */
- public int min() {
- return 0;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.jsdt.debug.core.jsdi.connect.Connector.IntegerArgument#setValue(int)
- */
- public void setValue(int intValue) {
- timeout = intValue;
- }
-
-}
View
24 ...e.wst.jsdt.debug.crossfire/src/org/eclipse/wst/jsdt/debug/internal/crossfire/connect/messages.properties
@@ -1,24 +0,0 @@
-###############################################################################
-# Copyright (c) 2010 IBM Corporation and others.
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Eclipse Public License v1.0
-# which accompanies this distribution, and is available at
-# http://www.eclipse.org/legal/epl-v10.html
-#
-# Contributors:
-# IBM Corporation - initial API and implementation
-###############################################################################
-attach_connector_desc=Allows you to connect to a Mozilla-based browser with the CrossFire extension installed
-attach_connector_name=CrossFire - Remote Listen
-auto_attach_desc=Automatically launch Firefox and attach to it
-auto_attach_label=Auto&matically launch Firefox and attach to it (extremely experimental)
-cannot_launch_browser_not_localhost=You cannot launch a browser on a different host than localhost (127.0.0.1)
-crossfire_remote_attach=Crossfire - Remote Attach
-failed_to_attach_to_auto_browser=Failed to attach to debugger at {0} on port {1}
-host_arg_desc=The name of the host address to try attaching to.
-host_arg_name=&Host:
-only_localhost_is_supported=Only localhost (127.0.0.1) is supported.
-port_arg_desc=The port on the host machine to try attaching to.
-port_arg_name=&Port:
-timeout=&Timeout (ms):
-timeout_desc=A timeout value in milliseconds to wait for a debugger to connect
View
36 ....wst.jsdt.debug.crossfire/src/org/eclipse/wst/jsdt/debug/internal/crossfire/event/CFBreakpointEvent.java
@@ -1,36 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2010 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.wst.jsdt.debug.internal.crossfire.event;
-
-import org.eclipse.wst.jsdt.debug.core.jsdi.Location;
-import org.eclipse.wst.jsdt.debug.core.jsdi.ThreadReference;
-import org.eclipse.wst.jsdt.debug.core.jsdi.VirtualMachine;
-import org.eclipse.wst.jsdt.debug.core.jsdi.event.BreakpointEvent;
-import org.eclipse.wst.jsdt.debug.core.jsdi.request.EventRequest;
-
-/**
- * Default implementation of {@link BreakpointEvent} for Crossfire
- *
- * @since 1.0
- */
-public class CFBreakpointEvent extends CFLocatableEvent implements BreakpointEvent {
-
- /**
- * Constructor
- * @param vm
- * @param request
- * @param thread
- * @param location
- */
- public CFBreakpointEvent(VirtualMachine vm, EventRequest request, ThreadReference thread, Location location) {
- super(vm, request, thread, location);
- }
-}
View
36 ...dt.debug.crossfire/src/org/eclipse/wst/jsdt/debug/internal/crossfire/event/CFDebuggerStatementEvent.java
@@ -1,36 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2010 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.wst.jsdt.debug.internal.crossfire.event;
-
-import org.eclipse.wst.jsdt.debug.core.jsdi.Location;
-import org.eclipse.wst.jsdt.debug.core.jsdi.ThreadReference;
-import org.eclipse.wst.jsdt.debug.core.jsdi.VirtualMachine;
-import org.eclipse.wst.jsdt.debug.core.jsdi.event.DebuggerStatementEvent;
-import org.eclipse.wst.jsdt.debug.core.jsdi.request.EventRequest;
-
-/**
- * Default implementation of {@link DebuggerStatementEvent} for Crossfire
- *
- * @since 1.0
- */
-public class CFDebuggerStatementEvent extends CFLocatableEvent implements DebuggerStatementEvent {
-
- /**
- * Constructor
- * @param vm
- * @param request
- * @param thread
- * @param location
- */
- public CFDebuggerStatementEvent(VirtualMachine vm, EventRequest request, ThreadReference thread, Location location) {
- super(vm, request, thread, location);
- }
-}
View
51 ...rg.eclipse.wst.jsdt.debug.crossfire/src/org/eclipse/wst/jsdt/debug/internal/crossfire/event/CFEvent.java
@@ -1,51 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2010 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.wst.jsdt.debug.internal.crossfire.event;
-
-import org.eclipse.wst.jsdt.debug.core.jsdi.VirtualMachine;
-import org.eclipse.wst.jsdt.debug.core.jsdi.event.Event;
-import org.eclipse.wst.jsdt.debug.core.jsdi.request.EventRequest;
-
-/**
- * Default implementation of an {@link CFEvent} for Crossfire
- *
- * @since 1.0
- */
-public class CFEvent implements Event {
-
- private VirtualMachine vm = null;
- private EventRequest request = null;
-
- /**
- * Constructor
- *
- * @param vm
- * @param request
- */
- public CFEvent(VirtualMachine vm, EventRequest request) {
- this.vm = vm;
- this.request = request;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.jsdt.debug.core.jsdi.Mirror#virtualMachine()
- */
- public VirtualMachine virtualMachine() {
- return vm;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.jsdt.debug.core.jsdi.event.Event#request()
- */
- public EventRequest request() {
- return request;
- }
-}
View
274 ...lipse.wst.jsdt.debug.crossfire/src/org/eclipse/wst/jsdt/debug/internal/crossfire/event/CFEventQueue.java
@@ -1,274 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2010 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.wst.jsdt.debug.internal.crossfire.event;
-
-import java.util.Iterator;
-import java.util.List;
-
-import org.eclipse.wst.jsdt.debug.core.jsdi.ThreadReference;
-import org.eclipse.wst.jsdt.debug.core.jsdi.event.EventQueue;
-import org.eclipse.wst.jsdt.debug.core.jsdi.event.EventSet;
-import org.eclipse.wst.jsdt.debug.core.jsdi.request.EventRequestManager;
-import org.eclipse.wst.jsdt.debug.core.jsdi.request.ScriptLoadRequest;
-import org.eclipse.wst.jsdt.debug.core.jsdi.request.SuspendRequest;
-import org.eclipse.wst.jsdt.debug.core.jsdi.request.ThreadEnterRequest;
-import org.eclipse.wst.jsdt.debug.core.jsdi.request.ThreadExitRequest;
-import org.eclipse.wst.jsdt.debug.core.jsdi.request.VMDeathRequest;
-import org.eclipse.wst.jsdt.debug.internal.crossfire.CrossFirePlugin;
-import org.eclipse.wst.jsdt.debug.internal.crossfire.Tracing;
-import org.eclipse.wst.jsdt.debug.internal.crossfire.jsdi.CFLocation;
-import org.eclipse.wst.jsdt.debug.internal.crossfire.jsdi.CFMirror;
-import org.eclipse.wst.jsdt.debug.internal.crossfire.jsdi.CFScriptReference;
-import org.eclipse.wst.jsdt.debug.internal.crossfire.jsdi.CFThreadReference;
-import org.eclipse.wst.jsdt.debug.internal.crossfire.jsdi.CFVirtualMachine;
-import org.eclipse.wst.jsdt.debug.internal.crossfire.transport.Attributes;
-import org.eclipse.wst.jsdt.debug.internal.crossfire.transport.CFEventPacket;
-import org.eclipse.wst.jsdt.debug.internal.crossfire.transport.JSON;
-import org.eclipse.wst.jsdt.debug.transport.exception.DisconnectedException;
-import org.eclipse.wst.jsdt.debug.transport.exception.TimeoutException;
-
-/**
- * Default {@link EventQueue} for Crossfire
- *
- * @since 1.0
- */
-public class CFEventQueue extends CFMirror implements EventQueue {
-
- private static boolean TRACE = false;
-
- private EventRequestManager eventmgr = null;
- private boolean disposed = false;
-
- /**
- * Constructor
- *
- * @param vm
- * @param manager
- */
- public CFEventQueue(CFVirtualMachine vm, EventRequestManager manager) {
- super(vm);
- this.eventmgr = manager;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.jsdt.debug.core.jsdi.event.EventQueue#remove()
- */
- public EventSet remove() {
- return remove(-1);
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.jsdt.debug.core.jsdi.event.EventQueue#remove(int)
- */
- public EventSet remove(int timeout) {
- try {
- while(true && !disposed) {
- CFEventPacket event = crossfire().receiveEvent(timeout);
- String name = event.getEvent();
- CFEventSet set = new CFEventSet(crossfire());
- if(CFEventPacket.CLOSED.equals(name)) {
- List deaths = eventmgr.vmDeathRequests();
- for (Iterator iter = deaths.iterator(); iter.hasNext();) {
- VMDeathRequest request = (VMDeathRequest) iter.next();
- set.add(new CFVMDeathEvent(crossfire(), request));
- }
- if(TRACE) {
- Tracing.writeString("QUEUE [event - "+CFEventPacket.CLOSED+"] "+JSON.serialize(event)); //$NON-NLS-1$ //$NON-NLS-2$
- }
- }
- else if(CFEventPacket.ON_BREAK.equals(name)) {
- if(TRACE) {
- Tracing.writeString("QUEUE [event - "+CFEventPacket.ON_BREAK+"] "+JSON.serialize(event)); //$NON-NLS-1$ //$NON-NLS-2$
- }
- String threadid = event.getContextId();
- if(threadid != null) {
- CFThreadReference thread = crossfire().findThread(threadid);
- set.setThread(thread);
- if(thread != null && !thread.isSuspended()) {
- List suspends = eventmgr.suspendRequests();
- for (Iterator iter = suspends.iterator(); iter.hasNext();) {
- SuspendRequest request = (SuspendRequest) iter.next();
- String url = (String) event.getBody().get(Attributes.URL);
- Number line = (Number) event.getBody().get(Attributes.LINE);
- CFScriptReference script = crossfire().findScript(url);
- if(script != null) {
- CFLocation loc = new CFLocation(crossfire(), script, null, line.intValue());
- set.add(new CFSuspendEvent(crossfire(), request, thread, loc));
- }
- }
- thread.markSuspended(true);
- }
- else {
- return null;
- }
- }
- }
- else if(CFEventPacket.ON_RESUME.equals(name)) {
- if(TRACE) {
- Tracing.writeString("QUEUE [event - "+CFEventPacket.ON_RESUME+"] "+JSON.serialize(event)); //$NON-NLS-1$ //$NON-NLS-2$
- }
- String threadid = event.getContextId();
- if(threadid != null) {
- CFThreadReference thread = crossfire().findThread(threadid);
- set.setThread(thread);
- if(thread != null && thread.isSuspended()) {
- thread.markSuspended(false);
- }
- return null;
- }
- }
- else if(CFEventPacket.ON_SCRIPT.equals(name)) {
- ThreadReference thread = crossfire().findThread(event.getContextId());
- if(thread != null) {
- set.setThread(thread);
- CFScriptReference script = crossfire().addScript(event.getContextId(), event.getBody());
- List scripts = eventmgr.scriptLoadRequests();
- for (Iterator iter = scripts.iterator(); iter.hasNext();) {
- ScriptLoadRequest request = (ScriptLoadRequest) iter.next();
- set.add(new CFScriptLoadEvent(crossfire(), request, thread, script));
- }
- }
- if(TRACE) {
- Tracing.writeString("QUEUE [event - "+CFEventPacket.ON_SCRIPT+"] "+JSON.serialize(event)); //$NON-NLS-1$ //$NON-NLS-2$
- }
- }
- else if(CFEventPacket.ON_CONTEXT_CREATED.equals(name)) {
- handleContext(set, event, false);
- if(TRACE) {
- Tracing.writeString("QUEUE [event - "+CFEventPacket.ON_CONTEXT_CREATED+"] "+JSON.serialize(event)); //$NON-NLS-1$ //$NON-NLS-2$
- }
- }
- else if(CFEventPacket.ON_CONTEXT_CHANGED.equals(name)) {
- handleContext(set, event, true);
- if(TRACE) {
- Tracing.writeString("QUEUE [event - "+CFEventPacket.ON_CONTEXT_CHANGED+"] "+JSON.serialize(event)); //$NON-NLS-1$ //$NON-NLS-2$
- }
- }
- else if(CFEventPacket.ON_CONTEXT_LOADED.equals(name)) {
- handleContext(set, event, true);
- if(TRACE) {
- Tracing.writeString("QUEUE [event - "+CFEventPacket.ON_CONTEXT_LOADED+"] "+JSON.serialize(event)); //$NON-NLS-1$ //$NON-NLS-2$
- }
- }
- else if(CFEventPacket.ON_CONTEXT_DESTROYED.equals(name)) {
- ThreadReference thread = crossfire().findThread(event.getContextId());
- crossfire().removeThread(event.getContextId());
- if(thread != null) {
- List threads = eventmgr.threadExitRequests();
- for (Iterator iter = threads.iterator(); iter.hasNext();) {
- ThreadExitRequest request = (ThreadExitRequest) iter.next();
- set.add(new CFThreadExitEvent(crossfire(), request, thread));
- }
- }
- if(TRACE) {
- Tracing.writeString("QUEUE [event - "+CFEventPacket.ON_CONTEXT_DESTROYED+"] "+JSON.serialize(event)); //$NON-NLS-1$ //$NON-NLS-2$
- }
- }
-
- else if(CFEventPacket.ON_CONSOLE_DEBUG.equals(name)) {
- if(TRACE) {
- Tracing.writeString("QUEUE [event - "+CFEventPacket.ON_CONSOLE_DEBUG+"] "+JSON.serialize(event)); //$NON-NLS-1$ //$NON-NLS-2$
- }
- }
- else if(CFEventPacket.ON_CONSOLE_ERROR.equals(name)) {
- if(TRACE) {
- Tracing.writeString("QUEUE [event - "+CFEventPacket.ON_CONSOLE_ERROR+"] "+JSON.serialize(event)); //$NON-NLS-1$ //$NON-NLS-2$
- }
- }
- else if(CFEventPacket.ON_CONSOLE_INFO.equals(name)) {
- if(TRACE) {
- Tracing.writeString("QUEUE [event - "+CFEventPacket.ON_CONSOLE_INFO+"] "+JSON.serialize(event)); //$NON-NLS-1$ //$NON-NLS-2$
- }
- }
- else if(CFEventPacket.ON_CONSOLE_LOG.equals(name)) {
- if(TRACE) {
- Tracing.writeString("QUEUE [event - "+CFEventPacket.ON_CONSOLE_LOG+"] "+JSON.serialize(event)); //$NON-NLS-1$ //$NON-NLS-2$
- }
- }
- else if(CFEventPacket.ON_CONSOLE_WARN.equals(name)) {
- if(TRACE) {
- Tracing.writeString("QUEUE [event - "+CFEventPacket.ON_CONSOLE_WARN+"] "+JSON.serialize(event)); //$NON-NLS-1$ //$NON-NLS-2$
- }
- }
- else if(CFEventPacket.ON_INSPECT_NODE.equals(name)) {
- if(TRACE) {
- Tracing.writeString("QUEUE [event - "+CFEventPacket.ON_INSPECT_NODE+"] "+JSON.serialize(event)); //$NON-NLS-1$ //$NON-NLS-2$
- }
- }
- else if(CFEventPacket.ON_TOGGLE_BREAKPOINT.equals(name)) {
- if(TRACE) {
- Tracing.writeString("QUEUE [event - "+CFEventPacket.ON_TOGGLE_BREAKPOINT+"] "+JSON.serialize(event)); //$NON-NLS-1$ //$NON-NLS-2$
- }
- return null;
- }
- else {
- if(TRACE) {
- Tracing.writeString("QUEUE [unknown event - "+name+"] "+JSON.serialize(event)); //$NON-NLS-1$ //$NON-NLS-2$
- }
- }
- if (set.isEmpty()) {
- set.resume();
- continue;
- }
- return set;
- }
- }
- catch(DisconnectedException de) {
- if(TRACE) {
- Tracing.writeString("QUEUE [disconnect exception]: "+de.getMessage()); //$NON-NLS-1$
- }
- crossfire().disconnectVM();
- handleException(de.getMessage(), de);
- }
- catch(TimeoutException te) {
- CrossFirePlugin.log(te);
- }
- return null;
- }
-
- /**
- * Handles a context created, loaded, and changed event
- * @param set the {@link EventSet} to add to
- * @param event the {@link CFEventPacket} received
- * @param lookup if we should try to lookup the {@link ThreadReference} before creating a new one
- */
- void handleContext(CFEventSet set, CFEventPacket event, boolean lookup) {
- List threads = eventmgr.threadEnterRequests();
- CFThreadReference thread = null;
- if(lookup) {
- thread = crossfire().findThread(event.getContextId());
- }
- if(thread == null) {
- thread = crossfire().addThread(event.getContextId(), (String) event.getBody().get(Attributes.HREF));
- }
- set.setThread(thread);
- for (Iterator iter = threads.iterator(); iter.hasNext();) {
- ThreadEnterRequest request = (ThreadEnterRequest) iter.next();
- set.add(new CFThreadEnterEvent(crossfire(), request, thread));
- }
-
- }
-
- /**
- * Flushes and cleans up the queue
- */
- public void dispose() {
- disposed = true;
- }
-
- /**
- * Turns on / off tracing in the event queue
- * @param tracing
- */
- public static void setTracing(boolean tracing) {
- TRACE = tracing;
- }
-}
View
70 ...eclipse.wst.jsdt.debug.crossfire/src/org/eclipse/wst/jsdt/debug/internal/crossfire/event/CFEventSet.java
@@ -1,70 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2010 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.wst.jsdt.debug.internal.crossfire.event;
-
-import java.util.HashSet;
-
-import org.eclipse.wst.jsdt.debug.core.jsdi.ThreadReference;
-import org.eclipse.wst.jsdt.debug.core.jsdi.VirtualMachine;
-import org.eclipse.wst.jsdt.debug.core.jsdi.event.EventSet;
-
-/**
- * Default implementation of {@link EventSet} for Crossfire
- *
- * @since 1.0
- */
-public class CFEventSet extends HashSet implements EventSet {
-
- private VirtualMachine vm = null;
- private ThreadReference thread = null;
-
- /**
- * Constructor
- * @param vm
- */
- public CFEventSet(VirtualMachine vm) {
- this.vm = vm;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.jsdt.debug.core.jsdi.event.EventSet#suspended()
- */
- public boolean suspended() {
- return true;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.jsdt.debug.core.jsdi.event.EventSet#resume()
- */
- public void resume() {
- if(thread != null) {
- thread.resume();
- }
- else {
- vm.resume();
- }
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.jsdt.debug.core.jsdi.Mirror#virtualMachine()
- */
- public VirtualMachine virtualMachine() {
- return vm;
- }
-
- /**
- * Sets the thread context for the set
- * @param thread
- */
- public void setThread(ThreadReference thread) {
- this.thread = thread;
- }
-}
View
47 ...e.wst.jsdt.debug.crossfire/src/org/eclipse/wst/jsdt/debug/internal/crossfire/event/CFExceptionEvent.java
@@ -1,47 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2010 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.wst.jsdt.debug.internal.crossfire.event;
-
-import org.eclipse.wst.jsdt.debug.core.jsdi.Location;
-import org.eclipse.wst.jsdt.debug.core.jsdi.ThreadReference;
-import org.eclipse.wst.jsdt.debug.core.jsdi.VirtualMachine;
-import org.eclipse.wst.jsdt.debug.core.jsdi.event.ExceptionEvent;
-import org.eclipse.wst.jsdt.debug.core.jsdi.request.EventRequest;
-
-/**
- * Default implementation of {@link ExceptionEvent} for Crossfire
- *
- * @since 1.0
- */
-public class CFExceptionEvent extends CFLocatableEvent implements ExceptionEvent {
-
- private String message = null;
-
- /**
- * Constructor
- * @param vm
- * @param request
- * @param thread
- * @param location
- * @param message
- */
- public CFExceptionEvent(VirtualMachine vm, EventRequest request, ThreadReference thread, Location location, String message) {
- super(vm, request, thread, location);
- this.message = message;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wst.jsdt.debug.core.jsdi.event.ExceptionEvent#message()
- */
- public String message() {
- return message;
- }
-}
View
53 <