Trevor Saunders
6b3c839046
backout bug 886526 because it probably made us use a lot more memory to link on windows
2013-07-29 11:03:21 -04:00
Jon Coppeard
1463e7df5b
Bug 896949 - JS_SetProperty APIs should take an immutable parameter r=waldo r=bz
2013-07-26 10:00:38 +01:00
Jon Coppeard
477e4df5c5
Bug 896540 - GC: Convert JS_SetProperty* to take MutableHandleValue - browser changes r=bz
2013-07-25 13:57:00 +01:00
Joshua Cranmer
60759297ee
Bug 884061 - Part 3z: Use NS_DECL_THREADSAFE_ISUPPORTS in xpfe/, r=Neil
...
--HG--
extra : rebase_source : a1e6681133934750015ec03c0f6a70122ec74b19
2013-07-18 21:31:36 -05:00
Tom Schuster
8e3e74bfea
Bug 868859 - Make chromeWindow.content work in e10s. r=bz
2013-05-08 23:16:46 +02:00
David Zbarsky
e5e1bb0de6
Bug 894642 - Make XULWindow::GetWindowDOMElement return dom::Element* r=Ms2ger
2013-07-17 23:54:08 -07:00
Ryan VanderMeulen
5131a6768c
Backed out 4 changesets (bug 893858, bug 868859, bug 886903) for Linux debug mochitest-other crashes on a CLOSED TREE.
...
Backed out changeset 0ded4854067b (bug 886903)
Backed out changeset ca8afb897e13 (bug 893858)
Backed out changeset c15f503a96cc (bug 868859)
Backed out changeset 6a788f399a7f (bug 868859)
2013-07-17 12:43:59 -04:00
Tom Schuster
cb80974d17
Bug 868859 - Make chromeWindow.content work in e10s. r=bz
2013-05-08 23:16:46 +02:00
Trevor Saunders
82e5558b37
bug 887483 - remove a bunch of useless assignments to FORCE_STATIC_LIB implied by LIBXUL_LIBRARY=1 r=mshal
2013-07-11 11:06:34 -04:00
Trevor Saunders
6be251fe42
bug 886526 - disallow MODULE_NAME and IS_COMPONENT for makefiles in libxul r=bsmedberg
2013-06-25 11:15:21 -04:00
Brian O'Keefe
5f8b5163e8
Bug 875934 - Move LIBRARY_NAME to moz.build (batch #1 ); r=mshal
...
--HG--
extra : rebase_source : 385d3fd65475ffc18ee44ae088753649470e214b
2013-06-17 15:21:01 -04:00
Andrea Marchesini
1ead46dece
Bug 858524 - Move BarProp objects to Paris bindings, r=ms2ger, r=smaug
2013-06-01 01:53:00 -07:00
Boris Zbarsky
7392630c95
Bug 877540. Fix remaining unsafe reference hazards in browser code. r=terrence
2013-05-30 17:46:48 -04:00
Mike Shal
994cfe0b6b
Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey CLOSED TREE
...
From 9e0ba7f425143f545eb6c4b26a9a96b5ade4d8e9 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
John Schoenick
07f4748dd6
Bug 871942 - Check for closing-window reentrance in nsWebShellWindow::RequestWindowClose. r=jst
2013-05-23 16:22:29 -07:00
Bobby Holley
91448a9dac
Bug 868130 - Remove the lion's share of JSAutoRequests in gecko. r=gabor
...
There are still a handful that either are used with other runtimes, or that
happen very early/late in cx the lifetime of various things where it doesn't
necessarily make sense to have a cx on the stack. This should definitely ensure
that we're not doing double-duty with the nsCxPusher change, though.
2013-05-22 10:05:28 -06:00
Bobby Holley
54ef3d2952
Bug 868130 - Include nsCxPusher.h everywhere we need it, and stop including it from nsContentUtils.h. r=gabor
2013-05-22 10:05:26 -06:00
Boris Zbarsky
85b06d58a3
Bug 873735 part 2. Change nsIXPConnectJSObjectHolder::GetJSObject to return a JSObject*. r=bholley
2013-05-20 08:44:18 -04:00
Gregory Szorc
14c4938355
Bug 873629 - Remove 129 empty Makefile.in files; r=ted
2013-05-17 16:20:11 -07:00
Ted Mielczarek
110919af49
bug 871712 - make MSVC PGO opt-in per-directory, and opt-in in the directories that matter. r=glandium
2013-05-16 09:33:26 -04:00
Gabor Krizsanits
5445e4d840
Bug 852687 - updating uuid of nsIWindowMediator. r=bz
2013-05-15 14:55:41 +02:00
Bobby Holley
6844e7c859
Bug 871301 - Remove JS_GetGlobalObject from nsCrypto and nsDirectoryViewer. r=bz
2013-05-14 10:16:52 -07:00
Gabor Krizsanits
a23bc01896
Bug 852687 - getCurrentInnerWindowWithId for nsIWindowMediator. r=bz
2013-05-14 17:34:12 +02:00
Ed Morley
3cc771a146
Backed out changeset 49aabddb2edb (bug 852687) for browser-chrome failures
2013-05-14 12:17:40 +01:00
Gabor Krizsanits
9c4e256c99
Bug 852687 - getCurrentInnerWindowWithId for nsIWindowMediator. r=bz
2013-05-14 11:42:01 +02:00
Ryan VanderMeulen
210edab1cd
Merge inbound to m-c.
2013-05-07 22:10:19 -04:00
Colby Russell
673bc5fa23
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
88e27f7c2a
Bug 868673 - Fix -Wtype-limits warning in XPFE. r=Neil
2013-05-03 16:48:20 -07:00
David Zbarsky
a76cf015cc
Bug 867459 - Fix xpfe rooting hazards r=terrence
2013-05-02 22:02:40 -04:00
Bobby Holley
b199afc462
Bug 865729 - Remove nsIJSContextStack from other miscellaneous parts of gecko. r=gabor
2013-04-29 11:16:19 -07:00
Ms2ger
963182b152
Bug 864165 - Outparamdel nsIWidget::GetSizeMode; r=tn
2013-04-26 08:49:47 +02:00
David Zbarsky
204a17f3b2
[Bug 857884] Use dom::EventTarget more instead of nsIDOMEventTarget Part 7 r=Ms2ger
2013-04-21 21:25:28 -04:00
Boris Zbarsky
16c2e49ddf
Bug 862917. Remove the non-standard window.defaultStatus. r=smaug,gavin
2013-04-19 23:03:02 -04:00
Matt Brubeck
08b045fdd2
Back out cd218e07ede2, e57ac5581703, f53ad2a10ff8, ec91252c57d2, 2eca17711eff, 1997e63a1124 for build errors
2013-04-18 22:29:25 -07:00
David Zbarsky
25f835929b
[Bug 857884] Use dom::EventTarget more instead of nsIDOMEventTarget Part 7 r=Ms2ger
2013-04-19 00:48:03 -04:00
David Zbarsky
d1fab2886d
Fix virtual dtor warning, no bug, blanket r=bz
2013-04-18 21:07:00 -04:00
Bobby Holley
629d0d4121
Bug 860438 - Straightforward cases. r=gabor
2013-04-18 11:36:03 -04:00
Mike Shal
77cdb6567d
Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey
2013-04-16 15:24:43 -04:00
Joshua Cranmer
41c5d7997f
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
8e772e999e
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
6d1964288e
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
2d19ac6495
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
49055ecbc9
bug 856349 - remove useless SHORT_LIBNAME assignments r=glandium
2013-03-30 15:42:45 -04:00
Eddy Bruel
4dec20fb13
Bug 846906 - Implement nsAppShellService::CreateWindowlessBrowser; r=bz; sr=benjamin
2013-04-04 15:24:32 +02:00
Ryan VanderMeulen
e3d0d9b344
Backed out changeset d5d98779e401 (bug 846906) - again - for test failures on a CLOSED TREE.
2013-04-04 10:58:33 -04:00
Eddy Bruel
d92940e322
Bug 846906 - Implement nsAppShellService::CreateWindowlessBrowser; r=bz; sr=benjamin
2013-04-04 15:24:32 +02:00
Ryan VanderMeulen
c9335ef67e
Backed out changeset 061b9318815b (bug 846906) for accidentally removing mach.
2013-04-04 10:42:28 -04:00
Eddy Bruel
4d43690a0c
Bug 846906 - Implement nsAppShellService::CreateWindowlessBrowser; r=bz; sr=benjamin
2013-04-04 15:24:32 +02:00
Kyle Machulis
5aa83c3e11
Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
2013-04-01 11:36:59 -07:00
Kyle Machulis
c79ccc0693
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
a59d40f143
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
c2a9341a2e
Bug 852534 - Remove GRE_MODULE from Makefile.in; r=gps
2013-03-21 08:41:00 -07:00
Gregory Szorc
09e7b06723
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
9680b82df6
Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps
2013-03-19 11:47:00 -07:00
Gregory Szorc
2288b28e43
Bug 844635 - Part 3: Remove empty Makefile.in files; r=glandium
2013-03-17 18:01:25 -07:00
Jose Cortes
8317f6da9a
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
0f05fc70d8
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
0bfefb7eed
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
e9f8bc0fbd
Bug 818246 - Part 7: Move XPIDL_MODULE to moz.build; rs=gps
2013-03-11 22:00:00 -07:00
Gregory Szorc
7bb3ee056b
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
58b7ec0116
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
56bc50cdde
Merge m-c to inbound.
2013-03-04 18:20:41 -05:00
Trevor Saunders
5756f6755f
bug 407956 - make nsITreeView not take a nsISupportsArray* r=neil, bz sr=neil
2013-01-06 19:54:42 -05:00
Gregory Szorc
f0b7e3972c
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
89efb814d4
Bug 784841 - Part 18ξ: Convert /xpfe; f=Ms2ger rs=ted
2013-02-25 13:20:02 -08:00
Tetsuharu OHZEKI
6ebf5e0e8d
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
bf23cd54f1
Bug 835542 - Implement mozilla::Abs. r=Ms2ger
...
--HG--
extra : rebase_source : a3e62ff76365d27cc4cb10e4fee942ddb8b10b79
2013-02-15 19:55:36 -08:00
Bobby Holley
d1a3436036
Bug 834732 - Audit callers of GetNativeContext and use AutoPushJSContext where appropriate. r=mrbkap
2013-02-26 11:04:13 -08:00
Bobby Holley
51ba6ef50d
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
27b20c21af
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
66e49b02aa
Back out bug 824589 (rev 22695cac3896) on suspicion of Ts regression
2013-01-29 17:18:06 -05:00
Ehsan Akhgari
58ef03f2b1
Merge the removal of global private browsing support
2013-01-29 13:13:58 -05:00
Ehsan Akhgari
84c4ac3c75
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
8231be64a0
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
8df404f0aa
Backed out changeset 70baa7e07838 (bug 833915) since one day has passed
2013-01-24 11:12:24 -05:00
Ehsan Akhgari
15d7770547
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
6b3a78a869
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
d39dd58633
Backed out changeset cc665373ff61 (bug 829383). CLOSED TREEs don't bother me.
2013-01-21 16:22:38 +00:00
Josh Matthews
6fd3b6e328
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
9f0ad48b28
bug 822289 - remove NS_IMPL_CYCLE_COLLECTION_CLASS and friends r=mccr8
2013-01-12 07:40:33 -05:00
Mats Palmgren
6c53161814
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
8b14190790
Bug 827188 - Initialize the hidden private window lazily; r=bzbarsky
2013-01-06 21:16:48 -05:00
Ehsan Akhgari
f8b130d799
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
248890f607
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
8418df2685
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
c024cbde77
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
96c9daa6be
bug 825419 - outparamdel nsIDocShell::GetPresShell() r=smaug
2012-12-28 20:56:42 -05:00
Trevor Saunders
dac1a94de6
bug 819936 - remove NS_NewArrayEnumerator overload for nsISupportsArray r=bz, bsmedberg
2012-12-09 05:04:21 -05:00
Nagarjuna Varma
8557b6a522
Bug 785060 - Check for allocation failure in JS_NewUCStringCopyZ calls; r=Ms2ger
2012-12-22 18:35:07 -05:00
Jonathan Kew
82089a2b2d
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
47a98e7c37
bug 819940 - remove nsISupportsArray::EnumerateForwards() r=ehsan
2012-12-10 05:27:14 -05:00
Jonathan Kew
9ccd2a254b
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
60ccae9fe3
Bug 817574 - Replace NS_ABS with std::abs. r=roc
2012-12-04 13:33:33 +01:00
Mounir Lamouri
1acad9fc93
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
b20553860a
Back out 204665ad4a24 (bug 764240) for Android M4 failures
2012-11-19 14:40:32 -08:00
Mounir Lamouri
9c9df1e549
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
48a06e31e4
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
fecdb58ed6
Bug 811394. Prevent recursion into nsXULWindow::Destroy. r=smaug
2012-11-15 08:28:40 -08:00
Benoit Jacob
a1d7e0f511
Bug 807437 - Eliminate redundant Traverse/Unlink CC macros - part 1: automatic changes - r=mccr8
2012-11-15 02:32:40 -05:00
Justin Lebar
8c64b0474c
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