Phil Ringnalda
863943dfb7
Back out 7 changesets (bug 1235261) for cpptest failures in TestTArray
...
CLOSED TREE
Backed out changeset d66c3f19a210 (bug 1235261)
Backed out changeset 467d945426bb (bug 1235261)
Backed out changeset 32b61df13142 (bug 1235261)
Backed out changeset c50bb8ed4196 (bug 1235261)
Backed out changeset 0ff0fa6fe81f (bug 1235261)
Backed out changeset df70e89669da (bug 1235261)
Backed out changeset 064969357fc9 (bug 1235261)
2016-01-31 10:10:57 -08:00
Birunthan Mohanathas
915d94e017
Bug 1235261 - Part 2: Switch some uses of AutoFallibleTArray to AutoTArray. r=froydnj
...
This changes some function signatures to take a nsTArray<T>& instead of a
FallibleTArray<T>& because AutoTArray does not inherit from FallibleTArray.
This is effectively a no-op because the affected array operations already use
`mozilla::fallible`.
2016-01-31 17:12:12 +02:00
Birunthan Mohanathas
f94b4ff6a2
Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj
2016-01-31 17:12:12 +02:00
Chris Peterson
854ffd21a6
Bug 1242120 - Remove switch fallthrough to avoid -Wimplicit-fallthrough warning in dom/canvas/. r=mtseng
...
dom/canvas/WebGLContextGL.cpp:1329:9: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough]
2016-01-22 21:36:49 -08:00
Masatoshi Kimura
2b39e67cc9
Bug 1241432 - Implement GB18030-2005. r=smontagu
2016-01-22 21:32:03 +09:00
Stuart
4878b0a9cd
Bug 1220716 - Removing nsICurrentCharsetListener. r=emk
2016-01-14 14:50:27 +09:00
Jonathan Kew
241852b4cc
Bug 724538 - Regenerate Unicode property data with updated script. r=emk
2016-01-13 15:45:22 +00:00
Jonathan Kew
f3933436cd
Bug 724538 - When ICU is available in the build, replace most of nsCharProps2 fields with ICU property accessors. r=emk
2016-01-13 15:45:22 +00:00
Christoph Kerschbaumer
f631460d98
Bug 1232782 - Convert JS callsites to use open2 within intl/ (r=sicking)
2016-01-11 12:16:15 -08:00
Chris Peterson
6c253164e7
Bug 1235233 - Fix -Wimplicit-fallthrough warning in intl/uconv/. r=emk
...
intl/uconv/ucvja/nsJapaneseToUnicode.cpp:340:11 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
2015-11-22 22:11:12 -08:00
Gordon Su
a76893e36f
Bug 1214169 - Always use ICU in nsCollationMacUC. r=emk.
2015-12-16 17:27:44 +09:00
Jan Beich
6263cbf48c
Bug 1228208 - Make sure ICU flags are prepended before system flags. r=glandium
2015-12-02 09:40:50 +00:00
Jan Beich
151133bf60
Bug 1228227 - Unbreak build with libc++ and config/gcc_hidden.h after bug 1075758. r=Waldo r=glandium
2015-12-01 18:24:45 +00:00
Mike Hommey
547d572dd9
Bug 1229293 - Enforce order when setting a HierarchicalStringList, and forbid reassignment. r=gps
...
The current implementation of HierarchicalStringList allows the following:
FOO.bar = [
'foo',
'bar',
]
while
FOO.bar += [
'foo',
'bar',
]
would be invalid because of the StrictOrderingOnAppendList enforcement.
It also allows to overwrite the entire list with a subsequent
FOO.bar = [
'baz',
]
while we've explicitly forbidden such things for every other list.
While in the vicinity, fix HierarchicalStringList._get_export_variable to not
call the HierarchicalStringList constructor uselessly.
2015-12-02 11:04:37 +09:00
Mats Palmgren
54af341c78
Bug 1228755 - Map "C.UTF-8" to "en-US.UTF-8" in GetXPLocale(). r=smontagu
2015-11-29 17:58:36 +01:00
Ted Clancy
81a556ce8d
Bug 1157727 - Part 1: Add paired bracket type property to our character data (patch originally by :tedders1, updated by :jfkthame). r=jfkthame
2015-10-06 01:26:23 -07:00
Carsten "Tomcat" Book
21f41275c4
Backed out changeset fb72e312f137 (bug 1157727)
2015-11-25 15:37:03 +01:00
Ted Clancy
f82605b72a
Bug 1157727 - Part 1: Add paired bracket type property to our character data (patch originally by :tedders1, updated by :jfkthame). r=jfkthame
2015-10-06 01:26:23 -07:00
Jonathan Kew
701ca65f95
Bug 1210165 - Update in-tree ICU to release 56.1. implied-rs=waldo, who reviewed the script that generates it
2015-11-20 11:37:51 +00:00
Jonathan Kew
ed2be7cff8
Bug 1210165 - Tweak the update-icu script ready for release 56. r=waldo
2015-11-20 11:33:13 +00:00
Mike de Boer
c998b9222b
Bug 1048850 - Part 2: make 'ruleNum' an object member to allow the property to be passed to content pages. r=Standard8
2015-11-18 17:09:34 +01:00
Henri Sivonen
08f918f297
Bug 1214619 - Remove nsISaveAsCharset as much as possible without breaking extensions in popular use. r=emk.
2015-10-22 11:18:45 +03:00
Mike Hommey
be6191e808
Bug 1198952 - Work around GNU make 3.82 bug when recursing the ICU build system. r=gps
2015-11-11 13:13:06 +09:00
Nathan Froyd
ee4d8ac1e4
Bug 1221550 - use UniquePtr<T[]> instead of nsAutoArrayPtr<T> in intl/; r=smontagu
2015-11-03 15:49:22 -05:00
Birunthan Mohanathas
a535083ab4
Bug 1217320 - Remove more XPIDL signature comments in .cpp files. r=froydnj
...
Comment-only, DONTBUILD.
2015-10-27 06:54:25 +02:00
Henri Sivonen
ef0fc8abf3
Bug 1202366 - Implement the encoder error mode "HTML" for nsFormSubmission without nsISaveAsCharset. r=NOT_emk.
2015-10-22 11:12:42 +03:00
Jonathan Almeida [:jonalmeida]
4172650d0a
Bug 1175555 - Build flag to exclude hyphenation dictionaries from Android builds. r=nalexander
2015-09-23 22:28:59 -04:00
Nicholas Nethercote
e49efba560
Bug 1216020 - Comment all ALLOW_COMPILER_WARNINGS lines. r=glandium.
...
DONTBUILD because it only changes comments.
This will hopefully prevent confusion like that in bug 1215903.
2015-10-19 18:05:20 -07:00
Nathan Froyd
e4e2da55c9
Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
...
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout. The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.
CLOSED TREE makes big refactorings like this a piece of cake.
# The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
xargs perl -p -i -e '
s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
s/nsRefPtr ?</RefPtr</g; # handle declarations and variables
'
# Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h
# Handle nsRefPtr.h itself, a couple places that define constructors
# from nsRefPtr, and code generators specially. We do this here, rather
# than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
# things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
mfbt/nsRefPtr.h \
xpcom/glue/nsCOMPtr.h \
xpcom/base/OwningNonNull.h \
ipc/ipdl/ipdl/lower.py \
ipc/ipdl/ipdl/builtin.py \
dom/bindings/Codegen.py \
python/lldbutils/lldbutils/utils.py
# In our indiscriminate substitution above, we renamed
# nsRefPtrGetterAddRefs, the class behind getter_AddRefs. Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'
if [ -d .git ]; then
git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi
2015-10-18 01:24:48 -04:00
Aniket Vyas
a23d5b7f69
Bug 1197309 - remove PR_snprintf calls in intl/; r=froydnj
2015-10-15 21:43:53 -04:00
Carsten "Tomcat" Book
d7f143eaad
Backed out 2 changesets (bug 1202902) to recking bug 1202902 to be able to reopen inbound on a CLOSED TREE
...
Backed out changeset 647025383676 (bug 1202902)
Backed out changeset d70c7fe532c6 (bug 1202902)
2015-10-07 14:03:21 +02:00
Carsten "Tomcat" Book
b9e5717f50
Backed out 1 changesets (bug 1202902) for causing merge conflicts to mozilla-central
...
Backed out changeset cfc1820361f5 (bug 1202902)
2015-10-07 12:13:45 +02:00
Shu-yu Guo
b5f316de44
Bug 1202902 - Scripted fix the world.
2015-10-06 14:00:31 -07:00
Simon Montagu
5381d57cba
Bug 1201468: Map UErrorCode to nsresult, r=jfkthame
2015-10-06 02:59:00 -07:00
Chris Peterson
dd2fcb9b7d
Bug 1207030 - Enable -Wshadow flag in more directories that have no -Wshadow warnings. r=glandium
2015-09-22 21:39:03 -07:00
sajitk
e388f7e233
Bug 1203477 - Moved Mozilla specific files to glue directory, and third party files to hyphen directory. Adjusted moz.build files. r=glandium
2015-09-16 21:01:00 +02:00
Christoph Kerschbaumer
1d65dd6fe1
Bug 1205153 - Use channel->Open2() in intl/strres/nsStringBundleTextOverride.cpp (r=sicking)
2015-09-15 19:49:55 -07:00
Shu-yu Guo
45211869c8
Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff)
2015-09-15 11:19:45 -07:00
Henri Sivonen
1e118e16a6
Bug 912470 addendum - Pass override static analysis. r=emk.
2015-09-11 09:35:52 +03:00
Henri Sivonen
4972edc4dc
Bug 912470 part 2 - Implement Encoding Standard-compliant big5 encoder. r=emk.
2015-09-03 15:21:57 +03:00
Henri Sivonen
1c2b51d5b2
Bug 912470 part 1 - Implement Encoding Standard-compliant big5 decoder. r=emk.
2015-06-16 15:26:10 +03:00
Phil Ringnalda
8c77c63a10
Back out 2 changesets (bug 912470) for static analysis bustage
...
CLOSED TREE
Backed out changeset 8ecf2f65d4f0 (bug 912470)
Backed out changeset 19af08a9c288 (bug 912470)
2015-09-10 09:37:51 -07:00
Henri Sivonen
8b06149c69
Bug 912470 part 2 - Implement Encoding Standard-compliant big5 encoder. r=emk.
2015-09-03 15:21:57 +03:00
Henri Sivonen
3672b55134
Bug 912470 part 1 - Implement Encoding Standard-compliant big5 decoder. r=emk.
2015-06-16 15:26:10 +03:00
Nicholas Nethercote
5f59618546
Bug 1203412 - Fix a warning in intl/unicharutil/. r=emk.
...
This change is for the following warning-as-error that shows up on "B2G L
Emulator" builds: "error: call to 'sprintf' declared with attribute warning:
sprintf is often misused; please use snprintf".
The patch also removes two ALLOW_COMPILER_WARNINGS=True flags, which are no
longer necessary.
2015-09-10 08:01:24 -07:00
Makoto Kato
b2c7b13c7d
Bug 1170072 - Part 2. Use ICU instead of GetCharProps1 and its supporting data if ICU is turned on. r=jfkthame
2015-09-07 11:56:13 +09:00
Makoto Kato
9bd627e4ba
Bug 1170072 - Part 1. Make GetCharProps1 as static function. r=jfkthame
2015-09-07 11:54:46 +09:00
Jonathan Kew
464d68dda1
Bug 1201533 - Remove the GetEastAsianWidth API and its supporting character-property data. r=smontagu
2015-09-06 19:39:49 +01:00
Ted Clancy
5ee26fc455
Bug 1198216 - Check for presence of ICU::Timezone::recreateDefault() before using. r=jwalden
2015-08-27 07:57:19 -07:00
Christoph Kerschbaumer
cec76d947c
Bug 1197925 - Use channel->Open2() in intl/hyphenation/hnjstdio.cpp (r=sicking)
2015-09-02 11:37:57 -07:00