Emilio Cobos Álvarez
4b8b5e1717
Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj
...
This was done automatically replacing:
s/mozilla::Move/std::move/
s/ Move(/ std::move(/
s/(Move(/(std::move(/
Removing the 'using mozilla::Move;' lines.
And then with a few manual fixups, see the bug for the split series..
MozReview-Commit-ID: Jxze3adipUh
2018-06-01 10:45:27 +02:00
Bob Owen
ae632db932
Bug 1409063: Remove OS.Constants.Path attributes that were added for WebappsInstaller.jsm and are no longer used. r=baku
2018-02-09 14:09:25 +00:00
Andrea Marchesini
6519df6f99
Bug 1416174 - part 4 - OSFileConstants should use UniquePtr instead of nsAutoPtr, r=smaug
2017-11-10 19:37:13 +01:00
Andrea Marchesini
8ee43baad5
Bug 1416174 - part 3 - moving gPaths to mPaths,r=smaug
2017-11-10 19:27:55 +01:00
Andrea Marchesini
644d1837cf
Bug 1416174 - part 2 - OSFileConstants as nsIObserver, r=smaug
2017-11-10 19:27:29 +01:00
Andrea Marchesini
87eef7b203
Bug 1416174 - part 1 - OSFileConstants must be a singleton, r=smaug
2017-11-10 19:27:03 +01:00
Tom Ritter
03f4b4af92
Bug 1409579 Only define PATH_MAX if it is not already defined. r=jdm
...
MozReview-Commit-ID: 7ntgDp7sj65
2017-10-17 18:46:22 -05:00
Andrea Marchesini
2768bd6b91
Bug 1407751 - DefineOSFileConstants should return false if OSFileConstants service is not initialized, r=froydnj
2017-10-13 07:11:40 +02:00
Nicholas Nethercote
e892cd86c4
Bug 1382099 - Remove MOZ_WIDGET_GONK from several dom/ subdirectories. r=mccr8,jdm.
...
As well as the obvious #ifdef stuff, the patch removes
TCPSocket::SetAppIdAndBrowser(), which means
{TCPSocketParent,TCPServerSocketParent}::{GetAppId,GetInIsolatedMozBrowser}()
can also be removed.
2017-07-21 10:52:44 +10:00
Kris Maglione
09b8043514
Bug 1370027: Part 1 - Cleanly handle a subprocess child being reaped by NSPR. r=aswan
...
The first time any other code in the parent process uses NSPR (usually via
nsIProcess) to spawn a new process, it spawns a thread to contuously wait for
any child process to exit. This thread winds up reaping our child processes
before we get the chance to wait for them, which leads us to continuously poll
for them to exit.
We don't have a good way to handle this, but checking the error status of
waitpid at least prevents us from failing catastrophically.
MozReview-Commit-ID: 75Z1yUHUmjy
2017-06-06 16:00:53 -07:00
Andrew McCreight
dff2384e2f
Bug 1365417 - mozJSComponentLoader::FindTargetObject() is infallible. r=kmag
...
MozReview-Commit-ID: Iw4ke16CTKg
2017-05-16 14:27:50 -07:00
Florian Queze
d1d3b5485a
Bug 1361087 - Loading osfile_shared_allthreads.jsm should not initialize the system-info service (as it does main thread IO on Windows), r=Yoric.
2017-05-03 10:45:15 +02:00
Jan Beich
a5489cde76
Bug 981348 - OS.File: glibc on Linux assumes f_bsize == f_frsize, so switch to statfs(). r=Yoric
...
MozReview-Commit-ID: Rp5ponFOVl
2014-03-30 11:25:00 -07:00
Jan Beich
229bf1529f
Bug 981348 - OS.File: f_bavail uses f_frsize units according to POSIX. r=Yoric
...
MozReview-Commit-ID: GU7CbhSsvTa
2014-03-08 19:30:00 -08:00
Tooru Fujisawa
a0fab7f564
Bug 1289050 - Part 8: Use ASCII or UTF8 variant of JS_ReportErrorNumber in non-simple cases. r=jwalden
2016-08-15 23:05:04 +09:00
Tooru Fujisawa
99a84178bc
Bug 1289050 - Part 7: Use ASCII variant of JS_ReportErrorNumber when parameters are all static string. r=jwalden
2016-08-15 19:21:05 +09:00
huangwenjun
aa607c0c9b
Bug 1277427 - DOM: Fix consts missing for splice. r=Yoric
...
---
dom/system/OSFileConstants.cpp | 14 ++++++++++++++
1 file changed, 14 insertions(+)
2016-06-02 23:28:36 +08:00
Carsten "Tomcat" Book
0cc63524d4
Backed out changeset cd31d578be58 (bug 1277427) for bustage on a CLOSED TREE
2016-06-02 10:14:05 +02:00
huangwenjun
ad4efc69fd
Bug 1277427 - DOM: Fix constants missing for splice. r=Yoric
...
---
dom/system/OSFileConstants.cpp | 6 ++++++
1 file changed, 6 insertions(+)
2016-06-02 15:37:31 +08:00
Kris Maglione
21159a4535
Bug 1269501: Part 3 - Add new Subprocess IPC module. r=aswan r=mhowell rs=bsmedberg
...
MozReview-Commit-ID: 6vl5xBTBXiF
2016-05-29 17:15:47 -07:00
Kris Maglione
949f00ca0a
Bug 1269501: Part 2 - Add additional libc constants to OS.Constants.libc. r=aswan
...
MozReview-Commit-ID: H7t3lUvKfY
2016-05-08 20:34:48 -07:00
Sebastian Hengst
3344303db0
Backed out 5 changesets (bug 1269501) for failing the added test_subprocess.js on Windows (didn't fold it into the last backout). r=backout
...
Backed out changeset 3e1d7c5d1a58 (bug 1269501)
Backed out changeset 167e407cb1fc (bug 1269501)
Backed out changeset 6438b11898cf (bug 1269501)
Backed out changeset 1cbbf940ec35 (bug 1269501)
Backed out changeset ed35c5f4d756 (bug 1269501)
2016-05-28 12:38:25 +02:00
Kris Maglione
536fb9dea6
Bug 1269501: Follow-up: Fix build error on Android. r=bustage
...
MozReview-Commit-ID: EmB0vjvLPzu
2016-05-27 12:43:39 -07:00
Kris Maglione
feb64ec8e6
Bug 1269501: Part 2 - Add additional libc constants to OS.Constants.libc. r=aswan
...
MozReview-Commit-ID: H7t3lUvKfY
2016-05-08 20:34:48 -07:00
Boris Zbarsky
8ce960e7b9
Bug 1255172. Fix unsafe reference gc hazards people snuck into DOM code. r=bkelly
2016-03-10 18:07:28 -05:00
Nathan Froyd
4e6d8f6705
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
Jan de Mooij
f05e74722c
Bug 1177892 part 6 - Remove UINT_TO_JSVAL. r=evilpie
2015-07-17 11:51:54 +02:00
Birunthan Mohanathas
a29151dc87
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
Jan de Mooij
c291b790a9
Bug 1177892 part 4 - Remove INT_TO_JSVAL. r=evilpie
2015-06-30 21:10:04 -07:00
Jan de Mooij
f3ccbe5797
Bug 1177892 part 1 - Remove BOOLEAN_TO_JSVAL and STRING_TO_JSVAL. r=evilpie
2015-06-30 11:20:56 -07:00
Ryan VanderMeulen
4bb610cee0
Backed out changesets ad58c270ce87 and 849151330d60 (bug 1177892) for B2G bustage.
...
CLOSED TREE
2015-06-30 15:48:11 -04:00
Jan de Mooij
c2c23268db
Bug 1177892 part 1 - Remove BOOLEAN_TO_JSVAL and STRING_TO_JSVAL. r=evilpie
2015-06-30 11:20:56 -07:00
Jan de Mooij
987140de6f
Bug 1177825 - Remove JSVAL_* constants. r=evilpie
2015-06-29 18:36:44 -07:00
Andrew McCreight
92010d3e4c
Bug 1152551, part 2 - Fix mode lines in dom/. r=jst
2015-05-03 15:32:37 -04:00
Vaibhav Pradeep Bhosale
81a8eb62b4
Bug 1136110 - Define OS.Constants.Sys.bits. r=yoric
2015-02-26 19:23:20 +05:30
Ehsan Akhgari
ea41d8de48
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
Ganesh Sahukari
c1ca4c818d
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
Jan de Mooij
b3f1ff13a2
Bug 1137523 - Unprefix most js_* functions. r=bhackett CLOSED TREE
2015-02-27 16:08:15 +01:00
Tom Schuster
2a9486a754
Bug 1127494 - Remove proto parameter from JS_DefineObject. r=Waldo,bz
2015-02-04 22:50:17 +01:00
Harshil Goel
f48f5131ea
Bug 1072922 - Add libc constants for flock structure type. r=Yoric
2014-11-21 07:50:41 +05:30
Lynn Tran
8f6e130178
Bug 999748 - Add the user trash directory to OS.Constants.Path. r=yoric
2014-08-26 08:51:24 -04:00
Lynn Tran
199e92f91e
Bug 1003336 - OS.Constants.Sys.Name should not be "Android" for Firefox OS. r=yoric
2014-07-04 18:20:49 -04:00
Benoit Jacob
7bbd89e2ca
Bug 1028588 - Fix dangerous public destructors in the rest of dom/ - r=ehsan
2014-06-23 15:56:07 -04:00
Birunthan Mohanathas
1ebdb921a5
Bug 869836 - Part 2: Use AppendLiteral instead of Append(NS_LITERAL_STRING(...)). r=ehsan
2014-05-22 06:48:50 +03:00
Masatoshi Kimura
8fd4bcfdee
Bug 1007797 - Fixup tests. r=yoric
2014-05-12 22:46:50 +09:00
Marco Castelluccio
92e85ddf05
Bug 1001948 - Attempt to remove files more than once in the Windows cleanup functions in toolkit/webapps/ tests. r=myk,Yoric,tabraldes
2014-05-08 20:06:26 +02:00
David Rajchenbach-Teller
c624dd2c45
Bug 994951 - Activate OS.File xpcshell tests on B2G. r=froydnj
2014-05-05 06:53:00 -04:00
Jon Coppeard
d67f0ed243
Bug 959787 - Handlify remaining JS APIs r=terrence r=bz r=bholley
2014-04-30 10:10:33 +01:00
Birunthan Mohanathas
eeb9aaaa94
Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj
2014-04-27 03:06:00 -04:00
Zack Weinberg
f2afd17b8b
Bug 1001842, part 2: make umask available via OS.Constants. r=khuey sr=bz
2014-04-26 10:56:58 -04:00