Enable user to change the I2C clock frequency by calling setClock in the Wire library
fix comments on spaceship example

The comments explaining the if..else part were mistaken.
Merge pull request #2042 from jaimeiniesta/patch-1

fix comments on spaceship example
Modified Keyboard Reprogram example

Updated to reflect changes with how the IDE creates new blank sketches.
Fix comment typo
Remove unneeded register and ISR names in HardwareSerialx.cpp

Before, HardwareSerial1+.cpp were a copy of HardwareSerial1.cpp with all
0's replaced by the corresponding number. This would mean that e.g.
the Serial1 object would use the UBRRL register instead of UBRR1L when
it was defined, or the USART_RX_vect instead of USART1_RX_vect.

In practice, this would neve actually cause problems, since:
 - No avr chip currently has both the non-numbered registers as well as
   numbered registers.
 - HardwareSerial.h would only define HAVE_HWSERIALx when the
   corresponding numbered register is defined (except for
   HAVE_HWSERIAL0, which is also defined when the unnumbered registers
   are present).

Furthermore, before both the UARTx_xx_vect and USART_x_xx_vect was used.
Looking at the include files, only UART1_xx_vect is actually used (by
iom161.h), the others use USARTx_xx_vect. For this reason,
HardwareSerial1.cpp keeps the preprocessor conditional to select either
UART or USART and the other files use USART unconditionally.

While we're here, also fix the compiler error message when no valid ISR
name was found (it previously said "for the first UART" in all cases).
Match return value to type in available()
Updated Blink

removed the variable “led” and added some additional descriptive text
acording to the docs HttpClient::ready should return the inverse of Process::running()
Merge pull request #2066 from manuel-rabade/fix-httpclient-ready

Fix HttpClient::ready() return value
Unescape special characters in dependency files

When a path contains spaces (or other special characters, probably), gcc
escapes them with a \ in the generated .d files. This previously caused
problems when parsing these files, causing recompiles to happen even
when not needed.

This applies a rather simple approach to unescaping these strings, which
seems to be sufficient because the file format of the .d files is so
predictable (e.g., we don't actually split on colons or spaces when
parsing it).
Updated revisions.txt
Support TIMER1C

Some devices, such as the atmega2560 or the atmega256rfr2 have a timer1c
output. It seems this output is not connected to anything on the Arduino
Mega, but this allows using it on third party hardware nonetheless.
Merge pull request #2074 from matthijskooijman/ide-1.5.x-dep-spaces

Unescape special characters in dependency files
Adds parameter "-k" to every way of calling curl, hence allowing
calling https URLs without checking for the validity of SSL
certificates.
While this makes it a little insecure, nothing else can be done
while keeping the HTTPClient API simple: openwrt does not have a
SSL certificates bundle
Advanced users concerned about security should call "curl" on
their own using Process, supplying parameters such as "--cacert"
Fixes #1860
Added [no]checkSSL method that sets an "insecure" boolean flag.
If insecure, "-k" parameter is added to curl and SSL certificates
are not checked
Merge pull request #2084 from arduino/ide-1.5.x-httpclient-allow-https

Allows HttpClient to call https urls
Fix for Due Wire library

Fix reading and use of TWI status register.
Also, update endTransmission to be compatible with original & give more
useful return.
Fix idle level when initializing a inverted SoftwareSerial

Previously, when SoftwareSerial was initialized, it would always be set
to an idle level of HIGH, even when inverted logic was enabled. Once a
byte is transmitted, the idle level gets correctly set to LOW instead.
This commit makes sure that the idle level is correct directly after
initialization already.

This fixes #1361.
Merge pull request #2090 from jenscski/master-fix-1361

Bug in SoftwareSerial when using inverse logic