1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00
Commit graph

25085 commits

Author SHA1 Message Date
Sergey Prigogin
47784c8980 Minor cleanup.
Change-Id: I5d9cb2aba6a4501dc25615f4950069390afb8f6d
2016-10-17 13:01:10 -07:00
Doug Schaefer
5d7b64cd11 Fix the BinaryRunner deadlock correctly.
Change-Id: I23907639a4f550c3ed0406f7229b9459deebb4d0
2016-10-17 10:52:58 -04:00
Doug Schaefer
e76ec05aab Bug 503036 - Fix deadlock caused by previous fix.
Change-Id: Ic333a7f0230e6a28033fd6659408895b34f5b70e
2016-10-14 14:46:46 -04:00
Jonah Graham
4d0a556446 Bug 505868: Split clean command when cleaning lots of files
This change overcomes the Cannot run program "rm": Command line
too long error when there are hundreds to thousands of files.

This change only applies to the interal builder.

Change-Id: Idc32067e27d76e3b438b2b1a07376859c7c8d1e4
2016-10-14 09:56:25 -04:00
Sergey Prigogin
85d8e44eb1 Bug 485422 - Organize includes: header substitution maps not always used
With this change the heuristic header substitution tries to find a
header that is better than the one computed using regular substitution
rules, but defaults to that header if it can't find a better one.

Change-Id: I811857b2ccf66e2db4161801f34db8464834ce12
2016-10-13 18:09:52 -07:00
Sergey Prigogin
430ba3a73f Bug 505932 - Heuristic header substitution is too aggressive
Change-Id: I08fd598ef5411c3e5956460ae1d2c39947b12c78
2016-10-13 16:24:32 -07:00
Sergey Prigogin
c5afeb8d85 Bug 505832 - Add ICPPVariable.isConstexpr() method
Change-Id: I0f889347807d2e23be00ae68786a08e58a5ae8c4
2016-10-13 18:23:11 -04:00
Jonah Graham
33d12e75c9 Cosmetics
Change-Id: I584622013f810d8ac51dcb618074663a79cd5b19
2016-10-13 15:00:03 -04:00
Marc Khouzam
d3fecaa15e Add API filter for default methods.
Change-Id: Ie67bd964cd725ed1fc0356212e4a7f947232b066
2016-10-13 11:52:24 -04:00
Sergey Prigogin
bc1d5f3d2d Removed use of SubProgressMonitor.
Change-Id: Ibb44a6e12f147a69a8a32e243831f5d4ac1468ec
2016-10-12 19:38:29 -04:00
Doug Schaefer
e371ba0919 Updates for Core Build.
Change-Id: I8720d5b57e335adde538838790c3ecdd465a7ed7
2016-10-12 19:19:19 -04:00
Marc Khouzam
23f68c6c35 Update cdt-baseline to point to final release of 9.1
Change-Id: I728b2a869c9a5e7fe62b6f08578b17c924296a66
2016-10-12 15:22:47 -04:00
Alvaro Sanchez-Leon
ce2b583716 Update dsf-gdb test suite to run GDB 7.12
Change-Id: I6a870b443d667b0ecb393c338c826200dcff0cff
2016-10-12 08:37:49 -04:00
Sergey Prigogin
2a7e9108dc Adjusted Javadocs.
Change-Id: I91da69eba36c8ee554eff369d89cb0a9848559b1
2016-10-11 16:43:59 -04:00
Marc-Andre Laperle
30b3165eb3 Bug 497512 - cdtdebug.sh "bashisms" not supported by non-bash shells
Also include the latest version of plugins when launching
(tail vs head). This makes a difference when the plugins were
updated.

Change-Id: Id97c9247f0507e177592ca3631348bf8f7fd3dbf
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2016-10-11 11:25:46 -04:00
Marc-Andre Laperle
1f89d55074 Bug 498941 - GDB preference page can grow huge with long debugger path
Change-Id: Iaacfc18fdb28eee1e64e5de8073114738d25ff79
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2016-10-11 10:52:30 -04:00
Alvaro Sanchez-Leon
bd2fc5fc6a Adding GDB 7.12 to the download-build-gdb.sh script
Change-Id: Iac977f0ab83429cc931f413664c7789bb9c9e913
2016-10-11 10:15:59 -04:00
Alvaro Sanchez-Leon
37b722500d Bug 504005 - [standalone] bundle version errors
Change-Id: Id7ed91a7f7d24ca25bb5820dff39c7272a806e0d
2016-10-11 00:28:01 -04:00
Sergey Prigogin
f661b90e01 Optimized TypeTraits.hasTrivialDestructor method.
Avoid repeated checking of the same class.

Change-Id: If64bd05de0f5f20273bd77b2a8f3a55ccae96391
2016-10-10 20:32:28 -07:00
Sergey Prigogin
2d02ddf8ca Bug 505606 - OutOfMemoryError in indexer
Change-Id: Ibcff4aa82cf46f0ec01705715b98f881cb39dca5
2016-10-10 19:23:06 -07:00
Sergey Prigogin
662091c72d Added protection against ClassCastException
Change-Id: Ib14420d944c840ebda24305530f82142998cfe5c
2016-10-10 22:21:54 -04:00
Sergey Prigogin
52eb5f7b02 Fixed an NPE.
Change-Id: Ic3aa10acaf7ecd51dbed7f882cd1db93bf490e24
2016-10-10 22:21:18 -04:00
Sergey Prigogin
77a506b6b8 Fixed an NPE.
Change-Id: I1a1e00b50eefdea775c7d0487250cb62850cf0ec
2016-10-10 22:20:21 -04:00
Sergey Prigogin
d8c56b9226 Cosmetics
Change-Id: If2f5f3084623e424957ffab8708ade3a342db614
2016-10-10 18:13:07 -07:00
Sergey Prigogin
ac04367ff9 Cosmetics
Change-Id: I937489ee3a5d8b18352cdf0086730f7f70f54f49
2016-10-10 14:54:46 -07:00
Sergey Prigogin
2c5fdf503d Cosmetics
Change-Id: I9dbbaa0a6bf634d3c1dd931369bc23d0aa683158
2016-10-10 12:53:19 -07:00
Sergey Prigogin
59f5c157aa Cosmetics
Change-Id: I4a1144c870b820d7bd98e068c659fa6904e2f8ee
2016-10-09 12:03:53 -07:00
Sergey Prigogin
52bd79302f Added CStringValue.toString method foe ease of debugging.
Change-Id: I1a7a243b4f212a69c6af8289d7ca3bf159b759e7
2016-10-09 10:37:03 -07:00
Sergey Prigogin
4e01baa83f Cosmetics
Change-Id: I83fb4c257059beaef16fa35512766196c5fc4dcb
2016-10-09 10:22:29 -07:00
Sergey Prigogin
87ada6a98b Fixed EvalConstructor.isConstantExpression method
Change-Id: I17e3d9bb53cd8667832c9414108247ccde75e0b7
2016-10-08 23:22:33 -04:00
Sergey Prigogin
4c4fb739b1 Made some classes and methods final. Some code cleanup.
Change-Id: Id93278dba3863baa6cdac67aba56801616dacee3
2016-10-08 22:53:24 -04:00
Sergey Prigogin
b59d930ed4 Cosmetics.
Change-Id: I83607322be2e3309e12604c5b5c2473aa3823f8f
2016-10-08 18:16:53 -07:00
Sergey Prigogin
17a5ba8361 Fixed a potential NPE.
Change-Id: I274242b74a27f17eeb3a6d7841b1107be22cd096
2016-10-08 16:08:01 -07:00
Sergey Prigogin
61ac21daa0 Made value classes final.
Change-Id: Id89306976e7458bd822d399c003ce027dc896c33
2016-10-07 19:54:24 -07:00
Sergey Prigogin
d1fd92013f Fixed a typo.
Change-Id: Idac67510d3d898ccbf0a7ec2429512c24c403422
2016-10-07 19:52:59 -07:00
Thomas Corbat
8416294bb1 Bug 503036 - "Binary not found" every other launch (via Run As)
- Add a family object for identifying the binary runner job
- Use the join mechanism of the job manager to ensure all binary runner
jobs are finished

Change-Id: I8b82bb0c663e5d2a618e3222e4bd5ba7b48b46c4
Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
2016-10-07 10:43:04 +02:00
Nathan Ridge
0459a0ea4d Introduce ICPPFunctionSpecialization and ICPPConstructorSpecialization interfaces
This allows us to avoid some awkward uses of generics

Change-Id: I054abe8c871bd2adbfa3212341a28c11ece6236c
2016-10-06 22:48:42 -04:00
Nathan Ridge
ee3c2f0776 Do not store function return expressions in the index.
They have been superseded by function body executions.

Change-Id: I5f4e23a8f8be50f4a034b05d2e85ca2f8a9d2bd7
2016-10-06 22:47:40 -04:00
Nathan Ridge
f78def7afb Update the function body execution in PDOMCPPFunction.update()
Change-Id: I17d8fe9d3222ac66f901ca9740feee6b5891faa5
2016-10-06 22:46:02 -04:00
Nathan Ridge
3a66aeaaac Remove CPPFunctionParameterMap
It was superseded by ActivationRecord

Change-Id: Ia43847334b83e59a0aba73dc42fb3bd34c50977b
2016-10-06 22:46:02 -04:00
Sergey Prigogin
33f0522906 Generification and other code cleanup.
Change-Id: Ifb35a80ec8cf563c5635078db947768d1a7aa6ff
2016-10-06 16:36:21 -07:00
Sergey Prigogin
c8d528587e Bug 503012 - CCorePlugin.start method causes Eclipse to become unusable
Change-Id: I73ad83673c2fbe2d232d6e342caa7dc75001b69d
2016-10-06 15:59:10 -07:00
Sergey Prigogin
d6d85f394b Removed use of deprecated methods and other code cleanup.
Change-Id: I1c10f713568f0c7fd4d4b0a2212ee855e5b1d55e
2016-10-06 15:02:54 -07:00
Sergey Prigogin
9f7af7a493 Bug 503988 - UI thread got blocked by the reconciler
Added protection against infinite loops.

Change-Id: I0cc3f34ddb9db9d3a23dfd111836a2a84620e8d9
2016-10-06 11:10:04 -07:00
Marc-Andre Laperle
04e31e3fae releng: Use composite Orbit repo to get all orbit dependencies
This allows us to get the dependencies from one place and also this
update site is more stable as it is not updated very frequently.

Change-Id: I40de8fd0535270959ccad7b02c9d57aae765bc79
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2016-10-06 12:13:43 -04:00
Sergey Prigogin
64aec369e1 More robust implementation of ControlFlowGraphBuilder.isConstant method
Change-Id: I43fd84e8c374a638834be3c2aeb216b96fc6b461
2016-10-05 17:13:00 -07:00
Marc-Andre Laperle
27f99d2a86 Bug 501831 - Rename Comment/Uncomment to Toggle Comment, like JDT
Also update the description.

Change-Id: I1719d114a156962f0d75bddb67f1c34d24e99e7e
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2016-10-05 12:56:55 -04:00
Marc-Andre Laperle
9dcd393663 Bug 499116 - Missing keyboard binding for toggle comment
Also Add M1+M2+C key binding for Toggle Comment, just like JDT.

Change-Id: I2723c115a89f8c22e4b7d52b0ebd14c75a9d824c
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2016-10-05 12:54:26 -04:00
Nathan Ridge
baf5160c45 Bug 487555 - Type-checking for aggregate initialization
Change-Id: I0ea8782931f5ca78b30c487e3c1a281a72c3d98c
2016-10-05 02:24:10 -04:00
Sergey Prigogin
ed0b384e9d Bug 504004 - ReturnChecker should treat constructors and destructors as
void functions

Change-Id: I8d957abcade86224af1e7ae1b1456f6a8e5b3813
2016-10-04 18:49:52 -07:00