Mike Hommey
881a7c1554
Bug 943728 - Replace double quotes with single quotes in Makefiles (or remove them when it makes sense). r=mshal
2013-12-03 06:34:21 +09:00
Mike Hommey
f8bc7fa754
Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps
2013-09-05 09:01:46 +09:00
Joshua Cranmer
24c9d43c87
Bug 868285 - Fix static checking builds, part 4: kill dehydra stack checking tests. r=bsmdberg
2013-05-27 16:05:22 -05:00
Kyle Machulis
72a717a860
Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
2013-04-01 11:36:59 -07:00
Kyle Machulis
43628a7867
Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot
2013-03-29 15:12:58 -07:00
Kyle Machulis
334c0800cf
Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
...
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Joshua Cranmer
557e5bbac0
Bug 767563 - Add a clang static checker, part 2: Implement the MOZ_MUST_OVERRIDE attribute. r=ehsan
2013-03-23 21:13:24 -05:00
Gregory Szorc
8958bacc6e
Bug 784841 - Part 18ν: Convert /xpcom; f=Ms2ger rs=ted
2013-02-25 13:20:02 -08:00
Mike Hommey
c652ca2011
Bug 789837 - Properly set dependencies on .deps directories. r=ted
2012-09-11 09:43:32 +02:00
Mike Hommey
70d7c821af
Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted
2012-08-04 20:26:44 +02:00
Joshua Cranmer
a1186c1020
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
d539846cab
Bug 702877 - Replace NS_OVERRIDE with MOZ_OVERRIDE. r=ehsan
...
--HG--
extra : rebase_source : 1843575683c3897f96f3966cbce26140ff1a7d90
2012-07-06 13:15:45 -05:00
Gervase Markham
82ff7027aa
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Jeff Walden
84471e527a
Bug 707352 - Remove NS_FINAL_CLASS completely. r=cjones
2011-12-05 17:10:05 -05:00
Michael Wu
d2b70213ac
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
Ehren Metcalfe
b970560e98
Bug 575720 - static checking suite: use Dehydra multiple-arg support + fix method signature comparison in several scripts r=taras
2010-08-18 18:06:05 -07:00
Ehren Metcalfe
eefb380a24
Bug 576214 - fix NS_STACK_CLASS analysis for Dehydra with GCC 4.5 r=taras
2010-08-18 18:05:49 -07:00
Ehren Metcalfe
9082c6c811
Bug 573786 - Script to detect static initializers r=taras
2010-08-18 18:04:39 -07:00
Josh Matthews
4bc037366d
Bug 551286: Add a per function 'final' keyword in C++. r=tglek
2010-03-28 11:44:33 -04:00
Benjamin Smedberg
9a64b9ce7e
Fix the static analysis error: m.isVirtual is a tri-state undefined, true, or "pure", and I didn't take that into account when writing the original NS_OVERRIDE analysis.
2009-10-04 14:35:33 -04:00
Benjamin Smedberg
b4cc34446e
Bug 500870 - NS_OVERRIDE indicates that a method must override a base-class method, r=taras
...
--HG--
extra : rebase_source : 3dc3327030dc2cdf45bdd9170c5e9d02908c0d0c
2009-09-04 11:21:31 -04:00
Taras Glek
a7a24a1627
Bug 512726 - Add NS_MUST_OVERRIDE static annotation. r=bsmedberg
...
--HG--
extra : rebase_source : 4f3034c93cc76c7504d1cfb21953c495c35d068f
2009-09-18 10:26:13 -07:00
Benjamin Smedberg
ba372f3a4c
Followup to bug 398573 - remove REQUIRES from the tree since it is no longer used... automatically generated patch, rs=ted
2009-08-25 08:59:31 -07:00
Benjamin Smedberg
6863d9f3f4
Resolve the static-analysis bustage from bug 498938 by recognizing COND_EXPR.
2009-07-27 10:47:22 -04:00
Benjamin Smedberg
1d82751d1f
Static analysis test cases for bug 479441
2009-02-24 10:11:06 -05:00
Benjamin Smedberg
4f688dc6c7
Disable the outparams warning "written on NS_FAILED"... we should focus first on the "not written on NS_SUCCEEDED" warnings, which are generally more serious. No bug, NPODB, CLOSED TREE a=johnath
2008-12-09 17:34:48 -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
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
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
Taras Glek
56911014d8
bug 432917: MUST_FLOW_THROUGH static check. r=bsmedberg
2008-09-08 11:01:22 -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
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
David Mandelin
a2ff55c59e
Bug 451079: allow setting outparams to null on failure
2008-08-19 11:17:13 -07:00
David Mandelin
85de90adf1
Bug 443205: outparams.js needs to consider void-return funcs as nofail, r=bsmedberg
2008-07-09 10:35:29 -07:00
David Mandelin
07ce05b161
Bug 442982: outparams.js now understands func ptr typedef attributes, r=bsmedberg
2008-07-01 14:24:58 -07:00
David Mandelin
7266d7e76e
Bug 442829: outparams.js handling nsresults returned as &rv, r=bsmedberg
2008-07-01 14:22:49 -07:00
Benjamin Smedberg
3eab5b1142
Bug 425454 - whitelist placement-new for stack classes. Also uses treehydra analysis so we don't have to require a constructor for stack classes any more. r=taras
2008-06-30 12:44:06 -04:00
David Mandelin
0540f825ba
Bug 431832: check outparams for PRBool or void return, r+a=bsmedberg
2008-05-20 11:26:03 -07:00
Benjamin Smedberg
b4225d2b7c
Bug 432278 - Fix a couple of the static-checking testcases: clean up the makefile-fu a little bit, and add a new class of test: one which should issue warnings, which equates to "should fail with -Werror and should pass without -Werror." r=dmandelin
2008-05-05 14:32:31 -04:00
David Mandelin
377896f35d
Bug 431965: checking in tests forgotten before (r/a=bsmedberg from bug 420933)
2008-05-05 10:24:13 -07:00
David Mandelin
f8c68d8368
Bug 431832: NS_inparams attr for outparams checker, r=bsmedberg, a=bsmedberg
2008-05-02 18:03:38 -07:00
David Mandelin
4548bac7b1
Bug 420933: outparams checker, r=bsmedberg, a=bsmedberg
2008-04-30 17:47:27 -07:00
benjamin@smedbergs.us
62231824a0
Bug 419624 - Build framework, basic usage, and testsuite for statically checking the codebase using gcc-dehydra, r=luser,dbaron,tglek
2008-02-27 11:28:13 -05:00