Commit Graph

11728 Commits

Author SHA1 Message Date
Ilia Maslakov 0855a4157e Ticket #???? (clock support)
Initial step for the clock support. Based on Olegarch (olegarch@linuxinside.com) patches.

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2012-07-02 12:39:52 +04:00
Slava Zanko 3e66455662 Merge branch '2820_extd_fix'
* 2820_extd_fix:
  Fixed libexec hardcoded value
  Added 'View' action to all video formats.
  Fixed the filename escaping issues.
  Ticket #2820: Typo fix 'oofice' -> ooffice
2012-06-29 13:20:08 +03:00
Slava Zanko 7e44bfb32d Fixed libexec hardcoded value
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2012-06-29 13:14:29 +03:00
Slava Zanko 40e8a0136b Added 'View' action to all video formats.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2012-06-29 13:14:29 +03:00
Slava Zanko 614d7f6a08 Fixed the filename escaping issues.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2012-06-29 13:14:29 +03:00
Slava Zanko f2613ea2a6 Ticket #2820: Typo fix 'oofice' -> ooffice
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2012-06-29 13:14:29 +03:00
Slava Zanko d8d2b523b9 Merge branch '2803_homedir_in_tests'
* 2803_homedir_in_tests:
  Ticket #2803: fixed bug do_panel_cd: FTBFS with --enable-tests on [kfreebsd-i386,kfreebsd-amd64,ia64,armhf]
2012-06-29 13:02:48 +03:00
Slava Zanko 6408811e18 Ticket #2803: fixed bug do_panel_cd: FTBFS with --enable-tests on [kfreebsd-i386,kfreebsd-amd64,ia64,armhf]
One of the panel tests fail if build environment doesn't contain the home user directory.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2012-06-29 13:02:30 +03:00
Slava Zanko df98a25861 Merge branch '2834_disable_vfs'
* 2834_disable_vfs:
  Ticket #2834: Fixed bug 'FTBFS with --disable-vfs'
2012-06-29 12:46:12 +03:00
Slava Zanko c277ac5b6f Ticket #2834: Fixed bug 'FTBFS with --disable-vfs'
Steps to reproduce:
 * ./configure --disable-vfs
 * make

Expected result: project should be builded successfully.

Actual result:
build stopped with errors:
lib/vfs/interface.c: In function 'mc_chdir':
lib/vfs/interface.c:714: error: 'struct vfs_s_super' has no member named 'path_element'
lib/vfs/interface.c:716: error: 'struct vfs_s_super' has no member named 'path_element'
lib/vfs/interface.c:717: error: 'struct vfs_s_super' has no member named 'path_element'

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2012-06-29 12:45:57 +03:00
Andrew Borodin a7b558f4f1 Merge branch '2829_copy_to_full_partition'
* 2829_copy_to_full_partition:
  Ticket #2829: loss of data on copy to full partition.
2012-06-26 16:19:39 +04:00
Andrew Borodin af2fe31ff3 Ticket #2829: loss of data on copy to full partition.
While copy/move file, the ENOSPC value of errno wasn't handled.

If destination file isn't comlete because of full partition, source file
is kept and destination one is removed unconditionally.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-06-26 16:19:22 +04:00
Andrew Borodin 33e1525eeb Merge branch '2827_tweak_without_charset'
* 2827_tweak_without_charset:
  Tests tweak and cleanup in case of --disable-charset option usage.
  Core, mceditor, mcviewer and mcdiffviewer code tweak and cleanup
  Ticket #2827: tweak and cleanup of code in case of --disable-charset option usage.
2012-06-25 17:03:03 +04:00
Andrew Borodin af3dd96e7b Tests tweak and cleanup in case of --disable-charset option usage.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-06-25 17:00:02 +04:00
Andrew Borodin e7fb3526f3 Core, mceditor, mcviewer and mcdiffviewer code tweak and cleanup
...in case of build with --disable-charset option.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-06-25 16:58:57 +04:00
Andrew Borodin 315c499c09 Ticket #2827: tweak and cleanup of code in case of --disable-charset option usage.
First step: tweak vfs-related code.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-06-25 16:56:11 +04:00
Marco Ciampa 05bfb10f16 Updated italian translation. 2012-06-23 14:17:03 +02:00
Sergei Trofimovich b10a3995e8 ./configure: cleanup '--enable-background' option description
Before the patch ./configure --help shown:
  --enable-background     Support for background file operations [[yes]]

After the patch:
  --enable-background     Support for background file operations [yes]

Changed whitespace: converted tabs to spaces.

Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
2012-06-22 12:51:22 +03:00
Slava Zanko 8ca27aa431 Merge branch '1535_vfs_sftp'
* 1535_vfs_sftp:
  Ticket #1535: SFTP support
2012-06-21 14:30:05 +03:00
Slava Zanko da03697e84 Ticket #1535: SFTP support
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2012-06-21 14:29:32 +03:00
Andrew Borodin 7893cbf9b1 Merge branch '2261_multiedit'
* 2261_multiedit: (29 commits)
  Set fullscreen layout as previous editor look'n'feel.
  Updated documentation.
  Open several files in mc editor from command line.
  Show top opened file in screen list.
  Add icons to close window and toggle window state using mouse.
  Skin support for window frames.
  Add toggle fullscreen mode of editor windows.
  Handle CK_ShowNumbers action in dialog level instead of widget one.
  Handle CK_ShowTabTws and CK_ShowMargin actions in dialog level instead of widget one.
  Handle CK_SyntaxOnOff action in dialog level instead of widget one.
  Modify CK_Refresh command handling.
  Handle CK_Option action in dialog level instead of widget one.
  Assign button bar to the current editor.
  Switch windows using keyboard.
  Open each file in its own window.
  Add edit_add_window() function.
  Add CK_Close action to close current open file.
  Handle CK_Shell, CK_LearnKeys, CK_OptionsSaveMode and CK_SaveSetup actions in dialog level instead of widget one.
  Handle CK_Help, CK_Quit and CK_About actions in dialog level instead of widget one.
  Allow move and resize edit window using keyboard.
  ...
2012-06-20 22:33:57 +04:00
Andrew Borodin bf1924e7ff Set fullscreen layout as previous editor look'n'feel.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-06-20 22:32:52 +04:00
Andrew Borodin efb7f073cc Updated documentation.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-06-20 22:26:11 +04:00
Andrew Borodin 84aa04fa6e Open several files in mc editor from command line.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-06-20 22:26:10 +04:00
Andrew Borodin 109f07465e Show top opened file in screen list.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-06-20 22:26:10 +04:00
Andrew Borodin ba79784948 Add icons to close window and toggle window state using mouse.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-06-20 22:26:10 +04:00
Andrew Borodin 4fa4e7568d Skin support for window frames.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-06-20 22:26:10 +04:00
Andrew Borodin 2bb6cb2a32 Add toggle fullscreen mode of editor windows.
Initially, window is created in fullscreen mode.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-06-20 22:26:10 +04:00
Andrew Borodin 6038c893e4 Handle CK_ShowNumbers action in dialog level instead of widget one.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-06-20 22:26:10 +04:00
Andrew Borodin 85ad1fe4ce Handle CK_ShowTabTws and CK_ShowMargin actions in dialog level instead of widget one.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-06-20 22:26:10 +04:00
Andrew Borodin 385fdc7f2b Handle CK_SyntaxOnOff action in dialog level instead of widget one. 2012-06-20 22:26:10 +04:00
Andrew Borodin ee2a204631 Modify CK_Refresh command handling. 2012-06-20 22:26:06 +04:00
Andrew Borodin 5018bdc3fc Handle CK_Option action in dialog level instead of widget one.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-06-20 22:25:46 +04:00
Andrew Borodin 92923aff29 Assign button bar to the current editor.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-06-20 22:25:46 +04:00
Andrew Borodin 3b72e4275b Switch windows using keyboard.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-06-20 22:25:46 +04:00
Andrew Borodin f1839a9a80 Open each file in its own window.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-06-20 22:25:46 +04:00
Andrew Borodin 8fd3338060 Add edit_add_window() function.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-06-20 22:25:46 +04:00
Andrew Borodin 1c33972ee5 Add CK_Close action to close current open file.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-06-20 22:25:40 +04:00
Andrew Borodin b2152ae22a Handle CK_Shell, CK_LearnKeys, CK_OptionsSaveMode and CK_SaveSetup actions in dialog level instead of widget one.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-06-20 22:25:40 +04:00
Andrew Borodin 98e0de0c3a Handle CK_Help, CK_Quit and CK_About actions in dialog level instead of widget one.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-06-20 22:25:40 +04:00
Andrew Borodin b50f4f07e5 Allow move and resize edit window using keyboard.
Add "Window" menu entry in editor main menu to handle editor windows.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-06-20 22:25:16 +04:00
Andrew Borodin d9bb50b013 Editor: optimization of menu handling.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-06-20 22:25:16 +04:00
Andrew Borodin a2fdf8997f Allow move and resize edit window using mouse.
Left click on the top line and drag to move.
Left click on bottom-right corner and drag to resize.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-06-20 22:25:16 +04:00
Ilia Maslakov 2a62a7c792 Add edit_info_status() function. 2012-06-20 22:25:12 +04:00
Andrew Borodin 81f4c6a5ae Draw a frame around edit area.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-06-20 22:24:54 +04:00
Andrew Borodin 4cec8cbf94 Minor optimization and type accuracy of some editor functions.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-06-20 22:24:49 +04:00
Ilia Maslakov 80b0cde5c1 Fix of mult-byte characters and tabulation printing.
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-06-20 16:46:39 +04:00
Andrew Borodin 1f45b0822e Menubar: ignore GPM_UP event.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-06-20 16:46:35 +04:00
Andrew Borodin 39d128e659 Accuracy use of arguments of dlg_move and widget_move macros.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-06-20 16:05:12 +04:00
Andrew Borodin 71c29390d9 Ticket #2261: allow edit many files in one editor window.
Initial step: renamed src/editor/edit-widget.h to src/editor/editwidget.h.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-06-20 16:05:12 +04:00