Commit Graph

14401 Commits

Author SHA1 Message Date
Daniel Marjamäki 2a2adb037a errormessage: Added the new errormessage handling to cppcheck 2009-01-08 17:32:33 +00:00
Daniel Marjamäki 1bc5740742 errormessage: updated the files. the errormessage.h is automaticly
generated by the tools/errmsg program
2009-01-08 17:31:07 +00:00
Daniel Marjamäki 3bdb3064b0 tools/errmsg: some refactoring 2009-01-08 17:29:44 +00:00
Daniel Marjamäki 24530ebd60 sprintf: check for dangerous usage with sprintf|snprintf with
overlapping data
2009-01-08 06:24:08 +00:00
Daniel Marjamäki 21ae5f2721 runastyle : also set the code style in the tools 2009-01-08 06:23:21 +00:00
Daniel Marjamäki 80c7e00e84 tools: Added headers to source files 2009-01-08 06:22:14 +00:00
Daniel Marjamäki 8f86a941aa Simplify tokens: add a ";" after case and default 2009-01-07 17:49:21 +00:00
Daniel Marjamäki de7de91091 preprocessor: applied patch submitted by kimmov 2009-01-07 17:47:32 +00:00
Daniel Marjamäki 40637e436f Reverted [890] it cause more problems with Visual C++ 2009-01-07 15:43:20 +00:00
Daniel Marjamäki 9239ebc6d1 Visual C++: Applied patch "fix_vs_project.patch" that kimmov submitted 2009-01-07 15:34:11 +00:00
Daniel Marjamäki 5b86188c45 tools: updated the code style 2009-01-07 15:17:02 +00:00
Daniel Marjamäki 8c71c4194f Borland C++: Removed unneeded ifdefs 2009-01-07 15:16:15 +00:00
Daniel Marjamäki 0f111259b9 windows: Added runastyle.bat 2009-01-07 15:08:24 +00:00
Daniel Marjamäki a832dfef58 Borland C++: Updated the project files 2009-01-07 15:07:26 +00:00
Reijo Tomperi 3a2fd91783 Optimization: 6,2 s -> 5,6 s 2009-01-06 22:58:33 +00:00
Reijo Tomperi 0970dcd70f Changed codeblocks project file to reflect new build targets 2009-01-06 21:08:30 +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
Reijo Tomperi ff0a24ce56 Doxyfile added 2009-01-06 17:51:49 +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
Reijo Tomperi e435a1f1d6 Refactoring: Added src/ and test/ folders. Moved source files to those folders, updated makefile and codeblocks project file. 2009-01-06 14:18:36 +00:00
Daniel Marjamäki 1cf308f018 tasks : Added tasks to create a doxygen project file 2009-01-06 12:59:02 +00:00
Daniel Marjamäki 5dd90f5795 tasks: rewrote the tasks file 2009-01-06 11:30:49 +00:00
Daniel Marjamäki 6302b53075 Preprocessor: Refactoring the unit testing. And enabled the macro expansion 2009-01-06 09:43:26 +00:00
Daniel Marjamäki dc4497b250 Preprocessor: Improved handling of multiline macros 2009-01-06 08:49:54 +00:00
Daniel Marjamäki f0f42563e6 Makefile: Fixed the preprocessor dependencies 2009-01-06 08:35:04 +00:00
Reijo Tomperi 8983357421 tasks.txt updated, %var1% task is done 2009-01-05 23:42:17 +00:00
Reijo Tomperi e721383d01 Refactoring: %var1% complitely removed. Execution time increased from 4,7 to 6,2 seconds. 2009-01-05 23:06:51 +00:00
Reijo Tomperi 49b864b1fd Refactoring: Getting rid of %var1% 2009-01-05 22:47:27 +00:00
Reijo Tomperi a559b06c1f Refactoring: Getting rid of %var1% 2009-01-05 21:22:09 +00:00
Daniel Marjamäki 4642fc25aa Preprocessor : Added a few more testcases for the macro expansion 2009-01-05 20:41:34 +00:00
Daniel Marjamäki 3b2827a7ba Preprocessor: Added simple handling for expanding preprocessor macros 2009-01-05 20:30:15 +00:00
Daniel Marjamäki 5bd5b68b59 runastyle: Added script for running "astyle" with the options I have chosen against all cpp and h files 2009-01-05 15:52:02 +00:00
Daniel Marjamäki ea1f3f4e85 Style: Updated the coding style with "astyle" 2009-01-05 15:49:57 +00:00
Daniel Marjamäki 7495190312 Preprocessor: Began work on the macro handling 2009-01-05 09:26:00 +00:00
Daniel Marjamäki 4d0cd99e97 Refactoring: Simplified a condition 2009-01-05 07:21:05 +00:00
Reijo Tomperi 36e54b739b Refactoring: Getting rid of %var1% 2009-01-04 22:56:46 +00:00
Reijo Tomperi 66e03b8a92 Refactoring: Getting rid of %var1% 2009-01-04 22:49:57 +00:00
Reijo Tomperi 21eaadbe31 Fixed several bugs from previous commits and added check code that will print errors if varid is 0 when %varid% is given in Match(). 2009-01-04 20:33:12 +00:00
Reijo Tomperi 3dd3bad0ec Refactoring: findMatch() that supports varId added. %var1% -> %varid% changed 2009-01-04 19:55:12 +00:00
Daniel Marjamäki 066e03b00a MinGW: Applied the patch submitted by kidkat that makes cppcheck compilable with MinGW 2009-01-04 18:46:45 +00:00
Daniel Marjamäki 9294e20e96 variable usage: fixed false positive when using operator '^' 2009-01-04 18:38:24 +00:00
Reijo Tomperi 651e295343 Made previous feature request fix more portable 2009-01-04 18:31:36 +00:00
Daniel Marjamäki 68d501db58 variable usage: The check must be made before simplifyTokenList to avoid false positives 2009-01-04 18:28:05 +00:00
Reijo Tomperi 0c06d757cc Fix for feature request: [ 2485706 ] Add support to *.C file extension 2009-01-04 18:19:57 +00:00
Daniel Marjamäki de60f3b9ad Variable usage: Addon to previous commit. Also handle "&=" and "^=" 2009-01-04 17:44:23 +00:00