-
Notifications
You must be signed in to change notification settings - Fork 179
enum 先行宣言 (ECodeType) #2026
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
enum 先行宣言 (ECodeType) #2026
Conversation
|
|
✅ Build sakura 1.0.4467 completed (commit 212015e298 by @gorogoro123) |
| #include "dlg/CDialog.h" | ||
|
|
||
| enum ECodeType; | ||
| enum ECodeType : int; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
主題「前方宣言しないと怒られる」の対策は以下で解決できそうに思います。
| enum ECodeType : int; | |
| #include "charset/charset.h" |
主題以外の修正が多いですが、「ダメ」でない気はしてます。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
以前コメントした内容の通りで、ダメではない認識です。
berryzplus
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
対応ありがとうございます。
| // 文字コードセット種別 | ||
| //2007.08.14 kobake CODE_ERROR, CODE_DEFAULT 追加 | ||
| enum ECodeType { | ||
| enum ECodeType : int { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
標準C++として明示推奨のようです。
| //inline bool IsConcreteCodeType(ECodeType eCodeType) | ||
| //{ | ||
| // return IsValidCodeType(eCodeType) && eCodeType != CODE_AUTODETECT; | ||
| //} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
使われなくなったコードをコメントアウトで残すのは悪い習慣だと思うので削除自体に異論はありません。
ただ、修正と無関係なのが気になってました。
| */ | ||
| }; | ||
| #endif | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
同上。プリプロセッサによる無効化はコメントアウトよりタチが悪いと思います。
削除には同意しますが、関係ないのが気になっていました。
| #include "CFileExt.h" | ||
| #include "env/CDocTypeManager.h" | ||
| #include "env/CShareData.h" | ||
| #include "env/DLLSHAREDATA.h" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
「enum先行宣言」と無関係なのが気になっていました。
| #include "dlg/CDialog.h" | ||
|
|
||
| enum ECodeType; | ||
| enum ECodeType : int; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
以前コメントした内容の通りで、ダメではない認識です。
| #pragma once | ||
|
|
||
| class CEditDoc; | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
「enum先行宣言」と無関係なのが気になっていました。
beru
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
問題無いと思います。
Squashed commit of the following: commit d38752cec5ae2b251844fe11e6da3f814ce5dc32 Merge: fa9336e82 8aa06cb47 Author: berryzplus <[email protected]> Date: Fri Dec 19 08:25:20 2025 +0900 Merge pull request #2232 from berryzplus/feature/enable_stdcpp20 C++の準拠規格をC++20に更新する commit 8aa06cb47794f36d7cb5b4aaa91617616ddc5d51 Author: berryzplus <[email protected]> Date: Thu Dec 18 22:06:08 2025 +0900 C++20対応で使えるようになったヘッダーを入れる 関係ないのもあるがどうせ使うので入れてしまう。 commit 06bfc5b4e0a17d6885a4bf7289f85dd79a398b5f Author: berryzplus <[email protected]> Date: Thu Dec 18 21:03:44 2025 +0900 C++20対応 プロジェクト設定を変更 C++コンパイラーのC++準拠レベルをC++20にして std::format を使えるようにする commit 045ad0b0efaff6e1a2b9bdbc25ecb7d82f9a42a3 Author: berryzplus <[email protected]> Date: Thu Dec 18 21:03:20 2025 +0900 C++20対応 ucs関数のテストにキャストを追加する C++20では u8リテラル文字列 と MBCSリテラル文字列 が別型となり、ビルドが通らなくなるため。 commit a170583f677bf50da607b4b33a2eec590cb994a6 Author: berryzplus <[email protected]> Date: Thu Dec 18 21:03:05 2025 +0900 C++20対応 int型への暗黙変換がエラーになるのでキャスト追加 commit 3284484b613473da0e8d8b836640447bb24be866 Author: berryzplus <[email protected]> Date: Thu Dec 18 21:01:54 2025 +0900 トップディレクトリのファイルを移動する commit fa9336e825f3df82868ef095d0f61c098e5a34d3 Merge: d0a898b80 e65ed08fb Author: berryzplus <[email protected]> Date: Thu Dec 18 13:02:51 2025 +0900 Merge pull request #2229 from berryzplus/feature/move_doxygen.conf doxygen.confをトップから削除する commit d0a898b804b1a83758c114702605912f93bcee54 Merge: 046a0cd07 d1bfce1b6 Author: berryzplus <[email protected]> Date: Thu Dec 18 00:35:29 2025 +0900 Merge pull request #2231 from berryzplus/feature/move_files トップディレクトリのファイル整理 commit d1bfce1b62ae5e3b56e103477b1665ba0b802108 Author: berryzplus <[email protected]> Date: Wed Dec 17 23:13:27 2025 +0900 トップディレクトリのファイル整理(2/2) 移動の影響箇所を修正。 commit 2c3a426765fccc5bb7754b2d2939943a6f0f1a1c Author: berryzplus <[email protected]> Date: Wed Dec 17 18:31:29 2025 +0900 トップディレクトリのファイル整理(1/2) まずは移動するだけ。 commit bcdcdd539084a7ec153991c734bea79b5ec00e3d Author: berryzplus <[email protected]> Date: Wed Dec 17 18:29:33 2025 +0900 ci/init-locale-emulator.ahkを移動 LocaleEmulatorの無人インストールに使うAutoHotKeyファイル。 commit 046a0cd075f0ba2fb7cd5aabe761f480d8d3e36f Merge: 151a9eaba 65d6f4513 Author: berryzplus <[email protected]> Date: Wed Dec 17 18:22:25 2025 +0900 Merge pull request #2230 from berryzplus/feature/fix_stdafx.h StdAfx.hのシンボル定義を整理する commit 151a9eaba204aa1fed4aeb7b58ff81cdfc9f916f Merge: f0fdea024 11ce4aaf7 Author: berryzplus <[email protected]> Date: Wed Dec 17 08:41:26 2025 +0900 Merge pull request #2220 from berryzplus/feature/use_in_class_initializer_CEditWnd_take2 Use in-class initializer (CEditWnd) Take2 commit f0fdea0248b2437c9f0fff2f4ff660cfec793be8 Merge: dd4a38e38 fa69f682e Author: berryzplus <[email protected]> Date: Wed Dec 17 08:32:06 2025 +0900 Merge pull request #2225 from sakura-editor/dependabot/github_actions/actions/upload-artifact-6 Bump actions/upload-artifact from 5 to 6 commit dd4a38e38ec16e6747c9c2b828daeea41256ca5c Merge: 36cc156e9 3ff1be36c Author: berryzplus <[email protected]> Date: Wed Dec 17 08:31:40 2025 +0900 Merge pull request #2224 from sakura-editor/dependabot/github_actions/SonarSource/sonarqube-scan-action-7.0.0 Bump SonarSource/sonarqube-scan-action from 6.0.0 to 7.0.0 commit 36cc156e9928d72dc004bf0b4449e5987ead0da9 Merge: 2e1db9a29 3eb4f812b Author: berryzplus <[email protected]> Date: Wed Dec 17 08:31:12 2025 +0900 Merge pull request #2223 from gorogoro123/feature/replace_wcsncpy_CViewCommander_Command_SET_QUOTESTRING wcsncpy 置換 (CViewCommander::Command_SET_QUOTESTRING) commit 2e1db9a29d7deb38ccf75c48bc955641b2f9e288 Merge: 1ee1ebca8 312cc271d Author: berryzplus <[email protected]> Date: Wed Dec 17 08:30:50 2025 +0900 Merge pull request #2222 from gorogoro123/feature/use_in_class_initializer_CRuler C++11 in-class initializer 対応 (CRuler) commit 1ee1ebca8be0864e3d7405ec3fc0752ad4f94abb Merge: 91d4b4a24 bfb95910d Author: berryzplus <[email protected]> Date: Wed Dec 17 08:30:21 2025 +0900 Merge pull request #2221 from gorogoro123/feature/use_in_class_initializer_CPrint C++11 in-class initializer 対応 (CPrint) commit 91d4b4a2425d3ad9fd242c48d8a6afdb56294389 Merge: 95fce2b82 d7a2fd99c Author: berryzplus <[email protected]> Date: Wed Dec 17 08:25:04 2025 +0900 Merge pull request #2228 from berryzplus/feature/merge_sakura_lang 言語リソースDLLの格納先ディレクトリを統合する commit 95fce2b826c81bfbc1b058f8444dfbe1b6202e22 Merge: d18c93c4d 1013683b2 Author: berryzplus <[email protected]> Date: Wed Dec 17 08:24:34 2025 +0900 Merge pull request #2226 from berryzplus/feature/omit_calc-hash.py SHA256ファイルのアップロード削除 commit 65d6f4513698a32b49b9b4ceb00b92be35467fd5 Author: berryzplus <[email protected]> Date: Tue Dec 16 20:36:17 2025 +0900 _CRT_SECURE_NO_WARNINGSシンボルについての蘊蓄を追加 commit 257a87292ff3d6c4e0c7601a71623322d4861e85 Author: berryzplus <[email protected]> Date: Tue Dec 16 20:18:28 2025 +0900 NOMINMAXシンボルについての蘊蓄を追加 commit f8bedd7c2ed51e6f7866e6ab61989845db9c1598 Author: berryzplus <[email protected]> Date: Tue Dec 16 20:16:08 2025 +0900 STRICTシンボルについての蘊蓄を追加 commit 2c440ccff607765251191ede2222d927a474ecc5 Author: berryzplus <[email protected]> Date: Tue Dec 16 20:11:54 2025 +0900 #pragma onceについての蘊蓄を追加 commit e65ed08fbe76d7144732b261f2fae2fe4f74048f Author: berryzplus <[email protected]> Date: Tue Dec 16 09:49:30 2025 +0900 doxygen.confをトップから削除する commit d7a2fd99c5f57779f3514193102b993dc9309b5c Author: berryzplus <[email protected]> Date: Tue Dec 16 09:42:25 2025 +0900 言語リソースDLLの格納先ディレクトリを統合する(2/2) ファイル移動の影響箇所を修正する commit 2a0261ad2e614d213515fc5cf71436670aca61e4 Author: berryzplus <[email protected]> Date: Tue Dec 16 08:55:20 2025 +0900 言語リソースDLLの格納先ディレクトリを統合する(1/2) 作業内容がわかりづらいので、単純移動だけ先にコミットする。 commit d18c93c4d0611a5110072b29dfbd247fbbf4355c Merge: 595f687f3 f41d6c159 Author: berryzplus <[email protected]> Date: Tue Dec 16 08:35:33 2025 +0900 Merge pull request #2227 from berryzplus/feature/omit_String_define.h String_define.hをsakura_rc.hに統合する commit f41d6c159f9f171fd48eef895605df1a316a93ae Author: berryzplus <[email protected]> Date: Mon Dec 15 18:55:42 2025 +0900 String_define.hをsakura_rc.hに統合する(6/6) String_define.hを削除する。 commit 770a84ddada9a34eb49d4ac4264711abafce11a8 Author: berryzplus <[email protected]> Date: Mon Dec 15 18:55:22 2025 +0900 String_define.hをsakura_rc.hに統合する(5/6) String_define.hのインクルードを全削除する commit dcf79efecd3539d6ab5227bfb50f8851ef9dd5aa Author: berryzplus <[email protected]> Date: Mon Dec 15 18:54:59 2025 +0900 String_define.hをsakura_rc.hに統合する(4/6) ヘッダー依存関係整理。 CSelectLang.hをインクルードするコードは大体 LSマクロ を使う。 commit 9fb845aca5cd2939ecedd8aed7c01ebf70a88eca Author: berryzplus <[email protected]> Date: Mon Dec 15 18:54:45 2025 +0900 String_define.hをsakura_rc.hに統合する(3/6) リソースエディタで編集したときに「触ってない誤差」が大量に出ることへの対策。 リソーススクリプトを自動生成に寄せる。 commit 574d96c9b8f08e93520136c32730e2b324c1b73e Author: berryzplus <[email protected]> Date: Mon Dec 15 18:54:27 2025 +0900 String_define.hをsakura_rc.hに統合する(2/6) 自動生成リソースIDファイルのネクストIDを現状に合わせる。 commit 84a8df6a1b734a625114c1a9dcb95c2c4fda4779 Author: berryzplus <[email protected]> Date: Mon Dec 15 18:54:12 2025 +0900 String_define.hをsakura_rc.hに統合する(1/6) 手書きリソースIDファイル String_define.h を 自動生成リソースIDファイル sakura_rc.h に統合する commit 1013683b28f05f95d0a93a64c6d43be5bb08c712 Author: berryzplus <[email protected]> Date: Mon Dec 15 18:49:58 2025 +0900 SHA256ファイルのアップロード削除 commit 595f687f39ab2183e18bef2f582a761f4383fb00 Merge: a2a52e488 076df1f3a Author: berryzplus <[email protected]> Date: Mon Dec 15 18:38:59 2025 +0900 Merge pull request #2219 from berryzplus/feature/omit_mingw_makefile 手書きMakefileを削除する commit fa69f682eddd4d5a0aee59fc267388a4edcbe6d2 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon Dec 15 07:14:51 2025 +0000 Bump actions/upload-artifact from 5 to 6 Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 5 to 6. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v5...v6) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> commit 3ff1be36cbafa4eb8fca3cf4a648771dcaeeaebd Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon Dec 15 07:14:45 2025 +0000 Bump SonarSource/sonarqube-scan-action from 6.0.0 to 7.0.0 Bumps [SonarSource/sonarqube-scan-action](https://github.com/sonarsource/sonarqube-scan-action) from 6.0.0 to 7.0.0. - [Release notes](https://github.com/sonarsource/sonarqube-scan-action/releases) - [Commits](https://github.com/sonarsource/sonarqube-scan-action/compare/v6.0.0...v7.0.0) --- updated-dependencies: - dependency-name: SonarSource/sonarqube-scan-action dependency-version: 7.0.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> commit 076df1f3a57a35ce2b4b3ad8f2f1eaab8e6d3601 Author: berryzplus <[email protected]> Date: Sat Dec 13 22:02:56 2025 +0900 ディレクトリHeaderMakeをトップから削除する commit 1a7351fa183ca5d1b0e438cf0d540124e759c99a Author: berryzplus <[email protected]> Date: Sat Dec 13 22:01:38 2025 +0900 手書きMakefileを削除する commit 44fa34914f6fdcdb20135270e03da66d9ae1ea4c Author: berryzplus <[email protected]> Date: Sat Dec 13 21:20:43 2025 +0900 VSソリューション全体をCMake化する commit 3eb4f812b2dafb63e31e1ee10e75018a0af8db00 Author: gorogoro123 <[email protected]> Date: Sat Nov 29 15:43:47 2025 +0900 Repalce wcsncpy (CViewCommander::Command_SET_QUOTESTRING) commit d7fcdd7b9f89ac73c2255bf98817aa913a289cf0 Author: berryzplus <[email protected]> Date: Sat Dec 13 20:54:21 2025 +0900 外部アーカイブ解凍タスクをCMake化する 可能な場合はCMakeからVsDevCmd経由でビルドする構成に移行。 commit d7cff011d26228ace5de02d068ee4b11d5060260 Author: berryzplus <[email protected]> Date: Sat Dec 13 20:33:56 2025 +0900 CMakeビルドをVSソリューションに統合する commit 83ec6b7e5c39a00144a6a015397c97cf987d734a Author: berryzplus <[email protected]> Date: Sat Dec 13 20:17:46 2025 +0900 言語リソースのビルドをCMake化する commit bfb95910d5fe398d9399dcde4d0ace76d062d17a Author: gorogoro123 <[email protected]> Date: Sun Dec 7 20:48:06 2025 +0900 Use in-class initializer (CPrint) commit 312cc271da74eadfc378e7287a342269b0851942 Author: gorogoro123 <[email protected]> Date: Sat Nov 8 13:31:55 2025 +0900 Use in-class initializer (CRuler) commit 11ce4aaf70ff233bd6fb051b6f6af9ce930b9d7b Author: berryzplus <[email protected]> Date: Sat Dec 13 00:00:38 2025 +0900 Use in-class initializer (CEditWnd) take2 定義された順に初期化されるので、定義順序を直さないとダメな場合もある。 commit 71178f15495562e2c4859319ce2be0300614afa4 Author: berryzplus <[email protected]> Date: Fri Dec 12 23:57:51 2025 +0900 グロバール関数 GetEditWndPtr 追加 commit 80a467314777716c48ce1db58ca979c73fb8eaa0 Author: berryzplus <[email protected]> Date: Fri Dec 12 23:57:26 2025 +0900 グローバル関数 GetDocument 追加 commit a2a52e488d9d226ff6351550101ed3dab1e217c4 Merge: 5e6cfc451 d3f318b8d Author: berryzplus <[email protected]> Date: Fri Dec 12 20:46:29 2025 +0900 Merge pull request #2211 from berryzplus/feature/use_std_size _countofマクロの代わりにstd::sizeを使う commit 5e6cfc45198ab69b35078161f57783b34c3987f0 Merge: 402c0221a 33123ac7b Author: berryzplus <[email protected]> Date: Fri Dec 12 20:45:48 2025 +0900 Merge pull request #2208 from berryzplus/feature/remove-g_theDLLSHAREDATA グローバル変数 g_theDLLSHAREDATA を削除する commit 402c0221af4a0e6b9e36abbcd105ad488976c460 Merge: 61290d4ca 534fcc6bb Author: berryzplus <[email protected]> Date: Fri Dec 12 20:44:33 2025 +0900 Merge pull request #2171 from berryzplus/feature/use_in_class_initializer_CControlTray_take2 C++11 in-class initializer対応(CControlTray) take2 commit 61290d4ca049f6aa64c516f171098a8c7d96ea37 Merge: 3ee422c9c 9f8aa6b6d Author: berryzplus <[email protected]> Date: Tue Dec 9 21:41:33 2025 +0900 Merge pull request #2209 from berryzplus/feature/move_sakura.natvis sakura.natvisをリソースに移動する commit 3ee422c9cf8fc584c7f83591f7da8d0b87851762 Merge: fab6ce135 da6bff82b Author: berryzplus <[email protected]> Date: Tue Dec 9 21:40:49 2025 +0900 Merge pull request #2207 from gorogoro123/feature/use_in_class_initializer_CDropTarget C++11 in-class initializer 対応 (CDropTarge) commit fab6ce13572c5f7ee587ec89a7c6d8e9c21d8226 Merge: a11860f4c a2aef63f9 Author: berryzplus <[email protected]> Date: Tue Dec 9 21:33:08 2025 +0900 Merge pull request #2206 from gorogoro123/feature/use_in_class_initializer_CSortedTagJumpList C++11 in-class initializer 対応 (CSortedTagJumpList) commit a11860f4ca7364696e820cc01115b6689ae2f367 Merge: 48fee3820 0a6d22762 Author: berryzplus <[email protected]> Date: Tue Dec 9 21:32:15 2025 +0900 Merge pull request #2205 from gorogoro123/feature/use_in_class_initializer_CRegexKeyword C++11 in-class initializer 対応 (CRegexKeyword) commit d3f318b8d274afda4d95054b46171ba5432b0cef Author: berryzplus <[email protected]> Date: Sun Dec 7 01:04:38 2025 +0900 MinGWビルドエラー対応 対応不可能なものは_countofに戻す。 commit af371f3703b183f952d41aab904e8808771028bd Author: berryzplus <[email protected]> Date: Sun Dec 7 00:25:59 2025 +0900 冗長なintキャストを除去する \(int\)(?=int\(std::size) 7か所一致 s/\(int\)(?=int\(std::size)//g commit dedb830bdac26779bfaa40c67905ed1d651f444e Author: berryzplus <[email protected]> Date: Sat Dec 6 18:37:34 2025 +0900 独自マクロ _countof2 を削除する commit 54c6c2b0cf9770147f353dca0e8dcc897d327c49 Author: berryzplus <[email protected]> Date: Sat Dec 6 18:08:17 2025 +0900 StaticString::size() 追加 commit 9ea4f588a560243245bd86a8b32354ec9e4ab1d4 Author: berryzplus <[email protected]> Date: Sat Dec 6 17:40:14 2025 +0900 定数でないものが混じっていたのでconstexprを外す commit d4bc820b1ec3fb8e7aae3786c6ed161e20d88177 Author: berryzplus <[email protected]> Date: Sat Dec 6 17:37:37 2025 +0900 int定数の宣言をautoに修正する (?:const\s+)?int\s+(?![gm]_)\w+\s*=\s*int\(\s*std::size\( 35か所一致 s/(?:const\s+)?int\s+(?=(?![gm]_)\w+\s*=\s*int\(\s*std::size\()/constexpr auto /g commit c64cea9f4f792cec5f1efed7d18a12407fa5a618 Author: berryzplus <[email protected]> Date: Sat Dec 6 17:29:20 2025 +0900 全置換の変換エラーを修正する テキトーな正規表現で置換した結果を補正する。 commit 544b621091dd97254755987f464ec184d21df09d Author: berryzplus <[email protected]> Date: Sat Dec 6 17:18:33 2025 +0900 _countofをstd::sizeに全置換する エラー対処は別途行うこととして、一括置換する。 _countof\s*\(\s*([^\]]+?)\s*\) 608か所一致 s/_countof\s*\(\s*([^\]]+?)\s*\)/int(std::size($1))/g commit 042afd8bf8a24c0c3c6e60bc20b5ceedac486494 Author: berryzplus <[email protected]> Date: Sat Dec 6 17:08:10 2025 +0900 intにキャストしなくていいやつ 3 もともとsize_tの定数に格納してたならキャスト不要。 (?:constexpr\s+)?(?:const\s+)?size_t\s+(\w+)\s*=\s*_countof\s*\(\s*([^\]]+?)\s*\) 14か所一致 s/(?:constexpr\s+)?(?:const\s+)?size_t\s+(\w+)\s*=\s*_countof\s*\(\s*([^\]]+?)\s*\)/constexpr auto $1 = std::size($2)/g commit d5b1ff02d8ebaeba01431bf54f8fdd2368375440 Author: berryzplus <[email protected]> Date: Sat Dec 6 17:06:43 2025 +0900 intにキャストしなくていいやつ 2 セキュリティ対応関数の第2引数はsize_tだからキャスト不要。 _s\s*\(\s*\w+,\s*_countof\s*\(\s*([^\]]+?)\s*\) 60か所一致 s/(?<=_s)\s*\(\s*(\w+),\s*_countof\s*\(\s*([^\]]+?)\s*\)/($1, std::size($2)/g commit 5af323585a9952181e09d8cd6a7e0e95d2861921 Author: berryzplus <[email protected]> Date: Sat Dec 6 16:47:59 2025 +0900 intにキャストしなくていいやつ 1 配列インデックスは int へのキャスト不要。 \[\s*_countof\s*\(\s*([^\]]+?)\s*\) 30か所一致 s/(?<=\[)\s*_countof\s*\(\s*([^\]]+?)\s*\)/std::size($1)/g commit 9f8aa6b6d99330326a16a6550465efcd0e94601e Author: berryzplus <[email protected]> Date: Sat Dec 6 14:16:20 2025 +0900 sakura.natvisをリソースに移動する commit 33123ac7bdab3b2db8d4debc7316cb6a5e834efb Author: berryzplus <[email protected]> Date: Sat Dec 6 11:34:39 2025 +0900 グローバル変数 g_theDLLSHAREDATA を削除する commit da6bff82b43076b3351088265d6b7db02a1b0baa Author: gorogoro123 <[email protected]> Date: Sun Nov 9 20:33:49 2025 +0900 Use in-class initializer (CDropTarge) commit a2aef63f9b087761869b30cee9cabd9d0121bd43 Author: gorogoro123 <[email protected]> Date: Tue Nov 11 20:17:06 2025 +0900 Use in-class initializer (CSortedTagJumpList) commit 0a6d22762d5e15060f9d77dbe5687226f99d6c40 Author: gorogoro123 <[email protected]> Date: Tue Nov 11 20:31:09 2025 +0900 Use in-class initializer (CRegexKeyword) commit 48fee3820af460285edec19cb3cc7663f31b0559 Merge: 05d4034e0 710e6c54c Author: berryzplus <[email protected]> Date: Fri Dec 5 20:08:52 2025 +0900 Merge pull request #2203 from berryzplus/feature/move_resource ディレクトリresourceをトップから削除する commit 05d4034e0f23d53949486f572c38baeb12849e95 Merge: f618f927b edbf5e2b8 Author: berryzplus <[email protected]> Date: Fri Dec 5 20:08:03 2025 +0900 Merge pull request #2202 from berryzplus/feature/move_vcx-props ディレクトリvcx-propsをトップから削除する commit f618f927b54af92e2f5fa27bff767a2fdc2d9de5 Merge: 2a700eee7 83eb66ef2 Author: berryzplus <[email protected]> Date: Fri Dec 5 19:48:36 2025 +0900 Merge pull request #2200 from berryzplus/feature/make_edit_wnd_testable CEditWndのテストを書けるようにする commit 2a700eee7b91fc52342f0178a2273b01cb05533c Merge: 38c18723b 54f1247ff Author: berryzplus <[email protected]> Date: Fri Dec 5 19:47:59 2025 +0900 Merge pull request #2184 from gorogoro123/feature/remove_SetClipboardTextImp SetClipboardTextImp 削除 commit 38c18723b7d310e79b3453e10c528a48aa52ef92 Merge: 6bc50a485 3f90001b6 Author: berryzplus <[email protected]> Date: Fri Dec 5 19:47:27 2025 +0900 Merge pull request #2183 from gorogoro123/feature/remove_using_namespace_ApiWrap "using namespace ApiWrap" 削除 commit 6bc50a485711f1d99993cd41f7a8158bc22550f0 Merge: a60534b51 867498281 Author: berryzplus <[email protected]> Date: Fri Dec 5 19:46:50 2025 +0900 Merge pull request #2181 from gorogoro123/feature/use_in_class_initializer_CPropTypes C++11 in-class initializer 対応 (CPropTypes) commit a60534b511aedcb5854bc980723e36b59f965246 Merge: ce9858948 0688af2c2 Author: berryzplus <[email protected]> Date: Fri Dec 5 19:46:22 2025 +0900 Merge pull request #2180 from gorogoro123/feature/use_in_class_initializer_CDialog C++11 in-class initializer 対応 (CDialog) commit ce985894869c8615e553563751b8efd32c9ecfc0 Merge: 0bda859c7 d4d4dc84d Author: berryzplus <[email protected]> Date: Fri Dec 5 19:45:58 2025 +0900 Merge pull request #2179 from gorogoro123/feature/use_in_class_initializer_CEditDoc C++11 in-class initializer 対応 (CEditDoc) commit 710e6c54cd7e162046bb12d62e6f999e965c00d5 Author: berryzplus <[email protected]> Date: Fri Dec 5 12:33:03 2025 +0900 /resourceを無視リストに入れる commit a5319c4aab68b8df86965433463c47945be12f61 Author: berryzplus <[email protected]> Date: Fri Dec 5 09:57:36 2025 +0900 手書きMakefileの修正漏れ対応 commit f511c9f62326a3ff7843a8212ddb7d9ebe43ea91 Author: berryzplus <[email protected]> Date: Thu Dec 4 23:24:09 2025 +0900 %~dp0resourceの修正漏れ対応 commit e778ce03c2f7e979b75c97abc2bbc75e07a586d5 Author: berryzplus <[email protected]> Date: Thu Dec 4 22:15:36 2025 +0900 ディレクトリresourceをトップから削除する commit edbf5e2b8fc6195bc23673875c1cebb43da2ee18 Author: berryzplus <[email protected]> Date: Thu Dec 4 22:05:01 2025 +0900 ディレクトリvcx-propsをトップから削除する commit 83eb66ef21ce74ef2bbc0d68bbabf83e9df09c1c Author: berryzplus <[email protected]> Date: Wed Dec 3 19:20:15 2025 +0900 CEditWndのメンバー初期化タイミングを是正する CEditWndをシングルトンにしていた弊害で、Createしないで破棄するとクラッシュする実装になっていた。 (アプリでCEditWndを生成したのちCreateしないパスはないため、実害はなし。) commit e1f425319b34263789245dce8624b09a7f757646 Author: berryzplus <[email protected]> Date: Wed Dec 3 19:12:18 2025 +0900 CEditWndのテストを書けるようにする とりあえずシングルトンを解除してデストラクターが走るようにする。 commit 0bda859c796fa4ebe914c44fbaac957f7386ff07 Merge: eda9b45c8 c207a80ba Author: berryzplus <[email protected]> Date: Wed Dec 3 19:05:13 2025 +0900 Merge pull request #2191 from berryzplus/feature/omit_is_bad_string_ptr IsBadStringPtrAの呼出を除去する commit eda9b45c88d63f482db13fc8d85d3c7c0f060acb Merge: ed1ae9f9a 00f4fee28 Author: berryzplus <[email protected]> Date: Wed Dec 3 19:04:48 2025 +0900 Merge pull request #2185 from berryzplus/feature/use_cmake_for_build-chm HTMLヘルプのビルドにCMakeを使う commit ed1ae9f9a00597b30adecdfe233ec54cac7ff864 Merge: 87d28f993 fc6ba1a0a Author: berryzplus <[email protected]> Date: Wed Dec 3 19:04:01 2025 +0900 Merge pull request #2182 from berryzplus/feature/fix_html_help HTMLヘルプの修正ミスを是正する commit 87d28f993529b33984f3d8d841012b219a6c831f Merge: 6516e26da bd622317a Author: berryzplus <[email protected]> Date: Wed Dec 3 19:02:34 2025 +0900 Merge pull request #2152 from gorogoro123/feature/remove_link_ecxuberant_ctags_japanese_ver Exuberant Ctags 日本語対応版のリンク削除 commit 6516e26da5eae5e90ea7df0d5ca46837e3f5e0a0 Merge: 9961b2957 c380e9203 Author: berryzplus <[email protected]> Date: Wed Dec 3 19:01:47 2025 +0900 Merge pull request #2141 from gorogoro123/feature/switch_to_mingw_doxygen MinGW doxygen に移行 commit c207a80babb48ca33ea88bb01ab3c1b021589a8f Author: berryzplus <[email protected]> Date: Tue Dec 2 20:29:19 2025 +0900 relation_toolの不具合修正 CEditDocの破棄がうまくいかない不具合の対策。 事象はMinGWビルドのみで発生。 commit fc6ba1a0a1a6a01b87f562dba721f6a737aec75f Author: berryzplus <[email protected]> Date: Tue Dec 2 18:12:15 2025 +0900 b→strongの修正を完結させる commit 68202f9a677eafed800065efc8b1663f3c221a43 Author: berryzplus <[email protected]> Date: Tue Dec 2 18:04:47 2025 +0900 IsBadStringPtrAの呼出を除去する NULLチェックのみの安全なやり方に改める。 commit 5497bfffa657809e58b2ae3e237f956fc6cf4586 Author: berryzplus <[email protected]> Date: Tue Dec 2 18:04:05 2025 +0900 CPPAエラー情報コールバックのテストを追加する commit f3c260a888e15003365640a620f371e1a301b70d Author: berryzplus <[email protected]> Date: Tue Dec 2 18:03:46 2025 +0900 共有メモリ初期化手順の見直し 初期化に必要なオブジェクトを減らしてテストしやすくする。 commit 00f4fee28c8fc6607a7193727c41bbe8e6cdb04b Author: berryzplus <[email protected]> Date: Sun Nov 30 20:09:43 2025 +0900 HTMLヘルプのビルドに関してドキュメントを更新 CMake対応により変更した部分のみ更新。 もともとの記述がおかしい点についてはスルー。 commit 5cd65b1d706e307e60b91d42fc264ee9dd18ea15 Author: berryzplus <[email protected]> Date: Sun Nov 30 19:42:05 2025 +0900 .gitignoreの整理 - Out-of-source buildに移行して不要になった無視エントリを削除。 - 各フォルダに分散していた共通の無視リストを統合。 commit 0cc75a6931881cd4910f86a9ac2cfe5b00880b9a Author: berryzplus <[email protected]> Date: Sun Nov 30 19:37:09 2025 +0900 HTMLヘルプのビルドにCMakeを使う HTMLヘルプのコンパイラはレガシー資産なのでソースをSJISにしないとうまく動かない。 GitではテキストファイルをUTF-8で管理するため、文字コード変換で問題が出る。 HTMLヘルプのビルド工程全体を CMake に移行し、UTF8→SJIS変換を自前で行うようにする。 従来は working-tree-encoding で cp932 を指定していたが、gitクライアント依存で文字コード変換の問題が起きていた。 ビルドスクリプトが無駄に複雑になるので ./help/macro/macro.hhp の拡張子を小文字に置換。 commit 54f1247ff8dec1cd898dd0159fcfeaa01116a114 Author: gorogoro123 <[email protected]> Date: Fri Feb 28 00:03:02 2025 +0900 Remove SetClipboardTextImp commit 306fced538422438818241ea55ccab7557456aa0 Author: berryzplus <[email protected]> Date: Tue Jan 17 13:06:00 2023 +0900 bをstrongを置換した際の不具合の修正 以前の修正で複数行にまたがるbタグの一括置換に失敗したと思われる箇所を修正。 commit 957c77828d32955e12cb91fd965ad2e7dfcb2d22 Author: berryzplus <[email protected]> Date: Tue Jan 17 13:03:00 2023 +0900 font閉じタグの修正漏れを一括置換する s|(<span.+?>.*?)</font>|$1</span>| commit 3f90001b66ceec53cee89b64144d6d3a63e6f8b0 Author: gorogoro123 <[email protected]> Date: Sat May 31 17:35:23 2025 +0900 Remove "using namespace ApiWrap" commit 9961b295757a2a26730f9a6ab187c802bf03f85e Merge: a8ebc6ef7 a4422ef2b Author: berryzplus <[email protected]> Date: Sat Nov 29 12:15:30 2025 +0900 Merge pull request #2175 from sakura-editor/dependabot/github_actions/actions/checkout-6 Bump actions/checkout from 5 to 6 commit a8ebc6ef7b598211175008de0a67cf6b5dda75c5 Merge: 4f9f99db7 63ac7f448 Author: berryzplus <[email protected]> Date: Sat Nov 29 12:07:21 2025 +0900 Merge pull request #2170 from gorogoro123/feature/remove_m_wpTreeView グローバル変数 m_wpTreeView 削除 (CPropMainMenu) commit 4f9f99db7721e31a5ee5e463c96ddfb40a72f5e4 Merge: f1d1a7e22 8724ca1c2 Author: berryzplus <[email protected]> Date: Sat Nov 29 12:06:21 2025 +0900 Merge pull request #2168 from gorogoro123/feature/use_in_class_initializer_CSplitterWnd C++11 in-class initializer 対応 (CSplitterWnd) commit f1d1a7e2200f0f89df452bb4dd8e97ccfa7277bf Merge: de9d797d7 32012b0e7 Author: berryzplus <[email protected]> Date: Sat Nov 29 12:06:02 2025 +0900 Merge pull request #2167 from gorogoro123/feature/support_visual_studio_2026 Visual Studio 2026 対応 commit de9d797d76f3b6064fc944a5a34ec179bb9a80f0 Merge: 73f7d1b37 dc6e245c0 Author: berryzplus <[email protected]> Date: Sat Nov 29 12:05:32 2025 +0900 Merge pull request #2127 from gorogoro123/feature/remove_upload_md5 MD5 ファイルのアップロード削除 commit 867498281b496473648e201555a1a80edcaa868e Author: gorogoro123 <[email protected]> Date: Sun Nov 9 20:22:16 2025 +0900 Use in-class initializer (CPropTypes) commit 0688af2c23225bf6cbbfe2a9472c29958e40c951 Author: gorogoro123 <[email protected]> Date: Sat Nov 15 17:45:10 2025 +0900 Use in-class initializer (CDialog) commit d4d4dc84d8ad2684816c289379a4f1193447bc01 Author: gorogoro123 <[email protected]> Date: Mon Nov 10 21:07:12 2025 +0900 Use in-class initializer (CEditDoc) commit 73f7d1b376dad0ddd6f4ebe7feb2e1718cea21b5 Merge: edb41729e 564878073 Author: berryzplus <[email protected]> Date: Mon Nov 24 18:48:38 2025 +0900 Merge pull request #2176 from sakura-editor/dependabot/github_actions/actions/upload-artifact-5 Bump actions/upload-artifact from 4 to 5 commit edb41729ee7d7f9c23e2a8139f7aefdb9a156971 Merge: 7799836b2 bc1157779 Author: berryzplus <[email protected]> Date: Mon Nov 24 18:43:13 2025 +0900 Merge pull request #2165 from gorogoro123/feature/use_in_class_initializer_CDlgDiff C++11 in-class initializer 対応 (CDlgDiff) commit 7799836b218bd2f5580f1e72289e5da3a6b7209b Merge: 87fbff042 15b62f81f Author: berryzplus <[email protected]> Date: Mon Nov 24 18:42:30 2025 +0900 Merge pull request #2164 from gorogoro123/feature/use_in_class_initializer_CTabWnd C++11 in-class initializer 対応 (CTabWnd) commit 534fcc6bbbb194d5e9f0f7e1c3a887d33b208d1b Author: berryzplus <[email protected]> Date: Sun Nov 23 15:40:13 2025 +0900 メッセージIDをクラス定数にする commit 891fea91a3bcc0ced82ed1cd3dd53364a879ab4a Author: berryzplus <[email protected]> Date: Sun Nov 23 14:18:25 2025 +0900 Use in-class initializer (CControlTray) take2 commit 87fbff042e653d0412c95130242ce7cf9c15df09 Merge: e9f30fde7 999a96450 Author: berryzplus <[email protected]> Date: Mon Nov 24 17:50:50 2025 +0900 Merge pull request #2178 from berryzplus/feature/fix_pull_request_scan プルリクエスト番号が取れない問題に対処 commit 999a964505d76057864eca243c5e77115fe821a8 Author: berryzplus <[email protected]> Date: Mon Nov 24 17:41:23 2025 +0900 プルリクエスト番号が取れない問題に対処 commit e9f30fde718346c0f393c913e8bfc1878e475eb2 Merge: 531daac34 bcce50e8a Author: berryzplus <[email protected]> Date: Mon Nov 24 16:56:21 2025 +0900 Merge pull request #2177 from berryzplus/feature/fix_ci_conditions CIビルドがプルリクエストかどうか判定する条件の不備を修正 commit bcce50e8a47537c62652802cc642f76969ec6a09 Author: berryzplus <[email protected]> Date: Mon Nov 24 16:30:53 2025 +0900 fix event_name condition. commit 5648780730528e2eb9a67ab0993d67e45a82e1b9 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon Nov 24 07:25:15 2025 +0000 Bump actions/upload-artifact from 4 to 5 Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4 to 5. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v4...v5) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> commit a4422ef2bea2b10c5763c4429126e4b770afe9a7 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon Nov 24 07:25:09 2025 +0000 Bump actions/checkout from 5 to 6 Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v5...v6) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> commit 531daac34841a43ea7048232789665ca35a3bf8f Merge: b1a80da5e 0c4cf228a Author: berryzplus <[email protected]> Date: Mon Nov 24 15:58:07 2025 +0900 Merge pull request #2174 from berryzplus/feature/re_enable_pull_request_scan SonarQubeのプルリクエストスキャンを再有効化する commit 0c4cf228ad44e88a302e4b0c67db069283bc837e Author: berryzplus <[email protected]> Date: Mon Nov 24 15:02:30 2025 +0900 pull request scan commit b1a80da5e0d51b9e3f8b32517e312f4a7742f3e4 Merge: 4acde38ed 0377590d9 Author: berryzplus <[email protected]> Date: Mon Nov 24 13:06:40 2025 +0900 Merge pull request #2173 from berryzplus/feature/re_enable_branch_scan SonarQubeのブランチスキャンを再有効化する commit 0377590d9be5debb8b95de6b2e6ac098d9cb7526 Author: berryzplus <[email protected]> Date: Mon Nov 24 10:23:28 2025 +0900 SonarQubeのブランチスキャンを再有効化する sonar.branch.nameで解析対象ブランチ名を指定するとブランチスキャンが有効になる。 プルリクエストの番号 or pushされたブランチ名で解析されるように指定する。 commit 63ac7f448dcc7617a1646f2d31a057e5eb9b7847 Author: gorogoro123 <[email protected]> Date: Sat May 31 09:18:24 2025 +0900 Remove m_wpTreeView commit dc6e245c032c3db9f5ed90ca1c8a5b65e4175ea6 Author: gorogoro123 <[email protected]> Date: Sat Aug 16 08:47:33 2025 +0900 Remove uploading md5 commit 8724ca1c28520b8adfc6bbadf4a2ea64956646e4 Author: gorogoro123 <[email protected]> Date: Wed Nov 5 21:56:27 2025 +0900 Use in-class initializer (CSplitterWnd) commit 32012b0e726ff0cf44c1550ed2571d4706c74c9d Author: gorogoro123 <[email protected]> Date: Sat Nov 22 08:52:05 2025 +0900 support visual studio 2026 commit 4acde38edf3034197a4a977cdf3a617fe25a301a Merge: 4b096cd39 716a8960e Author: berryzplus <[email protected]> Date: Thu Nov 20 12:37:54 2025 +0900 Merge pull request #2166 from berryzplus/feature/update_sonar_cli Update SonarScan CLI commit 716a8960e6ed4cfdd9ae54c4be901d824440cbb4 Author: berryzplus <[email protected]> Date: Wed Nov 19 23:46:28 2025 +0900 無関係な修正をrevert commit abeb66b32eb33a32a36df33c5da8fe0e1c3e3c27 Author: berryzplus <[email protected]> Date: Wed Nov 19 23:44:34 2025 +0900 Build Wrapperのインストール条件を解放 SONAR_TOKEN未設定の場合にインストールしない設定にしていたが、 Build Wrapperのインストールはそんなに重たくないので解放。 commit 5e556d4d3f61b79ac7feec80f1cafba804b05793 Author: berryzplus <[email protected]> Date: Wed Nov 19 23:40:50 2025 +0900 「fetch-depth: 0」を戻す コミット履歴を全聚徳する指定なので、削ってはいけない。 commit 36f8d9105972eddfef061838635c0995527f90d2 Author: berryzplus <[email protected]> Date: Tue Nov 18 19:45:49 2025 +0900 CType_Tex.cppの指摘対応 プラグインがクラッシュする対策として、主要な指摘に対応してみる。 commit 9a146dd8724111fbfa0df3b14513e83d968f8e4d Author: berryzplus <[email protected]> Date: Tue Nov 18 19:47:59 2025 +0900 ローカル実行するためのスクリプトを追加 commit a32fa6b1109d0bfb0a575421e5205a71d598782b Author: berryzplus <[email protected]> Date: Mon Nov 17 19:34:21 2025 +0900 Update SonarScan CLI commit 4b096cd3917c07c0de8264f304eaa8c988031eaf Merge: 976f4049d 2efc31b0d Author: beru <[email protected]> Date: Sat Nov 15 23:22:59 2025 +0900 Merge pull request #2162 from beru/suppress_broadcast_WM_TAB_WINDOW_NOTIFY ファイル名変更通知ブロードキャストの頻度を抑制 commit 15b62f81f25fdab4bbcca8da84dea654a484dcbb Author: gorogoro123 <[email protected]> Date: Sun Aug 3 16:22:42 2025 +0900 Use in-class initializer (CTabWnd) commit bc11577791422d170e7984cc515a556c4c26894b Author: gorogoro123 <[email protected]> Date: Sun Oct 26 11:57:06 2025 +0900 Use in-class initializer (CDlgDiff) commit 976f4049de25939e19930ea432e91c84ad4fd87b Merge: 62a6ae4e7 e617d99d2 Author: beru <[email protected]> Date: Sun Nov 9 19:07:30 2025 +0900 Merge pull request #2134 from gorogoro123/feature/use_in_class_initializer_CProcess C++11 in-class initializer 対応 (CProcess) commit 62a6ae4e7cca30e2e21305c0a0429e3fadb2bfed Merge: 4c078c195 1ae76a7cd Author: beru <[email protected]> Date: Sun Nov 9 19:06:14 2025 +0900 Merge pull request #2161 from gorogoro123/feature/use_in_class_initializer_CMainToolBar C++11 in-class initializer 対応 (CMainToolBar) commit 4c078c19504b2eab79c02b22ac4fdb1c43bc8855 Merge: 9dd96a30e ce467f5e5 Author: beru <[email protected]> Date: Sun Nov 9 19:05:59 2025 +0900 Merge pull request #2160 from gorogoro123/feature/use_in_class_initializer_CMainStatusBar C++11 in-class initializer 対応 (CMainStatusBar) commit 2efc31b0d9fee3a618dd75a695df32102ea57a76 Author: katsuhisa yuasa <[email protected]> Date: Sun Nov 9 16:33:23 2025 +0900 suppress broadcast of WM_TAB_WINDOW_NOTIFY message commit 9dd96a30e552dd855c3198c6a8e1e85c6ced6987 Merge: b8ab39231 32ab82922 Author: beru <[email protected]> Date: Sun Nov 9 16:02:55 2025 +0900 Merge pull request #2124 from gorogoro123/feature/apply_cpp11_range_based_for_loop_CProfile C++11 range-based for loop 対応 (CProfile) commit b8ab39231ec07b6cf4a2fea8b6bf7ee3f746e998 Merge: 08d9882f8 bba5c40da Author: beru <[email protected]> Date: Sun Nov 9 15:59:27 2025 +0900 Merge pull request #2026 from gorogoro123/feature/apply_enum_forward_declaration_ECodeType enum 先行宣言 (ECodeType) commit 08d9882f8f0711b1aabd17a5ae6b2b5c7b65fbac Merge: edbcba042 9e90e4f18 Author: beru <[email protected]> Date: Sun Nov 9 15:53:25 2025 +0900 Merge pull request #2125 from sakura-editor/dependabot/github_actions/actions/checkout-5 Bump actions/checkout from 4 to 5 commit edbcba0421c89db68919d563f295ce8c98a8fdb9 Merge: 0346eaf87 1dc597b67 Author: beru <[email protected]> Date: Sun Nov 9 15:51:08 2025 +0900 Merge pull request #2129 from sakura-editor/dependabot/github_actions/actions/setup-java-5 Bump actions/setup-java from 4 to 5 commit 0346eaf879e8c372c6ea6ed503ad6e8fa8eee06b Merge: 0a67f043f 60487b124 Author: beru <[email protected]> Date: Sun Nov 9 15:50:21 2025 +0900 Merge pull request #2138 from sakura-editor/dependabot/github_actions/actions/setup-python-6 Bump actions/setup-python from 5 to 6 commit 0a67f043fe7d9c90ad55337608557e4f9aa5f403 Merge: 51f53f24a 9049e3400 Author: beru <[email protected]> Date: Sun Nov 9 15:49:46 2025 +0900 Merge pull request #2156 from sakura-editor/dependabot/github_actions/actions/upload-artifact-5 Bump actions/upload-artifact from 4 to 5 commit 51f53f24a143197f935484890a9e64f7572b2d97 Merge: 8dafa8d32 1701650c6 Author: beru <[email protected]> Date: Sun Nov 9 15:48:50 2025 +0900 Merge pull request #2128 from gorogoro123/feature/remove_make-artifacts_bat make-artifacts.bat 削除 commit 8dafa8d32d4ba9f4b7f1f89554af79345918754f Merge: 26eed5819 d5b8af92b Author: beru <[email protected]> Date: Sun Nov 9 15:27:45 2025 +0900 Merge pull request #2130 from sakura-editor/copilot/fix-1970 Fix Paste() macro failures by implementing clipboard retry mechanism commit 26eed581915cd93c76ea5807f3c278dceec098b3 Merge: 4cb8e9a1e a8400120d Author: beru <[email protected]> Date: Sun Nov 9 15:21:52 2025 +0900 Merge pull request #2158 from gorogoro123/feature/use_in_class_initializer_CDlgTagJumpList C++11 in-class initializer 対応 (CDlgTagJumpList) commit 4cb8e9a1e4afdfb2714351c4c9b44ca018621a9d Merge: b351bb506 8d99fa96a Author: beru <[email protected]> Date: Sun Nov 9 15:19:43 2025 +0900 Merge pull request #2157 from gorogoro123/feature/use_in_class_initializer_CControlTray C++11 in-class initializer 対応 (CControlTray) commit b351bb5062aab858e837e09acea3352f062d04e4 Merge: 15aec82eb c2cc0c062 Author: beru <[email protected]> Date: Sun Nov 9 15:17:27 2025 +0900 Merge pull request #2154 from gorogoro123/feature/use_in_class_initializer_CShareData C++11 in-class initializer 対応 (CShareData) commit 15aec82eb02a4fb0ddcf96a6c004e4c2882a1ae5 Merge: 01c22bed7 05066f875 Author: beru <[email protected]> Date: Sun Nov 9 10:44:16 2025 +0900 Merge pull request #2126 from gorogoro123/feature/remove_define_NOMINMAX define NOMINMAX 削除 commit 01c22bed7c3b74cb0ed714fe937c66e03065c9ca Merge: a640e2539 8cdbaa2ba Author: beru <[email protected]> Date: Sun Nov 9 09:50:49 2025 +0900 Merge pull request #2155 from gorogoro123/feature/use_in_class_initializer_CWnd C++11 in-class initializer 対応 (CWnd) commit a640e253907104bd4ffeff67bab8d2ab9d707aef Merge: 89f7379d1 06cd62842 Author: beru <[email protected]> Date: Sun Nov 9 09:16:24 2025 +0900 Merge pull request #2153 from gorogoro123/feature/replace_wcsncpy_ChangeFileNameNotify wcsncpy 置換 (CEditWnd::ChangeFileNameNotify) commit 89f7379d164934bdf7128a3b984666ec3df1ad0f Merge: 7fccd8bc4 6940cea64 Author: beru <[email protected]> Date: Sun Nov 9 09:02:19 2025 +0900 Merge pull request #2143 from gorogoro123/feature/add_topic_to_chelp_txt ヘルプファイルにトピック追加 (文字色統一、背景色統一) commit 7fccd8bc4bc67ce079ce63cb0077964412aef044 Merge: 21c76f83b 9501c5cd1 Author: beru <[email protected]> Date: Sun Nov 9 08:46:37 2025 +0900 Merge pull request #2151 from gorogoro123/feature/use_in_class_initializer_CEditView C++11 in-class initializer 対応 (CEditView) commit 21c76f83bbfcfa0cebebe3039c25f6d89bf3d26b Merge: 5a3e631d4 ffe57ccc5 Author: beru <[email protected]> Date: Sun Nov 9 08:39:46 2025 +0900 Merge pull request #2150 from gorogoro123/feature/use_in_class_initializer_CEditWnd C++11 in-class initializer 対応 (CEditWnd) commit 9049e3400e446e6c4f9ca1e9fab4e7a5f8eebe59 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon Oct 27 07:32:19 2025 +0000 Bump actions/upload-artifact from 4 to 5 Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4 to 5. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v4...v5) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> commit 1ae76a7cd22c4839d8a43a1a3206b67313467f6c Author: gorogoro123 <[email protected]> Date: Tue Jul 29 20:47:03 2025 +0900 Use in-class initializer (CMainToolBar) commit a8400120d7fce4f73aa87b3e0c3ab654e1df1ab7 Author: gorogoro123 <[email protected]> Date: Mon Sep 15 19:55:07 2025 +0900 Use in-class initializer (CDlgTagJumpList) commit 8d99fa96ac51f997ef3e15f32761f8f0d1887a07 Author: gorogoro123 <[email protected]> Date: Mon Sep 15 20:09:54 2025 +0900 Use in-class initializer (CControlTray) commit c2cc0c062d1760183d3578a967483aa458739f4d Author: gorogoro123 <[email protected]> Date: Mon Oct 20 21:32:54 2025 +0900 Use in-class initializer (CShareData) commit 8cdbaa2ba8486585cd4ad3dc61075259be727d20 Author: gorogoro123 <[email protected]> Date: Sat Oct 18 22:34:43 2025 +0900 Use in-class initializer (CWnd) commit 06cd628423e45264a61626442606708d171daa96 Author: gorogoro123 <[email protected]> Date: Fri Oct 17 20:06:15 2025 +0900 Replace wcsncpy (CEditWnd::ChangeFileNameNotify) commit ce467f5e597e780031d5a77cc1265db1ea8e2a87 Author: gorogoro123 <[email protected]> Date: Mon Sep 15 19:57:18 2025 +0900 Use in-class initializer (CMainStatusBar) commit bd622317ad0b110a2df73055fa5b20c942e15744 Author: gorogoro123 <[email protected]> Date: Sat May 31 05:51:05 2025 +0900 Remove link (Exuberant Ctags Japanese ver) commit 5a3e631d48393086a2fa4dae0158a9312b6dada3 Merge: 83f51a3f9 85e77f83d Author: beru <[email protected]> Date: Mon Oct 13 17:03:14 2025 +0900 Merge pull request #2136 from gorogoro123/feature/fix_return_type_GetLengthByMode GetLengthByMode() の戻り値の型変更 commit 83f51a3f973ed8a9eda057f18345da9eae79bfb1 Merge: 40b4c41af fc749a733 Author: beru <[email protected]> Date: Mon Oct 13 17:02:05 2025 +0900 Merge pull request #2137 from gorogoro123/feature/remove_appveyor_and_azure_from_build_md build.md 更新 (appveyor / Azure Pipelines 削除) commit 40b4c41af7f87beec500146e4349248aa04a4e8e Merge: f9adf72da e7a770bfb Author: beru <[email protected]> Date: Mon Oct 13 17:01:38 2025 +0900 Merge pull request #2144 from gorogoro123/feature/remove_ifndef_MAC ifndef _MAC 削除 commit f9adf72dadecf004b65d000a52a86af5e236bb9d Merge: de41d3e5d 2ed3f0108 Author: beru <[email protected]> Date: Mon Oct 13 17:01:24 2025 +0900 Merge pull request #2147 from gorogoro123/feature/remove_g_pOldToolBarWndProc static変数 g_pOldToolBarWndProc 削除 commit de41d3e5d1f87793240c0a3a04e29d4479e115b1 Merge: 21a99ab5d b0aebc371 Author: beru <[email protected]> Date: Mon Oct 13 17:00:46 2025 +0900 Merge pull request #2148 from gorogoro123/feature/remove_include_io_h include <io.h> 削除 commit 9501c5cd1a4b4dd37440afd42682fd944b74c5d6 Author: gorogoro123 <[email protected]> Date: Tue Jul 29 20:41:40 2025 +0900 Use in-class initializer (CEditView) commit ffe57ccc55ae3be0d8ca6b44a7f3fd2367790887 Author: gorogoro123 <[email protected]> Date: Mon Sep 15 17:21:45 2025 +0900 Use in-class initializer (CEditWnd) commit 2ed3f010877f2cbf135bfb090e1c5fe5f7e0646c Author: gorogoro123 <[email protected]> Date: Thu Apr 3 20:44:15 2025 +0900 Remove g_pOldToolBarWndProc commit b0aebc3716c46b0eb88506eedc68d597a93b5fb8 Author: gorogoro123 <[email protected]> Date: Sun Aug 3 20:22:34 2025 +0900 Remvoe include <io.h> commit 21a99ab5da8f048d2a66fd3db996460514195721 Merge: 9dc0e67d4 71105de34 Author: beru <[email protected]> Date: Wed Oct 1 01:26:36 2025 +0900 Merge pull request #2146 from beru/fix_CClipboard_GetText Excel VBA からコードをコピーすると余分な文字が付いてくる問題を修正 commit 71105de344854323dc2622125a9dbd749b2e4c31 Author: katsuhisa yuasa <[email protected]> Date: Mon Sep 29 23:59:10 2025 +0900 use wcsnlen function in CClipboard::GetText method commit be2eab900890caa6fce9ed0d5332a2fa0b64c4d8 Author: katsuhisa yuasa <[email protected]> Date: Sun Sep 28 14:25:24 2025 +0900 use wcslen function to retrieve text length of clipboard data in CClipboard::GetText method commit e7a770bfb587b7fb03e98f2f9925e6116606b8c4 Author: gorogoro123 <[email protected]> Date: Sun Jun 1 17:50:14 2025 +0900 Remove ifndef _MAC commit 6940cea64d4006559804514ce7a3475052fe5425 Author: gorogoro123 <[email protected]> Date: Sun Aug 31 09:38:08 2025 +0900 Add topic to Cshelp.txt commit c380e92037cc1f849fd23b69b625bf739712afb4 Author: gorogoro123 <[email protected]> Date: Mon Aug 4 21:42:56 2025 +0900 Switch to MinGW doxygen commit 9dc0e67d461b559327e6deac15af48857168fe1b Merge: 6d9dc5bad a07aa6e1f Author: berryzplus <[email protected]> Date: Mon Sep 22 07:30:39 2025 +0900 Merge pull request #2139 from gorogoro123/feature/fix_cppcheck_error_on_windows_server_2025_image cppcheck error 対応 (Windows server 2025 image) commit a07aa6e1fb2fef9f70dbf24df3fae4ba7b0c2931 Author: gorogoro123 <[email protected]> Date: Sat Aug 2 18:45:43 2025 +0900 Fix cppcheck error on Windows server 2025 image Switch to MinGW cppcheck commit 60487b124f7e50e14b8376f73694ff9d17fcc457 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon Sep 8 07:40:31 2025 +0000 Bump actions/setup-python from 5 to 6 Bumps [actions/setup-python](https://github.com/actions/setup-python) from 5 to 6. - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](https://github.com/actions/setup-python/compare/v5...v6) --- updated-dependencies: - dependency-name: actions/setup-python dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> commit fc749a73313c8a1d533fc0c2bb7102922ebcb4bf Author: gorogoro123 <[email protected]> Date: Sat Aug 23 13:11:14 2025 +0900 Remove appveyor and azure pipelines from build.md commit 85e77f83df81049cefe0bf186a6115415364521f Author: gorogoro123 <[email protected]> Date: Mon May 19 19:02:31 2025 +0900 Fix return type (GetLengthByMode) commit 6d9dc5bad32320470e5da3811bf39d971aafc01b Merge: e00a3d8c0 ccee5480a Author: berryzplus <[email protected]> Date: Sun Aug 31 11:58:42 2025 +0900 Merge pull request #2133 from gorogoro123/feature/support_win10_or_later Windows10 以降対応 commit ccee5480ae4fb6a9961f1b000d7d1644ce001031 Author: gorogoro123 <[email protected]> Date: Sat Jun 7 02:54:17 2025 +0900 Support Win10 or later commit d5b8af92b02216f794621a6dc5d0d0b45d8005c8 Author: berryzplus <[email protected]> Date: Tue Aug 26 19:21:25 2025 +0900 関係ないファイル変更をrevert commit a29ed79f79a236361854e08f7220461a73c673c7 Author: copilot-swe-agent[bot] <[email protected]> Date: Tue Aug 26 09:39:58 2025 +0000 Implement clipboard retry mechanism to fix Paste() macro failures Co-authored-by: berryzplus <[email protected]> commit 78dc7191041e1687e8ef853b1c8b5c8443d40b53 Author: copilot-swe-agent[bot] <[email protected]> Date: Tue Aug 26 09:35:49 2025 +0000 Initial analysis of clipboard macro Paste() failure issue Co-authored-by: berryzplus <[email protected]> commit e8bf790f53da26798ed96efe3949e2838c00fbb1 Author: copilot-swe-agent[bot] <[email protected]> Date: Tue Aug 26 09:31:52 2025 +0000 Initial plan commit 1dc597b67153e871fea0c976d3bc073f32d179ac Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon Aug 25 12:48:14 2025 +0000 Bump actions/setup-java from 4 to 5 Bumps [actions/setup-java](https://github.com/actions/setup-java) from 4 to 5. - [Release notes](https://github.com/actions/setup-java/releases) - [Commits](https://github.com/actions/setup-java/compare/v4...v5) --- updated-dependencies: - dependency-name: actions/setup-java dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> commit e617d99d242e8bb39c78e4568b0c1a316aaba9de Author: gorogoro123 <[email protected]> Date: Tue Aug 5 22:26:23 2025 +0900 Use in-class initializer (CProcess) commit e00a3d8c026c143c9eba5042d11a612c1da8c7d2 Merge: 6e45a23f2 d78769f12 Author: berryzplus <[email protected]> Date: Mon Aug 25 07:18:40 2025 +0900 Merge pull request #2123 from gorogoro123/feature/update_TOC_README_md TOC更新 (README.md) commit 6e45a23f2f489a3cf14eab2c86d40566d8f07ddb Merge: 973122bf8 0c9817df0 Author: berryzplus <[email protected]> Date: Mon Aug 25 07:17:51 2025 +0900 Merge pull request #2122 from gorogoro123/feature/remove_pacman_p7zip pacman p7zip をやめる commit 1701650c611d12a9f58d48c591c168cbca1b9a03 Author: gorogoro123 <[email protected]> Date: Sun Aug 24 14:15:03 2025 +0900 Remove make-artifacts.bat commit 05066f875e0b17f2ef0e13ddbc4683882dc0c933 Author: gorogoro123 <[email protected]> Date: Sun Jun 22 09:26:09 2025 +0900 Remove define NOMINMAX commit 9e90e4f1893c4dcfb948ee4f5ac1bd3b88036f7f Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon Aug 18 11:55:37 2025 +0000 Bump actions/checkout from 4 to 5 Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v4...v5) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> commit 973122bf8984773a2dbd3398502e9e74699d5f9e Merge: e708cd044 2e115fdf2 Author: berryzplus <[email protected]> Date: Sun Aug 17 21:53:52 2025 +0900 Merge pull request #2121 from gorogoro123/feature/use_in_class_initializer_GrepInfo C++11 in-class initializer 対応 (GrepInfo) commit e708cd0446ecf7af15ed25ff24de3420f1069ae9 Merge: ab88e3cb9 e43fe81d1 Author: berryzplus <[email protected]> Date: Sun Aug 17 21:53:35 2025 +0900 Merge pull request #2120 from gorogoro123/feature/use_in_class_initializer_EditInfo C++11 in-class initializer 対応 (EditInfo) commit ab88e3cb95edde6d428f5455a7d47edbb07c9b7b Merge: 0cc6fca10 2f7eb75cd Author: berryzplus <[email protected]> Date: Sun Aug 17 21:52:55 2025 +0900 Merge pull request #2118 from gorogoro123/feature/remove_x64_from_doxygen doxygen の BuildPlatform:x64 削除 commit 32ab82922d745aafbf5ad71190afd1e0639fe707 Author: gorogoro123 <[email protected]> Date: Sat Aug 2 16:44:04 2025 +0900 Apply C++11 range-based for loop (CProfile) commit 0c9817df033f3a6d78fedd51d6a16d944a26cfc0 Author: gorogoro123 <[email protected]> Date: Sun Aug 3 09:23:29 2025 +0900 Remove pacman p7zip commit d78769f1231959139f77e72f4730c6ddd3c10d03 Author: gorogoro123 <[email protected]> Date: Sat Aug 2 18:28:41 2025 +0900 Update TOC (README.md) commit 0cc6fca10f54b6e7a00a8a3fecc21bfa09799078 Merge: 0f86c3fc1 da410de9d Author: D.Miwa <[email protected]> Date: Sun Aug 3 18:42:03 2025 +0900 Merge pull request #2119 from suconbu/feature/fix_csvtsv_alignment CSV/TSVモードで開いた時に桁位置が揃わないのを修正 commit 0f86c3fc1792d2aecff36b0b2068e49737ed2f63 Merge: f1160a5f8 30c862eed Author: berryzplus <[email protected]> Date: Sun Aug 3 11:20:04 2025 +0900 Merge pull request #2115 from gorogoro123/feature/remove_appveyor_from_help help から appveyor の記述削除 commit f1160a5f8b0d72a1ea9f1d4387292d9cdb62807d Merge: 63eb65528 8a68ecba6 Author: beru <[email protected]> Date: Sat Aug 2 14:01:46 2025 +0900 Merge pull request #2117 from gorogoro123/feature/remove_innosetup5 Inno Setup 5 の記述削除 commit da410de9d617b1f5f0d5e8e1ede790fdf476c6a7 Author: D.Miwa <[email protected]> Date: Thu Jul 31 23:10:22 2025 +0900 CSV/TSVモードで開いた時に桁位置が揃わないのを修正 commit 2f7eb75cd2f83b259378ef5832b8009af350f6b4 Author: gorogoro123 <[email protected]> Date: Sun Jul 27 12:09:39 2025 +0900 Remove x64 from doxygen commit 8a68ecba63c63d5edb813e65c5c21d8f86fa40d7 Author: gorogoro123 <[email protected]> Date: Thu Jul 24 07:05:10 2025 +0900 Remove Inno Setup 5 commit 2e115fdf2d4021006bb01bfb4281bdb94f4acfe5 Author: gorogoro123 <[email protected]> Date: Wed May 21 02:44:59 2025 +0900 Use in-class initializer (GrepInfo) commit e43fe81d13b161e2d6ff831227066ff1a4ea5e25 Author: gorogoro123 <[email protected]> Date: Wed May 21 02:27:12 2025 +0900 Use in-class initializer (EditInfo) commit 63eb6552812702f3e1d55cff212c569b8645dc6a Merge: 48506cde8 4720e5edf Author: berryzplus <[email protected]> Date: Sat Jul 26 10:40:30 2025 +0900 Merge pull request #2111 from gorogoro123/feature/remove_DrawDotLine DrawDotLine() 削除 commit 30c862eed698c9ca448e051ae6de1b9e0f585a11 Author: gorogoro123 <[email protected]> Date: Tue Jul 15 21:06:42 2025 +0900 Remove appveyor from help commit 4720e5edfa4b4c8cb38bda1a3229ed70b92f727b Author: gorogoro123 <[email protected]> Date: Thu May 8 02:13:18 2025 +0900 Remove DrawDotLine() commit bba5c40dab31130ae6d7ff1cb1336fca8d444639 Author: gorogoro123 <[email protected]> Date: Thu Feb 13 11:08:01 2025 +0900 Apply enum forward declaration (ECodeType)



PR対象
カテゴリ
PR の背景
Clang/LLVM で build時 に "-Wtautological-constant-out-of-range-compare" のwarningが出力される。
CFileLoad.cpp(299,44): warning : result of comparison of constant 65000 with expression of type 'ECodeType' is always true [-Wtautological-constant-out-of-range-compare]
仕様・動作説明
PR の影響範囲
影響なし。
テスト内容
関連 issue, PR
#1615
参考資料
https://en.cppreference.com/w/cpp/language/enum