aboutsummaryrefslogtreecommitdiffhomepage
path: root/complete.c
Commit message (Collapse)AuthorAge
* Make parsing of --authorative switch for complete builtin more logical. Fix ↵Gravatar axel2007-01-28
| | | | | | bug with previous approach causing some completions to be ignored. darcs-hash:20070128134059-ac50b-de53eb223939fbdf0d247dfbe343c62fc31cce11.gz
* Make it possible to specify the -u switch tom complete without actually ↵Gravatar axel2007-01-28
| | | | | | specifying any new completions, since it affects all previous completions darcs-hash:20070128032416-ac50b-93b943d712ac072f1bdb7f568e8064f73ffb85e0.gz
* Make get_desc_buff variable functions local static instead of globalGravatar axel2007-01-27
| | | | darcs-hash:20070127020924-ac50b-0dfd72f6c30a82adc9500020df4b7bafb8d6dd56.gz
* Drop unneeded generic descriptions for completion of functions and builtins. ↵Gravatar axel2007-01-27
| | | | | | Add description for count. darcs-hash:20070127020752-ac50b-62dba47967cac04cd242894bfaa03116461883f3.gz
* Fix crash in tab completion code when completing an imcomplete backsalsh escapeGravatar axel2007-01-27
| | | | darcs-hash:20070126171413-ac50b-a9338dc73863381f2b22e09fb8b5e711f64b8f29.gz
* Correctly unescape tokens when performing switch completionGravatar axel2007-01-19
| | | | darcs-hash:20070118164528-ac50b-fcaa59d247c4c6b430ab47b293d5eb173a97e9fc.gz
* Fix completion bug where fish would refuse to provide completion strings for ↵Gravatar axel2007-01-16
| | | | | | '--' darcs-hash:20070116015938-ac50b-353566d9fd8984cabd56127a9088d57695e2b7ba.gz
* Minor code edits - show user name when completing home directories and minor ↵Gravatar axel2007-01-11
| | | | | | code simplifications darcs-hash:20070110173445-ac50b-40fd22ba766239dcfe6797155a852591b76f9253.gz
* Do not complete using switches after a '--' has been encounteredGravatar axel2007-01-10
| | | | darcs-hash:20070110124528-ac50b-111f01af0701f2fcc2bd22a7666b74497835356a.gz
* Two very minor code touch upsGravatar axel2007-01-08
| | | | darcs-hash:20070107142430-ac50b-20cd4fe96c03c052bb6fb5c07ce207a534e86498.gz
* Only complelete valid command types as subcommands for 'command' or ↵Gravatar axel2006-12-14
| | | | | | 'builtin' builtins. Also make sure that the '--' switch is understood by the completions darcs-hash:20061214000326-ac50b-3ee9130ebb3fcc9b2723686945cfca055c4f44a4.gz
* Minor code tweaks. Move a few deeple nested pieces of code to their own ↵Gravatar axel2006-12-14
| | | | | | functions. There are lots of other places where this should be done as well. darcs-hash:20061213235838-ac50b-c3bedea3017910cc4f0d257ad6ee1da6b76efd12.gz
* Minor documentation, indentation tweaksGravatar axel2006-11-30
| | | | darcs-hash:20061129142102-ac50b-0ae69ec0878a54092f16261b314b34ef4eeeb5ba.gz
* Add --without-gettext switch to optionally disable gettext supportGravatar axel2006-11-30
| | | | darcs-hash:20061129141822-ac50b-64a78e7a3594827abe5024fdbf7d4c79ac21162c.gz
* Make completion descriptions on symlinks to directories have their own ↵Gravatar axel2006-11-23
| | | | | | description darcs-hash:20061123104145-ac50b-6b48de9c46593312d9c65368d17a45999d197e4a.gz
* Fix bug where tab completions for implicit 'cd' would ignore symbolic links ↵Gravatar axel2006-11-23
| | | | | | to directories darcs-hash:20061123104023-ac50b-7245f70e0f6fbbc97358e32c6dc7ca5258f24a53.gz
* Don't intern as much completion data - this helps reduce memory usage when ↵Gravatar axel2006-11-16
| | | | | | autounloading darcs-hash:20061116130833-ac50b-b19887dc36b16476bb3b2a1593b23dd3325187ee.gz
* Only do command description lookup if we have non-directory commandsGravatar axel2006-11-16
| | | | darcs-hash:20061116130400-ac50b-47b7159276d607aab8c4a8d52a9c8a60a3f77819.gz
* Try to avoid the 'Gravatar axel2006-11-08
| | | | darcs-hash:20061107181911-ac50b-fda6044a81b3a09707f17d4017c2c3dacf4e1801.gz
* Use the _t suffix for typedef:ed structs in complete.cGravatar axel2006-10-24
| | | | darcs-hash:20061024110352-ac50b-30768be6a11d9a5935be479fbdb430a42b0a95b9.gz
* Fix a number of bugs found using the warnings generated by earlier patchGravatar axel2006-10-20
| | | | darcs-hash:20061019153603-ac50b-4efb1ad1fe2cbe693a921648a0616a3d258d7933.gz
* First stab at directory transition. Test with care...Gravatar axel2006-10-19
| | | | darcs-hash:20061019115023-ac50b-30c3fd51d8af8a616d63dfcac39370d7fe6d144e.gz
* Skip command description lookup when no commands where foundGravatar axel2006-10-19
| | | | darcs-hash:20061018155151-ac50b-5562479da23b89571f91ae1e2ed15e640ef0a094.gz
* Fix bug in command description lookup code causing missing descriptions when ↵Gravatar axel2006-10-19
| | | | | | command is given with a path darcs-hash:20061018155059-ac50b-40936e573c07deb6b159a16d843f02ed60e79b49.gz
* Fix a few places where uncasted 0 was used as a null pointer in vararg ↵Gravatar axel2006-10-08
| | | | | | functions, causing potential crashes on 64-bit platforms darcs-hash:20061008132759-ac50b-23fe4f70a5143b8b187780403d8d21fb69c3e83f.gz
* Minor code cleanupGravatar axel2006-10-05
| | | | darcs-hash:20061004214204-ac50b-e1529fcedb1665f9871a95eba293a4a3c1150464.gz
* If no completions have been found, use file completion even if command ↵Gravatar axel2006-08-27
| | | | | | specific completions have disabled file completions. Suggested by MArtin Bähr. darcs-hash:20060827005740-ac50b-41c3bf2bb91bcfc0122c317bcc2aca2061cd019e.gz
* Fix minor memory leak in completion codeGravatar axel2006-08-26
| | | | darcs-hash:20060826021948-ac50b-6fecba2056e47cb7c4e8499f2a51e1c0c23d0757.gz
* Fix bug in completion code reported by Martin Bähr, as well as other bug ↵Gravatar axel2006-08-26
| | | | | | evident in his bug report. darcs-hash:20060826013722-ac50b-08de084a40af8ba5d708a7cd162087b7afbb7648.gz
* Fix incorrect usage of the term subshell when command substitution was meantGravatar axel2006-08-23
| | | | darcs-hash:20060822143831-ac50b-cb5267a6434adcbd5bafb452d688bee06c23d4d6.gz
* Rearrange includes so that config.h is always the first file to be includedGravatar axel2006-08-11
| | | | darcs-hash:20060811011835-ac50b-847fc790288e3bb3f3a0ee7734ff278d2dc65bef.gz
* Drop the init and shutdown function for the completion codeGravatar axel2006-07-22
| | | | darcs-hash:20060722101651-ac50b-45f840a5b2f7461d976a8f5b859aa99bfa472274.gz
* Remove translate.c. The gettext fallback functionality is moved to ↵Gravatar axel2006-07-20
| | | | | | fallback.c, the wide wrapper is moved to wutil.c darcs-hash:20060719225549-ac50b-0a55e805b04f4fe0afa99ea580901d62f39cdef5.gz
* Overhaul of the script autoloader. This should make sure that old scripts ↵Gravatar axel2006-07-13
| | | | | | are unloaded and new scripts are loaded when the fish_function_path and fish_complete_path variables change darcs-hash:20060712142242-ac50b-3966a0e96a32facc8bc1164d6d0837fc551e4733.gz
* Minor code tweaks: A few extra input validations, spelling corrections, etcGravatar axel2006-07-11
| | | | darcs-hash:20060710223956-ac50b-22d3b2adf570872564abf7ab68bb223d0c4a5308.gz
* Switch from die_mem function to DIE_MEM macro in order to be able to give a ↵Gravatar axel2006-07-03
| | | | | | line and file for the OOM message darcs-hash:20060703103957-ac50b-8d7a860d931fd087f6d1759bc1e934dba1cfefe2.gz
* Update input validation. Always use the magic CHECK macro, which prints an ↵Gravatar axel2006-06-21
| | | | | | error message including instructions on how to report this problem. darcs-hash:20060621004836-ac50b-a47f296634eda0c469eb39034603015b1ad7ab5c.gz
* Various code polish, including minor rearangement of builtin code to export ↵Gravatar axel2006-06-21
| | | | | | fewer functions, a few additional input checks, and removal of the unneeded, exported error_max variable darcs-hash:20060620212016-ac50b-f76c10eea23fab14a648ea83ed0c83a171b8fef9.gz
* Documentation updates. Fixes a few formating bugs, adds various minor ↵Gravatar axel2006-06-17
| | | | | | missing api documentation, fixes a few typos. Also fixes a few tiny code issues, mostly missing consts, etc darcs-hash:20060617130708-ac50b-cc2ec5aa3e4bfb8e28d7b86441bfb4661f1dd7e7.gz
* Add support for hishlighting potentially valid paths - default behaviour is ↵Gravatar axel2006-06-14
| | | | | | to underline them darcs-hash:20060614132240-ac50b-448a4f8c43007262876d1ab6b52480e46b0e2981.gz
* Drop most 'const's from function prototypesGravatar axel2006-06-13
| | | | darcs-hash:20060612214742-ac50b-9b0801e8a7c07d6ab3f0acf569e1d6eb1eeb3f0e.gz
* Use halloc in a few more places, including the highlight codeGravatar axel2006-06-13
| | | | darcs-hash:20060612141233-ac50b-1c44411dd31cdc31d6ccb226f567c308c4fc0f55.gz
* Do input validation in various functions in function.c and complete.cGravatar axel2006-06-08
| | | | darcs-hash:20060608000145-ac50b-1088c3f5e3c1ad2759c13400e5dda2d21858fedc.gz
* Make sure that empty completion descriptions aren't translated to the ↵Gravatar axel2006-06-08
| | | | | | gettext version information darcs-hash:20060607235601-ac50b-7b8d4d01f4e30d0722c6e269f9d46fb354c5f4b6.gz
* If a help page for a builtin is showed in response to an error, make sure it ↵Gravatar axel2006-05-26
| | | | | | fits on screen, or only print the synopsis - this patch also contains a huge number of tweaks to where and when the help pages are printed darcs-hash:20060526112402-ac50b-88993e45f411b2f1c45b3202c393c5328f1c7429.gz
* Allow tab completion of empty command namesGravatar axel2006-05-22
| | | | darcs-hash:20060521223213-ac50b-5201b7f0dfe5227f93aae6db94450e165c9a5a34.gz
* Remove two minor memory leaksGravatar axel2006-05-15
| | | | darcs-hash:20060514223903-ac50b-4e764c460effd8c45493acfe5682626c3711c77e.gz
* Do gettext translation of descriptions just-in-time internally in fishGravatar axel2006-03-02
| | | | darcs-hash:20060301165347-ac50b-3df9feec60dd9860e0988396d10b550a501f6802.gz
* Move all fallbacks for standard and not-so-standard unix functions to ↵Gravatar axel2006-02-28
| | | | | | fallback.c, in order to have a one-stop place to look for such functions darcs-hash:20060228131716-ac50b-0832193dbcaf7191dcb24456dc40f2e861a1382e.gz
* Various minor editsGravatar axel2006-02-25
| | | | darcs-hash:20060225022139-ac50b-9ef43f88e2266978e9b39038a6a5087ff1305509.gz