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

5019 Commits

Author SHA1 Message Date
Martino Facchin
ed1b8eb486 Add a Stream::find(char) method 2015-06-01 14:06:32 +00:00
Federico Fissore
e55d4145d0 SerialMonitor suspend/resume: dealing with boards that change serial port
between uploads. Fixes #3255
Fixed a missing status management, leading IDE to believe Serial Monitor
was opened while it was not. See #3268
2015-06-01 12:14:30 +02:00
Federico Fissore
740a14e638 UploadFactory: removed duplication 2015-06-01 12:08:43 +02:00
Federico Fissore
0b8e7922bf GUIUserNotifier uses active editor as parent component 2015-06-01 12:08:43 +02:00
Federico Fissore
17837197d1 Merge pull request #3267 from agdl/KnockLockFix
Cleared numberOfKnocks variable
2015-06-01 10:39:21 +02:00
Arturo Guadalupi
0d4f208f1a Cleared numberOfKnocks variable
Fixed according to #2294
2015-06-01 10:33:26 +02:00
Federico Fissore
7e0dd9b974 Merge pull request #3265 from agdl/StringConstructorFloatDouble
Added float example to StringConstructor
2015-06-01 09:52:04 +02:00
Arturo Guadalupi
c28fb7acd4 Added float example to StringConstructor
This example has been added according to #3264
2015-06-01 09:50:51 +02:00
Federico Fissore
33f13d25f8 Editor: highlights cleared also on upload. Fixes #3253 2015-06-01 09:28:30 +02:00
Federico Fissore
0956f5da25 Merge pull request #3239 from ffissore/macosx-select-line
MacOSX: CMD+SHIFT-LEFT/RIGHT selects the entire line. Fixes #3238
2015-06-01 09:02:29 +02:00
Federico Fissore
24c9f8c271 MacOSX: CMD+SHIFT+UP/DOWN select text from cursor to the beginning or end of the
doc
2015-06-01 08:56:45 +02:00
Federico Fissore
dcbc8e2137 MacOSX: CMD+SHIFT-LEFT/RIGHT selects the entire line. Fixes #3238 2015-06-01 08:56:45 +02:00
Cristian Maglie
074d910857 Fixed unused argument warning 2015-05-30 15:19:44 +02:00
Cristian Maglie
2cbdc121e9 Fixed unused variables warnings and indentation 2015-05-29 20:02:50 +02:00
Cristian Maglie
94a182e841 update revisions log 2015-05-29 18:12:44 +02:00
chromhelm
cd9d30a8fe Saving some bytes in HardwareSerial::write 2015-05-29 18:12:24 +02:00
Federico Fissore
f735e10908 Update revisions.txt 2015-05-29 16:22:21 +02:00
Martino Facchin
b590d4898f update revisions.txt 2015-05-29 15:55:50 +02:00
Martino Facchin
2af29619d8 Merge branch 'master' into ide-1.5.x 2015-05-29 15:37:45 +02:00
Martino Facchin
3859fe680b Merge pull request #2495 from facchinm/test-pulseIn-pullreq2
rework pulseIn function to solve issue #2409
2015-05-29 15:38:22 +02:00
Federico Fissore
6974978ea3 Linux: arduino startup script uses #!/usr/bin/env bash. Fixes #3003 2015-05-29 15:35:10 +02:00
Federico Fissore
935becec64 Command line --get-pref may be used without name of the target pref.
If pref name is missing, all prefs are printed on stdout.
Should fix/mitigate #2982
2015-05-29 15:16:51 +02:00
Federico Fissore
a48906e0c2 ContributedPlatform.toString() is used as item in dropdown, so it should print only its version 2015-05-29 15:12:32 +02:00
Martino Facchin
a7d81d0b1c pulseIn: add alternative implementation based on micros() 2015-05-29 15:01:38 +02:00
Martino Facchin
bb3963c0e9 pulseIn: add ASM implementation for Due 2015-05-29 15:01:38 +02:00
Martino Facchin
7a22827359 pulseIn: be consistent with standard API
return 0 if timeout has been reached
2015-05-29 15:01:38 +02:00
Martino Facchin
689c654e8d pulseInASM: rework comment style 2015-05-29 15:01:38 +02:00
Martino Facchin
d4a80be045 pulseIn: add alternative implementation based on micros()
pulseInLong is suitable for long pulses in interrupt context
2015-05-29 15:01:38 +02:00
Martino Facchin
93f74f84ce pulseIn: modify function to use ASM implementation 2015-05-29 15:01:37 +02:00
Martino Facchin
b37b0d1b6d pulseIn: add ASM implementation
this assembly code was generated by avr-gcc 4.8.3
2015-05-29 15:01:37 +02:00
Martino Facchin
0c9f0d50a5 Revert "Temporary fix for pulseIn() regression."
This reverts commit 8ddc5198f6.
To be substituted by ASM generated code
2015-05-29 15:01:37 +02:00
Federico Fissore
5933a7e8d3 Changing order of boards in boards menu: built-in first, boards manager second,
sketchbook hardware folder third. Each group if sorted by alpha, case
insensitive. Fixes #2650
2015-05-29 14:22:45 +02:00
Federico Fissore
1b7574a8b9 Boards Manager: contributions MAY miss tools, but we missed to consider this case. Fixes #3248 2015-05-29 14:22:45 +02:00
Cristian Maglie
31290179e7 update revision log 2015-05-29 12:55:41 +02:00
Arturo Guadalupi
394bab072c Merge pull request #3036 from damellis/tft-spi-transactions
Add SPI transactions to TFT library.
2015-05-29 12:45:27 +02:00
Federico Fissore
7d6518f68e Merge pull request #3229 from ffissore/indent-with-tab-no-brackets
Stop using [ and ] as indentation menu accelerators
2015-05-29 11:35:07 +02:00
Federico Fissore
886590e015 Merge pull request #3236 from ffissore/build-hooks
Additional build hooks
2015-05-29 11:34:54 +02:00
Federico Fissore
4bf40fc23b Stop using [ and ] as indentation menu accelerators. Use TAB/SHIFT+TAB instead. CMD+BRAKETS are still available on MacOSX only
Fixes #3224 and #220
Also see https://github.com/processing/processing/issues/2199
2015-05-28 17:28:46 +02:00
Federico Fissore
b11d54e503 Compiler: adding hooks (custom recipes) between the main phases. New hooks are:
hooks.sketch.prebuild, hooks.sketch.postbuild, hooks.libraries.prebuild,
hooks.libraries.postbuild, hooks.core.prebuild, hooks.core.postbuild,
hooks.linking.prelink, hooks.linking.postlink, hooks.objcopy.preobjcopy,
hooks.objcopy.postobjcopy, hooks.savehex.presavehex, hooks.savehex.postsavehex
2015-05-28 17:28:24 +02:00
PaulStoffregen
c1002e247f Add build symbols for compile time and sketch path 2015-05-28 17:28:24 +02:00
Federico Fissore
5490b96f2e SHIFT-save (upper toolbar) triggers "save as". Fixes #2220 2015-05-28 16:48:33 +02:00
Federico Fissore
c84fb7fc90 Removed a handful of static methods delegates 2015-05-28 15:25:44 +02:00
Federico Fissore
8c83281a19 Do not cache PrinterJob instances. Cache is evil 2015-05-28 14:55:05 +02:00
Matthias Hertel
a9cdd44d27 Optimizations: remove multiple calls to the status() function. 2015-05-28 11:00:23 +02:00
Martino Facchin
d92bf5bdaa Merge pull request #3202 from Chris--A/randomSeed
Modified randomSeed, now uses unsigned long.
2015-05-28 10:54:26 +02:00
Martino Facchin
29e253495d Merge pull request #3193 from Chris--A/SD_Strings
Added String handling to SD class
2015-05-28 10:48:37 +02:00
Martino Facchin
9d13023075 Merge pull request #3211 from Chris--A/println-optimize
Println optimize
2015-05-28 10:24:12 +02:00
Cristian Maglie
b4c5fa7109 Merge pull request #3244 from Lauszus/INT2
Check if INT2 is actually defined before issuing warning in detachInterrupt
2015-05-28 09:51:25 +02:00
Martino Facchin
f816e76d47 Merge pull request #3207 from chromhelm/master
Fixed bug with HWSerial flushing
2015-05-28 09:44:46 +02:00
Kristian Sloth Lauszus
272d5cc93d Check if INT2 is actually defined before issuing warning in detachInterrupt
This was caused after: https://github.com/arduino/Arduino/pull/3221
2015-05-28 03:42:32 +02:00