Dry run: Try jobs failed on following builders: android_n5x_swarming_rel on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_n5x_swarming_rel/builds/127491) cast_shell_linux on ...
3 years, 9 months ago
(2017-02-28 02:52:37 UTC)
#4
Since WTF::HashMap requires tombstone values we end up having to pick some, which feels unclean. ...
3 years, 9 months ago
(2017-02-28 02:58:04 UTC)
#6
Since WTF::HashMap requires tombstone values we end up having to pick some,
which feels unclean. I did consider instead dynamically picking an unused value
on a per-enum basis, but this doesn't play well with versioning and extensible
enums. At least there's a static check to make sure that if this comes and bites
us we'll know.
tibell
Description was changed from ========== Mojo: Support enums as map keys in WTF Since WTF::HashMap ...
3 years, 9 months ago
(2017-02-28 03:01:49 UTC)
#7
Description was changed from
==========
Mojo: Support enums as map keys in WTF
Since WTF::HashMap requires two special tombstone values ("empty" and "deleted")
we pick two values unlikely to be used in an enum and add a static check if they
ever are used.
BUG=696858
==========
to
==========
Mojo: Support enums as map keys in WTF
Since WTF::HashMap requires two special tombstone values ("empty" and "deleted")
we pick two values unlikely to be used in an enum and add a static check if they
ever are used.
BUG=696858
==========
Dry run: Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/398996)
3 years, 9 months ago
(2017-02-28 04:35:46 UTC)
#15
3 years, 9 months ago
(2017-02-28 07:41:33 UTC)
#19
Dry run: This issue passed the CQ dry run.
yzshen1
Can the following TODO removed? https://cs.chromium.org/chromium/src/mojo/public/tools/bindings/blink_bindings_configuration.gni?rcl=161c9a742555daaabaca73d24dafecfc14e2ba99&l=34 https://codereview.chromium.org/2715153004/diff/80001/mojo/public/tools/bindings/generators/cpp_templates/module.h.tmpl File mojo/public/tools/bindings/generators/cpp_templates/module.h.tmpl (right): https://codereview.chromium.org/2715153004/diff/80001/mojo/public/tools/bindings/generators/cpp_templates/module.h.tmpl#newcode93 mojo/public/tools/bindings/generators/cpp_templates/module.h.tmpl:93: {%- for enum ...
3 years, 9 months ago
(2017-02-28 18:48:35 UTC)
#20
PTAL Also removed the TODO/blacklist. https://codereview.chromium.org/2715153004/diff/80001/mojo/public/tools/bindings/generators/cpp_templates/module.h.tmpl File mojo/public/tools/bindings/generators/cpp_templates/module.h.tmpl (right): https://codereview.chromium.org/2715153004/diff/80001/mojo/public/tools/bindings/generators/cpp_templates/module.h.tmpl#newcode93 mojo/public/tools/bindings/generators/cpp_templates/module.h.tmpl:93: {%- for enum in ...
3 years, 9 months ago
(2017-03-01 23:08:40 UTC)
#22
Dry run: Try jobs failed on following builders: android_compile_dbg on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_compile_dbg/builds/221422)
3 years, 9 months ago
(2017-03-01 23:37:36 UTC)
#26
Dry run: Try jobs failed on following builders: linux_chromium_compile_dbg_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_compile_dbg_ng/builds/249171)
3 years, 9 months ago
(2017-03-02 01:06:20 UTC)
#31
PTAL In removing the blacklist I found that using StructPtrs as keys had been broken ...
3 years, 9 months ago
(2017-03-02 01:47:08 UTC)
#38
PTAL
In removing the blacklist I found that using StructPtrs as keys had been broken
and the tests for that functionality had been removed. I've re-added the
important parts of those tests (the two added files) and fixed up the StructPtr
hashing code.
tibell
Description was changed from ========== Mojo: Support enums as map keys in WTF Since WTF::HashMap ...
3 years, 9 months ago
(2017-03-02 01:47:30 UTC)
#39
Description was changed from
==========
Mojo: Support enums as map keys in WTF
Since WTF::HashMap requires two special tombstone values ("empty" and "deleted")
we pick two values unlikely to be used in an enum and add a static check if they
ever are used.
BUG=696858
==========
to
==========
Mojo: Support enums as map keys in WTF
Since WTF::HashMap requires two special tombstone values ("empty" and "deleted")
we pick two values unlikely to be used in an enum and add a static check if they
ever are used.
Also fix hashing for StructPtr, which was broken during a clean-up.
BUG=696858
==========
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
3 years, 9 months ago
(2017-03-02 05:41:17 UTC)
#40
Dry run: Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/242634)
3 years, 9 months ago
(2017-03-02 05:41:18 UTC)
#41
The one test failure looks like a flake. Will submit. https://codereview.chromium.org/2715153004/diff/160001/mojo/public/cpp/bindings/tests/map_unittest.cc File mojo/public/cpp/bindings/tests/map_unittest.cc (right): https://codereview.chromium.org/2715153004/diff/160001/mojo/public/cpp/bindings/tests/map_unittest.cc#newcode1 ...
3 years, 9 months ago
(2017-03-02 23:16:50 UTC)
#43
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/376250)
3 years, 9 months ago
(2017-03-03 01:22:02 UTC)
#48
CQ is committing da patch. Bot data: {"patchset_id": 180001, "attempt_start_ts": 1488755501379260, "parent_rev": "4a1788dd92171c1f9384a3ebd6b751e1aa239926", "commit_rev": "3bb4fdb452973721bd26d6adbcf00c9adacede4b"}
3 years, 9 months ago
(2017-03-06 00:49:43 UTC)
#51
CQ is committing da patch.
Bot data: {"patchset_id": 180001, "attempt_start_ts": 1488755501379260,
"parent_rev": "4a1788dd92171c1f9384a3ebd6b751e1aa239926", "commit_rev":
"3bb4fdb452973721bd26d6adbcf00c9adacede4b"}
commit-bot: I haz the power
Description was changed from ========== Mojo: Support enums as map keys in WTF Since WTF::HashMap ...
3 years, 9 months ago
(2017-03-06 00:50:19 UTC)
#52
Message was sent while issue was closed.
Description was changed from
==========
Mojo: Support enums as map keys in WTF
Since WTF::HashMap requires two special tombstone values ("empty" and "deleted")
we pick two values unlikely to be used in an enum and add a static check if they
ever are used.
Also fix hashing for StructPtr, which was broken during a clean-up.
BUG=696858
==========
to
==========
Mojo: Support enums as map keys in WTF
Since WTF::HashMap requires two special tombstone values ("empty" and "deleted")
we pick two values unlikely to be used in an enum and add a static check if they
ever are used.
Also fix hashing for StructPtr, which was broken during a clean-up.
BUG=696858
Review-Url: https://codereview.chromium.org/2715153004
Cr-Commit-Position: refs/heads/master@{#454805}
Committed:
https://chromium.googlesource.com/chromium/src/+/3bb4fdb452973721bd26d6adbcf0...
==========
commit-bot: I haz the power
Committed patchset #10 (id:180001) as https://chromium.googlesource.com/chromium/src/+/3bb4fdb452973721bd26d6adbcf00c9adacede4b
3 years, 9 months ago
(2017-03-06 00:50:20 UTC)
#53
Issue 2715153004: Mojo: Support enums as map keys in WTF
(Closed)
Created 3 years, 9 months ago by tibell
Modified 3 years, 9 months ago
Reviewers: yzshen1
Base URL:
Comments: 6