Bertalan Fodor | 1 Jan 2006 18:09
Picon
Favicon

Major bug in JARClassCloader with fix

Hello,

I desperately need this fix in JARClassLoader. The problem is that jEdit 
doesn't store package information in loaded classes, so getPackage() 
returns null in classes loaded from JARs. That makes impossible to 
include certain libraries.

Please include the attached patch (or something similar) in the next 
release.

Thank you,

Bert

--- JARClassLoader.old	2006-01-01 18:05:46.109375000 +0100
+++ JARClassLoader.new	2006-01-01 18:05:33.765625000 +0100
 <at>  <at>  -31,13 +31,19  <at>  <at> 
 import java.util.zip.ZipEntry;
 import java.util.zip.ZipFile;
 import org.gjt.sp.util.Log;
+
+import java.util.jar.Manifest;
+import java.util.jar.JarFile;
+import java.net.MalformedURLException;
+import java.util.jar.Attributes;
+import java.util.jar.Attributes.Name;
 //}}}

(Continue reading)

Alan Ezust | 1 Jan 2006 19:28
Picon

Re: Major bug in JARClassCloader with fix

Thanks for your submission. I have applied it to my own copy and am
testing it out.

Is there something i can try to break the older version that your fix fixes?

On 1/1/06, Bertalan Fodor <fodber <at> freemail.hu> wrote:
> Hello,
>
> I desperately need this fix in JARClassLoader. The problem is that jEdit
> doesn't store package information in loaded classes, so getPackage()
> returns null in classes loaded from JARs. That makes impossible to
> include certain libraries.
>
> Please include the attached patch (or something similar) in the next
> release.
>
> Thank you,
>
> Bert
>
>
>
>
> --- JARClassLoader.old  2006-01-01 18:05:46.109375000 +0100
> +++ JARClassLoader.new  2006-01-01 18:05:33.765625000 +0100
>  <at>  <at>  -31,13 +31,19  <at>  <at> 
>  import java.util.zip.ZipEntry;
>  import java.util.zip.ZipFile;
>  import org.gjt.sp.util.Log;
> +
(Continue reading)

Bertalan Fodor | 1 Jan 2006 19:36
Picon
Favicon

Re: Major bug in JARClassCloader with fix

Try this macro:

c = console.Console.class;
Macros.message(view, c.getPackage().toString());

Anyway, the problem arose from trying to embed multivalent 
(multivalent.sf.net), which uses getPackage for some sophisticated 
resource loading mechanism.

Bert

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
--

-- 
-----------------------------------------------
jEdit Developers' List
jEdit-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jedit-devel

Alan Ezust | 1 Jan 2006 19:38
Picon

Re: Major bug in JARClassCloader with fix

Interesting. I wonder if this will make another problem I had go away...
Anyway, it's running on my system and doesn't break anything. I think
this might even get in before 4.3pre3 (which is imminent!).

On 1/1/06, Bertalan Fodor <fodber <at> freemail.hu> wrote:
> Try this macro:
>
> c = console.Console.class;
> Macros.message(view, c.getPackage().toString());
>
> Anyway, the problem arose from trying to embed multivalent
> (multivalent.sf.net), which uses getPackage for some sophisticated
> resource loading mechanism.
>
> Bert
>

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
--

-- 
-----------------------------------------------
jEdit Developers' List
jEdit-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jedit-devel

SourceForge.net | 2 Jan 2006 08:49
Picon
Favicon

[ jedit-Plugin Central Submission-1312384 ] Console 4.3.3

Plugin Central Submission item #1312384, was opened at 2005-10-03 15:36
Message generated for change (Settings changed) made by ezust
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=625093&aid=1312384&group_id=588

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Priority: 5
Submitted By: Alan Ezust (ezust)
>Assigned to: Alan Ezust (ezust)
Summary: Console 4.3.3

Initial Comment:
#

Version 4.3.1 Requires jEdit 4.3 beta and Java 1.5

    *

      Rewrote command execution part to use the JDK 1.5
ProcessBuilder class. This made it possible to merge
stdout and stderr, which means that the output of make,
which sends its "entering/leaving" messages to stdout,
and its error messages to stderr, can be merged into
one stream for parsing.
    *
(Continue reading)

SourceForge.net | 2 Jan 2006 09:00
Picon
Favicon

[ jedit-Plugin Central Submission-1392151 ] Navigator 1.1

Plugin Central Submission item #1392151, was opened at 2005-12-28 10:01
Message generated for change (Settings changed) made by ezust
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=625093&aid=1392151&group_id=588

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Priority: 5
Submitted By: Alan Ezust (ezust)
>Assigned to: Alan Ezust (ezust)
Summary: Navigator 1.1

Initial Comment:
Name: Navigator
Version: 1.1

Dependencies: Jedit 4.3pre3 and Java 1.4

Announcement: Listens to new EditBus messages when
buffers are changING.

Description: Keeps track of caret positions just before
the buffers change, or
    whenever the mouse clicks. Allows easy navigability
to previous positions
    in your history. 
(Continue reading)

SourceForge.net | 2 Jan 2006 09:18
Picon
Favicon

[ jedit-Plugin Central Submission-1312378 ] XML Plugin 0.15

Plugin Central Submission item #1312378, was opened at 2005-10-03 15:30
Message generated for change (Comment added) made by ezust
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=625093&aid=1312378&group_id=588

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: 2006-01-15
>Status: Pending
Priority: 2
Submitted By: Alan Ezust (ezust)
Assigned to: Jeffrey Hoyt (jchoyt)
Summary: XML Plugin 0.15

Initial Comment:
It is important that Xerces 2.4 is removed from plugin
central, and 2.6.2 or later be installed in its place.

Xml Plugin 0.15 is now available in CVS.

Version 0.15 Patched for jEdit43pre2, SideKick plugin
0.3.5, ErrorList plugin 1.4, and Xerces 2.6 or later.
[mostly documentation fixes and .props edits ]
Tested with Xerces 2.7.1

Version 0.14 requires jEdit 4.2pre9, SideKick plugin
0.3, and ErrorList plugin 1.3.1.

(Continue reading)

SourceForge.net | 2 Jan 2006 09:47
Picon
Favicon

[ jedit-Plugin Central Submission-1315092 ] InfoViewer 1.5 submitted to CVS

Plugin Central Submission item #1315092, was opened at 2005-10-06 09:02
Message generated for change (Comment added) made by ezust
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=625093&aid=1315092&group_id=588

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Closed
Priority: 5
Submitted By: Alan Ezust (ezust)
Assigned to: Jeffrey Hoyt (jchoyt)
Summary: InfoViewer 1.5 submitted to CVS

Initial Comment:
I made some changes to the jedit HelpViewer core so
this version would work. You must update Jedit from CVS
to build it.

Version 1.4 - requires jedit 4.3pre3 (will not work on
4.3pre2)

* Added option to use InfoViewer instead of HelpViewer
* Added HelpInfoViewer - an InfoViewer with the Help
table of contents
  as an optional sidebar. (Alan Ezust)

Version 1.3
(Continue reading)

Alan Ezust | 2 Jan 2006 09:58
Picon

who else is releasing plugins?

Ok, now that 4.3pre3 is finally OUT, we need to get those plugins up
on plugin central. Who can help out with that? I noticed a few were
posted as being availablle since November, but plugin central doesn't
let me see them.

Is that administrable via the sourceforge.net web interface? Could
someone please send me a URL on how I can help update all those old
plugins up there?

Anyway, who else is out there releasing plugins? Who else wants to help?

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
--

-- 
-----------------------------------------------
jEdit Developers' List
jEdit-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jedit-devel

Dale Anson | 2 Jan 2006 19:38

Re: who else is releasing plugins?

I've got 5 or 6 plugin updates posted on plugin central. Four are since 
November.  I'm working on Antelope at the moment, the update won't compile 
against jEdit 4.3 (although it seems to work okay...).  I need to go back 
through the others, they _should_ work with 4.3, but I haven't tested.  I 
hope to get through them all prior to the Jan 15 release date.

I'm short on time, so probably won't be able to help out with much else. 
I'd like to do a bit more with JBrowse, but it works well now, so it's not 
a priority for me at the moment.

Dale

On Mon, 2 Jan 2006, Alan Ezust wrote:

> Ok, now that 4.3pre3 is finally OUT, we need to get those plugins up
> on plugin central. Who can help out with that? I noticed a few were
> posted as being availablle since November, but plugin central doesn't
> let me see them.
>
> Is that administrable via the sourceforge.net web interface? Could
> someone please send me a URL on how I can help update all those old
> plugins up there?
>
> Anyway, who else is out there releasing plugins? Who else wants to help?
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
> for problems?  Stop!  Download the new AJAX search engine that makes
> searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
(Continue reading)


Gmane