1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-21 07:05:58 +02:00
Commit graph

35992 commits

Author SHA1 Message Date
Marc Khouzam
5c2a64bc5d Add 4.6 target to pom.xml
Change-Id: Id968fc0ce95bf18b849d5c36e37398b76d08130c
2015-10-05 13:40:06 -04:00
Matthew Bastien
6c3f10576b Bug 478938 - Automatically add source files to Qt Project File
Added basic content assist for built-in qmake variables since there are
so many of them.

Added a bunch of new classes dealing with basic parsing and modification
of Qt Project Files.  For now the parser is a simple regular expression
matcher that finds instances of variables.  The modification class
supports preservation of indentation and comments that are tied to
variables in the project file.

Change-Id: I0539458d5c1cf29e6c9c1246e4e717e7cbec1b84
Signed-off-by: Matthew Bastien <mbastien@blackberry.com>
2015-10-05 12:41:41 -04:00
Marc Khouzam
43da8ab7ac Point for 8.8 release
Change-Id: I8974e9a657f928f097a0d4e40f0e887288ccb8f1
2015-10-05 11:39:27 -04:00
Teodor Madan
117074d323 Fix missing copyright headers
Change-Id: I0ce153ec219cf63a90e2d832080b4aacb2860fde
Signed-off-by: Teodor Madan <teodor.madan@freescale.com>
2015-10-02 11:19:35 +03:00
Wainer dos Santos Moschetta
babd6e8db0 Bug 478858 - TelnetProtocol#run() remove null pointer occurrences.
When terminating command shell some I/O stream might be null.

Change-Id: I03ed30f7869f499fb4b62b978d689ffb99b1eac4
Signed-off-by: Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
2015-10-01 19:19:46 -03:00
Wainer dos Santos Moschetta
150b50ab79 Bug 472514 - Add plug-in documentation.
The org.eclipse.remote.doc.isv plug-in holds developer's guide.

The API is generated at build time with tychon in the html/reference/api folder.

Change-Id: I9812be3bcf7248f3b3c6330df86c0b862510dd3e
Signed-off-by: Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
2015-10-01 19:02:14 -03:00
Jonah Graham
cc2099c4a0 Bug 478803 and Bug 478805: add tests for source lookup
Change-Id: If47f62a46164e4098e663f1eef1a0a8640a84009
Signed-off-by: Jonah Graham <jonah@kichwacoders.com>
2015-10-01 22:31:39 +01:00
Wainer dos Santos Moschetta
987c5c4efb Bug 478843 - TelnetConnection should return default port and timeout
Make TelnetConnection#getPort() and getTimout()
 return default port telnet (23) and timeout (0)
 if it isn't set with host services.

Change-Id: I740cd6a10b1f34d7f1afb956578b97b7886f36cc
Signed-off-by: Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
2015-10-01 14:52:44 -03:00
Anton Leherbauer
194f4e2611 Bug 477702 - Telnet line ending needs to be CRLF 2015-10-01 12:35:46 +02:00
Doug Schaefer
3b26dc26c4 Set up QML parser tests using TestSourceReader.
Change-Id: I40a3ef8dcf53d6189a980ae6ae7128746867c70f
2015-09-30 19:45:36 -06:00
Doug Schaefer
7cf2a14cc9 Move QML stuff to qt.core plug-in. Add deps for ANTLR, FreeMarker.
Moves to the cdt 4.6 platform where the new ANTLR and Freemarker deps
will be. Also properly names the qt test plug-ins.

Change-Id: I026873583c6e6ca7602cb983ab04f99acd700a4b
2015-09-30 08:22:59 -04:00
Marc Khouzam
0cfb15135f Remove reference to java environment in build.properties
Change-Id: I053158a23d2783879248320a84a9549e28cfb4d1
2015-09-29 08:57:47 -04:00
Marc-Andre Laperle
3415575b19 Add Error view to Stand-alone debugger
Add Error view to both the rcp and the script.
Also update the script to include com.google.gson which is required by
cdt.core.

Change-Id: I3975420cff8c912c07949384226bfa655a1a10e3
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-09-28 22:53:20 -04:00
Doug Schaefer
34378cb163 Hack in Windows support for Qt build and launch.
Only supports Qt 5.5 and mingw492_32 and only if installed into
C:/Qt or %HOME%/Qt.

Change-Id: I10e293fe5c7a72430a624dcf74fd8fc9a806c34c
2015-09-28 14:46:38 -04:00
Doug Schaefer
64bf3c4f69 Starting to put Qt onto the new build system and launch.
Change-Id: I3e65f5d69bfb35d16b2d1135f99517c7a2b2c437
2015-09-28 13:24:41 -04:00
Greg Watson
58c1857c15 Merge remote-tracking branch 'origin/R2_0_maintenance' 2015-09-28 10:29:21 -04:00
Greg Watson
4ca2f5b54f Merge "Bug 472329: URI to path conversion in RemoteResourceBrowserWidget" 2015-09-28 10:13:27 -04:00
Greg Watson
4f4bfbfca8 Bug 478549 - Add null pointer check
Change-Id: Ic7bf5e217d8def75054a86c0bccde5a3669f5d32
Signed-off-by: Greg Watson <g.watson@computer.org>
2015-09-28 10:01:27 -04:00
Greg Watson
e1651ff166 Bug 478544 - Add disposed check for table.
Change-Id: I54791dcd902b9013ba3e8495934f1cd0e5161086
Signed-off-by: Greg Watson <g.watson@computer.org>
2015-09-28 09:54:01 -04:00
Nathan Ridge
7ba4959cf4 Bug 477231 - NPE in CPPTemplates.convertNonTypeTemplateArgument()
Change-Id: If018f3d40f46eaccfaa9b8fb0094dbf40f50e599
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-09-27 14:31:06 -04:00
Marc Khouzam
15935286c0 Replace hack to obtain full path
We can obtain the full path of the executable using
File#getAbsolutePath().  This is much better than the hack that was
actually doing a launch to ask GDB where the binary was.

I cannot explain why I didn't use this in the original implementation.

Change-Id: Ifa0d538919cd0c231547f1f3e9c4b72837df4257
2015-09-25 12:59:20 -04:00
Alena Laskavaia
aa7f126248 Enable RemoteConnectionPropertyPage on adaptable
RemoteConnectionPropertyPage has a code that will adapt the
object to IRemoteConnection before showing properties, but
property page contribution enablement expression tests that object
is instanceof, which limits it to specifically IRemoveConnection
objects. Would be nice to show same property page if object adapt itself
to IRemoteConnection

Change-Id: I45699f96a0a1b1a7b8925c67313af46ce9f2300a
Signed-off-by: Alena Laskavaia <elaskavaia.cdt@gmail.com>
2015-09-24 15:29:39 -04:00
Marc-Andre Laperle
a4d67b9eaa Update Tycho to 0.23.1
See
https://wiki.eclipse.org/Tycho/Release_Notes/0.23#Milestone_0.23.1

Change-Id: I63a7204ab5f79194c24c69783da44a046f50d81c
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-09-24 13:34:41 -04:00
Thomas Corbat
2471f7e1d3 Bug 159803 - Console View Ignores EOF
Added statement to send end of transmission (ASCII 4) before close for
non-Windows PTY.

Change-Id: If98848a833f7619ce93277d05d39f3ba986a3cf4
Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
2015-09-24 01:36:49 -04:00
Matthew Bastien
74c21f5427 Bug 478231 - Hook up .qrc files to the XML Editor
Change-Id: I41b8e07474b608d8311fbc3f117f9386e73b5305
Signed-off-by: Matthew Bastien <mbastien@blackberry.com>
2015-09-23 20:39:38 -04:00
Marc-Andre Laperle
f97822d433 Update tycho-eclipserun to use Eclipse 4.5 instead of 4.4
That way we have less dependencies to download at build time.

Change-Id: I2caf9e7dfb98578ef376673bf2db749622d42289
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-09-23 17:11:26 -04:00
Matthew Bastien
8235aa4492 Bug 478211 - Create Qt Project File Editor
Also added bracket matching to the QML editor.

Change-Id: Ieb960bdec103a1c2055c3fda3dcda028ce73bb0a
Signed-off-by: Matthew Bastien <mbastien@blackberry.com>
2015-09-23 15:26:34 -04:00
Marc-Andre Laperle
0246be9a04 Bug 478074 - Maven builds don't show same error as Eclipse
Change-Id: I48d1cae2d0b4a386cb805259218046c175d2c7c7
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-09-22 16:45:47 -04:00
Martin Schreiber
eecd04d279 Bug 478018 - Updating the URLs to Mars release
The cdt-e4.5.target and the Oomph setup file (Mars Repo List) are
pointing now to the Mars release UR.

Bug: 478018
Change-Id: Icff0c388f4422598d7ab22d056f9d97638a7b7fd
Signed-off-by: Martin Schreiber <m.schreiber@bachmann.info>
2015-09-22 11:14:13 -04:00
Martin Schreiber
2cf6b41bd2 Bug 474946 - Initialization Code must be run asynchronously
Do the initialization asynchronously. If the service was initialized
during this class gets instantiated, it was re-instantiated and so a
StackOverflowException was produced. Now the initialization is done
asynchronously.

Bug: 474946
Change-Id: I15356c5f6e450d825d4f8615e2fba177409f5894
Signed-off-by: Martin Schreiber <m.schreiber@bachmann.info>
2015-09-22 17:03:44 +02:00
Marc-Andre Laperle
e38a038340 Add Eclipse 4.6 target
Change-Id: I57480e642fae83508e42b7595cce71f3ae24e0e6
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-09-22 10:14:00 -04:00
Simon Marchi
d23b3871ff Bug 465461 - Merge "Symbols" and "Preprocessor" in GCC C compiler settings
...so that it matches the way the GCC C++ compiler is.

Change-Id: I9e32dc3888cfec2c0c01196f44f2e730e2bbc574
Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca>
2015-09-22 10:01:08 -04:00
Ivan Furnadjiev
5cc4336072 Bug 475342: Fix CoreException of file language mappings reset to inherit
There is an assumption in 
FileLanguageMappingPropertyPage#computeInheritedMapping that there is
only one overridden file mapping. If both project and workspace file
mappings have been overridden, a CoreException is thrown when they both
are reset to inherit together.

Change-Id: I5c845831ac446eaf65c782b4428b3b72a274fb23
Signed-off-by: Ivan Furnadjiev <ivan@eclipsesource.com>
2015-09-22 09:58:58 -04:00
Matthew Bastien
4cc61d0449 Bug 477962 - Create Basic QML Editor with Syntax Highlighting
Added a QML Editor which handles basic syntax highlighting for keywords,
multi-line and single-line comments, and strings.  The highlight colours
are similar to that of Qt Creator and cannot be modified by users as of
yet.

Change-Id: Ied0ab0432a3a2a43f93733964747c792e29771c4
Signed-off-by: Matthew Bastien <mbastien@blackberry.com>
2015-09-21 11:53:02 -04:00
Marc Khouzam
366dcbb39a Bug 477728 - Exit code not displayed in console for new Run config
Change-Id: Id1ecdffb5d3a99908f7ac4ee096f2b7f7e3d6440
2015-09-17 14:27:52 -04:00
Martin Oberhuber
6a17a26b22 Bug 476709 - MacOSX PTY: Fix terminal change_window_size
Change-Id: I89b8c26f65671eaca20a0a5affb20c565f557419
Signed-off-by: Martin Oberhuber <martin.oberhuber@windriver.com>
2015-09-17 12:15:37 -04:00
Marc Khouzam
d334be2c61 Remove unnecessary API change
Let's keep the same API as what was released on CDT 8.8

Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-09-17 10:52:05 -04:00
Marc Khouzam
ea49446476 Bug 477610 - Remove any reference to platform .gif files
Change-Id: I1c9ba791154774f54fa2b56de8859dbbfc1b55a2
2015-09-17 10:26:01 -04:00
Martin Oberhuber
02cf48046f Cleanup: Fix Terminal API Markup part 2
Mark Terminal Interfaces as @noextend @noimplement where implementation
doesn't make sense (since it's just constants or an abstract base class
exists for extending). This helps giving room for safely extending 
Terminal interfaces in a backward-compatible way in the future, by
leveraging Eclipse API Tooling.

Change-Id: Ia5a99f9379ddd73dd58afe4dec4540ae24633b09
Signed-off-by: Martin Oberhuber <martin.oberhuber@windriver.com>
2015-09-16 16:24:27 -04:00
Ivan Furnadjiev
a48852f21a Don't create empty file-mapping entries in .cproject file
When file language mapping is reset back to inherit, empty (without
configuration, language and path attributes) file-mapping element is
created in .cproject file. This leads to project corruption. 

Add a check for empty entry value in
LanguageMappingStore#addFileMappings.

475344: Broken .cproject file after file language mapping is reset to
inherit
https://bugs.eclipse.org/bugs/show_bug.cgi?id=475344

Change-Id: I6e7d0b8d1199501e087ce42b75f0d8e83fca77cd
Signed-off-by: Ivan Furnadjiev <ivan@eclipsesource.com>
2015-09-16 15:40:36 -04:00
Simon Marchi
74e4b6d504 Fix MIMemoryTest.java:asynchronousReadWrite for architectures with fWordSize > 1
Commit 84a53f8d80 broke this test for an
architecture with fWordSize == 2.  The buffer for writing a word went from
length fWordSize to 1, and the expected buffer size of a read as well.
This commit fixes it.

Change-Id: Ie50766031fc7dd8d480f126abc48a6dfd487b9e5
Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca>
2015-09-16 09:44:01 -04:00
Marc-Andre Laperle
5ffc733ead Bug 477082 - Cannot set a proxy for RCP standalone debugger
Change-Id: I0e00b67ad513583d077a7e3470d321cd90435a33
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-09-15 16:27:42 -04:00
Anton Leherbauer
88b8b95e19 Follow-up on bug 476346: Make event names unique between multiple Eclipse instances 2015-09-15 12:44:07 +02:00
Anton Leherbauer
53401bd882 Follow-up on bug 476346: Make event names unique between multiple Eclipse instances 2015-09-15 10:34:30 +02:00
Uwe Stieber
1a1bcf774b Improve "New Terminal View" handling.
- Add a command to open the new terminal view. Allows to associate a
short cut
- Open the "Open Terminal" dialog on creating a new terminal view
2015-09-14 11:37:32 +02:00
Marc-Andre Laperle
f7f052c971 Fix description and copyright for Remote CDT services feature
Change-Id: I0e4adb5efd15caaf740267b0d6a49e9c2372270a
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-09-13 14:37:46 -04:00
Marc-Andre Laperle
6eb465170a Bug 477112 - Fix compilation error caused by JFace TableTreeViewer removal
Change-Id: I8b6c082668dc6a197b8a771ae261fe76a1e2a18d
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-09-11 17:04:24 -04:00
Martin Oberhuber
0a79c61273 Merge "Cleanup: Fix various API Markup Issues" 2015-09-10 13:07:56 -04:00
Uwe Stieber
7f0e1df264 Releng: SDK version for Neon is still 4.5.0 2015-09-10 16:48:45 +02:00
Uwe Stieber
83659a822a Releng: Fix SDK version id 2015-09-10 16:31:50 +02:00