Date: Tue, 14 Mar 2006 11:20:14 -0500 (EST) From: "Mikhail T." <mi@aldan.algebra.com> To: lioux@FreeBSD.org Cc: freebsd-eclipse@FreeBSD.org Subject: azureus-2.4.0.0 Message-ID: <200603141620.k2EGKECa039995@aldan.algebra.com>
next in thread | raw e-mail | index | archive | help
--ELM1142353214-39960-0_ Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Hi! I'm attaching the patch needed to compile Azureus-2.4.0.0 against SWT-3.1.x. Note, that patched code catches the "no such mathod" exceptions at run-time, which allows the precompiled jar to work with the older swt. Unfortunately, there does not seem to exist a method to catch such things at compile-time :-( When SWT-3.2.x is released, and our port is updated (or x11-toolkits/swt32 is created), the patch can be removed. Yours, -mi --ELM1142353214-39960-0_ Content-Transfer-Encoding: 7bit Content-Type: text/plain Content-Disposition: attachment; filename=patch-swt31 Content-Description: This set of patches allows Azureus to build against the 3.1.x version of SWT. When the 3.2.x is _released_ by Eclipse, and our x11-toolkits/swt31 port is updated, this file can be removed from the Azureus port. -mi --- org/gudy/azureus2/ui/swt/Messages.java Fri Feb 10 00:08:06 2006 +++ org/gudy/azureus2/ui/swt/Messages.java Tue Mar 14 11:00:05 2006 @@ -218,5 +218,5 @@ } } - } else if (widget instanceof TableColumn) { + } /* else if (widget instanceof TableColumn) { String key = (String) widget.getData(); if (key != null) { @@ -236,4 +236,5 @@ } } +*/ } --- org/gudy/azureus2/ui/swt/views/TableView.java Fri Feb 10 00:07:52 2006 +++ org/gudy/azureus2/ui/swt/views/TableView.java Tue Mar 14 11:03:38 2006 @@ -2714,5 +2714,5 @@ if (table == null || table.isDisposed()) return; - +/* try { // can't use TableColumnCore.getPosition, because user may have moved @@ -2733,4 +2733,5 @@ // sWT < 3.2 doesn't have column indicaters } +*/ } --- org/gudy/azureus2/ui/swt/views/configsections/ConfigSectionPlugins.java Fri Feb 10 00:08:06 2006 +++ org/gudy/azureus2/ui/swt/views/configsections/ConfigSectionPlugins.java Tue Mar 14 11:06:20 2006 @@ -374,4 +374,5 @@ public void widgetSelected(SelectionEvent e) { boolean ascending = comparator.setField(table.indexOf(tc)); +/* try { table.setSortColumn(tc); @@ -380,4 +381,5 @@ // Ignore Pre 3.0 } +*/ Collections.sort(pluginIFs, comparator); table.clearAll(); --ELM1142353214-39960-0_--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200603141620.k2EGKECa039995>