Commit Graph

23 Commits

Author SHA1 Message Date
Nathan Froyd
023e3d5c3f 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
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
Nicholas Nethercote
32c0c2ffa5 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
5ced44bfa4 Bug 1061254 - Fix more bad implicit constructors in misc. components; r=bsmedberg 2014-09-02 18:24:49 -04:00
Benoit Jacob
029e0e533d Bug 1028588 - Fix dangerous public destructors in toolkit/ - r=ehsan 2014-06-23 18:40:02 -04:00
Birunthan Mohanathas
eeb9aaaa94 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
de6084f712 Bug 784739 - Switch from NULL to nullptr in miscellaneous directories; r=ehsan 2013-11-25 14:02:47 -05:00
Jaroslav Kopecký
37c1b1bcb0 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
97c46aca65 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
b902f0393c Bug 784739 - Switch from NULL to nullptr in toolkit/; r=ehsan 2013-10-10 16:36:42 -04:00
Daniel Holbert
9efccb20c6 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
18d02b05e7 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
3b4961b603 Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Ehsan Akhgari
243c878d26 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
8b4a23fc4c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Gervase Markham
cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Michael Wu
0fe7772ece Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones 2011-09-28 23:19:26 -07:00
David Volgyes
b0a1a04576 Bug 676180 - Memory allocation / deallocation mismatch in toolkit/system/gnome/nsGIOService.cpp. r=karlt 2011-08-02 21:52:00 -04:00
Hiroyuki Ikezoe
5d662ad65e 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
8001139218 Bug 656781 - More efficient way to use g_app_info_launch_uris and gnome_vfs_mime_application_launch, r=karlt 2011-05-12 20:55:00 -07:00
Chris Coulson
54607155a5 Bug 611953 - Part 3: GNOME 3.0 readiness; r=roc,karlt 2011-04-12 16:11:20 -04:00
Chris Coulson
8268d6292c Bug 611953 - Part 2: GNOME 3.0 readiness; r=roc,karlt 2011-04-12 16:10:51 -04:00
1092734136 Bug 402892. Support gio as well as gnome-vfs. r=roc 2009-08-25 11:58:11 -07:00