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

7 Коммитов

Автор SHA1 Сообщение Дата
Tom Tromey 831add2756 Bug 1060419 - make nsProfileLock.cpp use Printf.h, r=froydnj
MozReview-Commit-ID: KHhwAQUbfxb

--HG--
extra : rebase_source : 0f1dcf66983abdc622d6396eed724d73bf367b9c
2016-12-15 20:16:27 -07:00
Luca Niccoli de15923558 Bug 977786 - nsProfileLock shouldn't set mHaveLock when locking fails. r=gcp
MozReview-Commit-ID: BYB6IjNuD0k

--HG--
extra : rebase_source : 6d6d6dc6a368a87b69c29f5338a07f69010d5c3b
2016-09-06 09:54:00 +02:00
Birunthan Mohanathas 1cc56207d5 Bug 1227569 - Remove unsupported OpenVMS code. r=mccr8 2015-12-18 15:02:50 +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
J. Ryan Stinnett d12c646ffd Bug 1190965 - Restrict syscalls in nsProfileLock to Linux. r=jld
--HG--
extra : transplant_source : A%03c%0A%CA%92%7D%F5%ACA%D5%DC%7FWS%EF0%ACZI
2015-08-06 16:20:46 -05:00
Andrew Osmond fb1b6957d4 Bug 1043112 - Allow b2g to core dump when signal permits. r=jld 2015-07-08 16:24:58 -03:00
Mike Hommey 0e96104886 Bug 1173681 - Move nsProfileLock related files in toolkit/profile and remove profile/dirserviceprovider. r=bsmedberg
--HG--
rename : profile/dirserviceprovider/ProfileUnlockerWin.cpp => toolkit/profile/ProfileUnlockerWin.cpp
rename : profile/dirserviceprovider/ProfileUnlockerWin.h => toolkit/profile/ProfileUnlockerWin.h
rename : profile/dirserviceprovider/nsProfileLock.cpp => toolkit/profile/nsProfileLock.cpp
rename : profile/dirserviceprovider/nsProfileLock.h => toolkit/profile/nsProfileLock.h
rename : profile/dirserviceprovider/nsProfileStringTypes.h => toolkit/profile/nsProfileStringTypes.h
2015-06-23 08:55:35 -07:00