Commit Graph

11677 Commits

Author SHA1 Message Date
Slava Zanko 488c04746a Ticket #2830: subshell history not written on exit
Since Bash 4.2, closing with any signal will not cause it to write the command history.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2012-06-17 23:39:42 +03:00
Slava Zanko c13eed8d81 Merge branch '2751_gputils_lib'
* 2751_gputils_lib:
  Ticket #2751: Support *.lib artifacts generated by gputils utility
2012-06-12 14:36:30 +03:00
Molnár Károly 06285250aa Ticket #2751: Support *.lib artifacts generated by gputils utility
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2012-06-12 14:35:48 +03:00
Andrew Borodin d7a1af740e Merge branch '2313_history'
* 2313_history:
  Handle directory history of panel.
  Handle history of input line.
  Ticket #2313: CK_History removes CK_HistoryNext entries
2012-06-11 15:02:46 +04:00
Andrew Borodin f23f55bc9e Handle directory history of panel.
Added pointer to the current history item and use to walk in history.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-06-11 15:02:19 +04:00
Andrew Borodin c813d1baad Handle history of input line.
Added pointer to the current history item and use to walk in history.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-06-11 15:02:19 +04:00
Andrew Borodin f899f62a86 Ticket #2313: CK_History removes CK_HistoryNext entries
Steps to reproduce:

1. traverse through some directories,
2. press alt-y multiple times,
3. press alt-u multiple times,
4. press alt-y again a few times,
5. press alt-shift-h (notice no dirs to forward to), press esc,
6. press alt-u - nothing happens.

Initial step: (directory_history_add): make static and use vfs_path_t as argument.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-06-11 15:02:19 +04:00
Ilia Maslakov 5583df3350 Merge branch '2495_show_addition_info_about_macros'
* 2495_show_addition_info_about_macros:
  Ticket #2495 (show info about macros)
2012-06-11 07:59:00 +04:00
Ilia Maslakov 18f555a4cf Ticket #2495 (show info about macros)
Display extended info about compiled-in paths for internal/external macros.

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2012-06-11 07:58:10 +04:00
Andrew Borodin 2b341397ee Merge branch '2817_dlg_mouse_fix'
* 2817_dlg_mouse_fix:
  Ticket #2817: fixes of mouse handling in file manager.
2012-06-08 11:25:47 +04:00
Andrew Borodin 9bec27cb04 Ticket #2817: fixes of mouse handling in file manager.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-06-08 11:25:29 +04:00
Slava Zanko 7f5d56142e Merge branch '2804_test_path_cmp'
* 2804_test_path_cmp:
  Ticket #2804: fixed defect: path_cmp: FTBFS with --enable-tests on [powerpc,s390,s390x]
2012-06-06 16:02:51 +03:00
Slava Zanko ca4e66d174 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:02:30 +03:00
Slava Zanko 48b4320f7d Merge branch '2821_wrong_second_ftp_connection'
* 2821_wrong_second_ftp_connection:
  Ticket #2821: Fixed defect: ftp to a second site does not work
2012-06-06 12:09:57 +03:00
Slava Zanko a2a01d94e9 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:07:54 +03:00
Andrew Borodin d235c71dae Merge branch '2814_viewer_next_prev'
* 2814_viewer_next_prev:
  Change obtaining of working dir.
  Clean up stuff that is not used anymore.
  Ticket #2814: handle CK_FileNext/CK_FilePrev inside mcviewer.
2012-06-05 13:08:02 +04:00
Andrew Borodin 77ed2cf70c Change obtaining of working dir.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-06-05 13:06:27 +04:00
Andrew Borodin c1f2a8ac49 Clean up stuff that is not used anymore.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-06-05 13:06:27 +04:00
Andrew Borodin c83c3f7052 Ticket #2814: handle CK_FileNext/CK_FilePrev inside mcviewer.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-06-05 13:06:27 +04:00
Andrew Borodin 50f8b5bf58 Merge branch '2817_dlg_mouse'
* 2817_dlg_mouse:
  Reimplemented mouse event handling in the file manager.
  Ticket #2817: add mouse handler to the dialog.
2012-06-01 13:45:29 +04:00
Andrew Borodin 9b5e5a5106 Reimplemented mouse event handling in the file manager.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-06-01 13:44:40 +04:00
Andrew Borodin 83e3945c24 Ticket #2817: add mouse handler to the dialog.
Currently, dialog itself doesn't handle mouse events. It just
resends mouse event to each its widget. If we can several overlapped
widgets (especially, menu bar), there is some problem to decide which
widget must get event at first.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-05-30 13:23:12 +04:00
Andrew Borodin a56e983ece Merge branch '2813_panelize_limit'
* 2813_panelize_limit:
  Ticket #2813: number of panelized files was limited to 127.
2012-05-28 16:26:46 +04:00
Andrew Borodin 28a8b10f12 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:26:28 +04:00
Slava Zanko 525339ad62 Merge branch '2746_webm_support'
* 2746_webm_support:
  Ticket #2746: Add WebM support
2012-05-28 14:34:48 +03:00
Slava Zanko fcd5ea0ddb Ticket #2746: Add WebM support
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2012-05-28 14:34:30 +03:00
Marco Ciampa f1075b8abb Updated italian translation. 2012-05-21 20:34:09 +02:00
Slava Zanko ff6d7b2b08 Merge branch '2118_mcext_enhancement'
* 2118_mcext_enhancement:
  lib/vfs/interface.c: Added checking if super->path_element is not NULL
  Use xdg-open by default in mc.ext.in if present to open files, fallback on current scheme otherwise.
  src/filemanager/ext.c: Added ability to export global variables to external programs called from mc.ext file.
  src/filemanager/ext.c: Code optimization. avoid few actions while %cd called from ext-file.
  Ticket #2118: split exec_extention() function to few functions.
2012-05-18 13:45:14 +03:00
Slava Zanko 5c6ae102f2 lib/vfs/interface.c: Added checking if super->path_element is not NULL
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2012-05-18 13:44:12 +03:00
Slava Zanko ec7aafef83 Use xdg-open by default in mc.ext.in if present to open files,
fallback on current scheme otherwise.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2012-05-18 13:06:20 +03:00
Slava Zanko d14f481785 src/filemanager/ext.c: Added ability to export global variables to external programs called from mc.ext file.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2012-05-18 13:06:20 +03:00
Slava Zanko 3b3a1da8ad src/filemanager/ext.c: Code optimization.
avoid few actions while %cd called from ext-file.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2012-05-18 13:06:20 +03:00
Slava Zanko 2af4c0d723 Ticket #2118: split exec_extention() function to few functions.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2012-05-18 13:06:20 +03:00
Slava Zanko e944301b2a Merge branch '2800_ftpfs_dir_listing'
* 2800_ftpfs_dir_listing:
  Ticket #2800: Garbage directory listing in ftpfs
2012-05-18 12:32:15 +03:00
Slava Zanko 21d1f61b40 Ticket #2800: Garbage directory listing in ftpfs
Just open any non-anonymous FTP connection.
2012-05-18 12:31:29 +03:00
Andrew Borodin 328abc24c8 Merge branch '2808_freebsd6_build_failure'
* 2808_freebsd6_build_failure:
  Ticket #2808: build failure on FreeBSD 6.
2012-05-14 15:27:45 +04:00
Phil Krylov 7c425e8500 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-13 14:49:30 +04:00
Egmont Koblinger 75febfe7c7 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:39:11 +04:00
Andrew Borodin 5ad2328027 Merge branch '2805_relative_path_args'
* 2805_relative_path_args:
  Ticket #2805: fix of misenterpretation of command line arguments as relative paths.
2012-05-09 10:32:25 +04:00
Andrew Borodin 9e2d9d47bc Ticket #2805: fix of misenterpretation of command line arguments as relative paths.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-05-09 10:32:09 +04:00
Andrew Borodin 6e05d3eb25 Merge branch '2795_search_hex_zero_pattern'
* 2795_search_hex_zero_pattern:
  Don't mix mc_search_cb_ret_t and int as result of search callback.
  Ticket #2795: hex search: can't find 00 (zeroes) in patterns.
2012-05-08 18:58:16 +04:00
Andrew Borodin bbf534e7d7 Don't mix mc_search_cb_ret_t and int as result of search callback.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-05-08 18:57:55 +04:00
Andrew Borodin 2a5a5b4753 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-05-08 18:57:55 +04:00
Andrew Borodin 2a4e788aa1 Updated Russian translation of mc man page.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-05-06 10:55:33 +04:00
Andrew Borodin ae62e04274 Merge branch '2783_panel_dir_fix'
* 2783_panel_dir_fix:
  Ticket #2783: when right panel is active, panel paths are swapped at each mc start.
2012-05-04 18:19:58 +04:00
Andrew Borodin 48bd62f9bc 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:19:44 +04:00
Andrew Borodin b4ba1504d7 Merge branch '1437_install_scripts'
* 1437_install_scripts:
  Ticket #1437: install mceditor scripts as scripts not as data files.
2012-05-04 18:10:44 +04:00
Gergely Szasz 781378196e Ticket #1437: install mceditor scripts as scripts not as data files.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-05-04 18:10:27 +04:00
Osamu Aoki 33540e53cb Ticket #2798: support of .cpio.xz files.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-04-30 11:31:09 +04:00
Patrick Winnertz 9848716a41 Ticket #2797: added support of .gem (rubygems) files.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-04-30 11:19:56 +04:00