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

Issue 257783003: Basic support for unrestricted types (Closed)

Created:
6 years, 8 months ago by Nils Barth (inactive)
Modified:
6 years, 8 months ago
Reviewers:
haraken
CC:
blink-reviews, Nils Barth (inactive), arv+blink, jsbell+bindings_chromium.org, sof, kouhei+bindings_chromium.org, abarth-chromium, marja+watch_chromium.org, adamk+blink_chromium.org, haraken, Nate Chapin, Inactive
Visibility:
Public.

Description

Basic support for unrestricted types This allows one to use 'unrestricted float' and 'unrestricted double' in IDL files: they are distinguished by the frontend (they have different types), but for now the CG generates the same output. I'll follow this up with [TypeChecking=Unrestricted], which will do type checking for float and double, but not unrestricted float or unrestricted double. R=haraken BUG=354298 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=172603

Patch Set 1 #

Total comments: 7
Unified diffs Side-by-side diffs Delta from patch set Stats (+80 lines, -5 lines) Patch
M Source/bindings/scripts/idl_definitions.py View 1 chunk +3 lines, -1 line 0 comments Download
M Source/bindings/scripts/idl_types.py View 2 chunks +7 lines, -4 lines 0 comments Download
M Source/bindings/scripts/v8_types.py View 4 chunks +8 lines, -0 lines 6 comments Download
M Source/bindings/tests/idls/TestObject.idl View 1 chunk +2 lines, -0 lines 0 comments Download
M Source/bindings/tests/results/V8TestObject.cpp View 2 chunks +60 lines, -0 lines 1 comment Download

Messages

Total messages: 10 (0 generated)
Nils Barth (inactive)
Start of support for unrestricted! https://codereview.chromium.org/257783003/diff/1/Source/bindings/scripts/v8_types.py File Source/bindings/scripts/v8_types.py (right): https://codereview.chromium.org/257783003/diff/1/Source/bindings/scripts/v8_types.py#newcode356 Source/bindings/scripts/v8_types.py:356: 'float': 'static_cast<float>({v8_value}->NumberValue())', We should ...
6 years, 8 months ago (2014-04-25 05:40:14 UTC) #1
haraken
LGTM. https://codereview.chromium.org/257783003/diff/1/Source/bindings/scripts/v8_types.py File Source/bindings/scripts/v8_types.py (right): https://codereview.chromium.org/257783003/diff/1/Source/bindings/scripts/v8_types.py#newcode356 Source/bindings/scripts/v8_types.py:356: 'float': 'static_cast<float>({v8_value}->NumberValue())', On 2014/04/25 05:40:15, Nils Barth wrote: ...
6 years, 8 months ago (2014-04-25 06:16:16 UTC) #2
Nils Barth (inactive)
https://codereview.chromium.org/257783003/diff/1/Source/bindings/scripts/v8_types.py File Source/bindings/scripts/v8_types.py (right): https://codereview.chromium.org/257783003/diff/1/Source/bindings/scripts/v8_types.py#newcode356 Source/bindings/scripts/v8_types.py:356: 'float': 'static_cast<float>({v8_value}->NumberValue())', On 2014/04/25 06:16:16, haraken wrote: > I'm ...
6 years, 8 months ago (2014-04-25 07:16:07 UTC) #3
Nils Barth (inactive)
The CQ bit was checked by nbarth@chromium.org
6 years, 8 months ago (2014-04-25 07:16:11 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nbarth@chromium.org/257783003/1
6 years, 8 months ago (2014-04-25 07:16:28 UTC) #5
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-25 07:49:58 UTC) #6
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.blink on linux_blink_rel
6 years, 8 months ago (2014-04-25 07:49:58 UTC) #7
Nils Barth (inactive)
The CQ bit was checked by nbarth@chromium.org
6 years, 8 months ago (2014-04-25 07:51:43 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nbarth@chromium.org/257783003/1
6 years, 8 months ago (2014-04-25 07:52:15 UTC) #9
commit-bot: I haz the power
6 years, 8 months ago (2014-04-25 08:38:53 UTC) #10
Message was sent while issue was closed.
Change committed as 172603

Powered by Google App Engine
This is Rietveld 408576698