Commit Graph

55 Commits

Author SHA1 Message Date
Masatoshi Kimura
23ba391ec1 Bug 848339 - Remove the vestigial boolean outparam from nsWrapperCache::WrapObject. r=bz 2013-03-12 08:03:47 +09:00
Jon Coppeard
a0a3f88913 Bug 848395 - GC: Move Rooted to JS namespace - rename js::Rooted to JS::Rooted outside SpiderMonkey r=terrence
--HG--
extra : rebase_source : 35cbf3cc4da4598c2e9e6975028ef397718849db
2013-03-06 16:41:43 +00:00
Ed Morley
3a53c22824 Backed out changeset 28ef4bdff455 (bug 848395) 2013-03-07 13:03:35 +00:00
Jon Coppeard
6a98a4532a Bug 848395 - GC: Move Rooted to JS namespace - rename js::Rooted to JS::Rooted outside SpiderMonkey r=terrence
--HG--
extra : rebase_source : 866879df05e3ec3f8e93570eb3f6b71103636b41
2013-03-06 16:41:43 +00:00
Peter Van der Beken
3f112891fb Fix for bug 844225 (Remove some DOMCI and quickstubs). r=bz. 2013-01-10 10:54:46 +01:00
Peter Van der Beken
c1b3c1ac36 Fix for bug 839529 (Remove various CC participants that don't do anything). r=smaug.
--HG--
extra : rebase_source : 8a272905c79396e7ae08aaaf83566ac450c45be0
2013-02-07 10:19:08 +00:00
Trevor Saunders
c4d231052a bug 841436 - remove nolonger needed qi from nsIDocShell to nsIDocShellTreeItem r=bz 2013-02-12 17:02:51 -05:00
Boris Zbarsky
eb9ded16bd Bug 832899. Make sure our canonical isupports matches what various consumers expect. r=smaug 2013-01-24 21:27:55 -05:00
Amod Narvekar
a706018de6 Bug 796873 - Don't lock the screen if we might not be able to unlock it. r=mounir 2012-12-07 17:33:39 +00:00
Boris Zbarsky
3f31f8f1a2 Bug 817476. Really do WebIDL bindings for Screen. r=ms2ger 2012-12-03 11:44:56 -05:00
Ms2ger
a4af932810 Bug 814898 - Part b: Cleanup CC goop in dom/base; r=mccr8 2012-12-02 09:53:37 +01:00
Ms2ger
b86e67f2b2 Bug 793244 - Part b: Convert Screen to WebIDL; r=bz 2012-10-14 09:40:11 +02:00
Ms2ger
dcd05691e8 Bug 793244 - Part a: Rewrite mozLockOrientation to match WebIDL requirements; f=mounir r=bz 2012-10-14 09:39:34 +02:00
Nathan Froyd
a30e1929a4 Bug 720768 - add nsDOMEventTargetHelper::DispatchTrustedEvent; r=mounir, sr=smaug 2012-09-27 16:11:31 -04:00
Mounir Lamouri
37425e57ca Bug 787534 - Remove Portrait and Landscape special ScreenOrientation values. r=jlebar 2012-09-19 17:28:16 +01:00
Mounir Lamouri
df73e890dd Bug 787538 - Make sure the event listener is disconnected if the screen lock is rejected by the backend. r=jlebar 2012-09-11 14:15:43 +01:00
Mounir Lamouri
37e88bfeb1 Bug 784549 - lockOrientation() should accept an Array of DOMString's in addition of a DOMString. r=jlebar,khuey 2012-09-11 11:55:08 +01:00
Kyle Huey
3b42fbfcd1 Bug 687332: Part 2 - Move event handlers off of DOM objects and keep track of them solely in the event listener manager. r=smaug,bz 2012-08-30 20:45:16 -07:00
Ehsan Akhgari
e368dc9c85 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
Justin Lebar
9ed276e03f Bug 777135 - Part 2: Stop using nsDOMWindowUtils::GetIsApp and friends, and instead use the relevant methods on the principal. r=mounir
--HG--
extra : rebase_source : fa8a153a1edc8f64b230b67f121ba5eaaf1098e6
2012-08-13 12:58:38 -04:00
Aryeh Gregor
d0ad5a7d0c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Mounir Lamouri
ceb5504e0c Bug 766903 - Cleanup eventlisteners when nsScreen is reseted. r=smaug 2012-06-22 10:53:23 +02:00
Mounir Lamouri
9321dd3db6 Bug 764753 - Unlock screen orientation when the document is left without explicitly exiting fullscreen. r=smaug 2012-06-22 10:52:47 +02:00
Mounir Lamouri
0637b22b08 Bug 766902 - Don't listen for fullscreenchange when screen has been locked by an application. r=smaug 2012-06-22 10:53:03 +02:00
Gervase Markham
82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Mounir Lamouri
bbecbc0081 Bug 740192 - Screen orientation needs a specific security model for installed web apps. r=jlebar 2012-05-10 17:49:34 -07:00
Chris Jones
acbbfc1126 Bug 745145, part 1: Generalize ScreenOrientation into ScreenConfiguration, and add screen rect and color+pixel depth to it. r=mounir 2012-05-08 14:36:07 -07:00
Mounir Lamouri
a121da351d Bug 747442 - Unlock orientation only if the received mozfullscreenchange is for fullscreen being disabled. r=smaug a=mfinkle 2012-04-23 10:30:58 +02:00
Mounir Lamouri
f4f6a60d05 Bug 743217 - Do not allow iframes to lock the screen if a parent window's element is fullscreened. r=smaug
--HG--
extra : rebase_source : f3384491fbfc1a756917516ad15f5d93d05f624b
2012-04-10 15:38:59 +02:00
Kan-Ru Chen
8bb62e5b2e Bug 710135 - Move screen.enabled/brightness to mozPower. r=jlebar,mounir sr=cjones,sicking 2012-04-03 01:51:00 -04:00
Mounir Lamouri
f552bd90d4 Bug 740188 - Screen Orientation API locking (3/3): revert orientation when fullscreen is left. r=smaug 2012-03-29 09:31:11 -07:00
Mounir Lamouri
77cdbae49f Bug 740188 - Screen Orientation API locking (2/3): security model. r=smaug 2012-03-29 09:31:29 -07:00
Mounir Lamouri
de3ed2a2f0 Bug 740188 - Screen Orientation API locking (1/3): DOM/HAL boilerplate. r=smaug sr=sicking 2012-03-29 12:43:16 -07:00
Mounir Lamouri
59aa9eab92 Bug 735781 - Make sure nsScreen don't call RemoveObserver twice in a row. r=jlebar 2012-03-15 10:58:56 +01:00
Mounir Lamouri
02a6895e14 Bug 720799 - Don't use mDocShell in nsScreen. r=jst,jlebar 2012-03-14 19:14:53 +01:00
Mounir Lamouri
e38116e0a4 Bug 720794 - Part 2 (DOM) - Implement reading and event parts of Screen Orientation API. r=jst sr=sicking 2012-03-14 11:10:48 +01:00
Mark Finkle
5d52d341f9 Backout 7e28d1a2c648, 330b210f503d, 2421d39e0ab3, aa978ffa44bc, 38a71ae7e06d, b94319584a7a, 7e8278f5e814, 0b4e3c7608ab, 329c07609ca8, 0d61a0d8dba4, Due to Ts regression on Android 2012-03-17 21:51:39 -04:00
Mounir Lamouri
60b9c2f2bd Bug 735781 - Make sure nsScreen don't call RemoveObserver twice in a row. r=jlebar 2012-03-15 10:58:56 +01:00
Mounir Lamouri
74b8e96361 Bug 720799 - Don't use mDocShell in nsScreen. r=jst,jlebar 2012-03-14 19:14:53 +01:00
Mounir Lamouri
b3a3f89b0d Bug 720794 - Part 2 (DOM) - Implement reading and event parts of Screen Orientation API. r=jst sr=sicking 2012-03-14 11:10:48 +01:00
Vivien Nicolas
c12eccdc5d Bug 729430 - Expose screen.mozEnabled, screen.mozBrightness to whitelisted applications r=jlebar 2012-02-24 02:55:44 +01:00
Ed Morley
a018805d69 Backout 1ca8d5a931ac (bug 720799), e4781b684008 (bug 720795), 8a4e12d93a23 & 1fc8123a2ea4 (bug 720794) for bustage 2012-02-09 16:42:07 +00:00
Mounir Lamouri
7ff21b863b Bug 720799 - Don't use mDocShell in nsScreen. r=jst 2012-02-06 16:31:16 +01:00
Mounir Lamouri
31562bab2f Bug 720794 - Part 2 (DOM) - Implement reading and event parts of Screen Orientation API. r=jst sr=sicking 2012-02-09 16:55:54 +01:00
Ed Morley
f034cae68b Backout 79121553f728 (bug 720799), 4a763183482f (bug 720795), e965486f4b50 & 4a7c7c6b9b11 (bug 720794) for failing to build on any platform 2012-02-09 12:06:50 +00:00
Mounir Lamouri
7b9e1161f6 Bug 720799 - Don't use mDocShell in nsScreen. r=jst 2012-02-06 16:31:16 +01:00
Mounir Lamouri
0f70b41169 Bug 720794 - Part 2 (DOM) - Implement reading and event parts of Screen Orientation API. r=jst sr=sicking 2012-02-09 11:29:09 +01:00
Justin Lebar
cbab1727e4 Bug 702256 - "[Gonk] Add DOM API for turning screen on/off and adjusting the screen's brightness" r=cjones,mounir 2011-12-05 01:07:00 +08:00
Marco Bonardo
565d479ac5 Backout 407fba8cbd5a (bug 702256) for build failure on Windows. 2011-12-05 13:48:59 +01:00
Justin Lebar
e5c7ffb65c Bug 702256 - "[Gonk] Add DOM API for turning screen on/off and adjusting the screen's brightness" r=cjones,mounir
--HG--
extra : rebase_source : 6c1f1b49d911e749da524266695e2f05d52900b2
2011-12-05 01:07:00 +08:00