Trevor Saunders
2cab0ab3a9
bug 1146027 - more final r=froydnj
2015-03-24 17:51:43 -04:00
Ehsan Akhgari
ea41d8de48
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
4e554d8cf6
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
26a0b56c7a
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
9404ffe849
Bug 1090448 - Add GTK-specific PrintData fields and serialization / deserialization. r=karlt.
2015-03-05 11:17:18 -05:00
Mike Conley
f92aa7411a
Bug 1090439 - PPrinting calls from child to parent via ShowProgress and ShowPrintDialog should not be sync. r=smaug.
2015-03-05 16:58:35 -05:00
Mike Conley
1d92d9cdca
Bug 1088070 - If saving print settings in the content process, proxy to the parent. r=smaug.
2015-03-05 13:12:41 -05:00
Mike Conley
af18784267
Bug 1088070 - Rename nsPrintingPromptServiceProxy to nsPrintingProxy. r=smaug.
2015-03-05 13:12:41 -05:00
Carsten "Tomcat" Book
5cba4d3fc0
Backed out changeset a1c1f919b5b8 (bug 1088070)
2015-03-05 08:54:02 +01:00
Carsten "Tomcat" Book
473f9622e3
Backed out changeset 8e04b9c921ad (bug 1088070)
2015-03-05 08:54:00 +01:00
Mike Conley
0ef9065eac
Bug 1088070 - If saving print settings in the content process, proxy to the parent. r=smaug.
2015-03-02 14:33:53 -05:00
Mike Conley
7e7146b8d3
Bug 1088070 - Rename nsPrintingPromptServiceProxy to nsPrintingProxy. r=smaug.
2015-03-02 14:34:05 -05:00
Wes Kocher
3d6e87de5a
Merge inbound to m-c a=merge CLOSED TREE
2015-03-03 16:46:44 -08:00
Ryan VanderMeulen
4e081ce611
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
7d11316b8b
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
10d620bfe8
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.
2015-02-23 18:01:52 -05:00
Mike Conley
924b7807cb
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.
2015-02-24 18:34:16 -05:00
Wes Kocher
a2b9326899
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
eb2e2c6985
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.
2015-02-23 18:01:52 -05:00
Mike Conley
bdefa342a2
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.
2015-02-23 17:57:25 -05:00
Ryan VanderMeulen
e34c2a01b2
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
1ab028cc84
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
b8f11cf4c8
Merge m-c to inbound. a=merge
2015-02-17 14:27:23 -05:00
Gabriele Svelto
dee44173f4
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
0b4bf774ff
Bug 1129164 - Disable some failing mochitests on mulet. r=bent
2015-02-12 23:51:00 +01:00
Andrea Marchesini
3b8e923142
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
c00b76ce22
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
6b10d5e43e
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
eaea5361d1
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
d5ce3f2620
Bug 1075670 - Make tooltips respect HiDPI displays r=smaug
2015-01-28 16:32:46 -08:00
Nicholas Nethercote
3b0764a330
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.
2015-02-02 14:48:58 -08:00
Carsten "Tomcat" Book
f437ad6523
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
2585c04193
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
1ce96de5ae
Back out changesets 2fcef6b54be7, 2be07829fefc, 66dfe37b8532, df3fcd2be8fd, 0a436bce77a6 (bug 1050035) for causing intermittent crashes and assertion failures.
2015-02-10 14:39:49 -08:00
Nicholas Nethercote
0247de46d8
Bug 1127201 (attempt 2, part 1) - Replace most NS_ABORT_IF_FALSE calls with MOZ_ASSERT. r=Waldo.
2015-02-09 14:34:50 -08:00
Andrew McCreight
e048a7df33
Back out Bug 1127201 (part 2) for various problems.
2015-02-06 15:04:32 -08:00
Robert O'Callahan
0021805640
Bug 1129774. Part 5: Remove aContext parameter from nsIWidget::Create. r=jmathies
2015-02-05 20:35:25 +13:00
Kan-Ru Chen (陳侃如)
4d157a60e2
Bug 1114890 - Use TabParent::GetFrom everywhere. r=billm
2015-02-05 16:47:32 -05:00
Nicholas Nethercote
40ab0270d5
Bug 1127201 (part 2) - Convert all NS_ABORT_IF_FALSE calls to MOZ_ASSERT. r=Waldo.
2015-02-04 20:05:36 -08:00
Ryan VanderMeulen
f90c1c2e5f
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 (陳侃如)
4b95fd5436
Bug 1114890 - Use TabParent::GetFrom everywhere. r=billm
2015-02-05 17:18:22 +08:00
Andrew McCreight
815dc6b626
Bug 1127430, part 3 - Fix even more braces in nsWebBrowser. r=smaug
2015-02-04 15:15:12 -08:00
Andrew McCreight
09f039e29b
Bug 1127430, part 2 - Fix indentation in nsWebBrowser. r=smaug
2015-02-04 15:15:12 -08:00
Andrew McCreight
8eaad80f6f
Bug 1127430, part 1 - Tuck more braces in nsWebBrowser. r=smaug
2015-02-04 15:15:12 -08:00
Nicholas Nethercote
a3bf151ee6
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.
2015-02-02 14:48:58 -08:00
David Zbarsky
520ac2cad8
Bug 1125040: Use LayoutDeviceIntPoint for nsIWidget::WidgetToScreen r=botond
2015-02-04 15:21:03 -05:00
Nicholas Nethercote
c38455902a
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.
2015-01-22 21:06:55 -08:00
Nicholas Nethercote
a7b8cb65b0
Bug 1124920 - Remove PLDHashTable::Operate(). r=froydnj.
2015-01-22 15:43:18 -08:00
Patrick McManus
c870cb3fa4
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
d746138aca
Bug 1121304 (part 2, attempt 2) - Remove PLDHashTableOps::{alloc,free}Table. r=froydnj.
2015-01-14 14:35:56 -08:00