Gavin Sharp
7fa38c80c4
backout changeset ce8fbd7d222e from bug 455381 to fix windows unit test bustage
2008-12-03 18:49:54 -05:00
Benjamin Smedberg
be64754c95
When operator new is used on a class with no constructor it generates an AGGR_INIT_EXPR, not a CALL_EXPR... with testcase. NPODB, static-checking only.
2008-12-03 11:49:54 -05:00
Benjamin Smedberg
4c8620d49e
I switched the stack checker to emit warnings instead of errors. Update the testcases expected results to match.
2008-12-03 11:49:54 -05:00
Brad Lassey
d08b2bd837
Bug 455381 - WinCE XPCOM Explicit Unicode API Calls, Wide Char CheckVersion Function nsCommonProcess changes r=bsmedberg
2008-12-03 08:41:12 -05:00
Brad Lassey
418f5366f7
Bug 455381 - WinCE XPCOM Explicit Unicode API Calls, Wide Char CheckVersion Function r=bsmedberg
2008-12-03 08:41:12 -05:00
Olli Pettay
91e13e4046
Trying to fix random orange, backing out Bug 463289,
2008-12-03 15:26:59 +02:00
Benjamin Smedberg
baa60e6034
Merge bug 466492, bug 466486, bug 463289, bug 442012, and bug 463420
2008-12-02 14:08:12 -05:00
Brad Lassey
dff03b246f
Bug 461859 - windows mobile minor cleanup of xpcom r=bsmedberg
2008-12-03 08:42:03 -05:00
Benjamin Smedberg
ac9c2a0930
Change the stack-class analysis to a warning instead of an error, at least temporarily: the analysis was buggy when originally landed, and there are some heap-allocated autostrings outstanding through the tree.
2008-12-01 13:59:58 -05:00
Josh Aas
00ff40c300
comment and whitespace cleanup for Mac OS X filesystem code. no bug.
2008-11-28 13:37:40 -05:00
Justin Wood
7d5b5e0578
Bug 463824, Introduce GLOBAL_DEPS to build system
...
r=ted, a1.9.1=beltzner [js bits rs=sdwilsh]
2008-11-27 18:26:44 -08:00
Shawn Wilsher
bb525b1207
Backed out changeset 87f6ae0c4324 (bug 435474) for orange.
2008-11-27 13:15:18 -08:00
Justin Wood
9d391015e1
Bug 463824, Introduce GLOBAL_DEPS to build system
...
r=ted, a1.9.1=beltzner
2008-11-27 12:27:41 -08:00
Benjamin Smedberg
37bb4d2958
Bug 463289 - nsNativeModuleLoader doesn't protect its internal data structures, and is accessed on multiple threads (symptom is RECURSION_LEVEL assertions in pldhash.c). This patch is the simple-but-slow path: proxy all non-main-thread requests to the main thread. This is probably sufficient because asking for modules is a relatively rare activity: the component manager caches the factory objects after a lookup, r=brendan
2008-11-26 14:39:36 -05:00
Benjamin Smedberg
d9727afb44
Bug 442012 - Allocating more than 2GB of memory in mozilla is never a good idea. On 64-bit systems PRSize and size_t are 64-bit and so truncation from PRSize to PRUint32 could cause weird behavior errors. Prevent these huge allocations. r=wtc sr=dveditz
2008-11-26 14:38:53 -05:00
Daniel Veditz
87eae8b89c
bug 464998 - r+sr=bsmedberg, a=beltzner
2008-11-19 11:55:59 -05:00
Jim Blandy
5f8373a321
Bug 462451: Don't be confused by .deps dirs in the source tree. r=bsmedberg
...
$(MDDEPDIR) needs to be created in the build tree, but if make rules
list $(MDDEPDIR) as a dependency, then the VPATH search will tend to
find dependency directories in source trees if the source tree has
been configured in the past. So use $(CURDIR)/$(MDDEPDIR) instead.
Some directory Makefiles have been adding $(MDDEPDIR) to MAKE_DIRS and
GARBAGE_DIRS explicitly, since they're not setting any of the
variables that would cause config/rules.mk to create $(MDDEPDIR)
automatically. Those makefiles would have to use the $(CURDIR) trick
to defeat the VPATH search, too. Instead, have rules.mk check an
additional variable NEED_MDDEPDIRS, and let the makefiles set that;
this keeps the magic in one place.
2008-11-10 12:55:46 -08:00
Karl Tomlinson
a843f16cb7
b=461087 provide templates for automatically-releasing handles to foreign resources, r=bsmedberg
2008-11-06 11:13:37 +13:00
Phil Ringnalda
538c9fb42a
Bug 461888 - Remove unused PACKAGE_FILE and PACKAGE_VARS and .pkg files, mozilla-central part, r=bsmedberg
2008-11-03 19:46:28 -08:00
Peter Van der Beken
d30dca0b1b
Fix for bug 457897 (Remove QI on 'this' object when calling from JS to C++). Patch by jorendorff and me, r/sr=jst.
2008-11-03 11:31:47 +01:00
Walter Meinl
fbb9710ba4
Bug 454097 - [OS/2] get rid of VisualAge in configures; <nsFileSpecOS2.cpp> leftover; r=mozilla
2008-11-02 19:02:25 +01:00
Dave Townsend
82da6767f5
Bug 455906: Support severities for blocklist entries. r=robstrong, r=jst
...
--HG--
rename : toolkit/mozapps/extensions/content/list.xul => toolkit/mozapps/extensions/content/blocklist.xul
rename : toolkit/mozapps/extensions/public/nsIBlocklistService.idl => xpcom/system/nsIBlocklistService.idl
2008-11-02 12:13:48 +00:00
Dave Townsend
5fe4198f76
Backed out changeset bbccbf2c7456
2008-11-02 03:27:18 +00:00
Dave Townsend
ebb5261581
Bug 455906: Support severities for blocklist entries. r=robstrong, r=jst
...
--HG--
rename : toolkit/mozapps/extensions/content/list.xul => toolkit/mozapps/extensions/content/blocklist.xul
rename : toolkit/mozapps/extensions/public/nsIBlocklistService.idl => xpcom/system/nsIBlocklistService.idl
2008-11-02 01:34:45 +00:00
Dave Townsend
3212e47122
Bug 461594: Interfaces changed without iid updates. r=josh, r=jst
2008-10-31 10:31:43 +00:00
Steve Snyder
eca46b0128
Bug 410509 - Set 128-bit alignment for stack in x86, r=bsmedberg
2008-10-30 10:08:42 -07:00
Josh Aas
6500879b56
back out changeset 47259b642835, b=456662
2008-10-28 17:00:32 -07:00
Josh Aas
d1b2a835f0
bug 456662 bustage fix, remove reference to MoreFiles
2008-10-28 16:10:09 -07:00
Josh Aas
7557171094
Optimizations and 64-bit work for Mac OS X filesystem code. b=456662 r=smichaud sr=dougt
2008-10-28 12:15:56 -07:00
Dave Townsend
e7464594f8
Bug 461770: Fix line numbers for methods and attributes and other miscellaneous bits in the idl parser. r=bsmedberg
2008-10-28 09:04:41 +00:00
Daniel Veditz
3ab8ffe9cb
bug 455987 crash fix, r/sr=bsmedberg
2008-10-24 16:15:33 -07:00
Benjamin Smedberg
799d2cf3af
Bug 460999 - Generate inheritance graphs for the base of the string hierarchy and upload them to MDC with image maps r=jorendorff
2008-10-24 16:29:33 -04:00
Jason Orendorff
d3d93eccb7
Bug 460865 - Read barrier for cx->fp. r=mrbkap, r=dmandelin.
...
--HG--
extra : rebase_source : 19963188b2f9f96336ce6ca28dbaefccf3a639b7
2008-12-09 10:38:32 -06:00
Dmitry Potapov
4058fd389c
Bug 412610 - "MAXPATHLEN too small for glibc's realpath()" (define MAXPATHLEN as PATH_MAX when PATH_MAX is available) [r=bsmedberg]
2008-10-20 22:55:57 -05:00
Mike Hommey
8d2746885b
Bug 435088 - "Check .autoreg in the GRE directory, too" [r=bsmedberg]
2008-10-20 22:23:45 -05:00
Mike Hommey
1795f7f20a
Bug 434503 - "m68k xptcstubs/xptcinvoke fail to build on trunk" [r=bsmedberg]
2008-10-20 22:22:27 -05:00
Mike Hommey
38fe8a10f1
Bug 258429 - "Crash at startup on mips" [sr=bsmedberg]
2008-10-20 21:31:13 -05:00
Serge Gautherie
cf5294d696
Bug 457046 - Decide what to do with <TestPipes.cpp> |#if 0|'ed code; (Cv1) Remove obsolete |#if 0| code; r=benjamin
2008-10-20 19:24:43 +02:00
Brad Lassey
791430bafe
Bug 458252: local file paths are wrong on windows mobile r=dougt sr=bsmedberg
2008-10-20 13:03:20 -04:00
Walter Meinl
2d09f092a9
Bug 454097 - [OS/2] get rid of VisualAge in configures; m-c part; r=mozilla
2008-10-11 03:01:28 +02:00
Mike Hommey
32b0e12023
Bug 440506 - Add a globally shared location for plugins; r=joshmoz sr=jst
2008-10-10 17:54:33 +02:00
Arpad Borsos
c72ef7d248
Bug 456388 - Remove PR_STATIC_CALLBACK and PR_CALLBACK(_DECL) from the tree; r+sr=brendan
2008-10-10 17:04:34 +02:00
Zack Weinberg
1294203cbd
Bug 459158 - XPT files contain wasted space when written on a machine with 64-bit pointers; r=benjamin
2008-10-10 16:53:05 +02:00
Ben Turner
ea7747e94a
Backed out changeset 2bbdbe2127d3 due to hanging unit tests.
2008-10-09 12:23:22 -07:00
Josh Aas
b6b1977117
Get rid of flawed Windows stat cache. b=456603 r=smichaud sr=dougt
2008-10-09 13:52:08 -04:00
Benjamin Smedberg
3337d14876
Bug 458755 - Automated documentation of string classes on MDC using static analysis, r=taras
2008-10-09 12:34:33 -04:00
Doug Turner
798f9831c8
backing out the top level comment line to its orig state
2008-10-08 21:25:11 -07:00
Doug Turner
acb4a55a6d
removing erronous change to nsLocalFileWin
2008-10-08 21:22:21 -07:00
John Wolfe
fbd9852341
Bug 436531 - asmXPTC_InvokeByIndex Bogus Return Value in WinMobile builds. sans test cases. r=blassey
2008-10-08 21:17:11 -07:00
Doug Turner
7386c87408
Backed out changeset 7e5d581bc86d
2008-10-08 21:10:25 -07:00
wolfe@lobo.us
f4cbc20509
Bug 436531 - asmXPTC_InvokeByIndex Bogus Return Value in WinMobile builds. r=bsmedberg/dougt
2008-10-08 20:57:38 -07:00
Doug Turner
8137791649
Bug 458917 - Windows CE Cleanup. r/sr=stuart+bsmedberg
2008-10-08 20:51:54 -07:00
Josh Aas
12b6aa82b1
Backed out changeset 4a461b03f6ae, b=456603
2008-10-08 01:32:04 -04:00
Josh Aas
dc484fbeef
Get rid of flawed Windows stat cache. b=456603 r=smichaud sr=dougt
2008-10-07 23:18:05 -04:00
Josh Aas
05e8caa7d0
Don't incorrectly change permissions on link target in SetPermissionsOfLink in unix fs code. Just don't do anything for changes targetting links. b=457487 r=smichaud sr=dougt
2008-10-07 21:26:41 -04:00
Serge Gautherie
afcf19b8de
Bug 457046 - Decide what to do with <TestPipes.cpp> |#if 0|'ed code; Bv1; r=benjamin
2008-10-08 02:27:05 +02:00
Serge Gautherie
22bc4a73fd
Bug 457046 - Decide what to do with <TestPipes.cpp> |#if 0|'ed code; Av1; r=benjamin
2008-10-08 02:24:31 +02:00
Serge Gautherie
4bf2e2f7c7
Bug 453164 - 'TestServMgr' : "mFreeCount : LEAKED 233 + mAdoptFreeCount : LEAKED 7"; r=benjamin
2008-10-08 02:22:01 +02:00
Serge Gautherie
85a3458be2
Bug 438331 - Remove WIN16 (support) code everywhere; (Av1) </xpcom/*>; r+sr=benjamin
2008-10-08 02:21:13 +02:00
Daniel Holbert
5492039225
Bug 458167 - (comments-only changes) Grammar Nazi Vol1: s/it's/its/ for the posessive version of the word, and a few other misc comment-typos, in these directories: accessible browser config profile rdf toolkit tools xpcom xpfe
2008-10-01 23:49:45 -07:00
Hiroyuki Ikezoe
74fb7b64e5
Bug 451506 - "The return values of PR_Seek64 and PR_Available64 should be checked in FileImpl::Seek or else file corruption will occur" [r=benjamin sr=neil a=dveditz]
2008-10-01 00:10:37 -05:00
Hiroyuki Ikezoe
ec49dc615c
Bug 451139 - "The return value of read() function should check in nsRandomAccessInputStream::readline instead of invoking failed()." [r=brendan sr=bsmedberg]
...
Index: xpcom/obsolete/nsFileStream.cpp
===================================================================
RCS file: /cvsroot/mozilla/xpcom/obsolete/nsFileStream.cpp,v
retrieving revision 1.5.28.1
2008-10-01 00:06:04 -05:00
Robert O'Callahan
d6c8ca697b
Fixing filename case bustage
2008-10-01 14:17:15 +13:00
Jonas Sicking
69b9ff0371
Update Access-Control implementation to match changes in spec. b=389508 r/sr=jst
2008-09-30 17:50:42 -07:00
Ted Mielczarek
c9a310092d
bug 455512 - xpt_link produces different output for dom_events.xpt on the two halves of a mac universal build on a ppc host. change the handling of duplicate unresolved interfaces slightly to prefer unresolved interfaces with non-zero IIDs. r=bsmedberg
2008-09-30 13:53:38 -04:00
Josh Aas
39fa2b5f9e
Get rid of fundamentally flawed UNIX stat cache. b=456435 r=smichaud sr=dougt
2008-09-30 02:06:18 -04:00
Henry Jia
7df96eb40c
Bug 178189 - |nsCOMPtr|: do we still care about VC++4.2? and if not, can we remove this comment; r=(scc + benjamin)
2008-09-29 00:17:30 +02:00
Serge Gautherie
7b1d56b97a
Backout Makefile.in (extra) part of 19725:cdfaac3ff235
...
Bug 453137 - 'TestPipes' |TestChainedPipes()| leaks its streams; Av2; r=benjamin
which broke "--enable-debug --enable-libxul" builds; r=benjamin
2008-09-27 02:59:53 +02:00
Serge Gautherie
396a7dbca1
Bug 453137 - 'TestPipes' |TestChainedPipes()| leaks its streams; Av2; r=benjamin
2008-09-25 20:06:13 +02:00
Josh Aas
81dfc77596
Remove a lot of dead Mac code. Part of bug 456662. sr=pinkerton
2008-09-25 12:23:33 -04:00
Ted Mielczarek
aee6f394a9
bug 455503 - better tests for nsIMutableArray. r=bsmedberg
2008-09-22 06:41:55 -04:00
Josh Aas
05917f7a19
Get rid of FSRef cache on Mac OS X as it can't invalidate correctly in the face of changes outside the current nsLocalFile object. Fixes local page reload issues, probably other stuff. b=455828,322686 r=mstange sr=dougt
2008-09-19 15:50:41 -04:00
Benjamin Smedberg
f0fdeb2ef7
Remove the v1 string ABI compatibility hacks. Replace references of nsTAString_CharT with nsTSubstring_CharT which is the new base class. r=dbaron
2008-09-19 11:07:22 -04:00
Ryan VanderMeulen
a03a62455e
Bug 337890 - please spell formater formatter; mozilla-central part; r=timeless
2008-09-12 18:24:14 +02:00
Jesse Ruderman
dcb70052c5
Fix a regression from my patch for bug 445999 in the self-assignment case.
2008-09-10 16:23:00 -07:00
Robert Kaiser
b3901a31af
bug 451601 - kill MOZILLA_LOCALE_VERSION, main mozilla-central patch to kill xpfe-style chrome versions, r=ted sr=Neil
2008-09-11 01:08:57 +02:00
Jesse Ruderman
9e72e6554f
Fix bug 445999, nsCStringArray::operator= leaks all strings that were in the destination array. r=bsmedberg
2008-09-10 15:02:06 -07:00
Taras Glek
56911014d8
bug 432917: MUST_FLOW_THROUGH static check. r=bsmedberg
2008-09-08 11:01:22 -07:00
Ginn Chen
61f1976cbb
Bug 440714 use -xldscope for Sun Studio on Solaris r=vladimir,benjamin sr=benjamin
2008-09-08 14:21:07 +08:00
Arpad Borsos
709fd651fe
Bug 443058 - Remove MOZ_DECL_CTOR_COUNTER; <mozilla-central> part; r=benjamin
2008-09-07 00:04:10 +02:00
Arpad Borsos
8cb85b4228
Bug 451477 - NS_INTERFACE_TABLE_INHERITED10 defined twice; r=benjamin
2008-09-06 23:47:54 +02:00
Serge Gautherie
b965630140
Bug 449281 - In <TestPipe.cpp>, "warning C4273: 'NS_NewPipe2' : inconsistent dll linkage", when without |--enable-libxul|; Av3; r=benjamin
2008-09-06 18:03:38 +02:00
Doug Turner
78d1aa28dd
Bug 452489 - Fixes OOM predicate on OSSO to use the high water mark. r=bsmedberg
2008-09-05 17:21:36 -07:00
Ben Turner
9ecb398b01
Bug 449822 - "Service manager can create two instances of a service". r=bsmedberg.
2008-09-04 15:44:41 -07:00
Bo Yang
2ea3ef5c93
Bug 451525 - Expand library names in Makefile, r=bsmedberg, sr=shaver
2008-09-04 22:45:00 +02:00
Steven Michaud
df5c8a9b6f
Don't crash on Objective-C exceptions in hooked [NSWindow sendEvent:] method. b=442245 r=josh sr=roc
2008-09-04 11:08:30 -05:00
Boris Zbarsky
b90077bfb2
Bug 439206. Make sure to not skip over the next char after the high surrogate when we have a missing low surrogate. r+sr=jst
2008-09-04 11:13:54 -04:00
Benjamin Smedberg
29ff8b1d70
Fix stupid static-checking-only typo
2008-09-04 10:51:06 -04:00
Doug Turner
1da51c685b
Backed out changeset 04a28fb0458b
2008-09-03 23:19:34 -07:00
Doug Turner
cbf953fa8c
Bug 452489 - clean up nsMemoryImpl for OOM issues. r=bsmedberg
2008-09-03 16:06:23 -07:00
Benjamin Smedberg
9123cda70b
Bug 453349 - stack-only checker skips conditional blocks, r=dmandelin
2008-09-03 13:00:13 -04:00
Benjamin Smedberg
1e79d505c8
Bug 453343 - Print more complete error messages that trace the base classes and members that cause a particular class to be stack-only, r=dmandelin
2008-09-03 13:00:13 -04:00
Benjamin Smedberg
cb3eb39381
Bug 453341 - Allow stack checking to be suppressed per-function, r=dmandelin sr=jst
2008-09-03 13:00:12 -04:00
Benjamin Smedberg
eea415c9ec
Followup to bug 451079 to move/add testcase files.
...
--HG--
rename : xpcom/tests/static-checker/e3.cpp => xpcom/tests/static-checker/onull2.cpp
2008-09-02 13:36:19 -04:00
Vlad Sukhoy
3001958d13
bug 449463: make outparams more gcc42-compatible. r=dmandelin
2008-09-02 12:24:34 -05:00
Doug Turner
b27f41ff6e
Backed out changeset 6b6054736cb2
2008-09-01 19:50:59 -07:00
Doug Turner
04582c160e
bug 452489 - removes the flusher timer and fixes osso low memory predicate. also fixes OSSO oom predicate. r=bsmedberg
2008-09-01 17:40:15 -07:00
Jason Orendorff
6b5d53f655
Bug 407216 - DOM quick stubs - faster paths for top N DOM methods (r+sr=jst, security r=mrbkap, build r=bsmedberg)
...
* * *
* * *
* * *
2008-08-19 21:38:24 -05:00
Josh Aas
61ac969657
Include obj-c exception info in crash reports. b=451709 r=ted r=bent sr=roc
2008-08-28 00:41:38 -04:00
Benjamin Smedberg
e67d75888e
Bug 445570 - Mark CSSToken::mIdent heap autostring as we-know-what-we're-doing, r=dbaron
2008-08-27 10:58:50 -04:00