Closed Bug 1512673 Opened 5 years ago Closed 5 years ago

Use booleans consistently in the IPDL compiler, instead of using 0/1s

Categories

(Core :: IPC, enhancement, P1)

enhancement

Tracking

()

RESOLVED FIXED
mozilla66
Tracking Status
firefox65 --- wontfix
firefox66 --- fixed

People

(Reporter: Alex_Gaynor, Assigned: Alex_Gaynor)

Details

Attachments

(1 file)

Some of the IPDL code is really old school Python, predating bools being a real part of the language! We should modernize it. I've got a patch that starts with the fields on |ast.Type|.
Keywords: checkin-needed
Hello, 
Can you please get a reviewer to accept the current diff?
Flags: needinfo?(agaynor)
Flags: needinfo?(agaynor) → needinfo?(nika)
Flags: needinfo?(nika)
Keywords: checkin-needed
Pushed by dvarga@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/985505cc1347
convert several fields in the IPDL compiler from integers to bools; r=nika
Keywords: checkin-needed
:sigh:. Uploaded patch which fixes this -- leaving ni? because it conflicts with another patch I in c-n, and I'll just update this and c-n this after that lands.
Flags: needinfo?(agaynor)
Keywords: checkin-needed
Pushed by nbeleuzu@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/4ffc527a6946
convert several fields in the IPDL compiler from integers to bools; r=nika
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/4ffc527a6946
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla66
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: