Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: arduino/arduino-ide
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 2.0.0-rc9.1
Choose a base ref
...
head repository: arduino/arduino-ide
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 2.0.0-rc9.2
Choose a head ref
  • 14 commits
  • 38 files changed
  • 6 contributors

Commits on Aug 3, 2022

  1. Use FQBN instead of Board for the monitor ID.

    Closes #1278
    
    Signed-off-by: Akos Kitta <a.kitta@arduino.cc>
    Akos Kitta authored and kittaakos committed Aug 3, 2022
    Configuration menu
    Copy the full SHA
    d556ee9 View commit details
    Browse the repository at this point in the history
  2. Update BUILDING.md (#1281)

    * Update BUILDING.md
    
    Added "Notes for Linux contributors" based on my own building experience
    
    * Update BUILDING.md
    
    Removing the linux specific section and instead updating the Theia IDE prerequisites link to point to the mentioned file directly.
    InstantMuffin authored Aug 3, 2022
    Configuration menu
    Copy the full SHA
    879aede View commit details
    Browse the repository at this point in the history

Commits on Aug 4, 2022

  1. Pinned 2dd8976 CLI in the IDE2. (#1280)

    Signed-off-by: Akos Kitta <a.kitta@arduino.cc>
    kittaakos authored Aug 4, 2022
    Configuration menu
    Copy the full SHA
    bf193b1 View commit details
    Browse the repository at this point in the history
  2. Can check if the current window is the first one.

    Closes #1070
    
    Signed-off-by: Akos Kitta <a.kitta@arduino.cc>
    Akos Kitta authored and kittaakos committed Aug 4, 2022
    Configuration menu
    Copy the full SHA
    36ac47b View commit details
    Browse the repository at this point in the history
  3. Set XDG_CONFIG_HOME env on Linux when not set.

    Otherwise, `node-log-rotate` creates a folder with `undefined` name.
    
    Closes #394.
    
    Signed-off-by: Akos Kitta <a.kitta@arduino.cc>
    Akos Kitta authored and kittaakos committed Aug 4, 2022
    Configuration menu
    Copy the full SHA
    0b33b51 View commit details
    Browse the repository at this point in the history

Commits on Aug 8, 2022

  1. Correctly escape escaped content in formatter configuration

    The sketch code formatter configuration is passed to the ClangFormat tool as a string representing a JSON object via a
    command line argument.
    
    The quotes in the JSON syntax are escaped in order to make them compatible with this usage. Previously, consideration
    was not given to escaping of the content. For example, with the previous escaping code, this content: `\"` would be
    converted to `\\"`, whereas the correct escaping would look like `\\\"`.
    
    That did not result in problems only because the configuration didn't contain escaped content. This good fortune will
    not persist through updates to the configuration so the command must be properly processed.
    
    The content of the configuration will now be escaped in addition to the quotes of the JSON data format.
    per1234 committed Aug 8, 2022
    Configuration menu
    Copy the full SHA
    ce273ad View commit details
    Browse the repository at this point in the history
  2. Escape special characters in formatter configuration for Windows

    The sketch code formatter configuration is passed to the ClangFormat tool as a string representing a JSON object via a
    command line argument.
    
    Previously, the contents of this string were not given any special treatment to ensure compatibility with the command
    interpreter used on Windows machines. That did not result in problems only because the configuration didn't contain
    problematic combinations of characters. This good fortune will not persist through updates to the configuration, so the
    command must be properly processed.
    
    The Windows command interpreter does not use the POSIX style backslash escaping. For this reason, escaped quotes in the
    argument are recognized as normal quotes, meaning that the string alternates between quoted and unquoted states at
    random. When a character with special significance to the Windows command interpreter happens to occur outside a quoted
    section, an error results.
    
    The solution is to use the Windows command interpreter's caret escaping on these characters. Since such an escaping
    system is not recognized by POSIX shells, this is only done when the application is running on a Windows machine.
    
    References:
    
    - https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/echo#remarks
    - https://en.wikipedia.org/wiki/Escape_character#Windows_Command_Prompt
    per1234 committed Aug 8, 2022
    Configuration menu
    Copy the full SHA
    676eb2f View commit details
    Browse the repository at this point in the history
  3. Sync sketch formatter configuration from source

    The Arduino IDE's "Auto Format" feature is configured to produce the standard Arduino sketch formatting style, as
    established by the Arduino IDE 1.x formatter.
    
    The configuration is consumed by several other projects which require the configuration in a YAML file. In order to
    provide all the consumers with a single canonical source and to locate the infrastructure and activity related to the
    maintenance of the file in a more appropriate repository, it is now hosted in a permanent location in the
    `arduino/tooling-project-assets` repository.
    
    The following changes have been made to the source configuration:
    
    - Move documentation comments to a dedicated file in the upstream repository
    - Make additional non-functional changes to the configuration format to facilitate maintenance
    - Update to use the configuration API of ClangFormat 14.0.0
    
    This last item did result in some functional changes to the configuration which will result in minor differences in the
    formatter output.
    
    These are actually reversions of unwanted differences from the Arduino IDE 1.x formatter output, which were unavoidable
    when using the 11.0.1 version of ClangFormat in use at the time of the configuration's creation. These changes will
    provide greater consistency during the migration from Arduino IDE 1.x to 2.x. The default output of the Arduino IDE
    1.x formatter will continue to be considered the "gold standard" until Arduino IDE 2.x graduates from "pre-release"
    status.
    
    The Arduino IDE 2.x formatter configuration is fully customizable according to the preferences of each user. Those
    already using custom configurations will not be affected in any way (though they are encouraged to sync their
    configuration files from the source to bring them into compliance with the configuration API of the ClangFormat version
    currently in use by Arduino IDE 2.x).
    
    See the documentation and commit history for the source file for details on the configuration changes:
    
    https://github.com/arduino/tooling-project-assets/tree/main/other/clang-format-configuration
    per1234 committed Aug 8, 2022
    Configuration menu
    Copy the full SHA
    54db9bb View commit details
    Browse the repository at this point in the history

Commits on Aug 9, 2022

  1. Configuration menu
    Copy the full SHA
    aebec0f View commit details
    Browse the repository at this point in the history
  2. Replaced the splash screen with a preload.

    Added a bare minimum example.
    
    Closes #193
    Closes #324
    Closes #327
    Closes #717
    Closes #851
    
    Signed-off-by: Akos Kitta <a.kitta@arduino.cc>
    Akos Kitta authored and kittaakos committed Aug 9, 2022
    Configuration menu
    Copy the full SHA
    92bc5ec View commit details
    Browse the repository at this point in the history
  3. Defer settings/certificates load until app ready.

    Signed-off-by: Akos Kitta <a.kitta@arduino.cc>
    Akos Kitta authored and kittaakos committed Aug 9, 2022
    Configuration menu
    Copy the full SHA
    7a3e678 View commit details
    Browse the repository at this point in the history
  4. Defer notification area rendering until app ready.

    Signed-off-by: Akos Kitta <a.kitta@arduino.cc>
    Akos Kitta authored and kittaakos committed Aug 9, 2022
    Configuration menu
    Copy the full SHA
    8a1cabd View commit details
    Browse the repository at this point in the history

Commits on Aug 10, 2022

  1. Configuration menu
    Copy the full SHA
    6e36818 View commit details
    Browse the repository at this point in the history
  2. 2.0.0-rc9.2 (#1312)

    * 2.0.0-rc9.2
    
    * use arduino-cli version 0.26.0-rc1
    Alberto Iannaccone authored Aug 10, 2022
    Configuration menu
    Copy the full SHA
    9cabd40 View commit details
    Browse the repository at this point in the history
Loading