Patrick Winnertz
4ab17b939f
Add $ and ` for escaping and reorder it according to the ascii values
2009-01-26 16:16:42 +02:00
Patrick Winnertz
3263509b9d
Rewrite it to use g_string_append_c instead of some homebrew stuff
2009-01-26 16:16:41 +02:00
Patrick Winnertz
2eb9472f99
Fix escaping functions to also escape the leading whitespace
2009-01-26 16:16:41 +02:00
Patrick Winnertz
bcac6584b2
Original patch as attached on the bugreport
2009-01-26 16:16:41 +02:00
Mikhail S. Pobolovets
e3a82ba1d8
Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
...
Automatic new directory(Mkdir, F7) name filling.
Can be configured (on|off) in 'Configure options'.
2009-01-26 13:33:13 +02:00
Patrick Winnertz
881ff40b3d
Merge branch 'mc-4.6'
2009-01-26 10:30:14 +01:00
Patrick Winnertz
74dadcc258
Added rev3 of the patch attached to the bugreport
2009-01-26 00:34:50 +01:00
Patrick Winnertz
e1572aefd3
Remove embedded function and use instead the regex directly as we doesn't need
...
more lines of code as really necessary.
The regex stuff is taken from this site:
http://www.slac.stanford.edu/slac/www/resource/how-to-use/cgi-rexx/cgi-esc.htm
2009-01-25 22:52:24 +01:00
Patrick Winnertz
26992b5e0a
Replaced 6 with & as & where meant
2009-01-25 20:23:56 +01:00
Patrick Winnertz
73813916e2
Added changelog notice about the fixed fish behaviour.
...
Used there the emailaddress of me and slyfox
2009-01-25 20:23:33 +01:00
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
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