Orgad Shaneh
9744c54580
Add soft assertions for regexp patterns
...
Change-Id: If0072f8f9761bdc34b35d01aac4d00c5391b8a20
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com >
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com >
2013-07-19 13:01:20 +02:00
Tobias Hunger
8bbad43019
OutputParser: Allow to flush pending tasks.
...
Add a way to flush out tasks from the outputparsers. This is necessary
to make parsers that keep state more robust.
Flush parsers (once) before adding any new task. This keeps the sequence
intact.
Flush all parsers once the parsing is done to make sure there is no task
queued somewhere.
Task-number: QTCREATORBUG-9195
Change-Id: Icd37df1f470cb73123ad286d6900ad1047a1d512
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com >
2013-05-06 10:04:38 +02:00
Tobias Hunger
c76c8df101
GccParser: Fix parsing of header files without extension
...
Change-Id: I4f0cc028814c0abf2ecae62aee6b38cc3e75f895
Reviewed-by: Orgad Shaneh <orgads@gmail.com >
2013-05-02 16:00:48 +02:00
Tobias Hunger
4eb71aa2dd
Gcc: Handle new warnings/error messages from gcc 4.8
...
Change-Id: I992be31dcf4a4dd91a419c43b5d9797fcf3a955c
Reviewed-by: Daniel Teske <daniel.teske@digia.com >
2013-04-03 16:42:01 +02:00
Tobias Hunger
c320f65d1c
IOutputParser: Make sure to not cut too much output
...
Introduce a method to cut away whitespaces from the end of a string
and use it consistently. This avoids a chain of parsers to repeatedly
cut away the last character, assuming that will be the line-break.
Task-number: QTCREATORBUG-9032
Change-Id: I68261c10873535faf94c885c914cd00510ed75d8
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com >
2013-04-03 14:07:51 +02:00
Oswald Buddenhagen
1fda2111d4
Merge remote-tracking branch 'origin/2.6'
...
Conflicts:
src/plugins/autotoolsprojectmanager/AutotoolsProjectManager.pluginspec.in
src/plugins/debugger/qtmessageloghandler.cpp
src/plugins/debugger/qtmessagelogwindow.cpp
src/plugins/madde/maemodeployconfigurationwidget.cpp
src/plugins/qmldesigner/components/integration/designdocumentcontroller.cpp
src/plugins/qmldesigner/designercore/include/widgetqueryview.h
src/plugins/qmldesigner/designercore/metainfo/metainfoparser.cpp
src/plugins/qmldesigner/designercore/model/modelnodecontextmenu.cpp
src/plugins/qmldesigner/designercore/model/modelnodecontextmenu.h
src/plugins/qmlprojectmanager/qmlprojectapplicationwizard.cpp
src/plugins/qnx/bardescriptormagicmatcher.h
src/plugins/qt4projectmanager/profilekeywords.cpp
src/plugins/remotelinux/deployablefilesperprofile.cpp
src/plugins/remotelinux/deployablefilesperprofile.h
src/plugins/remotelinux/deploymentinfo.cpp
src/plugins/remotelinux/deploymentsettingsassistant.cpp
src/plugins/remotelinux/profilesupdatedialog.cpp
tests/auto/icheckbuild/ichecklib.cpp
tests/auto/icheckbuild/parsemanager.cpp
tests/auto/icheckbuild/parsemanager.h
Change-Id: Ie465a578446a089e1c502d1cb1096e84ca058104
2013-01-31 16:25:33 +01: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
Orgad Shaneh
e9dae735dc
ProjectExplorer: Compile with QT_NO_CAST_FROM_ASCII
...
Change-Id: I84d9526449b8ca6cdcf8296e353c5d892d5f942d
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com >
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com >
2012-12-04 14:12:53 +01:00
Orgad Shaneh
3747e941ad
Clean up whitespace before EOL
...
Change-Id: I385544a10b9be66589b0d1a48594128035836c8a
Reviewed-by: hjk <qthjk@ovi.com >
2012-11-28 20:17:51 +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
Tobias Hunger
2333109d64
Gcc: Do not report ar messages as error
...
Task-number: QTCREATORBUG-6912
Change-Id: I25376752e5d4d0c433f65f4c99a238c73efc1798
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com >
2012-02-06 14:52:20 +01:00
Tobias Hunger
97496df1bf
Task: Update Task to use Utils::FileName and Core::Id
...
Use Utils::FileName and Core::Id in Task structure.
Change-Id: Ia0ed459f86df36ffe547abde7c240b0ac409bcf5
Reviewed-by: Daniel Teske <daniel.teske@nokia.com >
2012-01-30 11:34:43 +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
Nicolas Arnaud-Cormos
6f085665cf
Fix issues type with ldparser.
...
Sometime, in the most general case, the message is a warning, and not an error.
Two cases:
* linker returning a message like this: 'filename: warning: description'
* uic returns messages like this: 'Warning: description'
Change-Id: I2babe1de2753ea8b2871419f1b1405eb7ae73d48
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com >
2012-01-11 13:05:12 +01:00
Friedemann Kleint
ced6fc4136
ProjectExplorer: Compile with QT_NO_CAST_FROM_ASCII.
...
- Add missing translations
- Remove some unneeded conversions.
Change-Id: Ia30e5c838099e52a9f38ca4854395c10c0391075
Reviewed-by: Daniel Teske <daniel.teske@nokia.com >
2012-01-09 16:45:08 +01:00
Tobias Hunger
52690b5f4c
LD: Improve parsing of linker error messages
...
Task-number: QTCREATORBUG-3107
Change-Id: Idc6a815d32b410e747a1a0e944a01cd34b087a87
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com >
2011-11-22 16:48:00 +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
Friedemann Kleint
cc632c1597
Header cleanup in ProjectExplorer.
...
Change-Id: I19f100003427ba43aaae5ba0dc7078088017cb09
Reviewed-on: http://codereview.qt.nokia.com/3178
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com >
2011-08-18 13:47:33 +02:00
Tobias Hunger
f9d72df0d0
GCC: Fix parsing of gcc 4.6 output
...
* Add unit test.
* Tweak regexp to make the new unit test pass.
Task-number: QTCREATORBUG-5634
Change-Id: I31da8e3ac7fb1c3c5129b4fed6a228d0a73a09ea
Reviewed-on: http://codereview.qt.nokia.com/2395
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com >
2011-07-29 15:51:03 +02:00
Tobias Hunger
8275ab0f6e
GCC: Parse "In file included from blah ❌ y:"
...
Parse "In file included from blah❌ y:" correctly: Newer Gccs output
additional column information there.
Change-Id: I5fe2be72ce09390c0f1370fd9b72c900279d3207
Reviewed-on: http://codereview.qt.nokia.com/2188
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Eike Ziller <eike.ziller@nokia.com >
2011-07-26 13:45:34 +02:00
Tobias Hunger
368f259d5e
Fix unit test
...
Change-Id: Ifb825f44aed8a0df90177a8d75ff6cc579df4d7a
Reviewed-on: http://codereview.qt.nokia.com/951
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com >
2011-06-30 18:16:52 +02:00
hjk
fda652a43e
debugger: rename gdbmacros* to dumper*
...
Was mis-named from the beginning.
(cherry picked from commit 2f119dc2f85b28274d47ff635188872d5ed11521)
Change-Id: I4f2e388edfdded117c5b35d3d04bbdc68d77afa4
Reviewed-on: http://codereview.qt.nokia.com/872
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: hjk <qthjk@ovi.com >
2011-06-29 10:21:55 +02:00
Takumi ASAKI
52f0eae3a4
Compile Fix: Modify unnecessary UTF-8 characters.
...
They blocked to compile with Visual Studio on Windows Japanese edition.
Change-Id: I7c63123e7ed43a2036f42762ee94147cbc9f5c09
Merge-request: 2198
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com >
Reviewed-on: http://codereview.qt.nokia.com/831
2011-06-28 13:43:04 +02:00
Tobias Hunger
652454a832
encoding: Make sure all text files are utf8 encoded
...
Change-Id: Ib83224b24026c29158e8df8fa235cf5050390555
Reviewed-on: http://codereview.qt.nokia.com/281
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com >
2011-06-01 16:24:54 +02:00
Tobias Hunger
15bb1b0c4d
Parser: Make parser test engine more strict
...
* Fix unit tests to work with this stricter version
Change-Id: Iaf6d333e4b4df54ddc340d261ce28538bfa1f3cf
2011-05-18 18:40:16 +02:00
Tobias Hunger
aa2acec14c
Fix/add copyright headers
...
Change-Id: I8b73d583be1ee7183f4074bce49d5390e38631a2
2011-05-06 15:17:05 +02:00
Oswald Buddenhagen
dc3c156cac
Merge branch '2.2'
...
Conflicts:
src/plugins/debugger/gdb/pythongdbengine.cpp
src/plugins/qt4projectmanager/qt-desktop/qt4desktoptargetfactory.cpp
src/plugins/qt4projectmanager/qt-desktop/qt4desktoptargetfactory.h
src/plugins/qt4projectmanager/qt-desktop/qt4simulatortargetfactory.cpp
src/plugins/qt4projectmanager/qt-desktop/qt4simulatortargetfactory.h
src/plugins/qt4projectmanager/qt-maemo/maemodeploystep.cpp
src/plugins/qt4projectmanager/qt-maemo/maemodeviceconfigurations.cpp
src/plugins/qt4projectmanager/qt-maemo/maemoglobal.cpp
src/plugins/qt4projectmanager/qt-maemo/qt4maemotargetfactory.cpp
src/plugins/qt4projectmanager/qt-s60/qt4symbiantargetfactory.cpp
src/plugins/qt4projectmanager/qt-s60/s60deploystep.cpp
src/plugins/qt4projectmanager/qt4target.cpp
src/plugins/qt4projectmanager/qt4target.h
src/plugins/qt4projectmanager/qtoptionspage.h
src/plugins/qt4projectmanager/qtversionmanager.cpp
src/plugins/welcome/welcomemode.cpp
2011-04-14 12:39:31 +02:00
hjk
8397663964
Update license.
2011-04-13 11:49:28 +02:00
Oswald Buddenhagen
71baeb1d77
Merge remote-tracking branch 'origin/2.2'
2011-03-15 18:01:35 +01:00
Tobias Hunger
12c7c72e83
Gccparser: Add unit test
2011-03-15 15:46:37 +01:00
Tobias Hunger
3518dd0058
GccParser: Fix unit test which got out of sync
2011-03-11 12:34:04 +01:00
con
d1023c7614
It's 2011 now.
...
Reviewed-by: hjk
2011-01-12 09:46:24 +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
Tobias Hunger
dd62bcc824
Task: Make sure file contains non-native separators
2010-10-25 11:40:37 +02:00
Tobias Hunger
fdf2b6c8e0
Parse link failures in release mode correctly
...
* Fix the LdParser to handle link failures in release mode correctly
* Add unit test for that case
Task-number: QTCREATORBUG-1865
2010-09-15 14:46:34 +02:00
Tobias Hunger
11505c366e
Recognize <command line> as a file name in GCC warnings
...
* ... add a unit test.
2010-09-06 16:34:55 +02:00
Tobias Hunger
7b7a974ee8
Fix output parser misinterpreting "At top level:" messages
...
* Fix the GCC output parser misinterpreting "At top level" messages
as Errors instead of a simple message.
* Add unit test to cover this
Task-number: QTCREATORBUG-2202
2010-08-30 11:23:30 +02:00
Tobias Hunger
1057261a7a
Improve handling of "(included ) from" lines
...
* Reuse filename pattern
* Make it work with "from foo:X," lines reported by GCCE
* Add unit tests
2010-08-11 15:41:54 +02:00
Tobias Hunger
503b35340c
Fix wrong task type returned by gccparser
...
* Fix "instantiated from" with leading spaces being wrongly considered
an error.
* Add a unit test to cover this case
2010-07-15 12:53:37 +02:00
Tobias Hunger
61e6873a53
Add unit test for QTCREATORBUG-597
...
* This is already implicitly tested, but since the reporter
claims that there was a regression I explicitly added this test.
* No change needed to make the unit test pass.
2010-07-07 11:51:39 +02:00
Tobias Hunger
1d88741086
Parse "fatal error"s correctly
...
* Gcc 4.5 reports fatal errors. Parse them correctly.
2010-07-01 10:50:18 +02:00
Tobias Hunger
61b3a7beb8
Do not consider "In constructor foo" lines as errors
...
... in the ldparser.
2010-04-16 12:42:32 +02:00
Tobias Hunger
9b2a6d80e4
Add unit test for QTCREATORBUG-1165
...
Nothing to fix in master, move on;-)
Tasknumber: QTCREATORBUG-1165
2010-04-15 17:24:52 +02:00
dt
3de0668894
Linux icc parser
...
Reviewed-By: hunger
2010-04-12 15:05:11 +02:00
dt
db0bf8f30e
Split GccParser into 2, one for ld parsing
...
To be reused in the intel linux icpc parser
Reviewed-By: hunger
2010-04-12 15:05:00 +02:00
Tobias Hunger
37d192099d
GCC parser improvements
2010-04-09 18:04:24 +02:00
Tobias Hunger
8b969a67a0
Handle "/usr/bin/ld: cannot find -lsomelib" in gccparser
...
* Document the hariest regexp
* Simplify the parser a bit
* Catch "/usr/bin/ld: cannot find -lsomelib" (and others)
as errors.
2010-04-07 17:24:26 +02:00
Tobias Hunger
879f71c2a3
Fix some false positives in the build issues
...
* "In blah method " messages are informative, not errors.
* Be more picky about file names: Stops errors from ranlib, rm,
etc. being reported as build issues.
2010-04-01 16:19:24 +02:00