Commit Graph

117 Commits

Author SHA1 Message Date
Randell Jesup
eedf93a21d Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Ehsan Akhgari
0fd9123eac 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
Mike Hommey
6173fa297f Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Brian R. Bondy
51839a9bea Bug 770911 - Remove all prefetch clearing code. r=taras. 2012-08-02 10:50:29 -04:00
Aryeh Gregor
e806eeab4f Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Ehsan Akhgari
8211166c85 Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (gnome parts); blanket-r=bzbarsky
--HG--
extra : rebase_source : 54d5440012e3c8b1c2f84c176bf02e5f8a0ed604
2012-07-23 17:24:03 -04:00
Brian R. Bondy
f163882abc Bug 770899 - Prefetch clearing should be repurposed to delete 0 sized read only .pf files only. r=taras 2012-07-09 19:00:03 -04:00
Brian R. Bondy
f5b8d53e01 Bug 773105 - r=rstrong 2012-07-11 21:48:20 -04:00
Nathan Froyd
a7eb97f896 Bug 370750 - consolidate mochitest files installation; r=glandium
With assistance on the patch from Ms2ger, Waldo, and Mossop.
2012-07-03 16:49:02 -04:00
Brian R. Bondy
182be556b1 Bug 770883 - Disable functionality for clearing prefetch. r=taras 2012-07-06 07:41:41 -04:00
David Zbarsky
ae718ee1c0 Bug 763350 - Clean up some includes in content/ and dom/ r=smaug 2012-07-01 16:45:59 -07:00
Brian R. Bondy
3717929dc5 Bug 758463 - Windows XP does not clear prefetch on updates. r=jimm 2012-06-15 10:37:55 -04:00
Brian R. Bondy
675334cbbb Bug 764515 - When setting default browser in Windows 8, should also set non http defaults. r=jimm 2012-06-14 22:19:39 -04:00
Brian R. Bondy
c81adf71f0 Bug 760680 - Update shell integration default browser check for Windows 8. r=jimm 2012-06-08 09:19:01 -04:00
Geoff Lankow
00f3a215c9 Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg 2012-06-06 14:08:30 +12:00
Brian R. Bondy
4daa036624 Bug 756846 - Increase timeout to 3 minutes for prefetch clearing. r=rstrong 2012-05-27 22:40:48 -04:00
Brian R. Bondy
4671436044 Bug 692255 - Get rid of prefetch files on Windows for faster startup. r=rstrong 2012-05-27 22:40:48 -04:00
Jim Mathies
b02ab82aae Bug 732124 - Fix for crt link errors with VC11 - build glue using both the static and the dynamic runtime lib, and link accordingly for various components. r=ted 2012-05-21 16:31:03 -05:00
Gervase Markham
ca171eec44 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Wolfgang Rosenauer
b00df78bbd Bug 526717 - remove non-working "Set as desktop background" from the UI for unsupported desktops. r=gavin 2012-04-02 22:43:12 +02:00
Jacek Caban
169dec7116 Bug 739919 - browser/components/build fails to link on mingw r=jimm 2012-03-30 13:33:06 +02:00
Robert Strong
81a7bfd672 Bug 491947 - Disable DDE shell integration. r=jmathies 2012-03-26 12:45:29 -07:00
Mark Capella
0af24742c6 Bug 721496 - Remove MOZ_WINSDK_TARGETVER ifdefs for pre-Windows 7 SDKs. r=jimm 2012-02-23 01:33:19 +01:00
Panagiotis Koutsourakis
791aa57b19 Bug 702388 - Convert Makefiles to use |TEST_DIRS += foo| r=khuey
Files named Makefile.in containing the expression

DIRS += <foo>
or
DIRS = <foo>

inside the conditional expression

ifdef ENABLE_TESTS
...
endif

are changed to

TEST_DIRS += tests

outside any conditional expression.

The files

./layout/Makefile.in
./layout/Makefile.in
./layout/style/Makefile.in
./rdf/Makefile.in
./security/manager/Makefile.in
./content/Makefile.in
./content/smil/Makefile.in
./content/xul/templates/Makefile.in
./content/xul/content/Makefile.in
./content/base/Makefile.in
./content/media/Makefile.in
./parser/htmlparser/Makefile.in
./dom/sms/Makefile.in
./js/jsd/Makefile.in
./js/xpconnect/Makefile.in
./widget/Makefile.in
./widget/windows/Makefile.in
./Makefile.in
./startupcache/Makefile.in
./storage/Makefile.in
./gfx/Makefile.in
./intl/strres/Makefile.in
./intl/uconv/Makefile.in
./intl/unicharutil/Makefile.in
./intl/lwbrk/Makefile.in
./embedding/Makefile.in
./modules/libjar/Makefile.in
./modules/libpref/Makefile.in
./build/Makefile.in
./build/win32/Makefile.in
./xpcom/Makefile.in
./extensions/spellcheck/hunspell/Makefile.in
./extensions/cookie/Makefile.in
./netwerk/Makefile.in
./netwerk/streamconv/Makefile.in
./editor/txmgr/Makefile.in
./toolkit/mozapps/shared/Makefile.in
./toolkit/mozapps/update/Makefile.in
./toolkit/library/Makefile.in
./toolkit/library/Makefile.in
./toolkit/crashreporter/Makefile.in
./toolkit/components/perf/Makefile.in
./toolkit/components/perf/Makefile.in
./toolkit/components/feeds/Makefile.in
./toolkit/components/url-classifier/Makefile.in

contain the string

ifdef ENABLE_TESTS

but have some other statement inside (e.g. TOOL_DIRS += <foo> etc) and
they remain unchanged by this patch.
2012-02-04 17:32:24 +00:00
Ian Moody
f3237508ab Bug 662324 - Add "Fill" and "Fit" position support for "Set As Desktop Background...". r=gavin 2012-02-01 11:37:55 +01:00
Gavin Sharp
dbdfb98cce Bug 719538: make nsWindowsShellService use nsIWindowsRegKey, r=jmathies 2012-01-19 11:44:27 -08:00
Karl Tomlinson
132cd0add8 b=716424 remove unused string kDocumentIconPath r=roc
--HG--
extra : transplant_source : %A6%C1%DE%A1%D9%28%7E9%00J%BEB%95/q%3FL%B0_%0C
2012-01-09 17:58:42 +13:00
Dão Gottwald
e3b933dd20 Bug 713829 - Remove unused brandFullName string in nsGNOMEShellService::SetDefaultBrowser. r=karlt 2011-12-29 12:33:39 +01:00
Makoto Kato
dd414b71f3 Bug 693227 - Remove nsIWindowsShellService.unreadMailCount. r=jimm 2011-11-14 05:56:03 +01:00
Marco Bonardo
58bfb85dcd Merge mozilla-central and mozilla-inbound 2011-11-11 11:09:58 +01:00
Ed Morley
24695badf6 Merge m-c to b-s. 2011-11-08 23:18:09 +00:00
Gregory Szorc
f9737cefa1 Bug 698248 - Remove unused FORCE_USE_PIC variable; r=khuey 2011-11-01 15:45:23 -07:00
Ed Morley
6a998be2c5 Backout 4997c6f8b24d (bug 616542) for causing locally run mochitest-browser-chrome test runs to fail 2011-11-05 18:35:59 +00:00
Rail Aliiev
364e83c545 Bug 616542 - Shorten file path length of mochitest; r=ted 2011-11-04 21:13:42 +00:00
Jim Mathies
d430cb4c02 Bug 577867 - Update installer to use new city hash taskbar registration ids. r=rstrong 2011-11-03 09:39:51 -05:00
Oonishi Atsushi
ebc58fb880 Bug 311007 - Add aFlags arg to onLocationChange(...), to distinguish between same-document and different-document. r=smaug, sr=bzbarsky 2011-11-10 15:01:11 +01:00
Olli Pettay
e5b7e8ee46 Bug 682420 - Rename nsINode::GetOwnerDoc to nsINode::OwnerDoc, part 2, r=jst
--HG--
extra : rebase_source : 53dc2ec386f6e4147587e6be3c53d297ad71d57a
2011-10-18 14:19:44 +03:00
Olli Pettay
a86b1a4d43 Bug 682420 - Rename nsINode::GetOwnerDoc to nsINode::OwnerDoc, part 1, r=jst
--HG--
extra : rebase_source : baf1a25cdea68d499a7673fdf96e27b5a12dc83c
2011-10-18 13:53:36 +03:00
Ehsan Akhgari
2a602a5685 Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Jeff Walden
b7753477cf Bug 693469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. (Exceptions: assigning to static initializers, use in static assertions, as template parameters, etc. These will go away when the relevant compilers have C++11 constexpr support.) r=cjones
--HG--
extra : rebase_source : b4bae9a0f85abf2feb828609b50e756916b99a6f
2011-10-10 22:50:08 -07:00
Brian R. Bondy
95f8cb6c2f Bug 693110 - crash fix for nsWindowsShellService::GetShouldCheckDefaultBrowser. r=jimm 2011-10-13 10:16:45 -07:00
Jeff Walden
eb2cb918a4 Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail 2011-10-12 12:21:53 -07:00
Jeff Walden
77ebbde4ab Bug 639469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. r=cjones
--HG--
extra : rebase_source : 860a8271bf7e51cde358f2a4185c410de1fc2960
2011-10-10 22:50:08 -07:00
Michael Wu
d8e503c38b Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Michael Wu
990540dee3 Bug 676188 - Misc misuses of PRBool caught by the compiler, r=jimm,jst,bz,dougt,roc,mak 2011-08-30 11:55:14 -07:00
Dão Gottwald
4e4ac318f3 Bug 658738 - remove event listeners in browser chrome tests 2011-06-07 16:45:26 +02:00
Joel Maher
6993636556 Bug 616999. Xpcshell manifest support; manifest files. r=ted, a=test-only 2011-05-20 11:54:01 -04:00
Chris Coulson ext:(%20and%20jhorak%40redhat.com)
3d45b28f5a b=611953 Port desktop background settings to GSettings r=karlt
--HG--
extra : rebase_source : 0c573c2b50b6766367ecf37d9688ce192ee223e1
2011-05-12 20:15:16 +12:00
Ed Morley
dc522a2396 Bug 651622 - Remove WinCE code from browser/* r=dolske 2011-04-22 01:14:59 +02:00
Chris Coulson
6b646698e9 Bug 611953 - Part 3: GNOME 3.0 readiness; r=roc,karlt 2011-04-12 16:11:20 -04:00