Commit Graph

2065 Commits

Author SHA1 Message Date
Jamie Nicol
b2e2b6eebb 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
761d145b03 Bug 1179069 - Remove docshell warnings in embedding. r=bz 2015-07-20 20:16:27 -07:00
Mike Conley
ca88e92da4 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
239e3f030a 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
47ed3a3675 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
fefbb077b8 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
7f696d590e Bug 1179058 - Implement shouldAddToSessionHistory in WebBrowserChrome JS object. r=adw 2015-07-02 11:04:06 -07:00
Emanuel Hoogeveen
e1b03075a7 Bug 905127 - Part 1 - Make some functions from nsNetUtil not inline. r=jduell 2015-07-07 04:17:00 +02:00
Juan Gomez
01df2f691b Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-07-03 18:29:00 -07:00
Ted Mielczarek
4ecfeb7bb5 bug 1172655 - make --enable-application=embedding/ios work (NPOTB) 2015-06-12 08:50:20 -04:00
Ted Mielczarek
9ee8d30886 bug 1172655 - Add GeckoEmbed XCode project (NPOTB) 2015-06-15 07:46:08 -04:00
Nihanth Subramanya
f0487dbc5e Bug 1118285 - The browser.newtab.url preference is abused and should be removed. 2015-05-27 17:35:03 -07:00
Mike Hommey
5b5c486abd Bug 1173681 - Remove winEmbed. r=bsmedberg 2015-06-23 08:54:04 -07:00
Karl Tomlinson
cb35746ae4 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
5666d871f9 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
68df072ddc 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
3dc7579e8b Bug 1170334 - Re-escape entities in nsWebBrowserPersist XML stylesheet handling. r=hsivonen 2015-06-10 18:33:00 +02:00
Shelly Lin
6c64ae3400 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
662f90fecb Bug 1170416 (part 3) - Remove the PLDHashTable2 typedef. r=froydnj. 2015-05-19 16:46:17 -07:00
Mike Conley
3e6536b62e 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
595ae59517 Bug 1091112 - Add OS X-specific members to PrintData IPDL struct. r=jimm 2015-05-06 14:09:08 -04:00
Mike Conley
545612f8e1 Bug 1091112 - Serialize nsIPrintSettings options bitfield. r=jimm 2015-05-06 15:35:35 -04:00
Nicholas Nethercote
580e6bae9c Bug 1166598 (part 3) - Use PLDHashTable2 in nsCommandParams. r=froydnj. 2015-05-05 18:23:39 -07:00
Gijs Kruitbosch
6dca20d534 Bug 1166066 - Fix opening new windows from a private window. r=jdm 2015-05-19 16:27:04 +01:00
Andrew McCreight
db77db347f 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
a38a033c5f Bug 1130096 - Convert embedding/components/windowwatcher/ to Gecko style. r=mccr8 2015-05-11 12:35:14 -07:00
Birunthan Mohanathas
68403abab7 Bug 1130096 - Convert embedding/components/find/ to Gecko style. r=mccr8 2015-05-11 12:35:14 -07:00
Birunthan Mohanathas
4e395818b1 Bug 1130096 - Convert embedding/components/commandhandler/ to Gecko style. r=mccr8 2015-05-11 12:35:14 -07:00
Birunthan Mohanathas
e58fd43593 Bug 1130096 - Convert embedding/browser/ to Gecko style. r=mccr8 2015-05-11 12:35:13 -07:00
Michal Novotny
eaf3e06c3c 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
5b6aaf974d Merge m-c to b2g-inbound. a=merge 2015-05-01 12:59:30 -04:00
Mike Hommey
b848e4bfcf 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
8aa10ba498 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
c77bfc0235 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
81d43820f2 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
76a68d3ce7 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)
88a739db85 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
d2dc8dabdb Remove some unneeded MOZ_IMPLICITs, no bug 2015-04-13 13:45:43 -04:00
Olli Pettay
d7df95fdb8 Bug 936092, initial DnD support for e10s, r=enndeakin,karlt 2015-04-08 21:48:11 +03:00
Ryan VanderMeulen
02c28e6477 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
Olli Pettay
c299942977 Bug 936092, initial DnD support for e10s, r=enndeakin,karlt 2015-04-08 18:30:03 +03:00
David Parks
db29178a22 Bug 1075670 - Make event.screen[XY] work in content processes (r=smaug,kats,tn,joshmoz) 2015-04-01 12:36:41 -07:00
Bill McCloskey
7175c7325e Back out bug 1075670 2015-03-30 20:13:07 -07:00
Andrea Marchesini
94545cbb2e Bug 1148527 - Indentation fix after bug 1145631, r=ehsan 2015-03-27 18:52:19 +00:00
Bill McCloskey
a32ae0f21a Bug 1075670 - Make event.screen[XY] work in content processes (r=smaug,kats,tn,joshmoz) 2015-03-26 14:17:29 -07:00
Trevor Saunders
473f2ceb3c bug 1146027 - more final r=froydnj 2015-03-24 17:51:43 -04:00
Ehsan Akhgari
5cccea6f0f 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
Alex Verstak
0a23af5a89 Bug 1113431 - Expose referrer policy to UI code via Document and nsIWebNavigation. r=jst, sr=bz 2015-01-05 09:42:31 -08:00
Nathan Froyd
7ff6a1d668 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
Mike Conley
b250d71ce7 Bug 1090448 - Add GTK-specific PrintData fields and serialization / deserialization. r=karlt. 2015-03-05 11:17:18 -05:00