Commit Graph

223 Commits

Author SHA1 Message Date
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