Mike Hommey
0a771514a8
Bug 1256988 - Replace tests on MOZ_WIDGET_GTK with tests on MOZ_WIDGET_TOOLKIT containing gtk. r=chmanchester
...
But only do that for the AC_SUBST. The AC_DEFINE is still useful.
2016-03-17 06:49:44 +09:00
Masatoshi Kimura
16881de41a
Bug 1250781 - Scroll "Default apps" into the default browser option. r=Gijs
2016-02-25 07:10:35 +09:00
Jared Wein
6b9028c19f
Bug 1041514 - Don't show default browser prompt if a user opts out in the installer. r=jimm
...
MozReview-Commit-ID: Hyr7zGKUAWj
--HG--
extra : rebase_source : f608bc79faec81e00e3e326b5b17a2e7ff48c6f6
2016-02-22 12:34:30 -05:00
Jared Wein
d07d8912ea
Bug 1240892 - Disable default-app hash storage. r=dolske
2016-01-22 10:12:00 +01:00
Jared Wein
b82fbe3699
Bug 1238712 - Move duplicated shell-service code to a shared JSM. r=gijs
...
--HG--
extra : commitid : 5Dm73Qky4vC
extra : rebase_source : 081f9eb19df15bcde305e87dbacea64cfe488249
2016-01-15 12:35:15 -05: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
Jared Wein
915b8a3c39
Bug 1225648 - Remove duplicate skipDefaultBrowser code and fix double-counting error when tracking prompt counts. r=Gijs
2015-11-18 11:37:29 -05: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
583afa0965
Bug 1207245 - part 3 - switch all uses of mozilla::RefPtr<T> to nsRefPtr<T>; r=ehsan
...
This commit was generated using the following script, executed at the
top level of a typical source code checkout.
# Don't modify select files in mfbt/ because it's not worth trying to
# tease out the dependencies currently.
#
# Don't modify anything in media/gmp-clearkey/0.1/ because those files
# use their own RefPtr, defined in their own RefCounted.h.
find . -name '*.cpp' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
grep -v 'mfbt/RefPtr.h' | \
grep -v 'mfbt/nsRefPtr.h' | \
grep -v 'mfbt/RefCounted.h' | \
grep -v 'media/gmp-clearkey/0.1/' | \
xargs perl -p -i -e '
s/mozilla::RefPtr/nsRefPtr/g; # handle declarations in headers
s/\bRefPtr</nsRefPtr</g; # handle local variables in functions
s#mozilla/RefPtr.h#mozilla/nsRefPtr.h#; # handle #includes
s#mfbt/RefPtr.h#mfbt/nsRefPtr.h#; # handle strange #includes
'
# |using mozilla::RefPtr;| is OK; |using nsRefPtr;| is invalid syntax.
find . -name '*.cpp' -o -name '*.mm' | xargs sed -i -e '/using nsRefPtr/d'
# RefPtr.h used |byRef| for dealing with COM-style outparams.
# nsRefPtr.h uses |getter_AddRefs|.
# Fixup that mismatch.
find . -name '*.cpp' -o -name '*.h'| \
xargs perl -p -i -e 's/byRef/getter_AddRefs/g'
2015-10-18 00:40:10 -04:00
Carsten "Tomcat" Book
08997000eb
Backed out 2 changesets (bug 1202902
) to recking bug 1202902
to be able to reopen inbound on a CLOSED TREE
...
Backed out changeset 647025383676 (bug 1202902
)
Backed out changeset d70c7fe532c6 (bug 1202902
)
2015-10-07 14:03:21 +02:00
Carsten "Tomcat" Book
e7ef778c9d
Backed out 1 changesets (bug 1202902
) for causing merge conflicts to mozilla-central
...
Backed out changeset cfc1820361f5 (bug 1202902
)
--HG--
extra : rebase_source : 5d3db72337754bc7ab0ed0c30b2896100411ff92
2015-10-07 12:13:45 +02:00
Shu-yu Guo
d06b6030f6
Bug 1202902
- Scripted fix the world.
2015-10-06 14:00:31 -07:00
Carsten "Tomcat" Book
601264c5c1
Merge mozilla-central to fx-team
2015-09-28 14:19:22 +02:00
Jared Wein
16291276a6
Bug 1208000 - Default browser dialog appears only 2 times. r=Gijs
2015-09-24 14:18:00 +02:00
Chris Peterson
71920a9550
Bug 1207030 - Enable -Wshadow flag in more directories that have no -Wshadow warnings. r=glandium
2015-09-22 21:39:03 -07:00
Tooru Fujisawa
fd86260673
Bug 1207491 - Part 17: Remove use of expression closure from browser/components/shell/. r=Gijs
...
--HG--
extra : commitid : 7kBAyRZ5wWe
extra : rebase_source : 41bb407c1161dbad8c6f53ccee5a3f2499d6937b
2015-09-23 18:36:23 +09:00
Ryan VanderMeulen
e45a2969e5
Merge m-c to inbound. a=merge
2015-08-30 22:12:12 -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
Jared Wein
14a9ae9eba
Bug 1191250 - Defer showing the default browser prompt to 2nd run (and only show it a maximum of three times). r=jimm
2015-08-28 16:30:00 -04:00
Masatoshi Kimura
da9449810b
Bug 1184508 - Remember registry hash for later use on Win8+. r=jimm
2015-07-22 19:31:06 +09:00
Jared Wein
4c76119380
Bug 1183682 - Remove the default browser A/B test for Windows 10 (keep Settings approach). r=gijs
...
--HG--
extra : rebase_source : 8de483780e8e15b441c1fa0023d4afce4eefb91c
2015-07-15 10:36:55 -04:00
Dragana Damjanovic
7987d2203e
Bug 905127 - Part 2 - remove unnecessary nsNetUtil.h includes r=jduell
2015-07-06 07:55:00 +02:00
Emanuel Hoogeveen
7d1e52f2ff
Bug 905127 - Part 1 - Make some functions from nsNetUtil not inline. r=jduell
2015-07-07 04:17:00 +02:00
Brian R. Bondy
2516e68ef2
Bug 791501 - Default Programs UI should select Firefox by default. r=jimm
2015-06-27 12:27:26 +09:00
Jared Wein
afe10708a8
Bug 1176112 - A/B test for default browser setting UI on Windows 10. r=Gijs
...
--HG--
extra : rebase_source : 567e89eb9c618d01e943579ab06d9511dba2dc76
2015-06-20 01:16:05 -04:00
Masatoshi Kimura
734970163c
Bug 1172724 - Use the "openas" verb to select the default HTTP handler on Windows 10. r=jaws, jimm
2015-06-19 08:16:52 +09:00
Chris Peterson
b235eeb965
Bug 1171361 - Fix -Wunreachable-code-break warnings in shell/nsMacShellService.cpp. r=mak
2015-06-03 23:13:07 -07:00
Jared Wein
f3d985358c
Bug 1167294 - Launch the modern Settings app when setting the default browser on Windows 10. r=jimm,Gijs
...
--HG--
extra : rebase_source : 4739b173a9885404a6393f47416904f6f7604891
2015-06-03 11:40:40 -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
bb17128a40
Bug 1139427 - Define file-based metadata in /browser/components. r=gavin
...
Add bugzilla components as metadata to moz.build files for easier bugfiling into the correct component. More information:
https://gecko.readthedocs.org/en/latest/build/buildsystem/mozbuild-symbols.html#bug-component
2015-03-08 20:43:22 +01:00
Hector Zhao
fa633b0513
Bug 1138807 - Treat user cancelling of HTTPHandlerPane as Success. r=jimm
2015-03-03 12:55:50 +08:00
Anish
4063a569ed
Bug 958147 - Choose one of run-if or skip-if and get rid of the other.r=jmaher, mwargers
2015-03-03 08:46:37 -05:00
Chris Peterson
249ac81315
Bug 1110031 - Part 1: Mark more directories as FAIL_ON_WARNINGS. r=gps
2014-12-10 22:56:31 -08:00
Sid Stamm
63f8cd4e13
Bug 704320 - Add referrer policy support for nsIWebBrowserPersist and its consumers. (r=jst)
2014-11-18 08:47:14 -05:00
Michael Ratcliffe
926bf1ca5d
Bug 1090913 - Make mochitests fail when it has 0 passes and 0 fails r=jmaher
2014-11-05 16:00:52 +00:00
Michael Ratcliffe
239fba2d47
Backed out changeset 3500854d791b for test log breakage
2014-11-07 13:32:09 +00:00
Michael Ratcliffe
f827243aac
Bug 1090913 - Make mochitests fail when it has 0 passes and 0 fails r=jmaher
2014-11-05 16:00:52 +00:00
Nicholas Nethercote
c24a781566
Bug 1080302 (part 2) - Convert all mentions of -foo options to --foo options in comments, help messages and error messages. r=glandium.
2014-10-23 17:35:27 -07:00
Gavin Sharp
2e27e73486
Bug 1041516
part 2: reset the "check for default browser" pref to true when setting ourselves as the default browser, r=Gijs
...
--HG--
extra : transplant_source : %91r%EB%A5%9E%ED%15%3A9%EA%A98J%DBQH%DDt%8C%DF
2014-10-13 21:15:43 -07:00
Gavin Sharp
6907736c0d
Bug 1041516
part 1: clean up pref code in shell service, r=bsmedberg
...
--HG--
extra : transplant_source : %B5%B9%11%7D%FE%86%85%7E%A5%10%11%5D%3B%1EZ%A4%B3%EF%0B%D8
2014-10-13 21:10:47 -07:00
Andrew Halberstadt
d292ee73f1
Bug 1066735 - Remove root b2g and android specific xpcshell manifests, r=chmanchester
2014-10-07 18:18:28 -04:00
Nathan Froyd
12c76f15f7
Bug 1042878 - part 2 - move MOZ_CAIRO_CFLAGS et al additions to C*FLAGS into moz.build; r=glandium
2014-07-24 11:55:33 -04:00
Birunthan Mohanathas
a8756989dc
Bug 1038458 - Part 7: Flatten browser/components/shell/{public,src}/ directories. r=mak
...
--HG--
rename : browser/components/shell/src/Makefile.in => browser/components/shell/Makefile.in
rename : browser/components/shell/src/nsGNOMEShellService.cpp => browser/components/shell/nsGNOMEShellService.cpp
rename : browser/components/shell/src/nsGNOMEShellService.h => browser/components/shell/nsGNOMEShellService.h
rename : browser/components/shell/public/nsIMacShellService.idl => browser/components/shell/nsIMacShellService.idl
rename : browser/components/shell/public/nsIShellService.idl => browser/components/shell/nsIShellService.idl
rename : browser/components/shell/public/nsIWindowsShellService.idl => browser/components/shell/nsIWindowsShellService.idl
rename : browser/components/shell/src/nsMacShellService.cpp => browser/components/shell/nsMacShellService.cpp
rename : browser/components/shell/src/nsMacShellService.h => browser/components/shell/nsMacShellService.h
rename : browser/components/shell/src/nsSetDefaultBrowser.js => browser/components/shell/nsSetDefaultBrowser.js
rename : browser/components/shell/src/nsSetDefaultBrowser.manifest => browser/components/shell/nsSetDefaultBrowser.manifest
rename : browser/components/shell/src/nsShellService.h => browser/components/shell/nsShellService.h
rename : browser/components/shell/src/nsWindowsShellService.cpp => browser/components/shell/nsWindowsShellService.cpp
rename : browser/components/shell/src/nsWindowsShellService.h => browser/components/shell/nsWindowsShellService.h
2014-07-26 09:32:14 -07:00
Ehsan Akhgari
2d1955eec6
Bug 1039845 - Give nsWindowsShellService a private destructor; r=bjacob
...
--HG--
extra : rebase_source : 0278ccf497f7db063b78deddd2ccce5a61fed718
2014-07-17 16:43:38 -04:00
Benoit Jacob
9b83c2d49b
Bug 1028588 - Fix dangerous public destructors of Mac-specific reference-counted classes - r=mstange
2014-07-06 11:25:31 -04:00
Robert O'Callahan
2a92625af7
Bug 1015664
. Part 2: Remove some NS_HIDDEN usage. r=bsmedberg
2014-06-03 00:08:24 +12:00
Robert O'Callahan
cbb8fdebfc
Bug 1015664
. Part 1: Remove NS_HIDDEN_() usage. r=bsmedberg
2014-06-03 00:08:21 +12:00
Birunthan Mohanathas
d9e420fc7c
Bug 869836 - Part 12: Use `Assign('c')` instead of `AssignLiteral("c")`. r=ehsan
...
--HG--
extra : rebase_source : a6b15019cee452973dd8bf3112c15e14175855a9
2014-05-26 21:55:08 +03:00
Birunthan Mohanathas
085f40aff8
Bug 869836 - Part 11: Use `Append('c')` instead of `AppendLiteral("c")`. r=ehsan
...
--HG--
extra : rebase_source : 08bcbfd804f1adcab40c7d59fa56deda1f6e0829
2014-05-26 21:54:58 +03:00
Birunthan Mohanathas
aea8617b92
Bug 869836 - Part 7: Use AppendLiteral instead of Append where possible. r=ehsan
2014-05-22 06:48:51 +03:00