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
Peter Van der Beken
bd6438b6a3
Bug 993710 - Don't return names when enumerating Navigator/Window if they wouldn't be resolved. r=bz.
2014-02-15 22:12:34 +01:00
Andrew McCreight
aded529f53
Bug 962608 - Make PL_DHashTableInit infallible by default. r=briansmith,bsmedberg,ehsan,froydnj,jduell,jfkthame,roc,smaug
2014-02-27 10:04:09 -08:00
Boris Zbarsky
38c6e35cc4
Bug 962290. Remove support for the JavaScript-global-dynamic-nameset category as a way to install lazy properties on the global. r=peterv
2014-01-29 22:33:10 -08:00
Ehsan Akhgari
68bfe70f09
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
Nicholas Nethercote
49912eb578
Bug 955942 (part 2) - Remove MemoryUniReporter. r=mccr8.
2013-12-07 22:09:10 -08:00
Nicholas Nethercote
0d8c64efcc
Bug 936964 (part 7, attempt 2) - Make lots of classes report their own memory consumption, instead of using a separate reporter class. r=mccr8,sr=bz.
...
* * *
Bug 936964 (part 7b) - Fix a use-after-free found by ASan.
2013-11-07 16:35:30 +11:00
Ehsan Akhgari
65aaebab72
Backed out 9 changesets (bug 943660, bug 936964) because of ASAN use-after-free crashes on browser-chrome and mochitest-other
...
Backed out changeset 85486c4aa3d8 (bug 936964)
Backed out changeset 25312eb71998 (bug 936964)
Backed out changeset 6dbb8333960c (bug 936964)
Backed out changeset da6465ad476f (bug 936964)
Backed out changeset a87ffc992f38 (bug 936964)
Backed out changeset 4ae3a61182db (bug 936964)
Backed out changeset 34e9c3137804 (bug 936964)
Backed out changeset fd1459e71585 (bug 936964)
Backed out changeset 3e8a701d8bdc (bug 943660)
Landed on a CLOSED TREE
2013-11-27 20:05:00 -05:00
Nicholas Nethercote
c363b9d028
Bug 936964 (part 7) - Make lots of classes report their own memory consumption, instead of using a separate reporter class. r=mccr8,sr=bz.
2013-11-07 16:35:30 +11:00
Nathan Froyd
50c1ead1fb
Bug 940170 - part 3 - constify PLDHashTableOps in dom/; r=bz
2013-11-18 21:53:12 -05:00
Ehsan Akhgari
5bdb9ad58e
Bug 919341 - Minimize the #includes in xpcom/ IDL files; r=bsmedberg
2013-09-23 13:29:27 -04:00
Nicholas Nethercote
c7fbf6a742
Bug 910517 (3rd attempt) - Remove nsIMemoryReporter, and rename nsIMemoryMultiReporter as nsIMemoryReporter. r=mmcr8.
2013-08-27 16:24:51 -07:00
Masatoshi Kimura
e0d483332c
Bug 600460 - Implement category entry removal for nsScriptNamespaceManager. r=bholley
2013-08-22 22:44:19 +09:00
Masatoshi Kimura
b6d4ea7d96
Bug 899388 - Part 2: Implement allowXBL option for xpc bindings. r=bz
2013-08-09 23:35:53 +09:00
Boris Zbarsky
0d8e837d09
Bug 707564 part 2. Add a way to enumerate navigator names on the script namespace manager. r=smaug
2013-08-03 23:38:54 -04:00
Masatoshi Kimura
b229c27884
Bug 898817 - Stop exposing nsIDOM* interfaces on the global automatically. r=bz
2013-07-30 22:26:27 +09:00
Catalin Iacob
f88cdc0744
Bug 798914 (part 5) - Use newly introduced mozilla::MallocSizeOf instead of nsMallocSizeOfFun. r=njn.
2013-06-23 14:03:39 +02:00
Boris Zbarsky
965229b2c0
Bug 880367 part 1. Change the "enabled" callback for WebIDL constructors to take a JSContext* and the object the constructor will be defined on. r=smaug,bholley
2013-06-13 01:12:26 -04:00
Reuben Morais
90b98ba52a
Bug 863704 - Make global-constructor and navigator-property categories respect a preference. r=jst
2013-05-01 18:44:44 -07:00
Andrew McCreight
22e84e9e87
Bug 851639 - Allow JS implemented WebIDL to be registered on window.navigator. r=bz
2013-04-30 13:30:25 -07:00
Nicholas Nethercote
57ff986dd8
Bug 829439 (part 1) - Add MemoryReporterBase class that promotes better encapsulation within nsIMemoryReporter sub-classes. r=jlebar.
2013-01-14 16:26:47 -08:00
Ms2ger
d6fbbc6aa5
Bug 817276 - Part b: Return the pointer directly from nsScriptNameSpaceManager::LookupNavigatorName; r=jst
2012-12-02 09:59:51 +01:00
Boris Zbarsky
c966ac9e0c
Bug 807222 part 6. Fix getOwnPropertyNames to work correctly on Window. r=jst
...
One note: it might be better to change the signature of Enumerate() to
indicate whether we're enumerating just the enumerable properties or
all of them, so we can skip doing this when someone does for...in on
the window.
2012-11-01 13:51:57 -04:00
Boris Zbarsky
a2fe87ad95
Back out rev 6d36471ab3ca (part 5 of bug 807222) because now Android is shipping busted stuff on the global.
2012-11-05 11:54:37 -05:00
Boris Zbarsky
37e298c298
Bug 807222 part 5. Fix getOwnPropertyNames to work correctly on Window. r=jst
...
One note: it might be better to change the signature of Enumerate() to
indicate whether we're enumerating just the enumerable properties or
all of them, so we can skip doing this when someone does for...in on
the window.
2012-11-01 13:51:57 -04:00
Nicholas Nethercote
a2cd42f985
Bug 807850 - Add a memory reporter for the nsScriptNameSpaceManager. r=jst.
2012-11-04 14:18:44 -08:00
Boris Zbarsky
474c965179
Back out rev 2682f9a1fc58, bug 807222, because it assumes that people aren't putting completely broken stuff on Window, which b2g does. CLOSED TREE
2012-11-01 15:19:08 -04:00
Boris Zbarsky
076671d1e1
Bug 807222. Fix getOwnPropertyNames to work correctly on Window. r=jst
...
One note: it might be better to change the signature of Enumerate() to
indicate whether we're enumerating just the enumerable properties or
all of them, so we can skip doing this when someone does for...in on
the window.
2012-11-01 13:51:57 -04:00
Boris Zbarsky
07abde2878
Bug 778044. Add a way to pref off Paris binding constructor objects. r=peterv
2012-09-05 13:37:28 -04:00
Randell Jesup
3b4961b603
Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg
2012-09-01 22:35:17 -04:00
Peter Van der Beken
2e8d72e06f
Fix for bug 768692 (Move DOM list binding generation to the new DOM binding codegen). r=bzbarsky.
2012-05-22 15:46:20 +02: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
Aryeh Gregor
316904acc6
Bug 782252 - Cast NS_ENUMERATOR_FALSE to nsresult; r=ehsan
2012-08-07 17:54:44 +03:00
Aryeh Gregor
8b4a23fc4c
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Peter Van der Beken
7a2e0659aa
Fix for bug 764277 (New DOM bindings codegen doesn't register classes with constructors). r=jst.
2012-06-14 16:56:38 +02:00
Gervase Markham
cb6a072c2a
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Peter Van der Beken
6233c150b8
Fix for bug 740069 (Generate JS bindings in C++ with a python script for DOM objects on the main thread and in workers. Infrastructure and new bindings for XMLHttpRequest). Patch by bent/bz/bholley/jst/khuey/peterv, r=bent/bz/bholley/jlebar/khuey/peterv/sicking/smaug.
2012-03-30 21:42:20 -07:00
Peter Van der Beken
0f4c97c00e
Bug 740526. Change LookupName to return the nsGlobalNameStruct as a return value, not an out param. r=bzbarsky
2012-03-29 11:43:13 -07:00
Justin Lebar
8dfd539864
Bug 729940 - Part 2: Stop using crappy hash functions in Gecko. r=bz
2012-03-12 18:53:18 -04:00
Nathan Froyd
01a317a0fe
Bug 709205 - use GetObserverService in dom,docshell; r=bz
2011-12-09 14:35:37 -05:00
Ehsan Akhgari
478ad1a412
Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
...
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Michael Wu
0fe7772ece
Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
2011-09-28 23:19:26 -07:00
Fabrice Desré
ac009a69f7
Followup fix for bug 641552. Make sure to enumerate new category on startup. r=jst
2011-09-06 22:53:08 -07:00
Johnny Stenback
f6bd7f6bcc
Fixing bug 641552. Add mechanism for dynamically registering properties on the navigator object in all pages. r=peterv
2011-09-06 15:01:01 -04:00
Olli Pettay
b844db9410
Bug 648573 - Implement touch event interfaces, r=jst, pref'ed off by default
2011-04-26 15:30:17 +03:00
Mounir Lamouri
544f91ccd8
Bug 619230 - Remove useless warning. r=peterv a=jst
2011-02-03 00:46:12 +01:00
Mounir Lamouri
562465bcfa
Bug 621515 - Improve "no corresponding type!" warning. r=peterv a=jst
2011-01-19 12:16:42 +01:00
Mounir Lamouri
c90776aebe
Bug 597809 - Makes nsScriptNameSpaceManager being aware of new category entries after Init(). r=peterv a=blocking-betaN
2010-11-16 23:09:50 +01:00
Blake Kaplan
2808807626
Bug 574975 - Split inner/outer scriptable helpers, make the outer window not global. r=jst.
2010-08-01 17:39:35 -07:00
Ben Turner
95d97bf555
Bug 559447 - 'Make ChromeWorkers that have access to ctypes for browser and extensions'. r=dwitte+jst.
2010-04-20 09:44:56 -07:00