Commit Graph

2075 Commits

Author SHA1 Message Date
Mike Conley
cfd5c1fa5a 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.
2015-08-06 10:44:16 -04:00
Jed Davis
d655ba30bd 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
e0088ecd50 Merge fx-team to m-c a=merge 2015-08-13 16:30:54 -07:00
Jed Davis
b6f1bc8dbf 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.
2015-08-13 08:38:19 -07:00
Mike Conley
6ca832b8e4 Bug 1106321 - Serialize DEVMODE down to the content process when printing on Windows. r=jimm 2015-08-06 17:36:54 -04:00
Reuben Morais
a62d29bff6 Bug 1192102 - Remove unused file embedded/android/GeckoSmsManager.java. r=blassey
IGNORE IDL
2015-08-06 18:59:00 -04:00
Jed Davis
68210f3fab 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
9b6236a10a 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
d10ee0730d 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
64c1db5f1a Bug 830801 - Part 3. Remove NOMINMAX define from cpp source. r=mshal 2015-08-03 10:07:20 +09:00
Jamie Nicol
7f8f9c94b5 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
14347536a5 Bug 1179069 - Remove docshell warnings in embedding. r=bz 2015-07-20 20:16:27 -07:00
Mike Conley
caba121b6c 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.
2015-07-10 11:40:19 -04:00
Jed Davis
42278026ee Bug 1179967 - Always rewrite links to absolute in nsWebBrowserPersist instead of side-effecting document. r=jst 2015-07-15 12:15:48 -07:00
Birunthan Mohanathas
e52329c788 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
6b162d8330 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
9801843608 Bug 1179058 - Implement shouldAddToSessionHistory in WebBrowserChrome JS object. r=adw 2015-07-02 11:04:06 -07:00
Emanuel Hoogeveen
31c0c961cd Bug 905127 - Part 1 - Make some functions from nsNetUtil not inline. r=jduell 2015-07-07 04:17:00 +02:00
Juan Gomez
21d73728f3 Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-07-03 18:29:00 -07:00
Ted Mielczarek
2d632f3fe9 bug 1172655 - make --enable-application=embedding/ios work (NPOTB) 2015-06-12 08:50:20 -04:00
Ted Mielczarek
a3da25665b bug 1172655 - Add GeckoEmbed XCode project (NPOTB) 2015-06-15 07:46:08 -04:00
Nihanth Subramanya
4b8e6af4de Bug 1118285 - The browser.newtab.url preference is abused and should be removed. 2015-05-27 17:35:03 -07:00
Mike Hommey
72fc262cbc Bug 1173681 - Remove winEmbed. r=bsmedberg 2015-06-23 08:54:04 -07:00
Karl Tomlinson
91ddd8126d bug 147419 remove ununsed plexName colorspace resolutionName and downloadFonts r=roc
This was only used to write to and read from otherwise unused preferences.
2015-06-11 09:34:27 +12:00
Karl Tomlinson
c2164adc0a bug 147419 remove ununsed nsIPrintSettings::printCommand and print_command prefs r=roc
These was used only to write to and read from each other.
2015-06-10 18:10:28 +12:00
Ehsan Akhgari
e473d353b6 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
210c1eaf4a Bug 1170334 - Re-escape entities in nsWebBrowserPersist XML stylesheet handling. r=hsivonen 2015-06-10 18:33:00 +02:00
Shelly Lin
bb0c9f96a8 Bug 1138287 - Part 3: Add an option to set screen ID in windowWatcher.openWindow. r=roc 2015-06-05 11:31:55 +08:00
Nicholas Nethercote
265569e6b8 Bug 1170416 (part 3) - Remove the PLDHashTable2 typedef. r=froydnj. 2015-05-19 16:46:17 -07:00
Mike Conley
1450367b53 Bug 1091112 - Proxy opening the print dialog on OS X to the parent. r=mstange 2015-05-06 14:10:21 -04:00
Mike Conley
c9cb21f376 Bug 1091112 - Add OS X-specific members to PrintData IPDL struct. r=jimm 2015-05-06 14:09:08 -04:00
Mike Conley
eb9cc06bce Bug 1091112 - Serialize nsIPrintSettings options bitfield. r=jimm 2015-05-06 15:35:35 -04:00
Nicholas Nethercote
ff4aa2cbfd Bug 1166598 (part 3) - Use PLDHashTable2 in nsCommandParams. r=froydnj. 2015-05-05 18:23:39 -07:00
Gijs Kruitbosch
9f1c7b6cae Bug 1166066 - Fix opening new windows from a private window. r=jdm 2015-05-19 16:27:04 +01:00
Andrew McCreight
efdf6f0f99 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
a86dc50fc7 Bug 1130096 - Convert embedding/components/windowwatcher/ to Gecko style. r=mccr8 2015-05-11 12:35:14 -07:00
Birunthan Mohanathas
f7470b7f2c Bug 1130096 - Convert embedding/components/find/ to Gecko style. r=mccr8 2015-05-11 12:35:14 -07:00
Birunthan Mohanathas
6705186560 Bug 1130096 - Convert embedding/components/commandhandler/ to Gecko style. r=mccr8 2015-05-11 12:35:14 -07:00
Birunthan Mohanathas
1956a8969b Bug 1130096 - Convert embedding/browser/ to Gecko style. r=mccr8 2015-05-11 12:35:13 -07:00
Michal Novotny
abaaa8071c 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
6ffda2e313 Merge m-c to b2g-inbound. a=merge 2015-05-01 12:59:30 -04:00
Mike Hommey
b673a97a25 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
173e809a66 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
b75af49c46 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
124eaea6e3 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
ced3d98b22 Bug 1155765 - Get rid of gratuitous goto from nsWebBrowserPersist::MakeFilenameFromURI(). r=smaug 2015-04-17 15:22:00 +02:00
L. David Baron ext:(%2C%20Ben%20Turner%20%3Cbent.mozilla%40gmail.com%3E)
1c201d6130 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
4879d10f8a Remove some unneeded MOZ_IMPLICITs, no bug 2015-04-13 13:45:43 -04:00
Olli Pettay
a369ea3eeb Bug 936092, initial DnD support for e10s, r=enndeakin,karlt 2015-04-08 21:48:11 +03:00
Ryan VanderMeulen
98d2277171 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