Commit Graph

11 Commits

Author SHA1 Message Date
Sebastian Hengst
82c05cde11 Backed out changeset c8fe57b085bd (bug 1333631) 2017-01-30 23:17:34 +01:00
Masatoshi Kimura
ded7cb2cec Bug 1333631 - Disallow nsIFile::GetNativeTarget on Windows. r=froydnj
MozReview-Commit-ID: 4igXHPtQu4x
2017-01-25 23:36:50 +09:00
Nicholas Nethercote
6afc4f7628 Bug 1329857 - Remove NS_METHOD and NS_CALLBACK. r=froydnj.
Bug 1295053 removed most uses of NS_METHOD and NS_CALLBACK, but one use was
unintentionally left behind (in the XPIDL parser) and another has since crept
in (in MediaDrmCDMProxy.h).

So this patch removes NS_METHOD and NS_CALLBACK. NS_METHOD_(nsresult) and
NS_CALLBACK_(nsresult, T) can still be used for the same purpose, but those
alternatives are less likely to be used unintentionally.
2017-01-10 14:08:43 +11:00
Mike Hommey
be8cbce5d2 Bug 1319352 - Allow to run AccEventGen.py and xpild/header.py from any directory. r=mshal 2016-11-22 17:05:49 +09:00
Nicholas Nethercote
67d754c902 Bug 1295825 (part 1) - Add a [must_use] attribute to XPIDL. r=froydnj.
For XPIDL methods, this causes MOZ_MUST_USE to be prepended to the generated
C++ function declaration.

For XPIDL attributes, this causes MOZ_MUST_USE to be prepended to the generated
C++ getter declaration and (if present) setter declaration.
2016-08-17 11:08:14 +10:00
Michael Layzell
dd2dfd35d3 Bug 1293001 - Part 3: Prevent virtual method overloading in xpidl with the parser, r=froydnj
MozReview-Commit-ID: 7nFq3wJtUoi
2016-08-11 15:49:41 -04:00
Mike Shal
a05b84b2b9 Bug 1293387 - fix header.py direct invocation; r=chmanchester
MozReview-Commit-ID: FtJpzOZ4Is6
2016-07-26 14:15:06 -04:00
Mike Shal
f53a481d66 Bug 1253431 part 4 - Convert header.py to a GENERATED_FILES script; r=gps
We only ever execute this in one place, so we can just have the main
action do the --regen --cachedir=. mode of operation.

MozReview-Commit-ID: Fis4YBPFjMl
2016-03-03 14:15:58 -05:00
Gijs Kruitbosch
d54b7bb5cd Bug 1223142 - make XPIDL set default nullptrs for optional out parameters, r=bz 2015-11-05 22:45:25 +00:00
Bobby Holley
53638b2f73 Bug 1161831 - Generate an extra macro to declare a non-virtual variant of an interface. r=billm
This allows us to have a shared superclass that implements the guts of a shared
superinterface, without having the superclass actually inherit the superinterface
(which leads to annoying and unnecessary diamond-inheritance).
2015-07-21 12:57:20 -07:00
Peter Elmers
b9b8836fad Bug 1183291 - Factor idl-parser into a Python package. r=khuey
Move Python code into an xpidl subdirectory, and include a setup.py to allow
inclusion from pip install or requirements files. Change build directory
variables appropriately.
2015-07-13 13:09:11 -07:00