axel
|
37a95a3096
|
Make parsing of --authorative switch for complete builtin more logical. Fix bug with previous approach causing some completions to be ignored.
darcs-hash:20070128134059-ac50b-de53eb223939fbdf0d247dfbe343c62fc31cce11.gz
|
2007-01-28 23:40:59 +10:00 |
|
axel
|
fc87b3c4b4
|
Make it possible to specify the -u switch tom complete without actually specifying any new completions, since it affects all previous completions
darcs-hash:20070128032416-ac50b-93b943d712ac072f1bdb7f568e8064f73ffb85e0.gz
|
2007-01-28 13:24:16 +10:00 |
|
axel
|
f2ccbe7374
|
Make get_desc_buff variable functions local static instead of global
darcs-hash:20070127020924-ac50b-0dfd72f6c30a82adc9500020df4b7bafb8d6dd56.gz
|
2007-01-27 12:09:24 +10:00 |
|
axel
|
85241817f8
|
Drop unneeded generic descriptions for completion of functions and builtins. Add description for count.
darcs-hash:20070127020752-ac50b-62dba47967cac04cd242894bfaa03116461883f3.gz
|
2007-01-27 12:07:52 +10:00 |
|
axel
|
85d069c106
|
Fix crash in tab completion code when completing an imcomplete backsalsh escape
darcs-hash:20070126171413-ac50b-a9338dc73863381f2b22e09fb8b5e711f64b8f29.gz
|
2007-01-27 03:14:13 +10:00 |
|
axel
|
4930db35e2
|
Correctly unescape tokens when performing switch completion
darcs-hash:20070118164528-ac50b-fcaa59d247c4c6b430ab47b293d5eb173a97e9fc.gz
|
2007-01-19 02:45:28 +10:00 |
|
axel
|
461ef2a508
|
Fix completion bug where fish would refuse to provide completion strings for '--'
darcs-hash:20070116015938-ac50b-353566d9fd8984cabd56127a9088d57695e2b7ba.gz
|
2007-01-16 11:59:38 +10:00 |
|
axel
|
fce74c73c7
|
Minor code edits - show user name when completing home directories and minor code simplifications
darcs-hash:20070110173445-ac50b-40fd22ba766239dcfe6797155a852591b76f9253.gz
|
2007-01-11 03:34:45 +10:00 |
|
axel
|
e110b29c2f
|
Do not complete using switches after a '--' has been encountered
darcs-hash:20070110124528-ac50b-111f01af0701f2fcc2bd22a7666b74497835356a.gz
|
2007-01-10 22:45:28 +10:00 |
|
axel
|
63010c26ad
|
Two very minor code touch ups
darcs-hash:20070107142430-ac50b-20cd4fe96c03c052bb6fb5c07ce207a534e86498.gz
|
2007-01-08 00:24:30 +10:00 |
|
axel
|
1289e03134
|
Only complelete valid command types as subcommands for 'command' or 'builtin' builtins. Also make sure that the '--' switch is understood by the completions
darcs-hash:20061214000326-ac50b-3ee9130ebb3fcc9b2723686945cfca055c4f44a4.gz
|
2006-12-14 10:03:26 +10:00 |
|
axel
|
774c050f92
|
Minor code tweaks. Move a few deeple nested pieces of code to their own functions. There are lots of other places where this should be done as well.
darcs-hash:20061213235838-ac50b-c3bedea3017910cc4f0d257ad6ee1da6b76efd12.gz
|
2006-12-14 09:58:38 +10:00 |
|
axel
|
8619d17f43
|
Minor documentation, indentation tweaks
darcs-hash:20061129142102-ac50b-0ae69ec0878a54092f16261b314b34ef4eeeb5ba.gz
|
2006-11-30 00:21:02 +10:00 |
|
axel
|
e0322bf0e0
|
Add --without-gettext switch to optionally disable gettext support
darcs-hash:20061129141822-ac50b-64a78e7a3594827abe5024fdbf7d4c79ac21162c.gz
|
2006-11-30 00:18:22 +10:00 |
|
axel
|
deed3a63a3
|
Make completion descriptions on symlinks to directories have their own description
darcs-hash:20061123104145-ac50b-6b48de9c46593312d9c65368d17a45999d197e4a.gz
|
2006-11-23 20:41:45 +10:00 |
|
axel
|
cab80b452b
|
Fix bug where tab completions for implicit 'cd' would ignore symbolic links to directories
darcs-hash:20061123104023-ac50b-7245f70e0f6fbbc97358e32c6dc7ca5258f24a53.gz
|
2006-11-23 20:40:23 +10:00 |
|
axel
|
0105ec284d
|
Don't intern as much completion data - this helps reduce memory usage when autounloading
darcs-hash:20061116130833-ac50b-b19887dc36b16476bb3b2a1593b23dd3325187ee.gz
|
2006-11-16 23:08:33 +10:00 |
|
axel
|
55b253152c
|
Only do command description lookup if we have non-directory commands
darcs-hash:20061116130400-ac50b-47b7159276d607aab8c4a8d52a9c8a60a3f77819.gz
|
2006-11-16 23:04:00 +10:00 |
|
axel
|
310768e8d2
|
Try to avoid the '
darcs-hash:20061107181911-ac50b-fda6044a81b3a09707f17d4017c2c3dacf4e1801.gz
|
2006-11-08 04:19:11 +10:00 |
|
axel
|
32a49e45c8
|
Use the _t suffix for typedef:ed structs in complete.c
darcs-hash:20061024110352-ac50b-30768be6a11d9a5935be479fbdb430a42b0a95b9.gz
|
2006-10-24 21:03:52 +10:00 |
|
axel
|
4683f4c989
|
Fix a number of bugs found using the warnings generated by earlier patch
darcs-hash:20061019153603-ac50b-4efb1ad1fe2cbe693a921648a0616a3d258d7933.gz
|
2006-10-20 01:36:03 +10:00 |
|
axel
|
ea998b03f2
|
First stab at directory transition. Test with care...
darcs-hash:20061019115023-ac50b-30c3fd51d8af8a616d63dfcac39370d7fe6d144e.gz
|
2006-10-19 21:50:23 +10:00 |
|
axel
|
2ab04f4043
|
Skip command description lookup when no commands where found
darcs-hash:20061018155151-ac50b-5562479da23b89571f91ae1e2ed15e640ef0a094.gz
|
2006-10-19 01:51:51 +10:00 |
|
axel
|
b32bbb24b9
|
Fix bug in command description lookup code causing missing descriptions when command is given with a path
darcs-hash:20061018155059-ac50b-40936e573c07deb6b159a16d843f02ed60e79b49.gz
|
2006-10-19 01:50:59 +10:00 |
|
axel
|
6400b60bdd
|
Fix a few places where uncasted 0 was used as a null pointer in vararg functions, causing potential crashes on 64-bit platforms
darcs-hash:20061008132759-ac50b-23fe4f70a5143b8b187780403d8d21fb69c3e83f.gz
|
2006-10-08 23:27:59 +10:00 |
|
axel
|
0ea668b260
|
Minor code cleanup
darcs-hash:20061004214204-ac50b-e1529fcedb1665f9871a95eba293a4a3c1150464.gz
|
2006-10-05 07:42:04 +10:00 |
|
axel
|
b15e8123ca
|
If no completions have been found, use file completion even if command specific completions have disabled file completions. Suggested by MArtin Bähr.
darcs-hash:20060827005740-ac50b-41c3bf2bb91bcfc0122c317bcc2aca2061cd019e.gz
|
2006-08-27 10:57:40 +10:00 |
|
axel
|
ed8cd08984
|
Fix minor memory leak in completion code
darcs-hash:20060826021948-ac50b-6fecba2056e47cb7c4e8499f2a51e1c0c23d0757.gz
|
2006-08-26 12:19:48 +10:00 |
|
axel
|
69537430ea
|
Fix bug in completion code reported by Martin Bähr, as well as other bug evident in his bug report.
darcs-hash:20060826013722-ac50b-08de084a40af8ba5d708a7cd162087b7afbb7648.gz
|
2006-08-26 11:37:22 +10:00 |
|
axel
|
303473f20c
|
Fix incorrect usage of the term subshell when command substitution was meant
darcs-hash:20060822143831-ac50b-cb5267a6434adcbd5bafb452d688bee06c23d4d6.gz
|
2006-08-23 00:38:31 +10:00 |
|
axel
|
cd9102214b
|
Rearrange includes so that config.h is always the first file to be included
darcs-hash:20060811011835-ac50b-847fc790288e3bb3f3a0ee7734ff278d2dc65bef.gz
|
2006-08-11 11:18:35 +10:00 |
|
axel
|
b2d940c25a
|
Drop the init and shutdown function for the completion code
darcs-hash:20060722101651-ac50b-45f840a5b2f7461d976a8f5b859aa99bfa472274.gz
|
2006-07-22 20:16:51 +10:00 |
|
axel
|
b2e2743195
|
Remove translate.c. The gettext fallback functionality is moved to fallback.c, the wide wrapper is moved to wutil.c
darcs-hash:20060719225549-ac50b-0a55e805b04f4fe0afa99ea580901d62f39cdef5.gz
|
2006-07-20 08:55:49 +10:00 |
|
axel
|
9e304fa734
|
Overhaul of the script autoloader. This should make sure that old scripts are unloaded and new scripts are loaded when the fish_function_path and fish_complete_path variables change
darcs-hash:20060712142242-ac50b-3966a0e96a32facc8bc1164d6d0837fc551e4733.gz
|
2006-07-13 00:22:42 +10:00 |
|
axel
|
bb04df2ac9
|
Minor code tweaks: A few extra input validations, spelling corrections, etc
darcs-hash:20060710223956-ac50b-22d3b2adf570872564abf7ab68bb223d0c4a5308.gz
|
2006-07-11 08:39:56 +10:00 |
|
axel
|
d56ab1d365
|
Switch from die_mem function to DIE_MEM macro in order to be able to give a line and file for the OOM message
darcs-hash:20060703103957-ac50b-8d7a860d931fd087f6d1759bc1e934dba1cfefe2.gz
|
2006-07-03 20:39:57 +10:00 |
|
axel
|
b016438c08
|
Update input validation. Always use the magic CHECK macro, which prints an error message including instructions on how to report this problem.
darcs-hash:20060621004836-ac50b-a47f296634eda0c469eb39034603015b1ad7ab5c.gz
|
2006-06-21 10:48:36 +10:00 |
|
axel
|
7268a4a4e0
|
Various code polish, including minor rearangement of builtin code to export fewer functions, a few additional input checks, and removal of the unneeded, exported error_max variable
darcs-hash:20060620212016-ac50b-f76c10eea23fab14a648ea83ed0c83a171b8fef9.gz
|
2006-06-21 07:20:16 +10:00 |
|
axel
|
07ff8a6c03
|
Documentation updates. Fixes a few formating bugs, adds various minor missing api documentation, fixes a few typos. Also fixes a few tiny code issues, mostly missing consts, etc
darcs-hash:20060617130708-ac50b-cc2ec5aa3e4bfb8e28d7b86441bfb4661f1dd7e7.gz
|
2006-06-17 23:07:08 +10:00 |
|
axel
|
8fdc46a105
|
Add support for hishlighting potentially valid paths - default behaviour is to underline them
darcs-hash:20060614132240-ac50b-448a4f8c43007262876d1ab6b52480e46b0e2981.gz
|
2006-06-14 23:22:40 +10:00 |
|
axel
|
9aee2b7c9c
|
Drop most 'const's from function prototypes
darcs-hash:20060612214742-ac50b-9b0801e8a7c07d6ab3f0acf569e1d6eb1eeb3f0e.gz
|
2006-06-13 07:47:42 +10:00 |
|
axel
|
d32751df13
|
Use halloc in a few more places, including the highlight code
darcs-hash:20060612141233-ac50b-1c44411dd31cdc31d6ccb226f567c308c4fc0f55.gz
|
2006-06-13 00:12:33 +10:00 |
|
axel
|
93ae00e8e5
|
Do input validation in various functions in function.c and complete.c
darcs-hash:20060608000145-ac50b-1088c3f5e3c1ad2759c13400e5dda2d21858fedc.gz
|
2006-06-08 10:01:45 +10:00 |
|
axel
|
d7eb084b9d
|
Make sure that empty completion descriptions aren't translated to the gettext version information
darcs-hash:20060607235601-ac50b-7b8d4d01f4e30d0722c6e269f9d46fb354c5f4b6.gz
|
2006-06-08 09:56:01 +10:00 |
|
axel
|
17171c3277
|
If a help page for a builtin is showed in response to an error, make sure it 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
|
2006-05-26 21:24:02 +10:00 |
|
axel
|
29e86254d0
|
Allow tab completion of empty command names
darcs-hash:20060521223213-ac50b-5201b7f0dfe5227f93aae6db94450e165c9a5a34.gz
|
2006-05-22 08:32:13 +10:00 |
|
axel
|
dbb66e1895
|
Remove two minor memory leaks
darcs-hash:20060514223903-ac50b-4e764c460effd8c45493acfe5682626c3711c77e.gz
|
2006-05-15 08:39:03 +10:00 |
|
axel
|
c2f6c6c1d2
|
Do gettext translation of descriptions just-in-time internally in fish
darcs-hash:20060301165347-ac50b-3df9feec60dd9860e0988396d10b550a501f6802.gz
|
2006-03-02 02:53:47 +10:00 |
|
axel
|
2401a163fe
|
Move all fallbacks for standard and not-so-standard unix functions to fallback.c, in order to have a one-stop place to look for such functions
darcs-hash:20060228131716-ac50b-0832193dbcaf7191dcb24456dc40f2e861a1382e.gz
|
2006-02-28 23:17:16 +10:00 |
|
axel
|
fd6bf06f15
|
Various minor edits
darcs-hash:20060225022139-ac50b-9ef43f88e2266978e9b39038a6a5087ff1305509.gz
|
2006-02-25 12:21:39 +10:00 |
|