aboutsummaryrefslogtreecommitdiffhomepage
path: root/builtin.cpp
Commit message (Collapse)AuthorAge
...
* Cleaned up lots of typecasts, simplified some string handlingGravatar ridiculousfish2012-08-04
|
* Additional warning cleanup and switching from int to size_t where appropriateGravatar ridiculousfish2012-08-04
|
* Lots of work towards making fish build without warnings on Mountain Lion, ↵Gravatar ridiculousfish2012-08-04
| | | | mostly in terms of using size_t instead of int
* Implemented history deletion from fish_configGravatar ridiculousfish2012-07-27
| | | | Fixes https://github.com/fish-shell/fish-shell/issues/250
* Switch from std::list to std::vector in a few places to reduce compiled code ↵Gravatar ridiculousfish2012-07-24
| | | | size
* Lots of miscellaneous cleanup. Unified the path_get_cd_path, ↵Gravatar ridiculousfish2012-07-20
| | | | path_allocate_cd_path, etc. functions
* Allow 'contains' builtin to return indexGravatar maxfl2012-07-10
| | | | | Add an option -i/--index to the contains builtin to print the index of first coincidence.
* Fix read default prompt. It's now single line.Gravatar maxfl2012-07-06
|
* Fixed case behaviourGravatar maxfl2012-07-05
| | | | | | | | | | | | | | | | | | | | | * case no properly handles -h and --help flags, i.e. treats it as pattern * fixed case escaping: The following expressions now work correctly: switch '*' echo '*' echo Match any string end switch '*' echo '\*' echo Match asterix end switch '\\' echo '\\\\' echo Match slash end The same for '?' sign
* Clarify the function name deferral in functions_defGravatar ridiculousfish2012-07-01
| | | | Prohibit making a function with an empty name
* Update funcedGravatar maxfl2012-07-01
| | | | | | | | | | | | | * Editor mode is no the default * Use -i or --interactive or -e fish to edit function in interactive mode * tmpname is now created with random number added and check that file do not already exist * check $TMPDIR existence and put /tmp if it does not exist * There is an undocumented feature to use functions, started with dash. Introduce necessary changes to funced, functions, def_function() in order to make it work properly. * Delete editor guessing. Use $EDITOR variable or -e key
* Don't blow away $status in switch statementsGravatar Kevin Ballard2012-06-24
| | | | | Tweak the switch and case builtins to not blow away $status inappropriately. Fixes issue #161.
* Mostly fix https://github.com/fish-shell/fish-shell/issues/72Gravatar ridiculousfish2012-06-21
|
* Made history --help show history man page and history is now saved only once ↵Gravatar Siteshwar Vashisht2012-06-12
| | | | while deleting items
* Fixed crash in history builtin for inputs like : history --search -prefix "echo"Gravatar Siteshwar Vashisht2012-06-10
|
* Made a bare history call end with a newlineGravatar ridiculousfish2012-06-04
|
* Adding history builtinGravatar Siteshwar Vashisht2012-06-05
|
* Added a -s option to echo to mean "don't output spaces"Gravatar ridiculousfish2012-05-19
| | | | Replaced default prompt to stop calling printf. I opened a bug to replace the default prompt entirely with one that's cheaper.
* More work towards getting function.h off of shared_ptrGravatar ridiculousfish2012-05-17
|
* Work towards getting function.h off of shared_ptrGravatar ridiculousfish2012-05-17
|
* Lots of modernization changedGravatar ridiculousfish2012-05-09
| | | | Removed wcsdupcat
* Fix to start re-respecting CDPATHGravatar ridiculousfish2012-05-05
|
* Fix lots of bugs related to the static analyzerGravatar ridiculousfish2012-03-26
| | | | Improved how screen.cpp interacts with output_set_writer()
* Remove some dead variables.Gravatar ridiculousfish2012-03-25
| | | | | Fix screwy output for invalid tilde expansion in expand.cpp Some cleanup per clang static analyzer
* Make the functions builtin have a bit nicer outputGravatar ridiculousfish2012-03-25
| | | | | Stop autosuggesting things with newlines Make webconfig a little nicer
* Made pwd a builtinGravatar ridiculousfish2012-03-09
| | | | Fixed a thread error when autosuggesting with a command substitution
* A bunch of changes working towards eliminating all memory allocation after ↵Gravatar ridiculousfish2012-03-08
| | | | fork()
* Added some missing calls to setup_fork_guards() in utilities.Gravatar ridiculousfish2012-03-07
| | | | Made echo a builtin
* Improved error reporting for builtin_testGravatar ridiculousfish2012-03-07
|
* Implemented test as a builtin (!)Gravatar ridiculousfish2012-03-07
|
* Remove string_buffer_t (!)Gravatar ridiculousfish2012-03-03
|
* Put fish on a diet. Tracked down the biggest memory hogs and fixed them. ↵Gravatar ridiculousfish2012-03-03
| | | | Total allocations down by a factor of 3 or so, live allocations a few KB.
* Rearrange wopen and stat to avoid a race and hopefully improve performance a ↵Gravatar ridiculousfish2012-03-02
| | | | little bit.
* Some initial changes to use CLO_EXEC, with an eye towards some day using it ↵Gravatar Peter Ammon2012-03-02
| | | | correctly.
* Some initial work towards resolving nasty fork/pthread issues, and to having ↵Gravatar ridiculousfish2012-02-27
| | | | a per-parser job list
* More work towards autosuggesting completionsGravatar ridiculousfish2012-02-25
|
* Replace some string_buffer_t with wcstringGravatar ridiculousfish2012-02-22
|
* Large set of changes to migrate sb_out and sb_err to wcstringGravatar ridiculousfish2012-02-22
|
* Modified functions in function.h/.cpp to use wcstring instead wchar_t*, ↵Gravatar Siteshwar Vashisht2012-02-19
| | | | other files also modified to use wcstring.
* For for crash printing backtrace for command "eval cd sldkfjsdlfk"Gravatar ridiculousfish2012-02-13
|
* Removed halloc_wcsdupGravatar ridiculousfish2012-02-09
|
* Removed some more hallocGravatar ridiculousfish2012-02-09
|
* Fixed named_arguments to be wcstring_list_t instead of al_listGravatar ridiculousfish2012-02-08
|
* Get event_t off of halloc (!)Gravatar ridiculousfish2012-02-08
|
* Excised some more halloc and array_list_tGravatar ridiculousfish2012-02-08
|
* CLeanup the io_stack in builtin.cpp, other changes to migrate away from al_listGravatar ridiculousfish2012-02-07
|
* Clean up exec_subshell, removing al_list from itGravatar ridiculousfish2012-02-07
|
* Replaced void*data with auto_ptr<function_data_t>, eliminating antoher halloc.Gravatar ridiculousfish2012-02-07
|
* Fix event_block_t list from ad-hoc linked list to std::dequeueGravatar ridiculousfish2012-02-07
|
* Removed discriminated union from block_t type, allowing us to store ↵Gravatar ridiculousfish2012-02-07
| | | | wcstrings in it