Masayuki Nakano
38b1de7ee7
Bug 912956 part.16 mozilla/MiscEvents.h should be included directly r=roc
2013-09-25 20:21:20 +09:00
Ehsan Akhgari
830d4e9911
Bug 919326 - Minimize the #includes in layout/ IDL files; r=roc
...
--HG--
extra : rebase_source : ec8cdff9466ff75463841818537ecead2cb57e62
2013-09-22 19:24:27 -04:00
Cameron McCormack
ec1a5c3498
Bug 893319 - Remove -moz-rgba() and -moz-hsla(). r=bz
2013-09-16 10:43:56 +10:00
Kyle Huey
5c8c4e7794
Bug 911258: Part 6 - Fixup tests. r=me
2013-09-08 20:30:10 -07:00
Bobby Holley
0fcc3886ab
Bug 912322 - Fix tests. r=bz
...
The crashtest changes are untested (aside from the fact that they don't crash).
2013-09-06 09:12:56 -07:00
Robert O'Callahan
8ca63f18ef
Bug 910989. Remove nsTHashtable::Init, fallible allocation, and MT hashtables. r=ehsan,bsmedberg
...
--HG--
extra : rebase_source : 0787130b1814c74bfb38dc178de94022f0b2e64e
2013-09-02 20:41:57 +12:00
Phil Ringnalda
cf2028664c
Back out e46601eb7279:533dc9ea3301 (bug 912322) for Android reftest bustage
2013-09-04 21:49:16 -07:00
Bobby Holley
e903e0f569
Bug 912322 - Fix tests. r=bz
...
The crashtest changes are untested (aside from the fact that they don't crash).
2013-09-04 19:05:51 -07:00
Mike Hommey
05b3f24e0e
Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps
2013-09-05 09:01:46 +09:00
David Zbarsky
214420a48a
Bug 908180 - Don't #include nsGUIEvent.h in nsIPresShell.h. r=mounir
2013-08-23 13:56:20 -04:00
David Zbarsky
2dcee164d7
Backout c619171e0070 for windows assertion failure on a CLOSED TREE
2013-08-23 14:58:41 -04:00
David Zbarsky
c76b222982
Bug 908180 - Don't #include nsGUIEvent.h in nsIPresShell.h r=mounir
2013-08-23 13:56:20 -04:00
Mina Almasry
036abb7597
Bug 907816 - GetCSSValuesForProperty does not use the display keyword table. r=bz
2013-08-22 10:16:07 -04:00
Ms2ger
4e45b3d52e
Bug 883284 - Part e: Move LIBXUL_LIBRARY into moz.build (k-o); r=ted
2013-08-22 08:56:00 +02:00
Ms2ger
66214743ad
Bug 882859 - Part b: Move FAIL_ON_WARNINGS into moz.build; r=joey+gps
2013-08-22 08:55:59 +02:00
Ms2ger
badb581ba0
Bug 904178 - Part f: Remove some includes from nsPIDOMWindow.h; r=mounir
2013-08-22 08:30:55 +02:00
Trevor Saunders
a8a12176ad
bug 659722 - remove _IMPL_NS_LAYOUT r=bz
2013-03-16 00:31:38 -04:00
Mina Almasry
d20f3d6471
Bug 899230 - domUtils.getCSSValuesForProperty doesn't return "logical" and "physical" any list. r=bz
...
This patch prevents inIDOMUtils from returning logical and physical from any list.
2013-07-30 15:38:01 -04:00
Ehsan Akhgari
085494b95d
Bug 895322 - Part 1: Replace the usages of MOZ_STATIC_ASSERT with C++11 static_assert; r=Waldo
...
This patch was mostly generated by running the following scripts on the codebase, with some
manual changes made afterwards:
# static_assert.sh
#!/bin/bash
# Command to convert an NSPR integer type to the equivalent standard integer type
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.cc" \
-o -iname "*.mm" \) | \
xargs -n 1 `dirname $0`/assert_replacer.py #sed -i -e "s/\b$1\b/$2/g"
}
convert MOZ_STATIC_ASSERT static_assert
hg rev --no-backup mfbt/Assertions.h \
media/webrtc/signaling/src/sipcc/core/includes/ccapi.h \
modules/libmar/src/mar_private.h \
modules/libmar/src/mar.h
# assert_replacer.py
#!/usr/bin/python
import sys
import re
pattern = re.compile(r"\bMOZ_STATIC_ASSERT\b")
def replaceInPlace(fname):
print fname
f = open(fname, "rw+")
lines = f.readlines()
for i in range(0, len(lines)):
while True:
index = re.search(pattern, lines[i])
if index != None:
index = index.start()
lines[i] = lines[i][0:index] + "static_assert" + lines[i][index+len("MOZ_STATIC_ASSERT"):]
for j in range(i + 1, len(lines)):
if lines[j].find(" ", index) == index:
lines[j] = lines[j][0:index] + lines[j][index+4:]
else:
break
else:
break
f.seek(0, 0)
f.truncate()
f.write("".join(lines))
f.close()
argc = len(sys.argv)
for i in range(1, argc):
replaceInPlace(sys.argv[i])
--HG--
extra : rebase_source : 4b4a4047d82f2c205b9fad8d56dfc3f1afc0b045
2013-07-18 13:59:53 -04:00
Mina Almasry
696e141753
Bug 898455 - remove domUtils.getCSSValuesForProperty duplicate entries; r= bz
...
Removes duplicate entries from the values that are returned by getCSSValuesForProperty,
and returns url for the proper properties.
2013-07-29 14:42:51 +02:00
Mina Almasry
094e5a6bee
Bug 734861 - Add a waitForExplicitFinish() call to match the finish() call in test. r=bz
2013-07-26 11:59:35 -04:00
Mina Almasry
3e29e07960
Bug 734861 - Expose stylesheets, including UA, for a document via inIDOMUtils. r=bz
...
This patch adds an API to inspector utils that gets all stylesheets associated with a document, including UA sheets.
2013-07-25 09:31:14 -04:00
David Zbarsky
b9c20a7821
Bug 894646 - Various dom deCOM cleanups r=Ms2ger
2013-07-23 16:39:17 -07:00
Ryan VanderMeulen
8763a1548b
Backed out changeset 83f4f6f435cf (bug 734861) for mochitest-5 timeouts.
2013-07-23 11:13:50 -04:00
Simon Sapin
d6f3091b8f
Bug 483446 - CSS3 'background-attachment: local' support. r=roc
2013-07-23 09:22:58 -04:00
Mina Almasry
87679735a6
Bug 734861 - Expose stylesheets, including UA, for a document via inIDOMUtils. r=bz
...
This patch adds an API to inspector utils that gets all stylesheets associated with a document, including UA sheets.
2013-07-23 09:20:19 -04:00
Mina Almasry
eea48dff05
Bug 895076 - domUtils.getCSSValuesForProperty now returns non keyword values. r=bz
...
This patch makes getCSSValuesForProperty return some none keyword values: auto,
normal, none, all, calc, -moz-calc, -moz-element, -moz-element-rect, rgb, hsl, -moz-rgba, -moz-hsla, rgba, hsla, cubic-bezer, and steps.
2013-07-19 10:32:52 -04:00
William Chen
f8b2cdb2c6
Bug 796061 - Part 2: Remove mInsertionParentTable from nsBindingManager. r=mrbkap
2013-07-17 09:05:06 -07:00
William Chen
43142c497a
Bug 796061 - Part 1: Remove mBindingTable from nsBindingManager. r=mrbkap
2013-07-17 09:05:03 -07:00
Ryan VanderMeulen
48ed80d20b
Bug 877690 - Fix typo in test. DONTBUILD
2013-07-16 13:52:01 -04:00
Mina Almasry
92ac0178f1
Bug 877690 - Implement an API for getting CSS property values to be used in auto-completion. r=bz
2013-07-15 17:28:49 -04:00
Ed Morley
a8bb0da359
Backed out changeset 9897835271b5 (bug 877690) for crashes on a CLOSED TREE
2013-07-15 16:36:17 +01:00
Mina Almasry
32e79db6d6
Bug 877690 - Implement an API for getting CSS property values to be used in auto-completion. r=bz
2013-07-15 09:59:57 -04:00
Trevor Saunders
238525e2d8
bug 887483 - remove a bunch of useless assignments to FORCE_STATIC_LIB implied by LIBXUL_LIBRARY=1 r=mshal
2013-07-11 11:06:34 -04:00
Blake Kaplan
a3a6516091
Bug 653881 - Rework XBL insertion points and clean up related code to more closely follow the Web Components model. Instead of maintaining a hashtable of insertion points in bindings (and removing insertions points from the tree) leave the insertion points in the tree as explicit placeholders and teach all other relevant code how to walk the explicit children of elements via two iterators (ExplicitChildIterator and FlattenedChildIterator). Note that this patch does not maintain 100% compatibility with the previous code: there are bug fixes and behavior changes included. For example, by having explicit insertion points in the bindings, it is now easier to handle dynamic changes to the bound element correctly (as well as, eventually, handling dynamic changes to the binding correctly). Patch originally by sicking. r=bzbarsky
...
--HG--
extra : rebase_source : 6926ae8ea57b20f4067b16bd3d7bd85bda854756
2013-05-01 15:50:08 -07:00
Brian O'Keefe
ed17339221
Bug 875934 - Move LIBRARY_NAME to moz.build (batch #1 ); r=mshal
...
--HG--
extra : rebase_source : 385d3fd65475ffc18ee44ae088753649470e214b
2013-06-17 15:21:01 -04:00
Boris Zbarsky
9f09fecc19
Bug 877281 part 6. Replace ${jsvalPtr} with a MutableHandle ${jsvalHandle}. r=peterv
...
It's a little unfortunate that we need both ${jsvalHandle} and
${jsvalRef}, but the only other option is to consistently have a
MutableHandle in this code. If the thing we have to work with is a
Rooted, that means doing JS::MutableHandle<JS::Value>(&myRooted) as
the thing to substitute for ${jsvalHandle}. Just using "&myRooted"
doesn't work, because things like "&myRooted.set()" or
"&myRooted.address()" fail, even if parenthesized as
"(&myRooted).set()", because &myRooted is actually a Rooted*, not a
MutableHandle.
We could go the JS::MutableHandle<JS::Value>(&myRooted) route if
desired; it would primarily uglify dictionary and sequence to-js
conversions. With the setup in this patch, ideally it looks pretty
idiomatic except for the use of .set() instead of operator= on Rooted.
2013-06-07 22:45:46 -04:00
Bobby Holley
03e356bde0
Bug 877478 - Fix tests that depend on creating verboten instances in content. r=mrbkap
...
XPConnect generally throws when trying to create instances of non-DOM objects
in content. Due to some bugs this has historically worked in certain cases, but
we're fixing those now. So we need to fix the tests that do this sort of thing.
2013-06-04 19:56:42 -07:00
Mike Shal
6f32ddf61c
Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey CLOSED TREE
...
From 9e0ba7f425143f545eb6c4b26a9a96b5ade4d8e9 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
Boris Zbarsky
7386be95e5
Bug 870845. Correctly check for parse-inaccessible properties in inDOMUtils::GetCSSPropertyNames. r=heycam
2013-05-14 14:20:58 -04:00
Ryan VanderMeulen
a7737c8f7f
Backed out 4 changesets (bug 869195, bug 870845, bug 872043, bug 862825) for mochitest b-c, mochitest-other, and xpcshell orange on a CLOSED TREE.
...
Backed out changeset 049889b25a79 (bug 869195)
Backed out changeset fc0bef5a2cfd (bug 862825)
Backed out changeset 267fe0d9c201 (bug 870845)
Backed out changeset 7b06b9d1acb2 (bug 872043)
2013-05-14 16:40:26 -04:00
Boris Zbarsky
6656d4c597
Bug 870845. Correctly check for parse-inaccessible properties in inDOMUtils::GetCSSPropertyNames. r=heycam
2013-05-14 14:20:58 -04:00
Iivari Äikäs
c0b2ce3bd9
Bug 617897 - Replace calls to AppendASCII('*') with Append('*'). r=dougt
2013-05-07 10:25:21 -04:00
Boris Zbarsky
1b68038a46
Bug 864727 part 3. Pass a handle for the parent object to WebIDL dictionary ToObject. r=ms2ger
2013-04-25 12:29:53 -04:00
Mike Shal
24b4056720
Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey
2013-04-16 15:24:43 -04:00
Gijs Kruitbosch
77a8ea38e7
Bug 125082 - use GetChildren in inDOMUtils and inDeepTreeWalker to get native anonymous content, too. r=roc
2013-04-14 11:47:31 -07:00
aceman
b20aad1de4
Bug 856238 - Remove unused includes of the obsolete nsISupportsArray and nsIEnumerator. r=Neil, r=bsmedberg
2013-04-08 14:35:31 -04:00
David Creswick
736bab73e0
Bug 856317 - Expose the column number of style rules via inIDOMUtils. r=dbaron
2013-04-06 12:38:56 -05:00
Kyle Machulis
f5e3aadf0b
Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
2013-04-01 11:36:59 -07:00
Kyle Machulis
d2b6e6e01a
Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot
2013-03-29 15:12:58 -07:00