Commit Graph

605 Commits

Author SHA1 Message Date
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
Ryan VanderMeulen
f774dcd8ba 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