1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-23 14:42:11 +02:00
Commit graph

22247 commits

Author SHA1 Message Date
Andrew Eidsness
5dbcc8ec21 Bug 415789: NPE in ScannerConfigBuilder
An implementation of IEnvironmentVariable is returning null for its key
or value.  The javadoc on this interface doesn't mention null, which I
guess makes it a valid value.

This patch checks the result before trying to put it into an instance of
java.util.Properties.

Change-Id: Ic04ddd72dfb558ca403b549b64847c3437971407
Signed-off-by: Andrew Eidsness <andrewe@jfront.com>
Reviewed-on: https://git.eclipse.org/r/15820
Reviewed-by: Andrew Gvozdev <angvoz.dev@gmail.com>
IP-Clean: Andrew Gvozdev <angvoz.dev@gmail.com>
Tested-by: Andrew Gvozdev <angvoz.dev@gmail.com>
2013-08-28 17:23:23 -04:00
Sergey Prigogin
af5a14ac6d Bug 390782 - NPE in AssignmentToItselfChecker$1.isAssignmentToItself 2013-08-28 13:51:59 -07:00
Jacek Sieka
3e0f5e9e44 Bug 402601. Don't allow EvalTypeId.fArguments to be null to avoid NPE:s
in dependent code.

The most probable case of arguments being null was fixed in
ea53c271c9.

Change-Id: I9d90bd0d4d09839ff9ed0cbc79e599485e878513
Signed-off-by: Jacek Sieka <arnetheduck@gmail.com>
Reviewed-on: https://git.eclipse.org/r/15522
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-08-27 21:16:46 -04:00
Nathan Ridge
06cea4bc3c Bug 400940 - Friend constructor reported as syntax error
Change-Id: I0cbe6b9285b1e26abb985e6582e534132acb0c6c
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/15837
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-08-27 20:12:59 -04:00
Andrew Gvozdev
652ce4748e Fixed parent pom version to reference 2013-08-27 15:16:24 -04:00
Andrew Gvozdev
614878662c bug 415841: more info to the log in case of exception 2013-08-27 11:23:52 -04:00
Nathan Ridge
8a58b3aa23 Bug 413204 - "field could not be resolved" error in function returning
function pointer (really fixed this time)

Change-Id: Ica4255ca554db6952248fe1fae53d188a1b78d75
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/15840
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-08-26 20:48:26 -04:00
Nathan Ridge
4fdb748881 Bug 394048 - parser confusion about octal double
Change-Id: I4184acdeb4909022a2e2b30830530bd33a4897f3
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/15839
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-08-26 16:35:57 -04:00
Nathan Ridge
404b6d7283 Bug 400204 - Unexpected syntax error in C struct declaration
Change-Id: Idc8450517362e6f6d9f00c9dfc13034d6de456a2
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/15838
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-08-26 16:34:41 -04:00
Nathan Ridge
7fc4c9b937 Bug 401152 - Incorrect semantic error in class template specialization
Change-Id: I962872a55bcc34f6ebfb944b7406c94af8f8d489
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/15834
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-08-26 16:32:00 -04:00
Sergey Prigogin
50c5677fcf Bug 415914 - Organize Includes doesn't add include for a constructor
call
2013-08-26 13:24:53 -07:00
Markus Schorn
ecdbe69720 Bug 411605: Improved fix for regression in ResourceLookup, such that
project description is loaded less often.
2013-08-26 14:59:43 +02:00
Markus Schorn
11c76639db Bug 411605: ResourceLookup should honor the PathCanonicalization strategy. 2013-08-26 14:25:48 +02:00
Markus Schorn
5b435a691d Bug 411605: Fix for regression in resource lookup. 2013-08-26 13:55:38 +02:00
Sergey Prigogin
40f2edf0d9 Bug 412519. Avoid using deprecated getScannerExtensionConfiguration()
method
2013-08-25 09:32:58 -07:00
Sergey Prigogin
9f3c46474e Bug 414694. Don't need to format changes when they only delete code. 2013-08-24 18:03:43 -07:00
Sergey Prigogin
7c4c09cb65 Bug 415808 - Organize Includes command doesn't add includes for template
arguments
2013-08-23 21:44:21 -07:00
Sergey Prigogin
84da897957 Cosmetics. 2013-08-23 21:26:52 -07:00
Sergey Prigogin
bf2790474e Bumped up feature version to 8.3. 2013-08-22 20:06:31 -07:00
Andrew Gvozdev
ed74138b16 bug 415286: Autobuild of a C++ project enters an infinite loop 2013-08-22 20:55:44 -04:00
Sergey Prigogin
73e87bf305 Bug 414694 - Forward declarations inserted by Organize Includes have to
honor formatting preferences
2013-08-22 16:53:07 -07:00
Sergey Prigogin
f99f12f4ed Cosmetics. 2013-08-22 16:50:42 -07:00
Sergey Prigogin
80ca2e52aa Bug 415702 - Invalid thread access in IncludeCreator.findContribution
method
2013-08-22 16:48:00 -07:00
Chris Recoskie
59b8242268 Bug 413080 - IllegalArgumentException in Indexer preference page 2013-08-22 14:28:45 -04:00
Sergey Prigogin
410adb2b01 Bug 415394 - Function parameter types allowing implicit conversion from
other types should not be forward-declared
2013-08-19 20:35:48 -07:00
Sergey Prigogin
75660e6087 Bug 414624. Removed unused externalized strings. 2013-08-19 17:19:34 -07:00
Sergey Prigogin
a0110b9296 Bug 415388 - NPE in ASTBuiltinName.getAdapter 2013-08-19 13:54:33 -07:00
Sergey Prigogin
9f51f9f990 Bug 45203. Export header substitution maps in canonical order. 2013-08-19 13:35:24 -07:00
Fabrizio Iannetti
9a654efbe3 NEW - bug 394959: CDT GCC build output parser does not understand
-isystem 
https://bugs.eclipse.org/bugs/show_bug.cgi?id=394959

Simple patch to treat -isystem as -I, so that at least the paths show
up in the configuration:

- added two include parse options (copied/adapted from -I)
- added junit test case (copied/adapted from -I)


Change-Id: Ib3f3764ad75def49f6ec180bfecc0d6f42eabb1d
Signed-off-by: Fabrizio Iannetti <fabrizio.iannetti@intel.com>
Reviewed-on: https://git.eclipse.org/r/15584
Reviewed-by: Andrew Gvozdev <angvoz.dev@gmail.com>
IP-Clean: Andrew Gvozdev <angvoz.dev@gmail.com>
Tested-by: Andrew Gvozdev <angvoz.dev@gmail.com>
2013-08-19 09:43:09 -04:00
Sergey Prigogin
c3576791fb Adjusted JavaDoc.
Change-Id: Ib26ad3815f8516aa73455329f673e4711533e253
2013-08-18 21:00:30 -07:00
Nathan Ridge
be4ec06f4b Bug 414279 - Derived class method that overrides a base class method
brought into the derived scope with a using-declaration

Change-Id: Ibeb49dddb7ef3768ffd4964e22a139afba8690fb
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/15573
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-08-18 21:42:34 -04:00
Andrew Gvozdev
e288c29596 bug 414832: "LLVM with GCC" toolchains contain duplicate compiler tool 2013-08-16 21:31:47 -04:00
Andrew Gvozdev
0592f0ad62 bug 414990: Support C frontend (+ dialects) in LLVM toolchain 2013-08-16 18:22:22 -04:00
Glen Anderson
191382509c Fix for Bug 414525 Product preferences ignored in console preferences
page

Change-Id: I76ada4dcdf1dfd89fe71a854423cfdc0f26bfe6a
Signed-off-by: Glen Anderson <glen.anderson@analog.com>
Reviewed-on: https://git.eclipse.org/r/15177
Reviewed-by: Andrew Gvozdev <angvoz.dev@gmail.com>
IP-Clean: Andrew Gvozdev <angvoz.dev@gmail.com>
Tested-by: Andrew Gvozdev <angvoz.dev@gmail.com>
2013-08-16 17:42:38 -04:00
Andrew Gvozdev
2e2a26bf4a Properties spelling 2013-08-16 16:29:43 -04:00
Jeff Johnston
05fa52dd17 Bug 414829 - Unexternalized cheat sheet name
- Fix name to use plugin.properties.

Change-Id: Idbfaedd6b2a3d56478a83499fd956477f3191c16
Reviewed-on: https://git.eclipse.org/r/15549
Reviewed-by: Jeff Johnston <jjohnstn@redhat.com>
IP-Clean: Jeff Johnston <jjohnstn@redhat.com>
Tested-by: Jeff Johnston <jjohnstn@redhat.com>
2013-08-16 12:14:15 -04:00
Jeff Johnston
00dca316ce Bug 414829 - Unexternalized cheat sheet name
- Fix name to use plugin.properties.

Change-Id: Ib81cddea437f4b21a52ef6ac9400cf37754fb5f4
Reviewed-on: https://git.eclipse.org/r/15548
Reviewed-by: Jeff Johnston <jjohnstn@redhat.com>
IP-Clean: Jeff Johnston <jjohnstn@redhat.com>
Tested-by: Jeff Johnston <jjohnstn@redhat.com>
2013-08-16 12:10:31 -04:00
Chris Recoskie
a8a89155df Bug 413603 - TVT43: The string "CDT GCC Bultin Compiler Settings Cygwin"
is not externalized
2013-08-15 14:05:55 -04:00
Sergey Prigogin
93af246156 Bug 45203. Added few tests and fixed bugs uncovered by them. 2013-08-15 10:27:55 -07:00
Sergey Prigogin
a0ac619929 Bug 45203. Added a test for indirect header export and fixed a bug
uncovered by the test.
2013-08-15 10:25:38 -07:00
Marc Dumais
c7150fd184 Bug 409965 - [visualizer] Allow all-stop mode for multicore visualizer
Change-Id: Ieb553caa7e123068f3a6137b69b00ac97f645af5
Signed-off-by: Marc Dumais <marc.dumais@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/14118
Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com>
IP-Clean: Marc Khouzam <marc.khouzam@ericsson.com>
Tested-by: Marc Khouzam <marc.khouzam@ericsson.com>
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
IP-Clean: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2013-08-15 10:20:59 -04:00
Marc-Andre Laperle
b849c30a5d Bug 371650 - Debug As... prompts for irrelevant debug config for a basic
makefile projec

Change-Id: I5bcb971edf54b3f851cb9c76378dfde4c161bfe7
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/14543
Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com>
IP-Clean: Marc Khouzam <marc.khouzam@ericsson.com>
Tested-by: Marc Khouzam <marc.khouzam@ericsson.com>
2013-08-14 15:00:04 -04:00
Marc Khouzam
c95780a092 Bug 415094 – Update Step Into Selection JUnit tests
Change-Id: I4e5a0afd8fc47444a3360f56650ebe966d837e04
Reviewed-on: https://git.eclipse.org/r/13840
Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com>
IP-Clean: Marc Khouzam <marc.khouzam@ericsson.com>
Tested-by: Marc Khouzam <marc.khouzam@ericsson.com>
2013-08-14 14:51:03 -04:00
Sergey Prigogin
ca5586f8be Bug 414624 - Add Include command doesn't honor Organize Includes
preferences
2013-08-14 09:27:35 -07:00
Sergey Prigogin
7ae8b48608 Cosmetics. 2013-08-14 09:23:29 -07:00
Sergey Prigogin
d543b29bc4 Avoid calling a deprecated method. 2013-08-14 09:19:36 -07:00
Sergey Prigogin
03669cfebe Cosmetics. 2013-08-14 09:15:40 -07:00
Marc Khouzam
f090b8cd41 Update version of o.e.cdt.dsf.gdb plugin
Change-Id: Ic65219efc917d80382a0ab7e477ba54c3ff340b0
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2013-08-14 09:11:22 -04:00
Marc Khouzam
7e6df21d23 Bug 378729 - Should not fetch address of a register or convenience
variable

Change-Id: I41ed489ad3a1be39d9317245054a5f3fb82c08d5
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/15376
Reviewed-by: Mikhail Khodjaiants <mikhailkhod@googlemail.com>
IP-Clean: Mikhail Khodjaiants <mikhailkhod@googlemail.com>
Tested-by: Mikhail Khodjaiants <mikhailkhod@googlemail.com>
2013-08-14 09:09:32 -04:00
Mikhail Khodjaiants
767a83a455 Bug 415006 - Incorrect handling of empty string as program argument in
debug mode (CDI)
2013-08-13 16:16:58 -04:00