Masayuki Nakano
e600000538
Bug 1377978 - Make nsRange use uint32_t to offset r=smaug
...
DOM Standard defines that offset of Range is unsigned long. However, nsRange uses int32_t to them.
This patch makes nsRange use uint32_t instead. However, this patch does NOT allow to set over INT32_MAX as offset values since a lot of users of nsRange cannot treat the values as over INT32_MAX because a lot of internal APIs take int32_t as offsets.
For easier to search such points, this patch adds static_cast<int32_t> to uint32_t variables when they are used for int32_t arguments.
And note that nsContentUtils::ComparePoints() behaves odd. It accepts negative offset and compares such value with valid offset simply. This patch still uses int32_t offset variables in nsRange::CompareNodeToRange() even though it may be negative value if nsINode::IndexOf() returns -1 because the caller of it depends on this behavior.
MozReview-Commit-ID: 8RbOgA86JuT
2017-07-19 22:49:52 +09:00
Joel Maher
944830a33d
Bug 1339232 - annotate more dom/* moz.build files with BUG_COMPONENT. r=overholt
...
MozReview-Commit-ID: 2HbPxGkrVfv
2017-03-01 08:20:25 -05:00
Tom Tromey
1b5a2bdb96
Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
...
This removes the unnecessary setting of c-basic-offset from all
python-mode files.
This was automatically generated using
perl -pi -e 's/; *c-basic-offset: *[0-9]+//'
... on the affected files.
The bulk of these files are moz.build files but there a few others as
well.
MozReview-Commit-ID: 2pPf3DEiZqx
2016-07-14 10:16:42 -06:00
Ehsan Akhgari
2a47e3d6d2
Bug 994964 - Make DOM XPIDL interfaces non-scriptable, and add shim Components.interfaces entries for them; r=bzbarsky,bholley
2014-05-08 16:45:36 -04:00
Mike Hommey
7f7e4faac1
Bug 939044 - Remove most definitions of MODULE. r=mshal
2013-11-19 11:47:39 +09:00
Gregory Szorc
b4df6951e9
Bug 850380 - Derecursify and optimize XPIDL processing and move into precompile tier; r=glandium
2013-08-14 08:40:25 -07:00
Ryan VanderMeulen
afd81e198e
Backed out changesets 1fa1f28c6edf and e74f694f31c4 (bug 850380) for PGO bustage on a CLOSED TREE.
2013-08-14 15:12:20 -04:00
Gregory Szorc
e9de98eeeb
Bug 850380 - Derecursify and optimize XPIDL processing and move into precompile tier; r=glandium
2013-08-14 08:40:25 -07:00
Gregory Szorc
94638f8bda
Bug 873629 - Remove 129 empty Makefile.in files; r=ted
2013-05-17 16:20:11 -07:00
Kyle Machulis
331f36baa9
Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
2013-04-01 11:36:59 -07:00
Kyle Machulis
ec9b53db93
Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot
2013-03-29 15:12:58 -07:00
Kyle Machulis
0419a0b889
Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
2013-03-29 13:56:18 -07:00
Mike Shal
062b383755
Bug 852534 - Remove GRE_MODULE from Makefile.in; r=gps
2013-03-21 08:41:00 -07:00
Mike Shal
24be52d653
Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps
2013-03-19 11:47:00 -07:00
Mike Shal
d4f6052fe4
Bug 818246 - Part 9: Move XPIDL_FLAGS to moz.build; r=gps
2013-03-11 22:05:00 -07:00
Mike Shal
c0f79b14b6
Bug 818246 - Part 7: Move XPIDL_MODULE to moz.build; rs=gps
2013-03-11 22:00:00 -07:00
Gregory Szorc
7638dd9198
Bug 818246 - Part 4: Move XPIDLSRCS into moz.build (auto); rs=glandium
...
This is the result of running
|mach mozbuild-migrate --list XPIDLSRCS SDK_XPIDLSRCS XPIDL_SOURCES| and
reverting xpcom/sample/*.
2013-03-12 10:17:46 -07:00
Gregory Szorc
a03396cc2e
Bug 784841 - Part 18k: Convert /dom; f=Ms2ger rs=khuey
2013-02-25 12:47:20 -08:00
Nathan Froyd
a7efd80fd0
Bug 783357 - part 1: add XPIDL_FLAGS to make idl dependencies more explicit; r=khuey
2012-08-24 16:01:30 -04:00
Mike Hommey
0f9f294ea0
Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted
2012-08-04 20:26:44 +02:00
Ms2ger
39b0bf2cee
Bug 579638 - Reinstate Range.intersectsNode; r=smaug
2012-07-18 12:36:08 +02:00
Gervase Markham
cb6a072c2a
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Aryeh Gregor
7d05f10c9e
Bug 711047 Part 2 - Remove RangeException in favor of DOMException. r=sicking
2012-03-01 13:35:48 -05:00
Aryeh Gregor
37eaf93675
Bug 711047 Part 1 - Remove raises() from nsIDOMRange. r=sicking
2012-03-01 13:35:13 -05:00
David Zbarsky
c6abd95045
Bug 682611 - Part 2: Remove nsIRange; r=smaug
2012-01-10 15:19:54 +01:00
David Zbarsky
b5b429da23
Bug 682611 - Part 1: Merge nsIDOMRange and nsIDOMNSRange; r=Ms2ger r=smaug
2012-01-10 15:19:54 +01:00
Ms2ger
bf3f9e1c97
Bug 655513 - Remove nsIDOMDocumentRange; f=ehsan r=bzbarsky
2011-05-15 12:07:28 +02:00
Mitchell Field
2575ec1f3c
Remove @status FROZEN and @status UNDER_REVIEW. r=bsmedberg
2010-07-02 10:27:06 -04:00
liucougar
55bc511376
Bug 396392. Don't change frozen nsIDOMRange interface, put the new methods on nsIDOMNSRange instead. r=roc
2009-11-04 07:39:43 +13:00
liucougar
b591f56e39
Bug 396392 - Support for getClientRects and getBoundingClientRect in DOM Range
...
r=roc sr=(jonas, roc)
2009-09-24 23:01:48 +02:00
Benjamin Smedberg
c1caf46407
Bug 481027 - Move dom/public/idl to dom/interfaces, r+sr=jst
2009-03-03 12:46:49 -05:00