Commit Graph

5215 Commits

Author SHA1 Message Date
Mike Conley
77af80c31b Bug 1141337 - Update nsIWebBrowserPersistable to allow subframe targeting for Save Frame As. r=jld
This alters nsIWebBrowserPersistable so that startPersistence takes an
outerWindowID. This allows us to target a particular subframe from
beneath an nsFrameLoader, which is useful when attempting to Save
Frame As a remote browser.

--HG--
extra : commitid : KWck2rfRjXw
extra : rebase_source : d2390a8cf1b830e4e1c0fa52574455fbc0b05c14
2015-08-06 10:44:16 -04:00
Jed Davis
7753845aef Bug 1193903 - Fix nsWebBrowserPersist for documents with no page descriptor. r=mconley
This restores the behavior from before bug 1101100, when various
indirect properties of the document were obtained by JS that ignored
exceptions by using null instead.  This is currently breaking for the
documents created by Print Preview, because they have no page descriptor.
This patch also makes similar changes to the contentDescriptor getter.
2015-08-13 18:08:09 -07:00
Wes Kocher
6b7a0b75b5 Merge fx-team to m-c a=merge 2015-08-13 16:30:54 -07:00
Jed Davis
0e78372033 Bug 1192654 - Fix nsWebBrowserPersist handling of nonpersistable subdocuments. r=billm
The patch for bug 1101100, in converting this code to be asynchronous
and distributed, accidentally dropped the check for `data` being null;
this patch restores it, and adds a regression test.

--HG--
extra : histedit_source : 9eac378981bf4c21ae4c79d1a452c9098463cbf4
2015-08-13 08:38:19 -07:00
Mike Conley
7421d14843 Bug 1106321 - Serialize DEVMODE down to the content process when printing on Windows. r=jimm
--HG--
extra : commitid : IhjNJOOtmms
extra : rebase_source : 6b0ba29e866dcf63a3054eb955ece082cbbeda13
extra : amend_source : 70bcf59b1f4b1d7a3a8ec4183b3b9710eedfb5f9
2015-08-06 17:36:54 -04:00
Reuben Morais
26b85c489b Bug 1192102 - Remove unused file embedded/android/GeckoSmsManager.java. r=blassey
IGNORE IDL
2015-08-06 18:59:00 -04:00
Jed Davis
f9cdea85fa Bug 1101100 - Multiprocess-enable nsWebBrowserPersist. r=billm
The high-level overview is that the parts of nsWebBrowserPersist which
access the DOM have been factored out (as WebBrowserPersistLocalDocument)
and abstracted (nsIWebBrowserPersistDocument) such that they can be
implemented in the cross-process case using IPC.
2015-08-05 14:25:39 -07:00
Birunthan Mohanathas
7315345693 Bug 1191100 - Remove XPIDL signature comments in .cpp files. r=ehsan
Comment-only so DONTBUILD.
2015-08-04 16:17:36 -07:00
Jamie Nicol
3e0de12cde Bug 1187619 - Only optmimize FrameLayerBuilder visibility calculations if correct. r=mattwoodrow
Bug 1176077 introduced the parameter aDirtyRegion to
DrawPaintedLayerCallback, which allows the callback to recompute the
visibility of all items to be painted in that transaction in a single
go. However, this parameter can not always be determined correctly
when using RotatedBuffer, and using an incorrect value was causing
graphical glitches.

Make the parameter optional, and on null values do not perform the
optimisation. Pass null from ClientPaintedLayer, which uses
RotatedBuffer and was causing problems, but continue to pass the
correct value from other Layer implementations. This optimisation was
most important for tiled layers using progressive paint, so this is
okay.
2015-08-03 04:07:00 -04:00
Makoto Kato
ed0bf31fba Bug 830801 - Part 3. Remove NOMINMAX define from cpp source. r=mshal 2015-08-03 10:07:20 +09:00
Jamie Nicol
5044fbd3c9 Bug 1176077 - Only recompute PaintedLayer item visibility when display list has changed. r=mattwoodrow
FrameLayerManager::RecomputeItemsVisibility() was being called on every
call to FrameLayerBuilder::DrawPaintedLayer(), each time for the region
to be painted by that paint call. This is inefficient when progressive
paint is enabled. Change it so that we compute the visibility of all the
layer's items within the total region to be painted, but only on the
first paint after the display list has been modified.
2015-07-21 09:19:25 +01:00
Eric Rahm
2b7467a741 Bug 1179069 - Remove docshell warnings in embedding. r=bz 2015-07-20 20:16:27 -07:00
Mike Conley
c86643f748 Bug 1114299 - Be more strict about which window chromeFlags we compute from content. r=smaug
We don't ever want to accept "private", "non-private", "remote" or "non-remote" from the
content process. We only let the parent decide when to open those types of windows.

--HG--
extra : commitid : 9MGeXNdb9US
extra : rebase_source : 41a4d9785bd667b84c255eda0ac7fedf44733736
extra : histedit_source : 698c707b68c60108e0631b775a98fb4e241c009b
2015-07-10 11:40:19 -04:00
Jed Davis
feac503206 Bug 1179967 - Always rewrite links to absolute in nsWebBrowserPersist instead of side-effecting document. r=jst
--HG--
extra : commitid : JJTI70LvCnb
extra : rebase_source : 8a4b564e630a291e7866ba209a5f7dc4b1284a71
2015-07-15 12:15:48 -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
Neil Deakin
eee10c99f2 Bug 1132518, make document navigation with F6/Shift+F6 work in e10s. This combines the document and tab navigation mechanisms together, r=smaug 2015-07-13 06:07:49 -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
Emanuel Hoogeveen
7d1e52f2ff Bug 905127 - Part 1 - Make some functions from nsNetUtil not inline. r=jduell 2015-07-07 04:17:00 +02:00
Juan Gomez
258ad59e3f Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-07-03 18:29:00 -07:00
Ted Mielczarek
767bd03bc6 bug 1172655 - make --enable-application=embedding/ios work (NPOTB)
--HG--
extra : commitid : 9iUt6xIyYWt
extra : rebase_source : 286b97d7bd9461c5fbf3c1740e86895b44d12850
2015-06-12 08:50:20 -04:00
Ted Mielczarek
b8cb0f7543 bug 1172655 - Add GeckoEmbed XCode project (NPOTB)
--HG--
extra : commitid : 61dAWudgCfV
extra : rebase_source : 001849d99264012b6e6965c43af3e2e3ff791f93
2015-06-15 07:46:08 -04: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
Mike Hommey
d4a77c946b Bug 1173681 - Remove winEmbed. r=bsmedberg 2015-06-23 08:54:04 -07:00
Karl Tomlinson
603b1ace02 bug 147419 remove ununsed plexName colorspace resolutionName and downloadFonts r=roc
This was only used to write to and read from otherwise unused preferences.

--HG--
extra : rebase_source : a538569807b8340dae3fe9f0cbfc68334e20ccc9
2015-06-11 09:34:27 +12:00
Karl Tomlinson
a19a1f0d0c bug 147419 remove ununsed nsIPrintSettings::printCommand and print_command prefs r=roc
These was used only to write to and read from each other.

--HG--
extra : rebase_source : ef49678652f829fe23611fb2294a22c3ffd91cf1
2015-06-10 18:10:28 +12:00
Ehsan Akhgari
72aef1875b Bug 1175122 - Add more assertions to the in-tree content policy implementations to ensure that they receive external content policy types; r=baku 2015-06-16 11:38:53 -04:00
Jed Davis
5813d28889 Bug 1170334 - Re-escape entities in nsWebBrowserPersist XML stylesheet handling. r=hsivonen
--HG--
extra : rebase_source : c895f6b5c0cee1f2a35207f25ed8b653ac1cb591
2015-06-10 18:33:00 +02:00
Shelly Lin
f669d48f4d Bug 1138287 - Part 3: Add an option to set screen ID in windowWatcher.openWindow. r=roc
--HG--
extra : histedit_source : 15a046ca47c18feb379cbd51d32c41ec2ef0e1f2
2015-06-05 11:31:55 +08:00
Nicholas Nethercote
e849e6588b Bug 1170416 (part 3) - Remove the PLDHashTable2 typedef. r=froydnj.
--HG--
extra : rebase_source : 9510ea47204fffa163cac43aeaaac6ae1ad80419
2015-05-19 16:46:17 -07:00
Mike Conley
a1d6a9cf9c Bug 1091112 - Proxy opening the print dialog on OS X to the parent. r=mstange
--HG--
extra : commitid : JRKXD6lod1d
extra : rebase_source : b2bfa7c4f750852c0654367708cc4f0a6c607a24
extra : histedit_source : f0da46869101dc23b8d6b654416298951b078ccb
2015-05-06 14:10:21 -04:00
Mike Conley
1a81ee8239 Bug 1091112 - Add OS X-specific members to PrintData IPDL struct. r=jimm
--HG--
extra : commitid : Dr2MlrmVcdg
extra : rebase_source : 886e4fcae950fd46b51aad1b8f5e5fa47bdbeaa6
2015-05-06 14:09:08 -04:00
Mike Conley
1a3aaea52d Bug 1091112 - Serialize nsIPrintSettings options bitfield. r=jimm
--HG--
extra : commitid : Dms9DmIQc6x
extra : rebase_source : 28597e8eb3c7c9e11bf26f611dae21ff96fad968
2015-05-06 15:35:35 -04:00
Nicholas Nethercote
bf1839cd7a Bug 1166598 (part 3) - Use PLDHashTable2 in nsCommandParams. r=froydnj.
--HG--
extra : rebase_source : 8e7e616c93cae653440a6ea2e11cd1c6da2e8821
2015-05-05 18:23:39 -07:00
Gijs Kruitbosch
ca40918bd8 Bug 1166066 - Fix opening new windows from a private window. r=jdm
--HG--
extra : rebase_source : 9a71b987e0cd23145e77f9cb28aa40e14b8e0a52
2015-05-19 16:27:04 +01:00
Andrew McCreight
2512f8de5d Bug 1164049 - Fix some mode lines in embedding/. r=smaug
embedding/browser, embedding/components/commandhandler/, embedding/components/find/, embedding/components/windowwatcher/
2015-05-12 08:30:00 +02:00
Birunthan Mohanathas
4377c8f962 Bug 1130096 - Convert embedding/components/windowwatcher/ to Gecko style. r=mccr8 2015-05-11 12:35:14 -07:00
Birunthan Mohanathas
0582061b47 Bug 1130096 - Convert embedding/components/find/ to Gecko style. r=mccr8 2015-05-11 12:35:14 -07:00
Birunthan Mohanathas
916fc10422 Bug 1130096 - Convert embedding/components/commandhandler/ to Gecko style. r=mccr8 2015-05-11 12:35:14 -07:00
Birunthan Mohanathas
a70a5c37db Bug 1130096 - Convert embedding/browser/ to Gecko style. r=mccr8 2015-05-11 12:35:13 -07:00
Michal Novotny
faa2a67d00 Bug 1156493 - e10s: move .cacheKey to nsICacheInfoChannel so child channels can get/set it, r=jduell 2015-05-10 02:26:39 +02:00
Ryan VanderMeulen
a91513ec8c Merge m-c to b2g-inbound. a=merge 2015-05-01 12:59:30 -04:00
Mike Hommey
924c9eb636 Bug 1134923 - Remove NS_Alloc/NS_Realloc/NS_Free. r=nfroyd
They are kept around for the sake of the standalone glue, which is used
for e.g. webapprt, which doesn't have direct access to jemalloc, and thus
still needs a wrapper to go through the xpcom function list and get to
jemalloc from there.
2015-05-01 09:40:30 +09: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
Andrea Marchesini
085da9302a Bug 1156632 - Remove unused forward class declarations - patch 5 - rdf, parser, layout and something else, r=ehsan 2015-04-22 08:29:22 +02:00
Neil Deakin
894febc41a Bug 1155355, e10s, rewrite and reenable browser tests in layout/xul/test, don't show tooltips during a drag, use system event listeners for tooltips, r=billm 2015-04-21 20:09:14 -04:00
Andrew McCreight
f9e21e33c0 Bug 1155765 - Get rid of gratuitous goto from nsWebBrowserPersist::MakeFilenameFromURI(). r=smaug
--HG--
extra : rebase_source : 8c913af8848f8239fd9bd40a4f045b75c8775115
2015-04-17 15:22:00 +02:00
L. David Baron ext:(%2C%20Ben%20Turner%20%3Cbent.mozilla%40gmail.com%3E)
aa31a08c28 Bug 1152921 - Don't send an uninitialized PrintData over IPC when cancelling print dialog (or failing ShowPrintDialog for other reasons). r=mconley
This fixes a crash in debug builds (due to uninitialized booleans) when
canceling a print dialog.
2015-04-16 19:27:01 -07:00
Ehsan Akhgari
96ba70d288 Remove some unneeded MOZ_IMPLICITs, no bug 2015-04-13 13:45:43 -04:00
Olli Pettay
aad5b35ad2 Bug 936092, initial DnD support for e10s, r=enndeakin,karlt
--HG--
extra : rebase_source : 070a9902f23d8b47e48ac0f972213815f8e4302c
2015-04-08 21:48:11 +03:00
Ryan VanderMeulen
1b034b250f Backed out changesets 33d37539c4ab and 55524bdeb708 (bug 936092) for suspicion of causing e10s test_bug417418.html asserts on Linux.
CLOSED TREE
2015-04-08 13:52:21 -04:00