Commit Graph

295 Commits

Author SHA1 Message Date
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
Jan Jurzitza a02639a44a auto generate documentation in constants.d from dd files (#430)
* make constant.d auto generate from .dd files (fix #428)

* added isDeprecated to constants.d

* add isDeprecated to expected keywords in traits test

* make traits message BARELY FIT into the response buffer

because who wants to increase the message buffer anyway? I certainly don't and this seems like a much better solution long term /s

* undo apply dfmt on constants.d

* use startsWith & canFind with multiple needles

* made completion have dynamic ddoc as input

* Remove debug pragma msg from constants.d

* Move message buffer to heap, increase size to 1MB

* made traits & pragma ddoc generation separate tool
2018-03-24 05:24:29 +01:00
Hackerpilot c34a3f4b3c Add some attributes 2018-03-19 16:57:11 -07:00
LemonBoy ea15ae4c15 Big msgpack woes (#448)
Big msgpack woes
merged-on-behalf-of: BBasile <BBasile@users.noreply.github.com>
2018-03-10 20:57:52 +01:00
Basile Burg b646dd4680 warn about bad cursor position 2018-02-24 13:41:05 +01:00
Basile Burg 7e70c26faa fix #442 - Prevent crash when cursor is in the middle of a UTF sequence 2018-02-24 12:58:38 +01:00
Sebastian Wilzbach 468c4ebf60 Switch to use the frozen stdx-allocator 2018-02-11 15:16:41 +01:00
skl131313 48bce9f2f4 Exception with socket error message in getResponse, instead of single static message. 2018-01-27 08:39:21 -05:00
BBasile 02a5f40954 fix #426 - Full output mode breaks `__traits` completion (#427)
* fix #426 - Full output mode breaks `__traits` completion

* Add constant completion for the new isDisabled trait
2018-01-23 07:42:26 +01:00
Hackerpilot 3bff0edd15 Update StopWatch use and containers submodule for 2.078.0 2018-01-04 13:43:50 -08:00
WebFreak001 ab529606a4 Change --full to --extended 2017-11-30 23:15:31 +01:00
WebFreak001 f384bc7c24 Change -2 to -x as --full short alternative 2017-11-30 23:10:14 +01:00
WebFreak001 17789292e0 Adjust to requested changes 2017-11-29 11:17:13 +01:00
WebFreak001 ad0335b1ad Rename escapeTabValue to escapeConsoleOutputString
Also improved documentation on it
2017-11-29 11:14:35 +01:00
WebFreak001 ebd4db80b8 More consistent constants documentation 2017-11-29 11:10:00 +01:00
WebFreak001 172d45ce81 Added --full output mode
This will send symbol location & documentation along with completions and calltips

partly #20, fix #96, fix #269
2017-11-25 00:24:39 +01:00
Hiroki Noda 38dfd9a32c Add Objective-C linkage type (#420)
Add Objective-C linkage type
merged-on-behalf-of: Jan Jurzitza <gh@webfreak.org>
2017-11-19 16:52:41 +01:00
Laurent Tréguier ad9c08c6b0 Move everything under package `dcd` (#417)
Move everything under package `dcd`
merged-on-behalf-of: Richard Andrew Cattermole <alphaglosined@gmail.com>
2017-11-02 11:03:56 +01:00
The Dlang Bot 0b3fbb8e4e Merge pull request #411 from WebFreak001/server-simplify
Simplify server main
merged-on-behalf-of: Mark Rz <skl131313@users.noreply.github.com>
2017-10-09 01:56:12 +02:00
Mark Rz e503d94b93 Merge pull request #412 from WebFreak001/drop-config-upgrade
Remove warning about old config location
2017-09-20 19:49:12 -04:00
The Dlang Bot 26b46a0735 Merge pull request #413 from WebFreak001/skip-fix
Fix calltips often reporting wrong functions
merged-on-behalf-of: Brian Schott <Hackerpilot@users.noreply.github.com>
2017-09-19 07:36:10 +02:00
WebFreak001 45ee60a13d adjust skipParenReverse to comment 2017-09-18 18:54:12 +02:00
WebFreak001 3d5ec1fe60 Use tabs everywhere
For a more consistent code style. I also found a segfault case in tc045 which needs to be investigated
2017-08-24 21:56:22 +02:00
WebFreak001 fa81ad2d59 Merge duplicate implementations of skip in server
+ some code duplication removal
2017-08-24 21:31:40 +02:00
WebFreak001 325c717141 Remove warning about old config location
The config file location was moved a long time ago so it's not really needed anymore
2017-08-24 21:10:41 +02:00
WebFreak001 fdb5ff10ce Simplify server main 2017-08-24 21:00:43 +02:00
WebFreak001 c0caf5cea6 Remove additions added in the split 2017-08-16 07:40:49 +02:00
WebFreak001 6c310d2d5e Only split server code, no changes 2017-08-16 07:39:08 +02:00
WebFreak001 cd4a027eac Undo some changes in main 2017-08-11 06:26:52 +02:00
WebFreak001 38cc25bbcc Split of server into multiple files 2017-08-10 21:33:42 +02:00
Marco Leise a22e3dd34c Provide backlog for socket.listen()
`listen(0)` in general means that you can't connect to the server at all. That it still works is at least in parts due to SYN cookies being enabled in most Linux systems. These allow connections even if an attacker spams the server with unacknowledged connection requests thereby filling up the backlog. Being behind a firewall/router I have this disabled in the kernel and witness the 'proper' socket behavior: The client waits for the server to make room in its size 0 backlog until the TCP timeout happens.
Both enabling SYN cookies and raising the backlog to at least 1 makes it work. Since DCD works purely on the loopback network which seems to accept connections synchronous on Linux at least, a value of 1 is probably all that's technically required, but some larger number (32) wont do any harm.
2017-07-05 19:45:12 +02:00
Brian Schott 6f387bf5cd Merge pull request #393 from denizzzka/split_server_code
Split server code
2017-07-05 00:21:54 -07:00
Basile Burg 82bb08d980
update version for 0.9.0 stable 2017-07-03 09:51:48 +02:00
Basile Burg cc28b53e84
update version for --version 2017-07-02 15:59:06 +02:00
Denis Feklushkin 698e821f53 split server.d 2017-06-30 17:57:21 +07:00
Basile Burg aaa89143d2
adress Zombine's review 2017-06-16 13:58:12 +02:00
Basile Burg 1ab8a8ec08
find local usage of symbol located at cursor
(partially based on unmainted PR 202)
2017-06-16 13:58:06 +02:00
Basile Burg 42c5358940 log failed access to import path 2017-06-16 14:47:46 +03:00
Basile Burg 4906307357 also check the scanner in autocomplete 2017-06-16 14:47:46 +03:00
Basile Burg 21a0c2554f Merge pull request #366 from skl131313/issue343
Fix issue 353: single template arg not recognized.
2017-06-11 21:34:05 +02:00
Basile Burg 489dd6a77c add support for the getParameterStorageClasses trait 2017-05-27 07:07:18 +02:00
Basile Burg 3299627e41 add support for the getFunctionVariadicStyle trait 2017-05-24 22:55:48 +02:00
Basile Burg 181480faf7 support for the getLinkage trait 2017-05-24 01:01:04 +03:00
Basile Burg 224ed55474
fixup #369, dot completion broken in bodies
+ handle templatized UDAs
2017-04-09 06:04:08 +02:00
Basile Burg cc481193c8
fixup #369, completion after calltip broke other features 2017-04-08 19:59:37 +02:00
Basile Burg cb2074a152
prevent a range error, close #368 2017-04-07 17:40:29 +02:00
Basile Burg 07c460c061
fix #369, No completion after UDA 2017-03-26 21:08:49 +02:00
sprinkle131313 6c04abc3f1 Fix issue 353: single template arg not recognized. 2017-03-11 02:19:43 -05:00
Hackerpilot 7cee649587 Fix #304 2017-03-08 17:22:40 -08:00
Hackerpilot 5832c0a538 Fix #362 2017-03-08 15:59:47 -08:00
Hackerpilot 974882fd74 Fix #360 2017-03-08 15:20:18 -08:00
Hackerpilot 8b7375ad77 Fix #364 2017-03-07 13:17:37 -08:00
Hackerpilot b5d3139223 Alpha 6: updated dependencies 2017-02-13 14:37:04 -08:00
Hackerpilot a36f64fd73 Update for 2.072 2016-11-07 13:06:21 -08:00
Basile Burg dffaf8d75e
remove dittos from the results of the ddoc query, close #325 2016-09-19 16:27:33 +02:00
Hackerpilot c3df266744 Fix #346 2016-09-06 15:29:49 -07:00
Hackerpilot a046b490ee Dependency updates 2016-09-06 15:22:32 -07:00
Hackerpilot 10374061ea Fix crash 2016-08-15 03:46:33 -07:00
John Colvin 0457f64580 bump version num to v0.9.0-alpha4 2016-08-11 23:48:27 +01:00
Hackerpilot 05873e1567 Fix #341 2016-08-02 01:44:44 -07:00
antlord 44bcaf46f7 Fixed determination of type of array identified by auto 2016-07-29 03:27:02 +08:00
Brian Schott 923535ef94 Merge pull request #328 from WebFreak001/master
Added support for single files as import paths (fix #278)
2016-06-30 18:04:38 -07:00
Hackerpilot aa8f2f4556 #326 2016-06-30 17:56:06 -07:00
Hackerpilot 84092c36e7 Fix #326 2016-06-30 13:26:47 -07:00
Hackerpilot c490859ab1 Fix #333 2016-06-28 16:44:09 -07:00
WebFreak001 b810daaa8f Added support for single files as import paths (fix #278) 2016-06-05 02:03:16 +02:00
Hackerpilot ea2eca23c9 Fix formatting 2016-05-23 13:43:49 -07:00
Basile Burg c23b770ee8 sync version identifiers with ddmd 2016-05-22 15:17:03 +02:00
Vladimir Panteleev 07b240b686 autocomplete: Fix goto-declaration for import statements 2016-04-12 10:24:23 +00:00
Hackerpilot 396c3c3cf1 Fix secondary bug with doc display. #313 2016-03-27 22:01:06 -07:00
Hackerpilot 7ee9930dca Fix imports 2016-03-27 16:51:16 -07:00
Basile Burg 080d9d667a fix #313 - ddoc, overloads sets broken 2016-03-26 18:56:21 +01:00
Vladimir Panteleev 9b4c862081 Fix issue #311 (Ambiguous newlines in --doc output) 2016-03-26 04:44:27 +02:00
Hackerpilot 78ba8a69bf Fix #289 2016-03-21 17:35:54 -07:00
Georgi Dimitrov b20857f4fd Added environment variable expansion support to the server config file
- use a replaceAll of a compile time regex to expand environment variables of
the form ${ENV_VAR} in the import paths
- added a unit test for the regex
- updated docs
2016-03-16 09:32:37 -07:00