1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00
Commit graph

24695 commits

Author SHA1 Message Date
Alexander Kurtakov
18f13d204e releng: Move target file to Platform 4.6 final from milestones
Change-Id: Ifcfed06701c1a4a3f7da08104b5654e16785d35d
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2016-07-11 02:02:05 -04:00
Sergey Prigogin
67f2b199d9 Removed redundant qualifiers.
Change-Id: I28dad37e31f471d2e194b0f83098fd8ca1414894
2016-07-09 12:38:04 -04:00
Marc Khouzam
0c87249a55 Bug 497349 - Reverse debug is always enabled when attaching to a process
Change-Id: I3761e57fb625cab31e013676d3eda7f214496918
2016-07-08 16:21:24 -04:00
Marc Khouzam
5a5e9872cb Bug 497206: Remote-attach fails attach if binary not specified in launch
The core exception we used to throw when the program patch was not
present is necessary for GDBBackend#getProgramPath() to set the path to
an empty value instead of returning null.

Although we could have made GdbLaunch#getProgramPath return and empty
string to fix this problem, I thought we should play it safe and behave
like we used to in case something else needed that exception thrown.

Change-Id: I4684226c731aedef50bdeb37accdf2a2feb818b5
2016-07-08 16:19:41 -04:00
Nathan Ridge
3024a99027 Bug 497524 - Fix a ClassCastException in CPPTemplates.createSpecialization()
Change-Id: Ie63d5dd6ffd3ba1de3d449f9255b7782c4dde06d
2016-07-07 22:48:43 -04:00
Sergey Prigogin
a6492d951f Bug 495952 - Problem with SFINAE in trailing return type
Change-Id: Ida1d168803da5304c834b19fa83148921f69b2b6
2016-07-07 21:33:46 -04:00
Nathan Ridge
5344893756 Bug 496628 - Avoid codan markers that cover an entire class declaration
This fixes a regression from bug 486610 which introduced these in some cases.

Change-Id: I791528ce7f0bc061386aaa97dd9cecb7abeecd72
2016-07-06 23:16:22 -04:00
Nathan Ridge
7a4d4fdb95 Revert "Bug 486682 - Syntax coloring of macro arguments that occur in reverse order in the AST"
This commit caused a regression in syntax coloring, as reported in bugs 490415 and 496696.

Change-Id: Ibfa7004b11677be56eb5a18d8236af2300de56cb
2016-07-06 23:04:05 -04:00
Marc-Andre Laperle
492fc0a164 Update Oomph setup for Neon release
Update API baseline and update targlet.

Change-Id: Ie693f5401f226d4d9a679b75f0c105d4542c54a6
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2016-07-06 10:17:06 -04:00
Alexander Kurtakov
a044217eff Fix generics warnings o.e.cdt.debug.ui.
Namely:
* Adapters
* ListenerLists
* Iterators
* Collections

Change-Id: I71212da7f9ab414fb392a8388afcce762f3f4702
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2016-07-06 10:28:57 +03:00
Alexander Kurtakov
240d68cac5 Generify o.e.cdt.debug.core.
Fix warnings about adapters and listener lists not being generified.

Change-Id: If5e54e6df452884947f32a31ef9c0c53677b88c8
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2016-07-05 20:15:58 +03:00
Adam Ward
9b4dba0458 Bug 496415. Show reason for crash when core debugging.
Changes:
When a core debugging session starts a MIConsoleStreamOuput is received
by MIRunControlEventProcessor or MIRunControlEventProcessor_7_0 which
contains a string of the form "Program terminated with signal <signal>,
<reason>". The signal and reason are parsed from the string and a new
signal event created and dispatched. The label of the last executing
thread (one that received the signal) in the debug view then shows the
signal that caused the core file to be created

Testing:
Tested on Windows and a Lubuntu VM

Change-Id: I02fa4b2fe458005f159341fcbcaaaa2fe57a7871
Signed-off-by: Adam Ward <award@blackberry.com>
2016-07-04 14:09:17 -04:00
Marc Khouzam
61492f65a2 Create constant for initial GDB inferior 'i1'
Change-Id: Ie1c0f52b11ac60735365987c89468917e311bf82
2016-07-02 21:01:20 -04:00
Alexander Kurtakov
c8c00efac5 Bug 343552 - RFE: Quick Outline support for configure.ac editor
Implement quick outline for AutoconfEditor with search, navigation and
etc.
Small reorganizations in the plugin.xml to make it easier to navigate.

Change-Id: Ibb13caa6f80ae2bbdfe3a78dec0eb033ee0c0482
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2016-07-01 13:02:21 +03:00
Nathan Ridge
afb47aa104 Bug 496657 - Fix an ArrayOutOfBoundsException during indexing
Change-Id: Iee0617407bf59016dae26b2483dfc9d68ff84451
2016-06-30 17:47:45 -04:00
Marc Khouzam
f38cbb85c3 Remove old .cvsignore files
Change-Id: Ia66de47055a15d94c0aa45d1198f0a9e78d82ad0
2016-06-30 09:58:00 -04:00
Thomas Corbat
7c80ce009c Bug 428237 Added "Replace all" option to Extract Constant dialog
Change-Id: I65b9b8dd86bfe6431e9bb5ea4894b234ab26e004
Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
2016-06-29 08:38:08 +02:00
Marc Khouzam
e52031c676 Bug 495623: Use new flags in =record-change from upcoming GDB release
With the next GDB (probably named 7.12), we are provided with the type
of record that was started.
  =record-started,thread-group="i1",method="btrace",format="bts"
  =record-started,thread-group="i1",method="btrace",format="pt"
  =record-started,thread-group="i1",method="full"

We make use of this information in GDBRunControl_7_10 to avoid sending
an 'info record' command.

Note that because MI adds fields in a backwards-compatible way, it was
much simpler to modify GDBRunControl_7_10 instead of creating a new
GDBRunControl_7_12 (whose name may even be wrong if GDB's next version
is not actually 7.12).

Change-Id: I869b3c0ff648d5e38081e06a7063613bbb9266dc
2016-06-27 16:03:00 -04:00
Marc Khouzam
45b1ecd1c3 Update baseline to point to final release of 9.0
Change-Id: I962afe208f6bd7203a54c8b914a0d77610ee6721
2016-06-27 15:59:09 -04:00
Marc Khouzam
783787af25 Bug 496818 - Cannot find executable if working directory is not default
Originally, to determine the program path, GDBBackend's constructor
would call:

   ICProject cproject = LaunchUtils.getCProject(lc);
   fProgramPath = LaunchUtils.verifyProgramPath(lc, cproject);
   
When we made the change in 192bfff688 we
didn't keep that logic and lost some functionality.

This commit re-instates the original logic.

Change-Id: Ifbee2273517c41ad6ebdc9980261ed36d651f130
2016-06-27 15:47:28 -04:00
Doug Schaefer
972aeb3d0b Bug 481199 - Add support for cu serial devices on Mac.
Change-Id: I1323ad71ab8d4d76c74380ad06d5216865bebe92
2016-06-27 12:39:41 -04:00
Nils Carlson
ff412311a7 Bug 495836 - Eclipse CDT needs privileged mode for docker containers
This adds a checkbox to the container tab of the container
launcher to enable privileged mode. It requires a corresponding
change to the linuxtools repo.

Change-Id: I3f5fc15490e58304d3f43669fd6b16373a30ef7c
Signed-off-by: Nils Carlson <nils.carlson@ludd.ltu.se>
2016-06-22 18:45:40 -04:00
Marc Khouzam
9e1e981b4d Move the rest of the CDT plugins to java 8
This change was generated using the script:
releng/scripts/ChangeJavaVersion.sh

Change-Id: I2ad96dc682a5acb8529c3edec40de279c331b5a4
2016-06-22 14:51:43 -04:00
Doug Schaefer
b46b3388e8 Fix up Arduino property page to use o.e.remote tester.
Makes sure the Arduino property page doesn't activate when the plugin
isn't loaded.

Change-Id: I4d948d6028407891e7ec9def8193f0e12b07179a
2016-06-21 15:10:33 -04:00
Marc Khouzam
0c39193a39 Fix wrong javadoc
Change-Id: Ie4388f47fad9a1ed760fbe4576e01d408c0ca6ba
2016-06-20 14:24:00 -04:00
Marc Khouzam
3e2d6a4c7f Updating target to RC4 until release is ready
Change-Id: I9ce789260f997279044f2f54bc03dbd8a561f1e8
2016-06-20 09:15:07 -04:00
Marc Khouzam
ffbc33fa54 Add script to change java version
The script is quite basic.  It does not even take parameters.
However, considering it will be run probably once every three
years, I felt it was sufficient.

Change-Id: Ic2b533758529f393d6e37c010f0a5cb666e84b53
2016-06-20 09:13:36 -04:00
Doug Schaefer
01845929c4 [Arduino] Fix Makefile template to use new libraries layout.
We removed the version from the file path and forgot to update the
Makefile template to take that into account.

Change-Id: I7ab74723554561f86674ef22e38fff6153526912
2016-06-17 23:34:50 -04:00
Sergey Prigogin
0937af705b Fixed compiler warnings.
Change-Id: I6617c9cf0564c8011da4f35f41cbae29c453adfa
2016-06-17 23:30:53 -04:00
Doug Schaefer
d6d135d701 Bug 485992 - Add support for libs with parens and assembly files.
The AVR Timer Library has this.

Change-Id: I595ed64d2d6d56e17cbbb503875b07afb77ec199
2016-06-17 16:08:02 -04:00
Doug Schaefer
bf8d82a992 Bug 487633 - Arduino support build.system.path for Due.
Change-Id: I4ef4de8ed34c5fc412830ca9789bc5becb883911
2016-06-17 16:07:50 -04:00
Doug Schaefer
949e2b4b6a Arduino Integration tests passing on Linux and weirdo Windows platform.
Change-Id: Ie7c34003fb12a513d14bbe8c189f0c578891d47f
2016-06-17 16:07:33 -04:00
Alexander Kurtakov
0a65f2925b autotools: Start using Job.create.
Making use of lambdas for the sake of showing new APIs and having better
code.

Change-Id: If03cde0b2ae58d965387b0b224bc5129af78dacc
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2016-06-17 11:33:54 +03:00
Doug Schaefer
4b43360130 Bug 496187 Clean up the add Qt Install UI.
Change-Id: I2a315366690dc68d18bfff2bfde4c8fb58cf509c
2016-06-15 11:25:34 -04:00
Nathan Ridge
a41ffeaf34 Bug 480271 - Update the list of features CDT claims to support in __has_feature()
__has_feature() is a clang extension for feature testing.

Additions include features that we support that weren't added previously
because they weren't listed in clang's documentation (such as cxx_atomic),
and features for which we've since gained supprot (such as
cxx_variable_templates).

The addition of cxx_atomic is particularly important because it's required
for CDT to parse libc++'s <atomic> header correctly.

Change-Id: I21a0472bb3983cf70f5b7b734827ab1111370690
2016-06-14 07:02:30 -04:00
Thomas Corbat
f31d960271 Bug 488109 Refactoring of Extract Constant Implementation
Renewed extract constant implementation, including some improvements to
its functionality:
- Extraction of unary/binary expression trees with literals as leafs
- Improved name suggestion for integers
- Improved existing name detection
- Selection is more forgiving (caret in literal is accepted as
selection)

Patchset 2: Fixed trailing whitespace
Patchset 3: Improved progress implementation, removed unnecessary
generic
arguments and changed legacy implementation of IndentifierHelper
Patchset 4: Position of split call & line wrapping

Change-Id: I49ddb8355217e82d56728cd2abe253a63937f379
Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
2016-06-14 03:26:18 -04:00
Doug Schaefer
5d2cbaaa1c Cherry picking changes from the CDT 9 branch for Qt and Arduino.
Change-Id: I85eca2b8bb0447d4dd703030c41d90c1f9bcdf89
2016-06-13 21:23:10 -04:00
Sergey Prigogin
de37ec61db Added @noextend to HashTable and its subclasses.
Change-Id: I89a5e887cd22e4cb79b96c549fe5c7b79045cf3b
2016-06-13 11:46:30 -07:00
Sergey Prigogin
b7eb967b6d Created an API filter for HashTable.linkIntoHashTable method.
Change-Id: I209bc9254df389732443a3eb88838719e9eedb76
2016-06-13 11:32:05 -07:00
Sergey Prigogin
5063475316 Adjusted Javadoc. 2016-06-12 15:46:49 -07:00
Sergey Prigogin
78c15867f9 Bug 495845 - Name resolution problem with SFINAE and trailing return
type

Change-Id: Ib3dff25c9e8c85b95a0e9cd1a7296fd9756b1511
2016-06-10 17:46:17 -07:00
Nathan Ridge
03f0a71a3a BUg 495095 - Disable a test that tests functionality that isn't implemented yet
Change-Id: I43af3f590269088dbd17da1abd7cdada837a7f0d
2016-06-09 19:50:51 -04:00
Nathan Ridge
fe88f1f305 Bug 495095 - Consider implicit conversions when guessing parameters
Change-Id: Ie8c24148b227c39c58c58db887a75337bb064a0a
2016-06-09 19:50:37 -04:00
Nathan Ridge
bb8f775f99 Bug 495095 - Get the parameter guessing test suite to actually exercise the parameter guessing code
Change-Id: Ic0c2031f5d2f8854fcd304bbce8cba44222a0070
2016-06-09 19:50:21 -04:00
Nathan Ridge
95eee92c4c Bug 495095 - Fix incorrect tests
Change-Id: I90e211b9bbf55245bc15bc6239555267e8d88f92
2016-06-09 19:50:03 -04:00
Nathan Ridge
0b156e4ce4 Bug 495095 - Set offset and length correctly for name inside completion node in C AST
Change-Id: Id0ec4e51875d462acdcd1bb23dd085f3c7aff353
2016-06-09 19:49:37 -04:00
Nathan Ridge
937113fe3a Bug 495095 - Fix a bug in the test suite where the test passes if there are no actual guesses
Change-Id: Ie8a4a2019a6f50e82b1e78f39bcbfa778951ebb6
2016-06-09 19:49:21 -04:00
Nathan Ridge
efdd3c7986 Bug 495095 - Consider local variables for parameter guessing
Change-Id: I3e31a508a795b4e7f56d3e4407914d46bf4803ec
2016-06-09 19:49:00 -04:00
Nathan Ridge
f184c70bdb Bug 495095 - Acquire the index read lock while generating parameter guesses
Change-Id: I688f617e4a92da06e5bde4a91224088f2b40410f
2016-06-09 19:48:19 -04:00
Marc Dumais
9dc70ec8a5 bug 452356 - using o.e.remote: issues with remote browse dialog
This patch addresses an issue in the "Select Remote C/C++ Application
File" browse dialog: 
- The remote browse dialog's selected file or directory is still used 
in the launch configuration, even if the user cancels the browse dialog

Change-Id: Ib535254d681a349b2aadfe91adfc73d633a16e90
2016-06-09 12:19:44 -04:00