Justin Lebar
818638f210
Backed out changeset a6a847452dbf due to incorrect bug number (should be bug 802366, but was bug 802367). DONTBUILD
2012-10-30 16:13:20 -04:00
Justin Lebar
af7297481d
Bug 802367 - The main event: Let a browser process inherit its app's id. r=bz,cjones
...
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.
--HG--
extra : rebase_source : f3ef9475e21204da10bf39c6cca506bc08096949
2012-10-30 15:55:05 -04:00
Ehsan Akhgari
8e702f60c5
Backed out 2 changesets (bug 579517)
...
Backed out changeset 5298adc70963
Backed out changeset 86ccf7c918ce (bug 579517)
2012-10-25 12:32:24 -04:00
Ehsan Akhgari
f3c0ac7a23
Code hygiene: don't use PR_TRUE and PR_FALSE, and use stdint types instead of PRInt types (no bug really, but you could say bug 579517)
2012-10-25 11:48:19 -04:00
Ehsan Akhgari
94987da6ad
Bug 722983 - Fix the back-end handling of permanent private browsing mode through the per-window private browsing APIs; r=jdm
...
--HG--
extra : rebase_source : 31358b29c5b3c5f6921598ea3246aede62ca78db
2012-10-16 18:06:38 -04:00
Jonathan Kew
702db29c1c
bug 794038 pt 1.0 - use global display pixel coordinates to persist and restore XUL window position and size. r=roc
2012-10-16 20:41:19 +01:00
Jonathan Kew
2476c89ec7
bug 794038 pt 0.9 - provide an unscaledDevicePixelsPerCSSPixel attribute on nsIBaseWindow to expose the default device-pix/css-pix ratio. r=roc
2012-10-16 20:41:19 +01:00
Jonathan Kew
c8e6936581
bug 794038 pt 0 - use the existing #defines for XUL window attribute names instead of repeating NS_LITERAL_STRING. r=roc
2012-10-16 20:41:19 +01:00
Trevor Saunders
000b6e89a1
bug 798595 - remove useless prmem.h includes r=ehsan
2012-10-04 02:14:06 -04:00
Bobby Holley
da4fce7951
Bug 799348 - When creating a new content window, create the surrounding chrome docshell as system. r=bz
2012-10-11 19:44:20 +02:00
Josh Matthews
a932f16330
Bug 795556 - Part 2: Move privacy status propagation for new windows into the platform. r=bz
2012-10-10 11:28:42 -04:00
foudfou
f9dda29b0b
Bug 793433 - Fix crash when nsAppShellService::RegisterTopLevelWindow called with invalid arguments. r=bholley
...
--HG--
extra : rebase_source : 2f3be0e474c727ea5a58177809bf3af1f34477ec
2012-10-09 11:56:58 +02: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
Bobby Holley
3616b91ce2
Bug 789773 - Eagerly create the about:blank viewer in nsWebShellWindow::Initialize. r=bz
2012-09-18 12:16:05 +02: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
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
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
Ed Morley
7689b7c5cf
Backout 714c402f3050, 80d09e39cd0d & 3a1129278710 (bug 764718) for frequent intermittent failures
2012-06-22 11:04:47 +01:00
Justin Lebar
0692149b0e
Bug 764718 - Part 2: Make window.close work on windows opened via window.open from <iframe mozbrowser>, when OOP is disabled. r=bz
2012-06-21 21:17:52 -04:00
Ed Morley
9c21bf543b
Backout fed89ccfe0c2, 5fb8d7a3852f & d220195a8b95 (bug 764718) for mochitest-2 failures
2012-06-21 18:18:40 +01:00
Justin Lebar
837cab5eb4
Bug 764718 - Part 2: Make window.close work on windows opened via window.open from <iframe mozbrowser>, when OOP is disabled. r=bz
2012-06-21 11:58:49 -04:00
Justin Lebar
8d7f4a897e
Bug 742944 - Part 4: Handle window.open in <iframe mozbrowser>. r=bz, cjones
...
--HG--
extra : rebase_source : 4c16c86c5be230af22eea89dfb5f893b7c6091dd
2012-06-12 18:01:25 -04:00
Olli Pettay
e160cfea86
Bug 761613 - Merge nsIPrivateDOMEvent to nsIDOMEvent, r=jst
2012-06-10 21:14:30 +03:00
David Zbarsky
c7146e6e8e
Bug 762801: fix bustage r=bustage
2012-06-09 15:54:12 -07:00
David Zbarsky
671b93092c
Bug 762801 - Merge nsIEmbeddingSiteWindow2 into nsIEmbeddingSiteWindow r=jst
2012-06-09 15:15:12 -07:00
Gervase Markham
82ff7027aa
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Myk Melez
4f307cae98
bug 746156 - isolate webapp runtime files into subdirectory of Firefox package; r=bsmedberg, a=akeybl
2012-04-19 00:39:52 -07:00
Myk Melez
2eea1475c4
bug 725408 - implement WebappRT launcher/shell; r=bsmedberg
2012-04-17 07:11:53 -07:00
Dão Gottwald
2fcd4be7f3
merge backout
2012-03-23 16:58:48 +01:00
Dão Gottwald
4307ddde22
Backed out changeset bf13c2253055
2012-03-23 16:58:27 +01:00
Paul O’Shannessy
47968af569
Bug 714911 - Stop persisting sizemode=fullscreen [r=enn]
...
--HG--
extra : rebase_source : d94bb978f3d35c90659fca78df83d9bbca1795a6
2012-03-20 16:21:14 -07:00
Paul O’Shannessy
40da322e36
Bug 639705 (Lion Full Screen) Part 1: Initial support for fullscreenbutton in XUL [r=enn]
...
--HG--
extra : rebase_source : 03d0b24570546fb8513b513e2c804145e47b3433
2012-03-20 16:21:14 -07:00
Geoff Lankow
5a1e52fbea
Bug 710978 - Title attribute of a window is not updated in nsXULWindow::SetTitle; r=Neil
2011-12-20 00:47:18 +13:00
Cameron McCormack
936ba7d3bb
Bug 674370 - Make browser windows (and other document-like windows) zoom on creation on OS X 10.7. r=mstange,dao sr=bzbarsky
2012-02-17 14:47:39 +11:00
Marco Bonardo
e7180038c0
Backout 7a8b935ab596 (bug 674370) for Paint regression
2012-02-08 09:23:40 +01:00
Cameron McCormack
79119f394a
Bug 674370 - Make browser windows (and other document-like windows) zoom on creation on OS X 10.7. r=mstange,dao sr=bzbarsky
2012-02-08 11:44:45 +11:00
Philipp Hartwig
3946945aaa
Bug 512529 - Automatically leave fullscreen mode when it seems appropriate; r=neil
2012-02-06 18:17:32 +00:00
Jeff Walden
2e53b58879
Bug 711799 - Add parentheses to a bunch of && expressions nested within || expressions. r=dholbert
2011-12-18 01:00:47 -05:00
Mike Hommey
e08d276b14
Bug 702764 part 2 - Make nsAppStartup::GetStartupInfo more flexible. r=tglek
2011-11-18 08:54:27 +01:00
Oonishi Atsushi
8f0353652d
Bug 311007 - Add aFlags arg to onLocationChange(...), to distinguish between same-document and different-document. r=smaug, sr=bzbarsky
2011-11-10 15:01:11 +01:00
Neil Deakin
3c91582697
Bug 696745, remove nsIMenuRollup and xul-popup-manager component, r=mats,sr=roc
2011-11-08 14:59:07 -05:00
Neil Deakin
42f99d3415
Bug 503879, remove nsIToolkit, make nsToolkit a singleton, remove it from some widget platforms, and don't pass it around when creating widgets, original patch by robarnold, r=roc
2011-10-25 11:05:32 -04:00
Ehsan Akhgari
92064e6d3f
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
Ed Morley
acef499a8d
Merge last green changeset of mozilla-inbound to mozilla-central
2011-10-15 12:19:29 +01:00
Ms2ger
ca6f7807e0
Bug 540433 - Remove nsIDocumentViewer; r=smaug
2011-10-15 09:33:26 +02:00
Neil Deakin
506fdf23b9
Bug 694227 nsIBaseWindow::blurSuppression is unusued, r-bsmedbeg,sr=bz
2011-10-14 14:11:22 -04:00
Neil Deakin
8bd76da7e1
Bug 694225, nsWebShellWindow::GetNamedDOMDoc can be removed and simplified, r-bsmedberg
2011-10-14 09:06:41 -04:00
Neil Deakin
90f42cf310
Bug 694224, remove appshell argument from various widget creation methods, r=roc
2011-10-14 09:06:39 -04:00
Michael Wu
d2b70213ac
Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
...
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Mike Hommey
1036527a30
Bug 686435 - Add a telemetry probe on nsAppShellService::CreateTopLevelWindow. r=taras
2011-09-23 14:30:49 +02:00
Ms2ger
09c97f4a38
Bug 649603 - Make nsIScriptContext::GetNativeContext return JSContext; r=jst
2011-09-18 11:22:17 +02:00
Marco Castelluccio
a1151d128d
Bug 682744 - Sprinkle some do_QueryObject fairy dust around the tree; r=khuey
2011-08-30 22:45:31 +01:00
Ms2ger
fe7e298f75
Bug 675075 - Reinstate nsIDOMWindowInternal; r=smaug
...
* * *
Bug 675075 - Followup: remove nsIDOMWindowInternal.h includes; r=bustage
2011-08-14 19:22:29 +02:00
Ms2ger
352b5b2d9d
Backout bug 675075 for bustage
2011-08-14 20:05:20 +02:00
Ms2ger
9f85d33591
Bug 675075 - Followup: remove nsIDOMWindowInternal.h includes; r=bustage
2011-08-14 19:52:28 +02:00
Ms2ger
a74e67b366
Bug 675075 - Reinstate nsIDOMWindowInternal; r=smaug
2011-08-14 19:22:29 +02:00
Matt Brubeck
981b18c20b
Merge the last green changeset from mozilla-inbound to mozilla-central
2011-08-12 06:41:55 -07:00
Ms2ger
4ca9cbc0f3
Bug 677101, part b - Remove nsContentUtils.h includes from headers; r=volkmar
2011-08-11 15:29:50 +02:00
Rafael Ávila de Espíndola
278aa50e0d
Bug 678222 - Fix build with clang and c++0x; r=roc
...
Change AppUnitsPerDevPixel to return a PRUint32. It should never return
negative values and it is used in initializer lists that expect unsigned
values, which is not valid c++0x.
I have also change the member variables to be unsigned and converted
a sentinel value to use 0 instead of -1. UINT32_MAX should work fine too
if you like it better.
2011-08-11 19:19:03 -04:00
Jonas Sicking
743f1281ec
Bug 661297 Part 1: Remove Add/RemoveEventListenerByIID API. r=smaug
2011-08-08 11:26:26 -07:00
Michael Wu
fbcd07dca0
Bug 676465 - Replace PRBool with boolean in IDL files, r=bsmedberg
2011-08-06 22:03:32 -07:00
Luke Wagner
185aaf8f99
Bug 672971 - Remove SetSafeJSContext (r=bz,bent)
...
--HG--
extra : rebase_source : f7eb1dcd3bc8ae1bfda0a89d044c0da9621d99e9
2011-07-27 16:15:50 -07:00
Matheus Kerschbaum
b0c1f89ef4
Bug 579571 - Remove --enable-timeline support. r=tglek
2011-07-17 12:07:42 +02:00
Ms2ger
8c78d3f478
Bug 670235 - Remove nsIDOMWindowInternal; r=sicking
2011-07-15 12:31:34 +02:00
Boris Zbarsky
5c4d6b1e7b
Bug 648045. Mark the currently selected tab in a minimized window as inactive. r=gavin,smaug
2011-07-11 09:14:08 -04:00
Marco Bonardo
fa3cd9704a
Backout changesets 9e4ab3907b29, 3abc0dbbf710 due to m-oth permaorange
2011-07-11 10:27:58 -07:00
Boris Zbarsky
5802023c26
Bug 648045. Mark the currently selected tab in a minimized window as inactive. r=gavin,smaug
2011-07-11 09:14:08 -04:00
Jezreel Ng
27b1218322
Bug 668711 - Specified window dimensions in openDialog aren't respected if sizeMode is persisted and set to maximized. r=neil
2011-07-05 10:12:05 +02:00
Jonas Sicking
f7e72db3bc
Bug 658714 Part 7: DeCOMtaminate nsEventListenerManager. r=smaug
2011-06-23 19:18:01 -07:00
Jonas Sicking
07c1f0b90f
Bug 658714 Part 5: Search'n'replace nsPIDOMEventTarget to nsIDOMEventTarget. r=smaug
2011-06-23 19:18:00 -07:00
Jim Mathies
9e028c4827
merge backout
2011-06-21 10:33:22 -05:00
Jim Mathies
8f807392f5
Backout of bug 580564 due to regression bug 663586.
2011-06-21 10:33:03 -05:00
Jim Mathies
b610ecccfc
Bug 580564 - Fix for broken alt-space sys menu restore when in full screen mode. r=neil
2011-05-27 17:35:45 -05:00
Masayuki Nakano
f8c45718cf
Bug 664969 xpfe should use mozilla::Preferences r=neil
2011-06-20 12:00:16 +09:00
Jim Mathies
bc88bac593
Bug 632748 - Insure the sizemode attribute is synced to the document element while chrome is loading. r=neil
2011-05-27 10:19:58 -05:00
Ms2ger
c911ae13be
Bug 655517 - Remove nsIDOMDocumentEvent; f=ehsan r=smaug
2011-05-23 18:46:36 +02:00
Graeme McCutcheon
77e7f3a60f
Bug 656131. Typo in nsWebShellWindow::ConstrainToOpenerScreen. r=felipe
2011-05-10 22:26:48 +01:00
Ed Morley
8aaddd0334
Bug 659621 - Remove EXTRA_DSO_LIBS, EXTRA_DSO_LDOPTS, OS_LIBS from makefiles containing LIBXUL_LIBRARY = 1, now that libxul is always built; r=ted
2011-06-12 03:49:00 -04:00
Dominic Fandrey
968bf5196a
Bug 645398 - Substitute PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc
2011-06-02 14:56:50 +02:00
Mounir Lamouri
b9a14ba1c4
Bug 565541 (1/2) - Add targetableShellCount to nsIDocShellTreeOwner. r=bz
...
Basically, this will return a the number of tabs when nsIDocShellTreeOwner is
a nsContentTreeOwner.
--HG--
extra : rebase_source : b998c4bd81fc95a099dbcd246f4a3df85acd861e
2011-04-14 14:27:53 -07:00
Ed Morley
0783a04f62
Bug 654718 - Remove WinCE code from xpfe; r=khuey
2011-05-12 10:50:16 -07:00
Ms2ger
31e3e8c5d1
Bug 616684 - Remove support for DOM Views; r=sicking,ehsan
2011-04-24 08:54:25 +02:00
Ehsan Akhgari
67e7a42892
Backout changeset 13f6847dd840 (bug 616684) because it changes code semantics in a bad way, which results in problems like the crash in bug 652580, possibly among others
2011-04-25 17:05:17 -04:00
Ms2ger
540ca93080
Bug 616684 - Remove support for DOM Views; r=sicking
2011-04-24 08:54:25 +02:00
Justin Lebar
aa0b7411ef
Bug 647273 - Remove nsIContentUtils and nsIContentUtils2. r=sicking
...
--HG--
extra : rebase_source : 8a99a1401b7d7427bed4a136e0b38c475f6473a2
2011-04-14 13:58:36 -07:00
Robert O'Callahan
fc7faceefc
Bug 641426. Part 6: Rename Empty to SetEmpty. r=cjones
2011-04-19 15:07:23 +12:00
Chris Jones ext:(%20and%20Kyle%20Huey%20%3Ckhuey%40kylehuey.com%3E)
2c92e3ecd5
Rollup of bug 645263 and bug 646259: Switch to mozilla:: sync primitives. r=cjones,dbaron,doublec,ehsan src=bsmedberg
...
Bug 645263, part 0: Count sync primitive ctor/dtors. r=dbaron
Bug 645263, part 1: Migrate content/media to mozilla:: sync primitives. r=doublec
Bug 645263, part 2: Migrate modules/plugin to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 3: Migrate nsComponentManagerImpl to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 4: Migrate everything else to mozilla:: sync primitives. r=dbaron
Bug 645263, part 5: Remove nsAutoLock.*. sr=bsmedberg
Bug 645263, part 6: Make editor test be nicer to deadlock detector. r=ehsan
Bug 645263, part 7: Disable tracemalloc backtraces for xpcshell tests. r=dbaron
Bug 646259: Fix nsCacheService to use a CondVar for notifying. r=cjones
2011-03-31 23:29:02 -05:00
Chris Jones
699024f868
Backed out changeset 4beec31b9ea9 for increasing frequency of intermittent orange bug 618052
2011-03-31 18:57:38 -05:00
Chris Jones ext:(%20and%20Kyle%20Huey%20%3Ckhuey%40kylehuey.com%3E)
0ce53bb598
Rollup of bug 645263 and bug 646259: Switch to mozilla:: sync primitives. r=cjones,dbaron,doublec,ehsan src=bsmedberg
...
Bug 645263, part 0: Count sync primitive ctor/dtors. r=dbaron
Bug 645263, part 1: Migrate content/media to mozilla:: sync primitives. r=doublec
Bug 645263, part 2: Migrate modules/plugin to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 3: Migrate nsComponentManagerImpl to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 4: Migrate everything else to mozilla:: sync primitives. r=dbaron
Bug 645263, part 5: Remove nsAutoLock.*. sr=bsmedberg
Bug 645263, part 6: Make editor test be nicer to deadlock detector. r=ehsan
Bug 645263, part 7: Disable tracemalloc backtraces for xpcshell tests. r=dbaron
Bug 646259: Fix nsCacheService to use a CondVar for notifying. r=cjones
2011-03-31 14:51:19 -05:00
L. David Baron
db6289bc0a
Use nsAutoLock::NewLock, nsAutoLock::DestroyLock, nsAutoMonitor::NewMonitor, and nsAutoMonitor::DestroyMonitor as required by the API. (Bug 594666) r=cjones
2011-03-29 08:43:26 -07:00
Olli.Pettay@gmail.com
81117f046f
Fix bug 635776. r=bz, a=jst
2011-03-02 21:43:09 -08:00
neil@parkwaycc.co.uk
6a7e094d67
Bug 563643 - [Debug MacOSX SeaMonkey] leak test: "ASSERTION: Want to fire mutation events, but it's not safe" since bug 429175 landing. ("all" other test suites too); (Av1b) With 2 extra ifdefs as agreed on IRC.
...
r=Olli.Pettay a-2.0=jonas.
2011-01-25 19:13:43 +01:00
Markus Stange
f64bd8648e
Bug 538242 - Always keep nsCocoaWindow's mBounds up to date. r+a=josh
2010-12-21 12:42:47 +01:00
Felipe Gomes
3c231b57cf
Bug 610057. Sizemode attribute is incorrect in windows which are not set to persist the attribute (e.g. popup windows). r=neil a=blocking-final
2010-12-20 13:59:48 -08:00
timeless@mozdev.org
a3f94008ff
Bug 615359 CheckForFullscreenWindow is only used ifdef XP_WIN
...
r=neil
--HG--
extra : rebase_source : c9d1bc55b9f4dee9a17e4e58f73fecfbf73a1104
2010-12-04 11:06:53 +01:00
Daniel Holbert
ac0e61702b
Bug 613292: Reorder nsXULWindow constructor init list to fix build warning. r=jmathies a=bsmedberg
2010-11-30 21:27:30 -08:00
Margaret Leibovic
dd63205961
Bug 575561 - External links from within app tabs should always open in new tabs instead of replacing the app tab's page. r=gavin+bz, a=blocking-beta7
2010-10-28 15:00:31 -07:00
Robert O'Callahan
ea93b2367b
Backed out changeset ecd1948992eb
2010-10-29 16:07:46 +13:00
Margaret Leibovic
28e7c9718a
Bug 575561 - External links from within app tabs should always open in new tabs instead of replacing the app tab's page. r=gavin+bz, a=blocking-beta7
2010-10-28 15:00:31 -07:00
Jim Mathies
e2dcaff311
Merge, a=blocking.
2010-10-15 08:52:16 -05:00
Jim Mathies
6c6962138a
Bug 574690 - Backout changeset 7124132f0506 due to regressions. a=blocking.
2010-10-15 08:50:09 -05:00
Mike Hommey
7dd0ac125f
Bug 349985 - Move about: handling to nsAboutRedirector and re-enable release notes link in about:. r=bzbarsky,sr=dveditz,a=jst
2010-10-15 12:28:54 +02:00
Felipe Gomes
ab0981bac5
Bug 593307. Ensure centerscreen windows are initially created in a valid screen position. r=jst,jmathies a=blocking-final
2010-10-08 15:51:50 -03:00
Masatoshi Kimura
28f9c1460d
Bug 593577 - Get rid of nsContentType. r=roc a=a
2010-09-20 15:40:13 +02:00
Jim Mathies
69326a5fb7
Bug 574638 - Change default background color of widgets from grey to white. r=neil, a=blocking-betaN
2010-09-08 10:21:56 -05:00
Joe Drew
3f09edc02c
Bug 591150 - Move MOZ_ACCELERATED usage to widget instantiation. r=bas,roc a=blocking2.0:beta6+
2010-09-03 14:08:23 -04:00
Jim Mathies
94d54bbb1f
Bug 574690 - Reorder size and position events in nsXULWindow so windows are positioned before they are shown. r=bz, r=neil
2010-07-15 22:39:31 -05:00
Jim Mathies
69015a0e94
merge
2010-07-15 21:47:52 -05:00
Jim Mathies
0106790dc3
Backing out 'Call Show if our nsIXULWindow will not' patch from bug 574690 due to various regressions. r=bz
2010-07-15 21:47:14 -05:00
Bas Schouten
ba19f9a931
Bug 574690: Don't have DocumentViewer call show on its window if the XULWindow will do this once it's done loading chrome. r=roc
2010-06-28 06:24:52 +02:00
Jim Mathies
d423986af9
Bug 574599 - Parent windows should have the clip children style to avoid parent level paints when children invalidate. r=robarnold.
2010-06-25 17:50:36 -05:00
Jim Mathies
457cc71a52
Bug 575195 - Send size mode events to dom from web shell window, and insure new windows open on top of full screen windows normally. r=neil.
2010-08-26 23:44:01 -05:00
Jim Mathies
e758581cd0
Bug 513162 - Add support for 'chromemargin' property on XUL windows. r=smaug.
2010-06-24 21:01:07 -05:00
Neil Rashbrook
a80f14680c
Bug 351235 <a href='foo' target='bar'> and window.open('foo', 'bar') should not be treated identically by browser.link.restriction r=bzbarsky
2010-07-05 13:03:07 +01:00
Markus Stange
2f26076329
Merge backout of changeset ad7f9821597e, bug 573973.
2010-07-02 08:23:34 +02:00
Markus Stange
e970b36d5f
Back out changeset ad7f9821597e (bug 573973, calling SetDrawsInTitlebar on nsXULWindow load) because it caused bug 576394.
2010-07-02 08:22:54 +02:00
Markus Stange
ab36656ddc
Bug 573973 - Handle the drawintitlebar attribute in nsXULWindow, too. r=Neil
...
--HG--
extra : rebase_source : ba2a3384b23d7f697fbe20cda11ab83b2575ba4d
2010-07-01 18:40:39 +02:00
Oleg Romashin
01e6b844c2
Bug 575962 - top window accelerated ENV variable. r=roc
...
--HG--
extra : rebase_source : 53f4400af98bcf06d0c01a13edc814a50f571435
2010-07-01 17:45:14 -04:00
Benjamin Smedberg
a08857c778
Final merge and landing of bug 568691 and dependent bugs to mozilla-central on a CLOSED TREE.
...
* bug 568691, register XPCOM components statically using manifests. r=mossop, with some test and build stuff r=vlad,sdwilsh
* bug 573557, rename categories with spaces to use hypens. r=jst
* bug 573739, Don't get the private browsing service during layout module initialization, r=ehsan
This initial merge does not include some work planned to land imminently:
* The extension manager still restarts. I need to solve a problem re-reading default preferences from extensions.
* MOZ_OMNIJAR is broken: there is a patch which I need to update in bug 568691.
* I will concurrently land a mobile-browser fix for component registration, but it may require some additional packaging changes.
2010-07-01 14:26:25 -04:00
Benjamin Smedberg
e17740e1ab
Merge mozilla-central to the bug 568691 branch.
...
--HG--
rename : gfx/public/nsITheme.h => gfx/src/nsITheme.h
2010-06-30 14:23:23 -04:00
Benjamin Smedberg
29e089defb
Merge mozilla-central into the branch for bug 568691, including fixup of the new jetpack binary module.
2010-06-25 19:41:09 -04:00
Benjamin Smedberg
c611ebcd81
Bug 568691 part A - register static and binary components using data tables rather than programmatic nsIComponentRegistrar methods. This part contains the important needs-review bits of the change: part B contains the mechanical changes to each module in order to actually get a working build. Part C will contain changes necessary to register JS components from .manifest files
2010-06-10 14:11:11 -04:00
Mats Palmgren
96cd506907
Bug 530070. r=jmathies
2010-06-02 15:02:05 +02:00
Mats Palmgren
13ef722c05
Backout bug 530070 due to Tinderbox orange.
2010-05-21 18:33:28 +02:00
Mats Palmgren
42928ba297
Bug 530070. r=jmathies
2010-05-21 15:52:07 +02:00
Mitchell Field
0fd15d94da
Bug 564950 - Make more use of mozilla::services, r=surkov, jst, neil, smontagu, roc, joshmoz, gavin, shaver
2010-05-14 18:24:41 +09:00
Neil Deakin
b627649b3d
Bug 418521, improve the way focus indicators are displayed to correlate better with system behaviour, add -moz-focusring property to apply only when focus rings should be drawn, r=dao,jmathies,dbaron sr=neil
2010-04-21 10:53:42 -04:00
Bas Schouten
bd41f89063
Bug 556027: Propagate 'accelerated' attribute from nsXULWindow. r=roc
2010-03-31 05:03:00 +02:00
Craig Topper
fd9001c409
Bug 554253 - Convert nsCOMPtr<nsPresContext> to nsRefPtr<nsPresContext>. r=roc
...
--HG--
extra : rebase_source : d828daca07188864d055f3d1a72f5217632eb358
2010-03-25 14:17:11 +01:00
Olli Pettay
8f9e916c89
Bug 540462 - Move GetDocument from nsIDocumentViewer to nsIContentViewer, r=bz
2010-01-23 13:41:41 +02:00
Simon Montagu
2b9c3cb74d
Bug 224547: Change the organization of the window title bar for RTL XUL windows. Part 2, set the right-to-left flags on right-to-left windows, r=enndeakin
2009-12-21 12:22:09 +02:00
Saint Wesonga
d40cc44236
Bug 274088 - alwaysRaised/alwaysLowered window.open feature incorrectly disallowed to content script. r=neil
...
--HG--
extra : rebase_source : ba682a68f728cb3c9e7ca9b3e4395e868d5198a5
2009-12-18 20:42:55 +01:00
Jae-Seong Lee-Russo
5268cba8b8
Bug 530392 - Replace PR_MIN/PR_MAX with NS_MIN/NS_MAX in /xpfe/, r=roc
2009-12-13 09:32:10 -08:00
Olli Pettay
a3d05b9c16
Fixing bug 516113. Don't let new windows open up after we've started XPCOM shutdown. r=bsmedberg, a=blocking1.9.2+
2009-11-20 14:25:11 -08:00
Daniel Holbert
f490c3a4b6
Bug 509828 followup: Reorder nsXULWindow constructor's initializer list, to fix build warning. r=bz
2009-11-12 09:23:31 -08:00
Makoto Kato
c69d8b2d5c
Bug 492123. Prevent crash when a XUL window is closed while it's being shown for the first time. r=roc
2009-11-11 11:29:29 +01:00
Markus Stange
1632558f4a
Bug 517396 - Moving a window shouldn't un-maximize it on Mac. r=neil, r=roc
...
--HG--
extra : rebase_source : 1a27add4c6dad5495707518b643e9636522bac8a
2009-11-02 20:10:07 +01:00
timeless@mozdev.org
6232c26818
Bug 514638 windowmediator should let go of its windows at xpcom-shutdown
...
r=bs
2009-10-17 08:20:08 +02:00
Nochum Sossonko
22321f22ac
Bug 509828 - Specifying left and top features in openWindow doesn't work when screenX and screenY attributes are set on the <window> element and are set to be persisted. r=bz
2009-10-16 11:03:20 +02:00
Taras Glek
1d126be6cd
Bug 515777 - move css files, hiddenWindow.html to jar r=bsmedberg sr=bz
...
--HG--
extra : rebase_source : c6ba6e900ceed210620d47f70c9b962a808a29fe
2009-10-12 12:31:50 -07:00
Markus Stange
53b16567bb
Bug 489045 - nsXULWindow::GetParentNativeWindow crashes if GetParentWidget returns null. r=roc
2009-10-09 20:05:08 +13:00
Taras Glek
387de8cf2e
Backed out changeset e22bef491d84
2009-10-08 16:43:55 -07:00
Taras Glek
d07c55d805
Bug 515777 - move css files, hiddenWindow.html to jar r=bsmedberg sr=bz
2009-10-08 11:22:50 -07:00
Timothy Nikkel
a38993d71d
Bug 410337. Pass the parent window further down the window creation path so that its screen rect can be saved in nsXULWindow and used to determine what screen to open on in some cases. r=enndeakin
...
--HG--
extra : rebase_source : 889687a90625b8bb070ea015b93ffcc28570fb6a
2009-09-28 21:20:46 -05:00
Markus Stange
5714a2fee4
Bug 515446 - Combine the two Create methods of nsIWidget into one. Also remove nsCocoaWindow's capability of adapting its NSWindow from aNativeParent. r=josh, sr=roc
2009-09-24 18:18:10 +12:00
Benjamin Smedberg
ba372f3a4c
Followup to bug 398573 - remove REQUIRES from the tree since it is no longer used... automatically generated patch, rs=ted
2009-08-25 08:59:31 -07:00
Neil Rashbrook
c736ea5f68
Bug 509124 Chrome flags are never set on unparented XUL windows r=jst
2009-08-14 12:00:44 +01:00
Markus Stange
90370ecda5
Bug 509660 - Also persist the position of the window when its size changes, since the position might have changed, too. r=neil
...
--HG--
extra : rebase_source : a3a8cc5b010b47d0b8a6b3b244399ca581ab9454
2009-08-13 08:47:41 +12:00
Markus Stange
7f0753fe45
Bug 508180 - Consolidate four nsXULWindow::Load*FromXUL methods. r=Neil
2009-08-06 08:52:08 +12:00
Markus Stange
0fba0e03b4
Bug 269410 - Create a new attribute, "toggletoolbar", which can be used to control whether the toolbar pill collapse button is shown on the window. r=Neil, r=josh, sr=roc
...
If the attribute is not specified, the button is hidden by default.
2009-08-06 08:49:59 +12:00
Markus Stange
7c8222e40d
Bug 508159 - Remove some dead code in nsXULWindow. r=Neil
2009-08-05 11:07:58 +12:00
Doug Turner
bebf1f7d95
Bug 484488 - MakeFullWindow support for windows mobile. r=olli.pettay, sr=vlad
2009-07-08 09:13:13 -07:00
Doug Turner
a423b771c1
Backing about 484488.
2009-07-05 22:24:56 -07:00
Doug Turner
012833ad3c
Bug 484488/501801 - fixed mochitest fail. r=blassey, sr=vlad
2009-07-01 21:39:20 -07:00
Doug Turner
d210ca62c4
Bug 484488 - MakeFullWindow support for windows mobile. r=olli.pettay, sr=vlad
2009-07-01 12:01:11 -07:00
Neil Deakin
15df29db77
Bug 178324, refactor focus by moving all focus handling into one place and simplifying it, add many tests, fixes many other bugs too numerous to mention in this small checkin comment, r=josh,smichaud,ere,dbaron,marco,neil,gavin,smaug,sr=smaug (CLOSED TREE)
2009-06-10 14:00:39 -04:00
Boris Zbarsky
ce1a541b65
Bug 490957. Eliminate nsWebShell. r+sr=bsmedberg
2009-05-07 15:21:53 -04:00
Jeremy D. Lea
b4d2a759af
Bug 431634 - Part 2 - remove unused methods from nsIWidget; r+sr=roc
2009-04-08 11:39:58 -07:00
Jeremy D. Lea
0e51628bd3
Bug 431634 - Part 1 - clean up header pollution; r+sr=roc
2009-04-01 13:59:02 -08:00
Zack Weinberg
a39e04a65c
Bug 482687. Remember the appunits-per-devpixel ratio and use it if the window is gone, instead of crashing. r+sr=roc
2009-03-24 13:55:32 +13:00
Arpad Borsos
477b71ed01
Bug 474369 - get rid of nsVoidArray; xpfe part; r+sr=neil
2009-03-08 10:38:59 +01:00
Zack Weinberg
aaf80465f8
Bug 469933. Window sizing methods need to be DPI-aware. r+sr=bzbarsky,r=dev-null
2009-02-10 21:29:53 +13:00
Ginn Chen
abc0ce68c6
Bug 466332 [a11y] window:activate event missing for Firefox Preferences dialog r=neil sr=roc
2009-02-09 14:12:23 +08:00