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

13510 commits

Author SHA1 Message Date
Nathan Ridge
937113fe3a Bug 495095 - Fix a bug in the test suite where the test passes if there are no actual guesses
Change-Id: Ie8a4a2019a6f50e82b1e78f39bcbfa778951ebb6
2016-06-09 19:49:21 -04:00
Nathan Ridge
efdd3c7986 Bug 495095 - Consider local variables for parameter guessing
Change-Id: I3e31a508a795b4e7f56d3e4407914d46bf4803ec
2016-06-09 19:49:00 -04:00
Nathan Ridge
f184c70bdb Bug 495095 - Acquire the index read lock while generating parameter guesses
Change-Id: I688f617e4a92da06e5bde4a91224088f2b40410f
2016-06-09 19:48:19 -04:00
Thomas Corbat
c3af58b543 Revert "Bug 488109 Refactoring of Extract Constant Implementation"
This reverts commit 3868ed045e.
2016-06-09 17:50:46 +02:00
Thomas Corbat
3868ed045e Bug 488109 Refactoring of Extract Constant Implementation
Renewed extract constant implementation, including some improvements to
its functionality:
- Extraction of unary/binary expression trees with literals as leafs
- Improved name suggestion for integers
- Improved existing name detection
- Selection is more forgiving (carret in literal is accepted as
selection)

Change-Id: I49ddb8355217e82d56728cd2abe253a63937f379
Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
2016-06-09 17:41:25 +02:00
Sergey Prigogin
e710bba51e Cosmetics. 2016-06-07 19:41:29 -07:00
Sergey Prigogin
045b4534d0 Separated tests for CharArrayObjectMap.
Change-Id: I5ccfdee8e81fb155b254b5423ce33baeb6c182d0
2016-06-07 18:54:23 -07:00
Sergey Prigogin
11de0ed6b6 Bug 495091 - Name resolution problem with bool() operator
Change-Id: I764c2f6887321f3dee7668550705b517460c152d
2016-06-07 14:38:50 -07:00
Sergey Prigogin
54252787ba Cosmetics. 2016-06-07 13:50:54 -07:00
Sergey Prigogin
941c435544 Cosmetics. 2016-06-06 15:55:42 -07:00
Sergey Prigogin
591f90c6d2 Cosmetics. 2016-06-06 15:36:00 -07:00
Sergey Prigogin
5890732542 Bug 495091 - Name resolution problem with list initialization
Bug 495227 - Implicit constructor call with list initializer is resolved
incorrectly

Change-Id: Ia163585277a7a9af85fd414d2ece43f10aef18e5
2016-06-03 17:51:18 -07:00
Sergey Prigogin
dd3a45bcdf Adjusted Javadoc. 2016-06-03 17:51:17 -07:00
Sergey Prigogin
3515c76e94 Allow OperationCanceledException to propagate.
Change-Id: I85ac9189cbfe894f1800defa1b39e500cd5ef90f
2016-05-27 15:17:06 -07:00
Sergey Prigogin
078be6002f Fixed compilation warnings.
Change-Id: Ice9a8bf99f1bb80afea584698105a10657294b64
2016-05-27 18:14:31 -04:00
Sergey Prigogin
40b2d17b42 Code cleanup.
Change-Id: I9a1945e7633a0f3747a6c33dc62e90d3b76a4e54
2016-05-27 15:04:04 -07:00
Sergey Prigogin
a4cd53a926 More robust handing of indexer cancellation.
Change-Id: I5c2baf7fab8560a0cc11bfc74994b6e9135e7cce
2016-05-27 14:11:50 -04:00
Sergey Prigogin
260b6dadac Improved cancellability of indexer.
Change-Id: I194e5b135f1f58501fb3345ca373feef23832c97
2016-05-27 00:29:15 -04:00
Sergey Prigogin
bb79c66743 Cosmetics.
Change-Id: Ib2b290d1a41a6584b386ffd44cd2b779ba5a20ea
2016-05-26 22:39:39 -04:00
Sergey Prigogin
1bdfc29020 Code cleanup.
Change-Id: Id1f1d6c0c098d94a4275188a3b4f6443ddc4843d
2016-05-25 23:38:44 -04:00
Sergey Prigogin
290c8dfe23 Improved heuristic header substitution algorithm and unified it between
Add Include and Organize Includes commands.

Change-Id: I0d4a1110a8b89ca49d55eb82eddb29e7d8bcd548
2016-05-25 23:38:34 -04:00
Sergey Prigogin
3bd964832a Cosmetics. 2016-05-25 18:47:22 -07:00
Sergey Prigogin
25f52b35c9 Cosmetics. 2016-05-24 19:37:46 -07:00
Sergey Prigogin
b91a639643 Bug 494489 - NPE in CPPASTCompoundStatementExpression.getEvaluation
Change-Id: Iff6243cee0e583af7b34681f123ba3016bfd6558
2016-05-24 13:56:13 -07:00
Sergey Prigogin
bb53b9e92f Cosmetics. 2016-05-24 13:52:18 -07:00
Sergey Prigogin
3d94e24317 Bug 494359 - Explicit specialization is improperly ignored
Test case.

Change-Id: I9eb34ad4d3309bf568d26338bd7611fa9fea0673
2016-05-23 21:12:52 -07:00
Sergey Prigogin
b6a6331fb2 Cosmetics.
Change-Id: I09ae710c9b0199f35565a6b11e9dcc4126e00324
2016-05-23 21:11:27 -07:00
Sergey Prigogin
9869fc70a5 Bug 494359 - Explicit specialization is improperly ignored
Change-Id: I3294202002338281c7310f9ef77e2d5293566e0b
2016-05-23 20:39:49 -07:00
Sergey Prigogin
954d834eb0 Improved Javadoc. 2016-05-23 20:38:09 -07:00
Sergey Prigogin
81d434b551 Cosmetics. 2016-05-20 18:28:09 -07:00
Sergey Prigogin
9ef289d34c Code simplification.
Change-Id: Idefe8f033ccb5db0b81c2118ed75ebc4de1d1382
2016-05-20 18:27:42 -07:00
Sergey Prigogin
d16d496bd9 Improved consistency of method names. 2016-05-19 10:55:40 -07:00
Sergey Prigogin
2b3ab14082 Code streamlining.
Change-Id: I773eb373e6397260af6fd3815f1b16815500dabd
2016-05-19 02:05:52 -04:00
Sergey Prigogin
4376bec698 Improved consistency of names. 2016-05-18 17:54:19 -07:00
Doug Schaefer
758110471e Add MSYS2 32-bit support to MinGW GCC toolchain.
Change-Id: I185f1b070ce0e97340fc55b1fc0842a6f8e23637
2016-05-17 16:18:50 -04:00
Jeff Johnston
9fd79b0596 Bug 491619 - Choosing a C++ dialect should reindex
- changed gcc builtin settings providers to prefer non-shared
- added isIndexerAffected method override to ToolSettingsTab which
  looks at new isIndexerAffected boolean
- add logic to ToolSettingsTab setOptions() method to look for
  dirty options that return true for isForScannerDiscovery() or
  are special options that affect include path or defines
- add performok method to ToolSettingsTab to look if isIndexerAffected
  when user hits OK without hitting APPLY
- change the message for bringing up the question dialog for end-user
  to choose whether to reindex or not

Change-Id: Icd740caafe638f272b6f1434d5817f2377ffe04a
2016-05-13 09:54:29 -04:00
Sergey Prigogin
ed7f1cea09 Cosmetics.
Change-Id: If3fa0aa0c6679cf508492322c6e38e2dc0d1351f
2016-05-12 18:03:53 -04:00
Sergey Prigogin
efd6a7263b Bug 493475 - Add an option to format edited lines when saving a file
Change-Id: I1c5c91a269f7685e2963bb26f12fdee9bb5fae97
2016-05-12 18:02:49 -04:00
Doug Schaefer
0d7ee343e0 Add MSYS2 support for managed build. A few Qt cleanups on Windows.
Change-Id: I07ed0cb4a83996de194559570fedf9fb1b21b42d
2016-05-12 15:32:51 -04:00
Jonah Graham
e091657eaf Bug 493070: [GTK3] stop removing all items from list
in GTK3 when the current selection is removed from the
org.eclipse.swt.widgets.List the selection is updated to another item,
on GTK2 and Windows the list stops having a selection. 

This change updates the code to safely delete all selected items.

Change-Id: Iedc99db89af117a04ad163190bdda0f8720eb2a6
Signed-off-by: Jonah Graham <jonah@kichwacoders.com>
2016-05-12 13:59:02 -04:00
Alexander Kurtakov
dff6b3bae3 Hook compiling o.e.cdt.core.linux into maven build.
Separate profiles for building single arch to allow full builds on the
arch one runs the build on. Simplifies build for people building from
source significantly.


Change-Id: Ic7738328b8e7072654ba7a673220a43feebb6801
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2016-05-12 03:35:59 -05:00
Sergey Prigogin
decaa7f934 Code cleanup.
Change-Id: Ibe8f9fc65ddfc3dafe187935bd7f605be8ea1820
2016-05-11 15:50:43 -07:00
Doug Schaefer
2c4921bca0 Add binary parsers to new build system. Clean up some toolchain stuff.
new build configs now support binary parsers which are by default
driven from the toolchains. Ran into problem with new versions of
toolchains. Added versioning info to toolchains to take that into
account.

Change-Id: Ie1fb7755e84239b525dca0ae11759027a0b44574
2016-05-10 16:05:53 -04:00
John Dallaway
cb16dfda33 Bug 410529: Eliminate path entry removal job
Change-Id: I406c9f3b5290c3a0c65773da2c40cb0b3a83c4a1
Signed-off-by: John Dallaway <john@dallaway.org.uk>
2016-05-10 09:05:01 -04:00
Alena Laskavaia
b08253b70a fixed elf parsing of 2G+ files
32 bit elf parser of 2G+ elf files does not read
some field properties because it does signed extension
when reading unsigned integer

Change-Id: I64b47cc0849d4fb41daec258b2a595003b9de734
2016-05-09 15:35:38 -04:00
Marc-Andre Laperle
c5c2770c93 Remove Solaris Sparc support
Solaris Sparc support was removed in SWT therefore it cannot be
supported by CDT anymore.

Change-Id: Ic40f55632023fd77fd164d3e48b5ca06835c3a31
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2016-04-29 14:40:54 -04:00
Doug Schaefer
7139dc2f1e Modernize Arduino plug-ins. Adjust APIs to suite.
Change-Id: Ic877c8f0992874e647d4b464502165d7bd3ebe0e
2016-04-28 11:14:07 -04:00
Sergey Prigogin
d36b9dcdd1 Bug 492489 - Protect against NPE
Change-Id: I5eb6590b94a6267cff0b3da14513f1b00d1170d4
2016-04-26 14:09:35 -07:00
Sergey Prigogin
590d832822 Bug 492491 - IWYU hyperlink in Include Pragmas preference page has moved
Change-Id: Iddb08db3427592f4725a9c54747971b9efe2d97a
2016-04-26 13:54:13 -07:00
Alex Blewitt
c73978c03a Bug 492210 - Remove ChangeLog files from project
ChangeLog is an archaic format for identifying what has changed in a
project. Fortunately more powerful version control systems are capable
of generating this information and displaying information such as this
paragraph in order to determine what has changed in a project and when.

Change-Id: Ia71a05fa51869c1adb193d94f71c28b3b36beb37
Signed-off-by: Alex Blewitt <alex.blewitt@gmail.com>
2016-04-25 22:53:31 +01:00