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

6471 Commits

Author SHA1 Message Date
Cristian Maglie
ec2e9a642a Added all missing @Override annotations 2016-09-29 20:15:57 +02:00
Cristian Maglie
46dfd7603c Removed warning about accessing a non-accessible member of an enclosing type 2016-09-29 20:15:56 +02:00
Cristian Maglie
bd7e76533a Removed redundant type specifiers for generics 2016-09-29 20:15:56 +02:00
Cristian Maglie
72a1d928b4 Removed useless cast 2016-09-29 20:15:56 +02:00
Cristian Maglie
4d579f7652 Removed extra semicolon 2016-09-29 20:15:56 +02:00
Cristian Maglie
fca863f325 Removed unused variable 2016-09-29 20:15:55 +02:00
Cristian Maglie
3cc9446f04 Removed unused import 2016-09-29 20:15:55 +02:00
Cristian Maglie
53e456936d Silenced lint warnings in ContributedLibrary
Comparing strings with `==` operator triggers a lint4j warning.
This refactoring avoids the use of `thisVersion == otherVersion`.
2016-09-29 20:15:55 +02:00
Cristian Maglie
0def10443f Fixed another error in string comparison 2016-09-29 20:15:55 +02:00
Cristian Maglie
5c097c03c5 Fixed regression: trivial error on String comparison
Fix #5423

The regression has been introduced in:
72f815b Refactor file adding and renaming, and save as handling
2016-09-29 18:21:09 +02:00
Martino Facchin
be9bbc3255 Merge pull request #5407 from pfeerick/patch-1
Minor change to example sketch comment
2016-09-23 15:10:01 +02:00
pfeerick
dc165ce46e Minor change to example comment
Can't be the right word! ;)
2016-09-23 13:11:19 +10:00
Martino Facchin
69fd6debbd Starting version 1.6.13 2016-09-22 12:42:35 +02:00
Martino Facchin
af334d59f1 Fix bundled avrdude urls 2016-09-22 12:40:51 +02:00
Martino Facchin
b4cdb3b362 Fix link for bundled avr core in package_index_bundled 2016-09-21 15:05:17 +02:00
Martino Facchin
d966990b94 Releasing 1.6.12 2016-09-21 12:09:37 +02:00
Cristian Maglie
f73694a0e7 Merge remote-tracking branch 'arduino/1.6.12_rc1' 2016-09-21 12:03:04 +02:00
Cristian Maglie
e100aa8f41 Update Ethernet to 1.1.2 2016-09-21 11:53:39 +02:00
Cristian Maglie
00637906e5 Updated Temboo to 1.1.7 2016-09-21 10:45:01 +02:00
Cristian Maglie
414de5dc54 Update SpacebrewYun to 1.0.1 2016-09-21 10:42:56 +02:00
Cristian Maglie
4cf3af1b91 Update Bridge to 1.6.3 2016-09-21 10:38:13 +02:00
Martino Facchin
17063d0fec Update arduino-builder to 1.3.21_r1
Like 1.3.21 but recompiled with go 1.7.1 on OSX to avoid crashing on Sierra
2016-09-21 10:21:45 +02:00
Martino Facchin
35743b1fa6 Update to avrdude 6.3 and avr core 1.6.14 2016-09-21 10:21:45 +02:00
Cristian Maglie
e1c2d0dfcd Updated translations from transifex 2016-09-21 10:07:01 +02:00
Cristian Maglie
cce03ea3a6 Converted some old examples from pde to ino 2016-09-21 09:54:30 +02:00
Cristian Maglie
635807105a Merge remote-tracking branch 'cmaglie/examples-menu-take2' 2016-09-21 09:53:50 +02:00
Cristian Maglie
c58e2e68d1 Fix regression: ignore case in file extensions
Fix #5389
2016-09-20 17:34:03 +02:00
Cristian Maglie
646c9f798f Fix regression: after "save as..." window title is updated
Fix #5388
2016-09-20 16:36:41 +02:00
Martino Facchin
4c3d96235f Merge pull request #5383 from facchinm/solve_search_replace
Fix nextTab/prevTab selection logic
2016-09-20 15:58:13 +02:00
Cristian Maglie
1efa07f010 Enable visibility of selection on find
Fix #5380
2016-09-20 15:31:17 +02:00
Cristian Maglie
c5a6a44b55 Simplify FindReplace.find() logic (part 2)
The snippet:

    boolean wrapNeeded = false;
    if (wrap && nextIndex == -1) {
      // if wrapping, a second chance is ok, start from the end
      wrapNeeded = true;
    }

Can be moved inside the `if (nextIndex == -1)` that follows, this way:

    if (nextIndex == -1) {
      boolean wrapNeeded = false;
      if (wrap) {
        // if wrapping, a second chance is ok, start from the end
        wrapNeeded = true;
      }

      [...CUT...]

      if (wrapNeeded) {
        nextIndex = backwards ? text.lastIndexOf(search) : text.indexOf(search, 0);
      }
    }

but since `wrapNeeded` is used only at the very end of the `if` statement
we can move it forward:

    if (nextIndex == -1) {
      [...CUT...]

      boolean wrapNeeded = false;
      if (wrap) {
        // if wrapping, a second chance is ok, start from the end
        wrapNeeded = true;
      }
      if (wrapNeeded) {
        nextIndex = backwards ? text.lastIndexOf(search) : text.indexOf(search, 0);
      }
    }

and finally simplify it by removing `wrapNeeded` altogether:

    if (nextIndex == -1) {
      [...CUT...]

      if (wrap) {
        nextIndex = backwards ? text.lastIndexOf(search) : text.indexOf(search, 0);
      }
    }
2016-09-20 13:58:36 +02:00
Cristian Maglie
47fcff77d5 Simplify FindReplace.find() logic (part 1)
The snippet:

    boolean wrapNeeded = false;
    if (wrap && nextIndex == -1) {
      // if wrapping, a second chance is ok, start from the end
      wrapNeeded = true;
    }

is present on both sides of the `if` statement so it can be factored out.
2016-09-20 13:52:24 +02:00
Cristian Maglie
9723726387 Call ensureOffsetNotInClosedFold only when a match is found 2016-09-20 13:45:11 +02:00
Cristian Maglie
096e545257 Examples of arch-independent libs from Arduino goes into Examples for any board
The other cases remain unchanged
2016-09-19 16:30:18 +02:00
Cristian Maglie
821ee53d40 Replaced some example menu labels
From: `Examples from Built-in Libraries`
To:   `Examples for any board`

From: `Examples from Arduino AVR Boards Libraries` (selected platform)
To:   `Examples for Arduino/Genuino Micro` (selected board)

From: `Examples from Arduino AVR Boards Libraries` (referenced platform)
To:   `Examples for Arduino AVR Boards` (referenced platform)
2016-09-19 16:27:47 +02:00
PaulStoffregen
afc7c596fc Only sort ideLibs if it's not empty 2016-09-19 14:25:25 +02:00
PaulStoffregen
d49401bdbf Improve Examples menu 2016-09-19 14:25:13 +02:00
Matthijs Kooijman
c927237912 Fix tab order in FindReplace
When searching through all tabs, the order was accidentally reversed.
This was broken by commit d2bac86 (Remove tab switching logic from
Sketch).

This also fixes a problem where "replace all" would only work on the
first and last tab (since it would search backwards from the first tab
to the last tab and then conclude it was done).

This fixes a part of #5380.
2016-09-19 12:05:11 +02:00
Sandeep Mistry
c1291eedde Update revision log 2016-09-14 13:54:31 -04:00
Iván Pérez
24cba16802 Spaces to tab 2016-09-12 09:00:04 +02:00
Iván Pérez
4650c2c3d8 WString: add toDouble
`toFloat` internally converts into double and then truncates into a
float, so why not add a method to return the double?
2016-09-12 08:56:02 +02:00
Sandeep Mistry
2bfe164b9a Update revision log 2016-09-08 15:49:53 -04:00
Sandeep Mistry
6c54454d1c Merge pull request #5300 from mischnic/attiny_anlReference
Add all analog references supported by the ATtinyX5 series
2016-09-08 15:37:27 -04:00
Niklas Mischkulnig
a2a17a0c83 Requested changes to not change code for non ATtinyX5s 2016-09-07 19:02:48 +02:00
agdl
7f41a5ece9 Improved Blink example comment 2016-09-02 12:27:03 +02:00
agdl
41c7308c9d Use LED_BUILTIN
Modified blink example to use LED_BUILTIN. In this way it works out of the box on each board
2016-09-02 12:04:58 +02:00
Cristian Maglie
0ddc8e6300 Fixed wrong string check 2016-08-31 19:12:09 +02:00
Cristian Maglie
7d27c43ff2 Launch DiscoveryManager after populating indexes 2016-08-31 19:11:24 +02:00
Cristian Maglie
9abf25d222 Fix indentation and license 2016-08-31 19:10:01 +02:00
agdl
332931e3a6 Fixed example comment 2016-08-31 16:29:40 +02:00