Commit Graph

48 Commits

Author SHA1 Message Date
Carsten Haitzler 9f97aaae8c tyls - add pls files to glob list 2022-06-13 13:29:49 +01:00
Carsten Haitzler afb6d608f0 tyls - fix warnings about small buffer for snprintf
this extends the buffer to avoid any truncation - ever.

@fix
2022-05-18 13:10:59 +01:00
Koichi Murase 2e5e0a5b67 *.{h,c}: do not use the C reserved identifiers for tag names 2022-03-07 07:45:57 +09:00
Boris Faure 49266015c8
Revert "tyls: use eina_fnmatch"
This is not available in the released EFL versions that are supported
This reverts commit 4b7abf1e22.
2021-05-26 22:53:14 +02:00
Vincent Torri 4b7abf1e22
tyls: use eina_fnmatch
Reviewers: raster, billiob

Reviewed By: billiob

Differential Revision: https://phab.enlightenment.org/D12264
2021-05-26 22:41:33 +02:00
Carsten Haitzler 73a538433e tyls - allow ls *.png or *.jpg and so on to work as you expect 2020-12-06 16:35:55 +00:00
Boris Faure 0e4ea771cc
tyls: do not force extension 2020-11-25 22:04:52 +01:00
Boris Faure 9f2f8464f3
Fix typos
Summary: Fix some typos.

Differential Revision: https://phab.enlightenment.org/D12032
2020-07-05 20:19:59 +02:00
Boris Faure 0b48853597
reduce scope of variables 2020-04-17 23:09:07 +02:00
Boris Faure a119ac10cc
tycat/tyls: handle error on write()/scanf() 2020-04-05 15:49:26 +02:00
Boris Faure 43dc54e1f1
tyls: add audio icon for flac files 2019-12-09 20:30:52 +01:00
Boris Faure 0eb8948d67
tycommon: add ty_write() to handle EINTR/EAGAIN on write() 2019-12-05 19:58:25 +01:00
Boris Faure fb922e0ec4 coverity fixed their stuff, remove hack 2019-07-08 21:30:27 +02:00
Boris Faure 7834bede86 include coverity fix as first header 2018-09-29 18:06:41 +02:00
Carsten Haitzler a1d9dba1d0 terminology efl version bump 1.8 to 1.20
efl 1.8 is ancient by now (december 2013 ... like over 4 years ago).
time to bump to 1.20, so any future releases of terminology will need
a bump in efl version too whicn IMHO is sensible.
2018-02-13 15:12:18 +09:00
Carsten Haitzler 878def120e move private.h down after system headers... to avoid conflict 2017-12-19 11:01:09 +09:00
Carsten Haitzler 125d475068 add tysend cmdline and support in escapes for sending single files
this allows you to send a file via escapes to terminology which will
pop up a file save dialog and ask what to save it as and where (based
on the original name). terminology will show a progress bar too. this
is not useful locally but remotely (e.g. you ssh'd into another
machine) it's a VERY handy way of fetching a file from the remote
machine to the local machine with a display just with tysend FILE. you
can send multiple in a sequence with tysend FILE1 FILE2 FILE3 ... ...
and terminology will ask for a location and filename per file you send
(just hit cancel if you don't want to do it).

note - it needs new theme features to work. it'll fail without them.

@feature
2017-12-17 23:41:26 +09:00
Boris Faure fbe747fbfd include private.h everywhere
that way, terminology_config.h is included if present
2016-10-18 20:21:50 +02:00
Marcel Hollerbach b038ed7ff6 ty*: add unified --help / -h options to see a help page
This also adds documentation about the -h / --help options in the usages
2016-09-16 13:33:59 +02:00
Boris Faure 0e0105e559 make ty* fail nicely when in tmux/screen 2016-07-30 16:31:56 +02:00
Boris Faure 4abdf4b327 code cleanup: s/if (X) free(X);/free(X);/ 2015-03-18 15:23:39 +01:00
Boris Faure 4d7708a0f1 tyls: rewrite size_print to avoid arithmetic exception 2015-02-26 23:47:28 +01:00
Boris Faure 6c2e2dfbf5 tyls: fix warnings
size comparison
unused variable
2015-02-26 23:47:28 +01:00
Thibaut Broggi 85edd0407c tyls: remove leaks and fix write() checking
leaks were due to a "return 0" in main()
removing it, so that the exit functions from ecore can run properly
changing the way write() was checked, now we check if all chars are printed
2015-02-26 23:47:28 +01:00
Thibaut Broggi 03b88bafc7 tyls: change options management and refactor
adding an option "-a" that display hidden files
changing the way options are managed: arguments can no be passed in any order
refactoring size_print function to support ZB and YB
2015-02-26 23:47:22 +01:00
Boris Faure a3a8e370ee fix signedness comparison issue 2015-02-07 12:03:44 +01:00
broggi_t 4b4deb3ad3 tyls : make the code prettier and more flexible 2015-02-07 12:02:19 +01:00
broggi_t 2a397f35cd fix some possible bug in tyalpha, tybg, typop, tyq commands
make the code prettier in tyls
remove useless exit(0) at the end of the main (just before some return 0)
2015-02-07 12:02:19 +01:00
Boris Faure 9538380861 make terminology compile with efl 1.7 2014-09-23 21:54:41 +02:00
Carsten Haitzler 5ddd6dfa63 tycat and tylsd - dont init system modules in ecore. not neeeded 2014-08-18 15:53:54 +09:00
Jean-Philippe Andre 4012be784c extns: Add .tga to the recognized image files
Add it to tyls as well
2014-07-03 10:17:12 +09:00
Stefan Schmidt f1deb3ca3e tyls: Make sure we never divide by zero
Avoid the case where cols is 0 and we divide through it.

CID 1100655
2014-02-26 21:14:50 +01:00
Boris Faure 2429f7d3ad remove some warnings 2013-08-27 15:23:49 +02:00
Carsten Haitzler 38d468fc61 remove warngings 2013-07-30 20:19:07 +09:00
Daniel Juyung Seo 68cc3e0656 tyls.c: clean up. one semicolon is enough. 2013-06-20 20:13:39 +09:00
Carsten Haitzler ea2c4bc670 remove -l opt in summary. 2013-04-19 00:02:28 +09:00
Stefan Schmidt fc04ce9b4d tyls: Don't print -l option as it is not implemented.
A bit confusing to show it but then do nothing like what it suggests.
Can come back once we have it implemented.
2013-03-28 15:01:50 +00:00
Carsten Haitzler 4caebb56b7 fix some media handling of mp3's and music files with tyls+thumb links. 2013-03-28 20:14:56 +09:00
Daniel Juyung Seo e34ac90739 tyls.c: removed unused variables. 2013-03-12 02:00:30 +09:00
Carsten Haitzler 58597e51e7 fix tyls -m 2013-03-11 20:53:43 +09:00
Carsten Haitzler de8141dec6 tyls now uses standard icons names for normal files (not starting with
/) so u see icons for files as well as thumbnails for videos, images,
svg's etc...

and now when u clikc on the icon... u launch it (folders launch in
efm... other file types open via the standard tools like with efm/e
etc. and highlighted links)
2013-03-11 20:44:27 +09:00
Carsten Haitzler 3756f251b7 more extns known in tyls.
SVN revision: 84071
2013-02-19 00:46:56 +00:00
Carsten Haitzler 0ed5a96d9d quick - forgot exec checks.
SVN revision: 83934
2013-02-15 05:08:11 +00:00
Carsten Haitzler 104e1b51cb make tyls more.. colorful. :)
SVN revision: 83896
2013-02-14 15:53:29 +00:00
Carsten Haitzler 1af758d9c1 fix tyls -m
SVN revision: 83569
2013-02-02 07:39:47 +00:00
Carsten Haitzler 156b168979 inline thumb mode uses ethumb now... :)
SVN revision: 83566
2013-02-01 14:10:51 +00:00
Mike McCormack 83d1371953 terminology: Fix warning
Signed-off-by: Mike McCormack <mike@atratus.org>

SVN revision: 83499
2013-01-31 03:31:03 +00:00
Carsten Haitzler 53eeed9880 a very very very very rough/first cut and playing with tyls...
SVN revision: 83485
2013-01-30 15:26:16 +00:00