aboutsummaryrefslogtreecommitdiffhomepage
path: root/builtin_set.c
Commit message (Collapse)AuthorAge
* Minor edits, remove unneeded code, add a few commants, correct spelling, ↵Gravatar axel2006-10-26
| | | | | | tweak the todo list, etc. darcs-hash:20061026102253-ac50b-eb42fdab9a9211d68386a563134856a96b870d90.gz
* Fix occasional garbled characters in output of the set builtinGravatar axel2006-10-20
| | | | darcs-hash:20061019152418-ac50b-2ef6e93820deb5e272f28f893c51dca642a6b080.gz
* Mangle very long variable values when using the set builtin to print ↵Gravatar axel2006-10-05
| | | | | | variables and their values darcs-hash:20061004181901-ac50b-a043695fa8fffe877970a51dd042c4bf623a770c.gz
* Fix minor null pointer bug in the set builtin, fix bug causing the -n switch ↵Gravatar axel2006-09-01
| | | | | | to be ignored, add missing completions for the -n switch to functions and set builtins, and touch up the documentation for said builtin a bit darcs-hash:20060831154400-ac50b-dddbee79481e0e0a8da9fc025e8a15c466460a2f.gz
* Minor code tweaks, mostly things like indentation, but also a ferw code ↵Gravatar axel2006-08-28
| | | | | | reorderings darcs-hash:20060828120244-ac50b-ad4be149ff245b6f799452f9eeff7bcc60af1526.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
* Rearrange includes so that config.h is always the first file to be includedGravatar axel2006-08-11
| | | | darcs-hash:20060811011835-ac50b-847fc790288e3bb3f3a0ee7734ff278d2dc65bef.gz
* Use S_IS* macros instead of S_IF*, which are non-posixGravatar axel2006-08-01
| | | | darcs-hash:20060801002411-ac50b-e5afcbfe4adfc54333c982b43309091c1cbcc1c9.gz
* Use the new array_list functions in builtin_set.cGravatar axel2006-08-01
| | | | darcs-hash:20060731161719-ac50b-28a669e7a83f966dba3527a148ff0fa0813fbd6b.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
* 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
* 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
* Major restructuring of the buildsystem, meaning that the documentation ↵Gravatar axel2006-06-13
| | | | | | doesn't needlessly rebuild itself, and the size of the fish binary drops slightly darcs-hash:20060613134328-ac50b-05ae75eb5cc081b680f38e8866fac00a679cc266.gz
* Drop most 'const's from function prototypesGravatar axel2006-06-13
| | | | darcs-hash:20060612214742-ac50b-9b0801e8a7c07d6ab3f0acf569e1d6eb1eeb3f0e.gz
* Add more function input validation checksGravatar axel2006-06-09
| | | | darcs-hash:20060608235212-ac50b-25fd55f96356af65d4da1eec100cc954b4a9f81e.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
* Add missing help message for a few errors in the set builtinGravatar axel2006-06-04
| | | | darcs-hash:20060603223150-ac50b-b2c731e724410a8a192655940064be307214c149.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
* 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
* Minor edits to builtin_set.cGravatar axel2006-05-19
| | | | darcs-hash:20060519085813-ac50b-67b6772ac7723e13312e444944cc4b077ba23479.gz
* Alter syntax for set builtin so that better slicing operations are possibleGravatar axel2006-05-10
| | | | darcs-hash:20060509164055-ac50b-8514b73bb9e992c463966f95f783f01893ba93bd.gz
* Fix segfault when using the 'set' command with no argumentsGravatar axel2006-05-03
| | | | darcs-hash:20060502162830-ac50b-d3ab63c29a6daeaa62803923b060ec69942911f8.gz
* Change setup to avoid invalid directories and warnings, also revert ↵Gravatar axel2006-04-22
| | | | | | directory checking for fish_*_path, it makes sense to add non-empty directories to these darcs-hash:20060421150558-ac50b-90aff08f81b3d280badba4cc14fb6a0897c39f9e.gz
* Only allow real directories in PATH, CDPATH, etc. If user tries to use ':' ↵Gravatar axel2006-04-21
| | | | | | instead of arrays, give a friendly pointer on how to use arrays darcs-hash:20060420182944-ac50b-fbb5dc63c2a4d3fe3bde92ad7699b1cad972dd0f.gz
* Minor code cleanupGravatar axel2006-04-19
| | | | darcs-hash:20060419124315-ac50b-e7e9cafe6850e1fe805bad82278d15c2de327f5d.gz
* Add warning when trying to change read-only variableGravatar axel2006-04-11
| | | | darcs-hash:20060410153626-ac50b-700ff7687647b8aab47ba79d759d1739cbe60425.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
* Display use of . (source) builtin in stack tracesGravatar axel2006-01-28
| | | | darcs-hash:20060128113440-ac50b-6556097eb766cc7561a3d30ef994bc913181fe65.gz
* Add fallback implementations of wcstok, putwc and getwc. Move all fallbacks ↵Gravatar axel2006-01-21
| | | | | | from common.c to wutil.c. darcs-hash:20060120142721-ac50b-4b9850d889e2210e1d545339e29dcc038a3f2b04.gz
* Add i18n through gettext, as well as a Swedish translationGravatar axel2006-01-04
| | | | darcs-hash:20060104125102-ac50b-5bf026578a69bd94f7a7a3c8dee0ebccd95e5c24.gz
* Make the set builtin only parse switches given after non-switchesGravatar axel2005-12-17
| | | | darcs-hash:20051217012130-ac50b-201dd8301496b800e0382ac238ee7e164b9345e3.gz
* Improved error messagesGravatar axel2005-12-08
| | | | darcs-hash:20051207160647-ac50b-4061540829a108381c20a1a6f3c8fd2d004a9800.gz
* Handle setting zero length variable nameGravatar axel2005-12-08
| | | | darcs-hash:20051207144849-ac50b-d919481d54ef80c68d5f4cc847d5c2370e94ddcc.gz
* Use iswspace instead of the GNU extention iswblankGravatar axel2005-11-26
| | | | darcs-hash:20051125144434-ac50b-088a2a8066537f19f287f9dad1611a172addd053.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
* Add support for zero element arraysGravatar axel2005-09-27
| | | | darcs-hash:20050926144703-ac50b-3ed14d14b02908862d69aec08aab35b6d0188bba.gz
* Fix compiler warningsGravatar axel2005-09-25
| | | | darcs-hash:20050924195558-ac50b-1ad53fa963f71ce5b4aa42490789add2a3d48ab3.gz
* Exportable universal variablesGravatar axel2005-09-23
| | | | darcs-hash:20050922201652-ac50b-f70e7607b4ace24da4020f2d432718dc335e5bdd.gz
* Fix broken sort on printing of variable names in set builtinGravatar axel2005-09-21
| | | | darcs-hash:20050920224640-ac50b-cfa316f9a6168e582d3a6057bdda414ce5b56851.gz
* Initial revisionGravatar axel2005-09-20
darcs-hash:20050920132639-ac50b-fa3b476891e1f5f67207cf4cc7bf623834cc5edc.gz