aboutsummaryrefslogtreecommitdiffhomepage
path: root/expand.c
Commit message (Collapse)AuthorAge
* 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
* Make it possible to specify scope of a variable to be erased or tested. Also ↵Gravatar axel2006-06-05
| | | | | | make sure set exits with a non-zero exit status when erasing fails. darcs-hash:20060604201451-ac50b-4ea0212c513b33be40559dfe8d65c1446c53f682.gz
* Add support for negative indices in arrays. Negative indices count from the ↵Gravatar axel2006-06-04
| | | | | | end of an array, so -4 is the fourth index from the end darcs-hash:20060604093532-ac50b-6e22b2f2ccfe94375fe4c32e41ccec08ca501744.gz
* Fix some minor 64-bit uncleanlieness - thanks to James AnthillGravatar axel2006-06-02
| | | | darcs-hash:20060601194231-ac50b-a6b9b94379ba1d5bb6c61f7fad4652c8f748b25f.gz
* Rename function expand_variable_array to tokenize_variable_array and move it ↵Gravatar axel2006-05-29
| | | | | | from expand.c to common.c, since it is used by fish_pager, which should not depend on expand.o darcs-hash:20060529111342-ac50b-315d7dcf04e05fa8f32e16801e6793ac4e4e022e.gz
* Add validator check to make sure the second argument to 'for' is 'in'Gravatar axel2006-05-22
| | | | darcs-hash:20060521221604-ac50b-5bc4ce217a08304f68b97b20e908ea1279fe26e9.gz
* Rewrite small amount of code in parameter expansion to use wide character ↵Gravatar axel2006-05-22
| | | | | | strings, not narrow darcs-hash:20060521214601-ac50b-bb3937f5abd2780a7ecf8ab13975a0f6b622323f.gz
* Major update to the ahead-of-time syntax checkerGravatar axel2006-05-22
| | | | darcs-hash:20060521192524-ac50b-48713f826558e66ef21046d1bb779623cc2fd97a.gz
* Make job id numbering start from 1, not 0Gravatar axel2006-04-28
| | | | darcs-hash:20060428132137-ac50b-8e5adcdbc18ad7627b66e9129a13b037a669dd02.gz
* Drop all calls to wcsncpyGravatar axel2006-04-13
| | | | darcs-hash:20060413121851-ac50b-1f479b96b3aa1050a30e9ee0ed27cc107ce2bc45.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
* Add some input validation code to various functionsGravatar axel2006-02-23
| | | | darcs-hash:20060222154152-ac50b-608032284165f099beecd1cd4f7c6bb2b45df432.gz
* Add missing translation stringGravatar axel2006-02-14
| | | | darcs-hash:20060214114804-ac50b-1ce10e7613ebec38a283cd6f6f8ad08397cec529.gz
* Minor hallocificationsGravatar axel2006-02-13
| | | | darcs-hash:20060212190301-ac50b-c15b9a8c6c2897189c4343946d9bd115eefb4972.gz
* Optimizations of how variable expansion implementationGravatar axel2006-02-12
| | | | darcs-hash:20060212112930-ac50b-9b8bb640ef1a5bd14230ecd276167a80d6d986c9.gz
* Registered wrong string with halloc in expand_one, causing potential crash.Gravatar axel2006-02-10
| | | | darcs-hash:20060210003539-ac50b-523cbc848435b7f2b4239cc83da897cc65c00c1c.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
* Minor tweaks to expand_Variables, fixes rare memory leakGravatar axel2006-02-07
| | | | darcs-hash:20060207114857-ac50b-9b2ecf31106678ec35d888066162bf14605c6003.gz
* Further halloc:ification if fishGravatar axel2006-02-07
| | | | darcs-hash:20060206181101-ac50b-db0aac307a81e7f0677acd15a9f38ff8c7ff36d2.gz
* Minor code cleanup, don't use expand_escape and expand_unescape any moreGravatar axel2006-02-07
| | | | darcs-hash:20060206151552-ac50b-e2229d096926461f643fdcdfc79ef1ff01344a35.gz
* Improve the status builtinGravatar axel2006-01-31
| | | | darcs-hash:20060130195310-ac50b-5da6881a847170242be56555646bbf037218d545.gz
* Add support for calculating completions for arbitrary commands through the ↵Gravatar axel2006-01-31
| | | | | | 'complete' builtin darcs-hash:20060130165150-ac50b-5e2ef3bb0298dd5e1a5d6fbdade314cc73ef36f3.gz
* Fixes to api documentation, added .PHONY to makefile actions, made a few ↵Gravatar axel2006-01-24
| | | | | | private functions static darcs-hash:20060123204014-ac50b-b9d2a10c7f00945b5d9d244cb3b8c1489fe280de.gz
* Error message updateGravatar axel2006-01-21
| | | | darcs-hash:20060121123828-ac50b-bb81b8cf34a09c750a02c15d92bcdae11f4b9bad.gz
* Remove accidental newline in error messageGravatar axel2006-01-18
| | | | darcs-hash:20060117172312-ac50b-5c77d13f879e7da44a97f158d0372e7e536c2c81.gz
* Fix buggy error messages in expand.h and add missing translation commandsGravatar axel2006-01-17
| | | | darcs-hash:20060117124830-ac50b-0981a49f5746ec951ddfb1a3097c5009c1eb0385.gz
* Fisx crash buh when completing string ending in backslashGravatar axel2005-12-26
| | | | darcs-hash:20051225220044-ac50b-b880ffe649d04ed1e5ec6786d0b59eed8068d182.gz
* Add separator characters to make quoted variable expantion works properlyGravatar axel2005-12-14
| | | | darcs-hash:20051214135336-ac50b-ebd834e2bc52324ae4926efc270508648d8cb280.gz
* Shorten ${foo} error message a bitGravatar axel2005-12-09
| | | | darcs-hash:20051209035042-ac50b-b71d3e2b326cf18c4520c86d6587d432230d7ac9.gz
* Improved error messagesGravatar axel2005-12-08
| | | | darcs-hash:20051207160647-ac50b-4061540829a108381c20a1a6f3c8fd2d004a9800.gz
* SpellingGravatar axel2005-12-08
| | | | darcs-hash:20051207155717-ac50b-6146b02bd8aff0fd27816acd5e31b38093d8575d.gz
* Give intelligent warning messages on zero-length variable names.Gravatar axel2005-12-07
| | | | darcs-hash:20051207130330-ac50b-cc9d78ba63f592925b6076049e2c59aaaa930eec.gz
* Fix bug breaking filename completions, introduced by csh wildcard syntaxGravatar axel2005-12-04
| | | | darcs-hash:20051204015402-ac50b-911c6188f6c8213a733f4e967fc903f5290f1772.gz
* Use csh-style error rules with wildcards, i.e. if no matches are found, the ↵Gravatar axel2005-12-04
| | | | | | command is not executed darcs-hash:20051203164356-ac50b-1b1818db2698eab9ae765a5af1e259bce3ab37e7.gz
* Make the not builtin work with shellscript functionsGravatar axel2005-11-30
| | | | darcs-hash:20051129195030-ac50b-7ada30d327f2dcc8ad23f56b0a36c975cb90c481.gz
* Change stupid call signature for tilde expand functionGravatar axel2005-11-30
| | | | darcs-hash:20051129165202-ac50b-f442d0d75864317cc70059fffe5e8eb956ad54a6.gz
* Change quoting rules to POSIX styleGravatar axel2005-11-03
| | | | darcs-hash:20051102164913-ac50b-d4b696394e13a2d4c787f8ee1a2b209317dddb51.gz
* Fix crash bug when pasting long textGravatar axel2005-10-28
| | | | darcs-hash:20051027152148-ac50b-b47b96bc8acae760ce53a2e42d23dc2d07bf2302.gz
* Minor performance tweak: Do not allocate any heap memory for hash_table_t ↵Gravatar axel2005-10-27
| | | | | | until an element is inserted. That way, hash tables that never contain any data will not cause a call to malloc() darcs-hash:20051026144823-ac50b-570dfe169a2ce693458c493e8f103884de3c5078.gz
* Minor performance tweaksGravatar axel2005-10-26
| | | | darcs-hash:20051026105102-ac50b-ffa35c43fd9e1aad47229260e5d7da4249cacdcf.gz
* Fix problem bug breaking completion in commands with multiple subshellsGravatar axel2005-10-25
| | | | darcs-hash:20051025110352-ac50b-fff319ddcbafb722b9bc3c61aa1b250b290716a5.gz
* API cleanupGravatar axel2005-10-07
| | | | darcs-hash:20051007103651-ac50b-3b518ce795adf2d39b8ebfcba6a2df7c36411b15.gz
* Cast null pointers to (void *) in vararg functionsGravatar axel2005-10-01
| | | | darcs-hash:20050930182826-ac50b-fa9960404bf69e57531ad02becb5015aaed35d69.gz
* Fix minor memory leak in process expantionGravatar axel2005-09-25
| | | | darcs-hash:20050924193508-ac50b-c6304c30b672781c5cbf3c3f31a0774e01ec7ea7.gz
* Initial revisionGravatar axel2005-09-20
darcs-hash:20050920132639-ac50b-fa3b476891e1f5f67207cf4cc7bf623834cc5edc.gz