You are viewing a plain text version of this content. The canonical link for it is here.
Posted to embperl-cvs@perl.apache.org by ri...@apache.org on 2001/03/28 12:07:34 UTC
cvs commit: embperl/test/cmp2 epobless2.htm epoincdiv.htm
richter 01/03/28 02:07:34
Modified: . Tag: Embperl2c Cmd.xs DOM.xs Embperl.xs README
README.v2 ep.h ep2.h epchar.c.iso-latin-2
epchar.c.min epcmd2.c epcomp.c epdat.h epdom.c
epdom.h epmacro.h epparse.c eputil.c test.pl
Embperl Tag: Embperl2c Mail.pm
test/cmp2 Tag: Embperl2c epobless2.htm epoincdiv.htm
Log:
Embperl 2 - docs
Revision Changes Path
No revision
No revision
1.1.2.5 +3 -1 embperl/Cmd.xs
Index: Cmd.xs
===================================================================
RCS file: /home/cvs/embperl/Cmd.xs,v
retrieving revision 1.1.2.4
retrieving revision 1.1.2.5
diff -u -r1.1.2.4 -r1.1.2.5
--- Cmd.xs 2000/11/02 08:45:20 1.1.2.4
+++ Cmd.xs 2001/03/28 10:07:30 1.1.2.5
@@ -1,6 +1,6 @@
###################################################################################
#
-# Embperl - Copyright (c) 1997-2000 Gerald Richter / ECOS
+# Embperl - Copyright (c) 1997-2001 Gerald Richter / ECOS
#
# You may distribute under the terms of either the GNU General Public
# License or the Artistic License, as specified in the Perl README file.
@@ -9,6 +9,8 @@
# THIS PACKAGE 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.
+#
+# $Id: Cmd.xs,v 1.1.2.5 2001/03/28 10:07:30 richter Exp $
#
###################################################################################
1.1.2.8 +3 -1 embperl/DOM.xs
Index: DOM.xs
===================================================================
RCS file: /home/cvs/embperl/DOM.xs,v
retrieving revision 1.1.2.7
retrieving revision 1.1.2.8
diff -u -r1.1.2.7 -r1.1.2.8
--- DOM.xs 2000/12/21 07:41:15 1.1.2.7
+++ DOM.xs 2001/03/28 10:07:30 1.1.2.8
@@ -1,6 +1,6 @@
###################################################################################
#
-# Embperl - Copyright (c) 1997-2000 Gerald Richter / ECOS
+# Embperl - Copyright (c) 1997-2001 Gerald Richter / ECOS
#
# You may distribute under the terms of either the GNU General Public
# License or the Artistic License, as specified in the Perl README file.
@@ -9,6 +9,8 @@
# THIS PACKAGE 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.
+#
+# $Id: DOM.xs,v 1.1.2.8 2001/03/28 10:07:30 richter Exp $
#
###################################################################################
1.29.4.13 +3 -1 embperl/Embperl.xs
Index: Embperl.xs
===================================================================
RCS file: /home/cvs/embperl/Embperl.xs,v
retrieving revision 1.29.4.12
retrieving revision 1.29.4.13
diff -u -r1.29.4.12 -r1.29.4.13
--- Embperl.xs 2001/03/27 11:51:57 1.29.4.12
+++ Embperl.xs 2001/03/28 10:07:30 1.29.4.13
@@ -1,6 +1,6 @@
/*###################################################################################
#
-# Embperl - Copyright (c) 1997-1999 Gerald Richter / ECOS
+# Embperl - Copyright (c) 1997-2001 Gerald Richter / ECOS
#
# You may distribute under the terms of either the GNU General Public
# License or the Artistic License, as specified in the Perl README file.
@@ -9,6 +9,8 @@
# THIS PACKAGE 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.
+#
+# $Id: Embperl.xs,v 1.29.4.13 2001/03/28 10:07:30 richter Exp $
#
###################################################################################*/
1.19.6.6 +237 -222 embperl/README
Index: README
===================================================================
RCS file: /home/cvs/embperl/README,v
retrieving revision 1.19.6.5
retrieving revision 1.19.6.6
diff -u -r1.19.6.5 -r1.19.6.6
--- README 2000/12/22 06:23:49 1.19.6.5
+++ README 2001/03/28 10:07:30 1.19.6.6
@@ -1,6 +1,6 @@
HTML::Embperl - Embed Perl in Your HTML Documents
-Copyright (c) 1997-2000 Gerald Richter / ECOS GmbH
+Copyright (c) 1997-2001 Gerald Richter / ECOS GmbH
You may distribute under the terms of either the GNU General Public
License or the Artistic License, as specified in the Perl README file.
@@ -8,226 +8,241 @@
THIS PACKAGE 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.
+
+$Id: README,v 1.19.6.6 2001/03/28 10:07:30 richter Exp $
-### !! IMPORTANT !! IMPORTANT !! IMPORTANT !! IMPORTANT !! IMPORTANT !!
-###
-###
-### This is the first BETA release of Embperl 2.0, before installing
-### please read the README.v2. Documentation is not yet updated to
-### reflect the changes in 2.0, everything that has changed is
-### documented in README.v2. Since this is the first beta you
-### shouldn't use it in a production evnironment!
-###
-###
-### !! IMPORTANT !! IMPORTANT !! IMPORTANT !! IMPORTANT !! IMPORTANT !!
-
-
-OVERVIEW
-
-
-Embperl gives you the power to embed Perl code in your HTML documents.
-Using Perl means being able to use a very elaborate programming language,
-which is widely used for WWW purposes. You can also use hundreds of Perl
-modules which have already been written - including DBI - for database
-access to a growing number of database systems.
-
-While this could also be done with other packages, Embperl has several
-features especially for HTML: dynamic tables, formfield-processing,
-escaping/unescaping and more.
-
-Embperl is a server-side tool, which means it's browser-indpendent.
-It can run in various ways: Under mod_perl, as a cgi script, or offline.
-
-There is also a module for Database access within Embperl, look
-at DBIx::Recordset.
-
-EmbperlObject is a OO-approach for a common "look & feel" for
-a whole web-site, which allows you to build your web-site out
-of small reuseable pieces.
-
-
-DOCUMENTATION
-
-
-The following documentation is available within the distribution
-
-Features of Embperl: perldoc Features.pod
-Introduction to Embperl: perldoc Intro.pod
-Installation of Embperl: perldoc INSTALL.pod
-Full documentation: perldoc Embperl.pod
- perldoc EmbperlObject.pm
- perldoc Embperl/Mail.pm
-Frequent Asked Questions: perldoc Faq.pod
-Changes: perldoc Changes.pod
-Examples: eg/x/README
-
-All the above and further information can be found at the Embperl website
-
- http://perl.apache.org/embperl/
-
-The following documentation is available in GERMAM
-
-Features of Embperl: perldoc FeaturesD.pod
-Introduction to Embperl: perldoc IntroD.pod
-Full documentation: perldoc EmbperlD.pod
-
-All the above and further information can be found at the german Embperl website
-
- http://www.ecos.de/embperl/
-
-
-FEATURES
-
-* Lets you embed Perl code into HTML documents. Perl code is
- evaluated at the server side and the result is sent to the browser.
-
-* Offers various meta-commands for conditional and loop
- processing of the HTML documents.
-
-* Automatically generates dynamic HTML tables/lists from Perl arrays or
- function calls (e.g. DBI fetch)
-
-* Form data send to your document is placed in a hash
-
-* Automatically inserts data from the form hash into HTML input,
- textarea and select tags
-
-* Understands HTML and URL escaping and unescaping
-
-* Handles per-user and per-module persistent session data for you.
- All you need to do is store and retrieve them to and from
- a special hash.
-
-* Allows you to build your web-site out of components. Frequently used elements
- can be defined once and included in every page.
-
-* EmbperlObject allows you to define the standard layout of your site just
- once and includes the neccessary components based on the uri. Your HTML
- documents just have to contain the unique stuff and not the common stuff
- like headers/footers or navigation bars. Also these common element can
- be overwritten in each subdirectory.
-
-* Gives you the possibility to build libraries with a set of frequently used
- Elements or components, and make them available to the whole web-site in the
- same way as Perl modules are - well, modularized.
-
-* Supports debugging of pages by generating a very detailed
- log file and making it accessible via the browser with a single click.
-
-* Generates verbose error pages in which every error can link
- to the log file. This is ideal for debugging.
-
-* Offers a lot of options for maximum configurability according to your personal tastes and needs.
-
-* Fully integrated into Apache and mod_perl to acheive the best
- performance. Can also run as a CGI-script, offline or called from
- another Perl program.
-
-* The Perl module DBIx::Recordset offers high level, easy to handle
- database access for Embperl.
-
-* If you are concerned about security you can configure Embperl to use
- Safe.pm. This way, your documents can run in a safe namespace which
- can allow or disallow certain Perl opcodes.
-
-* I<HTML::Embperl::Mail> gives you the possibility to send the result directly
- to a email address
-
-
-
-COMPATIBILITY
-
-I have tested Embperl successfully
-
-on Linux 2.x with
-
-perl5.004_04
-perl5.005_01/02/03
-perl5.6.0
-apache_1.2.5
-apache_1.2.6
-apache_1.3.0
-apache_1.3.1
-apache_1.3.2
-apache_1.3.3
-apache_1.3.4
-apache_1.3.6
-apache_1.3.9
-apache_1.3.12
-apache_1.3.14
-apache + mod_ssl
-apache_ssl (Ben SSL)
-Stronghold 2.2
-Stronghold 2.4.1
-
-on Windows NT 4.0 with
-
-perl5.004_04
-perl5.005_xx
-perl5.6.0
-apache_1.3.0
-apache_1.3.1
-apache_1.3.4
-apache_1.3.6
-apache_1.3.9
-apache_1.3.12
-
-on Windows 95/98 with
-perl5.004_02 (binary distribution)
-Offline mode
-perl5.005_03 + apache_1.3.6
-
-I know from other people that it works on many other UNIX systems
-
-
-FEEDBACK and BUG REPORTS
-
-Please let me know if you use or test this module. Bugs, questions,
-suggestions for things you would find useful, etc., are discussed on
-the Embperl mailing list. If you have a site that is using Embperl,
-I would love to mention it in list of sites using Embperl
-(http://perl.apache.org/embperl/Sites.pod.1.html). Please drop
-me a mail with a short description, if your site uses Embperl.
-
-
-The Embperl mailing list (embperl@perl.apache.org) is available for Embperl users
-and developers to share ideas, solve problems and discuss things related to Embperl
-To subscribe to this list, send mail to embperl-subscribe@perl.apache.org.
-To unsubscribe send email to embperl-unsubscribe@perl.apache.org .
-
-There is an archive for the Embperl mailing list at http://www.ecos.de/~mailarc/embperl/
-
-For mod_perl related questions you may search the mod_perl mailing list
-archive at http://forum.swarthmore.edu/epigone/modperl
-
-
-
-COMMERICAL SUPPORT
-
-You can get free support on the Embperl mailing list (see above). If
-you need commercial support, ecos can provide it for you. We offer:
-
-* Consulting, assitance and training for you and your programmers
-
-* Planning of your dynamic website
-
-* Creating of parts or a whole website
-
-* Fixing bugs in Embperl (also available for mod_perl)
-
-* Adding new features
-
-You can reach us via http://www.ecos.de or info@ecos.de
-
-
-LOGO
-
-The Embperl distribution contains a "Powered by Embperl" Logo
-(EmbperlLogo.gif) which you may place at your Web-site if you like.
-
-
-AUTHOR
-
-G. Richter (richter@dev.ecos.de)
-
+### !! IMPORTANT !! IMPORTANT !! IMPORTANT !! IMPORTANT !! IMPORTANT !!
+###
+###
+### This is the second BETA release of Embperl 2.0, before installing
+### please read the README.v2. Documentation is not yet updated to
+### reflect the changes in 2.0, everything that has changed is
+### documented in README.v2. Since the first beta I have fixed a lot
+### of smaller bugs and use it now in production environment on my own.
+### But be carefull this release may still contain bugs.
+###
+###
+### !! IMPORTANT !! IMPORTANT !! IMPORTANT !! IMPORTANT !! IMPORTANT !!
+
+
+OVERVIEW
+========
+
+Embperl gives you the power to embed Perl code in your HTML documents
+and the ability to build your Web site out of small reusable objects in
+an object-oriented style. You can also take advantage of all the
+usual Perl modules, (including DBI for database access) use their
+functionality and easily include their output in your web pages.
+
+Embperl has several features which are especially useful for creating
+HTML, including dynamic tables, form field processing, URL
+escaping/unescaping, session handling, and more.
+
+Embperl is a server-side tool, which means that it's browser-independent.
+It can run in various ways: under mod_perl, as a CGI script, or offline.
+
+For database access, there is a module called DBIx::Recordset, which
+works well together with Embperl and simplifies creating web pages
+with database content.
+
+
+DOCUMENTATION
+=============
+
+The following documentation is available within the distribution
+
+Features of Embperl: perldoc Features.pod
+Introduction to Embperl: perldoc Intro.pod
+Introduction to EmbperlObject: perldoc IntroEmbperlObject.pod
+Installation of Embperl: perldoc INSTALL.pod
+Full documentation: perldoc Embperl.pod
+ perldoc EmbperlObject.pm
+ perldoc Embperl/Mail.pm
+Frequent Asked Questions: perldoc Faq.pod
+Tips and Tricks: perldoc TipsAndTricks.pod
+Changes: perldoc Changes.pod
+Examples: eg/x/README
+
+All the above and further information can be found at the Embperl website
+
+ http://perl.apache.org/embperl/
+
+The following documentation is available in GERMAM
+
+Features of Embperl: perldoc FeaturesD.pod
+Introduction to Embperl: perldoc IntroD.pod
+Full documentation: perldoc EmbperlD.pod
+
+All the above and further information can be found at the german Embperl website
+
+ http://www.ecos.de/embperl/
+
+
+FEATURES
+========
+
+* Lets you embed Perl code into HTML documents. Perl code is
+ evaluated at the server side and the result is sent to the browser.
+
+* Offers various meta-commands for conditional and loop
+ processing of the HTML documents.
+
+* Automatically generates dynamic HTML tables/lists from Perl arrays or
+ function calls (e.g. DBI fetch)
+
+* Form data send to your document is placed in a hash
+
+* Automatically inserts data from the form hash into HTML input,
+ textarea and select tags
+
+* Understands HTML and URL escaping and unescaping
+
+* Handles per-user and per-module persistent session data for you.
+ All you need to do is store and retrieve them to and from
+ a special hash.
+
+* Allows you to build your web-site out of components. Frequently used
+ elements can be defined once and included in every page.
+
+* EmbperlObject allows you to define the standard layout of your site just
+ once and includes the neccessary components based on the uri. Your HTML
+ documents just have to contain the unique stuff and not the common stuff
+ like headers/footers or navigation bars. Also these common element can
+ be overwritten in each subdirectory.
+
+* Gives you the possibility to build libraries with a set of frequently used
+ Elements or components, and make them available to the whole web-site in the
+ same way as Perl modules are - well, modularized.
+
+* Supports debugging of pages by generating a very detailed
+ log file and making it accessible via the browser with a single click.
+
+* Generates verbose error pages in which every error can link
+ to the log file. This is ideal for debugging.
+
+* Offers a lot of options for maximum configurability according to your
+ personal tastes and needs.
+
+* Fully integrated into Apache and mod_perl to acheive the best
+ performance. Can also run as a CGI-script, offline or called from
+ another Perl program.
+
+* The Perl module DBIx::Recordset offers high level, easy to handle
+ database access for Embperl.
+
+* If you are concerned about security you can configure Embperl to use
+ Safe.pm. This way, your documents can run in a safe namespace which
+ can allow or disallow certain Perl opcodes.
+
+* I<HTML::Embperl::Mail> gives you the possibility to send the result directly
+ to a email address
+
+
+
+COMPATIBILITY
+=============
+
+I have tested Embperl successfully
+
+on Linux 2.x with
+
+perl5.004_04
+perl5.005_01/02/03
+perl5.6.0
+apache_1.3.0 - apache_1.3.17
+apache + mod_ssl
+apache_ssl (Ben SSL)
+Stronghold 2.2
+Stronghold 2.4.1
+
+on Windows NT 4.0 with
+
+perl5.004_04
+perl5.005_xx
+perl5.6.0
+apache_1.3.0 - apache_1.3.17
+
+on Windows 95/98 with
+
+perl5.004_02 (binary distribution)
+Offline mode
+perl5.005_03 + apache_1.3.6
+
+I know from other people that it works on many other UNIX systems
+
+
+FEEDBACK and BUG REPORTS
+========================
+
+Please let me know if you use or test this module. Bugs, questions,
+suggestions for things you would find useful, etc., are discussed on
+the Embperl mailing list. If you have a site that is using Embperl,
+I would love to mention it in the list of sites using Embperl
+(http://perl.apache.org/embperl/Sites.pod.1.html). Please drop
+me a mail with a short description, if your site uses Embperl.
+
+
+The Embperl mailing list (embperl@perl.apache.org) is available for Embperl users
+and developers to share ideas, solve problems and discuss things related to Embperl
+To subscribe to this list, send mail to embperl-subscribe@perl.apache.org.
+To unsubscribe send email to embperl-unsubscribe@perl.apache.org .
+
+There is an archive for the Embperl mailing list at http://www.ecos.de/~mailarc/embperl/
+
+For mod_perl related questions you may search the mod_perl mailing list
+archive at http://forum.swarthmore.edu/epigone/modperl
+
+
+
+COMMERICAL SUPPORT
+==================
+
+You can get free support on the Embperl mailing list (see above). If
+you need commercial support, ecos can provide it for you. We offer:
+
+* Consulting, assitance and training for you and your programmers
+
+* Planning of your dynamic website
+
+* Creating of parts or a whole website
+
+* Fixing bugs in Embperl (also available for mod_perl)
+
+* Adding new features
+
+You can reach us via http://www.ecos.de or info@ecos.de
+For more information about our support see
+
+http://www.ecos.de/x/index.htm/support/eng_r_support.htm
+
+
+
+HOW TO SUPPORT THE DEVELOPEMENT OF EMBPERL
+==========================================
+
+If you use and like Embperl and want to support it's ongoing developement
+you have two possibilities:
+
+1. Send me patches for things you like to see in Embperl
+
+2. Buy commercial support (see above). Also you _may_ get the same answers
+ to your questions on the mailing list, by buying the commercial support
+ you not only buy support for yourself and can be sure you get an answer,
+ you also give us the possibility to put more power in the further
+ developement of Embperl.
+
+
+LOGO
+====
+
+The Embperl distribution contains a "Powered by Embperl" Logo
+(EmbperlLogo.gif) which you may place at your Web-site if you like.
+
+
+AUTHOR
+======
+
+G. Richter (richter@dev.ecos.de)
+
+
1.1.4.7 +56 -16 embperl/Attic/README.v2
Index: README.v2
===================================================================
RCS file: /home/cvs/embperl/Attic/README.v2,v
retrieving revision 1.1.4.6
retrieving revision 1.1.4.7
diff -u -r1.1.4.6 -r1.1.4.7
--- README.v2 2000/12/22 06:23:49 1.1.4.6
+++ README.v2 2001/03/28 10:07:30 1.1.4.7
@@ -1,6 +1,6 @@
-HTML::Embperl - Embed Perl in Your HTML Documents
+HTML::Embperl - Building dynamic Websites with Perl
-Copyright (c) 1997-2000 Gerald Richter / ECOS GmbH
+Copyright (c) 1997-2001 Gerald Richter / ECOS GmbH
You may distribute under the terms of either the GNU General Public
License or the Artistic License, as specified in the Perl README file.
@@ -8,16 +8,19 @@
THIS PACKAGE 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.
+
+$Id: README.v2,v 1.1.4.7 2001/03/28 10:07:30 richter Exp $
### !! IMPORTANT !! IMPORTANT !! IMPORTANT !! IMPORTANT !! IMPORTANT !!
###
###
-### This is the first BETA release of Embperl 2.0, before installing
+### This is the second BETA release of Embperl 2.0, before installing
### please read the README.v2. Documentation is not yet updated to
### reflect the changes in 2.0, everything that has changed is
-### documented in README.v2. Since this is the first beta you
-### shouldn't use it in a production evnironment!
+### documented in README.v2. Since the first beta I have fixed a lot
+### of smaller bugs and use it now in production environment on my own.
+### But be carefull this release may still contain bugs.
###
###
### !! IMPORTANT !! IMPORTANT !! IMPORTANT !! IMPORTANT !! IMPORTANT !!
@@ -27,8 +30,8 @@
---------------------------
Embperl 2 has a totaly rewritten core. It contains nearly 7500 lines
-new (mostly C-) code. Also I have done a lot of testing, don't expect
-it to work without errors!
+new (mostly C-) code. Also I have done a lot of testing, there may
+be still undiscovered bugs!
Please report any weired behaviour to the embperl mailing list, but
be sure to read this whole README to understand what can't work so far.
@@ -58,14 +61,23 @@
Another new feature is that the syntax of the Embperl parser is defined
within the module HTML::Embperl::Syntax and can be modified as nessecary.
-See the file Embperl/Syntax.pm how it looks like and
-
+Embperl comes with a set syntax definitons which can be extened modified by
+the user. So far there are syntaxdefinitions for SSI, Text only, Perl only,
+ASP and a Mail taglib. You can tell Embperl which syntax to use either in
+the configuration via EMBPERL_SYNTAX, or with the syntax parameter of
+Execute or you change the syntax dynamicly inside the page via the
+[$syntax $] command. You also could specify more then one syntax at the same
+time e.g. [$syntax Embperl SSI $] to mix Embperl tags and SSI tags in the same
+page.
+
+If you like to create your own syntax read
+
perldoc HTML::Embperl::Syntax
-
-for a short description. A further verion will add an API to this syntax module,
-so custom syntaxes can be easily added, without modifiy Syntax.pm itself.
-Also new is the possibility to cache (parts of) the output.
+and look at the files under Embperl/Syntax/ for examples how to do it.
+
+Also new is the possibility to cache (parts of) the output and the
+possibility to use a interactive debugger on the Embperl file.
The following difference to Embperl 1.x apply:
@@ -77,6 +89,15 @@
- The following options are currently not supported:
optDisableHtmlScan, optDisableTableScan,
optDisableInputScan, optDisableMetaScan
+
+ optDisableHtmlScan can be replaced by switching the syntax e.g.
+
+ [$syntax EmbperlBlocks $] # same as [- $optDisableHtmlScan = 1 -]
+
+ here goes your code, Embperl will not interpret any html tags here
+
+ [$syntax Embperl $] # same as [- $optDisableHtmlScan = 0 -]
+
- Nesting must be properly. I.e. you cannot put a <table> tag (for an
dynamic table) inside an if and the </table> inside another if.
@@ -84,7 +105,7 @@
- optUndefToEmptyValue is always set and cannot be disabled.
-- [$ foreach $x (@x) $] requires now the bracket around the
+- [$ foreach $x (@x) $] requires now the brackets around the
array (like Perl)
- [+ +] blocks must now contain a valid Perl expression. Embperl 1.x
@@ -99,8 +120,6 @@
- [- exit -]
-- [- print OUT "foo" -]
-
- safe namespaces
@@ -168,6 +187,27 @@
Time in seconds that the output schould be cached. (0 = never, -1 = forever)
+
+syntax / EMBPERL_SYNTAX / [$ syntax $]
+
+Used to tell Embperl which syntax to use inside a page. Embperl comes with
+the following syntaxes:
+
+- EmbperlHTML
+- EmbperlBlocks
+- Embperl (default; contains EmbperlHtml and EmbperlBlocks)
+- ASP
+- SSI
+- Perl
+- Text
+- Mail
+
+You can get a description for each syntax if you type
+
+perldoc HTML::Embperl::Syntax::xxx
+
+where xxx is the name of the syntax.
+
-------------------
1.27.4.11 +3 -1 embperl/ep.h
Index: ep.h
===================================================================
RCS file: /home/cvs/embperl/ep.h,v
retrieving revision 1.27.4.10
retrieving revision 1.27.4.11
diff -u -r1.27.4.10 -r1.27.4.11
--- ep.h 2001/03/27 05:56:10 1.27.4.10
+++ ep.h 2001/03/28 10:07:30 1.27.4.11
@@ -1,6 +1,6 @@
/*###################################################################################
#
-# Embperl - Copyright (c) 1997-1999 Gerald Richter / ECOS
+# Embperl - Copyright (c) 1997-2001 Gerald Richter / ECOS
#
# You may distribute under the terms of either the GNU General Public
# License or the Artistic License, as specified in the Perl README file.
@@ -9,6 +9,8 @@
# THIS PACKAGE 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.
+#
+# $Id: ep.h,v 1.27.4.11 2001/03/28 10:07:30 richter Exp $
#
###################################################################################*/
1.1.2.12 +3 -1 embperl/Attic/ep2.h
Index: ep2.h
===================================================================
RCS file: /home/cvs/embperl/Attic/ep2.h,v
retrieving revision 1.1.2.11
retrieving revision 1.1.2.12
diff -u -r1.1.2.11 -r1.1.2.12
--- ep2.h 2001/03/23 09:28:11 1.1.2.11
+++ ep2.h 2001/03/28 10:07:30 1.1.2.12
@@ -1,6 +1,6 @@
/*###################################################################################
#
-# Embperl - Copyright (c) 1997-2000 Gerald Richter / ECOS
+# Embperl - Copyright (c) 1997-2001 Gerald Richter / ECOS
#
# You may distribute under the terms of either the GNU General Public
# License or the Artistic License, as specified in the Perl README file.
@@ -9,6 +9,8 @@
# THIS PACKAGE 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.
+#
+# $Id: ep2.h,v 1.1.2.12 2001/03/28 10:07:30 richter Exp $
#
###################################################################################*/
1.3.6.1 +3 -1 embperl/epchar.c.iso-latin-2
Index: epchar.c.iso-latin-2
===================================================================
RCS file: /home/cvs/embperl/epchar.c.iso-latin-2,v
retrieving revision 1.3
retrieving revision 1.3.6.1
diff -u -r1.3 -r1.3.6.1
--- epchar.c.iso-latin-2 1999/08/10 13:36:55 1.3
+++ epchar.c.iso-latin-2 2001/03/28 10:07:30 1.3.6.1
@@ -1,6 +1,6 @@
/*###################################################################################
#
-# Embperl - Copyright (c) 1997-1999 Gerald Richter / ECOS
+# Embperl - Copyright (c) 1997-2001 Gerald Richter / ECOS
#
# You may distribute under the terms of either the GNU General Public
# License or the Artistic License, as specified in the Perl README file.
@@ -10,6 +10,8 @@
# IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
# WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
#
+# $Id: epchar.c.iso-latin-2,v 1.3.6.1 2001/03/28 10:07:30 richter Exp $
+#
###################################################################################*/
1.2.4.1 +3 -1 embperl/epchar.c.min
Index: epchar.c.min
===================================================================
RCS file: /home/cvs/embperl/epchar.c.min,v
retrieving revision 1.2
retrieving revision 1.2.4.1
diff -u -r1.2 -r1.2.4.1
--- epchar.c.min 2000/07/17 05:16:08 1.2
+++ epchar.c.min 2001/03/28 10:07:30 1.2.4.1
@@ -1,6 +1,6 @@
/*###################################################################################
#
-# Embperl - Copyright (c) 1997-2000 Gerald Richter / ECOS
+# Embperl - Copyright (c) 1997-2001 Gerald Richter / ECOS
#
# You may distribute under the terms of either the GNU General Public
# License or the Artistic License, as specified in the Perl README file.
@@ -10,6 +10,8 @@
# IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
# WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
#
+# $Id: epchar.c.min,v 1.2.4.1 2001/03/28 10:07:30 richter Exp $
+#
###################################################################################*/
/* minimal input and output escaping. It's usefull for other charsets then
1.4.2.5 +3 -1 embperl/Attic/epcmd2.c
Index: epcmd2.c
===================================================================
RCS file: /home/cvs/embperl/Attic/epcmd2.c,v
retrieving revision 1.4.2.4
retrieving revision 1.4.2.5
diff -u -r1.4.2.4 -r1.4.2.5
--- epcmd2.c 2001/03/26 10:29:17 1.4.2.4
+++ epcmd2.c 2001/03/28 10:07:30 1.4.2.5
@@ -1,6 +1,6 @@
/*###################################################################################
#
-# Embperl - Copyright (c) 1997-2000 Gerald Richter / ECOS
+# Embperl - Copyright (c) 1997-2001 Gerald Richter / ECOS
#
# You may distribute under the terms of either the GNU General Public
# License or the Artistic License, as specified in the Perl README file.
@@ -8,6 +8,8 @@
# THIS PACKAGE 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.
+#
+# $Id: epcmd2.c,v 1.4.2.5 2001/03/28 10:07:30 richter Exp $
#
###################################################################################*/
1.4.2.42 +3 -1 embperl/Attic/epcomp.c
Index: epcomp.c
===================================================================
RCS file: /home/cvs/embperl/Attic/epcomp.c,v
retrieving revision 1.4.2.41
retrieving revision 1.4.2.42
diff -u -r1.4.2.41 -r1.4.2.42
--- epcomp.c 2001/03/27 05:56:10 1.4.2.41
+++ epcomp.c 2001/03/28 10:07:30 1.4.2.42
@@ -1,6 +1,6 @@
/*###################################################################################
#
-# Embperl - Copyright (c) 1997-2000 Gerald Richter / ECOS
+# Embperl - Copyright (c) 1997-2001 Gerald Richter / ECOS
#
# You may distribute under the terms of either the GNU General Public
# License or the Artistic License, as specified in the Perl README file.
@@ -8,6 +8,8 @@
# THIS PACKAGE 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.
+#
+# $Id: epcomp.c,v 1.4.2.42 2001/03/28 10:07:30 richter Exp $
#
###################################################################################*/
1.20.4.15 +3 -1 embperl/epdat.h
Index: epdat.h
===================================================================
RCS file: /home/cvs/embperl/epdat.h,v
retrieving revision 1.20.4.14
retrieving revision 1.20.4.15
diff -u -r1.20.4.14 -r1.20.4.15
--- epdat.h 2001/03/27 11:52:06 1.20.4.14
+++ epdat.h 2001/03/28 10:07:30 1.20.4.15
@@ -1,6 +1,6 @@
/*###################################################################################
#
-# Embperl - Copyright (c) 1997-1999 Gerald Richter / ECOS
+# Embperl - Copyright (c) 1997-2001 Gerald Richter / ECOS
#
# You may distribute under the terms of either the GNU General Public
# License or the Artistic License, as specified in the Perl README file.
@@ -9,6 +9,8 @@
# THIS PACKAGE 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.
+#
+# $Id: epdat.h,v 1.20.4.15 2001/03/28 10:07:30 richter Exp $
#
###################################################################################*/
1.4.2.27 +19 -17 embperl/Attic/epdom.c
Index: epdom.c
===================================================================
RCS file: /home/cvs/embperl/Attic/epdom.c,v
retrieving revision 1.4.2.26
retrieving revision 1.4.2.27
diff -u -r1.4.2.26 -r1.4.2.27
--- epdom.c 2001/03/27 14:21:52 1.4.2.26
+++ epdom.c 2001/03/28 10:07:31 1.4.2.27
@@ -1,6 +1,6 @@
/*###################################################################################
#
-# Embperl - Copyright (c) 1997-2000 Gerald Richter / ECOS
+# Embperl - Copyright (c) 1997-2001 Gerald Richter / ECOS
#
# You may distribute under the terms of either the GNU General Public
# License or the Artistic License, as specified in the Perl README file.
@@ -9,6 +9,8 @@
# IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
# WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
#
+# $Id: epdom.c,v 1.4.2.27 2001/03/28 10:07:31 richter Exp $
+#
###################################################################################*/
@@ -1687,15 +1689,15 @@
}
if (pOldChild -> nType == ntypDocument)
- {
+ {
pOldChild -> nType = ntypDocumentFraq ;
- if (pOldChild -> nText != xDocumentFraq)
- {
- NdxStringFree (pOldChild -> nText) ;
- pOldChild -> nText = xDocumentFraq ;
- NdxStringRefcntInc (xDocumentFraq) ;
- }
- }
+ if (pOldChild -> nText != xDocumentFraq)
+ {
+ NdxStringFree (pOldChild -> nText) ;
+ pOldChild -> nText = xDocumentFraq ;
+ NdxStringRefcntInc (xDocumentFraq) ;
+ }
+ }
if (pOldChild -> nType == ntypDocumentFraq)
{
@@ -1771,15 +1773,15 @@
DomTree_selfCheckpoint (pRefNodeDomTree, xOrgNode, pNewNode -> xNdx) ;
if (pNewNode -> nType == ntypDocument)
- {
+ {
pNewNode -> nType = ntypDocumentFraq ;
- if (pNewNode -> nText != xDocumentFraq)
- {
- NdxStringFree (pNewNode -> nText) ;
- pNewNode -> nText = xDocumentFraq ;
- NdxStringRefcntInc (xDocumentFraq) ;
- }
- }
+ if (pNewNode -> nText != xDocumentFraq)
+ {
+ NdxStringFree (pNewNode -> nText) ;
+ pNewNode -> nText = xDocumentFraq ;
+ NdxStringRefcntInc (xDocumentFraq) ;
+ }
+ }
if (pNewNode -> nType == ntypDocumentFraq)
{
1.4.2.12 +3 -1 embperl/Attic/epdom.h
Index: epdom.h
===================================================================
RCS file: /home/cvs/embperl/Attic/epdom.h,v
retrieving revision 1.4.2.11
retrieving revision 1.4.2.12
diff -u -r1.4.2.11 -r1.4.2.12
--- epdom.h 2000/12/18 20:41:41 1.4.2.11
+++ epdom.h 2001/03/28 10:07:31 1.4.2.12
@@ -1,6 +1,6 @@
/*###################################################################################
#
-# Embperl - Copyright (c) 1997-2000 Gerald Richter / ECOS
+# Embperl - Copyright (c) 1997-2001 Gerald Richter / ECOS
#
# You may distribute under the terms of either the GNU General Public
# License or the Artistic License, as specified in the Perl README file.
@@ -8,6 +8,8 @@
# THIS PACKAGE 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.
+#
+# $Id: epdom.h,v 1.4.2.12 2001/03/28 10:07:31 richter Exp $
#
###################################################################################*/
1.6.4.3 +3 -1 embperl/epmacro.h
Index: epmacro.h
===================================================================
RCS file: /home/cvs/embperl/epmacro.h,v
retrieving revision 1.6.4.2
retrieving revision 1.6.4.3
diff -u -r1.6.4.2 -r1.6.4.3
--- epmacro.h 2000/12/18 11:38:14 1.6.4.2
+++ epmacro.h 2001/03/28 10:07:31 1.6.4.3
@@ -1,6 +1,6 @@
/*###################################################################################
#
-# Embperl - Copyright (c) 1997-1999 Gerald Richter / ECOS
+# Embperl - Copyright (c) 1997-2001 Gerald Richter / ECOS
#
# You may distribute under the terms of either the GNU General Public
# License or the Artistic License, as specified in the Perl README file.
@@ -9,6 +9,8 @@
# THIS PACKAGE 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.
+#
+# $Id: epmacro.h,v 1.6.4.3 2001/03/28 10:07:31 richter Exp $
#
###################################################################################*/
1.4.2.16 +3 -1 embperl/Attic/epparse.c
Index: epparse.c
===================================================================
RCS file: /home/cvs/embperl/Attic/epparse.c,v
retrieving revision 1.4.2.15
retrieving revision 1.4.2.16
diff -u -r1.4.2.15 -r1.4.2.16
--- epparse.c 2001/03/23 13:51:44 1.4.2.15
+++ epparse.c 2001/03/28 10:07:31 1.4.2.16
@@ -1,6 +1,6 @@
/*###################################################################################
#
-# Embperl - Copyright (c) 1997-2000 Gerald Richter / ECOS
+# Embperl - Copyright (c) 1997-2001 Gerald Richter / ECOS
#
# You may distribute under the terms of either the GNU General Public
# License or the Artistic License, as specified in the Perl README file.
@@ -8,6 +8,8 @@
# THIS PACKAGE 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.
+#
+# $Id: epparse.c,v 1.4.2.16 2001/03/28 10:07:31 richter Exp $
#
###################################################################################*/
1.15.4.7 +3 -1 embperl/eputil.c
Index: eputil.c
===================================================================
RCS file: /home/cvs/embperl/eputil.c,v
retrieving revision 1.15.4.6
retrieving revision 1.15.4.7
diff -u -r1.15.4.6 -r1.15.4.7
--- eputil.c 2001/03/27 05:56:11 1.15.4.6
+++ eputil.c 2001/03/28 10:07:32 1.15.4.7
@@ -1,6 +1,6 @@
/*###################################################################################
#
-# Embperl - Copyright (c) 1997-1999 Gerald Richter / ECOS
+# Embperl - Copyright (c) 1997-2001 Gerald Richter / ECOS
#
# You may distribute under the terms of either the GNU General Public
# License or the Artistic License, as specified in the Perl README file.
@@ -9,6 +9,8 @@
# THIS PACKAGE 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.
+#
+# $Id: eputil.c,v 1.15.4.7 2001/03/28 10:07:32 richter Exp $
#
###################################################################################*/
1.70.4.41 +19 -3 embperl/test.pl
Index: test.pl
===================================================================
RCS file: /home/cvs/embperl/test.pl,v
retrieving revision 1.70.4.40
retrieving revision 1.70.4.41
diff -u -r1.70.4.40 -r1.70.4.41
--- test.pl 2001/03/27 19:07:55 1.70.4.40
+++ test.pl 2001/03/28 10:07:32 1.70.4.41
@@ -1,4 +1,20 @@
#!/usr/bin/perl --
+
+###################################################################################
+#
+# Embperl - Copyright (c) 1997-2001 Gerald Richter / ECOS
+#
+# You may distribute under the terms of either the GNU General Public
+# License or the Artistic License, as specified in the Perl README file.
+#
+# THIS PACKAGE 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.
+#
+# $Id: test.pl,v 1.70.4.41 2001/03/28 10:07:32 richter Exp $
+#
+###################################################################################
+
# Before `make install' is performed this script should be runnable with
# `make test'. After `make install' it should work as `perl test.pl'
@@ -509,10 +525,10 @@
},
'asp.htm' => {
'version' => 2,
- },
- 'mail.htm' => {
- 'version' => 2,
},
+# 'mail.htm' => {
+# 'version' => 2,
+# },
) ;
for ($i = 0 ; $i < @testdata; $i += 2)
No revision
No revision
1.29.4.2 +2 -2 embperl/Embperl/Mail.pm
Index: Mail.pm
===================================================================
RCS file: /home/cvs/embperl/Embperl/Mail.pm,v
retrieving revision 1.29.4.1
retrieving revision 1.29.4.2
diff -u -r1.29.4.1 -r1.29.4.2
--- Mail.pm 2001/03/27 11:52:29 1.29.4.1
+++ Mail.pm 2001/03/28 10:07:34 1.29.4.2
@@ -1,6 +1,6 @@
###################################################################################
#
-# Embperl - Copyright (c) 1997-2000 Gerald Richter / ECOS
+# Embperl - Copyright (c) 1997-2001 Gerald Richter / ECOS
#
# You may distribute under the terms of either the GNU General Public
# License or the Artistic License, as specified in the Perl README file.
@@ -9,7 +9,7 @@
# IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
# WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
#
-# $Id: Mail.pm,v 1.29.4.1 2001/03/27 11:52:29 richter Exp $
+# $Id: Mail.pm,v 1.29.4.2 2001/03/28 10:07:34 richter Exp $
#
###################################################################################
No revision
No revision
1.1.2.2 +10 -10 embperl/test/cmp2/Attic/epobless2.htm
Index: epobless2.htm
===================================================================
RCS file: /home/cvs/embperl/test/cmp2/Attic/epobless2.htm,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -u -r1.1.2.1 -r1.1.2.2
--- epobless2.htm 2001/03/27 14:25:01 1.1.2.1
+++ epobless2.htm 2001/03/28 10:07:34 1.1.2.2
@@ -4,36 +4,36 @@
</head>
<body>
<h1>another head from sub</h1>
-
+
txt1: txt1 from same dir in eposubs2 <br>
txt2: txt2 from base dir <br>
eposub1: <h1>eposub1</h1>
+
-
<br>
eposub2: <h1>eposub2</h1>
+
-
<br>
eposub1: <h1>eposub1</h1>
-
-<br>
+
+<br>
eposub2: <h1>eposub2</h1>
-
-<br>
-
+
+<br>
+
<hr> Footer <hr>
-
+
</body>
</html>
-
+
1.1.2.2 +5 -5 embperl/test/cmp2/Attic/epoincdiv.htm
Index: epoincdiv.htm
===================================================================
RCS file: /home/cvs/embperl/test/cmp2/Attic/epoincdiv.htm,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -u -r1.1.2.1 -r1.1.2.2
--- epoincdiv.htm 2001/03/27 14:25:01 1.1.2.1
+++ epoincdiv.htm 2001/03/28 10:07:34 1.1.2.2
@@ -4,9 +4,9 @@
</head>
<body>
<h1>head from foo</h1>
-
+
Include epodiv.htm from this file, to check if this @ISA is correctly setup in the next request
@@ -456,14 +456,14 @@
</body>
</html>
-
+
--- END ---
+
-
<hr> Footer <hr>
-
+
</body>
</html>
-
+
---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-cvs-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-cvs-help@perl.apache.org