aboutsummaryrefslogtreecommitdiffhomepage
path: root/main.c
Commit message (Collapse)AuthorAge
* Avoid magic number in main.cGravatar axel2007-09-09
| | | | darcs-hash:20070908191743-ac50b-7185b9d59122cb9a090cacfbb43266822400e1ed.gz
* Indentation, typo and formating fixes. Very minor patch.Gravatar liljencrantz2007-09-09
| | | | darcs-hash:20070908222453-75c98-2236d962f0c9016820063e871fbbeaa42f36ef22.gz
* Make sure that io redirections are respected by the '.' builtin. This was ↵Gravatar axel2007-04-26
| | | | | | not the case earlier, which caused various bugs, especially after eval was made into a function that internally used '.' darcs-hash:20070425183002-ac50b-d7d93e3b74e7274fe3e0aad98e95dd608bb903ae.gz
* Fix bug where fish would refuse to start if $HOME has an invalid value. ↵Gravatar axel2007-04-11
| | | | | | Thanks to James Vega for the report. darcs-hash:20070411131823-ac50b-2760c09e8939179a6c771a44220aa355381f4f0b.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
* Make 'fish --help' display a help message, not start the help browserGravatar axel2007-01-17
| | | | darcs-hash:20070117131246-ac50b-328c735ba09b8488cf6ee5b95d73290681ce5f06.gz
* A few more error checks during string to integer conversion in various placesGravatar axel2007-01-09
| | | | darcs-hash:20070109134117-ac50b-8816e238b0b6aa3fe83c0a4695d719a60b0d17d4.gz
* Minor code simplification in main.cGravatar axel2006-11-11
| | | | darcs-hash:20061111110650-ac50b-0d50d10087ea863ff0c79d05c614fdb06fa3b9bd.gz
* Make fish send a HUP signal to jobs when the terminal tells it to exit.Gravatar axel2006-11-11
| | | | darcs-hash:20061111104840-ac50b-ae989e26bdb6c769ed93dcf11b742887c97858aa.gz
* Make sure fish has the currect exit statusGravatar axel2006-11-02
| | | | darcs-hash:20061102134859-ac50b-692f9e9aff838ea375e5cf29eeae1e29b1b75338.gz
* Use the same wording about license in Makefile and main.c.Gravatar axel2006-11-02
| | | | darcs-hash:20061101144747-ac50b-fac8e3693445a8601f0c71ab191a64dac0ad7a67.gz
* Move out argument parsing into it's own functionGravatar axel2006-10-26
| | | | darcs-hash:20061025205443-ac50b-2889624cadb3b92be13da523df32b178c773dbf7.gz
* First stab at directory transition. Test with care...Gravatar axel2006-10-19
| | | | darcs-hash:20061019115023-ac50b-30c3fd51d8af8a616d63dfcac39370d7fe6d144e.gz
* Provide fallback version of getopt_long instead of checking for it's ↵Gravatar axel2006-08-28
| | | | | | presense every time it is used darcs-hash:20060828114305-ac50b-f4aad19e936fa42bbe84e51e72aa32445a469527.gz
* Much more reliable getopt_long test. Idea from Netocrat.Gravatar axel2006-08-28
| | | | darcs-hash:20060828102949-ac50b-bb55face2f3127018b6c79a72ee71e38f075232a.gz
* Drop the init and shutdown function for the completion codeGravatar axel2006-07-22
| | | | darcs-hash:20060722101651-ac50b-45f840a5b2f7461d976a8f5b859aa99bfa472274.gz
* Make sure that the builtin source command is used when reading the init ↵Gravatar axel2006-07-22
| | | | | | files, and not an overloaded function darcs-hash:20060722095507-ac50b-4c7c51bec3f2d7224178cdacd2c9ec4ea3b073c3.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
* Initialize etc/fish and share/fish from the Makefile, not automatically by ↵Gravatar axel2006-07-19
| | | | | | Autoconf. That way we get correct expansion of ${prefix} and friends to their install-time value. This fixes a bug reported by James Vega. darcs-hash:20060718164155-ac50b-8ec6c63d9c4e52db2c1884fcffeab78333367773.gz
* Minor code tweaks: A few extra input validations, spelling corrections, etcGravatar axel2006-07-11
| | | | darcs-hash:20060710223956-ac50b-22d3b2adf570872564abf7ab68bb223d0c4a5308.gz
* Use the intern function to share the strings used to describe various key ↵Gravatar axel2006-06-22
| | | | | | bindings. This saves both performance, code size and memory use, but there is a pathological case where the user continually changes key bindings, resulting in more allocated memory than needed. darcs-hash:20060621140344-ac50b-c7eb89a94a96538215f9a6737f8e4bacd6a801fb.gz
* Remove common_init and common_destroy. Use halloc instead.Gravatar axel2006-06-21
| | | | darcs-hash:20060621095838-ac50b-e4349a0ab02696cead5397efce3792c9d56c2d15.gz
* The license agreement int the docs explicitly state GPL v2, while main.c ↵Gravatar axel2006-06-16
| | | | | | mentions GPL v2 or later. Removed the latter to avoid ambiguity. darcs-hash:20060615152306-ac50b-6f24ed875ade3ea25d3536de92a8f16ab26c5e6c.gz
* Edits to source code commentsGravatar axel2006-06-09
| | | | darcs-hash:20060608235557-ac50b-052e5c8f2cceb554064d7408573f277275903e7b.gz
* Minor cleanupGravatar axel2006-05-18
| | | | darcs-hash:20060518130039-ac50b-c17e794113c38909d90be840fce36c7727c628b4.gz
* Fix the longstanding hang-on-exit bug in eterm, as well as making sure the ↵Gravatar axel2006-05-14
| | | | | | history is saved when the terminal emulator exits darcs-hash:20060514101623-ac50b-f8ce693ec111e3c158640ef8de309bf7e5484c5b.gz
* Do not try to read init files if the cd to the proper directory failsGravatar axel2006-05-11
| | | | darcs-hash:20060511115758-ac50b-94661cb36c5a55bc78ddfe576d1cd40fada5f065.gz
* Earlier history in non-interactive mode bugfix contained a new bug causing ↵Gravatar axel2006-04-20
| | | | | | fish to crash if read is not used in non-interactive mode darcs-hash:20060419234211-ac50b-886a33e96cb3f95e9b2c632f03eb3b2b20a560fd.gz
* Remove minor memory leak on initGravatar axel2006-04-19
| | | | darcs-hash:20060419095818-ac50b-d2146525feba5f00d224bce920ab40cc023e390d.gz
* Always init history on startup, to avoid destorying history multiple times ↵Gravatar axel2006-04-19
| | | | | | when reading interactively in a non-interactive script darcs-hash:20060419095502-ac50b-abf2fe39cf9c027bdbc69d78fe858e946f7c81f2.gz
* Add support for the -n switch to skip execution of any commandsGravatar axel2006-03-18
| | | | darcs-hash:20060318010459-ac50b-9d9e5c489e0e4df2159d8c1d0ff952d42e2a2a82.gz
* Fix bug that causing terminal corruption if a job is put under job control ↵Gravatar axel2006-03-10
| | | | | | before running in interactive mode. This is fixed by doing more inits at startup (but only slightly more) darcs-hash:20060310133809-ac50b-d31cd7bab1a3a58de2833f73735817a3d0b3ed7d.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
* Make sure that command specific completions can handle input strings with ↵Gravatar axel2006-02-19
| | | | | | wildcards reasonably well darcs-hash:20060219011432-ac50b-89a73a3d414f2dbd8a213b851fcb1c494e022eae.gz
* Fix broken call to source /fish/fish on startupGravatar axel2006-02-18
| | | | darcs-hash:20060217223236-ac50b-384ea2549a2bbf445842700e693f5edc8bf72023.gz
* Redo installation file structure, move lots of things to $PREFIX/share/fishGravatar axel2006-02-17
| | | | darcs-hash:20060217101339-ac50b-d93d2c620a4b7f75f05ff461a6edbee001da7613.gz
* Fix invalid destruction order on exitGravatar axel2006-02-16
| | | | darcs-hash:20060215222513-ac50b-f3b489568e4bad3532c36f9c66a3c0d61352cd5b.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
* Autoloaded functionsGravatar axel2006-02-08
| | | | darcs-hash:20060208092005-ac50b-8e784f79a4e158c8c15b553fad85002dccc7bd03.gz
* Improved error checking in main()Gravatar axel2006-02-03
| | | | darcs-hash:20060203003855-ac50b-d4f5c4e183dc1b38bbfe15bf44be746bb188ef10.gz
* Add fish switch to enter login modeGravatar axel2006-02-03
| | | | darcs-hash:20060203003754-ac50b-99961eb6635beb0700fbd542fc7ff979ab1ceeb9.gz
* Make stack traces print absolute filenamesGravatar axel2006-02-03
| | | | darcs-hash:20060202152356-ac50b-9e6ab31c03d5f49824ccca7eee3b8e62d66b0009.gz
* Add function stack trace to error outputGravatar axel2006-01-27
| | | | darcs-hash:20060126144810-ac50b-3426191f596674504ce49dd61fcfa3c2c0c0f2bb.gz
* Make description messages more uniformGravatar axel2006-01-09
| | | | darcs-hash:20060108231306-ac50b-6476976dcdb9db47ac61052f0096e1f7eb27fc32.gz
* Add i18n through gettext, as well as a Swedish translationGravatar axel2006-01-04
| | | | darcs-hash:20060104125102-ac50b-5bf026578a69bd94f7a7a3c8dee0ebccd95e5c24.gz
* Remove old event hooks, add more event handler documentationGravatar axel2005-12-04
| | | | darcs-hash:20051203194618-ac50b-e90683cb69b19da789152164a89a34bf187fd4e4.gz
* Use better test for presense of getopt_long functionGravatar axel2005-11-28
| | | | darcs-hash:20051127150603-ac50b-566999b0cb32bc150dc6ef43220452ab42f1ad64.gz
* Minor performance tweaksGravatar axel2005-11-03
| | | | darcs-hash:20051102154159-ac50b-9a32fb6cc654c593048840ebd9f6abb97c2e0bb8.gz
* Make sure PATH contains vital directories during initGravatar axel2005-10-25
| | | | darcs-hash:20051025093945-ac50b-8939b844e472caf43a206e2a0dbfa0d48ffdd45c.gz