Commit Graph

4664 Commits

Author SHA1 Message Date
Reijo Tomperi 9e5973fa16 tasks updated, parseArgs refactoring idea was rejected 2009-01-09 20:47:20 +00:00
Daniel Marjamäki 07ba5a23bc tasks: removed the "new checks" sections because these are better reported in the tracker 2009-01-09 20:30:29 +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 3e5398499f errormessage: added header 2009-01-09 19:01:25 +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
Daniel Marjamäki 6bdb14edfd tokenize: avoid "terminate called after throwing an instance of 'std::out_of_range'" 2009-01-09 18:00:11 +00:00
Reijo Tomperi c7730044c7 Added test case for preprocessor which currently fails. codeblocks project file updated, tools-files added. 2009-01-08 22:28:54 +00:00
Reijo Tomperi 46f4701c26 Main returns now EXIT_SUCCESS or EXIT_FAILURE instead of 0. Feature request fixed: [ 2489787 ] Return value of cppcheck is always 0 2009-01-08 21:30:25 +00:00
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