hypweb.net
XOOPSマニア  最新情報のRSS(サイト全体)
[ 自宅サーバーWebRing |ID=54 前後5表示乱移動サイト一覧 ]

TOP » xpwiki » calendar xpWiki開発日記/2007.10
Archives
2006
1 2 3 4 5 6 7 8 9 10 11 12
2007
1 2 3 4 5 6 7 8 9 10 11 12
2008
1 2 3 4 5 6 7 8 9 10 11 12
2009
1 2 3 4 5 6 7 8 9 10 11 12
2010
1 2 3 4 5 6 7 8 9 10 11 12
2011
1 2 3 4 5 6 7 8 9 10 11 12
2012
1 2 3 4 5 6 7 8 9 10 11 12
2013
1 2 3 4 5 6 7 8 9 10 11 12
2014
1 2 3 4 5 6 7 8 9 10 11 12
2017
1 2 3 4 5 6 7 8 9 10 11 12
<< 2007.10 >>
[xpWiki開発日記]
  1 2 4 5 6
7 8 9 10 11 13
14 16 17 20
22 23 24 25 27
28 29 30 31      
 

Ver 3.27 (JavaScriptによるリサイズ可能化など) anchor.png Edit

script.aculo.us の Dragable を使い、Wikiヘルパーを、ドラッグ可能にしてみたところ、リサイズもできるようにしたいと思ったので、JavaScript の汎用クラス Resizable を書き、とりあえず Wikiヘルパー(横方向のみ)、編集TextArea(縦横方法)とAjaxプレビューエリア(縦方向のみ)に適用してみました。 :-D

実際には、JavaScript で new Resizable([ElementID], [Mode(x|y|xy)]); とすれば、リサイズができるようになります。(Mode: x=横方向のみ, y=縦方向のみ, xy=縦横方向)

とは言っても、現状は Element に指定できるのは、DIV, TEXTAREA のみです。

その他、Ver 3.26.2 として、WhatsNew モジュールプラグインのタイムスタンプがずれることがある問題を修正をしました。

Page Top

CVS 更新内容 anchor.png Edit

  • 2007-10-03 21:43 nao-pon
    • * xoops_version.php (1.199):
      • Version 3.27
  • 2007-10-03 21:43 nao-pon
    • * class/func/pukiwiki_func.php (1.122), plugin/edit.inc.php (1.41), skin/css/main.css (1.2), skin/css/wikihelper.css (1.3), skin/js/default.en.js (1.7), skin/js/default.ja.js (1.7), skin/js/default.ja_utf8.js (1.6), skin/js/gecko.js (1.7), skin/js/loader.js (1.1), skin/js/main.js (1.21), skin/js/winie.js (1.6):
      • Edited for use to resizable.js & loader.js.
  • 2007-10-03 21:39 nao-pon
    • * skin/js/resizable.js (1.1):
      • resizable.js. JavaScript resaizable element class.
  • 2007-10-03 21:34 nao-pon
    • * skin/js/: dragdrop.js (1.1), effects.js (1.2):
      • script.aculo.us effects.js v1.7.1_beta3
  • 2007-10-01 08:32 nao-pon
    • * xoops_version.php (1.198):
      • Version 3.26.2
  • 2007-10-01 08:28 nao-pon
    • * class/extension/whatsnew.php (1.9):
      • Bugfixed about timestamp problem of whatsnew plugin. See (xoops.hypweb.net)
Page Top

一行コメント anchor.png Edit



 

Ver 3.28 (ページポップアップ機能など) anchor.png Edit

Page Top

JavaScript によるページポップアップ機能 anchor.png Edit

JavaScript によるページポップアップ機能を追加しました。ページ編集時の「テキスト整形のルールを表示する」リンクに適用されています。

また、この機能の動作サンプルとして、pagepopup (インライン)プラグインを新規追加しました。

&pagepopup([ページ名]); と記述すると、そのリンクは JavaScript を利用したページポップアップになります。JavaScript が無効のクライアントは通常のリンクとして機能します。

例) &pagepopup(Help); -> Help

また、Wikiレンダラーモードにて、すべてのページリンクをポップアップリンクとする設定を pukiwiki.ini.php に追加しました。

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
// ページリンクをポップアップにする
// All page link uses popup.
$root->render_popuplink = 0;
 
$root->render_popuplink_position = array(
    // Array values are value of the CSS.
    'top'    => '',
    'bottom' => '',
    'left'   => '',
    'right'  => '',
    'width'  => '',
    'height' => ''
);
Page Top

オートリンクの適用を英単語単位に anchor.png Edit

英単語途中の文字列には、オートリンクが効かないようにしました。

例えば、この xpWiki には、Help というページがあるので、Help という文字列にオートリンクされます。これまでは、Helper という文字列中の Help にもマッチしてオートリンクされていましたが、今回のバージョンからは、単語中の文字列にはマッチしないようになりました。

ただし、日本語は単語としての区切りの判定が困難なため、この限りではありません。

Page Top

主な更新内容 anchor.png Edit

  • 英単語単位のオートリンクに変更
  • キャッシュファイル名の生成を MD5 から SHA1 に変更
  • JavaScript によるページポップアップ機能を追加
  • resizable.js のメンテナンス
  • EncodeHint をシステムの文字エンコーディングにより設定するようにした。
  • CSS を JavaScript より先に読み込むように変更
  • レンダラーモードにおいてすべてのページリンクをポップアップにする設定を追加
  • pagepopup プラグインの追加
  • レンダラーモードの添付ファイル機能を修正
  • 連続する英数文字の折り返し方法を調整(referer.inc.php)
  • 1日に1回程度、レンダラーモードの古いキャッシュファイルを削除するようにした。
Page Top

CVS 更新内容 anchor.png Edit

  • 2007-10-12 17:51 nao-pon
    • * xoops_version.php (1.203):
      • Version 3.28
  • 2007-10-12 17:49 nao-pon
    • * ways/bgrun.php (1.3):
      • Added unlink old render caches function.
  • 2007-10-12 17:10 nao-pon
    • * loader.php (1.21):
      • Added replaces word '$module_url'.
  • 2007-10-12 17:08 nao-pon
    • * skin/: css/main.css (1.5), js/xpwiki.js (1.1):
      • Added a page popup function by the JavaScript.
  • 2007-10-12 17:08 nao-pon
    • * plugin/referer.inc.php (1.6):
      • Coordinated the method of the word wrap.
  • 2007-10-12 17:07 nao-pon
    • * plugin/ref.inc.php (1.15):
      • Changed it to read CSS earlier than a JavaScript.
      • Bugfixed the attached file function of the renderer mode.
  • 2007-10-12 17:07 nao-pon
    • * plugin/pginfo.inc.php (1.17):
      • Changed it to read CSS earlier than a JavaScript.
  • 2007-10-12 17:07 nao-pon
    • * plugin/pagepopup.inc.php (1.1):
      • Added the pagepopup plugin. (pagepopup.inc.php)
  • 2007-10-12 17:06 nao-pon
    • * plugin/edit.inc.php (1.43), skin/js/calendar9.js (1.4), skin/js/main.js (1.23), skin/js/resizable.js (1.3):
      • Maintenance of resizable.js.
  • 2007-10-12 17:05 nao-pon
    • * plugin/api.inc.php (1.4):
      • Changed the generation of the cache file name by SHA1 from MD5.
  • 2007-10-12 17:05 nao-pon
    • * ini/pukiwiki.ini.php (1.51):
      • Added setting to make all page links popup in renderer mode.
  • 2007-10-12 17:04 nao-pon
    • * class/func/xpwiki_func.php (1.103):
      • Set EncodeHint by the character encoding of the system.
      • Changed it to read CSS earlier than a JavaScript.
  • 2007-10-12 17:03 nao-pon
    • * class/func/xoops_wrapper.php (1.38), class/include/init.php (1.30), lang/EUC-JP.lng.php (1.1), lang/ISO-8859-1.lng.php (1.1), lang/UTF-8.lng.php (1.1), lang/en.lng.php (1.21), lang/ja.lng.php (1.21), lang/ja_utf8.lng.php (1.8):
      • Set EncodeHint by the character encoding of the system.
  • 2007-10-12 17:02 nao-pon
    • * class/func/pukiwiki_func.php (1.123):
      • Changed it in the automatic link of the English word unit.
      • Added a page popup function by the JavaScript.
      • Maintenance of resizable.js.
  • 2007-10-12 17:00 nao-pon
    • * class/xpwiki.php (1.56):
      • Changed the generation of the cache file name by SHA1 from MD5.
      • Added a page popup function by the JavaScript.
      • Changed it to read CSS earlier than a JavaScript.
  • 2007-10-12 16:59 nao-pon
    • * class/root.php (1.11):
      • Added a page popup function by the JavaScript.
  • 2007-10-12 16:58 nao-pon
    • * class/ext_autolink.php (1.18):
      • Changed it in the automatic link of the English word unit.
      • Changed the generation of the cache file name by SHA1 from MD5.
Page Top

一行コメント anchor.png Edit



 

Ver 3.29 - 3.29.2 (JavaScriptの読み込みを改善など) anchor.png Edit

フォーラムで指摘のあった以下の2点の修正

ついでに、JavaScript の読み込みを default.[LANG].js 一本にまとめました。

※ ブラウザのキャッシュ更新が必要です。リロードするなどしてブラウザに保存されているキャッシュを更新してください。

Page Top

CVS 更新内容 anchor.png Edit

  • 2007-10-15 18:00 nao-pon
    • * xoops_version.php (1.207):
      • Version 3.29.2
  • 2007-10-15 17:59 nao-pon
    • * class/func/pukiwiki_func.php (1.125):
      • Enable "root->static_url" on page_list().
  • 2007-10-15 17:27 nao-pon
    • * xoops_version.php (1.206):
      • Version 3.29.1
  • 2007-10-15 17:27 nao-pon
    • * ways/bgrun.php (1.4):
      • Simplify.
  • 2007-10-15 14:33 nao-pon
    • * xoops_version.php (1.205):
      • Version 3.29
  • 2007-10-15 14:32 nao-pon
    • * class/func/xpwiki_func.php (1.104):
      • Moved loading "xpwiki.js" to main.js.
  • 2007-10-15 14:31 nao-pon
    • * skin/js/loader.js (1.2):
  • 2007-10-15 14:30 nao-pon
    • * skin/js/main.js (1.24):
      • Added var XpWikiEncHint = '$encode_hint';
  • 2007-10-15 14:30 nao-pon
    • * loader.php (1.22):
      • Added replaces word "$encode_hint".
      • Changed about to get "$wikihelper_root_url".
      • Clean up.
Page Top

一行コメント anchor.png Edit



 

Ver 3.29.3 - 3.29.5 (JavaScript関連など) anchor.png Edit

  • Ajax編集時に、EUC-JP環境で "〜" が "〜" に化ける問題を修正した。
  • 言語ファイル中の "〜" がIEでは文字化けをするので文字実体参照にした。
  • prototype.js, scriptaculous を SVN 最新版にアップデートした。
  • loader.php での "zlib" のチェック方法を変更した。
  • 英語環境のイニシャルデータに FormattingRules ページを追加した。
Page Top

CVS 更新内容 anchor.png Edit

  • 2007-10-18 14:16 nao-pon
    • * xoops_version.php (1.210):
      • Version 3.29.5
  • 2007-10-18 14:16 nao-pon
    • * class/extension/whatsnew.php (1.10):
      • Check is_page($uppage).
  • 2007-10-18 14:15 nao-pon
    • * skin/js/: dragdrop.js (1.2), effects.js (1.3), prototype.js (1.5), scriptaculous.js (1.2):
      • Updated from SVN. ( (dev.rubyonrails.org) )
  • 2007-10-18 08:07 nao-pon
    • * xoops_version.php (1.209):
      • Version 3.29.4
  • 2007-10-18 08:07 nao-pon
    • * skin/js/: lightbox.js (1.11), main.js (1.25):
      • Edit for prototype.js 1.6.0_rc1.
  • 2007-10-18 08:06 nao-pon
    • * loader.php (1.23):
      • Changed checking from "function_exists('gzencode')" to "extension_loaded('zlib')".
  • 2007-10-17 16:20 nao-pon
    • * xoops_version.php (1.208):
      • Version 3.29.3
  • 2007-10-17 12:15 nao-pon
    • * InitialData/en/wiki/466F726D617474696E6752756C6573.txt (1.1):
  • 2007-10-17 12:14 nao-pon
    • * InitialData/: ja/cache/recent.dat (1.2), en/cache/recent.dat (1.2):
      • Remove.
  • 2007-10-17 12:00 nao-pon
    • * skin/js/prototype.js (1.4):
      • Update to Ver. 1.6.0_rc1
  • 2007-10-17 11:59 nao-pon
    • * lang/plugin/: dump.ja.php (1.2), dump.ja_utf8.php (1.2), isbn.ja.php (1.2), isbn.ja_utf8.php (1.2):
      • Edited for MOJIBAKE on IE.
  • 2007-10-17 11:59 nao-pon
    • * class/func/xpwiki_func.php (1.105):
      • Edited for MOJIBAKE on EUC-JP system with JavaScript editing..
Page Top

一行コメント anchor.png Edit



 

Ver 3.30 - 3.30.1(ページポップアップ関連など) anchor.png Edit

  • ポップアップ画面で編集した後、ポップアップ画面にとどまるようにした。
  • sha1() が使えない環境用に代替関数を用意した。
  • pagepopup プラグインにオプション追加。
    • &pagepopup( page[,nocheck]){[alias]};
      • page: $pageと書くと現在ページに置換されます。(ex. :Note/$page)
      • nocheck: 0 or 1 ( 0: ページ存在確認する, 1: ページ存在確認をしない)
      • alias: 表示するテキスト
  • iframe プラグインを追加。
  • pgid アクセス時にその他のパラメーターが効かなくなっていたので、その修正をした。
Page Top

CVS 更新内容 anchor.png Edit

  • 2007-10-19 13:49 nao-pon
    • * xoops_version.php (1.212):
      • Version 3.30.1
  • 2007-10-19 13:49 nao-pon
    • * class/include/init.php (1.32):
      • Fixed enbug (pgid access problem).
  • 2007-10-19 13:22 nao-pon
    • * xoops_version.php (1.211):
      • Version 3.30
  • 2007-10-19 13:21 nao-pon
    • * plugin/iframe.inc.php (1.1), skin/css/iframe.css (1.1):
  • 2007-10-19 13:20 nao-pon
    • * plugin/pagepopup.inc.php (1.2):
      • Added option. &pagepopup( page[,nocheck]){[alias]};
        • page: $page will be replace current page name.
        • nocheck: 0 or 1 ( 0: check page exist, 1: nocheck page exist).
        • alias: display text.
  • 2007-10-19 13:15 nao-pon
    • * include/: compat.php (1.3), compat_sha1.php (1.1):
      • sha1 for PHP < 4.3.0.
  • 2007-10-19 13:14 nao-pon
    • * class/: func/pukiwiki_func.php (1.126), func/xpwiki_func.php (1.106), include/init.php (1.31):
      • Stay in popup mode when page editing on popup mode.
Page Top

一行コメント anchor.png Edit

  •   :-D -- 通りすがりさん編集 2007-10-23 (火) 16:23:32


 

Ver 3.31 (段落レベルでの字下げなど) anchor.png Edit

  • iframe プラグインの Notice エラーを修正(変数未定義)
  • PagePopup で、アンカーリンクを正常に処理できるようにした。
  • ヘッダレベルに応じて、DIV クラス属性 (level[1-5]) を付加するようにした。
    • デフォルトCSS では、レベルに応じた字下げを指定しています。
    • main.css ("_highlight" は、段落編集のハイライト用です。)
      Everything is expanded.Everything is shortened.
       1
       2
       3
       4
       5
       6
       7
       8
       9
      10
      11
      12
      13
      14
      15
      16
      17
      18
      19
      20
      21
      22
      23
      24
      25
      26
      27
      28
      29
      30
      31
      32
      
       
      -
      |
      !
      -
      |
      !
      -
      |
      !
      -
      |
      !
      -
      |
      !
      -
      |
      |
      !
      -
      |
      |
      !
      -
      |
      |
      !
      -
      |
      |
      !
      
      $class div.level1 {}
      $class div.level2 {
          margin-left: 1em;
      }
      $class div.level3 {
          margin-left: 2em;
      }
      $class div.level4 {
          margin-left: 3em;
      }
      $class div.level5 {
          margin-left: 4em;
      }
      $class div.level1_highlight {
          background-color: #ffe4e1;
      }
      $class div.level2_highlight {
          background-color: #ffe4e1;
          margin-left: 1em;
      }
      $class div.level3_highlight {
          background-color: #ffe4e1;
          margin-left: 2em;
      }
      $class div.level4_highlight {
          background-color: #ffe4e1;
          margin-left: 3em;
      }
      $class div.level5_highlight {
          background-color: #ffe4e1;
          margin-left: 4em;
      }
Page Top

CVS 更新内容 anchor.png Edit

  • 2007-10-21 13:32 nao-pon
    • * xoops_version.php (1.213):
      • Version 3.31
  • 2007-10-21 13:32 nao-pon
    • * skin/js/main.js (1.26), class/convert_html.php (1.18), skin/css/main.css (1.7):
      • Set class name (ex. level1, level2...) to each paragraph.
  • 2007-10-21 13:29 nao-pon
    • * class/func/pukiwiki_func.php (1.127), plugin/pagepopup.inc.php (1.3), skin/js/xpwiki.js (1.2):
      • Enabled anchor(hash) in PagePopup JS.
  • 2007-10-21 13:28 nao-pon
    • * plugin/iframe.inc.php (1.2):
      • Initialize $style.
Page Top

一行コメント anchor.png Edit



 

Ver 3.32 - 3.32.2 (比較形式で差分表示など) anchor.png Edit

  • 上位エレメントに右マージンが設定されている textarea にそのマージンが適用されてしまう IE のバグに対する対策。
    • これが原因で、リサイズ用のハンドルがずれて表示される場合があった。
    • 参考: (blog.netscraps.com)
  • ページ編集テキストエリアに、ワードラップをコントロールするボタンを追加。
  • 検索結果からページを表示する場合に、GET クエリにword が付加され、ページが正しく表示されないことがある問題を修正。
  • 差分表示とソース表示を backup プラグインに統合し、差分表示を比較形式で表示できるようにし、バックアップの差分・ソース表示画面から、簡単に復元編集できるようにしました。
    • pukiwiki.ini.php に設定を追加。
      1
      2
      
      // Make backup every time if different user at last time.
      $root->backup_everytime_others = 1;
      • デフォルトで、前回と違うユーザーが編集した場合は、root->cycle の設定に関わらず、バックアップを作成するようにしました。
Page Top

CVS 更新内容 anchor.png Edit

  • 2007-10-26 17:27 nao-pon
    • * xoops_version.php (1.217):
      • Version 3.32.2
  • 2007-10-26 17:26 nao-pon
    • * class/func/pukiwiki_func.php (1.130):
      • Bugfixed. could not edit last backup as current.
  • 2007-10-26 16:30 nao-pon
    • * xoops_version.php (1.216):
      • Version 3.32.1
  • 2007-10-26 16:30 nao-pon
    • * plugin/backup.inc.php (1.8), skin/image/png/page_white_edit.png (1.1), skin/image/png/page_white_text.png (1.1):
      • Added view source link icon.
  • 2007-10-26 16:29 nao-pon
    • * plugin/edit.inc.php (1.45):
      • Chenged backup pram check from isset() to !empty().
  • 2007-10-26 16:28 nao-pon
    • * class/func/xpwiki_func.php (1.108):
      • Changed html escape in compare_diff_pre(). ( htmlspecialchars -> only "<", ">" replace).
  • 2007-10-26 11:42 nao-pon
    • * lang/en.lng.php (1.23):
      • Mistake :-P
  • 2007-10-26 11:01 nao-pon
    • * xoops_version.php (1.215):
      • Version 3.32
  • 2007-10-26 11:01 nao-pon
    • * plugin/edit.inc.php (1.44):
      • Added word wrap control button on edit form.
      • Included diff view and source view in backup plugin for display comparison by difference.
  • 2007-10-26 11:00 nao-pon
    • * class/func/pukiwiki_func.php (1.129), class/func/xpwiki_func.php (1.107), include/DifferenceEngine.php (1.1), ini/pukiwiki.ini.php (1.52), lang/en.lng.php (1.22), lang/ja.lng.php (1.22), lang/ja_utf8.lng.php (1.9), plugin/backup.inc.php (1.7), plugin/recentchanges.inc.php (1.11), skin/css/compare_diff.css (1.1), skin/image/png/compare_diff.png (1.1):
      • Included diff view and source view in backup plugin for display comparison by difference.
  • 2007-10-26 10:51 nao-pon
    • * class/include/init.php (1.33):
      • Fixed GET parm 'word' problem.
  • 2007-10-26 10:37 nao-pon
    • * class/convert_html.php (1.19):
      • Fixed typo.
  • 2007-10-26 10:36 nao-pon
    • * skin/js/: default.en.js (1.8), default.ja.js (1.8), default.ja_utf8.js (1.7), main.js (1.27), xpwiki.js (1.3):
      • Added word wrap control button on edit form.
  • 2007-10-26 10:31 nao-pon
    • * skin/js/resizable.js (1.4):
      • Edited for IE CSS bug. See (blog.netscraps.com)
Page Top

一行コメント anchor.png Edit




トップ 印刷に適した表示   ページ新規作成 全ページ一覧 単語検索 最新ページの一覧   ヘルプ   最新ページのRSS 1.0 最新ページのRSS 2.0 最新ページのRSS Atom Powered by xpWiki
このページのTopへ
メインメニュー
ログイン

ユーザー名:


パスワード:





パスワード紛失  |新規登録
オンライン状況
558 人のユーザが現在オンラインです。 (64 人のユーザが xpwiki を参照しています。)

登録ユーザ: 0
ゲスト: 558

もっと...
サイト情報