1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-29 11:55:40 +02:00
Commit graph

35735 commits

Author SHA1 Message Date
gwatson
e9340257aa Merge from M1_0_maintenance
Change-Id: I357dedf01c2621de6617cd50d3671046b627f3d5
Signed-off-by: gwatson <g.watson@computer.org>
2014-06-26 14:41:30 -04:00
gwatson
087e4aafbf Make update_versions script work
Change-Id: I219502605284a8cf4f7235390b453a4e6720ad42
Signed-off-by: gwatson <g.watson@computer.org>
2014-06-26 11:33:46 -04:00
gwatson
bec4821d63 Add update_versions script
Change-Id: I65d80b51788743fe40457b02d9372f63395f3093
Signed-off-by: gwatson <g.watson@computer.org>
2014-06-26 11:07:16 -04:00
Sergey Prigogin
fbca073d79 Navigate to template definition by default. 2014-06-25 15:07:34 -07:00
Jeff Johnston
6592f4dc24 Bug 438092 - Advanced Autotools flags not set for C++ projects
- Replace previous fix with better one
- Continue to use the name CFLAGS for the compiler flags but add
  a default value of CFLAGS|CXXFLAGS so that multiple flags will be
  issued on configure
- enhance the FlagConfigureOption to handle multiple flags at once by
  using the value and splitting on the | delimiter to generate separate
  multiple flags if needed
- Change title of Autotools compiler flag options to be
  Compiler Flags instead of CFLAGS (previous) and CFLAGS|CXXFLAGS (new)
- Add transformed name for CFLAGS|CXXFLAGS
- Add tests to verify multiple flags are used


Change-Id: Ic7f8028f07469d04c9de3105f818a5e37e06246a
Reviewed-on: https://git.eclipse.org/r/28943
Tested-by: Hudson CI
Reviewed-by: Jeff Johnston <jjohnstn@redhat.com>
Tested-by: Jeff Johnston <jjohnstn@redhat.com>
2014-06-25 15:09:54 -04:00
Sergey Prigogin
e6b392ffbc Bug 438114 - Friend function declaration is not reconciled with other
declarations
2014-06-24 20:20:54 -07:00
Sergey Prigogin
820b901b69 Cosmetics. 2014-06-24 20:17:28 -07:00
Jeff Johnston
753276a27d Bug 438092 - Advanced Autotools flags not set for C++ projects
- enhance the FlagConfigureOption to handle multiple flags at once by
  accepting the | delimiter in the name and generate separate multiple
  flag outputs using the children flag value options
- add a new CFLAGS|CXXFLAGS flag so that both CFLAGS and CXXFLAGS will
  be set at the same time (to handle both C and C++ source)
- modify the Autotools tests to verify the fix works

Change-Id: I4e97c1a16381a3a10404e2fd20f8e49d99590db5
Reviewed-on: https://git.eclipse.org/r/28941
Tested-by: Hudson CI
Reviewed-by: Jeff Johnston <jjohnstn@redhat.com>
Tested-by: Jeff Johnston <jjohnstn@redhat.com>
2014-06-24 18:15:45 -04:00
Marc-Andre Laperle
1f29931ff1 Bug 437067 - Hide read-only references in Search view
Change-Id: I0f6a864342d54dd3bae6563eba6ce72273d99647
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/28287
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Hudson CI
2014-06-24 15:34:59 -04:00
Doug Schaefer
976806367d Add the missing files for the new CDT launchbar provider plugin. 2014-06-24 11:54:25 -04:00
Doug Schaefer
8686c2bfce Start adding CDT launchbar provider. 2014-06-24 11:53:42 -04:00
Doug Schaefer
92aea028d9 Add a bit of history to config selections. 2014-06-24 10:25:00 -04:00
Alena Laskavaia
a287a76c34 Bug 431026 - NPE while checking Assembler resources (*.S - files)
Change-Id: I1a3454ff2592137345c3a40b4acf7b2ec3049724
Signed-off-by: Alena Laskavaia <elaskavaia.cdt@gmail.com>
Reviewed-on: https://git.eclipse.org/r/28724
2014-06-21 10:58:22 -04:00
Alena Laskavaia
db43e03878 Bug 394521 Do Constant folding propagation when building CFG
When building control flow graph we can consider constants
and not add some branches in decisions nodes, that make CFG
more accurate and elimate some false positives

Change-Id: I19c623e1e6d2dc7416a0e796a98168df7a976111
Signed-off-by: Alena Laskavaia <elaskavaia.cdt@gmail.com>
Reviewed-on: https://git.eclipse.org/r/28726
2014-06-21 10:57:37 -04:00
Greg Watson
8149858afc Bug 437842 - Fix setInitialPath() so it works.
Change-Id: Ic8599552b1c1b9b99743bd73429b60a1d73dc29f
Signed-off-by: Greg Watson <g.watson@computer.org>
2014-06-20 15:53:34 -04:00
Jeff Johnston
3d78256606 Bug 437782 - Standalone Debugger does not consider the executable PATH
- add code to search PATH using "which" command if the executable consists
  of a single segment and is not absolute

Change-Id: I0e36adc99d206c4f61e58747eb3ebfc30cd1437c
Reviewed-on: https://git.eclipse.org/r/28790
Tested-by: Hudson CI
Reviewed-by: Jeff Johnston <jjohnstn@redhat.com>
Tested-by: Jeff Johnston <jjohnstn@redhat.com>
2014-06-20 12:06:44 -04:00
Doug Schaefer
49b65cb5b2 Fixed up startup, selection handling, and preferences in LaunchBar. 2014-06-19 22:13:11 -04:00
Chris Marr
fcd66c7d04 Bug 433357 - Added fix for false positives from GNU
Statement-Expressions

Change-Id: I21eb9978a156f2375e5b9e1992c297e3b6ca78ac
Signed-off-by: Chris Marr <cdabone@gmail.com>
Reviewed-on: https://git.eclipse.org/r/25600
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Hudson CI
Reviewed-by: Elena Laskavaia <elaskavaia.cdt@gmail.com>
2014-06-19 16:51:14 -04:00
Doug Schaefer
e35ccf64a8 Fixed up the disable of the LaunchBar so it really removes it.
Not sure if it's a bug, but I had to dispose of the control myself.
2014-06-19 15:32:16 -04:00
Doug Schaefer
359c8976c8 Added preference to enable/disable the launch bar. 2014-06-19 13:49:50 -04:00
Doug Schaefer
c2da55547c Bug 437392 Initial commit of LaunchBar.
The LaunchBar is a Tool Control that allows the user to select an
active launch configuration, launch mode, and a new concept, a launch
target, and the build for that combination and launch that combination.
It also provides shortcuts to create launch configurations, and edit
their properties using the existing launch config edit dialog.

Change-Id: I8c6c9b72fed9052c03d2028c4611c78872d971c4
Reviewed-on: https://git.eclipse.org/r/28727
Tested-by: Hudson CI
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
2014-06-19 12:11:52 -04:00
Marc Khouzam
397b269e26 Bug 435998 - Remove 'updateSiteName' string as they are not used
Change-Id: I55485c9cba17f544d50d8e27b77d6644493d8300
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/27500
Tested-by: Hudson CI
2014-06-18 15:54:57 -04:00
Marc-Andre Laperle
ecc63ee1df standalone debugger: Disable menus only when product is the standalone debugger
Change-Id: I62345062eddbcdae9134c5f913f771c7cf4f174f
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/28370
Tested-by: Jeff Johnston <jjohnstn@redhat.com>
Tested-by: Hudson CI
Reviewed-by: Jeff Johnston <jjohnstn@redhat.com>
(cherry picked from commit 27e173d8a1)
Reviewed-on: https://git.eclipse.org/r/28700
2014-06-18 14:43:10 -04:00
Sergey Prigogin
852659fa1d Bug 437630 - NPE in Organize Includes with a lambda expression 2014-06-17 15:18:24 -07:00
Sergey Prigogin
2163d2af4c Fixed a ClassCastException. 2014-06-17 15:17:05 -07:00
Sergey Prigogin
246d2eb69b Added editing of include guard style preference. 2014-06-17 15:15:50 -07:00
Sergey Prigogin
d962e2eee7 Automatic update of include statements and include guards when header
files are renamed or moved.
2014-06-17 15:14:50 -07:00
Sergey Prigogin
cf4556f05f Cosmetics. 2014-06-17 15:12:01 -07:00
Marc Khouzam
ce9b270a38 Bug 435998 - Get rid of all "eclipse_update_120.jpg" files in CDT
features

Change-Id: I52a71e62f8161990657e96ef52403fd7f69698a2
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/27499
2014-06-17 11:33:37 -04:00
Alena Laskavaia
16037a5f38 Bug 350168 - Return checker won't report errors in dead code
Also Bug 356908, Bug 348386

Change-Id: I48d2f74e05d2d6d7a7bf0589408ca90bc07a6922
Reviewed-on: https://git.eclipse.org/r/28527
Tested-by: Hudson CI
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
2014-06-16 10:26:43 -04:00
Jeff Johnston
45a165b37d Bug 436892 - Standalone Debugger should not delete launch while it is still running
- distinguish between specifying an executable on command line or from the
  New Executable Dialog
- remove all launch configurations for the Executables project before
  deleting the project
- tell the configurer to not save and restore
- perform super.postWindowClose() after we have saved workspace

Change-Id: I1f02f3e033e5abf6c3c90a096312de2f134f7d8c
Reviewed-on: https://git.eclipse.org/r/28175
Tested-by: Hudson CI
Reviewed-by: Jeff Johnston <jjohnstn@redhat.com>
Tested-by: Jeff Johnston <jjohnstn@redhat.com>
(cherry picked from commit 0e6641c128)
Reviewed-on: https://git.eclipse.org/r/28206
2014-06-13 16:39:55 -04:00
Jeff Johnston
19e643f373 Bug 437302 - -e requires full path
- Add support to replace paths with absolute canonical paths before
  creating links within project or creating debug launch configs

Change-Id: I253978a973a4e583bc5e63b751e5184e7b085db1
Reviewed-on: https://git.eclipse.org/r/28448
Tested-by: Hudson CI
Reviewed-by: Jeff Johnston <jjohnstn@redhat.com>
Tested-by: Jeff Johnston <jjohnstn@redhat.com>
2014-06-13 15:49:57 -04:00
Simon Marchi
87ffdc164c Bug 437182: Display as array: make error messages match field names
It seems that the fields were previously named "first index" and "last index".
Now they are named "start index" and "length".

Change-Id: Ic913f3df8b542395a73074f0803875a11fdc8450
Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca>
Reviewed-on: https://git.eclipse.org/r/28286
Tested-by: Hudson CI
Reviewed-by: Alvaro Sanchez-Leon <alvsan09@gmail.com>
Tested-by: Alvaro Sanchez-Leon <alvsan09@gmail.com>
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2014-06-12 22:03:31 -04:00
Roland Schulz
b511b31ad1 Bug 437083 - Improve error message if ssh fails
Execute loadEnv once before trying sftp to make sure exec works.
This way we don't assume it is an sftp problem if the ssh
connection doesn't work at all. To make this work throw an
exception if ExecCommand fails (if exit code != 0). ExecCommand doesn't
have a way to check exit code. Thus this also fixes that if any command
executed with ExecCommand failed, the calling code didn't notice.

Change-Id: I30b8baa0d87166e179fad67643e31a9f17c8ead2
Signed-off-by: Roland Schulz <roland@utk.edu>
2014-06-11 16:43:24 -04:00
Marc Dumais
d642797a86 Bug 436879 - 'connect' button sometimes disabled when it shouldn't be
Change-Id: I1912ed6fa5fe7930b8af075e92aa3acf66645eb6
Reviewed-on: https://git.eclipse.org/r/28341
Reviewed-by: Anton Leherbauer <anton.leherbauer@windriver.com>
Tested-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
(cherry picked from commit 43e5ce87e6)
Reviewed-on: https://git.eclipse.org/r/28359
Reviewed-by: Marc Dumais <marc.dumais@ericsson.com>
Tested-by: Marc Dumais <marc.dumais@ericsson.com>
2014-06-11 10:34:30 -04:00
Christian Walther
7672ba3b84 Bug 436060 - Race condition in updateProjectDescriptions()
Before calling setProjectDescription() with a description that was
obtained earlier without contiguous protection by an appropriate
scheduling rule, check whether it is still current, otherwise changes to
the project made by others in the meantime may get overwritten.

Change-Id: I5d739116f2b83525a19187b3cc396e857865440a
Signed-off-by: Christian Walther <walther@indel.ch>
Reviewed-on: https://git.eclipse.org/r/27463
Tested-by: Hudson CI
Reviewed-by: Andrew Gvozdev <angvoz.dev@gmail.com>
Tested-by: Andrew Gvozdev <angvoz.dev@gmail.com>
2014-06-10 17:30:41 -04:00
Roland Schulz
407382d8af Bug 437083 - Connection error "session is down"
isOpen is expected to cleanup old sessions but didn't do so if fIsOpen
is false.

Change-Id: I65290d06eec51f65281c9f7eb16eba7e3bb5dcc9
2014-06-10 15:19:42 -04:00
Jeff Johnston
333128a63a Bug 436893 - workspace should be renamed for Standalone Debugger
- workspace is now workspace-cdtdebug

Change-Id: I04e9285a385308c5b3911c64bb175b07f8ed407d
Reviewed-on: https://git.eclipse.org/r/28207
Tested-by: Hudson CI
Reviewed-by: Jeff Johnston <jjohnstn@redhat.com>
Tested-by: Jeff Johnston <jjohnstn@redhat.com>
2014-06-09 15:30:52 -04:00
Roland Schulz
fdcc7b3987 Bug 436096 - Fix Tab order in Connection dialog
Shouldn't be necessary because it should be the default
order. But on Linux and Windows (but not OSX) it somehow
isn't the correct without.

Change-Id: Ifb0babe7c0014b07510ef9789e274f1d8e83829c
2014-06-09 12:30:14 -04:00
Greg Watson
5a6ab10f37 Bug 436096 - Increase width of port and timeout fields.
Change-Id: Ic775bdd4a608deb9a0bf2bd1b4dd5bbced5ea3b3
Signed-off-by: Greg Watson <g.watson@computer.org>
2014-06-09 10:54:26 -04:00
Dave McKnight
ddf7babfee [436970] connection alias with ':' causes problems 2014-06-09 10:51:53 -04:00
Roland Schulz
f2a8c2053e Bug 428658 - fix keyboard-interactive authentication
Also removes unnecessary code for firstTry for password/
keyboard-interactive. And fixes firstTry for pubKey auth.
JSchConnection.newSession is storing the password with
session.setPassword. This password is used first before
jsch is using the UserInfo to prompt. Thus it isn't
necessary to return from the prompt first the same
stored password.

Change-Id: I17a4ae057fc595c2afe452c550bf47b70b696ef4
2014-06-09 08:32:57 -04:00
Jeff Johnston
a02bedd48e Bug 436554 - standalone debugger cannot find pushd/popd on Ubuntu
- Fix cdtdebug.sh to not use pushd/popd
- Fix install.sh script to do proper sed now that pushd is not used

Change-Id: I466af0b0b6e09a53eb11505ce480138b5b538378
Reviewed-on: https://git.eclipse.org/r/28070
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Hudson CI
Reviewed-by: Jeff Johnston <jjohnstn@redhat.com>
Tested-by: Jeff Johnston <jjohnstn@redhat.com>
2014-06-07 15:04:42 -04:00
Greg Watson
dad71b863b Bug 428658 - Add a default Authenticator
Change-Id: I9e2e3ced3c1d3a0b9fb97e685d3836b586cc98a0
Signed-off-by: Greg Watson <g.watson@computer.org>
2014-06-07 00:07:26 -04:00
Greg Watson
79bf8fb436 Bug 436880 - Only flag change if something has actually changed.
Change-Id: I56313985ea703c0c602166e4c1cb1fb1211cb702
Signed-off-by: Greg Watson <g.watson@computer.org>
2014-06-06 15:16:45 -04:00
Uwe Stieber
2cdbba52ba Terminal: Remove invalid assertion. Was commented out for a long time
but accidently reenabled by commit
eacc6dd5ba
2014-06-06 11:05:49 +02:00
Uwe Stieber
6d3ebb0ff3 Terminal: Remove invalid assertion. Was commented out for a long time
but accidently reenabled by commit
eacc6dd5ba
2014-06-06 11:05:49 +02:00
Sergey Prigogin
25e5cffbdc Bug 436748 - Preference option missing in OrganizeIncludesBlock 2014-06-05 13:23:24 -07:00
Sergey Prigogin
e9efc2eac0 Cosmetics. 2014-06-04 20:30:44 -07:00
Sergey Prigogin
68d17bbd55 Cosmetics. 2014-06-04 20:30:16 -07:00