Jan Kanis
|
29fda9cb6c
|
make the casting magic standards compliant and avoid compiler warnings; add error check
|
2013-01-24 15:09:45 +01:00 |
|
Jan Kanis
|
e7b3f5745c
|
replace compiler-supported TLS with pthread_get/setspecific; remove GPLv3 code from two commits ago
|
2013-01-24 14:29:13 +01:00 |
|
Cheer Xiao
|
268d64d244
|
Fix spelling: s/inetrnal/internal/g
|
2013-01-24 19:20:09 +08:00 |
|
Cheer Xiao
|
8f045b9ec5
|
Fix spelling: s/circut/circuit/g
|
2013-01-24 19:20:06 +08:00 |
|
Cheer Xiao
|
2ea1c2be92
|
Fix spelling: s/compeltion/completion/g
|
2013-01-24 19:20:02 +08:00 |
|
ridiculousfish
|
5e9ca72731
|
Break up $EDITOR before passing it to type to allow it to contain flags
More work on https://github.com/fish-shell/fish-shell/issues/541
|
2013-01-23 18:24:49 -08:00 |
|
ridiculousfish
|
debfc0f712
|
Allow $EDITOR to be an array. Fixes https://github.com/fish-shell/fish-shell/issues/541
|
2013-01-23 17:14:22 -08:00 |
|
Jan Kanis
|
1e65e7c996
|
extra comments
|
2013-01-23 01:29:24 +01:00 |
|
Jan Kanis
|
d12b1650aa
|
make threadlocal use conditional on configure check. NB: This revision mixes GPLv2-only and GPLv3+ code so should be considered proof of concept.
|
2013-01-23 01:03:12 +01:00 |
|
Jan Kanis
|
70a75dc88a
|
implement reader_cancel_thread using __thread thread-local storage
|
2013-01-23 00:19:29 +01:00 |
|
Jan Kanis
|
b6bd6e399d
|
tweak reader interrupt behavior
|
2013-01-22 11:57:47 +01:00 |
|
Jan Kanis
|
a3b497b271
|
rename reader_data_t.interruptible to exit_on_interrupt
|
2013-01-22 11:28:04 +01:00 |
|
Jan Kanis
|
55b3cf4627
|
move work out of interrupt handler (which is safer as well)
|
2013-01-22 11:19:01 +01:00 |
|
Jan Kanis
|
eb1c00c56b
|
fix comments on #516. Split reader_interrupted into a reader_interrupted and a reader_reading_interrupted
|
2013-01-22 11:00:02 +01:00 |
|
Jan Kanis
|
c58278758c
|
reader_interrupted() should only be called on the main thread. fixes #537
|
2013-01-22 10:27:14 +01:00 |
|
ridiculousfish
|
3d0d9a250b
|
Remove Goodbye message. https://github.com/fish-shell/fish-shell/issues/521
|
2013-01-21 14:54:15 -08:00 |
|
Cheer Xiao
|
274f018494
|
Remove trailing whitespaces
|
2013-01-21 10:34:18 +08:00 |
|
Jan Kanis
|
970d05df39
|
make the read builtin respect ctrl-C
|
2013-01-20 23:38:21 +01:00 |
|
Jan Kanis
|
abae08a9fb
|
create reader_data_t.interruptible flag and infrastructure to make it work.
|
2013-01-20 23:38:21 +01:00 |
|
Cheer Xiao
|
a0edee51fa
|
Fix typo
|
2013-01-21 00:29:23 +08:00 |
|
Cheer Xiao
|
887474d607
|
Use double quotes in eval.fish
|
2013-01-20 15:55:10 +01:00 |
|
Siteshwar Vashisht
|
3bf3c11b0b
|
Added reference to packages built on OBS repository in README.md
|
2013-01-20 13:12:10 +05:30 |
|
ridiculousfish
|
6d61919941
|
Rearrange some variables for possibly better alignment. int -> bool
|
2013-01-19 13:32:12 -08:00 |
|
ridiculousfish
|
e07de09460
|
Big cleanup of env_set. Changed var_table_t to use direct var_entry_t instead of pointers. Changed some ints to bools.
|
2013-01-19 13:32:06 -08:00 |
|
ridiculousfish
|
98a17f4046
|
Remove some functions which were rendered trivial by xiaq's changes. Make io_file_t take its path directly. Make io_buffer_t no longer use a shared_ptr for its data.
|
2013-01-19 10:59:43 -08:00 |
|
ridiculousfish
|
f850c021b7
|
Merge branch 'split-io' of git://github.com/xiaq/fish-shell into xiaq-split-io
|
2013-01-18 16:17:31 -08:00 |
|
Cheer Xiao
|
8600243683
|
Fix two clang warnings
|
2013-01-17 22:45:06 +08:00 |
|
Jan Kanis
|
c6e5987480
|
add a JOIN_THREADS_BEFORE_FORK preprocessor flag to help debug locking problems
|
2013-01-17 13:14:05 +01:00 |
|
Cheer Xiao
|
e0c858478a
|
Revert "Make io_buffer_t::out_buffer a raw pointer, initialize in io_buffer_t's constructor"
This reverts commit d48ffab9d67da48cf45c2f5560c21a767144545f.
Conflicts:
io.cpp
io.h
|
2013-01-17 15:55:06 +08:00 |
|
Cheer Xiao
|
a3b15b995e
|
Make io_data_t::io_mode const
A protected constructor is needed in io_pipe_t to let io_buffer_t override
its io_mode.
|
2013-01-17 15:55:06 +08:00 |
|
Cheer Xiao
|
57ef5289fe
|
Make is_input a member of io_pipe_t
|
2013-01-17 15:55:06 +08:00 |
|
Cheer Xiao
|
a63c0311bb
|
Make io_buffer_t::out_buffer a raw pointer, initialize in io_buffer_t's constructor
|
2013-01-17 15:55:05 +08:00 |
|
Cheer Xiao
|
9808829ece
|
Make io_data_t pure virtual, its constructor protected
|
2013-01-17 15:55:05 +08:00 |
|
Cheer Xiao
|
00b6431ad9
|
Split out io_pipe_t, let io_buffer_t inherit it
|
2013-01-17 15:55:05 +08:00 |
|
Cheer Xiao
|
e020ad0c06
|
Convert io_buffer_read to io_buffer_t::read
|
2013-01-17 15:55:05 +08:00 |
|
Cheer Xiao
|
df0c1eb32c
|
Add missing virtual qualifier to ~io_buffer_t
|
2013-01-17 15:55:05 +08:00 |
|
Cheer Xiao
|
9057801c4b
|
Convert io_buffer_create to static io_buffer_t::create, make io_buffer_t constructor private
|
2013-01-17 15:55:05 +08:00 |
|
Cheer Xiao
|
0f443ef37b
|
Convert io_buffer_destroy to ~io_buffer_t
|
2013-01-17 15:55:05 +08:00 |
|
Cheer Xiao
|
a20e0b9e2e
|
Split out io_buffer_t, make input_redirect in exec() a raw pointer
|
2013-01-17 15:55:05 +08:00 |
|
Cheer Xiao
|
4b6bd7cae5
|
Split out io_file_t
|
2013-01-17 15:55:05 +08:00 |
|
Cheer Xiao
|
6f35792c74
|
Split out io_fd_t
|
2013-01-17 14:58:53 +08:00 |
|
Cheer Xiao
|
f1b375b042
|
Split out io_close_t
|
2013-01-17 14:58:53 +08:00 |
|
Cheer Xiao
|
4e672427bc
|
parser.cpp: Put off initialization of new_io until mode is known
|
2013-01-17 14:58:53 +08:00 |
|
Cheer Xiao
|
165068c81d
|
Put io_data_t detail printing in virtual io_data_t::print
|
2013-01-17 14:58:53 +08:00 |
|
Cheer Xiao
|
89993e9cbf
|
Let io_data_t constructor take optional io_mode and fd
|
2013-01-17 14:58:52 +08:00 |
|
Cheer Xiao
|
78ab7e7ba1
|
Introduce a macro CAST_INIT to abbreviate common static_cast's a bit
This macro doesn't work with type names containing commas, but that doesn't
seem to be too common in fish.
|
2013-01-17 14:58:48 +08:00 |
|
Cheer Xiao
|
424bb589a2
|
Make io_data_t destructor virtual
|
2013-01-17 14:54:18 +08:00 |
|
Cheer Xiao
|
664fee5c6e
|
Use new IO_INVALID as default value of io_data_t::io_mode
|
2013-01-17 14:54:18 +08:00 |
|
Cheer Xiao
|
146a353085
|
rename enum io_mode -> io_mode_t; make io_data_t::io_mode that type
|
2013-01-17 14:54:18 +08:00 |
|
ridiculousfish
|
214ef3dd0b
|
Formatting
|
2013-01-16 14:50:08 -08:00 |
|