Граф коммитов

2318 Коммитов

Автор SHA1 Сообщение Дата
Nicholas Nethercote cc993d1772 Bug 1293596 (part 4) - Tweak nsIWidget::Create. r=mstange.
They don't need to be NS_IMETHOD, but they should be MOZ_MUST_USE. Adding the
latter catches a few missing checks, which the patch adds.

The patch also gives PuppetWidget an InfallibleCreate() function, which makes
the infallibility of PuppetWidget creation clear.
2016-08-19 09:03:17 +10:00
Nicholas Nethercote 67af4817e9 Bug 1293596 (part 2) - Rework nsIWidget bounds getters. r=mstange.
This patch makes GetBounds(), GetScreenBounds() and GetClientBounds() more
obviously infallible, like existing functions such as GetNaturalBounds() and
GetClientSize(). This results in clearer behaviour in nsCocoaWindow.mm if
Objective C exceptions occur. Along the way, the patch removes some useless
failure checks for these functions.

The patch also removes the NS_IMETHOD from GetRestoredBounds and makes that
function MOZ_MUST_USE.
2016-08-19 09:03:04 +10:00
Igor 175543fda8 Bug 1293384 - Part 2: Rename Snprintf.h header to Sprintf.h. r=froydnj 2016-08-14 23:43:21 -07:00
Igor a57972337d Bug 1293384 - Part 1: Rename snprintf_literal to SprintfLiteral. r=froydnj 2016-08-14 23:44:00 -07:00
Nicholas Nethercote e7f10a07fd Bug 1293603 (part 2) - Make Run() declarations consistent. r=erahm.
This patch makes most Run() declarations in subclasses of nsIRunnable have the
same form: |NS_IMETHOD Run() override|.

As a result of these changes, I had to add |override| to a couple of other
functions to satisfy clang's -Winconsistent-missing-override warning.

--HG--
extra : rebase_source : 815d0018b0b13329bb5698c410f500dddcc3ee12
2016-08-08 12:18:10 +10:00
Igor 4efade90d4 Bug 1197331 - remove PR_snprintf calls in miscellaneous directories. r=nfroyd
--HG--
extra : rebase_source : a19f77db06e68bd3d69faf56b8bbdc1825f13249
2016-08-04 16:41:00 +02:00
Mike Conley 276c6f9b96 Bug 1261842 - Add methods to nsIDocShellTreeOwner for sizing the primary content. r=smaug
MozReview-Commit-ID: CqiRTVd444n

--HG--
extra : rebase_source : 629e52028e556298145597d6efff02b7973727c4
extra : source : 711951be3db684d594704ddf4df44fffcc514794
2016-07-14 16:31:41 -04:00
Mike Conley 710391213a Bug 1261842 - Make initial browser remote sooner if we're defaulting to using remote tabs. r=Felipe
MozReview-Commit-ID: 9KVzuOkJFpW

--HG--
extra : rebase_source : 6eb1a975378873af1b68f5efdb708b499457aea7
extra : source : a94e6a85c93170ef6b40065bb1834167547acd03
2016-06-08 17:03:42 -04:00
Tom Tromey 5538d692d3 Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
This removes the unnecessary setting of c-basic-offset from all
python-mode files.

This was automatically generated using

    perl -pi -e 's/; *c-basic-offset: *[0-9]+//'

... on the affected files.

The bulk of these files are moz.build files but there a few others as
well.

MozReview-Commit-ID: 2pPf3DEiZqx

--HG--
extra : rebase_source : 0a7dcac80b924174a2c429b093791148ea6ac204
2016-07-14 10:16:42 -06:00
Andrew McCreight 41cc2c03eb Bug 1287624, part 2 - Replace swap with forget in a few places. r=froydnj
The return argument was initialized to null in all of these, so it
should not change the behavior.
2016-07-20 15:19:00 -07:00
Carsten "Tomcat" Book d8b9227dbe Backed out 25 changesets (bug 1261842, bug 1278985) breaking firefox-ui tests
Backed out changeset bb6c6889b802 (bug 1261842)
Backed out changeset c14ccfac7b4b (bug 1261842)
Backed out changeset d6ffc9db5346 (bug 1261842)
Backed out changeset 2a1acfd17baf (bug 1261842)
Backed out changeset 968e7b3b73fb (bug 1261842)
Backed out changeset 8d708922e47a (bug 1261842)
Backed out changeset 0a08398b5087 (bug 1261842)
Backed out changeset b2e910bb1d72 (bug 1261842)
Backed out changeset f6062f113911 (bug 1261842)
Backed out changeset 07b259eb7121 (bug 1261842)
Backed out changeset 970cbbb3a658 (bug 1261842)
Backed out changeset b6f7395d2bbf (bug 1261842)
Backed out changeset 20eb3987a721 (bug 1261842)
Backed out changeset 6eaa642a93e1 (bug 1261842)
Backed out changeset 855931929739 (bug 1261842)
Backed out changeset 1240345f5624 (bug 1261842)
Backed out changeset ce46ebf231c1 (bug 1261842)
Backed out changeset 8d34b61fbfb3 (bug 1261842)
Backed out changeset 9d8a382c5b1d (bug 1261842)
Backed out changeset e2472a4cc209 (bug 1261842)
Backed out changeset e91913cd64b8 (bug 1261842)
Backed out changeset 4cf843a05a68 (bug 1261842)
Backed out changeset cbdc0deb92bd (bug 1261842)
Backed out changeset a94e6a85c931 (bug 1261842)
Backed out changeset 3b5b92f04ea5 (bug 1278985)
2016-07-19 09:12:58 +02:00
Mike Conley 92e4a54e9b Bug 1261842 - Add methods to nsIDocShellTreeOwner for sizing the primary content. r=smaug
MozReview-Commit-ID: CqiRTVd444n

--HG--
extra : rebase_source : 87322da2ea764cf06885f53a083dfb4f7bcb7c9a
extra : source : 711951be3db684d594704ddf4df44fffcc514794
2016-07-14 16:31:41 -04:00
Mike Conley f119676816 Bug 1261842 - Make initial browser remote sooner if we're defaulting to using remote tabs. r=felipe
MozReview-Commit-ID: 9KVzuOkJFpW

--HG--
extra : rebase_source : 9809f3140b0befd20a0c4a36fe1e3b4e6b39391d
2016-06-08 17:03:42 -04:00
Carsten "Tomcat" Book a34d39f529 Backed out changeset e7a3ba795e1a (bug 1276976) for timeouts in browser_tableWidget_mouse_interaction.js on a CLOSED TREE 2016-06-09 15:28:22 +02:00
Neil Deakin efe80ab561 Bug 1276976, ensure that popups are visible in the right area, r=tn, r=mrbkap 2016-06-09 07:59:31 -04:00
Mike Conley 6ed8718e96 Bug 1275261 - Only fire xul-window-destroyed for nsXULWindows that successfully registered. r=smaug
MozReview-Commit-ID: DPgPYfz3gSo

--HG--
extra : rebase_source : fb5546a3c074ade9de43ba51a7ba86965ba8926b
2016-06-02 10:28:28 -07:00
Vladan Djeric f8242da2fc Bug 1276304 - Remove unused getHiddenWindowAndJSContext function. r=bzbarsky 2013-02-20 00:15:36 -05:00
Mats Palmgren 4e63c1e0cf Bug 881832 - Make inner document reflow asynchronous. r=tnikkel 2016-05-12 12:07:45 +12:00
Phil Ringnalda 6bb0bc4494 Back out 6 changesets (bug 881832) for failures in test_Debugger.Source.prototype.element.html
CLOSED TREE

Backed out changeset fac50ce10b07 (bug 881832)
Backed out changeset 32e01c144cd4 (bug 881832)
Backed out changeset 779f5336b81e (bug 881832)
Backed out changeset 95efd250e29f (bug 881832)
Backed out changeset 7fe79f07189f (bug 881832)
Backed out changeset 8ee1824f2a57 (bug 881832)
2016-05-23 18:34:49 -07:00
Mats Palmgren fdb3066641 Bug 881832 - Make inner document reflow asynchronous. r=tnikkel 2016-05-12 12:07:45 +12:00
Phil Ringnalda c6417cc01e Back out 5 changesets (bug 881832) for failures in browser_html_tooltip-02.js
Backed out changeset 117e8e24d714 (bug 881832)
Backed out changeset 8a0d5df41cfb (bug 881832)
Backed out changeset 6b3c5e185b04 (bug 881832)
Backed out changeset 11106afdcbe7 (bug 881832)
Backed out changeset d711b7c19a43 (bug 881832)
2016-05-11 21:08:08 -07:00
Mats Palmgren e04a74ec14 Bug 881832 - Make inner document reflow asynchronous. r=tnikkel
--HG--
extra : rebase_source : 9987e19e3318d5bc58ac8214496893041bc1775c
2016-05-12 12:07:45 +12:00
Gabor Krizsanits 2585c3f697 Bug 1255138 - Window resize support from JS for e10s. r=mconley 2016-05-11 11:44:57 +02:00
Kyle Huey c73656947b Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj 2016-04-25 17:23:21 -07:00
Haik Aftandilian 50fdb00a05 Bug 1258925 - [e10s] Browser window is resized when click. r=gabor
Adds a new IPC message to the PBrowser protocol exposing
the number of tabs in the current window to the content
process. This allows the content process to reject window.resize*
calls in cases where there is more than one tab in the
window.

--HG--
extra : histedit_source : dfa6b7b71882a1583cbbe90c2a7327cb212ed15d
2016-04-14 14:03:00 -04:00
Gijs Kruitbosch 0385e66575 Bug 1236991 - part 1: allow forwarding label direction through nsITooltipTextProvider, r=enndeakin
MozReview-Commit-ID: 68LvgKvVXmX

--HG--
extra : rebase_source : 17a188bf47efc3ca78ae6440ab84e6c6e4c06964
extra : histedit_source : 9c545f513a3b6e61d0bdb8d4f5fb3dbad9b2bbaf
2016-04-12 21:47:25 +01:00
Jonathan Kew dfa53d5003 Bug 1259492 - Ensure window position is constrained to the screen after it has been sized properly in nsXULWindow::OnChromeLoaded. r=emk 2016-03-24 17:08:19 +00:00
Ehsan Akhgari 3482a3267c Bug 1229220 - Update the scrollbar visibility prefs when initializing a TabChild; r=smaug
This will make sure that window.scrollbars correctly reflects the respective
chrome flags in e10s mode.

We also update nsXULWindow::SetContentScrollbarVisibility() to the new
nsContentUtils helper.  That code is responsible for doing this work in the
single process case.
2016-03-18 11:13:20 -04:00
Jonathan Kew 08fa921c03 Bug 1256731 - patch 2 - Notify front-end code when screen resolution changes on Windows, so that TabsInTitlebar code can refresh its computations. r=gijs,emk 2016-03-17 12:53:31 +00:00
Jonathan Kew 5d8fc249d5 Bug 1255645 - Ensure nsXULWindow constrains the window to the bounds of its screen after applying intrinsic sizing (if appropriate), by re-doing positioning after the window has been sized properly. r=emk 2016-03-15 14:29:44 +00:00
Carsten "Tomcat" Book 37b1553b75 Backed out changeset 21e9dd187ca8 (bug 1255645) 2016-03-16 10:33:38 +01:00
Jonathan Kew 40e671dab2 Bug 1255645 - Ensure nsXULWindow constrains the window to the bounds of its screen after applying intrinsic sizing (if appropriate), by re-doing positioning after the window has been sized properly. r=emk 2016-03-15 14:29:44 +00:00
Sebastian Hengst 9526b58457 Backed out changeset 66fdeb1acce5 (bug 1229220) for M-e10s failure in test_fullscreen-api.html. r=backout on a CLOSED TREE 2016-03-14 23:03:37 +01:00
Ehsan Akhgari ce1ef38b75 Bug 1229220 - Update the scrollbar visibility prefs when initializing a TabChild; r=smaug
This will make sure that window.scrollbars correctly reflects the respective
chrome flags in e10s mode.

We also update nsXULWindow::SetContentScrollbarVisibility() to the new
nsContentUtils helper.  That code is responsible for doing this work in the
single process case.
2016-03-14 16:03:21 -04:00
Jonathan Kew 3ed6ed7760 Bug 1242449 - Fix confusion among CSS, desktop and device pixel units in nsXULWindow position/size and window staggering so as to work consistently across mixed resolution displays. r=emk 2016-03-01 21:05:10 +00:00
Andrea Marchesini 8c313db5c7 Bug 1252839 - Remove some if stmt after allocation with 'new' - patch 2, r=bz 2016-03-02 18:51:33 +01:00
J. Ryan Stinnett 777c113bb3 Bug 1238160 - Set docshell isolation mode. r=smaug
Renames nsDocShell isBrowser* attributes to add a "Moz" prefix for clarity.

Adds nsDocShell::GetIsIsolatedMozBrowserElement, which parallels
GetIsInIsolatedMozBrowserElement, but only checks the immediate docshell.

Adds nsDocShell::SetIsInIsolatedMozBrowserElement for the frame loader and tab
child to set the isolation state.

nsDocShell methods related to mozbrowser elements (and their callers) are
updated to use GetIs(In)?IsolatedMozBrowserElement when checking isolation /
origins and GetIsMozBrowserElement when checking frame types.

MozReview-Commit-ID: 6pGD5fF47ZN
2016-03-02 10:35:56 -06:00
Brendan Dahl 1e077c8a5f Bug 1104916 - Implement CSS media query display-mode. r=cam 2016-02-23 17:10:00 +01:00
Jonathan Kew c31d3ec45b Bug 1247335 - patch 2 - Use desktop pixel coordinates when loading a nsXULWindow position. r=emk 2016-02-18 10:47:14 +00:00
Jonathan Kew cb99502b79 Bug 1247335 - patch 1 - Provide a desktop-pixel variant of SetPosition on nsIBaseWindow and its implementations. r=emk 2016-02-18 10:46:16 +00:00
Wes Kocher ddcc30c564 Backed out changeset 4fa1296bd773 (bug 1104916) for win debug m(oth) permafails CLOSED TREE
--HG--
extra : commitid : HW3icAqLZUB
2016-02-05 11:42:55 -08:00
Brendan Dahl b25b48552b Bug 1104916 - Implement CSS media query display-mode. r=cam 2016-02-04 13:34:00 +01:00
Kyle Huey 91efc5a86c Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug 2016-01-30 09:05:36 -08:00
David Rajchenbach-Teller 583ca7286d Bug 1224374 - Profiler labels for the top 26-100 chrome hangs;r=BenWa
--HG--
extra : rebase_source : 39e94507c0288863e495322a6899ff009840870d
2016-01-15 11:38:03 +01:00
Xidorn Quan 28b65596a2 Bug 1238536 part 3 - Properly handle restoring to normal state from fullscreen. r=smaug
--HG--
extra : source : 3be6847efaa97f014b7cb9df19dd53b7ac41c161
2016-01-20 09:56:52 +11:00
Sebastian Hengst d8d4a2d1a5 Backed out 2 changesets (bug 1224374) for Windows bustage. r=bustage on a CLOSED TREE
Backed out changeset 5f458e6e4997 (bug 1224374)
Backed out changeset 0dc02cb0b604 (bug 1224374)
2016-01-19 21:30:41 +01:00
David Rajchenbach-Teller 2d53758d08 Bug 1224374 - Profiler labels for the top 26-100 chrome hangs;r=BenWa
--HG--
extra : rebase_source : 51d39d6f88bf58ccb29f5897c3dbbe71007ee842
2016-01-15 11:38:03 +01:00
Kris Maglione ccbc83560c Bug 1239822: Part 2a - [webext] Explicitly destroy windowless browsers on unload. r=billm
--HG--
extra : commitid : JXAapKEd31v
extra : rebase_source : 729fa88d1d0e8c91a47745af00fb321866eb1063
2016-01-15 13:30:15 -08:00
Kris Maglione acf722df18 Bug 1239822: Part 1 - Add a close method to windowless browsers, and only destroy when safe. r=bz
--HG--
extra : commitid : 77O0Cyp53O5
extra : rebase_source : 3a129236674f4aa868eafaec1a949c621cd9fae6
2016-01-15 19:23:09 -08:00
Jonathan Kew 46b5136c09 Bug 890156 - patch 6 - Update window placement code to work with desktop pixels, for per-monitor DPI support on Windows. r=emk 2015-12-03 13:19:50 +00:00
Jonathan Kew 45d2ab27ce Bug 890156 - patch 2 - Expose DevicePixelsPerDesktopPixel through nsIBaseWindow and its implementations. r=emk 2015-11-25 19:12:07 +00:00
Jonathan Kew 84b8c3a0a4 Bug 890156 - patch 0.3 - Create a version of nsIWidget::Create that takes Desktop pixels, because that's what we actually need to pass in some cases. r=mstange 2016-01-13 07:32:55 +00:00
Catalin Badea 58a29eb2dd Bug 1221992 - Skip closed windows in GetMostRecentNonPBWindow. r=smaug 2015-12-11 13:32:15 -05:00
Catalin Badea 54a27691d4 Bug 1221992 - Prevent ServiceWorkerClients.OpenWindow from opening tabs in private mode windows. r=smaug 2015-12-11 13:32:15 -05:00
Sebastian Hengst 114ca318d6 Backed out 2 changesets (bug 1221992) for almost permafailing M-e10s(2) on Linux debug. r=backout
Backed out changeset ad20808dd3c4 (bug 1221992)
Backed out changeset 7cdcda3e65fb (bug 1221992)
2015-12-05 21:13:41 +01:00
Catalin Badea b675b2325d Bug 1221992 - Prevent ServiceWorkerClients.OpenWindow from opening tabs in private mode windows. r=smaug 2015-12-04 19:14:44 +02:00
Wes Kocher bfbadfd96d Backed out 2 changesets (bug 1221992) for windows debug assertions in browser_perf-categories-js-calltree.js
Backed out changeset bcd90e591038 (bug 1221992)
Backed out changeset 6affaa386b9b (bug 1221992)

--HG--
extra : commitid : 4w08gUrbqQr
2015-12-03 15:56:59 -08:00
Catalin Badea 889982d7af Bug 1221992 - Prevent ServiceWorkerClients.OpenWindow from opening tabs in private mode windows. r=smaug 2015-12-03 23:19:29 +02:00
Nicholas Nethercote 1fb25d8609 Bug 1229237 (part 1) - Make nsIWidget::{Create,CreateChildren}() take a LayoutDeviceIntRect. r=botond.
--HG--
extra : rebase_source : 08407e76083534ad39dd34d2535ec09c95e506db
2015-11-16 00:35:18 -08:00
Mike Hommey 7094b49a7a Bug 1225682 - Don't use nsAuto{,C}String as class member variables in xpfe/. r=neil 2015-12-02 11:04:37 +09:00
Nicholas Nethercote af08555b74 Bug 1228125 (part 3) - Remove nsIWidget::GetClientBoundsUntyped(). r=botond.
--HG--
extra : rebase_source : 5e8cb05213c33983d7deebe0a36f2a4f6ac66375
2015-11-25 20:55:36 -08:00
Nicholas Nethercote e2fe66176b Bug 1224403 (part 4) - Make {Get,Set}NonClientMargins() return/take a LayoutDeviceIntMargin. r=kats.
This required adding {To,From}UnknownMargin().

--HG--
extra : rebase_source : de7e8f56604825bcc1babe5e05a8f8623a402cad
2015-11-11 23:05:04 -08:00
Nicholas Nethercote ad0dd8414a Bug 1223310 (part 2) - Use LayoutDeviceIntRect for bounds-related functions in nsIWidget. r=kats.
The patch renames the existing functions (GetBounds(), GetClientBounds(), etc)
by adding an |Untyped| suffix. It then adds typed equivalents, and uses those
typed equivalents in all the call sites where it's easy to do so. The trickier
remaining call sites are converted to use the Untyped-suffix version.

--HG--
extra : rebase_source : 6bfb15bfc4698e2eba7d4db55497299d3dffcd51
2015-11-09 21:37:32 -08:00
Luca Greco 60c68abefd Bug 1214174 - Add windowless browser test case. r=billm
--HG--
extra : histedit_source : 8b5209784883456f503f0a36cc008756da6353ce
2015-10-22 14:41:00 -04:00
Luca Greco 14529f9c0c Bug 1214174 - Windowless WebBrowserChrome2Stub should implement nsIEmbeddingSiteWindow GetDimensions. r=billm
Prevents exception on accessing window's screenX, screenY, outerWidth and outerHeight properties in a windowless browser

--HG--
extra : histedit_source : ca85ed5029f99bd8d2903153f3e68ab0015e243e
2015-10-22 14:40:00 -04:00
Kyle Huey c7d3c4e21a Bug 1216401: Eviscerate nsIDOMWindow, move still needed methods to nsPIDOMWindow. r=bz 2015-10-26 14:37:32 -07:00
Julian Seward ffb720e63d Bug 1216945 - Uninitialised value use in nsXULWindow::SizeShellTo. r=bzbarsky.
--HG--
extra : rebase_source : 5a38e4e3674f54c81dac8a859b78f63d3b625c30
2015-10-26 18:27:42 +01:00
Xidorn Quan 19f7f9e9e4 Bug 1137009 - Do not persist xul window attributes when in fullscreen. r=enndeakin
--HG--
extra : rebase_source : 38400b63c4f9d6be3f2ff9ba963546f72f77a65f
extra : source : 78f7f5498016232d889579add8f9ec7d0f4a86e6
2015-10-22 11:08:35 +11:00
Nathan Froyd 01583602a9 Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout.  The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.

CLOSED TREE makes big refactorings like this a piece of cake.

 # The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
    xargs perl -p -i -e '
 s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
 s/nsRefPtr ?</RefPtr</g;   # handle declarations and variables
'

 # Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h

 # Handle nsRefPtr.h itself, a couple places that define constructors
 # from nsRefPtr, and code generators specially.  We do this here, rather
 # than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
 # things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
     mfbt/nsRefPtr.h \
     xpcom/glue/nsCOMPtr.h \
     xpcom/base/OwningNonNull.h \
     ipc/ipdl/ipdl/lower.py \
     ipc/ipdl/ipdl/builtin.py \
     dom/bindings/Codegen.py \
     python/lldbutils/lldbutils/utils.py

 # In our indiscriminate substitution above, we renamed
 # nsRefPtrGetterAddRefs, the class behind getter_AddRefs.  Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
    xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'

if [ -d .git ]; then
    git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
    hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi

--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Wes Kocher a195766b70 Backed out 2 changesets (bug 1137009)
Backed out changeset 2c77e4edc2a5 (bug 1137009)
Backed out changeset 7a5322e5fa07 (bug 1137009)
2015-10-13 18:33:51 -07:00
Wes Kocher c335f06a80 Backed out changeset e28dde22ac26 (bug 1211344) 2015-10-13 18:33:27 -07:00
Xidorn Quan ab5826685c Bug 1211344 - Stop setting various window attributes when they are not in 'persist' attribute. r=enndeakin
--HG--
extra : source : 775831c88c8fdd6f3ff4f65447b0f825347109f5
2015-10-09 11:35:09 +11:00
Carsten "Tomcat" Book 08997000eb Backed out 2 changesets (bug 1202902) to recking bug 1202902 to be able to reopen inbound on a CLOSED TREE
Backed out changeset 647025383676 (bug 1202902)
Backed out changeset d70c7fe532c6 (bug 1202902)
2015-10-07 14:03:21 +02:00
Carsten "Tomcat" Book e7ef778c9d Backed out 1 changesets (bug 1202902) for causing merge conflicts to mozilla-central
Backed out changeset cfc1820361f5 (bug 1202902)

--HG--
extra : rebase_source : 5d3db72337754bc7ab0ed0c30b2896100411ff92
2015-10-07 12:13:45 +02:00
Shu-yu Guo d06b6030f6 Bug 1202902 - Scripted fix the world. 2015-10-06 14:00:31 -07:00
Olli Pettay 73e3069a93 Bug 1209621 - Add a way to get the TabParent for the content-primary tab, r=mconley
--HG--
extra : rebase_source : 2755b86bf3b247cbb2931eda3cc9433d2878125e
2015-10-01 20:06:51 +03:00
Bobby Holley 110f12e7ca Bug 1072150 - Use the opt-out for various sloppy consumers. r=bz 2015-09-24 14:02:41 -07:00
Xidorn Quan 1fa3dc1199 Bug 1137009 part 1 - Always save dirty window attributes but do not persist them in nsXULWindow::SavePersistentAttributes() directly. r=enndeakin
The attributes should eventually be saved via the AttributeChanged callback in
XULDocument if one is specified in the "persist" attribute.

--HG--
extra : source : 31be6135097644dbfe99220be44e63a2163b243c
extra : histedit_source : 83959efa7bb52a31de2cdbc201b5f18655756f33
2015-09-24 11:39:22 +10:00
Nicholas Nethercote f44287005f Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.

--HG--
extra : rebase_source : 82e3387abfbd5f1471e953961d301d3d97ed2973
2015-08-27 20:44:53 -07:00
Xidorn Quan f46a93871a Bug 1196163 part 1 - Use nsSizeMode instead of int32_t for nsIWidget::{SizeMode,SetSizeMode}. r=roc
--HG--
extra : source : cf438b9cb26ae512f792f075e4e22537ad6a38a7
2015-08-29 11:12:41 +10:00
Masayuki Nakano fff7a41224 Bug 895274 part.8 Rename NS_XUL_CLOSE to eWindowClose r=smaug 2015-08-29 08:58:26 +09:00
Andrew Comminos d7abfb9d4d Bug 1189132 - Skip unmap during window destruction on GTK, working around talos hang with GL layers. r=karlt 2015-08-26 21:30:16 -04:00
Kyle Huey df53dee024 Bug 1182316: Part 1 - Remove FORWARD_TO_INNER_OR_THROW. r=peterv 2015-07-16 22:10:35 -07:00
Birunthan Mohanathas a8939590de Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
The bulk of this commit was generated by running:

  run-clang-tidy.py \
    -checks='-*,llvm-namespace-comment' \
    -header-filter=^/.../mozilla-central/.* \
    -fix
2015-07-13 08:25:42 -07:00
Geoff Brown 52d4e225a0 Bug 1026290 - Update mochitest-chrome manifests for android; r=jgriffin 2015-07-10 14:41:59 -06:00
Michael Layzell b29fa273f8 Bug 1034922 - Make nsSiteWindow's destructor private, and expose it to nsContentTreeOwner via friend class. r=Enn
CLOSED TREE

--HG--
extra : amend_source : 5420ac9e6296b98f4ec5ddf5b8992cf449e8d44f
2015-07-07 21:49:00 -04:00
Nihanth Subramanya 5e74ed3e43 Bug 1179058 - Implement shouldAddToSessionHistory in WebBrowserChrome JS object. r=adw
--HG--
extra : rebase_source : b21952075a68b39cbfbbb36cde0713096c700c46
2015-07-02 11:04:06 -07:00
Nihanth Subramanya fb7c08fefa Bug 1118285 - The browser.newtab.url preference is abused and should be removed. 2015-05-27 17:35:03 -07:00
Xidorn Quan d7dd0eac3b Bug 1161802 part 2 - Split nsGlobalWindow::SetFullScreenInternal into two parts, one part before the window resizing, the other after. r=smaug,dao,margaret
This patch moves the "fullscreen" event from the original place to the
second part, which indicates two other changes:

1. When the event is triggered, the value of fullScreen would have been
toggled to the new value, which is different from before. The changes in
browser/../browser-fullScreen.js and mobile/../browser.js are for this.

2. This event is no longer preventDefault-able, since it is triggered
after the fullscreen change. This leads to the removal of the test and
the only place which calls preventDefault on that event. That place is
a workaround for bug 1079222. To address that problem, this patch fixes
the intrinsic issue via stoping handling the fullscreen change once it
finds we failed to change the state of the widget.

--HG--
extra : source : 78f78a62ce31b33413f0b52532eb22e5712cb646
2015-06-10 23:13:12 +12:00
David Anderson 8a9daf3775 Enable APZ for all Desktop windows if E10s is enabled. (bug 1163115, r=kats) 2015-05-12 01:26:01 -04:00
Shelly Lin b7c213870a Bug 1138290 - New option in WindowWatcher.openWindow to open another toplevel window on b2g. r=roc 2015-04-29 17:25:26 +08:00
David Major ebde6b9f4f Bug 1157835: Remove the MSVC_ENABLE_PGO flag from the build system. r=glandium
--HG--
extra : rebase_source : 0c47c99bb8b92f8361a51fd81b20a2cc8647a986
2015-04-27 19:59:27 -04:00
Kartikaya Gupta 57b4bbe2ca Bug 1154739 - Rename flag to be more general. r=billm 2015-04-27 16:13:29 -04:00
Boris Zbarsky 1540774b0c Bug 1157898 part 1. Make code of the form "return rv.ErrorCode();" where rv is an ErrorResult use StealNSResult instead. r=peterv
This patch was generated with the following command:

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 's/return ([a-zA-Z0-9]+)\.ErrorCode\(\);/return \1.StealNSResult();/'
2015-04-27 09:18:51 -04:00
Kartikaya Gupta 53dd599648 Back out cset 17aad8f83237 (bug 1154499) now that we have a nightly with APZ enabled. r=me a=me 2015-04-22 09:36:25 -04:00
Wes Kocher 687641fa14 Merge inbound to m-c a=merge 2015-04-21 15:23:57 -07:00
David Anderson 9ae1c872f4 Enable APZ for E10S on Windows for one Nightly. This patch will be backed out after one nightly. (bug 1154459, r=kats, a=ryanvm) 2015-04-21 15:35:19 -04:00
Nicolas Silva cfff5e52c5 Bug 1155621 - Make nsIntRect and nsIntPoint typedefs of mozilla::gfx::IntRect and mozilla::gfx::IntPoint. r=Bas 2015-04-21 17:04:57 +02:00
Denis Volk 32e981896d Bug 1095098 - move do_QueryObject templates into their own header; r=froydnj 2015-04-15 12:47:03 -04:00
Phil Ringnalda d68dd54c30 Backed out changeset ffde08dc5ceb (bug 1154459) for bustage
CLOSED TREE
2015-04-19 08:19:14 -07:00
David Anderson 4f6a850738 Enable APZ for E10S on Windows for one nightly build. (bug 1154459, r=kats) 2015-04-17 11:49:55 -04:00
Nathan Froyd 4c7234747e Bug 1143651 - don't use CallQueryInterface when the compiler can do the cast for us; r=ehsan 2015-03-12 13:20:29 -04:00
David Parks 3fe715e93a Bug 1075670 - Make event.screen[XY] work in content processes (r=smaug,kats,tn,joshmoz) 2015-04-01 12:36:41 -07:00
Mike Hommey b077d9624d Bug 1134920 - Use moz_xmalloc/moz_xrealloc/free instead of nsMemory::Alloc/Realloc/Free. r=nfroyd 2015-04-01 13:51:45 +09:00
Bill McCloskey 7f4ac9ee96 Back out bug 1075670 2015-03-30 20:13:07 -07:00
Andrea Marchesini e6f385fb3d Bug 1148527 - Indentation fix after bug 1145631, r=ehsan 2015-03-27 18:52:19 +00:00
Bill McCloskey f2d972e4f2 Bug 1075670 - Make event.screen[XY] work in content processes (r=smaug,kats,tn,joshmoz) 2015-03-26 14:17:29 -07:00
Ehsan Akhgari 883849ee32 Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
This patch was automatically generated using the following script:

function convert() {
echo "Converting $1 to $2..."
find . \
       ! -wholename "*/.git*" \
       ! -wholename "obj-ff-dbg*" \
         -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 MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Nathan Froyd b252a27930 Bug 1142503 - don't use QueryInterface when the compiler can do the cast for us; r=ehsan
Calling QueryInterface with a statically known IID should typically not
be necessary.  In those cases where it's not, the compiler can do the
cast for us, though we have to supply the reference-counting that
QueryInterface would do.

In passing, several redundant null-checks for the result of |new T| have
been deleted.
2015-03-12 09:43:50 -04:00
Jonathan Griffin d1c61bc9b6 Bug 1116187 - Disable failing mochitest-chrome tests for B2G, r=gbrown 2015-02-06 16:30:37 -08:00
Nathan Froyd 4380a42bbc Bug 1141689 - use services::GetObserverService more; r=ehsan 2014-04-29 13:31:06 -04:00
Nicolas Silva 40d7c19d35 Bug 1125848 - Reduce the likelyhood of a CompositorParent being destroyed without the proper shutdown sequence. r=sotaro 2015-03-09 10:46:56 +01:00
Wes Kocher 01e006a903 Merge inbound to m-c a=merge CLOSED TREE 2015-03-03 16:46:44 -08:00
Ryan VanderMeulen 6541acdb04 Backed out 7 changesets (bug 1075670) for causing bug 1139010.
Backed out changeset 659c40243282 (bug 1075670)
Backed out changeset 45b61c78ee2d (bug 1075670)
Backed out changeset 23bb7b239c78 (bug 1075670)
Backed out changeset a68d5051107f (bug 1075670)
Backed out changeset bd7a5d213692 (bug 1075670)
Backed out changeset f705f5063169 (bug 1075670)
Backed out changeset 13619f8fa672 (bug 1075670)

CLOSED TREE
2015-03-03 18:44:56 -05:00
David Parks 218f2707a8 Bug 1075670 - Use MozUpdateWindowPos event to notify content process of window move. r=smaug
TabParents now register for the MozUpdateWindowPos event on the chrome TopWindowRoot.  When the window is moved, the OS widget calls WindowMoved on its listener (the nsWebShellWindow), which sends a MozUpdateWindowPos event.
2015-01-26 11:45:54 -08:00
Ryan VanderMeulen ec8d7510c3 Backed out 7 changesets (bug 1075670) for e10s browser_586068-browser_state_interrupted.js crashes.
Backed out changeset 4ca74b217fe8 (bug 1075670)
Backed out changeset 83199cfc333f (bug 1075670)
Backed out changeset 065b859e6525 (bug 1075670)
Backed out changeset a3e8329610d9 (bug 1075670)
Backed out changeset ced9055e0bcc (bug 1075670)
Backed out changeset e6d6f0c11133 (bug 1075670)
Backed out changeset b823c6c95030 (bug 1075670)

CLOSED TREE
2015-02-24 11:53:34 -05:00
David Parks 5bb003d264 Bug 1075670 - Use MozUpdateWindowPos event to notify content process of window move. r=smaug
TabParents now register for the MozUpdateWindowPos event on the chrome TopWindowRoot. When the window is moved, the OS widget calls WindowMoved on its listener (the nsWebShellWindow), which sends a MozUpdateWindowPos event.
2015-01-26 11:45:54 -08:00
Andrea Marchesini 2c4f63331f Bug 1134280 - Get rid of Tag() - patch 1 - Is{HTML,XUL,MathML,SVG}Element and IsAnyOf{HTML,XUL,MathML,SVG}Elements, r=smaug 2015-03-03 11:08:59 +00:00
Paul Rouget 410db13a8c Bug 1127205 - Can't quit B2G Desktop on Mac. r=mstange 2015-02-18 16:34:00 +01:00
Gabriele Svelto fafc282f1a Back out bug 1075670 for causing smoketest failures on B2G, bug 1133518 and friends. rs+a=kats 2015-02-17 10:39:35 -05:00
David Parks f3678c96ae Bug 1075670 - Use MozUpdateWindowPos event to notify content process of window move r=smaug 2015-01-26 11:45:54 -08:00
Mike Conley 1cf83f9538 Bug 1047603 - Make TabParent::AnswerCreateWindow force the initial browser to be remote in a new window. r=smaug.
--HG--
extra : rebase_source : 87551351dc763be7f5a8a47d02de21eb3f10c745
2015-01-13 17:24:52 -05:00
Robert O'Callahan 7a165b59ca Bug 1129774. Part 5: Remove aContext parameter from nsIWidget::Create. r=jmathies
--HG--
extra : rebase_source : 517ff800c0307e69465a37da7e52605d2fcda0d1
2015-02-05 20:35:25 +13:00
Bill McCloskey 773e64f259 Back out 47de36ef3ab4 (bug 1075670) for breaking context menu in e10s CLOSED TREE 2015-01-28 16:11:56 -08:00
David Parks 4f7408b89c Bug 1075670 - Update window position in TabParent when window widget is moved. r=smaug
TabParents now register for the MozUpdateWindowPos event on the chrome
TopWindowRoot.  When the window is moved, the OS widget calls WindowMoved on
its listener (the nsWebShellWindow), which sends a MozUpdateWindowPos
event.
2015-01-26 11:45:54 -08:00
Ehsan Akhgari 4a6f63f214 Bug 1118605 - Mark virtual overridden functions as MOZ_OVERRIDE in xpfe/appshell; r=bsmedberg 2015-01-12 16:30:52 -05:00
Wes Kocher 126b4f108e Backed out changeset bf25101e66cf (bug 1095098) for build bustage 2014-12-08 16:27:12 -08:00
Denis Volk 0f94bddfc8 Bug 1095098: move do_QueryObject templates into their own header r=froydnj 2014-11-20 12:20:10 +01:00
Brian Marshall 08a6fc02ef Bug 1074557 - Remove the lock in nsWindowMediator. r=Neil 2014-10-16 15:45:17 -07:00
Dave Townsend 8b46b5daab Bug 999239: Copy session history when recreating browser element for the remote -> non-remote transition. r=bz, r=felipe, sr=gavin 2014-09-25 11:35:45 -07:00
Ryan VanderMeulen 6353009054 Backed out changesets 1e0e069b5cc7 and dc6a44c16a37 (bug 1047603) for causing bug 1067164. a=me 2014-09-17 14:19:58 -04:00
Mike Conley 9b77d562d6 Bug 1047603 - [e10s] Make it possible to load new windows from non-remote browsers within an e10s window. r=smaug,billm, feedback=Mossop.
--HG--
extra : rebase_source : 79a033f40e880ef4e8769871e385344d7621c259
2014-09-12 14:34:28 -04:00
Felipe Gomes 382f4efc2f Bug 1063848 - Disable e10s in safe mode. r=bsmedberg,ally. 2014-09-10 15:53:55 -03:00
Ehsan Akhgari 5bffafdd26 Bug 1061061 - Fix more bad implicit constructors in misc. code; r=bsmedberg 2014-09-02 18:24:24 -04:00
Trevor Saunders d75ed5bf7f bug 1059490 - mark more classes MOZ_FINAL r=froydnj 2014-08-27 14:26:48 -04:00
Trevor Saunders fd5e9d1fcc bug 1047696 - mark a number of classes MOZ_FINAL to get compilers to devirtualize more r=froydnj 2014-08-05 13:33:55 -04:00
Bill McCloskey b6264372dc Bug 1051017 - Add browser.contentWindowAsCPOW and browser.contentDocumentAsCPOW (r=mconley,mrbkap) 2014-08-20 12:49:11 -07:00
Birunthan Mohanathas 29e62c0155 Bug 1047873 - Flatten xpfe/appshell/{public,src}/ directories. r=Neil
--HG--
rename : xpfe/appshell/public/nsAppShellCID.h => xpfe/appshell/nsAppShellCID.h
rename : xpfe/appshell/src/nsAppShellFactory.cpp => xpfe/appshell/nsAppShellFactory.cpp
rename : xpfe/appshell/src/nsAppShellService.cpp => xpfe/appshell/nsAppShellService.cpp
rename : xpfe/appshell/src/nsAppShellService.h => xpfe/appshell/nsAppShellService.h
rename : xpfe/appshell/src/nsAppShellWindowEnumerator.cpp => xpfe/appshell/nsAppShellWindowEnumerator.cpp
rename : xpfe/appshell/src/nsAppShellWindowEnumerator.h => xpfe/appshell/nsAppShellWindowEnumerator.h
rename : xpfe/appshell/src/nsChromeTreeOwner.cpp => xpfe/appshell/nsChromeTreeOwner.cpp
rename : xpfe/appshell/src/nsChromeTreeOwner.h => xpfe/appshell/nsChromeTreeOwner.h
rename : xpfe/appshell/src/nsContentTreeOwner.cpp => xpfe/appshell/nsContentTreeOwner.cpp
rename : xpfe/appshell/src/nsContentTreeOwner.h => xpfe/appshell/nsContentTreeOwner.h
rename : xpfe/appshell/public/nsIAppShellService.idl => xpfe/appshell/nsIAppShellService.idl
rename : xpfe/appshell/public/nsIPopupWindowManager.idl => xpfe/appshell/nsIPopupWindowManager.idl
rename : xpfe/appshell/public/nsIWindowMediator.idl => xpfe/appshell/nsIWindowMediator.idl
rename : xpfe/appshell/public/nsIWindowMediatorListener.idl => xpfe/appshell/nsIWindowMediatorListener.idl
rename : xpfe/appshell/public/nsIXULBrowserWindow.idl => xpfe/appshell/nsIXULBrowserWindow.idl
rename : xpfe/appshell/public/nsIXULWindow.idl => xpfe/appshell/nsIXULWindow.idl
rename : xpfe/appshell/src/nsWebShellWindow.cpp => xpfe/appshell/nsWebShellWindow.cpp
rename : xpfe/appshell/src/nsWebShellWindow.h => xpfe/appshell/nsWebShellWindow.h
rename : xpfe/appshell/src/nsWindowMediator.cpp => xpfe/appshell/nsWindowMediator.cpp
rename : xpfe/appshell/src/nsWindowMediator.h => xpfe/appshell/nsWindowMediator.h
rename : xpfe/appshell/src/nsXULWindow.cpp => xpfe/appshell/nsXULWindow.cpp
rename : xpfe/appshell/src/nsXULWindow.h => xpfe/appshell/nsXULWindow.h
rename : xpfe/appshell/src/test/chrome.ini => xpfe/appshell/test/chrome.ini
rename : xpfe/appshell/src/test/test_hiddenPrivateWindow.xul => xpfe/appshell/test/test_hiddenPrivateWindow.xul
2014-08-02 13:44:23 -07:00
Trevor Saunders dfb8d4ea04 bug 1036694 - merge nsIMarkupDocumentViewer into nsIContentViewer r=smaug 2014-07-09 17:27:49 -04:00
Mike Conley 6e3a003fea Bug 1030414 - When browser.tabs.remote.autostart is true, make sure non-e10s windows can still open popups. r=smaug. 2014-06-27 13:13:00 -04:00
Ms2ger bd952bff39 Bug 968804 - Part m: Add outer window assertions to DispatchCustomEvent; r=khuey 2014-06-29 17:31:13 +02:00
Benoit Jacob 11d5270279 Bug 1028588 - Fix dangerous public destructors in xpfe/ - r=ndeakin 2014-06-24 12:36:45 -04:00
Makoto Kato 0071aa5e05 Bug 1027993 - Remove plstr.h usages under xpfe. r=neil 2014-06-23 13:58:43 +09:00
Mike Conley dc8c5b623b Bug 989501 - Part 2: When content in an e10s tab requests a new window be opened, forward that call to the TabParent, and have the TabParent pass itself in when creating the new window. r=smaug. 2014-06-20 14:07:47 -04:00
Mike Conley 8697a1814f Bug 1021466 - Part 2: Make it possible to pass in an nsITabParent when opening windows, and then stash that nsITabParent in the newly created chrome docshell. r=smaug. 2014-06-05 22:51:14 -04:00
Robert O'Callahan cbb8fdebfc Bug 1015664. Part 1: Remove NS_HIDDEN_() usage. r=bsmedberg 2014-06-03 00:08:21 +12:00
Trevor Saunders 78966cf36b bug 966059 - add nsIDocShell::GetWindow and GetDocument r=smaug 2014-01-09 21:03:47 -05:00
Masatoshi Kimura 9a3bc8d02b Bug 1005619 - Part 2: Use nsIWidget::GetRestoredBounds from appshell. r=neil 2014-05-20 16:32:17 +09:00
Nick Lebedev c49e263d0f Bug 998002 - Rename nsContentUtils::Get{Subject,Object}Principal to nsContentUtils::{Subject,Object}Principal. r=bholley 2014-05-13 11:58:00 +02:00
Bobby Holley 5a3bee8d99 Bug 997987 - Remove usage of nsIScriptSecurityManager::GetSubjectPrincipal. r=Ms2ger 2014-05-06 15:43:03 -07:00
Birunthan Mohanathas 5f1fde8824 Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj 2014-04-27 03:06:00 -04:00
Bobby Holley 3de1018bbe Bug 989528 - Rename AutoSystemCaller to AutoNoJSAPI, and assert against pre-existing exceptions. r=bz 2014-04-14 20:27:00 -07:00
Neil Deakin f9e1db1ab8 Bug 475981, remove titles from a bunch of tests, fixing box wrapped in a block warnings,r=neil 2014-04-04 13:11:12 -04:00
Neil Deakin fef9ca2f2f Bug 972566, when a window is resized, panels should be repositioned after the view reflow rather than within the webshell listener, r=tn 2014-03-19 12:48:08 -04:00
Masayuki Nakano 08a11f7934 Bug 975688 part.28 Rename nsDOMEvent to mozilla::dom::Event r=smaug
--HG--
rename : dom/events/nsDOMEvent.cpp => dom/events/Event.cpp
rename : dom/events/nsDOMEvent.h => dom/events/Event.h
2014-03-05 09:37:43 +09:00
Bill McCloskey 4d1519077d Bug 974007 - Change OMTC behavior when browser.tabs.remote is set (r=mattwoodrow,felipe) 2014-02-20 17:26:41 -08:00
Oleg Romashin d6c8989ca4 Bug 962511 - Add missing MOZ_INSTRUMENT_EVENT_LOOP ifdef to nsAppShellService.cpp. r=ehsan 2014-02-12 10:33:43 -05:00
Paul Rouget a2a1fd71c5 Bug 962511 - Expose mozilla::InitEventTracing to JS via appShellService. r=ehsan 2014-02-11 09:24:47 -05:00
Ehsan Akhgari d91d200572 Bug 969757 - Remove the dead code in our tree which pretends to support OS/2; r=roc,mcmanus,gps,jorendorf,bsmedberg sr=bsmedberg 2014-02-10 17:57:01 -05:00
Gregory Szorc afdb724edf Bug 969021 - Part 1: Consolidate moz.build data into parent moz.build files; r=ted
Many moz.build files define things that could be defined in parent
moz.build files. Keeping the number of moz.build files low helps with
build times due to less I/O and fewer directories traversed.

This patch eliminates a lot of moz.build files by moving their content
into parent moz.build files.

--HG--
extra : rebase_source : 0cfdf2697d10532e5b03cd27fbaadb41f42b837c
extra : amend_source : 0119d4e4881217f105e0e4ba1dfa9c8f7295f3e9
extra : histedit_source : eb49e62c67af2005fdc08d9c9a07f56bee98d558%2C50951e960e450f9b0e48fc7e8ec369d8666a63b0
2014-02-06 13:00:20 -08:00
Bill McCloskey 5b9e37d8cf Bug 938904 - [e10s] Make tooltips work (r=smaug,enn) 2014-01-22 12:27:23 -08:00
stefanh@inbox.com 84a45c987a Bug 957209 - Don't set ewindowtype_sheet if parent is hidden window. r=smichaud. 2014-01-18 12:49:47 +01:00
Tom Schuster f39e81815a Bug 939294 - Change xpidl jsval to handles. r=gabor,bz,khuey,bsmedberg,terrence 2014-01-09 18:39:36 +01:00
Trevor Saunders ff0491aef6 bug 331376 - merge nsIDocShellTreeNode into nsIDocShellTreeItem r=smaug 2014-01-06 17:34:15 -05:00
Ehsan Akhgari 1b83407ce9 Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
This patch was automatically generated by the following script:

#!/bin/bash
# Command to convert PRUnichar to char16_t

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*modules/libmar*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name prtypes.h \
       ! -name Char16.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 PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Chris Peterson df7f7abbfa Bug 956126 - Fix -Wunused-variable warning in nsWebShellWindow.cpp. r=neil 2013-12-17 09:53:03 -08:00
Markus Stange 3b7de5fbc9 Bug 888615 - [Australis] Add a drawtitle attribute for XUL root elements. When drawtitle="true" is set, even drawintitlebar windows will have a window title. r=roc, r=smichaud 2013-12-17 17:11:13 +01:00
Bobby Holley 07df154678 Bug 937317 - Replace all instance of null cx pushing with AutoSystemCaller. r=bz
This is an easy bonus chunk of the work to phase out cx pushing in the browser.
2013-12-11 17:51:58 -08:00
Phil Ringnalda cacf62c269 Back out 35371620801a:bf2019278b77 (bug 937317) for gaia-ui-test bustage and frequent timeouts in its own test 2013-12-07 11:08:56 -08:00
Bobby Holley cdf05d42a4 Bug 937317 - Replace all instance of null cx pushing with AutoSystemCaller. r=bz
This is an easy bonus chunk of the work to phase out cx pushing in the browser.
2013-12-06 12:01:42 -08:00
Carsten "Tomcat" Book 076ec87e09 Backed out changeset 374e44c835a8 (bug 937317) WinXP Build Bustage on a CLOSED TREE 2013-12-06 08:41:42 +01:00
Bobby Holley 901b658c25 Bug 937317 - Replace all instance of null cx pushing with AutoSystemCaller. r=bz
This is an easy bonus chunk of the work to phase out cx pushing in the browser.
2013-12-05 21:34:17 -08:00
Ehsan Akhgari ea1c909659 Bug 944212 - Build xpfe/appshell in unified mode; r=bsmedberg
--HG--
extra : rebase_source : 0a36b534d3df5418e4fc91ccfe8dbb236f3ec8c5
2013-12-03 17:03:45 -05:00
Henri Sivonen 7b95f9e668 Bug 919935 - Add a deCOMtaminated way to instantiate nsIUnicodeDecoders and nsIUnicodeEncoders. r=emk. 2013-11-26 09:31:52 +02:00
Mike Hommey 2812d11fce Bug 939632 - Remove LIBRARY_NAME for leaf libraries. r=gps
Landing on a CLOSED TREE.
2013-11-19 11:50:54 +09:00
Mike Hommey e06d795c71 Bug 939074 - Remove most LIBXUL_LIBRARY. rs=gps 2013-11-19 11:48:10 +09:00
Mike Hommey 26bc04d200 Bug 939044 - Rename remaining MODULE definitions to XPIDL_MODULE. r=mshal 2013-11-19 11:47:43 +09:00
Mike Hommey e80e877ab7 Bug 939044 - Remove most definitions of MODULE. r=mshal 2013-11-19 11:47:39 +09:00
Mike Hommey ffe0380912 Bug 935881 - Use FINAL_LIBRARY for all (fake) libraries that end up linked in a single other library. r=gps 2013-11-19 11:47:14 +09:00
Nicholas Nethercote 3b80765894 Bug 925584 - Remove some unnecessary jsapi.h inclusions from .cpp files. r=Ms2ger.
--HG--
extra : rebase_source : 41fcb0e922a519ef679c1c1b6293c2b638e83a48
2013-10-10 15:22:35 -07:00
Peter Van der Beken dfc2297bd8 Bug 918345 - Turn on WebIDL binding generation for Window and hook it up to quickstubs. r=bz.
--HG--
extra : rebase_source : 7bde7ddfe297e189ffa678ca1d9c34000bc904ec
2013-10-08 17:51:42 +02:00
Ms2ger 7cd50d2f15 Backout changeset 2e466ccc7bd0 for devtools test failures. 2013-10-26 17:02:20 +02:00
Peter Van der Beken e01445a2df Bug 918345 - Turn on WebIDL binding generation for Window and hook it up to quickstubs. r=bz.
--HG--
extra : rebase_source : 673c08ef093339e6bfb1418366af5cc5fabe7c4d
2013-10-08 17:51:42 +02:00
Olli Pettay 5952e14704 Bug 930498 - BarProps should be got from the inner window not from the outer, r=peterv 2013-10-25 14:12:01 +03:00
Mike Hommey b000a846c2 Bug 929905 - Consolidate sources in moz.build. r=gps 2013-10-25 08:23:05 +09:00
Birunthan Mohanathas 6f158bc61c Bug 784739 - Switch from NULL to nullptr in miscellaneous directories; r=ehsan
--HG--
extra : rebase_source : 9335e9b4b0ac02e8066fbb79797bbc0d3fd73874
2013-10-23 16:36:09 -04:00
Masayuki Nakano 7811d5c344 Bug 602787 part.2 Don't implement nsIWidgetListener in its header file r=roc 2013-10-22 22:27:34 +09:00
Wes Kocher e3f57c4d94 Backed out 9 changesets (bug 602787) on suspicion of breaking mochitest-metro on a CLOSED TREE
Backed out changeset 1730bcae2c45 (bug 602787)
Backed out changeset 70606b9b1e42 (bug 602787)
Backed out changeset 57ca2861ea30 (bug 602787)
Backed out changeset 3b9f1062d915 (bug 602787)
Backed out changeset 3ee56eacc84b (bug 602787)
Backed out changeset 1c35693be3d3 (bug 602787)
Backed out changeset ef095c3aef98 (bug 602787)
Backed out changeset 4827bdae97fd (bug 602787)
Backed out changeset fa0f355e7871 (bug 602787)
2013-10-22 13:11:53 -04:00
Masayuki Nakano 6fbf450e61 Bug 602787 part.2 Don't implement nsIWidgetListener in its header file r=roc 2013-10-22 22:27:34 +09:00
Ms2ger 2ff7c10052 Bug 923395 - Part b: Remove makefiles that only set LOCAL_INCLUDES and DEFINES; r=gps 2013-10-20 09:25:19 +02:00
Gabor Krizsanits 7b41a35e1e Bug 565388 - No paint for invisible docshell. r=tnikkel 2013-10-16 15:18:42 +02:00
Gabor Krizsanits f0a13e2617 Bug 565388 - Chrome option for the invisible docshell. r=bz 2013-10-16 15:18:42 +02:00
Ms2ger 4c35b806f8 Merge m-c to inbound. 2013-10-03 11:09:17 +02:00
Ms2ger f4153f40d4 Bug 900980 - Part a: Move unconditional assignments to EXPORT_LIBRARY to moz.build; rs=gps 2013-10-03 09:11:13 +02:00
Ms2ger 1ee1f27aa3 Bug 922268 - Remove empty makefiles; r=gps 2013-10-03 09:10:00 +02:00
Masayuki Nakano 9aaf116c1c Bug 920377 part.32 Get rid of nsMouseEvent r=roc 2013-10-02 15:38:27 +09:00
Masayuki Nakano a4221a463f Bug 920377 part.30 Get rid of nsGUIEvent r=roc 2013-10-02 12:46:03 +09:00
Ehsan Akhgari 7bb8ab1a35 Bug 923151 - Part 2: Don't #include nsIDocument.h in mozilla/dom/Element.h; r=jst
--HG--
extra : rebase_source : 8c5f5429574313a1304eb2779cdb6b5702e4094d
2013-10-02 16:09:18 -04:00
Gregory Szorc e6acf6270f Bug 920223 - Part 2: Mass convert MOCHITEST_CHROME_FILES to manifests; rs=Ms2ger 2013-09-30 09:52:01 +02:00
Ed Morley 53a451894a Backed out changeset 68b6b152f51a (bug 920223) 2013-09-30 12:50:09 +01:00
Gregory Szorc 0b4364c6f3 Bug 920223 - Part 2: Mass convert MOCHITEST_CHROME_FILES to manifests; rs=Ms2ger 2013-09-30 09:52:01 +02:00
Masayuki Nakano f90a5b1125 Bug 912956 part.18 Remove nsGUIEvent.h r=roc 2013-09-25 20:21:22 +09:00
Masayuki Nakano 4983de6d4c Bug 912956 part.14 mozilla/MouseEvents.h should be included directly r=roc 2013-09-25 20:21:18 +09:00
Masayuki Nakano 0fbfe07d7e Bug 912956 part.2 Rename nsEvent.h to mozilla/EventForwards.h and sort out it r=roc
--HG--
rename : widget/nsEvent.h => widget/EventForwards.h
2013-09-24 19:04:14 +09:00
Mina Almasry 94bdd8d0fe Bug 912166 - Make nsIWidget::GetDefaultScale return a typed scale value. r=roc 2013-09-17 20:45:19 -04:00
Boris Zbarsky 0c4e2cc50c Bug 913855. Fix consumers of window mediator to be more consistent in their checking for closed windows. r=dolske
Note that we can't just stop returning closed windows from the window
mediator, because some consumers (e.g. session restore) rely on seeing
closed windows in the list so they can remove them from their internal
data structures expeditiouly.
2013-09-13 17:29:51 -04:00
Wes Johnston 7dbc6a3357 Bug 826325 - Handle preventDefault on mozbrowserwindowopen events r=bz 2013-09-09 21:18:46 -07:00
Mike Hommey f8bc7fa754 Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
Nicholas Nethercote 01c70c8c97 Bug 911020 - Introduce js/TypeDecls.h, which holds very commonly used type declarations from the JS engine. r=luke.
--HG--
extra : rebase_source : 008ef689989f93b46627b8be8608bdbc544ca3a2
2013-08-27 19:59:14 -07:00
Ms2ger bdfaa84f5b Bug 904831 - Part b: Move unconditional MSVC_ENABLE_PGO definitions into moz.build; r=gps 2013-08-22 08:56:01 +02:00
Ms2ger 3a103a7e9f Bug 883284 - Part f: Move LIBXUL_LIBRARY into moz.build (p-z); r=glandium 2013-08-22 08:56:01 +02:00
Ms2ger 4e152e64f6 Bug 901320 - Stop including AutoRestore.h in nsContentUtils.h; r=jlebar 2013-08-14 08:56:25 +02:00
Ms2ger 1a5ae526d9 Bug 901323 - Don't include nsContentUtils.h unnecessarily; r=jlebar 2013-08-14 08:56:21 +02:00
Trevor Saunders e62a12b52f bug 886526 - remove IS_COMPONENT and MODULE_NAME makefile vars for things in libxul r=bsmedberg r=glandium 2013-08-08 20:12:37 -04:00
Trevor Saunders 108b7dd046 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
Joshua Cranmer 94134a4a1d 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 c0bd78d712 Bug 868859 - Make chromeWindow.content work in e10s. r=bz 2013-05-08 23:16:46 +02:00
David Zbarsky 36742876f7 Bug 894642 - Make XULWindow::GetWindowDOMElement return dom::Element* r=Ms2ger 2013-07-17 23:54:08 -07:00
Ryan VanderMeulen cc6b678858 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 5711ac35d2 Bug 868859 - Make chromeWindow.content work in e10s. r=bz 2013-05-08 23:16:46 +02:00
Trevor Saunders 4fda35a773 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 11bcc1cd9e 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 323b7f4c12 Bug 858524 - Move BarProp objects to Paris bindings, r=ms2ger, r=smaug 2013-06-01 01:53:00 -07:00
Mike Shal 5169c0a913 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 09146e2f34 Bug 871942 - Check for closing-window reentrance in nsWebShellWindow::RequestWindowClose. r=jst 2013-05-23 16:22:29 -07:00
Bobby Holley cdde50556c 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
Gregory Szorc 1b12175ba0 Bug 873629 - Remove 129 empty Makefile.in files; r=ted 2013-05-17 16:20:11 -07:00
Ted Mielczarek 3cfd62c3d2 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 5d9507fc46 Bug 852687 - updating uuid of nsIWindowMediator. r=bz 2013-05-15 14:55:41 +02:00
Gabor Krizsanits 968ce4b78d Bug 852687 - getCurrentInnerWindowWithId for nsIWindowMediator. r=bz 2013-05-14 17:34:12 +02:00
Ed Morley 4cf1de67e4 Backed out changeset 49aabddb2edb (bug 852687) for browser-chrome failures 2013-05-14 12:17:40 +01:00
Gabor Krizsanits 76f5c3132f Bug 852687 - getCurrentInnerWindowWithId for nsIWindowMediator. r=bz 2013-05-14 11:42:01 +02:00
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
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
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