lsolesen | 8 Jun 12:27
Picon

[513] trunk/build.xml

Revision: 513
          http://pel.svn.sourceforge.net/pel/?rev=513&view=rev
Author:   lsolesen
Date:     2008-06-08 03:28:07 -0700 (Sun, 08 Jun 2008)

Log Message:
-----------
Started a build file so it is easier to make a pear package.

Added Paths:
-----------
    trunk/build.xml

Added: trunk/build.xml
===================================================================
--- trunk/build.xml	                        (rev 0)
+++ trunk/build.xml	2008-06-08 10:28:07 UTC (rev 513)
@@ -0,0 +1,117 @@
+<?xml version="1.0" ?>
+<project name="PEL" basedir="." default="build">
+    <taskdef classname="phing.tasks.ext.d51PearPkg2Task" name="d51pearpkg2" />
+    <taskdef classname="phing.tasks.ext.IlibPearDeployerTask" name="peardeploy" />
+    <taskdef classname="phing.tasks.ext.FtpDeployTask" name="ftpdeploy" />
+
+    <property name="package-name" value="${phing.project.name}" />
+    <property name="version" value="0.9.3" />
+    <property name="stability" value="beta" />
+    <property name="pear.channel" value="public.intraface.dk" />
+
+    <property name="source.dir" value="." />
(Continue reading)

lsolesen | 28 Apr 17:28
Picon

[512] trunk/test

Revision: 512
          http://pel.svn.sourceforge.net/pel/?rev=512&view=rev
Author:   lsolesen
Date:     2008-04-28 08:29:26 -0700 (Mon, 28 Apr 2008)

Log Message:
-----------
Added test for bug 1730993. Haven't figured out what the expected behavior should be.

Added Paths:
-----------
    trunk/test/bug1730993.php
    trunk/test/images/
    trunk/test/images/bug1730993_large.jpg
    trunk/test/images/bug1730993_tmp.jpg

Added: trunk/test/bug1730993.php
===================================================================
--- trunk/test/bug1730993.php	                        (rev 0)
+++ trunk/test/bug1730993.php	2008-04-28 15:29:26 UTC (rev 512)
@@ -0,0 +1,43 @@
+<?php
+
+/*  PEL: PHP Exif Library.  A library with support for reading and
+ *  writing all Exif headers in JPEG and TIFF images using PHP.
+ *
+ *  Copyright (C) 2004, 2006, 2007  Martin Geisler.
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
(Continue reading)

mgeisler | 24 Feb 21:43
Picon

[511] web/htdocs/links.php

Revision: 511
          http://pel.svn.sourceforge.net/pel/?rev=511&view=rev
Author:   mgeisler
Date:     2008-02-24 12:45:15 -0800 (Sun, 24 Feb 2008)

Log Message:
-----------
Added link to PEAR channel.

Modified Paths:
--------------
    web/htdocs/links.php

Modified: web/htdocs/links.php
===================================================================
--- web/htdocs/links.php	2008-01-17 18:40:22 UTC (rev 510)
+++ web/htdocs/links.php	2008-02-24 20:45:15 UTC (rev 511)
@@ -50,6 +50,10 @@
   </li>

   <li>
+    <p>PEAR channel at <tt>pear.sharedlog.com</tt>, maintained by Dmitri.</p>
+  </li>
+
+  <li>
     <p>The Exif specification from <a
     href="http://exif.org/">EXIF.org</a>.</p>
   </li>

This was sent by the SourceForge.net collaborative development platform, the world's largest Open
(Continue reading)

mgeisler | 17 Jan 19:40
Picon

[510] trunk/PelIfd.php

Revision: 510
          http://pel.svn.sourceforge.net/pel/?rev=510&view=rev
Author:   mgeisler
Date:     2008-01-17 10:40:22 -0800 (Thu, 17 Jan 2008)

Log Message:
-----------
Throw an exception in addEntry() if the entry does not belong to the
IFD as per the isValidTag() method.

Modified Paths:
--------------
    trunk/PelIfd.php

Modified: trunk/PelIfd.php
===================================================================
--- trunk/PelIfd.php	2007-10-25 15:28:15 UTC (rev 509)
+++ trunk/PelIfd.php	2008-01-17 18:40:22 UTC (rev 510)
@@ -3,7 +3,7 @@
 /*  PEL: PHP Exif Library.  A library with support for reading and
  *  writing all Exif headers in JPEG and TIFF images using PHP.
  *
- *  Copyright (C) 2004, 2005, 2006, 2007  Martin Geisler.
+ *  Copyright (C) 2004, 2005, 2006, 2007, 2008  Martin Geisler.
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
@@ -267,18 +267,13 @@
         }

(Continue reading)

mgeisler | 25 Oct 17:28
Picon

[509] trunk

Revision: 509
          http://pel.svn.sourceforge.net/pel/?rev=509&view=rev
Author:   mgeisler
Date:     2007-10-25 08:28:15 -0700 (Thu, 25 Oct 2007)

Log Message:
-----------
Added GPS example.

Modified Paths:
--------------
    trunk/NEWS

Added Paths:
-----------
    trunk/examples/gps.php

Modified: trunk/NEWS
===================================================================
--- trunk/NEWS	2007-10-21 19:44:41 UTC (rev 508)
+++ trunk/NEWS	2007-10-25 15:28:15 UTC (rev 509)
@@ -13,10 +13,14 @@
 Added a static method, Pel::setJPEGQuality(), for controlling the
 quality for encoding JPEG images. Fixed bug in conversion between
 Julian Day count and UNIX timestamps and removed dependency on the
-calendar PHP extension. Fixed placement of Windows XP tags.
+calendar PHP extension. Fixed placement of Windows XP tags. Added GPS
+example.

 Changes:
(Continue reading)

mgeisler | 21 Oct 21:44
Picon

[508] trunk/PelIfd.php

Revision: 508
          http://pel.svn.sourceforge.net/pel/?rev=508&view=rev
Author:   mgeisler
Date:     2007-10-21 12:44:41 -0700 (Sun, 21 Oct 2007)

Log Message:
-----------
Make sure to set the IFD type on all entries added.

Modified Paths:
--------------
    trunk/PelIfd.php

Modified: trunk/PelIfd.php
===================================================================
--- trunk/PelIfd.php	2007-06-17 17:02:40 UTC (rev 507)
+++ trunk/PelIfd.php	2007-10-21 19:44:41 UTC (rev 508)
@@ -268,15 +268,12 @@

         try {
             $entry = $this->newEntryFromData($tag, $format, $components, $data);
-
-            if ($this->isValidTag($tag)) {
-              $entry->setIfdType($this->type);
-              $this->entries[$tag] = $entry;
-            } else {
+            if ($this->isValidTag($tag))
+              $this->addEntry($entry);
+            else
               Pel::maybeThrow(new PelInvalidDataException("IFD %s cannot hold\n%s",
(Continue reading)

lsolesen | 17 Jun 19:01
Picon

[507] trunk/makepackagexml.php

Revision: 507
          http://svn.sourceforge.net/pel/?rev=507&view=rev
Author:   lsolesen
Date:     2007-06-17 10:02:40 -0700 (Sun, 17 Jun 2007)

Log Message:
-----------
Changed the stated license from LGPL to GPL as Martin wrote on pel-devel.

Modified Paths:
--------------
    trunk/makepackagexml.php

Modified: trunk/makepackagexml.php
===================================================================
--- trunk/makepackagexml.php	2007-06-11 17:06:26 UTC (rev 506)
+++ trunk/makepackagexml.php	2007-06-17 17:02:40 UTC (rev 507)
@@ -62,7 +62,7 @@

 Using PEL, one can fully modify the Exif data, meaning that it can be both read and written. Completely new
Exif data can also be added to images. PEL is written completely in PHP and depends on nothing except a
standard installation of PHP, version 5. PEL is hosted on SourceForge.');
 $pfm->setUri($url);
-$pfm->setLicense('LGPL License', 'http://www.gnu.org/licenses/lgpl.html');
+$pfm->setLicense('GPL License', 'http://www.gnu.org/licenses/gpl.html');
 $pfm->addMaintainer('lead', 'mgeisler', 'Martin Geisler', 'mgeisler <at> mgeisler.net');
 $pfm->addMaintainer('helper', 'lsolesen', 'Lars Olesen', 'lars <at> legestue.net');

This was sent by the SourceForge.net collaborative development platform, the world's largest Open
Source development site.
(Continue reading)

lsolesen | 11 Jun 19:06
Picon

[506] trunk/makepackagexml.php

Revision: 506
          http://svn.sourceforge.net/pel/?rev=506&view=rev
Author:   lsolesen
Date:     2007-06-11 10:06:26 -0700 (Mon, 11 Jun 2007)

Log Message:
-----------
Added a php script to generate a package.xml file which can be used to create a PEAR package.

Added Paths:
-----------
    trunk/makepackagexml.php

Added: trunk/makepackagexml.php
===================================================================
--- trunk/makepackagexml.php	                        (rev 0)
+++ trunk/makepackagexml.php	2007-06-11 17:06:26 UTC (rev 506)
@@ -0,0 +1,91 @@
+<?php
+/**
+ * package.xml generation script
+ *
+ * To create a package you need to do the following. Before making the package
+ * PEL should be compiled so the .mo files are created.
+ *
+ * <code>
+ * $ php makepackagexml.php make
+ * $ pear package package.xml
+ * </code>
+ *
(Continue reading)

mgeisler | 6 Jun 22:07
Picon

[505] trunk/tutorials/PEL/using.pkg

Revision: 505
          http://svn.sourceforge.net/pel/?rev=505&view=rev
Author:   mgeisler
Date:     2007-06-06 13:09:51 -0700 (Wed, 06 Jun 2007)

Log Message:
-----------
Found another example that should use saveFile().

Modified Paths:
--------------
    trunk/tutorials/PEL/using.pkg

Modified: trunk/tutorials/PEL/using.pkg
===================================================================
--- trunk/tutorials/PEL/using.pkg	2007-06-06 20:07:57 UTC (rev 504)
+++ trunk/tutorials/PEL/using.pkg	2007-06-06 20:09:51 UTC (rev 505)
@@ -167,7 +167,7 @@

     <programlisting role="php">
       <![CDATA[
-file_put_contents('new-' . $filename, $jpeg->getBytes());
+$jpeg->saveFile('new-' . $filename);
       ]]>
     </programlisting>

This was sent by the SourceForge.net collaborative development platform, the world's largest Open
Source development site.

-------------------------------------------------------------------------
(Continue reading)

mgeisler | 6 Jun 22:07
Picon

[504] trunk

Revision: 504
          http://svn.sourceforge.net/pel/?rev=504&view=rev
Author:   mgeisler
Date:     2007-06-06 13:07:57 -0700 (Wed, 06 Jun 2007)

Log Message:
-----------
Introduced a new PelJpeg convenience method: saveFile(), which does
what it says it does. Suggested by Lars Olesen, thanks.

Modified Paths:
--------------
    trunk/INSTALL
    trunk/PelJpeg.php
    trunk/examples/edit-description.php
    trunk/examples/resize.php
    trunk/test/image-tests/read-write.php

Modified: trunk/INSTALL
===================================================================
--- trunk/INSTALL	2007-04-28 09:47:51 UTC (rev 503)
+++ trunk/INSTALL	2007-06-06 20:07:57 UTC (rev 504)
@@ -1,7 +1,7 @@
 INSTALL file for PEL: PHP Exif Library.  A library with support for
 reading and writing Exif headers in JPEG and TIFF images using PHP.

-Copyright (C) 2004, 2005, 2006  Martin Geisler.
+Copyright (C) 2004, 2005, 2006, 2007  Martin Geisler.
 Licensed under the GNU GPL, see COPYING for details.

(Continue reading)

mgeisler | 28 Apr 11:46
Picon

[503] trunk

Revision: 503
          http://svn.sourceforge.net/pel/?rev=503&view=rev
Author:   mgeisler
Date:     2007-04-28 02:47:51 -0700 (Sat, 28 Apr 2007)

Log Message:
-----------
Fixed getBytes() so that it returns... Thanks macondos.

Modified Paths:
--------------
    trunk/NEWS
    trunk/PelJpegComment.php

Modified: trunk/NEWS
===================================================================
--- trunk/NEWS	2007-04-24 18:52:22 UTC (rev 502)
+++ trunk/NEWS	2007-04-28 09:47:51 UTC (rev 503)
@@ -17,6 +17,9 @@

 Changes:

+* Fixed PelJpegComment::getBytes(): it didn't return anything! Thanks
+  macondos.
+
 * Fixed SF bug #1699489: Incorrect UNIX/Julian conversion.

 * PEL 0.9.1 introduced a dependency on the calendar extension for PHP.

Modified: trunk/PelJpegComment.php
(Continue reading)


Gmane