Daniel Marjamäki
|
8504863636
|
dmake: updated compiler flags in release mode. only -Wall.
|
2010-05-08 12:57:44 +02:00 |
Daniel Marjamäki
|
c718a7c595
|
astyle: Update to astyle 1.24
|
2010-04-15 20:08:51 +02:00 |
Reijo Tomperi
|
35d2a27b9c
|
Update copyright year in all source files
|
2010-04-13 22:23:17 +03:00 |
Reijo Tomperi
|
eb79e5f918
|
Enable -Wshadow in Makefile
|
2010-04-11 14:57:03 +03:00 |
Daniel Marjamäki
|
0cad22314e
|
Reverted 'astyle fix'. Those changes are not in sync with my astyle configuration/setup.
|
2010-04-02 07:30:58 +02:00 |
Martin Ettl
|
193aa7d1d3
|
astyle fix
|
2010-04-02 02:21:53 +02:00 |
Daniel Marjamäki
|
9e393fd92e
|
Makefile: Added flag -Wno-long-long compiler flag to suppress warnings about long long
|
2010-03-31 21:47:51 +02:00 |
Daniel Marjamäki
|
f7662b094d
|
astyle formatting
|
2010-03-13 08:05:07 +01:00 |
Daniel Marjamäki
|
48a63e4c35
|
gcc: removed -Wlogical-op that is not supported by old GCC
|
2010-03-13 08:03:30 +01:00 |
Kimmo Varis
|
66448b41ac
|
Restore and fix tools Makefile. Fix include lines.
|
2010-03-11 22:55:31 +02:00 |
Kimmo Varis
|
b746e9d4be
|
Fix dmake for Windows.
|
2010-03-11 22:30:06 +02:00 |
Kimmo Varis
|
a7996ab252
|
Fix compiling in Linux. Fix compiling dmake.
|
2010-03-11 22:15:15 +02:00 |
Daniel Marjamäki
|
2c210b8ff9
|
dmake,qmake: temporarily removed -Wsign-conversion
|
2010-03-09 11:10:34 +01:00 |
Daniel Marjamäki
|
2ba3f59fc8
|
dmake, qmake: more sensitive compiler and runtime
|
2010-03-09 08:24:52 +01:00 |
Daniel Marjamäki
|
cffe20a440
|
dmake: debug/release mode, more gcc warnings
|
2010-03-09 08:10:05 +01:00 |
Kimmo Varis
|
5b2c6129df
|
Add VS project file for building dmake.
|
2010-03-04 21:09:37 +02:00 |
Reijo Tomperi
|
01c5bdfc68
|
Add TODO test case for #1452 (Simplify goto better)
http://sourceforge.net/apps/trac/cppcheck/ticket/1452
|
2010-02-24 22:55:16 +02:00 |
Daniel Marjamäki
|
5254822bed
|
dmake: generate the lib/lib.pri file
|
2010-02-23 21:27:01 +01:00 |
Daniel Marjamäki
|
209024adcb
|
tools/Makefile: fixed so the dmake can be built
|
2010-02-23 18:43:10 +01:00 |
Daniel Marjamäki
|
56e67d38ff
|
Readded man/install to the Makefile
|
2010-02-23 18:37:46 +01:00 |
Daniel Marjamäki
|
2befb74a07
|
astyle formatting
|
2010-02-20 09:14:15 +01:00 |
Daniel Marjamäki
|
a9bd7296b7
|
dmake: simplified a little
|
2010-02-19 17:35:38 +01:00 |
Daniel Marjamäki
|
744c385097
|
Revert "removed tools/dmake and Makefile. Please use cmake from now on."
This reverts commit cfacd5fe10 .
|
2010-01-23 09:54:51 +01:00 |
Daniel Marjamäki
|
cfacd5fe10
|
removed tools/dmake and Makefile. Please use cmake from now on.
|
2010-01-22 20:57:30 +01:00 |
Reijo Tomperi
|
7596e76a79
|
Added 'make man' to Makefile
|
2009-11-22 16:43:55 +02:00 |
Daniel Marjamäki
|
293631745a
|
extracttests: astyle formatting
|
2009-11-09 20:40:58 +01:00 |
Daniel Marjamäki
|
45c3ba3c28
|
extracttests: minor updates
|
2009-11-09 20:36:13 +01:00 |
Daniel Marjamäki
|
ed9ee554da
|
extracttests: extract more tests
|
2009-11-08 08:00:22 +01:00 |
Daniel Marjamäki
|
c98976cc9b
|
extracttests: extract to cpp instead and don't generate the Makefile - it's easier to use a simple standard Makefile instead.
|
2009-11-07 19:52:10 +01:00 |
Daniel Marjamäki
|
b9ebdee2f5
|
extracttests: Added a simple program for extracting testcode from our unit testing
|
2009-11-07 18:04:45 +01:00 |
Reijo Tomperi
|
3be9f2e6cc
|
astyle fix
|
2009-10-27 11:10:59 +02:00 |
Daniel Marjamäki
|
27761a6edc
|
Restructuring: Updated the dependency walker
|
2009-10-26 22:36:36 +01:00 |
Daniel Marjamäki
|
09859c1019
|
refactoring the folder structure
|
2009-10-25 12:49:06 +01:00 |
Reijo Tomperi
|
fdde2182b9
|
Fix GPL comments in all files. ">." was missing from the end.
|
2009-09-27 18:08:31 +03:00 |
Daniel Marjamäki
|
03f3ee62a0
|
cleanup: removed deprecated files. security checking and errmsg
|
2009-07-12 19:18:38 +02:00 |
Reijo Tomperi
|
8b0e481d46
|
Refactoring: Rename member functions to follow naming guidelines.
|
2009-07-05 23:16:43 +03:00 |
Reijo Tomperi
|
58eda6e978
|
Fix ticket #325 (Replace developer names in source files with AUTHORS file)
http://apps.sourceforge.net/trac/cppcheck/ticket/325
|
2009-05-30 08:48:12 +03:00 |
Slava Semushin
|
4bd1c3fb00
|
Propagate static and const modifiers.
No functional change.
|
2009-05-22 21:20:32 +07:00 |
Daniel Marjamäki
|
3c1c33669e
|
refactoring: The errmsg is no longer supposed to generate the errorLogger code
|
2009-03-21 10:15:46 +01:00 |
Daniel Marjamäki
|
33df121567
|
added and integrated checkautovariables that gscacco created
|
2009-03-19 20:55:50 +01:00 |
Vesa Pikki
|
3d6e3d38bb
|
Applied a patch by Mike Frysinger
The proper variable to use for the C++ compiler is $(CXX). Also, when
linking objects, $(LDFLAGS) should be used.
|
2009-03-09 19:35:43 +02:00 |
Reijo Tomperi
|
017e10e10b
|
Fix ticket #141 (changed the makefile), changing compiler is now easier in the makefile.
http://apps.sourceforge.net/trac/cppcheck/ticket/141
|
2009-03-07 01:45:27 +02:00 |
Reijo Tomperi
|
015143b56c
|
Copyright fixes
|
2009-03-01 19:59:13 +00:00 |
Reijo Tomperi
|
fc8f47145a
|
Copyrights updated
|
2009-03-01 19:52:33 +00:00 |
Reijo Tomperi
|
f6848f14ad
|
Fixed another --style problem with our code
|
2009-03-01 19:38:17 +00:00 |
Reijo Tomperi
|
d098b62975
|
Use reference instead of string copy (fixes some --style warnings from our code)
|
2009-03-01 19:30:51 +00:00 |
Reijo Tomperi
|
033a82d3f2
|
Members of ErrorLogger::ErrorMessage made public for better access to them.
|
2009-02-22 11:29:33 +00:00 |
Daniel Marjamäki
|
15e86db3ed
|
buffer overrun: Added checking of strncat
|
2009-02-20 21:00:59 +00:00 |
Reijo Tomperi
|
61587c42ae
|
Fix ticket #113 (Add support for multi core CPUs and -w parameter to specifify amount of worker threads)
|
2009-02-20 19:40:42 +00:00 |
Reijo Tomperi
|
4fc774deda
|
Multicore cpu support for Linux (currently disabled and compiling produces warnings)
"no errors" output removed.
|
2009-02-19 22:21:18 +00:00 |
Daniel Marjamäki
|
efeaac736d
|
security: added simple gui checking
|
2009-02-19 17:57:27 +00:00 |
Daniel Marjamäki
|
4e1f19a366
|
input validation: added checking
|
2009-02-19 08:03:14 +00:00 |
Daniel Marjamäki
|
2b04c94b95
|
stl push_back: Added check (invalid iterator)
|
2009-02-18 19:57:43 +00:00 |
Reijo Tomperi
|
7ef9e870cd
|
Code comments updated
|
2009-02-14 22:00:19 +00:00 |
Reijo Tomperi
|
d1e9efc66a
|
Fix ticket #104 (Change (error) Uninitialized member variable -> (style) Member variable not initialized in the constructor)
|
2009-02-14 08:52:03 +00:00 |
Daniel Marjamäki
|
eda1290e40
|
dangerous usage of erase: added check
|
2009-02-11 05:08:29 +00:00 |
Reijo Tomperi
|
9b9223480d
|
Refactoring: reportErr takes now only one parameter, ErrorLogger::ErrorMessage, which contains all required information and also some help
functions for formatting it for output.
|
2009-02-10 21:51:52 +00:00 |
Daniel Marjamäki
|
c1638996f9
|
STL: added check for iterator usage
|
2009-02-10 19:40:21 +00:00 |
Reijo Tomperi
|
5721e4469b
|
stlOutOfBounds error message created
|
2009-02-10 19:36:49 +00:00 |
Reijo Tomperi
|
1373e14bc9
|
Fix ticket #93 (Write xml results into error stream instead of results.xml file.) and also refactor the
code to use ErrorLogger::reportErr() for all errors, for both xml and plain text. And move xml formatting
from Cppcheck to CppcheckExecutor.
|
2009-02-09 20:51:04 +00:00 |
Reijo Tomperi
|
fb3c81dcd9
|
Fix ticket #80 (refactoring: classes ErrorMessage and ErrorLogger), note that errormessage and errorlogger were merged, errormessage.* is no more.
|
2009-02-08 21:20:35 +00:00 |
Daniel Marjamäki
|
1637e867de
|
mismatching allocation size: moved to error suite
|
2009-02-08 18:34:04 +00:00 |
Daniel Marjamäki
|
3c289e52c5
|
memory allocation: check for mismatching size
|
2009-02-07 10:54:39 +00:00 |
Daniel Marjamäki
|
03acc12977
|
mismathing allocation and deallocation: moved to error checks
|
2009-02-06 18:24:01 +00:00 |
Reijo Tomperi
|
a06861948b
|
Fixed: Ticket #78 Change (always) into (error) in error messages
|
2009-02-05 21:06:32 +00:00 |
Daniel Marjamäki
|
aeb573d529
|
returning pointer to local array
|
2009-02-04 18:49:19 +00:00 |
Daniel Marjamäki
|
385c28a02e
|
xml: generating better xml output
|
2009-02-01 18:00:47 +00:00 |
Daniel Marjamäki
|
eb9563faed
|
astyle formatting
|
2009-02-01 16:39:29 +00:00 |
Daniel Marjamäki
|
d29d7e60a9
|
errmsg: refactoring the error messages
|
2009-02-01 15:47:36 +00:00 |
Daniel Marjamäki
|
2784faab42
|
removed unused function definition for stringifySeverity
|
2009-01-31 19:05:17 +00:00 |
Daniel Marjamäki
|
81174a4817
|
mismatching allocation / deallocation: moved to --all
|
2009-01-31 17:54:31 +00:00 |
Daniel Marjamäki
|
f6f72fc022
|
errmsg: output severity in messages. a fix to track severity in the memory leaks check
|
2009-01-31 13:57:27 +00:00 |
Daniel Marjamäki
|
3457b38d7a
|
errmsg: write severity in the message
|
2009-01-31 08:33:31 +00:00 |
Daniel Marjamäki
|
6ce23670e5
|
sprintf overlapping data: added extra text that is shown if --verbose is given
|
2009-01-26 19:14:46 +00:00 |
Daniel Marjamäki
|
3d61334a8c
|
errmsg: Moved 'function parameter parname is passed by value' to the style checks
|
2009-01-26 18:32:00 +00:00 |
Daniel Marjamäki
|
e691ade8e6
|
Build: Enabled the Wextra flag when building cppcheck
|
2009-01-22 21:16:50 +00:00 |
Nicolas Le Cam
|
42c608b6f0
|
Remove checks that are already covered well by most compilers (Unreachable Code; Assignment in Condition; Unused Variable).
|
2009-01-21 21:31:47 +00:00 |
Reijo Tomperi
|
176dd41306
|
Fixed Ticket #40, Check copyright texts in files, now that we have new developers.
|
2009-01-21 20:04:20 +00:00 |
Nicolas Le Cam
|
cec57b76d3
|
errmsg: Don't create unused parameters
|
2009-01-19 19:50:00 +00:00 |
Daniel Marjamäki
|
8780fbf8bb
|
bounds checking: Added error message "snprintf size is out of bounds"
|
2009-01-17 13:09:02 +00:00 |
Daniel Marjamäki
|
a5e2787f72
|
errmsg: added varname to the message "deallocating a deallocated pointer"
|
2009-01-17 11:15:46 +00:00 |
Daniel Marjamäki
|
4cfb8ad1cb
|
memory leaks: Added checking of deallocate to see that the pointer isn't deallocated already
|
2009-01-15 20:34:39 +00:00 |
Daniel Marjamäki
|
8bbd4b9401
|
str plus char: Added check and error message for str + ch
|
2009-01-15 16:57:51 +00:00 |
Daniel Marjamäki
|
03cfe18c9b
|
errmsg: Added 'condition is always true/false'
|
2009-01-14 19:43:28 +00:00 |
Daniel Marjamäki
|
c8a5bd16a1
|
errmsg: Added 'assignment in if-condition'
|
2009-01-13 17:56:45 +00:00 |
Daniel Marjamäki
|
aa592387e6
|
errmsg: refactoring
|
2009-01-13 06:25:36 +00:00 |
Daniel Marjamäki
|
cc65242626
|
errmsg: added message about bad usage of char variable
|
2009-01-12 18:52:43 +00:00 |
Daniel Marjamäki
|
fdf5b215f9
|
errmsg: Added message for 'incomplete statement'
|
2009-01-12 17:46:24 +00:00 |
Daniel Marjamäki
|
a5eb8894d4
|
errmsg: Added messages for 'variable is not used / not read / not assigned'
|
2009-01-12 17:40:20 +00:00 |
Daniel Marjamäki
|
13e2396345
|
errmsg: Added message 'function parameter is passed by value'
|
2009-01-12 17:32:53 +00:00 |
Daniel Marjamäki
|
df689b454c
|
errmsg: added message 'unreachable code below return'
|
2009-01-12 17:28:04 +00:00 |
Daniel Marjamäki
|
a0ef840138
|
errmsg: Added 'unused struct member'
|
2009-01-12 17:21:25 +00:00 |
Daniel Marjamäki
|
03888046d8
|
errmsg: Made the 'unsigned division' a style error
|
2009-01-12 17:14:03 +00:00 |
Daniel Marjamäki
|
980b10bfc9
|
errmsg: Added 'unsigned division'
|
2009-01-12 17:12:14 +00:00 |
Daniel Marjamäki
|
17d4c2b980
|
errmsg: Added message 'Overlapping data buffer'
|
2009-01-12 06:52:50 +00:00 |
Daniel Marjamäki
|
ae861852e2
|
errmsg: Added "found redundant if - 'if (condition);'
|
2009-01-12 06:44:47 +00:00 |
Daniel Marjamäki
|
9d8af10583
|
errmsg: the "unused function" message shall not take any Tokenizer nor Token parameters
|
2009-01-11 08:10:51 +00:00 |
Daniel Marjamäki
|
3d8791eebd
|
errmsg: added "unused function"
|
2009-01-11 06:44:32 +00:00 |
Daniel Marjamäki
|
631e202027
|
dmake: Minor updates. Moved target "all" a little. Handle the change 937 where "make test" also executes testrunner
|
2009-01-11 06:17:54 +00:00 |
Daniel Marjamäki
|
1e6b54b2c5
|
errmsg: added "mismatching allocation and deallocation"
|
2009-01-10 19:30:41 +00:00 |
Daniel Marjamäki
|
47a7c915fa
|
errmsg: Added error messages for "Array index out of bounds" and "Buffer overrun"
|
2009-01-10 19:23:21 +00:00 |
Daniel Marjamäki
|
897c02e3ed
|
errmsg: added error message about virtual destructors
|
2009-01-10 18:03:56 +00:00 |
Daniel Marjamäki
|
6acb123f1d
|
errmsg: Added "operator= should return something
|
2009-01-10 17:57:31 +00:00 |
Daniel Marjamäki
|
1fc5f5485f
|
errmsg: Added "Using 'memset' on class"
|
2009-01-10 17:51:03 +00:00 |
Daniel Marjamäki
|
7b10b0ff4d
|
errmsg: Added "Unused private function ..."
|
2009-01-10 17:35:41 +00:00 |
Daniel Marjamäki
|
dc6317878e
|
errmsg: Added "uninitialized member variable"
|
2009-01-10 17:11:47 +00:00 |
Daniel Marjamäki
|
a2a8378749
|
astyle: updated the code style
|
2009-01-10 14:29:59 +00:00 |
Daniel Marjamäki
|
0c3c00daec
|
errmsg: Added errormessage for 'the class 'classname' doesn't have a constructor'
|
2009-01-10 13:08:44 +00:00 |
Daniel Marjamäki
|
41a73e3b1e
|
errmsg: bug fix
|
2009-01-10 12:03:18 +00:00 |
Daniel Marjamäki
|
8842172821
|
errmsg: reformatted with astyle
|
2009-01-10 11:17:00 +00:00 |
Daniel Marjamäki
|
713b0c7cdd
|
errmsg: The generated code is compliant with the astyle formatting
|
2009-01-10 07:43:15 +00:00 |
Daniel Marjamäki
|
01ec1b15fe
|
dmake: minor fixes. The tools binaries will be put in the tools folder
|
2009-01-10 07:38:11 +00:00 |
Daniel Marjamäki
|
f83741503e
|
make: updated the make so that the tools are built with "make all". And added the errormessage.h generator to the makefile also
|
2009-01-09 19:28:55 +00:00 |
Daniel Marjamäki
|
7851b1042f
|
errormessage: added error message ErrorMessage::dangerousUsageStrtol
|
2009-01-09 19:15:54 +00:00 |
Daniel Marjamäki
|
38286a7d57
|
dmake: don't generate Makefile if there are no src files
|
2009-01-09 18:13:00 +00:00 |
Reijo Tomperi
|
66547e7ddf
|
Fixed make install from the generated makefile
|
2009-01-08 21:02:03 +00:00 |
Daniel Marjamäki
|
5d0f8f0cfa
|
errormessage: Added a few more messages for checkother.cpp
|
2009-01-08 20:56:51 +00:00 |
Reijo Tomperi
|
4dfc3a9c3d
|
Added license text to errormessage.h (via code tha generates it) and also mention that it is generated by machine
|
2009-01-08 20:51:07 +00:00 |
Daniel Marjamäki
|
3bdb3064b0
|
tools/errmsg: some refactoring
|
2009-01-08 17:29:44 +00:00 |
Daniel Marjamäki
|
80c7e00e84
|
tools: Added headers to source files
|
2009-01-08 06:22:14 +00:00 |
Daniel Marjamäki
|
5b86188c45
|
tools: updated the code style
|
2009-01-07 15:17:02 +00:00 |
Daniel Marjamäki
|
149ab87931
|
tools/dmake: A few simple fixes. Commited the new Makefile
|
2009-01-06 20:12:59 +00:00 |
Daniel Marjamäki
|
2b671fef16
|
tools: dmake added a tool for maintaining the Makefile
|
2009-01-06 20:04:20 +00:00 |
Daniel Marjamäki
|
0ac9d34d70
|
tools/errmsg: minor fixes
|
2009-01-06 17:22:35 +00:00 |
Daniel Marjamäki
|
a62d3da857
|
tools/errmsg: code correction
|
2009-01-06 17:20:19 +00:00 |
Daniel Marjamäki
|
934b251ec6
|
tools/errmsg: generate documentation
|
2009-01-06 17:09:27 +00:00 |
Daniel Marjamäki
|
59a644b4b1
|
tools/errmsg: generate the function to use when determining if a check should be done or not
|
2009-01-06 16:25:42 +00:00 |
Daniel Marjamäki
|
31f95aeec9
|
tools: Added a folder where we can keep small usable utilities
|
2009-01-06 15:02:34 +00:00 |