* Bug #6320 fixed - Completion in Scilab is case sensitive 64/10564/10
authorSimon Marchetto <simon.marchetto@scilab-enterprises.com>
Mon, 25 Feb 2013 16:44:02 +0000 (17:44 +0100)
committercodereview <codereview@git.scilab.org>
Tue, 26 Feb 2013 08:19:41 +0000 (09:19 +0100)
commit7a9fbd60fddbbc7f88b45c8c64d9bf539118a994
treeb5ef4874bee864de4a158f31dbf3f6245045558d
parent1d7bc9124b2dff117ed8b5983d8f27d69e09510d
* Bug #6320 fixed - Completion in Scilab is case sensitive

Completion in Scilab is now case insensitive.
-it applies on all syntax elements of Scilab, and file/directory paths.
-if one hypothesis matches only, then the console applies it automatically.

New unit tests for case insensitive completion.
Used stristr function moved from scilab_windows to string module.
Used convstr exported from string module.

Change-Id: I6216a3aacaee11c976f080947d1e7a2ad867f573
24 files changed:
scilab/CHANGES_5.4.X
scilab/modules/completion/Makefile.am
scilab/modules/completion/Makefile.in
scilab/modules/completion/src/c/completeLine.c
scilab/modules/completion/src/c/completion.vcxproj
scilab/modules/completion/src/c/completion_generic.c
scilab/modules/completion/tests/nonreg_tests/bug_6320.dia.ref [new file with mode: 0644]
scilab/modules/completion/tests/nonreg_tests/bug_6320.tst [new file with mode: 0644]
scilab/modules/completion/tests/unit_tests/completeline.dia.ref
scilab/modules/completion/tests/unit_tests/completeline.tst
scilab/modules/completion/tests/unit_tests/completion.dia.ref
scilab/modules/completion/tests/unit_tests/completion.tst
scilab/modules/string/Makefile.am
scilab/modules/string/Makefile.in
scilab/modules/string/includes/convstr.h [new file with mode: 0644]
scilab/modules/string/includes/stristr.h [moved from scilab/modules/windows_tools/src/c/scilab_windows/stristr.h with 81% similarity]
scilab/modules/string/src/c/convstr.h
scilab/modules/string/src/c/string.vcxproj
scilab/modules/string/src/c/string.vcxproj.filters
scilab/modules/string/src/c/stristr.c [new file with mode: 0644]
scilab/modules/windows_tools/src/c/scilab_windows/scilab_windows.vcxproj
scilab/modules/windows_tools/src/c/scilab_windows/scilab_windows.vcxproj.filters
scilab/modules/windows_tools/src/c/scilab_windows/stristr.c [deleted file]
scilab/modules/windows_tools/src/c/windows_tools.vcxproj