Commit Graph
155 Commits
Author SHA1 Message Date
Ekaterina Tuzova 4e66e64a90 PY-13328 Create New Project: warning about installing template packages is not shown 2016-05-26 17:36:55 +03:00
Semyon Proshev e84e97c97b Support multiline requirements in requirements.txt parsing 2016-05-24 17:29:59 +03:00
Semyon Proshev 3b5c62bf95 Support per-requirement overrides in requirements.txt parsing 2016-05-24 17:29:59 +03:00
Semyon Proshev ef15b9b3d7 Parse requirements with --src option 2016-05-24 17:29:59 +03:00
Semyon Proshev 1ba497832a Make some renamings in PyRequirement for better reading 2016-05-24 17:29:58 +03:00
Semyon Proshev 1ef3192231 Simplify PyRequirement constructors 2016-05-24 17:29:57 +03:00
Semyon Proshev fb0a913708 Implement and use PyRequirementVersionNormalizer: PEP-0440/normalization 2016-05-24 17:29:57 +03:00
Semyon Proshev 6a23d15978 PyRequirement: implement parsing of PEP-508 and PEP-440 requirements 2016-05-24 17:29:57 +03:00
Semyon Proshev cdf6f7a26c Updated tests for PyRequirement: there are tests for requirement names, versions and extras. All previous tests have been saved but some of them were reworked and integrated into new ones. 2016-05-24 17:29:56 +03:00
Semyon Proshev 47b7d1b439 PyRequirement: implement parsing of vcs urls 2016-05-24 17:29:56 +03:00
Semyon Proshev ebea6721aa Move enum and static class from PyRequirement to upper level to special package 2016-05-24 17:29:56 +03:00
Anna.Kozlova 43673ee4bd block lambda -> expr lambda 2016-05-24 12:27:58 +02:00
Anna.Kozlova 36ee7203f6 anonym -> lambda 2016-05-18 12:04:12 +02:00
peter 3beec9ace3 remove unnecessary invokeLater from ConfigureTemplateDirectoriesAction 2016-04-25 11:08:38 +02:00
Semyon Proshev c83a2cf81f PY-18543 Fixed: Package requirements.txt does not respect pip -rfilename.txt (with no spaces between -r and filename.txt)
Update regex for recursive requirement to support case when there is no spaces between -r and filename
2016-03-23 19:22:12 +03:00
Alexey Kudravtsev 47e9533a1b replaced with StringUtil.trimStart/trimEnd 2015-12-08 17:06:17 +03:00
Ilya.Kazakevich 2e8d9b3570 Use cache only when looking for packages in remote SDK 2015-12-04 18:09:21 +03:00
Ekaterina Tuzova 51cc16fa13 fixed PY-17789, PY-17777, PY-17723
Do not store sdk cache before it's setup, clear package cache on sdk editing
2015-11-25 16:49:39 +03:00
Ekaterina Tuzova 485008a4e1 fixed jinja2 detection on creating new project 2015-11-10 19:06:04 +03:00
Valentina Kiryushkina ae5b32ca43 Pass project sdk to PythonProjectGenerator#beforeProjectGenerated 2015-10-07 17:48:24 +03:00
Ilya.Kazakevich ba906802b3 PY-17055 FileReference#reparse API changed 2015-10-03 02:29:06 +03:00
Ekaterina Tuzova 55dacfeb3a added initial conda support 2015-09-28 16:52:04 +03:00
liana.bakradze 416895110e PY-13275 Mark directory as template works differently in Project tool window and Project structure 2015-09-28 08:15:40 +03:00
Ekaterina Tuzova 89be2c4520 minor typo 2015-09-23 19:41:02 +03:00
Dmitry Trofimov f0753d053c Merge branch 'master' into traff/zip_helpers
# Conflicts:
#	platform/util/src/com/intellij/openapi/util/BuildNumber.java
#	python/ipnb/src/org/jetbrains/plugins/ipnb/configuration/IpnbConnectionManager.java
2015-08-31 23:10:02 +02:00
Ekaterina Tuzova 4ad0aca7ac added extension to run some action before project generated 2015-08-03 14:19:12 +03:00
Dmitry Trofimov 8dc480c2e2 Python console execution refactoring. Occasionally fixes PY-13041 2015-07-31 00:18:04 +02:00
Ilya.Kazakevich d6b3ff688f Assuming language is null in case of None (for PY-16049) 2015-05-29 22:10:41 +03:00
Ilya.Kazakevich d8b367bec6 Always take indent settings from underlying language for any python template, so Django, Jinja2, mako and others use HTML indents. (see PY-15974) 2015-05-23 01:34:10 +03:00
Ilya.Kazakevich 0d06067329 PY-14977 PyCharm is not obeying my file specific code style for HTML
Django Templates do not have HTML as base language anymore. Instead, they use DjangoTemplateFormatter.getTemplateDataLanguage() which is much better.

Indents are provided via EP DjangoFileIndentOptionsProvider.
2015-02-25 22:31:53 +03:00
Ilya.Kazakevich 30a865dacb PY-14977 PyCharm is not obeying my file specific code style for HTML
BaseLanguage is HTML, not Django now
2015-02-21 01:53:07 +03:00
Ilya.Kazakevich d3c52d849d PY-13986 View -> Open In Browser unavailable for Django projects
Refactored: useless iface HtmlCompatibleLanguage removed due to Krivosheev request: UrlProvider is now used.
2014-12-23 21:50:04 +03:00
Ilya.Kazakevich 34868589ed PY-13986 View -> Open In Browser unavailable for Django projects 2014-12-04 21:48:25 +03:00
Ilya.Kazakevich 6fbd869772 PY-12564 Django: Template directories auto-configuration is missing on opening existing project
PY-12876 Jinja2 Unresolved template reference
2014-11-27 15:03:17 +03:00
Dmitry Trofimov e521c513d7 Both setter and getter should start with word 'add' 2014-11-24 21:41:47 +03:00
Andrey Vlasovskikh e083779793 Updated copyright 2014-10-16 17:56:38 +04:00
Andrey Vlasovskikh bf58d9d3ca Added copyright 2014-10-16 17:54:28 +04:00
Andrey Vlasovskikh 004d6cf844 New package operation failure dialog 2014-09-30 17:35:47 +04:00
Andrey Vlasovskikh f249aa6e8d Pass stdout and stderr to PyExecutionException 2014-09-29 17:56:31 +04:00
Andrey Vlasovskikh 0cb60b64b8 Renamed PyExecutionException.getReturnCode() to getExitCode() for consistency with ProcessOutput 2014-09-29 16:53:55 +04:00
Andrey Vlasovskikh 82dc5b88c3 Restored "Install packaging tools" fix when there is no 'setuptools' installed 2014-09-29 16:41:30 +04:00
Andrey Vlasovskikh 161ab68985 PyPackageManager.hasManagement() throws exceptions with PyExecutionFix for launching Vagrant 2014-09-23 17:33:19 +04:00
Andrey Vlasovskikh c669ff8ce8 Renamed PyExternalProcessException to PyExecutionException 2014-09-23 17:06:13 +04:00
Andrey Vlasovskikh 00cdaa2b96 Added getFixes() to PyExternalProcessException instead of withHandler()
These exceptions and fixes are now used for displaying notifications in
the notification area of the package management panel.
2014-09-23 17:05:44 +04:00
Andrey Vlasovskikh f4d21231ee Cause is used only in the message passed to the constructor of PyExternalProcessException 2014-09-22 19:02:05 +04:00
Andrey Vlasovskikh 90fdcf3276 Use ExecutionException in signatures instead of more specific PyExternalProcessException 2014-09-22 18:36:13 +04:00
Andrey Vlasovskikh 03451a3c05 Updated pip and setuptools, added legacy versions for Python 2.4-2.5 (PY-13244) 2014-09-17 15:44:18 +04:00
Andrey Vlasovskikh 91316d7265 Added the ability to cancel Python package management operations 2014-09-16 16:10:49 +04:00
Andrey Vlasovskikh 9b3ec77c0b Removed unused code 2014-09-10 20:05:38 +04:00
Andrey Vlasovskikh 93d65d3aa5 Inlined PyPackageManager.showInstallationError() 2014-09-10 18:42:53 +04:00