aboutsummaryrefslogtreecommitdiffhomepage
path: root/complete.c
Commit message (Collapse)AuthorAge
* 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
* Do not unescape strings from completion callouts. Why was this done before?Gravatar axel2006-02-23
| | | | darcs-hash:20060222174716-ac50b-218c6896918e5cf8047ea6291a8cde44061d0b57.gz
* Add some input validation code to various functionsGravatar axel2006-02-23
| | | | darcs-hash:20060222154152-ac50b-608032284165f099beecd1cd4f7c6bb2b45df432.gz
* Remove some ancient debug messages, drop two warnings, add some braces and ↵Gravatar axel2006-02-20
| | | | | | other minor code tweaks darcs-hash:20060219181932-ac50b-2d032e7a64257a6ca0db078ea9c81ae04a01120f.gz
* Use variable name as index for tables when autoloading functions and ↵Gravatar axel2006-02-20
| | | | | | completions in order to better handle changes on path variable values darcs-hash:20060219170116-ac50b-8f617c6f8960660e6227827914dc910a78655c13.gz
* Make sure that command specific completions can handle input strings with ↵Gravatar axel2006-02-19
| | | | | | wildcards reasonably well darcs-hash:20060219011432-ac50b-89a73a3d414f2dbd8a213b851fcb1c494e022eae.gz
* Fix bug in fish causing occasionally incorrect signal handlersGravatar axel2006-02-16
| | | | darcs-hash:20060216133632-ac50b-f24c049830f9c6deca50aca640189ad3f87b630a.gz
* Reset list of loaded completion files when running complete_destroy. ↵Gravatar axel2006-02-15
| | | | | | Otherwise completions will not get propely loaded on language changes. darcs-hash:20060215024644-ac50b-d259cdac14dccb55309a4702683f1b881636e9ac.gz
* Escape semicolons and other chars that have syntactic meaning in various ↵Gravatar axel2006-02-14
| | | | | | shell command situations darcs-hash:20060214114739-ac50b-17616bf01a0504041c0d29ee9428abd8a9f9ad3a.gz
* Optimize the halloc implementation so that mutiple calls to halloc can be ↵Gravatar axel2006-02-11
| | | | | | satisfied by a single malloc, also add wcsdup and wcsndup workalikes using halloc darcs-hash:20060211001317-ac50b-c9cf234c334b4d697fe1251c21013c8ec7f7b0a1.gz
* Another halloc:ification of fish. Halloc has been extended to allow ↵Gravatar axel2006-02-10
| | | | | | registering function calls, this has allowed the creation of halloc-handled arraylists, stringbuffers, etc. More job parsing halloc-ification has reduced the error handling code to only a shadow of it's former self darcs-hash:20060209155020-ac50b-e119c5293ce2368e252cfc01b98ab7c629fdd678.gz
* Do not use CDPATH when completing arguments starting with a '.'Gravatar axel2006-02-09
| | | | darcs-hash:20060208152909-ac50b-650092242a4d9454db6cf4d73858c137040db4c5.gz
* Autoloaded functionsGravatar axel2006-02-08
| | | | darcs-hash:20060208092005-ac50b-8e784f79a4e158c8c15b553fad85002dccc7bd03.gz
* Minor code cleanup, don't use expand_escape and expand_unescape any moreGravatar axel2006-02-07
| | | | darcs-hash:20060206151552-ac50b-e2229d096926461f643fdcdfc79ef1ff01344a35.gz
* Minor comment edits in complete.cGravatar axel2006-02-04
| | | | darcs-hash:20060203213006-ac50b-86ccb93b4c984ab0d29423b8a63269bd1e161410.gz
* Move parts of the command description lookup code to a shellscript functionGravatar axel2006-02-04
| | | | darcs-hash:20060203172736-ac50b-95430eb4ca0d7ee2859237e8543a4e0883349fdb.gz
* Improve the status builtinGravatar axel2006-01-31
| | | | darcs-hash:20060130195310-ac50b-5da6881a847170242be56555646bbf037218d545.gz