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

patchunicode 1006 と 1047 の取り込み #738

Merged
merged 2 commits into from
Jan 3, 2019
Merged

patchunicode 1006 と 1047 の取り込み #738

merged 2 commits into from
Jan 3, 2019

Conversation

beru
Copy link
Contributor

@beru beru commented Dec 30, 2018

https://sourceforge.net/p/sakura-editor/patchunicode/1006/
https://sourceforge.net/p/sakura-editor/patchunicode/1047/
に投稿されている
https://sourceforge.net/p/sakura-editor/patchunicode/_discuss/thread/4889d43f/d87d/attachment/caretmove_around_and_after_eol_r2.patch
https://sourceforge.net/p/sakura-editor/patchunicode/_discuss/thread/63e0b307/29b7/attachment/skrw_fix_move_word_v2.patch
を取り込む

いつのバージョンからなのか把握していませんが、範囲選択の時にピクセル単位で範囲選択領域が変更されるようになって使いづらくなってしまったんですが、それが解消されてます。

Copy link
Contributor

@berryzplus berryzplus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

動作的に問題はなさそうです。

過去バッチの取り込みのやり方で「ん?」と思ったのでちょっと保留してます。
取り込みPRは、元パッチと同じかどうかを明確にしとく必要があると思います。
https://github.com/berryzplus/sakura/commits/pr738

今回は違うので、なんで変えたんでしたっけ?と訊かないといけないはず・・・
動くからいいじゃん、とか、「確認しました(観点ダダ漏れ」だとGitHubの意味が(ry

@ds14050
Copy link
Contributor

ds14050 commented Dec 31, 2018

コメントからは読み取れませんでしたが、berryzplus さんの pr738 ブランチを確認するとコミットとコミット著者が分離して明確になっていました。そちらの方が望ましい形なのはたしかです。


pr738 ブランチでは「プロポーショナル版で変更された単語単位移動を戻す」コミットで削除された CLayoutInt layoutEnd; が「https://sourceforge.net/p/sakura-editor/patchunicode/1006/ 」コミットで復活したような形になっていますが、これは skrw_fix_move_word_v2.patch と beru さんのコミットを正しく反映しているようです。

layoutEnd という変数が使われている場所はないようなので beru さんの操作ミスだったのでしょうか。

@beru
Copy link
Contributor Author

beru commented Jan 2, 2019

内容が元パッチと違ってしまってるのは自分が手動でコピペしたからで、操作ミスに近いです。

最初、skrw_fix_move_word.patch を手動で取り込んで LineColumnToIndex2 だと引数が足りなくてビルドに失敗するのでコードをいじって引数追加してビルド出来るようにして、その後に skrw_fix_move_word_v2.patch の存在に気付いて再度手動で取り込んで…、といったような感じです。

berryzplus さんの pr738 ブランチに積まれていた内容がちょうど良いと思うのでそちらに切り替えました。

Copy link
Contributor

@ds14050 ds14050 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

特に動作に問題は見つけられませんでした。

@berryzplus
Copy link
Contributor

@beru さん、マージをお願いします。

ぼくがberuさんのコミットからバラした代理コミットに代わってたのでapproveを躊躇いました。
内容的には ds14050 さんと Moca さんのパッチそのままで、動作もよさげなので問題ないと思ってます。

@beru
Copy link
Contributor Author

beru commented Jan 3, 2019

それではマージします。パッチ作成&取り込みありがとうございました。

@beru beru merged commit 991c72b into sakura-editor:master Jan 3, 2019
@beru beru deleted the patchunicode_1006_1047 branch January 4, 2019 08:27
@m-tmatma m-tmatma added this to the next release milestone Feb 3, 2019
HoppingTappy pushed a commit to HoppingTappy/sakura that referenced this pull request Jun 11, 2019
patchunicode 1006 と 1047 の取り込み
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants