Squashed 'hardware/' changes from 0ce6d5d..0e2ddbe

0e2ddbe Printing NaN values as "nan" in printFloat().
6414793 Check for NULL pointer in Print.write().
dff9adc Added support for interrupt on INT2 and INT3 on the Leonardo
0ef27b0 Merge remote-tracking branch 'upstream/master'
cbcdc0a Updating SoftwareSerial pin mapping (pin change interrupts) for Leonardo.
7604f70 added pin change interrupt defines for Leonardo.  fix for broken software serial on Leonardo
dd5a553 Adding readString() and readStringUntil() to Stream (Adrian McEwen).
b5a3a6d Mouse.isPressed() now checks only for left button by default
4f3aca5 renamed Leonardo USB_ class to USBDevice_ to be unambiguous.  renamed "USB" object to "USBDevice" to prevent conflict with USB Host library (thanks Massimo)
607367a changed PID values for Leonardo bootloader and sketch
3406cec bugfix for configuring PWM on D6 and D13 too early.  (thanks to Limor Fried)
3c0484f bugfix for boards with a timer 4 but no channel D
ebab26c merged Caterina with Blink
b6bb16a fixed logic bug in Caterina that could stop the bootloader from entering self-programming mode
b738de0 Micro I hardly knew ye
f1653a2 Micro and Leonardo bootloaders for distribution are now merged with Blink sketch
886b1fd sketch USB VID and PID values are passed in from boards.txt at compile time now.  changed sketch PIDs to final values.  also uncommented Micro section in boards.txt
6ee1023 PID and VID are no longer hard-coded in bootloader.  instead they are passed in at compile-time from makefile.  also added and renamed built bootloader images for Micro and Leonardo
e939b04 Revert "Revert "added a short delay and comment to boolean operator in CDC""
bff7ad3 Revert "added a short delay and comment to boolean operator in CDC"
7327aa6 added a short delay and comment to boolean operator in CDC
16d40c0 added Boolean operators to HardwareSerial and CDC to test whether the port is ready to send data.
1d38f3e fixed logic error in Keyboard.release() - now removes every occurrence of a key if it's present more than once
2ebb06f removed horrible multi-key Keyboard.press() and Keyboard.release() methods
4d3d0bb eliminated Keyboard.type() - unnecessary duplication of Keyboard.write() (David Mellis).  Also edit KeyboardReprogram example which was the only example using type()
8864547 added methods to Keyboard to handle multiple simultaneous key presses or releases (up to six each)
94788a0 Keyboard.type() now just presses and releases the key indicated - doesn't releaseAll()
a626181 added stub methods for begin() and end() to Mouse and Keyboard
71266c6 Merge branch 'master' of github.com:arduino/Arduino into LUFA_bootloader
4c18b53 reduced delay before starting the Leonardo bootloader
5b93d9c bugfix for Caterina not starting sketch if "verify upload" turned off in IDE.
f311148 changed Caterina timeout after self-programming to 500 ms (from 250 ms)
09ed138 give Leonardo bootloader 250 ms to finish housekeeping before leaving self-programming mode
0525a5d removed old version of Leonardo's caterina bootloader, replaced with LUFA-based caterina
74474c4 Fix for some strange behaviours during board reset
1a37431 Added Keyboard support for all modifier and all common non-printing keys.
8d9c970 Removed support for key mapping in Keyboard.
619d250 added Keyboard methods press(), release(), and releaseAll()
936fcb5 Merge branch 'master' of github.com:arduino/Arduino into LUFA_bootloader
49c829f fixed minor compilation warnings for Leonardo
469816c reduced Caterina timeout to 8 seconds from 16
434944d changed auto-reset logic for Leonardo.  only do WDT manipulation if the port is opened at 1200 bps.  (Dave Mellis)
98d048a Merge branch 'master' of github.com:arduino/Arduino into LUFA_bootloader
fe65377 Autoreset 1200 bps fix.
dda458d shortened the watchdog period for resetting Leonardo from 2 s to 250 ms.  Reset into bootloader is much snappier.
d0f70c0 Merge branch 'master' of github.com:arduino/Arduino into LUFA_bootloader
a214743 Leonardo now checks whether bootloader should be run after a WDT event.
f3eb606 Changed Leonardo fuses to select longer clock startup time.
7564809 Leonardo bootloader jumps straight to sketch for a power-on reset.
47d73ae Leonardo auto-reset-and-upload changes for Windows (explanation below)
dcd1322 changed Leonardo bootloader and sketch PID values again (now 0x0701 for bootloader, 0x0801 for sketch)
d59d937 adjusting descriptors - trying to prevent sketch and bootloader from grabbing different COM numbers on Windows
e39c0b3 changed Caterina descriptors - Arduino LLC VID, new PID, manufacturer string, and serial number
eedb85f fixed bug in Caterina which caused some programming instructions to fail
ac9e4f9 increased Leonardo bootloader timeout to 16 seconds
219c791 proper bootloader timeout and LED control in Leonardo bootloader
0cb1c78 fixed starting Leonardo bootloader from sketch
5a8f781 modify boards.txt with new settings for Caterina_LUFA
9521a50 Merge branch 'master' of github.com:arduino/Arduino into LUFA_bootloader
395be48 Caterina now cleanly hands off operation to the sketch
6022480 move interrupt vector table to application section before jumping to it after upload finished.
35176d3 Leonardo bootloader checks reason for reset and jumps immediately to sketch if reset was caused by WDT
88ec90f stripped all LUFA LED control.  from LUFA-based Caterina
1193c96 changed fuses to select 4k bootloader for LUFA-based Caterina
806487d added Board/LEDs.h to LUFA-based Caterina
a817b95 superficial changes to stock LUFA CDC bootloader - renamed project, removed unnecessary files
97a39a0 initial checkin of LUFA 111009 CDC bootloader
b59bd96 made Leonardo and Micro bootloader PIDs same as sketch PIDs
f9e01b0 restored composite and non-composite device descriptors (removed in 4b05c3fc7529477fb7031d42103c15b50a6b58be)
7ff5077 reenabled HID to force Leonardo bootloader to enumerate as a composite device
b697b7c renamed DiskLoader to Caterina (after Leonardo's mom)
5d14e97 changed USB PID for Leonardo and Micro bootloaders
819326d fixed warning when comparing pgm_read_word(0) to -1 (thanks, Limor Fried and Phillip Torrone)
e892b87 got rid of u8, u16, u32 typedefs in Diskloader
7ceed16 made the bootloader's LED control macro names less offensive
11c1ceb added conditional compilation for HID, removed conditional compilation for CDC (is always used).  disabled HID by default.  also always enumerates as composite now.
6f83ec4 fix bug in handling of long descriptors for bootloader USB (thank you, Todd Krein, Limor Fried, and Phillip Torrone)
67ad111 Merge branch 'master' of github.com:arduino/Arduino into new-extension
83f0b36 reset the Leonardo board when leaving the bootloader, before starting the sketch
a1b7743 Merge branch 'master' of github.com:arduino/Arduino into new-extension
15ba656 bootloader merged with blink sketch
435b622 changed Keyboard write() method to type(). Made write() an alias for type() to allow subclassing by Stream.
1a4e20b Revert "changed Keyboard write() method to type().  Made write() an alias for type() to allow subclassing by Stream."
99c0018 changed Keyboard write() method to type().  Made write() an alias for type() to allow subclassing by Stream.
fc9417b fixed attachInterrupt() on Leonardo
a11cedb added asynchronous buffering of received CDC characters
b8700f1 fixed digitalWrite on timer 4 pins (D6 and D13)
66fee3e fix bootloader size in boards.txt - 2 kB instead of 4 kB
cea2598 fixed TIMER4 use on Leonardo

git-subtree-dir: hardware
git-subtree-split: 0e2ddbe56fa35bef912c0ce46caf7638db19c745
update hardware target from upstream
Squashed 'libraries/' changes from 1931ff5..ddb94de

ddb94de just change a comment to make more sense
0c4188b fix SPI init issues as described http://code.google.com/p/arduino/issues/detail?id=888.  Tested using qt1110 (mode 3) on a mega and WS5100 (webserver example sketch) chips on a etherten
9ae53c3 Updated SoftwareSerial examples so that they work easier with Leonardo and Mega
1feb590 Merge branch 'master' of github.com:arduino/Arduino into LUFA_bootloader
b96cb01 spell check on PachubeClientString
67cf58e Added Cosm Clients to replace Pachube Clients due to Pachube.com rebranding
3b7c851 Merge branch 'master' of github.com:arduino/Arduino
bc8817a Servo bug that would sometimes cause skipping.
3f0595c Merge pull request #70 from johannrichard/ethernet-close_wait
af8588d Merge branch 'master' of github.com:arduino/Arduino into LUFA_bootloader
2a6108c Update to WebClientRepeating comments
6816ca9 Added WebClientRepeating example
db13f95 Removed Serial.begin() inside examples where not needed
e5b47ff updated URLs in LiquidCrystal examples
7d1f132 Updated all comments for while (!Serial) additions to serial-based examples
6a8a331 Fix for CLOSE_WAIT Bug
1e92dae Updated all serial in setup examples with a note about the serial check
338f2df Added Serial port check to all examples using Serial statements in the setup
dfd47b8 Merge branch 'master' of github.com:arduino/Arduino into LUFA_bootloader
44d4048 Merge branch 'master' of github.com:arduino/Arduino into LUFA_bootloader
b7e0c83 Merge branch 'master' of github.com:arduino/Arduino into LUFA_bootloader
527ec1c Merge branch 'master' of github.com:arduino/Arduino into LUFA_bootloader
1910706 Merge branch 'master' of github.com:arduino/Arduino into LUFA_bootloader
75f9e0b Merge branch 'master' of github.com:arduino/Arduino into LUFA_bootloader
e8c03ce Merge branch 'master' of github.com:arduino/Arduino into new-extension
efb13bc Merge branch 'master' of github.com:arduino/32U4 into new-extension
6910532 Fixing ethernet library on Leonardo (correcting SS pin for 32U4).

git-subtree-dir: libraries
git-subtree-split: ddb94de9afe95374d52a800ae679fe28e7f5e01e
update libraries target from upstream
Updated Spanish translation