aboutsummaryrefslogtreecommitdiffhomepage
path: root/history.cpp
Commit message (Collapse)AuthorAge
* Use mode 0600 for history fileGravatar ridiculousfish2015-04-29
| | | | Fixes #2041
* Support for a "pending item" in history.Gravatar ridiculousfish2015-04-20
| | | | | | | | | | | Before running a command, we add the command to history, so that if the command causes us to exit it's still captured in history. But that command should not be considered part of history when expanding the history within the command itself. For example, `echo $history[1]` should be the previously run command, not `echo $history[1]` itself. Fixes #2028
* Fix tests on FreeBSDGravatar ridiculousfish2014-11-01
| | | | | FreeBSD throws errors if you pass flags like O_WRONLY to mkostemp. Pass only O_CLOEXEC.
* Remove a bunch of dead code identified by cppcheckGravatar ridiculousfish2014-10-31
|
* Fix YAML indentation in history.Gravatar Konrad Borowski2014-09-28
|
* Improve history robustness against corrupt filesGravatar ridiculousfish2014-07-29
| | | | Fixes #1581
* Add support for history --merge to incorporate history changes fromGravatar ridiculousfish2014-07-25
| | | | | | other sessions. Fixes #825
* Merge branch 'master' into death_of_fishdGravatar ridiculousfish2014-05-03
|\ | | | | | | | | Conflicts: configure.ac
| * Use mkostemp instead of mktemp where availableGravatar ridiculousfish2014-05-03
| |
* | Implement atomic loading/saving of fishd file within fish, eventuallyGravatar ridiculousfish2014-04-27
|/ | | | | permitting removal of fishd. Universal variables test passes, others fail.
* Run restyle.sh to enforce style rules.Gravatar ridiculousfish2014-03-31
|
* Allow appending path hints to history items after they have been added,Gravatar ridiculousfish2014-03-28
| | | | | allowing us to avoid the delay before items appear in history. Should fix #984
* Ensure the loop in offset_of_next_item_fish_2_0 is executed.Gravatar Konrad Borowski2013-11-25
| | | | This ensures that timestamp will be initialized.
* Large cleanup and refactoring of unescape() function.Gravatar ridiculousfish2013-11-24
|
* Cast timestamp before using it for formatted string.Gravatar Konrad Borowski2013-11-19
| | | | | time_t doesn't necessarily have to be a long number. In fact, manpage for types.h mentions it can be a double value.
* Fix formattingGravatar ridiculousfish2013-10-26
|
* Remove duplicates from history in fish_configGravatar ridiculousfish2013-09-05
| | | | https://github.com/fish-shell/fish-shell/issues/900
* Formatting and style updatesGravatar ridiculousfish2013-05-05
|
* Large set of changes to improve history atomicity on filesystems that do not ↵Gravatar ridiculousfish2013-04-27
| | | | | | support locking Should address https://github.com/fish-shell/fish-shell/issues/685
* Rely on $PWD instead of getcwd() more oftenGravatar ridiculousfish2013-04-27
| | | | Fixes https://github.com/fish-shell/fish-shell/issues/696
* Hack up gettext to try to fix CentOS buildGravatar ridiculousfish2013-04-08
| | | | https://github.com/fish-shell/fish-shell/issues/645
* Rewrite unescape_yaml to be faster and not needlessly trigger COW behavior ↵Gravatar ridiculousfish2013-04-07
| | | | of std::string
* Teaching history how to exit early on thread cancellationGravatar ridiculousfish2013-04-06
|
* FormattingGravatar ridiculousfish2013-02-03
|
* Teach fish how to put completion data inside a closing quoteGravatar ridiculousfish2013-02-02
| | | | Fixes https://github.com/fish-shell/fish-shell/issues/552
* Fix for build errors with g++ 4.0.1Gravatar ridiculousfish2012-12-11
|
* Make fish try to detect when it's an orphaned process and then exit politelyGravatar ridiculousfish2012-12-05
| | | | Fixes https://github.com/fish-shell/fish-shell/issues/422
* Fix for issue where history file would be read immediately on launchGravatar ridiculousfish2012-12-04
|
* Added a history speed testGravatar ridiculousfish2012-12-03
| | | | | Profile driven caching of config directory Style fixes
* Fix for a long standing race where multiple shells can overwrite each ↵Gravatar ridiculousfish2012-12-03
| | | | | | | others' .tmp files, and lose history. Added a long description of the incremental history strategy Fixes https://github.com/fish-shell/fish-shell/issues/371
* Change the timestamp behavior for history to include items whose timestamp ↵Gravatar ridiculousfish2012-12-03
| | | | is the same as our birth, to better illustrate the incremental history improvements
* Reorder some fields to avoid a warningGravatar ridiculousfish2012-12-03
|
* Turn off logging in incremental savingGravatar ridiculousfish2012-12-03
|
* Turn on incremental history saving (cross your fingers)Gravatar ridiculousfish2012-12-03
|
* More work towards incremental history. Added some tests.Gravatar ridiculousfish2012-12-02
|
* First attempt towards supporting incremental history writesGravatar ridiculousfish2012-12-02
|
* Remove tok_destroyGravatar ridiculousfish2012-11-21
|
* Work towards refactoring tokenizer to be a real objectGravatar ridiculousfish2012-11-21
|
* Fix indentation of switch statementsGravatar ridiculousfish2012-11-19
|
* Apply new indentation, brace, and whitespace styleGravatar ridiculousfish2012-11-18
|
* Remove trailing whitespaces and change tabs to spacesGravatar Łukasz Niemier2012-11-18
|
* Switch from std::list to std::vector in a few places to reduce compiled code ↵Gravatar ridiculousfish2012-07-24
| | | | size
* Various changes to reduce fish's compiled code sizeGravatar ridiculousfish2012-07-17
| | | | OS X release build executable size dropped from 672k to 511k
* Fix for https://github.com/fish-shell/fish-shell/issues/66Gravatar ridiculousfish2012-07-09
| | | | Make fish import .bash_history if regular history is not found
* Support for importing fish 1.x's history and format, and also bashGravatar ridiculousfish2012-06-15
|
* Made history --help show history man page and history is now saved only once ↵Gravatar Siteshwar Vashisht2012-06-12
| | | | while deleting items
* Adding history builtinGravatar Siteshwar Vashisht2012-06-05
|
* Work towards getting function.h off of shared_ptrGravatar ridiculousfish2012-05-17
|
* Wrote tests for history merging, then made them pass.Gravatar ridiculousfish2012-04-16
|
* Fix to better handle merging histories between separate sessionsGravatar ridiculousfish2012-04-15
|