ridiculousfish
|
4eea68b5a4
|
LRU work to load functions off of the main thread.
We'll have to reevaluate this after we fix function autocomplete
|
2012-01-28 14:56:13 -08:00 |
|
ridiculousfish
|
87429bc03c
|
More work on LRU cache and adopting it in function and completion autoloading
|
2012-01-27 11:43:52 -08:00 |
|
ridiculousfish
|
6c28448e84
|
Added LRU tests, and made tests work again
|
2012-01-27 11:43:45 -08:00 |
|
ridiculousfish
|
843ba4ac2c
|
Move autoload class into autoload.h and cpp
|
2012-01-25 18:59:35 -08:00 |
|
ridiculousfish
|
d6545588a3
|
Have to remember to evict nodes from our LRU cache
|
2012-01-25 18:51:26 -08:00 |
|
ridiculousfish
|
26b375a0de
|
Removed access_tracker since we don't need it after all
|
2012-01-25 18:42:41 -08:00 |
|
ridiculousfish
|
2f1cac604d
|
Implemented LRU cache for autoloading.
|
2012-01-25 18:40:08 -08:00 |
|
ridiculousfish
|
8e56763c98
|
LRU cache work
|
2012-01-25 11:47:45 -08:00 |
|
ridiculousfish
|
e94e1cc72f
|
New file autoload.h that will ultimately handle autoloading completions and functions
|
2012-01-25 00:36:55 -08:00 |
|
ridiculousfish
|
4dfe36feb1
|
Migrate input_function_get_names to wcstring_list_t
|
2012-01-23 20:48:47 -08:00 |
|
ridiculousfish
|
0d1c2a3b2a
|
Migrated function.cpp to use the new function_get() call. Lots of nice short code now.
|
2012-01-23 20:43:39 -08:00 |
|
ridiculousfish
|
378fd60756
|
Migrate function.cpp to scoped_lock and shared_ptr
|
2012-01-23 20:32:36 -08:00 |
|
ridiculousfish
|
fa569b32fb
|
Made intern'd strings thread safe.
Removed intern_free_all().
|
2012-01-23 20:02:15 -08:00 |
|
ridiculousfish
|
78f8317de8
|
Typo fixes
|
2012-01-23 19:33:57 -08:00 |
|
ridiculousfish
|
6e8637fbc9
|
Move autoloading from a map of path names to a real object autoload_t.
Moved the various things we can autoload into static objects.
Next step is to make them thread safe.
|
2012-01-23 11:42:41 -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 |
|
ridiculousfish
|
da85bdc401
|
More work on the instanced parser
|
2012-01-22 20:47:13 -08:00 |
|
ridiculousfish
|
7e486e3b5c
|
More work towards instanced parser
|
2012-01-20 11:24:43 -08:00 |
|
ridiculousfish
|
3d8face1f9
|
More work on instancing the parser
|
2012-01-19 10:28:44 -08:00 |
|
ridiculousfish
|
fa796d668f
|
Get some basic function signatures right for new instanced parser
|
2012-01-16 12:10:08 -08:00 |
|
ridiculousfish
|
e4ee4ec3d1
|
Some const correctness
|
2012-01-16 11:16:12 -08:00 |
|
ridiculousfish
|
0073a93079
|
Beginnings of instance parser work
|
2012-01-16 11:09:19 -08:00 |
|
ridiculousfish
|
c647bed9d5
|
Fix for bogus check for IFS environment variable
|
2012-01-16 09:43:34 -08:00 |
|
ridiculousfish
|
55091d9deb
|
Fix to prevent autoloading of completions on highlight thread
|
2012-01-15 14:24:58 -08:00 |
|
Peter Ammon
|
1b3427acd9
|
Changes to make completions internalized scripts.
This about doubles the size of fish. These things are huge. We may not want to ship it like this.
|
2012-01-15 00:25:21 -08:00 |
|
Peter Ammon
|
60d1ac4fec
|
More const and signed correctness. Warnings now fit on one page!
|
2012-01-14 22:48:53 -08:00 |
|
Peter Ammon
|
9b133a978d
|
Improve const and signed/unsigned correctness
|
2012-01-14 22:32:45 -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 |
|
Peter Ammon
|
e8b6d48ad0
|
Introduce env_var_t to replace empty string as missing environment variable
|
2012-01-14 01:06:47 -08:00 |
|
ridiculousfish
|
8ba79d6ab9
|
Migrate function.cpp to STL types.
|
2012-01-13 23:54:49 -08:00 |
|
ridiculousfish
|
57c9eeeecb
|
Changes related to supporting "intern scripts." These are scripts that used to be installed in /share/functions, but now are just compiled-in strings. This should reduce the amount of I/O done at launch time.
|
2012-01-13 23:54:16 -08:00 |
|
Siteshwar Vashisht
|
f78c4fa751
|
Removed multiple delcartions of path_list from autoload_names() in fuction.cpp
|
2012-01-14 12:06:16 +05:30 |
|
Siteshwar Vashisht
|
3ba6e9db5d
|
Merge branch 'Use_env_get_string' into CPlusPlus
Conflicts:
function.cpp
|
2012-01-14 11:59:48 +05:30 |
|
Siteshwar Vashisht
|
610246c48f
|
Modified function.cpp to use env_get_string().
|
2012-01-12 23:22:38 +05:30 |
|
Siteshwar Vashisht
|
d0e18e3d20
|
Modified highlight.cpp to use env_get_string().
|
2012-01-12 23:19:05 +05:30 |
|
Siteshwar Vashisht
|
72cfdbbb4e
|
Modified input.cpp, output.cpp to use env_get_string()
|
2012-01-12 23:11:07 +05:30 |
|
Siteshwar Vashisht
|
15296dedd5
|
Modified kill.cpp to use env_get_string().
|
2012-01-12 23:07:10 +05:30 |
|
Siteshwar Vashisht
|
943cc68f54
|
Modified parse_util.cpp, parser.cpp, path.cpp to use env_get_string()
|
2012-01-12 22:56:53 +05:30 |
|
Siteshwar Vashisht
|
3bb4d0b276
|
Modified reader.cpp to use env_get_string()
|
2012-01-12 22:32:50 +05:30 |
|
Siteshwar Vashisht
|
9cc2217a26
|
Fixed connection error to fishd server in env.cpp
|
2012-01-12 21:58:42 +05:30 |
|
Siteshwar Vashisht
|
ee687ee433
|
Modified exec.cpp to use env_get_string(); rolled back changes to expand.cpp in last commit, because pressing ^D results into an error with the changes
|
2012-01-12 21:39:00 +05:30 |
|
Siteshwar Vashisht
|
9b56b67c0e
|
Revert "Modified expand.cpp and exec.cpp to use env_get_string()"
This reverts commit 48655e882e .
|
2012-01-12 04:21:11 +05:30 |
|
Siteshwar Vashisht
|
48655e882e
|
Modified expand.cpp and exec.cpp to use env_get_string()
|
2012-01-12 04:19:04 +05:30 |
|
Siteshwar Vashisht
|
7f49d37a51
|
Modified exec.cpp to use env_get_string()
|
2012-01-12 04:01:08 +05:30 |
|
Siteshwar Vashisht
|
9f8a1168e6
|
Modified env.cpp to use env_get_string()
|
2012-01-12 03:57:38 +05:30 |
|
ridiculousfish
|
c18d177b8c
|
Additional migration to STL data structures
|
2012-01-10 12:55:22 -08:00 |
|
Siteshwar Vashisht
|
7bde2b5cbf
|
Modified complete.cpp to use env_get_string(); Fixed env_get_string() return an empty wcstring instead of returning 0.
|
2012-01-10 01:40:03 +05:30 |
|