Commit Graph

251 Commits

Author SHA1 Message Date
Benjamin Smedberg
04357a9dd8 Bug 672843 part D2 - Fix the xpconnect exception code and Components.results to prefer the name NS_ERROR_ILLEGAL_VALUE over the other synonyms. Fix a few tests that rely on exception names to use exception values instead. r=bholley 2013-11-20 11:46:18 -05:00
Mike Hommey
931cb49886 Bug 939632 - Remove LIBRARY_NAME for leaf libraries. r=gps
Landing on a CLOSED TREE.
2013-11-19 11:50:54 +09:00
Mike Hommey
db9e5129bc Bug 939074 - Remove most LIBXUL_LIBRARY. rs=gps 2013-11-19 11:48:10 +09:00
Mike Hommey
b18be7aacd Bug 939044 - Rename remaining MODULE definitions to XPIDL_MODULE. r=mshal 2013-11-19 11:47:43 +09:00
Mike Hommey
f0d1cd1e10 Bug 939044 - Remove most definitions of MODULE. r=mshal 2013-11-19 11:47:39 +09:00
Mike Hommey
f81885e53b Bug 935881 - Use FINAL_LIBRARY for all (fake) libraries that end up linked in a single other library. r=gps 2013-11-19 11:47:14 +09:00
Ehsan Akhgari
93e3b2cd20 Bug 938852 - Build layout/inspector in unified mode; r=roc 2013-11-14 21:46:28 -05:00
Ms2ger
0019ba0a33 Bug 923251 - Part f: Pass an Element to inDOMUtils::GetRuleNodeForContent and rename it to reflect that; r=heycam 2013-11-11 09:00:41 +01:00
Ms2ger
ed791684be Bug 923251 - Part e: Make nsPresContext::EnsureSafeToHandOutCSSRules return void; r=heycam 2013-11-11 09:00:33 +01:00
Mike Hommey
f1c0c07862 Bug 929905 - Consolidate sources in moz.build. r=gps 2013-10-25 08:23:05 +09:00
Mike Hommey
80c623bb6a Bug 921492 - Make StrictOrderingOnAppendList use actual alphabetical sorting. r=mshal,r=gps 2013-10-24 08:05:43 +09:00
Cameron McCormack
63f09e6793 Bug 925193 - Offer "unset" when autocompleting properties in the style inspector. r=bzbarsky 2013-10-10 11:47:40 +11:00
Ehsan Akhgari
a23cd291d5 Bug 924221 - Minimize the #includes in gfx/thebes; r=bjacob
--HG--
extra : rebase_source : af198eb9b9739ce718ba0d16c385624a722cde51
2013-10-07 19:15:59 -04:00
Ms2ger
9d5ce8dfb7 Bug 922268 - Remove empty makefiles; r=gps 2013-10-03 09:10:00 +02:00
Ehsan Akhgari
4f0b573862 Bug 921753 - Part 4: Move DrawMode outside of gfxFont.h so that we won't need to #include that header everywhere DrawMode is needed; r=roc
This patch reduces the number of files that transitively #include
gfx/2d.h from 1268 to 1208.
2013-10-01 17:02:16 -04:00
Ehsan Akhgari
27c999b3b4 Bug 921753 - Part 1: Avoid #including nsStyleStructInlines.h in nsIFrame.h; r=roc
This patch reduces the number of files that transitively #include
gfx/2d.h from 1782 to 1582.
2013-10-01 17:00:38 -04:00
Gregory Szorc
89c902c7b2 Bug 920223 - Part 2: Mass convert MOCHITEST_CHROME_FILES to manifests; rs=Ms2ger 2013-09-30 09:52:01 +02:00
Gregory Szorc
c44d9c8614 Bug 920223 - Part 1: Mass convert MOCHITEST_FILES to manifests; rs=Ms2ger 2013-09-30 09:51:57 +02:00
Ed Morley
eae8f15a4a Backed out changeset 77bff106b704 (bug 920223) 2013-09-30 12:50:12 +01:00
Ed Morley
74e3d6ce30 Backed out changeset 68b6b152f51a (bug 920223) 2013-09-30 12:50:09 +01:00
Gregory Szorc
47e946bebe Bug 920223 - Part 2: Mass convert MOCHITEST_CHROME_FILES to manifests; rs=Ms2ger 2013-09-30 09:52:01 +02:00
Gregory Szorc
3d0a157ac2 Bug 920223 - Part 1: Mass convert MOCHITEST_FILES to manifests; rs=Ms2ger 2013-09-30 09:51:57 +02:00
Cameron McCormack
d099ce662c Bug 921795 - Make inDOMUtils::GetCSSValuesForProperty report "initial" not "-moz-initial". r=mina 2013-09-29 14:41:30 +10:00
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