Commit Graph

190 Commits

Author SHA1 Message Date
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
Birunthan Mohanathas
d0e8d77bf2 Bug 1047878 - Flatten profile/dirserviceprovider/{public,src}/ directories. r=bsmedberg
--HG--
rename : profile/dirserviceprovider/src/nsProfileDirServiceProvider.cpp => profile/dirserviceprovider/nsProfileDirServiceProvider.cpp
rename : profile/dirserviceprovider/public/nsProfileDirServiceProvider.h => profile/dirserviceprovider/nsProfileDirServiceProvider.h
rename : profile/dirserviceprovider/src/nsProfileLock.cpp => profile/dirserviceprovider/nsProfileLock.cpp
rename : profile/dirserviceprovider/src/nsProfileLock.h => profile/dirserviceprovider/nsProfileLock.h
rename : profile/dirserviceprovider/src/nsProfileStringTypes.h => profile/dirserviceprovider/nsProfileStringTypes.h
2014-08-07 21:52:04 -07:00
Mike Hommey
bc5d6801bb Bug 1041860 - Avoid setting FINAL_LIBRARY to libraries that further use a FINAL_LIBRARY. r=mshal 2014-07-23 08:37:51 +09:00
Jim Blandy
7e20285e70 Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan
The -*- file variable lines -*- establish per-file settings that Emacs will
pick up. This patch makes the following changes to those lines (and touches
nothing else):

 - Never set the buffer's mode.

   Years ago, Emacs did not have a good JavaScript mode, so it made sense
   to use Java or C++ mode in .js files. However, Emacs has had js-mode for
   years now; it's perfectly serviceable, and is available and enabled by
   default in all major Emacs packagings.

   Selecting a mode in the -*- file variable line -*- is almost always the
   wrong thing to do anyway. It overrides Emacs's default choice, which is
   (now) reasonable; and even worse, it overrides settings the user might
   have made in their '.emacs' file for that file extension. It's only
   useful when there's something specific about that particular file that
   makes a particular mode appropriate.

 - Correctly propagate settings that establish the correct indentation
   level for this file: c-basic-offset and js2-basic-offset should be
   js-indent-level. Whatever value they're given should be preserved;
   different parts of our tree use different indentation styles.

 - We don't use tabs in Mozilla JS code. Always set indent-tabs-mode: nil.
   Remove tab-width: settings, at least in files that don't contain tab
   characters.

 - Remove js2-mode settings that belong in the user's .emacs file, like
   js2-skip-preprocessor-directives.
2014-06-24 22:12:07 -07:00
Benoit Jacob
210693da34 Bug 1028588 - Fix dangerous public destructors in toolkit/ - r=ehsan 2014-06-23 18:40:02 -04:00
Robert O'Callahan
cbb8fdebfc Bug 1015664. Part 1: Remove NS_HIDDEN_() usage. r=bsmedberg 2014-06-03 00:08:21 +12:00
Michael Pruett
e75469398a Bug 431901 - Update preference dialogs to treat backspace and delete equivalently on Mac OS X. r=MattN 2014-05-12 23:11:19 -05:00
Igor Kolupaev
89db128641 Bug 997141 - Remove the recur parameter from nsIFile::Contains(). r=bsmedberg 2014-05-07 23:03:41 +03: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
Neil Rashbrook
604d9a5302 Bug 514280 Stop using nsCOMPtr for concrete types r=bsmedberg
--HG--
extra : rebase_source : f8fb50de9292320eb7589dd28dc566d0f5044da6
2014-03-18 00:23:03 +00:00
Wes Kocher
c879b47079 Backed out 2 changesets (bug 514280) for OSX build bustage on a CLOSED TREE
Backed out changeset 2a015b45d808 (bug 514280)
Backed out changeset a01f97c1ed02 (bug 514280)
2014-03-17 15:19:53 -07:00
Neil Rashbrook
3e8915c4b8 Bug 514280 Stop using nsCOMPtr for concrete types r=bsmedberg
--HG--
extra : rebase_source : eaca8b2925eaffb49e29a617cd72c0d6686e6d9e
2014-03-17 19:07:09 +00:00
Masatoshi Kimura
6d74b7e4b9 Bug 973371 - Clarify a label for a checkbox in the Profile Manager. r=benjamin 2014-02-21 20:10:59 +09:00
Ehsan Akhgari
d91d200572 Bug 969757 - Remove the dead code in our tree which pretends to support OS/2; r=roc,mcmanus,gps,jorendorf,bsmedberg sr=bsmedberg 2014-02-10 17:57:01 -05:00