Commit Graph

11573 Commits

Author SHA1 Message Date
Andrew Borodin
6f0eacee73 Ticket #2833: url with port was stored wrong in history.
"sh://admin@192.168.1.119:55522" was stored as
"sh://admin@192.168.1.119@192.168.1.119".

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-06-20 15:59:07 +04:00
Andrew Borodin
948753be0f Don't mix mc_search_cb_ret_t and int as result of search callback.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-06-11 15:59:54 +04:00
Andrew Borodin
13398647ed Ticket #2795: hex search: can't find 00 (zeroes) in patterns.
Don't interpret the '0' character as end of search pattern.
Use pattern length for that.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-06-11 15:59:45 +04:00
Slava Zanko
0646ab6457 Merge branch '2804_test_path_cmp' into 4.8.1-stable
* 2804_test_path_cmp:
  Ticket #2804: fixed defect: path_cmp: FTBFS with --enable-tests on [powerpc,s390,s390x]
2012-06-06 16:06:22 +03:00
Slava Zanko
8540b1a996 Ticket #2804: fixed defect: path_cmp: FTBFS with --enable-tests on [powerpc,s390,s390x]
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2012-06-06 16:06:07 +03:00
Slava Zanko
d4484e0134 Merge branch '2821_wrong_second_ftp_connection' into 4.8.1-stable
* 2821_wrong_second_ftp_connection:
  Ticket #2821: Fixed defect: ftp to a second site does not work
2012-06-06 12:13:25 +03:00
Slava Zanko
15a9a74040 Ticket #2821: Fixed defect: ftp to a second site does not work
Steps to reproduce:

 * cd  ftp://ftp.gnome.org/
 * Run "cd" in the panel where the remote site is open
 * cd  ftp://ftp.kernel.org/

Actual result: The directory content from ftp.gnome.org FTP-server.
Expected results: The directory content from kernel.org FTP-server.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2012-06-06 12:13:12 +03:00
Andrew Borodin
dca2d82cd9 Merge branch '2813_panelize_limit' into 4.8.1-stable
* 2813_panelize_limit:
  Ticket #2813: number of panelized files was limited to 127.
2012-05-28 16:29:03 +04:00
Andrew Borodin
f51012bee0 Ticket #2813: number of panelized files was limited to 127.
(handle_path): restore contidion that was lost in
eeaad790ab.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-05-28 16:28:51 +04:00
Slava Zanko
cf29edb314 Merge branch '2800_ftpfs_dir_listing' into 4.8.1-stable
* 2800_ftpfs_dir_listing:
  Ticket #2800: Garbage directory listing in ftpfs
2012-05-18 12:37:44 +03:00
Slava Zanko
e9f3b4dfd0 Ticket #2800: Garbage directory listing in ftpfs
Just open any non-anonymous FTP connection.
2012-05-18 12:37:17 +03:00
Andrew Borodin
4619723e84 Merge branch '2808_freebsd6_build_failure' into 4.8.1-stable
* 2808_freebsd6_build_failure:
  Ticket #2808: build failure on FreeBSD 6.
2012-05-14 15:32:03 +04:00
Phil Krylov
fe91533c41 Ticket #2808: build failure on FreeBSD 6.
sys/param.h needs to be included before sys/mount.h on FreeBSD 6,
otherwise compiling fails with undefined identifier NGROUPS.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-05-14 15:30:58 +04:00
Egmont Koblinger
45d938c0e5 Ticket #2807: incomplete sand256 skin.
When using the sand256 skin, selected element is not highlighted in
pop-up menus.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-05-13 14:42:44 +04:00
Andrew Borodin
02c743c10a Merge branch '2805_relative_path_args' into 4.8.1-stable
* 2805_relative_path_args:
  Ticket #2805: fix of misenterpretation of command line arguments as relative paths.
2012-05-09 10:35:43 +04:00
Andrew Borodin
57e3921f45 Ticket #2805: fix of misenterpretation of command line arguments as relative paths.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-05-09 10:35:14 +04:00
Andrew Borodin
c3f67f8b94 Updated Russian translation of mc man page.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-05-06 10:57:05 +04:00
Andrew Borodin
5a987e3efb Merge branch '2783_panel_dir_fix' into 4.8.1-stable
* 2783_panel_dir_fix:
  Ticket #2783: when right panel is active, panel paths are swapped at each mc start.
2012-05-04 18:22:02 +04:00
Andrew Borodin
cb261be463 Ticket #2783: when right panel is active, panel paths are swapped at each mc start.
How to reproduce.
1. Goto ~. Run mc. Enable autosave panels setup before exit. Save options.
2.  Open ~ dir in the left panel, / in the right one. Make right panel active.
3. Close mc.
4. With mc-wrapper, following is performed:
4.1. Run mc. Now ~ in the right panel, / in the left one.
4.2. Close mc.
4.3. Run mc. Now ~ in the left panel again, / in the right one.
4.4. ...and so on.
5. Without mc-wrapper, following is performed:
5.1. Run mc. Now ~ in both panels.

Expected behavior with current_is_left=false

1. if mc start as mc dir dir2, dir1 is opened in the left panel, dir2 in
the right one.
2. if mc starts as mc (without dir1 and dir2), active (right)  panel
contains working directory, other (left) one contains other_dir from
panel.ini.
3. if mc start as mc dir1, dir1 is opened in the left panel, right panel
contains working directory.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-05-04 18:21:05 +04:00
Andrew Borodin
de812a639c Merge branch '1437_install_scripts' into 4.8.1-stable
* 1437_install_scripts:
  Ticket #1437: install mceditor scripts as scripts not as data files.
2012-05-04 18:13:25 +04:00
Gergely Szasz
c0df27d288 Ticket #1437: install mceditor scripts as scripts not as data files.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-05-04 18:12:58 +04:00
Osamu Aoki
9ad9059512 Ticket #2798: support of .cpio.xz files.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-04-30 11:32:37 +04:00
Patrick Winnertz
37e492db57 Ticket #2797: added support of .gem (rubygems) files.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-04-30 11:21:49 +04:00
Dmitry Smirnov
ff843675ee Ticket #2796: correct spelling in man page (lintianisation).
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-04-30 11:11:44 +04:00
Slava Zanko
67fb17561a Updated doc/NEWS file
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2012-04-25 19:24:10 +03:00
Slava Zanko
c842fcfb7d Merge branch '2786_tests_fix' into 4.8.1-stable
* 2786_tests_fix:
  Ticket #2786: added forgotten test source file.
2012-04-25 19:10:22 +03:00
Andrew Borodin
1dca9945c5 Ticket #2786: added forgotten test source file.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-04-25 19:10:07 +03:00
Andrew Borodin
8adc0d54d7 Merge branch '2785_tar_error_message' into 4.8.1-stable
* 2785_tar_error_message:
  Ticket #2785: error message when entering into compressed tar and cpio archives.
2012-04-25 16:44:13 +04:00
Andrew Borodin
94443a2305 Ticket #2785: error message when entering into compressed tar and cpio archives.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-04-25 16:44:02 +04:00
Andrew Borodin
258bc59075 Merge branch '2787_relative_symlink_crash' into 4.8.1-stable
* 2787_relative_symlink_crash:
  Ticket #2787: crash when creating relative symlink.
2012-04-25 14:58:48 +04:00
Andrew Borodin
ce529dc409 Ticket #2787: crash when creating relative symlink.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-04-25 14:58:24 +04:00
Andrew Borodin
6336ff121e Merge branch '2783_dir_panel_order' into 4.8.1-stable
* 2783_dir_panel_order:
  Ticket #2783: directories is opened in the wrong panel.
2012-04-24 20:52:12 +04:00
Andrew Borodin
fbbd744c9e Ticket #2783: directories is opened in the wrong panel.
mc dir1 dir2

The bug: order of parameters assignment depends on current_is_left
option in panels.ini file: if current_is_left=0, then dir1 is opened
in the left panel, dir2 in the right one. If current_is_left=1,
then dir1 is opened in the right panel, dir2 in the left one.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-04-24 20:51:59 +04:00
Andrew Borodin
814579136c Merge branch '2784_chown_segfault' into 4.8.1-stable
* 2784_chown_segfault:
  Ticket #2784: segfault at chown.
2012-04-24 12:53:13 +04:00
Andrew Borodin
47a067c333 Ticket #2784: segfault at chown.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-04-24 12:52:55 +04:00
Slava Zanko
cb2082502d Updated doc/NEWS file
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-04-22 15:40:33 +04:00
Slava Zanko
e69a854e40 Updated translations from transifex.net
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-04-22 15:34:20 +04:00
Ilia Maslakov
f0726d8461 Ticket #2766 (Cursor position reset after update)
Cursor position reset after update when panel is panelized, but doesn't.

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2012-04-22 15:34:20 +04:00
Ilia Maslakov
08bebd6569 Ticket #2757 (mcedit not record input chars)
fixed trouble with internal editor macro engine introduced by commit #68a8745f6dd7ded9437317a694225d599745e983
    now record input char and commands.

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2012-04-22 15:34:20 +04:00
Egmont Koblinger
d7e6a68d9e Ticket #2763 (Last word of help links not clickable)
The last word of hyperlinks in the interactive help don't act on mouse clicks.
    This also implies that one-word links can't be clicked at all.

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2012-04-22 15:21:20 +04:00
Slava Zanko
dd6340c993 Merge branch '2781_cleanup' into 4.8.1-stable
* 2781_cleanup:
  (mc_setup_by_args): fixed memory leaks.
  (reread_cmd): use vfs_path_cmp() to compare dirs.
  (do_load_dir): use vfs_path_t as a path handle.
  README.fish: fixed location of user scripts.
  Use new-style VFS prefixes.
  (nice_cd): use new-style VFS prefixes.
  (input_history_strip_password): actually url is not the pointer to constant.
  (vfs_expare): changed argument type from int to gboolean.
  (vfs_url_split): optimized to get rid of multiple string length caclulation.
  (check_for_default): minor optimization and change return value.
  (resolve_symlinks): use (vfs_path_t *) as argument.
  (tty_draw_box): do nothing if width or heigth of box is less than 1.
  (vfs_path_element_clone): ret rid of extra actions.
  (vfs_get_raw_current_dir): return pointer to constant.
  g_dirname and g_basename function are deprecated since glib-2.2.
  Ticket #2781: cleanup before 4.8.3 release.
2012-04-22 13:22:50 +03:00
Andrew Borodin
c1564d89dd (mc_setup_by_args): fixed memory leaks.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-04-22 14:08:53 +04:00
Andrew Borodin
91379e2cff (reread_cmd): use vfs_path_cmp() to compare dirs.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-04-22 14:08:53 +04:00
Andrew Borodin
7d5261a1dc (do_load_dir): use vfs_path_t as a path handle.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-04-22 14:08:53 +04:00
Andrew Borodin
adbfbf40df README.fish: fixed location of user scripts.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-04-22 14:08:53 +04:00
Andrew Borodin
93fcfd083f Use new-style VFS prefixes.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-04-22 14:08:53 +04:00
Andrew Borodin
70cb39a514 (nice_cd): use new-style VFS prefixes.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-04-22 14:08:53 +04:00
Andrew Borodin
8f1e5db996 (input_history_strip_password): actually url is not the pointer to constant. 2012-04-22 14:08:53 +04:00
Andrew Borodin
807dd268e9 (vfs_expare): changed argument type from int to gboolean.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-04-22 12:31:24 +03:00
Andrew Borodin
3d4e6884d8 (vfs_url_split): optimized to get rid of multiple string length caclulation.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-04-22 12:31:24 +03:00