1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-22 14:12:10 +02:00
Commit graph

22801 commits

Author SHA1 Message Date
Sergey Prigogin
470a007439 Fixed compiler warnings. 2014-04-20 17:47:07 -07:00
Sergey Prigogin
6e96e21cf0 Cosmetics. 2014-04-19 19:10:44 -07:00
Sergey Prigogin
a21efaf92e Code streamlining. 2014-04-19 18:51:05 -07:00
Sergey Prigogin
7aeacfdddc Cosmetics. 2014-04-18 20:37:52 -07:00
Sergey Prigogin
bed21120a4 Code streamlining. 2014-04-18 16:27:13 -07:00
Sergey Prigogin
bbc8a48c8c Cosmetics. 2014-04-18 16:24:45 -07:00
Sergey Prigogin
103f577926 Moved testU8TokenAfterIfdef_429361 to AST2Tests 2014-04-18 12:24:27 -07:00
Marc Khouzam
79dc0b8184 Bug 389945 - Only set breakpoints once for GDB >= 7.4
Make the IBreakpoinTargetDMC map to the GDB context for GDB >= 7.4.
This will allow to track breakpoints globally for GDB since that is
how GDB handles breakpoints from 7.4 and up.

Change-Id: I84bccf9bdc6e169624908fee106080f840843e28
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/22388
2014-04-17 13:44:03 -04:00
Sergey Prigogin
ede42e1820 Minor performance optimization. 2014-04-17 10:35:30 -07:00
Marc Khouzam
d199768e64 Bug 432503: Should not create two bps at same line with "Add breakpoint"
Change-Id: I30d70c5500687f5169e6dcb738bde9b4e60a5ff0
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/24851
Tested-by: Hudson CI
Reviewed-by: Teodor Madan <teodor.madan@freescale.com>
Tested-by: Teodor Madan <teodor.madan@freescale.com>
2014-04-17 13:04:46 -04:00
Teodor Madan
839905a802 Bug 432597 - GDB Memory services should report address size in octets
Change-Id: Ifaa39b5fbd1237408cd38284682e1cb25345e6bc
Signed-off-by: Teodor Madan <teodor.madan@freescale.com>
Reviewed-on: https://git.eclipse.org/r/24849
Tested-by: Hudson CI
Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-04-17 09:54:24 -04:00
Sergey Prigogin
63cb636c7a Improved an inefficient algorithm in
LocationMap.getSequenceNumberForFileOffset.
2014-04-16 20:39:54 -07:00
Sergey Prigogin
48fc8d0809 Cosmetics. 2014-04-16 18:37:45 -07:00
Sergey Prigogin
e4b3bce29b Minor performance optimization. 2014-04-16 17:34:29 -07:00
Sergey Prigogin
33a2f3c025 Cosmetics. 2014-04-16 16:45:28 -07:00
Jeff Johnston
4a278f0d05 Fix for bug 432086
- Autotools was not using the Builder build command to do "make"
  operations such as cleaning the source directory

Change-Id: I7dfb44894a1204a5ce7eb83af07f5615526f5721
Reviewed-on: https://git.eclipse.org/r/25169
Tested-by: Hudson CI
Reviewed-by: Jeff Johnston <jjohnstn@redhat.com>
Tested-by: Jeff Johnston <jjohnstn@redhat.com>
2014-04-16 18:08:25 -04:00
Jeff Johnston
fdba4b05b8 Bug 430831 - add autotools support for PTP synchronized project
- bump up minor version
- refresh remote synchronized projects when adding a file or directory
- for remote synchronized projects, use remote interfaces to figure
  out target OS
- look for synchronized builder when adding Autotools builder
- switch to use RemoteCommandLauncher in autotools core and ui
- make autotools.core and autotools.ui friends of CDT remote.core
- fix org.eclipse.cdt.remote.core to respect working directory
- wait for process exitValue to succeed in try loop before attempting
  to use the return value

Change-Id: I837ecf74c44085e35b7e775250b7e5264051475e
Reviewed-on: https://git.eclipse.org/r/24360
Tested-by: Hudson CI
Reviewed-by: Jeff Johnston <jjohnstn@redhat.com>
Tested-by: Jeff Johnston <jjohnstn@redhat.com>
2014-04-16 16:04:26 -04:00
Sergey Prigogin
4381cc5da1 Fixed integer overflow in binary search methods. 2014-04-16 12:10:39 -07:00
Marc Khouzam
d7ceaaed42 Bug 431986 - Thread filtering logic should not require coupling between
IContainerDMC and IBreakpointTargetDMC

Change-Id: I3fdd2b9f275f083479a2c0f26c4775a63deba6fd
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/24438
2014-04-16 13:52:09 -04:00
Marc Khouzam
90648530f8 Bug 432888 - Missing rm.done() for a fetched child of an expression
Change-Id: Ia5b43d57d2bc0354786c5d276e091749fa64a87b
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/25108
2014-04-16 05:46:52 -04:00
Doug Schaefer
e907795125 Bug 432839 - Fix out of memory condition with Qt projects.
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>
(cherry picked from commit b12b65bfb8)
Reviewed-on: https://git.eclipse.org/r/25069
2014-04-15 12:06:40 -04:00
Nathan Ridge
84289fb454 Bug 399149 - Add missing @since tags
Change-Id: I62a60c55157202ec9ec65a5b8bf090ba72f74d1a
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/25020
Tested-by: Hudson CI
Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-04-15 11:51:07 -04:00
Brad Chiu
84974e6725 Bug 427401 - Failure to Parse addr2line binutil output
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>
2014-04-15 11:33:46 -04:00
brad
0a1d2637ac Bugfix : Bug 424919 - The toolchain name was wrong when create a new make file project
modified:   Configuration.java

Change-Id: I169dd9182eae66b31fca07c2abe42baecd350842
Signed-off-by: Brad Chiu <brad@andestech.com>
Reviewed-on: https://git.eclipse.org/r/24931
Tested-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2014-04-14 23:56:10 -04:00
Nathan Ridge
a290bdac7e Bug 399149 - Semantic highlighting for context-sensitive keywords
Change-Id: Ied967abed9291eb2e9548f23bf2fbb41e898aec2
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/24513
Tested-by: Hudson CI
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-04-14 12:33:47 -04:00
Nathan Ridge
f699ed76a0 Bug 432703 - 'Open Declaration' in parameter referencing previous
parameter

Change-Id: I3ea07345093c7d3663de70fb534532bbdf0bd191
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/24933
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-04-14 12:33:02 -04:00
Teodor Madan
90f0e17976 Bug 432734 - Infinite loop retrieving disassembly when debugging
optimized code with GDB

Implement IInstructionWithSize#getSize() for DSF-GDB backend.

Change-Id: Id2daa9f5924caee975ce69c5d7e4ffd9cab0b103
Signed-off-by: Teodor Madan <teodor.madan@freescale.com>
Reviewed-on: https://git.eclipse.org/r/24962
Tested-by: Hudson CI
Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-04-14 11:09:47 -04:00
Marc Khouzam
e0154961f6 Missing @since tag
Change-Id: Iedd6ba94848cebf7fce26677c4c0d512fd114fdb
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-04-14 09:44:22 -04:00
Nathan Ridge
d66e5c04bf Bug 429891 - Limit the total number of computation steps in a constexpr
evaluation

Change-Id: I057d94a78e92d26c9ad824b2ea0c6a4ad896e948
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/24925
Tested-by: Hudson CI
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-04-13 21:20:31 -04:00
Sergey Prigogin
ec10b77e67 Cosmetics. 2014-04-12 10:50:32 -07:00
Sergey Prigogin
79a2087bfd Revert "Bug 379684 Support for User Defined Literals"
This reverts commit f5942dac81.
2014-04-12 10:49:35 -07:00
Nathan Ridge
aeb5ad721f Bug 432643 - Implement compositing for enum scopes
Change-Id: I0e96f4d831bd1be0325262d1f77fab5dd05ddbe7
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/24898
Tested-by: Hudson CI
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-04-12 12:49:26 -04:00
Richard Eames
f5942dac81 Bug 379684 Support for User Defined Literals
This patch adds preliminary support for C++11 user defined litrals:
* Syntax support
* Type deduction in expressions
* Template literal operators
* String literal concatenation

I made quite a few changes in CPPASTLiteralExpression so that it more
closely follows the spec when parsing numbers. And I'd like some
feedback on the changes I made to CPPSemantics with regards to 
template literal operators.

There are also some questions I have marked in comments, which I would
appreciate an answer to.

Change-Id: I242ecb8f5706f516a4c891fea268a668e5e4a694
Signed-off-by: Richard Eames <eclipse@naddiseo.ca>
Reviewed-on: https://git.eclipse.org/r/24367
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-04-12 12:47:34 -04:00
Sergey Prigogin
88d0024075 Bug 432547 - Introduce separate size limits for indexing of source and
header files
2014-04-11 18:53:34 -07:00
Sergey Prigogin
5c7a64d0fb Bug 432651 - Organize Includes removes an include necessary for defining
a method
2014-04-11 16:16:25 -07:00
Sergey Prigogin
41b9049afa PDOMManager has to wait for the indexer job to respond to cancellation. 2014-04-11 16:16:16 -07:00
Sergey Prigogin
362fe864f3 Cosmetics. 2014-04-11 16:16:07 -07:00
Sergey Prigogin
a94a29ae22 Fixed compiler warnings. 2014-04-11 16:15:40 -07:00
Sergey Prigogin
441d546d25 Use diamond operator. 2014-04-11 16:15:17 -07:00
Sergey Prigogin
e333b0030e Fixed compiler warnings. 2014-04-11 16:15:08 -07:00
Lukas Felber
8b64594a96 added missing extension less headers 'condition_variable' and 'ctgmath '
to cdt-file-types-list (as defined in c++ standard section 17.6.1.2)

Change-Id: Idbbba12655a72b24cd28aab71d9a613320a7e70c
Signed-off-by: Lukas Felber <l.felber@gmx.ch>
Reviewed-on: https://git.eclipse.org/r/24854
Tested-by: Hudson CI
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-04-11 14:19:49 -04:00
Marc Khouzam
1b6d767400 Missing @since tags
Change-Id: I0e4f5bdd517d92c2e6f864be822cd578a51f237a
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-04-11 09:25:47 -04:00
Xavier Raynaud
62e660108a Bug 431935 - Add tooltips in Thread object of multicore visualizer
Change-Id: I18c4f4de4740c8c0286b78e5b079fc55b159f78d
Signed-off-by: Xavier Raynaud <xavier.raynaud@kalray.eu>
Reviewed-on: https://git.eclipse.org/r/24522
Reviewed-by: Marc Dumais <marc.dumais@ericsson.com>
Tested-by: Marc Dumais <marc.dumais@ericsson.com>
2014-04-11 07:45:40 -04:00
Teodor Madan
882369b295 Bug 432254 - Add memory monitor does not check for address out of range
Change-Id: I5fee242d73f8e24ac7dfb637bb79b49f6988cd69
Signed-off-by: Teodor Madan <teodor.madan@freescale.com>
Reviewed-on: https://git.eclipse.org/r/24627
Tested-by: Hudson CI
2014-04-11 06:35:52 -04:00
Doug Schaefer
48298d3923 JI:449069 Add filtering to the PDOM generator
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-10 16:31:28 -04:00
Doug Schaefer
6bbeb75bc0 JI:449069 Add filtering to the PDOM generator
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-10 16:31:20 -04:00
Mikhail Khodjaiants
33d6e7c0db Bug 335180 - Remote debugging and virtual folders =>
java.lang.NullPointerException
2014-04-10 16:17:48 -04:00
Marc Khouzam
8445aa5086 Removed unused code
Change-Id: I99bde18516ccb5161bb7f8cea0bb7b12264e4b79
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-04-09 15:36:11 -04:00
Marc Khouzam
0ddab334f0 Missing NON-NLS strings
Change-Id: Ia177b5ded46b3d6292af3e41951165c9d26b57cc
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-04-09 15:31:42 -04:00
Marc Khouzam
99df1091ec Fix warnings
Change-Id: I01ef374f21726c7f274a446c10674dce8e8ec591
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-04-09 15:25:31 -04:00