Commit Graph

10192 Commits

Author SHA1 Message Date
Daniel Marjamäki fc9998e439 daca2: bailout if download fails 2013-10-24 17:39:37 +02:00
XhmikosR 7349d4b767 Update htmlreport/cppcheck-htmlreport.
There were cases where two subsequent lines have errors, that they overlapped.

Also, add box-sizing and use single quotes inside double quotes to get rid of escaping them.
2013-10-24 08:43:45 +03:00
XhmikosR 31a0e35ef2 Tweak cppcheck-htmlreport.
Move style to a class and tweak properties.
2013-10-23 19:21:20 +03:00
XhmikosR 11a0763b40 Merge pull request #186 from matthiaskrgr/css2
html-report CSS
2013-10-23 09:06:42 -07:00
XhmikosR f1db6deddf Merge pull request #189 from myint/unicode
Use Unicode consistently throughout cppcheck-htmlreport
2013-10-23 08:42:00 -07:00
Steven Myint 0758088811 Use Unicode consistently throughout the script
This is related to #186.
2013-10-23 06:34:50 -07:00
Daniel Marjamäki c6702db9ab Code cleanups 2013-10-23 15:03:31 +02:00
XhmikosR c11ee0a1ed Remove unused variables. 2013-10-23 09:19:23 +03:00
XhmikosR 93bdf45313 Fix typo in error message. 2013-10-23 09:05:39 +03:00
XhmikosR 549e464dcf Run lupdate. 2013-10-23 09:05:39 +03:00
Daniel Marjamäki 364757e1e1 Fixed #5089 ('inconclusive' output printed although --inconclusive not specified) 2013-10-23 06:42:52 +02:00
Matthias Krüger ab3f866911 htmlreport: allow content to be wider and reduce height of menu box. If we need STILL more width for the content box, the scroll bar is added as fallback anyway. 2013-10-22 20:30:46 +02:00
Matthias Krüger df88acb04d htmlreport: fix page border, seperation border at right side of linenumbers. 2013-10-22 20:30:46 +02:00
Matthias Krüger ca2e5e3fff htmlreport: change grey-tone of the code-line numbers, set page-width to auto and adjust margin. 2013-10-22 20:30:46 +02:00
Matthias Krüger 7fa5435d54 htmlreport: use "overflow: auto" in body. This prevents the <pre> text from overlapping the "page" class. Instead a scrollbar is displayed at the bottom of the element. 2013-10-22 20:30:46 +02:00
Matthias Krüger 4f1fdce09e htmlreport: give warnig boxes ("HTML_ERROR") smaller frame and padding so they don't overlap each other if there is another one in next line.
borderwith: 2px -> 1px
padding:    3px -> 1px
2013-10-22 20:30:46 +02:00
Daniel Marjamäki d1b03d9c31 Fixed false positive for 'object is destroyed immediately' when there is no code after the object 2013-10-22 19:37:11 +02:00
Daniel Marjamäki a55056c770 Fixed #5105 (false positive: (warning) Either the condition 'b!=0' is useless or there is division by zero) 2013-10-22 16:18:42 +02:00
Daniel Marjamäki fd0f2d7900 Fixed #4929 (False positive: possible null pointer deref (checks dont handle && and || well)) 2013-10-22 10:47:48 +02:00
Daniel Marjamäki b15eeb0aa8 autopep8 formatting 2013-10-20 18:36:33 +02:00
Sam Truscott 6806fd8135 Extended Qt support through Library 2013-10-20 14:09:10 +02:00
Daniel Marjamäki fc26de89a9 Fixed #5082 (False positive: (error) Possible null pointer dereference: p2) 2013-10-20 13:37:36 +02:00
Daniel Marjamäki 47766736fc daca2: handle xz compression 2013-10-20 12:45:05 +02:00
Daniel Marjamäki f58b4b61e2 daca2: improved command line flags 2013-10-20 11:28:16 +02:00
Daniel Marjamäki 17f8edfada daca2: tried to improve getpackages to be more robust 2013-10-20 11:25:31 +02:00
Daniel Marjamäki 4debaa2b92 daca2: alloc passing rev to script 2013-10-20 10:49:54 +02:00
Elbert Pol c6a628249a GUI: Improved translation 2013-10-19 18:12:10 +02:00
Daniel Marjamäki 5d7e0aebf4 Fixed #5084 (False positive: (style) Same expression on both sides of '&&') 2013-10-19 18:04:53 +02:00
Daniel Marjamäki 6aa03efa2f Fixed #5103 (Don't show 'The scope of the variable can be reduced' if there is no explicit block with { }) 2013-10-19 17:27:02 +02:00
Daniel Marjamäki 7f9f624215 daca2: more reliable ftp 2013-10-19 13:46:15 +02:00
Daniel Marjamäki c9491f952b daca2: skip flite, quick fix of possible hang 2013-10-19 09:53:23 +02:00
Daniel Marjamäki e3a12de057 astyle formatting 2013-10-19 09:52:19 +02:00
XhmikosR 0dba668661 daca2-report.py: use a doctype. 2013-10-18 17:37:03 +02:00
Daniel Marjamäki 88447385c2 autopep8 formatting 2013-10-18 17:35:59 +02:00
Daniel Marjamäki f8710cb984 Fixed #5102 (Crash if -D is used when scanning simple preprocessor code.) 2013-10-18 06:47:55 +02:00
Daniel Marjamäki 072c80bde8 daca2: cleanup large files before cppcheck starts 2013-10-18 05:31:00 +02:00
Daniel Marjamäki 91e23c0660 daca2: don't check large files 2013-10-18 04:53:14 +02:00
Daniel Marjamäki 4f578a5e4b htdocs: Added DACA2 link on the dev page 2013-10-16 22:52:51 +02:00
Daniel Marjamäki 2d38245ea7 daca2-report: rephrazed 'Most recently updated' 2013-10-16 22:31:33 +02:00
Daniel Marjamäki c593092611 daca2-report.py: Added script that generates daca2 report 2013-10-16 18:15:51 +02:00
Daniel Marjamäki 94f91f20e1 daca2: improved cleanup 2013-10-16 17:22:00 +02:00
Robert Reif b41ab8a4d5 Fixed #5088 (Token::Match called with varid 0. in libreoffice sd/source/ui/table/TableDesignPane.cxx) 2013-10-14 21:05:54 +02:00
Daniel Marjamäki cee40beee1 daca2: removing readonly files/folders 2013-10-14 15:49:11 +02:00
orbitcowboy 9debeab47c Tokenizer:simplifyMathExpressions: fixed false negative patterns for simplification. 2013-10-11 11:58:37 -07:00
Daniel Marjamäki b6c405ef21 Merge pull request #182 from matthiaskrgr/travis
Travis check --errorlist output via htmlreport, check xml output via xmllint
2013-10-13 11:33:42 -07:00
Daniel Marjamäki 79972d52fc runastyle: archive has been removed 2013-10-13 17:44:48 +02:00
Daniel Marjamäki bb0385321f Fixed #5074 (False positive: Duplicate expression (macro)) 2013-10-13 17:42:06 +02:00
Martin Ettl a674ed1aa9 Tokenizer:simplifyMathFunction: added simplifcation for fma[f|l]() functions. 2013-10-13 16:28:02 +02:00
Martin Ettl e18ebf313f Tokenizer:simplifyMathFunctions: added support for more math functions. 2013-10-13 15:41:47 +02:00
Martin Ettl cdb47813d5 Tokenizer:simplifyMathFunctions: added support for cosh[f|l], cos[f|l] and erfc[f|l] functions. 2013-10-13 14:23:10 +02:00