danrubel@google.com
|
ef257710e1
|
add periodic delay in analysis to reduce request processing latency
BUG=
R=brianwilkerson@google.com
Review URL: https://codereview.chromium.org//874083002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43127 260f80e4-7a28-3924-810f-c04153c831b5
|
2015-01-26 02:10:38 +00:00 |
|
scheglov@google.com
|
768aeeac4b
|
Use 'print' to send responses/notifications to the client.
Ensure that Java client reads lines in a separate thread,
so that server's stdout never overflows.
R=brianwilkerson@google.com, danrubel@google.com, paulberry@google.com
BUG=
Review URL: https://codereview.chromium.org//872633002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43123 260f80e4-7a28-3924-810f-c04153c831b5
|
2015-01-23 21:33:40 +00:00 |
|
scheglov@google.com
|
3226596c3c
|
Prioritize analysis operations for contexts with priority files.
R=brianwilkerson@google.com, paulberry@google.com
BUG=
Review URL: https://codereview.chromium.org//869153003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43118 260f80e4-7a28-3924-810f-c04153c831b5
|
2015-01-23 19:29:05 +00:00 |
|
danrubel@google.com
|
f94326c241
|
add optional request field to record time at which client made request
BUG=
R=brianwilkerson@google.com
Review URL: https://codereview.chromium.org//865383002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43113 260f80e4-7a28-3924-810f-c04153c831b5
|
2015-01-23 17:41:29 +00:00 |
|
scheglov@google.com
|
beff0fa32d
|
Move indexing into operations.
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//869793002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43090 260f80e4-7a28-3924-810f-c04153c831b5
|
2015-01-23 00:32:30 +00:00 |
|
danrubel@google.com
|
4f59e94ce1
|
update analysis server spec and regen files
this is needed to support new UpdateContentConsumer
BUG=
R=scheglov@google.com
Review URL: https://codereview.chromium.org//868893003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43088 260f80e4-7a28-3924-810f-c04153c831b5
|
2015-01-22 23:14:09 +00:00 |
|
danrubel@google.com
|
d284fef9db
|
cleanup unused imports
BUG=
R=scheglov@google.com
Review URL: https://codereview.chromium.org//868803006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43086 260f80e4-7a28-3924-810f-c04153c831b5
|
2015-01-22 22:41:51 +00:00 |
|
danrubel@google.com
|
55d1df2cf2
|
cache completion performance by default
BUG=
R=scheglov@google.com
Review URL: https://codereview.chromium.org//867023002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43084 260f80e4-7a28-3924-810f-c04153c831b5
|
2015-01-22 22:25:38 +00:00 |
|
danrubel@google.com
|
e2bf6de0f9
|
(TBR) fix the build
BUG=
Review URL: https://codereview.chromium.org//872443002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43079 260f80e4-7a28-3924-810f-c04153c831b5
|
2015-01-22 21:33:00 +00:00 |
|
pquitslund@google.com
|
03aa9c33e5
|
Library Dependencies Analysis service API.
R=brianwilkerson@google.com, scheglov@google.com
Review URL: https://codereview.chromium.org//861893003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43077 260f80e4-7a28-3924-810f-c04153c831b5
|
2015-01-22 21:26:28 +00:00 |
|
jwren@google.com
|
a26c95865a
|
Use a raw string to correctly print \n in option description in the analysis server.
BUG=
R=scheglov@google.com
Review URL: https://codereview.chromium.org//867433002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43054 260f80e4-7a28-3924-810f-c04153c831b5
|
2015-01-21 22:28:57 +00:00 |
|
danrubel@google.com
|
f99f4f3212
|
improve measurement of completion performance
BUG=
R=scheglov@google.com
Review URL: https://codereview.chromium.org//861153003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43051 260f80e4-7a28-3924-810f-c04153c831b5
|
2015-01-21 19:33:43 +00:00 |
|
paulberry@google.com
|
14d008359d
|
Use UTF-8 when serving web pages for analysis server debug.
This avoids the need to encode unicode characters using hexadecimal
escape sequences.
(Note that setting the charset using response.headers.contentType
affects the encoding used by both client and server.)
R=brianwilkerson@google.com
Review URL: https://codereview.chromium.org//855643004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43045 260f80e4-7a28-3924-810f-c04153c831b5
|
2015-01-21 17:57:57 +00:00 |
|
paulberry@google.com
|
30f1b97888
|
Handle generic parameters correctly in invocation completions.
When doing invocation completions, we need to walk the interface
types, not the classes, because the interface types record the actual
types of the generic parameters. This required some rework because
the old technique used an element visitor, and interface types can't
be visited using an element visitor.
R=danrubel@google.com
Review URL: https://codereview.chromium.org//829173003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43040 260f80e4-7a28-3924-810f-c04153c831b5
|
2015-01-21 15:16:50 +00:00 |
|
jwren@google.com
|
252c19c920
|
Addition of the new flag "file-read-mode" into the analysis server to fix the offset bug with IntelliJs integration.
R=brianwilkerson@google.com, paulberry@google.com
Review URL: https://codereview.chromium.org//857283003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43028 260f80e4-7a28-3924-810f-c04153c831b5
|
2015-01-20 21:48:00 +00:00 |
|
brianwilkerson@google.com
|
f7915c7a84
|
Return outline after parse
R=scheglov@google.com
Review URL: https://codereview.chromium.org//842533004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43027 260f80e4-7a28-3924-810f-c04153c831b5
|
2015-01-20 21:36:14 +00:00 |
|
brianwilkerson@google.com
|
0b975704b5
|
Alternate status page
R=paulberry@google.com
Review URL: https://codereview.chromium.org//840953008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43020 260f80e4-7a28-3924-810f-c04153c831b5
|
2015-01-20 18:46:44 +00:00 |
|
danrubel@google.com
|
f5f408e412
|
send priority instrumentation message on startup with version info
BUG=
R=brianwilkerson@google.com
Review URL: https://codereview.chromium.org//859513002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43017 260f80e4-7a28-3924-810f-c04153c831b5
|
2015-01-20 17:30:47 +00:00 |
|
scheglov@google.com
|
96462aab53
|
Send notifications using separate server operations.
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//847663005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42970 260f80e4-7a28-3924-810f-c04153c831b5
|
2015-01-16 20:11:47 +00:00 |
|
jwren@google.com
|
bcad595a17
|
Revert "Addition of the optional FileReadMode into the server spec."
R=paulberry@google.com
Review URL: https://codereview.chromium.org//838243004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42965 260f80e4-7a28-3924-810f-c04153c831b5
|
2015-01-16 17:39:32 +00:00 |
|
scheglov@google.com
|
288694de4e
|
Console was removed from dart:io.
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//854183003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42964 260f80e4-7a28-3924-810f-c04153c831b5
|
2015-01-16 17:37:13 +00:00 |
|
sgjesse@google.com
|
30ae29f4f2
|
Reapply revert of "Make stdout/stderr async"
This re-applies r42909 which was reverted in r42910 with a few fixes.
TBR=ajohnsen@google.com
BUG=
Review URL: https://codereview.chromium.org//851253002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42953 260f80e4-7a28-3924-810f-c04153c831b5
|
2015-01-16 13:35:37 +00:00 |
|
scheglov@google.com
|
3eb4d4f9a2
|
Include overlays contents.
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//854703004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42943 260f80e4-7a28-3924-810f-c04153c831b5
|
2015-01-16 04:50:36 +00:00 |
|
danrubel@google.com
|
a737481621
|
improve completion performance status page
BUG=
R=scheglov@google.com
Review URL: https://codereview.chromium.org//813563007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42941 260f80e4-7a28-3924-810f-c04153c831b5
|
2015-01-16 00:33:20 +00:00 |
|
scheglov@google.com
|
ef7456f199
|
Update cache size on analysis start/stop.
This reduces time of dart2js analysis after rename form 16000 ms
to about 1200 ms, i.e. about 13 times ;-)
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//844493005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42933 260f80e4-7a28-3924-810f-c04153c831b5
|
2015-01-15 20:55:57 +00:00 |
|
jwren@google.com
|
4d1507935d
|
Addition of the optional FileReadMode into the server spec.
R=brianwilkerson@google.com, paulberry@google.com
Review URL: https://codereview.chromium.org//825393005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42921 260f80e4-7a28-3924-810f-c04153c831b5
|
2015-01-15 18:01:46 +00:00 |
|
sgjesse@google.com
|
c831cdf97f
|
Revert "Revert "Make stdout/stderr async""
This reverts commit r42909
TBR=ricow@google.com
BUG=
Review URL: https://codereview.chromium.org//850333002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42910 260f80e4-7a28-3924-810f-c04153c831b5
|
2015-01-15 14:33:35 +00:00 |
|
sgjesse@google.com
|
bc1be9c45f
|
Revert "Make stdout/stderr async"
This makes writes to the stdout and stderr IOSinks in dart:io blocking again.
To get the non-blocking behaviour the getter "nonBlocking" will return an
IOSink with real non-blocking behaviour.
Updated the class exposed for stderr to also support checking for whether it
is connected to a terminal and checking the terminal size.
R=ajohnsen@google.com, iposva@google.com
BUG=
Review URL: https://codereview.chromium.org//807833002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42909 260f80e4-7a28-3924-810f-c04153c831b5
|
2015-01-15 14:18:16 +00:00 |
|
danrubel@google.com
|
cbd16a7336
|
add local parameter info to completion suggestions
BUG=
R=paulberry@google.com
Review URL: https://codereview.chromium.org//850003002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42894 260f80e4-7a28-3924-810f-c04153c831b5
|
2015-01-15 02:26:45 +00:00 |
|
scheglov@google.com
|
dc96eabde3
|
Display overlays at /overlays URI.
R=brianwilkerson@google.com, paulberry@google.com
BUG=
Review URL: https://codereview.chromium.org//823123004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42891 260f80e4-7a28-3924-810f-c04153c831b5
|
2015-01-15 00:22:44 +00:00 |
|
paulberry@google.com
|
81b8596681
|
Add indication of instrumentation active/inactive to analysis server status.
The instrumentation status shows up when querying the "/status" page, when analysis server is started with the "--port" option.
R=brianwilkerson@google.com
Review URL: https://codereview.chromium.org//847963003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42879 260f80e4-7a28-3924-810f-c04153c831b5
|
2015-01-14 18:23:22 +00:00 |
|
jwren@google.com
|
806e0fc181
|
Have the analysis server not send error notifications when NO_ERROR_NOTIFICATION has been set to true.
R=scheglov@google.com
Review URL: https://codereview.chromium.org//854493002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42851 260f80e4-7a28-3924-810f-c04153c831b5
|
2015-01-14 04:00:41 +00:00 |
|
danrubel@google.com
|
01a1ea75b8
|
fix function type alias conversion to protocol element
BUG=
R=paulberry@google.com
Review URL: https://codereview.chromium.org//848943002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42850 260f80e4-7a28-3924-810f-c04153c831b5
|
2015-01-14 01:58:15 +00:00 |
|
scheglov@google.com
|
93eea56a86
|
Catch and report exceptions in computers.
So, they will not cause the server crash anymore.
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//854443002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42841 260f80e4-7a28-3924-810f-c04153c831b5
|
2015-01-13 21:14:08 +00:00 |
|
pquitslund@google.com
|
6fb12789e7
|
Analysis server format service wiring (and protocol doc update).
R=brianwilkerson@google.com, danrubel@google.com, scheglov@google.com
Review URL: https://codereview.chromium.org//833903005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42835 260f80e4-7a28-3924-810f-c04153c831b5
|
2015-01-13 20:34:10 +00:00 |
|
danrubel@google.com
|
79cfcc3ac8
|
cleanup NO_RETURN_TYPE
BUG=
R=paulberry@google.com
Review URL: https://codereview.chromium.org//845363003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42830 260f80e4-7a28-3924-810f-c04153c831b5
|
2015-01-13 19:23:33 +00:00 |
|
danrubel@google.com
|
0974f8b1ea
|
insert parameters when completing imported functions and inherited methods
BUG=
R=paulberry@google.com
Review URL: https://codereview.chromium.org//811933007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42808 260f80e4-7a28-3924-810f-c04153c831b5
|
2015-01-13 14:10:47 +00:00 |
|
paulberry@google.com
|
cebcc398f6
|
Add support for completion of case labels.
This change addresses completions like the following:
switch (...) {
foo: case 1:
...
bar: case 2:
continue ^;
baz: case 3:
...
}
Completion at the point marked "^" will show "foo", "bar", and "baz"
as possible completions.
R=danrubel@google.com
Review URL: https://codereview.chromium.org//806473007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42799 260f80e4-7a28-3924-810f-c04153c831b5
|
2015-01-13 03:11:46 +00:00 |
|
scheglov@google.com
|
1c24293cb1
|
Reset compilation unit in notification, as it might be damaged.
This should fix the navigation computer crash.
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//846973002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42792 260f80e4-7a28-3924-810f-c04153c831b5
|
2015-01-12 23:07:32 +00:00 |
|
jwren@google.com
|
473438f940
|
Addition of AnalysisServer.isSocketOpen for clients to know if the server is still running.
Execution of generate_all for recent changes to the analyzer spec input, and resulting changes to have editor and the java server layer compile.
R=paulberry@google.com, scheglov@google.com
Review URL: https://codereview.chromium.org//845973006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42787 260f80e4-7a28-3924-810f-c04153c831b5
|
2015-01-12 21:46:59 +00:00 |
|
danrubel@google.com
|
14a97cafed
|
suggest fields rather than synthetic getters
and return dynamic returnType rather than null
BUG=dartbug.com/21679
R=paulberry@google.com
Review URL: https://codereview.chromium.org//791553007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42786 260f80e4-7a28-3924-810f-c04153c831b5
|
2015-01-12 19:02:47 +00:00 |
|
paulberry@google.com
|
531c591460
|
Completion support for loop labels.
Break and continue statements inside loops now have their targets
properly completed. Continue statements inside switch statements will
be addressed in a future CL.
R=danrubel@google.com
Review URL: https://codereview.chromium.org//812593008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42781 260f80e4-7a28-3924-810f-c04153c831b5
|
2015-01-12 17:37:46 +00:00 |
|
brianwilkerson@google.com
|
4a8c341ecf
|
Server clean-up
R=scheglov@google.com
Review URL: https://codereview.chromium.org//795833005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42780 260f80e4-7a28-3924-810f-c04153c831b5
|
2015-01-12 17:34:14 +00:00 |
|
scheglov@google.com
|
214a2380ca
|
Fix for NPE in the index store.
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//823223003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42777 260f80e4-7a28-3924-810f-c04153c831b5
|
2015-01-12 16:38:52 +00:00 |
|
brianwilkerson@google.com
|
b161853940
|
Minor clean-ups and rename
R=scheglov@google.com
Review URL: https://codereview.chromium.org//840473007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42776 260f80e4-7a28-3924-810f-c04153c831b5
|
2015-01-12 16:36:14 +00:00 |
|
scheglov@google.com
|
82d7224537
|
Style changes in assist and fix.
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//825363003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42760 260f80e4-7a28-3924-810f-c04153c831b5
|
2015-01-09 23:18:03 +00:00 |
|
scheglov@google.com
|
e84aa1aa54
|
Fixes for linked and exit positions offsets.
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//843163002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42757 260f80e4-7a28-3924-810f-c04153c831b5
|
2015-01-09 22:31:42 +00:00 |
|
brianwilkerson@google.com
|
11c0e607a0
|
Make domains plugable
R=scheglov@google.com
Review URL: https://codereview.chromium.org//846723002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42756 260f80e4-7a28-3924-810f-c04153c831b5
|
2015-01-09 22:15:20 +00:00 |
|
paulberry@google.com
|
db4c9543ac
|
Remove computation with no effect from local completion computer.
The computation performed by _computeExcludeVoidReturn was always
being overwritten by the caller right after construction, so it had no
effect.
R=danrubel@google.com
Review URL: https://codereview.chromium.org//830153004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42752 260f80e4-7a28-3924-810f-c04153c831b5
|
2015-01-09 19:28:52 +00:00 |
|
pquitslund@google.com
|
f781ec6675
|
Add generateLints analysis option to the Server protocol API.
R=brianwilkerson@google.com, scheglov@google.com
Review URL: https://codereview.chromium.org//806943004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42745 260f80e4-7a28-3924-810f-c04153c831b5
|
2015-01-09 17:38:43 +00:00 |
|