Wes Kocher
9cd626a6a3
Backed out 4 changesets (bug 1318004
) for xpcshell failures a=backout CLOSED TREE
...
Backed out changeset a3fe53641526 (bug 1318004
)
Backed out changeset a5d1676b6f88 (bug 1318004
)
Backed out changeset b56b37f0f4d7 (bug 1318004
)
Backed out changeset fb5254baf1cb (bug 1318004
)
2016-11-21 16:15:38 -08:00
Sylvestre Ledru
27d6ef91b6
Bug 1318004
- Replace default bodies of special member functions with = default; r=Ehsan
...
MozReview-Commit-ID: 33AOhtFrXS8
--HG--
extra : rebase_source : 6541778fe7d44d9b54441108a03d72f3cc8b91ad
2016-11-16 18:26:14 +01:00
Wes Kocher
e9f743f2af
Backed out 4 changesets (bug 1318004
) for xpcshell failures a=backout
...
Backed out changeset 6995bd33872b (bug 1318004
)
Backed out changeset 9be5c856bc78 (bug 1318004
)
Backed out changeset 365b0b7f289a (bug 1318004
)
Backed out changeset 2f2ebf176eac (bug 1318004
)
2016-11-21 12:23:17 -08:00
Sylvestre Ledru
3eb68aed36
Bug 1318004
- Replace default bodies of special member functions with = default; r=Ehsan
...
MozReview-Commit-ID: 33AOhtFrXS8
--HG--
extra : rebase_source : 6541778fe7d44d9b54441108a03d72f3cc8b91ad
2016-11-16 18:26:14 +01:00
Nicholas Nethercote
b597f8fec1
Bug 1297300 - Add missing checks to GetSpec() calls in toolkit/. r=froydnj.
...
--HG--
extra : rebase_source : afb0e9a0f9f5a033f57ef0881071a21fb623a6e0
2016-09-08 14:32:20 +10: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
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
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
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
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
Benoit Jacob
210693da34
Bug 1028588 - Fix dangerous public destructors in toolkit/ - r=ehsan
2014-06-23 18:40:02 -04:00
Birunthan Mohanathas
5f1fde8824
Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj
2014-04-27 03:06:00 -04:00
Birunthan Mohanathas
1e8f99fd01
Bug 784739 - Switch from NULL to nullptr in miscellaneous directories; r=ehsan
...
--HG--
extra : rebase_source : 8ace754e117a12e2599f5a90030f13a3a7064fed
2013-11-25 14:02:47 -05:00
Jaroslav Kopecký
65c876d0b0
Bug 938014 - Don't assume Glib IO comes with DBus. r=karlt
2013-11-13 08:23:48 -05:00
Nelson BenÃtez León
4ede47ab1e
Bug 417952 - Open Containing Folder doesn't highlight/select file in Nautilus. r=karlt
...
If the File Manager DBus Interface[1] is present, use it to
launch file manager and select the file, otherwise fallback to
existing code for backwards compatibility.
[1] http://www.freedesktop.org/wiki/Specifications/file-manager-interface/
2013-11-12 08:31:33 -05:00
Birunthan Mohanathas
b2658eb131
Bug 784739 - Switch from NULL to nullptr in toolkit/; r=ehsan
2013-10-10 16:36:42 -04:00
Daniel Holbert
7a21cb962a
Bug 829975: Mark classes in nsGIOService.cpp & .h as MOZ_FINAL to fix their Wdelete-non-virtual-dtor build warnings. r=ehsan
2013-01-13 12:28:59 -08:00
Landry Breuil
71fc6e1a14
Bug 805202 - Depend on GIO 2.20 and directly call g_app_info_get_commandline() r=karlt
2012-10-27 00:38:43 +02:00
Randell Jesup
65539ef89c
Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg
2012-09-01 22:35:17 -04:00
Ehsan Akhgari
e368dc9c85
Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
...
This patch was generated by a script. Here's the source of the script for
future reference:
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.h \
-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 PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t
convert PRIntn int
convert PRUintn unsigned
convert PRSize size_t
convert PROffset32 int32_t
convert PROffset64 int64_t
convert PRPtrdiff ptrdiff_t
convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Aryeh Gregor
d0ad5a7d0c
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Gervase Markham
82ff7027aa
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Michael Wu
d2b70213ac
Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
...
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
David Volgyes
4a0fbd62ca
Bug 676180 - Memory allocation / deallocation mismatch in toolkit/system/gnome/nsGIOService.cpp. r=karlt
2011-08-02 21:52:00 -04:00
Hiroyuki Ikezoe
73e20bff7f
Bug 660131 - Call g_type_init in loadProc of kGnomeModule to fix crash on mochitest-plain ; r=karlt
2011-06-01 13:19:16 -04:00
Hiroyuki Ikezoe
29dc2eff25
Bug 656781 - More efficient way to use g_app_info_launch_uris and gnome_vfs_mime_application_launch, r=karlt
...
--HG--
extra : rebase_source : a97c1bdaf1b45d380c3b90d9abb2507c68ab5128
2011-05-12 20:55:00 -07:00
Chris Coulson
7dcfbfecde
Bug 611953 - Part 3: GNOME 3.0 readiness; r=roc,karlt
2011-04-12 16:11:20 -04:00
Chris Coulson
1065d82850
Bug 611953 - Part 2: GNOME 3.0 readiness; r=roc,karlt
2011-04-12 16:10:51 -04:00
jhorak@redhat.com
a5beb085b9
Bug 402892. Support gio as well as gnome-vfs. r=roc
2009-08-25 11:58:11 -07:00