Jonathan Kew
d7ea1888c1
bug 794038 - rollup patch for Aurora 18. r=roc+smichaud+bgirard a=bajaj
2012-10-16 20:41:19 +01:00
Justin Lebar
4fbbec5a3f
Bug 802366 - The main event: Let a browser process inherit its app's id. r=bz,cjones, a=blocking-basecamp
...
The main bug fixed here is that in half of our interfaces, we use "is browser frame/element" to mean "browser or app", and in the other half, we use it to mean "is browser not app".
There's a related, functional bug also fixed here, which is that a browser process doesn't inherit its parent's app-id. This causes problems e.g. for IndexedDB: If a browser inside an app uses IndexedDB, the DB should have the app's app-id.
I also modified Tab{Parent,Child} and nsFrameLoader to call "app" "ownOrContainingApp", to emphasize that we might have inherited the app from a parent process. I left nsIDocShell::appId alone, because changing that would have necessitated changing nsILoadGroup and therefore a /lot/ of users in Necko; it's also not clear it would have clarified anything in those cases.
2012-11-10 10:32:37 -08:00
Bobby Holley
22d9ddaa37
Bug 799348 - When creating a new content window, create the surrounding chrome docshell as system. r=bz a=akeybl
2012-10-16 11:20:47 +02:00
Andrew Quartey
fe71f25457
Bug 792581 - part 3: Replace LL_NE macro with standard relation. r=ehsan
2012-10-03 10:13:18 -04:00
Ed Morley
accb05d7c8
Merge mozilla-central to mozilla-inbound
2012-10-02 11:19:03 +01:00
David Bienvenu
6336771848
Bug 679626 crash in nsIDOMWindowInternal::GetDocShell with signature pointing to nsASDOMWindowEnumerator::GetNext - try to avoid windows with no docshells. r=bz
2012-10-02 09:06:53 +01:00
Ms2ger
759efb046b
Bug 795403 - Cleanup nsXULWindow::GetWindowDOMElement; r=bz
2012-10-02 10:24:10 +02:00
bobbyholley+bmo@gmail.com
a0d60e7f8f
Bug 793370 - crash in nsWebShellWindow::Initialize, r=smaug+bz
2012-09-30 22:10:37 +03:00
Jonathan Kew
d4ed66097a
bug 674373 pt 6 - support HiDPI display in Cocoa widget code. r=roc,smichaud
2012-09-29 12:36:09 +01:00
Isaac Aggrey
b95ab79e45
Bug 795351: Replace LL_MAXINT, LL_MININT, LL_MAXUINT with stdint versions; r=ehsan
2012-09-28 14:55:23 -05:00
Bobby Holley
3616b91ce2
Bug 789773 - Eagerly create the about:blank viewer in nsWebShellWindow::Initialize. r=bz
2012-09-18 12:16:05 +02:00
Makoto Kato
1356f06137
Bug 784912 - nsIStreamListener.onDataAvailable should handle 64-bit offset. r=honza
2012-09-06 11:41:02 +09:00
Bobby Holley
bf0b5bba7c
Bug 774633 - Move the call to SetInitialPrincipalToSubject into nsAppShellService::RegisterTopLevelWindow. r=jst
...
This means that we get the correct principal on the window before sending notifying
any consumers about the window's creation.
2012-09-05 11:32:06 -07:00
Mike Hommey
6802c70abe
Bug 785269 - Replace a few DEPTH and relativesrcdir. r=ted,r=callek
2012-09-05 16:42:09 +02:00
Randell Jesup
65539ef89c
Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg
2012-09-01 22:35:17 -04:00
Matt Brubeck
cdd4612f38
Back out 670c8a2695b3 (bug 771354), 134557d57e6e 4ad52e488977 (bug 774607), and...
...
036eb8c2a08a d4d36e3b948f 35334e820632 6bd07fd5147d d49e7c0d762c 407f19deb14c d84551808abb (bug 774633)
on a CLOSED TREE
2012-08-23 21:34:27 -07:00
Bobby Holley
bf36b7f605
Bug 774633 - Move the call to SetInitialPrincipalToSubject into nsAppShellService::RegisterTopLevelWindow. r=jst
...
This means that we get the correct principal on the window before sending notifying
any consumers about the window's creation.
2012-08-23 16:44:52 -07:00
Justin Lebar
29483a3082
Bug 784436 - Part 2: Use new infallible nsIDocShell methods. r=bz
2012-08-22 18:27:04 -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
Chris Jones
4e42d87be2
Bug 783134: Work around crashing on startup with fullscreen widgets. r=roc
2012-08-15 17:54:18 -07:00
Neil Deakin
6b29afdf4b
Bug 743975 - remove the event handler argument to widget creation methods, r=tn
2012-08-15 14:53:09 -04:00
Neil Deakin
f313800475
Bug 743975 - add a getpresshell method to the widget listener, r=tn
2012-08-15 14:52:42 -04:00
Neil Deakin
2e9eced59a
Bug 743975 - use a widget listener interface instead of the remaining events that don't need an event, r=tn,jmathies,netzen,smichaud,karlt,blassey,chrisjones
2012-08-15 14:52:42 -04:00
Neil Deakin
e7d98cacc8
Bug 743975 - remove NS_DESTROY event, r=smaug
2012-08-15 14:52:41 -04:00
Neil Deakin
db533c012d
Bug 743975 - use a direct call instead of move uistatechanged event, r=smaug
2012-08-15 14:52:40 -04:00
Neil Deakin
fb4d59f2de
Bug 743975 - remove accessibility events from widget, replace with a nsBaseWidget::GetAccessible method, r=trevsaunders
2012-08-15 14:52:37 -04:00
David Zbarsky
03039446fa
[Bug 780428] Don't include nsIFrame.h in places where it's not necessary r=roc
2012-08-05 23:00:56 -04:00
Mike Hommey
70d7c821af
Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted
2012-08-04 20:26:44 +02:00
Justin Lebar
6fba296852
Bug 778355 - Don't clear mWindow in nsWebShellWindow's destructor; nsXULWindow will clear it when it's destroyed. r=roc
...
Also, in nsWindowMediator's shutdown observer, release all of our nsXULWindow references after we release mListLock. Without this, nsXULWindow's destructor can call back into nsWindowMediator, try to acquire mListLock, and deadlock.
2012-08-02 10:38:43 -04:00
Matt Brubeck
4a39fc5bfb
Back out 20b67f48676c (bug 778355) because of potential deadlock detected in make check
2012-07-30 11:56:48 -07:00
Aryeh Gregor
c81630fddb
Bug 777292 - Convert incorrect conversions to nsresult and fix named constants; r=ehsan
2012-07-27 16:59:29 +03:00
Justin Lebar
ddb0196aad
Bug 778355 - Don't clear mWindow in nsWebShellWindow's destructor; nsXULWindow will clear it when it's destroyed. r=roc
...
--HG--
extra : rebase_source : 8e14b506f53861315e8e96bc8f775f141cd8e8dd
2012-07-30 12:20:42 -04:00
Aryeh Gregor
d0ad5a7d0c
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
foudfou
afd9098bb7
Bug 760802 - Add JS nativeHandler attribute for nsIBaseWindow. r=roc
2012-07-24 21:35:32 -04:00
Ehsan Akhgari
5a3b82b2dd
Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (more xpfe/appshell parts); blanket-r=bzbarsky
...
--HG--
extra : rebase_source : 8e8ef6aedcaf1a5fd74e2805101868915a363522
2012-07-23 17:28:06 -04:00
Justin Lebar
2afb0a8c77
Bug 775676 - Fix leak in nsWebShellWindow. r=roc
...
After nsWebShellWindow::Destroy clears mSPTimer, it calls
nsXULWindow::Destroy, which runs script. That script might cause us to
call nsWebShellWindow::SetPersistenceTimer.
If that happens, SetPersistenceTimer will create mSPTimer (it was nulled
out during nsWebShellWindow::Destroy) and addref this. But there is no
corresponding release.
Let this be a lesson to all ye who try to be clever with manual
addref/release!
2012-07-23 10:40:36 -04:00
Mark Capella
eddd048c93
Bug 775041 - Make nsIWidget::IsEnabled return bool, r=roc, f=ms2ger
2012-07-23 01:19:08 -04:00
Mounir Lamouri
18f18cdf14
Bug 774957 - Update nsDocShell jazz so distinction between browser and app frame is clearer. r=jlebar sr=sicking
2012-07-18 22:26:21 -07:00
Steve Fink
39d63b1649
Backed out changeset 060a9d9fc1c6 from a CLOSED TREE since it seems to depend on afc1cf222996 or 1bafff5720a8 that I just backed out
2012-07-19 15:45:27 -07:00
Mounir Lamouri
2cd38a0937
Bug 774957 - Update nsDocShell jazz so distinction between browser and app frame is clearer. r=jlebar sr=sicking
2012-07-18 22:26:21 -07:00
Mark Capella
ab782c26b2
Bug 769998 - Make nsIWidget::IsVisible return bool, r=roc, f=ms2ger
2012-07-19 04:57:50 -04:00
Ed Morley
c2d155cb67
Backout ea6db8f420c0 (bug 770831), b51c79ee0883 (bug 774957), 020f6ed5958b (bug 758258), 11d8e19e1fca (bug 758258), 707fc51bfe2e (bug 775354), 489d944a6fe6 (bug 327244), be7df3c9d50f (bug 327244) for m-oth orange
2012-07-19 08:29:48 +01:00
Mounir Lamouri
42117c2ed2
Bug 774957 - Update nsDocShell jazz so distinction between browser and app frame is clearer. r=jlebar sr=sicking
2012-07-18 22:26:21 -07:00
Ehsan Akhgari
eb175c14e1
Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (xpfe/appshell parts); blanket-r=bzbarsky
2012-07-19 00:49:48 -04:00
Mounir Lamouri
e744d91b29
Bug 769586 - Make PopupWindowManager using principal to test permissions instead of URI. r=sicking
2012-07-15 18:37:31 -07:00
Benjamin Peterson
c6b2afe3a6
Bug 772963: remove empty parameter name. r=Neil DONTBUILD for m-c land
...
(since not used by Firefox/B2G/Fennec)
2012-07-11 11:32:00 -04:00
Justin Lebar
e3992afcaf
Bug 764718 - Part 1: Make window.close work on windows opened via window.open from <iframe mozbrowser>, when OOP is disabled. r=bz
...
--HG--
extra : rebase_source : c5f99247921df912d2369757756998c037a0957a
2012-07-09 15:50:05 -04:00
Matt Brubeck
d170c462cd
Back out 8e47e74e3578 and 82f24178d2cb (bug 764718) because of test failure
2012-07-06 16:27:58 -07:00
Justin Lebar
3ec9bebbae
Bug 764718 - Part 1: Make window.close work on windows opened via window.open from <iframe mozbrowser>, when OOP is disabled. r=bz
...
--HG--
extra : rebase_source : 8fd652c9d651727a140bece71e1b63269bae9b40
2012-07-06 13:35:38 -04:00
David Zbarsky
d2ee12f6f9
Bug 763350 - Clean up some includes in content/ and dom/ r=smaug
2012-07-01 16:45:59 -07:00