Cristian Maglie
d72cb2350d
Renamed ContributedLibraryReference to ContributedLibraryDependency
2019-07-18 10:37:36 +02:00
Cristian Maglie
f58f8d3c4b
Fix NPE crash after installing a library with invalid version
...
Fix #7917
2018-08-28 16:07:35 +02:00
Cristian Maglie
86217a4fb4
Slightly refactored VersionComparator (WIP 2/3)
2018-08-28 16:07:35 +02:00
Cristian Maglie
3a3bc5be84
Ignore empty "includes" field in library.properties
...
This allows to avoid empty include lines like:
#include <>
for libraries declaring:
includes=
in their library.properties file.
Fix #7854
2018-08-08 14:49:49 +02:00
Cristian Maglie
1db3aabaab
Added collector to LibraryList
2018-05-27 13:38:14 +02:00
Cristian Maglie
246cf6edd8
Added installed lib priority comparator
...
This clearly defines the usage priority for installed libraries.
2018-05-17 09:14:25 +02:00
Cristian Maglie
ac570c50bd
UserLibrary: ensure that types field is always not-null
2018-05-17 09:14:25 +02:00
Cristian Maglie
2374d9d1bd
Introducing UserLibraryFolder
...
This class allows to attach a Location property to a folder
path, this way we directly know if a library is in the sketchbook,
core, referenced-core or bundled in the IDE.
This simplify a lot of logic in the IDE.
2018-05-17 09:14:25 +02:00
Cristian Maglie
e896595214
UserLibrary doesn't extend ContributedLibrary anymore
...
ContributedLibrary is used to decode library_index.json and it's
intended to keep data coming only from the index.
Now, when the library_index is synced with the filesystem, the
metadata about installed libraries are kept in a separate list
to not mess up with the main index.
2018-05-17 09:14:25 +02:00
Cristian Maglie
8bb20e0402
Made UserLibrary.toString() more concise
2018-05-17 09:14:25 +02:00
Cristian Maglie
674419a464
Fixed a bunch of trivial javac warnings
2017-03-22 12:12:46 +01:00
Sandeep Mistry
afe204f97f
Merge pull request #4828 from facchinm/issue_4762
...
Filter examples based on contributed libraries by architecture
2016-07-19 10:00:18 -04:00
Cristian Maglie
8f20f4d98b
"Include library" now checks for includes
property
...
A new property "includes" has been added to library.properties.
This property contains a comma-separated list of the files to be included when
the user selects the "Include library" command on the Arduino IDE.
If the property is missing the old behaviour is used.
2016-06-23 13:04:56 +02:00
Martino Facchin
c28c854936
Filter examples based on contributed libraries by architecture
...
Solves #4762
2016-04-06 14:41:12 +02:00
Martino Facchin
34b0813530
try to avoid NPE if two threads modify library list
2016-04-01 12:39:01 +02:00
Federico Fissore
73e857fda9
Removed some warnings which are emitted from arduino-builder at compile time
...
Fixes #4177
2015-11-18 09:40:04 +01:00
Federico Fissore
a4a7e3ec96
Libraries in unknown categories get set as Uncategorized. Fixes #3732
2015-09-08 15:30:34 +02:00
Federico Fissore
59dfede5ac
Libraries with a .development file in their root are flagged as "OnDevelopment".
...
This allows users to edit and save those libraries examples: they won't be flagged as read-only any more
2015-08-05 16:26:21 +02:00
Federico Fissore
4748e9df5e
Avoid warning about SCCS folders in libraries, just ignore them. Fixes #3237
2015-05-27 11:26:00 +02:00
Federico Fissore
9191442aea
Libraries: fixed incorrect handling of null types
2015-05-19 16:26:03 +02:00
Federico Fissore
42b07f0337
Libraries bundled with cores will take the type of that core, instead of relying on an undocumented 'types' property. Fixes #2875
2015-05-19 12:24:11 +02:00
PaulStoffregen
0210c6b53a
Fix Uncategorized warning message
2015-05-13 14:00:30 -07:00
PaulStoffregen
b5367bcdbe
Advise of duplicate libraries after compiling
2015-03-30 10:24:18 -07:00
Federico Fissore
3bcbf22a2a
Libraries under "contributed" in lib menu are those that have types "contributed"
2015-03-27 14:51:20 +01:00
Federico Fissore
6e498ee5b9
LibraryManager: better type filtering
2015-03-27 14:51:19 +01:00
Federico Fissore
a1d99b9a9b
LibraryManager: category is now topic, type added to list official/contributed/recommended libs
2015-03-27 14:51:19 +01:00
Federico Fissore
b0a357f5d3
Library Manager: added Type filter dropdown
2015-03-27 14:51:19 +01:00
Federico Fissore
17d3729426
Package names refactoring: contributions is the main package, libs and cores are subpackages
2015-03-27 14:51:16 +01:00
Federico Fissore
56b9fd7d93
LibraryIndex: removed cateogories field, generating it every time
...
LibrariesIndexer: setting category to Uncategorized when missing
2015-03-27 14:51:11 +01:00
Cristian Maglie
0755c7c004
Library installer UI
2015-03-27 14:51:10 +01:00
Cristian Maglie
0b9223c158
Added Contributions for libraries
2015-03-27 14:51:10 +01:00
Cristian Maglie
ba8eadeeb5
Split IDE into 2 projects.
...
BEWARE: HIGHLY EXPERIMENTAL BRANCH
2014-11-13 16:34:24 +01:00