From dfc1de2d6b2cef8516a65193e73dfdb6eeef29fb Mon Sep 17 00:00:00 2001 From: fukachan Date: Sat, 2 Feb 2002 07:03:27 +0000 Subject: rearrange todo and memo files --- regress/simulation/.cvsignore | 2 - regress/simulation/00_MEMO | 377 ++++++++++++++++++++++++++++++++++++++ regress/simulation/11_IMPORT_FML4 | 73 ++++++++ regress/simulation/TODO | 81 -------- 4 files changed, 450 insertions(+), 83 deletions(-) create mode 100644 regress/simulation/00_MEMO create mode 100644 regress/simulation/11_IMPORT_FML4 delete mode 100644 regress/simulation/TODO diff --git a/regress/simulation/.cvsignore b/regress/simulation/.cvsignore index 211cfd7d..319e07ac 100644 --- a/regress/simulation/.cvsignore +++ b/regress/simulation/.cvsignore @@ -1,5 +1,3 @@ -00_MEMO -MEMO __scan__ reset_lib.sh w diff --git a/regress/simulation/00_MEMO b/regress/simulation/00_MEMO new file mode 100644 index 00000000..a55e5d1c --- /dev/null +++ b/regress/simulation/00_MEMO @@ -0,0 +1,377 @@ + 雑多なメモ + Last Modified: $Date$ + + +○ $curproc->{ main_cf } のパラメータをむやみに/気軽によびだしてはいけない。 + きちんとしたアクセスメソッドを用意するべきである。 + + +○ IO::Adapter::find() の定義を考え直せ + + lib/FML/Command/Admin/newml.pm + +はこれからだけど、↓このへんで IO::Adapter::find() を使ってるけど、返 +される値の期待は OK (修正したはず)? + + + IO/Adapter/DBI.pm:271: my $a = $self->find($regexp, { want => 'key', all => 1}); + + + FML/Command/Admin/newml.pm:74: my $path = $obj->find("^$ml_name"); + + + +○ IO::Adapter::get_XXX() の定義を考え直せ + + IO/Adapter/DBI.pm:182: $self->get_next_key($args); + + +○ ドキュメンテーションのチェック 2001 last + + ErrorStatus.pm + IO/Adapter/ErrorStatus.pm + Mail/Delivery/ErrorStatus.pm + + +○ 未完成だ + + (perl -cw に引っかかる) + + FML/Filter/BodyCheck.pm + FML/Filter/TrafficMonitor.pm + ../img/lib/IM/EncDec.pm + + +○ @EXPORT @EXPORT_OK をやめたい + + +○ サーチするキーに対して quotemeta() を + + +○ Mail::ThreadTrack のドキュメントなどはよく見直すべき(?) + + +○ まちがってない? + + Mail::Delivery::ESMTP の new() + + +○ FML::Language:: はどうよ + + これ自体はまぁいいとはおもうけど、他のモジュールで使うにはちょっと + うとおしいくらい深くないか? + + Srting::is_japanese_string() + + などをトップレベルインターフェイスにするべきじゃないかな + + +○ FML::Filter::Utils は FML::Restriction へ移動ですかね? + + +○ FML::Process::Kernel FML::Process::Distribute + + そのうちゆっくりみなおしてみたいですな + + +○ ファイルを用意しただけやんシリーズ;) + これから改造するので、ほとんど未修正のままのこす + + FML::Process::Qmail + FML/Filter/TrafficMonitor.pm + IO::Adapter::LDAP + + +○ 名前を再考するべき? + + FML::Process::Scheduler は紛らわしいのでやめるべきか? + + FML::Process::TinyScheduler ? + FML::Process::Demo::Scheduler ? + +○ あれ? + + FML/Command/SendFile.pm の ErrorStatus いらないよね? + + +○ FML::MIME は使われてないので削除した + + Mail::Message::Decode + Mail::Message::Encode + + の2つに分離された + + +○ コマンドがロックをひつようとするか?などは + アクセスメソッドで処理するべきだ + -> FML::Command::Attribute を削除するべき + + +○ makefml htmlify elena srdir=DIR dstdir=DIR + だけオプションのスタイルが違うのは問題じゃないかい? + + +○ FML::Command::Admin::get はこわれてる + + 半分直した + + ところで、誰に送信するんじゃ? :-) って、そうか、makefml じゃ + なくて admin コマンドの時は考えなくてもいいからだな、それは … + + +○ パフォーマンステスト + + * loader 自体のコスト + + perl -w + v5.6.1 built for i386-netbsd 遅いマシンですなぁ;) + on Pentium 100, 128M memory + + loader on /tmp (MFS) + + 0.698u 0.049s 0:00.79 92.4% 0+0k 1+10io 1pf+0w + 0.678u 0.068s 0:00.75 97.3% 0+0k 0+12io 0pf+0w + 0.672u 0.060s 0:00.76 96.0% 0+0k 0+1io 0pf+0w + + +○ HTML 化するコード + +むずかしいわけだ、 + + + + + + + (3) + + + + (4) + + + + +となっているときに (3) の next_thread はいつ次のリンクがわかるのか? +予言できない。過去に向かってスレッドを修正するアルゴリズムなので、 +過去の修正がいつ行なわれるかは良くわからないのでした ;) + +(4) が来た時に (3) を修正するべき? + +とりあえず、すれっど全部のファイルに修正を試みるべきだ。 +ろーかるな更新は、あまりよい結果にならないようだ。 + + +============================================================================== +[付録] 仕えそうなモジュール? + + +Tie::Persistent_hash - persistent hash + + + If you use the line + + use Tie::STDERR; + + at the start of your script (and maybe CGI script), any output + that would go to STDERR will be sent by email to root. You can + specify the recipient, for example + + use Tie::STDERR 'adelton'; + + +======================================= +Tie::TransactHash README + + + This is the Tie::TwoLevelHash module. It is a TIEHASH + interface which lets you tie to a text file which is a + multi-dimensional (two level) hash. + + To use it, tie a hash to a directory: + + # Open in read/write mode + tie(%hash, 'Tie::TwoLevelHash', $file, 'rw'); + + +======================================= +HTML::CGIChecker + + + +======================================= +HTML::DynamicTemplate - HTML template class. + + +======================================= +HTML::Template - a Perl module to use HTML Templates + + +======================================= +HTML/EasyTemplate version Version 0.985 + + +======================================= +HTML::Subtext - Perform text substitutions on an HTML template + + SYNOPSIS + use HTML::Subtext; + %context = ( ... ); # Hash of names to substitution text + $p = HTML::Subtext->new('CONTEXT' => \%context); + $p->parse_file("template.html"); + + +======================================= +HTML::WWWTheme + + + HTML::WWWTheme is a module that creates a standard header and + footer for HTML pages. This header includes tags, and + is designed to wrap around valid body HTML. + +======================================= +HTML::WebMake + + WebMake is a simple content management system, based around a + templating system for HTML documents, with lots of built-in + smarts about what a "typical" informational website needs in + the way of functionality; metadata, sitemapping, navigational + aids, and (of course) embedded perl code. ;) + + + +======================================= +HTML::Summary + + The HTML::Summary module produces summaries from the textual + content of web pages. It does so using the location heuristic, + which determines the value of a given sentence based on its + position and status within the document; for example, + headings, section titles and opening paragraph sentences may + be favoured over other textual content. A LENGTH option can be + used to restrict the length of the summary produced. + + This distribution contains the HTML::Summary module, and some + supporting modules. The full list of modules is: + + +======================================= +HTML::FromText - mark up text as HTML + + use HTML::FromText; + print text2html($text, urls => 1, paras => 1, headings => 1); + + +================ +use HTML::PageIndex; + + $foo = new HTML::PageIndex; + + +================ +HTML::Stream + + This a lightweight form generation module, which can be used + with either CGI.pm (version 2 or 3), or (inside mod_perl) + Apache::Request. The module provides similar facilities to + CGI.pm's HTML tag generation routines, but is restricted to + form field generation tags, with sticky values. Also, the + interface is not so flexible as CGI.pm's, in order to keep the + code size down. + + +================ +HTML::STable - Create HTML tables using SIMPLE interface. + + + STable name driven from Simple Table. + + +================ +HTML::Pager - Perl module to handle CGI HTML paging of arbitary data + + + This module handles the paging of data coming from an + arbitrary source and being displayed using HTML::Template and + CGI.pm. It provides an interface to pages of data similar to + many well-known sites, like altavista.digital.com or + www.google.com. + + This module uses HTML::Templateto do all its HTML generation. + While it is possible to use this module without directly using + HTML::Template, it's not very useful. Modification of the + look-and-feel as well as the functionality of the resulting + HTML should all be done through HTML::Template objects. Take + a look at the the HTML::Template perldocs for more info. + + + +================ +HTML::Navigation + + + HTML::Navigation is Perl module for creating navigation + bars/menus of arbitrary design and structure within HTML + documents. + + +================ +Mason + + elcome 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. + + See http://www.masonhq.com/ for more information. + + + +================ +HTML::Widgets::Menu - Builds an HTML menu + + +================ +PCB + + 129: my $header = $curproc->{ incoming_message }->{ header }; + 214: my $header = $curproc->{ incoming_message }->{ header }; + 249: my $header = $curproc->{ incoming_message }->{ header }; + 389: my $header = $curproc->{ incoming_message }->{ header }; + + 250: my $body = $curproc->{ incoming_message }->{ body }; + + 182: my $header = $curproc->{ article }->{ header }; + 1045: my $header = $curproc->{ article }->{ header }; + + + 131: my $pcb = $curproc->{ pcb }; + 373: my $pcb = $curproc->{ pcb }; + 473: my $pcb = $curproc->{ pcb }; + + 474: my $db_type = $curproc->{ ticket_db_type } || 'AnyDBM_File'; + + 1091: $self->set_status($curproc, { + + + +---------------------------------------------------------------------- +TODO + + ->data() ではなく ->data_in_body_part() をつかうべし? + + lib/FML/Process/Command.pm: my $body = $curproc->{ incoming_message }->{ body }->data_in_body_part; + + lib/FML/Filter/BodyCheck.pm: my $buf = $first_msg->data; + lib/FML/Filter/BodyCheck.pm: my $buf = $first_msg->data; + lib/FML/Filter/BodyCheck.pm: my $buf = $first_msg->data; + + lib/Mail/Message.pm: $self->data_in_body_part(@_[1 .. $#_]); + lib/Mail/Message.pm:sub data_in_body_part + lib/Mail/Message.pm: $body = $m->data_in_body_part(); + + lib/Mail/Bounce/DSN.pm: my $data = $m->data; + + +---------- +$FML$ diff --git a/regress/simulation/11_IMPORT_FML4 b/regress/simulation/11_IMPORT_FML4 new file mode 100644 index 00000000..a9acc4ca --- /dev/null +++ b/regress/simulation/11_IMPORT_FML4 @@ -0,0 +1,73 @@ +kern/fml.pl 13.30 + kern/libenvf.pl 1.46 done + kern/libenvfsubr.pl 0.62 done +kern/liblmtp.pl 0.24 + kern/libloadconfig.pl 2.12 removed + kern/libsmtp.pl 4.22 done + kern/libsmtphack.pl 0.39 removed? + + * OUTGOING_ADDRESS is needed ? + + kern/libsmtpmci.pl 0.29 done + kern/libsmtpsubr.pl 0.70 done/removed + kern/libsmtpsubr2.pl 0.37 done? + kern/libsmtputils.pl 1.22 done? + + * DoGenerateHeader() is not yet ? + + kern/libtrap.pl 0.23 removed +kern/msend.pl 3.42 + proc/libMIME.pl 0.73 done +proc/libamctl.pl 5.14 + proc/libarchive.pl 0.47 scheduled in the future ? + proc/libcksum.pl 0.57 done + proc/libconfirm.pl 3.99 done (half done?) + proc/libcrosspost.pl 1.17 removed +proc/libcrypt.pl 0.98 + proc/libdatabases.pl 0.72 done + proc/libdebug.pl 0.53 removed? + proc/libdist.pl 2.03 done? +proc/libdisthack.pl 1.25 +proc/liberror.pl 0.38 +proc/libexpire.pl 0.66 +proc/libfml.pl 6.13 + proc/libfop.pl 4.59 removed + proc/libhtmlsubr.pl 1.77 half done (Mail::HTML::Lite) + proc/liblibrary.pl 1.33 removed? + proc/liblock.pl 0.32 removed + proc/liblogmail.pl 0.22 removed + proc/liblop.pl 1.16 removed + + * summary (search + restricted summary) + + proc/libmakefml.pl 0.19 removed + proc/libmd5.pl 0.25 done + proc/libmesgle.pl 1.06 done? + proc/libmgrdom.pl 0.24 removed + proc/libmladdr.pl 0.20 removed + proc/libmodedef.pl 1.12 removed +proc/libmoderated.pl 1.86 + proc/libmodeutils.pl 0.64 removed? +proc/libmti.pl 2.03 + proc/libnewsyslog.pl 0.69 done +proc/libpgp.pl 2.74 + proc/libpop.pl 0.98 removed? +proc/libqmail.pl 0.19 +proc/libra.pl 6.35 + proc/librcs.pl 0.27 removed? + proc/librelayhack.pl 0.37 removed + proc/libremote.pl 0.06 removed + proc/librfc1153.pl 0.81 removed + proc/libsendfile.pl 4.08 removed almost + proc/libsmtpsd.pl 0.43 removed + proc/libstardate.pl 0.21 done + proc/libsynchtml.pl 7.80 half done (Mail::HTML::Lite) + proc/libtagdef.pl 0.48 done? + proc/libutils.pl 2.27 done? + + * TarZXF() needed ? + * system() needed ? + * daemon() needed ? + + proc/libviruschk.pl 0.39 done + proc/libwhois.pl 1.53 removed diff --git a/regress/simulation/TODO b/regress/simulation/TODO deleted file mode 100644 index 311eb0bb..00000000 --- a/regress/simulation/TODO +++ /dev/null @@ -1,81 +0,0 @@ -ドキュメンテーションのチェック 2001 last - - ErrorStatus.pm - IO/Adapter/ErrorStatus.pm - Mail/Delivery/ErrorStatus.pm - -------------------------------------------------------- - -kern/fml.pl 13.30 - kern/libenvf.pl 1.46 done - kern/libenvfsubr.pl 0.62 done -kern/liblmtp.pl 0.24 - kern/libloadconfig.pl 2.12 removed - kern/libsmtp.pl 4.22 done - kern/libsmtphack.pl 0.39 removed? - - * OUTGOING_ADDRESS is needed ? - - kern/libsmtpmci.pl 0.29 done - kern/libsmtpsubr.pl 0.70 done/removed - kern/libsmtpsubr2.pl 0.37 done? - kern/libsmtputils.pl 1.22 done? - - * DoGenerateHeader() is not yet ? - - kern/libtrap.pl 0.23 removed -kern/msend.pl 3.42 - proc/libMIME.pl 0.73 done -proc/libamctl.pl 5.14 - proc/libarchive.pl 0.47 scheduled in the future ? - proc/libcksum.pl 0.57 done - proc/libconfirm.pl 3.99 done (half done?) - proc/libcrosspost.pl 1.17 removed -proc/libcrypt.pl 0.98 - proc/libdatabases.pl 0.72 done - proc/libdebug.pl 0.53 removed? - proc/libdist.pl 2.03 done? -proc/libdisthack.pl 1.25 -proc/liberror.pl 0.38 -proc/libexpire.pl 0.66 -proc/libfml.pl 6.13 - proc/libfop.pl 4.59 removed - proc/libhtmlsubr.pl 1.77 half done (Mail::HTML::Lite) - proc/liblibrary.pl 1.33 removed? - proc/liblock.pl 0.32 removed - proc/liblogmail.pl 0.22 removed - proc/liblop.pl 1.16 removed - - * summary (search + restricted summary) - - proc/libmakefml.pl 0.19 removed - proc/libmd5.pl 0.25 done - proc/libmesgle.pl 1.06 done? - proc/libmgrdom.pl 0.24 removed - proc/libmladdr.pl 0.20 removed - proc/libmodedef.pl 1.12 removed -proc/libmoderated.pl 1.86 - proc/libmodeutils.pl 0.64 removed? -proc/libmti.pl 2.03 - proc/libnewsyslog.pl 0.69 done -proc/libpgp.pl 2.74 - proc/libpop.pl 0.98 removed? -proc/libqmail.pl 0.19 -proc/libra.pl 6.35 - proc/librcs.pl 0.27 removed? - proc/librelayhack.pl 0.37 removed - proc/libremote.pl 0.06 removed - proc/librfc1153.pl 0.81 removed - proc/libsendfile.pl 4.08 removed almost - proc/libsmtpsd.pl 0.43 removed - proc/libstardate.pl 0.21 done - proc/libsynchtml.pl 7.80 half done (Mail::HTML::Lite) - proc/libtagdef.pl 0.48 done? - proc/libutils.pl 2.27 done? - - * TarZXF() needed ? - * system() needed ? - * daemon() needed ? - - proc/libviruschk.pl 0.39 done - proc/libwhois.pl 1.53 removed -- cgit v1.2.1