ridiculousfish
|
087940ec9e
|
Fix a bug where wfopen would always fail
Removed some buffer_t
|
2012-03-03 22:48:21 -08:00 |
|
ridiculousfish
|
a9313fc0c3
|
Cleanup reader.cpp's usage of string_buffer, remove some other unused data structures
|
2012-03-03 21:59:45 -08:00 |
|
ridiculousfish
|
a0bb2cdc6e
|
removed some string_buffer
|
2012-03-03 19:37:55 -08:00 |
|
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 |
|
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
|
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
|
52dc415d0b
|
Fix to add a generation count to threaded operations so they abort early
|
2012-02-28 12:40:59 -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
|
8f637975a4
|
Temporarily disable background completions
|
2012-02-26 12:16:22 -08:00 |
|
ridiculousfish
|
38e40862fe
|
More work towards autosuggesting completions
|
2012-02-25 18:54:49 -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
|
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
|
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
|
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 |
|
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 |
|
ridiculousfish
|
ed89df7e9d
|
Some minor cleanup of reader.cpp in preparation to unify highlighting with autosuggestion
|
2012-02-18 18:51:11 -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 |
|
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
|
d66700a0e4
|
Color work
|
2012-02-11 17:07:56 -08:00 |
|
ridiculousfish
|
9b1930588f
|
Migrate errors from array_list_t to wcstring_list_t
|
2012-02-10 17:54:38 -08:00 |
|
ridiculousfish
|
80e8f6a0d1
|
Removed halloc_wcsdup
|
2012-02-09 18:59:15 -08:00 |
|
ridiculousfish
|
5f686ebb47
|
Clean up exec_subshell, removing al_list from it
|
2012-02-07 23:35:41 -08:00 |
|
Siteshwar Vashisht
|
e8af86017a
|
Fixed a bug caused while highlighting double quoted strings. For e.g. ls "abc" shows up as invalid write for color of closing quote in valgrind.
|
2012-02-07 21:37:53 +05:30 |
|
ridiculousfish
|
382ffe9b6a
|
Added autosuggestion color variable fish_color_autosuggestion
Fixed that nasty bug where fish would apply a color to both the foreground and background (yuck)
|
2012-02-06 20:14:19 -08:00 |
|
ridiculousfish
|
e5b34d5cd5
|
Suppress autosuggesting during backspacing like browsers do
|
2012-02-06 19:31:06 -08:00 |
|
ridiculousfish
|
0dba7b3313
|
Use right arrow to accept autosuggestions
|
2012-02-06 11:59:34 -08:00 |
|
ridiculousfish
|
27f2859258
|
Make history searching skip the autosuggestion
|
2012-02-06 11:52:24 -08:00 |
|
ridiculousfish
|
eeed45da0f
|
Fix some bugs related to not updating our buffer size as our command line changes
|
2012-02-06 11:34:49 -08:00 |
|
ridiculousfish
|
067dff8489
|
Initial stab at autosuggestions
|
2012-02-06 10:52:13 -08:00 |
|
ridiculousfish
|
98fa1325f5
|
insert_str -> insert_string
|
2012-02-06 02:20:50 -08:00 |
|
ridiculousfish
|
bd45b79ed8
|
Removed buff_len field. One fewer field, hooray.
|
2012-02-06 01:53:03 -08:00 |
|
ridiculousfish
|
0a616a9dbb
|
Large set of changes to migrate reader_data_t's buffer to std::wstring
|
2012-02-06 01:45:16 -08:00 |
|
ridiculousfish
|
a534c397f5
|
Const correctness changes
|
2012-02-06 00:57:43 -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
|
00ad837eb4
|
Final cleanup of history
|
2012-02-05 22:30:42 -08:00 |
|
ridiculousfish
|
5ad6849d4e
|
Work on new history implementation
|
2012-02-05 16:42:24 -08:00 |
|
ridiculousfish
|
7fcf25a78f
|
Removed the "don't highlight with stale data" code, that caused "flashing" as we typed
|
2012-02-03 20:06:48 -08:00 |
|
ridiculousfish
|
5c205c43d1
|
Fix to highlight search results range matching again
|
2012-02-03 20:05:50 -08:00 |
|
ridiculousfish
|
f20f49d872
|
Migrate search_buff to wcstring
|
2012-02-03 20:01:01 -08:00 |
|
ridiculousfish
|
fb63c3908c
|
Minor cleanup of background_highlight_context_t
|
2012-02-03 18:39:41 -08:00 |
|
ridiculousfish
|
623eb42a6a
|
CLean up current_filename, make it a std::stack
|
2012-02-02 15:05:08 -08:00 |
|
ridiculousfish
|
6afc06b97e
|
Migrate some al_list to std::vector
|
2012-02-02 14:27:13 -08:00 |
|
ridiculousfish
|
562ba1291e
|
Stop using placement new like a weirdo
|
2012-01-31 20:03:48 -08:00 |
|
ridiculousfish
|
4ccc2550d0
|
Squash a bunch of warnings
|
2012-01-31 17:01:19 -08:00 |
|
ridiculousfish
|
f243cd86c9
|
Convert jobs list to std::list
|
2012-01-29 16:36:21 -08:00 |
|
Siteshwar Vashisht
|
1a5d866a91
|
buggy-auto-complete is not so buggy now. Merged branch 'buggy-auto-complete' into CPlusPlus
|
2012-01-29 14:11:39 +05:30 |
|
ridiculousfish
|
87429bc03c
|
More work on LRU cache and adopting it in function and completion autoloading
|
2012-01-27 11:43:52 -08:00 |
|
ridiculousfish
|
8403aae928
|
Convert some cases where parsers are created to using PARSER_TYPE_GENERAL
|
2012-01-22 21:57:30 -08:00 |
|
ridiculousfish
|
b43c8da66b
|
More work towards instanced parser. First successful compilation
|
2012-01-22 21:40:08 -08:00 |
|
Siteshwar Vashisht
|
062e423125
|
Fixed more known auto completion bugs; auto completion calls working fine now
|
2012-01-20 22:20:31 +05:30 |
|
Siteshwar Vashisht
|
c959584831
|
Fixed reader.cpp to not show garbage while showing help on auto completing (on pressin tab) for executables like "ls -"
|
2012-01-19 00:03:19 +05:30 |
|
Siteshwar Vashisht
|
7e124cf95e
|
Added constructor to completion_t for guarranted initialzation of flags attribute.
|
2012-01-16 23:54:57 +05:30 |
|
Siteshwar Vashisht
|
6f330f961b
|
Merge branch 'CPlusPlus' of gitorious.org:~ridiculousfish/fish-shell/fishfish into CPlusPlus
|
2012-01-16 22:27:55 +05:30 |
|
Siteshwar Vashisht
|
140ead65b6
|
Converted all auto completion calls (on pressing tab) to use std::vector<completion_t>, bugs are yet to be fixed
|
2012-01-16 22:26:47 +05:30 |
|
Peter Ammon
|
60d1ac4fec
|
More const and signed correctness. Warnings now fit on one page!
|
2012-01-14 22:48:53 -08:00 |
|
Peter Ammon
|
203c749e6c
|
Improved const-correctness, eliminating warnings.
Migrated some int to size_t
|
2012-01-14 22:00:00 -08:00 |
|
Peter Ammon
|
f3e2d2f68f
|
Lots of warnings fixes and const correctness
|
2012-01-14 03:41:50 -08:00 |
|
Peter Ammon
|
a359f45df2
|
Redesign new environment variables to use env_var_t instead of wcstring
Migrate uses of empty() to missing() to distinguish between empty variable and unset variable
|
2012-01-14 02:42:17 -08:00 |
|
Siteshwar Vashisht
|
3ba6e9db5d
|
Merge branch 'Use_env_get_string' into CPlusPlus
Conflicts:
function.cpp
|
2012-01-14 11:59:48 +05:30 |
|
Siteshwar Vashisht
|
3bb4d0b276
|
Modified reader.cpp to use env_get_string()
|
2012-01-12 22:32:50 +05:30 |
|
ridiculousfish
|
c18d177b8c
|
Additional migration to STL data structures
|
2012-01-10 12:55:22 -08:00 |
|
ridiculousfish
|
99000e68b7
|
Fix for crash when unescaping a string with unbalanced quotes
Add Mac OS X's default term name to terms for which we know how to set a title
|
2012-01-02 13:40:03 -08:00 |
|
ridiculousfish
|
78322a6321
|
Migrate some more away from array_list_t
|
2011-12-28 12:36:47 -08:00 |
|
ridiculousfish
|
46fa2dd2f0
|
Migration of screen away from ad-hoc lists
|
2011-12-27 18:41:38 -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 |
|