Skip to content
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

SonarQubeの静的解析で検出されたバグを修正する #1439

Merged
merged 14 commits into from
Oct 29, 2020

Commits on Oct 25, 2020

  1. ApiWrap::Wnd_GetTextのオーバーロード関数を追加

    std::make_unique<WCHAR[]>を使わないで済むようにラッパー関数を追加する
    sanomari committed Oct 25, 2020
    Configuration menu
    Copy the full SHA
    dd9b851 View commit details
    Browse the repository at this point in the history
  2. ApiWrap::DlgItem_GetTextのオーバーロード関数を追加

    std::make_unique<WCHAR[]>を使わないで済むようにラッパー関数を追加する
    sanomari committed Oct 25, 2020
    Configuration menu
    Copy the full SHA
    2e8452c View commit details
    Browse the repository at this point in the history
  3. ApiWrap::List_GetTextのオーバーロード関数を追加

    std::make_unique<WCHAR[]>を使わないで済むようにラッパー関数を追加する
    sanomari committed Oct 25, 2020
    Configuration menu
    Copy the full SHA
    ed530f8 View commit details
    Browse the repository at this point in the history
  4. Wnd_GetTextを適用する

    std::make_unique<WCHAR[]>を使わないように修正
    sanomari committed Oct 25, 2020
    Configuration menu
    Copy the full SHA
    c5b4a0f View commit details
    Browse the repository at this point in the history
  5. List_GetTextを適用する

    std::make_unique<WCHAR[]>を使わないように修正
    sanomari committed Oct 25, 2020
    Configuration menu
    Copy the full SHA
    2318efb View commit details
    Browse the repository at this point in the history
  6. DebugOutWのリファクタリング

    std::make_unique<WCHAR[]>を使わないように修正
    sanomari committed Oct 25, 2020
    Configuration menu
    Copy the full SHA
    74e75f2 View commit details
    Browse the repository at this point in the history
  7. CGrepAgent::CreateFoldersリファクタリング

    std::make_unique<WCHAR[]>を使わないように修正
    sanomari committed Oct 25, 2020
    Configuration menu
    Copy the full SHA
    085ac88 View commit details
    Browse the repository at this point in the history
  8. CPropTypesRegexリファクタリング

    std::make_unique<WCHAR[]>を使わないように修正
    sanomari committed Oct 25, 2020
    Configuration menu
    Copy the full SHA
    020f8b7 View commit details
    Browse the repository at this point in the history

Commits on Oct 26, 2020

  1. デッドコード削除

    sanomari committed Oct 26, 2020
    Configuration menu
    Copy the full SHA
    336cc8e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6d9cb04 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6401489 View commit details
    Browse the repository at this point in the history
  4. レビュー指摘(二重引用符を取り除く処理が変わってる)の対応

    前後の '"" を取り除くように実装してたのを
    パスに含まれる '"' を削除するように修正。
    sanomari committed Oct 26, 2020
    Configuration menu
    Copy the full SHA
    d722d8c View commit details
    Browse the repository at this point in the history

Commits on Oct 27, 2020

  1. レビュー指摘(reserveよりresizeのが良さそう)の対応

    std::wstringのsize()が返すインデックス以降をアクセスした場合の動作は保証されない。
    reserveだけだとsizeが変更されないのでresizeに変更しておく。
    sanomari committed Oct 27, 2020
    Configuration menu
    Copy the full SHA
    6036009 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    943e1d9 View commit details
    Browse the repository at this point in the history