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
481b0a34ea
Merge branch 'mc-4.6'
2009-01-25 16:23:43 +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
998cfd9f5c
Merge branch 'mc-4.6'
2009-01-25 11:19:08 +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
7cef5b112e
Merge commit 'origin/50_history_sections.metux'
2009-01-25 07:00:32 +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
a1a873fae4
fixed changelog on mc-4.6 merge
2009-01-24 20:28:10 +01:00
Enrico Weigelt, metux IT service
7fae75c0d6
merged git 174_4.6_mandriva_pty_closeonexec
2009-01-24 20:26:40 +01:00
Enrico Weigelt, metux IT service
f072bf6d5c
merged 174_4.6_mandriva_pty_closeonexec
2009-01-24 20:24:14 +01:00
Enrico Weigelt, metux IT service
2e0edf8672
Merge commit 'origin/205_inttypes_64bit_error'
2009-01-24 19:19:49 +01:00
Enrico Weigelt, metux IT service
5fbcb773a4
merged 162_syntax_namerle branch
2009-01-24 17:08:53 +01:00
Patrick Winnertz
d61ee8fea8
Merge branch 'mc-4.6'
...
Conflicts:
ChangeLog
2009-01-24 13:22:43 +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
106616423e
Merge branch 'mc-4.6'
2009-01-24 13:21:18 +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
50afa35d28
Removed conflict markers which were not seen by metux
2009-01-24 10:48:26 +01:00
Enrico Weigelt, metux IT service
173ca89fca
merged jpelletier's patch for historic archive formats
2009-01-24 04:59:34 +01:00
Enrico Weigelt, metux IT service
5d150562aa
merged 158_message_codes branch
2009-01-24 04:53:51 +01:00
Enrico Weigelt, metux IT service
d362e3b015
some type fixes in vfs.c -> result types of mc_read() and mc_write() now ssize_t instead of int
2009-01-24 04:38:30 +01:00
Enrico Weigelt, metux IT service
8447de3d67
changelog entry added
2009-01-24 04:35:15 +01:00
Enrico Weigelt, metux IT service
3ca5a91b9a
vfs/cpio.c: read functions now return ssize_t
2009-01-24 02:34:43 +01:00
Patrick Winnertz
020b02057b
Merge branch 'mc-4.6'
2009-01-23 20:08:06 +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
9bed802084
Merge branch 'mc-4.6'
2009-01-23 20:06:12 +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
Sergei Trofimovich
e0eb9ca1cd
syntax/ebuild.syntax: new syntax file based on sh.syntax
...
Fixes:
* Added proper highlighting for externally visible global .eclass variables
(S, SLOT, SRC_URI nad problems before)
* Added new .eclass vars and functions
* Added more colorful " " highlighting
* Added more shell keywords like 'if', 'then', 'else', 'export', 'unset' etc.
Signed-off-by: Sergei Trofimovich <slyfox@inbox.ru>
2009-01-22 10:37:20 +02:00
Patrick Winnertz
ee3ac862f6
Removed whitespaces on EOL in ebuild.syntax
2009-01-22 10:37:20 +02:00
Enrico Weigelt, metux IT service
5471443eea
edit/syntax: added ebuild Syntax defition (taken from rhclub-tree)
2009-01-22 10:37:20 +02: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