1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-05 16:56:04 +02:00
Commit graph

460 commits

Author SHA1 Message Date
Jonah Graham
3afc828ae0 [releng] Bump version to 9.5.0
Change-Id: Ie342f02f7aae633f41a7ab7d39c21e056793a04a
2018-02-13 11:25:08 +00:00
Mustafa Yücel
2e0f85e514 Bug 520340: enable CLI to CDT's code formatter
example usage:
eclipse -nosplash -application org.eclipse.cdt.core.CodeFormatter -consoleLog \
        -verbose -config .settings/org.eclipse.cdt.core.prefs src/

imported CodeFormatterApplication from eclipse.jdt.core:
org.eclipse.jdt.core/formatter/org/eclipse/jdt/core/formatter/CodeFormatterApplication.java
revision 823698366b88fe7e6c1438813d7dd191ff9aa71f
org.eclipse.jdt.core/formatter/org/eclipse/jdt/core/formatter/messages.properties
revision c2646812d22906feca88c2f52911ca7c4eae2299

Change-Id: Id934c8958c66f562bd2402dcbd8b7c60e39cc7a5
Signed-off-by: Mustafa Yücel <mustafa.yuecel@siemens.com>
2017-11-02 07:03:22 -04:00
Jeff Johnston
c96d126b86 Bug 513589 - Add support to build CDT projects in a Docker Container
- add IOptionalBuildObjectPropertiesContainer interface to use for
  objects that supply optional build properties
- add new IOptionalBuildProperties interface that defines
  optional build properties donated by external plug-ins
- add new
- change IConfiguration to an IOptionalBuildObjectPropertiesContainer
- change IManagedProject to be an
  IOptionalBuildObjectPropertiesContainer
- fix ProcessClosure to ensure that readers are not null before
  accessing them
- fix Container launch delegate to look at project optional
  build properties for active configuration to fetch connection
  and image info and use said info to find a matching
  launch or create a new one
- have Container launch delegate use the image name as part of
  the launch config name
- have Container launch short-cut also use the project's
  optional build properties for the active config to get
  connection and image information before any defaulting
- change AutotoolsNewMarkerGenerator to store the command
  launcher as an ICommandLauncher
- add new CommandLauncherFactory extension to cdt.core that
  allows plug-ins to specify a CommandLauncherFactory that
  will return an ICommandLauncher based on the project
- add macros for new extension to CCorePlugin
- add new CommandLauncherManager class that loads
  CommandLauncherFactory extensions and is used to give
  an ICommandLauncher wrapper that will go through the list
  of CommandLauncherFactory extensions until one returns
  non-null ICommandLauncher
- add code to RemoteCommandLauncher so it will use the
  CommandLauncherManager to get the local launcher
- also change RemoteCommandLauncher to check at execution
  time whether the command is local and in that case use
  the local command launcher
- add new ICommandLauncherFactory interface
- add new ContainerCommandLauncher to launch
- add new ContainerCommandLauncherFactory class for returning
  a ContainerCommandLauncher instance to launch commands
  in a Docker Container
- change MakeBuilder to use CommandLauncherManager to get
  its ICommandLauncher
- change CommandBuilder to use CommandLauncherManager too
- ditto for Builder and AbstractBuiltinSpecsDetector and
  ExternalToolInvoker
- change Configuration to load/store optional build properties
  as well as return the properties to get/set
- ditto for MultiConfiguration
- change ManagedProject to implement IOptionalBuildOptionProperties
  interface
- ditto for ProjectType
- create new OptionalBuildProperties class to store optional
  build properties for a configuration
- bump cdt.docker.launcher to 1.1.0
- use CommandLauncherFactory extension to define
  ContainerCommandLauncherFactory
- add optional ContainerPropertyTab which allows the end-user to
  optionally choose to build a C/C++ project in a Container
  and specify the connection/image to use
- in LanguageSettingsSerializableSettings class, call the
  CommandLauncherManager getLanguageSettingEntries method
  to get the massaged language setting entries based on the
  current list
- in LanguageSettingsProviderSerializer, try and get the
  pooled entries using the cfg description so that it will
  have the project and can use the CommandLauncherManager
  to get entries from image
- in ContainerCommandLauncherFactory move cached headers under
  a HEADERS directory in the plug-in area
  - create a sub-directory for the connection and a sub-directory
    for the image based on cleansed names
  - store the real names of the connection and image to use
    later in the DockerHeaderPreferencePage
- modify LanguageSettingsEntriesTab to force the horizontal
  scroll bar to appear (this is a bug in SWT SashForm support
  and the fix here isn't quite correct, but is better)
- add new DockerHeaderPreferencePage that allows user to
  remove cached headers from images
- change C/C++ Docker preferences to be titled: Docker Container
- fix LanguageSettingsWorkspaceProvider.getSettingEntries method
  to use the CommandLauncherManager so entries will be transformed
  to use cached headers
- add BaseDatabindingModel class
- add DataVolumeModel class to model a volume mount
- add ContainerPropertyVolumes model to model volume specification
  and selected volumes
- add properties to ContainerCommandLauncher to represent
  volumes and selected volumes for a configuration
- add ContainerDataVolumeDialog for specifying a volume
  mount by the end-user
- add a null detector for cfgDescription in
  LanguageSettingsSerializableProvider
- fix AutotoolsNewMakeGenerator.getWinOSType to not specify "." for
  working dir
- fix GCCBuiltinSpecsDetectorCygwin to not map paths to Cygwin if
  the current configuration is enabled for container build
- add logic to ContainerCommandLauncher to look for Windows
  file formats and change them to unix format and map
  any "." working dir to be /tmp
- fix ContainerLauncherConfigurationDelegate similarly
- fix AbstractBuiltinSpecsDetector to pass in the current
  configuration description when getting the CommandLauncher
  since the current configuration may not be the active
  configuration
- change ContainerPropertyTab to add Elf and GNU Elf binary parsers
  when build in Container is chosen so that output executables
  are treated as Binaries by the CDT project
- add documentationl for the ContainerPropertyTab in Build Settings and
  the Data Volume dialog pop-up it brings up
- change CommandBuilder to accept a project as an argument
  to its constructor and to pass this as an argument to
  the CommandLauncherManager
- have StepBuilder pass project when creating a CommandBuilder

Change-Id: Ia78488b93056e6ec7ca83a6c87b3a9d2b9424943
2017-10-22 05:38:51 -04:00
Jonah Graham
41958c1588 Bug 517516: Update N&N in CDT docs
Includes synchronizing same sections in Standalone Debugger docs

Change-Id: I7b66cc8b16da1f69c943aa922e1cded32346cbaa
2017-05-31 07:39:52 -04:00
Jonah Graham
e9c3f978a8 Add missing reference to GDB Debugging Preferences (for DSF preferences)
Change-Id: I46636de4cf8893991ba6587425c45eea6c2d93e5
2016-12-05 21:47:25 +00:00
Jonah Graham
e7ccfabb32 Bug 484900: Remove CDI User Documentation
Change-Id: I16ebb6319d3f10edba55b1b96be053a2dc9bc8b4
Signed-off-by: Jonah Graham <jonah@kichwacoders.com>
2016-12-05 21:46:22 +00:00
Marc Khouzam
8cf5ed53f2 Update version to 9.3.0
Change-Id: Ic953ccc5d38ff3661ca44de21ed8c4b7dad5b246
2016-11-15 20:32:51 -05:00
Marc Khouzam
334777eb6e Update version to 9.2.0
Change-Id: I36ad4218b20b8ea70584c89f5be45c757bf4c714
2016-11-14 23:50:05 -05:00
Marc Khouzam
cd559dafaf Update version to 9.1.0
This commit used the script releng/scripts/ChangeFeaturesVersion.sh

Change-Id: I8274a6e8dd5c0f1e450f07952e138b265a441a62
2016-08-17 10:11:57 -04:00
Doug Schaefer
d4a911baa8 Create a dummy file in the user doc index when skipDoc.
Change-Id: Id5039869212f6b900fb423ea1cd5b27782cc9ad5
2016-05-26 23:25:49 -04:00
Jonah Graham
93155eceba Bug 472765: User documentation for Path Mapping
Change-Id: Ida009cc85c0b35845bd2c6db19a7e23a0a37f700
Signed-off-by: Jonah Graham <jonah@kichwacoders.com>
2016-04-13 10:41:46 -05:00
Marc Khouzam
b745736775 Incremented CDT features version to 9.0.0
This includes bumping the standalone debugger to 9.0.0

Change-Id: I55fae1cec995b5f6865a5b174c004ed1b76e9bea
2016-01-18 16:37:47 -05:00
Marc-Andre Laperle
98dee4063b Remove some unused images in documentation plugins
I used a simple script:

    for every file name of a given extension {
      grep for the file name usage
      if no result {
         delete it!
      }
    }

I only deleted things under the documentation plugins, to be safe.
This results in about 8MB of deleted images.

Change-Id: I566b8b1ff396b67689d273fc6e827dd3a02ad991
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-10-16 18:19:52 -04:00
Marc Khouzam
bb61124897 Incremented CDT feature version to 8.8.0
Change-Id: Ib1189a08a5f0225fd676b682dc8a10477ad3acc5
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-06-10 09:33:49 -04:00
Marc Khouzam
e820f872ad Incremented CDT feature version to 8.7.0
Change-Id: Ife0feaaa9263d2b7797e31d628250bd26caff1b5
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-05-04 21:07:13 -04:00
Marc Khouzam
74106910dd Bug 460370 - Remove reference to CDT project name in Welcome screen
Change-Id: I5532b0f4b2f1c47d45fab056769187bca1895427
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-02-19 13:46:31 -05:00
Marc-Andre Laperle
619216fca4 Add build flag (-DskipDoc) to be able to skip building documentation
Building documentation can take several minutes and is often not necessary.
I suggest that we leave it on by default so that people building locally
still get a full, consistent build of CDT but that it should be possible to
skip it on demand.

My build time went from 4:14s to 1:45s (without running tests).

Change-Id: Ic7c4535f3faf82080534d39ccbe6f452d8b52317
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-01-29 22:07:31 -05:00
Andrew Gvozdev
4a2b680255 Bug 449604: Comment/Uncomment for C++ editor not documented correctly 2015-01-08 08:59:11 -05:00
Andrew Gvozdev
322e0de5ca Bug 449605: Comment Code Aids doesn't refer to correct location for
Templates
2015-01-08 08:58:55 -05:00
Andrew Gvozdev
105fa978e7 Bug 449596: Hello World tutorial shows non-existing command to build 2015-01-08 08:58:39 -05:00
Sergey Prigogin
252eaf4c0f Incremented CDT feature version to 8.6.0.
Change-Id: Ic90c8e6a68d21e5b90ec3fac997da6a95a29bedf
Signed-off-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Reviewed-on: https://git.eclipse.org/r/39066
Tested-by: Hudson CI
2015-01-06 19:40:38 -05:00
Marc Khouzam
6004528ff6 Update to new CDT Logo
Change-Id: Iac76b204027efa01c8f848050a36d05022ecdf86
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/38363
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2014-12-16 13:29:12 -05:00
Iulia Vasii
4b833a066a Bug 446013 - Improvements to CDT launch configurations context help
Link "C/C++ Application", "C/C++ Remote Application" and "GDB Hardware
Debugging" launch configurations tab groups to existing "C/C++
Development User Guide" documentation.

Change-Id: I8220fe14ab22f14167ee2026c4a1f93b3cc7cd3e
Signed-off-by: Iulia Vasii <IuliaMadalina.Vasii@freescale.com>
Reviewed-on: https://git.eclipse.org/r/34433
Reviewed-by: Teodor Madan <teodor.madan@freescale.com>
Tested-by: Teodor Madan <teodor.madan@freescale.com>
2014-11-04 09:32:21 -05:00
Sergey Prigogin
d8154bd340 Inremented branding plugin version to 8.5 2014-07-21 17:39:01 -07:00
Doug Schaefer
2f995b6acb Cleared up the target model making it a provider responsibility.
The launch config descriptor provides the list of targets for a
given (usually active) config. The manager still manages which one
is active.
2014-07-01 19:47:36 -04:00
Andrew Gvozdev
f5f4b5101a bug 433472: Sample code is untidy 2014-04-29 11:37:16 -04:00
Andrew Gvozdev
8047915f17 bug 433463: Poor phrasing in "Tutorial: Creating a simple application" 2014-04-29 10:31:52 -04:00
Andrew Gvozdev
60068393a1 bug 428230: What's New and Noteworthy in CDT 8.3? 2014-02-14 16:43:56 -05:00
Sergey Prigogin
1d166260a8 Bumped up CDT version to 8.4.
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-21 17:35:29 -05:00
Andrew Gvozdev
61bc81d157 bug 422558: Managed build projects context help is broken 2014-01-07 10:21:18 -05:00
Thomas Corbat
c92d135f6d Bug 412380 Documentation for "Skip trivial initializer" flag.
Replaced the screenshot and added a short description of the new
options.

Change-Id: Iab2be3bb769079fac8cad70d16d37797d4a57100
Reviewed-on: https://git.eclipse.org/r/16838
Reviewed-by: Thomas Corbat <tcorbat@hsr.ch>
IP-Clean: Thomas Corbat <tcorbat@hsr.ch>
Tested-by: Thomas Corbat <tcorbat@hsr.ch>
2013-09-27 09:51:23 -04:00
Andrew Gvozdev
652ce4748e Fixed parent pom version to reference 2013-08-27 15:16:24 -04:00
Andrew Gvozdev
e84409b1f0 bug 404913: Dialect category and options for language standards for GCC toolchain 2013-07-24 14:50:45 -04:00
Andrew Gvozdev
7053a577c3 bug 409392: Description for overlay decorations in user doc 2013-06-11 14:51:26 -04:00
Andrew Gvozdev
10feb88f56 bug 409163: What's New and Noteworthy in CDT 8.2? 2013-06-08 11:26:26 -04:00
Andrew Gvozdev
ee0b58622c bug 409392: Update context help and user documentation for new Scanner Discovery "Preprocessor Includes, Macros..." property/preference pages 2013-06-08 08:15:17 -04:00
Andrew Gvozdev
110a511c63 bug 409163: What's New and Noteworthy in CDT 8.2? 2013-06-08 07:07:31 -04:00
Andrew Gvozdev
7dc675dc92 bug 409392: Context help for new Scanner Discovery "Preprocessor Includes, Macros..." property/preference pages 2013-06-05 16:03:54 -04:00
Andrew Gvozdev
4732c34a58 bug 409392: Update context help and user documentation for new Scanner Discovery "Preprocessor Includes, Macros..." property/preference pages 2013-06-05 14:37:07 -04:00
Andrew Gvozdev
441c6b6f2a bug 409392: Removed also images which are unused now 2013-05-29 17:04:19 -04:00
Andrew Gvozdev
9a53b3573e bug 409392: Removed docs for non-existing scanner discovery property pages on file and folder level 2013-05-29 11:14:42 -04:00
Andrew Gvozdev
6359fdac14 Minor cosmetic changes to user doc. 2013-05-29 11:13:10 -04:00
Andrew Gvozdev
22c6fd0c89 bug 409163: What's New and Noteworthy in CDT 8.2? 2013-05-27 20:52:43 -04:00
Jesse Weinstein
356f66ed01 Bug 403263 - Add link on Concepts/Templates page
Change-Id: Ibab1ef72640a2f9a7d737c6ca76cac52577e3745
Reviewed-on: https://git.eclipse.org/r/12104
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-04-24 16:34:49 -04:00
Jesse Weinstein
2a9b8c4bbb Bug 404695: Removing screenshots from menu docs
Also makes a tiny change to the CSS applied to
the menu items, setting vertical-align:top.

Change-Id: If54e5a15d96654a0697d4f3f56f32745d9bae031
Reviewed-on: https://git.eclipse.org/r/11595
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-04-03 13:05:02 -04:00
Sergey Prigogin
40b08ac68c Removed spaces from keyboard shortcuts. 2013-04-01 19:39:11 -07:00
Jesse Weinstein
73fb3076a6 Bug 402071: Updating Search menu.
Various small fixes, including indentation, adding spaces between parts
of the keyboard shortcuts, and removing the screenshot, per mailing list
discussion.

Change-Id: I4162de2cb7135323c86227ac24a2a0e44b459db1
Reviewed-on: https://git.eclipse.org/r/11594
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-04-01 22:10:46 -04:00
Jesse Weinstein
47645df5b3 Bug 402071: Update the Project menu
Remove the screenshot, per discussion on the mailing list.

Change-Id: Iabb67ed3bc42a6b1b1c858c1571cf44ed42b90d4
Reviewed-on: https://git.eclipse.org/r/11593
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-04-01 22:10:09 -04:00
Jesse Weinstein
5f20538e4c Bug 403263: Update Editor > General preference docs
Change-Id: I0612f2ffe8ef6a27184b0c37d519e632064774d5
Reviewed-on: https://git.eclipse.org/r/11289
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-03-18 18:53:18 -04:00
Jesse Weinstein
51a7a0f345 Bug 403263: Adding links to Prepare Workbench page
There's still more updates to do on this page, but this is an
improvement.

Change-Id: I59c62fe00577dce8e2472d65e120d80d1b21db80
Reviewed-on: https://git.eclipse.org/r/11217
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-03-15 21:18:10 -04:00