Commit Graph

5455 Commits

Author SHA1 Message Date
NicoHood b97b2519d1 Added missing static inline to USB Recv function 2015-08-12 17:48:17 +02:00
NicoHood 344897301c Made Magic Key Settings more flexible 2015-08-12 17:48:09 +02:00
Chuck Todd 25d81c98e4 Print not Aborting on Write() failure
Print::write(const uint8_t *buffer, size_t size) and Print::print(const
__FlashStringHelper *ifsh) would continue calling write(char) after a
failed write(char) this behavior would render returned count unuseable
see arduino/Arduino issue #3614
2015-08-12 11:47:57 +02:00
Federico Fissore cb6b2cf607 Updating Firmata to 2.4.4 2015-08-10 10:00:23 +02:00
Federico Fissore 26a3c7cd4a Got rid of ANTLR: we never used it 2015-08-10 09:35:47 +02:00
Federico Fissore 7ae21e6561 Got rid of bundled javadoc. We never updated it since forking processing. No plans to start maintaining it 2015-08-10 09:31:20 +02:00
Federico Fissore f719bae255 Update readme.md 2015-08-10 09:07:55 +02:00
Federico Fissore 879c1e1888 Merge pull request #3648 from Ramoonus/patch-2
Rename howto.txt to readme.md
2015-08-10 08:52:10 +02:00
Ramon van Belzen 36d597f93e Rename howto.txt to readme.md 2015-08-09 17:22:27 +02:00
Federico Fissore bd93add964 Update translations 2015-08-07 17:30:12 +02:00
Federico Fissore 4d93232789 Verify / Compile -> Verify/Compile. Fixes #3514 2015-08-06 16:11:30 +02:00
Federico Fissore 70fbb8b08e "Nope" is not a nice title for an error dialog 2015-08-06 15:48:14 +02:00
Federico Fissore 0a7b3d5ba8 Updated bundled reference 2015-08-06 15:09:20 +02:00
Federico Fissore 7daf13e73a Serial methods reference is located into a different folder. Work around this difference in order to make in editor help work as expected 2015-08-06 14:48:23 +02:00
Federico Fissore ae857efa78 Updating translations 2015-08-06 14:27:57 +02:00
Federico Fissore 582992caff "Library Manager" wasn't translated 2015-08-06 14:27:47 +02:00
Federico Fissore 64bf90fec4 Translations: fixed a nasty bug that prevented new translations to be included 2015-08-06 13:19:08 +02:00
Federico Fissore 119cda6dda Update revisions.txt 2015-08-06 10:30:38 +02:00
Federico Fissore 1461412049 Merge pull request #3625 from ffissore/update-notifications
Update notifications
2015-08-06 10:28:13 +02:00
Federico Fissore 5b0ad4fada Switched to I18N.tr method (_ is deprecated) 2015-08-06 10:27:51 +02:00
Federico Fissore a43757d5c3 Update notification: UX feedback 2015-08-06 10:27:51 +02:00
Federico Fissore 0bb7fd7e8b Cancelling ContributionsSelfCheck will prevent indexes from being updated.
Opening boards/libs manager when NotificationPopup is shown will close it
2015-08-06 10:27:51 +02:00
Federico Fissore 2daf330c09 LibraryInstaller and ContributionInstaller are now singletons: members of Base, they get passed to dependents, thus allowing a synchronized method execution, needed to avoid race conditions when accessing files 2015-08-06 10:27:51 +02:00
Federico Fissore dc93bb93d0 ProgressListener is now a method arg (was an instance arg) 2015-08-06 10:27:51 +02:00
Federico Fissore b3baa27435 ContributionInstaller.onProgress is now a collaborator: ProgressListener 2015-08-06 10:27:51 +02:00
Federico Fissore c61c39f5d9 Canceling self check timer when opening boards/libs manager 2015-08-06 10:27:51 +02:00
Federico Fissore f9612bcdbd Updatable boards support and libraries notification 2015-08-06 10:27:51 +02:00
Federico Fissore b68cf12758 Boards manager: when filtering result using text field, consider both core name AND supported boards names 2015-08-05 17:33:55 +02:00
Federico Fissore 4967a1135e Update revisions.txt 2015-08-05 17:02:57 +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 52fd3845ca Working on how sketches are marked readonly.
Initial refactorings: stopped using static members (static is evil)
2015-08-05 16:01:10 +02:00
Federico Fissore cb292d6114 Got rid of Guava lib: java 8 has its features builtin 2015-08-05 12:09:24 +02:00
Federico Fissore 50cacc1756 Got rid of Java 8 warnings about _ as a method name 2015-08-05 09:12:40 +02:00
Federico Fissore 5dd73a1828 Updating translations 2015-08-05 09:07:59 +02:00
Federico Fissore 73d6cf4de0 Merge pull request #3606 from reillyeon/for-upstream
Fix links to 3rd party hardware specification.
2015-08-04 16:01:18 +02:00
Federico Fissore 078daf7ac3 Merge pull request #3573 from agdl/basicKitRenaming
Added BasicKit name to examples folder
2015-08-04 16:00:16 +02:00
Federico Fissore db70ee5cbb Added LED_BUILTIN to keywords.txt. Fixes #3574 2015-08-03 10:19:45 +02:00
Reilly Grant a20b44801a Fix links to 3rd party hardware specification.
The number of hyphens in this URL has apparently changed.
2015-07-31 15:54:22 -07:00
Peter Van Hoyweghen 4f87112c2e Add Serial_::availableForWrite().
This makes the CDC "Serial" object on the Leonardo and similar boards
support this recently introduced method as well. The CDC code in the sam
core is not changed.
2015-07-31 14:06:20 +02:00
Matthijs Kooijman 9b7b23f045 Prevent losing bytes in HardwareSerial::end()
end() already waited for the buffer to be empty, but then there could
still be two bytes in the hardware registers that still need to be
transmitted (which were dropped or kept in the buffer, depending on the
exact timing).

This changes the wait loop to a call to the flush() function, which
already takes care of really waiting for all bytes to be transmitted,
meaning it is safe to turn off the transmitter.
2015-07-31 14:06:20 +02:00
Matthijs Kooijman b58f239400 Add Serial_::readBreak() to process SEND_BREAK requests
This allows detecting when the USB host sends a break request and what
the value of the request was. See the comments in USBAPI.h for details.

This just modifies the avr core, not the sam core.
2015-07-31 14:06:19 +02:00
Matthijs Kooijman 96f7b966bc Expose serial settings from CDC virtual serial port
This allows a sketch to find out the settings chosen by the USB host
(computer) and act accordingly.

Other than reading the DTR flag and checking if the baudrate is 1200,
the regular CDC code doesn't actually use any of these settings.

By exposing these settings to the sketch, it can for example copy them
to the hardware UART, turning the Leonardo into a proper USB-to-serial
device. This can be useful to let the computer directly talk to whatever
device is connected to the hardware serial port (like an XBee module).

The Teensy core already supported these methods. This code was
independently developed, but the method names were chosen to match the
Teensy code, for compatibility (except that `dtr()` and `rtr()` return
`bool`, while the Teensy version return a `uint8_t`).

This change is applied to both the avr and sam cores, which have a very
similar CDC implementation.
2015-07-31 13:40:43 +02:00
Peter Van Hoyweghen 044a7b78c7 Fix warnings. Use unsigned int to represent a (word) address: the compiler will use the most efficient type on each platform: 32 bit on arm,
16 bit on avr which is is big enough.
2015-07-29 21:37:04 +02:00
Peter Van Hoyweghen d271c1c8a2 BitBangedSPI::begin(): initialize levels of SCK and MOSI. Correct indentation. 2015-07-28 22:31:34 +02:00
Peter Van Hoyweghen 8d95899450 Call SPI.beginTransaction() after SPI.begin() 2015-07-28 22:26:58 +02:00
Arturo Guadalupi 8f4cd17486 Added BasicKit name to examples folder
according to #3560 I added BasicKit after 10.StarterKit. / is not allowed
2015-07-23 15:18:03 +02:00
Cristian Maglie 2659ec6faa Fixed library.properties for Mouse and Keyboard libraries 2015-07-21 16:40:18 +02:00
Cristian Maglie fb29544516 Merge tag '1.6.5-r3' 2015-07-20 15:56:15 +02:00
Cristian Maglie a3b5ab4ff7 Update revision log 2015-07-20 14:02:45 +02:00
Cristian Maglie d6c5344b67 Workaround for MacOSX gatekeeper (OSX 10.10.4)
It seems that gatekeeper now applies tighter checks on
libraries dinamically linked from executables included
in a package.

This is a workaround until a proper solution is found.

Fixes #3468
2015-07-20 14:01:54 +02:00