Enrico Weigelt, metux IT service
fae850368d
...
2009-01-26 17:53:38 +01:00
Enrico Weigelt, metux IT service
4118f13d89
po/de.po: some minor changes
2009-01-26 17:53:38 +01:00
Patrick Winnertz
1fd3aa61d6
Merge branch '10_fish_whitespace_symlink_issue' into mc-4.6
...
Conflicts:
ChangeLog
2009-01-26 16:55:52 +01:00
Patrick Winnertz
ea5cfade55
Add code snipplet by il.smind which should fix issues with putty and
...
mc (mc over ssh on a putty console)
- to reproduce try this:
1) run 'putty'; login to remote host
2) run mc
3) press key '/' on keypad. You will see menu that is called when you press the F2
4) Go to 'Learn keys' (simple call dialog)
5) just exit from 'learn keys' dialog (without any changes)
6) 3) press key '/' on keypad again. You will see '/' symbol in command line.
2009-01-26 16:21:06 +01:00
Slava Zanko
2cd08d0d84
Fixed bug with renamig/copying files with backshashes in names
...
* src/util.c: implementation of new function is_escaped_string
* src/util.h: declaration of new function is_escaped_string
* src/file.c: fix o bug :)
2009-01-26 16:16:43 +02:00
Slava Zanko
9e46faab7f
Remove some testing stuff
2009-01-26 16:16:42 +02:00
Slava Zanko
a419b71b6e
Temporarry commit. Fixed completion in browse by directoryes.
...
Not fixed completion by commands (fail if command in $PATH contain space)
2009-01-26 16:16:42 +02:00
Slava Zanko
26c9d6d107
Fixed some memory leaks.
...
Added DOXYGEN-like description to new functions.
2009-01-26 16:16:42 +02:00
Patrick Winnertz
416f7d69fc
Add $ and ` for escaping and reorder it according to the ascii values
2009-01-26 16:16:42 +02:00
Patrick Winnertz
7c64c2767b
Rewrite it to use g_string_append_c instead of some homebrew stuff
2009-01-26 16:16:42 +02:00
Patrick Winnertz
b48c30e337
Fix escaping functions to also escape the leading whitespace
2009-01-26 16:16:42 +02:00
Patrick Winnertz
985f73c374
Original patch as attached on the bugreport
2009-01-26 16:16:42 +02:00
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
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
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