Commit Graph

278 Commits

Author SHA1 Message Date
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
Justin Lebar
3fdb7665ae Bug 769254 - Part 2: Modify nsPIWindowWatcher::OpenWindowJS (renamed to OpenWindow2) so we can pass in the URL for target=_blank links without navigating the opened window to that URL. r=bz 2012-08-14 10:58:00 -04:00
Neil Deakin
ea846a8e61 Bug 391834, don't allow prompts in beforeunload, unload and pagehide events,r=smaug,patch mostly by gavin 2012-08-13 15:05:34 -04:00
Neil Deakin
d0b48a4eb2 Bug 391834, rearrange some popup dialog code to be simpler,r=smaug,patch mostly by gavin 2012-08-13 15:03:59 -04:00
Justin Lebar
679b937006 Bug 777135 - Part 3: Remove nsDOMWindowUtils::GetIsApp and friends. r=mounir 2012-08-13 12:58:38 -04:00
Boris Zbarsky
3d3f058246 Bug 703855. Don't update performance timing or navigation timing state during document.open. r=jst 2012-08-08 23:47:04 -04:00
Chris Jones
41f367b6fd Revert e3e9040a6eb9 for M2 failures 2012-08-08 21:58:23 -07:00
Boris Zbarsky
3beaa1f31b Bug 703855. Don't update performance timing or navigation timing state during document.open. r=jst 2012-08-08 23:47:04 -04:00
Phil Ringnalda
3cb2df7ba7 Backout 5439489dc320, 983f76488e59, 7a92558a8dec (Bug 714358) for debug build assertions and leaks 2012-08-07 22:18:27 -07:00
Steven Lee
b1efdeeeb4 Bug 714358: Time manager implementation. r=jlebar 2012-08-07 19:11:00 -04:00
Chris Pearce
b1feb50a83 Bug 684620 - Implement cross process fullscreen API for B2G apps and web content. r=jlebar
* * *
Bug 684620 - Fix in-process fullscreen in B2G. r=?
2012-07-31 14:09:31 +12:00
Aryeh Gregor
8b4a23fc4c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Nathan Froyd
830d07fa25 Bug 776979 - consolidate InitWithFuncCallback calls into nsTimeout::InitTimer; r=bz 2012-07-24 13:50:45 -04:00
Matt Brubeck
44a5364022 Back out fbdb3104c9e5, d2fe54ae00a8, d378362cbe01, fe623d60bea1 (bug 769254) on suspicion of causing Windows debug mochitest-plain-3 timeouts 2012-07-23 20:30:12 -07:00
Justin Lebar
36da060acf Bug 769254 - Part 2: Modify nsPIWindowWatcher::OpenWindowJS (renamed to OpenWindow2) so we can pass in the URL for target=_blank links without navigating the opened window to that URL. r=bz 2012-07-23 10:44:13 -04:00
Bonnie Surender
779145c14e Fix for bug 771967. OS idle api active to briefly idle to active notification fix. r=jst 2012-07-13 15:39:46 -07:00
Bonnie Surender
553821358e fixing bug 770656, idle fuzz time for idle notifications. r=jst@mozilla.com 2012-07-04 13:21:40 -07:00
Fabrice Desré
3b7ca21566 Bug 755245 - Implement System Message Handler : Part 2, Add a getApp() method to nsGlobalWindow [r=mounir] 2012-07-02 17:16:55 -07:00
Bonnie Surender
4e40418e97 Fixing bug 715041. Add support for Idle API. r=bent, jst 2012-06-29 01:32:21 -07:00
Vivien Nicolas
36007f1d92 Bug 760102 - Authorize web applications to use fullscreen by default. r=cpearce 2012-06-28 20:54:37 +12:00
Ms2ger
ded60e3fb6 Bug 762455 - Make nsGlobalWindow::InnerSetNewDocument not return nsresult; r=peterv 2012-06-17 10:11:16 +02:00
Bobby Holley
314592f565 Bug 764389 - Update compartment principals on inner window reuse and on document.write. r=bz 2012-06-15 08:31:27 +02:00
Justin Lebar
286762d728 Bug 741587 - Part 1: Make alert/prompt/confirm work with <iframe mozbrowser>. r=smaug 2012-06-07 10:43:23 -04:00
Nathan Froyd
0a1ab582e4 Bug 748464 - refactor nsGlobalWindow::RunTimeout; r=bz 2012-04-24 14:16:29 -04:00
Kyle Huey
7aebbfba53 Bug 751999: Split SetDocShell apart to make this code easier to read. r=jst 2012-05-25 12:00:32 -07:00
Justin Lebar
3c0422584a Bug 754997 - For <iframe mozbrowser>, override window.{top,parent,frameElement} in C++. r=bz 2012-05-23 11:27:10 -04:00
Alexander Surkov
fa736844c2 Bug 756381 - make FocusManager::FocusedDOMNode faster, r=tbsaunde, smaug 2012-05-22 18:25:44 +09:00
Gervase Markham
cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Mounir Lamouri
594a708bff Bug 754141 (3/4) - Get the application object from an AppsService based on the manifest URL and save it on the window object. r=fabrice,jlebar 2012-05-16 12:40:47 +02:00
Mounir Lamouri
8f4063b6f6 Bug 754141 (2/4) - Add a SetApp() method that takes the manifest URL value. r=jlebar 2012-05-16 12:40:09 +02:00
Mounir Lamouri
2f25d98160 Bug 753978 - Be able to know if a window is part of an application. r=jlebar 2012-05-10 17:56:21 -07:00
Kyle Huey
b2dd18900f Bug 752877: Ensure that wrapper cutting happens after [inner|outer]-window-destroyed, to give code a chance to clean up. r=bz 2012-05-09 08:10:18 -07:00
Ms2ger
eef1eac9e2 Bug 745211 - Remove SetScriptContext from nsIScriptGlobalObject; r=mrbkap 2012-05-05 11:00:04 +02:00
Josh Aas
857ffa303c Bug 748343: Remove support for "java" and "packages" objects from the DOM. r=jst sr=smaug a=ehsan CLOSED TREE 2012-05-01 16:47:35 -04:00
Rafael Ávila de Espíndola
e984d45799 Bug 743680 - nsGlobalWindow.h uses GetWrapper, include nsWrapperCacheInlines.h. r=dbolter. 2012-04-20 16:43:48 -04:00
Ms2ger
073b7d8187 Bug 732708 - Part c: Remove dom-storage-changed observer topic; r=honzab 2012-04-14 15:06:32 +02:00
Ms2ger
1755172bee Bug 742837 - Remove dead code and cleanup around nsDOMScriptObjectFactory; r=bz 2012-04-14 15:03:16 +02:00
Ms2ger
54f1f6b78d Backing out bf0a78471e5e:dc7022e2d807 for inexplicable windows crashes. 2012-04-14 17:52:34 +02:00
Ms2ger
d6ac9e0e9e Bug 732708 - Part c: Remove dom-storage-changed observer topic; r=honzab 2012-04-14 15:06:32 +02:00
Ms2ger
dc969a7d69 Bug 742837 - Remove dead code and cleanup around nsDOMScriptObjectFactory; r=bz 2012-04-14 15:03:16 +02:00
Gabor Krizsanits
a4c3096f6c Bug 733035 - postMessage support for sandboxes. r=khuey 2012-04-05 18:33:20 -04:00
Nathan Froyd
dd6478740e Bug 732708 - remove nsIDOMStorageList; r=honzab 2012-03-28 12:33:41 -04:00
Kyle Huey
aae6da6770 Bug 722428: Fix leaks in mochitest by reworking SpecialPowers and nsDOMWindowUtils. r=mounir,ctalbert 2012-04-01 19:23:51 -07:00
Tim Taubert
bdd72f7800 Bug 727446 - Let the window owning a storage dispatch an event when the storage changes; r=smaug 2012-03-30 19:31:16 +02:00
Justin Lebar
8669e2a7a7 Bug 736688 - Part 5: Remove window.{top,parent,frameElement} mozbrowser changes in nsGlobalWindow (undoes changes from bug 725796). r=smaug 2012-03-28 11:36:49 -07:00
Doug Turner
4e86693efe Bug 734855 - Rename DeviceMotion to DeviceSensors. Review comments address r=mwu 2012-03-24 17:30:03 -07:00
Doug Turner
efc47f269e Bug 734855 - Device Orientation - Make EnableDeviceMotion finer grain. r=mwu 2012-03-24 17:29:49 -07:00
Matt Brubeck
8f6cb2e834 Merge mozilla-central and mozilla-inbound 2012-03-24 09:05:27 -07:00
Ms2ger
ad179e7ac8 Bug 734029 - Move nsJSContext::{Set,Create}OuterObject to nsGlobalWindow; r=bholley 2012-03-24 09:18:21 +01:00
Hessam Salehi
a64cc02b3f Bug 474505 - Replace uses of nsVoidPtrHashkey with nsPtrHashKey<T>; r=bsmedberg 2012-03-21 14:07:31 -04:00