aboutsummaryrefslogtreecommitdiffhomepage
path: root/common.c
Commit message (Collapse)AuthorAge
* Make sure debug() never alters errno, so that it can safely be called ↵Gravatar axel2006-12-14
| | | | | | between an error and calling wperror() darcs-hash:20061214100131-ac50b-b1c2e4819567fc35858233c265a26b934620fc6d.gz
* Add a bugreport function for writing out a message about how to file bug reportsGravatar axel2006-11-18
| | | | darcs-hash:20061117145825-ac50b-0480300cce24657aae9572b79f145d956db93593.gz
* Do not escape the ':' character. Thanks to Tassilo Horn for pointing this out.Gravatar axel2006-11-08
| | | | darcs-hash:20061107205437-ac50b-51632ce51915d4ca8680ab4c4522bcd002a794b6.gz
* Make any character except '/' legal in function namesGravatar axel2006-10-20
| | | | darcs-hash:20061019154747-ac50b-f3ab0df1085b91ec0eadcceddb23f03d5b0247aa.gz
* Minor code fixesGravatar axel2006-10-20
| | | | darcs-hash:20061019153950-ac50b-9a7d5939ce47cd5f8b7167a97b0e9c62315b7b6e.gz
* First stab at directory transition. Test with care...Gravatar axel2006-10-19
| | | | darcs-hash:20061019115023-ac50b-30c3fd51d8af8a616d63dfcac39370d7fe6d144e.gz
* Do not use INTERNAL_SEPARATOR tokens to separate different parts of an ↵Gravatar axel2006-10-10
| | | | | | unescaped string when unescape_special is false. This fixes a bug where weird characters would sometimes be printed in completion descriptions darcs-hash:20061009151913-ac50b-47a9d3274b2399cef6fd0e12a908a606da2c4903.gz
* Allow escaped newlines within qoutes, expand them to themselvesGravatar axel2006-10-09
| | | | darcs-hash:20061009012248-ac50b-a403705cfe166c7686a168bc017c50c316c28161.gz
* Fix nagging warning messageGravatar axel2006-09-04
| | | | darcs-hash:20060903234751-ac50b-c5d7f026323b5cab450e1770be572dcdf3ecc904.gz
* Minor polishGravatar axel2006-09-04
| | | | darcs-hash:20060903230006-ac50b-c55a9272bb1cdb10312b8580c4c2a85654329e30.gz
* Make "$foo\[1]" not be an array slicing. Notice the extra backslashGravatar axel2006-09-01
| | | | darcs-hash:20060831155932-ac50b-746462d2147f349f9a799cb4786a0abacd1d3d4a.gz
* Add support for \cx backslash escapes for control sequences, syntax is ↵Gravatar axel2006-09-01
| | | | | | borrowed from bash darcs-hash:20060831155813-ac50b-cc93412afc87c1c391c3dbc5e7b8c9175efe01d8.gz
* Add support for \a \f \v escape sequences, and make supåport for \e ↵Gravatar axel2006-08-24
| | | | | | standards compliant darcs-hash:20060824002609-ac50b-a1a9150d096647d9ab4c39d3245b528d7e75cd57.gz
* More header/autoconf fixes, improve winsize checkingGravatar axel2006-08-10
| | | | darcs-hash:20060809225338-ac50b-7162a690e44e2272f4760723f5bf8cc135dc5952.gz
* Fix another typo in common.cGravatar axel2006-08-01
| | | | darcs-hash:20060801004648-ac50b-4177620e4ee37ab1ad6f942faa3023cedeee9055.gz
* Fix typo in common.cGravatar axel2006-08-01
| | | | darcs-hash:20060801003556-ac50b-fb20d6405d2d8fc8d343d040afbf3863bac07b2f.gz
* Provide fallback is struct winsize is not definedGravatar axel2006-07-31
| | | | darcs-hash:20060730205544-ac50b-26f34eb04b56924baa34f560fd274cf38413b5f5.gz
* Include siginfo.h in all signal-using files to make Solaris happy. Thanks to ↵Gravatar axel2006-07-31
| | | | | | Netocrat for the report and a description of the solution. darcs-hash:20060730202659-ac50b-1840aff40ec2467242bd107676c7426cdb14f643.gz
* Include unistd.h and stropts.h in common.c to fix Solaris problems reported ↵Gravatar axel2006-07-28
| | | | | | by Netocrat darcs-hash:20060728125057-ac50b-455d5a9a1671ad3bfee61a46266b420aff1adb49.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
* Even more input validationGravatar axel2006-06-21
| | | | darcs-hash:20060621100746-ac50b-8aa5648c05a656829a895669be27c6fa4f1d8458.gz
* Remove common_init and common_destroy. Use halloc instead.Gravatar axel2006-06-21
| | | | darcs-hash:20060621095838-ac50b-e4349a0ab02696cead5397efce3792c9d56c2d15.gz
* Check exit status of close and fclose in a few extra placesGravatar axel2006-06-21
| | | | darcs-hash:20060621095430-ac50b-52afcee91b856f706d6df6bcf2e3a6bc7d746e40.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
* Minor comment edits, reindentation and other code formating changesGravatar axel2006-06-15
| | | | darcs-hash:20060615103706-ac50b-ad9f7060e40f5a786877e95f027688c90f43b6ec.gz
* Minor comment edits, reindentation and other code formating changesGravatar axel2006-06-15
| | | | darcs-hash:20060615103646-ac50b-d7cde4cfca0c776127e9e161daefb74ee6d027ba.gz
* Fix segfault caused by a backslash followed by a null inside single quotesGravatar axel2006-06-15
| | | | darcs-hash:20060615005931-ac50b-4c6be7129dfd2c3a5759a811b605ad32fceff758.gz
* Add support for hishlighting potentially valid paths - default behaviour is ↵Gravatar axel2006-06-14
| | | | | | to underline them darcs-hash:20060614132240-ac50b-448a4f8c43007262876d1ab6b52480e46b0e2981.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
* Add more function input validation checksGravatar axel2006-06-09
| | | | darcs-hash:20060608235212-ac50b-25fd55f96356af65d4da1eec100cc954b4a9f81e.gz
* Highlight invalid use of variable expansion operatorGravatar axel2006-06-02
| | | | darcs-hash:20060601230438-ac50b-165ec1515e0e02674a992a1f0309a567aa6828de.gz
* Increase size of buffer for parser error string. Should change this to a ↵Gravatar axel2006-06-01
| | | | | | dynamically allocated string. darcs-hash:20060531154028-ac50b-ada120ecfe65bcf1ad1b3d1a5fad41ae9dec133c.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 support for highlighting operators and escaped sequencesGravatar axel2006-05-27
| | | | darcs-hash:20060526164638-ac50b-2259579e0460df0641683ce6127bb8516fca8c7e.gz
* Minor editsGravatar axel2006-05-15
| | | | darcs-hash:20060514163936-ac50b-2a208818ccb26dabb60fba18078c3824da40adf5.gz
* Remove some hardcoded values in favour of constantsGravatar axel2006-05-14
| | | | darcs-hash:20060514132510-ac50b-2c703e8892d04b7d74555d05eb6618140e281a61.gz
* Fix broken method for sorting output of builtin commands 'functions', 'set' ↵Gravatar axel2006-05-14
| | | | | | and others darcs-hash:20060514094721-ac50b-9f1d8b6a2e8b4438e6a655de61af54d15cd4f537.gz
* Allow backslash escape fur null byteGravatar axel2006-05-10
| | | | darcs-hash:20060509165501-ac50b-3a69a7ed0b96d5be7860aa997b7c77e37a6b1dc7.gz
* Fixed use of improper storage type for variableGravatar axel2006-05-10
| | | | darcs-hash:20060509165207-ac50b-48561332ab938fe7972bbf07f32ac1f92322d316.gz
* Fix segfault when using the 'set' command with no argumentsGravatar axel2006-05-03
| | | | darcs-hash:20060502162830-ac50b-d3ab63c29a6daeaa62803923b060ec69942911f8.gz
* Add more descriptive error messages when trying to use variables in command ↵Gravatar axel2006-04-22
| | | | | | names darcs-hash:20060421142939-ac50b-d1809fa4687706b433d1d0a5e0a0c9d791de510f.gz
* Use libc implementations of wcslcpy and wcslcat if they exist. Move internal ↵Gravatar axel2006-04-19
| | | | | | implementations to fallback.c. darcs-hash:20060419095628-ac50b-0e94e4205306bb99bb9dea72eec43b442520bf1b.gz
* Add support for \\ in quoted stringsGravatar axel2006-03-06
| | | | darcs-hash:20060306015012-ac50b-a510764b624d1e4416d134f5b92532e046a6125b.gz
* Small edit in common.cGravatar axel2006-03-02
| | | | darcs-hash:20060302113142-ac50b-33e3e91e0ae1787784fde100c9c0878cdd2ed45f.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
* Switch to standard syntax for octal escapesGravatar axel2006-02-24
| | | | darcs-hash:20060224121829-ac50b-8e19f27857378e6456ae08269721138bd60f3464.gz
* Add some input validation code to various functionsGravatar axel2006-02-23
| | | | darcs-hash:20060222154152-ac50b-608032284165f099beecd1cd4f7c6bb2b45df432.gz
* Drop unuses error counter for string conversionsGravatar axel2006-02-23
| | | | darcs-hash:20060222142042-ac50b-25f2e050c680071ccec6989e477f6db5904a2713.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