Commit Graph

46 Commits

Author SHA1 Message Date
Ivan Kravets 49960b257d Implement fs.calculate_file_hashsum 2020-05-28 16:07:02 +03:00
Ivan Kravets ae57829190 Generate user agent based on PIO Core environment 2020-04-10 17:59:58 +03:00
Ivan Kravets decf482367 Use io.DEFAULT_BUFFER_SIZE as default chunk size 2020-01-24 22:05:24 +02:00
Ivan Kravets 253e4b13b5 Disable buffering file calculating checksum for downloaded file 2020-01-24 21:40:12 +02:00
Ivan Kravets 04ca6621f1 Verify downloaded package checksum with native Python's hashlib and support all OS 2020-01-24 20:43:05 +02:00
Ivan Kravets 7e41841a74 Allow to call Downloader API in silent mode 2020-01-11 15:23:36 +02:00
Ivan Kravets 7c41c7c2f3 Introduce Black to automate code formatting 2019-09-23 23:13:48 +03:00
Ivan Kravets 37653d8446 Better decoding SCons arguments 2019-06-03 13:57:58 +03:00
Ivan Kravets 61db0f1d6a YAPF 0.27.0 2019-05-30 23:42:15 +03:00
Ivan Kravets 971049b41c Move process related helpers to "proc" module 2019-05-16 21:03:15 +03:00
Ivan Kravets 834206ff20 Move Python or Platform dependent code to "compat" module 2019-05-10 17:26:10 +03:00
Ivan Kravets eab2fd91fd Lowercase SHA sum for package manager 2019-04-25 12:49:22 +03:00
Ivan Kravets a60c57ac58 Initial support for Python 3.5+ // Resolve #895 Resolve #1365 2018-12-26 20:54:29 +02:00
Ivan Kravets 2fb8128791 YAPF 2018-06-02 16:14:58 +03:00
Ivan Kravets 59fe190f20 Better handling of VSCode Terminal IOError 2018-04-05 22:10:28 -07:00
Ivan Kravets e0fc44aa42 Reinit download session when IOError 2018-04-05 13:08:23 -07:00
Ivan Kravets e7b5a14e11 Temporary workaround for VSCode's "IOError: PackageManager" issue 2018-04-05 11:06:23 -07:00
Ivan Kravets e615e7529e Fix issue with downloader when dependency URL ends with "/" 2018-01-24 14:34:08 +02:00
Ivan Kravets fd0b45afdb Use short version of a link for IOError exception 2017-12-15 02:42:38 +02:00
Ivan Kravets 0bd103a46d YAPF 2017-12-14 22:01:59 +02:00
Ivan Kravets a632583f89 Catch IOError for VSCode Terminal 2017-12-14 20:05:06 +02:00
Ivan Kravets b670ab4888 Initial support for non-ascii locales 2017-11-02 23:14:32 +02:00
Ivan Kravets f4c6919800 Don't verify SSL certificates for Python < 2.7.9 2017-09-05 14:23:49 +03:00
Ivan Kravets 4d1a135d76 Apply YAPF 2017-06-05 16:05:05 +03:00
Ivan Kravets 45e75f7473 Copyright (c) 2014-present PlatformIO <contact@platformio.org>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
2017-06-05 16:02:39 +03:00
Ivan Kravets fe1846c2e1 YAPF formatting 2017-03-02 17:09:22 +02:00
Ivan Kravets 35cbbeb457 Fix downloader with Unicode path // Resolve #771 2016-09-12 19:54:28 +03:00
Ivan Kravets 0f300a24a1 Fix issue with archive downloader 2016-09-04 12:03:57 +03:00
Ivan Kravets a05d192beb Implement installing packages/libraries from different archive (with/without manifests) // Resolve #767 2016-09-04 00:35:47 +03:00
Ivan Kravets 87d0ead203 Format code with pep8 style 2016-08-03 23:38:20 +03:00
Ivan Kravets 0c9d539a92 Update copyrights 2016-08-03 22:18:51 +03:00
Ivan Kravets 9a1f1ddb8b Allow to install development platform from local directory // Issue #479 2016-05-26 22:33:17 +03:00
Ivan Kravets d83b1280ed Fix "KeyError: 'content-length'" in PlatformIO Download Manager // Resolve #591 2016-03-22 22:03:51 +02:00
Ivan Kravets 0cecd955c5 Allow to disable progress bar for package/library downloader and uploader 2016-01-24 16:45:04 +02:00
Ivan Kravets fdff35e31c Fix package "shasum" validation on Mac OS X 10.11.2 // Resolve #429 2016-01-03 17:45:49 +02:00
Ivan Kravets 19f1ccd0df 🎄 Happy New 2016 Year! 🎄 2016-01-01 20:51:48 +02:00
Ivan Kravets 904b08f497 Add Apache License, Version 2.0 to @PlatformIO source code 2015-11-18 17:16:17 +02:00
Ivan Kravets 06baa98823 Fix "ConnectionError" when PlatformIO SF Storage is off-line 2015-05-28 13:44:10 +03:00
Ivan Kravets 9560a665e5 Better detecting of Continuous Integration system 2015-05-23 18:36:11 +03:00
Ivan Kravets a1cc5f4282 Fix invalid import 2015-05-18 19:28:35 +03:00
Ivan Kravets afdc28df80 Disable progress bar for Continuous Integration Systems 2015-05-18 19:22:42 +03:00
Ivan Kravets cd842d5a86 Put UserAgent for all http requests 2015-04-29 18:17:14 +01:00
Ivan Kravets 2ac6d63ffc Fix Python 2.6 support 2015-02-23 11:50:14 +02:00
Ivan Kravets 7f918da87d Fix SHA1 package verification under Cygwin Env. Resolve #26 2014-11-21 18:13:02 +02:00
Ivan Kravets bd3e0a9075 Minor fixes; full support of Windows 2014-06-11 21:31:36 +03:00
Ivan Kravets 937c38a7b7 Added platforms frame logic; implemented "install" and "run" commands 2014-06-07 13:34:31 +03:00