1
0
mirror of https://github.com/arduino/Arduino.git synced 2024-11-29 10:24:12 +01:00
Commit Graph

7008 Commits

Author SHA1 Message Date
Mattia Bertorello
a7d395f45e
Add cache.json file and improve stability 2019-07-03 15:29:42 +02:00
Mattia Bertorello
00818af181
Refactoring HttpConnectionManger and request-id 2019-07-03 15:27:50 +02:00
Mattia Bertorello
5157688590
Split download and check signature, add check signature to library index 2019-07-03 15:26:57 +02:00
Mattia Bertorello
2596ecee28
Add log4j configuration 2019-07-03 15:25:48 +02:00
Mattia Bertorello
53be417989
Add log4j dependencies 2019-07-02 16:10:12 +02:00
Mattia Bertorello
207128db91
fix the misleading exception throw on windows
- The file will be close before delete it
- Some refactoring of the downloader cache
2019-06-29 18:16:59 +02:00
Mattia Bertorello
934df81b23
Add slf4j option to show the datetime in the logs 2019-06-28 18:22:27 +02:00
Mattia Bertorello
d3e712232b
Convert CircularRedirectException in IOException 2019-06-28 17:52:31 +02:00
Mattia Bertorello
e6f09123bc
Remove notNull annotation that failed the build 2019-06-28 17:49:05 +02:00
Mattia Bertorello
d089323342
Fix possible empty files during the download of the package index 2019-06-28 17:44:17 +02:00
Mattia Bertorello
8ca093b945
Add slf4j, optimize some code and fix reported lint problem 2019-06-28 13:02:50 +02:00
Mattia Bertorello
6592c42dcf
Add the file downloader cache to make faster the library/boards manager 2019-06-28 09:02:21 +02:00
Martino Facchin
00a7546fb4
Merge pull request #8857 from facchinm/allow_no_hw_folder
Fix NPEs if no hardware core is installed
2019-05-21 09:29:17 +02:00
Dario Pennisi
fecc311b5e
Merge pull request #6681 from per1234/issue-template
Add an issue template that is a reminder to read the Contributing Rules
2019-05-07 16:53:41 +02:00
Dario Pennisi
0119fe3ea4
Merge pull request #6357 from per1234/improve-contribution-guidelines
Improve CONTRIBUTING.md
2019-05-07 16:53:19 +02:00
Martino Facchin
d518d7683c Fix NPEs if no hardware core is installed
Fixes #8229
2019-05-06 15:10:42 +02:00
per1234
5008ca745c Remove mention of Playground being a publicly editable wiki from CONTRIBUTING.md
Arduino decided to make the Arduino Playground read only, so it is no longer possible for people to edit it directly. They will now need to report issues or suggestions for improvement to the arduino/Arduino issue tracker so that someone with edit privileges can make the required changes.
2019-04-24 03:49:45 -07:00
Martino Facchin
c3675a8bef Linux: fix icon permissions if installed via sudo 2019-04-18 11:52:59 +02:00
Martino Facchin
6b770d0190 Fix UpdateTextAreaAction test 2019-04-18 11:15:58 +02:00
Martino Facchin
baeb4c63a7
Merge pull request #8669 from artynet/arduino-linux-setup-refresh
updating arduino-linux-setup.sh script to release v10
2019-04-18 10:05:31 +02:00
Martino Facchin
e92d5948fe
Merge pull request #8672 from Pieter12345/contextual-menus
Add contextual menus to input fields
2019-04-18 10:00:19 +02:00
Martino Facchin
eb48db2eec
Merge pull request #8682 from Pieter12345/ant-build-bugfix
Replace "unzip/tar" in build.xml by Ant's provided unzip/untar method
2019-04-18 09:47:54 +02:00
Martino Facchin
9bb8fc3755
Merge pull request #8764 from sandeepmistry/wifi101-updater-v0.10.8
Update WiFi101-Updater plugin to 0.10.8
2019-04-18 09:45:51 +02:00
Martino Facchin
ad69480ce1
Merge pull request #8781 from MrMebelMan/fix_linux_build_symlink_error
Linux build: remove symlinks only if they exist
2019-04-15 10:47:30 +02:00
Vladyslav Burzakovskyy
8cff0dbef4 Linux build: remove symlinks only if they exist 2019-04-12 21:55:13 +02:00
Sandeep Mistry
723a29fbb0 Update WiFi101-Updater plugin to 0.10.8 2019-04-09 12:29:02 -04:00
Cristian Maglie
72330aaddd Fix .classpath: commons-lang3-3.3.2 -> commons-lang3-3.8.1.jar 2019-04-02 16:36:08 +02:00
Martino Facchin
26f428384b Preferences: remove outdated preferences 2019-04-02 16:20:58 +02:00
Martino Facchin
4c8ac04727 Preferences: allow smaller window since checkboxes take less space
Fixes #8238
2019-04-02 16:20:58 +02:00
Martino Facchin
b1253e2f0a Preferences: arrange checkboxes into two columns 2019-04-02 16:20:58 +02:00
Mattia Bertorello
eb055cc4c0 Add user agent in the connection to api-builder.arduino.cc/builder/v1/boards/ 2019-04-02 15:32:37 +02:00
Martino Facchin
05de5c9593 Follow symlinks when saving sketch
Fixes #8535
2019-04-02 15:05:08 +02:00
Martino Facchin
96e7bc29fc Use tar native binary for extraction on unix
To overcome ant untar behaviour (executable bits being lost)
2019-03-29 02:55:48 +01:00
Pieter12345
afbf75651f Remove default excludes for Ant directory tasks
Besides that these default excludes get ignored when using the Cygwin terminal on Windows, they cause Ant move tasks to not remove the 'moved' directory if it contains a `.gitignore`  or other default exclude file.
2019-03-29 02:55:48 +01:00
Pieter12345
126c79a3ed Replace "unzip/tar" in build.xml by Ant's provided unzip/untar method
Replace the "unzip" and "tar" command used while building Arduino by the unzip and untar method that Ant provides.
This fixes #8617, meaning that "ant run" will work again and no files/directories are created with weird permissions and share names anymore.
2019-03-29 02:55:48 +01:00
Pieter12345
941050ecf0 Add contextual menus to input fields
- Add contextual menus to text-based monitors (serial / network monitor).
- Add contextual menu to installer dialog search filter fields (library manager / contribution manager).
- Make installer dialogs focus the search filter field on window-open. This prevents pastes from ending up elsewhere in the case that they are performed before the field has been focussed at least once.
Fixes #8423.
2019-03-29 02:26:41 +01:00
Sandeep Mistry
a87024dcd4 Update WiFi101-Updater plugin to 0.10.7 2019-03-27 11:56:10 -04:00
Pieter12345
933bbb3a39 Fix CommandLineTest.testCommandLineVersion() on Windows
Fix CommandLineTest.testCommandLineVersion() failing on Windows due to Runtime.exec() returning `\r\n` line endings where the test expected `\n` line endings.
2019-03-26 18:46:09 +01:00
Pieter12345
442007a926 Remove unused FileUtils methods
Remove unused FileUtils methods without obvious use case or for which a replacement exists in the Files or File class.
2019-03-26 18:46:09 +01:00
Pieter12345
4c2fca6457 Replace some FileUtils calls with direct methods
Not wrapping these calls in FileUtils methods makes the code cleaner and easier to understand (FileUtils is very poorly documented, whereas direct calls contain proper documentation).
2019-03-26 18:46:09 +01:00
Pieter12345
e2d2998075 Fix MergeSketchWithUploaderText failing under Windows
When having "autocrlf=input" (as described in the Building Arduino guide), the `.hex` files used in the test will be a different size due to the test expecting `\n` and git cloning as `\r\n`. This commit fixes this issue by removing cariage returns before running the test.
2019-03-26 18:46:09 +01:00
Pieter12345
6d9dd975be Remove StringUtils class
The functionality in this class has been replaced with the Apache commons.lang3 dependency.
2019-03-26 18:46:09 +01:00
Pieter12345
09e466a4a2 Replace StringUtils.join() with library call
Use Apache commons.lang3 instead of own implementation.
2019-03-26 18:46:09 +01:00
Pieter12345
a08908a90f Replace StringUtils.stringContainsOneOf() with library call
Use Apache commons.lang3 instead of own implementation.
2019-03-26 18:46:09 +01:00
Pieter12345
e6e10cdeb9 Update commons-lang3 from 3.3.2 to 3.8.1
Updated due to new API methods than can be useful for this project.
The license remained the same.
2019-03-26 18:46:09 +01:00
Pieter12345
91c262dc0e Replace SSHUploader file filter
- The file names in FILES_NOT_TO_COPY are full names and not partial names, so the check should not check if a file name contains such a name, but rather whether a file name fully matches such a name.
- Replaced the FILES_NOT_TO_COPY by a HashSet since this provides O(1) lookups, rather than O(n) lookups where n is the size of the set.
2019-03-26 18:46:09 +01:00
Pieter12345
61bbc382b5 Move editor font resize listener code to Base
- Move editor font resize listener code to the Base class.
- Cache and share the same listener for all components.
2019-03-26 17:18:11 +01:00
Pieter12345
3aa81b0a89 Add CTRL +/-/scroll shortcuts to adjust editor console font size
Add CTRL +/- and CTRL scroll shortcuts to increase/decrease editor console output text size. This font size is shared with the editor and serial/network monitor. Adjusting the font size on any of these will update them all.
Partially fixes #8615.
2019-03-26 17:18:11 +01:00
Pieter12345
91fc80ba69 Properly update editor console font size on change
Make the editor console font properly update with editor font size changes. Before this commit, only newly added text would have an adjusted size, making it possible to have multiple text sizes in the editor console.
2019-03-26 17:18:11 +01:00
Pieter12345
e3f129a0ee Fix compiler/IDE warnings in monitor classes + Code cleanup
No functional changes:
- Fix compiler/IDE warnings in monitor classes.
- Replace listeners to use lambda classes where convenient in monitor classes.
- Code cleanup.
2019-03-26 17:18:11 +01:00