Commit Graph

14534 Commits

Author SHA1 Message Date
Andrew Borodin
95432ec457 Ticket #3859: rotating dash generates way too much output.
(rotate_dash): draw rotating dash with maximum rate of 10 FPS.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-09-22 13:04:53 +03:00
Andrew Borodin
f788bd02ac Merge branch '3936_uc1541'
* 3936_uc1541:
  Ticket #3936: update uc1541 extfs
2019-09-21 19:58:45 +03:00
Andrew Borodin
dc46dc0009 Ticket #3936: update uc1541 extfs
...from https://github.com/gryf/uc1541.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-09-21 19:54:54 +03:00
Grzegorz Szymaszek
36bcaef0cf Ticket #4018: add "https://" to Debian sources.list syntax.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-09-21 19:38:55 +03:00
Andrew Borodin
0ef1737aa8 Merge branch '4016_panel_no_double_right_click'
* 4016_panel_no_double_right_click:
  Ticket #4016: (panel_mouse_callback): prevent run/open files with double right click.
2019-09-15 11:06:28 +03:00
blubbkm
7b187676c4 Ticket #4016: (panel_mouse_callback): prevent run/open files with double right click.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-09-15 11:04:07 +03:00
Andrew Borodin
3c95e6d64c Ticket #4015: add new extensions for file highliht.
[temp]: part (partial files, e.g. used by many download managers)
[archive]: apk (android packages), deb (debian packages)
[media]: ts (MPEG-TS streams)

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-09-14 11:34:08 +03:00
Andrew Borodin
5990b06c9a Merge branch '4013_menubar_mouse_click'
* 4013_menubar_mouse_click:
  Ticket #4013: menubar: fix mouse click coordinate.
2019-09-08 11:43:47 +03:00
Egmont Koblinger
6a5d4243ce Ticket #4013: menubar: fix mouse click coordinate.
In the menu bar, click on the space character immediately before the
"File" label.

Actual: The "Left" menu opens.

Expected: The "File" menu should open, since when clicking on "File",
this space character on its left is also highlighted.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-09-08 11:41:25 +03:00
Andrew Borodin
37bea39742 Merge branch '3997_cleanup'
* 3997_cleanup: (35 commits)
  tests: add .gitignore
  Fix .gitignore
  Update po/*.po files.
  tests: editcmd__edit_complete_word_cmd.c: override mc_refresh()
  (dir_list_reload): refactoring.
  (dir_list_load): get rid of goto.
  Refactoring of directory read visualization.
  Add dir_list callback to visualize of directory reading.
  (dir_list_load): show error message outside of this function.
  (handle_path): change parameters type from int* to gboolean*.
  (handle_dirent): change parameters type from int* to gboolean*.
  lib/tty/tty-internal.h: fix typo.
  (tty_init): remove stuff that SLang_init_tty() already done.
  (tty_init): clarify screen size limitation.
  src/filemanager/layout.c: fix coding style.
  (save_panel_dir): minor refactoring.
  File manager: refactoring of MSG_RESIZE handling.
  diffviewer: refactoring of MSG_RESIZE handling.
  mcviewer: refactoring of MSG_RESIZE handling.
  mcedit: refactoring of MSG_RESIZE handling.
  ...
2019-09-01 20:15:01 +03:00
Enrico Weigelt, metux IT consult
3470cdf76f tests: add .gitignore
Don't wanna accidentially add autogenerated files to the git repo,
so ignore them.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-09-01 20:13:52 +03:00
Enrico Weigelt, metux IT consult
d2f86e698e Fix .gitignore
autogen.sh generates a bunch of files aren't .gitignore'd yet.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-09-01 20:13:27 +03:00
Andrew Borodin
ba2ef0d876 Update po/*.po files.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-09-01 20:05:28 +03:00
Andrew Borodin
2b982dc6dc tests: editcmd__edit_complete_word_cmd.c: override mc_refresh()
...after refactoring of SIGWINCH handling
(37ffc02422).

Replacing variable with pipe cause a timeout in original tty_got_winch()
in this test and test fails. Use an empty replacement of mc_refresh().

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-09-01 19:58:06 +03:00
Andrew Borodin
ef085af3ac (dir_list_reload): refactoring.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-09-01 19:41:12 +03:00
Andrew Borodin
ef2931272b (dir_list_load): get rid of goto.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-09-01 19:41:12 +03:00
Andrew Borodin
564351e1e5 Refactoring of directory read visualization.
Use dir_list callback to show rotaing dash.

Now src/filenamager/dir.c does not depend on the Widget subsystem.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-09-01 19:41:12 +03:00
Andrew Borodin
284c3de727 Add dir_list callback to visualize of directory reading.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-09-01 19:41:12 +03:00
Andrew Borodin
8c5737f558 (dir_list_load): show error message outside of this function.
(dir_list_reload): likewise.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-09-01 19:41:12 +03:00
Andrew Borodin
fcc8639169 (handle_path): change parameters type from int* to gboolean*.
(do_find): change variable type and reduce scope.
(do_external_panelize): change variable type.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-09-01 19:41:12 +03:00
Andrew Borodin
ea0fcc0fb8 (handle_dirent): change parameters type from int* to gboolean*.
(dir_list_load): change variable type and reduce scope.
(dir_list_reload): likewise.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-09-01 19:41:12 +03:00
Andrew Borodin
13597ebd67 lib/tty/tty-internal.h: fix typo.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-09-01 19:41:12 +03:00
Andrew Borodin
eb2943aed2 (tty_init): remove stuff that SLang_init_tty() already done. 2019-09-01 19:41:12 +03:00
Andrew Borodin
f22353ed3d (tty_init): clarify screen size limitation.
S_Lang: pre2.3.3-8 (55f58798c267d76a1b93d0d916027b71a10ac1ee): removed
static buffers dependent upon SLTT_MAX_SCREEN_ROWS/COLS in favor of
dynamically allocated arrays.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-09-01 19:41:12 +03:00
Andrew Borodin
3b39cee81f src/filemanager/layout.c: fix coding style.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-09-01 19:41:12 +03:00
Andrew Borodin
07d2f11712 (save_panel_dir): minor refactoring.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-09-01 19:41:12 +03:00
Andrew Borodin
97bc63d7ac File manager: refactoring of MSG_RESIZE handling.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-09-01 19:41:12 +03:00
Andrew Borodin
6e4ea30fc3 diffviewer: refactoring of MSG_RESIZE handling.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-09-01 19:41:12 +03:00
Andrew Borodin
2ddd6b41a0 mcviewer: refactoring of MSG_RESIZE handling.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-09-01 19:41:12 +03:00
Andrew Borodin
5ca0dbab01 mcedit: refactoring of MSG_RESIZE handling.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-09-01 19:41:12 +03:00
Andrew Borodin
297391fd60 (dlg_adjust_position): rename to widget_adjust_position and make public.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-09-01 19:41:12 +03:00
Andrew Borodin
f6c4ae2f31 (setup_panels): refactoring: optimization
..,and change order of widget origin/size calculation.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-09-01 19:41:12 +03:00
Andrew Borodin
2b55c54efc Menubar is always on top line of screen.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-09-01 19:41:12 +03:00
Andrew Borodin
9c0c2b77af Document alternate_plus_minus option.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-09-01 19:41:12 +03:00
Andrew Borodin
35d2590893 (create_file_manager): clarufy value of hint transparency. 2019-09-01 19:41:12 +03:00
Andrew Borodin
247af01a8e (toggle_panels): join with view_other_cmd and rename to toggle_subshell.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-09-01 19:41:12 +03:00
Andrew Borodin
02f49a8f6d src/subshell/proxyfunc.c: fix up includes.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-09-01 19:41:12 +03:00
Andrew Borodin
29110e5681 Move history operation routines from lib/widget/history.c to lib/mcconfig/history.c.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-09-01 19:41:12 +03:00
Andrew Borodin
0efb799db3 lib/mcconfig: fix coding style; apply source file template.
Unconstify some function arguments.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-09-01 19:41:12 +03:00
Andrew Borodin
500e49b50a (fish_set_env): remove uneeded function call.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-09-01 19:41:12 +03:00
Andrew Borodin
596a6edc56 src/filemanager/cmd.c: fix coding style.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-09-01 19:41:06 +03:00
Andrew Borodin
d76cf51d54 src/filemanager/boxes.[ch]: unify some function names. 2019-09-01 19:34:45 +03:00
Andrew Borodin
d615e4b9b7 src/filemanager/find.c: test verbose flag before call of find_rotate_dash().
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-09-01 19:34:45 +03:00
Andrew Borodin
40f82f2732 src/filemanager/find.c: fix coding style.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-09-01 19:34:45 +03:00
Andrew Borodin
617fd4d9ff Ticket #3997: code clean up before 4.8.24 release.
* doc/NEWS: cosmetics.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-09-01 19:34:45 +03:00
Andrew Borodin
af65483e97 Merge branch '117_sigwinch'
* 117_sigwinch:
  Ticket #117: refactoring of SIGWINCH hangling.
2019-09-01 19:25:27 +03:00
Andrew Borodin
37ffc02422 Ticket #117: refactoring of SIGWINCH hangling.
Use pipe to collect consecutive raised SIGWINCH events.
Then handle multiple events at a time treating them
as a single one.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-09-01 19:22:21 +03:00
jetpilot
19cc61cf04 Ticket #4010: inprove YAML syntax highlighting.
Add inlined data block highlighting.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-08-31 19:34:39 +03:00
Werner Lemberg
077947008d Ticket #4009: mc.menu: handle symbolic links to compressed archives.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2019-08-25 18:57:21 +03:00
Andrew Borodin
7888bec967 Merge branch '4006_menu_enter_down'
* 4006_menu_enter_down:
  Ticket #4006: remove Enter from Down menu key binding.
2019-08-25 18:39:45 +03:00