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

1743 Commits

Author SHA1 Message Date
David A. Mellis
409da1d9c7 Adding NSHighResolutionCapable to Mac Info.plist file.
Apparently this makes things look or work better on the new MacBook Pro w/ Retina display.

http://code.google.com/p/arduino/issues/detail?id=982
2012-08-07 16:46:57 -04:00
David A. Mellis
d30bd83660 Don't generate prototypes for function that already have them. (Lars J. Nielsen)
This searches for prototypes by using the same regular expression used to search for functions definitions, but with "{}" replaced by ";".  Note that it requires the prototype to be formatted identically to the function definition (e.g. matching white-space).

http://code.google.com/p/arduino/issues/detail?id=973
2012-07-19 11:27:56 -04:00
David A. Mellis
a01657b312 Removing leftover debugging code.
http://code.google.com/p/arduino/issues/detail?id=859
2012-07-19 10:42:39 -04:00
David A. Mellis
4e657ba5e2 Automatically create sketchbook libraries/ folder and readme (Paul Stoffregen and Limor Fried).
http://code.google.com/p/arduino/issues/detail?id=986
2012-07-19 10:03:39 -04:00
David A. Mellis
9d21154ea2 Including String and Stream methods in local reference.
http://code.google.com/p/arduino/issues/detail?id=932
2012-07-15 09:34:59 -04:00
David A. Mellis
d83543cff1 Use "wiring" (not "stk500v2") avrdude protocol for uploads to Mega 2560.
It performs the auto-reset in avrdude.  Otherwise, some uploads seem to fail (possibly because it takes too long to launch avrdude from the IDE, so there's too much of a delay between the auto-reset done by the IDE and the upload).

http://code.google.com/p/arduino/issues/detail?id=806
2012-07-15 09:12:08 -04:00
David A. Mellis
e945d091c5 Don't require a space between #include and < or ".
The space isn't required by the compiler, but the preprocessor needed
one in order to use the #include to figure out which libraries the
sketch used.  That caused an error if you didn't have the space,
because the corresponding library wasn't linked.

http://code.google.com/p/arduino/issues/detail?id=975
2012-07-14 21:42:59 -04:00
David A. Mellis
d903d81d60 Add more checks for end-of-file in auto-format code.
Otherwise, you tend to get out of memory errors caused by infinite
loops.

http://code.google.com/p/arduino/issues/detail?id=859
2012-07-14 21:22:20 -04:00
David A. Mellis
6030f9670b Don't break C++ style (//) comments during auto-format.
http://code.google.com/p/arduino/issues/detail?id=255
2012-07-14 20:53:20 -04:00
David A. Mellis
6036846ce3 Print "ovf" if float to be printed doesn't fit in a long.
http://code.google.com/p/arduino/issues/detail?id=967
2012-06-28 23:20:56 -04:00
David A. Mellis
1daeba6fd6 Don't translate space separating baud rate from "baud".
This prevents an error in which translations which omitted the space would cause an exception (because the code tries to split the string on space).

http://code.google.com/p/arduino/issues/detail?id=964
2012-06-24 12:45:26 -05:00
David A. Mellis
71a615c65d Print "inf" for infinite floating point numbers (using isinf()).
http://code.google.com/p/arduino/issues/detail?id=961
2012-06-23 10:37:35 -05:00
David A. Mellis
34b265ed4c Fixing SD card SPI pin mapping for Leonardo.
http://code.google.com/p/arduino/issues/detail?id=931
2012-06-22 11:28:16 -05:00
David A. Mellis
4b25cc2097 Removing local xcode files. 2012-06-14 15:58:30 +01:00
David A. Mellis
f833374312 Adding write(str) and write(buf, size) for USB CDC.
So that they work on the Leonardo.

http://code.google.com/p/arduino/issues/detail?id=958
2012-06-14 15:54:13 +01:00
Tom Igoe
57ed5ba6f2 Reconciled comment versions on TonePitchFollower example 2012-06-12 10:23:19 -04:00
David A. Mellis
6d6f4424e4 Merge pull request #96 from gandrewstone/master
Avoid null pointer exception during compilation (race condition).

http://code.google.com/p/arduino/issues/detail?id=950
2012-06-11 06:36:28 -07:00
Andrew Stone
5e75bd4a97 Fix for bug 950 -- NPE Compiler.java:407 -- also searched for any other instances & found two other cases of the same bug 2012-06-08 16:49:31 -04:00
Andrew Stone
958c835ef0 Issue 950: NPE Compiler.java:407 2012-06-06 17:30:14 -04:00
David A. Mellis
a363686a31 Merge pull request #95 from gandrewstone/master
Allow the SPI library to support different modes

Avoid spurious transitions on the SPI lines by activating the SPI bus before setting MOSI and SCK as outputs.  That way they go straight to the correct values.  Also, set SS HIGH before setting it as an OUTPUT, so the slave device isn't temporarily activated.

http://code.google.com/p/arduino/issues/detail?id=888
2012-06-06 06:45:08 -07:00
David A. Mellis
002baa78f1 Merge pull request #94 from feka/master
Fixed nullpointer exception in case of missing bootloader.path param

http://code.google.com/p/arduino/issues/detail?id=919
2012-06-06 06:26:28 -07:00
Andrew Stone
4e8fffa767 just change a comment to make more sense 2012-06-05 21:10:09 -04:00
Andrew Stone
a41c1233ba 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 2012-06-05 15:45:51 -04:00
David A. Mellis
308d907694 Printing NaN values as "nan" in printFloat().
http://code.google.com/p/arduino/issues/detail?id=946
2012-06-04 23:30:41 -04:00
Tibor Fekete
ec3c8123bf Fixed null pointer exception in case of missing boot loader.path param in boards.txt
Pre-1.0.1 it was not necessary to have a bootloader.path param in
boards.txt under the respective board type. This patch helps keeping
compatibility with older settings and avoid dummy param settings.
2012-06-04 21:27:13 +02:00
David A. Mellis
a9fedabe3c Don't translate SimpleDateFormat string.
The yyMMdd string that the sketch archiver tool uses to format archive
names was being localized (i.e. was wrapped in _()).  This gave an
error on startup (and the Arduino software would fail to launch), if
someone translated the string to something that wasn't a valid date
format.  Since this is an internal string, it shouldn't be translated.

http://code.google.com/p/arduino/issues/detail?id=942
2012-06-03 14:48:20 -04:00
David A. Mellis
b787982eec Check for NULL pointer in Print.write().
Otherwise, trying to print(NULL) or write(NULL) could print a random
character.

http://code.google.com/p/arduino/issues/detail?id=941
2012-06-03 07:48:32 -04:00
David A. Mellis
b3d724c33b Merge pull request #92 from Lauszus/master
Added support for interrupt on INT2 and INT3 on the Leonardo
2012-06-02 14:00:57 -07:00
Kristian Lauszus
dab4d8dee6 Added support for interrupt on INT2 and INT3 on the Leonardo 2012-06-02 20:08:46 +02:00
David A. Mellis
0ebfbf8d2c Fixing typo in custom error message. 2012-06-01 09:20:32 -04:00
Tom Igoe
4b7bc3b584 Made changes to TonePitchFollower example for clarity, suggestions by user Michael Flynn 2012-05-31 18:24:38 -04:00
David A. Mellis
ca181e3318 Merge pull request #88 from runefauske/patch-1
Changed language ISO code to match Norwegian (Norsk bokmål).
2012-05-30 05:59:13 -07:00
Rune Fauske
354685bbff Changed language ISO code to match Norwegian (Norsk bokmål). 2012-05-29 09:33:15 +03:00
David A. Mellis
77ed2f4d62 Fixing placement of error messages. (Paul Stoffregen)
This patch places #line preprocessor directives into the generated code
file so that the compiler reports the correct location for error
messages.

http://code.google.com/p/arduino/issues/detail?id=907
2012-05-27 12:32:13 -04:00
Tom Igoe
a24999d5a5 Updated SoftwareSerial examples so that they work easier with Leonardo and Mega 2012-05-25 09:38:44 -04:00
David A. Mellis
6e8e13d7b3 Adding a couple of release notes for the Leonardo. 2012-05-21 10:32:11 -07:00
David A. Mellis
d5b6d22b6a Updating reference for Leonardo and 1.0.1. 2012-05-21 10:29:41 -07:00
David A. Mellis
4cb4c0965b Including Mouse and Keyboard in offline reference download. 2012-05-21 10:29:17 -07:00
David A. Mellis
2cbde219c1 Merge remote-tracking branch 'upstream/master' 2012-05-21 09:31:54 -07:00
David A. Mellis
8617afdaa9 Merge branch 'master' of github.com:arduino/Arduino 2012-05-21 09:22:59 -07:00
David A. Mellis
3258d2c5a3 Updating release notes for 1.0.1. 2012-05-21 09:17:39 -07:00
David A. Mellis
81edb9064a Updating SoftwareSerial pin mapping (pin change interrupts) for Leonardo. 2012-05-20 15:56:49 -07:00
Tom Igoe
c3a9b304e1 MultiSerialMega example is now bi-directional 2012-05-19 19:55:25 -07:00
Zach Eveland
5c77b0ee3b added pin change interrupt defines for Leonardo. fix for broken software serial on Leonardo 2012-05-19 22:05:46 -04:00
David A. Mellis
6f1e54ab1e Updating revisions.txt with environment changes for 1.0.1. 2012-05-16 17:10:01 -04:00
David A. Mellis
c8720327a0 Removing Croatian for now as it's incomplete.
http://code.google.com/p/arduino/issues/detail?id=914
2012-05-16 16:52:34 -04:00
David A. Mellis
39eed5acc2 Adding readString() and readStringUntil() to Stream (Adrian McEwen).
This isn't necessarily a particularly efficient implementation (it
allocates memory one character at a time and so may lead to
fragmentation) but it seems to work.

http://code.google.com/p/arduino/issues/detail?id=454
2012-05-16 15:39:34 -04:00
Zach Eveland
b29ae7a249 Mouse.isPressed() now checks only for left button by default
if no argument is given now checks left button by default to be consistent with press() and release() (thanks, David Mellis)
2012-05-15 15:48:51 -04:00
Zach Eveland
32e365b480 Merge branch 'master' of github.com:arduino/Arduino into LUFA_bootloader 2012-05-15 15:40:23 -04:00
David A. Mellis
8acd49f842 Removing extraneous .po and .properties files. 2012-05-15 10:22:54 -04:00