cvs commit: modperl-2.0/xs/maps apache_functions.map
stas2003/02/17 01:49:05 Modified:xs/maps apache_functions.map Log: by removing previous section (with functions that have moved elsewhere), the 'guess' functionality went broken. Correct by adding an explicit MODULE declaration. Revision ChangesPath 1.62 +1 -1 modperl-2.0/xs/maps/apache_functions.map Index: apache_functions.map === RCS file: /home/cvs/modperl-2.0/xs/maps/apache_functions.map,v retrieving revision 1.61 retrieving revision 1.62 diff -u -r1.61 -r1.62 --- apache_functions.map 24 Jan 2003 07:39:29 - 1.61 +++ apache_functions.map 17 Feb 2003 09:49:05 - 1.62 @@ -211,7 +211,7 @@ ap_walk_config ap_process_config_tree -PACKAGE=guess +MODULE=Apache::Filter PACKAGE=guess ~ap_add_output_filter ~ap_add_input_filter -ap_add_input_filter_handle
cvs commit: modperl-2.0/xs/maps apache_functions.map
dougm 02/05/24 09:58:10 Modified:xs/maps apache_functions.map Log: rename Apache::Util::os_escape_path to Apache::Util::escape_path and reorder args path, p, partial, defaulting partial=TRUE Revision ChangesPath 1.53 +1 -1 modperl-2.0/xs/maps/apache_functions.map Index: apache_functions.map === RCS file: /home/cvs/modperl-2.0/xs/maps/apache_functions.map,v retrieving revision 1.52 retrieving revision 1.53 diff -u -r1.52 -r1.53 --- apache_functions.map 19 May 2002 23:59:52 - 1.52 +++ apache_functions.map 24 May 2002 16:58:10 - 1.53 -280,7 +280,7 !ap_rfc1413 ap_escape_html #escape_uri - ap_os_escape_path + ap_os_escape_path | | path, p, partial=TRUE | escape_path !ap_explode_recent_gmt !ap_explode_recent_localtime !ap_recent_ctime
cvs commit: modperl-2.0/xs/maps apache_functions.map
dougm 02/05/24 10:37:08 Modified:lib/Apache compat.pm t/response/TestApache compat2.pm xs/maps apache_functions.map Log: rename ht_time to format_time for the moment to provide 1.x ht_time compat since we now require a pool Revision ChangesPath 1.52 +12 -0 modperl-2.0/lib/Apache/compat.pm Index: compat.pm === RCS file: /home/cvs/modperl-2.0/lib/Apache/compat.pm,v retrieving revision 1.51 retrieving revision 1.52 diff -u -r1.51 -r1.52 --- compat.pm 24 May 2002 17:19:09 - 1.51 +++ compat.pm 24 May 2002 17:37:08 - 1.52 -440,6 +440,18 $html; } +sub ht_time { +my($t, $fmt, $gmt) = _; + +$t ||= time; +$fmt ||= '%a, %d %b %Y %H:%M:%S %Z'; +$gmt = 1 unless _ == 3; + +my $r = Apache::compat::request('Apache::Util::ht_time'); + +return Apache::Util::format_time($t, $fmt, $gmt, $r-pool); +} + sub Apache::URI::parse { my($class, $r, $uri) = _; 1.10 +6 -1 modperl-2.0/t/response/TestApache/compat2.pm Index: compat2.pm === RCS file: /home/cvs/modperl-2.0/t/response/TestApache/compat2.pm,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- compat2.pm24 May 2002 17:19:09 - 1.9 +++ compat2.pm24 May 2002 17:37:08 - 1.10 -24,7 +24,7 sub handler { my $r = shift; -plan $r, tests = 42; +plan $r, tests = 43; $r-send_http_header('text/plain'); -215,6 +215,11 ok t_cmp($esc_html, Apache::Util::escape_html($html), Apache::Util::escape_html); + + +my $fmtdate = Apache::Util::ht_time(); + +ok t_cmp($fmtdate, $fmtdate, Apache::Util::ht_time); OK; } 1.55 +1 -1 modperl-2.0/xs/maps/apache_functions.map Index: apache_functions.map === RCS file: /home/cvs/modperl-2.0/xs/maps/apache_functions.map,v retrieving revision 1.54 retrieving revision 1.55 diff -u -r1.54 -r1.55 --- apache_functions.map 24 May 2002 17:19:09 - 1.54 +++ apache_functions.map 24 May 2002 17:37:08 - 1.55 -276,7 +276,7 -ap_set_deprecated MODULE=Apache::Util - ap_ht_time + ap_ht_time | | t, fmt, gmt, p | format_time !ap_rfc1413 !ap_escape_html | | s, p #escape_uri
cvs commit: modperl-2.0/xs/maps apache_functions.map apr_functions.map
dougm 02/05/19 16:59:52 Modified:xs/maps apache_functions.map apr_functions.map Log: misc api mapping changes: - swap internal_fast_redirect, ap_die args - alias sub_req_lookup_dirent to lookup_dirent, reorder/default args - disable ap_run_child_init, apr_gethostname, apr_base64_decode_len Revision ChangesPath 1.52 +4 -4 modperl-2.0/xs/maps/apache_functions.map Index: apache_functions.map === RCS file: /home/cvs/modperl-2.0/xs/maps/apache_functions.map,v retrieving revision 1.51 retrieving revision 1.52 diff -u -r1.51 -r1.52 --- apache_functions.map 19 May 2002 20:11:55 - 1.51 +++ apache_functions.map 19 May 2002 23:59:52 - 1.52 -81,8 +81,8 -ap_finalize_sub_req_protocol ap_internal_redirect | | r, new_uri ap_internal_redirect_handler | | r, new_uri - ap_internal_fast_redirect - ap_sub_req_lookup_dirent + ap_internal_fast_redirect| | r, sub_req + ap_sub_req_lookup_dirent | | r, finfo, subtype=AP_SUBREQ_NO_ARGS, next_filter=NULL | lookup_dirent subrequest_rec *:ap_sub_req_lookup_file | | \ r, new_file, next_filter=r-output_filters-next | lookup_file -436,7 +436,7 ap_run_open_logs ap_run_post_config ap_run_insert_filter - ap_run_child_init +ap_run_child_init ?ap_run_default_port ?ap_run_http_method ap_run_create_connection -460,7 +460,7 ap_run_pre_mpm !ap_run_quick_handler ap_invoke_handler - ap_die + ap_die | | r, type !MODULE=Apache::MD5 ap_md5 1.40 +2 -2 modperl-2.0/xs/maps/apr_functions.map Index: apr_functions.map === RCS file: /home/cvs/modperl-2.0/xs/maps/apr_functions.map,v retrieving revision 1.39 retrieving revision 1.40 diff -u -r1.39 -r1.40 --- apr_functions.map 19 May 2002 01:05:30 - 1.39 +++ apr_functions.map 19 May 2002 23:59:52 - 1.40 -489,7 +489,7 apr_current_userid MODULE=APR::NetLib - apr_gethostname +-apr_gethostname apr_getnameinfo -apr_getservbyname apr_parse_addr_port -551,7 +551,7 apr_base64_decode | MPXS_ | coded_src apr_base64_encode | MPXS_ | plain_src apr_base64_encode_len - apr_base64_decode_len +-apr_base64_decode_len -apr_base64_encode_binary -apr_base64_decode_binary
cvs commit: modperl-2.0/xs/maps apache_functions.map
dougm 02/03/28 16:52:44 Modified:xs/maps apache_functions.map Log: fix to build against current httpd-2.0 Revision ChangesPath 1.46 +2 -2 modperl-2.0/xs/maps/apache_functions.map Index: apache_functions.map === RCS file: /home/cvs/modperl-2.0/xs/maps/apache_functions.map,v retrieving revision 1.45 retrieving revision 1.46 diff -u -r1.45 -r1.46 --- apache_functions.map 10 Mar 2002 00:14:23 - 1.45 +++ apache_functions.map 29 Mar 2002 00:52:44 - 1.46 -359,7 +359,7 ap_hook_process_connection ap_hook_translate_name ap_hook_type_checker - ap_hook_quick_handler +!ap_hook_quick_handler ap_hook_map_to_storage ap_hook_create_request ap_hook_error_log -422,7 +422,7 ap_run_get_mgmt_items ap_run_map_to_storage ap_run_pre_mpm - ap_run_quick_handler +!ap_run_quick_handler ap_invoke_handler ap_die