add completion module
authorAllan Cornet <allan.cornet@scilab.org>
Fri, 3 Aug 2007 12:23:59 +0000 (12:23 +0000)
committerAllan Cornet <allan.cornet@scilab.org>
Fri, 3 Aug 2007 12:23:59 +0000 (12:23 +0000)
commitf90710383bd851957852dc6759c0d4e590525ffe
tree44989eb5c7e54af2e7680356e76196ab54e5265b
parent515e2222c76546f3c80cd8697c7228bea2eeecfe
add completion module
a first step ...

r = completion(beginning_of_a_word)

r = completion(beginning_of_a_word,dictionary)
dictionaries : "functions","commands","variables","macros","graphics_properties","files"

[functions,commands,variables,macros,graphics_properties,files] =  completion(beginning_of_a_word)

TO DO :
- extend possibilities
- optimize speed
- test files completion on linux
- update makefiles for linux
- to interface with consoles
- ...
77 files changed:
scilab/Scilab.sln
scilab/Scilab_f2c.sln
scilab/etc/modules.xml
scilab/modules/completion/.checkstyle [new file with mode: 0644]
scilab/modules/completion/.classpath [new file with mode: 0644]
scilab/modules/completion/.project [new file with mode: 0644]
scilab/modules/completion/Makefile.am [new file with mode: 0644]
scilab/modules/completion/build.xml [new file with mode: 0644]
scilab/modules/completion/changelog.txt [new file with mode: 0644]
scilab/modules/completion/completion.iss [new file with mode: 0644]
scilab/modules/completion/etc/completion.quit [new file with mode: 0644]
scilab/modules/completion/etc/completion.start [new file with mode: 0644]
scilab/modules/completion/help/en_US/addchapter.sce [new file with mode: 0644]
scilab/modules/completion/help/en_US/completion.xml [new file with mode: 0644]
scilab/modules/completion/help/en_US/removechapter.sce [new file with mode: 0644]
scilab/modules/completion/includes/completion.h [new file with mode: 0644]
scilab/modules/completion/includes/gw_completion.h [new file with mode: 0644]
scilab/modules/completion/languages/en_US/errors.xml [new file with mode: 0644]
scilab/modules/completion/languages/en_US/menus.xml [new file with mode: 0644]
scilab/modules/completion/languages/en_US/messages.xml [new file with mode: 0644]
scilab/modules/completion/licence.txt [new file with mode: 0644]
scilab/modules/completion/macros/buildmacros.sce [new file with mode: 0644]
scilab/modules/completion/readme.txt [new file with mode: 0644]
scilab/modules/completion/sci_gateway/c/gw_completion.c [moved from scilab/modules/shell/sci_gateway/c/sci_completion.c with 57% similarity]
scilab/modules/completion/sci_gateway/c/sci_completion.c [new file with mode: 0644]
scilab/modules/completion/sci_gateway/completion_gateway.xml [new file with mode: 0644]
scilab/modules/completion/src/c/LibScilab_Import.def [new file with mode: 0644]
scilab/modules/completion/src/c/completion.c [new file with mode: 0644]
scilab/modules/completion/src/c/completion.rc [new file with mode: 0644]
scilab/modules/completion/src/c/completion.vcproj [new file with mode: 0644]
scilab/modules/completion/src/c/completion_generic.c [new file with mode: 0644]
scilab/modules/completion/src/c/completion_generic.h [new file with mode: 0644]
scilab/modules/completion/src/c/completion_header.def [new file with mode: 0644]
scilab/modules/completion/src/c/getfilesdictionary.c [new file with mode: 0644]
scilab/modules/completion/src/c/getfilesdictionary.h [new file with mode: 0644]
scilab/modules/completion/src/c/getfulldictionary.c [new file with mode: 0644]
scilab/modules/completion/src/c/getfulldictionary.h [new file with mode: 0644]
scilab/modules/completion/src/c/getmacrosdictionary.c [new file with mode: 0644]
scilab/modules/completion/src/c/getmacrosdictionary.h [new file with mode: 0644]
scilab/modules/completion/src/c/resource.h [new file with mode: 0644]
scilab/modules/completion/src/c/toolsdictionary.c [new file with mode: 0644]
scilab/modules/completion/src/c/toolsdictionary.h [new file with mode: 0644]
scilab/modules/completion/src/java/completion-JAVA.vcproj [new file with mode: 0644]
scilab/modules/completion/src/nocompletion/LibScilab_Import.def [new file with mode: 0644]
scilab/modules/completion/src/nocompletion/nocompletion.c [new file with mode: 0644]
scilab/modules/completion/src/nocompletion/nocompletion.rc [new file with mode: 0644]
scilab/modules/completion/src/nocompletion/nocompletion.vcproj [new file with mode: 0644]
scilab/modules/completion/src/nocompletion/nocompletion_header.def [new file with mode: 0644]
scilab/modules/completion/src/nocompletion/resource.h [new file with mode: 0644]
scilab/modules/completion/unit_tests/completion.tst [new file with mode: 0644]
scilab/modules/completion/version.xml [new file with mode: 0644]
scilab/modules/core/Makefile.am
scilab/modules/core/includes/existfunction.h [moved from scilab/modules/shell/src/c/completion.c with 53% similarity]
scilab/modules/core/includes/getfunctionslist.h [new file with mode: 0644]
scilab/modules/core/sci_gateway/c/sci_getcwd.c
scilab/modules/core/src/c/callinterf.h
scilab/modules/core/src/c/commandwords.c
scilab/modules/core/src/c/core.vcproj
scilab/modules/core/src/c/hashtable_core.c
scilab/modules/core/src/c/hashtable_core.h
scilab/modules/core/src/c/scicurdir.c
scilab/modules/fileio/Makefile.am
scilab/modules/fileio/fileio.vcproj
scilab/modules/fileio/includes/findfiles.h [moved from scilab/modules/fileio/src/c/findfiles.h with 100% similarity]
scilab/modules/fileio/sci_gateway/c/sci_findfiles.c
scilab/modules/graphics/graphics.vcproj
scilab/modules/graphics/includes/getDictionaryGetProperties.h [new file with mode: 0644]
scilab/modules/graphics/includes/getDictionarySetProperties.h [new file with mode: 0644]
scilab/modules/graphics/src/c/getHandleProperty/GetHashTable.c
scilab/modules/graphics/src/c/getHandleProperty/SetHashTable.c
scilab/modules/io/sci_gateway/c/sci_get_absolute_file_path.c
scilab/modules/shell/Makefile.am
scilab/modules/shell/includes/gw_shell.h
scilab/modules/shell/sci_gateway/c/gw_shell.c
scilab/modules/shell/sci_gateway/shell_gateway.xml
scilab/modules/shell/src/c/completion.h [deleted file]
scilab/modules/shell/src/c/shell.vcproj