Permalink
Browse files

add dzil support files, remove old cruft

  • Loading branch information...
jonswar committed Jul 11, 2012
1 parent d7fb8e9 commit 47eece76d93ab3c8d543702b7bac97311d5e14f1
Showing with 9,248 additions and 10,526 deletions.
  1. +0 −66 Build.PL
  2. +0 −383 LICENSE
  3. +0 −175 README
  4. +95 −73 bin/convert0.6.pl
  5. +119 −111 bin/convert0.8.pl
  6. +40 −35 bin/mason.pl
  7. +0 −6 htdocs/.cvsignore
  8. +0 −171 htdocs/index.html
  9. +0 −1,507 inc/Mason/Build.pm
  10. +0 −167 inc/params.mtxt
  11. +0 −15 lib/Apache/Mason.pm
  12. +0 −41 lib/Bundle/HTML/Mason.pm
  13. +18 −37 lib/HTML/Mason.pm
  14. +2 −6 lib/HTML/Mason/Apache/Request.pm
  15. +403 −370 lib/HTML/Mason/ApacheHandler.pm
  16. +83 −67 lib/HTML/Mason/CGIHandler.pm
  17. +28 −29 lib/HTML/Mason/Cache/BaseCache.pm
  18. +315 −296 lib/HTML/Mason/Compiler.pm
  19. +44 −79 lib/HTML/Mason/Compiler/Events.pm
  20. +88 −94 lib/HTML/Mason/Compiler/ToClass.pm
  21. +300 −289 lib/HTML/Mason/Compiler/ToObject.pm
  22. +141 −108 lib/HTML/Mason/Component.pm
  23. +15 −8 lib/HTML/Mason/Component/FileBased.pm
  24. +16 −14 lib/HTML/Mason/Component/Subcomponent.pm
  25. +27 −26 lib/HTML/Mason/ComponentSource.pm
  26. +5 −9 lib/HTML/Mason/Escapes.pm
  27. +181 −162 lib/HTML/Mason/Exceptions.pm
  28. +112 −95 lib/HTML/Mason/FakeApache.pm
  29. +9 −12 lib/HTML/Mason/Handler.pm
  30. +467 −368 lib/HTML/Mason/Interp.pm
  31. +174 −184 lib/HTML/Mason/Lexer.pm
  32. +49 −62 lib/HTML/Mason/MethodMaker.pm
  33. +3 −3 lib/HTML/Mason/Parser.pm
  34. +5 −1 lib/HTML/Mason/Plugin.pm
  35. +15 −11 lib/HTML/Mason/Plugin/Context.pm
  36. +751 −558 lib/HTML/Mason/Request.pm
  37. +7 −6 lib/HTML/Mason/Resolver.pm
  38. +23 −24 lib/HTML/Mason/Resolver/File.pm
  39. +241 −233 lib/HTML/Mason/Tests.pm
  40. +60 −69 lib/HTML/Mason/Tools.pm
  41. +6 −9 lib/HTML/Mason/Utils.pm
  42. 0 t/{.cvsignore → .gitignore}
  43. +126 −106 t/01-syntax.t
  44. +144 −110 t/01a-comp-calls.t
  45. +127 −111 t/02-sections.t
  46. +143 −126 t/02a-filter.t
  47. +155 −141 t/04-misc.t
  48. +352 −303 t/05-request.t
  49. +19 −17 t/05a-stack-corruption.t
  50. +555 −461 t/06-compiler.t
  51. +5 −3 t/06a-compiler_obj.t
  52. +41 −36 t/06b-compiler-named-subs.t
  53. +417 −370 t/07-interp.t
  54. +130 −82 t/07a-interp-mcr.t
  55. +79 −61 t/07b-interp-static-source.t
  56. +117 −101 t/09-component.t
  57. +213 −182 t/09a-comp_content.t
  58. +224 −186 t/10-cache.t
  59. +71 −66 t/10a-cache-1.0x.t
  60. +252 −211 t/10b-cache-chi.t
  61. +170 −150 t/11-inherit.t
  62. +60 −52 t/12-taint.t
  63. +294 −232 t/13-errors.t
  64. +77 −66 t/14-cgi.t
  65. +97 −72 t/14a-fake_apache.t
  66. +80 −61 t/15-subclass.t
  67. +11 −9 t/17-print.t
  68. +101 −82 t/18-leak.t
  69. +187 −162 t/19-subrequest.t
  70. +286 −255 t/20-plugins.t
  71. +9 −8 t/21-escapes.t
  72. +5 −7 t/22-path-security.t
  73. +35 −26 t/23-leak2.t
  74. +0 −1 t/24-tools.t
  75. +1 −1 t/25-flush-in-content.t
  76. +201 −158 t/lib/Apache/test.pm
  77. +1 −2 t/lib/LoadTest.pm
  78. +534 −446 t/lib/Mason/ApacheTest.pm
  79. +6 −7 t/live/CGIHandler.t
  80. +6 −7 t/live/apache-filter.t
  81. +6 −7 t/live/cgi-no-handler.t
  82. +6 −7 t/live/cgi-with-handler.t
  83. +6 −7 t/live/libapreq-no-handler.t
  84. +6 −7 t/live/libapreq-with-handler.t
  85. +6 −7 t/live/multi-conf.t
  86. +6 −7 t/live/no-config.t
  87. +6 −7 t/live/set-content-type.t
  88. +6 −7 t/live/single-level-server-root.t
  89. +6 −7 t/live/taint.t
  90. +8 −7 t/single_test.pl
  91. +4 −0 tidyall.ini
  92. +9 −0 weaver.ini
View
@@ -1,66 +0,0 @@
-use strict;
-
-use 5.006;
-
-use lib 'inc';
-
-use Mason::Build;
-
-use File::Spec;
-
-my %prereq = ( 'Cache::Cache' => 1.00,
- 'Class::Container' => 0.07,
- 'CGI' => 2.46,
- 'Exception::Class' => 1.15,
- 'File::Spec' => 0.8,
- 'HTML::Entities' => 0,
- 'Log::Any' => 0.08,
- 'Params::Validate' => 0.70,
- 'Scalar::Util' => 1.01,
- 'Test::Deep' => 0,
- );
-
-my $is_dist = grep { /dist=1/ } @ARGV;
-
-unless ($is_dist)
-{
- my $has_mod_perl_1 = eval { require mod_perl } || 0;
- if ($has_mod_perl_1)
- {
- $prereq{mod_perl} = 1.24;
- }
-
- my $has_mod_perl_2 = eval { require mod_perl2 } || 0;
- my $has_only_mp2 = ! $has_mod_perl_1 && $has_mod_perl_2;
-
- # XXX - this really isn't right since we really want to know which
- # version of mod_perl they _intend_ to use with Mason, rather than
- # just blindly adding all these prereqs.
- if ($has_mod_perl_1)
- {
- $prereq{'Apache::Request'} = 1.05; # minimum for OSX
- }
-
- if ($has_only_mp2)
- {
- $prereq{CGI} = 3.08;
- $prereq{mod_perl2} = 1.999022;
- }
-}
-
-my $build = Mason::Build->new
- ( module_name => 'HTML::Mason',
- requires => \%prereq,
- configure_requires => { 'Module::Build' => 0.26 },
- build_requires => { 'Module::Build' => 0.26,
- 'Test' => 0,
- 'Test::Builder' => 0,
- },
- license => 'perl',
- create_makefile_pl => 'small',
- is_dist => $is_dist,
- recursive_test_files => 1,
- dynamic_config => 1,
- );
-
-$build->create_build_script;
View
383 LICENSE

Large diffs are not rendered by default.

Oops, something went wrong.
View
175 README
@@ -1,175 +0,0 @@
-Copyright (c) 1998-2012 by Jonathan Swartz. All rights reserved.
-This program is free software; you can redistribute it and/or modify it
-under the same terms as Perl itself.
-
-Welcome to Mason, a Perl-based web site development and delivery
-system. Mason allows web pages and sites to be constructed from
-shared, reusable building blocks called components. Components contain
-a mix of Perl and HTML, and can call each other and pass values back
-and forth like subroutines. Components increase modularity and
-eliminate repetitive work: common design elements (headers, footers,
-menus, logos) can be extracted into their own components where they
-need be changed only once to affect the whole site.
-
-Other Mason features include powerful filtering and templating
-facilities, and a HTML/data caching model. See
-http://www.masonhq.com/ for more information.
-
-MASON 1 VERSUS MASON 2
-
-Version 1 of Mason -- this distribution -- has been around since 1998, is in wide use, and is
-very stable. However it has not changed much in years and is no longer actively developed.
-
-Version 2 of Mason was released in February of 2011. It is being very actively developed
-and has a much more modern architecture. If you are just starting out, we recommend you
-give Mason 2 a try. It is available at
-
- https://metacpan.org/release/Mason
-
-For a summary of differences between Mason 1 and 2 see
-
- http://www.openswartz.com/2011/02/21/announcing-mason-2/
-
-PREREQUISITES
-
-Mason requires Perl 5.6.0 or greater, and the following CPAN modules:
-
-* Params::Validate
-
-* Exception::Class
-
-* Class::Container
-
-* File::Spec
-
-* Scalar::Util
-
-The following CPAN modules are optional for certain features, but not required:
-
-* Apache::Request
-
-* Cache::Cache
-
-* CGI.pm
-
-INSTALLATION
-
-To install Mason, run the standard sequence:
-
- perl Build.PL
- ./Build
- ./Build install
-
-By default, Mason will prompt you for information about where Apache
-is installed so that it can help you configure Mason to run under
-mod_perl. If you would like to skip this, invoke the Makefile.PL like
-this:
-
- perl Build.PL --noprompts
-
-After Mason is installed, you will need to activate it by adding some
-directives to your Apache configuration files.
-
-The included pod docs have been pre-converted to HTML for you and
-placed in the htdocs/ directory. The Mason overview (a good place to
-start) is in Mason.html.
-
-WARNINGS!
-
-* Don't use Mason with an older mod_perl DSO (dynamic shared object).
-
-Using Mason with a mod_perl DSO may cause your Apache server to crash
-silently at startup, or fail intermittently. The fix for this problem
-is to install Apache/mod_perl with mod_perl compiled statically into
-the Apache binary. Packages of Apache with a static mod_perl are
-available around the net.
-
-Testing with recent mod_perls showed improvements, but because this
-bug can be so intermittent and difficult to spot, mod_perl DSO with
-Mason is still strictly unsupported.
-
-This should not be a problem with Apache2.
-
-* Don't use Mason with PerlFreshRestart.
-
-The mod_perl PerlFreshRestart directive attempts to reload modules on
-restart in a very simplistic way. Mason cannot be reloaded this way.
-The Apache::Reload module from CPAN does a much better job, and
-appears to work with Mason. However, the safest thing to do is to
-actually stop and start the server.
-
-GETTING HELP
-
-The official Mason web site is at http://www.masonhq.com/. It's a
-wiki, so most pages can be edited by any registered user.
-
-The official documentation is at http://www.masonhq.com/docs/manual/.
-
-The FAQ is at http://www.masonhq.com/?FAQ.
-
-Several mailing lists exist for Mason users and developers. Full
-information can be found at
-http://www.masonhq.com/?MailingLists.
-
-There is a book about Mason, _Embedding Perl in HTML with Mason_, by
-Dave Rolsky and Ken Williams. This book is published by O'Reilly and
-Associates. The book's home page is http://www.masonbook.com/.
-
-CODE EXAMPLES
-
-The samples/ directory contains a few basic components.
-
-The Mason site contains a variety of user-contributed code and
-how-tos; see http://www.masonhq.com/?ContributedCode, for example.
-
-Links to various articles containing code examples are listed at
-http://www.masonhq.com/?Articles.
-
-REPORTING BUGS
-
-Send bug reports to the user's mailing list for quickest response. But
-first check the mailing list archives and the official bugs list on
-the Mason site to see if the problem has already been reported.
-
-For all bug reports indicate your architecture, Apache/Perl/module
-versions, etc. For installation problems send your handler.pl and
-httpd.conf. For component problems try to isolate the bug in a single
-small component or set of components, and send those.
-
-If you are experiencing test failures, please run the tests like this:
-
- ./Build test verbose=1
-
-and send the output along with the bug report. Otherwise we'll just
-ask you to do this before we can do anything.
-
-LICENSE
-
-Mason was originally developed for the Internet technology group at
-CMP Media, a publisher of technology magazines. CMP
-graciously supported our efforts to release Mason as open source
-software to the Perl community. However, CMP has NO direct
-involvement with the open source release and bears NO responsibility
-for its support or maintenance.
-
-Mason is provided "as is" and without any express or implied
-warranties, including, without limitation, the implied warranties of
-merchantibility and fitness for a particular purpose.
-
-Mason is released under the same terms as Perl itself. For more
-information see the "README" or "Artistic" files provided with the
-Perl distribution.
-
-AUTHORS
-
-Jonathan Swartz
-swartz <AT> pobox.com
-
-Dave Rolsky
-autarch <AT> urth.org
-
-Ken Williams
-ken <AT> mathforum.org
-
-John Williams
-williams <AT> tni.com
Oops, something went wrong.

0 comments on commit 47eece7

Please sign in to comment.