- 1 Community Bonding Period (May 6 - May 27)
- 2 Coding Period (May 27 - Aug 19)
- 3 Week 1 (May 27 - June 2)
- 4 Week 2 (June 3 - June 9)
- 5 Week 3 (June 10 - June 16)
- 6 Week 4 (June 17 - June 23)
- 7 Week 5 (June 24 - June 30)
- 8 Week 6 (July 1 - July 7)
- 9 Week 7 (July 8 - July 14)
- 10 Week 8 (July 15 - July 21)
- 11 Week 9 (July 22 - July 28)
- 12 Week 10 (July 29 - August 4)
- 13 Week 11 (August 5 - August 11)
- 14 Week 12 (August 12 - August 18)
- 15 Week 13 (August 19 - August 25)
Community Bonding Period (May 6 - May 27)
Discussed about sharing of mock-up code and prototypes with mentor
Developed a prototype for gui implementation of multi-tab feature. Prototype1 Code
Implementing prototype in openscad codebase
Implemented the prototype in openscad codebase. Made PR #2949. This pr will act as a sandbox for prototyping and sharing of coding with mentor. Discussion about integrating pre-available editing features in all tabs
Implemented the comment feature using signal dispatcher as suggested by mentor. Made the pr.
Studying the openscad codebase to look for implementation of saving feature for each tab.
Implemented the feature of saving of tab contents in prototype code. Main Window name updates on switching tab.
Discussed about correctness of signal dispatcher.
Implemented signal dispatcher in a separate class. Made the pr. Discussed about implementation details of multi-tab feature. Decided to implement the feature in a separate TabManager class.
Studying the openscad codebase for feasibility of implementation of TabManager class.
Studying openscad codebase.
Made a prototype project with similar gui features as multi-tab. Implemented those features using with a separate TabManager class as suggested by mentors. Prototype2 Code
Implement basic gui(opening and closing of tabs) of multi-tab in openscad code. The feature in implemented in a separate TabManager class. Made the pr #2955
Coding Period (May 27 - Aug 19)
Week 1 (May 27 - June 2)
Discussed about possibility and various method of integration of Simple and QScintilla Editor with multi-tab editor.
Implemented the code for integration of pre-available editor features with multi tab. There are some issues that need to be handled like checking the undo state, highlighting of error in multiple files.
Corrected the updation of undoState and windowModified. Now these states behave correctly for multi-tab environment. Realised that stl exports and enable status of parameterWidget are not behaving correctly.
Corrected the behaviour of stl exports and enable status of parameterWidget. Running some basic tests to check the correctness of work done till now.
Discussed with mentor about behaviour of Customizer widget and animation on changing tabs. Implemented those behaviour in codebase of openscad. Pushed the commits to pr #2955
Run basic tests on gui implemented so far. Discovered that Find, Find and Replace are not behaving correctly for multi-tab.
Week 2 (June 3 - June 9)
Correcting the behaviour of Find, Find and Replace for multi-tab
Implemented the correct behaviour of Find, Find and Replace for multi-tab. Pushed commit 23129ba to pr #2955. Found a bug related to previous implementation of Find. Raised issue #2962. Discussed about implementing save feature for multi-tab and naming of new tabs and tabs that have same file names.
Studying the openscad codebase for implementation of save features in multi-tab.
Working on implementing the open feature for multi-tab.
Removed the option for single file QScintilla Editor. Instead now multi-tab editor will not show tabs in case of single tab, effectively giving the feeling of single file QScintilla Editor. Implemented this feature in multi-tab editor. Pushed commit d594980 to pr #2955
Continuing the work to implement open feature in multi-tab.
Completed the work of implementing Open(File menu option, Recent Files, Examples), Save, Close feature for multi-tab. Pushed the corresponding commits to pr #2955.
Week 3 (June 10 - June 16)
Started testing of code submitted.
Testing and cleaning of code.
Done cleanup of code. This includes renaming variable/function, removing redundant function, removing mdi checkbox from Preferences/Advanced, correcting implementation of reload, prevention of double emission of currentChanged signal for first tab. Pushed commits 0e92308 and cdaee5e in pr #2955.
Implemented the Save All feature. Pushed commit b0c95e8 in pr #2955. Corrected the enabling of Parameter Widget on file load and opening of Recent Files and examples in empty tab. Pushed commits 35e3fe0 and acc3123 corresponding to the changes. Discussed with mentor about the idea of Tab Header spanning the whole window.
Working on Tab Header spanning whole window length.
Week 4 (June 17 - June 23)
Testing multi tab implementation
Continuation of testing of multi-tab implementation. Looking and exploring various methods for auto completion feature.
Posted in mailing group inviting users for testing of multi-tab feature. Going through the codebase at pr #2889 to understand details of auto completion feature.
Looking at web resources available to understand auto-completion in qscintilla.
Made a new pr #2975 implementing auto-completion of openscad keywords. The commit is bdc8e10. Also pushed commit 7cda02a to enable qscintilla in travis check. Discussed with mentor about various options of providing keyword list for auto-completion.
Week 5 (June 24 - June 30)
Checking the plausibility of making keyword list for auto-completion at Builtin class.
Discussed with mentor about implementation details for auto-completion keyword list in Builtin class.
Working on html formatting of calltips.
Week 6 (July 1 - July 7)
Made a separate Keyword class for storing information about keywords. Pushed commit 1eefb4a in pr #2975. Checked about possibilty of html formatted string for calltips. It seems that QScintilla does not support formatting of strings in html form.
Working on implementation of mentor suggested approach.
Applying the approach for primitives keywords.
Completing the primitive keyword autocompletion.
Week 7 (July 8 - July 14)
Week 8 (July 15 - July 21)
Discussed with mentor about overall feedback of work done till now. Get to know about feedback message on multi-tab regarding multi-tab.
Pushed commit 87a58ca in pr #2975 implementing templates being read from json file. Discussed about possible improvements in template feature and calltip format. Pushed commit 606f743 in pr #2955 initializing tabCount variable.
Working on improvements of template feature discussed.
Week 9 (July 22 - July 28)
Discussed with mentor about possible placeholder of cursor in templates
Working on deciding a calltip format for auto-completion feature
Pushed commit 92eaaae improving handling of file drops, commit a3fe6d2 enabling opening of multiple file from open dialog box and commit 94eac67 preventing opening of same file in different tab in pr #2955
Going through the code to analyze the possibility of extending error handling and allowing switch to tab / opening tab with error location
Week 10 (July 29 - August 4)
Continuing reading code base for extending error handling. Discussed with mentor about calltip format
Made pr #3022 adding never option in reload confirmation dialog box
Discussed with mentor about hotspot feature of use'd/include'd files
Going through the QScintilla documentation, trying to find a way to implement hotspot feature
Still going through the documentation. Realized that this task can be achieved by indicator. After discussion, decided to stick to hotspot
Found a bug in reading of Preferences settings. Made pr #3028 removing this bug. Discussed with mentor regarding hotspot feature, and decided to look into parser for it. A bug was reported in pre-filled file name in export dialog box.
Week 11 (August 5 - August 11)
Made pr #3029 correcting file name shown in export dialog box.
Studying the codebase and looking for possible approach to implement hyperlink.
Going through the QScintilla documentation looking for possible clues.
Week 12 (August 12 - August 18)
Discussed with mentor about a possible idea to implement hyperlinks. Planning to pass on line and column number information of use's file name in FileModule::registerUse.
Going through lexer.l and parser.y files, trying to understand their working and finding a way to pass line and column number data of use'd file.
Found LOC macro in parser.y. It appeared to be promising. However, it is giving strange results. Besides the location information changes on different preview even though there is no change in file. The code showing this behaviour is here. Checking if I have done something wrong.
Discussed with mentor and decided to skip the location information part of use'd file, assuming it provides correct data, and implement the remaining hyperlink part.
Reading about the implementation of hotspot to achieve hyperlink. It seems that the ScadLexer should be a sub-class of QsciLexerCustom, if we want hotspot links, however that is not the case. Decided to drop hotspot for hyperlink.
Reading about Indicators to implement hyperlink.
Working on code to implement hyperlink feature via Indicators.
Week 13 (August 19 - August 25)
Completed the code for hyperlink feature. Made pr #3045. Now the part left is regarding correct implementation of character location of use'd files. This feature also needs to be extended to include'd files.
Discussed with mentor about possible solution for the erroneous behavior of Parameter Widget.