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

Issue 124403002: Allow braille translation result to be larger than twice the size of the input. (Closed)

Created:
6 years, 11 months ago by Peter Lundblad
Modified:
6 years, 11 months ago
Reviewers:
plundblad, David Tseng
CC:
chromium-reviews, stevenjb+watch_chromium.org, oshima+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@lkgr
Visibility:
Public.

Description

Allow braille translation result to be larger than twice the size of the input. The liblouis wrapper used to allocate an output buffer that was twice as big as the number of input characters. There are situations where this is not enough. The new approach is to retry with a larger buffer up to a certain limit. R=dtseng@chromium.org BUG=none Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=243251

Patch Set 1 #

Patch Set 2 : #

Total comments: 3

Patch Set 3 : Comment fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -15 lines) Patch
M chrome/test/data/chromeos/liblouis_nacl/test.js View 2 chunks +12 lines, -1 line 0 comments Download
M third_party/liblouis/nacl_wrapper/liblouis_wrapper.cc View 1 2 2 chunks +36 lines, -14 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Peter Lundblad
6 years, 11 months ago (2014-01-04 00:49:59 UTC) #1
David Tseng
LGTM https://codereview.chromium.org/124403002/diff/40001/third_party/liblouis/nacl_wrapper/liblouis_wrapper.cc File third_party/liblouis/nacl_wrapper/liblouis_wrapper.cc (right): https://codereview.chromium.org/124403002/diff/40001/third_party/liblouis/nacl_wrapper/liblouis_wrapper.cc#newcode130 third_party/liblouis/nacl_wrapper/liblouis_wrapper.cc:130: int outlen; nit: outbufsize https://codereview.chromium.org/124403002/diff/40001/third_party/liblouis/nacl_wrapper/liblouis_wrapper.cc#newcode146 third_party/liblouis/nacl_wrapper/liblouis_wrapper.cc:146: // retranslations ...
6 years, 11 months ago (2014-01-06 18:59:45 UTC) #2
plundblad
dtseng@chromium.org writes: > LGTM > > > https://codereview.chromium.org/124403002/diff/40001/third_party/liblouis/nacl_wrapper/liblouis_wrapper.cc > File third_party/liblouis/nacl_wrapper/liblouis_wrapper.cc (right): > > https://codereview.chromium.org/124403002/diff/40001/third_party/liblouis/nacl_wrapper/liblouis_wrapper.cc#newcode130 ...
6 years, 11 months ago (2014-01-06 19:35:27 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/plundblad@chromium.org/124403002/120001
6 years, 11 months ago (2014-01-06 19:42:48 UTC) #4
David Tseng
On Mon, Jan 6, 2014 at 11:35 AM, Peter Nilsson Lundblad < plundblad@google.com> wrote: > ...
6 years, 11 months ago (2014-01-06 20:02:32 UTC) #5
commit-bot: I haz the power
Retried try job too often on mac_rel for step(s) base_unittests, browser_tests, interactive_ui_tests, net_unittests, unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac_rel&number=208082
6 years, 11 months ago (2014-01-06 20:13:33 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/plundblad@chromium.org/124403002/120001
6 years, 11 months ago (2014-01-06 23:12:22 UTC) #7
Peter Lundblad
David Tseng writes: > > > > On Mon, Jan 6, 2014 at 11:35 AM, ...
6 years, 11 months ago (2014-01-06 23:15:40 UTC) #8
commit-bot: I haz the power
6 years, 11 months ago (2014-01-07 10:58:47 UTC) #9
Message was sent while issue was closed.
Change committed as 243251

Powered by Google App Engine
This is Rietveld 408576698