Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(67)

Issue 1846793002: Make wide strings use StringData template (Closed)

Created:
4 years, 8 months ago by Tom Sepez
Modified:
4 years, 8 months ago
Reviewers:
Lei Zhang
CC:
pdfium-reviews_googlegroups.com
Base URL:
https://pdfium.googlesource.com/pdfium.git@template_str
Target Ref:
refs/heads/master
Project:
pdfium
Visibility:
Public.

Description

Make wide strings use StringData template Shuffled the order of methods in fx_basic_wstring.cpp to match those in fx_basic_bstring.cpp. The way to review this patch is to diff those two files against each other. They are beginning to converge. Re-ordered some parameters in Concat() so that the string comes before its length. It feels wrong otherwise. Committed: https://pdfium.googlesource.com/pdfium/+/46bf0331229a7b7fe73cbe111550f5dd467b184a

Patch Set 1 #

Patch Set 2 : Nearly done. #

Patch Set 3 : Rebase #

Patch Set 4 : Rebase, rename, etc. #

Patch Set 5 : Re-rebase #

Total comments: 2

Patch Set 6 : needle/haystack. #

Patch Set 7 : Fix mac compile #

Unified diffs Side-by-side diffs Delta from patch set Stats (+623 lines, -711 lines) Patch
M core/fxcrt/fx_basic_bstring.cpp View 1 2 3 4 5 8 chunks +38 lines, -29 lines 0 comments Download
M core/fxcrt/fx_basic_wstring.cpp View 1 2 3 4 5 10 chunks +561 lines, -628 lines 0 comments Download
M core/fxcrt/fx_basic_wstring_unittest.cpp View 1 1 chunk +5 lines, -5 lines 0 comments Download
M core/fxcrt/include/fx_string.h View 1 2 3 4 4 chunks +17 lines, -48 lines 0 comments Download
M core/fxge/ge/fx_ge_text.cpp View 1 2 3 4 5 6 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 16 (9 generated)
Tom Sepez
Lei, for review. You'll want to pull the patch and compare wide vs byte code.
4 years, 8 months ago (2016-04-06 17:39:17 UTC) #4
Tom Sepez
On 2016/04/06 17:39:17, Tom Sepez wrote: > Lei, for review. You'll want to pull the ...
4 years, 8 months ago (2016-04-06 21:07:18 UTC) #6
Lei Zhang
lgtm https://codereview.chromium.org/1846793002/diff/80001/core/fxcrt/fx_basic_wstring.cpp File core/fxcrt/fx_basic_wstring.cpp (right): https://codereview.chromium.org/1846793002/diff/80001/core/fxcrt/fx_basic_wstring.cpp#newcode36 core/fxcrt/fx_basic_wstring.cpp:36: const FX_WCHAR* FX_wcsstr(const FX_WCHAR* str1, I shrugged at ...
4 years, 8 months ago (2016-04-06 23:15:19 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1846793002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1846793002/100001
4 years, 8 months ago (2016-04-06 23:23:29 UTC) #10
Tom Sepez
https://codereview.chromium.org/1846793002/diff/80001/core/fxcrt/fx_basic_wstring.cpp File core/fxcrt/fx_basic_wstring.cpp (right): https://codereview.chromium.org/1846793002/diff/80001/core/fxcrt/fx_basic_wstring.cpp#newcode36 core/fxcrt/fx_basic_wstring.cpp:36: const FX_WCHAR* FX_wcsstr(const FX_WCHAR* str1, On 2016/04/06 23:15:19, Lei ...
4 years, 8 months ago (2016-04-06 23:23:30 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1846793002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1846793002/120001
4 years, 8 months ago (2016-04-06 23:47:50 UTC) #14
commit-bot: I haz the power
4 years, 8 months ago (2016-04-06 23:48:30 UTC) #16
Message was sent while issue was closed.
Committed patchset #7 (id:120001) as
https://pdfium.googlesource.com/pdfium/+/46bf0331229a7b7fe73cbe111550f5dd467b...

Powered by Google App Engine
This is Rietveld 408576698