<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to patches</title><link>https://sourceforge.net/p/ng4j/patches/</link><description>Recent changes to patches</description><atom:link href="https://sourceforge.net/p/ng4j/patches/feed.rss" rel="self"/><language>en</language><lastBuildDate>Mon, 13 Sep 2010 17:51:03 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/ng4j/patches/feed.rss" rel="self" type="application/rss+xml"/><item><title>Switch to PreparedStatement use within QuadDb.java</title><link>https://sourceforge.net/p/ng4j/patches/16/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;As per our discussion at &lt;a href="https://sourceforge.net/mailarchive/forum.php?thread_name=AANLkTi%3DGUGxk-hoR%3D9Dw7S1%2B9bAny0PXPFh32MWcKwgB%40mail.gmail.com&amp;amp;forum_name=ng4j-namedgraphs"&gt;https://sourceforge.net/mailarchive/forum.php?thread_name=AANLkTi%3DGUGxk-hoR%3D9Dw7S1%2B9bAny0PXPFh32MWcKwgB%40mail.gmail.com&amp;amp;forum_name=ng4j-namedgraphs&lt;/a&gt; and &lt;a href="https://sourceforge.net/mailarchive/forum.php?thread_name=alpine.DEB.2.00.1009131317280.22409%40rose.makesad.us&amp;amp;forum_name=ng4j-namedgraphs"&gt;https://sourceforge.net/mailarchive/forum.php?thread_name=alpine.DEB.2.00.1009131317280.22409%40rose.makesad.us&amp;amp;forum_name=ng4j-namedgraphs&lt;/a&gt; , here are the patches for NG4J to use PreparedStatement.&lt;/p&gt;
&lt;p&gt;There are three patches -- I split this out so that it would be easier to understand, I hope.&lt;/p&gt;
&lt;p&gt;Let me know if you have questions. The way I split them out, they should never break any tests in the test suite.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Asheesh Laroia</dc:creator><pubDate>Mon, 13 Sep 2010 17:51:03 -0000</pubDate><guid>https://sourceforge.netc7346359b646124abe3eb61d34ac05d0d36fb912</guid></item><item><title>Allow use of Jena 2.5.7</title><link>https://sourceforge.net/p/ng4j/patches/15/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Changes to pom to use jena 2.5.7 and bouncy castle jars from maven central repository. &lt;br /&gt;
Also antlr. &lt;/p&gt;
&lt;p&gt;Added close method to NamedGraphDataset.&lt;/p&gt;
&lt;p&gt;MyResultSet now returns a QuerySolution rather than an Object&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Tim P</dc:creator><pubDate>Fri, 24 Jul 2009 09:52:01 -0000</pubDate><guid>https://sourceforge.net8c8c4392b1bb52b29d4a0c35537c5abb09fd6520</guid></item><item><title>fixes TrigParser</title><link>https://sourceforge.net/p/ng4j/patches/14/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;fixes a minor bug in the TRIG parser causing a NPE when reading default graphs such as in the example 3 at &lt;a href="http://www4.wiwiss.fu-berlin.de/bizer/TriG/#example" rel="nofollow"&gt;http://www4.wiwiss.fu-berlin.de/bizer/TriG/#example&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;
AndyL&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Andreas Langegger</dc:creator><pubDate>Mon, 15 Jun 2009 14:25:27 -0000</pubDate><guid>https://sourceforge.net2f69b08ce6804bf2c7762adaf5965b5a090da51d</guid></item><item><title>Refactor SWP code and remove deprecated TriQL</title><link>https://sourceforge.net/p/ng4j/patches/13/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;This patch modifies 3 files:  SWPNamedGraphSetImpl, SWPWarrantImpl, and SWPSignatureUtilities.&lt;/p&gt;
&lt;p&gt;The change to SWPSignatureUtilities was a refactoring.  Changed it to reduce the amount of duplicated code.  Made better use of existing helper methods and created new ones.  Also a bug fix or two along the way.&lt;/p&gt;
&lt;p&gt;Two changes to SWPWarrantImpl.  One was a small refactoring change to introduce and use a helper class (NiceGraphIterator) instead of creating and using the same implementation of NiceIterator in three different methods.  The other was to change TriQL queries to SPARQL queries.&lt;/p&gt;
&lt;p&gt;The changes to SWPNamedGraphSetImpl were more extensive.  In particular:&lt;/p&gt;
&lt;p&gt;* Created two new helper methods (actOnGraphs and actOnGraphsWithSignature) which are used to do the work of all the interface methods except for verifyAllSignatures.  This refactoring greatly reduced the amount of duplicate code.&lt;/p&gt;
&lt;p&gt;* Create additional helper methods for use by verifyAllSignatures.  This functionality was separated so subclasses could more easily override small portions, such as the name used for a warrant graph and the exact triples added to the verification graph.&lt;/p&gt;
&lt;p&gt;* Changed to use SPARQL instead of TriQL for queries.&lt;/p&gt;
&lt;p&gt;* Added functionality to the helper methods (actOnGraphs and actOnGraphsWithSignature) which could be exercised by subclasses.  Namely to allow additional statements to be added to the warrant and to allow an unsigned warrant to include a graph digest.&lt;/p&gt;
&lt;p&gt;The attached patch is of the type to be applied using the Eclipse patch wizard.&lt;/p&gt;
&lt;p&gt;I was careful to make no changes to the way things worked previously.  New functionality was added but no existing functionality was changed, to my knowledge, except for small bug fixes in SWPSignatureUtilities e.g. to use the signature method intended.&lt;/p&gt;
&lt;p&gt;The project Junit tests all pass except for the 2 known issues in SWPSignatureUtilitiesTest.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jennifer</dc:creator><pubDate>Fri, 09 Jan 2009 21:24:52 -0000</pubDate><guid>https://sourceforge.netea23d1d9db1a9f3c5bc1a90b058dcfcdd655addd</guid></item><item><title>Update to ARQ 2.4, Jena 2.5.6 and assoc libs</title><link>https://sourceforge.net/p/ng4j/patches/12/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Here's an initial attempt to update all of NG4J for the latest ARQ, Jena, etc.&lt;/p&gt;
&lt;p&gt;Get ARQ-2.4.zip from the download section of the Jena site on SourceForge (http://sourceforge.net/projects/jena/).&lt;/p&gt;
&lt;p&gt;Need to *add* jenatest.jar.&lt;/p&gt;
&lt;p&gt;Need to *replace*&lt;br /&gt;
* arq.jar&lt;br /&gt;
* commons-logging.jar with commons-logging-1.1.1.jar&lt;br /&gt;
* jena.jar&lt;/p&gt;
&lt;p&gt;I'm attaching separate patch files for /src and /tests.  These are created using the Eclipse "Unified" format.  Let me know if you'd like a different format.&lt;/p&gt;
&lt;p&gt;No new failures or errors when running tests.  The only 2  problems are those known due to the expected results in SWP tests due to the new vs. old key (crypto) values.&lt;/p&gt;
&lt;p&gt;However, many classes in de.fuberlin.wiwiss.ng4j.triql.parser are auto-generated and not supposed to be modified.  But I don't know how the autogeneration is done so I modified them manually.&lt;/p&gt;
&lt;p&gt;Also, many of those same autogenerated classes now need to implement inherited method com.hp.hpl.jena.sparql.lang.rdql.PrintableRDQL#format, but I only included a stub method that does nothing.  Each such location in the code is labeled with an Eclipse task that begins with &lt;br /&gt;
FIXME (Update to Jena 2.5.6)&lt;br /&gt;
so they should be easy to find.&lt;/p&gt;
&lt;p&gt;Additionally, in class de.fuberlin.wiwiss.ng4j.triql.legacy.QueryPrintUtils, I commented out part of the "print" method to get the code to compile.  This too is labeled with the same type of FIXME task.&lt;/p&gt;
&lt;p&gt;For the most part I found the new locations of required classes.  A few (jena/arq) classes I could not find and added them as new classes in NG4J, noting the prior package.&lt;/p&gt;
&lt;p&gt;The worst of the port should be over.  If we could just have someone who knows something about these auto-generated classes take a look and advise us, then I think we'd be in good shape to finish up and finally upgrade to the latest Jena/ARQ.&lt;br /&gt;
&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jennifer</dc:creator><pubDate>Thu, 16 Oct 2008 19:38:24 -0000</pubDate><guid>https://sourceforge.neta02a5968dfd54def662528939f21011f427983f2</guid></item><item><title>Update Bouncy Castle Libs to version 1.41</title><link>https://sourceforge.net/p/ng4j/patches/11/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;SWPSignatureUtilities and CreateTestKeystore create Signature objects directly instead of using the factory method.&lt;/p&gt;
&lt;p&gt;The attached patches contain modified version of both files.  These use the factory methods instead of the previous non-standard method.  This works with both the current version of bouncycastle (1.38) and newer versions (including 1.41).&lt;/p&gt;
&lt;p&gt;I ran the full ng4j test suite and the test results are the same before and after this patch is applied.  I did not try running CreateTestKeystore to create a new keystore.&lt;/p&gt;
&lt;p&gt;My colleague Rob fixed SWPSignatureUtilities and said it could be shared with the NG4J community.  In addition to changing the class to use the factory methods, he fixed the algorithm type in various places where SHA1 was used instead of the type matching the if statement.  In one place he also added a missing line to create the signature.&lt;/p&gt;
&lt;p&gt;These patches use the Eclipse "Unified" method.  If you prefer a different method such as Standard, please let me know.&lt;/p&gt;
&lt;p&gt;Download the latest libraries from &lt;a href="http://www.bouncycastle.org/." rel="nofollow"&gt;http://www.bouncycastle.org/.&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jennifer</dc:creator><pubDate>Thu, 16 Oct 2008 15:51:50 -0000</pubDate><guid>https://sourceforge.net22c287ce75d5da4e079e8ae1f08f4bbfc5f5de5b</guid></item><item><title>Code to create a new test keystore</title><link>https://sourceforge.net/p/ng4j/patches/10/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;The main() method of new file CreateTestKeystore creates a new keystore - ng4jtest.p12 - with two certificates, one for the client and one for a certificate authority.&lt;/p&gt;
&lt;p&gt;Unfortunately there are still 2 failures in the SWP tests.  I haven't yet figured out what signature value needs to be used so that the tests run correctly.  When we figure that out we can have CreateTestKeystore print that value at the end (instead of what it prints now).&lt;/p&gt;
&lt;p&gt;Because not everything is running smoothly yet, rather than replacing the existing test.p12, I had it make a new keystore and modified the code to use the new keystore.  I suggest we leave the old test.p12 as part of the release so that it can still be easily referred to, hopefully leading to a final fix.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jennifer</dc:creator><pubDate>Wed, 03 Sep 2008 19:29:06 -0000</pubDate><guid>https://sourceforge.net0be7afc79f75f9f64f6ad99e8cae7e937c45ed73</guid></item><item><title>Fix some errors in SWPNamedGraphSetImpl</title><link>https://sourceforge.net/p/ng4j/patches/9/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;The following methods had problems which have been fixed in the attached patch:&lt;br /&gt;
* getAllWarrants&lt;br /&gt;
* getAllAssertedGraphs&lt;br /&gt;
* getAllQuotedGraphs&lt;/p&gt;
&lt;p&gt;The latter 2 still have a (pre-existing) logic issue - this has been noted as a FIXME task in the code.  Rather than getting all asserted or quoted graphs for a particular authority, they get all the graphs asserted or quoted by a single warrant which has that authority.  This needs to be fixed too, but I don't have time tonight.&lt;/p&gt;
&lt;p&gt;This patch fixes all the errors from test runs except those pertaining to the expired certificate (so 3 errors remain due to that, 7 have been fixed).&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jennifer</dc:creator><pubDate>Fri, 29 Aug 2008 03:49:03 -0000</pubDate><guid>https://sourceforge.net63a308399fc394dd59205cc3feaf0747771d87b5</guid></item><item><title>Fix some Java warnings</title><link>https://sourceforge.net/p/ng4j/patches/8/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;This morning I updated to HEAD and then fixed some of the Java warnings in /tests and /src (but not auto-generated source).&lt;/p&gt;
&lt;p&gt;Attaching separate patches for files in /src and /tests.&lt;/p&gt;
&lt;p&gt;It would be nice to include some code cleanup like this in the upcoming 0.7 release.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jennifer</dc:creator><pubDate>Thu, 21 Aug 2008 13:54:44 -0000</pubDate><guid>https://sourceforge.net7f0f71974b8b721d2360c41ef6af64579f1d9e07</guid></item><item><title>Update Bouncy Castle Libs to version 138</title><link>https://sourceforge.net/p/ng4j/patches/7/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;This patch is to update the Bouncy Castle libraries included with NG4J from verison 127 to version 138.&lt;/p&gt;
&lt;p&gt;The patch for the classpath is attached.&lt;/p&gt;
&lt;p&gt;I plan to attach the actual replacement libraries shortly.&lt;br /&gt;
* bcpg-jdk15-138.jar replaces bcpg-jdk14-127.jar&lt;br /&gt;
* bcprov-jdk15-138.jar replaces bcprov-jdk14-127.jar&lt;/p&gt;
&lt;p&gt;Note that these libraries are for JDK version 1.5 instead of 1.4.&lt;/p&gt;
&lt;p&gt;I have been using these for a few months with NG4J with no problems.  Note however that I have only been using PKCS12, not OpenPGP, and the tests may not test PGP either.&lt;/p&gt;
&lt;p&gt;The results of running the tests appear the same before and after the patch is applied.  However, since there are currently errors when the tests are run, I think we should get the tests working, and then try the tests with this patch and make sure everything is ok.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jennifer</dc:creator><pubDate>Tue, 19 Aug 2008 20:49:03 -0000</pubDate><guid>https://sourceforge.net5144ded2bab67bf7e21a13ad271911ac1830de4b</guid></item></channel></rss>