ridiculousfish
4a55fff3b9
Turn off logging in incremental saving
2012-12-03 00:14:39 -08:00
ridiculousfish
02f16e90b6
Turn on incremental history saving (cross your fingers)
2012-12-03 00:14:22 -08:00
ridiculousfish
984a498063
More work towards incremental history. Added some tests.
2012-12-02 23:38:38 -08:00
ridiculousfish
c1b51c6530
First attempt towards supporting incremental history writes
2012-12-02 16:39:35 -08:00
ridiculousfish
7117c4a5ee
Remove tok_destroy
2012-11-21 22:14:28 -08:00
ridiculousfish
f545fb2491
Work towards refactoring tokenizer to be a real object
2012-11-21 17:48:35 -08:00
ridiculousfish
26678682ca
Fix indentation of switch statements
2012-11-19 00:31:03 -08:00
ridiculousfish
9992b8eb0e
Apply new indentation, brace, and whitespace style
2012-11-18 16:30:30 -08:00
Łukasz Niemier
47df1ae40a
Remove trailing whitespaces and change tabs to spaces
2012-11-18 11:23:22 +01:00
ridiculousfish
62c49f13ce
Switch from std::list to std::vector in a few places to reduce compiled code size
2012-07-24 22:32:11 -07:00
ridiculousfish
d06d6c6964
Various changes to reduce fish's compiled code size
...
OS X release build executable size dropped from 672k to 511k
2012-07-17 12:47:01 -07:00
ridiculousfish
6f0b00f983
Fix for https://github.com/fish-shell/fish-shell/issues/66
...
Make fish import .bash_history if regular history is not found
2012-07-09 22:54:08 -07:00
ridiculousfish
18f04adccb
Support for importing fish 1.x's history and format, and also bash
2012-06-15 16:24:05 -07:00
Siteshwar Vashisht
25f9105a97
Made history --help show history man page and history is now saved only once while deleting items
2012-06-12 14:20:07 +05:30
Siteshwar Vashisht
ec34f2527a
Adding history builtin
2012-06-05 09:54:42 +05:30
ridiculousfish
86645b32e1
Work towards getting function.h off of shared_ptr
2012-05-17 19:38:08 -07:00
ridiculousfish
3c190374b4
Wrote tests for history merging, then made them pass.
2012-04-16 20:26:50 -07:00
ridiculousfish
d8428463d8
Fix to better handle merging histories between separate sessions
2012-04-15 22:49:27 -07:00
ridiculousfish
0bc644abf0
Fix lots of bugs related to the static analyzer
...
Improved how screen.cpp interacts with output_set_writer()
2012-03-26 01:21:10 -07:00
ridiculousfish
1a87f44325
Re-implement $history variable
...
Added -L option to set to mean "don't abbreviate"
2012-03-19 11:52:18 -07:00
ridiculousfish
baa813c46f
Fix for history being saved too often
2012-03-03 23:10:15 -08:00
Peter Ammon
8b26d0104c
Some initial changes to use CLO_EXEC, with an eye towards some day using it correctly.
2012-03-02 00:27:40 -08:00
ridiculousfish
fd4df6f9bb
Changed iterators from iter++ to ++iter
...
Large set of changes to history to ensure that histories from other sessions don't "bleed" into the current session
2012-03-01 14:56:34 -08:00
ridiculousfish
2ae56564ef
Changes to block signals for a smaller time interval during saving
2012-02-23 10:49:30 -08:00
ridiculousfish
f24a0170be
Fix for failing to unescape history properly, resulting in a backslash explosion
2012-02-23 10:29:42 -08:00
ridiculousfish
5fe7c065dc
Squash a bunch of leaks
2012-02-21 19:33:11 -08:00
ridiculousfish
d8a9991738
Fix to avoid calling signal_block off of hte main thread
2012-02-18 23:26:39 -08:00
ridiculousfish
14b3a5be56
Changes to make autosuggestion even smarter by specially recognizing the cd command.
2012-02-18 18:54:36 -08:00
Siteshwar Vashisht
7b3d670e23
Removing some unnecessary calls to c_str(), and added str2wcstring(std::string) in common.cpp.
2012-02-18 23:28:54 +05:30
Siteshwar Vashisht
c9f4e91df8
Modified most functions in wutil.h/.cpp to use wcstring instead of wchar_t*, removing calls to c_str() while calling these functions in other files.
2012-02-18 22:41:22 +05:30
ridiculousfish
8f1423946f
Fix a crash when using quotes due to wgettext thread safety issues.
2012-02-17 15:55:54 -08:00
ridiculousfish
51da4856e2
Squash a leak in LRU caches
2012-02-17 14:54:58 -08:00
ridiculousfish
a08450bcb6
Changes to make autosuggestion smarter about not suggesting commands that could never succeed.
2012-02-16 00:24:27 -08:00
ridiculousfish
a92d9d442b
Initial work towards making autosuggestion smarter by recognizing paths
2012-02-15 11:33:41 -08:00
ridiculousfish
4f8b4379f5
Cleanup of completion_entry in complete.cpp
2012-02-08 14:48:22 -08:00
ridiculousfish
27f2859258
Make history searching skip the autosuggestion
2012-02-06 11:52:24 -08:00
ridiculousfish
067dff8489
Initial stab at autosuggestions
2012-02-06 10:52:13 -08:00
ridiculousfish
b14683200a
Change the history so that when you go forwards, it no longer highlights
2012-02-05 23:22:18 -08:00
ridiculousfish
c82410bfda
Fixed history tests
2012-02-05 22:48:43 -08:00
ridiculousfish
00ad837eb4
Final cleanup of history
2012-02-05 22:30:42 -08:00
ridiculousfish
9ab54030b9
Moved LRU to its own file
2012-02-05 20:54:41 -08:00
ridiculousfish
5ad6849d4e
Work on new history implementation
2012-02-05 16:42:24 -08:00
ridiculousfish
8d2f107d61
Some changes to migrate towards C++ and a multithreaded model
2011-12-26 19:18:46 -08:00
ridiculousfish
3f16ace678
Initial C++ conversion
2011-12-26 19:11:54 -08:00