-
-
Notifications
You must be signed in to change notification settings - Fork 7k
[IDE 1.5.x] Command-line / GUI refactor. #2328
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2339395
to
89a442b
Compare
what is the current status on this ? |
89a442b
to
79e3db1
Compare
Just pushed a fix and rebased on current master, let's see if the bot is able to create the build. |
Build failed. |
Build failed with |
fc88ce5
to
b0b40da
Compare
Tested:
Everything works without strange behaviour |
Previously, the useRecursion and srcFolders were filled on library creation, based on the existence of the src folder. Now, a layout variable is set, and the useRecursion() and getSrcFolder() methods change their return value based on the layout in use.
This simplifies upcoming changes.
Nobody was using it anymore, except for checking against specific extensions, which is easily done against the filename itself. This prepares for some simplification of Sketch.load next.
Removed a lot of duplicate/unused code. Preferences un-marshalling is now handled in PreferencesMap class.
Moved GUI fields into a SketchCodeDocument container class.
Create a class SketchData to store all relevant data for a sketch (trying to keep GUI stuff out of the way). Moved preprocessing code from Sketch to Compiler.
SketchCodeDoc renamed to SketchCodeDocument. Compiler is now independent from SketchCodeDocument.
Created a class PreferencesData to manage all parameters except the ones for the GUI. Removed GUI parameters management from ParametersMap. Created ParametersHelper class to help with GUI parameters management. Used ParametersHelper in Themes.
Also removed unused ColorSelector and CreateFont to reduce wrappers size to the minimum. This commit is preparatory for dropping dependency on processing-core.
Now the the GUI and the rest of the code should be completely separated.
--buildpath --nouploadport --useprogrammer
BEWARE: HIGHLY EXPERIMENTAL BRANCH
…ino-core' project.
b0b40da
to
7b2ed12
Compare
cmaglie
added a commit
to cmaglie/Arduino
that referenced
this pull request
Nov 7, 2016
cmaglie
added a commit
to cmaglie/Arduino
that referenced
this pull request
Nov 25, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Component: IDE user interface
The Arduino IDE's user interface
Component: IDE
The Arduino IDE
feature request
A request to make an enhancement (not a bug fix)
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is a proposal for the rationalization of the Arduino IDE code.
More info coming.