Commit Graph

838 Commits

Author SHA1 Message Date
XhmikosR 17b4a906ea gui: losslessly compress images with https://github.com/subzey/zopfli-png 2013-05-08 18:36:35 +02:00
PKEuS a94598e447 Fixed some gcc and cppcheck messages 2013-03-05 07:07:59 -08:00
PKEuS f1ad74da80 Ran lupdate gui.pro 2013-03-02 09:09:04 -08:00
PKEuS 30bdab5d8d Added support for new code standard options to GUI (#4132) 2013-03-02 04:01:21 -08:00
PKEuS b1b2b9b66b Use standard Qt buttons in LogView. Recreate LogView when changing language (#3647) 2013-03-01 12:07:34 -08:00
PKEuS a1926a8f89 Partial Fix for #3647: Provide translations for standard Qt buttons 2013-03-01 11:07:28 -08:00
PKEuS c4b711c0a7 Improved GUI translation:
- Allow translating texts before before Window is created
-> Translate help text
- Use AboutDialog instead of message box on Windows when starting GUI with -v
2013-03-01 10:11:27 -08:00
Alexander Mai dc88f20201 Implement -v and --version for GUI 2013-03-01 17:43:53 +01:00
PKEuS 4c23f0101a Updated translations:
- ran lupdate gui.pro
- Updated german translation
- Removed obsolete translations for file dialog
2013-03-01 07:10:44 -08:00
PKEuS d9f982443d Ran astyle 2013-02-19 12:39:50 -08:00
Mateusz Pusz 2f47b82090 Storing last path implemented according to received feedback 2013-02-17 19:59:57 +01:00
Mateusz Pusz c6520ffafe doxygen comments added 2013-02-17 19:59:56 +01:00
Mateusz Pusz 7301a3e64d QFileDialog last used paths storage improved 2013-02-17 19:59:56 +01:00
PKEuS 107dd31e50 Fixed calculation of statistics in GUI (#4578) 2013-02-15 07:49:36 -08:00
dencat b56d2a1364 update russian translation 2013-02-14 13:26:38 +04:00
Daniel Marjamäki b660cf89ef astyle formatting 2013-02-10 23:53:01 +01:00
Daniel Marjamäki ea574b0a38 GUI: Enable 'warning' severity implicitly 2013-02-10 23:19:07 +01:00
Daniel Marjamäki e18888cd4d Merge pull request #135 from acmyo/gcc346
fix misspellings & gcc v3.4.6 warnings
2013-02-10 01:21:58 -08:00
Daniel Marjamäki e4b8512bc7 GUI: Reverted 'GUI while opening FileDialog now remembers last path used' 2013-02-10 08:15:32 +01:00
unknown 6fdb24b7e7 GUI: Added extra command line parameters for opening a results file and for specifying which folder the results apply to 2013-02-10 07:50:47 +01:00
Andrew C. Martin bd0d9b9639 fix misspellings & gcc v3.4.6 warnings
1.  fix typos / misspellings
 - Fix misspelling within comments, variable/function names, stdout messages
 - changes the name of an error code: ```stlBoundries``` changed to ```stlBoundaries```.  Alias old name (```stlBoundries```) to the new one.

2.  fix gcc v3.4.6 32bit & 64bit warnings

 - fixes gcc v3.4.6 warnings, except for those in tinyxml and "-Wmissing-declarations" makefile warnings
 - in Preprocessor::handleIncludes(), replace a ```vector <bool>``` with ```stack<bool>``` (see ```vector<bool>``` warning below).
   - this is the only ```vector<bool>``` in the codebase
 - ```vector <bool>``` is actually a case of template specialization, and is not recommended, according to the following links:

http://stackoverflow.com/q/6461487
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2160.html
http://stackoverflow.com/q/670308

 - in the codebase before and after this change, testrunner SEGVs in a number of places on gcc v3.4.6, including ```Check::~Check()```, among others
   - fc42fc95 fixes this particular runtime issue for DJGPP & __sun
2013-02-09 23:43:09 -07:00
Daniel Marjamäki ff89997d89 Merge pull request #132 from mpusz/hide_all_with_id
"Hide all with id" popup menu item added
2013-02-09 22:33:39 -08:00
Daniel Marjamki 318ace7879 astyle formatting 2013-02-09 19:36:48 +01:00
Mateusz Pusz 90c0a6408f Translations updated 2013-02-08 08:26:24 +01:00
Mateusz Pusz 013de4857c GUI while opening FileDialog now remembers last path used 2013-02-07 18:06:11 +01:00
Mateusz Pusz 8b2a058539 "Hide all with id" popup menu item added
Give the user a chance to quickly hide all errors of specific type he is not interested in.
2013-02-07 18:05:51 +01:00
Daniel Marjamäki 446f326225 GUI: fixed cppcheck-warning for comparing unsigned variable with '<= 0' 2013-02-04 20:38:29 +01:00
dencat 95b244d4e1 update russian translation 2013-02-01 17:50:28 +04:00
PKEuS ea40fb60d1 Updated german translation 2013-01-25 14:05:31 -08:00
XhmikosR 645126fb8e remove double trailing semicolons 2013-01-23 06:48:21 +01:00
Andrew C. Martin 4a73c93750 Fix compiler warnings and comment/string typos
- fix g++ warning:

> lib/checkother.cpp:3779: warning: comparison between signed and unsigned integer expressions

 - fix suncc warning (see [everything2](http://everything2.com/title/C%252B%252B%253A+static+extern+%2522C%2522)):

> "lib/checkmemoryleak.cpp", line 578: Warning (Anachronism): Formal argument __compar of type extern "C" int(*)(const void*,const void*) in call to bsearch(const void*, const void*, unsigned long, unsigned long, extern "C" int(*)(const void*,const void*)) is being passed int(*)(const void*,const void*).

- prefer empty() / isEmpty() over "size() > 0" (cases not caught by stlSize)

- fix word misspellings (mostly comments, a few output lines)

  - Parenthesis => Parentheses (both variations were used in the codebase)

  - fix typo and wording ("never alwayw") in gui/test/data/benchmark/simple.cpp's CheckOther::unsignedPositive():

```
-  "An unsigned variable will never alwayw be positive so it is either pointless or "
+  "An unsigned variable can't be negative so it is either pointless or "
```
2013-01-16 07:37:07 -07:00
PKEuS 25e07c2466 Updated copyright year in about dialog 2013-01-12 17:50:09 +01:00
Daniel Marjamäki 6bf47212c2 Fixed #4479 (GUI tests fail) 2013-01-12 10:44:13 +01:00
XhmikosR 8d5afa7083 update translations 2013-01-07 19:53:32 +01:00
Daniel Marjamäki d5dfd5a006 GUI: removed my clumpsy selectfiles dialog. use the standard file selection dialog instead. 2013-01-04 10:23:16 +01:00
Edoardo Prezioso 9455542e81 Update cppcheck translations. 2013-01-02 15:43:54 +01:00
Reijo Tomperi 5d5f7085bf Updating year 2012 -> 2013 to .cpp and .h files and man page. 2013-01-01 18:29:08 +02:00
XhmikosR b7501a1db0 buildhelp.bat: Add missing popd 2012-12-23 10:58:33 +01:00
He Yuqi 6e6f864072 Update the Chinese translation. 2012-12-21 11:32:25 +08:00
He Yuqi ee095cbc97 Update the Chinese translation. 2012-12-20 21:31:08 +08:00
He Yuqi c5a2cd25ec Update the Chinese translation. 2012-12-19 22:28:45 +08:00
He Yuqi 5a21c7622f Update the Chinese translation. 2012-12-19 18:23:29 +08:00
He Yuqi df2523f956 Update the chinese translation. 2012-12-19 00:23:41 +08:00
He Yuqi d89a4cfd8a Create the translation file for Simplified Chinese. 2012-12-18 17:53:14 +08:00
Reijo Tomperi 8780713c51 Add test case (in comments) for exclude directory bug in gui. 2012-12-13 00:16:24 +02:00
PKEuS 1f87961c16 Fixed recent regression in GUI: multiple messages with same Id in the same line weren't shown 2012-12-07 04:35:14 -08:00
PKEuS 2a1ca20795 Fixed duplicate rows on windows when file name case differs (#2041) 2012-12-07 03:54:28 -08:00
Edoardo Prezioso 0273c183a7 Run astyle and update the translation files.
I believe we need a hook script because else everytime we change a file we have to make a new commit to fix the discrepancies problems.
2012-12-07 01:49:51 +01:00
Frank Zingsheim a24f224a38 Revert "Support for older Qt versions which do not support "setPlaceholderText""
This reverts commit 9784a426f4.

Support for older Qt versions is not desired.
See https://github.com/danmar/cppcheck/pull/31
2012-12-06 22:21:44 +01:00
PKEuS ae447a192a Removed some more nested redundant QHBoxLayout/QVBoxLayout/QWidget were it is safe to remove them. 2012-12-06 19:00:38 +01:00