aboutsummaryrefslogtreecommitdiffhomepage
path: root/env_universal_common.cpp
Commit message (Collapse)AuthorAge
* Hopeful fix for Cygwin build (#1530)Gravatar ridiculousfish2014-07-05
|
* 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.
* Fix Linux build of env_universal_commonGravatar ridiculousfish2014-06-13
|
* 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
|
* Enable fishd-less mode by default.Gravatar ridiculousfish2014-05-29
| | | | | Shell instances now synchronize universal variables using the filesystem. fishd should no longer be launched by default.
* 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.
* Use mkostemp in universal variables when availableGravatar ridiculousfish2014-05-15
|
* Formatting fixesGravatar ridiculousfish2014-05-15
|
* Improve universal variable error messagesGravatar ridiculousfish2014-05-15
|
* 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.
* Further cleanup and rationalization of named pipe universal notifier.Gravatar ridiculousfish2014-05-06
|
* 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
|
* Make inotify-based universal variable notifier tests passGravatar ridiculousfish2014-05-03
|
* Re-establish inotify watch when file is deletedGravatar ridiculousfish2014-05-03
|
* 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
* Enhance file_id_t to have richer information, to guard against inodeGravatar ridiculousfish2014-04-28
| | | | recycling on Linux filesystems
* Include a header to permit building on LinuxGravatar ridiculousfish2014-04-27
|
* Merge branch 'master' into death_of_fishdGravatar ridiculousfish2014-04-27
|\
| * Attempt to silence some warningsGravatar ridiculousfish2014-04-27
| |
* | 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.
* Naive reimplementation of utf2wcs and wcs2utf inGravatar ridiculousfish2014-03-23
| | | | | env_universal_common.cpp. These use the new utf8 functions exposed in utf8.h. This will allow us to drop the iconv dependency.
* Changes full_escape to not generate \x escapes for non-ASCII characters.Gravatar ridiculousfish2014-03-22
| | | | Partially reverts 51de269 . Fixes #1225
* Revert "Merge pull request #1317 from pullreq/cpp"Gravatar ridiculousfish2014-02-28
| | | | | | | This reverts commit 74135c0600d5dcc40d396d0e7293c17b8d4bdaa7, reversing changes made to 6d749789ce240a3e6f1447777db63fd8e7525560. See discussion in #1317
* Fixes .c -> .cpp in comments. For doxygen.Gravatar Geoff Nixon2014-02-27
|
* Large cleanup and refactoring of unescape() function.Gravatar ridiculousfish2013-11-24
|
* Fix two memory leaks.Gravatar Konrad Borowski2013-10-19
|
* 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
* More cleanup based on static analysisGravatar ridiculousfish2013-02-16
| | | | https://github.com/fish-shell/fish-shell/issues/575
* 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.
* Make fishd base its variable files on the MAC address instead of hostnameGravatar ridiculousfish2013-01-08
| | | | Fixes https://github.com/fish-shell/fish-shell/issues/183
* Fix indentation of switch statementsGravatar ridiculousfish2012-11-19
|