Gian-Carlo Pascutto
2326cba3bf
Bug 977786 - Add tests for nsProfileLock. r=ted
...
MozReview-Commit-ID: 6Cr0EwVwVIq
--HG--
extra : rebase_source : 9e85ddca27685f0fcfbe518884cc05e922f1994f
extra : histedit_source : 6f1d53d79f59ee6a8319e05e5943653b4e026522
2016-09-16 17:31:14 +02: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
Igor
175543fda8
Bug 1293384 - Part 2: Rename Snprintf.h header to Sprintf.h. r=froydnj
2016-08-14 23:43:21 -07:00
Jared Wein
fd84c776c7
Bug 1292042
- Enable the keyword-spacing rule for eslint. Most of this patch was autogenerated by 'eslint --fix'. Files with .xml extension needed to be changed by hand due to limitations of custom plugin. r=markh
...
MozReview-Commit-ID: EMjJ3yWt9Wt
--HG--
extra : rebase_source : 2b8327e5a7cf0bfd190d696ad5fe475f13faa3cc
2016-08-04 03:28:58 -04:00
Tom Tromey
5538d692d3
Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
...
This removes the unnecessary setting of c-basic-offset from all
python-mode files.
This was automatically generated using
perl -pi -e 's/; *c-basic-offset: *[0-9]+//'
... on the affected files.
The bulk of these files are moz.build files but there a few others as
well.
MozReview-Commit-ID: 2pPf3DEiZqx
--HG--
extra : rebase_source : 0a7dcac80b924174a2c429b093791148ea6ac204
2016-07-14 10:16:42 -06:00
Gijs Kruitbosch
939515d3cc
Bug 1265368 - enable resetting non-default profiles, r=MattN
...
MozReview-Commit-ID: KpW9JgghFkn
--HG--
extra : rebase_source : e1a6ce0a05ccd6ef94026c6fdeaf6421d5cffe03
extra : histedit_source : ca0ed957aa68ed495cc2d8897aae3e553dd2ebff%2C8ce1e45de095401a6cc85f912cfebacd384eb989
2016-05-05 21:38:49 +01:00
Ryan VanderMeulen
e5f98fc8f1
Bug 514209 - Make the Linter happy. r=trivial
...
DONTBUILD
2016-03-19 12:08:55 -04:00
Jan Sonntag
d65f8f726d
Bug 514209 - Don't update gProfileRoot in case of bad input. r=jimm
2016-03-19 01:51:00 -04:00
Marco Castelluccio
0abe04ec31
Bug 1250347 - Remove nsToolkitProfileService check that we're running Firefox. r=past
2016-03-10 10:41:19 +00:00
Dave Townsend
0a6414b898
Bug 1245649: Turn on no-trailing-spaces. r=Gijs
...
--HG--
extra : commitid : F2OWKTvXUO4
extra : rebase_source : ec68631342e0edc59d77b6bab1cdc975ad175327
2016-02-03 14:22:33 -08:00
Birunthan Mohanathas
d7371d07d0
Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj
2016-02-02 17:36:30 +02:00
Phil Ringnalda
d381b4bca6
Back out 7 changesets (bug 1235261) for cpptest failures in TestTArray
...
CLOSED TREE
Backed out changeset d66c3f19a210 (bug 1235261)
Backed out changeset 467d945426bb (bug 1235261)
Backed out changeset 32b61df13142 (bug 1235261)
Backed out changeset c50bb8ed4196 (bug 1235261)
Backed out changeset 0ff0fa6fe81f (bug 1235261)
Backed out changeset df70e89669da (bug 1235261)
Backed out changeset 064969357fc9 (bug 1235261)
2016-01-31 10:10:57 -08:00
Birunthan Mohanathas
373593275e
Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj
2016-01-31 17:12:12 +02:00
Andrea Marchesini
d7a94ba559
Bug 1239848 - Revert ProfileManager changes until a better UX/UI is ready, r=ehsan
2016-01-20 09:16:49 +00:00
Mike Hommey
6c9d3ffe68
Bug 1234012 - Do not try to copy files from the non-existing default profile. r=bsmedberg
...
When creating the profile for the first time, we're trying to copy files
that just don't exist, so we just skip that. No code in mozilla-central
or comm-central was using the optional argument to pass a custom default
profile either, so that goes away as well.
2016-01-09 07:30:32 +09:00
Andrea Marchesini
586d29faf7
Bug 1233957 - profile selector should set the focus correctly to the accept button, r=ehsan
2016-01-05 14:48:25 +00:00
Dave Townsend
86f03db916
Bug 1229142: Link browser and toolkit test directory to the shared eslintrc files. r=Standard8
...
--HG--
extra : commitid : CKT2WDkxE4k
extra : rebase_source : 0be50c483317355b1e9af5985d53e85604748432
extra : histedit_source : 65d203f57ebd38b8c130e5db9aaa8ae3f507e7ac
2015-11-30 13:05:00 -08:00
Philip Chee
aa83e1f85f
Bug 1233524 - The Create Profile Wizard says "Click Done ..." when the button is called "Finish" and "Click Finish ..." when the button is called "Done r=jimm
2015-12-23 01:23:47 +08:00
Andrea Marchesini
c49912c8e6
Bug 1233032 - radio input for profile selection, r=ehsan
2015-12-21 08:59:59 +00:00
Birunthan Mohanathas
1cc56207d5
Bug 1227569 - Remove unsupported OpenVMS code. r=mccr8
2015-12-18 15:02:50 +02:00
Haik Aftandilian
1a97b60af0
Bug 1232374
- remove nsAutoArrayPtr usages from toolkit/; r=froydnj
2015-12-17 09:37:47 -08:00
Andrea Marchesini
d4f6a558a6
Bug 1232630 - Rename C and I to Cc and Ci in profileSelection.js, r=ehsan
2015-12-17 15:39:33 +00:00
Andrea Marchesini
84dbf3ea1b
Bug 1233065 - about:profiles in the ProfileManager should be smaller, r=ehsan, f=alice0775
2015-12-17 10:59:37 +00:00
Andrea Marchesini
12a3250b13
Bug 1233007 - about:profiles should support the opening a new profiles, r=bkelly
2015-12-16 14:35:35 +00:00
Andrea Marchesini
59907c214f
Bug 1232629 - Replace ProfileManager with about:profiles, r=ehsan
2015-12-15 14:12:59 +00:00
Dave Townsend
6fcdc1e67d
Bug 1229519: Fix miscellaneous parts of toolkit to pass eslint checks. r=MattN
...
--HG--
extra : commitid : 1iLsb7ZpSpI
extra : rebase_source : ed920934f04e520f5410454ec3930cd5992aa965
2015-12-03 10:02:45 -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
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
Aryeh Gregor
5ae2b55da9
Bug 1179451 - Part 3: Use .get() to assign nsRefPtrs to raw pointers. r=froydnj
...
--HG--
extra : rebase_source : 4db4b0314832fe5cc10c42da87471bd8c8d6c7e3
2015-08-13 15:22:48 +03: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
aebb89442a
Bug 1173681 - Move nsIProfileUnlocker.idl to toolkit/profile and remove profile. r=bsmedberg
...
--HG--
rename : profile/notifications.txt => toolkit/profile/notifications.txt
rename : profile/nsIProfileUnlocker.idl => toolkit/profile/nsIProfileUnlocker.idl
2015-06-23 08:55:40 -07: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
Mike Hommey
ea7750bcb1
Bug 991983 - Define SOURCES as SourcePath. r=gps
2015-05-28 07:34:15 +09:00
Botond Ballo
2e2a504271
Bug 1119980 - Use 'snprintf' instead of 'sprintf' to avoid a warning on Lollipop-based builds. r=froydnj
...
--HG--
extra : source : 7468f9a3aa03520a29e138d4df431f0b5d90967c
2015-05-26 14:33:55 -04:00
Phil Ringnalda
49dd872168
Back out 3 changesets (bug 1119980) for emulator-l bustage
...
CLOSED TREE
Backed out changeset 12ce98475c6e (bug 1119980)
Backed out changeset bdb8d05f8870 (bug 1119980)
Backed out changeset a68a18840492 (bug 1119980)
2015-05-25 18:48:51 -07:00
Botond Ballo
9934d127c1
Bug 1119980 - Use 'snprintf' instead of 'sprintf' to avoid a warning on Lollipop-based builds. r=froydnj
...
--HG--
extra : rebase_source : 4e915a12ba662ed45788238a5f0a45533888bd92
2015-05-25 20:45:17 -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
Sebastian Hengst
394a2dd441
Bug 1143470 - Add BUG_COMPONENT to moz.build files in toolkit and xulrunner. r=gavin
2015-03-15 19:36:24 +01:00
Jonathan Griffin
d1c61bc9b6
Bug 1116187 - Disable failing mochitest-chrome tests for B2G, r=gbrown
2015-02-06 16:30:37 -08:00
Panos Astithas
19d4f7f91d
Bug 1086936 part 1 - Add a UI switch to disable custom profile selection process in Aurora. r=bsmedberg,jaws f=matej,shorlander
...
--HG--
extra : rebase_source : ca599ad502e6975ae02ce9884cc207bf1ac62168
2014-10-27 20:52:20 +02:00
Panos Astithas
06864835f9
When selecting a profile in the Profile Manager, mark it with Default=1 (bug 1089694). r=bsmedberg
...
--HG--
extra : rebase_source : a290ed81fad6b2286321d3d7f8869599a379b6ab
2014-10-27 18:41:09 +02:00
Panos Astithas
a770ad057a
Bug 1024110 - Change Aurora's default profile behavior to use channel-specific profiles. r=bsmedberg f=gavin,markh
2014-09-23 21:49:03 +03:00
Shu-yu Guo
59ccd2fecb
Bug 1001090 - Part 5: Fix errors in tests throughout the tree. (r=robcee,gavin)
2014-09-15 16:30:47 -07:00
Ryan VanderMeulen
f5859a2048
Merge inbound to m-c. a=merge
2014-09-03 16:38:57 -04:00
Carsten "Tomcat" Book
2b2ca4d5bc
Backed out changeset bab6f837fc64 (bug 1060540) for causing regressions
2014-09-03 15:23:44 +02:00
Nathan Froyd
38d720c3fb
Bug 1060540 - declare nsIToolkitProfile and nsIProfileLock builtinclass; r=bsmedberg
2014-08-29 15:17:10 -04:00
Ehsan Akhgari
5bffafdd26
Bug 1061061 - Fix more bad implicit constructors in misc. code; r=bsmedberg
2014-09-02 18:24:24 -04:00
Aaron Klotz
e6a7afaf9b
Bug 286355: nsIProfileUnlocker for Win32; r=bsmedberg
...
--HG--
extra : rebase_source : 523d763bc480a4c1b9076225e86193b61524090a
2014-08-20 16:47:11 -06:00