Dry run: Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/149341) ios-simulator on ...
3 years, 10 months ago
(2017-02-08 04:04:39 UTC)
#4
Dry run: Try jobs failed on following builders: linux_chromium_tsan_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_tsan_rel_ng/builds/11439)
3 years, 10 months ago
(2017-02-08 21:13:41 UTC)
#9
3 years, 10 months ago
(2017-02-08 23:56:14 UTC)
#16
PTAL.
bashi
This is great idea! https://codereview.chromium.org/2684773003/diff/40001/third_party/WebKit/Source/bindings/scripts/name_style_converter.py File third_party/WebKit/Source/bindings/scripts/name_style_converter.py (right): https://codereview.chromium.org/2684773003/diff/40001/third_party/WebKit/Source/bindings/scripts/name_style_converter.py#newcode9 third_party/WebKit/Source/bindings/scripts/name_style_converter.py:9: SPECIAL_PREFIXES = [ Probably we ...
3 years, 10 months ago
(2017-02-09 00:15:07 UTC)
#17
LGTM https://codereview.chromium.org/2684773003/diff/40001/third_party/WebKit/Source/bindings/scripts/code_generator_web_module.py File third_party/WebKit/Source/bindings/scripts/code_generator_web_module.py (right): https://codereview.chromium.org/2684773003/diff/40001/third_party/WebKit/Source/bindings/scripts/code_generator_web_module.py#newcode164 third_party/WebKit/Source/bindings/scripts/code_generator_web_module.py:164: self.generate_file(template_context, 'cc') Is it intentional that you use ...
3 years, 10 months ago
(2017-02-09 01:00:11 UTC)
#18
https://codereview.chromium.org/2684773003/diff/40001/third_party/WebKit/Source/bindings/scripts/code_generator_web_module.py File third_party/WebKit/Source/bindings/scripts/code_generator_web_module.py (right): https://codereview.chromium.org/2684773003/diff/40001/third_party/WebKit/Source/bindings/scripts/code_generator_web_module.py#newcode164 third_party/WebKit/Source/bindings/scripts/code_generator_web_module.py:164: self.generate_file(template_context, 'cc') On 2017/02/09 at 01:00:11, haraken wrote: > ...
3 years, 10 months ago
(2017-02-09 04:15:29 UTC)
#22
https://codereview.chromium.org/2684773003/diff/40001/third_party/WebKit/Sour...
File third_party/WebKit/Source/bindings/scripts/code_generator_web_module.py
(right):
https://codereview.chromium.org/2684773003/diff/40001/third_party/WebKit/Sour...
third_party/WebKit/Source/bindings/scripts/code_generator_web_module.py:164:
self.generate_file(template_context, 'cc')
On 2017/02/09 at 01:00:11, haraken wrote:
> Is it intentional that you use .cc instead of .cpp?
Yep, trying to match the Chromium style for these classes.
https://codereview.chromium.org/2684773003/diff/40001/third_party/WebKit/Sour...
File third_party/WebKit/Source/bindings/scripts/name_style_converter.py (right):
https://codereview.chromium.org/2684773003/diff/40001/third_party/WebKit/Sour...
third_party/WebKit/Source/bindings/scripts/name_style_converter.py:1: #
Copyright 2016 The Chromium Authors. All rights reserved.
On 2017/02/09 at 01:00:11, haraken wrote:
> 2017
Ooops! Fixed.
https://codereview.chromium.org/2684773003/diff/40001/third_party/WebKit/Sour...
third_party/WebKit/Source/bindings/scripts/name_style_converter.py:9:
SPECIAL_PREFIXES = [
On 2017/02/09 at 00:15:07, bashi wrote:
> Probably we should use v8_utilities.ACRONYMS (or move it here)?
These are surprisingly intersecting, but not mutually inclusive sets. Looking at
IDL files, these two are the only ones I'd found where a simple regex couldn't
understand the extra semantics. Would you mind if I leave these as-is?
https://codereview.chromium.org/2684773003/diff/40001/third_party/WebKit/Sour...
third_party/WebKit/Source/bindings/scripts/name_style_converter.py:18:
"""Detects special cases that aren not easily discernible without additional
On 2017/02/09 at 01:00:11, haraken wrote:
> are not
Fixed.
https://codereview.chromium.org/2684773003/diff/40001/third_party/WebKit/Sour...
third_party/WebKit/Source/bindings/scripts/name_style_converter.py:39: class
NameStyleConverter(object):
On 2017/02/09 at 01:00:11, haraken wrote:
> Add a comment and mention what hacker/pascal/macro case specifically means.
>
> Nit: I feel that an "(lower-)camel" case is more common than a "pascal" case.
Yep. Added comments and changed to snake_case/upper_camel_case/macro_case, with
Google C++ Style guide and Wikipedia references.
https://codereview.chromium.org/2684773003/diff/40001/third_party/WebKit/Sour...
third_party/WebKit/Source/bindings/scripts/name_style_converter.py:56: def
to_macro_case(self):
On 2017/02/09 at 01:00:11, haraken wrote:
> Where is the macro case used?
In the header guard.
https://codereview.chromium.org/2684773003/diff/40001/third_party/WebKit/Sour...
third_party/WebKit/Source/bindings/scripts/name_style_converter.py:63: 'macro':
self.to_macro_case(),
On 2017/02/09 at 00:15:07, bashi wrote:
> How about adding "_case" or "_style" prefix? When I see a following line, I
found it's a bit difficult to understand what it means.
>
> template_context['class_name']['hacker']
>
> Also, I'm not sure these terms are common.
Fixed.
3 years, 10 months ago
(2017-02-09 04:20:45 UTC)
#23
lgtm
https://codereview.chromium.org/2684773003/diff/40001/third_party/WebKit/Sour...
File third_party/WebKit/Source/bindings/scripts/name_style_converter.py (right):
https://codereview.chromium.org/2684773003/diff/40001/third_party/WebKit/Sour...
third_party/WebKit/Source/bindings/scripts/name_style_converter.py:9:
SPECIAL_PREFIXES = [
On 2017/02/09 04:15:29, dglazkov wrote:
> On 2017/02/09 at 00:15:07, bashi wrote:
> > Probably we should use v8_utilities.ACRONYMS (or move it here)?
>
> These are surprisingly intersecting, but not mutually inclusive sets. Looking
at
> IDL files, these two are the only ones I'd found where a simple regex couldn't
> understand the extra semantics. Would you mind if I leave these as-is?
I see. I'm fine with this then :)
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
3 years, 10 months ago
(2017-02-09 06:20:44 UTC)
#24
CQ is committing da patch. Bot data: {"patchset_id": 60001, "attempt_start_ts": 1486652791438430, "parent_rev": "fd932ab936187fa497e6744b9a299755a7311af5", "commit_rev": "e1eefe5f5757cf1c2c58f7bbdf0d4d2ea8031574"}
3 years, 10 months ago
(2017-02-09 15:11:25 UTC)
#29
CQ is committing da patch.
Bot data: {"patchset_id": 60001, "attempt_start_ts": 1486652791438430,
"parent_rev": "fd932ab936187fa497e6744b9a299755a7311af5", "commit_rev":
"e1eefe5f5757cf1c2c58f7bbdf0d4d2ea8031574"}
commit-bot: I haz the power
Description was changed from ========== [WebAgent API]: Implement name style handling. Since IDL names need ...
3 years, 10 months ago
(2017-02-09 15:12:02 UTC)
#30
Message was sent while issue was closed.
Description was changed from
==========
[WebAgent API]: Implement name style handling.
Since IDL names need to be represented in multiple different styles,
provide a single utility class for handling conversion, called
NameStyleConverter.
Start using this new utility class in templates.
R=bashi,yukishiino,haraken
BUG=683742
==========
to
==========
[WebAgent API]: Implement name style handling.
Since IDL names need to be represented in multiple different styles,
provide a single utility class for handling conversion, called
NameStyleConverter.
Start using this new utility class in templates.
R=bashi,yukishiino,haraken
BUG=683742
Review-Url: https://codereview.chromium.org/2684773003
Cr-Commit-Position: refs/heads/master@{#449291}
Committed:
https://chromium.googlesource.com/chromium/src/+/e1eefe5f5757cf1c2c58f7bbdf0d...
==========
commit-bot: I haz the power
Committed patchset #4 (id:60001) as https://chromium.googlesource.com/chromium/src/+/e1eefe5f5757cf1c2c58f7bbdf0d4d2ea8031574
3 years, 10 months ago
(2017-02-09 15:12:03 UTC)
#31
Issue 2684773003: [WebAgent API]: Implement name style handling.
(Closed)
Created 3 years, 10 months ago by dglazkov
Modified 3 years, 10 months ago
Reviewers: bashi, haraken, Yuki
Base URL:
Comments: 15