Mika Attila
d642faf1d8
gui: Only load embedded translation if it doesn't exist in lang/
...
This makes it easier to test/override translations
2014-01-16 13:04:59 +01:00
Mika Attila
6a97da9871
gui: Embed the language files into the executable
...
This allows for:
- Out-of-source builds
- Easy installation
2014-01-15 14:35:26 +01:00
Daniel Marjamäki
037a0ba986
GUI: change -std=c++11 to -std=c++0x as it's more backwards compatible
2014-01-12 15:46:22 +01:00
Daniel Marjamäki
9c088c2dd6
gui.pro: add -std=c++11 to linux builds
2014-01-12 13:51:08 +01:00
Daniel Marjamäki
f0743d3bc4
GUI: add the cfg files in the resources. use these as fallback when normal loading fails.
2014-01-11 08:38:26 +01:00
PKEuS
e133bdded6
Updated (german) translation
2014-01-04 10:20:45 +01:00
Alexander Mai
12df5300ba
Fixed #5290 (Doxygen fixes ( 32be409
))
2014-01-01 20:46:00 +01:00
Daniel Marjamäki
93b8a261a2
GUI: Add some sorting in the suppressions handling
2013-12-31 11:00:01 +01:00
Daniel Marjamäki
14d65f212f
GUI: Refactoring the loading of libraries in mainwindow
2013-12-31 10:46:44 +01:00
Daniel Marjamäki
803182bf45
Reverted 'GUI: Added CFGDIR qmake flag' there are various installation problems and this only fixes one of them.
2013-12-31 10:35:34 +01:00
Daniel Marjamäki
24a9da3771
GUI: Add suppressions to project file
2013-12-30 22:32:50 +01:00
Daniel Marjamäki
c143b02e67
GUI: Added CFGDIR qmake flag
2013-12-30 09:01:44 +01:00
Daniel Marjamäki
ac91aa4fdf
GUI: Load user-selected library properly
2013-12-30 00:23:42 +01:00
Daniel Marjamäki
bf8bb29938
GUI: Allow user to choose any available library file
2013-12-30 00:05:03 +01:00
Daniel Marjamäki
9698387d3a
GUI: Add libraries setting to project
2013-12-29 18:06:31 +01:00
Daniel Marjamäki
562387e3ff
library: use extensions when loading std.cfg and posix.cfg
2013-12-26 13:18:54 +01:00
Daniel Marjamäki
6785f07458
GUI: Use tr() to make visible strings translatable.
2013-12-26 11:24:05 +01:00
Daniel Marjamäki
4131c621c9
Fixed #5254 (Warn about missing library files (.cfg))
2013-12-26 11:15:28 +01:00
Lucas Manuel Rodriguez
a15561d7eb
Update Spanish GUI translation file with Qt Linguist
2013-12-25 17:38:55 -03:00
Daniel Marjamäki
76b907fe65
Fixed #5252 (Improve check: use Library to validate function arguments in invalidFunctionUsage)
2013-12-23 10:06:45 +01:00
XhmikosR
38471babf9
Reduce variable scope.
2013-11-05 08:10:44 +02:00
XhmikosR
549e464dcf
Run lupdate.
2013-10-23 09:05:39 +03:00
Elbert Pol
c6a628249a
GUI: Improved translation
2013-10-19 18:12:10 +02:00
PKEuS
7d39a2d8bd
Ran lupdate gui.pro
2013-10-12 12:33:03 +02:00
Daniel Marjamäki
2b3e1a28d8
Reverted 4f76f8f558
(GUI: wrong multiselection behaviour)
2013-09-07 19:38:40 +02:00
Daniel Marjamäki
6e536b9e35
astyle formatting
2013-08-21 22:53:46 +02:00
Daniel Marjamäki
4f76f8f558
Fixed #4606 (GUI: Allows selection of multiple directories then does nothing)
2013-08-21 22:51:33 +02:00
PKEuS
2413655d3d
Moved GUI translations into subdirectory /lang
2013-08-03 20:21:13 +02:00
PKEuS
5a92af2556
lupdate gui.pro
2013-08-03 19:05:15 +02:00
Daniel Marjamäki
0c5e39a813
Library: Added configuration file std.cfg that clients should load.
2013-07-20 17:12:56 +02:00
Daniel Marjamäki
941da42cfd
GUI: updated swedish translation
2013-07-20 16:01:02 +02:00
Kimmo Varis
d1ec81771c
Fixed 3191 (GUI: Does not compile against Qt 5)
2013-07-13 09:16:15 +02:00
XhmikosR
849292f821
Run lupdate.
2013-07-06 17:19:36 +02:00
Daniel Marjamäki
bafdb80110
Revert "GUI: Added --std setting for GTK"
...
This reverts commit 5f5fdab650
.
The --std setting for GTK has been removed
2013-07-05 21:53:19 +02:00
vBm
8340d32460
Update Serbian localization
2013-06-30 16:45:05 +02:00
XhmikosR
d517e12043
Run lupdate.
2013-06-30 12:41:59 +02:00
XhmikosR
850cfe2be2
Compress gui/images/go-home.png a little more.
2013-06-30 12:41:59 +02:00
Daniel Marjamki
5f5fdab650
GUI: Added --std setting for GTK
2013-06-29 19:40:22 +02:00
Zachary Blair
a381170886
Fixed #4874 (Minor spelling corrections)
2013-06-26 00:47:02 -07:00
Daniel Marjamäki
02fbf15557
Fixed #4855 (GUI: The checking of the file will be interrupted because there are too many #ifdef configurations.)
2013-06-18 14:14:33 +02:00
Дмитрий Старцев
c5d33e163c
GUI: Updated russian translation
2013-06-17 19:48:29 +02:00
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
PKEuS
77bab29809
Updated german translation
2012-12-06 18:57:19 +01:00
Frank Zingsheim
9784a426f4
Support for older Qt versions which do not support "setPlaceholderText"
2012-12-04 22:47:47 +01:00
XhmikosR
b0a3ef33ef
compress gui images losslessly
2012-12-01 17:22:19 +01:00
Edoardo Prezioso
072ad3e344
Updated the translation files with lupdate+lrelease.
...
Updated also the Italian translation which became useless, should be done the same for the other files.
2012-12-01 03:30:26 +01:00
PKEuS
5f8496407f
Fixed #4357 : Wrongly configured slot caused Ok() handler being not called.
2012-11-30 12:38:41 +01:00
Edoardo Prezioso
66627e0608
Update Italian translation, fix German translation
2012-11-03 23:36:03 +01:00
PKEuS
01f929a7e2
Updated german translation
2012-11-03 21:46:01 +01:00
PKEuS
869966cbbf
Updated .ts files
2012-11-03 21:42:59 +01:00
Alexander Mai
dc6d0c0dea
Added Copy message Id to context menu ( #4327 )
2012-11-03 21:41:42 +01:00