Commit Graph

123 Commits

Author SHA1 Message Date
Neil Rashbrook
67afb6083f Bug 493711 Part 1b: remove transitive nsVoidArray dependence through nsCOMArray r=sicking 2012-12-21 10:09:50 +00:00
Boris Zbarsky
b7d236590d Bug 815671 part 1. Make RegisterRemoteChrome use InfallibleTArray like its caller does. r=jlebar 2012-11-29 11:14:13 -05:00
Koosha Khajeh Moogahi
e98cd6bf45 Bug 788242: Implement and make use of void versions of NS_ENSURE_* macros; r=ehsan,bsmedberg 2012-09-14 14:30:31 +04:30
Daniel Holbert
f8dfa24152 Bug 789382: Change nsIScriptError methods init() and initWithWindowID() to take nsAString, rather than wchar / PRUnichar*. r=bz sr=bsmedberg 2012-09-09 16:29:12 -07:00
Randell Jesup
29ac5c0b8c Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Rafael Ávila de Espíndola
fa9b9c167a Bug 786148 - s/IPC/ipc/. r=ted.
This makes our builds a bit more reproducible. Without it when processing

#include "IPC/IPCMessageUtils.h

we end up in

#include "ShadowLayers.h"

which in the final XUL translates into the symbol (run nm -a to see it):

 - 00 0000   SOL ../../../../gfx/layers/IPC/ShadowLayers.h

now when some file in gfx/layers/ipc does

#include "ShadowLayres.h"

the file found is the local one with the lowercase directory name and we end up
with

 - 00 0000   SOL ../../../../gfx/layers/ipc/ShadowLayers.h

--HG--
extra : rebase_source : 96c68f6a3448eedaa280039960df911a9c707cac
2012-08-28 08:41:04 -04:00
Ehsan Akhgari
8c296bbcd4 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
Aryeh Gregor
982100775b Bug 780618 - Move all error codes to nsError.h; r=ehsan 2012-07-27 17:03:27 +03:00
Mike Hommey
c1b35e7b2a Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Aryeh Gregor
57c0ad57fb Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Joshua Cranmer
e1cdfe2f05 Bug 773637 - Kill NS_SCRIPTABLE annotations, Part 1: Remove NS_*PARAM annotations. r=ehsan
--HG--
extra : rebase_source : a0b4bc50fece36d9a90fed61431635948bfa33b5
2012-07-06 15:14:07 -05:00
Joshua Cranmer
4a5b32fae2 Bug 702877 - Replace NS_OVERRIDE with MOZ_OVERRIDE. r=ehsan
--HG--
extra : rebase_source : 1843575683c3897f96f3966cbce26140ff1a7d90
2012-07-06 13:15:45 -05:00
Ehsan Akhgari
15506bcd32 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 (chrome/ parts); r=bsmedberg 2012-06-05 22:03:59 -04:00
Geoff Lankow
1214b72681 Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg 2012-06-06 14:08:30 +12:00
Boris Zbarsky
ce0799c16a Bug 617339. Make chrome channels always default to UTF-8. r=bsmedberg 2010-12-22 19:49:52 -05:00
Gervase Markham
87620f5676 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Benjamin Smedberg
2187798a40 Bug 734847 part 2 - treewide changes resulting from the default-infallibility of hashtables; either remove useless result checks, or use the fallible version of APIs, depending on context, r=jlebar
--HG--
extra : rebase_source : 844b008c5167e6ca39a7ba9eeec8b30672938704
2012-05-18 13:30:49 -04:00
Johnny Stenback
e518a3af61 Bug 751905 - about:memory and JS console broken on inbound tip in unpackaged build. r=bz 2012-05-04 21:46:02 -04:00
Geoff Lankow
c4d2ef72bf Bug 718255 - Merge nsIPrefBranch2 with nsIPrefBranch - Part G, remove remaining uses of nsIPrefBranch2; r=bsmedberg 2012-01-18 23:23:28 +13:00
Mike Hommey
9b0673934e Bug 695843 part 9 - Use FileLocations in the component manager. r=bsmedberg 2011-11-08 18:10:51 +01:00
Gregory Szorc
de5e3e4887 Bug 698248 - Remove unused FORCE_USE_PIC variable; r=khuey 2011-11-01 15:45:23 -07: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
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
Masayuki Nakano
b870115f28 Bug 669028 part.6 chrome should use mozilla::LookAndFeel rather than nsILookAndFeel r=benjamin 2011-09-09 11:27:12 +09:00
Marco Castelluccio
1d98c5c4d4 Bug 650494 - Remove nsIXULPrototypeCache; r=khuey,smaug 2011-08-26 20:50:23 +01:00
Ms2ger
36c532ffa2 Bug 670235 - Remove nsIDOMWindowInternal; r=sicking 2011-07-15 12:31:34 +02:00
Michael Wu
7bcc18e13a Bug 654489 - Remove fastload, r=bsmedberg 2011-06-17 15:53:52 -07:00
Michael Wu
cb74e9abab Bug 592943 - (5/5) switch nsXULPrototypeCache to use startupCache instead of fastload, Patch by Benedict Hsieh, r=jst,glandium 2010-08-12 12:42:36 -07:00
Ed Morley
223c46b36b Bug 659621 - Remove EXTRA_DSO_LIBS, EXTRA_DSO_LDOPTS, OS_LIBS from makefiles containing LIBXUL_LIBRARY = 1, now that libxul is always built; r=ted 2011-06-12 03:49:00 -04:00
Vivien Nicolas
eb33c0c63b Bug 653141 - Changing locales should be instant. r=bsmedberg 2011-06-07 12:11:35 -07:00
Chris Leary
329e16e64e Merge mozilla-central to tracemonkey. 2011-04-11 16:54:01 -07:00
Matheus Kerschbaum
93480c6366 Bug 639754 - Remove MOZ_IPC checks since IPC is always built now; r=bsmedberg 2011-04-02 19:14:00 -07:00
Luke Wagner
85b4911849 Bug 647337 - rm script filename prefix and flag stuff (r=mrbkap) 2011-04-07 14:25:32 -07:00
Chris Jones
c26b0a39e0 Bug 576507: Forward the selected locale to content process to satisfy callers that want "some locale". r=jdm sr=bsmedberg a=a 2011-01-11 15:34:31 -06:00
Ehsan Akhgari
ff5d299d65 Bug 615355 - Remove the assertion at the beginning of nsChromeRegistry::Init; r=bsmedberg a=bzbarsky 2010-11-30 16:32:55 -05:00
Ehsan Akhgari
7a4187824b Bug 597296 followup - Move the implementation of nsChromeRegistryChrome::UpdateSelectedLocale out of MOZ_IPC #ifdef to fix no-IPC builds; a=bustage DONTBUILD 2010-11-30 11:16:37 -05:00
Vivien Nicolas
e0789d0593 Bug 597296 - Chrome registry selected locale should not changed immediatly [r=bsmedberg,glandium, a=blocking-fennec] 2010-11-30 15:02:23 +01:00
Ehsan Akhgari
9d67a03078 Merge backout of bug 542999 2010-11-29 20:50:32 -05:00
Ehsan Akhgari
4f1864a23c Backed out changeset 78d7e307a632 (bug 542999) because the patch doesn't solve the problem, and the test is broken 2010-11-29 20:40:42 -05:00
Mike Hommey
6efe4389ae Bug 542999 - Setting general.useragent.locale in user profile should override any intl.locale.matchOS setting. r=bsmedberg 2010-02-22 12:42:38 +13:00
Chris Jones
703c658a1c Bug 562424: Switch IPDL interfaces to infallible TArray. r=bent a=blocking 2010-11-08 20:49:00 -06:00
Mike Kristoffersen
0ca59a9534 Bug 575639 - [e10s] clean up GetBaseURIFromPackage signature. r=jdm, a=dougt 2010-10-13 21:46:05 +02:00
Jae-Seong Lee-Russo
44aec08658 Bug 575638 - "[e10s] clarify gChromeRegistry usage in nsChromeRegistry.cpp" r=dougt a=dougt
--HG--
extra : rebase_source : 4ae932c21dfaad4e3f31b8d3ea2231682c860789
2010-07-23 14:16:00 -04:00
Michael Wu
4eff31a667 Bug 533038 - 1. Generalize manifest reading code and add api for reading manifests from jars, r=bsmedberg a=blocking-beta6 2010-09-08 20:37:11 -07:00
Michael Wu
3f3130f146 Bug 540745 - Remove app-chrome.manifest related code, r=bsmedberg
--HG--
extra : rebase_source : 9cd5849f99902033f357bae6620fb77bf8db3ba9
2010-01-20 11:57:31 -08:00
Olli Pettay
63fd91b1fa Bug 534226 - Remove support for multiple presshells, r=bz, sr=roc 2010-01-07 12:36:11 +02:00
Simon Montagu
09e84c09b6 Bug 224547: Change the organization of the window title bar for RTL XUL windows. Part 1, refactoring, r=enndeakin 2009-12-21 12:21:52 +02:00
Vivien Nicolas
3a3b5233b1 Bug 519468: matchOS is read from default prefs at startup [r=benjamin] 2009-11-02 13:04:45 -05:00
Phil Ringnalda
e62c83fdc6 Bug 495228 - Remove checks for mac MOZ_WIDGET_TOOLKIT, r=ted 2009-09-18 19:59:53 -07:00
Makoto Kato
c59b27822d 2nd parameter of Gestalt() is SInt32, not long. 64-bit fix. b=514996 r=josh 2009-09-18 12:37:22 -04:00