Commit Graph

7886 Commits

Author SHA1 Message Date
Sergei Trofimovich
1da3919eb1 ChangeLog/NEWS: added entry for #181 ticket (copy to deleted dir)
Signed-off-by: Sergei Trofimovich <slyfox@inbox.ru>
2009-01-29 01:34:17 +02:00
Sergei Trofimovich
abc295cee2 Merge branch 'mc-4.6'
* mc-4.6:
  Now a trailing slash will only be added in copy & move dialogs if the path itselfs
  copy/move dialog: add trailing '/' to default destination path (fix #181)
2009-01-29 01:12:09 +02:00
Patrick Winnertz
66c9fde141 Now a trailing slash will only be added in copy & move dialogs if the path itselfs
doesn't already have a trailing slash.

Signed-off-by: Patrick Winnertz <winnie@debian.org>
2009-01-28 23:54:04 +01:00
Sergei Trofimovich
689164a6bc copy/move dialog: add trailing '/' to default destination path (fix #181)
Problem:
  When user tried to copy/move file (F5/F6) - he could run into trouble if
  destination directory is removed (it can be removed by user from another mc session).
  Operation is performed and(!) file is renamed.
  So when when user issues 'cp /tmp/a.file /tmp/b' - he gets not expected /tmp/b/a.file,
  but /tmp.b !

Solution:
  Add trailing space for destination directory for non-local copy/move(F5/F6) operations.
  So operation, given above will take form: 'cp /tmp/a.file /tmp/b/' disambiguating b
  meaning.

Signed-off-by: Sergei Trofimovich <slyfox@inbox.ru>
2009-01-28 23:31:39 +02:00
Sergei Trofimovich
c825c379c4 fish: cleanup: unboxed quoted strings when generate shell commands
Signed-off-by: Sergei Trofimovich <st@anti-virus.by>
2009-01-28 10:29:18 +02:00
Patrick Winnertz
cad6ffd2bb Merge branch 'mc-4.6' 2009-01-27 23:03:06 +01:00
Patrick Winnertz
bef72946fd Merge branch 'mc-4.6' of ssh://midnight-commander.org:2222/git/mc into mc-4.6 2009-01-27 22:55:40 +01:00
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
e34e748666 Merge commit 'origin/mc-4.6' 2009-01-27 22:53:12 +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
753a663d2d Merge branch 'mc-4.6' 2009-01-26 21:44:42 +01:00
Patrick Winnertz
fa9a7e26c9 Merge branch '203_keypad_putty' into 118_port_number_in_shell_link 2009-01-26 21:44:25 +01:00
Patrick Winnertz
89d3cbddd2 Removed unneeded var to make build process a bit cleaner 2009-01-26 21:29:25 +01:00
Mikhail S. Pobolovets
dac78460c2 Port number in shell link can be specified now
vfs/ChangeLog:

    * fish.c: Iterpret SUP.flags as port number if SUP.flags is not in
    * 0, FISH_FLAG_COMPRESSED and FISH_FLAG_RSH. Weakness: port number

Originally by Andrew V. Samoilov <sav>

Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
2009-01-26 21:26:33 +02: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
2a6edc23c5 Merge branch 'mc-4.6' 2009-01-26 19:12:18 +01:00
Patrick Winnertz
d79dfa1324 Some minor fixes to the german locale 2009-01-26 19:11:29 +01:00
Patrick Winnertz
c63d259314 Somehow the merge duplicated Enricos Changelog entry. 2009-01-26 17:58:30 +01:00
Patrick Winnertz
bcc78efe17 Merge branch '167_locale_german' 2009-01-26 17:55:41 +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
7abcb66aba Merge branch 'mc-4.6' 2009-01-26 16:56:24 +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