Develop and Download Open Source Software

Browse Subversion Repository

Log of /trunk/teraterm/ttpmacro/ttmdlg.cpp

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Revision:

Revision 10617 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 3 15:15:04 2023 UTC (12 months ago) by zmatsuo
File length: 8127 byte(s)
Diff to previous 10151
lngファイル名変数を ANSI版から Unicode 版へ切り替え

- get_lang_msgW() -> GetI18nStrWW()
- SetDlgTexts() -> SetDlgTextsW()
- SetWinMenu() を SetWinMenuW() に置き換え
  - ttpcmn/ttcmn.c, def

Revision 10151 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Aug 13 14:01:48 2022 UTC (18 months, 3 weeks ago) by zmatsuo
File length: 8214 byte(s)
Diff to previous 9435
ttpmacro.exe 設定ファイル名をUnicode化

- iniファイルパスをUnicode版に入れ替え
  - SetupNameW
- lngファイルパスをUnicode版も準備
  - UILanguageFileW
- HomeDir (ANSI版) 削除

Revision 9435 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Sep 19 15:15:00 2021 UTC (2 years, 5 months ago) by zmatsuo
File length: 8223 byte(s)
Diff to previous 9306
ttpmacro コマンドライン Unicode化

Revision 9306 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jun 12 15:29:32 2021 UTC (2 years, 8 months ago) by zmatsuo
File length: 8140 byte(s)
Diff to previous 9048
TTTSet構造体のファイルを保持するメンバをUnicode化,動的バッファ化した

- common/tttypes.h
- 次のメンバを追加
  - wchar_t *HomeDirW;
  - wchar_t *SetupFNameW;
  - wchar_t *KeyCnfFNW;
  - wchar_t *LogFNW;
  - wchar_t *MacroFNW;
  - wchar_t *UILanguageFileW;
  - wchar_t *UILanguageFileW_ini;
  - 主要なメンバのみ
- 従来の(ANSI文字列版)メンバーも利用可能
  - Unicode版から変換
  - 従来通りのフォルダ名に従来通りのファイル名で使用すれば問題は起きないはず
- Tera Term内部はほとんど従来通り(ANSI文字版)を使用

Revision 9048 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 16 12:24:13 2020 UTC (3 years, 2 months ago) by nmaya
File length: 8122 byte(s)
Diff to previous 8701
ソースファイルの著作権表記の "最後の発行の年" を削除

ticket #40996

Revision 8701 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Apr 11 15:55:43 2020 UTC (3 years, 10 months ago) by zmatsuo
File length: 8126 byte(s)
Diff to previous 8692
tchar.h を include しない

Revision 8692 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Apr 11 15:54:28 2020 UTC (3 years, 10 months ago) by zmatsuo
File length: 8146 byte(s)
Diff to previous 8687
CStatDlg を Unicode化

Revision 8687 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Apr 11 15:53:47 2020 UTC (3 years, 10 months ago) by zmatsuo
File length: 8142 byte(s)
Diff to previous 8686
CInpDlg を unicode化

Revision 8686 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Apr 11 15:53:38 2020 UTC (3 years, 10 months ago) by zmatsuo
File length: 8134 byte(s)
Diff to previous 8682
CListDlg, CMsgDlg を unicode化

- CalcTextExtentW()#ttmlib 追加

Revision 8682 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Apr 11 15:52:50 2020 UTC (3 years, 10 months ago) by zmatsuo
File length: 8124 byte(s)
Diff to previous 8391
r7696 (19/05/20) から移植

- r7696では TCHAR で unicode 対応を行っていた
- このコミットでは TCHAR = char で使用する
- ttl.c は ttl.cpp にリネーム, 一部の関数を ttl_gui.cpp に移動

Revision 8391 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Nov 21 15:00:01 2019 UTC (4 years, 3 months ago) by zmatsuo
File length: 8011 byte(s)
Diff to previous 8354
_CRTDBG_MAP_ALLOC を使ってデバッグバージョンのヒープ割り当て関数へ切り替え

- r8390

Revision 8354 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Nov 2 14:49:29 2019 UTC (4 years, 4 months ago) by zmatsuo
File length: 8383 byte(s)
Diff to previous 8352
パラメータなしの SetDlgPos を実装

- ダイアログの位置調整部分を macrodlgbase.h にくくりだした

Revision 8352 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Oct 30 13:33:02 2019 UTC (4 years, 4 months ago) by zmatsuo
File length: 8301 byte(s)
Diff to previous 7857
各ダイアログに HINSTANCE を引数で渡すようにした

- グローバル関数をダイアログのソース内で使用しないようにした
  - GetInstance(), GetHWND()

Revision 7857 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jul 17 15:37:28 2019 UTC (4 years, 7 months ago) by zmatsuo
File length: 7927 byte(s)
Diff to previous 7775
ウィンドウサイズに合わせてlistboxのリストの横幅を調整するようにした

- ウィンドウサイズに合わせてlistboxの横幅,ok,cancelボタンの位置を調整
    - ウィンドウサイズはメッセージに合わせて調整される
- listboxの横スクロールバーのサイズを調整した

Revision 7775 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jun 16 15:49:30 2019 UTC (4 years, 8 months ago) by maya
File length: 7921 byte(s)
Diff to previous 7685
GetSaveFileName() が適切と思われる箇所で GetOpenFileName() から変更
OPENFILENAME.Flags を変更
  OFN_FORCESHOWHIDDEN が不要と思われる箇所から削除
  OFN_OVERWRITEPROMPT が必要と思われる箇所に追加
  OFN_FILEMUSTEXIST を指定すると OFN_PATHMUSTEXIST が含まれるので削除

- GetOpenFileName() は OFN_FILEMUSTEXIST | OFN_HIDEREADONLY
- GetSaveFileName() は OFN_PATHMUSTEXIST | OFN_OVERWRITEPROMPT
を基本とする。
- OFN_ALLOWMULTISELECT には OFN_EXPLORER を追加する
- OFN_ENABLETEMPLATE | OFN_ENABLEHOOK には OFN_EXPLORER を追加する

Revision 7685 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 17 15:06:06 2019 UTC (4 years, 9 months ago) by zmatsuo
File length: 7869 byte(s)
Diff to previous 7674
エラー種別を追加

- exec コマンド実行失敗時 Can't execute command.

Revision 7674 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon May 13 15:14:30 2019 UTC (4 years, 9 months ago) by zmatsuo
File length: 7863 byte(s)
Diff to previous 7659
GetHomeDir(),GetUILanguageFileFull()#ttlib.cを追加、同様な処理は関数を使用するようにした

Revision 7659 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 7 16:48:51 2019 UTC (4 years, 10 months ago) by zmatsuo
File length: 7991 byte(s)
Diff to previous 7558
不要変数削除

Revision 7558 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Apr 8 17:11:37 2019 UTC (4 years, 11 months ago) by zmatsuo
File length: 8053 byte(s)
Diff to previous 7546
_malloc_dbg(),_free_dbg()系の引数の誤りを修正
_CRTDBG_MAP_ALLOC が defineされているプロジェクトで警告が出ないよう修正

Revision 7546 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 2 16:27:06 2019 UTC (4 years, 11 months ago) by zmatsuo
File length: 8073 byte(s)
Diff to previous 7537
ttpmacro 高DPI対応

Revision 7537 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Apr 1 12:45:26 2019 UTC (4 years, 11 months ago) by zmatsuo
File length: 8108 byte(s)
Diff to previous 6841
ttpmacroからmfc依存をなくした

# Conflicts:
#	teraterm/CMakeLists.txt

Revision 6841 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jul 4 15:02:28 2017 UTC (6 years, 8 months ago) by doda
File length: 7464 byte(s)
Diff to previous 6806
TeraTerm Project としてのライセンス表記を追加

・Tera Term 本体分を横 80 桁に収まるように改行位置を調整
・ttssh 関連の分を追加

Revision 6806 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 15 00:37:01 2017 UTC (6 years, 8 months ago) by doda
File length: 7468 byte(s)
Diff to previous 6437
TeraTerm Project としてのライセンス表記を追加

とりあえず Tera Term 本体分。
TeraTerm Project としての copyright 表記の年部分はコミットログを確認して書いたつもりだけど、ミスってたらすみません。

TODO: 過去に取り込んだパッチに関する著作権表記の追加

Revision 6437 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jul 11 08:53:11 2016 UTC (7 years, 7 months ago) by doda
File length: 6002 byte(s)
Diff to previous 6434
マクロファイル名指定なしで起動⇒ダイアログでマクロを選んだ時、
params[1] が設定されない問題を修正。

Revision 6434 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 7 11:46:02 2016 UTC (7 years, 8 months ago) by doda
File length: 6188 byte(s)
Diff to previous 6430
システム変数 params の追加
今までの param1 ~ param9 を配列にした物

[Ttssh2-devel 3025]
・現在の param1 ~ param9 とは別に配列 params にもパラメータを格納する
・param1 ~ param9 と params の値は同期等しない。
  param1 を書き換えても params[1] は変化しない。逆も同様。
・params の最大値には制限をかけない。10 番目以降にもアクセス可能とする。

[とりあえず現在の仕様]
・param1 ~ param9 は params[1] ~ params[9] としてアクセス可能。
・params[0] にはとりあえずコマンドライン全体を入れておく (awkの$0風)
・パラメータが 10 以上有る場合は paramcnt も 10 以上の値を取る
  以前の仕様(paramcntの最大値は9)と非互換
・パラメータの数が少なくても param1 ~ param9 は常に確保されているが、
  params は paramcnt の値までしか確保されない。
  ⇒ paramcnt==3 の時に params[4] へのアクセスは Index out of range

Revision 6430 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 7 11:45:50 2016 UTC (7 years, 8 months ago) by doda
File length: 6667 byte(s)
Diff to previous 6427
MaxStrLen の定義が散らばっていたので、ttmdef.h に集約する。

Revision 6427 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jul 1 06:50:48 2016 UTC (7 years, 8 months ago) by doda
File length: 6671 byte(s)
Diff to previous 6424
削除漏れ

Revision 6424 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jul 1 03:14:21 2016 UTC (7 years, 8 months ago) by doda
File length: 6680 byte(s)
Diff to previous 6423
使っていない変数を削除 & 一部変数名を変更

Revision 6423 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jul 1 03:14:19 2016 UTC (7 years, 8 months ago) by doda
File length: 6636 byte(s)
Diff to previous 6401
オプションを指定できる場所をファイル名の前だけに限定した。

Revision 6401 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 10 05:11:20 2016 UTC (7 years, 8 months ago) by doda
File length: 6576 byte(s)
Diff to previous 6151
/I, /S, /V オプションのチェックを厳密にした。
https://osdn.jp/ticket/browse.php?group_id=1412&tid=36342
[Ttssh2-devel 3001]


Revision 6151 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Nov 18 10:19:11 2015 UTC (8 years, 3 months ago) by doda
File length: 6582 byte(s)
Diff to previous 6140
param9 までしかない(それ以降は無視される)ので、paramcnt の上限も 9 に変更する。
# せっかく配列があるのだから、配列にして上限を無くす方がいいのかも


Revision 6140 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 16 11:58:56 2015 UTC (8 years, 3 months ago) by doda
File length: 6532 byte(s)
Diff to previous 6074
パラメータの Dequote を変更。パラメータの途中から quote を行えるようにした。
[ttssh2-devel 2738], https://osdn.jp/ticket/browse.php?group_id=1412&tid=35713


Revision 6074 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Nov 5 11:15:54 2015 UTC (8 years, 4 months ago) by doda
File length: 7360 byte(s)
Diff to previous 5882
listbox で、最初に選択されている項目を設定できるようにした。


Revision 5882 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat May 23 12:42:04 2015 UTC (8 years, 9 months ago) by maya
File length: 7332 byte(s)
Diff to previous 5876
http://osdn.jp/ticket/browse.php?group_id=1412&tid=35182 引数の解析処理を統一する
  コマンドラインオプションの分解処理を ttlib.c の GetParam() にまとめた
  各オプションのクォート解除処理を ttlib.c の DequoteParam() にまとめた

Revision 5876 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat May 16 16:47:54 2015 UTC (8 years, 9 months ago) by maya
File length: 7087 byte(s)
Diff to previous 5387
ttpmacro の NextParam を ttpset の NextParam と同じ動きにした
Dequote を DequoteParam として ttlib.c に移動した
GetParam を ttcmn.c から ttlib.c に移動した

Revision 5387 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Sep 8 08:16:13 2013 UTC (10 years, 6 months ago) by yutakapon
File length: 7169 byte(s)
Diff to previous 5329
MACRO ERRO dialogに、TTLファイル名(basename)を付与した。


Revision 5329 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jun 23 14:22:50 2013 UTC (10 years, 8 months ago) by yutakapon
File length: 7143 byte(s)
Diff to previous 5212
マクロエラーのダイアログに詳細情報(行番号・エラー箇所位置)を追加表示するようにした。
ただし、まだドラフト版。


Revision 5212 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Apr 21 10:32:32 2013 UTC (10 years, 10 months ago) by maya
File length: 7091 byte(s)
Diff to previous 5188
bringupbox マクロコマンドを追加

Revision 5188 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Apr 3 17:18:15 2013 UTC (10 years, 11 months ago) by maya
File length: 6983 byte(s)
Diff to previous 5179
listbox マクロコマンドの調整
  setdlgpos が反映されるようにした
  テキストの内容に応じてウィンドウをリサイズするようにした

Revision 5179 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Mar 27 13:41:26 2013 UTC (10 years, 11 months ago) by maya
File length: 6969 byte(s)
Diff to previous 5144
box 系マクロコマンドの表示位置がおかしくなる問題を修正
  http://sourceforge.jp/ticket/browse.php?group_id=1412&tid=31049

Revision 5144 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Mar 12 15:43:03 2013 UTC (10 years, 11 months ago) by yutakapon
File length: 6968 byte(s)
Diff to previous 5126
listbox マクロコマンドを追加した。

listbox '好きな食べ物を選んでください' 'あなたへの問い' 'バナナ' 'りんご' 'みかん'
sprintf2 var "%d" result
messagebox var "result"
; result
;   -1: Cancel
;    0: Banana
;    1: Apple
;    2: Orange


Revision 5126 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Feb 17 17:17:26 2013 UTC (11 years ago) by atsue
File length: 6715 byte(s)
Diff to previous 5116
ttermpro.exeとttpmacro.exeのインタフェース・通信部分の文字サイズを511バイトまで対応。

Revision 5116 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jan 13 09:04:18 2013 UTC (11 years, 1 month ago) by atsue
File length: 6722 byte(s)
Diff to previous 4901
文字列変数を255から511バイトに拡張。(今後、可変長に変更する予定。)
http://sourceforge.jp/ticket/browse.php?group_id=1412&tid=19858

Revision 4901 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Apr 14 11:41:44 2012 UTC (11 years, 10 months ago) by yutakapon
File length: 6722 byte(s)
Diff to previous 4885
・ダイアログから.ttlファイルが読み込まれた場合も paramcnt を更新するようにした。
・"param1"変数の追加。マクロファイル名が格納される。
 ただし、.ttlファイルをincludeしても、当該変数の内容は変わらない。
cf.
http://twitter.com/#!/ttdoda/status/190747189696397313


Revision 4885 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Apr 9 16:21:30 2012 UTC (11 years, 11 months ago) by yutakapon
File length: 6536 byte(s)
Diff to previous 4032
マクロ:
引数の個数を表す"paramcnt"変数を追加した。


Revision 4032 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Aug 21 04:50:45 2010 UTC (13 years, 6 months ago) by maya
File length: 6484 byte(s)
Diff to previous 4031
メッセージボックスの special 変換をボックスのクラスから ttl.c に移動した
  動作は変わらない

Revision 4031 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Aug 21 03:12:13 2010 UTC (13 years, 6 months ago) by maya
File length: 6563 byte(s)
Diff to previous 3623
ファイル名に使う配列の長さを見直した
  ファイル名の長さに MAXPATHLEN を使っていたところは MAX_PATH を使うようにした
  MAXPATHLEN はフォルダ名の長さとしては正しいはず

Revision 3623 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Sep 20 13:37:45 2009 UTC (14 years, 5 months ago) by maya
File length: 6569 byte(s)
Diff to previous 3227
GetModuleFileName の返り値をチェックするようにした。
  http://sourceforge.jp/ticket/browse.php?group_id=1412&tid=18740

Revision 3227 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Mar 24 15:10:33 2009 UTC (14 years, 11 months ago) by maya
File length: 6543 byte(s)
Diff to previous 3221
CVS から SVN へ移行: 改行コードを LF から CR+LF へ変換

Revision 3221 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Mar 24 09:37:20 2009 UTC (14 years, 11 months ago) by maya
File length: 6252 byte(s)
Diff to previous 2649
CVS から SVN へ移行: trunk に集約

Revision 2649 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jan 31 13:36:55 2009 UTC (15 years, 1 month ago) by maya
Original Path: teraterm/trunk/ttpmacro/ttmdlg.cpp
File length: 6252 byte(s)
Diff to previous 2572
インデントを変更


Revision 2572 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Aug 1 17:13:07 2008 UTC (15 years, 7 months ago) by maya
Original Path: teraterm/trunk/ttpmacro/ttmdlg.cpp
File length: 6291 byte(s)
Diff to previous 2476
OPENFILENAME_SIZE を取得する関数を作成した。


Revision 2476 - (view) (download) (as text) (annotate) - [select for diffs]
Added Mon Apr 14 17:35:50 2008 UTC (15 years, 10 months ago) by maya
Original Path: teraterm/trunk/ttpmacro/ttmdlg.cpp
File length: 6548 byte(s)
ファイル移動に伴う修正


This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26