Browse Source

Re-ran const_gen.sh to get libgearman v0.6. I had a bogus editor setting
that was sticking in spaces where some tabs should have been. Fixed small
bug in the examples. Updated README and other files

jluedke 16 years ago
parent
commit
79df470fb8
6 changed files with 273 additions and 261 deletions
  1. 2 0
      CREDITS
  2. 8 0
      EXPERIMENTAL
  3. 5 3
      README
  4. 2 2
      examples/reverse_client.php
  5. 7 6
      package.xml
  6. 249 250
      php_gearman.c

+ 2 - 0
CREDITS

@@ -1,2 +1,4 @@
 Authors: James M. Luedke <contact@jluedke.com>
          Eric Day <eday@oddments.org>
+
+Big Thanks: Pierre Joye (http://blog.thepimp.net/)

+ 8 - 0
EXPERIMENTAL

@@ -0,0 +1,8 @@
+THE gearman  EXTENSION IS EXPERIMENTAL!
+
+This extension is experimental, its functions/methods may change or be 
+remove from the extension all together. Use it at your own risk
+
+Please report bugs.
+
+YOU HAVE BEEN WARNED!

+ 5 - 3
README

@@ -5,8 +5,10 @@ applications.
 
 For more information about Gearman, see:
 
-http://www.gearman.org/
 
+Requirements
+    * libgearman v0.6
+http://www.gearman.org/
 The Gearman PHP Extension requires the Gearman C server and library package
 to be installed. You can download the latest from:
 
@@ -58,5 +60,5 @@ scripts about the status and then a final result.
 
 
 Have fun!
--James
-contact@jluedke.com
+
+-James <contact@jluedke.com>

+ 2 - 2
examples/reverse_client.php

@@ -40,8 +40,8 @@ do
     case GEARMAN_SUCCESS:
       break;
     default:
-      echo "RET: " . $gmclient->reutrnCode() . "\n";
-      break;
+      echo "RET: " . $gmclient->returnCode() . "\n";
+      exit;
   }
 }
 while($gmclient->returnCode() != GEARMAN_SUCCESS);

+ 7 - 6
package.xml

@@ -21,10 +21,10 @@ http://pear.php.net/dtd/package-2.0.xsd">
   <email>eday@oddments.org</email>
   <active>yes</active>
  </developer>
- <date>2009-05-18</date>
+ <date>2009-05-20</date>
  <version>
-  <release>0.3.1</release>
-  <api>0.3.1</api>
+  <release>0.3</release>
+  <api>0.3</api>
  </version>
  <stability>
   <release>beta</release>
@@ -38,6 +38,7 @@ http://pear.php.net/dtd/package-2.0.xsd">
 - Added $obj->returnCode() to all objects
 - Fixed compile issues with PHP 5.1 and 5.3
 - Added in ARG_INFO macros to make reflection work
+- Updated constants to 
  </notes>
  <contents>
   <dir name="/">
@@ -50,7 +51,7 @@ http://pear.php.net/dtd/package-2.0.xsd">
    <file role='doc' name='test_worker.php'/>
    <file role='src' name='config.m4'/>
    <file role='src' name='php_gearman.c'/>
-   <file role='src' name='php_gearman.c'/>
+   <file role='src' name='php_gearman.h'/>
    <file role='test' name='gearman_001.phpt'/>
    <dir name="examples">
     <file role='doc' name='image_thumbnail_client_bg.php'/>
@@ -82,8 +83,8 @@ http://pear.php.net/dtd/package-2.0.xsd">
  <changelog>
   <release>
    <stability><release>beta</release><api>beta</api></stability>
-   <version><release>0.3.1</release><api>0.3.1</api></version>
-   <date>2009-05-18</date>
+   <version><release>0.3</release><api>0.3</api></version>
+   <date>2009-05-20</date>
    <notes>
 - Initial PECL import
 - Reworked client/worker/task/job objects.

File diff suppressed because it is too large
+ 249 - 250
php_gearman.c


Some files were not shown because too many files changed in this diff