Re: Class data preloading modules

2001-11-27 Thread Perrin Harkins
* initialize everything in the parent Apache, just make sure to create new DBI connections in the children. That's what I would do. It increases the amount of shared memory. Disconnect the DBI connection when you're done with it. Apache::DBI doesn't cache connections during startup, so

cvs commit: modperl-2.0/src/modules/perl mod_perl.c mod_perl.h modperl_callback.c modperl_callback.h

2001-11-24 Thread dougm
dougm 01/11/23 17:15:02 Modified:lib/ModPerl Code.pm src/modules/perl mod_perl.c mod_perl.h modperl_callback.c modperl_callback.h Log: adjust to open_logs and post_config hook prototype changes Revision ChangesPath 1.72 +1

Class data preloading modules

2001-11-23 Thread Adriano Nagelschmidt Rodrigues
Hi, I have some modules that use the idiom package Foo; use Bar; { my $bar = Bar-new(args); sub bar { return $bar } } which works fine until one tries to preload them in startup.pl. I realized that, by preloading, I was innocently sharing the same DBI object between Apache children

VirtualHosts-Config inside of modules

2001-11-22 Thread Nico Erfurth
Hi, i made a small script to configure an Apache-Webserver via LDAP-entries. First i put everything in a Perl/Perl-Section, it worked. Now i want to put it inside a module, and everything works, EXCEPT, that i can't add VirtualHosts. in the Perl-Version i used use

cvs commit: modperl-2.0/src/modules/perl modperl_util.c

2001-11-19 Thread dougm
dougm 01/11/19 15:24:46 Modified:src/modules/perl modperl_util.c Log: give modperl_sv2pool more to choose from Revision ChangesPath 1.31 +28 -10modperl-2.0/src/modules/perl/modperl_util.c Index: modperl_util.c

cvs commit: modperl-2.0/src/modules/perl modperl_config.c

2001-11-18 Thread dougm
dougm 01/11/18 16:21:25 Modified:src/modules/perl modperl_config.c Log: moving merge_table_overlap_item macro logic into a function Revision ChangesPath 1.49 +24 -15modperl-2.0/src/modules/perl/modperl_config.c Index: modperl_config.c

cvs commit: modperl-2.0/src/modules/perl modperl_config.c

2001-11-18 Thread dougm
dougm 01/11/18 16:33:37 Modified:src/modules/perl modperl_config.c Log: avoid get on the base table in modperl_table_overlap() since we already have the value Revision ChangesPath 1.50 +6 -5 modperl-2.0/src/modules/perl/modperl_config.c Index

cvs commit: modperl-2.0/src/modules/perl mod_perl.c

2001-11-14 Thread dougm
dougm 01/11/14 17:30:46 Modified:src/modules/perl mod_perl.c Log: save globals before populating %ENV vars Revision ChangesPath 1.94 +2 -2 modperl-2.0/src/modules/perl/mod_perl.c Index: mod_perl.c

cvs commit: modperl-2.0/src/modules/perl modperl_util.c modperl_util.h

2001-11-06 Thread dougm
dougm 01/11/06 10:39:41 Modified:src/modules/perl modperl_util.c modperl_util.h Log: add modperl_perl_do_sprintf function Revision ChangesPath 1.30 +16 -0 modperl-2.0/src/modules/perl/modperl_util.c Index: modperl_util.c

cvs commit: modperl-2.0/src/modules/perl modperl_perl_includes.h

2001-11-06 Thread dougm
dougm 01/11/06 19:14:54 Modified:lib/Apache ParseSource.pm lib/ModPerl TypeMap.pm WrapXS.pm src/modules/perl modperl_perl_includes.h Log: add logic so we can avoid dTHX; usage in modperl-only functions that have a pTHX_ Revision ChangesPath

Re: Installing modules

2001-11-04 Thread Steve Piner
John Michael wrote: Where can I find information on how to install modules like: Apache::Request libapreq-0.33.tar.gz Apache::DBIApacheDBI-0.88.tar.gz Would I install these as regular perl modules or are they installed as apache modules? They are regular perl modules

cvs commit: modperl-2.0/src/modules/perl modperl_util.c

2001-11-04 Thread dougm
dougm 01/11/04 20:50:57 Modified:src/modules/perl modperl_util.c Log: check if @DynaLoader::dl_librefs actually has any elements in modperl_xs_dl_handles_get() before calling apr_array_make() Revision ChangesPath 1.28 +5 -0 modperl-2.0/src/modules/perl

cvs commit: modperl-2.0/src/modules/perl modperl_util.c

2001-11-04 Thread dougm
dougm 01/11/04 21:12:33 Modified:src/modules/perl modperl_util.c Log: need some parens around AvFILL(librefs) = 0 check Revision ChangesPath 1.29 +1 -1 modperl-2.0/src/modules/perl/modperl_util.c Index: modperl_util.c

cvs commit: modperl-2.0/src/modules/perl modperl_callback.c modperl_config.c modperl_config.h modperl_interp.c modperl_types.h

2001-11-04 Thread dougm
dougm 01/11/04 21:19:01 Modified:lib/ModPerl Code.pm src/modules/perl modperl_callback.c modperl_config.c modperl_config.h modperl_interp.c modperl_types.h Log: add a per-request cleanup function that properly deals with PerlInterpScope

Installing modules

2001-11-03 Thread John Michael
Where can I find information on how to install modules like: Apache::Requestlibapreq-0.33.tar.gz Apache::DBI ApacheDBI-0.88.tar.gz Would I install these as regular perl modules or are they installed as apache modules? I have found and downloaded the files, but am not exactly sure where

Re: Installing modules

2001-11-03 Thread Ged Haywood
Hi there, On Sat, 3 Nov 2001, John Michael wrote: Where can I find information on how to install modules like: Apache::Request libapreq-0.33.tar.gz Apache::DBIApacheDBI-0.88.tar.gz The CPAN shell can do it all automatically for you. perl -MCPAN -eshell You need

cvs commit: modperl-2.0/src/modules/perl modperl_perl.c

2001-11-01 Thread dougm
dougm 01/11/01 18:59:32 Modified:src/modules/perl modperl_perl.c Log: prevent perl from free-ing the environ array multiple times (segv) Revision ChangesPath 1.8 +9 -0 modperl-2.0/src/modules/perl/modperl_perl.c Index: modperl_perl.c

cvs commit: modperl-2.0/src/modules/perl mod_perl.c modperl_interp.c modperl_perl.c modperl_perl.h

2001-11-01 Thread dougm
dougm 01/11/01 15:50:32 Modified:src/modules/perl mod_perl.c modperl_interp.c modperl_perl.c modperl_perl.h Log: moving perl_destruct() and releated items into modperl_perl_destruct() wrapper Revision ChangesPath 1.93 +1 -3 modperl

Re: tracing memory usage for modules in mod_perl??

2001-10-25 Thread Stas Bekman
Andrei A. Voropaev wrote: Hi! Just wanted to check if it is possible to trace memory usage of each mod_perl modules. It's kind of does not look very realistic, but I do not know the whole truth... Sure you can, arm yourself with B::TerseSize. Look at Apache::Status that uses it, so you

Re: When to use 'use' for accessing modules?

2001-10-24 Thread Perrin Harkins
Steve Piner wrote: Perrin Harkins wrote: Chris Allen wrote: [...] Is $ENV{foo}='bar'; in startup.pl equivalent to PerlSetEnv foo bar in httpd.conf? Yes. Are you sure? I experimented a few months ago, and found that $ENV{foo}='bar'; would only last in each child until the

RE: When to use 'use' for accessing modules?

2001-10-24 Thread Geoffrey Young
-Original Message- From: Perrin Harkins [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 24, 2001 1:41 AM To: Steve Piner Cc: Chris Allen; [EMAIL PROTECTED] Subject: Re: When to use 'use' for accessing modules? Steve Piner wrote: Perrin Harkins wrote: Chris

RE: When to use 'use' for accessing modules?

2001-10-24 Thread Geoffrey Young
Is $ENV{foo}='bar'; in startup.pl equivalent to PerlSetEnv foo bar in httpd.conf? Yes. well, not exactly. PerlSetEnv sets the subprocess_env table. as a side effect of that, you get PerlSetEnv values in %ENV if you have PerlSetupEnv On. The other way to look at it

tracing memory usage for modules in mod_perl??

2001-10-24 Thread Andrei A. Voropaev
Hi! Just wanted to check if it is possible to trace memory usage of each mod_perl modules. It's kind of does not look very realistic, but I do not know the whole truth... Thanks Andrei

When to use 'use' for accessing modules?

2001-10-23 Thread Chris Allen
I have a modperl site that accesses a number of modules. In my startup.pl I have: #!/usr/bin/perl -w use strict; use lib('/path/to/my/installation'); # 'site' directory is here use Apache::DBI; use Apache::StatINC; use site::customers; use site::orders; use site::products; use site::base; 1

Re: When to use 'use' for accessing modules?

2001-10-23 Thread Perrin Harkins
find some pointers to a discussion of this very useful. You don't need them because the modules they would load are already loaded. I would also be interested to know that if the 'use' statements *are* unnecessary, does including them add any extra overhead of processing/memory

Re: When to use 'use' for accessing modules?

2001-10-23 Thread Steve Piner
Perrin Harkins wrote: Chris Allen wrote: [...] Is $ENV{foo}='bar'; in startup.pl equivalent to PerlSetEnv foo bar in httpd.conf? Yes. Are you sure? I experimented a few months ago, and found that $ENV{foo}='bar'; would only last in each child until the first request of the child

cvs commit: modperl-2.0/src/modules/perl modperl_config.c modperl_config.h

2001-10-22 Thread dougm
dougm 01/10/22 10:20:11 Modified:lib/ModPerl WrapXS.pm src/modules/perl modperl_config.c modperl_config.h Log: wrap all references to perl_module inside macros that are redefined to call functions in .xs modules under WIN32 to avoid referencing perl_module

cvs commit: modperl-2.0/src/modules/perl modperl_interp.h

2001-10-21 Thread dougm
dougm 01/10/20 23:48:39 Modified:src/modules/perl modperl_interp.h Log: remove prototypes of dead functions Revision ChangesPath 1.14 +0 -6 modperl-2.0/src/modules/perl/modperl_interp.h Index: modperl_interp.h

cvs commit: modperl-2.0/src/modules/perl modperl_filter.c modperl_handler.c modperl_log.c modperl_perl_includes.h

2001-10-21 Thread dougm
dougm 01/10/21 15:11:34 Modified:src/modules/perl modperl_filter.c modperl_handler.c modperl_log.c modperl_perl_includes.h Log: tweaks so we could compile without -DPERL_CORE on win32 Revision ChangesPath 1.28 +2 -1 modperl-2.0/src

cvs commit: modperl-2.0/src/modules/perl modperl_const.c

2001-10-21 Thread dougm
dougm 01/10/21 22:42:23 Modified:src/modules/perl modperl_const.c Log: XSRETURN_YES in ModPerl::Const::import makes win32 blowup; XSRETURN_EMPTY is ok Revision ChangesPath 1.8 +1 -1 modperl-2.0/src/modules/perl/modperl_const.c Index: modperl_const.c

cvs commit: modperl-2.0/src/modules/perl modperl_handler.h modperl_perl_global.h modperl_types.h

2001-10-19 Thread dougm
dougm 01/10/19 09:40:45 Modified:src/modules/perl modperl_handler.h modperl_perl_global.h modperl_types.h Log: get rid of hpux warnings: Dangling comma not allowed by ANSI standard, ignored. Revision ChangesPath 1.8 +1 -1 modperl

cvs commit: modperl-2.0/src/modules/perl modperl_time.h

2001-10-19 Thread stas
stas01/10/19 20:35:54 Modified:src/modules/perl modperl_time.h Log: - handle platforms which don't have HZ constant defined Revision ChangesPath 1.2 +8 -2 modperl-2.0/src/modules/perl/modperl_time.h Index: modperl_time.h

cvs commit: modperl-2.0/src/modules/perl modperl_perl_global.c modperl_perl_global.h

2001-10-13 Thread dougm
dougm 01/10/13 11:55:03 Modified:src/modules/perl modperl_perl_global.c modperl_perl_global.h Log: s/hv_fetch/hv_fetch_he/g Revision ChangesPath 1.10 +24 -9 modperl-2.0/src/modules/perl/modperl_perl_global.c Index: modperl_perl_global.c

cvs commit: modperl-2.0/src/modules/perl mod_perl.c modperl_perl_global.c modperl_perl_global.h

2001-10-13 Thread dougm
dougm 01/10/13 12:02:03 Modified:src/modules/perl mod_perl.c modperl_perl_global.c modperl_perl_global.h Log: calculate hash of MP_modglobal_keys keys at startup Revision ChangesPath 1.91 +1 -0 modperl-2.0/src/modules/perl/mod_perl.c

cvs commit: modperl-2.0/src/modules/perl modperl_perl_global.c

2001-10-13 Thread dougm
dougm 01/10/13 12:05:16 Modified:src/modules/perl modperl_perl_global.c Log: use consistent style to iterate over MP_modglobal_keys Revision ChangesPath 1.12 +5 -4 modperl-2.0/src/modules/perl/modperl_perl_global.c Index: modperl_perl_global.c

cvs commit: modperl-2.0/src/modules/perl modperl_env.c

2001-10-13 Thread dougm
dougm 01/10/13 12:12:17 Modified:src/modules/perl modperl_env.c Log: s/modperl_env_const_vars/MP_env_const_vars/g Revision ChangesPath 1.14 +4 -4 modperl-2.0/src/modules/perl/modperl_env.c Index: modperl_env.c

cvs commit: modperl-2.0/src/modules/perl modperl_env.c

2001-10-13 Thread dougm
dougm 01/10/13 12:14:58 Modified:src/modules/perl modperl_env.c Log: use consistent style to iterate over MP_env_const_vars Revision ChangesPath 1.15 +3 -4 modperl-2.0/src/modules/perl/modperl_env.c Index: modperl_env.c

cvs commit: modperl-2.0/src/modules/perl modperl_mgv.c modperl_util.c modperl_util.h

2001-10-12 Thread dougm
dougm 01/10/12 20:22:15 Modified:src/modules/perl modperl_mgv.c modperl_util.c modperl_util.h Log: making modperl_perl_hv_fetch_he a public function Revision ChangesPath 1.15 +0 -33 modperl-2.0/src/modules/perl/modperl_mgv.c Index: modperl_mgv.c

cvs commit: modperl-2.0/src/modules/perl modperl_config.h

2001-10-11 Thread dougm
dougm 01/10/11 08:38:23 Modified:src/modules/perl modperl_config.h Log: add MP_dTHX macro Revision ChangesPath 1.28 +10 -0 modperl-2.0/src/modules/perl/modperl_config.h Index: modperl_config.h

cvs commit: modperl-2.0/src/modules/perl mod_perl.c modperl_perl.c modperl_perl.h

2001-10-10 Thread dougm
dougm 01/10/08 17:13:00 Modified:src/modules/perl mod_perl.c modperl_perl.c modperl_perl.h Log: *CORE::GLOBAL::exit = \ModPerl::Util::exit Revision ChangesPath 1.88 +2 -0 modperl-2.0/src/modules/perl/mod_perl.c Index: mod_perl.c

cvs commit: modperl-2.0/src/modules/perl modperl_util.c modperl_util.h

2001-10-08 Thread dougm
dougm 01/10/08 16:34:07 Modified:src/modules/perl modperl_util.c modperl_util.h Log: add modperl_perl_exit() function Revision ChangesPath 1.25 +8 -0 modperl-2.0/src/modules/perl/modperl_util.c Index: modperl_util.c

cvs commit: modperl-2.0/src/modules/perl modperl_util.c

2001-10-07 Thread dougm
dougm 01/10/07 13:20:53 Modified:src/modules/perl modperl_util.c Log: style nits Revision ChangesPath 1.22 +20 -17modperl-2.0/src/modules/perl/modperl_util.c Index: modperl_util.c

cvs commit: modperl-2.0/src/modules/perl modperl_util.c modperl_util.h

2001-10-07 Thread dougm
dougm 01/10/07 13:22:02 Modified:src/modules/perl modperl_util.c modperl_util.h Log: s/bool/int/ (i dont think bool is portable) Revision ChangesPath 1.23 +1 -1 modperl-2.0/src/modules/perl/modperl_util.c Index: modperl_util.c

cvs commit: modperl-2.0/src/modules/perl modperl_util.c modperl_util.h

2001-10-07 Thread dougm
dougm 01/10/07 13:24:22 Modified:src/modules/perl modperl_util.c modperl_util.h Log: add modperl_perl_call_list() function Revision ChangesPath 1.24 +23 -0 modperl-2.0/src/modules/perl/modperl_util.c Index: modperl_util.c

cvs commit: modperl-2.0/src/modules/perl modperl_perl_global.c modperl_perl_global.h

2001-10-07 Thread dougm
dougm 01/10/07 14:59:16 Modified:src/modules/perl modperl_perl_global.c modperl_perl_global.h Log: implement logic for saving Perl special subroutines (END,BEGIN,CHECK,INIT) into the per-interpreter PL_modglobal hash modperl_perl_global_avcv_call() function to call

cvs commit: modperl-2.0/src/modules/perl modperl_perl_global.c modperl_perl_global.h

2001-10-07 Thread dougm
dougm 01/10/07 15:04:07 Modified:src/modules/perl modperl_perl_global.c modperl_perl_global.h Log: add modperl_modglobal_lookup() function to lookup a modperl_modglobal_key_t based on string name Revision ChangesPath 1.7 +14 -0 modperl-2.0/src/modules/perl

cvs commit: modperl-2.0/src/modules/perl modperl_perl_global.c modperl_perl_global.h

2001-10-07 Thread dougm
dougm 01/10/07 15:07:15 Modified:src/modules/perl modperl_perl_global.c modperl_perl_global.h Log: wont be able to use a precomputed hash for modperl_modglobal_key_t's Revision ChangesPath 1.8 +1 -1 modperl-2.0/src/modules/perl/modperl_perl_global.c

cvs commit: modperl-2.0/src/modules/perl mod_perl.c modperl_perl_global.c modperl_perl_global.h

2001-10-07 Thread dougm
dougm 01/10/07 12:04:20 Modified:src/modules/perl mod_perl.c modperl_perl_global.c modperl_perl_global.h Log: add modperl_perl_global_request_{restore,save} functions for future use of request_rec to manage globals Revision ChangesPath 1.87

cvs commit: modperl-2.0/src/modules/perl mod_perl.c modperl_cmd.c modperl_cmd.h

2001-10-06 Thread dougm
dougm 01/10/06 12:43:40 Modified:src/modules/perl mod_perl.c modperl_cmd.c modperl_cmd.h Log: implement PerlInitHandler Revision ChangesPath 1.86 +1 -0 modperl-2.0/src/modules/perl/mod_perl.c Index: mod_perl.c

cvs commit: modperl-2.0/src/modules/perl modperl_util.c modperl_util.h

2001-10-06 Thread dougm
dougm 01/10/06 16:27:35 Modified:src/modules/perl modperl_util.c modperl_util.h Log: add modperl_perl_av_push_elts_ref() function Revision ChangesPath 1.21 +12 -0 modperl-2.0/src/modules/perl/modperl_util.c Index: modperl_util.c

testing modules under apache

2001-10-02 Thread clayton cottingham
hiya recently here at work ive been asked to start providing test scripts for my projects perl modules ive found that its kinda hard to figure out which way to testcertain paradigms i was wondering what sort of help/tips/tricks anyone out there in modperl land could help me with here

Re: testing modules under apache

2001-10-02 Thread Stas Bekman
clayton cottingham wrote: [the gist of the clayton's request: The code needs to be tested under live httpd with mod_perl. How? ] Apache-Test framework developed for mod_perl 2.0 is *exactly* what you want. See how httpd-2.0 uses it (http://httpd.apache.org/test/ look for 'Perl

cvs commit: modperl-2.0/src/modules/perl mod_perl.c

2001-09-28 Thread dougm
dougm 01/09/28 12:01:50 Modified:src/modules/perl mod_perl.c Log: PL_destruct_level should always be 2 Revision ChangesPath 1.83 +6 -6 modperl-2.0/src/modules/perl/mod_perl.c Index: mod_perl.c

cvs commit: modperl-2.0/src/modules/perl modperl_perl_global.c modperl_perl_global.h modperl_util.h

2001-09-28 Thread dougm
dougm 01/09/28 12:24:44 Modified:src/modules/perl modperl_perl_global.c modperl_perl_global.h modperl_util.h Log: add save/restore of %ENV to Perl global management Revision ChangesPath 1.2 +52 -0 modperl-2.0/src/modules/perl

cvs commit: modperl-2.0/src/modules/perl modperl_env.h

2001-09-28 Thread dougm
dougm 01/09/28 12:26:37 Modified:src/modules/perl modperl_env.h Log: use new MP_magical_ macros for modperl_env_{tie,untie} Revision ChangesPath 1.8 +2 -3 modperl-2.0/src/modules/perl/modperl_env.h Index: modperl_env.h

cvs commit: modperl-2.0/src/modules/perl mod_perl.c modperl_cmd.c modperl_cmd.h modperl_config.c modperl_types.h

2001-09-28 Thread stas
stas01/09/28 12:51:40 Modified:src/modules/perl mod_perl.c modperl_cmd.c modperl_cmd.h modperl_config.c modperl_types.h Log: - implementation of PerlSetVar and PerlAddVar Revision ChangesPath 1.85 +3 -1 modperl-2.0/src/modules/perl

cvs commit: modperl-2.0/src/modules/perl modperl_perl_global.c modperl_perl_global.h

2001-09-28 Thread dougm
dougm 01/09/28 12:53:22 Modified:src/modules/perl modperl_perl_global.c modperl_perl_global.h Log: use the address of sv for modperl_perl_global_svpv_t, since it might point to a different SV when restore happens Revision ChangesPath 1.3 +4 -4 modperl-2.0

cvs commit: modperl-2.0/src/modules/perl modperl_config.c

2001-09-28 Thread stas
stas01/09/28 13:08:34 Modified:src/modules/perl modperl_config.c Log: - the empty slot check should be done against the original table. If we test against the overlayed table, we will copy only the first value for a given key in case there are more than one value

cvs commit: modperl-2.0/src/modules/perl modperl_env.c modperl_env.h

2001-09-28 Thread dougm
dougm 01/09/28 09:39:15 Modified:src/modules/perl modperl_env.c modperl_env.h Log: cut down on some noise with new ENVHV macro Revision ChangesPath 1.9 +4 -4 modperl-2.0/src/modules/perl/modperl_env.c Index: modperl_env.c

Modules

2001-09-27 Thread Recendez, Ray
How do I check if StackedHandlers, MethodHandlers, Authen, and Authz are compiled in? Thanks, Ray

Re: Modules

2001-09-27 Thread darren chamberlain
Recendez, Ray [EMAIL PROTECTED] said something to this effect on 09/27/2001: How do I check if StackedHandlers, MethodHandlers, Authen, and Authz are compiled in? httpd -L | grep '^Perl' (darren) -- If NT is your answer, you don't understand the question.

cvs commit: modperl-2.0/src/modules/perl modperl_cmd.h

2001-09-27 Thread dougm
dougm 01/09/27 08:28:51 Modified:src/modules/perl modperl_cmd.h Log: add MP_CMD_{SRV,DIR}_FLAG macros Revision ChangesPath 1.7 +8 -0 modperl-2.0/src/modules/perl/modperl_cmd.h Index: modperl_cmd.h

cvs commit: modperl-2.0/src/modules/perl modperl_config.c modperl_env.c modperl_env.h modperl_options.c modperl_types.h

2001-09-27 Thread dougm
dougm 01/09/27 16:31:36 Modified:src/modules/perl modperl_config.c modperl_env.c modperl_env.h modperl_options.c modperl_types.h Log: whoops. only meant to commit mod_perl.c, backing out half-way finish changes that should not have been committed

cvs commit: modperl-2.0/src/modules/perl mod_perl.c modperl_cmd.c modperl_cmd.h

2001-09-27 Thread dougm
dougm 01/09/27 08:46:21 Modified:src/modules/perl mod_perl.c modperl_cmd.c modperl_cmd.h Log: add PerlTaintCheck directive for backwards compat Revision ChangesPath 1.73 +2 -0 modperl-2.0/src/modules/perl/mod_perl.c Index: mod_perl.c

cvs commit: modperl-2.0/src/modules/perl mod_perl.c mod_perl.h modperl_types.h

2001-09-27 Thread dougm
dougm 01/09/27 12:04:39 Modified:lib/ModPerl Code.pm src/modules/perl mod_perl.c mod_perl.h modperl_types.h Log: integrate modperl_perl_global module Revision ChangesPath 1.69 +1 -1 modperl-2.0/lib/ModPerl/Code.pm Index: Code.pm

cvs commit: modperl-2.0/src/modules/perl mod_perl.c modperl_cmd.c modperl_cmd.h

2001-09-27 Thread dougm
dougm 01/09/27 12:35:34 Modified:src/modules/perl mod_perl.c modperl_cmd.c modperl_cmd.h Log: add PerlSendHeader directive for backwards compat Revision ChangesPath 1.76 +2 -0 modperl-2.0/src/modules/perl/mod_perl.c Index: mod_perl.c

cvs commit: modperl-2.0/src/modules/perl modperl_perl_includes.h

2001-09-25 Thread dougm
dougm 01/09/25 10:30:32 Modified:lib/Apache ParseSource.pm src/modules/perl modperl_perl_includes.h Log: C::Scan does not properly remove __attribute__ within function prototypes; so we just rip them all out via cpp Revision ChangesPath 1.28 +1

cvs commit: modperl-2.0/src/modules/perl modperl_bucket.c

2001-09-23 Thread dougm
dougm 01/09/23 20:32:55 Modified:src/modules/perl modperl_bucket.c Log: adjust to bucket api changes (no more sms) Submitted by: Ryan Bloom [EMAIL PROTECTED] Reviewed by: dougm Revision ChangesPath 1.7 +5 -15 modperl-2.0/src/modules/perl

cvs commit: modperl-2.0/src/modules/perl mod_perl.c modperl_callback.c modperl_config.c

2001-09-17 Thread dougm
dougm 01/09/17 16:36:36 Modified:lib/ModPerl Code.pm src/modules/perl mod_perl.c modperl_callback.c modperl_config.c Log: s/Enabled/Enable/g for the PerlOption Revision ChangesPath 1.67 +2 -2 modperl-2.0/lib/ModPerl

cvs commit: modperl-2.0/src/modules/perl modperl_interp.h modperl_perl.c modperl_perl.h

2001-09-16 Thread dougm
dougm 01/09/16 10:28:43 Modified:src/modules/perl modperl_interp.h modperl_perl.c modperl_perl.h Log: fixes to compile with non-ithreads perl Revision ChangesPath 1.13 +6 -4 modperl-2.0/src/modules/perl/modperl_interp.h Index

cvs commit: modperl-2.0/src/modules/perl modperl_config.c

2001-09-15 Thread dougm
dougm 01/09/15 13:17:35 Modified:src/modules/perl modperl_config.c Log: only inherit base PerlSwitches if explicitly told to with PerlSwitches +inherit Revision ChangesPath 1.36 +9 -2 modperl-2.0/src/modules/perl/modperl_config.c Index: modperl_config.c

cvs commit: modperl-2.0/src/modules/perl modperl_perl.c modperl_perl.h

2001-09-15 Thread dougm
dougm 01/09/15 15:25:29 Added: src/modules/perl modperl_perl.c modperl_perl.h Log: new module for small tweaks to the Perl runtime Revision ChangesPath 1.1 modperl-2.0/src/modules/perl/modperl_perl.c Index: modperl_perl.c

cvs commit: modperl-2.0/src/modules/perl mod_perl.c mod_perl.h

2001-09-15 Thread dougm
dougm 01/09/15 15:26:57 Modified:src/modules/perl mod_perl.c mod_perl.h Log: add modperl_hook_child_init call modperl_perl_init_ids from modperl_hook_child_init Revision ChangesPath 1.68 +12 -0 modperl-2.0/src/modules/perl/mod_perl.c Index: mod_perl.c

cvs commit: modperl-2.0/src/modules/perl mod_perl.c modperl_perl.c modperl_perl.h

2001-09-15 Thread dougm
dougm 01/09/15 17:56:15 Modified:src/modules/perl mod_perl.c modperl_perl.c modperl_perl.h Log: init ids for ithread Perls Revision ChangesPath 1.69 +6 -2 modperl-2.0/src/modules/perl/mod_perl.c Index: mod_perl.c

cvs commit: modperl-2.0/src/modules/perl mod_perl.c modperl_perl.c modperl_perl.h

2001-09-15 Thread dougm
dougm 01/09/15 18:05:44 Modified:src/modules/perl mod_perl.c modperl_perl.c modperl_perl.h Log: move code out of modperl_hook_child_init into modperl_perl_init_ids_server Revision ChangesPath 1.70 +1 -9 modperl-2.0/src/modules/perl/mod_perl.c Index

cvs commit: modperl-2.0/src/modules/perl modperl_io.c

2001-09-12 Thread dougm
dougm 01/09/12 21:10:55 Modified:src/modules/perl modperl_io.c Removed: lib/ModPerl XSLoader.pm Log: fix tied filehandle breakage caused by bleedperl change #11639 Revision ChangesPath 1.4 +9 -1 modperl-2.0/src/modules/perl/modperl_io.c Index

cvs commit: modperl-2.0/src/modules/perl mod_perl.c

2001-09-12 Thread dougm
dougm 01/09/12 19:10:35 Modified:src/modules/perl mod_perl.c Log: add a bootstrap note for APR Revision ChangesPath 1.65 +13 -5 modperl-2.0/src/modules/perl/mod_perl.c Index: mod_perl.c

cvs commit: modperl-2.0/src/modules/perl mod_perl.c

2001-09-09 Thread dougm
dougm 01/09/09 21:43:03 Modified:lib/ModPerl WrapXS.pm src/modules/perl mod_perl.c Added: lib/ModPerl XSLoader.pm Log: do not bootstrap xs libs outside of httpd Revision ChangesPath 1.20 +2 -2 modperl-2.0/lib/ModPerl/WrapXS.pm

cvs commit: modperl-2.0/src/modules/perl modperl_cmd.h

2001-09-05 Thread stas
stas01/09/05 23:00:08 Modified:src/modules/perl modperl_cmd.h Log: new TAKE wrappers for the Perl{Set|Pass}Env and a new DECLARE wrapper for 'directive key val' Revision ChangesPath 1.6 +11 -0 modperl-2.0/src/modules/perl/modperl_cmd.h Index

cvs commit: modperl-2.0/src/modules/perl mod_perl.c modperl_filter.c modperl_types.h

2001-08-29 Thread dougm
dougm 01/08/29 22:15:51 Modified:src/modules/perl mod_perl.c modperl_filter.c modperl_types.h Log: change wbucket buffer api to use the address of r-output_filters so when a filter is removed from the chain, its is also remove from ours Revision ChangesPath 1.63

cvs commit: modperl-2.0/src/modules/perl modperl_bucket.c

2001-08-27 Thread dougm
dougm 01/08/27 10:14:48 Modified:src/modules/perl modperl_bucket.c Log: adjust to bucket/sms changes Revision ChangesPath 1.6 +18 -11modperl-2.0/src/modules/perl/modperl_bucket.c Index: modperl_bucket.c

Re: Embperl, modules, cleanup and the stop button

2001-08-22 Thread Gerald Richter
My feeling that this cleanup is infact unnecessary (all though worth having regardless), as the pipeline nature of the request (call database for *all* data required, *then* output), any database calls (and corresponding locks) will have completed before the abort (SIGPIPE) is recognised.

Re: [OT] compilers for c Appache modules

2001-08-21 Thread Randy Kobes
the Eagle book, can't find it there). thanks. Rod You should use the same compiler for compiling modules that your Apache was compiled with, for binary compatibility. Was your Apache compiled with Borland's C++? If so, follow the relevant make file of the Apache sources that was used to compile

Embperl, modules, cleanup and the stop button

2001-08-20 Thread Steve Smith
Hi, I realise this is covered in part in the modperl guide, but I'd to ask for a bit of clarification/confirmation ... I have pages generated with embperl, with each page having it's own module to pull data from the database and pass it back to page in a hash, the first line of the embperl page

[OT] compilers for c Appache modules

2001-08-19 Thread Rod Butcher
I know it's offtopic, please direct me to correct data source, can't find it... For the first time I need to compile a module (mod_throttle_access) for Apache on Win32. I have the free Borland 5.5 C++ command line compiler. What settings etc ? (Have the Eagle book, can't find it there). thanks.

Re: [OT] compilers for c Appache modules

2001-08-19 Thread Gunther Birznieks
I've never done it, but you may want to look for instructions on compiling mod_perl in general on win32. Likely however your mod_perl was compiled is a reasonable way to compile another C module on Apache for Win32. At 10:49 PM 8/19/2001 +1000, Rod Butcher wrote: I know it's offtopic, please

cvs commit: modperl-2.0/src/modules/perl modperl_bucket.c mod_perl.h

2001-08-19 Thread dougm
dougm 01/08/19 10:22:55 Modified:src/modules/perl modperl_bucket.c mod_perl.h Log: modperl_bucket.h needs to be in mod_perl.h for source_scan.pl Revision ChangesPath 1.4 +0 -1 modperl-2.0/src/modules/perl/modperl_bucket.c Index: modperl_bucket.c

Dynamically linking modules w/eternal libraries

2001-08-17 Thread Eric Boyd
.) Running: apache_1.3.20 Linux 2.4.2.2 This module builds on two libraries, libfoo.a (authored by me) and libpcap.a. (libfoo.a contains calls to libpcap.a). I've been reading O'Reilly's Writing Apache Modules with Perl and C and getting advice from someone more knowledgeable than I about writing

Reloading handler modules

2001-08-09 Thread willems Luc
hello , I'm converting some scripts into Apache handler scripts in my configuration i have something like Location /cpbin/xml Sethandler perl-script PerlHandler Apache::cp /Location Every time i change something in the Apache::cp module , i have to restart the server to enable the

RE: Reloading handler modules

2001-08-09 Thread Geoffrey Young
-Original Message- From: willems Luc [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 09, 2001 8:57 AM To: [EMAIL PROTECTED] Subject: Reloading handler modules hello , I'm converting some scripts into Apache handler scripts in my configuration i have something

Modules `use`d by PerlModule vanishing after startup?

2001-08-09 Thread Stephen Clouse
, it shows the IQGroup::Core::ApacheRequest namespace, but with no symbols in it! Even more odd, the modules that it in turn uses DO show up, all symbols intact. Now, if I load the handler in the startup file: use IQGroup::IQCoordinator; then everything loads properly, although I get a slew

cvs commit: modperl-2.0/src/modules/perl modperl_bucket.c

2001-08-04 Thread dougm
dougm 01/08/04 11:49:25 Modified:src/modules/perl modperl_bucket.c Log: adjust to apr_bucket_type_t change Revision ChangesPath 1.2 +5 -0 modperl-2.0/src/modules/perl/modperl_bucket.c Index: modperl_bucket.c

modules/status make test fail

2001-08-03 Thread Bill Moseley
I can come back with more, if needed, but just in case someone else has seen this: Fresh 1.26 and 1.3.20 Sun Solaris 2.6 Perl 5.005_03 I just did this on Linux and it worked just fine :( This doesn't bother me, too much modules/request.Use of uninitialized value at modules/request.t line

cvs commit: modperl-2.0/src/modules/perl modperl_io.c

2001-08-01 Thread dougm
dougm 01/08/01 09:52:41 Modified:src/modules/perl modperl_io.c Log: better tracing of tie/untie STDIN/STDOUT Revision ChangesPath 1.3 +13 -7 modperl-2.0/src/modules/perl/modperl_io.c Index: modperl_io.c

Perl Modules

2001-07-19 Thread Kinshuk Vyas
Hi, I'm trying to get a bird view of stable available modules with perl, and dwell further on liking, to explore.Could somebody suggest me a descriptive reference bank where I could lay hand on such kind of a material. Regards Kinshuk

Re: Perl Modules

2001-07-19 Thread Stas Bekman
I'm trying to get a bird view of stable available modules with perl, and dwell further on liking, to explore.Could somebody suggest me a descriptive reference bank where I could lay hand on such kind of a material. http://perl.apache.org/src/apache-modlist.html This is how to interpet

cvs commit: modperl-2.0/src/modules/perl modperl_filter.c

2001-07-15 Thread dougm
dougm 01/07/15 16:42:06 Modified:src/modules/perl modperl_filter.c Log: fix cut-n-pasto spotted by barries Revision ChangesPath 1.22 +2 -2 modperl-2.0/src/modules/perl/modperl_filter.c Index: modperl_filter.c

cvs commit: modperl-2.0/src/modules/perl mod_perl.c

2001-07-13 Thread dougm
dougm 01/07/13 09:49:54 Modified:src/modules/perl mod_perl.c Log: outline for future calls to PERL_SYS_{INIT,TERM} and PTHREAD_ATFORK Revision ChangesPath 1.59 +28 -0 modperl-2.0/src/modules/perl/mod_perl.c Index: mod_perl.c

Re: RFC: Logging used Perl Modules (was Re: API Design Question)

2001-07-10 Thread James G Smith
Doug MacEachern [EMAIL PROTECTED] wrote: On Tue, 3 Jul 2001, James G Smith wrote: The current code I have uses %INC, but I wanted to write something like the following: sub use : immediate { # do stuff here if logging return CORE::use(@_); } you could just override

cvs commit: modperl/t/modules src.t

2001-07-10 Thread dougm
dougm 01/07/10 08:45:35 Modified:.Makefile.PL t/modules src.t Log: more for the latest win32 patch from randy Revision ChangesPath 1.192 +3 -2 modperl/Makefile.PL Index: Makefile.PL

<    1   2   3   4   5   6   7   8   >