Skip to main content
aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2014-01-24Enabled JDK 1.7.Sergey Prigogin242-440/+444
Change-Id: Ic2a161ea3c318dc1e8ba01c271c936bf5ed8763d Reviewed-on: https://git.eclipse.org/r/21020 Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com> IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com> Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-01-22Cosmetics.Sergey Prigogin2-23/+10
2014-01-22Bumped up version number of org.eclipse.cdt.sdk plugin to 8.4.Sergey Prigogin2-2/+2
2014-01-22Adjusted plugin version numbers to not go back compared to CDT 8.2.1.Sergey Prigogin10-10/+10
2014-01-22Bug 424765 - Implicit conversion from lambda to function pointer notNathan Ridge2-9/+29
recongized Change-Id: I33ae542ef428005dd2eaa5ca8010f53f04f54a27 Signed-off-by: Nathan Ridge <zeratul976@hotmail.com> Reviewed-on: https://git.eclipse.org/r/20926 Tested-by: Hudson CI Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com> IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com> Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-01-22Added a space before the opening parenthesisJiří Nytra1-1/+6
Change-Id: I08c2486686b2db540ba321334976a8d5830a2813 Signed-off-by: Jiří Nytra <jiri.nytra@gmail.com> Reviewed-on: https://git.eclipse.org/r/20900 Tested-by: Hudson CI Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com> IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com> Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-01-21Bumped up CDT version to 8.4.Sergey Prigogin181-213/+213
Change-Id: I1229344feaaed4a3551ceb7b1ef1410545048b55 Reviewed-on: https://git.eclipse.org/r/20908 Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com> IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com> Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-01-21Change download dir in master to 8.4.Doug Schaefer1-1/+1
Change-Id: I85076cb575160c7d934cd2126ce548ad1246e874 Reviewed-on: https://git.eclipse.org/r/20884 Reviewed-by: Doug Schaefer <dschaefer@qnx.com> IP-Clean: Doug Schaefer <dschaefer@qnx.com> Tested-by: Doug Schaefer <dschaefer@qnx.com>
2014-01-21Bug 425955: NPE in DwarfReaderTeodor Madan2-38/+96
- Fix parsing .debug_line section in version format, part of Dwarf 4. - Refactor in a separate method reading initial length field to consistently handle 64-bit dwarf format Change-Id: I9f32862ed91540c24ce33227eeb384a5d6b141da Signed-off-by: Teodor Madan <teodor.madan@freescale.com> Reviewed-on: https://git.eclipse.org/r/20830
2014-01-21Bug 425102 QObject::connect content assist still brokenAndrew Eidsness4-21/+96
The content assistant was treating all function calls in the same way. Here is an example showing the two cases that should be handled: qobj.connect( qobj.func(), SIGNAL( sig() ), SLOT( slot() ) ); In this case sig() applies to the return type of qobj::func() and slot() applies to qobj (the same instance that connect is called upon). The previous implementation of the assistant was not making a distinction between these two cases. I've added another test case to confirm behaviour in this area. Change-Id: I8f76a5d5ae7384ea5162c5d36abeebb4c79c394b Signed-off-by: Andrew Eidsness <eclipse@jfront.com> Reviewed-on: https://git.eclipse.org/r/20848 Tested-by: Hudson CI Reviewed-by: Doug Schaefer <dschaefer@qnx.com> IP-Clean: Doug Schaefer <dschaefer@qnx.com>
2014-01-20Bug 425787: Reindex projects when Qt nature is addedAndrew Eidsness1-6/+36
If a project description is changed to add the Qt nature then the PDOM needs to be rebuilt. Since index rebuilds are potentially expensive, this first checks to make sure the PDOM does not already contain the QtLinkage. If the linkage already exists, then it will be updated by the normal triggers. The reindex operation should only be needed to add the linkage the first time the nature is added. This does not trigger a reindex if the nature is removed. Without the nature, the extra linkage will be safely ignored. The C++ linkage is (proportionally) much larger than the Qt linkage, so it doesn't make sense to spend significant time rebuilding the index just for the small space savings. Change-Id: I263b05e4de407775979843f5d6a9c8c172948d72 Signed-off-by: Andrew Eidsness <eclipse@jfront.com> Reviewed-on: https://git.eclipse.org/r/20680 Tested-by: Hudson CI Reviewed-by: Doug Schaefer <dschaefer@qnx.com> IP-Clean: Doug Schaefer <dschaefer@qnx.com>
2014-01-17Bug 425938 - Make Qt5 template work with 5.2. Remove Qt4 template.Doug Schaefer15-307/+27
Change-Id: I422a907e9db51be26acd0857d3e9e409bbd3ba2e Reviewed-on: https://git.eclipse.org/r/20728 Tested-by: Hudson CI Reviewed-by: Doug Schaefer <dschaefer@qnx.com> IP-Clean: Doug Schaefer <dschaefer@qnx.com>
2014-01-17Bug 422797 - API for retrieving QMake information from Qt projectDavid Kaspar2-16/+50
Changes: * QtPlugin calls QMakeProjectInfo.start/stop to start/stop listening on resource changes * QMakeProjectInfo listens on changes in project description e.g. changing natures * QMakeProjectInfo.getQMakeProjectInfoFor() returns info even for project without QtNature - this prevents race-condition that happens when opening legacy QML projects where QtNature is added lazily after the project is opened and somebody already asks for QMakeProjectInfo * Fixing QMakeProjectInfo.stop() and QMakeProjectInfo.getQMakeProjectInfoFor() to fire notification outside of synchronized blocks Change-Id: Ib49238f252a249d2b5936b6d8344aae93e0ef583 Signed-off-by: David Kaspar <dkaspar@blackberry.com> Reviewed-on: https://git.eclipse.org/r/20722 Tested-by: Hudson CI Reviewed-by: Doug Schaefer <dschaefer@qnx.com> IP-Clean: Doug Schaefer <dschaefer@qnx.com>
2014-01-16Bug 425538 - Syntax errors in QML reported as "C/C++ Problems" because ↵Daniel Pesch7-0/+450
errors from Qt Linguist The problem is solved by allowing to ignore duplicated markers in case there is already loaded a plugin that could handle QML files The ProblemMarkerFilter extension point allows to filter out unneeded problem markers. For example during building of Qt base project with QML files tool Qt Linguist could report syntax errors in some qml file. These errors are presented as "C/C++ Problems" in qml files because they match format CDT expects for errors. If there is already installed plug-in that handles QML files it is a wise to ignore such errors because they are already reported as "QML Problems" with more meaningful descriptions. Change-Id: I3a0a1b58e9690bed9c2774e4328760c695d54a54 Signed-off-by: Daniel Pesch <dpesch@blackberry.com> Reviewed-on: https://git.eclipse.org/r/20581 Tested-by: Hudson CI Reviewed-by: Andrew Eidsness <eclipse@jfront.com> Reviewed-by: Doug Schaefer <dschaefer@qnx.com> IP-Clean: Doug Schaefer <dschaefer@qnx.com>
2014-01-16Removed the deprecated PDOMLinkage.getNode(long) method.Sergey Prigogin1-8/+0
Change-Id: I7a1bf76e0261fc18b616387cdcec16f81f8b0bf3 Reviewed-on: https://git.eclipse.org/r/20692 Tested-by: Hudson CI Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com> IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-01-16Cosmetics.Sergey Prigogin2-18/+3
2014-01-16Removed uses of the deprecated PDOMLinkage.getNode(long) method.Sergey Prigogin14-23/+24
2014-01-16Bug 425833 - IllegalArgumentException I is not a member of Cls1Sergey Prigogin1-9/+7
Change-Id: I61d52d2585142c15be21638e614d5b8daa13dfae
2014-01-15Bug 250323 - Each memory context needs a different memory retrievalAlvaro Sanchez-Leon8-67/+317
Change-Id: I7874d84e5831aeb36be508a5b6b83c1623fcc5ab Signed-off-by: Alvaro Sanchez-Leon <alvsan09@gmail.com> Reviewed-on: https://git.eclipse.org/r/19453 Reviewed-by: Mikhail Khodjaiants <mikhailkhod@googlemail.com> IP-Clean: Mikhail Khodjaiants <mikhailkhod@googlemail.com> Tested-by: Mikhail Khodjaiants <mikhailkhod@googlemail.com> Tested-by: Hudson CI Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com> IP-Clean: Marc Khouzam <marc.khouzam@ericsson.com> Tested-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-01-14Fix Qt core plugin's provider and plug-in namesAndrew Eidsness1-1/+2
Change-Id: Ib38b93cb2e1fef0b1e57cd4afed14c35b4bccb23 Signed-off-by: Andrew Eidsness <eclipse@jfront.com> Reviewed-on: https://git.eclipse.org/r/20606 Tested-by: Hudson CI Reviewed-by: Doug Schaefer <dschaefer@qnx.com> IP-Clean: Doug Schaefer <dschaefer@qnx.com>
2014-01-13Bug 425595 - Opening 'C/C++ General-> Formatter' of a project propertiesSergey Prigogin1-2/+3
cuases NPE
2014-01-13Bug 412547 - Selection is lost when stepping over "pthread_create" forMikhail Khodjaiants1-0/+14
gdbserver sessions Change-Id: Ide875ba350dfd3e17579519360999b82c572c355 Reviewed-on: https://git.eclipse.org/r/14415 Reviewed-by: Mikhail Khodjaiants <mikhailkhod@googlemail.com> IP-Clean: Mikhail Khodjaiants <mikhailkhod@googlemail.com> Tested-by: Mikhail Khodjaiants <mikhailkhod@googlemail.com>
2014-01-13Bug 422841 QtIndex accessor for QmlRegistrations of an IQObjectAndrew Eidsness15-242/+575
This adds an API method to IQObject that will return the list of QML registrations for that type. I've also renamed the previous "QmlRegistered" to "QmlRegistration" because it makes more sense. The main part of this patch is a change to the QtPDOMLinkage. It now maintains an index of the registrations that are keyed by type. The index is a BTree that uses the QObject name as the key and a list of QML registration PDOMNames as the value. The list is created in the linkage's onCreate callback. Old names are removed in the list's onDelete callback. This includes a test case for this scenario and also updates the previous tests to match the new naming. Change-Id: I4b994a51958c848b4e2a3209165e6e6866e22270 Signed-off-by: Andrew Eidsness <eclipse@jfront.com> Reviewed-on: https://git.eclipse.org/r/20527 Tested-by: Hudson CI Reviewed-by: Doug Schaefer <dschaefer@qnx.com> IP-Clean: Doug Schaefer <dschaefer@qnx.com>
2014-01-13Bug 422797 - API for retrieving QMake information from Qt projectDavid Kaspar6-53/+131
Adding a new IQMakeInfo getter: * getQMakeQueryMap() * getQtDocPath() * getResourceFiles() * getFormFiles() Fixing incorrect parsing of OTHER_FILES variable. Adding QMakeTests.testQMakeInfo() JUnit test for qmake output parser. Change-Id: Ic4e0180381967e2a96455d6a3411fe51ce1cef91 Signed-off-by: David Kaspar <dkaspar@blackberry.com> Reviewed-on: https://git.eclipse.org/r/20500 Reviewed-by: Doug Schaefer <dschaefer@qnx.com> IP-Clean: Doug Schaefer <dschaefer@qnx.com> Tested-by: Doug Schaefer <dschaefer@qnx.com>
2014-01-10Cosmetics.Sergey Prigogin1-11/+5
2014-01-10Bug 425102 New check for Qt Codan checkerAndrew Eidsness2-3/+40
The Qt Codan checker for QObject::connect function calls was not confirming that the SIGNAL and SLOT expansion parameter were Qt signals and slots. The checker would allow the function call as long as the expansion parameter resolved to a C++ method. This patch changes the behaviour to required signals inside SIGNAL and slots inside SLOT. Change-Id: Ieec2f3a7ef4968d45ac3f6323b20c2f195fe3400 Signed-off-by: Andrew Eidsness <eclipse@jfront.com> Reviewed-on: https://git.eclipse.org/r/20401 Tested-by: Hudson CI Reviewed-by: Doug Schaefer <dschaefer@qnx.com> IP-Clean: Doug Schaefer <dschaefer@qnx.com>
2014-01-10Bug 425102 QObject::connect content assist brokenAndrew Eidsness5-19/+102
The QObject::connect content assistant does not work when the receiver of the function call is an implicit this. E.g., class Q : public QObject { Q_OBJECT f() { this->connect( ... ); // works connect( ... ); // does not work QObject::connect( ... ) // does not work } }; I've changed the Qt's ASTUtil.getReceiverType to navigate to the ICPPClassType through the IScope's. The previous implementation was relying on the connect function call being an IASTField I've also added a test case for this problem. Change-Id: I96c29a9a452280068bda39a63414c50008bfad37 Signed-off-by: Andrew Eidsness <eclipse@jfront.com> Reviewed-on: https://git.eclipse.org/r/20399 Tested-by: Hudson CI Reviewed-by: Doug Schaefer <dschaefer@qnx.com> IP-Clean: Doug Schaefer <dschaefer@qnx.com>
2014-01-09Bug 413437 - Disable 'delay' command when appropriate. This was a bugMarc Khouzam1-3/+9
introduced when we ported hardware debug to DSF. Change-Id: I5232ab1e2e345edac9df640836bf8c8413ac6a36 Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-01-09Bug 424996 - Improved error reporting when determining GDB version Marc Khouzam1-41/+70
Change-Id: I8aca4b262e6545a9196ccb63dd180eb635eb9181 Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com> Reviewed-on: https://git.eclipse.org/r/20326 Tested-by: Hudson CI Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com> IP-Clean: Marc-Andre Laperle <marc-andre.laperle@ericsson.com> Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2014-01-08Bug 422586 - Terminate session if remote connection is lostMarc Khouzam1-3/+167
Change-Id: I78e8ccd60c3f49e5c5ef87c5564cab8849281b8d Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com> Reviewed-on: https://git.eclipse.org/r/20286 Tested-by: Hudson CI Reviewed-by: Mikhail Khodjaiants <mikhailkhod@googlemail.com> IP-Clean: Mikhail Khodjaiants <mikhailkhod@googlemail.com> Tested-by: Mikhail Khodjaiants <mikhailkhod@googlemail.com>
2014-01-07Bug 422841 QtIndex API for qmlRegisterType function callsAndrew Eidsness18-36/+877
The Qt spec includes a special function that is used to introduce C++ types to a namespace that is accessible from QML. E.g., qmlRegisterType<Q>( "uri", 1, 0, "QMLType" ); This will create a QML type called QMLType. The type will include the signals, slots, and invokable that are defined in the C++ class Q. The type is accessible in QML using the given URI and the version is 1.0. More information is available at: http://qt-project.org/doc/qt-4.8/qdeclarativeengine.html This patch adds IQmlRegisteredType, a collection of which can be accessed from a new method in QtIndex. This also includes new test cases for this feature. Change-Id: I70c44d1d8d3a0594de44e692a16f7b26396e8464 Signed-off-by: Andrew Eidsness <eclipse@jfront.com> Reviewed-on: https://git.eclipse.org/r/20347 Tested-by: Hudson CI Reviewed-by: Doug Schaefer <dschaefer@qnx.com> IP-Clean: Doug Schaefer <dschaefer@qnx.com>
2014-01-07Bug 425002 QObjects cannot be found within namespacesAndrew Eidsness8-12/+92
This changes the Qt PDOM so that QObject's are stored using their fully qualified name (including leading ::). IQObject's API has been changed to return the fully qualified name. Leading :: is stripped from the IQObject name so there is no change from the previous implementation for names that are not inside a namspace. This includes a new test case to check this fix. Change-Id: I1786151463e9029cdf1f2c213466adc8c3aa3618 Signed-off-by: Andrew Eidsness <eclipse@jfront.com> Reviewed-on: https://git.eclipse.org/r/20328 Tested-by: Hudson CI Reviewed-by: Doug Schaefer <dschaefer@qnx.com> IP-Clean: Doug Schaefer <dschaefer@qnx.com>
2014-01-07bug 422558: Managed build projects context help is brokenAndrew Gvozdev7-124/+48
2014-01-06Bug 424635 - The wrench icon overlay for a source file does not appearMarc-Andre Laperle1-18/+15
When the language settings providers functionality is enabled, also check for build settings customization, not just the language setting entries. Change-Id: Ia9fec3bc377617dc9f2264dd924941879f1b64b0 Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com> Reviewed-on: https://git.eclipse.org/r/20297 Tested-by: Hudson CI Reviewed-by: Andrew Gvozdev <angvoz.dev@gmail.com> IP-Clean: Andrew Gvozdev <angvoz.dev@gmail.com> Tested-by: Andrew Gvozdev <angvoz.dev@gmail.com>
2014-01-06Bug 353034 - Cache "trace-status" command Marc Khouzam1-5/+21
Change-Id: Id704b2b3824a016c1d9445e8625453944001863b Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com> Reviewed-on: https://git.eclipse.org/r/19876
2014-01-06Bug 423201 remove the Generate Wascana launcher.Doug Schaefer1-29/+0
2014-01-06Bug 422841: Add Q_GADGET to QtIndexAndrew Eidsness18-182/+626
This extends the QtIndex to support C++ classes that have been annotated with the Q_GADGET macro. QGadgets are normal C++ classes that are able to host Q_ENUMs. The implementation classes for QObject have been modified to share common parts with the implementation for QGadget. The types are intentionally not related in the QtIndex API. This allows for divergent changes in the Qt spec. This patch includes new tests cases for Q_GADGET. Change-Id: I59eb745ff5614c2897d67dd7d6807763091120af Signed-off-by: Andrew Eidsness <eclipse@jfront.com> Reviewed-on: https://git.eclipse.org/r/20236 Tested-by: Hudson CI Reviewed-by: Doug Schaefer <dschaefer@qnx.com> IP-Clean: Doug Schaefer <dschaefer@qnx.com>
2014-01-04Bug 424876 - Unable to extract a function containing nested loopsSergey Prigogin5-5/+46
2014-01-04Cosmetics.Sergey Prigogin3-7/+7
2014-01-03Bug 386175 - all threads that have ever been displayed get refreshed onPawel Piech4-10/+98
suspend Change-Id: I3b1e842e8dd82463fe2cc35bcbdb0e52ae16baef Signed-off-by: Pawel Piech <pawel.1.piech@gmail.com> Reviewed-on: https://git.eclipse.org/r/9088 Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com> IP-Clean: Marc Khouzam <marc.khouzam@ericsson.com> Tested-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-01-03Bug 424824: Codan checker for QtAndrew Eidsness9-35/+214
This implements a Codan checker for QObject::connect and disconnect function calls. There are several overloads for each function, but the basic call looks like: Q * q; QObject::connect( q, SIGNAL( sign() ), q, SLOT( slot() ) ); This function calls requires that Q have a Qt signal called sign and a Qt slot called slot, e.g., class Q : public QObject { Q_OBJECT Q_SIGNAL void sign(); Q_SLOT void slot(); }; The Qt checker raises a warning if either condition is not true. It also raises a warning for SIGNAL or SLOT expansions without a parameter. Change-Id: If68a5bcdabb3f118801675e46ae926e6a250378a Signed-off-by: Andrew Eidsness <eclipse@jfront.com> Reviewed-on: https://git.eclipse.org/r/20231 Tested-by: Hudson CI Reviewed-by: Doug Schaefer <dschaefer@qnx.com> IP-Clean: Doug Schaefer <dschaefer@qnx.com>
2014-01-03Bug 424499: Find References does not work for Qt signals and slotsAndrew Eidsness14-561/+726
The QtASTVisitor is trying to use the QtIndex during indexing. Any results available at this time are based on the state of the AST the last time the code was indexed. This adds a test case to reproduce the problem. The test cases indexes the project one time. It should find two references to the signal. If the QtIndex data is stale, then it will find 0 references. This also replaces the code that looks for QObject::connect function calls. The proper behaviour is to find all overloads of #connect as well as references with QObject::disconnect (all overloads) function calls. A new test case checks for references in all overloads of #connect and #disconnect function calls. Change-Id: I28fc4213d6dddff10f81a6bd3ef01e24c74f31db Signed-off-by: Andrew Eidsness <eclipse@jfront.com> Reviewed-on: https://git.eclipse.org/r/20223 Tested-by: Hudson CI Reviewed-by: Doug Schaefer <dschaefer@qnx.com> IP-Clean: Doug Schaefer <dschaefer@qnx.com>
2014-01-03Cosmetics.Sergey Prigogin1-4/+1
2014-01-03When a file is deleted from the index, the file in the context of whichSergey Prigogin1-0/+7
it was parsed should be marked as having unresolved includes.
2014-01-03Cosmetics.Sergey Prigogin10-284/+284
2014-01-02Don't allow creation of EvalID without a name.Sergey Prigogin1-0/+2
2014-01-02Fix version number in qt-featureAndrew Eidsness2-2/+2
The version number of the feature should have been changed when the plugin versions were changed (in commit c6c1ef9). Change-Id: Ia6cf07edacd8cf2932b496e09c3d0aab579e9eda Signed-off-by: Andrew Eidsness <eclipse@jfront.com> Reviewed-on: https://git.eclipse.org/r/20068 Tested-by: Hudson CI Reviewed-by: Doug Schaefer <dschaefer@qnx.com> IP-Clean: Doug Schaefer <dschaefer@qnx.com>
2013-12-26Proper handling of subclasses in getAdapter method.Sergey Prigogin1-19/+14
2013-12-23Bug 326750 - Field with same name as classNathan Ridge2-2/+12
Change-Id: I6170ad204506d9eca3a0016930ad6506ba56e9cd Signed-off-by: Nathan Ridge <zeratul976@hotmail.com> Reviewed-on: https://git.eclipse.org/r/20147 Tested-by: Hudson CI Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com> IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com> Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2013-12-23Bug 424397 - Don't print full stack trace in case spawner native is notMarc Khouzam1-2/+2
available Change-Id: Id950622f6ca39639addeedc33e8d1c3fadd611e0 Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com> Reviewed-on: https://git.eclipse.org/r/20028

Back to the top