Christoph Kerschbaumer
6e08fa5c8c
Bug 1206146 - Use channel->AsyncOpen2() in embedding/components/webbrowserpersist/nsWebBrowserPersist.cpp (r=sicking)
2015-09-19 20:24:39 -07:00
Mike Conley
4b7b981193
Bug 1189554 - Make Saved Passwords dialog resizable on Windows again. r=smaug
...
We were accidentally overwriting chromeFlags with CHROME_DEFAULT, which
we should only do if the caller has provided a features string when
opening a dialog.
--HG--
extra : amend_source : 70a82802aada30253e860c80b172f0a152ee4a00
2015-09-15 16:33:36 -04:00
Carsten "Tomcat" Book
0b2b43ce7c
Backed out 1 changesets (bug 1189554) for suspicion of causing Linux Mn-e10s test failures on a CLOSED TREE
...
Backed out changeset 7f5c88364008 (bug 1189554)
--HG--
extra : rebase_source : 9e63d9b0219b1b59fc4a6f974231c6783c24dc41
2015-09-17 14:40:14 +02:00
Jamie Nicol
a7a276263d
Bug 1200729 - Recompute FrameLayerBuilder item visibility if dirty region changes. r=mwoodrow
...
Make the FrameLayerBuilder remember for what region it has calculated
display item visibility, then recompute the visibility whenever the
dirty region it is passed to DrawPaintedLayer changes.
This means that the caller does not have to know the entire dirty region
that will be drawn for the transaction, but we can still optimise cases
where it knows some of the dirty region in advance.
This fixes a regression where MultiTiledContentClient's low-res display
port would not be painted if a smaller region of its high-res buffer had
already been painted that transaction, since the FrameLayerBuilder
had decided that most of the larger low-res region was invisible.
2015-09-15 14:41:42 +01:00
Mike Conley
b95e1faf4e
Bug 1189554 - Make Saved Passwords dialog resizable on Windows again. r=smaug
...
We were accidentally overwriting chromeFlags with CHROME_DEFAULT, which
we should only do if the caller has provided a features string when
opening a dialog.
--HG--
extra : transplant_source : %A8Q%A4%2C%A8%04%03%A98%F1%93%7C%A9%D3%956%F8g%40w
2015-09-15 16:33:36 -04:00
Nicholas Nethercote
647b520991
Bug 1201135 - Rename pldhash.{h,cpp} to PLDHashTable.{h,cpp}. r=mccr8.
...
--HG--
rename : xpcom/glue/pldhash.cpp => xpcom/glue/PLDHashTable.cpp
rename : xpcom/glue/pldhash.h => xpcom/glue/PLDHashTable.h
extra : rebase_source : 06b9d30db96ed78500fd44d9c0b51609103508a3
2015-09-15 20:49:53 -07:00
Nicholas Nethercote
59683492e5
Bug 1121760 (part 3) - Remove PL_DHashTableRemove(). r=poiru.
...
--HG--
extra : rebase_source : c34d693de4aca45f2ea05c2767c8b1007c89df29
2015-09-14 14:23:24 -07:00
Nicholas Nethercote
479244f7c9
Bug 1121760 (part 2) - Remove PL_DHashTableAdd(). r=poiru.
...
--HG--
extra : rebase_source : 41eb939bfb5c925cba58b1af57abce9a4e5fdb30
2015-09-14 14:23:12 -07:00
Nicholas Nethercote
fcfdd8f54b
Bug 1121760 (part 1) - Remove PL_DHashTableSearch(). r=poiru.
...
--HG--
extra : rebase_source : 770e1f49a451ecbadd778e071b204611e27cf701
2015-05-21 00:34:25 -07:00
Jed Davis
6dc9eb915b
Bug 1202887 - Delay WebBrowserPersist error callbacks caused by IPC ActorDestroy. r=billm
...
The way IPDL glue currently works, it's unsafe to do Send__delete__ on
another actor in that context, and these callbacks can indirectly cause
that; see bug for details.
2015-09-14 11:18:28 -07:00
john
6e2d8c8fe7
Bug 236989 - Ensure persisted subdocuments correctly fixup relative links. r=bzbarsky
...
The URI of the document being serialized must be taken into account within
GetLocalURI on URIData. This method previously returned its path relative to
the document in which it is first visited, resulting in a bug when subdocuments
stored in different locations also linked to it. By passing in mTargetBaseURI
GetLocalURI can ensure it is returning a path relative to the document
currently being serialized.
--HG--
extra : rebase_source : 124f6b065b5b4d5952678666b72a63937532ec12
2015-09-02 23:53:38 -07: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
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
Olli Pettay
efdecf747e
Bug 936092, initial DnD support for e10s, r=enndeakin,karlt
...
--HG--
extra : rebase_source : f0b1b0fa95dfa5fe16c09ebbc38618cf7c96654f
2015-04-08 18:30:03 +03: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
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
Trevor Saunders
d5851ef31c
bug 1146027 - more final r=froydnj
2015-03-24 17:51:43 -04: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
Alex Verstak
d0c9d91dc1
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
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
Mike Conley
7ce830fbd1
Bug 1090448 - Add GTK-specific PrintData fields and serialization / deserialization. r=karlt.
...
--HG--
extra : rebase_source : d4ce821c07419f06fbe4fc68faf59d57552a160c
2015-03-05 11:17:18 -05:00
Mike Conley
050556d853
Bug 1090439 - PPrinting calls from child to parent via ShowProgress and ShowPrintDialog should not be sync. r=smaug.
...
--HG--
extra : rebase_source : 5976ab33f9d1f7a4d2046e266f7fd763567d97ab
2015-03-05 16:58:35 -05:00
Mike Conley
b7d3cf23a9
Bug 1088070 - If saving print settings in the content process, proxy to the parent. r=smaug.
...
--HG--
extra : rebase_source : 1b09d4215f5dd7e1c1618397b17defa912fd9637
2015-03-05 13:12:41 -05:00
Mike Conley
3b00b2594e
Bug 1088070 - Rename nsPrintingPromptServiceProxy to nsPrintingProxy. r=smaug.
...
--HG--
rename : embedding/components/printingui/ipc/nsPrintingPromptServiceProxy.cpp => embedding/components/printingui/ipc/nsPrintingProxy.cpp
rename : embedding/components/printingui/ipc/nsPrintingPromptServiceProxy.h => embedding/components/printingui/ipc/nsPrintingProxy.h
extra : rebase_source : f9322eb935167ac31610e2345ced11d8cdc8295a
2015-03-05 13:12:41 -05:00
Carsten "Tomcat" Book
3239d15532
Backed out changeset a1c1f919b5b8 (bug 1088070)
...
--HG--
rename : embedding/components/printingui/ipc/nsPrintingProxy.cpp => embedding/components/printingui/ipc/nsPrintingPromptServiceProxy.cpp
rename : embedding/components/printingui/ipc/nsPrintingProxy.h => embedding/components/printingui/ipc/nsPrintingPromptServiceProxy.h
2015-03-05 08:54:02 +01:00
Carsten "Tomcat" Book
b9d31e6615
Backed out changeset 8e04b9c921ad (bug 1088070)
2015-03-05 08:54:00 +01:00
Mike Conley
5888c6d369
Bug 1088070 - If saving print settings in the content process, proxy to the parent. r=smaug.
...
--HG--
extra : rebase_source : 7df1c2cdf7f9d3ae1415ae9055a15925b30dfced
2015-03-02 14:33:53 -05:00
Mike Conley
a7e58aee92
Bug 1088070 - Rename nsPrintingPromptServiceProxy to nsPrintingProxy. r=smaug.
...
--HG--
rename : embedding/components/printingui/ipc/nsPrintingPromptServiceProxy.cpp => embedding/components/printingui/ipc/nsPrintingProxy.cpp
rename : embedding/components/printingui/ipc/nsPrintingPromptServiceProxy.h => embedding/components/printingui/ipc/nsPrintingProxy.h
extra : rebase_source : 73d55966d1b1644f24ef3bfc841fc9fa22b42b48
2015-03-02 14:34:05 -05: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
a70c1d23a6
Bug 1075670 - Make tooltips respect HiDPI displays. r=smaug
...
Tooltip math was not HiDPI-ready. Bug is exposed by this patch.
2015-01-28 16:32:46 -08:00
Mike Conley
d5f390bba3
Bug 1134891 - Print progress code paths for OS X should be unreachable. r=trivial.
...
These code paths should never be reached, since nsPrintingPromptService returns
NS_ERROR_NOT_IMPLEMENTED for ShowProgress.
Bug 1135901 has been filed to remove this dead code entirely.
--HG--
extra : rebase_source : be406f9945be781242c287f7690a8fca90463a0f
2015-02-23 18:01:52 -05:00
Mike Conley
9d5fe8c633
Bug 1134891 - Make the print progress dialog for Windows and Linux be opened by the browser window's nsIDOMWindow instead of the content window. r=smaug.
...
--HG--
extra : rebase_source : 3eceb4d6da51864d9873e9e8aabac3719b5fa1fe
2015-02-24 18:34:16 -05:00
Wes Kocher
d57a1f1266
Backed out 2 changesets (bug 1134891) for bc1 orange on a CLOSED TREE
...
Backed out changeset 7b021e23ff21 (bug 1134891)
Backed out changeset ec627a9f91c1 (bug 1134891)
2015-02-24 15:58:25 -08:00
Mike Conley
9d6bfbf6ac
Bug 1134891 - Print progress code paths for OS X should be unreachable. r=trivial.
...
These code paths should never be reached, since nsPrintingPromptService returns
NS_ERROR_NOT_IMPLEMENTED for ShowProgress.
Bug 1135901 has been filed to remove this dead code entirely.
--HG--
extra : rebase_source : bb635c85fa867dc7480e9281404650d4a454ba1d
2015-02-23 18:01:52 -05:00
Mike Conley
4a7e29a359
Bug 1134891 - Make the print progress dialog for Windows and Linux be opened by the browser window's nsIDOMWindow instead of the content window. r=smaug.
...
--HG--
extra : rebase_source : 4166dffa2b9e398dd7f43077dd6c98831822b67e
2015-02-23 17:57:25 -05: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
4a056af5f1
Bug 1075670 - Make tooltips respect HiDPI displays. r=smaug
...
Tooltip math was not HiDPI-ready. Bug is exposed by this patch.
2015-01-28 16:32:46 -08:00
Ryan VanderMeulen
cc5672087d
Merge m-c to inbound. a=merge
2015-02-17 14:27:23 -05: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
Alexandre Lissy
a8674499c4
Bug 1129164 - Disable some failing mochitests on mulet. r=bent
2015-02-12 23:51:00 +01:00
Andrea Marchesini
ef86fe9f3e
Bug 1134280 - Get rid of Tag() - patch 3 - nsContentUtils::IsHTMLBlock should work with nsIContent inste nsIAtom, r=smaug
2015-03-03 11:09:00 +00:00
Andrea Marchesini
983b9d9fa4
Bug 1134280 - Get rid of Tag() - patch 2.13 - Fix all the occurrences, m=smaug, r=surkov
2015-03-03 11:09:00 +00: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
Christoph Kerschbaumer
6c91aec797
Bug 1099296 - Attach LoadInfo to remaining callers of ioService and ProtocolHandlers - in embedding/ (r=bsmedberg)
2015-02-17 10:09:08 -08:00
David Parks
dfabccab89
Bug 1075670 - Make tooltips respect HiDPI displays r=smaug
2015-01-28 16:32:46 -08:00
Nicholas Nethercote
3a7b0a9f57
Bug 1131901 (part 1) - Make PL_DHashTableAdd() infallible by default, and add a fallible alternative. r=froydnj.
...
I kept all the existing PL_DHashTableAdd() calls fallible, in order to be
conservative, except for the ones in nsAtomTable.cpp which already were
followed immediately by an abort on failure.
--HG--
extra : rebase_source : 526d96ab65e4d7d71197b90d086d19fbdd79b7b5
2015-02-02 14:48:58 -08:00
Carsten "Tomcat" Book
4da2cda544
Backed out 6 changesets (bug 1075670) for bustage on a CLOSED TREE
...
Backed out changeset 4d68750b4e28 (bug 1075670)
Backed out changeset 4d34eb58c46d (bug 1075670)
Backed out changeset d3ac4fd82311 (bug 1075670)
Backed out changeset 8b72b1201661 (bug 1075670)
Backed out changeset cd6cf15b27cc (bug 1075670)
Backed out changeset bf710daef92b (bug 1075670)
2015-02-11 16:03:06 +01:00
David Parks
18e4b763a1
Bug 1075670 - [e10s] event.screenX and event.screenY is wrong
...
Tooltip math was not HiDPI-ready. Bug is exposed by this patch.
2015-01-28 16:32:46 -08:00
Nicholas Nethercote
63e3218e4c
Back out changesets 2fcef6b54be7, 2be07829fefc, 66dfe37b8532, df3fcd2be8fd, 0a436bce77a6 (bug 1050035) for causing intermittent crashes and assertion failures.
...
--HG--
extra : rebase_source : eb30be83c3143c6c203585a80a18f180025efaba
2015-02-10 14:39:49 -08:00
Nicholas Nethercote
242708cf72
Bug 1127201 (attempt 2, part 1) - Replace most NS_ABORT_IF_FALSE calls with MOZ_ASSERT. r=Waldo.
...
--HG--
extra : rebase_source : 488e401ff87e31a2074c4108c4df0572d9536667
2015-02-09 14:34:50 -08:00
Andrew McCreight
d3826daa16
Back out Bug 1127201 (part 2) for various problems.
2015-02-06 15:04:32 -08: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
Kan-Ru Chen (陳侃如)
9bdcbebafe
Bug 1114890 - Use TabParent::GetFrom everywhere. r=billm
2015-02-05 16:47:32 -05:00
Nicholas Nethercote
d34f0301b8
Bug 1127201 (part 2) - Convert all NS_ABORT_IF_FALSE calls to MOZ_ASSERT. r=Waldo.
...
--HG--
extra : rebase_source : 99182e70335d2b5ff95f8c528ae992d37294be3a
2015-02-04 20:05:36 -08:00
Ryan VanderMeulen
6048189ffc
Backed out changeset ab7fbaca9fdd (bug 1114890) for being the likely cause of bug 1124046.
2015-02-05 14:35:35 -05:00
Kan-Ru Chen (陳侃如)
0c04d0ee7e
Bug 1114890 - Use TabParent::GetFrom everywhere. r=billm
2015-02-05 17:18:22 +08:00
Andrew McCreight
6c00639ed2
Bug 1127430, part 3 - Fix even more braces in nsWebBrowser. r=smaug
2015-02-04 15:15:12 -08:00
Andrew McCreight
c0fa6504f0
Bug 1127430, part 2 - Fix indentation in nsWebBrowser. r=smaug
2015-02-04 15:15:12 -08:00
Andrew McCreight
f4c131136e
Bug 1127430, part 1 - Tuck more braces in nsWebBrowser. r=smaug
2015-02-04 15:15:12 -08:00
Nicholas Nethercote
b5913e0b3d
Bug 1050035 (part 4) - Make PL_DHashTableAdd() infallible by default, and add a fallible alternative. r=froydnj.
...
I kept all the existing PL_DHashTableAdd() calls fallible, in order to be
conservative, except for the ones in nsAtomTable.cpp which already were
followed immediately by an abort on failure.
--HG--
extra : rebase_source : eeba14d732077ef2e412f4caca852de6b6b85f55
2015-02-02 14:48:58 -08:00
David Zbarsky
c73ec42d2d
Bug 1125040: Use LayoutDeviceIntPoint for nsIWidget::WidgetToScreen r=botond
2015-02-04 15:21:03 -05:00
Nicholas Nethercote
3163cfc2c1
Bug 1124973 (part 2) - Introduce PL_DHashTableSearch(), and replace most PL_DHashTableLookup() calls with it. r=froydnj.
...
It feels safer to use a function with a new name, rather than just changing the
behaviour of the existing function.
For most of these cases the PL_DHashTableLookup() result was checked with
PL_DHASH_ENTRY_IS_{FREE,BUSY} so the conversion was easy. A few of them
preceded that check with a useless null check, but the intent of these was
still easy to determine.
I'll do the trickier ones in subsequent patches.
--HG--
extra : rebase_source : ab37a7a30be563861ded8631771181aacf054fd4
2015-01-22 21:06:55 -08:00
Nicholas Nethercote
48710afc66
Bug 1124920 - Remove PLDHashTable::Operate(). r=froydnj.
...
--HG--
extra : rebase_source : f029d3ca8835232b3c1d4188aa63a0004c1aad4b
2015-01-22 15:43:18 -08:00
Patrick McManus
175115e709
bug 1116867 - make nsIProgressEventSink and nsITransportEventSink safely scriptable r=mayhemer r=bz
...
These scriptable interfaces use uint_64 arguments with sentinel values
of UINT64_MAX. However, UINT64_MAX exceeds MAX_SAFE_INTEGER and cannot
be gatewayed to/from javascript - so they cannot be used
correctly. Change them to use signed 64 bit numbers and -1 as the
sentinnel. C++ implementations ought to be enough to audit as the
special value could never be used correctly in JS anyhow - also
audited OnProgressChange() uses for downstream use of this data.
---
dom/base/nsXMLHttpRequest.cpp | 19 +++++++----
dom/base/nsXMLHttpRequest.h | 10 +++---
dom/plugins/base/nsPluginStreamListenerPeer.cpp | 4 +--
.../webbrowserpersist/nsWebBrowserPersist.cpp | 14 ++++----
image/src/imgLoader.cpp | 4 +--
modules/libjar/nsJARChannel.cpp | 3 +-
netwerk/base/public/nsIProgressEventSink.idl | 8 ++---
netwerk/base/public/nsITransport.idl | 8 ++---
netwerk/base/public/nsNetUtil.h | 24 ++++++++++++++
netwerk/base/src/Dashboard.cpp | 2 +-
netwerk/base/src/nsBaseChannel.cpp | 12 +++----
netwerk/base/src/nsIncrementalDownload.cpp | 4 +--
netwerk/base/src/nsSocketTransport2.cpp | 5 +--
netwerk/base/src/nsStreamTransportService.cpp | 38 +++++++++++++---------
netwerk/base/src/nsTransportUtils.cpp | 12 +++----
netwerk/protocol/file/nsFileChannel.cpp | 8 +++--
netwerk/protocol/ftp/nsFtpConnectionThread.cpp | 4 +--
netwerk/protocol/http/Http2Push.cpp | 2 +-
netwerk/protocol/http/Http2Session.cpp | 2 +-
netwerk/protocol/http/HttpChannelChild.cpp | 31 +++++++++---------
netwerk/protocol/http/HttpChannelChild.h | 6 ++--
netwerk/protocol/http/HttpChannelParent.cpp | 4 +--
netwerk/protocol/http/HttpChannelParent.h | 4 +--
netwerk/protocol/http/NullHttpTransaction.cpp | 2 +-
netwerk/protocol/http/PHttpChannel.ipdl | 2 +-
netwerk/protocol/http/SpdyPush31.cpp | 2 +-
netwerk/protocol/http/SpdySession31.cpp | 2 +-
netwerk/protocol/http/TunnelUtils.cpp | 2 +-
netwerk/protocol/http/nsAHttpTransaction.h | 4 +--
netwerk/protocol/http/nsHttpChannel.cpp | 30 +++++++++++------
netwerk/protocol/http/nsHttpConnection.cpp | 4 +--
netwerk/protocol/http/nsHttpConnectionMgr.cpp | 4 +--
netwerk/protocol/http/nsHttpPipeline.cpp | 4 +--
netwerk/protocol/http/nsHttpPipeline.h | 6 ++--
netwerk/protocol/http/nsHttpResponseHead.cpp | 2 +-
netwerk/protocol/http/nsHttpResponseHead.h | 2 +-
netwerk/protocol/http/nsHttpTransaction.cpp | 32 +++++++++---------
netwerk/protocol/http/nsHttpTransaction.h | 2 +-
netwerk/protocol/wyciwyg/WyciwygChannelChild.cpp | 2 +-
netwerk/protocol/wyciwyg/nsWyciwygChannel.cpp | 3 +-
netwerk/test/TestIncrementalDownload.cpp | 7 ++--
uriloader/base/nsDocLoader.cpp | 14 ++++----
42 files changed, 203 insertions(+), 151 deletions(-)
2015-01-08 14:48:52 -05:00
Nicholas Nethercote
69fe655b04
Bug 1121304 (part 2, attempt 2) - Remove PLDHashTableOps::{alloc,free}Table. r=froydnj.
...
--HG--
extra : rebase_source : bc119bd0d3b6944e8c5a000950e0c4052cb70aef
2015-01-14 14:35:56 -08:00
Phil Ringnalda
e39f0adeca
Backed out 2 changesets (bug 1121304) for consistent b2g hangs in webgl-color-test.html?frame=1&__&preserve&premult&_____
...
Backed out changeset 20651ac19549 (bug 1121304)
Backed out changeset 758afec77c95 (bug 1121304)
2015-01-14 22:02:23 -08:00
Nicholas Nethercote
e9735966fa
Bug 1121304 (part 2) - Remove PLDHashTableOps::{alloc,free}Table. r=froydnj.
2015-01-14 14:35:56 -08:00
Nicholas Nethercote
47221bc7f9
Bug 1120476 (part 4) - Remove PLDHashTableOps::finalize. r=froydnj.
...
--HG--
extra : rebase_source : b14dda8cdd5cd896d1e32950e38b2a9f7da4d99e
2015-01-13 19:02:35 -08:00
Nicholas Nethercote
c7538c9776
Bug 1120476 (part 3) - Remove PLDHashTable::data. r=froydnj.
...
--HG--
extra : rebase_source : 24d10af3dbce3ada5252503bc80bb1a4e31bc1c9
2015-01-13 16:42:13 -08:00
Nicholas Nethercote
699e7b5b3e
Bug 1120476 (part 2) - Avoid using PLDHashTable::data in nsCommandParams. r=froydnj.
...
--HG--
extra : rebase_source : 892170937a41229301be81236d2517f09e20138d
2015-01-13 16:40:47 -08:00
Ehsan Akhgari
5aa084025f
Bug 1119261 - Mark virtual overridden functions as MOZ_OVERRIDE in embedding; r=bsmedberg
2015-01-12 23:26:27 -05:00
Wes Kocher
ff83d4dbc2
Backout 58cb6ed02553 (bug 1120622, bug 1120620, bug 1119068, bug 1119268, bug 1119264, bug 1119261) for b2g build bustage on a CLOSED TREE
2015-01-12 14:48:13 -08:00
Ehsan Akhgari
41d5c33e31
Bug 1119261 - Mark virtual overridden functions as MOZ_OVERRIDE in embedding; r=bsmedberg
2015-01-12 16:35:04 -05:00
Ryan VanderMeulen
b4ff41d68e
Bug 1119818 - Bump various UUIDs that were missed when IDL changes landed. r=jib, r=jdm, r=gavin, r=bz, a=me
2015-01-12 10:44:18 -05:00
Michael Pruett
411a94b05a
Bug 1118024 - Use new PL_DHashTable{Add,Lookup,Remove} functions. r=nfroyd
2015-01-05 20:27:28 -06:00
Ehsan Akhgari
860da94550
Bug 1114999 - Part 2: Apply MOZ_NO_ADDREF_RELEASE_ON_RETURN to all smart pointer arrow operators that can return refcounted objects; r=jrmuizel
2015-01-06 16:30:03 -05:00
Andrew McCreight
2d777fa84c
Bug 1064439, part 16 - Eliminate indirection in nsWebBrowser::mListenerArray. r=jst
...
Incidentally, this fixes a leak in nsWebBrowser::RemoveWebBrowserListener.
2014-12-16 09:18:02 -08:00
Andrew McCreight
5eb1ca5d76
Bug 1064439, part 15 - Convert nsWebBrowser::mListenerArray to an nsAutoPtr. r=jst
2014-12-16 09:18:02 -08:00
Andrew McCreight
fab20cd349
Bug 1064439, part 14 - Turn nsWebBrowser::mStream into an nsRefPtr and eliminate mStreamGuard. r=jst
2014-12-16 09:18:02 -08:00
Andrew McCreight
1f8c51305b
Bug 1064439, part 13 - Use nsAutoPtr for nsWebBrowser::mInitInfo. r=jst
2014-12-16 09:18:02 -08:00
Andrew McCreight
796da5cb52
Bug 1064439, part 12 - Use nullptr in nsWebBrowser. r=jst
2014-12-16 09:18:02 -08:00
Andrew McCreight
edf00d8802
Bug 1064439, part 11 - Make nsWebBrowser::mDocShellTreeOwner into an nsRefPtr. r=jst
2014-12-16 09:18:02 -08:00
Andrew McCreight
f2af6c4451
Bug 1064439, part 10 - Take advantage of infallible alloc in nsWebBrowser. r=jst
2014-12-16 09:18:02 -08:00
Andrew McCreight
1cb173b6b4
Bug 1064439, part 9 - Get rid of a take in nsWebBrowser. r=jst
2014-12-16 09:18:02 -08:00
Andrew McCreight
5ac2e6b958
Bug 1064439, part 8b - Fix if( in nsWebBrowser.cpp. r=jst
2014-12-16 09:18:02 -08:00
Andrew McCreight
5f1a422255
Bug 1064439, part 8a - Get rid of trailing whitespace in nsWebBrowser. r=jst
2014-12-16 09:18:01 -08:00
Andrew McCreight
6161615840
Bug 1064439, part 7 - Surely DefaultTooltipTextProvider doesn't need threadsafe refcounting. r=jst
2014-12-16 09:18:01 -08:00
Andrew McCreight
b47f361ad8
Bug 1064439, part 6 - Get rid of weird C-style cast and QI of DefaultTooltipTextProvider. r=jst
2014-12-16 09:18:01 -08:00
Andrew McCreight
0dae524e74
Bug 1064439, part 5 - Use nsRefPtrs in nsDocShellTreeOwner. r=jst
2014-12-16 09:18:01 -08:00
Andrew McCreight
7e5d17d702
Bug 1064439, part 4 - Use less ADDREF in nsDocShellTreeOwner. r=jst
2014-12-16 09:18:01 -08:00
Andrew McCreight
3b279272a6
Bug 1064439, part 3 - Take advantage of infallible new in nsDocShellTreeOwner. r=jst
2014-12-16 09:18:01 -08:00
Andrew McCreight
b58ae22b4b
Bug 1064439, part 2 - Use nullptr in a few places in nsDocShellTreeOwner. r=jst
2014-12-16 09:18:01 -08:00
Andrew McCreight
669aa09977
Bug 1064439, part 1e - Get rid of more space around parens in nsDocShellTreeOwner. r=jst
2014-12-16 09:18:01 -08:00
Andrew McCreight
78f3159e8a
Bug 1064439, part 1d - Cuddle else in nsDocShellTreeOwner. r=jst
2014-12-16 09:18:01 -08:00
Andrew McCreight
d91383288a
Bug 1064439, part 1c - Get rid of if ( foo ) in nsDocShellTreeOwner. r=jst
2014-12-16 09:18:01 -08:00
Andrew McCreight
f7c0e804ba
Bug 1064439, part 1b - Get rid of if( in nsDocShellTreeOwner. r=jst
2014-12-16 09:18:01 -08:00
Andrew McCreight
81b90b829c
Bug 1064439, part 1a - Remove trailing whitespace from nsDocShellTreeOwner. r=jst
2014-12-16 09:18:01 -08:00
Ehsan Akhgari
ebdf8e7c36
Bug 1109746 - Fix more bad implicit constructors in some random code across the tree
...
--HG--
extra : amend_source : 48ca151cb1ca2193404c65831556051c02093914
2014-12-13 14:17:04 -05:00