RESOLVED FIXED 189216
Add functionality to encode and decode a uint64_t in KeyedCoding
https://bugs.webkit.org/show_bug.cgi?id=189216
Summary Add functionality to encode and decode a uint64_t in KeyedCoding
Woodrow Wang
Reported 2018-08-31 16:59:44 PDT
Added functionality to encode and decode a uint64_t in KeyedDecoding
Attachments
Patch (19.49 KB, patch)
2018-08-31 17:39 PDT, Woodrow Wang
no flags
Patch (8.86 KB, patch)
2018-08-31 17:43 PDT, Woodrow Wang
no flags
Patch (8.89 KB, patch)
2018-09-04 09:39 PDT, Woodrow Wang
no flags
Patch (8.89 KB, patch)
2018-09-04 15:47 PDT, Woodrow Wang
no flags
Woodrow Wang
Comment 1 2018-08-31 17:39:11 PDT
Woodrow Wang
Comment 2 2018-08-31 17:43:01 PDT
Daniel Bates
Comment 3 2018-08-31 18:57:04 PDT
Comment on attachment 348691 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=348691&action=review > Source/WebCore/ChangeLog:3 > + Added functionality to encode and decode a uint64_t in KeyedCoding. This line should be a verbatim copy of the bug title. Please remove the period. > Source/WebCore/ChangeLog:7 > Please explain why you are adding this functionality given that this patch just adds infrastructure and does not make use of it. > Source/WebCore/ChangeLog:22 > +2018-08-31 Woodrow Wang <woodrow_wang@apple.com> Please fix up this file such that it only contains a new change log entry at the top.
Michael Catanzaro
Comment 4 2018-09-01 06:33:31 PDT
Comment on attachment 348691 [details] Patch The changes to KeyedEncoderGlib look fine to me. I agree that, if this is going to land in its own patch, there should be an explanation of how this functionality will be imminently used in a follow-up patch.
Woodrow Wang
Comment 5 2018-09-01 10:25:19 PDT
I've added this functionality in order to be able to encode and decode the raw uint64_t representation of an OptionSet for my patch here https://bugs.webkit.org/show_bug.cgi?id=187773 The changes in the KeyedEncoder/KeyedDecoder for Glib were made because they are derived classes of KeyedCoding which contains pure virtual functions that need to be implemented.
Daniel Bates
Comment 6 2018-09-01 11:38:57 PDT
(In reply to Woodrow Wang from comment #5) > I've added this functionality in order to be able to encode and decode the > raw uint64_t representation of an OptionSet for my patch here > https://bugs.webkit.org/show_bug.cgi?id=187773 > > The changes in the KeyedEncoder/KeyedDecoder for Glib were made because they > are derived classes of KeyedCoding which contains pure virtual functions > that need to be implemented. Great! Please explain this in the description portion of the ChangeLog entry: under the Reviewed by line.
Daniel Bates
Comment 7 2018-09-01 11:42:39 PDT
More specifically, please upload a new patch that addresses all feedback, substitutes Daniel Bates for “NOBODY (OOPS!)” and mark the patch commit-queue ?.
Woodrow Wang
Comment 8 2018-09-04 09:39:01 PDT
Daniel Bates
Comment 9 2018-09-04 13:30:59 PDT
Comment on attachment 348819 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=348819&action=review > Source/WebCore/ChangeLog:9 > + representation of an OptionSet for my patch here https://bugs.webkit.org/show_bug.cgi?id=187773 I would put the URL in angle brackets and add a period at the end of this sentence.
Woodrow Wang
Comment 10 2018-09-04 15:47:19 PDT
WebKit Commit Bot
Comment 11 2018-09-05 10:03:09 PDT
Comment on attachment 348860 [details] Patch Clearing flags on attachment: 348860 Committed r235673: <https://trac.webkit.org/changeset/235673>
WebKit Commit Bot
Comment 12 2018-09-05 10:03:11 PDT
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 13 2018-09-05 10:05:01 PDT
Note You need to log in before you can comment on or make changes to this bug.