Ngoc Thi Huynh
bb8780b89d
Bug 1242456 - Create RAIIs to manage HGLOBAL and printer HANDLE in ShowNativePrintDialog and CreateGlobalDevModeAndInit. r=jimm, r=bobowen
2016-04-05 13:24:28 +07:00
Bob Owen
0fddf43d89
Backed out changeset e91dafc1450e (bug 1242456) due to incorrect HGLOBAL handling.
2016-04-08 16:37:04 +01:00
Ngoc Thi Huynh
0789257518
Bug 1242456 - Create RAII helpers to manage HGLOBAL and HPRINTER in ShowNativePrintDialog and CreateGlobalDevModeAndInit. r=jimm
...
MozReview-Commit-ID: 4IrEEgJMtKZ
2016-04-05 13:24:28 +07:00
Tobias Schneider
7fa6b225c8
Bug 1260480 - Remove mozNoMarginBoxes. r=dbaron
2016-04-06 09:53:00 +02:00
Jonathan Kew
885e886b1e
Bug 1259707 - Fix confusion between desktop and CSS pixels when session-restore is constraining window to the available screen space. r=emk
2016-03-26 13:12:47 +00:00
Ehsan Akhgari
100dda0d7d
Bug 1258056 - Propagate the window opener full page zoom across the IPC layer; r=smaug
2016-03-22 17:49:09 -04:00
Trevor Saunders
a6f221b6a2
bug 1257287 - add nsIDocShell.tabChild r=smaug
2016-03-18 15:54:12 -04:00
Kyle Huey
cd9bdd29d1
Bug 1257444: Actually return the desired selection. r=mrbkap
2016-03-17 17:27:33 -07:00
Nicholas Nethercote
a2f068b2ad
Bug 1253085 - Remove the |PLDHashTable*| argument from PLDHash{HashKey,MatchEntry}. r=froydnj.
...
This is easy because it's never needed.
--HG--
extra : rebase_source : 78830dab41c40a1544fa55fc69ca9c1c6709d767
2016-03-16 15:33:44 +11:00
Boris Zbarsky
f8c6c153ad
Bug 1255849. Add some documentation for AutoJSAPI instances that seem to be used just for cxpushing. r=bholley
2016-03-14 20:47:13 -04:00
Andrea Marchesini
fc95fc353b
Bug 1249224 - window.open() should open a new window in the same container, r=bz
2016-03-07 17:09:52 +01:00
Sebastian Hengst
6f9fa4450a
Backed out changeset 05cef11d91be (bug 1249224) for bustage. r=backout on a CLOSED TREE
2016-03-07 16:35:14 +01:00
Andrea Marchesini
2cbe0e2b70
Bug 1249224 - window.open() should open a new window in the same container, r=bz
2016-03-07 16:22:12 +01:00
Jonathan Kew
8101739122
Bug 1252974 - Convert screen's available dimensions to CSS-pixel units in nsWindowWatcher. r=emk
2016-03-06 13:37:27 +00: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
Aidin Gharibnavaz
6863090c8a
Bug 1235830 - Renaming GetInternalNSEvent to WidgetEvent, in nsIDOMEvent r=smaug
...
MozReview-Commit-ID: Hm8Owq17KXn
--HG--
extra : transplant_source : 2%82%D5%89%19%94%7C%E7%CA1%99%B5%24%1F5%E1%C0%1F%DE%07
2016-02-12 19:10:07 +03:30
Daniel Holbert
f06f469d80
Bug 1247866: Avoid modifying hashtable during iteration, when iterating over redirects for saved files, to avoid tripping fatal assertion. r=njn
...
Modifying a structure while iterating over it is generally dangerous (so we have assertions to catch it), though in this case it was probably fine, because we stopped iterating as soon as we made the modification.
2016-02-12 16:19:53 -08:00
Bogdan Postelnicu
40f6361ecd
Bug 1246100 - pass aData by reference instead of value in MockWebBrowserPrint::MockWebBrowserPrint. r=bsmedberg
2016-02-05 10:58:28 +02:00
Bogdan Postelnicu
ee3d37892b
Bug 1245451 - add default nullptr value to mChrome. r=bsmedberg
2016-02-03 12:38:15 +02:00
Birunthan Mohanathas
d7371d07d0
Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj
2016-02-02 17:36:30 +02:00
Phil Ringnalda
d381b4bca6
Back out 7 changesets (bug 1235261) for cpptest failures in TestTArray
...
CLOSED TREE
Backed out changeset d66c3f19a210 (bug 1235261)
Backed out changeset 467d945426bb (bug 1235261)
Backed out changeset 32b61df13142 (bug 1235261)
Backed out changeset c50bb8ed4196 (bug 1235261)
Backed out changeset 0ff0fa6fe81f (bug 1235261)
Backed out changeset df70e89669da (bug 1235261)
Backed out changeset 064969357fc9 (bug 1235261)
2016-01-31 10:10:57 -08:00
Birunthan Mohanathas
373593275e
Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj
2016-01-31 17:12:12 +02:00
Kyle Huey
91efc5a86c
Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug
2016-01-30 09:05:36 -08:00
Bill McCloskey
c663839ade
Bug 1240871 - Don't allow implicit "async" in IPDL (r=mccr8,billm)
2016-01-28 20:56:37 -08:00
Sylvestre Ledru
ab4e3a0d42
Bug 1218816 - Remove useless semicolons. Found by coccinelle. r=Ehsan
...
--HG--
extra : rebase_source : 7d2cc56b6553cd7a8d848d3c660f30735bd82eec
2016-01-22 16:58:49 +01:00
Bob Owen
393a50d4dc
Bug 1238964 Part 2: Move separate DEVMODE to nsIPrintSettings copying into nsPrintSettingsWin. r=jimm
...
This also corrects what I think are long standing issues with the mapping to and
from print settings on Windows.
Firstly it only uses the DEVMODE flags to decide what should get stored, in the
old code if paper size was not set, it would then use that possibly invalid
paper size to map to length and width. Paper setting prefs are mapped back if
they were stored or if they have been manually set to something sane.
Secondly it corrects the calculation that was used to convert from millimeters
to tenths of millimeters.
It also gets rid of the paperSizeType field, which was only used on Windows and
doesn't actually make sense according to the DEVMODE documentation as the
dmPaperLength and dmPaperWidth fields override the dmPaperSize, but can in
theory be specified at the same time.
2016-01-12 17:40:07 +00:00
Bob Owen
eb34bd15b9
Bug 1238964 Part 1: Hold new printable page sizes in print nsIPrintSettingsWin. r=jimm
...
This also holds the resolution in the print settings, so that we can start to
remove the access to the native Windows print devices in the child process.
2016-01-22 16:05:19 +00:00
Nicholas Nethercote
ec89bbf7f2
Bug 1237151 (part 3) - Remove ignored qualifiers in all remaining code. r=froydnj.
2016-01-05 17:08:45 -08:00
Bob Owen
f35de7e1be
Bug 1156742 Part 7: Refactor nsDeviceContext.cpp to use printing surface for size and nsIDeviceContextSpec for DPI and scale. r=roc
...
These changes are to make using an off screen surface behind our DrawTarget in the child easier.
It still creates the real printing surface for some of the calculations,
removing this will be required for future tightening of the sandbox.
2016-01-05 10:08:57 +00:00
Bob Owen
c38abff973
Bug 1156742 Part 6: Add RemotePrintJob to PrintSession and PrintData. r=roc, r=mconley
...
Someone knew that nsIPrintSession would come in handy one day.
2016-01-05 10:08:57 +00:00
Bob Owen
5f9cb1f258
Bug 1156742 Part 5: Add a skeleton RemotePrintJob. r=mconley
...
The methods will get filled out by later patches, this sets up the IPDL and lifetime management.
2016-01-05 10:08:57 +00:00
Wes Kocher
a5249b6201
Backed out 25 changesets (bug 1156742) for build bustage in SkOSLibrary_win.cpp CLOSED TREE
...
Backed out changeset 31c0aadae8e7 (bug 1156742)
Backed out changeset f08df57ff700 (bug 1156742)
Backed out changeset 90c026d5dcb1 (bug 1156742)
Backed out changeset 8c6d14d80238 (bug 1156742)
Backed out changeset 72d86b0471c9 (bug 1156742)
Backed out changeset 363829accc09 (bug 1156742)
Backed out changeset 16360fe94d54 (bug 1156742)
Backed out changeset 5355c636a81a (bug 1156742)
Backed out changeset 18844d26b873 (bug 1156742)
Backed out changeset 99df86591613 (bug 1156742)
Backed out changeset 7ac1c7e15a11 (bug 1156742)
Backed out changeset de352000aae1 (bug 1156742)
Backed out changeset 4dd34ea230c6 (bug 1156742)
Backed out changeset 48c6ce65a5c2 (bug 1156742)
Backed out changeset dd52947f73c6 (bug 1156742)
Backed out changeset 5fe429ee880c (bug 1156742)
Backed out changeset dedca8fb19b0 (bug 1156742)
Backed out changeset d748b1354f92 (bug 1156742)
Backed out changeset 7f8e59588518 (bug 1156742)
Backed out changeset b90d302c57f6 (bug 1156742)
Backed out changeset 7a4da453572c (bug 1156742)
Backed out changeset a40eea914519 (bug 1156742)
Backed out changeset 99a8859afcdb (bug 1156742)
Backed out changeset 4934e88b2d7a (bug 1156742)
Backed out changeset 79733166f05e (bug 1156742) for build bustage in SkOSLibrary_win.cpp CLOSED TREE
--HG--
extra : amend_source : beeb6abbcc724b79ac166e828efa78dc4c5301da
2015-12-21 13:47:33 -08:00
Bob Owen
8e74e544d2
Bug 1156742 Part 7: Refactor nsDeviceContext.cpp to use printing surface for size and nsIDeviceContextSpec for DPI and scale. r=roc
...
These changes are to make using an off screen surface behind our DrawTarget in the child easier.
It still creates the real printing surface for some of the calculations,
removing this will be required for future tightening of the sandbox.
2015-12-21 20:33:13 +00:00
Bob Owen
a3c64d5bb8
Bug 1156742 Part 6: Add RemotePrintJob to PrintSession and PrintData. r=roc, r=mconley
...
Someone knew that nsIPrintSession would come in handy one day.
2015-12-21 20:33:13 +00:00
Bob Owen
4797734560
Bug 1156742 Part 5: Add a skeleton RemotePrintJob. r=mconley
...
The methods will get filled out by later patches, this sets up the IPDL and lifetime management.
2015-12-21 20:33:13 +00:00
Tooru Fujisawa
6350ec15bd
Bug 1224790 - Use SetFakeModal instead of SetModal for non-modal window opened by modal window. r=smaug, mstange
...
--HG--
extra : rebase_source : e7f6009ecadf0347f916b95c51e7223855cc6294
2015-11-18 20:12:26 +09:00
Cameron McCormack
fd2fba0c73
Bug 990250 - Fold nsIStyleSheet into CSSStyleSheet. r=dbaron
2015-11-17 17:04:09 +11:00
Kyle Huey
bdbb2ec50a
Bug 1224061: Make Event::InitEvent infallible. r=smaug
2015-11-13 08:09:42 +08:00
Nicholas Nethercote
e30a48ab83
Bug 1186794 (part 6) - Replace nsBaseHashtable::EnumerateRead() calls in embedding/ with iterators. r=bz.
...
--HG--
extra : rebase_source : e83b173903e4f7fbf3680d84e957dcc69c50bd06
2015-11-01 18:42:54 -08:00
Nicholas Nethercote
7823098274
Bug 1186794 (part 5) - Replace nsBaseHashtable::EnumerateRead() calls in embedding/ with iterators. r=bz.
...
--HG--
extra : rebase_source : 42a816294ecb1f94bbb6d077c3d69fbab0700610
2015-11-01 18:42:41 -08:00
Nicholas Nethercote
8977a4ab4d
Bug 1186794 (part 4) - Replace nsBaseHashtable::EnumerateRead() calls in embedding/ with iterators. r=bz.
...
--HG--
extra : rebase_source : 673814624ed8523ef2e33d9d3eab8dc935638666
2015-11-01 18:42:28 -08:00
Nicholas Nethercote
cee3459f00
Bug 1186794 (part 3) - Replace nsBaseHashtable::EnumerateRead() calls in embedding/ with iterators. r=bz.
...
--HG--
extra : rebase_source : 0a7f9b99376c0ab6c89c0ffb4dc69f9c9c5c7f6c
2015-11-01 18:42:08 -08:00
Nicholas Nethercote
3fe818ed43
Bug 1186794 (part 2) - Replace nsBaseHashtable::EnumerateRead() calls in embedding/ with iterators. r=bz.
...
--HG--
extra : rebase_source : a8a42a93324936c089ce9b1e9167dcef6fe14b2c
2015-11-01 18:41:57 -08:00
Nicholas Nethercote
20693def2e
Bug 1186794 (part 1) - Replace nsBaseHashtable::EnumerateRead() calls in embedding/ with iterators. r=bz.
...
Also make mGroupNames const to avoid a cast.
--HG--
extra : rebase_source : 09b2341b3a18265cfb8fddd70b008a8daa5dc272
2015-11-01 18:41:40 -08:00
Birunthan Mohanathas
9985829ecc
Bug 1219392 - Capitalize mozilla::unused to avoid conflicts. r=froydnj
2015-11-02 07:53:26 +02:00
Mike Conley
579e388d6e
Bug 1218594 - r=smaug
...
--HG--
extra : commitid : 4eqpv5kRmP1
extra : rebase_source : b24ee1c13b9de8f37d3467686c653c6ed3e929c2
2015-10-30 14:54:52 -04:00
Mike Conley
74bce35677
Bug 1217190 - Make sure to initialize outparam in PrintingParent::RecvShowProgress. r=bobowen
...
--HG--
extra : commitid : EGXL51V8QI
extra : rebase_source : e2fe518f0d46741176e2179ca81df2b55e788922
extra : histedit_source : 58976c539a6eade5331f47be9900d338356a5ee4
2015-10-27 14:37:34 -04:00
Mike Conley
11408875de
Bug 1217190 - Make PrintingParent return an nsresult when attempting to show print progress. r=bobowen
...
--HG--
extra : commitid : LH8E3YSVlSd
extra : rebase_source : a48a93195c576648f4a46c9eb60756186684e0eb
extra : histedit_source : f582237e3e58d92a1ec38a4b2a82d77bae620d48
2015-10-26 16:47:48 -04:00
Catalin Badea
8255b13467
Bug 1172870 - Part 2 - Enable ServiceWorkerClients::OpenWindow on e10s desktop. r=smaug
2015-10-30 01:30:57 +02:00
Birunthan Mohanathas
44936aabb2
Bug 1217320 - Remove more XPIDL signature comments in .cpp files. r=froydnj
...
Comment-only, DONTBUILD.
2015-10-27 06:54:25 +02:00