跳到网页内文区。

:::

旅舍更新日志 卷六


日期: 4.21.’06.
  1. 修正 Selima::FormFunc 模组,移除不用的 select_url()select_text() 函式,及不用的引用 URI::EscapeSelima::HTTPSSelima::RelURISelima::ShortCutSelima::DataVars:requri
  2. 修正 Selima::wov::HTML::html_title() 函式,移除不必要的 alt=title= 文字代换。
  3. 修正 logout.cgi ,将 login.php 改正为 login.cgi (虽然现在其实还没有 login.cgi 就是了。)
  4. 修正 Selima::HTTP::http_400() 函式,当传入值 0 时,当成网址格式错乱,改依 Apache 记录的格式记录。
  5. 因为现在输出最后都会使用 page2rel() 转换,所以不需要在输出中途用 reluri() 了:修正 Selima::*::HTMLSelima::*::List::Searchlogout.cgiSelima::ListSelima::FormSelima::Form::LinkCatSelima::List::Public::GuestbookSelima::AltLangSelima::Picture ,移除使用 reluri() 的地方,及对 Selima::RelURI 的引用。
  6. 修正 Selima::Page2Rel::Converter 类别的 cnvtattr() 方法中,引用 absuri() 未加括弧的地方,加上括弧。
  7. 修正 Selima::HTTP 模组,加上 http_410()http_503() 两个函式,调整统一记录讯息。
  8. 更新 Selima::imacat::List::LiteralZhSelima::imacat::List::LtZhPoem 类别,加上 $self->{"COLS_BRIEF"}
  9. 加上 Selima::imacat::Form::LiteralZhSelima::imacat::Form::LtZhPoemSelima::imacat::Checker::LiteralZhSelima::imacat::Checker::LtZhPoemSelima::imacat::Processor::LiteralZhSelima::imacat::Processor::LtZhPoem
  10. 修正 Selima::wov::Form::Newslet ,移除 $coltitle$colauthor 不必要的 h_abbr()
  11. 修正 Selima::Form::MetaCols 类别的 _out_attrs() 方法,在检查 $$_{"name"} 是否为 charset 前先检查 $$_{"name"} 的值是否已定义。

日期: 4.20.’06.
  1. 停用 $MULTILINGUAL 变数,改用 @ALL_LINGUAS 变数判断多语与否;修正 Selima::ProcessorSelima::PageFuncSelima::DestroySelima::UserNameSelima::CheckerSelima::ListSelima::LinksSelima::DataVarsSelima::LastModfSelima::HTTPSelima::GetLangSelima::InitSelima::imacat::HTML
  2. literlzh 改名为 literalzh :修正资料库, literlzh 资料表改名为 literalzhliterlzh.cgi 程式改名为 literalzh.cgi 程式; Selima::imacat::List::LiterlZh 类别改名为 Selima::imacat::List::LiteralZh
  3. 修正女声电子报管理,移除使用 arts 阵列,改用 artcount 变数:修正 newslets.cgi ,移除 $CURRENT{"arts"} ;修正 Selima::wov::Form::Newslet 类别的 _html_col_arts() 方法,使用 $current->param("artcount") ;修正 Selima::wov::Checker::Newslet 类别的 _check_arts() 方法,移除加上 $form->param("arts") 的部份。
  4. 修正 Selima::A2HTML ,加上行首空白的正确处理。
  5. 修正 Selima::HTTP::http_500() 函式,直接使用 @callers 依所处情况处理:停用 $trace@callers 存入整个呼叫环境;剔除没意义的 /dev/nullApache::Registry ;网页显示时以 <samp>…</samp> 标示显示;邮寄通知时加上换行;错误记录时不加上换行。
  6. 修正 Selima::HTTP::http_400()Selima::HTTP::http_403() 函式,改用 <!-- errmsg --> ;可能的话加记录错误原因。
  7. 修正 Selima::HTTP::http_3??() 函式,停用 $url_r$url_h ,改统一用 h($url) 代换,反正后来还需要作 page2rel() ,没有太大的差别;将连结文字原来的网址改为有意义的文字,以符合无障碍网页规范。
  8. 修正 Selima::HTTP::http_405() 函式,停用 $allowd$allowed_h ,改统一用 join() 及常规表示法代换,并正确标示 <samp>…</samp>
  9. 修正 Selima::HTTP::http_???() 函式,将 if (defined $html) 简化为 if (!defined $html) 。现在已经没有必要特别代换了。
  10. 修正 Selima::PageFunc::outpage() ,原用 hcref_encode() 改用 page_encode()
  11. 修正 Selima::*::HTML::html_links_register() 函式,取消 E-mail 编码。
  12. 修正 Selima::wov::HTML::html_nl_index() 函式,全文检索程式的路径改为绝对路径。
  13. 修正 Selima::XHTML ,移除 set_xhtml_content_type() 函式,将 check_xhtml_content_type() 函式改名为 xhtml_content_type() ;修正 Selima::HTTPSelima::Destroy 中引用 check_xhtml_content_type() 的地方。
  14. 修正 Selima::HTTP ,停用不必要的 $charset 变数,直接取得档案类型及字集。
  15. 字集改由输出时再代换:修正 Selima::*::HTMLSelima::ListSelima::FormSelima::List::ActLog ,停用 $charset 变数,改为 <!--selima:charset--> ;修正 Selima::Destroy ,输出时 hcref_encode() 改用 page_encode() ;修正 Selima::Form::MetaCols 类别的 _out_attrs() 方法,栏位名称为 charset 时,作特殊处理。

日期: 4.19.’06.
  1. 修正 Selima::Unicode::is_charset()Selima::Mail::b64hdr_encode() ,在 eval {} 中加上 local $SIG{"__DIE__"}; ,以避免呼叫 http_500()

日期: 4.19.’06.
  1. 修正 Selima::HTTP 处理字集的方式,内部全部将字集代换成代号,以便输出时统一设定字集:修正 get_custom_status_message() ,将页面出现的字集部份代换为 <!--selima:charset--> ,以备后续代换工作;修正 Selima::Unicode::page_encode() ,加上把 <!--selima:charset--> 代换为字集名称;修正 http_???() ,将使用 to_iso88591()hcref_encode() 之处改用 page_encode() ;移除 to_iso88591()
  2. 解决 Big5Big5-Common 两个名字间转换的问题:修正 Selima::SetL10N ,用 Encode::Alias::define_alias()Big5 重订为 Big5-Common ;修正 Selima::*::HTMLSelima::imacat::Processor::Public::GuestbookSelima::SetL10NSelima::DestroySelima::List::ActLogSelima::FormSelima::DecFormSelima::ListSelima::HTTPSelima::UnicodeSelima::LnInfoSelima::GetLang ,移除不必要的 Big5-Common 转换程式码。
  3. 修正 Selima::DecForm 整理候选字集的部份,用较正确的方式剔除重复的字集,在 Big5 字集加上 Big5-ETen ,并将 Big5-HKSCS 分开处理。
  4. 解决每次异动翻译文字,都要重开 Apache 的问题:修正 Selima::SetL10N ,加上自动按 MO 档的修改时间,判断呼叫 reload_text() 重读 MO 档的功能;修正 Selima::Cache ,加上 %SetL10N_checked

日期: 4.18.’06.
  1. 加上 literlzhltzhpoem 两个资料表;加上 Selima::imacat::List::LiterlZhSelima::imacat::List::LtZhPoem 两个类别,及 literlzh.cgiltzhpoem.cgi 两支程式,以处理中文诗。
  2. 修正错误处理函式的设计:在每个程式最前方加上 local $SIG{"__DIE__"} = \&http_500; ,以在 mod_perl 每一次执行做 eval() ,都会设定区域性的错误处理函式;修正 startup.pl ,取消没有用处的 local $SIG{"__DIE__"} = \&http_500;
  3. 修正 Selima::HTTP ,用 caller() 显示每一层呼叫的位置,以利侦错。

日期: 4.13.’06.
  1. 修正 Selima::PageFunc 模组的 rebuildtype_options() 函式,改用 Devel::Symdump 取得重制网页的函式清单,并改用 map()grep()sort() 函式简化一次处理。
  2. 修正 Selima::XHTML 模组,加上 check_xhtml_content_type() 函式,以替代 set_xhtml_content_type() 函式,由使用者的浏览器资料,判断应送出的 MIME 格式;停用 set_xhtml_content_type() 函式;修正 Selima::Destroy 模组,改用 check_xhtml_content_type() 函式,并依纯文字或 HTML 做出较细致的输出前后置处理;修正 Selima::HTTP 模组,改用 check_xhtml_content_type() 函式。

日期: 4.13.’06.
  1. 修正 Selima::List 模组,加上 html_title() 方法以备用。

目录 | 第一页 | 前一页 | 4 | 5 | 6 | 7 | 8 | 下一页 | 最末页