Sergei Trofimovich
8a12b5e187
fish: fixed forgotten '\\' special char in perl escaping
...
Signed-off-by: Sergei Trofimovich <slyfox@inbox.ru>
2009-01-25 20:22:29 +01:00
Sergei Trofimovich
a8779af1aa
fish: fixed handling of files with spaces, quotes, etc.
...
Changes:
* removed "" from all operations, because shells do not like it:
$ LANG=C ls "//\ a\ -\>\ b\ \"\"\""
ls: cannot access //\ a\ -\>\ b\ """: No such file or directory
$ [sf] ~:LANG=C ls //\ a\ -\>\ b\ \"\"\"
// a -> b """
* transited to mhl escaping function in vfs/fish.c
* fixed vast majority of FISH ops in respect to special chars
Signed-off-by: Sergei Trofimovich <slyfox@inbox.ru>
2009-01-25 20:22:29 +01:00
Sergei Trofimovich
a944b8ca5b
fish: partially fixed perl backend for FISH
...
Broken:
* spacy files are still broken (like " a b")
Changes:
* vfs/fish.c learned to parse 'R' (raw filemode)
* fixed perl backend escaping
Signed-off-by: Sergei Trofimovich <slyfox@inbox.ru>
2009-01-25 20:22:29 +01:00
Sergei Trofimovich
636b1ff16f
fish: added handling for escaped characters
...
Changes:
* mhl/string.h achieved new function: mhl_str_dup_range
* fish: added handling for quoted string (:"enc" and :"enc1" -> "enc2")
Signed-off-by: Sergei Trofimovich <slyfox@inbox.ru>
2009-01-25 20:22:29 +01:00
Sergei Trofimovich
3884370289
fish: one step closer to working state
...
!!!WARNING!!!: FISH is still broken
Changes
* fixed sed fallback (added escaping)
* fixed FISH hangup (introduced earlier in perl changes)
* added FISH 500 if perl script dies somehow (no more FISH hangups on dir list path!)
* added '#if 0' in vfs/fish.c:fish_dir_load() - handy to debug
Signed-off-by: Sergei Trofimovich <slyfox@inbox.ru>
2009-01-25 20:22:29 +01:00
Patrick Winnertz
05a2491681
Argh.. we need even more escaping since this runs in c which executes
...
a shell script which executes then a perl script.... this uses then " as output in printf:
--> therefore we need up to 5 backslashes
2009-01-25 20:22:29 +01:00
Patrick Winnertz
61dee5baa3
Removed a % which I accidentially overviewed the first time
2009-01-25 20:22:29 +01:00
Patrick Winnertz
837aece56f
Some fixes to the new fish get dirlisting code. One issue is remaining.
2009-01-25 20:22:28 +01:00
Patrick Winnertz
b198432f06
Add some whitespace fixes which are also used to make symlinks work correctly
2009-01-25 20:22:28 +01:00
Patrick Winnertz
1667b696b7
Add new read dir stuff based on perl.
...
- please note that this patch won't work right now
2009-01-25 20:22:28 +01:00
Patrick Winnertz
01ef2aaf80
Revert slavaz patch because this was something unrelated to not working links via fish.
...
this indeed belongs into ticket:149.
2009-01-25 20:22:28 +01:00
Slava Zanko
a202cac66b
Changes in directory listing format:
...
- check if remote have a 'test' utility.
If 'test' exists - use it for recognize symlinks (test -L)
and forming "L<symlink>" string in output
- Restore part of source code for handling "L<symlink>"
- check if 'ls' command support option '-Q' and use it if supported
- FIXME: need to write fish_get_unquoted_filename
- FIXME: need to rewrite algorithm of parsing ' -> ' substring
(relative to -Q option)
New logic will correct show symlinks on lot of OSes, but in some
pure OSes need to review...
2009-01-25 20:22:28 +01:00
Patrick Winnertz
56e02e2848
Remove case 'L' check as this was never implemented as it seems...
2009-01-25 20:22:28 +01:00
Patrick Winnertz
5493da68a2
Remove vars which are not needed
2009-01-25 20:22:28 +01:00
Patrick Winnertz
b166e7f232
Update Slavaz patch to work correctly on files called "foo -> bar"
2009-01-25 20:22:28 +01:00
Patrick Winnertz
a320431503
We will release 4.6.2 and not 4.6.2-pre1. Therefore setting the version
...
correct in configure.ac
2009-01-25 18:22:35 +01:00
Patrick Winnertz
f26bcf3919
Add the bugs to NEWS which will be fixed by the 4.6.2 release
2009-01-25 18:07:17 +01:00
Patrick Winnertz
da74735548
Merge branch '35_view_dir_update' into mc-4.6
...
Conflicts:
ChangeLog
2009-01-25 16:23:26 +01:00
Patrick Winnertz
b84f9451df
Add Changelog entry about the history section name break.
2009-01-25 11:18:11 +01:00
Enrico Weigelt, metux IT service
9ac56b58ac
fixed missing history.h include
2009-01-24 21:59:58 +01:00
Enrico Weigelt, metux IT service
0dcb057459
separated out history section names to history.h
2009-01-24 21:51:29 +01:00
Enrico Weigelt, metux IT service
b9b09436c4
Merge commit 'origin/50_history_section_names' into 50_history_sections.metux
2009-01-24 21:26:41 +01:00
Enrico Weigelt, metux IT service
b1d848b786
fixed #35
2009-01-24 21:06:15 +01:00
Enrico Weigelt, metux IT service
7fae75c0d6
merged git 174_4.6_mandriva_pty_closeonexec
2009-01-24 20:26:40 +01:00
Patrick Winnertz
a5b0425ca2
Merge branch '207_minor_regex_fixes' into mc-4.6
2009-01-24 13:21:52 +01:00
Patrick Winnertz
0db8499b56
Add changelog entry about the two minor regex fixes
2009-01-24 13:20:48 +01:00
Patrick Winnertz
786f68dd4f
Merge branch '207_minor_regex_fixes' into mc-4.6
2009-01-24 13:17:28 +01:00
Patrick Winnertz
b79649fd54
Corrected names of the header files in the README for mhl
2009-01-23 20:07:32 +01:00
Patrick Winnertz
88c320822a
Fix some smaller errors concerning regex searches in mcedit
2009-01-23 20:01:15 +01:00
Patrick Winnertz
b7ac1e0484
Applied patch from debian which fixes a test if a file can be opened.
2009-01-23 19:55:43 +01:00
Slava Zanko
22fada9ce0
History sections names:
...
Make names of sections with function name as prefix string.
for example:
[inp:mc_mkdir Enter directory name ]
0=...
2009-01-20 00:57:09 +02:00
Enrico Weigelt, metux IT service
1e2ed2f808
Merge commit 'origin/157_mhl_addition' into mc-4.6
2009-01-19 02:31:58 +01:00
Enrico Weigelt, metux IT service
272754a8f5
renamed ../mhl/mhl* to <mhl/...>
2009-01-19 02:31:04 +01:00
Patrick Winnertz
1409e47337
Merge branch '168_unused_uninitialised_vars' into mc-4.6
...
Conflicts:
ChangeLog
2009-01-18 23:13:08 +01:00
Patrick Winnertz
e5a3a7cf0c
Closing #168 (unused vars and functions) added Changelog entry
2009-01-18 23:09:23 +01:00
Enrico Weigelt, metux IT service
74c1fd9d11
changed includes from ../mhl/ to <mhl/...>
2009-01-16 20:16:05 +01:00
Patrick Winnertz
5f1140f894
Renamed all mhl files as some of them are also present under /usr/include
...
with the same name:
- memory.h
- string.h
In order to do not have two .h files with the same name these two needs to be renamed.
I've renamed the others too, in order to have the same naming rules here.
Updated README to reflect this change
2009-01-16 11:50:10 +01:00
Enrico Weigelt, metux IT service
9f369abe25
added mandriva patch: subshell pty close-on-exec
2009-01-16 02:17:57 +01:00
Patrick Winnertz
01e12904bf
Revert patches from slavaz and moved them into a separate branch
...
since this should go into 4.6.2
2009-01-15 14:10:45 +01:00
Patrick Winnertz
537b55b46e
Move this var into if condition as it's only needed there
2009-01-14 23:28:35 +01:00
Slava Zanko
4eee697592
Create some function for init recode stuff.
2009-01-14 16:10:47 +02:00
Slava Zanko
b79817bdb8
Added empty files mhl_recode.[ch]
...
In future these files will deprecate src/charsets.[ch]
2009-01-14 13:45:52 +02:00
Slava Zanko
521fe2fefb
Add .gitignore to mhl dir.
2009-01-14 13:21:58 +02:00
Slava Zanko
c4e5080201
src/makefile.am: link executable with mhl/libmhl.a
2009-01-14 13:20:47 +02:00
Slava Zanko
51a81ec6e3
mhl/string.c: rename to mhl_string.c
...
mhl/string.h: rename to mhl_string.h
mhl/memory.h:
- Remove REGEX_MALLOC
- avoid "alloca redefined" warning
2009-01-14 12:48:12 +02:00
Slava Zanko
9623a85506
lib/mc.ext.in: change filemask for recognize 7z-files
...
vfs/extfs/u7z:
- change only LC_DATE global variable for correct work with arhive;
- add sorting by filename in output of list files
2009-01-14 11:54:02 +02:00
Patrick Winnertz
a144f2e4f6
Apply patch to fix localised history headers to mc-4.6 branch.
...
This is bad as if the localised string changed or you start mc
in another language your history will be lost.
2009-01-14 01:01:18 +01:00
Slava Zanko
c9bdf6f0a4
Make compileable mhl library.
...
Create mhl/string.c file
2009-01-13 17:35:02 +02:00
Slava Zanko
14b078b908
Add support of GLIB library.
2009-01-13 16:24:41 +02:00
Patrick Winnertz
60e84fdba8
use size_t where needed.
2009-01-13 07:32:14 +01:00