Commit Graph

3761 Commits

Author SHA1 Message Date
Ehsan Akhgari
883849ee32 Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
This patch was automatically generated using the following script:

function convert() {
echo "Converting $1 to $2..."
find . \
       ! -wholename "*/.git*" \
       ! -wholename "obj-ff-dbg*" \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Nathan Froyd
b252a27930 Bug 1142503 - don't use QueryInterface when the compiler can do the cast for us; r=ehsan
Calling QueryInterface with a statically known IID should typically not
be necessary.  In those cases where it's not, the compiler can do the
cast for us, though we have to supply the reference-counting that
QueryInterface would do.

In passing, several redundant null-checks for the result of |new T| have
been deleted.
2015-03-12 09:43:50 -04:00
Anish
4063a569ed Bug 958147 - Choose one of run-if or skip-if and get rid of the other.r=jmaher, mwargers 2015-03-03 08:46:37 -05:00
Nick Alexander
f657771fc2 Backed out changeset 8eef92e67922 (bug 1128033) for causing Bug 1135858.
--HG--
extra : rebase_source : 9ba5545a8eb7ede2ea152908437929299acae321
2015-02-24 11:13:21 -08:00
Wes Kocher
8161ac8243 Merge fx-team to m-c a=merge CLOSED TREE 2015-02-20 18:06:13 -08:00
Nathan Froyd
461d0d9d2b Bug 1134633 - convert makefile rules with props2arrays.py to use moz.build GENERATED_FILES; r=mshal
Now that GENERATED_FILES can generate makefile rules for generating
files, we can start moving rules from Makefile.in's into moz.build.
2015-02-19 10:35:08 -05:00
Nick Alexander
6aca4957a6 Bug 1128033 - Install hyphenation files with FINAL_TARGET_FILES. r=gps
--HG--
extra : rebase_source : ae9a8f8498d9b70f3a9a103fb544ae49e6551719
2015-01-30 14:17:19 -08:00
Jonathan Kew
32ba31eb54 Bug 1105644 - Lowercase words before passing them to libhyphen, so as to match patterns fully. r=smontagu 2015-02-16 10:28:54 +00:00
Carsten "Tomcat" Book
1663e96baa Backed out changeset e46f80935409 (bug 1105644) for ASAN reftest failures 2015-02-18 14:51:24 +01:00
Jonathan Kew
98fd03c4e0 Bug 1105644 - Lowercase words before passing them to libhyphen, so as to match patterns fully. r=smontagu 2015-02-18 09:25:51 +00:00
Chris Peterson
87ba345f81 Bug 1133289 - Remove nonstandard expression closures from intl/locale. r=smontagu 2015-01-24 23:53:08 -08:00
Nicholas Nethercote
242708cf72 Bug 1127201 (attempt 2, part 1) - Replace most NS_ABORT_IF_FALSE calls with MOZ_ASSERT. r=Waldo.
--HG--
extra : rebase_source : 488e401ff87e31a2074c4108c4df0572d9536667
2015-02-09 14:34:50 -08:00
Andrew McCreight
d3826daa16 Back out Bug 1127201 (part 2) for various problems. 2015-02-06 15:04:32 -08:00
Nicholas Nethercote
d34f0301b8 Bug 1127201 (part 2) - Convert all NS_ABORT_IF_FALSE calls to MOZ_ASSERT. r=Waldo.
--HG--
extra : rebase_source : 99182e70335d2b5ff95f8c528ae992d37294be3a
2015-02-04 20:05:36 -08:00
Mike Hommey
a35dbaeebf Bug 1126593 - Add a global fallible instance, so that using fallible works directly, everywhere. r=njn
--HG--
rename : memory/mozalloc/fallible.h => memory/fallible/fallible.h
2015-02-02 09:56:13 +09:00
Masatoshi Kimura
95d1846f2d Bug 1126269 - Part 2: Remove a useless include from intl/lwbrk/th_char.h. r=smontagu 2015-01-30 08:53:47 +09:00
jp111
6137a8c380 Bug 958147 - Choose one of run-if or skip-if and get rid of the other. r=ted 2015-01-28 06:17:00 -05:00
Daniel Holbert
a8bf98021a Bug 1126447: Annotate overriding functions as MOZ_OVERRIDE in nsDateTimeFormatUnix.h. r=ehsan 2015-01-27 11:53:26 -08:00
Hector Zhao
27f5250355 Bug 1123345 - Use MOZ_ICU_CFLAGS instead of in-tree paths for build with system icu. r=glandium 2015-01-17 11:30:04 +08:00
Trevor Saunders
6c486b0407 bug 1122100 - more MOZ_OVERRIDE in xpcomish stuff r=froydnj 2015-01-19 17:41:12 -05:00
Birunthan Mohanathas
73081c85f0 Bug 1005863 - Part 1: Use props2arrays for langGroups.properties. r=hsivonen 2015-01-14 07:30:49 +02:00
Christoph Kerschbaumer
54b8e4e5e4 Bug 1110469 - Remove NS_OpenURI (r=sworkman) 2015-01-11 20:26:40 -08:00
Ehsan Akhgari
7e5c201140 Bug 1118418 - Mark virtual overridden functions as MOZ_OVERRIDE in intl; r=smontagu 2015-01-06 23:33:50 -05:00
Christoph Kerschbaumer
9081805245 Bug 1087733: Make JS callers of ios.newChannel call ios.newChannel2 in intl/ (r=smontagu) 2014-10-24 14:55:14 -07:00
Jacek Caban
fc7e1b9a5e Bug 1101625 - mingw fixup. 2014-12-20 22:05:49 +01:00
Cameron Kaiser
537581b71a Bug 1109972: nsHyphenator should not assume sizeof(bool) == sizeof(char). r=dbaron 2014-12-10 17:10:35 -08:00
Chris Peterson
e424225899 Bug 1107814 - Part 2: Mark some directories as FAIL_ON_WARNINGS conditionally for some compilers. r=gps 2014-12-04 01:11:14 -08:00
Chris Peterson
22d0c4b343 Bug 1107814 - Part 1: Mark more directories as FAIL_ON_WARNINGS for all compilers. r=gps 2014-12-04 16:24:03 -08:00
Mats Palmgren
b4b9b9906a Bug 1101625 part 2 - Remove the aIRI param since it's always true. And some minor code cleanup. r=smontagu 2014-12-01 15:55:15 +00:00
Mats Palmgren
93a86d1a91 Bug 1101625 part 1 - Don't escape all non-ASCII characters when unsafe characters are found, just escape the unsafe characters. r=smontagu 2014-12-01 15:55:15 +00:00
Jonathan Kew
d0f999a115 Bug 1104589 - Improve the mapping of lang tags to langGroup codes. r=smontagu 2014-11-26 10:24:16 +00:00
Simon Montagu
ad766a1fcb Bug 1100071 patch 2: add macros for common tests whether bidi level is odd and whether two bidi levels have the same parity, r=dholbert 2014-11-20 12:45:22 +02:00
Richard Newman
1c0ca6a690 Bug 1095298 - Ignore 'C' locale when initializing nsLocaleService on Android. r=emk
On Android Lollipop, our setlocale call returns "C", rather than the null it returns on earlier Android versions.

This impacts locale detection, causing devices to always appear to be in en-US.

This patch conditionally ignores "C" if MOZ_WIDGET_ANDROID is set.
2014-11-12 08:52:19 -08:00
Mats Palmgren
da6a98dfa9 Bug 415491, part 4 - Make UnEscapeURIForUI always escape the result if it contains blacklisted characters. r=bzbarsky 2014-11-08 02:42:05 +00:00
Mats Palmgren
42a64f6c96 Bug 415491, part 3 - Use NS_EscapeURL of _retval as the result. r=bzbarsky 2014-11-08 02:42:04 +00:00
Mats Palmgren
decd558ea2 Bug 415491, part 1 - Make UnEscapeURIForUI escape the URI if it contains any 'network.IDN.blacklist_chars' characters (except space). r=bzbarsky 2014-11-08 02:42:04 +00:00
Mike Hommey
47c853314f Bug 1077148 part 4 - Add and use new moz.build templates for Gecko programs and libraries. r=gps
There are, sadly, many combinations of linkage in use throughout the tree.
The main differentiator, though, is between program/libraries related to
Gecko or not. Kind of. Some need mozglue, some don't. Some need dependent
linkage, some standalone.

Anyways, these new templates remove the need to manually define the
right dependencies against xpcomglue, nspr, mozalloc and mozglue
in most cases.

Places that build programs and were resetting MOZ_GLUE_PROGRAM_LDFLAGS
or that build libraries and were resetting MOZ_GLUE_LDFLAGS can now
just not use those Gecko-specific templates.
2014-10-30 13:06:12 +09:00
Cosmin Malutan
eea1f5cc9b Bug 1086527 - Make sure PluralForm.get can be called from strict mode. r=Mossop 2014-10-23 23:29:00 +02:00
Tooru Fujisawa
280d4d0517 Bug 1045958 - Use raw ICU instead of CoreServices API in Unicode collation on Mac OS X r=josh. 2014-10-08 22:43:47 +08:00
Ehsan Akhgari
917934b1e1 Bug 1079319 - Fix some more bad implicit constructors in intl; r=smontagu 2014-09-24 09:16:53 -04:00
Andrew Halberstadt
d292ee73f1 Bug 1066735 - Remove root b2g and android specific xpcshell manifests, r=chmanchester 2014-10-07 18:18:28 -04:00
Henri Sivonen
e42f0e109b Bug 1072187 - Remove HZ-GB-2312. r=emk. 2014-09-26 15:12:02 +03:00
Henri Sivonen
67a076444a Bug 964225 - Remove the GBK decoder class and remove GB2312 as a Gecko-canonical encoding. r=emk. 2014-09-26 15:12:02 +03:00
Henri Sivonen
962aed5f40 Bug 945215 - Map HZ-GB-2312 to the replacement encoding. r=emk.
--HG--
rename : dom/encoding/test/reftest/bug863728-1-ref.html => dom/encoding/test/reftest/bug945215-1-ref.html
rename : dom/encoding/test/reftest/bug863728-1.html => dom/encoding/test/reftest/bug945215-1.html
rename : dom/encoding/test/reftest/bug863728-2-ref.html => dom/encoding/test/reftest/bug945215-2-ref.html
rename : dom/encoding/test/reftest/bug863728-2.html => dom/encoding/test/reftest/bug945215-2.html
2014-09-24 12:23:28 +03:00
Ed Morley
d6b3b7959d Backed out changeset ce22b4d51b72 (bug 945215) for assertions in EncodingUtils.cpp; CLOSED TREE 2014-09-26 16:11:29 +01:00
Ed Morley
4a493a3d61 Backed out changeset 6e5adc14dc82 (bug 964225) 2014-09-26 16:10:57 +01:00
Carsten "Tomcat" Book
30edf44348 Backed out changeset d0be07d7cf1b (bug 1072187) for test bustage on a CLOSED TREE 2014-09-26 15:48:14 +02:00
Henri Sivonen
eac446fa48 Bug 1072187 - Remove HZ-GB-2312. r=emk. 2014-09-26 15:12:02 +03:00
Henri Sivonen
c02f4630b6 Bug 964225 - Remove the GBK decoder class and remove GB2312 as a Gecko-canonical encoding. r=emk. 2014-09-26 15:12:02 +03:00
Henri Sivonen
c57d908ac2 Bug 945215 - Map HZ-GB-2312 to the replacement encoding. r=emk.
--HG--
rename : dom/encoding/test/reftest/bug863728-1-ref.html => dom/encoding/test/reftest/bug945215-1-ref.html
rename : dom/encoding/test/reftest/bug863728-1.html => dom/encoding/test/reftest/bug945215-1.html
rename : dom/encoding/test/reftest/bug863728-2-ref.html => dom/encoding/test/reftest/bug945215-2-ref.html
rename : dom/encoding/test/reftest/bug863728-2.html => dom/encoding/test/reftest/bug945215-2.html
2014-09-24 12:23:28 +03:00