Commit Graph

  • 713b0c7cdd errmsg: The generated code is compliant with the astyle formatting Daniel Marjamäki 2009-01-10 07:43:15 +0000
  • 01ec1b15fe dmake: minor fixes. The tools binaries will be put in the tools folder Daniel Marjamäki 2009-01-10 07:38:11 +0000
  • d6d26f4705 match: optimisation Daniel Marjamäki 2009-01-10 07:10:18 +0000
  • ae4ab2fcb6 preprocessor: code style fixing Daniel Marjamäki 2009-01-10 07:09:47 +0000
  • cd9323ca62 preprocessor: handle the \newline in strings Daniel Marjamäki 2009-01-10 07:07:51 +0000
  • febdc3fe6e token: when Token::Match reached the end of input, it returned true if the next pattern was !!. It now returns true only if all remaining patterns are !!. Leandro Penz 2009-01-10 00:33:48 +0000
  • 9e5973fa16 tasks updated, parseArgs refactoring idea was rejected Reijo Tomperi 2009-01-09 20:47:20 +0000
  • 07ba5a23bc tasks: removed the "new checks" sections because these are better reported in the tracker Daniel Marjamäki 2009-01-09 20:30:29 +0000
  • f83741503e make: updated the make so that the tools are built with "make all". And added the errormessage.h generator to the makefile also Daniel Marjamäki 2009-01-09 19:28:55 +0000
  • 7851b1042f errormessage: added error message ErrorMessage::dangerousUsageStrtol Daniel Marjamäki 2009-01-09 19:15:54 +0000
  • 3e5398499f errormessage: added header Daniel Marjamäki 2009-01-09 19:01:25 +0000
  • 38286a7d57 dmake: don't generate Makefile if there are no src files Daniel Marjamäki 2009-01-09 18:13:00 +0000
  • 6bdb14edfd tokenize: avoid "terminate called after throwing an instance of 'std::out_of_range'" Daniel Marjamäki 2009-01-09 18:00:11 +0000
  • c7730044c7 Added test case for preprocessor which currently fails. codeblocks project file updated, tools-files added. Reijo Tomperi 2009-01-08 22:28:54 +0000
  • 46f4701c26 Main returns now EXIT_SUCCESS or EXIT_FAILURE instead of 0. Feature request fixed: [ 2489787 ] Return value of cppcheck is always 0 Reijo Tomperi 2009-01-08 21:30:25 +0000
  • 42b661630b astyle changes, missed from previous commits Reijo Tomperi 2009-01-08 21:08:14 +0000
  • 66547e7ddf Fixed make install from the generated makefile Reijo Tomperi 2009-01-08 21:02:03 +0000
  • 5d0f8f0cfa errormessage: Added a few more messages for checkother.cpp Daniel Marjamäki 2009-01-08 20:56:51 +0000
  • 4dfc3a9c3d Added license text to errormessage.h (via code tha generates it) and also mention that it is generated by machine Reijo Tomperi 2009-01-08 20:51:07 +0000
  • 2a2adb037a errormessage: Added the new errormessage handling to cppcheck Daniel Marjamäki 2009-01-08 17:32:33 +0000
  • 1bc5740742 errormessage: updated the files. the errormessage.h is automaticly generated by the tools/errmsg program Daniel Marjamäki 2009-01-08 17:31:07 +0000
  • 3bdb3064b0 tools/errmsg: some refactoring Daniel Marjamäki 2009-01-08 17:29:44 +0000
  • 24530ebd60 sprintf: check for dangerous usage with sprintf|snprintf with overlapping data Daniel Marjamäki 2009-01-08 06:24:08 +0000
  • 21ae5f2721 runastyle : also set the code style in the tools Daniel Marjamäki 2009-01-08 06:23:21 +0000
  • 80c7e00e84 tools: Added headers to source files Daniel Marjamäki 2009-01-08 06:22:14 +0000
  • 8f86a941aa Simplify tokens: add a ";" after case and default Daniel Marjamäki 2009-01-07 17:49:21 +0000
  • de7de91091 preprocessor: applied patch submitted by kimmov Daniel Marjamäki 2009-01-07 17:47:32 +0000
  • 40637e436f Reverted [890] it cause more problems with Visual C++ Daniel Marjamäki 2009-01-07 15:43:20 +0000
  • 9239ebc6d1 Visual C++: Applied patch "fix_vs_project.patch" that kimmov submitted Daniel Marjamäki 2009-01-07 15:34:11 +0000
  • 5b86188c45 tools: updated the code style Daniel Marjamäki 2009-01-07 15:17:02 +0000
  • 8c71c4194f Borland C++: Removed unneeded ifdefs Daniel Marjamäki 2009-01-07 15:16:15 +0000
  • 0f111259b9 windows: Added runastyle.bat Daniel Marjamäki 2009-01-07 15:08:24 +0000
  • a832dfef58 Borland C++: Updated the project files Daniel Marjamäki 2009-01-07 15:07:26 +0000
  • 3a2fd91783 Optimization: 6,2 s -> 5,6 s Reijo Tomperi 2009-01-06 22:58:33 +0000
  • 0970dcd70f Changed codeblocks project file to reflect new build targets Reijo Tomperi 2009-01-06 21:08:30 +0000
  • 149ab87931 tools/dmake: A few simple fixes. Commited the new Makefile Daniel Marjamäki 2009-01-06 20:12:59 +0000
  • 2b671fef16 tools: dmake added a tool for maintaining the Makefile Daniel Marjamäki 2009-01-06 20:04:20 +0000
  • ff0a24ce56 Doxyfile added Reijo Tomperi 2009-01-06 17:51:49 +0000
  • 0ac9d34d70 tools/errmsg: minor fixes Daniel Marjamäki 2009-01-06 17:22:35 +0000
  • a62d3da857 tools/errmsg: code correction Daniel Marjamäki 2009-01-06 17:20:19 +0000
  • 934b251ec6 tools/errmsg: generate documentation Daniel Marjamäki 2009-01-06 17:09:27 +0000
  • 59a644b4b1 tools/errmsg: generate the function to use when determining if a check should be done or not Daniel Marjamäki 2009-01-06 16:25:42 +0000
  • 31f95aeec9 tools: Added a folder where we can keep small usable utilities Daniel Marjamäki 2009-01-06 15:02:34 +0000
  • e435a1f1d6 Refactoring: Added src/ and test/ folders. Moved source files to those folders, updated makefile and codeblocks project file. Reijo Tomperi 2009-01-06 14:18:36 +0000
  • 1cf308f018 tasks : Added tasks to create a doxygen project file Daniel Marjamäki 2009-01-06 12:59:02 +0000
  • 5dd90f5795 tasks: rewrote the tasks file Daniel Marjamäki 2009-01-06 11:30:49 +0000
  • 6302b53075 Preprocessor: Refactoring the unit testing. And enabled the macro expansion Daniel Marjamäki 2009-01-06 09:43:26 +0000
  • dc4497b250 Preprocessor: Improved handling of multiline macros Daniel Marjamäki 2009-01-06 08:49:54 +0000
  • f0f42563e6 Makefile: Fixed the preprocessor dependencies Daniel Marjamäki 2009-01-06 08:35:04 +0000
  • 8983357421 tasks.txt updated, %var1% task is done Reijo Tomperi 2009-01-05 23:42:17 +0000
  • e721383d01 Refactoring: %var1% complitely removed. Execution time increased from 4,7 to 6,2 seconds. Reijo Tomperi 2009-01-05 23:06:51 +0000
  • 49b864b1fd Refactoring: Getting rid of %var1% Reijo Tomperi 2009-01-05 22:47:27 +0000
  • a559b06c1f Refactoring: Getting rid of %var1% Reijo Tomperi 2009-01-05 21:22:09 +0000
  • 4642fc25aa Preprocessor : Added a few more testcases for the macro expansion Daniel Marjamäki 2009-01-05 20:41:34 +0000
  • 3b2827a7ba Preprocessor: Added simple handling for expanding preprocessor macros Daniel Marjamäki 2009-01-05 20:30:15 +0000
  • 5bd5b68b59 runastyle: Added script for running "astyle" with the options I have chosen against all cpp and h files Daniel Marjamäki 2009-01-05 15:52:02 +0000
  • ea1f3f4e85 Style: Updated the coding style with "astyle" Daniel Marjamäki 2009-01-05 15:49:57 +0000
  • 7495190312 Preprocessor: Began work on the macro handling Daniel Marjamäki 2009-01-05 09:26:00 +0000
  • 4d0cd99e97 Refactoring: Simplified a condition Daniel Marjamäki 2009-01-05 07:21:05 +0000
  • 36e54b739b Refactoring: Getting rid of %var1% Reijo Tomperi 2009-01-04 22:56:46 +0000
  • 66e03b8a92 Refactoring: Getting rid of %var1% Reijo Tomperi 2009-01-04 22:49:57 +0000
  • 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(). Reijo Tomperi 2009-01-04 20:33:12 +0000
  • 3dd3bad0ec Refactoring: findMatch() that supports varId added. %var1% -> %varid% changed Reijo Tomperi 2009-01-04 19:55:12 +0000
  • 066e03b00a MinGW: Applied the patch submitted by kidkat that makes cppcheck compilable with MinGW Daniel Marjamäki 2009-01-04 18:46:45 +0000
  • 9294e20e96 variable usage: fixed false positive when using operator '^' Daniel Marjamäki 2009-01-04 18:38:24 +0000
  • 651e295343 Made previous feature request fix more portable Reijo Tomperi 2009-01-04 18:31:36 +0000
  • 68d501db58 variable usage: The check must be made before simplifyTokenList to avoid false positives Daniel Marjamäki 2009-01-04 18:28:05 +0000
  • 0c06d757cc Fix for feature request: [ 2485706 ] Add support to *.C file extension Reijo Tomperi 2009-01-04 18:19:57 +0000
  • de60f3b9ad Variable usage: Addon to previous commit. Also handle "&=" and "^=" Daniel Marjamäki 2009-01-04 17:44:23 +0000
  • bf98b14b4f unused variable: Fixed false positive when using '|=' assignment Daniel Marjamäki 2009-01-04 17:41:59 +0000
  • dcd64a7ce6 Variable usage : Fixed false positives for struct/union member variables Daniel Marjamäki 2009-01-04 17:35:19 +0000
  • dcc15d7f22 Variable usage: Fixed false positive with operators ~ and ! Daniel Marjamäki 2009-01-04 17:27:32 +0000
  • 9ea852eb0e Variable usage: Fixed false positives (tmp1 ? tmp2 : tmp3) Daniel Marjamäki 2009-01-04 17:23:04 +0000
  • 76e2aea0f5 variable usage: added a test case to make sure usage in a if is seen Daniel Marjamäki 2009-01-04 17:09:55 +0000
  • 445230f3ae Variable usage : Fixed false positive with modulo Daniel Marjamäki 2009-01-04 16:42:10 +0000
  • f8c44507e6 Variable usage: Fixed a segmentation fault Daniel Marjamäki 2009-01-04 16:30:25 +0000
  • 53cd729ccc Struct member usage : Check union member variables at the same time Daniel Marjamäki 2009-01-04 15:05:00 +0000
  • 0f4dd5ea7b Variable usage: fixed false positives for union member variables Daniel Marjamäki 2009-01-04 15:02:22 +0000
  • a4d7ce1620 struct member usage: fixed false positives Daniel Marjamäki 2009-01-04 14:55:18 +0000
  • be2a10bfb6 Refactoring var1 -> varid Reijo Tomperi 2009-01-04 14:46:52 +0000
  • dd914c0089 Function usage : Fixed false positives for inline structs Daniel Marjamäki 2009-01-04 08:16:07 +0000
  • 68d08b73b6 Variable usage : Fixed a false positive for ("b = (int)a;" => a is read) Daniel Marjamäki 2009-01-04 07:49:41 +0000
  • f79b06b5a0 tokenize : Removed unneeded variable Daniel Marjamäki 2009-01-04 07:14:46 +0000
  • 7d59985d88 Refactoring : Changed a 'strcmp' to a 'simpleMatch' Daniel Marjamäki 2009-01-04 07:08:56 +0000
  • e097232e99 Possibly bug fix, changed %var% into %var1% as name was also given as a parameter to Match(). Not sure which was intended here. Reijo Tomperi 2009-01-03 21:07:37 +0000
  • 1594f453cc Refactoring: Changed order of parameters in Match() and findMatch() (deprecated parameter moved to last) Reijo Tomperi 2009-01-03 21:05:47 +0000
  • fee4d77e7b Refactoring: %var1% -> %varid% Reijo Tomperi 2009-01-03 20:53:12 +0000
  • 5d1d267624 Refactoring: Rename class "TOKEN" to "Token" Reijo Tomperi 2009-01-03 20:29:20 +0000
  • 2f9c73ce82 Buffer overrun: Moved the "buffer overrun" and "array index out of bounds" to "--all" because there were false positives Daniel Marjamäki 2009-01-03 15:22:53 +0000
  • 6850441c4a ErrorMessage class added (not used yet and it is still unfinished) Reijo Tomperi 2009-01-03 13:51:55 +0000
  • 2e23b09a05 Refactoring : Removed a short commented code that I never use anyway Daniel Marjamäki 2009-01-03 07:55:05 +0000
  • 2b3a987552 Using freed memory : Fixed false positive when usage is something like: printf("free %x",p); Daniel Marjamäki 2009-01-03 07:47:35 +0000
  • b756158644 Memory leak : Fixed a regression and added a test case Daniel Marjamäki 2009-01-03 07:40:09 +0000
  • f099796a10 Copyright 2007-2008 -> 2007-2009 Reijo Tomperi 2009-01-02 19:02:35 +0000
  • 8f55e38ea6 Refactoring: Constructor of TOKEN changed to use initialization list instead of assignment. Reijo Tomperi 2009-01-02 18:36:03 +0000
  • 80e35e7332 Preprocessor : Replace "#if defined(.." with "ifdef .." where possible Daniel Marjamäki 2009-01-02 18:27:50 +0000
  • 0e219ec24b Memory leak : Added test case "if10" which is similar to "if9" Daniel Marjamäki 2009-01-02 08:16:32 +0000
  • 8ff5124233 Memory leak: Improved the checking of usage after free (if str is freed then "char c = str[0];" is illegal) Daniel Marjamäki 2009-01-02 08:00:12 +0000
  • cc569d164d Memory leak: Renamed the test case "func12" to "if9" Daniel Marjamäki 2009-01-02 07:44:49 +0000
  • 0c2f90dceb Memory leak : Add a new test that currently fail to highlight a regression Nicolas Le Cam 2009-01-02 01:29:07 +0000