Commit Graph

7702 Commits

Author SHA1 Message Date
Patrick Winnertz
77d2839de5 Merge branch '203_keypad_putty' into mc-4.6 2009-01-27 22:55:16 +01:00
Enrico Weigelt, metux IT service
90763ba82f introduced new type SHELL_ESCAPED_STR for more type safety 2009-01-27 22:27:06 +01:00
Enrico Weigelt, metux IT service
2f6f6af425 fixed comments to /* ... */ 2009-01-27 22:04:12 +01:00
Enrico Weigelt, metux IT service
6674647676 added mhl/types.h which defines bool enum, escape.h now using this type 2009-01-27 21:53:41 +01:00
Patrick Winnertz
8b593e8398 Removed unused variable 2009-01-27 21:33:04 +01:00
Slava Zanko
38537ddd04 Changes for use MHL.
mhl/escape.h:
    add new function mhl_shell_is_char_escaped()

src/command.c; src/complete.c; src/file.c; src/util.c:
    Changes for use MHL-functions.

src/util.h:
    remove old escape-related declarations of functions
2009-01-27 10:20:35 +02:00
Slava Zanko
dbbd127e44 Merge branch '147_escaping' of ssh://www.midnight-commander.org:2222/git/mc into 147_escaping
* '147_escaping' of ssh://www.midnight-commander.org:2222/git/mc: (38 commits)
  Fixed bug with renamig/copying files with backshashes in names
  Remove some testing stuff
  Temporarry commit. Fixed completion in browse by directoryes.
  Fixed some memory leaks.
  Add $ and ` for escaping and reorder it according to the ascii values
  Rewrite it to use g_string_append_c instead of some homebrew stuff
  Fix escaping functions to also escape the leading whitespace
  Original patch as attached on the bugreport
  Add $ and ` for escaping and reorder it according to the ascii values
  Rewrite it to use g_string_append_c instead of some homebrew stuff
  Fix escaping functions to also escape the leading whitespace
  Original patch as attached on the bugreport
  Some minor fixes to the german locale
  Unfuzzied one more german string
  Some more fuzzy translations reviewed
  Reedited de.po with poedit.. Added some more translations and restructured the rest
  Add changelog entry about this change, as everything we do should be documented there
  Add some minor fixes concerning spelling issues
  ...
  po/de.po: some minor changes
  ...
2009-01-27 10:15:09 +02:00
Patrick Winnertz
3dd8716646 Not only comment it out but removing it 2009-01-26 21:51:40 +01:00
Patrick Winnertz
89d3cbddd2 Removed unneeded var to make build process a bit cleaner 2009-01-26 21:29:25 +01:00
Slava Zanko
e58df8d75d 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 19:35:41 +01:00
Slava Zanko
de672de740 Remove some testing stuff 2009-01-26 19:35:41 +01:00
Slava Zanko
67751bc144 Temporarry commit. Fixed completion in browse by directoryes.
Not fixed completion by commands (fail if command in $PATH contain space)
2009-01-26 19:35:40 +01:00
Slava Zanko
e4630afebe Fixed some memory leaks.
Added DOXYGEN-like description to new functions.
2009-01-26 19:35:40 +01:00
Patrick Winnertz
25125440a4 Add $ and ` for escaping and reorder it according to the ascii values 2009-01-26 19:35:40 +01:00
Patrick Winnertz
2bce868a9b Rewrite it to use g_string_append_c instead of some homebrew stuff 2009-01-26 19:35:40 +01:00
Patrick Winnertz
4c18892d94 Fix escaping functions to also escape the leading whitespace 2009-01-26 19:35:40 +01:00
Patrick Winnertz
b0e39cc68d Original patch as attached on the bugreport 2009-01-26 19:35:40 +01:00
Patrick Winnertz
d731741110 Add $ and ` for escaping and reorder it according to the ascii values 2009-01-26 19:35:40 +01:00
Patrick Winnertz
01089a4380 Rewrite it to use g_string_append_c instead of some homebrew stuff 2009-01-26 19:35:40 +01:00
Patrick Winnertz
e7a0892fd1 Fix escaping functions to also escape the leading whitespace 2009-01-26 19:35:40 +01:00
Patrick Winnertz
5041bd41f6 Original patch as attached on the bugreport 2009-01-26 19:35:40 +01:00
Patrick Winnertz
d79dfa1324 Some minor fixes to the german locale 2009-01-26 19:11:29 +01:00
Patrick Winnertz
17c0e75e62 Unfuzzied one more german string 2009-01-26 17:54:21 +01:00
Patrick Winnertz
a740f8ed7b Some more fuzzy translations reviewed 2009-01-26 17:54:21 +01:00
Patrick Winnertz
6753c71e23 Reedited de.po with poedit.. Added some more translations and restructured the rest 2009-01-26 17:54:20 +01:00
Patrick Winnertz
0d35576a6d Add changelog entry about this change, as everything we do should be documented there 2009-01-26 17:54:20 +01:00
Patrick Winnertz
984d97fdf5 Add some minor fixes concerning spelling issues 2009-01-26 17:53:38 +01:00
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