Skip to main content
aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2014-07-29Disassembly: Improve reliability of client-side address navigationcdt_8_3Anton Leherbauer1-5/+17
2014-07-03Bug 433869: IQMakeProjectInfo is not updating on active conf. changedDavid Kaspar1-4/+9
Fixing incorrect eventTypes used for registering CProjectDescriptionListener in QMakeProjectInfo.start() method. Change-Id: Ieb602a38999868e3da8487a1757c69bd50cb5837 Signed-off-by: David Kaspar <dkaspar@blackberry.com> Reviewed-on: https://git.eclipse.org/r/26264 Tested-by: Hudson CI Reviewed-by: Elena Laskavaia <elaskavaia.cdt@gmail.com>
2014-05-05Bug 434103 - winpty instance might get reused by another PTYAnton Leherbauer3-4/+9
2014-04-24Bug 433308 - Always show the Common page initially for new breakpointsAnton Leherbauer2-4/+14
2014-04-16Clean up stale comment.Doug Schaefer1-3/+0
2014-04-15Bug 432839 - Fix out of memory condition with Qt projects.Doug Schaefer1-2/+5
Turn the cache in QtPDOMLinkage into a WeahHashMap. Change-Id: I261d3aec5ee6b7537c4bfaa204dadd85b686140c Reviewed-on: https://git.eclipse.org/r/25064 Reviewed-by: Doug Schaefer <dschaefer@qnx.com> Tested-by: Doug Schaefer <dschaefer@qnx.com>
2014-04-15Bug 427401 - Failure to Parse addr2line binutil outputBrad Chiu1-0/+12
Fixed Addr2line.java Change-Id: I9b42e8925c86e238ce6dc610d9e0617b11981f42 Signed-off-by: Brad Chiu <brad@andestech.com> Reviewed-on: https://git.eclipse.org/r/24935 Tested-by: Hudson CI Reviewed-by: Jonathan Williams <jonwilliams@qnx.com> Reviewed-by: Doug Schaefer <dschaefer@qnx.com> (cherry picked from commit 84974e67258414635cd4e5c4b73921e56d3c8833) Reviewed-on: https://git.eclipse.org/r/25066 Tested-by: Doug Schaefer <dschaefer@qnx.com>
2014-04-10JI:449069 Add filtering to the PDOM generatorDoug Schaefer1-0/+11
Adds a -exclude option to list directories and files that are to be excluded from the pre-built PDOM so we don't get header files that users don't get suggest optional headers.
2014-04-10JI:449069 Add filtering to the PDOM generatorDoug Schaefer2-6/+86
Adds a -exclude option to list directories and files that are to be excluded from the pre-built PDOM so we don't get header files that users don't get suggest optional headers. Change-Id: I4e06ccda2207f9955bb743006af8cf947c5d67f3
2014-04-03Adjustments to adaptBinding stackOverflow solution.Doug Schaefer1-7/+8
Wrapped the method in try/finally and made inProgress thread local.
2014-04-03Bug 429196 Eliminate StackOverflow on adaptBinding.Doug Schaefer2-1/+91
A pretty simple and kludgy fix to the problem, but if we detect that we are adapting a binding that we are just in the middle of adapting, we bail and return null. Added Andrew's JUnit that reproduces the problem in case someone wants to try a better solution. Change-Id: Ib4a85c161be6aee073fee7ac0501464b70020fac Reviewed-on: https://git.eclipse.org/r/24396 Reviewed-by: Doug Schaefer <dschaefer@qnx.com> IP-Clean: Doug Schaefer <dschaefer@qnx.com> Tested-by: Doug Schaefer <dschaefer@qnx.com>
2014-04-01Bug 151329 - Accept '\r' as line delimiter in the lexerNathan Ridge2-2/+27
Change-Id: Ie3fb2926270a605db2a8590f6e00c1dc6ab7855a Signed-off-by: Nathan Ridge <zeratul976@hotmail.com> Reviewed-on: https://git.eclipse.org/r/23096 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-03-31Bug 430117 - "Connect to Process" is always enabled initiallyAnton Leherbauer1-0/+8
2014-03-31Bug 428121 - Can't force refresh of the disassembly on a different addressAnton Leherbauer1-15/+17
2014-03-31Limit opcode ruler width to max 20 charsAnton Leherbauer1-2/+7
2014-03-24Bug 431012: Missing IQMakeProjectInfo.updateQMakeInfo()David Kaspar2-4/+18
Adding IQMakeProjectInfo.updateQMakeInfo():QMakeInfo method to allow explicit calculation of QMakeInfo at the time of the method call. Change-Id: I665bedd5e095d1968f0c39ff2abb19c60aac9e14 Signed-off-by: David Kaspar <dkaspar@blackberry.com> Reviewed-on: https://git.eclipse.org/r/23800 Reviewed-by: Doug Schaefer <dschaefer@qnx.com> IP-Clean: Doug Schaefer <dschaefer@qnx.com> Tested-by: Doug Schaefer <dschaefer@qnx.com>
2014-03-24PR 383941 - Support binaries with dots in their name.Doug Schaefer1-8/+9
2014-03-13Bug 429488: Fix for deadlock in QMakeProjectInfo.updateActiveConfigurationDavid Kaspar9-318/+420
To prevent a deadlock between two the workspace and QMakeProjectInfo.sync locks, QMakeProjectInfo class has been rewritten to not call any method under sync-lock except for IQMakeEnv.init/destroy method. All methods should allow calling under workspace lock. Added a new IQMakeEnv2 interface to provide an explicit init method. Original QMakeProjectInfo has been split to QMakeProjectInfo and QMakeProjectInfoManager. This change is fully backward compatible. Change-Id: I880f22dd9bd999af1d3f47e4a3c4c0ab216b4ad2 Signed-off-by: David Kaspar <dkaspar@blackberry.com> Reviewed-on: https://git.eclipse.org/r/23270 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-03-03Bug 425595 - Opening 'C/C++ General-> Formatter' of a project propertiesSergey Prigogin1-38/+26
cuases NPE
2014-02-14bug 428230: What's New and Noteworthy in CDT 8.3?CDT_8_3_0Andrew Gvozdev16-240/+404
2014-02-12Bug 428041 - NPE in ReturnCheckerSergey Prigogin1-78/+33
2014-02-10Don't throw UnsupportedOPerationException from ASTAmbiguousNode methods.Sergey Prigogin1-7/+24
2014-02-06Remove eclipse.inf file from core.tests to allow packing to work.Doug Schaefer1-1/+0
2014-02-06Try again. Fixing signing.Doug Schaefer2-7/+7
2014-02-06Try to fix signing.Doug Schaefer2-67/+74
2014-02-04Fix potential synchronization issue in SpawnerAnton Leherbauer1-3/+5
2014-01-30Bug 426784: Qt Codan checker uses wrong typeAndrew Eidsness1-1/+1
view.connect( view.engine(), SIGNAL( quit() ), ... The return type of view.engine() should be checked for the quit() signal. The implementation was actually checking the type of view. I've fixed a copy/paste error in a utility function. Change-Id: Id483015214f04951fb30e3271d43499f31614446 Signed-off-by: Andrew Eidsness <eclipse@jfront.com> Reviewed-on: https://git.eclipse.org/r/21189 Reviewed-by: Doug Schaefer <dschaefer@qnx.com> IP-Clean: Doug Schaefer <dschaefer@qnx.com> Tested-by: Doug Schaefer <dschaefer@qnx.com>
2014-01-28Bug 426781: Qt content assist is too aggressiveAndrew Eidsness1-9/+3
In Content Assist cases like: q-> (when the cursor is to the right of the arrow operator) the name that is returned by the content assist context is the empty string. This was used to check if the QObject::connect function applied. Since the empt string matches all bindings the Qt assistant incorrectly continued. I've added a check to stop processing when the current name is the empty string. Change-Id: I4e5bf52f4ca1ddc33d88a48917213adbbeb81836 Signed-off-by: Andrew Eidsness <eclipse@jfront.com> Reviewed-on: https://git.eclipse.org/r/21188 Reviewed-by: Doug Schaefer <dschaefer@qnx.com> IP-Clean: Doug Schaefer <dschaefer@qnx.com> Tested-by: Doug Schaefer <dschaefer@qnx.com>
2014-01-27Bug 426586 - [launch] Rename launch delegates to be more descriptive toMarc Khouzam4-12/+12
the user Change-Id: Icd070b655a707474f60438bb9c2217fd87e210ce Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com> Reviewed-on: https://git.eclipse.org/r/21109
2014-01-24Bug 426238: Update head of external references list when neededAndrew Eidsness5-32/+145
When a PDOMName is deleted and that name is the head of an external references list, the list's head must be changed. The Qt plugin is the only user of the external reference list. One case is the link from a SIGNAL or SLOT expansion to the C++ method binding for the corresponding function. In this case, the problem will appear when all of the following are true: 1) The file containing the SIGNAL/SLOT expansion is changed and the index updated 2) The corresponding function is declared in a different file 3) The the function is the first entry in the external references list When #2 is false, the binding (and the entire list) is removed as part of updating the file containing the name. When #3 is false, the list is updated with existing code using the PDOMName's {next|prev}InBinding pointers. Change-Id: I1e27c7c2356ca1fb68f57d69c40728289288ed66 Signed-off-by: Andrew Eidsness <eclipse@jfront.com> Reviewed-on: https://git.eclipse.org/r/20972 Tested-by: Hudson CI Reviewed-by: Doug Schaefer <dschaefer@qnx.com> IP-Clean: Doug Schaefer <dschaefer@qnx.com>
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-22Adjusted plugin version numbers to not go back compared to CDT 8.2.1.Sergey Prigogin10-10/+10
2014-01-22Bug 423696 - [New Class Wizard] base classes has a fully qualified name,Jiří Nytra1-1/+6
even though the new class is in the same namespace 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-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

Back to the top