Ryan VanderMeulen
e507d01d4b
Merge inbound to m-c.
2013-05-07 22:10:19 -04:00
Colby Russell
1b1dd2fcc3
Bug 861495 - Part 1: Add nsIWindowMediator.getOuterWindowWithId and warn on nsIDOMWindowUtils.getOuterWindowWithId use. r=bz
2013-05-07 12:34:20 -04:00
Chris Peterson
04b34062e9
Bug 868673 - Fix -Wtype-limits warning in XPFE. r=Neil
2013-05-03 16:48:20 -07:00
David Zbarsky
f7b71ae6a6
Bug 867459 - Fix xpfe rooting hazards r=terrence
2013-05-02 22:02:40 -04:00
Bobby Holley
cc68b166ca
Bug 865729 - Remove nsIJSContextStack from other miscellaneous parts of gecko. r=gabor
2013-04-29 11:16:19 -07:00
Ms2ger
29dec51515
Bug 864165 - Outparamdel nsIWidget::GetSizeMode; r=tn
2013-04-26 08:49:47 +02:00
David Zbarsky
9e176d3804
[Bug 857884] Use dom::EventTarget more instead of nsIDOMEventTarget Part 7 r=Ms2ger
2013-04-21 21:25:28 -04:00
Boris Zbarsky
04924966b8
Bug 862917. Remove the non-standard window.defaultStatus. r=smaug,gavin
2013-04-19 23:03:02 -04:00
Matt Brubeck
2316632d88
Back out cd218e07ede2, e57ac5581703, f53ad2a10ff8, ec91252c57d2, 2eca17711eff, 1997e63a1124 for build errors
2013-04-18 22:29:25 -07:00
David Zbarsky
6411801815
[Bug 857884] Use dom::EventTarget more instead of nsIDOMEventTarget Part 7 r=Ms2ger
2013-04-19 00:48:03 -04:00
David Zbarsky
18000cfeeb
Fix virtual dtor warning, no bug, blanket r=bz
2013-04-18 21:07:00 -04:00
Bobby Holley
cfe137c733
Bug 860438 - Straightforward cases. r=gabor
2013-04-18 11:36:03 -04:00
Mike Shal
df7deac25b
Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey
2013-04-16 15:24:43 -04:00
Joshua Cranmer
aa1ca5d8f4
Bug 856108 - Port static analyses to clang, part 2h: use MOZ_STACK_CLASS everywhere else. r=bsmedberg
2013-04-11 22:22:09 -05:00
Mark Hammond
900a3c725a
Bug 859230 - fix windowless docshell crash by returning object with strong ref to the browser. r=bz
2013-04-11 17:09:13 +10:00
Trevor Saunders
abcb3ee767
bug 856349 - follow up to fix c-c by removing SHORT_LIBNAME from xpfe/components/autocomplete/src/Makefile.in r=me
2013-04-08 23:21:52 -04:00
aceman
839310031c
Bug 856238 - Remove unused includes of the obsolete nsISupportsArray and nsIEnumerator. r=Neil, r=bsmedberg
2013-04-08 14:35:31 -04:00
Trevor Saunders
910e36a49a
bug 856349 - remove useless SHORT_LIBNAME assignments r=glandium
2013-03-30 15:42:45 -04:00
Eddy Bruel
e947f71fdb
Bug 846906 - Implement nsAppShellService::CreateWindowlessBrowser; r=bz; sr=benjamin
2013-04-04 15:24:32 +02:00
Ryan VanderMeulen
80b9ebcb1b
Backed out changeset d5d98779e401 (bug 846906) - again - for test failures on a CLOSED TREE.
2013-04-04 10:58:33 -04:00
Eddy Bruel
1e57b3bc3d
Bug 846906 - Implement nsAppShellService::CreateWindowlessBrowser; r=bz; sr=benjamin
2013-04-04 15:24:32 +02:00
Ryan VanderMeulen
82d09e215d
Backed out changeset 061b9318815b (bug 846906) for accidentally removing mach.
2013-04-04 10:42:28 -04:00
Eddy Bruel
7ea3424daa
Bug 846906 - Implement nsAppShellService::CreateWindowlessBrowser; r=bz; sr=benjamin
2013-04-04 15:24:32 +02:00
Kyle Machulis
72a717a860
Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
2013-04-01 11:36:59 -07:00
Kyle Machulis
43628a7867
Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot
2013-03-29 15:12:58 -07:00
Kyle Machulis
334c0800cf
Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
...
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Mike Shal
e3efc3a646
Bug 852534 - Remove GRE_MODULE from Makefile.in; r=gps
2013-03-21 08:41:00 -07:00
Gregory Szorc
89e86f9b21
Bug 844654 - Part 3: Remove now empty Makefile.in files; rs=khuey
...
--HG--
extra : rebase_source : 8de9c7f68a953e574dda22f8c14c2b2ca60444f9
2013-03-19 18:49:07 -07:00
Mike Shal
7ecea60097
Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps
2013-03-19 11:47:00 -07:00
Gregory Szorc
7d09ff18e0
Bug 844635 - Part 3: Remove empty Makefile.in files; r=glandium
2013-03-17 18:01:25 -07:00
Jose Cortes
172ead2b07
Bug 842186 - Replace jsvals with JS::Values in .cpp and .h files inside the ipc, security, tools, caps, xpfe and startupcache directories. r=jwalden
...
--HG--
extra : rebase_source : 17f26bc48a8ce01b7349adc178a4e62f7d4b3a5e
2013-03-15 22:22:01 -07:00
Jeff Walden
b30b4197e6
Bug 847480 - Convert DeprecatedAbs uses that can relatively obviously be changd to Abs, to Abs. r=Ms2ger
2013-03-05 15:43:53 -08:00
Jeff Walden
5ec763f216
Bug 847480 - Blindly convert all existing mozilla::Abs users to mozilla::DeprecatedAbs. Individualized conversions to the reformed mozilla::Abs will continue until mozilla::DeprecatedAbs is unused, at which point it will be removed. r=Ms2ger
2013-03-05 15:43:30 -08:00
Mike Shal
cd4191e248
Bug 818246 - Part 7: Move XPIDL_MODULE to moz.build; rs=gps
2013-03-11 22:00:00 -07:00
Gregory Szorc
c865547d94
Bug 818246 - Part 4: Move XPIDLSRCS into moz.build (auto); rs=glandium
...
This is the result of running
|mach mozbuild-migrate --list XPIDLSRCS SDK_XPIDLSRCS XPIDL_SOURCES| and
reverting xpcom/sample/*.
2013-03-12 10:17:46 -07:00
Gregory Szorc
7b6f9c7add
Bug 818246 - Part 1: Remove unncessary definitions of XPIDL_MODULE; r=glandium
...
XPIDL_MODULE defaults to MODULE. These Makefile.in were setting
XPIDL_MODULE to the same value as MODULE.
--HG--
extra : rebase_source : e96bd34d5949d0ab94cecbec35d6c9f4bffec01e
2013-03-07 05:03:51 -08:00
Ryan VanderMeulen
4a1ef4dfd0
Merge m-c to inbound.
2013-03-04 18:20:41 -05:00
Trevor Saunders
254bffb739
bug 407956 - make nsITreeView not take a nsISupportsArray* r=neil, bz sr=neil
2013-01-06 19:54:42 -05:00
Gregory Szorc
0c8ee65118
Merge mozilla-central into build-system
...
There were merges in configure.in and some Makefile.in. None had any
conflicts. I spot verified the Makefile.in changes and confirmed that
the changes did not touch any DIRS* variables.
2013-02-27 10:03:52 -08:00
Gregory Szorc
5b80f15b63
Bug 784841 - Part 18ξ: Convert /xpfe; f=Ms2ger rs=ted
2013-02-25 13:20:02 -08:00
Tetsuharu OHZEKI
82302d1551
Bug 803675 - part1: window.open() open a new tab instead of window when browser is fullscreen mode and the caller is content context. r=bz
2013-02-18 20:27:48 +09:00
Jeff Walden
1871e9f3f8
Bug 835542 - Implement mozilla::Abs. r=Ms2ger
...
--HG--
extra : rebase_source : a3e62ff76365d27cc4cb10e4fee942ddb8b10b79
2013-02-15 19:55:36 -08:00
Bobby Holley
7b9176007d
Bug 834732 - Audit callers of GetNativeContext and use AutoPushJSContext where appropriate. r=mrbkap
2013-02-26 11:04:13 -08:00
Bobby Holley
321002c62d
Bug 834732 - Make nsCxPusher.Push(JSContext*) infallible. r=mrbkap
...
We leave the nsIDOMEventTarget* versions fallible for now, but this makes the
common case a lot simpler. Note that this means that pushing a null JSContext,
a bug, is no longer handled at runtime. But I think we should just assert
against it, since there are already callers that don't check the return value.
2013-02-26 11:04:11 -08:00
Boris Zbarsky
9b45ffdc77
Bug 824589. Convert XULElement to WebIDL. r=peterv
...
The assertions in nsINode and nsWrapperCache are to eagerly catch
failures to override those methods.
The classinfo change for XULTreeBuilder is needed because one of those
is returned via an nsIXULTemplateBuilder attribute on XULElement.
Alternately, I could mark it notflattened in Bindings.conf, but Enn
said he prefers this anyway.
The change to the QI impl in BindingUtils is needed because when
XPConnect converts an IID from C++ to JS it makes is an nsJSID, not an
nsJSIID. We've run into this before, sadly.
I removed "id" from nsIDOMXULElement because it's already on Element.
I suppose I could have left it there, but this seems cleaner.
The nsJSIID::HasInstance changes are needed to support XBL-implemented
interfaces. Sadly, this does mean that if the underlying object QIs
to something but we didn't put those props on the WebIDL we'll end up
testing true for instanceof but not exposing the props. I don't see
an obviously better way. We should work on killing off uses of
"instanceof someinterface".
The browser.js change is needed to avoid throwing exceptions during
browser-chrome tests that are now getting reported because our
swapFrameLoaders is no longer an XPConnect method.
2013-01-29 12:51:55 -05:00
Boris Zbarsky
f17cd371b2
Back out bug 824589 (rev 22695cac3896) on suspicion of Ts regression
2013-01-29 17:18:06 -05:00
Ehsan Akhgari
4613c4dee9
Merge the removal of global private browsing support
2013-01-29 13:13:58 -05:00
Ehsan Akhgari
565d0479c3
Bug 817477 - Remove support for global private browsing mode; r=jdm,glandium
...
--HG--
rename : browser/app/profile/extensions/testpilot@labs.mozilla.com/modules/setup.js.in => browser/app/profile/extensions/testpilot@labs.mozilla.com/modules/setup.js
rename : browser/app/profile/extensions/testpilot@labs.mozilla.com/modules/tasks.js.in => browser/app/profile/extensions/testpilot@labs.mozilla.com/modules/tasks.js
2013-01-29 13:12:13 -05:00
Boris Zbarsky
1d5a36a375
Bug 824589. Convert XULElement to WebIDL. r=peterv
...
The assertions in nsINode and nsWrapperCache are to eagerly catch
failures to override those methods.
The classinfo change for XULTreeBuilder is needed because one of those
is returned via an nsIXULTemplateBuilder attribute on XULElement.
Alternately, I could mark it notflattened in Bindings.conf, but Enn
said he prefers this anyway.
The change to the QI impl in BindingUtils is needed because when
XPConnect converts an IID from C++ to JS it makes is an nsJSID, not an
nsJSIID. We've run into this before, sadly.
I removed "id" from nsIDOMXULElement because it's already on Element.
I suppose I could have left it there, but this seems cleaner.
The nsJSIID::HasInstance changes are needed to support XBL-implemented
interfaces. Sadly, this does mean that if the underlying object QIs
to something but we didn't put those props on the WebIDL we'll end up
testing true for instanceof but not exposing the props. I don't see
an obviously better way. We should work on killing off uses of
"instanceof someinterface".
The browser.js change is needed to avoid throwing exceptions during
browser-chrome tests that are now getting reported because our
swapFrameLoaders is no longer an XPConnect method.
2013-01-29 12:51:55 -05:00
Ehsan Akhgari
497f06f2c6
Backed out changeset 70baa7e07838 (bug 833915) since one day has passed
2013-01-24 11:12:24 -05:00
Ehsan Akhgari
ea3a2d23b4
Bug 833915 - Turn off PGO and LTCG on Windows Nightly for one day; r=glandium
2013-01-23 16:13:50 -05:00
Josh Matthews
1c26029ced
Bug 829383 - Ensure hidden private window docshells aren't counted towards private session lifetime. r=bz
2013-01-22 18:06:30 +00:00
Josh Matthews
9f8c41d2ca
Backed out changeset cc665373ff61 (bug 829383). CLOSED TREEs don't bother me.
2013-01-21 16:22:38 +00:00
Josh Matthews
775c1bf54a
Bug 829383 - Ensure hidden private window docshells aren't counted towards private session lifetime. r=bz
2013-01-21 14:42:16 +00:00
Trevor Saunders
83bcbe0d6b
bug 822289 - remove NS_IMPL_CYCLE_COLLECTION_CLASS and friends r=mccr8
2013-01-12 07:40:33 -05:00
Mats Palmgren
b7ae90666d
Bug 786533 - Replace NS_MIN/NS_MAX with std::min/std::max and #include <algorithm> where needed. r=ehsan
2013-01-15 13:22:03 +01:00
Ehsan Akhgari
a422d55c03
Bug 827188 - Initialize the hidden private window lazily; r=bzbarsky
2013-01-06 21:16:48 -05:00
Ehsan Akhgari
c6c9238be8
Backed out changeset f3a6aff3dbbc (bug 827188) because of build failures
...
--HG--
extra : rebase_source : 87d6ba184e23dbe83a3a0e2ae83c44c5ecdb46db
2013-01-08 12:02:55 -05:00
Ehsan Akhgari
f15ce2e4c3
Bug 827188 - Initialize the hidden private window lazily; r=bzbarsky
...
--HG--
extra : rebase_source : 42a4a4da52f0eaa57a83dc4daf0e1a47401f4411
2013-01-06 21:16:48 -05:00
Serge Gautherie
d714fbe57a
Bug 747668. (Iv2a) XPFE autocomplete.xml: Implement (nsIAutoCompleteInput) searchCount and getSearchAt(), Nits. r=Neil.
...
DONTBUILD (npotb).
2013-01-05 20:27:12 +08:00
Ehsan Akhgari
1c7d34d536
Bug 815847 - Part 4: Implement a hidden private window managed by the app shell service; r=bzbarsky
2012-12-10 23:49:17 -05:00
Trevor Saunders
09f3b656b4
bug 825419 - outparamdel nsIDocShell::GetPresShell() r=smaug
2012-12-28 20:56:42 -05:00
Trevor Saunders
5a35c9fff1
bug 819936 - remove NS_NewArrayEnumerator overload for nsISupportsArray r=bz, bsmedberg
2012-12-09 05:04:21 -05:00
Nagarjuna Varma
ec1be4c9ac
Bug 785060 - Check for allocation failure in JS_NewUCStringCopyZ calls; r=Ms2ger
2012-12-22 18:35:07 -05:00
Jonathan Kew
81ac669822
bug 819725 pt 1.1 - don't round device-pixel coordinates in nsView and nsXULWindow when calling widget APIs to move/resize windows. r=roc
2012-12-12 09:57:48 +00:00
Trevor Saunders
be9baec5b3
bug 819940 - remove nsISupportsArray::EnumerateForwards() r=ehsan
2012-12-10 05:27:14 -05:00
Jonathan Kew
5f9d375273
bug 814434 - use global display pixels for window positioning/sizing for consistency across mixed-resolution screens. r=smichaud
2012-12-06 17:31:34 +00:00
Mats Palmgren
924e59e0d0
Bug 817574 - Replace NS_ABS with std::abs. r=roc
2012-12-04 13:33:33 +01:00
Mounir Lamouri
f3e9f0a56b
Bug 764240 - Clamp window.sizeToContent() the same way we clamp other resizing methods. r=bz
2012-11-19 23:18:21 +00:00
Phil Ringnalda
9cc19a4801
Back out 204665ad4a24 (bug 764240) for Android M4 failures
2012-11-19 14:40:32 -08:00
Mounir Lamouri
9405ab0e71
Bug 764240 - Clamp window.sizeToContent() the same way we clamp other resizing methods. r=bz
2012-11-19 18:15:23 +00:00
Nicolas Silva
51dd83878a
Bug 806428 - Fix crash in omtc-linux caused by nsBaseWidget::SetLayersAcceleration, and rename xxxAcceleratedRendering into xxxLayersAcceleration for concistency. r=BenWa
2012-11-15 19:55:15 +01:00
Boris Zbarsky
7da7c3f406
Bug 811394. Prevent recursion into nsXULWindow::Destroy. r=smaug
2012-11-15 08:28:40 -08:00
Benoit Jacob
986ee1a065
Bug 807437 - Eliminate redundant Traverse/Unlink CC macros - part 1: automatic changes - r=mccr8
2012-11-15 02:32:40 -05:00
Justin Lebar
a9e6d9a0c8
Bug 802366 - 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.
2012-11-10 10:32:37 -08:00
Ryan VanderMeulen
3eff16d324
Backed out 12 changesets (bug 806127, bug 802366, bug 806168) for Windows build bustage.
...
--HG--
rename : dom/indexedDB/test/webapp_clearBrowserData.js => dom/indexedDB/test/test_webapp_clearBrowserData.html
2012-11-09 20:14:40 -05:00
Justin Lebar
785d3c9b2f
Bug 802366 - 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.
2012-11-09 16:37:39 -08:00
Ehsan Akhgari
f4956f5734
Bug 800193 - Print a warning when setting nsILoadContext.usePrivateBrowsing in per-window private browsing builds; r=bzbarsky
2012-10-31 00:15:24 -04:00
Justin Lebar
22489f7920
Backed out changeset a6a847452dbf (bug 802366)
2012-10-30 21:36:29 -04:00
Justin Lebar
7b38d49f83
Bug 802366 - The main event: Let a browser process inherit its app's id. r=bz,cjones DONTBUILD
...
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.
(Re-landing changeset a6a847452dbf, backed out in 5091aa6083c4, because it was originally landed with the incorrect bug number.)
2012-10-30 16:13:21 -04:00
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
Andrew Quartey
ea5e17dc9c
Bug 792581 - part 15: Replace LL_L2I macro with int32_t cast. r=ehsan
2012-10-12 13:29:10 -04: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
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
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
Serge Gautherie
20d2b6d29d
Bug 747668. (Hv1a) XPFE autocomplete.xml: Implement nsIAutoCompleteInput.textValue. r=neil.
...
DONTBUILD (npotb).
2012-05-30 20:06:17 +02:00
Serge Gautherie
40c9a31251
Bug 747668. (Gv1a) XPFE autocomplete.xml: Implement nsIAutoCompleteInput.popupOpen(). r=neil.
...
DONTBUILD (npotb).
2012-05-26 23:40:28 +02:00