aboutsummaryrefslogtreecommitdiffhomepage
path: root/env.c
Commit message (Collapse)AuthorAge
* Make sure that the PWD and HOME variables are always in canonical formGravatar axel2007-05-11
| | | | darcs-hash:20070510191128-ac50b-dd51a75617d62e4f403094ddc7527a82c5de3103.gz
* Add support for using __environ instead of environ, if it exists and environ ↵Gravatar axel2007-01-28
| | | | | | isn't set darcs-hash:20070127165911-ac50b-72747760d767a6918152c2e4f254febb19ab1205.gz
* Fix uninitialized varialble in env.cGravatar axel2007-01-22
| | | | darcs-hash:20070122012815-ac50b-a04cfc343ce75afd4feff8e25c580f9e54d5c5ef.gz
* Minor code edits. Add curly brackets in various places, add or rewrite ↵Gravatar axel2007-01-22
| | | | | | various comments, fix indentation, etc. darcs-hash:20070121150114-ac50b-4fd6965cb2c557178923f8afa944835166e08423.gz
* Add support for backtraces - if the compiler and libc version supports it ↵Gravatar axel2007-01-20
| | | | | | (probably only glibc/gcc) then a stack trace is printed on serious bugs darcs-hash:20070120023649-ac50b-5efa310bea0deddfa1d8dfca1000163eee89c7cb.gz
* Minor performance improvement in the variable assignment codeGravatar axel2007-01-19
| | | | darcs-hash:20070118162922-ac50b-0f4bfd125e20673fdcb928e2a7aac6af50a1dec7.gz
* Handle out of memory condition in various parts of fish by shutting down ↵Gravatar axel2007-01-09
| | | | | | instead of crashing darcs-hash:20070109025102-ac50b-ee7951028e626628257852fd9b5de97572609cea.gz
* Make sure that non-exporeted variables can shadow exported ones. This ↵Gravatar axel2006-11-26
| | | | | | problem was reported by David Bitseff. darcs-hash:20061126130943-ac50b-b99cddc9a042545d5555b281d7e0aa8f667131d6.gz
* Make history variable contain whole historyGravatar axel2006-10-19
| | | | darcs-hash:20061019113916-ac50b-7e24780cdd591ae23210f0da2cb80a4cf09ba5c6.gz
* Give USER and HOME default values if undefinedGravatar axel2006-10-19
| | | | darcs-hash:20061019113844-ac50b-def2288d589f479779166ed64903e99c8c8ab71a.gz
* Fix yet another universal variable issue with initialization of the read ↵Gravatar axel2006-10-19
| | | | | | buffer. This may fix fishd bugs reported by Philip Ganchev and Martin Bähr darcs-hash:20061018164438-ac50b-c586b1ad36249853d613d0137b505377fe890d37.gz
* Minor comment and documentation editsGravatar axel2006-10-02
| | | | darcs-hash:20061001155918-ac50b-8b5b4f5dbd8334bac1c0dc77fa18c8f3cfb4a878.gz
* Add a $version variable. Suggested by Martin BährGravatar axel2006-08-28
| | | | darcs-hash:20060828095840-ac50b-db561647eee1d06785448a4bfc6826eef5aec2b7.gz
* Move a few pieces of implementation-specific kludges related to different ↵Gravatar axel2006-07-20
| | | | | | gettext implementations out of env.c and into fallback.c darcs-hash:20060719231149-ac50b-c930a77ae76249b27f800f1d61146482c8f005c9.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
* Make sure no error message is printed when failing to start fishdGravatar axel2006-07-19
| | | | darcs-hash:20060718173547-ac50b-cf1edeb25838b2df6120efa68855316939fb3f0f.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
* 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
* 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
* Use variable arrays if compiler supports C99, this saves a small amount of ↵Gravatar axel2006-06-14
| | | | | | memory darcs-hash:20060613172251-ac50b-1e19294700c9b9b72e2254f676004e7d9dceea44.gz
* Change name of fishd log file to be in line with name of socket fileGravatar axel2006-06-14
| | | | darcs-hash:20060613154126-ac50b-1e33bbe55075035f2a4522aadb9ae500a3d302aa.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 missing event trigger when non-universal variable is erasedGravatar axel2006-05-29
| | | | darcs-hash:20060529131217-ac50b-feb2034230297d9edc120369d8f3c1cfff6acfcd.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
* Minor code cleanupGravatar axel2006-04-19
| | | | darcs-hash:20060419124315-ac50b-e7e9cafe6850e1fe805bad82278d15c2de327f5d.gz
* Change var_entry_t struct to be ANSI C compliant (Wastes a few hundred bytes)Gravatar axel2006-04-11
| | | | darcs-hash:20060410160109-ac50b-fa8b097722f06aee5fb09095e89f6b39ff90d44b.gz
* Add warning when trying to change read-only variableGravatar axel2006-04-11
| | | | darcs-hash:20060410153626-ac50b-700ff7687647b8aab47ba79d759d1739cbe60425.gz
* Change how a few pointer are supplied to functions, removes warnings about ↵Gravatar axel2006-03-26
| | | | | | breaking aliasing rules darcs-hash:20060326112339-ac50b-eb135567f6a6183e5dbc310c093d2139ecc8fa4b.gz
* Remove warning for missing history value - it is not a bugGravatar axel2006-03-02
| | | | darcs-hash:20060302113314-ac50b-65bd93a0e31e5ac69167ecc84346fa44d55dec71.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
* Minor code tweaksGravatar axel2006-01-31
| | | | darcs-hash:20060130165800-ac50b-8fa4a7ff78365497c5d03d6c7643d5206f41de37.gz
* Make it possible to create zero length environment variable arrays without ↵Gravatar axel2006-01-27
| | | | | | using the ENV_USER flag darcs-hash:20060126154823-ac50b-21d0bdbd367289723cdda355cf6465264df565cf.gz
* Smaller editsGravatar axel2006-01-25
| | | | darcs-hash:20060124181410-ac50b-4ec9e2990852a678de7d47a565ed41780b5279fc.gz
* Add simple fallback implementation of seq command, installed automatically ↵Gravatar axel2006-01-23
| | | | | | on systems which lack the regular seq command darcs-hash:20060122210756-ac50b-f09a50f61137acef18f0d2be16e2556b2cdea921.gz
* Fix broken PATH checkGravatar axel2006-01-22
| | | | darcs-hash:20060121204217-ac50b-70b29fcb9eb17ca739f595b589d196186a5b4860.gz
* Add autoconf test for presense of _nl_msg_cat_cntrGravatar axel2006-01-22
| | | | darcs-hash:20060121160234-ac50b-e41abc6688846ab207b9b6c3143cd694f8452154.gz
* Fix minor spelling detailGravatar axel2006-01-21
| | | | darcs-hash:20060121025307-ac50b-8bfe0dba8292f53fe44655afb6a7a9cdf813d7e8.gz
* Check location of term.h header (updated)Gravatar axel2006-01-19
| | | | darcs-hash:20060119122207-ac50b-c573f54cbe13a1592a20342ee331159be0306913.gz
* Correctly handle locale changes through scope expiry, as well as locale ↵Gravatar axel2006-01-13
| | | | | | changes in completion code darcs-hash:20060113010012-ac50b-81cde216bd6b92f7b1374e5f6452695618185f95.gz
* Yet another batch of description tweaks, as well as the last major checkin ↵Gravatar axel2006-01-12
| | | | | | of translations to swedish (updated patch) darcs-hash:20060111141735-ac50b-b6a9ac5d5d9eb8eac28dd39968cd28f99044e8f5.gz
* Reload completions on locale language change. This will mean that most ↵Gravatar axel2006-01-10
| | | | | | translatable messages will be retranslated. darcs-hash:20060109174032-ac50b-4eba42b58f3a55298168469573315df917d23b10.gz
* Improve locale implementation (should now behave identically to bash) and ↵Gravatar axel2006-01-09
| | | | | | document locale variables behaviour darcs-hash:20060108230049-ac50b-403f1d00c8483fc4fecc275b62e40b1c3d51bfc1.gz
* Output a message when changing LANG in interactive modeGravatar axel2006-01-05
| | | | darcs-hash:20060104140735-ac50b-4147ebc215d62d00fe6add39e62369dd3c07e7d9.gz
* Add i18n through gettext, as well as a Swedish translationGravatar axel2006-01-04
| | | | darcs-hash:20060104125102-ac50b-5bf026578a69bd94f7a7a3c8dee0ebccd95e5c24.gz
* Initial blocking implementationGravatar axel2005-12-12
| | | | darcs-hash:20051211222101-ac50b-6e11220bd608187fbb32a0313b5b73dbdc8354fc.gz
* Minor cleanupsGravatar axel2005-11-29
| | | | darcs-hash:20051129101303-ac50b-11843dc32a9d05037b907fe1ac5df6a90cb7dd36.gz
* Make sure fishd synchronization happens only when neededGravatar axel2005-11-28
| | | | darcs-hash:20051127232208-ac50b-927157fb9b5d3e44981f9ec029735531ae59fd61.gz