sonews/0.5.1 fixes merged
authorchris <chris@marvin>
Wed Jul 01 10:48:22 2009 +0200 (2009-07-01)
changeset 21090e2141798
parent 1 6fceb66e1ad7
child 3 2fdc9cc89502
sonews/0.5.1 fixes merged
DEBIAN/control
doc/sonews.xml
makedeb
org/sonews/daemon/Main.java
org/sonews/daemon/storage/Database.java
     1.1 --- a/DEBIAN/control	Fri Jun 26 16:48:50 2009 +0200
     1.2 +++ b/DEBIAN/control	Wed Jul 01 10:48:22 2009 +0200
     1.3 @@ -4,7 +4,7 @@
     1.4  Maintainer: Christian Lins <cli@openoffice.org>
     1.5  Homepage: http://www.sonews.org/
     1.6  Package: sonews
     1.7 -Version: 0.5.0
     1.8 +Version: 0.6.0beta
     1.9  Architecture: all
    1.10  Depends: openjdk-6-jre-headless | openjdk-6-jre | sun-java6-jre | cacao | jamvm, glassfish-mail, libmysql-java
    1.11  Suggests: kitten, libpg-java, mysql-server, libjchart2d-java
     2.1 --- a/doc/sonews.xml	Fri Jun 26 16:48:50 2009 +0200
     2.2 +++ b/doc/sonews.xml	Wed Jul 01 10:48:22 2009 +0200
     2.3 @@ -12,6 +12,16 @@
     2.4      database as backend.
     2.5    </para>
     2.6    <para>
     2.7 +    <emphasis role="bold">2009/07/01</emphasis>:
     2.8 +    <emphasis>sonews/0.5.1</emphasis>
     2.9 +    (<ulink url="files/sonews-0.5.1.tar.bz2">binary tarball</ulink>,
    2.10 +    <ulink url="files/sonews-0.5.1-src.tar.bz2">source tarball</ulink>) bugfix
    2.11 +    release.
    2.12 +    Broken Cancel-mechanism and broken buildscript fixed.
    2.13 +    See <ulink url="http://code.xerxys.info:8000/hgwebdir.cgi/sonews-0.5/log/287">
    2.14 +      changelog</ulink> for more details.
    2.15 +  </para>
    2.16 +  <para>
    2.17      <emphasis role="bold">2009/06/29</emphasis>: 
    2.18      <emphasis>sonews/0.5.0</emphasis> 
    2.19      (<ulink url="files/sonews-0.5.0.tar.bz2">binary tarball</ulink>,
     3.1 --- a/makedeb	Fri Jun 26 16:48:50 2009 +0200
     3.2 +++ b/makedeb	Wed Jul 01 10:48:22 2009 +0200
     3.3 @@ -11,7 +11,7 @@
     3.4  jar -cf test.jar -C classes/ test/ 
     3.5  jar -ufe test.jar test.TestBench
     3.6  jar -cf sonews-helpers.jar helpers/
     3.7 -jar -uf sonews.jar org/sonews/web/*.tmpl
     3.8 +jar -uf sonews.jar org/sonews/web/tmpl/*.tmpl
     3.9  
    3.10  # Create faked root for packaging
    3.11  sudo rm -r $PACKAGE_ROOT/
     4.1 --- a/org/sonews/daemon/Main.java	Fri Jun 26 16:48:50 2009 +0200
     4.2 +++ b/org/sonews/daemon/Main.java	Wed Jul 01 10:48:22 2009 +0200
     4.3 @@ -42,7 +42,7 @@
     4.4    }
     4.5  
     4.6    /** Version information of the sonews daemon */
     4.7 -  public static final String VERSION = "sonews/0.5.0";
     4.8 +  public static final String VERSION = "sonews/0.6.0beta1";
     4.9    public static final Date   STARTDATE = new Date();
    4.10    
    4.11    /**
     5.1 --- a/org/sonews/daemon/storage/Database.java	Fri Jun 26 16:48:50 2009 +0200
     5.2 +++ b/org/sonews/daemon/storage/Database.java	Wed Jul 01 10:48:22 2009 +0200
     5.3 @@ -482,8 +482,7 @@
     5.4        this.conn.setAutoCommit(false);
     5.5        
     5.6        this.pstmtDeleteArticle0.setString(1, messageID);
     5.7 -      ResultSet rs = this.pstmtDeleteArticle0.executeQuery();
     5.8 -      rs.next();
     5.9 +      int rs = this.pstmtDeleteArticle0.executeUpdate();
    5.10        
    5.11        // We trust the ON DELETE CASCADE functionality to delete
    5.12        // orphaned references