aboutsummaryrefslogtreecommitdiffhomepage
path: root/common.cpp
Commit message (Collapse)AuthorAge
* Make `contains` take the string by const reference again, for performance ↵Gravatar ridiculousfish2014-03-11
| | | | reasons
* Fixed various Undefined Behavior occurrences.Gravatar Daniel J. Hofmann2014-03-07
| | | | | | | | | | | | | | | | | Conditionally uninitialized: - builtin_commandline.cpp:577 - expand.cpp:869 - parse_util.cpp:1036 Initialization of POD structs: - event.cpp:61 - autoload.cpp:22 References used with va_start: - common.cpp:608:18 Found with clang-3.4's awesome -Wconditional-uninitialized, -Wmissing-field-initializers and -Wvarargs.
* Revert "Merge pull request #1317 from pullreq/cpp"Gravatar ridiculousfish2014-02-28
| | | | | | | This reverts commit 74135c0600d5dcc40d396d0e7293c17b8d4bdaa7, reversing changes made to 6d749789ce240a3e6f1447777db63fd8e7525560. See discussion in #1317
* Fixes .c -> .cpp in comments. For doxygen.Gravatar Geoff Nixon2014-02-27
|
* Dead storesGravatar Geoff Nixon2014-02-27
|
* Optimize the tokenize_variable_array hot spot to do less string copyingGravatar ridiculousfish2014-02-24
|
* Partially rework profiling. Fix profiling crash with new parser. FixesGravatar ridiculousfish2014-02-09
| | | | 1295
* Update style and formatting to conform to fish style guide.Gravatar ridiculousfish2014-01-15
|
* Additional miscellaneous fixes based on cppcheck static analysisGravatar ridiculousfish2014-01-12
|
* Miscellaneous minor fixes based on cppcheck static analyzerGravatar ridiculousfish2014-01-12
|
* Merge branch 'master' into astGravatar ridiculousfish2014-01-08
|\
| * Clean up and reduce memory allocations in string escapingGravatar ridiculousfish2014-01-08
| |
* | Merge branch 'master' into astGravatar ridiculousfish2013-12-07
|\| | | | | | | | | | | | | Conflicts: complete.cpp fish_tests.cpp highlight.cpp
| * Fix for compile error identified inGravatar ridiculousfish2013-11-26
| | | | | | | | https://github.com/fish-shell/fish-shell/issues/1142
| * Fix for annoying error message when converting out of range escapeGravatar ridiculousfish2013-11-26
| | | | | | | | https://github.com/fish-shell/fish-shell/issues/1107
| * Fix support for backslash-newline in double quotes in unescape functions. ↵Gravatar ridiculousfish2013-11-26
| | | | | | | | | | | | Makes tests pass again.
* | Merge branch 'master' into astGravatar ridiculousfish2013-11-24
|\|
| * Remove old unescape() functionGravatar ridiculousfish2013-11-24
| |
* | Merge branch 'master' into astGravatar ridiculousfish2013-11-24
|\| | | | | | | | | | | Conflicts: complete.cpp fish_tests.cpp
| * Large cleanup and refactoring of unescape() function.Gravatar ridiculousfish2013-11-24
| |
* | More work on new parserGravatar ridiculousfish2013-08-08
|/
* Fix for crash when setting tmux pane titleGravatar ridiculousfish2013-06-02
| | | | https://github.com/fish-shell/fish-shell/issues/846
* FormattingGravatar ridiculousfish2013-06-02
|
* Support for fuzzy completionsGravatar ridiculousfish2013-05-25
| | | | | https://github.com/fish-shell/fish-shell/issues/568 https://github.com/fish-shell/fish-shell/issues/528
* Formatting and style updatesGravatar ridiculousfish2013-05-05
|
* Teach case-insensitive completions about tildes. Fixes ↵Gravatar ridiculousfish2013-04-07
| | | | https://github.com/fish-shell/fish-shell/issues/647
* Implement actual error handling for builtin_printf. Fix the tests.Gravatar ridiculousfish2013-03-24
|
* Kill termio.h and sys/termios.hGravatar David Adam (zanchey)2013-03-05
| | | | | | | | | | | On FreeBSD, compilation complains that "this file includes <sys/termios.h> which is deprecated, use <termios.h> instead". On Linux and FreeBSD, <sys/termios.h> literally just pulls in <termios.h>. On OS X and Solaris, <termios.h> pulls in <sys/termios.h>. <termio.h> doesn't exist on FreeBSD or Mac OS X, and on Linux is marked as deprecated and just includes <termios.h>. It does exist on Solaris, but no `struct termio` is ever actually used in the codebase.
* Fix compilation by using std::ptrdiff_t instead of ptrdiff_tGravatar lledey2013-02-23
| | | | Signed-off-by: lledey <lledey@gmail.com>
* Cleanup and simplify null_terminated_array_t and its clientsGravatar ridiculousfish2013-02-22
|
* First round of fixes based on cppcheckGravatar ridiculousfish2013-02-16
| | | | https://github.com/fish-shell/fish-shell/issues/575
* Added a seq function that defers to the seq command if presentGravatar ridiculousfish2013-01-12
| | | | https://github.com/fish-shell/fish-shell/issues/137
* FormattingGravatar ridiculousfish2013-01-12
|
* Make do_builtin_io multi-fork safe, moved it to postfork.cppGravatar ridiculousfish2013-01-11
| | | | Addresses https://github.com/fish-shell/fish-shell/issues/495
* Make fishd base its variable files on the MAC address instead of hostnameGravatar ridiculousfish2013-01-08
| | | | Fixes https://github.com/fish-shell/fish-shell/issues/183
* Reset the color before we clear to eolGravatar ridiculousfish2013-01-04
| | | | Fixes https://github.com/fish-shell/fish-shell/issues/493
* parsing numbers imho better uses + rather than |Gravatar Jan Kanis2012-12-30
|
* Rewrite str2wcstring to properly handle embedded nulls, and be simplerGravatar ridiculousfish2012-12-20
|
* Eliminate str2wcsGravatar ridiculousfish2012-12-19
|
* Attempt to fix process expansion on LinuxGravatar ridiculousfish2012-12-18
| | | | Hopefully addresses https://github.com/fish-shell/fish-shell/issues/455
* Eliminate usage of __mb_cur_max, try to fix Linux buildGravatar ridiculousfish2012-12-12
|
* Output embedded null characters more oftenGravatar ridiculousfish2012-12-12
| | | | https://github.com/fish-shell/fish-shell/issues/444
* Added a history speed testGravatar ridiculousfish2012-12-03
| | | | | Profile driven caching of config directory Style fixes
* First attempt at appending a "missing new line" characterGravatar ridiculousfish2012-12-01
| | | | https://github.com/fish-shell/fish-shell/issues/397
* Replaced some usage of wchar_t * with wcstring in complete(). Some style fixes.Gravatar ridiculousfish2012-11-23
|
* Implement new newline-escaping behavior. Backslashes at the end of lines now ↵Gravatar ridiculousfish2012-11-22
| | | | | | | essentially delete the newline, within normal text or double quotes. Backslashes are retained within single quotes. Fixes https://github.com/fish-shell/fish-shell/issues/347 Fixes https://github.com/fish-shell/fish-shell/issues/52
* Fix indentation of switch statementsGravatar ridiculousfish2012-11-19
|
* Apply new indentation, brace, and whitespace styleGravatar ridiculousfish2012-11-18
|
* Restore terminal foreground process group on exitGravatar ridiculousfish2012-11-18
| | | | Fixes https://github.com/fish-shell/fish-shell/issues/197
* Bring back ellipsisGravatar ridiculousfish2012-11-05
|