Kim Woelders
d213ac8887
eesh: Fix prompt when command has no reply
2023-12-23 15:36:32 +01:00
Kim Woelders
46f0a72ea4
eesh: Add possibility to use editline (--with-editline, default off)
2023-12-23 15:35:51 +01:00
Kim Woelders
d659c3036a
eesh: Add prompt if interactive
2023-12-23 09:26:10 +01:00
Kim Woelders
1bfc29c007
eesh: Move some code around
2023-12-23 09:26:10 +01:00
Kim Woelders
aa4f6d8237
eesh: Switch to poll() instead of select()
2023-12-19 15:37:06 +01:00
Kim Woelders
bc43570195
eesh: Eliminate need for non-blocking stdin
2023-12-18 17:12:19 +01:00
Kim Woelders
f194a895b7
eesh: Some mostly trivial changes
...
- Drop -display option
Not implemented in other e16 clients.
- Eliminate now unused Estrdup()
- Header file cleanups
- Window variables need not be static
- Ignore and don't mention obsolete -e/-ewait options
2023-12-18 17:10:36 +01:00
Kim Woelders
90c4959f7e
eesh: Simplify comms window creation
2023-12-18 16:45:16 +01:00
Kim Woelders
0e8f3ec884
Unifdef HAVE_FREE_NULL_BUG
...
I doubt it is useful anywhere.
2023-12-17 19:25:30 +01:00
Kim Woelders
5ce609cca7
Change formatting style
...
No tabs, more like K&R.
Also switch to indent 2.2.13.
2023-11-26 10:03:45 +01:00
Kim Woelders
43ef8fcfb6
eesh: Workaround problem with _FORTIFY_SOURCE=3
...
When using _FORTIFY_SOURCE=3 it appears we get like
$ eesh a b
*** buffer overflow detected ***: terminated
Aborted (core dumped)
The apparently offensive code is correct, so this must be a bug in
gcc(-13.1.1).
2023-06-26 06:52:29 +02:00
Kim Woelders
6e2d665127
eesh: Trivial cleanups
2023-06-14 17:36:50 +02:00
Kim Woelders
f9f21a149a
eesh: Improve argument passing
...
Quote arguments containing spaces.
2022-10-05 19:59:13 +02:00
Kim Woelders
750a973b5e
autofoo: Deal a bit more consistently with C[PP]FLAGS and LDADD
2021-06-03 20:12:13 +02:00
Kim Woelders
01a2163989
Add feature to build with ASAN (--enable-gcc-asan)
2020-05-05 22:42:08 +02:00
Kim Woelders
72a86722a7
eesh: Fix clang-analyzer complaints
...
The -e and -ewait options haven't done anything a normal
non-interactive invocation does in ages.
Just ignore them and let the malloc'ing argument handling deal with it.
2020-01-29 16:39:39 +01:00
Kim Woelders
8f1bfc4f53
Fix warnings occurring in various situations
2020-01-23 20:29:05 +01:00
Kim Woelders
c423cd13f6
Include potentially missing sys/select.h
...
Patch by Ingo Feinerer <feinerer@logic.at>:
the compilation of E16 fails on OpenBSD with following error message:
enlightenment-1.0.20/e16-1.0.20/eesh/main.c:90:4: error: use of undeclared identifier 'fd_set'
fd_set fd;
^
enlightenment-1.0.20/e16-1.0.20/eesh/main.c:227:2: warning: implicit declaration of function 'FD_ZERO' is invalid in C99 [-Wimplicit-function-declaration]
FD_ZERO(&fd);
^
This is because FD_SET lives in the sys/select.h header in OpenBSD.
This seems to be the case on newer Linux systems as well:
https://linux.die.net/man/3/fd_set
/* According to POSIX.1-2001 */
#include <sys/select.h>
2019-07-30 17:30:02 +02:00
Kim Woelders
0dbb2e6c88
Autofoo tweaks.
...
Rename CWARNFLAGS to CFLAGS_WARNINGS for consistency with pending
changes.
2014-12-16 23:11:34 +01:00
Lucas De Marchi
4d4401c5d3
Apply badzero.cocci, badnull.cocci and badnull2.cocci
...
Since badzero.cocci depends on coccinelle knowledge about a variable being a pointer
and about a function returning a pointer, maybe there are false negatives.
SVN revision: 51092
2010-08-13 17:04:13 +00:00
Kim Woelders
de10fdb02f
Remove unused include path (top_srcdir).
...
SVN revision: 43370
2009-10-31 13:02:15 +00:00
Kim Woelders
0112e3c675
eesh - Eliminate Alert function.
...
SVN revision: 42468
2009-09-13 13:45:52 +00:00
Kim Woelders
962153d8e3
Move compiler warning stuff to m4 macro. Add --enable-werror.
...
SVN revision: 37666
2008-11-15 17:33:31 +00:00
Kim Woelders
c996c089c1
Remove .cvsignore.
...
SVN revision: 35637
2008-08-23 23:29:40 +00:00
Kim Woelders
e7f01c2d6f
Add -brs to indent profile.
...
SVN revision: 34096
2008-03-23 11:54:24 +00:00
Kim Woelders
4ef9558c14
Forgot 2008.
...
SVN revision: 34083
2008-03-22 14:51:24 +00:00
Kim Woelders
0a05aafc82
Assume free(0) is ok (if not HAVE_FREE_NULL_BUG will have to be defined).
...
SVN revision: 33818
2008-02-23 12:09:38 +00:00
Kim Woelders
c49bd4f606
Autofoo cleanups, move to bindir, pkgdatadir and friends.
...
SVN revision: 32474
2007-11-07 22:05:18 +00:00
Kim Woelders
c5f33fc0a7
Move to new AC_INIT style.
...
SVN revision: 32323
2007-11-03 11:57:31 +00:00
Kim Woelders
e860b36218
Fix bad event loop causing hangs in certain situations.
...
Always wait for ack (also with -e), otherwise the message could get lost.
SVN revision: 31869
2007-09-29 16:39:33 +00:00
Kim Woelders
84ceafd71a
Don't append newline to e16 ipc output.
...
SVN revision: 29441
2007-04-08 19:19:15 +00:00
Kim Woelders
f53600e1e8
Cleanups, enable compiling everything as if it were C++.
...
SVN revision: 28022
2007-01-17 01:10:44 +00:00
Kim Woelders
83bcbbaee1
2007.
...
SVN revision: 27952
2007-01-13 19:14:29 +00:00
Kim Woelders
1f64627f18
Shhh.
...
SVN revision: 25698
2006-09-10 18:50:03 +00:00
Kim Woelders
870989a27e
Avoid unnecessary library dependencies in eesh and edox. Cleanups.
...
SVN revision: 25668
2006-09-09 22:21:48 +00:00
Kim Woelders
056248c884
2006.
...
SVN revision: 19591
2006-01-07 07:20:58 +00:00
Kim Woelders
99d717e187
Copyright updates. More enlightenment->e16.
...
SVN revision: 13794
2005-03-19 16:40:18 +00:00
Kim Woelders
8d4a8ba6ce
Simplify eesh, enable one-liners like "eesh wl a".
...
SVN revision: 12239
2004-11-21 22:11:09 +00:00
Kim Woelders
4961db724c
Remove leftover debug stuff. Pointed out by Vadik Mironov <vadikmironoff@mtu-net.ru>.
...
SVN revision: 11504
2004-09-02 18:11:32 +00:00
Kim Woelders
a787113cc8
Remove unused files.
...
SVN revision: 11503
2004-09-02 17:56:46 +00:00
Michael Jennings
b7b4ac2714
Tue Jul 20 15:41:18 2004 Michael Jennings (mej)
...
Minor munchings for Makefile.am magnificence.
----------------------------------------------------------------------
SVN revision: 10942
2004-07-20 19:42:16 +00:00
Kim Woelders
0805729ac0
Trim eesh.
...
SVN revision: 10659
2004-07-01 09:27:30 +00:00
Kim Woelders
a68bf02ad8
Nested E. Maybe not really useful (yet?) but good for debugging and fun toy.
...
SVN revision: 10650
2004-06-30 13:04:18 +00:00
Kim Woelders
a2026d9228
Trivial prototype cleanup.
...
SVN revision: 10399
2004-05-31 19:47:35 +00:00
Kim Woelders
d607d56bdb
Move some DEFS into config.h.
...
SVN revision: 10137
2004-05-08 21:39:37 +00:00
Kim Woelders
2b847dfbe9
Add X_CFLAGS to INCLUDES. Rename root to VRoot to avoid warnings with -Wshadow.
...
SVN revision: 10053
2004-05-04 19:04:42 +00:00
Kim Woelders
485635dec5
Portability fixes and auto* cleanups.
...
SVN revision: 9884
2004-04-24 13:16:38 +00:00
Kim Woelders
3b1f6e7c72
Enable compiling with -Wwrite-strings (trivial fixups).
...
SVN revision: 9414
2004-03-21 01:39:40 +00:00
Kim Woelders
b6d0bbe16d
Remove unused code, enable compiling with -Wshadow.
...
SVN revision: 9408
2004-03-20 15:42:34 +00:00
Kim Woelders
8fcde94579
Remove unused code, enable compiling with -Wshadow.
...
SVN revision: 9407
2004-03-20 15:36:32 +00:00