Merge lp://staging/~ashishsharma/boots/curses-devel into lp://staging/boots

Proposed by Ashish Sharma
Status: Needs review
Proposed branch: lp://staging/~ashishsharma/boots/curses-devel
Merge into: lp://staging/boots
Diff against target: 8670 lines (+8462/-1)
32 files modified
boots/app/client_config.py (+5/-0)
boots/lib/console.py (+6/-1)
boots/lib/ui/cui/NEWS (+18/-0)
boots/lib/ui/cui/completer/dynamic_loader.py (+108/-0)
boots/lib/ui/cui/completer/key_cache.py (+121/-0)
boots/lib/ui/cui/completer/static_loader.py (+168/-0)
boots/lib/ui/cui/cui_buffer.py (+200/-0)
boots/lib/ui/cui/cui_colors.py (+219/-0)
boots/lib/ui/cui/cui_display.py (+215/-0)
boots/lib/ui/cui/cui_keyboard.py (+452/-0)
boots/lib/ui/cui/cui_main.py (+107/-0)
boots/lib/ui/cui/cui_utils.py (+58/-0)
boots/lib/ui/cui/cui_window.py (+252/-0)
boots/lib/ui/cui/lexers/ply/__init__.py (+4/-0)
boots/lib/ui/cui/lexers/ply/cpp.py (+898/-0)
boots/lib/ui/cui/lexers/ply/ctokens.py (+133/-0)
boots/lib/ui/cui/lexers/ply/lex.py (+1058/-0)
boots/lib/ui/cui/lexers/ply/yacc.py (+3276/-0)
boots/lib/ui/cui/lexers/sql_lexer.py (+98/-0)
boots/lib/ui/curses.py (+278/-0)
data/cfg/colors.cfg (+112/-0)
doc/gsoc-docs/Makefile (+89/-0)
doc/gsoc-docs/code_docs.rst (+19/-0)
doc/gsoc-docs/code_docs/mod_completer.rst (+33/-0)
doc/gsoc-docs/code_docs/mod_cursesui.rst (+65/-0)
doc/gsoc-docs/code_docs/mod_lexers.rst (+19/-0)
doc/gsoc-docs/conf.py (+194/-0)
doc/gsoc-docs/gsoctemplates/layout.html (+21/-0)
doc/gsoc-docs/index.rst (+38/-0)
doc/gsoc-docs/make.bat (+113/-0)
doc/gsoc-docs/personal_info.rst (+35/-0)
doc/gsoc-docs/project_overview.rst (+50/-0)
To merge this branch: bzr merge lp://staging/~ashishsharma/boots/curses-devel
Reviewer Review Type Date Requested Status
Boots Developers Pending
Review via email: mp+54952@code.staging.launchpad.net

Description of the change

GSOC 2010 Work.

All related blueprints have been implemented(some minimally). List is available on branch's page.

These changes can be safely merged into boots as they are activated only with use of
--interface option.

Details:
1. Curses User Interface. Complete interface done in curses. Only one
   difficulty remains, which is that on resizing of terminal window the
   interface fails(does not support resizing of terminal window).
2. Syntax Highlighting. Frmework for it is also created. Basic highlighting
   for sql is supported. Can be extended to other languages too.
3. Proper parsing. Limited work done on this one. What is done is that, lexing
   is done for SQL. This can be extended to other languages.
4. Tab Completion. This has been implemented. But it is limited in a sense that
   it builds up key database(from which matches are found) at start of program.
   After that no updates are done when the objects of server are modified.

Now need comments on new things to do.

To post a comment you must log in.

Unmerged revisions

186. By Ashish Sharma

Code refactoring.
New option --interface added to boots command line options.
See NEWS for complete description.

185. By Ashish Sharma

last gsoc commit. No changes. Just additions to comments.

184. By Ashish Sharma

docs update

183. By Ashish Sharma

Worked on comments and refactoring.
Tested the tab completion with MySQLdb connection.
Will only be working if you use boots to connect to MySQL.
To disable it comment line no 98 in ./boots/lib/ui/cui/key_cache.py

182. By Ashish Sharma

Documentation added and updated in main devel branch.
Also find it hosted on http://web.iiit.ac.in/~ashishsharma/gsoc/html/index.html

181. By Ashish Sharma

small changes to network updater

180. By Ashish Sharma

News Updates.
Tab key functions properly now.

179. By Ashish Sharma

Ctrl+w rectified.

178. By Ashish Sharma

Tab completion support added.

177. By Ashish Sharma

create doc folders.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches