Commit Graph

2116 Commits

Author SHA1 Message Date
Birunthan Mohanathas
2fd502bef9 Bug 869836 - Fix bustage on Windows due to rebases. r=me 2014-05-22 07:25:28 +03:00
Birunthan Mohanathas
952b834c76 Bug 869836 - Part 9: Use AssignLiteral instead of Assign(NS_LITERAL_STRING(...)). r=ehsan 2014-05-22 06:48:52 +03:00
Birunthan Mohanathas
58641805f1 Bug 869836 - Part 6: Use EqualsLiteral instead of Equals where possible. r=ehsan 2014-05-22 06:48:51 +03:00
Birunthan Mohanathas
19bebbc68d Bug 869836 - Part 2: Use AppendLiteral instead of Append(NS_LITERAL_STRING(...)). r=ehsan 2014-05-22 06:48:50 +03:00
Wes Kocher
1df17c8b4b Backed out changesets 8c23781bad3c,16418be9d4dd (bug 996310) for dt1 bustage on a CLOSED TREE 2014-05-21 16:21:17 -07:00
Ryan VanderMeulen
736c69e64a Bug 996310 - Remove stray + that crept in when rebasing to fix a CLOSED TREE. 2014-05-21 18:20:10 -04:00
Will Hawkins
847c444682 Bug 996310 - Change readArrayBuffer to return the number of bytes read. r=bsmedberg 2014-04-29 12:36:00 -04:00
Birunthan Mohanathas
488f6b602e Bug 995730 - Fix style violations in xpcom/io/. r=froydnj 2014-05-14 23:15:46 +03:00
Aaron Klotz
cd70c9eed0 Bug 1005748: Add basic UNC support to NtPathToDosPath; r=ehsan
--HG--
extra : rebase_source : 78c56f036a705c624721c705c51b1c4a0aefcdc0
2014-05-12 13:32:28 -06:00
Igor Kolupaev
89db128641 Bug 997141 - Remove the recur parameter from nsIFile::Contains(). r=bsmedberg 2014-05-07 23:03:41 +03:00
Birunthan Mohanathas
51bcf8d525 Bug 995730 - Change xpcom/io/ to use 2 space indentation
This also removes trailing whitespace in reindented files.
2014-05-05 20:30:43 +03:00
Bruce Sun
3e7ae5a454 Bug 990957 - Seek again in Tell(), Available(), Seek() of nsMultiplexInputStream. r=mcmanus 2014-05-05 12:22:16 +08:00
Jim Blandy
bc756c3da1 Bug 1004313: Handle partial flushes correctly in nsBufferedOutputStream::WriteSegments. r=mcmanus 2014-05-02 11:32:23 -07:00
Birunthan Mohanathas
5f1fde8824 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
Jon Coppeard
92f0d66be8 Bug 959787 - Handlify remaining JS APIs r=sfink r=bholley r=smaug 2014-04-02 15:28:03 +01:00
snigdha
9cc482da68 Bug 798033 - Headers should generally not do "using namespace" at file scope. r=jib, r=jmathies, r=rjesup, r=ekr, r=ncameron, r=blassey 2014-04-01 08:29:25 -04:00
Ehsan Akhgari
186680d83a Bug 798158 - Part 1: Use a pointer-sized type to store refcounts internally; r=bsmedberg 2014-03-27 16:38:33 -04:00
Ehsan Akhgari
8a08eed87d Bug 965362 - Part 1: Make sure that nsScriptableInputStream::Read reads all of the allowed available bytes from the input stream; r=bsmedberg 2014-03-27 11:20:08 -04:00
Andrea Marchesini
fdcbca4082 Bug 910010 - Implementation of PFileDescriptorSet - part 1, r=khuey 2014-03-25 18:37:13 +00:00
Nathan Froyd
73447b07b9 Bug 984466 - change CallQueryInterface to assert in cases of trivial conversions; r=ehsan 2014-03-17 13:00:17 -04:00
Kyle Huey
817b5ccbd9 Bug 345123: Remove nsGetterAddRefs<T>'s operator nsISupports**. r=bsmedberg 2014-03-15 12:00:17 -07:00
David Rajchenbach-Teller
b2b8e65b0f Bug 961665 - Native implementation of OS.File.read, native bits. r=froydnj, r=bz, r=paolo 2014-03-14 10:13:26 -04:00
Ryan VanderMeulen
d2b4456c69 Backed out changesets c6ca1aa3887a, d741e117a033, 1fd26e822e73, and 720962c9f993 (bug 961665) for build bustage and xpcshell failures. 2014-03-13 10:32:57 -04:00
David Rajchenbach-Teller
a458688066 Bug 961665 - Native implementation of OS.File.read, native bits. r=froydnj, r=bz, r=paolo 2014-03-13 09:51:22 -04:00
Ryan VanderMeulen
0d7b59001e Backed out changeset 6f05267b4afc (bug 798033) for Android bustage. 2014-03-05 09:55:52 -05:00
snigdha
a441998156 Bug 798033 - Headers should generally not do "using namespace" at file scope. r=jib, r=jmathies, r=rjesup, r=ekr, r=ncameron, r=blassey 2014-03-05 08:47:45 -05:00
Jan Beich
8e35f9b4b4 Bug 975634 - Detect posix_fadvise() via configure. r=glandium 2014-03-04 09:30:29 -05:00
L. David Baron
c91b8791d1 Bug 976350 patch 2: Rename nsTraceRefcntImpl to nsTraceRefcnt. r=bsmedberg
Now that bug 975295 removed the obsolete wrapper class, we can rename
nsTraceRefcntImpl back to its correct pre-XPCOM-glue name,
nsTraceRefcnt.

The best part is that the one place where indentation should have needed
fixing, nsTraceRefcnt::DemangleSymbol, never had its indentation fixed
for the previous renaming.

--HG--
rename : xpcom/base/nsTraceRefcntImpl.cpp => xpcom/base/nsTraceRefcnt.cpp
rename : xpcom/base/nsTraceRefcntImpl.h => xpcom/base/nsTraceRefcnt.h
2014-02-26 13:36:36 -08:00
Sebastian Hengst
8f159b36b2 Bug 974486 - Remove unused OS/2 special directories. r=jimm 2014-02-19 20:24:55 +01:00
James Kitchener
ee57f16151 Bug 328755 - Assigning a zero-length string should not alloc a buffer. r=bsmedberg 2014-02-03 22:57:56 +10:30
Ehsan Akhgari
f919298fbd Bug 973388 - Move the LOCAL_INCLUDES in xpcom to moz.build; r=glandium 2014-02-18 09:01:06 -05:00
Ehsan Akhgari
73b8879e45 Bug 973142 - Get rid of the MOZILLA_INTERNAL_API makefile variable; r=glandium
It's just as easy to directly set the preprocessor macro in the moz.build
files.  Using this variable doesn't really buy us anything.

This patch also removes unused code from rdf/tests/dsds.
2014-02-18 01:56:51 -05:00
Luke Wagner
39507d1a49 Bug 971845 - Don't uninline in JS_GetArrayBufferData, add JS_GetStableArrayBufferData and use that when necessary (r=sfink) 2014-02-13 11:17:41 -06:00
Jacek Caban
52f8916e46 Bug 971646 - FileUtilsWin.h fails to compile on GCC. r=bsmedberg 2014-02-13 11:25:26 +01:00
Yuan Xulei
dade0399eb Bug 956646 - Implement nsIFile#renameTo on Windows. r=bsmedberg 2014-01-06 19:27:11 +08:00
Yuan Xulei
99882c7e34 Bug 956646 - Implement nsIFile#renameTo on Unix. r=bsmedberg 2014-01-06 17:39:03 +08:00
Yuan Xulei
41a99188eb Bug 956646 - Add renameTo to nsIFile interface. r=bsmedberg 2014-01-06 16:51:39 +08:00
Ehsan Akhgari
d91d200572 Bug 969757 - Remove the dead code in our tree which pretends to support OS/2; r=roc,mcmanus,gps,jorendorf,bsmedberg sr=bsmedberg 2014-02-10 17:57:01 -05:00
Jacek Caban
1b93481411 Bug 944905 - Fix char16_t/wchar_t mismatch in xpcom/ r=bsmedberg
--HG--
extra : rebase_source : 2f81dd18df59e0498a577c437954c5b1f52f8e28
2014-02-06 17:42:58 +01:00
Aaron Klotz
ff910d3f87 Bug 902587 - Part 2B: filename method for PoisonIOInterposer; r=BenWa,ehsan 2014-01-31 20:14:03 -07:00
Johnny Stenback
8fb3191062 Bug 960694. Support writing out classes with JS implementations of classinfo. r=bsmedberg
--HG--
extra : rebase_source : 6eb91d99f710b366fc2ffab5defea0969834633f
2014-01-24 13:47:50 -08:00
Tom Schuster
f39e81815a Bug 939294 - Change xpidl jsval to handles. r=gabor,bz,khuey,bsmedberg,terrence 2014-01-09 18:39:36 +01:00
Neil Rashbrook
465a600b29 Bug 514173 Make literal string buffers shareable r=dbaron,ehsan,bholley 2014-01-08 20:51:38 +00:00
Carsten "Tomcat" Book
15546f37d1 Backed out changeset 06f381426af1 (bug 944905) for windows bustage on a CLOSED TREE 2014-01-07 15:18:43 +01:00
Jacek Caban
40790e8807 Bug 944905 - Fix char16_t/wchar_t mismatch in xpcom/ r=bsmedberg 2014-01-07 14:54:52 +01:00
Ehsan Akhgari
1b83407ce9 Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
This patch was automatically generated by the following script:

#!/bin/bash
# Command to convert PRUnichar to char16_t

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*modules/libmar*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name prtypes.h \
       ! -name Char16.h \
         -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 PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Alessio Placitelli
dbb81a3eba Bug 943511 - Remove allocator parameters from methods using nsSegmentedBuffer. r=bsmedberg 2013-12-11 14:14:56 -05:00
Alessio Placitelli
8f85f15f16 Bug 943511 - Use fallible allocations in nsSegmentedBuffer::AppendNewSegment. r=bsmedberg 2013-12-11 14:14:28 -05:00
Birunthan Mohanathas
3440613a39 Bug 713082 - Part 2: Rename Util.h to ArrayUtils.h. r=Waldo
--HG--
rename : mfbt/Util.h => mfbt/ArrayUtils.h
2013-12-08 21:52:54 -05:00
Jacek Caban
e2cd5ba18b Bug 944905 - Fixed char16_t/wchar_t mismatch in xpcom/ r=bsmedberg 2013-12-04 13:19:09 +01:00