Commit Graph
181560 Commits
Author SHA1 Message Date
peter 2824ee87e4 java completion: fix "{} ()" when choosing anonymous class constructor with parameters 2016-10-19 09:23:15 +02:00
peter 0ac4972e92 submitTransactionLater shouldn't do invokeLater twice
fixes too many visual editor changes during inplace refactorings
2016-10-19 09:16:04 +02:00
Vassiliy.Kudryashov dae9b62761 IDEA-162750 EditorComboBox text of "Git Repository URL" in Clone Repository dialog is cropped 2016-10-18 22:49:50 +03:00
Andrey Vlasovskikh 3e2115f802 Updated master version for PyCharm 2016-10-18 22:33:57 +03:00
Gregory.Shrago 23dc04d2a4 GK 1.4.3: minor grammar fix 2016-10-18 22:22:08 +03:00
Gregory.Shrago 9af39845b5 regen: GK 1.4.3 2016-10-18 22:22:08 +03:00
Sergey Malenkov 9e95149430 IDEA-162770 Can't manually enter the path in the FileChooser 2016-10-18 22:20:41 +03:00
Dmitry Trofimov 8035e19e74 Merge remote-tracking branch 'origin/master' 2016-10-18 21:13:22 +02:00
Dmitry Trofimov e784e6fed1 Update bundled coverage.py to version 4.2.0 2016-10-18 21:09:33 +02:00
Roman Shevchenko 5fbaa08989 [platform] ignore SIGHUP in restarter script (IDEA-162263)
When the IDE is launched in it's own terminal (File Manager | Run in Terminal), shutting it down kills the restarter script as well. Ignoring the signal allows the script to outlive a terminal and successfully restart the IDE.
2016-10-18 20:35:46 +02:00
Dmitry Trofimov 59bbcccc61 For some strange reason bash doesn't pass env variables sourced from rcfile to the command in case of non-interactive mode.
Interactive mode can crash the process, so it is not an option.
The only option left is to use composite command that sources the activate script and then prints envs. And this works both for bash and sh on Linux.
2016-10-18 20:17:06 +02:00
Dmitry Trofimov 5ec562fdd8 Count missed branches in case of partial coverage in total ration denominator (PY-20131) 2016-10-18 20:01:23 +02:00
Roman Shevchenko 5cb324e90a [platform] passes the PID to watch for to the restarter script (IDEA-162263) 2016-10-18 19:43:40 +02:00
Daniil Ovchinnikov 1b1f69563c [groovy] setWritable(false) for detached name-value pair value (IDEA-CR-14566) 2016-10-18 20:30:28 +03:00
Daniil Ovchinnikov ed8209df8b [groovy] use EmptyStub (IDEA-CR-14566) 2016-10-18 20:30:28 +03:00
Aleksey Pivovarov 3712cf0732 diff: make methods public 2016-10-18 20:24:51 +03:00
Vladislav.Soroka c70be3253e project tasks: fix modules build settings assertion 2016-10-18 19:57:35 +03:00
Anna.Kozlova b38ca21bac assertEquals can be replaced with assertSame: introduce junit 5; extract common fix 2016-10-18 18:11:07 +02:00
Anna.Kozlova c28bda6b3f assertEquals between inconvertible types: junit & testng refactored; introduce junit 5 for assertEquals called on array 2016-10-18 18:11:07 +02:00
Anna.Kozlova c4a9c2f7c3 common constants 2016-10-18 18:11:07 +02:00
Dmitry Batkovich cded565ab6 javac ast indices: do not show progress status on index up-to-date validation 2016-10-18 19:06:25 +03:00
Dmitry Batkovich 987b1e762e javac ast indices: read access 2016-10-18 19:06:25 +03:00
Dmitry Batkovich 319a91bfc2 javac ast indices: read access while get placement of element in asCompileElements() 2016-10-18 19:06:25 +03:00
Dmitry Batkovich e40c4160d8 javac ast indices: read access while get placement of element in getHierarchyInfo() 2016-10-18 19:06:25 +03:00
Dmitry Batkovich 64352f8317 javac ast indices: Javac8RefScanner should be added to CP 2016-10-18 19:06:25 +03:00
Dmitry Batkovich 4d831a72d5 javac ast indices: add javac-ref-scanner-8 to BaseIdeaProperties 2016-10-18 19:06:25 +03:00
Dmitry Batkovich 51b95dcf0f typo 2016-10-18 19:06:25 +03:00
Dmitry Batkovich ad29e453ac javac ast indices: do not search java direct inheritors for unknown language classes (AssertionError fixed) 2016-10-18 19:06:25 +03:00
nik c9ae24f10c build process: fixed building projects under JDK 1.7 and older (IDEA-162589) 2016-10-18 19:00:42 +03:00
Michael Golubev c28f323d83 fixed: for xsd:include'd schemas some valid tags may be randomly shown as red
- Direct usage of `visited` guard in CachedValueProvider leads to random results when the visited's state at compute time is different from the original state at create time
- thus, `Set<PsiFile> visited` is replaced with RecursionManager.createGuard(...).doPreventingRecursion
- discussed with and approved by sergey.vasiliev
2016-10-18 17:46:38 +02:00
Alexander Koshevoy 364db9f86d PY-17447 ClientModeDebuggerTransport logic explanation added 2016-10-18 18:42:41 +03:00
Alexander Koshevoy 7df98492e4 PY-17447 _notify_process_created() moved to PyDB as send_process_created_message() method 2016-10-18 18:42:40 +03:00
Alexander Koshevoy f43dfe6871 PY-17447 PyDebugSessionFactory made to be applied to a general Python SDK, not only a remote one 2016-10-18 18:42:39 +03:00
Alexander Koshevoy 819634a71e PY-17447 PyRemoteDebugSessionCreator renamed to *Factory resolving review comment 2016-10-18 18:42:39 +03:00
Alexander Koshevoy dec36415af PY-17447 PyRemoteDebugSessionCreator extension point with PyDockerDebugSessionCreator implementation that uses new Python debugger connection strategy introduced 2016-10-18 18:42:38 +03:00
Alexander Koshevoy cccb586b94 PY-17447 "IDE as a client" Python script debugger mode introduced
Python pydevd wrapper in the main process and in the every subprocesses being created opens server socket and waits for a single incoming connection from the IDE. These server sockets are bound to the one single port of the localhost. The port number is passed to the script in the command line. Opening server socket on the same port is achieved by using SO_REUSEPORT socket option on Linux/Mac machines and SO_REUSEADDR socket option on Windows machines. SO_REUSEPORT is supported since Linux 3.9, which is perfectly fine for docker case because docker requires Linux 3.10 and higher. A tricky connection strategy implemented in ClientModeDebuggerTransport because each debugging (sub)process requires exactly one connection but Linux could route connection to the same (sub)process twice or more. These connections are stacked on the Linux core level and IDE for a some time thinks that it is connected to a debugging process while it is actually not. Reconnecting to the same host and port solves this problem eventually.
2016-10-18 18:42:37 +03:00
Alexander Koshevoy e5369e242f PY-17447 DebuggerFactory introduced to ease the construction of PyDebugProcess 2016-10-18 18:42:36 +03:00
Alexander Koshevoy a102bae9c7 PY-17447 New command CMD_PROCESS_CREATED added to notify IDE that new subprocess is created 2016-10-18 18:42:36 +03:00
Alexander Koshevoy c85d8147b6 PY-17447 Connection and message transport logic extracted from RemoteDebugger 2016-10-18 18:42:35 +03:00
Vassiliy.Kudryashov ee38af806b Revert: Disposing popup corrupts appearing popup 2016-10-18 18:39:35 +03:00
Rustam Vishnyakov c5468a8064 Annotate with @NotNull (EA-86553) 2016-10-18 18:37:12 +03:00
Alexey Kudravtsev 868b9dc99f followup to IDEA-CR-14686: moved FailedTestDebugLogConsoleFolding to devkit 2016-10-18 18:33:07 +03:00
Alexey Kudravtsev 97da2243b3 reverted 2016-10-18 18:33:07 +03:00
Vladimir Krivosheev f71c92d9d2 path macro: skip findStrings/replaceStrings in the FindInProjectSettingsBase component configuration 2016-10-18 17:27:47 +02:00
Vladimir Krivosheev 85bc7fab74 cleanup 2016-10-18 17:27:46 +02:00
Vladimir Krivosheev 84a78bea86 cleanup 2016-10-18 17:27:45 +02:00
Roman Shevchenko 4334c89285 [build] ASM repackaging script usability improvements 2016-10-18 17:15:05 +02:00
Yaroslav Lepenkin 9939b9e571 [Parameter Name Hints] "Add to blacklist" intention available on literal param 2016-10-18 18:08:36 +03:00
Yaroslav Lepenkin 112fc8edf3 [Parameter Name Hints] minor settings cosmetics 2016-10-18 18:08:36 +03:00
Yaroslav Lepenkin 45bce36692 [Parameter Name Hints] show for binary and polyadic expressions 2016-10-18 18:08:36 +03:00