aboutsummaryrefslogtreecommitdiffhomepage
path: root/env_universal_common.h
Commit message (Collapse)AuthorAge
* the slow death of fishd continuesGravatar David Adam2015-07-02
|
* Replace some std::string with wcstring to reduce copyingGravatar ridiculousfish2014-11-10
|
* Universal variable callbacks should only be announced for changedGravatar ridiculousfish2014-06-16
| | | | values, not every value. Also support erase notifications.
* Migrate global functions out of env_universal. Have env operate directlyGravatar ridiculousfish2014-06-15
| | | | on an env_universal_t.
* Teach env_universal_remove to directly report whether the variable wasGravatar ridiculousfish2014-06-13
| | | | successfully removed.
* Removed connection_t and associated functionsGravatar ridiculousfish2014-06-09
|
* Remove connection_t usage from write_to_fdGravatar ridiculousfish2014-06-09
|
* Removal of more fishd artifacts and headersGravatar ridiculousfish2014-06-09
|
* Remove inotify-based universal notifierGravatar ridiculousfish2014-05-29
| | | | | | The inotify notifier is fragile, fails on travis, and fails to compile on certain Linux kernels. It doesn't appear to work as well as the named pipe mechanism. Best to just get rid of it.
* Make initialize_synchronizes_via_fishd default to false. Add someGravatar ridiculousfish2014-05-15
| | | | logging support to universal variables.
* Null notifier to support fishd synchronization, so we can select theGravatar ridiculousfish2014-05-14
| | | | synchronization mechanism at runtime
* Remove needs_polling from universal_notifier_t. Add some expositoryGravatar ridiculousfish2014-05-07
| | | | comments.
* Fix named pipe universal notifier. No more threads. Tests now pass.Gravatar ridiculousfish2014-05-05
|
* Initial work on strategy_named_pipe universal notifier.Gravatar ridiculousfish2014-05-04
|
* Early implementation of inotify-based universal variable notifier forGravatar ridiculousfish2014-05-01
| | | | Linux
* Implement notifyd-based notification strategy for universal variablesGravatar ridiculousfish2014-04-30
| | | | (OS X specific)
* Implement universal variable deletion. Adopt shared memory uvar notification.Gravatar ridiculousfish2014-04-29
|
* Implement shared memory strategy for universal variable notificationsGravatar ridiculousfish2014-04-29
|
* Move universal variable callbacks out from under the lock, to avoid aGravatar ridiculousfish2014-04-29
| | | | possible deadlock on reentrancy
* Correctly invoke callbacks with fishd-less universal variables. AllGravatar ridiculousfish2014-04-27
| | | | tests now pass.
* Implement atomic loading/saving of fishd file within fish, eventuallyGravatar ridiculousfish2014-04-27
| | | | | permitting removal of fishd. Universal variables test passes, others fail.
* Beginning steps towards teaching the universal variable system to readGravatar ridiculousfish2014-04-26
| | | | the fishd file directly, instead of fetching it through fishd
* Migrate machine and hostname identification from fishd.cpp toGravatar ridiculousfish2014-04-25
| | | | env_universal_common.cpp, so that fish can use it
* Migrate universal variables to env_var_t structure. EncapsulateGravatar ridiculousfish2014-04-25
| | | | universal variable storage into a class for better testability.
* Large set of changes to how PATH is handled. Changed fish to no longer ↵Gravatar ridiculousfish2013-02-19
| | | | | | modify PATH in share/config.fish. Introduced variable fish_user_paths, and a glue function __fish_reconstruct_path that splices together PATH with fish_user_paths. Changed fish to no longer validate changes to PATH unless the paths are new (i.e. don't recheck what's already there). Modified certain sets to store const wchar_t instead of wcstring to save a few allocations. https://github.com/fish-shell/fish-shell/issues/527
* Migrate connection_t from storing a huge buffer to a std::vectorGravatar ridiculousfish2013-02-16
|
* Eliminate next pointer from connection_t, turn connections into a std::listGravatar ridiculousfish2013-02-16
|
* First round of fixes based on cppcheckGravatar ridiculousfish2013-02-16
| | | | https://github.com/fish-shell/fish-shell/issues/575
* Clean up env_var_table_t. Switch from storing var_uni_entry_t* to ↵Gravatar ridiculousfish2013-02-11
| | | | var_uni_entry_t. Various other cleanups.
* Big cleanup of env_set. Changed var_table_t to use direct var_entry_t ↵Gravatar ridiculousfish2013-01-19
| | | | instead of pointers. Changed some ints to bools.
* Apply new indentation, brace, and whitespace styleGravatar ridiculousfish2012-11-18
|
* Remove trailing whitespaces and change tabs to spacesGravatar Łukasz Niemier2012-11-18
|
* Make escaping consistent for fish <-> fishd protocolGravatar ridiculousfish2012-10-08
| | | | | Fix fork guards to work in fishd https://github.com/fish-shell/fish-shell/issues/339
* Fixed a bunch of clang analyzer warningsGravatar ridiculousfish2012-08-05
| | | | Simplified some memory allocations by migrating to std::string
* Lots of work towards making fish build without warnings on Mountain Lion, ↵Gravatar ridiculousfish2012-08-04
| | | | mostly in terms of using size_t instead of int
* Adopt wcstring in env_setGravatar ridiculousfish2012-05-09
|
* Replace some string_buffer_tGravatar ridiculousfish2012-03-03
|
* Modified env_get_string() to accept wcstring instead of wchar_t*.Gravatar Siteshwar Vashisht2012-02-24
|
* Removed array_list_t (!)Gravatar ridiculousfish2012-02-21
|
* Switched to std::map instead of hash_table_t in env.cpp and ↵Gravatar Siteshwar Vashisht2012-02-18
| | | | env_universal_common.cpp.
* Migration of screen away from ad-hoc listsGravatar ridiculousfish2011-12-27
|
* More migration away from al_listGravatar ridiculousfish2011-12-26
|
* Fix to migrate the universal variable server off of dyn_queue_tGravatar ridiculousfish2011-12-26
|
* Some changes to migrate towards C++ and a multithreaded modelGravatar ridiculousfish2011-12-26
|
* remove trailing spacesGravatar Grissiom2010-09-18
| | | | | This is done by `sed -i -e 's/[ \t]*$//' *.[c,h]`, which should not introduce any functionality change.
* Fix issue in error handling, reported to and fixed by Axel Liljencrantz. ↵Gravatar Claes Nästén2007-08-22
| | | | | | Change val[0] and body[0] in env universal to val[1] and body[1] to support compilation with Sun Studio. Change default prompt to use pekdon instead of whoami as it does not exist under Solaris. darcs-hash:20070822080052-cac88-326332f0df7d17ddca4a4496c93728a47f19bba5.gz
* Make fish store universal variables locally if fishd can't be started - ↵Gravatar axel2006-11-15
| | | | | | local changes are lost of the fishd connection is restored darcs-hash:20061115123447-ac50b-bf17c55079e1196205cc3a4fd0ca22d9f539836c.gz
* Fix yet another universal variable issue with initialization of the read ↵Gravatar axel2006-10-19
| | | | | | buffer. This may fix fishd bugs reported by Philip Ganchev and Martin Bähr darcs-hash:20061018164438-ac50b-c586b1ad36249853d613d0137b505377fe890d37.gz
* Properly handle character sets in universal variablesGravatar axel2006-10-18
| | | | darcs-hash:20061017211129-ac50b-6aecd04b74a9122ff0e1b320a2cf48db36dd2194.gz
* Buffer calls to read() in the universal variable codeGravatar axel2006-10-07
| | | | darcs-hash:20061006184539-ac50b-d8ecc4c45d0caae12cd60e32515a1218b37831d3.gz