Commit Graph

433 Commits

Author SHA1 Message Date
Birunthan Mohanathas
a8939590de Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
The bulk of this commit was generated by running:

  run-clang-tidy.py \
    -checks='-*,llvm-namespace-comment' \
    -header-filter=^/.../mozilla-central/.* \
    -fix
2015-07-13 08:25:42 -07:00
Geoff Brown
52d4e225a0 Bug 1026290 - Update mochitest-chrome manifests for android; r=jgriffin 2015-07-10 14:41:59 -06:00
Christoph Kerschbaumer
3a846e95d6 Bug 1167053 - Convert NetUtil.newChannel2 callsites to use new API - update asyncFetch2 (r=sicking,paolo) 2015-05-21 19:51:40 -07:00
Alessio Placitelli
de418f9f22 Bug 1164822 - Add xpcshell test coverage for |OS.File.remove| ignoreAbsent flag. r=Yoric 2015-05-19 14:10:11 -07:00
Alessio Placitelli
505181a2f7 Bug 1164822 - Fix OS.File.remove not throwing with unexisting files. r=Yoric 2015-05-19 14:10:17 -07:00
ziyunfei
e1db0f779e Bug 1102219 - Part 4: Replace String.prototype.contains with String.prototype.includes in chrome code. r=till 2015-04-30 00:32:05 +09:00
Valentin Gosu
8452755ec9 Bug 1040285 - Single Quotes in HTTP request-uri Are Incorrectly Encoded as %27 r=MattN 2015-04-28 18:29:34 +03:00
Valentin Gosu
b6ae7d5d90 Bug 1040285 - Single Quotes should not be encoded in the path r=mcmanus,annevk 2015-04-28 18:29:22 +03:00
Tooru Fujisawa
cf2e4ba315 Bug 891107 - Part 1: Show information about value, type, function, and argument number in type conversion error messages in js-ctypes. r=jorendorff 2015-04-23 13:41:10 +09:00
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
Sebastian Hengst
394a2dd441 Bug 1143470 - Add BUG_COMPONENT to moz.build files in toolkit and xulrunner. r=gavin 2015-03-15 19:36:24 +01:00
Ganesh Sahukari
4b15c2aa09 Bug 1022816 - OS.File will now be able to change the readOnly, hidden, and system file attributes on Windows. r=paolo 2015-03-13 15:51:53 +00:00
Jonathan Griffin
d1c61bc9b6 Bug 1116187 - Disable failing mochitest-chrome tests for B2G, r=gbrown 2015-02-06 16:30:37 -08:00
Mohamed Waleed
ac0e27511a Bug 1106938 - When OS.File stores information on calls for AsyncShutdown, also store the Task.stack. r=yoric 2015-03-10 05:26:00 -04:00
Andrew Sutherland
1adc0f5ef7 Bug 1125989 - Avoid OS.File request lossage during worker shutdown, r=yoric
OS.File requests like OS.File.stat would potentially be lost on b2g during
auto-shutdown/auto-killing of the worker thread. This patch corrects the
queue management so races with killing are not possible. A test is added that
fails without the fix and passes with it. See the comments in the test and
test for further details. Also, the bug is nice.
2015-02-25 00:43:13 -05:00
Andrew Sutherland
b0b2c340eb Backed out changeset 9110f18c19aa (bug 1125989) 2015-02-24 13:46:27 -05:00
Andrew Sutherland
566180e08d Bug 1125989 - Avoid OS.File request lossage during worker shutdown, r=yoric
OS.File requests like OS.File.stat would potentially be lost on b2g during
auto-shutdown/auto-killing of the worker thread.  This patch corrects the
queue management so races with killing are not possible.  A test is added that
fails without the fix and passes with it.  See the comments in the test and
test for further details.  Also, the bug is nice.
2015-02-24 10:59:46 -05:00
Christoph Kerschbaumer
7082ffe2b7 Bug 1087744: Make JS callers of ios.newChannel call ios.newChannel2 in toolkit/ - tests (r=gijs) 2015-02-11 08:51:35 -08:00
Phil Ringnalda
490561155f Back out 35e75bce4db4 (bug 1087744) for xpcshell bustage
CLOSED TREE
2015-02-10 23:05:42 -08:00
Christoph Kerschbaumer
01f03b1b49 Bug 1087744: Make JS callers of ios.newChannel call ios.newChannel2 in toolkit/ - tests (r=gijs) 2015-02-10 20:49:49 -08:00
Christoph Kerschbaumer
04f5e67841 Bug 1087744: Make JS callers of ios.newChannel call ios.newChannel2 in toolkit/components/osfile (r=yoric) 2015-02-10 20:49:36 -08:00
Dhi Aurrahman
5b8f79fc23 Bug 1125766 - Throw proper error types for TextEncoder(), TextDecoder() and TextDecoder.decode(). r=bz 2015-02-04 18:46:26 +07:00
Ehsan Akhgari
4354953b4f Bug 1118486 - Part 1: Use = delete instead of MOZ_DELETE directly; r=Waldo
Most of this patch (with the exception of dom/bindings/Codegen.py) was
generated by the following bash script:

#!/bin/bash

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "*/.git*" \
       ! -wholename "obj-*" \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -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_DELETE '= delete'
2015-01-08 23:19:05 -05:00
Jon Coppeard
0e23adfc34 Bug 1077354 - Transfer buffers to OS.File methods rather than passing a pointer r=froydnj 2015-01-08 11:31:21 +00:00
Gaurav Rai
3962e29eb3 Bug 1075438 - Removed readTo function from two files and fixed read function to work without readTo.Also removed the test for readTo function from mochi and xpcshell tests. r=Yoric 2014-10-27 06:59:00 +01:00
Chris Peterson
74a96a4348 Bug 1095883 - Mark toolkit/components directories as FAIL_ON_WARNINGS. r=Mossop 2014-11-08 00:41:17 -08:00
Eric Faust
8c9327a4b7 Bug 611388 - |const| should be block scoped and require an initializer. (r=shu) 2014-10-30 17:27:03 -07:00
Carsten "Tomcat" Book
1ddef21ea8 Backed out changeset 77052db08766 (bug 611388) 2014-10-31 13:12:18 +01:00
Eric Faust
5f99a47be9 Bug 611388 - |const| should be block scoped and require an initializer. (r=shu) 2014-10-30 17:27:03 -07:00
Carsten "Tomcat" Book
059bc8bcd2 Backed out changeset 48099863baec (bug 1075438) for add-on bustage 2014-10-29 12:57:14 +01:00
Gaurav Rai
086f2a8caa Bug 1075438 - Removed readTo function from two files and fixed read function to work without readTo.Also removed the test for readTo function from mochi and xpcshell tests. r=Yoric 2014-10-27 06:59:00 -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
Guilherme Goncalves
f499002ee8 Bug 1071976 - Use js_calloc for allocating ArrayBufferContents objects. r=Yoric
--HG--
extra : rebase_source : c3ad82ebe6e12e3340e6564833cc2e5524b900dd
2014-09-23 15:23:00 -04:00
Iaroslav Sheptykin
5ebafccaf7 Bug 1023685 - Support writing encoded zero-byte strings in OS.File.writeAtomic. r=yoric
Patch originally created by KeyboardFire <andy@keyboardfire.com>.
2014-09-23 06:50:00 -04:00
Wes Kocher
6e187f49f8 Merge m-c to inbound a=merge 2014-09-15 16:41:45 -07:00
Shu-yu Guo
59ccd2fecb Bug 1001090 - Part 5: Fix errors in tests throughout the tree. (r=robcee,gavin) 2014-09-15 16:30:47 -07:00
Paul Rouget
bfba482515 Backed out changeset a6d02cff43d3 (bug 1037235) for breaking WebIDE (bug 1067331)
--HG--
extra : amend_source : a7bfb1e931122663e7c14a7362a849520388e495
2014-09-15 16:23:04 +02:00
Erik Vold
d3d9b5a320 Bug 1037235 - toolkit/loader doesn't check module compatibility r=Mossop 2014-09-09 18:33:55 -07:00
Chris Peterson
d126c3c24f Bug 1063962 - Replace jschar typedef with C++11 char16_t type. r=jandem 2014-07-21 21:43:21 -07:00
Ehsan Akhgari
5bffafdd26 Bug 1061061 - Fix more bad implicit constructors in misc. code; r=bsmedberg 2014-09-02 18:24:24 -04:00
Lynn Tran
7f93484c48 Bug 999748 - Add the user trash directory to OS.Constants.Path. r=yoric 2014-08-26 08:51:24 -04:00
David Rajchenbach-Teller
ce2b9814dc Bug 1044700 - Make OS.Path.join and OS.File.makeDir more resilient to denormalized paths. r=froydnj 2014-08-20 07:39:00 -04:00
Steve Fink
8b62e3b1a3 Bug 1037358 - Fix up ArrayBufferObject malloc accounting, assigning to correct zone for all types, r=terrence,froydnj,smaug 2014-08-12 16:59:12 -07:00
Nathan Froyd
542214c4df Bug 1044162 - part 1 - make EXTRA_{PP_,}JS_MODULES communicate their installation path; r=mshal
This patch makes EXTRA_{PP_,}JS_MODULES similar in functionality to
TESTING_JS_MODULES: we indicate the path relative to
$(FINAL_TARGET)/modules with an appropriate hierarchy of paths.
2014-07-25 13:40:07 -04:00
Alexandre Poirot
7ea4dd517f Bug 1027242 - Blacklist mulet's failing tests + expose 'mulet' to ini files; fix previous bustage on a CLOSED TREE, r=ahal 2014-07-02 15:40:56 -07:00
Jonathan Griffin
1c5d8636ac Backed out changeset 64586374a208 on a CLOSED TREE 2014-07-22 18:29:57 -07:00
Alexandre Poirot
98afd25e0d Bug 1027242 - Blacklist mulet's failing tests + expose 'mulet' to ini files; fix previous bustage on a CLOSED TREE, r=ahal 2014-07-02 15:40:56 -07:00
Jonathan Griffin
38f79ff899 Backout 4f6d9db92389 for bustage on a CLOSED TREE 2014-07-22 17:55:50 -07:00
Mike Hommey
bc5d6801bb Bug 1041860 - Avoid setting FINAL_LIBRARY to libraries that further use a FINAL_LIBRARY. r=mshal 2014-07-23 08:37:51 +09:00
Alexandre Poirot
37506aa45c Bug 1027242 - Blacklist mulet's failing tests + expose 'mulet' to ini files. r=ahal 2014-07-02 15:40:56 -07:00