Return-Path: Delivered-To: apmail-tcl-rivet-dev-archive@tcl.apache.org Received: (qmail 80461 invoked by uid 500); 7 Jul 2003 11:10:09 -0000 Mailing-List: contact rivet-cvs-help@tcl.apache.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Post: List-Help: List-Unsubscribe: List-Subscribe: Delivered-To: mailing list rivet-cvs@tcl.apache.org Received: (qmail 80446 invoked from network); 7 Jul 2003 11:10:09 -0000 Received: from icarus.apache.org (208.185.179.13) by daedalus.apache.org with SMTP; 7 Jul 2003 11:10:09 -0000 Received: (qmail 83676 invoked by uid 1048); 7 Jul 2003 11:10:08 -0000 Date: 7 Jul 2003 11:10:08 -0000 Message-ID: <20030707111008.83675.qmail@icarus.apache.org> From: davidw@apache.org To: tcl-rivet-cvs@apache.org Subject: cvs commit: tcl-rivet/doc/html examples.html.en examples.html.ru help.html.en help.html.ru index.html.en index.html.ru internals.html.en internals.html.ru upgrading.html.en upgrading.html.ru X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N davidw 2003/07/07 04:10:08 Modified: . ChangeLog doc/examples upload.html doc/html examples.html.en examples.html.ru help.html.en help.html.ru index.html.en index.html.ru internals.html.en internals.html.ru upgrading.html.en upgrading.html.ru Log: * doc/examples/upload.html: Added submit button to file upload example. Revision Changes Path 1.126 +5 -0 tcl-rivet/ChangeLog Index: ChangeLog =================================================================== RCS file: /home/cvs/tcl-rivet/ChangeLog,v retrieving revision 1.125 retrieving revision 1.126 diff -u -r1.125 -r1.126 --- ChangeLog 5 Jul 2003 14:23:18 -0000 1.125 +++ ChangeLog 7 Jul 2003 11:10:07 -0000 1.126 @@ -1,3 +1,8 @@ +2003-07-07 David N. Welton + + * doc/examples/upload.html: Added submit button to file upload + example. + 2003-07-05 David N. Welton * src/rivetWWW.c (snprintf): Added snprintf define from Pat. 1.3 +3 -3 tcl-rivet/doc/examples/upload.html Index: upload.html =================================================================== RCS file: /home/cvs/tcl-rivet/doc/examples/upload.html,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- upload.html 30 Dec 2002 18:42:35 -0000 1.2 +++ upload.html 7 Jul 2003 11:10:08 -0000 1.3 @@ -1,4 +1,4 @@ -<form action="foo.rvt" enctype="multipart/form-data" -method="post"> +<form action="foo.rvt" enctype="multipart/form-data" method="post"> <input type="file" name="MyUpload"></input> -</form> \ No newline at end of file +<input type="submit" value="Send File"></input> +</form> 1.3 +4 -3 tcl-rivet/doc/html/examples.html.en Index: examples.html.en =================================================================== RCS file: /home/cvs/tcl-rivet/doc/html/examples.html.en,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- examples.html.en 5 Jul 2003 08:33:33 -0000 1.2 +++ examples.html.en 7 Jul 2003 11:10:08 -0000 1.3 @@ -158,10 +158,11 @@

Example�4.�File Upload

The following HTML in one file, say, upload.html -

<form action="foo.rvt" enctype="multipart/form-data"
  -method="post">
  +      

<form action="foo.rvt" enctype="multipart/form-data" method="post">
   <input type="file" name="MyUpload"></input>
  -</form>

+<input type="submit" value="Send File"></input> +</form> +

Can be used with the following Tcl code, in a second file (upload.rvt for instance) in order to create a file upload form. 1.3 +4 -3 tcl-rivet/doc/html/examples.html.ru Index: examples.html.ru =================================================================== RCS file: /home/cvs/tcl-rivet/doc/html/examples.html.ru,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- examples.html.ru 5 Jul 2003 08:33:33 -0000 1.2 +++ examples.html.ru 7 Jul 2003 11:10:08 -0000 1.3 @@ -159,10 +159,11 @@

Example�4.�Закачка файлов (Upload)

Пусть есть такой HTML код upload.html -

<form action="foo.rvt" enctype="multipart/form-data"
  -method="post">
  +      

<form action="foo.rvt" enctype="multipart/form-data" method="post">
   <input type="file" name="MyUpload"></input>
  -</form>

+<input type="submit" value="Send File"></input> +</form> +

Из такого Tcl кода, например, (под названием upload.rvt) мы получаем доступ к загруженному файлу. 1.5 +4 -4 tcl-rivet/doc/html/help.html.en Index: help.html.en =================================================================== RCS file: /home/cvs/tcl-rivet/doc/html/help.html.en,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- help.html.en 5 Jul 2003 08:33:33 -0000 1.4 +++ help.html.en 7 Jul 2003 11:10:08 -0000 1.5 @@ -1,4 +1,4 @@ -Resources - How to Get Help


Resources - How to Get Help

Mailing Lists

+Resources - How to Get Help


Resources - How to Get Help

Mailing Lists

The Rivet mailing list is the first place you should turn for help, if you haven't found the solution to your problem in the documentation. Send email to @@ -9,7 +9,7 @@ .

The mailing list archives are available at http://nagoya.apache.org/eyebrowse/SummarizeList?listId=118 -

Newsgroup

+

Newsgroup

The news:comp.lang.tcl newsgroup is a good place to ask about Tcl questions in general. Rivet developers also follow the newsgroup, but it's best to ask Rivet-specific questions on the Rivet @@ -31,11 +31,11 @@

  • http://wiki.tcl.tk is the Tcl'ers Wiki, a free-form place to search for answers and ask for help. -
  • Bug Tracking System

    +

    Bug Tracking System

    Apache Rivet uses the Apache Bug Tracking system at http://nagoya.apache.org/bugzilla/. Here, you can report problems, or check and see if existing issues are already known and being dealt with. -

    IRC

    +

    IRC

    Occassionally, someone from the Rivet team is on IRC at irc.freenode.net, channel #tcl.

    1.4 +2 -2 tcl-rivet/doc/html/help.html.ru Index: help.html.ru =================================================================== RCS file: /home/cvs/tcl-rivet/doc/html/help.html.ru,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- help.html.ru 5 Jul 2003 08:33:33 -0000 1.3 +++ help.html.ru 7 Jul 2003 11:10:08 -0000 1.4 @@ -1,4 +1,4 @@ -Ресурсы и как получить помощь

    Ресурсы и как получить помощь

    Mailing Lists

    +Ресурсы и как получить помощь


    Ресурсы и как получить помощь

    Mailing Lists

    Mailing List (список рассылка) - это первейшее место куда надо обращаться за помощью, если, конечно, вы не нашли ответа в документации. Пишите на @@ -25,7 +25,7 @@ http://wiki.tcl.tk Tcl's Wiki, весьма полезный ресурс для задавания вопросов, получения ответов и отвечания на них для тех кто крут. -

    Система отлова ошибок

    +

    Система отлова ошибок

    Apache Rivet использует ВсеАпачную Систему Отлова Ошибок (ВАСОО) http://nagoya.apache.org/bugzilla/. Всякие проблемы пишите сюда, или - что тоже полезно - вы можете выяснить опыт ее решения, если кто-то уже с ней сталкивался. 1.6 +1 -1 tcl-rivet/doc/html/index.html.en Index: index.html.en =================================================================== RCS file: /home/cvs/tcl-rivet/doc/html/index.html.en,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- index.html.en 5 Jul 2003 08:33:33 -0000 1.5 +++ index.html.en 7 Jul 2003 11:10:08 -0000 1.6 @@ -2,7 +2,7 @@ ��

    Damon Courtney


    ��
    -


    +


    This document is also available in the following languages: Russian

    Document reversion: $Revision$, last modified $Date$ by $Author$. 1.5 +1 -1 tcl-rivet/doc/html/index.html.ru Index: index.html.ru =================================================================== RCS file: /home/cvs/tcl-rivet/doc/html/index.html.ru,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- index.html.ru 5 Jul 2003 08:33:33 -0000 1.4 +++ index.html.ru 7 Jul 2003 11:10:08 -0000 1.5 @@ -2,7 +2,7 @@ ����������
    ��������

    Damon Courtney


    ����������
    -��������

    Russian Translation: Dmitry the Zuryanovich


    +��������

    Russian Translation: Dmitry the Zuryanovich


    This document is also available in the following languages: English

    This document is based on version 1.20 of the original English version.


    Введение в Apache Rivet

    1.5 +3 -3 tcl-rivet/doc/html/internals.html.en Index: internals.html.en =================================================================== RCS file: /home/cvs/tcl-rivet/doc/html/internals.html.en,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- internals.html.en 5 Jul 2003 08:33:33 -0000 1.4 +++ internals.html.en 7 Jul 2003 11:10:08 -0000 1.5 @@ -3,7 +3,7 @@ code is removed, and changes are made. The best place to look is the source code itself. If you are interested in the changes themselves FIXME. -

    Initialization

    +

    Initialization

    When Apache is started, (or when child Apache processes are started if a threaded Tcl is used), Rivet_InitTclStuff is called, which @@ -14,7 +14,7 @@ executes Rivet's init.tcl. The caching system is also set up, and if there is a GlobalInitScript, it is run. -

    RivetChan

    +

    RivetChan

    The RivetChan system was created in order to have an actual Tcl channel that we could redirect standard output to. This lets us use, for instance, the @@ -24,7 +24,7 @@ Tcl's regular standard output is replaced with an instance of this channel type, so that, by default, output will go to the web page. -

    Page Parsing, Execution and Cacheing

    +

    Page Parsing, Execution and Cacheing

    When a Rivet page is requested, it is transformed into an ordinary Tcl script by parsing the file for the <? ?> processing instruction tags. Everything outside these tags 1.4 +3 -3 tcl-rivet/doc/html/internals.html.ru Index: internals.html.ru =================================================================== RCS file: /home/cvs/tcl-rivet/doc/html/internals.html.ru,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- internals.html.ru 5 Jul 2003 08:33:33 -0000 1.3 +++ internals.html.ru 7 Jul 2003 11:10:08 -0000 1.4 @@ -2,7 +2,7 @@ Эта секция давно устарела, поскольку новый код добавляется, а старый убирается. Так что лучше читайте исходники - они рулез!. И вообще если хотите чего-нибудь написать - FIXME. -

    Инициализация

    +

    Инициализация

    Когда apavhe запускается (или когда запускается использующий TCL дочерний процесс Apache ), вызывается Rivet_InitTclStuff, @@ -15,7 +15,7 @@ init.tcl. Система кеширования, опять же, и если есть GlobalInitScript, то и он запускается. -

    RivetChan

    +

    RivetChan

    Система RivetChan была создана для того чтобы перенаправлять стандартный поток вывода (stdout). По этой причине вы можете использовать стандартную команду @@ -23,7 +23,7 @@ (примечание переводчика: и fconfigure тоже, что полезно). Она также создает канал который буферизует output, и перенаправляет его в систему ввода-вывода Apache. -

    Обработка страниц, выполнение и кеширование

    +

    Обработка страниц, выполнение и кеширование

    Когда выполняется Rivet страница, она превращается в обычный Tcl скрипт, опираясь на символы <? ?>. Все что вне их рассматривается как большой большой аргумент для 1.5 +2 -2 tcl-rivet/doc/html/upgrading.html.en Index: upgrading.html.en =================================================================== RCS file: /home/cvs/tcl-rivet/doc/html/upgrading.html.en,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- upgrading.html.en 5 Jul 2003 08:33:33 -0000 1.4 +++ upgrading.html.en 7 Jul 2003 11:10:08 -0000 1.5 @@ -5,8 +5,8 @@ compatibility was not a primary goal when creating Rivet, but we do provide this information which may be of use to those wishing to upgrade from mod_dtcl or NWS installations. -

    mod_dtcl

    +

    mod_dtcl

    Rivet was originally based on the dtcl code, but it has changed (improved!) quite a bit. The concepts remain the same, but many of the commands have changed. -

    NeoWebScript

    TODO

    +

    NeoWebScript

    TODO

    1.4 +2 -2 tcl-rivet/doc/html/upgrading.html.ru Index: upgrading.html.ru =================================================================== RCS file: /home/cvs/tcl-rivet/doc/html/upgrading.html.ru,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- upgrading.html.ru 5 Jul 2003 08:33:33 -0000 1.3 +++ upgrading.html.ru 7 Jul 2003 11:10:08 -0000 1.4 @@ -2,7 +2,7 @@ Обратная совместимость не была никогда особой целью разработчиков, но мы ее все равно предоставляем по историческим причинам и с учетом пожеланий тех кто переключается на Rivet с mod_dtcl и NeoWebScript (NWS). -

    mod_dtcl

    +

    mod_dtcl

    Rivet базируется на коде mod_dtcl, но достаточно хорошо переработан. Основная идея осталась та же, но большое количетво команд изменилось. -

    NeoWebScript

    Потом.

    +

    NeoWebScript

    Потом.

    --------------------------------------------------------------------- To unsubscribe, e-mail: rivet-cvs-unsubscribe@tcl.apache.org For additional commands, e-mail: rivet-cvs-help@tcl.apache.org