You can subscribe to this list here.
| 2005 |
Jan
|
Feb
|
Mar
(41) |
Apr
(9) |
May
|
Jun
|
Jul
(39) |
Aug
(38) |
Sep
(135) |
Oct
(220) |
Nov
(75) |
Dec
(74) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2006 |
Jan
(44) |
Feb
(160) |
Mar
(49) |
Apr
(69) |
May
(40) |
Jun
(52) |
Jul
(47) |
Aug
(51) |
Sep
(19) |
Oct
(22) |
Nov
(36) |
Dec
(76) |
| 2007 |
Jan
(154) |
Feb
(165) |
Mar
(186) |
Apr
(143) |
May
(175) |
Jun
(133) |
Jul
(203) |
Aug
(177) |
Sep
(136) |
Oct
|
Nov
|
Dec
|
|
From: David C. <dc...@us...> - 2005-09-04 17:39:48
|
Update of /cvsroot/rubyeclipse/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/core In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19333/src/org/rubypeople/rdt/internal/core Modified Files: RubyProject.java Log Message: Improved auto-upgrade of projects to check for newly opened projects. Index: RubyProject.java =================================================================== RCS file: /cvsroot/rubyeclipse/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/core/RubyProject.java,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** RubyProject.java 3 Sep 2005 19:05:02 -0000 1.12 --- RubyProject.java 4 Sep 2005 17:39:11 -0000 1.13 *************** *** 22,26 **** --- 22,28 ---- import org.eclipse.core.runtime.IPath; import org.eclipse.core.runtime.IProgressMonitor; + import org.eclipse.core.runtime.IStatus; import org.eclipse.core.runtime.Path; + import org.eclipse.core.runtime.jobs.Job; import org.rubypeople.rdt.core.ILoadpathEntry; import org.rubypeople.rdt.core.IParent; |
|
From: David C. <dc...@us...> - 2005-09-04 17:39:23
|
Update of /cvsroot/rubyeclipse/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19353/src/org/rubypeople/rdt/internal/ui Modified Files: RubyPlugin.java Log Message: Improved auto-upgrade of projects to check for newly opened projects. Index: RubyPlugin.java =================================================================== RCS file: /cvsroot/rubyeclipse/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/RubyPlugin.java,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** RubyPlugin.java 4 Sep 2005 11:24:05 -0000 1.11 --- RubyPlugin.java 4 Sep 2005 17:39:15 -0000 1.12 *************** *** 1,12 **** --- 1,19 ---- package org.rubypeople.rdt.internal.ui; + import org.eclipse.core.internal.events.ResourceChangeEvent; import org.eclipse.core.resources.IFile; import org.eclipse.core.resources.IResource; + import org.eclipse.core.resources.IResourceChangeEvent; + import org.eclipse.core.resources.IResourceChangeListener; + import org.eclipse.core.resources.IResourceDelta; import org.eclipse.core.resources.IWorkspace; + import org.eclipse.core.resources.ResourcesPlugin; import org.eclipse.core.runtime.CoreException; import org.eclipse.core.runtime.IProgressMonitor; import org.eclipse.core.runtime.IStatus; + import org.eclipse.core.runtime.Path; import org.eclipse.core.runtime.Platform; import org.eclipse.core.runtime.Status; + import org.eclipse.core.runtime.jobs.Job; import org.eclipse.jface.preference.IPreferenceStore; import org.eclipse.jface.preference.PreferenceConverter; *************** *** 72,75 **** --- 79,83 ---- private RubyFoldingStructureProviderRegistry fFoldingStructureProviderRegistry; + private boolean taskViewAlreadyOpened; public RubyPlugin() { *************** *** 118,138 **** }); ! upgradeOldProjects(); } private void upgradeOldProjects() { ! try { ! boolean projectUpgraded = RubyCore.upgradeOldProjects(); ! ! if (projectUpgraded) { ! openTasksView(); ! } ! } catch (CoreException e) { ! log(IStatus.WARNING, "While upgrading RDT projects", e); ! } ! } - // currently a "no-op", as there are no workbench pages when this is called. :( DSC private void openTasksView() { WorkbenchJob job = new WorkbenchJob("Show Task View") { public IStatus runInUIThread(IProgressMonitor monitor) { --- 126,165 ---- }); ! ResourcesPlugin.getWorkspace().addResourceChangeListener(new IResourceChangeListener() { ! ! public void resourceChanged(IResourceChangeEvent event) { ! int eventType = event.getType(); ! if (eventType == ResourceChangeEvent.POST_CHANGE) { ! IResourceDelta delta = event.getDelta(); ! int deltaKind = delta.getKind(); ! if (deltaKind == IResourceDelta.CHANGED && event.getResource() == null && event.getDelta().getFullPath().equals(new Path("/"))) ! upgradeOldProjects(); ! } ! ! }}); ! upgradeOldProjects(); } private void upgradeOldProjects() { ! Job job = new Job("Upgrade Old Ruby Projects") { ! ! protected IStatus run(IProgressMonitor monitor) { ! try { ! boolean projectUpgraded = RubyCore.upgradeOldProjects(); ! ! if (projectUpgraded) { ! openTasksView(); ! } ! } catch (CoreException e) { ! log(IStatus.WARNING, "While upgrading RDT projects", e); ! } ! return Status.OK_STATUS; ! }}; ! job.schedule(); ! } private void openTasksView() { + if (taskViewAlreadyOpened) + return; WorkbenchJob job = new WorkbenchJob("Show Task View") { public IStatus runInUIThread(IProgressMonitor monitor) { *************** *** 141,146 **** if (dw != null) { IWorkbenchPage page = dw.getActivePage(); ! if (page != null) page.showView(ORG_ECLIPSE_UI_VIEWS_TASK_LIST); } }catch (PartInitException ignored){ --- 168,175 ---- if (dw != null) { IWorkbenchPage page = dw.getActivePage(); ! if (page != null) { page.showView(ORG_ECLIPSE_UI_VIEWS_TASK_LIST); + taskViewAlreadyOpened = true; + } } }catch (PartInitException ignored){ |
|
From: David C. <dc...@us...> - 2005-09-04 11:24:14
|
Update of /cvsroot/rubyeclipse/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28271/src/org/rubypeople/rdt/internal/ui Modified Files: RubyPlugin.java Log Message: When a project is 'upgraded', automatically open task view since it is now part of the ruby perspective. Index: RubyPlugin.java =================================================================== RCS file: /cvsroot/rubyeclipse/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/RubyPlugin.java,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** RubyPlugin.java 3 Sep 2005 19:05:07 -0000 1.10 --- RubyPlugin.java 4 Sep 2005 11:24:05 -0000 1.11 *************** *** 5,8 **** --- 5,9 ---- import org.eclipse.core.resources.IWorkspace; import org.eclipse.core.runtime.CoreException; + import org.eclipse.core.runtime.IProgressMonitor; import org.eclipse.core.runtime.IStatus; import org.eclipse.core.runtime.Platform; *************** *** 25,28 **** --- 26,30 ---- import org.eclipse.ui.editors.text.TextEditorPreferenceConstants; import org.eclipse.ui.plugin.AbstractUIPlugin; + import org.eclipse.ui.progress.WorkbenchJob; import org.eclipse.ui.texteditor.ChainedPreferenceStore; import org.osgi.framework.BundleContext; *************** *** 133,154 **** // currently a "no-op", as there are no workbench pages when this is called. :( DSC private void openTasksView() { ! try{ ! IWorkbenchWindow dw = PlatformUI.getWorkbench().getActiveWorkbenchWindow(); ! if (dw != null) { ! IWorkbenchPage page = dw.getActivePage(); ! if (page == null) { ! IWorkbenchPage[] pages = dw.getPages(); ! for (int i=0; i<pages.length; i++) { ! if (null != pages[i].findView(ORG_ECLIPSE_UI_VIEWS_TASK_LIST)) ! break; } ! if (pages.length > 0) ! page = pages[0]; ! } ! if (page != null) ! page.showView(ORG_ECLIPSE_UI_VIEWS_TASK_LIST); } ! }catch (PartInitException ignored){ ! } } --- 135,153 ---- // currently a "no-op", as there are no workbench pages when this is called. :( DSC private void openTasksView() { ! WorkbenchJob job = new WorkbenchJob("Show Task View") { ! public IStatus runInUIThread(IProgressMonitor monitor) { ! try{ ! IWorkbenchWindow dw = PlatformUI.getWorkbench().getActiveWorkbenchWindow(); ! if (dw != null) { ! IWorkbenchPage page = dw.getActivePage(); ! if (page != null) ! page.showView(ORG_ECLIPSE_UI_VIEWS_TASK_LIST); } ! }catch (PartInitException ignored){ ! } ! return Status.OK_STATUS; } ! }; ! job.schedule(); } |
|
From: David C. <dc...@us...> - 2005-09-03 19:11:21
|
Update of /cvsroot/rubyeclipse/org.rubypeople.rdt.core/lib In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28765/lib Modified Files: jruby.jar Log Message: jruby.jar that works for me :) Index: jruby.jar =================================================================== RCS file: /cvsroot/rubyeclipse/org.rubypeople.rdt.core/lib/jruby.jar,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 Binary files /tmp/cvseI8Ik2 and /tmp/cvshVJMKA differ |
|
From: David C. <dc...@us...> - 2005-09-03 19:05:18
|
Update of /cvsroot/rubyeclipse/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27402/src/org/rubypeople/rdt/internal/ui Modified Files: RubyPlugin.java Log Message: * Added TaskList to views associated with Ruby Perspective * Be sure Ruby projects have a RubyBuilder when plugin is loaded. * 'test tool' for odd parser bug. Index: RubyPlugin.java =================================================================== RCS file: /cvsroot/rubyeclipse/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/RubyPlugin.java,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** RubyPlugin.java 1 Apr 2005 02:11:43 -0000 1.9 --- RubyPlugin.java 3 Sep 2005 19:05:07 -0000 1.10 *************** *** 4,7 **** --- 4,8 ---- import org.eclipse.core.resources.IResource; import org.eclipse.core.resources.IWorkspace; + import org.eclipse.core.runtime.CoreException; import org.eclipse.core.runtime.IStatus; import org.eclipse.core.runtime.Platform; *************** *** 19,22 **** --- 20,25 ---- import org.eclipse.ui.IWorkbenchPage; import org.eclipse.ui.IWorkbenchWindow; + import org.eclipse.ui.PartInitException; + import org.eclipse.ui.PlatformUI; import org.eclipse.ui.editors.text.EditorsUI; import org.eclipse.ui.editors.text.TextEditorPreferenceConstants; *************** *** 43,47 **** public class RubyPlugin extends AbstractUIPlugin implements IRubyColorConstants { ! protected static RubyPlugin plugin; public static final String PLUGIN_ID = "org.rubypeople.rdt.ui"; //$NON-NLS-1$ --- 46,51 ---- public class RubyPlugin extends AbstractUIPlugin implements IRubyColorConstants { ! private static final String ORG_ECLIPSE_UI_VIEWS_TASK_LIST = "org.eclipse.ui.views.TaskList"; ! protected static RubyPlugin plugin; public static final String PLUGIN_ID = "org.rubypeople.rdt.ui"; //$NON-NLS-1$ *************** *** 111,116 **** } }); ! } /* --- 115,155 ---- } }); ! ! upgradeOldProjects(); } + + private void upgradeOldProjects() { + try { + boolean projectUpgraded = RubyCore.upgradeOldProjects(); + + if (projectUpgraded) { + openTasksView(); + } + } catch (CoreException e) { + log(IStatus.WARNING, "While upgrading RDT projects", e); + } + } + + // currently a "no-op", as there are no workbench pages when this is called. :( DSC + private void openTasksView() { + try{ + IWorkbenchWindow dw = PlatformUI.getWorkbench().getActiveWorkbenchWindow(); + if (dw != null) { + IWorkbenchPage page = dw.getActivePage(); + if (page == null) { + IWorkbenchPage[] pages = dw.getPages(); + for (int i=0; i<pages.length; i++) { + if (null != pages[i].findView(ORG_ECLIPSE_UI_VIEWS_TASK_LIST)) + break; + } + if (pages.length > 0) + page = pages[0]; + } + if (page != null) + page.showView(ORG_ECLIPSE_UI_VIEWS_TASK_LIST); + } + }catch (PartInitException ignored){ + } + } /* |
|
From: David C. <dc...@us...> - 2005-09-03 19:05:16
|
Update of /cvsroot/rubyeclipse/org.rubypeople.rdt.ui In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27402 Modified Files: plugin.xml Log Message: * Added TaskList to views associated with Ruby Perspective * Be sure Ruby projects have a RubyBuilder when plugin is loaded. * 'test tool' for odd parser bug. Index: plugin.xml =================================================================== RCS file: /cvsroot/rubyeclipse/org.rubypeople.rdt.ui/plugin.xml,v retrieving revision 1.58 retrieving revision 1.59 diff -C2 -d -r1.58 -r1.59 *** plugin.xml 17 Aug 2005 17:41:33 -0000 1.58 --- plugin.xml 3 Sep 2005 19:05:07 -0000 1.59 *************** *** 156,159 **** --- 156,160 ---- <viewShortcut id="org.eclipse.ui.console.ConsoleView"/> <viewShortcut id="org.eclipse.ui.views.ProblemView"/> + <viewShortcut id="org.eclipse.ui.views.TaskList"/> <viewShortcut id="org.rubypeople.rdt.ui.views.RIView"/> <perspectiveShortcut id="org.eclipse.ui.resourcePerspective" /> |
|
From: David C. <dc...@us...> - 2005-09-03 19:05:10
|
Update of /cvsroot/rubyeclipse/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/core In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27328/src/org/rubypeople/rdt/internal/core Modified Files: RubyProject.java Log Message: * Added TaskList to views associated with Ruby Perspective * Be sure Ruby projects have a RubyBuilder when plugin is loaded. * 'test tool' for odd parser bug. Index: RubyProject.java =================================================================== RCS file: /cvsroot/rubyeclipse/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/core/RubyProject.java,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** RubyProject.java 12 Mar 2005 15:30:03 -0000 1.11 --- RubyProject.java 3 Sep 2005 19:05:02 -0000 1.12 *************** *** 69,81 **** } /** * Adds a builder to the build spec for the given project. */ ! protected void addToBuildSpec(String builderID) throws CoreException { IProjectDescription description = this.project.getDescription(); ! int javaCommandIndex = getRubyCommandIndex(description.getBuildSpec()); ! if (javaCommandIndex == -1) { // Add a Java command to the build spec --- 69,84 ---- } + public boolean upgrade() throws CoreException { + return addToBuildSpec(RubyCore.BUILDER_ID); + } /** * Adds a builder to the build spec for the given project. */ ! protected boolean addToBuildSpec(String builderID) throws CoreException { IProjectDescription description = this.project.getDescription(); ! int commandIndex = getRubyCommandIndex(description.getBuildSpec()); ! if (commandIndex == -1) { // Add a Java command to the build spec *************** *** 83,87 **** --- 86,92 ---- command.setBuilderName(builderID); setRubyCommand(description, command); + return true; } + return false; } |
|
From: David C. <dc...@us...> - 2005-09-03 19:05:10
|
Update of /cvsroot/rubyeclipse/org.rubypeople.rdt.core/src/org/rubypeople/rdt/core In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27328/src/org/rubypeople/rdt/core Modified Files: RubyCore.java IRubyProject.java Log Message: * Added TaskList to views associated with Ruby Perspective * Be sure Ruby projects have a RubyBuilder when plugin is loaded. * 'test tool' for odd parser bug. Index: RubyCore.java =================================================================== RCS file: /cvsroot/rubyeclipse/org.rubypeople.rdt.core/src/org/rubypeople/rdt/core/RubyCore.java,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** RubyCore.java 29 Jul 2005 23:58:14 -0000 1.9 --- RubyCore.java 3 Sep 2005 19:05:02 -0000 1.10 *************** *** 189,192 **** --- 189,204 ---- } + public static boolean upgradeOldProjects() throws CoreException { + boolean projectUpgraded = false; + IProject[] projects = RubyCore.getRubyProjects(); + for (int i = 0; i < projects.length; i++) { + IRubyProject rubyProject = RubyModelManager.getRubyModelManager().getRubyModel().getRubyProject(projects[i]); + if (rubyProject.upgrade()) { + projectUpgraded = true; + } + } + return projectUpgraded; + } + /* * Initializes the default preferences settings for this plug-in. Index: IRubyProject.java =================================================================== RCS file: /cvsroot/rubyeclipse/org.rubypeople.rdt.core/src/org/rubypeople/rdt/core/IRubyProject.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** IRubyProject.java 12 Mar 2005 15:30:03 -0000 1.3 --- IRubyProject.java 3 Sep 2005 19:05:02 -0000 1.4 *************** *** 72,74 **** --- 72,76 ---- IType findType(String fullyQualifiedName) throws RubyModelException; + public boolean upgrade() throws CoreException; + } \ No newline at end of file |
|
From: David C. <dc...@us...> - 2005-09-03 19:05:08
|
Update of /cvsroot/rubyeclipse/org.rubypeople.rdt.core.tests/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27276/src Added Files: RubyParserCmd.java Log Message: * Added TaskList to views associated with Ruby Perspective * Be sure Ruby projects have a RubyBuilder when plugin is loaded. * 'test tool' for odd parser bug. --- NEW FILE: RubyParserCmd.java --- import java.io.File; import java.io.FileNotFoundException; import java.io.FileReader; import java.util.ArrayList; import java.util.Arrays; import java.util.Iterator; import java.util.List; import org.jruby.lexer.yacc.SyntaxException; import org.rubypeople.rdt.internal.core.parser.RubyParser; public class RubyParserCmd { private File root; private boolean verbose; private List okFiles = new ArrayList(); private List syntaxErrorFiles = new ArrayList(); private int repeat = 1; public RubyParserCmd(List args) { if (!parseArgs(args)){ System.err.println("java ... " + getClass().getName() + "[-v] <dirOrFile>"); System.exit(-1); } } private boolean parseArgs(List args) { args = new ArrayList(args); if (args.size() < 1) return false; if (args.get(0).equals("-v")) { args.remove(0); verbose = true; } if (args.size() < 1) return false; if (args.get(0).equals("-n")) { if (args.size() < 2) return false; repeat = Integer.parseInt((String) args.get(1)); args.remove(0); args.remove(0); } if (args.size() < 1) return false; root = new File((String) args.get(0)); return true; } public void run() { parseTree(root); if (verbose) { for (Iterator iter = syntaxErrorFiles.iterator(); iter.hasNext();) { String fileName = (String) iter.next(); System.err.println(fileName); } } System.err.println(syntaxErrorFiles.size() + " Errors; " + okFiles.size()+" OK"); } private void parseTree(File file) { if (!file.isDirectory()) { if (file.getName().endsWith(".rb")) for (int i=0; i<repeat; i++) parseOneFile(file.getAbsolutePath()); } else { File[] files = file.listFiles(); for (int i=0; i<files.length; i++) { parseTree(files[i]); } } } private void parseOneFile(String file) { RubyParser parser = new RubyParser(); try { parser.parse(file, new FileReader(file)); okFiles.add(file); } catch (SyntaxException e) { syntaxErrorFiles.add(file); } catch (Exception e) { System.out.println(e.getMessage()); } } public static void main(String[] args) throws FileNotFoundException { new RubyParserCmd(Arrays.asList(args)).run(); } } |
|
From: Markus B. <mba...@us...> - 2005-09-02 18:07:37
|
Update of /cvsroot/rubyeclipse/org.rubypeople.rdt.webpage In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12942 Added Files: README.txt Log Message: web site editing and publishing HOWTO --- NEW FILE: README.txt --- Webpage HOWTO: 1) Every RDT developer can change and publish the web page to /home/groups/r/ru/rubyeclipse/htdocs/ 2) Whenever you publish a web page, make sure that the page is also checked in to CVS 3) For publishing you can use the publish scripts: 3.a) publish.sh Requires rsync and changing the sourceforge user name before using (an environment variable should be used instead) 3.b) publish.bat Requires putty and pscp. Before using the bat file you must start putty and save a session named "shell.sf.net". The session should connect to shell.sf.net with your user name. You can also add your private key for login without a password 4) If you do not use the scripts for publishing the pages check the rights on files and directories: they must be writable for group members. 5) If you create a new directory, don't forget to set the s-bit, too. New files in this directory will then get the same rights as set on the directory. The image directory and index.php file as example: drwxrwsr-x 3 mbarchfe rubyeclipse 4096 Dec 21 2004 images -rw-rw-r-- 1 mbarchfe rubyeclipse 1733 Dec 21 2004 index.php |
|
From: Markus B. <mba...@us...> - 2005-09-02 18:07:19
|
Update of /cvsroot/rubyeclipse/org.rubypeople.rdt.webpage In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12875 Added Files: publish.bat Log Message: publish script for pscp/putty --- NEW FILE: publish.bat --- REM pscp is part of putty REM use putty to create a session "shell.sf.net" pscp -load shell.sf.net htdocs/*.php htdocs/.htaccess htdocs/*.css shell.sf.net:/home/groups/r/ru/rubyeclipse/htdocs pscp -load shell.sf.net htdocs/images/*.gif htdocs/images/*.png shell.sf.net:/home/groups/r/ru/rubyeclipse/htdocs/images pscp -load shell.sf.net htdocs/images/screenshots/*.jpg shell.sf.net:/home/groups/r/ru/rubyeclipse/htdocs/images/screenshots |
|
From: Markus B. <mba...@us...> - 2005-09-02 18:06:39
|
Update of /cvsroot/rubyeclipse/org.rubypeople.rdt.webpage/htdocs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12784/htdocs Modified Files: welcome.php Log Message: added news Index: welcome.php =================================================================== RCS file: /cvsroot/rubyeclipse/org.rubypeople.rdt.webpage/htdocs/welcome.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** welcome.php 3 Jan 2005 20:22:09 -0000 1.2 --- welcome.php 2 Sep 2005 18:06:28 -0000 1.3 *************** *** 31,34 **** --- 31,78 ---- <!-- INSERT NEW NEWS HERE!!! --> <table> + <tr> + <td align="right" valign="top" width="20"><img src="images/arrow.gif" alt="->" border="0" height="16" width="16"></td> + <td valign="top"><font face="arial,helvetica,geneva" size="-1"><b> Help needed for 0.6.0 Release (2005-09-01)</b> + <br/> + Release 0.6.0 is coming soon. The main bulk of work for the integration of JRuby has been managed. + Now we need the comments of our users. Please check out our <a href="http://rubyeclipse.sourceforge.net/nightlyBuild">nightly builds</a> and give us your feedback in the forums or on the developers mailing list. + + Next to the new features we can offer with 0.6.0, the large changes behind the scenes give us also + an excellent position for improving code searching and navigability in the next releases. The new features + of 0.6.0 are (see also the <a href="http://rubyeclipse.sourceforge.net/nightlyBuild/Changelog.txt">Changelog</a>) + + <ul> + <li><b>Code Folding</b> - Folding can be enabled for classes and methods</li> + <li><b>Outline view</b> - more detailed, e.g. support for local variables</li> + <li><b>RI view</b> - use Ruby's ri utility from an RDT view</li> + <li><b>Task tags</b> - creates tasks for configurable keywords (like TODO, FIXME) in ruby comments</li> + <li><b>Editor improvements</b> - Auto-complete of brackets, parens, and single/double quotes; better code-assist</li> + <li><b>Inspection shortcuts</b> - Configurable shortcuts for frequently used inspections during a debug session, like showing all methods of an object, global constants and so on.</li> + </ul> + </p> + </font> + </td> + </tr> + + <tr> + <td align="right" valign="top" width="20"><img src="images/arrow.gif" alt="->" border="0" height="16" width="16"></td> + <td valign="top"><font face="arial,helvetica,geneva" size="-1"><b> RDT 0.6.0 Work Continues (2005-02-15)</b> + <br/> + <p>Just an update to our users to let them know, we are working hard on RDT 0.6.0. + <ul> Planned work includes: + <li><b>RI plugin</b> - allows users to lookup docs on Ruby classes inside an Eclipse plugin (interaces with Ruby's ri utility)</li> + <li><b>JRuby's parser</b> - We're attempting to combin some efforts with JRuby to leverage their parser. This should improve our results markedly (as will be + noticable in things such as the Outline view).</li> + <li><b>Richer Core Model</b> - Anotehr lareg change unde rthe hood will be a move to a much richer internal model for Ruby code, mirroring that of JDT's. + This should allow for significant improvements in the ability to get out richer features.</li> + <li><b>Editor improvements</b> - Smart auto-matching of parentheses, brackets and quotes, as in JDT (Type "{" and RDT will add the closing bracket and insert th e cursor between them).</li> + </ul> + </p> + </font> + </td> + </tr> + + + <tr> <td align="right" valign="top" width="20"><img src="images/arrow.gif" alt="->" border="0" height="16" width="16"></td> |
|
From: Markus B. <mba...@us...> - 2005-09-02 18:04:00
|
Update of /cvsroot/rubyeclipse/org.rubypeople.rdt.webpage/htdocs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12153/htdocs Modified Files: faq.php Log Message: Minor change in "Which components of Eclipse do I need?" Index: faq.php =================================================================== RCS file: /cvsroot/rubyeclipse/org.rubypeople.rdt.webpage/htdocs/faq.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** faq.php 19 Dec 2004 23:07:38 -0000 1.1 --- faq.php 2 Sep 2005 18:03:51 -0000 1.2 *************** *** 46,51 **** <td valign="top"><font face="arial,helvetica,geneva" size="-1"><b> Which components of Eclipse do I need?</b> <br/> ! <p>Generally speaking you should be able to download the Eclipse patform, without the JDT (unless you plan on doing Java development).<br/> ! The download for Eclipse which includes on the platform (minus the plugin SDK and JDT) is typically labeled "Platform Runtime Binary". </p> </font> --- 46,55 ---- <td valign="top"><font face="arial,helvetica,geneva" size="-1"><b> Which components of Eclipse do I need?</b> <br/> ! <p>Generally speaking you should be able to download the Eclipse platform, without the JDT (unless you plan on doing Java development).<br/> ! The download for Eclipse which includes only the platform (minus the plugin SDK and JDT) is typically labeled "Platform Runtime Binary". ! This the bare minimum you need to be able to run RDT. Obviously anyone with the full version including the SDK, or a version with the ! platform plus JDT should be able to RDT as well. ! </p> ! </p> </font> |
|
From: Markus B. <mba...@us...> - 2005-09-02 18:02:43
|
Update of /cvsroot/rubyeclipse/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/infoviews In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11904/src/org/rubypeople/rdt/internal/ui/infoviews Modified Files: RIView.java Log Message: Added Patch from Khaled who replaced the SWT list with a SWT table (fixes update bug). In addition to that a Refresh button has been added. Index: RIView.java =================================================================== RCS file: /cvsroot/rubyeclipse/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/infoviews/RIView.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** RIView.java 18 Aug 2005 22:02:10 -0000 1.4 --- RIView.java 2 Sep 2005 18:02:31 -0000 1.5 *************** *** 7,15 **** --- 7,23 ---- import java.io.InputStreamReader; import java.util.ArrayList; + import java.util.Collection; import java.util.Iterator; import org.eclipse.core.runtime.IPath; import org.eclipse.core.runtime.Path; + import org.eclipse.jface.action.Action; + import org.eclipse.jface.action.IAction; + import org.eclipse.jface.action.IToolBarManager; import org.eclipse.jface.util.IPropertyChangeListener; + import org.eclipse.jface.viewers.IStructuredContentProvider; + import org.eclipse.jface.viewers.IStructuredSelection; + import org.eclipse.jface.viewers.TableViewer; + import org.eclipse.jface.viewers.Viewer; import org.eclipse.swt.SWT; import org.eclipse.swt.browser.Browser; *************** *** 28,32 **** import org.eclipse.swt.widgets.Display; import org.eclipse.swt.widgets.Label; - import org.eclipse.swt.widgets.List; import org.eclipse.swt.widgets.Text; import org.eclipse.ui.part.PageBook; --- 36,39 ---- *************** *** 35,38 **** --- 42,46 ---- import org.rubypeople.rdt.internal.launching.RubyRuntime; import org.rubypeople.rdt.internal.ui.RubyPlugin; + import org.rubypeople.rdt.internal.ui.RubyPluginImages; import org.rubypeople.rdt.ui.PreferenceConstants; *************** *** 44,54 **** private Label interpreterNeededLabel, riNotFoundLabel; private Text searchStr; ! private List searchList; private Browser searchResult; - private String riCmd = null; private java.util.List possibleMatches = new ArrayList(); private SearchValue itemToSearch = new SearchValue(); private DescriptionUpdater descriptionUpdater = new DescriptionUpdater(); private RubyRuntime.Listener runtimeListener; /** --- 52,62 ---- private Label interpreterNeededLabel, riNotFoundLabel; private Text searchStr; ! private TableViewer searchListViewer; private Browser searchResult; private java.util.List possibleMatches = new ArrayList(); private SearchValue itemToSearch = new SearchValue(); private DescriptionUpdater descriptionUpdater = new DescriptionUpdater(); private RubyRuntime.Listener runtimeListener; + private ListContentProvider contentProvider = new ListContentProvider(); /** *************** *** 62,65 **** --- 70,76 ---- */ public void createPartControl(Composite parent) { + + contributeToActionBars() ; + pageBook = new PageBook(parent, SWT.NONE); *************** *** 90,94 **** super.keyPressed(e); if (e.keyCode == 16777218 || e.keyCode == 13) { // sorry didn't find the SWT constant for down arrow ! searchList.setFocus(); } else if (e.keyCode == SWT.ESC) { searchStr.setText(""); --- 101,105 ---- super.keyPressed(e); if (e.keyCode == 16777218 || e.keyCode == 13) { // sorry didn't find the SWT constant for down arrow ! searchListViewer.getTable().setFocus(); } else if (e.keyCode == SWT.ESC) { searchStr.setText(""); *************** *** 97,104 **** }); ! searchList = new List(panel, SWT.BORDER | SWT.V_SCROLL | SWT.H_SCROLL); data = new GridData(GridData.FILL_VERTICAL | GridData.FILL_HORIZONTAL); ! searchList.setLayoutData(data); ! searchList.addSelectionListener(new SelectionListener() { public void widgetDefaultSelected(SelectionEvent e) { widgetSelected(e); --- 108,116 ---- }); ! searchListViewer = new TableViewer(panel, SWT.BORDER | SWT.V_SCROLL | SWT.H_SCROLL); ! searchListViewer.setContentProvider(contentProvider); data = new GridData(GridData.FILL_VERTICAL | GridData.FILL_HORIZONTAL); ! searchListViewer.getTable().setLayoutData(data); ! searchListViewer.getTable().addSelectionListener(new SelectionListener() { public void widgetDefaultSelected(SelectionEvent e) { widgetSelected(e); *************** *** 108,112 **** showSelectedItem(); } ! }); searchStr.addFocusListener(new FocusAdapter() { public void focusGained(FocusEvent e) { --- 120,124 ---- showSelectedItem(); } ! }); searchStr.addFocusListener(new FocusAdapter() { public void focusGained(FocusEvent e) { *************** *** 140,143 **** --- 152,169 ---- } + private void contributeToActionBars() { + IAction refreshAction = new Action() { + public void run() { + updatePage(); + } + }; + refreshAction.setText("Refresh"); + refreshAction.setToolTipText("Refresh list of names"); + refreshAction.setImageDescriptor(RubyPluginImages.TOOLBAR_REFRESH); + + IToolBarManager manager = getViewSite().getActionBars().getToolBarManager(); + manager.add(refreshAction); + } + private void updatePage() { RubyInterpreter interpreter = RubyRuntime.getDefault().getSelectedInterpreter(); *************** *** 154,163 **** private void showSelectedItem() { ! String[] selection = searchList.getSelection(); ! String searchText = (selection.length > 0) ? selection[0] : null; synchronized(itemToSearch) { itemToSearch.set(searchText); } } - public void dispose() { descriptionUpdater.requestStop(); --- 180,187 ---- private void showSelectedItem() { ! String searchText = (String)((IStructuredSelection)searchListViewer.getSelection()).getFirstElement(); synchronized(itemToSearch) { itemToSearch.set(searchText); } } public void dispose() { descriptionUpdater.requestStop(); *************** *** 166,170 **** } ! class SearchValue { String value = null; --- 190,194 ---- } ! private class SearchValue { String value = null; *************** *** 191,194 **** --- 215,219 ---- String line = null; int numberOfMatches = 0; + possibleMatches = new ArrayList() ; try { while ((line = reader.readLine()) != null) { *************** *** 215,228 **** } ! private void filterSearchList() { ! searchList.removeAll(); String text = searchStr.getText(); for (Iterator iter = possibleMatches.iterator(); iter.hasNext();) { String possibleMatch = (String) iter.next(); if (possibleMatch.indexOf(text) > -1 ) { ! searchList.add(possibleMatch); } } ! if (searchList.getItemCount() > 0) searchList.setSelection(0); showSelectedItem(); } --- 240,254 ---- } ! private void filterSearchList() { ! java.util.List filteredList = new ArrayList(); String text = searchStr.getText(); for (Iterator iter = possibleMatches.iterator(); iter.hasNext();) { String possibleMatch = (String) iter.next(); if (possibleMatch.indexOf(text) > -1 ) { ! filteredList.add(possibleMatch); } } ! searchListViewer.setInput(filteredList); ! if (filteredList.size() > 0) searchListViewer.getTable().setSelection(0); showSelectedItem(); } *************** *** 235,238 **** --- 261,276 ---- } + private final class ListContentProvider implements IStructuredContentProvider { + public void inputChanged(Viewer viewer, Object oldInput, Object newInput) { + } + + public void dispose() { + } + + public Object[] getElements(Object inputElement) { + return ((Collection)inputElement).toArray(); + } + } + private final class DescriptionUpdater extends Thread { private String searchValue; |
|
From: Markus B. <mba...@us...> - 2005-09-02 18:00:41
|
Update of /cvsroot/rubyeclipse/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11245/src/org/rubypeople/rdt/internal/ui Modified Files: RubyPluginImages.java Log Message: updated images for RI View (refresh in toolbar) Index: RubyPluginImages.java =================================================================== RCS file: /cvsroot/rubyeclipse/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/RubyPluginImages.java,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** RubyPluginImages.java 12 Jul 2005 00:05:03 -0000 1.9 --- RubyPluginImages.java 2 Sep 2005 18:00:20 -0000 1.10 *************** *** 59,65 **** // RI ! public static ImageDescriptor DESC_HELP; ! public static ImageDescriptor DESC_RUN; ! private static final String IMG_RUN = NAME_PREFIX + "run.gif"; static { --- 59,63 ---- // RI ! public static final ImageDescriptor TOOLBAR_REFRESH = create(T_ELCL, "refresh.png");; static { *************** *** 70,75 **** createManaged(T_OBJ, IMG_OBJS_INFO); createManaged(T_OBJ, IMG_TEMPLATE_PROPOSAL); - DESC_HELP = createManaged(T_ELCL, IMG_OBJS_HELP); - DESC_RUN = createManaged(T_ETOOL, IMG_RUN); createManaged(T_CTOOL, IMG_CTOOLS_RUBY_IMPORT_CONTAINER); createManaged(T_CTOOL, IMG_CTOOLS_RUBY_IMPORT); --- 68,71 ---- |
|
From: Markus B. <mba...@us...> - 2005-09-02 18:00:41
|
Update of /cvsroot/rubyeclipse/org.rubypeople.rdt.ui/icons/full/elcl16 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11245/icons/full/elcl16 Added Files: refresh.png Log Message: updated images for RI View (refresh in toolbar) --- NEW FILE: refresh.png --- (This appears to be a binary file; contents omitted.) |
|
From: Markus B. <mba...@us...> - 2005-08-29 16:06:57
|
Update of /cvsroot/rubyeclipse/org.rubypeople.rdt.debug.ui/src/org/rubypeople/rdt/internal/debug/ui/launcher In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3123/src/org/rubypeople/rdt/internal/debug/ui/launcher Modified Files: LoadPathEntryLabelProvider.java Log Message: consider projects which are inaccessible Index: LoadPathEntryLabelProvider.java =================================================================== RCS file: /cvsroot/rubyeclipse/org.rubypeople.rdt.debug.ui/src/org/rubypeople/rdt/internal/debug/ui/launcher/LoadPathEntryLabelProvider.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** LoadPathEntryLabelProvider.java 20 Mar 2004 15:38:56 -0000 1.4 --- LoadPathEntryLabelProvider.java 29 Aug 2005 16:06:49 -0000 1.5 *************** *** 1,4 **** --- 1,5 ---- package org.rubypeople.rdt.internal.debug.ui.launcher; + import org.eclipse.core.resources.IProject; import org.eclipse.jface.viewers.ILabelProvider; import org.eclipse.jface.viewers.ILabelProviderListener; *************** *** 26,31 **** */ public String getText(Object element) { ! if (element != null && element.getClass() == LoadPathEntry.class) ! return ((LoadPathEntry) element).getProject().getLocation().toOSString(); RdtDebugUiPlugin.log(new RuntimeException("Unable to render load path.")); --- 27,39 ---- */ public String getText(Object element) { ! if (element != null && element.getClass() == LoadPathEntry.class) { ! IProject project = ((LoadPathEntry) element).getProject() ; ! if (project.isAccessible()) { ! return project.getLocation().toOSString() ; ! } ! else { ! return project.getName() + " (not accessible)" ; ! } ! } RdtDebugUiPlugin.log(new RuntimeException("Unable to render load path.")); |
|
From: Markus B. <mba...@us...> - 2005-08-29 16:06:52
|
Update of /cvsroot/rubyeclipse/org.rubypeople.rdt.launching/src/org/rubypeople/rdt/internal/launching In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3102/src/org/rubypeople/rdt/internal/launching Modified Files: InterpreterRunnerConfiguration.java Log Message: consider projects which are inaccessible Index: InterpreterRunnerConfiguration.java =================================================================== RCS file: /cvsroot/rubyeclipse/org.rubypeople.rdt.launching/src/org/rubypeople/rdt/internal/launching/InterpreterRunnerConfiguration.java,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** InterpreterRunnerConfiguration.java 2 Mar 2005 00:53:26 -0000 1.11 --- InterpreterRunnerConfiguration.java 29 Aug 2005 16:06:44 -0000 1.12 *************** *** 97,101 **** protected void addToLoadPath(StringBuffer loadPath, IProject project) { ! loadPath.append(" -I " + RdtLaunchingPlugin.osDependentPath(project.getLocation().toOSString())); } --- 97,103 ---- protected void addToLoadPath(StringBuffer loadPath, IProject project) { ! if (!project.isAccessible()) { ! return ; ! } loadPath.append(" -I " + RdtLaunchingPlugin.osDependentPath(project.getLocation().toOSString())); } |
|
From: Markus B. <mba...@us...> - 2005-08-29 16:06:01
|
Update of /cvsroot/rubyeclipse/org.rubypeople.rdt.debug.core/src/org/rubypeople/rdt/internal/debug/core/model In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2766/src/org/rubypeople/rdt/internal/debug/core/model Modified Files: RubyThread.java RubyStackFrame.java RubyVariable.java RubyExpression.java RubyValue.java RubyDebugTarget.java Log Message: inherit from PlatformObject in order to get adapters for the DebugView Index: RubyDebugTarget.java =================================================================== RCS file: /cvsroot/rubyeclipse/org.rubypeople.rdt.debug.core/src/org/rubypeople/rdt/internal/debug/core/model/RubyDebugTarget.java,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** RubyDebugTarget.java 9 Jan 2005 09:25:45 -0000 1.8 --- RubyDebugTarget.java 29 Aug 2005 16:05:48 -0000 1.9 *************** *** 3,6 **** --- 3,7 ---- import org.eclipse.core.resources.IMarkerDelta; import org.eclipse.core.runtime.IStatus; + import org.eclipse.core.runtime.PlatformObject; import org.eclipse.debug.core.DebugEvent; import org.eclipse.debug.core.DebugException; *************** *** 17,22 **** import org.rubypeople.rdt.internal.debug.core.SuspensionPoint; ! public class RubyDebugTarget implements IRubyDebugTarget { private IProcess process; --- 18,27 ---- import org.rubypeople.rdt.internal.debug.core.SuspensionPoint; + // RubyDebugTarget extends PlatformObject in order to benefit from the getAdapter Implementation + // provided there. This is crucial for displaying the RubyDebugTarget in the DebugView when + // the TreeContentManager asks for an IDeferredWorkbenchAdapter or IWorkbenchAdapter + // This kind of Adapter is deliverd from the DebugElementAdapterFactory. ! public class RubyDebugTarget extends PlatformObject implements IRubyDebugTarget { private IProcess process; *************** *** 192,199 **** } - public Object getAdapter(Class arg0) { - return null; - } - public IProcess getProcess() { return process; --- 197,200 ---- Index: RubyVariable.java =================================================================== RCS file: /cvsroot/rubyeclipse/org.rubypeople.rdt.debug.core/src/org/rubypeople/rdt/internal/debug/core/model/RubyVariable.java,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** RubyVariable.java 11 Mar 2005 03:21:16 -0000 1.9 --- RubyVariable.java 29 Aug 2005 16:05:48 -0000 1.10 *************** *** 2,5 **** --- 2,6 ---- import org.eclipse.core.runtime.Platform; + import org.eclipse.core.runtime.PlatformObject; import org.eclipse.debug.core.DebugException; import org.eclipse.debug.core.ILaunch; *************** *** 8,12 **** import org.eclipse.debug.core.model.IVariable; ! public class RubyVariable implements IVariable { private boolean isStatic; --- 9,14 ---- import org.eclipse.debug.core.model.IVariable; ! //see RubyDebugTarget for the reason why PlatformObject is being extended ! public class RubyVariable extends PlatformObject implements IVariable { private boolean isStatic; *************** *** 121,131 **** } - /** - * @see org.eclipse.core.runtime.IAdaptable#getAdapter(Class) - */ - public Object getAdapter(Class adapter) { - return Platform.getAdapterManager().getAdapter(this, adapter); - } - public String toString() { if (this.isHashValue()) { --- 123,126 ---- Index: RubyStackFrame.java =================================================================== RCS file: /cvsroot/rubyeclipse/org.rubypeople.rdt.debug.core/src/org/rubypeople/rdt/internal/debug/core/model/RubyStackFrame.java,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** RubyStackFrame.java 14 Nov 2004 13:07:22 -0000 1.9 --- RubyStackFrame.java 29 Aug 2005 16:05:48 -0000 1.10 *************** *** 1,4 **** --- 1,5 ---- package org.rubypeople.rdt.internal.debug.core.model; + import org.eclipse.core.runtime.PlatformObject; import org.eclipse.debug.core.DebugEvent; import org.eclipse.debug.core.DebugException; *************** *** 12,16 **** import org.rubypeople.rdt.internal.debug.core.RubyDebuggerProxy; ! public class RubyStackFrame implements IStackFrame { private RubyThread thread; --- 13,18 ---- import org.rubypeople.rdt.internal.debug.core.RubyDebuggerProxy; ! //see RubyDebugTarget for the reason why PlatformObject is being extended ! public class RubyStackFrame extends PlatformObject implements IStackFrame { private RubyThread thread; *************** *** 164,171 **** this.getThread().terminate() ; } - - public Object getAdapter(Class arg0) { - return null; - } public int getIndex() { --- 166,169 ---- Index: RubyValue.java =================================================================== RCS file: /cvsroot/rubyeclipse/org.rubypeople.rdt.debug.core/src/org/rubypeople/rdt/internal/debug/core/model/RubyValue.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** RubyValue.java 20 Mar 2004 15:37:09 -0000 1.4 --- RubyValue.java 29 Aug 2005 16:05:48 -0000 1.5 *************** *** 1,4 **** --- 1,5 ---- package org.rubypeople.rdt.internal.debug.core.model; + import org.eclipse.core.runtime.PlatformObject; import org.eclipse.debug.core.DebugException; import org.eclipse.debug.core.ILaunch; *************** *** 15,19 **** * Window>Preferences>Java>Code Generation. */ ! public class RubyValue implements IValue { private String valueString ; --- 16,23 ---- * Window>Preferences>Java>Code Generation. */ ! ! //see RubyDebugTarget for the reason why PlatformObject is being extended ! ! public class RubyValue extends PlatformObject implements IValue { private String valueString ; *************** *** 96,106 **** return this.getDebugTarget().getLaunch(); } - - /** - * @see org.eclipse.core.runtime.IAdaptable#getAdapter(Class) - */ - public Object getAdapter(Class adapter) { - return null; - } public String toString() { --- 100,103 ---- Index: RubyThread.java =================================================================== RCS file: /cvsroot/rubyeclipse/org.rubypeople.rdt.debug.core/src/org/rubypeople/rdt/internal/debug/core/model/RubyThread.java,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** RubyThread.java 11 Mar 2005 03:21:16 -0000 1.10 --- RubyThread.java 29 Aug 2005 16:05:48 -0000 1.11 *************** *** 1,4 **** --- 1,5 ---- package org.rubypeople.rdt.internal.debug.core.model; + import org.eclipse.core.runtime.PlatformObject; import org.eclipse.debug.core.DebugEvent; import org.eclipse.debug.core.DebugException; *************** *** 12,16 **** import org.rubypeople.rdt.internal.debug.core.SuspensionPoint; ! public class RubyThread implements IThread { private RubyStackFrame[] frames; private IDebugTarget target; --- 13,18 ---- import org.rubypeople.rdt.internal.debug.core.SuspensionPoint; ! // see RubyDebugTarget for the reason why PlatformObject is being extended ! public class RubyThread extends PlatformObject implements IThread { private RubyStackFrame[] frames; private IDebugTarget target; *************** *** 28,32 **** public IStackFrame[] getStackFrames() throws DebugException { ! return frames; } --- 30,39 ---- public IStackFrame[] getStackFrames() throws DebugException { ! // Not all clients ask hasStackFrames before calling this method (DeferredThread) ! // Therefore we must not return null ! if (frames == null) { ! return new RubyStackFrame[0]; ! } ! return frames ; } *************** *** 55,59 **** public IBreakpoint[] getBreakpoints() { ! return null; } --- 62,67 ---- public IBreakpoint[] getBreakpoints() { ! // TODO: Experimental Code ! return new IBreakpoint[] { DebugPlugin.getDefault().getBreakpointManager().getBreakpoints(IRubyDebugTarget.MODEL_IDENTIFIER)[0] } ; } *************** *** 159,166 **** } - public Object getAdapter(Class arg0) { - return null; - } - public RubyDebuggerProxy getRubyDebuggerProxy() { return ((RubyDebugTarget) this.getDebugTarget()).getRubyDebuggerProxy(); --- 167,170 ---- Index: RubyExpression.java =================================================================== RCS file: /cvsroot/rubyeclipse/org.rubypeople.rdt.debug.core/src/org/rubypeople/rdt/internal/debug/core/model/RubyExpression.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** RubyExpression.java 20 Mar 2004 15:37:09 -0000 1.3 --- RubyExpression.java 29 Aug 2005 16:05:48 -0000 1.4 *************** *** 1,4 **** --- 1,5 ---- package org.rubypeople.rdt.internal.debug.core.model; + import org.eclipse.core.runtime.PlatformObject; import org.eclipse.debug.core.ILaunch; import org.eclipse.debug.core.model.IDebugTarget; *************** *** 6,10 **** import org.eclipse.debug.core.model.IValue; ! public class RubyExpression implements IExpression { private RubyVariable inspectionResult; --- 7,12 ---- import org.eclipse.debug.core.model.IValue; ! //see RubyDebugTarget for the reason why PlatformObject is being extended ! public class RubyExpression extends PlatformObject implements IExpression { private RubyVariable inspectionResult; *************** *** 40,46 **** } - public Object getAdapter(Class arg0) { - return null; - } - } --- 42,44 ---- |
|
From: Markus B. <mba...@us...> - 2005-08-23 19:35:47
|
Update of /cvsroot/rubyeclipse/org.rubypeople.rdt.core In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32030 Modified Files: .classpath Log Message: source location changed for jruby files Index: .classpath =================================================================== RCS file: /cvsroot/rubyeclipse/org.rubypeople.rdt.core/.classpath,v retrieving revision 1.24 retrieving revision 1.25 diff -C2 -d -r1.24 -r1.25 *** .classpath 2 Mar 2005 00:54:04 -0000 1.24 --- .classpath 23 Aug 2005 19:35:31 -0000 1.25 *************** *** 4,8 **** <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/> <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> ! <classpathentry sourcepath="/jruby/src" kind="lib" path="lib/jruby.jar"/> <classpathentry kind="output" path="bin"/> </classpath> --- 4,8 ---- <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/> <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> ! <classpathentry sourcepath="lib/jruby.jar" kind="lib" path="lib/jruby.jar"/> <classpathentry kind="output" path="bin"/> </classpath> |
|
From: Markus B. <mba...@us...> - 2005-08-23 19:33:35
|
Update of /cvsroot/rubyeclipse/org.rubypeople.rdt.core/lib In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31566/lib Modified Files: jruby.jar Added Files: generateJrubyJar.jardesc README.txt Log Message: updated jruby.jar --- NEW FILE: generateJrubyJar.jardesc --- <?xml version="1.0" encoding="UTF-8"?> <jardesc> <jar path="D:/java/rdt/org.rubypeople.rdt.core/lib/jruby.jar"/> <options buildIfNeeded="true" compress="true" descriptionLocation="/org.rubypeople.rdt.core/generateJrubyJar.jardesc" exportErrors="true" exportWarnings="true" includeDirectoryEntries="false" overwrite="false" saveDescription="true" useSourceFolders="false"/> <manifest generateManifest="true" manifestLocation="" manifestVersion="1.0" reuseManifest="false" saveManifest="false" usesManifest="true"> <sealing sealJar="false"> <packagesToSeal/> <packagesToUnSeal/> </sealing> </manifest> <selectedElements exportClassFiles="true" exportJavaFiles="true" exportOutputFolder="false"> <javaElement handleIdentifier="=jruby/src"/> </selectedElements> </jardesc> --- NEW FILE: README.txt --- Create the jruby.jar: 1) Checkout the Branch TOM_RDT_POSITION from :pserver:ano...@cv...:/cvsroot/jruby 2) Open JAR Packager on generateJrubyJar.jardesc, adapt the target path and create the jruby.jar file Index: jruby.jar =================================================================== RCS file: /cvsroot/rubyeclipse/org.rubypeople.rdt.core/lib/jruby.jar,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 Binary files /tmp/cvsDdjpZb and /tmp/cvsFdRdc8 differ |
|
From: Markus B. <mba...@us...> - 2005-08-18 22:02:50
|
Update of /cvsroot/rubyeclipse/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/infoviews In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11183/src/org/rubypeople/rdt/internal/ui/infoviews Modified Files: RIView.java Log Message: Applied patch from Khaled Agrama: return focuses list, horizontal scrollbar, splitter between list and result page Index: RIView.java =================================================================== RCS file: /cvsroot/rubyeclipse/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/infoviews/RIView.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** RIView.java 17 Aug 2005 17:38:20 -0000 1.3 --- RIView.java 18 Aug 2005 22:02:10 -0000 1.4 *************** *** 14,23 **** import org.eclipse.swt.SWT; import org.eclipse.swt.browser.Browser; import org.eclipse.swt.events.KeyAdapter; import org.eclipse.swt.events.KeyEvent; import org.eclipse.swt.events.ModifyEvent; import org.eclipse.swt.events.ModifyListener; - import org.eclipse.swt.events.MouseAdapter; - import org.eclipse.swt.events.MouseEvent; import org.eclipse.swt.events.SelectionEvent; import org.eclipse.swt.events.SelectionListener; --- 14,24 ---- import org.eclipse.swt.SWT; import org.eclipse.swt.browser.Browser; + import org.eclipse.swt.custom.SashForm; + import org.eclipse.swt.events.FocusAdapter; + import org.eclipse.swt.events.FocusEvent; import org.eclipse.swt.events.KeyAdapter; import org.eclipse.swt.events.KeyEvent; import org.eclipse.swt.events.ModifyEvent; import org.eclipse.swt.events.ModifyListener; import org.eclipse.swt.events.SelectionEvent; import org.eclipse.swt.events.SelectionListener; *************** *** 40,48 **** private boolean riFound = false; private PageBook pageBook; ! private Composite panel; private Label interpreterNeededLabel, riNotFoundLabel; private Text searchStr; private List searchList; private Browser searchResult; private java.util.List possibleMatches = new ArrayList(); private SearchValue itemToSearch = new SearchValue(); --- 41,50 ---- private boolean riFound = false; private PageBook pageBook; ! private SashForm form; private Label interpreterNeededLabel, riNotFoundLabel; private Text searchStr; private List searchList; private Browser searchResult; + private String riCmd = null; private java.util.List possibleMatches = new ArrayList(); private SearchValue itemToSearch = new SearchValue(); *************** *** 67,85 **** riNotFoundLabel = new Label( pageBook, SWT.LEFT | SWT.TOP | SWT.WRAP ); riNotFoundLabel.setText( InfoViewMessages.getString( "RubyInformation.ri_not_found") ); ! ! panel = new Composite(pageBook, SWT.NONE); ! GridLayout layout = new GridLayout(); ! layout.numColumns = 2; ! panel.setLayout(layout); ! ! GridData data = new GridData(GridData.FILL_HORIZONTAL); ! data.grabExcessHorizontalSpace = true; ! panel.setLayoutData(data); ! // Search String searchStr = new Text(panel, SWT.BORDER); ! data = new GridData(); ! data.widthHint = 150; data.horizontalAlignment = SWT.FILL; searchStr.setLayoutData(data); --- 69,82 ---- riNotFoundLabel = new Label( pageBook, SWT.LEFT | SWT.TOP | SWT.WRAP ); riNotFoundLabel.setText( InfoViewMessages.getString( "RubyInformation.ri_not_found") ); ! ! form = new SashForm(pageBook, SWT.HORIZONTAL); ! ! Composite panel = new Composite(form, SWT.NONE); ! panel.setLayout(new GridLayout(1, false)); ! // Search String searchStr = new Text(panel, SWT.BORDER); ! GridData data = new GridData(); data.horizontalAlignment = SWT.FILL; searchStr.setLayoutData(data); *************** *** 92,96 **** public void keyPressed(KeyEvent e) { super.keyPressed(e); ! if (e.keyCode == 16777218) { // sorry didn't find the SWT constant for down arrow searchList.setFocus(); } else if (e.keyCode == SWT.ESC) { --- 89,93 ---- public void keyPressed(KeyEvent e) { super.keyPressed(e); ! if (e.keyCode == 16777218 || e.keyCode == 13) { // sorry didn't find the SWT constant for down arrow searchList.setFocus(); } else if (e.keyCode == SWT.ESC) { *************** *** 100,113 **** }); ! // Match text ! data = new GridData(GridData.FILL_HORIZONTAL | GridData.FILL_VERTICAL); ! data.verticalSpan = 3; ! searchResult = new Browser(panel, SWT.BORDER); ! searchResult.setLayoutData(data); ! ! searchList = new List(panel, SWT.BORDER | SWT.V_SCROLL); ! data = new GridData(GridData.FILL_VERTICAL); ! data.widthHint = 150; ! data.verticalSpan = 2; searchList.setLayoutData(data); searchList.addSelectionListener(new SelectionListener() { --- 97,102 ---- }); ! searchList = new List(panel, SWT.BORDER | SWT.V_SCROLL | SWT.H_SCROLL); ! data = new GridData(GridData.FILL_VERTICAL | GridData.FILL_HORIZONTAL); searchList.setLayoutData(data); searchList.addSelectionListener(new SelectionListener() { *************** *** 117,125 **** public void widgetSelected(SelectionEvent e) { ! String[] selection = searchList.getSelection(); ! String searchText = (selection.length > 0) ? selection[0] : ""; ! synchronized(itemToSearch) { itemToSearch.set(searchText); } } }); runtimeListener = new RubyRuntime.Listener() { public void selectedInterpreterChanged() { --- 106,123 ---- public void widgetSelected(SelectionEvent e) { ! showSelectedItem(); ! } ! }); ! searchStr.addFocusListener(new FocusAdapter() { ! public void focusGained(FocusEvent e) { ! searchStr.selectAll(); } }); + + // search result + searchResult = new Browser(form, SWT.BORDER); + + form.setWeights(new int[]{1, 3}); + runtimeListener = new RubyRuntime.Listener() { public void selectedInterpreterChanged() { *************** *** 147,151 **** initSearchList(); if( riFound ){ ! pageBook.showPage(panel); } } --- 145,149 ---- initSearchList(); if( riFound ){ ! pageBook.showPage(form); } } *************** *** 154,157 **** --- 152,162 ---- } } + + private void showSelectedItem() { + String[] selection = searchList.getSelection(); + String searchText = (selection.length > 0) ? selection[0] : null; + synchronized(itemToSearch) { itemToSearch.set(searchText); } + } + public void dispose() { *************** *** 216,223 **** String possibleMatch = (String) iter.next(); if (possibleMatch.indexOf(text) > -1 ) { ! searchList.add(possibleMatch); } } if (searchList.getItemCount() > 0) searchList.setSelection(0); } --- 221,229 ---- String possibleMatch = (String) iter.next(); if (possibleMatch.indexOf(text) > -1 ) { ! searchList.add(possibleMatch); } } if (searchList.getItemCount() > 0) searchList.setSelection(0); + showSelectedItem(); } *************** *** 226,230 **** */ public void setFocus() { ! panel.setFocus(); } --- 232,236 ---- */ public void setFocus() { ! form.setFocus(); } |
|
From: Markus B. <mba...@us...> - 2005-08-17 17:42:09
|
Update of /cvsroot/rubyeclipse/org.rubypeople.rdt.ui In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13353 Modified Files: plugin.xml Log Message: added Ri/Rdoc preference page Index: plugin.xml =================================================================== RCS file: /cvsroot/rubyeclipse/org.rubypeople.rdt.ui/plugin.xml,v retrieving revision 1.57 retrieving revision 1.58 diff -C2 -d -r1.57 -r1.58 *** plugin.xml 30 Jul 2005 11:38:43 -0000 1.57 --- plugin.xml 17 Aug 2005 17:41:33 -0000 1.58 *************** *** 58,61 **** --- 58,67 ---- id="org.rubypeople.rdt.ui.TemplatesPreferencePage"> </page> + <page + name="%PreferencePage.rdtRiPreferences" + category="org.rubypeople.rdt.ui.preferences.PreferencePageRubyBase" + class="org.rubypeople.rdt.internal.ui.preferences.RdocRiPreferencePage" + id="org.rubypeople.rdt.ui.RdocRiPreferencePage"> + </page> </extension> <extension |
|
From: Markus B. <mba...@us...> - 2005-08-17 17:41:14
|
Update of /cvsroot/rubyeclipse/org.rubypeople.rdt.ui In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13234 Modified Files: plugin.properties Log Message: added PreferencePage.rdtRiPreferences Index: plugin.properties =================================================================== RCS file: /cvsroot/rubyeclipse/org.rubypeople.rdt.ui/plugin.properties,v retrieving revision 1.19 retrieving revision 1.20 diff -C2 -d -r1.19 -r1.20 *** plugin.properties 30 Jul 2005 11:38:43 -0000 1.19 --- plugin.properties 17 Aug 2005 17:41:03 -0000 1.20 *************** *** 18,21 **** --- 18,22 ---- PreferencePage.rdtTemplatePreferences=Templates PreferencePage.rdtTaskPreferences=Task Tags + PreferencePage.rdtRiPreferences=Ri/rdoc viewCategoryName=Ruby |
|
From: Markus B. <mba...@us...> - 2005-08-17 17:40:24
|
Update of /cvsroot/rubyeclipse/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/ui In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13053/src/org/rubypeople/rdt/ui Modified Files: PreferenceConstants.java Log Message: added default property values for riPath and riDoc Index: PreferenceConstants.java =================================================================== RCS file: /cvsroot/rubyeclipse/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/ui/PreferenceConstants.java,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** PreferenceConstants.java 8 Aug 2005 23:26:17 -0000 1.8 --- PreferenceConstants.java 17 Aug 2005 17:40:12 -0000 1.9 *************** *** 1,5 **** --- 1,8 ---- package org.rubypeople.rdt.ui; + import org.eclipse.core.runtime.IPath; import org.eclipse.jface.preference.IPreferenceStore; + import org.rubypeople.rdt.internal.launching.RubyInterpreter; + import org.rubypeople.rdt.internal.launching.RubyRuntime; import org.rubypeople.rdt.internal.ui.RubyPlugin; *************** *** 17,20 **** --- 20,28 ---- public static final String TEMPLATES_USE_CODEFORMATTER = "templatesUSeCodeFormatter"; + + private final static String DEFAULT_RDOC_CMD = "rdoc"; //$NON-NLS-1$ + private final static String DEFAULT_RI_CMD = "ri"; //$NON-NLS-1$ + + /** * A named preference that controls whether folding is enabled in the Ruby *************** *** 128,134 **** --- 136,157 ---- store.setDefault(PreferenceConstants.EDITOR_SHOW_TEXT_HOVER_AFFORDANCE, true); + + store.setDefault( PreferenceConstants.RDOC_PATH, PreferenceConstants.getDefaultPath(PreferenceConstants.DEFAULT_RDOC_CMD)) ; + store.setDefault( PreferenceConstants.RI_PATH, PreferenceConstants.getDefaultPath(PreferenceConstants.DEFAULT_RI_CMD)) ; } + + private static String getDefaultPath(String programName) { + RubyInterpreter interpreter = RubyRuntime.getDefault().getSelectedInterpreter(); + if (interpreter == null) { + return programName ; + } + IPath path = interpreter.getInstallLocation(); + path = path.uptoSegment(path.segmentCount() - 1).append(programName); + return path.toOSString(); + } + + /** * Returns the RDT-UI preference store. |