From: Shlomy R. <sre...@gm...> - 2009-07-30 18:23:53
|
Hi, I think the discussion is about the jEdit core, not about plugins. Regarding CtagsInterface, as far as I remember all the 1.6 specific code is in the plugin's tooltip class, which can be eliminated completely by removing the 'show tag tooltips' option in the plugin option pane. But in general, I do not intend to waste time for java 1.5 compatibility. I'd replace String.isEmpty() by the 1.5 equivalent, but wouldn't do anything to work around SwingWorker (btw, the interface and implementation in 1.6 is different than the libraries that provided this in 1.5). Shlomy On Thu, Jul 30, 2009 at 9:13 PM, Eric Le Lay<ker...@us...> wrote: > Let's pick some examples : > CtagsInterface currently uses (r15822) : > > - String.isEmpty() > - javax.swing.SwingWorker > - MouseEvent.getXOnScreen(), MouseEvent.getXOnScreen() > > which are not present in java 5. > > They exemplify 3 kinds of issues : > - no brainer fix : String.isEmpty() could be String.length()==0 > - no replacement in the library, fix it via an existing backport : use > org.jdesktop.SwingWorker > it adds another jar to the plugin, but it's a drop-in replacement. > - not obvious (this one may be obvious to you, but you get the idea): > replace > menu.show(view, me.getXOnScreen(), me.getYOnScreen()); > with > menu.show(view, me.getX(), me.getY()); > > Not to mention that I own a PPC Tiger mac... > > Vadim Voituk a écrit : >> Hi folks, >> >> The last Java update proposed by Apple on 64bit Leopard: >> >> vadim@Voituk:~>java -version >> java version "1.6.0_13" >> Java(TM) SE Runtime Environment (build 1.6.0_13-b03-211) >> Java HotSpot(TM) 64-Bit Server VM (build 11.3-b02-83, mixed mode) >> >> But i`m not sure that we should migrate jEdit core to 1.6. (agreed >> with Alan on this) >> >> >> Dale, >> What 1.6 features you`re going to use? Maybe we can find 1.5 >> alternatives for it? >> >> >> >> -- >> Voituk Vadim >> >> >> On Thu, Jul 30, 2009 at 03:54, Jesse Pavel <jp...@al... >> <mailto:jp...@al...>> wrote: >> >> >> >> On Wed, Jul 29, 2009 at 6:56 PM, Seph Soliman <sc...@gm... >> <mailto:sc...@gm...>> wrote: >> >> Mac users will agree with me... 1.5/Tiger users, please speak up! >> >> >> >> My Macs are all PPC, and so, sadly, they'll be running 1.5 until >> their end. >> So I would certainly appreciate a 1.5-unless-1.6-is-needed policy, >> for a bit longer. >> >> Best, >> Jesse >> >> >> ------------------------------------------------------------------------------ >> Let Crystal Reports handle the reporting - Free Crystal Reports >> 2008 30-Day >> trial. Simplify your report design, integration and deployment - >> and focus on >> what you do best, core application coding. Discover what's new with >> Crystal Reports now. http://p.sf.net/sfu/bobj-july >> -- >> ----------------------------------------------- >> jEdit Developers' List >> jEd...@li... >> <mailto:jEd...@li...> >> https://lists.sourceforge.net/lists/listinfo/jedit-devel >> >> >> ------------------------------------------------------------------------ >> >> ------------------------------------------------------------------------------ >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day >> trial. Simplify your report design, integration and deployment - and focus on >> what you do best, core application coding. Discover what's new with >> Crystal Reports now. http://p.sf.net/sfu/bobj-july > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > -- > ----------------------------------------------- > jEdit Developers' List > jEd...@li... > https://lists.sourceforge.net/lists/listinfo/jedit-devel > |