Commit Graph

11709 Commits

Author SHA1 Message Date
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
Andrew Borodin
c654147913 Merge branch '2833_url_port_in_history'
* 2833_url_port_in_history:
  Ticket #2833: url with port was stored wrong in history.
2012-06-20 15:57:11 +04:00
Andrew Borodin
8b4f020abd 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:56:56 +04: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