-
-
Notifications
You must be signed in to change notification settings - Fork 7k
Update Sketch menu in IDE GUI #2331
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
Update Sketch menu in IDE GUI #2331
Conversation
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 SketchCodeDoc 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.
Moved from Base into a specific utility class OSUtils. Removed unused platform constants.
…ods) from Base to BaseNoGui (work in progress).
…i (work in progress).
…ase to BaseNoGui (work in progress).
…rning() from BaseNoGui.
…app.linux.Platform and processing.app.windows.Platform.
Now the the GUI and the rest of the code should be completely separated.
--buildpath --nouploadport --useprogrammer
BEWARE: HIGHLY EXPERIMENTAL BRANCH
…ino-core' project.
* Have "Save Hex" option (with Ctrl + Shift + R as well) * Move Upload and Upload w/ Programmer into Sketch menu as they are functions of sketch and not file technically Signed-off-by: Arnav Gupta <championswimmer@gmail.com>
Signed-off-by: Arnav Gupta <championswimmer@gmail.com>
2339395
to
89a442b
Compare
fc88ce5
to
b0b40da
Compare
b0b40da
to
7b2ed12
Compare
@championswimmer |
done Arnav Gupta (championswimmer) On 18 November 2014 23:39, Cristian Maglie notifications@github.com wrote:
|
as they are functions of sketch and not file technically
Signed-off-by: Arnav Gupta championswimmer@gmail.com