You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl-cvs@perl.apache.org by st...@apache.org on 2004/02/26 21:15:57 UTC

cvs commit: modperl-2.0/xs/tables/current/Apache ConstantsTable.pm

stas        2004/02/26 12:15:57

  Modified:    xs/tables/current/Apache ConstantsTable.pm
  Log:
  sync Apache constants
  
  Revision  Changes    Path
  1.33      +18 -1     modperl-2.0/xs/tables/current/Apache/ConstantsTable.pm
  
  Index: ConstantsTable.pm
  ===================================================================
  RCS file: /home/cvs/modperl-2.0/xs/tables/current/Apache/ConstantsTable.pm,v
  retrieving revision 1.32
  retrieving revision 1.33
  diff -u -u -r1.32 -r1.33
  --- ConstantsTable.pm	2 Dec 2003 15:49:22 -0000	1.32
  +++ ConstantsTable.pm	26 Feb 2004 20:15:57 -0000	1.33
  @@ -134,6 +134,7 @@
         'HTTP_UNPROCESSABLE_ENTITY',
         'HTTP_LOCKED',
         'HTTP_FAILED_DEPENDENCY',
  +      'HTTP_UPGRADE_REQUIRED',
         'HTTP_INTERNAL_SERVER_ERROR',
         'HTTP_NOT_IMPLEMENTED',
         'HTTP_BAD_GATEWAY',
  @@ -242,6 +243,7 @@
         'APR_SO_DEBUG',
         'APR_SO_NONBLOCK',
         'APR_SO_REUSEADDR',
  +      'APR_SO_TIMEOUT',
         'APR_SO_SNDBUF',
         'APR_SO_RCVBUF',
         'APR_SO_DISCONNECTED'
  @@ -249,6 +251,9 @@
       'shutdown_how' => [
         'APR_SHUTDOWN_READ',
         'APR_SHUTDOWN_WRITE',
  +      'APR_SHUTDOWN_READWRITE',
  +      'APR_SHUTDOWN_READ',
  +      'APR_SHUTDOWN_WRITE',
         'APR_SHUTDOWN_READWRITE'
       ],
       'read_type' => [
  @@ -269,6 +274,12 @@
         'APR_LOCK_SYSVSEM',
         'APR_LOCK_PROC_PTHREAD',
         'APR_LOCK_POSIXSEM',
  +      'APR_LOCK_DEFAULT',
  +      'APR_LOCK_FCNTL',
  +      'APR_LOCK_FLOCK',
  +      'APR_LOCK_SYSVSEM',
  +      'APR_LOCK_PROC_PTHREAD',
  +      'APR_LOCK_POSIXSEM',
         'APR_LOCK_DEFAULT'
       ],
       'limit' => [
  @@ -333,7 +344,10 @@
         'APR_FILEPATH_NOTRELATIVE',
         'APR_FILEPATH_NOTABSOLUTE',
         'APR_FILEPATH_NATIVE',
  -      'APR_FILEPATH_TRUENAME'
  +      'APR_FILEPATH_TRUENAME',
  +      'APR_FILEPATH_ENCODING_UNKNOWN',
  +      'APR_FILEPATH_ENCODING_LOCALE',
  +      'APR_FILEPATH_ENCODING_UTF8'
       ],
       'filemode' => [
         'APR_READ',
  @@ -380,6 +394,9 @@
         'APR_EINCOMPLETE',
         'APR_EABOVEROOT',
         'APR_EBADPATH',
  +      'APR_EPATHWILD',
  +      'APR_ESYMNOTFOUND',
  +      'APR_EPROC_UNKNOWN',
         'APR_EOF',
         'APR_EINIT',
         'APR_ENOTIMPL',
  
  
  

Re: cvs commit: modperl-2.0/xs/tables/current/Apache ConstantsTable.pm

Posted by Stas Bekman <st...@stason.org>.
Geoffrey Young wrote:
>>build/source_scan.pl fails to run most things but it was successful at
>>updating Apache/ConstantsTable.pm, so I've synced it. It introduced a
>>few dups which I haven't noticed until I was updating docs. Also it has
>>removed filetype and mpmq groups, not sure why, so I've kept them.
> 
> 
> I added both of these groups and both are important to various APIs.  I've
> never been able to use source_scan.pl, so maybe I missed a or two that needs
> to be in place?

That explains why it decided to remove them (I didn't remove them). Check:
http://perl.apache.org/docs/2.0/devel/core/explained.html#Importing_Constants_and_Enums_into_Perl_API
and add them to the list, so that if and when we fix the source scanner they 
will be there. Thanks!

__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Re: cvs commit: modperl-2.0/xs/tables/current/Apache ConstantsTable.pm

Posted by Geoffrey Young <ge...@modperlcookbook.org>.
> build/source_scan.pl fails to run most things but it was successful at
> updating Apache/ConstantsTable.pm, so I've synced it. It introduced a
> few dups which I haven't noticed until I was updating docs. Also it has
> removed filetype and mpmq groups, not sure why, so I've kept them.

I added both of these groups and both are important to various APIs.  I've
never been able to use source_scan.pl, so maybe I missed a or two that needs
to be in place?

--Geoff


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Re: cvs commit: modperl-2.0/xs/tables/current/Apache ConstantsTable.pm

Posted by Stas Bekman <st...@stason.org>.
stas@apache.org wrote:
> stas        2004/02/26 12:15:57
> 
>   Modified:    xs/tables/current/Apache ConstantsTable.pm
>   Log:
>   sync Apache constants

build/source_scan.pl fails to run most things but it was successful at 
updating Apache/ConstantsTable.pm, so I've synced it. It introduced a few dups 
which I haven't noticed until I was updating docs. Also it has removed 
filetype and mpmq groups, not sure why, so I've kept them.

-    'mpmq' => [
-      'AP_MPMQ_NOT_SUPPORTED',
-      'AP_MPMQ_STATIC',
-      'AP_MPMQ_DYNAMIC',
-      'AP_MPMQ_MAX_DAEMON_USED',
-      'AP_MPMQ_IS_THREADED',
-      'AP_MPMQ_IS_FORKED',
-      'AP_MPMQ_HARD_LIMIT_DAEMONS',
-      'AP_MPMQ_HARD_LIMIT_THREADS',
-      'AP_MPMQ_MAX_THREADS',
-      'AP_MPMQ_MIN_SPARE_DAEMONS',
-      'AP_MPMQ_MIN_SPARE_THREADS',
-      'AP_MPMQ_MAX_SPARE_DAEMONS',
-      'AP_MPMQ_MAX_SPARE_THREADS',
-      'AP_MPMQ_MAX_REQUESTS_DAEMON',
-      'AP_MPMQ_MAX_DAEMONS',
-    ],
+    ]

-    'filetype' => [
-      'APR_NOFILE',
-      'APR_REG',
-      'APR_DIR',
-      'APR_CHR',
-      'APR_BLK',
-      'APR_PIPE',
-      'APR_LNK',
-      'APR_SOCK',
-      'APR_UNKFILE'
-    ],

__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org