Commit Graph

1255 Commits

Author SHA1 Message Date
Reijo Tomperi 42b661630b astyle changes, missed from previous commits 2009-01-08 21:08:14 +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 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