ridiculousfish
|
3ead99b088
|
Put fish on a diet. Tracked down the biggest memory hogs and fixed them. Total allocations down by a factor of 3 or so, live allocations a few KB.
|
2012-03-03 15:22:03 -08:00 |
|
Siteshwar Vashisht
|
8c0803e3c5
|
Setting cdpath to current directory in path.cpp.
|
2012-03-04 01:28:09 +05:30 |
|
ridiculousfish
|
2da8df6202
|
Rearrange wopen and stat to avoid a race and hopefully improve performance a little bit.
|
2012-03-02 11:12:08 -08:00 |
|
ridiculousfish
|
17a75a5aa5
|
Change to detect and use O_CLOEXEC
|
2012-03-02 09:58:29 -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
|
36622c3578
|
Fix to properly handle case insensitive autosuggestions
|
2012-03-01 17:31:45 -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
|
5d18d60e3b
|
Squash some leaks
|
2012-02-29 18:09:20 -08:00 |
|
ridiculousfish
|
e4d98597c7
|
Added some fork tests, fixed some bugs it found
|
2012-02-29 17:55:50 -08:00 |
|
ridiculousfish
|
72da14e414
|
Fix a leak
|
2012-02-29 17:55:28 -08:00 |
|
ridiculousfish
|
8ada404c5f
|
More work towards improving relationship between multithreading and fork
|
2012-02-29 16:14:51 -08:00 |
|
ridiculousfish
|
ebba30d671
|
Fix a "class <-> struct" warning with clang++
|
2012-02-29 16:14:51 -08:00 |
|
ridiculousfish
|
909d24cde6
|
More work on improving interaction between fork and pthreads. Added null_terminated_array_t class.
|
2012-02-29 16:14:51 -08:00 |
|
ridiculousfish
|
4e912ef83d
|
Added postfork
|
2012-02-29 16:14:51 -08:00 |
|
ridiculousfish
|
b17dfff3fd
|
Fix for out-of-bounds write in highlight_param
|
2012-02-29 16:14:03 -08:00 |
|
ridiculousfish
|
52dc415d0b
|
Fix to add a generation count to threaded operations so they abort early
|
2012-02-28 12:40:59 -08:00 |
|
Siteshwar Vashisht
|
392232246e
|
Fixed compilation on Linux with some minor changes.
|
2012-02-28 21:20:09 +05:30 |
|
ridiculousfish
|
cf54ad8242
|
Change to wait for all outstanding iothreads before calling fork(). This should prevent a whole host of threading/fork interactions, but may also compromise performance...we'll see.
|
2012-02-27 19:46:15 -08:00 |
|
ridiculousfish
|
fdfa5c0602
|
Some initial work towards resolving nasty fork/pthread issues, and to having a per-parser job list
|
2012-02-27 18:43:24 -08:00 |
|
ridiculousfish
|
50ee5d28cd
|
Fix to finally turn on multithreaded completions for autosuggestion
|
2012-02-27 15:33:46 -08:00 |
|
ridiculousfish
|
f74a82776f
|
Some more changes in preparation for turning on complete-based autosuggestions
|
2012-02-26 20:11:34 -08:00 |
|
ridiculousfish
|
3553e65089
|
Add some more locking and const correctness to completion_entry_t in preparation for supporting better multithreading
|
2012-02-26 14:32:06 -08:00 |
|
ridiculousfish
|
ad7c5886bc
|
Fix a crash in complete -C
|
2012-02-26 13:46:21 -08:00 |
|
ridiculousfish
|
b30090f946
|
Some cleanup of completions in preparation for more multithreading
|
2012-02-26 13:27:31 -08:00 |
|
ridiculousfish
|
8f637975a4
|
Temporarily disable background completions
|
2012-02-26 12:16:22 -08:00 |
|
ridiculousfish
|
94a764d6ea
|
Fix for error messages when loading completions
|
2012-02-26 01:15:53 -08:00 |
|
ridiculousfish
|
38e40862fe
|
More work towards autosuggesting completions
|
2012-02-25 18:54:49 -08:00 |
|
ridiculousfish
|
5ea78f55f2
|
Some more work on threaded completions
|
2012-02-24 18:43:10 -08:00 |
|
ridiculousfish
|
a515db4aea
|
Some work to allow completions to be evaluated off of the main thread
|
2012-02-24 12:19:31 -08:00 |
|
ridiculousfish
|
90e979d0d9
|
Added some const correctness
|
2012-02-24 09:33:30 -08:00 |
|
Siteshwar Vashisht
|
8232857d07
|
Modified env_get_string() to accept wcstring instead of wchar_t*.
|
2012-02-24 00:58:01 +05:30 |
|
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 |
|
Siteshwar Vashisht
|
fd56465931
|
Fixed initialization of va_list variable in debug() in common.cpp, and mismatched new/free() in io.cpp
|
2012-02-23 23:10:51 +05:30 |
|
ridiculousfish
|
376e199ebb
|
Removed a lot of string_buffer_t
|
2012-02-22 12:00:02 -08:00 |
|
ridiculousfish
|
a837a27b34
|
Replace some string_buffer_t with wcstring
|
2012-02-22 11:07:34 -08:00 |
|
ridiculousfish
|
62bd43f17f
|
Large set of changes to migrate sb_out and sb_err to wcstring
|
2012-02-22 10:51:06 -08:00 |
|
ridiculousfish
|
917b4ff8bc
|
Fix for crash on redirections
|
2012-02-21 19:39:29 -08:00 |
|
ridiculousfish
|
5fe7c065dc
|
Squash a bunch of leaks
|
2012-02-21 19:33:11 -08:00 |
|
ridiculousfish
|
e074ad4807
|
Removed a leaking wcsdup
|
2012-02-21 18:18:10 -08:00 |
|
ridiculousfish
|
5f3fe4acff
|
Removed an optimization obviated by our use of wcstring from env.cpp
|
2012-02-21 18:12:51 -08:00 |
|
ridiculousfish
|
4ccc197451
|
Fix to change highlighting functions to take wcstring& instead of const wchar_t *
|
2012-02-21 17:55:56 -08:00 |
|
ridiculousfish
|
237cf19a77
|
Switch to using std::vector instead of int* for colors in highlight.cpp, for better range bounds checking
|
2012-02-21 11:45:13 -08:00 |
|
ridiculousfish
|
2206e221bd
|
Removed array_list_t (!)
|
2012-02-21 10:47:21 -08:00 |
|
ridiculousfish
|
d9bb9b73ad
|
Change to allow building without doxygen
|
2012-02-20 16:18:10 -08:00 |
|
ridiculousfish
|
d5c382bb1a
|
Piling on more code to make autosuggestion try to guess directories even when they're not in the history
|
2012-02-20 02:13:31 -08:00 |
|
Peter Ammon
|
52daf6cf41
|
Fix to allow color.cpp to use fallback wcscasecmp
|
2012-02-19 11:07:02 -08:00 |
|
Siteshwar Vashisht
|
74a7303c23
|
Modified functions in function.h/.cpp to use wcstring instead wchar_t*, other files also modified to use wcstring.
|
2012-02-19 22:55:15 +05:30 |
|
ridiculousfish
|
d8a9991738
|
Fix to avoid calling signal_block off of hte main thread
|
2012-02-18 23:26:39 -08:00 |
|
ridiculousfish
|
ca1c8243c8
|
Fix to prevent autosuggesting cd'ing to the current working directory
|
2012-02-18 21:56:30 -08:00 |
|