Commit Graph

269 Commits

Author SHA1 Message Date
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
Hackerpilot ce5ac2d978 Alpha 2 2016-03-07 15:10:27 -08:00
Hackerpilot 1eae113314 Merge branch 'master' into allocator_improvements 2016-03-03 02:19:51 -08:00
Hackerpilot 8fa98a1848 Update dependencies 2016-03-03 02:18:28 -08:00
Hackerpilot c9be120d5b v0.8.0 2016-03-03 00:51:01 -08:00
Hackerpilot eab78141c4 Fix interaction of --tcp and --port 2016-03-03 00:50:48 -08:00
Hackerpilot 2accb4648b Update dparse and dsymbol 2016-03-02 02:43:54 -08:00
Hackerpilot 8795b2697e Fix #299 2016-02-25 13:00:30 -08:00
Basile Burg 3a206f66e3 fix, unix domain socket code defined in a runtime branch 2016-02-03 17:01:27 +01:00
Hackerpilot 851fbd5918 Update version 2016-01-25 18:49:32 -08:00
Hackerpilot 21591b4081 Fix #288 2016-01-25 17:03:55 -08:00
Hackerpilot d26ce5ed20 Fix #286 2016-01-21 15:44:40 -08:00
default0 249341bc58 Fix compiler errors on windows
Checking the repo out and running dub to build on windows would
give two compiler errors, one because UnixAddress is not defined
another because a function misses a return statement if Unix sockets
are not possible.
2016-01-21 17:12:16 +01:00
Hackerpilot b3dc41f2f8 Increase version number 2016-01-19 09:20:11 -08:00
Hackerpilot c2657cc534 Merge branch 'master' into unix-domain-sockets 2016-01-15 01:13:43 -08:00
Hackerpilot 3f5a1eaebf Fix #218 and update version to 0.7.5 2016-01-15 01:13:29 -08:00
Hackerpilot 166db74597 Implement #217 2016-01-15 00:49:08 -08:00
Hackerpilot 5437ceb846 Add dub support 2016-01-13 23:53:30 -08:00
Hackerpilot 3fd5e4ee62 Fix #280 2016-01-10 23:22:28 -08:00
Hackerpilot 823b93f0f7 Update deps to get doc comment parsing fixes 2016-01-07 20:58:39 -08:00
LaurentTreguier 0a031009f3 Fix client help typo 2015-11-27 15:16:43 +01:00
Hackerpilot 6bd59c157d v0.7.3 2015-10-30 12:05:00 -07:00
Hackerpilot 78a39a6578 Fix #238 2015-10-30 12:00:13 -07:00
Hackerpilot 2a5dd5f738 Fix #263 2015-10-30 11:32:54 -07:00
Hackerpilot 9681bacb40 Update code for new dependencies 2015-10-30 01:56:00 -07:00
Hackerpilot 9a426aed47 0.7.2 builds with LDC 2015-10-19 13:58:39 -07:00
Hackerpilot c0105f9c64 0.7.1 2015-10-19 13:09:31 -07:00