Commit Graph

1161 Commits

Author SHA1 Message Date
David Anderson
423a06d2f1 Merge from mozilla-central. 2012-08-22 16:09:24 -07:00
Randell Jesup
3b4961b603 Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
David Anderson
96ffd24de1 Merge from mozilla-central. 2012-08-15 14:22:26 -07:00
David Anderson
2df75644ce Merge from mozilla-central. 2012-08-13 13:40:42 -07:00
Honza Bambas
473edc0cbf Bug 215450: Allow uploading of files greater than 2gb in size. Involves making input streams 64-bit capable. Significant work done by Makoto Kato, finished by Honza Bambas. r=hbambas,bsmedberg,jdrew,sicking 2012-08-10 22:44:11 -04:00
David Anderson
abdf79f46d Merge from mozilla-central. 2012-08-08 15:09:49 -07:00
Ehsan Akhgari
243c878d26 Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.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 PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
David Anderson
818270a04e Merge from mozilla-central. 2012-08-07 15:13:28 -07:00
David Anderson
1d78f3fbd7 Merge from mozilla-central. 2012-08-06 12:44:06 -07:00
Aryeh Gregor
7dfe568de5 Bug 780469 - Reduce unnecessary includes in some content/ header files; r=bz 2012-08-06 15:02:08 +03:00
David Anderson
46f024f922 Merge from mozilla-central. 2012-08-02 13:47:20 -07:00
Eric Faust
2fd6e9bbbd Bug 752223 - Implement JS_NumberValue(), replacing JS_NewNumberValue(). (r=luke) 2012-08-01 17:59:47 -07:00
David Anderson
d2d97d4749 Merge. 2012-08-01 11:30:00 -07:00
Bill McCloskey
45404d4bc0 Bug 767209 - Consider changing GC slice time, or making it dynamic (r=terrence,smaug) 2012-07-31 18:39:39 -07:00
David Anderson
95406f7a65 Merge from mozilla-central. 2012-07-31 17:19:41 -07:00
David Anderson
d827932879 Merge from mozilla-central. 2012-07-30 13:15:39 -07:00
Aryeh Gregor
8b4a23fc4c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Eric Faust
afcea81d2c Bug 775788 - Modify JSFunctionSpec to accept JSJitInfos. (r=luke) 2012-08-07 22:26:19 -07:00
Boris Zbarsky
7e384e2901 Bug 747287 - Part 3: Add callback interface to allow JIT to interrogate DOM. (r=peterv) 2012-08-07 22:26:18 -07:00
David Anderson
753308a2e0 Merge from mozilla-central. 2012-07-24 16:32:08 -07:00
David Anderson
bc387d7bb6 Merge from mozilla-central. 2012-07-23 12:37:49 -07:00
Benjamin Peterson
d129baf5c6 Bug 776389 - Find the source of scripts from the subscript loader correctly. r=bz 2012-07-22 15:14:47 -07:00
Benjamin Peterson
9ed65b0d5a Bug 776283 - Decode sources properly before handing them to the JS engine. r=bz 2012-07-22 09:00:45 -07:00
David Anderson
fd8fddd7ee Merge from mozilla-central. 2012-07-20 12:02:04 -07:00
Benjamin Peterson
4589a47c91 Bug 776430 - Use the rightmost URI to account for possible multiple prefixing. r=bz 2012-07-23 19:13:18 -07:00
David Anderson
19eab0adc3 Merge from mozilla-central. 2012-07-18 19:02:32 -07:00
Ms2ger
551919b7d5 Bug 765464 - Part b: Add an exnType to JSErrorReport; r=Waldo 2012-07-18 12:36:08 +02:00
David Anderson
def51a7950 Merge from mozilla-central. 2012-07-12 13:23:26 -07:00
David Anderson
681def000b Merge from mozilla-central. 2012-07-10 19:45:14 -07:00
Ms2ger
8b7467bac5 Bug 672814 - Part a: Move nsJSRuntime::ParseVersion to nsContentUtils; r=bz 2012-08-04 09:43:59 +02:00
Ed Morley
a246794e16 Revert inbound to 3d5d1daa2505 to stop OS X M5 failures (backout not clean/could have been a bad merge) on a CLOSED TREE 2012-08-04 18:05:15 +01:00
Ms2ger
7d3e7bf23b Bug 672814 - Part a: Move nsJSRuntime::ParseVersion to nsContentUtils; r=bz 2012-08-04 09:43:59 +02:00
Jacek Caban
ac8165d912 Bug 774201 - Avoid pointer to integer cast losing precision on win64 r=billm 2012-07-19 11:58:24 +02:00
David Anderson
b5534b1f9a Merge from mozilla-central. 2012-06-28 15:17:18 -07:00
Bill McCloskey
b3925d868f Bug 758034 - Avoid compartment changed GC resets (r=smaug) 2012-06-30 14:18:10 -07:00
Bill McCloskey
7d80da8a06 Bug 758034 - Clean up browser GC API (r=smaug) 2012-06-30 14:16:32 -07:00
Benjamin Peterson
3a84fd29b4 Bug 781035 - Use the C++ JS compile API in more places. r=jorendorff sr=jst 2012-08-27 08:04:37 -04:00
Benjamin Peterson
2886c1cb9c Bug 761723 - Load chrome source code when it's needed for Function.prototype.toSource(). r=bz 2012-07-20 20:19:42 +02:00
Gregor Wagner
f573cb28c4 Bug 765435 - Make JS heap growth factor depend on the heap size after a GC and GC frequency. r=billm 2012-07-11 11:09:53 -07:00
Ehsan Akhgari
7917f7709f Merge the nullptr conversion from mozilla-central into mozilla-inbound 2012-07-30 10:28:15 -04:00
Aryeh Gregor
3910f004e2 Bug 777292 - Don't use |= on nsresult; r=ehsan 2012-07-27 17:03:08 +03:00
David Anderson
405ebd47df Merge from mozilla-central. 2012-06-26 15:37:34 -07:00
Jonathan Watt
131c149f2a Bug 767388 - Kill NS_DEBUG. r=bz. 2012-06-25 20:59:42 +01:00
Aryeh Gregor
691ef24b2a Bug 780618 - Move all error codes to nsError.h; r=ehsan 2012-07-27 17:03:27 +03:00
Luke Wagner
55107a5229 Bug 625199 - s/JSAutoEnterCompartment/JSAutoCompartment/ and make it infallible (r=bholley) 2012-08-21 18:42:53 -07:00
Luke Wagner
88c2971644 Bug 625199 - kill dummy frames (r=mrbkap) 2012-08-17 18:05:06 -07:00
Peter Van der Beken
06a3a270d1 Fix for bug 762652 (Add the new DOM bindings API to CanvasRenderingContext2D). r=bz. 2012-06-13 17:14:15 +02:00
Andrew McCreight
98a9c52701 Bug 754495 - fix assertion. rs=Ms2ger 2012-06-29 09:09:17 -07:00
Bobby Holley
3890e89e91 Bug 754202 - Remove context pushing/popping API. r=mrbkap Each one of these uses grabs the principal off of an object for pushing, but also enters the compartment of that object. So we shouldn't need this anymore.
Can I get a 'hell yeah'?
2012-06-28 23:47:55 +02:00
Bobby Holley
0d383cad29 Bug 754202 - Disallow calling EvaluateString{,WithValue} with a principal that doesn't match the global. r=mrbkap 2012-06-28 23:47:55 +02:00