Daniel Marjamäki
a4471bc150
Refactoring: Use %op%
2011-04-09 18:33:37 +02:00
Daniel Marjamäki
447f61e9c7
Refactoring: Use %op%
2011-04-09 18:30:47 +02:00
Daniel Marjamäki
0730fad778
Refactoring: Use %op%
2011-04-09 18:24:41 +02:00
Daniel Marjamäki
6c4f5fc496
Token::multiCompare : allow that %op% is used in multiCompare pattern
2011-04-09 18:09:13 +02:00
Daniel Marjamäki
575cb242c2
Refactoring: Use Token::isOp
2011-04-09 16:22:47 +02:00
Daniel Marjamäki
f6d910ab3d
Refactoring: Use Token::isOp
2011-04-09 15:54:36 +02:00
Daniel Marjamäki
8c6d61ede3
Makefile: Set debug mode
2011-04-09 12:56:32 +02:00
Daniel Marjamäki
e984e59ee2
Release: Updated Makefile for release
2011-04-09 12:41:50 +02:00
Daniel Marjamäki
7e8a6b177e
Release: Updated the Changelog
2011-04-09 12:40:21 +02:00
Daniel Marjamäki
3ad7568df8
TestFileLister: astyle formatting and removed commented debug code
2011-04-09 08:20:34 +02:00
Daniel Marjamäki
e75acd7476
Release: Updated versions to 1.48
2011-04-09 07:55:07 +02:00
Daniel Marjamäki
a3f177fc97
Fixed cppcheck warnings: Removed extra 'Token::' from statement
2011-04-09 06:56:31 +02:00
Daniel Marjamäki
8e711b7925
Refactoring: there was almost duplicate functions 'isOp'. Created a new Token::isOp function instead.
2011-04-08 19:40:22 +02:00
Robert Reif
3c8644fcf8
added tests for #2710 (False negative on uninitialized member variable in a ctor.)
2011-04-08 07:39:30 -04:00
Daniel Marjamaki
8601c64d99
Fixed TestFileLister tests in windows
2011-04-07 17:49:18 +02:00
Daniel Marjamäki
6f7e9a67b0
Fixed #2684 (TestFileLister test assumes there are source files in the same directory)
2011-04-07 17:36:42 +02:00
Markus Elfring
0d76d87770
Merge branch 'master' of git://github.com/danmar/cppcheck
2011-04-07 16:55:47 +02:00
Daniel Marjamaki
fbc8223a6b
Preprocessor: Fixed expandMacros problem. Ticket: #2707
2011-04-07 16:53:42 +02:00
Kimmo Varis
1752cb62dc
GUI: Print command line help with -h and --help.
2011-04-07 16:07:55 +03:00
Kimmo Varis
a5c12172f9
GUI: Allow giving project file to command line.
...
GUI now recognizes -p <project file> command line parameter. When
given (with path to valid project file) GUI automatically loads
the project file and starts checking paths in it.
Ticket: #2613 (GUI: Should accept project file from command line)
2011-04-07 15:34:15 +03:00
Kimmo Varis
803203a876
Fix test VS2008 project file attributes.
2011-04-07 14:10:31 +03:00
Stefan Weil
8482eb9d5c
Obsolete functions: Fix messages for gethostbyaddr, gethostbyname
2011-04-07 00:33:54 +02:00
Daniel Marjamäki
b5bdb9eeae
fixed gcc compiler warning
2011-04-06 21:40:50 +02:00
Daniel Marjamäki
e9f49cd30b
Merge branch 'master' into elfring-2679e
2011-04-06 21:35:31 +02:00
Kimmo Varis
1907590303
Installer: Add Spanish translation file.
2011-04-06 21:34:11 +03:00
Daniel Marjamaki
cb473a48b7
Preprocessor: Use Settings::debugwarnings instead of NDEBUG to determine if 'missing system include' should be reported or not
2011-04-06 19:49:04 +02:00
Markus Elfring
6cd0c2f1b3
Addition of Spanish translation in the GUI CMake script
...
A file name was added to the GUI CMake script for the Spanish translation.
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
2011-04-06 17:06:23 +02:00
Markus Elfring
796761d582
Conditional inclusion of TinyXML source files in the CLI CMake script (bug #2679 , #2524 )
...
The source files for the class library "TinyXML" will only be included into
the build of the command line interface if the library "PCRE" was found before.
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
2011-04-06 16:30:23 +02:00
Kimmo Varis
a5540e8548
GUI: Sort language files in project file.
2011-04-06 09:56:26 +03:00
Kimmo Varis
6aabc79d49
GUI: Update translation files.
...
Adding new Spanish translation added one new translatable string
and changed linenumbers in one file.
2011-04-06 09:53:15 +03:00
Lauri Nurmi
8a4507cc55
GUI: Add Spanish translation.
...
Patch to add loading Spanish translation to GUI.
Ticket #2545 (cppcheck translated in spanish language)
2011-04-06 09:49:17 +03:00
Kimmo Varis
c95ff88272
GUI: Add Spanish translation.
...
Add Spanish GUI translation contributed by
qcondor@users.sourceforge.net .
Ticket #2545 (cppcheck translated in spanish language)
2011-04-06 09:29:13 +03:00
Kimmo Varis
e006087a38
GUI: update translation files.
2011-04-06 09:12:09 +03:00
Daniel Marjamaki
aa96fdfeb3
gui: removed obsolete strings in the swedish translation
2011-04-05 21:29:48 +02:00
Daniel Marjamaki
0f13f4abe4
gui: updated swedish translations
2011-04-05 21:27:03 +02:00
Robert Reif
d985fc008a
run astyle
2011-04-04 22:25:56 -04:00
Robert Reif
23e4f020e9
fix #2706 (Analysis failed. If the code is valid then please report this failure.)
2011-04-04 22:18:12 -04:00
Ettl Martin
af632a6aa0
Added todo testcase for ticket #2705
2011-04-04 23:29:18 +02:00
Kimmo Varis
f498e53cd2
GUI: Improve the error message for language loading error.
2011-04-04 23:10:02 +03:00
Daniel Marjamäki
4ac3c7fe3b
clarify calculation: fixed false negative for 'int x = a - b ? 2 : 3'
2011-04-04 21:33:16 +02:00
Daniel Marjamäki
0d3874693a
Buffer overrun: broke out duplicate code
2011-04-04 17:33:43 +02:00
Kimmo Varis
eac3a8c86c
GUI: Project file cleanup.
2011-04-04 14:18:28 +03:00
Kimmo Varis
dcfc7aa3f0
GUI: Don't show error when no application added.
...
I earlier added a check for missing (editor) application command
line parameters. If parameters are missing at GUI startup an
message is shown to user to check the settings. Unfortunately
my check was incomplete and it also triggered when there was no
applications defined. Which happens when user starts GUI for a
first time.
Fix the check so that user is only informed in case the parameters
are missing and name + path are set.
2011-04-04 11:16:53 +03:00
Kimmo Varis
820e1697cc
GUI: Improve the Application dialog layoyt.
...
In GNOME the whole big text area was not shown without making the
dialog bigger. So improve the layout for better scaling and adjust
dialog size when it gets initialized.
2011-04-04 11:00:09 +03:00
Kimmo Varis
cfd570e1f3
GUI: Fix setting application path as name.
...
The application dialog initialized name field with path.
2011-04-04 10:23:43 +03:00
Daniel Marjamäki
63acd9bb3e
Clarify calculation: Added warnings for << and >>
2011-04-03 22:12:22 +02:00
Daniel Marjamäki
266d1cc4d3
Null pointer: cleanup the code. Ticket: #2642
2011-04-03 21:55:21 +02:00
Martin Exner
bc3507118d
Fixed #2696 (False positive nullpointer)
2011-04-03 21:06:42 +02:00
Daniel Marjamäki
ed8cdddcf5
Tokenizer: execute the simplifyIfNot and simplifyIfNotNull in the normal token list. ticket #2642
2011-04-02 21:21:05 +02:00
Kimmo Varis
9182b8be19
GUI: Fix gui.pro EOL style.
2011-04-02 20:16:18 +03:00