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

6918 Commits

Author SHA1 Message Date
Cristian Maglie
1a576dd468 Fixed wrong keybinding for "Increase Font Size"
See https://github.com/arduino/Arduino/issues/6806#issuecomment-335044967
2018-08-15 00:11:41 +02:00
Cristian Maglie
4b59dbae24 Removed unused function 2018-08-14 22:01:04 +02:00
Cristian Maglie
60146b3d7d Fixed unused import warnings 2018-08-14 22:01:04 +02:00
Cristian Maglie
2f6d2112cf Simplified overly complicated error handling in PApplet.createWriter 2018-08-13 20:19:25 +02:00
Cristian Maglie
9eeb79fed4 Do not crash if preferences.txt can't be written 2018-08-13 20:19:25 +02:00
Cristian Maglie
99fe051c4a Added preferences.txt option to disable preferences save
Fix #5668
2018-08-13 20:19:25 +02:00
Cristian Maglie
daefdc9d7d Updated translations 2018-08-10 11:17:38 +02:00
Cristian Maglie
8fd17d44a7 Fixed error message 2018-08-10 11:05:08 +02:00
Cristian Maglie
62511c0889 Fixed error message 2018-08-10 11:01:06 +02:00
Cristian Maglie
bd770ae949 Updated translations 2018-08-10 10:56:19 +02:00
per1234
19bfd2ada9 Correct messages re: sketch/library folder name restrictions
- Specify that library name error is about folder name.
  - We would normally expect "library name" to mean the "fancy name" (as defined by the library.properties name field).
- Specify exactly which characters are allowed.
- State that spaces are prohibited in sketch folder name.
- Remove outdated message about library folders not being allowed to start with a number.
  - This restriction was removed by 4545283ae7.
- State library folder name length restriction.
- Make sketch and library messages consistent with each other.
2018-08-10 10:53:15 +02:00
Cosimo Cecchi
677e0508d4 appdata: add OARS 1.1 content rating tags
See https://hughsie.github.io/oars/
2018-08-10 10:52:25 +02:00
Cosimo Cecchi
c4d471fe80 appdata: add releases tag 2018-08-10 10:52:25 +02:00
Cosimo Cecchi
b692d89116 appdata: add project_license tag
Use LGPL-2.1 as per the license.txt file.
2018-08-10 10:52:25 +02:00
Jose Juan Juarez Monsivais
9d904dad31 Fixed the bug that doesn't updates the title when an example sketch is saved 2018-08-10 10:50:43 +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
Martino Facchin
b5f759bdca Update bundled linuxarm toolchain to proper package 2018-07-20 09:51:38 +02:00
Martino Facchin
f2b9328d30 Fix build by restoring onIndexesUpdated override 2018-07-19 10:08:32 +02:00
Martino Facchin
0ee0fcc018 [Lib manager] Fix only member being rendered incorrectly if filter active and update/install 2018-07-18 14:31:17 +02:00
Martino Facchin
b1b609e610
Fix ant distrib with revision.check=enforce
The regex code was adding an EOL after the actual AVR core version
2018-07-11 16:53:18 +02:00
Martino Facchin
ee1967cd53 update arduino-builder to 1.4.0 2018-06-12 10:41:45 +02:00
Martino Facchin
fa51a39b58 Fix SerialMonitor and SerialPlotter lifecycles
Fixes #7683

When the selected serial port is busy both monitors now avoid displaying a useless window, cleaning the status area once the open succeeds.
2018-06-12 10:41:45 +02:00
per1234
8b11b58753 Replace boolean type with bool in examples
This is part of a move to encourage use of the standard bool type over Arduino's non-standard boolean type alias.
2018-05-30 04:30:13 -07:00
Cristian Maglie
0a84ac2138 Fixed eclipse .classpath 2018-05-27 16:27:58 +02:00
Cristian Maglie
1db3aabaab Added collector to LibraryList 2018-05-27 13:38:14 +02:00
Cristian Maglie
a76588cf5d Added newline at the end of --version output
See #7549
2018-05-22 17:48:29 +02:00
Yohsuke FURUTA
24029c5ace CLI: Add --version to CLI option (#7549)
* CLI: Add --version to CLI option

I added to get the Arduino IDE version from the command line
It will allow to check easily if the new Arduino is already installed.

This feature makes it easier to build external systems linked to specific versions of Arduino.

1. I added `--version` action, which shows version name and exit
  1. Currently, VERSION_NAME_LONG (like `1.8.5`, `1.9.0-beta`, `1.8.6 Hourly Build XXX`, etc...) is used. Because I want to know its version number and stable/beta/hourly.
  2. Finish with `0`. Because it is `SUCCESSFLLY FINISHED`.
2. Updated man page.

* Split "parse" and "action".
Move print action to probably suitable place.

This commit will fix the behavior of multiple actions about --version.

* add testcase
2018-05-22 17:46:11 +02:00
Cristian Maglie
60021c1e63 Library search now works also for headers (.h) provided by libraries
Fixes #7604
2018-05-22 16:28:52 +02:00
Cristian Maglie
e18261f486 library manager: installed element is now displayed correctly 2018-05-22 09:53:37 +02:00
Cristian Maglie
d4a12205fa Highlight 'fatal' errors during build
Fix #7614
2018-05-21 17:01:16 +02:00
Cristian Maglie
901d8c77fe Fixed UpdatableLibrarieyTest 2018-05-21 12:04:01 +02:00
Cristian Maglie
8dd9a3e999 If a language resource is missing, fallback to system default 2018-05-21 11:28:36 +02:00
Cristian Maglie
a64d1cbeb1 Fixed Override warning 2018-05-21 11:28:09 +02:00
Cristian Maglie
b4efa5589b Moved cc.arduino.i18n.Language* classes in arduino-core project 2018-05-21 11:27:53 +02:00
Cristian Maglie
b70e876c0c Removed et_EE localization.
Fix #4747
2018-05-21 10:43:19 +02:00
Cristian Maglie
ada9e50b64 Updated translations 2018-05-21 10:39:59 +02:00
Martino Facchin
2d6e974b12 Removed useless classpaths from eclipse project file 2018-05-21 10:25:53 +02:00
Martino Facchin
397f4e81ea Fixed LibraryOfSameTypeComparator comparator 2018-05-21 10:00:47 +02:00
Cristian Maglie
77ec25de61 Fixed NPE when setting Types field in core-libraries
The core libraries may come from platforms installed inside the
"sketchbook/hardware" directory. Those platforms are not indexed
and doesn't have a category field to propagate in the core-libraries.
2018-05-21 10:00:47 +02:00
Cristian Maglie
3bce82092e Command line: added more verbosity and made output coherent 2018-05-17 09:14:25 +02:00
Cristian Maglie
8d27171b74 Fixed error in cmd-line lib installer 2018-05-17 09:14:25 +02:00
Cristian Maglie
fee5848a02 Removed no more used predicates 2018-05-17 09:14:25 +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
8fa45a3a07 Removed useless double sort
Removed also the weird LibraryByTypeComparator comparator that is no
more used.
2018-05-17 09:14:25 +02:00
Cristian Maglie
9f15b0d7ab Removed TypePredicate 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
20bc297151 Removed LibraryWithName predicate 2018-05-17 09:14:25 +02:00
Cristian Maglie
43c22686de Removed IsLibraryInstalledInsideCore predicate 2018-05-17 09:14:25 +02:00
Cristian Maglie
b3d01d8281 Moved install-related fields out of DownloadableContribution
Those fields have a slightly different meaning on each object that
extends DownloadableContribution and having them grouped in
DownloadableContribution only increase confusion in change of a
(very) tiny code reuse.

Moreover:

- the `readOnly` field has been renamed to `builtIn`
- predicates have been replaced by lambdas
- DownloadableContributionBuiltInAtTheBottomComparator has been replaced
  with a singleton instance
2018-05-17 09:14:25 +02:00
Cristian Maglie
0042a30c81 Simplified version display logic in Library Manager
- replaced the logic to check if an installed-library is a
  builtin library by reusing the same method available in
  ContributedLibraryReleases
- renamed some local vars to better reflect their contents:

  uninstalledLibraries        -> notInstalled
  uninstalledNewerReleases    -> notInstalledNewer
  uninstalledPreviousReleases -> notInstalledPrevious
2018-05-17 09:14:25 +02:00