Cristian Adam
6c25049019
Windows: Remove explicit usage of _WIN32_WINNT and WINVER macros
...
The are set in a central place, in the precompile header file.
Or as DEFAULT_DEFINES when the precompile header file is not used.
Change-Id: Ie020f916b64eabcd5a8153f4be5474986f5afed5
Reviewed-by: Orgad Shaneh <orgads@gmail.com >
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io >
2019-10-31 11:45:20 +00:00
hjk
251287f0d3
Avoid warning on empty expressions
...
For some reason, Q_UNUSED includes already a semicolon, adding one
on the user side creates an additional empty statement.
Change-Id: I9c5e8fac381345a60792cb75e2938fd53958d3b0
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
2019-07-23 11:55:59 +00:00
Alessandro Portale
e38410b76c
Utils: Modernize
...
modernize-use-auto
modernize-use-nullptr
modernize-use-override
modernize-use-using
modernize-use-default-member-init
modernize-use-equals-default
Change-Id: I8d44d9405011a1878353baf9325f7af90b89db02
Reviewed-by: hjk <hjk@qt.io >
2018-07-20 13:36:22 +00:00
Orgad Shaneh
1958c2129e
Revert "Windows: Match the name case of included files"
...
It breaks cross-compilation on linux/mingw.
This reverts commit 1c014ed3d9 .
Change-Id: I3e8183ec318541a4393ad242eefbdeaa78b7be44
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io >
2018-07-19 05:44:06 +00:00
Alessandro Portale
1c014ed3d9
Windows: Match the name case of included files
...
Although Windows is case insensitive, and lower case always works, Clang
complains:
Lexical or Preprocessor Issue: warning: non-portable path to file
'<FooBar.h>'; specified path differs in case from file name on disk
Change-Id: I8f94e9fb62f6afec8aa6b9d08a7c78f6ba8a4435
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io >
2018-07-12 20:12:30 +00:00
Christian Kandeler
3c0cd59059
Utils: Fix compiler warning on unix hosts
...
Change-Id: Iaac91d22f4df8ab15fb1ba232475bf8661d4f97b
Reviewed-by: hjk <hjk@qt.io >
2018-02-08 15:27:57 +00:00
Oliver Wolff
74d718c001
Fix MinGW valgrind build
...
QueryFullProcessImageName is only available on Windows >= Vista.
iSetting _WIN32_WINNT fixes availability on MinGW and moving the
functionality to winutils avoids code duplication.
Change-Id: I0ff1a12a1c092b1ad9cde75b636b52c5b959ce7d
Reviewed-by: Orgad Shaneh <orgads@gmail.com >
Reviewed-by: David Schulz <david.schulz@qt.io >
2018-02-06 07:30:18 +00:00
Tobias Hunger
f72370f20a
Update License according to agreement with Free Qt Foundation
...
* Update remaining files in src
Change-Id: I1896f17fcf34f71c3310c87899fb5171b8e4afb1
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com >
2016-01-19 15:59:41 +00:00
Eike Ziller
3c85058694
Update License
...
Change-Id: I711d5fb475ef814a1dc9d2822740e827f3f67125
Reviewed-by: Alessandro Portale <alessandro.portale@digia.com >
2015-01-16 12:37:56 +01:00
Eike Ziller
8295b503be
License update
...
Change-Id: I3c22ef2685d7aa589f5d0ab74d693653a4c32082
Reviewed-by: Alessandro Portale <alessandro.portale@digia.com >
2014-10-09 11:41:44 +02:00
Kai Koehne
453d191d0f
Prevent 'qmake -query' from bringing up modal message dialog on startup
...
Temporarily set the ErrorMode so that no Windows error message box will
show up in case qmake fails to run (e.g. because of missing .dll's).
The error mode will automatically be inherited by child processes.
This fixes an issue that actually became virulent by another bug fix
( cbb053068c ).
Task-number: QTCREATORBUG-11962
Change-Id: I5baccf52baee46f3d45b69ea0a13d77e4e113fbd
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com >
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com >
2014-04-07 10:18:57 +02:00
Tobias Hunger
da7b02df2f
winutils: Fix warning about unused functions on non windows
...
Change-Id: Ied8a26009de64ce8b6f285d41609e801f82e61e3
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com >
2014-02-28 12:49:14 +01:00
hjk
97d98c96e5
Utils: Compile winutils on all platform
...
... and simplify "user" code.
Change-Id: I2dfa402f25ab83f1ab80adc0ac508e8383c69641
Reviewed-by: David Schulz <david.schulz@digia.com >
2014-02-20 11:10:30 +01:00
Robert Loehning
746c5d8863
Incremented year in copyright info
...
Change-Id: Ib5423fdd064e4546f848c0b640b0ed0514c26d3a
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com >
Reviewed-by: Kai Koehne <kai.koehne@digia.com >
2014-01-08 08:29:47 +01:00
Orgad Shaneh
4de3b94840
Crossify normalizePathName
...
Denoise usages
get{Short|Long}PathName are now static. They're not used anywhere except
in normalizePathName.
Change-Id: Ief277b6d828faadd98ec7faa39dd682bfaa8805f
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com >
Reviewed-by: hjk <hjk121@nokiamail.com >
Reviewed-by: Eike Ziller <eike.ziller@digia.com >
2013-10-24 10:38:36 +02:00
hjk
b89afac9d4
Utils: Rename winQPidToPid to qPidToPid
...
... and make it a no-op on non-Windows. Saves #ifdefs.
Change-Id: Ie791f7b9f1a425325d0b889e73758c5f7f7e6ad2
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com >
2013-07-12 09:39:35 +02:00
Kai Koehne
16fd2cbb93
MinGW: Fix warning about _WIN32_WINNT being redefined
...
Change-Id: Ia097316b1eb16fbb0868f8b3f42e0ad5892f4573
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com >
2013-04-24 12:17:44 +02:00
Robert Loehning
298531e370
Incremented year in copyright info
...
Change-Id: Ic6a9ff0359625021ebc061d22db6811814534205
Reviewed-by: Kai Koehne <kai.koehne@digia.com >
2013-01-29 16:27:03 +01:00
hjk
386ca7c8dd
Adjust license headers
...
Change-Id: Ice592c6de9951ee3b2c4cb52ed0bb3b6770e0825
Reviewed-by: Eike Ziller <eike.ziller@digia.com >
2012-10-05 17:12:56 +02:00
Eike Ziller
e0e8cf3ada
Contact -> qt-project.org
...
Change-Id: I7134d7de30bcf9f9dcfad42520dd45ee083a852d
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com >
2012-07-19 13:23:21 +02:00
hjk
5b0bf61640
qtcassert: move actual printing to separate function and enforce style
...
This also allows simple setting of breakpoints on failed asserts.
Change-Id: I6dd84cbfaf659d57e39f3447386cebc0221b2b84
Reviewed-by: Daniel Teske <daniel.teske@nokia.com >
2012-04-17 09:53:44 +02:00
Erik Verbruggen
3fa55b7ab9
Removed module names from #include directives.
...
Getting the #include directives ready for Qt5. This includes the
new-project wizards.
Change-Id: Ia9261f1e8faec06b9285b694d2b7e9a095978d2b
Reviewed-by: Eike Ziller <eike.ziller@nokia.com >
2012-02-15 16:24:46 +01:00
hjk
2931a499e6
Long live the king!
...
Change-Id: I2b72b34c0cfeafc8bdbaf49b83ff723544f2b6e2
Reviewed-by: Daniel Teske <daniel.teske@nokia.com >
2012-01-26 19:55:36 +01:00
hjk
31600758de
all: s/info@qt.nokia.com/qt-info@nokia.com/
...
Change-Id: If18afb5d4665924e7d9250dccbc60a65e6daa75e
Reviewed-by: Eike Ziller <eike.ziller@nokia.com >
2011-11-03 10:33:19 +01:00
Tobias Hunger
aa2acec14c
Fix/add copyright headers
...
Change-Id: I8b73d583be1ee7183f4074bce49d5390e38631a2
2011-05-06 15:17:05 +02:00
Friedemann Kleint
c5a40e9e63
Debugger[CDB]: Use file normalization function from utils.
...
Remove complicated/expensive function in dbgwinutils
in favour of the utils one (improved to upper case
the drive letter) as it is sufficient now with
the improved checking in editor manager/location mark.
2011-04-28 11:11:34 +02:00
Kai Koehne
c3e2fd9ed7
Fix "File name case mismatch" error when debugging QML apps (Win)
...
Work around QTBUG-17529 by normalizing the capitalization of the
working directory (which we do already for launching apps without
debugging).
Task-number: QTCREATORBUG-4592
Reviewed-by: Friedemann Kleint
2011-04-20 15:21:41 +02:00
hjk
8397663964
Update license.
2011-04-13 11:49:28 +02:00
Oswald Buddenhagen
feff022186
dispose of dynamic resolution of GetLongPathNameW and GetShortPathNameW
...
everything links to kernel32 anyway
2011-03-21 21:11:40 +01:00
Oswald Buddenhagen
428520d8eb
don't include zero terminator into the string
...
fixes "run in terminal" and potentially numerous other bugs.
Task-number: QTCREATORBUG-4012
2011-03-21 21:11:40 +01:00
con
d1023c7614
It's 2011 now.
...
Reviewed-by: hjk
2011-01-12 09:46:24 +01:00
Kai Koehne
f635e8823a
WinUtils: Use scoped array pointer
...
Requested by Friedemann
2011-01-05 15:31:53 +01:00
Kai Koehne
2c4ae8c1b8
QmlProject: Fix compilation on cygwin
...
Move use of windows API to winutils.
2011-01-05 14:49:39 +01:00
con
b1bcf081d8
Merge branch '2.1'
...
Conflicts:
src/plugins/coreplugin/basemode.cpp
src/plugins/coreplugin/basemode.h
src/plugins/coreplugin/scriptmanager/qworkbench_wrapper.cpp
src/plugins/coreplugin/scriptmanager/qworkbench_wrapper.h
src/plugins/debugger/cdb/cdbsymbolpathlisteditor.cpp
src/plugins/debugger/debuggeragents.cpp
src/plugins/debugger/debuggeruiswitcher.cpp
src/plugins/debugger/debuggeruiswitcher.h
src/plugins/projectexplorer/buildconfigdialog.cpp
src/plugins/qmldesigner/components/propertyeditor/colorwidget.cpp
src/plugins/qmldesigner/components/propertyeditor/colorwidget.h
src/plugins/qmldesigner/designercore/include/enumeratormetainfo.h
src/plugins/qmldesigner/designercore/include/modelutilities.h
src/plugins/qmldesigner/designercore/include/nodeinstance.h
src/plugins/qmldesigner/designercore/include/propertymetainfo.h
src/plugins/qmldesigner/designercore/instances/graphicsscenenodeinstance.cpp
src/plugins/qmldesigner/designercore/instances/graphicsscenenodeinstance.h
src/plugins/qmldesigner/designercore/instances/graphicsviewnodeinstance.cpp
src/plugins/qmldesigner/designercore/instances/graphicswidgetnodeinstance.cpp
src/plugins/qmldesigner/designercore/instances/graphicswidgetnodeinstance.h
src/plugins/qmldesigner/designercore/instances/nodeinstance.cpp
src/plugins/qmldesigner/designercore/instances/qmlviewnodeinstance.cpp
src/plugins/qmldesigner/designercore/instances/widgetnodeinstance.cpp
src/plugins/qmldesigner/designercore/instances/widgetnodeinstance.h
src/plugins/qmldesigner/designercore/metainfo/enumeratormetainfo.cpp
src/plugins/qmldesigner/designercore/metainfo/propertymetainfo.cpp
src/plugins/qmldesigner/designercore/model/modelutilities.cpp
src/plugins/snippets/inputwidget.cpp
src/plugins/snippets/snippetscompletion.cpp
src/plugins/snippets/snippetscompletion.h
src/plugins/snippets/snippetspec.cpp
src/plugins/snippets/snippetsplugin.cpp
src/plugins/snippets/snippetswindow.cpp
src/plugins/snippets/snippetswindow.h
src/plugins/texteditor/snippetsparser.cpp
src/tools/qml/qmldom/main.cpp
tests/manual/trk/runner.cpp
tests/manual/trk/trkolddevice.cpp
tests/manual/trk/trkolddevice.h
tests/manual/trk/trkserver.cpp
2010-12-17 17:00:53 +01:00
con
04e32b0049
License headers.
2010-12-17 16:03:42 +01:00
Friedemann Kleint
0aaeae97c6
Qt4ProjectManager: Do not include windows.h in qtversionmanager.
...
Move 64bit-binary detection into Utils library.
2010-11-03 09:05:14 +01:00
Friedemann Kleint
36ebe35e25
Winutils: define Windows version correctly. Fix gcc warning.
2010-11-01 09:12:56 +01:00
Friedemann Kleint
71bf6d5659
Add helper to find out about Windows 32/64bit for Debuggers.
2010-10-29 15:35:14 +02:00
Friedemann Kleint
9ca1e7d79a
Debugger: Move some windows functionality around.
2010-09-10 16:23:47 +02:00
hjk
9595504bda
Long live the king!
2010-03-05 11:28:13 +01:00
Oswald Buddenhagen
75b42f18d8
Merge remote branch 'origin/1.3'
...
Trailing whitespace removal re-applied manually.
2010-01-29 22:50:23 +01:00
Oswald Buddenhagen
a6ca348636
remove trailing whitespace
...
doing it in 1.3 as well to avoid possible later conflicts
2010-01-29 21:33:57 +01:00
Friedemann Kleint
d570b05bec
Mercurial: Work on Windows using Tortoise Hg, polishing.
...
Do not use "cmd /c hg" on Windows as this will fail randomly
depending on arguments with blanks, such as "-U 8". Output log
messages about synchronous commands, format author correctly,
label menus correctly.
2009-11-05 12:45:02 +01:00
Friedemann Kleint
162be9a338
CDB: Add nagging about old version of Debugging Tools.
...
Add utility to figure out DLL/Product versions.
2009-10-09 17:33:24 +02:00
Friedemann Kleint
5948e284bb
Rename namespace Core::Utils into Utils
...
Also move Designer::Internal::FormWindowEditor ->
Designer::FormWindowEditor.
2009-10-05 11:06:05 +02:00
hjk
93cbef8724
long live the king
2009-08-14 09:30:56 +02:00
Jason McDonald
884b7af769
Update license headers and sales contact details.
...
Reviewed-by: Trust Me
2009-06-17 00:01:27 +10:00
Alessandro Portale
c757c3f458
Rename QWORKBENCH_UTILS_EXPORT to QTCREATOR_UTILS_EXPORT
...
Rename QWORKBENCH_UTILS_LIBRARY to QTCREATOR_UTILS_LIBRARY
2009-05-08 16:42:50 +02:00
Friedemann Kleint
a26d745c79
m.txt
2009-03-03 14:08:32 +01:00