Commit Graph

269 Commits

Author SHA1 Message Date
davu b2009e15d4 added integer promotion, implicit upcast 2023-02-21 21:18:24 +01:00
WebFreak001 39baba327e fixed shared logger usage 2022-12-07 22:19:47 +01:00
WebFreak001 2457f70b8e use `isCallableWithArg` in paren completion
For consistency and to allow future changes to type matching (e.g.
implicit type conversion)
2022-12-07 21:18:52 +01:00
davu 4fd12cf485 adding null check for firstSymbol 2022-12-07 19:39:23 +01:00
davu 6c3a4d3797 Added paren completion for UFCS 2022-12-07 19:39:23 +01:00
WebFreak001 15ae4e5f00
change `body` to `do` in util.d
Fixes deprecation, brings file in alignment with rest of code
2022-11-14 13:02:20 +01:00
WebFreak001 11628dd931 make sure all request types await responses
On OSX ARM accepting sockets would fail because the sender side
(dcd-client) was generating, sending the whole packet and closing the
socket faster than phobos was with accepting the socket, causing an
exception in setOption inside socket.accept, which is now commented in
the code as well.
2022-11-13 03:20:15 +01:00
davu 29dba75ce9 UFCS using new completion kind F 2022-10-18 23:31:20 +02:00
davu 642a0e0a14 minor adjustments 2022-10-18 23:31:20 +02:00
davu 52c0298c3a UFSC implementation using functionParameters instead and update tests for UFSC 2022-10-18 23:31:20 +02:00
davu 951870e06f hide private functions 2022-10-18 23:31:20 +02:00
davu 98d09a2fe5 Removing unsused cases 2022-10-18 23:31:20 +02:00
davu 9e60ab8b2c Adding Simple UFCS
Added UFCS navigation

Adding test cases for ufcs

With ufcs update expected test

Updated UFCS with templating support

Removing template function.
2022-10-18 23:31:20 +02:00
WebFreak001 5c529f300d use GC nearly everywhere 2022-10-13 18:18:53 +02:00
WebFreak001 4594a63634 replace stdx-allocator with std.experimental 2022-10-13 18:18:53 +02:00
Per Nordlöw e343e73d33 Use more adaptive time formatting because many requests finish in 0 milliseconds 2021-10-11 09:40:27 +03:00
Per Nordlöw 5aba1b1b54 Use scope instead of std.typecons.scoped 2021-10-10 19:05:41 +02:00
Jan Jurzitza 46ea058cfb
fix --localUse off-by-one error (#640) 2021-07-14 18:41:41 +00:00
Hackerpilot 29ffe9d731 Add the ignoreConfig option to the --help output of dcd-server. 2020-07-23 05:18:56 -07:00
WebFreak001 8c53181ffd add RequestKind.requiresSourceCode, fix #617
this is a or-combined mask of the request kinds which operate on
`request.sourceCode`. Before if a client sent a request without source
code (with empty source) to one of these commands, the server would
crash with an assertion failure, now the server returns an empty
response.
2020-06-19 22:16:46 +02:00
Hiroki Noda 443b9778ce Remove unused lines 2020-05-05 04:45:19 +09:00
Jan Jurzitza 3e2c0c6fbf Move dcd.common into separate subpackage
This allows external projects to depend on dcd:common, which is needed
to embed DCD clients
2020-04-29 14:26:24 +02:00
dkorpel ab2b9efa19
Add missing version identifiers 2019-09-10 12:26:55 +02:00
WebFreak001 6a195ea86a make private symbols not show up in auto complete 2019-05-12 00:44:15 +02:00
Basile-z ba60664f2f
update completions of `pragma` and `__traits` (#597) 2019-04-22 17:46:40 +02:00
Basile-z cb0e49bc36 fix #584 - crash when completing and if the previous expression is negated (#586)
fix #584 - crash when completing and if the previous expression is negated
merged-on-behalf-of: Basile-z <Basile-z@users.noreply.github.com>
2019-02-18 06:41:21 +01:00
Vladimir Panteleev 0f998365eb dcd.common.messages: Fix spurious "Could not unpack the response" errors (#573)
dcd.common.messages: Fix spurious "Could not unpack the response" errors
merged-on-behalf-of: BBasile <BBasile@users.noreply.github.com>
2019-01-08 02:26:57 +01:00
The Dlang Bot 5b9780562a
Merge pull request #571 from andre2007/fix-server-exceptions
Fix server exception handling
merged-on-behalf-of: Brian Schott <Hackerpilot@users.noreply.github.com>
2019-01-06 23:22:52 +01:00
andre2007 fbd495b11f Fix server exceptions 2019-01-06 18:34:29 +01:00
andre2007 9ac75d8abb Fix client exception handling 2019-01-06 16:43:41 +01:00
BBasile b764ad2486 fix #561 - possible range violation (#566)
fix #561 - possible range violation
merged-on-behalf-of: BBasile <BBasile@users.noreply.github.com>
2018-12-31 00:30:28 +01:00
Jan Jurzitza 6ae1b6f890 Extended mode ditto comment support (#562)
Extended mode ditto comment support
merged-on-behalf-of: BBasile <BBasile@users.noreply.github.com>
2018-12-29 20:38:38 +01:00
Basile Burg 670c05bf37 fix #558 - regression in import completion due to FQN autocomplete 2018-12-29 16:40:24 +01:00
Basile Burg 292f3bae06 fix issue 557 - Module name completion should not complete anything 2018-12-29 14:29:37 +01:00
BBasile 09ba8f8787 add support for the Module Scope Operator, close #548 (#550)
add support for the Module Scope Operator, close #548
merged-on-behalf-of: BBasile <BBasile@users.noreply.github.com>
2018-12-24 14:11:05 +01:00
BBasile 016af265dd remove deprecated funcs in messages.d (#549)
remove deprecated funcs in messages.d
merged-on-behalf-of: BBasile <BBasile@users.noreply.github.com>
2018-12-19 04:09:42 +01:00
Basile Burg 9b7414367d Update to dparse 0.10.x 2018-11-08 12:14:26 +01:00
Basile Burg 932adb3313 update constants 2018-09-16 12:06:11 +02:00
Laurent Tréguier 436778fd1b fix #521 - Add a request allowing to remove a set of import path (#522)
fix #521 - Add a request allowing to remove a set of import path
merged-on-behalf-of: BBasile <BBasile@users.noreply.github.com>
2018-08-10 09:15:07 +02:00
The Dlang Bot e5dc9960a3
Merge pull request #508 from BBasile/issue-504
fix #504 - Completion for partial identifier matching to a basic type doesn't work
merged-on-behalf-of: BBasile <BBasile@users.noreply.github.com>
2018-07-11 14:09:18 +02:00
Basile Burg 5398d88114 fix #504 - Completion for partial identifier matching to a basic type doesn't work 2018-07-11 13:59:22 +02:00
WebFreak001 80f5bf1495 Fix #506 2018-07-10 16:03:04 +02:00
Sebastian Wilzbach 5138d04e5d Improve automatic version generation - fix #497 2018-06-25 17:41:17 +02:00
Basile Burg 5f15ec2fe8 update std alloc to v2.77.2 2018-05-22 12:17:54 +02:00
Basile Burg 13c10a0f2b update version 2018-05-14 22:33:20 +02:00
Basile Burg ac438d98e4 remove deprecated option "localUsage" and which was incorrect engl 2018-05-14 15:43:57 +02:00
Basile Burg c3f9111570 update version 2018-04-27 09:29:47 +02:00
Basile Burg 5a8b2f7838 fix #382 - No completion when current string is a keyword 2018-04-25 00:03:45 +02:00
Basile Burg 473e340ef2 push version number 2018-04-23 15:07:54 +02:00
Basile Burg 55c919ce50 fix #451 - string compatibilityContent() const should be nothrow for compatibility with older code 2018-04-23 14:53:46 +02:00