Граф коммитов

255 Коммитов

Автор SHA1 Сообщение Дата
Kit Cambridge 45d0c0b184 Bug 1233086, Part 2 - Use unified image loading for libnotify alerts. r=karlt
MozReview-Commit-ID: 4gheorRE0q7

--HG--
extra : rebase_source : bd88f0e35c32ef634310c2b92774a790d3c9b7da
2016-06-10 18:37:38 -07:00
SUN Haitao 372169ecdf Bug 1264815 - Add a 'showPersistentNotification' method to nsIAlertService. r=kcambridge 2016-05-12 23:58:18 +08:00
Jonathan Hao a1a0a9bd7d Bug 1280006 - Backout "Bug 1270680 - Part 1: Double-key the image cache by origin attribute." r=tanvi
This reverts commit bb0482fe09fbfad9be89384ec5cb8b6518187379.
2016-06-14 12:43:21 +01:00
Jonathan Hao b7c57a3da1 Bug 1270680 - Part 1: Double-key the image cache by origin attribute. r=jdm,seth 2016-06-01 23:07:00 +02:00
Liang-Heng Chen 1e3f941f78 Bug 1258977 - Part 3: handle special case to follow the test; r=bagder
MozReview-Commit-ID: ImGSoBMwQvx

--HG--
extra : rebase_source : 405e43f404cfabbce26709ab789b33de88df5e0f
2016-05-26 17:48:51 +08:00
Liang-Heng Chen 9e816df3f6 Bug 1258977 - Part 2: add proxy exception tests; r=bagder
MozReview-Commit-ID: HS8Y41TtxvF

--HG--
extra : rebase_source : 5db1ed69a56786e329f2ce9a928f793a51171b3d
2016-05-26 14:48:27 +08:00
Liang-Heng Chen 94297c4fad Bug 1258977 - Part 1: separate match function; r=bagder
MozReview-Commit-ID: J4DVAzI0bZm

--HG--
extra : rebase_source : 0a989b57d440c968f17a339282ca577e6af9fa60
2016-05-26 14:34:51 +08:00
Jonathan Watt de83a13903 Bug 1275266 - Rename imgLoader::Singleton and imgLoader::PBSingleton to something less misleading, and document them. r=tnikkel 2016-05-19 13:31:15 +01:00
Jonathan Watt c707bf7071 Bug 1275101 - Stop using XPCOM services to get the imgLoader in nsAlertsIconListener::StartRequest. r=tnikkel 2016-05-18 10:19:19 +01:00
Chris Peterson 8a9e2d2bd4 Bug 1272513 - Part 2: Remove redundant -Wshadow CXXFLAGS from moz.build files. r=glandium 2016-05-14 00:54:55 -07:00
Liang-Heng Chen 7549baef24 Bug 1233360 - Part 3: add tests for OSX proxy bypass rules checker; r=bagder
MozReview-Commit-ID: 2uqnWxWc3g5

--HG--
extra : rebase_source : a250e7586ea39ef94d7317243f50e2efcc52fe53
2016-05-04 11:32:45 +08:00
Liang-Heng Chen 7017c5668e Bug 1233360 - Part 2: implement bypass rules checker; r=bagder
MozReview-Commit-ID: 7h8eMjkBh1n

--HG--
extra : rebase_source : 05762c5a1729f89a439842945ad3a013d23ef9ad
2016-05-05 11:15:59 +08:00
Liang-Heng Chen fd570b6887 Bug 1233360 - Part 1: Move out OSX bypass rules checker; r=bagder
MozReview-Commit-ID: KSykcVkfUmW

--HG--
extra : rebase_source : 5f11165fcf037522ae93a13aaf072da23dcc467f
2016-05-04 11:30:46 +08:00
Mike Hommey 7f131dbc35 Bug 1256988 - Replace tests on MOZ_ENABLE_GTK with tests on MOZ_WIDGET_TOOLKIT containing gtk. r=chmanchester 2016-03-17 06:49:44 +09:00
Kit Cambridge f0355c41b1 Bug 1227730 - Support closing libnotify alerts. r=karlt,MattN
MozReview-Commit-ID: LR3OiP0miEm

--HG--
extra : rebase_source : 02f7a3d316fd084e71a918caf50d44a7123fc521
extra : amend_source : f4918e853cf0e50a60c151d358de75614b71c52f
2016-02-16 13:27:27 -08:00
Dragana Damjanovic dd.mozilla@gmail.com a5c6f19e0a Bug 1243312 - nsNetCID is missing in toolkit/system/unixproxy/nsLibProxySettings.cpp. r=jduell 2016-01-27 01:47:00 +01:00
David Rajchenbach-Teller 583ca7286d Bug 1224374 - Profiler labels for the top 26-100 chrome hangs;r=BenWa
--HG--
extra : rebase_source : 39e94507c0288863e495322a6899ff009840870d
2016-01-15 11:38:03 +01:00
Sebastian Hengst d8d4a2d1a5 Backed out 2 changesets (bug 1224374) for Windows bustage. r=bustage on a CLOSED TREE
Backed out changeset 5f458e6e4997 (bug 1224374)
Backed out changeset 0dc02cb0b604 (bug 1224374)
2016-01-19 21:30:41 +01:00
David Rajchenbach-Teller 2d53758d08 Bug 1224374 - Profiler labels for the top 26-100 chrome hangs;r=BenWa
--HG--
extra : rebase_source : 51d39d6f88bf58ccb29f5897c3dbbe71007ee842
2016-01-15 11:38:03 +01:00
Kit Cambridge 91f6d2449c Bug 1227300, Part 4 - Implement `showAlert` for the libnotify alerts backend. r=karlt
--HG--
extra : commitid : LTTy50oCXfw
extra : rebase_source : 025b682fad77f853b72d930b0e975e2fa5cf39bc
2015-12-31 12:13:27 -07:00
Haik Aftandilian 1a97b60af0 Bug 1232374 - remove nsAutoArrayPtr usages from toolkit/; r=froydnj 2015-12-17 09:37:47 -08:00
Kit Cambridge c7aea57412 Bug 821291 - Move libmozgnome into libxul. r=glandium,karlt
--HG--
extra : commitid : 99eCKOxuHHi
extra : rebase_source : 7e148e7b3b72ffd4687df5ba342599c55fd41280
2015-11-24 12:16:33 -08:00
Birunthan Mohanathas 9985829ecc Bug 1219392 - Capitalize mozilla::unused to avoid conflicts. r=froydnj 2015-11-02 07:53:26 +02:00
Nathan Froyd 01583602a9 Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout.  The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.

CLOSED TREE makes big refactorings like this a piece of cake.

 # The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
    xargs perl -p -i -e '
 s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
 s/nsRefPtr ?</RefPtr</g;   # handle declarations and variables
'

 # Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h

 # Handle nsRefPtr.h itself, a couple places that define constructors
 # from nsRefPtr, and code generators specially.  We do this here, rather
 # than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
 # things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
     mfbt/nsRefPtr.h \
     xpcom/glue/nsCOMPtr.h \
     xpcom/base/OwningNonNull.h \
     ipc/ipdl/ipdl/lower.py \
     ipc/ipdl/ipdl/builtin.py \
     dom/bindings/Codegen.py \
     python/lldbutils/lldbutils/utils.py

 # In our indiscriminate substitution above, we renamed
 # nsRefPtrGetterAddRefs, the class behind getter_AddRefs.  Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
    xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'

if [ -d .git ]; then
    git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
    hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi

--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Chris Peterson 71920a9550 Bug 1207030 - Enable -Wshadow flag in more directories that have no -Wshadow warnings. r=glandium 2015-09-22 21:39:03 -07:00
Daniel Stenberg ab6f975996 Bug 1179568 - remove toolkit/system/dbus. r=roc
--HG--
extra : rebase_source : 7bc587202c822209942e2c0e8cf1d2574237d2e5
2015-09-07 01:19:00 +02: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
Dragana Damjanovic 7987d2203e Bug 905127 - Part 2 - remove unnecessary nsNetUtil.h includes r=jduell 2015-07-06 07:55:00 +02: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
Ehsan Akhgari 399276d5fc Bug 1153348 - Add an analysis to prohibit operator bools which aren't marked as either explicit or MOZ_IMPLICIT; r=jrmuizel
This is the counterpart to the existing analysis to catch
constructors which aren't marked as either explicit or
MOZ_IMPLICIT.
2015-04-21 21:40:49 -04:00
Nathan Froyd 2b1ae6e2ca Bug 1153267 - part 1 - use smart-pointer .forget() instead of NS_ADDREF+assign; r=ehsan 2015-03-31 10:03:49 -04:00
Seth Fowler ad58feb79d Bug 1148832 - Return early from nsAlertsIconListener::OnLoadComplete if the image has an error. r=baku 2015-04-07 16:44:29 -07: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 Henrie b6bc15079a Bug 1134537 - Delete nsGnomeVFSService. r=nfroyd 2015-02-21 14:49:13 -07:00
Frédéric Wang 3bd556b4ad Bug 467729 - Add a PackageKit XPCOM API. r=karlt 2015-02-16 23:59:00 -05: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
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
Ehsan Akhgari 9cd10b7b4f Bug 1117034 - Mark some overridden functions in the tree as override
--HG--
extra : rebase_source : a37ba6b69c02db90b8f3c440ac2dbca4d80c8bc5
2015-01-26 21:09:59 -05:00
Ehsan Akhgari d080be3549 Backed out changeset 45921e3d9773 (bug 1117034) because of build bustage on a CLOSED TREE 2015-01-26 21:52:40 -05:00
Ehsan Akhgari 56e3b70f4e Bug 1117034 - Mark some overridden functions in the tree as override 2015-01-26 21:14:12 -05:00
Seth Fowler d34d823d05 Bug 1118655 - Use decode-on-draw only, and ignore RequestDecode and the like, when APZ and downscale-during-decode are enabled. r=tn 2015-01-19 15:46:55 -08:00
Chris Peterson 249ac81315 Bug 1110031 - Part 1: Mark more directories as FAIL_ON_WARNINGS. r=gps 2014-12-10 22:56:31 -08:00
Ehsan Akhgari e30c04c40e Bug 1106116 - Load images for notifications triggered from private browsing windows as private; r=jdm 2014-11-28 14:08:29 -05:00
Sid Stamm 55e3ccdad7 Bug 704320 - apply referrer policies to image loads (r=seth) 2014-11-18 08:46:53 -05:00
Seth Fowler a886c715d8 Bug 1098202 (Part 1) - Rename imgINotificationObserver handlers to be consistent with the notifications they handle. r=tn
--HG--
extra : rebase_source : 991d277afba4826ed403b74bbcbb9408b3dac0cc
2014-11-17 14:29:56 -08:00
Martin Stransky a33d4f727b Bug 858919 - Add support for libnotify calls which was removed for new notification API. r=karlt 2014-11-14 04:04:00 +01:00
Seth Fowler 82938e4154 Bug 1084136 (Part 3) - Don't reset image status flags on error. r=tn
--HG--
extra : rebase_source : a14a69a7f8a000be8c66008edf99c6d08a755325
2014-11-06 17:33:57 -08:00
Nicholas Nethercote 1c89a378a9 Bug 1084193 - Remove get_content_type_from_mime_type(), and replace calls to it with calls to g_content_type_from_mime_type(). r=karlt. 2014-10-19 19:40:54 -07:00
Ehsan Akhgari b1b56df2fe Bug 1061254 - Fix more bad implicit constructors in misc. components; r=bsmedberg 2014-09-02 18:24:49 -04:00