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

6555 Commits

Author SHA1 Message Date
per1234
18b5327da0 Use consistent line wrapping in built-in example comments 2017-07-18 11:07:37 +02:00
per1234
2570383db9 Use a consistent number of spaces after punctuation in the comments of the built-in examples 2017-07-18 11:07:37 +02:00
per1234
e3044a5f5a Make the formatting of opening comments of built-in examples consistent 2017-07-18 11:07:37 +02:00
per1234
eee3e5ba18 Auto Format all built-in examples
The only changes I left out are the Max/MSP patches because I don't know whether the indentation would break them.
2017-07-18 11:07:37 +02:00
per1234
8f48433f33 Indent all multi-line C style comments in built-in examples by at least two spaces
This is required for Auto Format compatibility because it has the undesirable effect of indenting only unindented contents of multi-lline comments, thus altering the relative indentation of the text.

The exception is the Max/MSP patches as I did not know whether indentation would break them.
2017-07-18 11:07:37 +02:00
per1234
499c424d59 Use Auto Format compatible bullet character in built-in example comment lists
Tools > Auto Format in the Arduino IDE removes asterisks from the start of every line in a C style comment, causing that character to be unsuitable for use as a bullet for lists in the example comments.
2017-07-18 11:07:37 +02:00
per1234
827a933eed Maintain a consistent number of newlines at end of built-in examples
A single newline at the end of the examples was most common so I fixed all examples that did not follow this convention.
2017-07-18 11:07:37 +02:00
per1234
e57c9625cf Fix typos in .txt files included with built-in examples 2017-07-18 11:07:37 +02:00
per1234
a71b40351f Fix typos in the comments of the built-in examples 2017-07-18 11:07:37 +02:00
Cristian Maglie
86c6103142 Update revision log 2017-07-18 11:06:00 +02:00
David Gauchard
125846f55d per-board generic option in config file boards.txt for disabling control of dtr+rts from IDE, allowing board specific use of these lines for example for reset or programming mode. Currently used by esp8266/Arduino. 2017-07-18 10:59:06 +02:00
Peter Gren
c7b412ca3f Fixed ignoring of LIBRARY_INDEX_URL of system property 2017-07-18 10:47:15 +02:00
per1234
9411fa8c2b Update comments to reflect Stream functions changed from private to protected
These functions were changed from private to protected in 99f2a27553 but the comments were not updated at that time.

In conjunction with equivalent pull requests to Arduino SAM Boards and Arduino SAMD Boards, solves https://github.com/arduino/Arduino/issues/6146.
2017-07-07 01:28:27 +02:00
per1234
e180b7037d Add a note about ATmega32U4 incompatibility to SerialEvent example
serialEvent() does not work on the ATmega32U4 boards.

Reference: https://github.com/arduino/Arduino/issues/1031
2017-07-07 00:38:15 +02:00
per1234
c5d4e5fc0f Fix comparison between signed and unsigned warning in StringLength example
Fixes:
warning: comparison between signed and unsigned integer expressions
compiler warning.

Closes https://github.com/arduino/Arduino/issues/693 (in conjunction with https://github.com/arduino/Arduino/issues/6448)
2017-07-07 00:32:37 +02:00
per1234
352df2c15f Remove unused variable from StringAdditionOperator example
- Avoids confusing beginners who assume there must be some reason for this useless line of code.
- Fixes "warning: unused variable 'currentTime'" compiler warning.

Closes https://github.com/arduino/Arduino/issues/693
2017-07-07 00:30:13 +02:00
Martino Facchin
cba0435367 Add missing translation string (cached core) 2017-06-23 17:00:49 +02:00
Cristian Maglie
cd798abd1b Releasing 1.8.3 2017-05-31 17:03:10 +02:00
Cristian Maglie
48d88f5dbd updated revisions 2017-05-31 15:41:20 +02:00
Cristian Maglie
5e95561900 Updated bundled AVR core to 1.6.19 2017-05-31 15:27:36 +02:00
Cristian Maglie
a06fa27558 Added new translations 2017-05-30 17:48:00 +02:00
Cristian Maglie
8f53860607 Updated translations 2017-05-30 17:21:53 +02:00
Cristian Maglie
b97e4a3480 Moving extras scripts out of root folder 2017-05-30 17:08:58 +02:00
Cristian Maglie
d65e6ffc3d Merge pull request #6331 from cmaglie/jssc-no-unpack
Two fix for future Windows compatibility
2017-05-30 15:58:10 +02:00
LourensPool
666ac02086 Version 2 of CONTRIBUTING.md 2017-05-30 12:44:06 +02:00
LourensPool
d2fc624884 Add CONTRIBUTING.md to root folder 2017-05-30 12:44:06 +02:00
Cristian Maglie
e202d2e4cd Removed outdated 'bugs' section in manpage 2017-05-29 13:21:28 +02:00
Maxwell Paul Brickner
ecaf493a9b Changed http links to https
I just changed some links that used http to use https if available.

I also updated the forum link http://www.arduino.cc/forum/ to https://forum.arduino.cc/ since that's what it redirects to. (Sans https)

Thanks! ^ _ ^
2017-05-29 13:06:51 +02:00
Cristian Maglie
54264124b7 Updated paths to preferences.txt in manpage
Fix #6061
2017-05-29 12:58:57 +02:00
Cristian Maglie
d4a9452ed6 Removed unneeded include in Print.h
see https://github.com/arduino/Arduino/pull/5789#discussion_r118007759
2017-05-23 17:03:42 +02:00
Matthijs Kooijman
ed7007c010 Move the flush method from Stream to Print
This method originally flushed pending input bytes, which makes sense in
Stream. At some point it was changed to flush output bytes instead, but
it was never moved to Print to reflect this.

Since Stream inherits from Print, this should not really affect any
users of the Stream or Print classes. However to prevent problems with
existing implementations of the Print class that do not provide a
flush() implementation, a default implementation is provided. We should
probably remove this at some point in the future, though.
2017-05-23 17:03:42 +02:00
Cristian Maglie
bb41ad791f Use win32 ShellExecute API to open URL with default browser 2017-05-22 12:25:58 +02:00
Cristian Maglie
229c32ccad Avoid dll unpacking within JSSC
This requires a custom build of JSSC.
https://github.com/scream3r/java-simple-serial-connector/pull/105
2017-05-18 15:36:17 +02:00
Cristian Maglie
626a00a9bf Show the dialog just once when there are many unsaved sketches 2017-05-16 14:53:27 +02:00
Cristian Maglie
e500c7c41f Enabling "external editor" now requires to save all sketches.
Fix #6196
2017-05-16 14:53:27 +02:00
Eric Wieser
db4a5408ce Add Print::availableForWrite
If available() is in the base Stream class, then availableForWrite() should be in the base Print class
2017-05-16 14:52:47 +02:00
Cristian Maglie
d4458c0caf Merge remote-tracking branch 'cmaglie/jna-3' 2017-04-26 12:49:35 +02:00
Cristian Maglie
7dcc1352a2 During windows build use "icacls" tool to change file attributes
Previously the ant call "chmod" was used, but this is a no-op on Windows,
so it would works only if the IDE is cross-built from a unix host.

This patch allows to build a distribution of the IDE also from a Windows host.
2017-04-21 15:47:39 +02:00
Cristian Maglie
18f18bf2cb JNA: try to avoid unzipping jnidispatch.dll from jar on Windows
Normally if JNA doesn't find the jnidispatch.dll it tries to extract
it from the jar into a temp folder and load from there.
This is being restriscted on Microsoft Apps for the app-store and this
commit prevents this behaviour.
2017-04-21 15:47:34 +02:00
Arturo Guadalupi
89e3c5290f Merge pull request #6176 from sandeepmistry/WiFi101-Updater-0.9.1
Use version 0.9.1 of the WiFi101 firmware updater
2017-04-14 10:12:17 +02:00
Cristian Maglie
00c1a3b3eb Renamed editor.auto_close_braces pref and set default value 2017-04-13 11:38:23 +02:00
bob
8ecbded312 add editor.autocomplete flag to disable automatic curly braces 2017-04-13 11:38:23 +02:00
Martino Facchin
39da3f0867 Apply editor.indent preference
Solves #6128
2017-04-13 11:38:23 +02:00
Arturo Rinaldi
bd49219109 fixing RESOURCE_NAME for linux install.sh script 2017-04-11 13:12:10 +02:00
Sandeep Mistry
c418706039 Use version 0.9.1 of the WiFi101 firmware updater 2017-04-10 11:03:53 -04:00
Cristian Maglie
5f51e05900 Update revision log 2017-04-10 16:56:16 +02:00
Cristian Maglie
323bd64a60 Serial Monitor: move "clear output" button from left to right side 2017-04-10 16:26:08 +02:00
Michael michael.sytko
99006fc5c6 Serial Monitor: added "clear output" button 2017-04-10 16:19:19 +02:00
Cristian Maglie
bd2f4acba7 update revision log 2017-04-10 14:43:55 +02:00
Michael michael.sytko
8943b7ccbe added custom title format setting (editor.custom_title_format) 2017-04-10 14:24:26 +02:00