* Compile with option --with-screen=ncurses
* Added default init of colors (if color description is null)
* Renamed some color pairs. All static color pairs now cached.
* Fix cursor show in panel over selected files in b&w color scheme.
* Fix editor highlight
* Handle old-style colors definitions.
* Fix showing box lines in onebyte codepages.
* Fix segfault with:
* mc -C 'menu=blue,white:'
* Fix reading of color backgrounds from old-style color definition strings.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
* Fixed typos.
* Added ACS_PLUS char and related stuff.
* Changed order of colors.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
* Fixed pseudo-graphics drawing for S-Lang library and 8-bit locale.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
* Increase number of reading butes by one for better analyzation of compression type.
* Add recognize lzma archive by extention.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Since ~beginning of August mc does not enter .tar.xz archives,
it just prints the error message:
"Hmm,... aaa.tar.xz doesn't look like a tar archive."
The version of Jul 28 works with .tar.xz archives.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
fix: segfault mcviev in case when the source_codepage is not equal to the display_codepage.
refactoring: some code optimization.
Signed-off-by: Ilia Maslakov <il.smind@google.com>
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
* 1552_nonstd_button_location:
Changes for lines length less than 100.
Fixed button locations in 'Sort order' dialog.
Refactoring of src/boxes.c.
Fixed button locations in 'Listing mode' dialog.
Ticked #1552: fixed non-standard button location in dialogs.
First step: refactoring of WButton widget API.
(button_len): renamed to button_get_len and made global.
(button_get_text): const argument.
Removed trailing spaces.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
* 1564_mouse_wheel_menus_listbox:
Implemented mouse wheel support for WListbox widget.
Modified mouse event handling in menu.
Ignore mouse wheel events for inactive panel.
Some optimization of mouse handling in editor.
Call menu using mouse for all panel types.
Fixed smooth scrolling of split panels.
Modified mouse initialization.
Mouse wheel events hack.
Smooth scrolling in file panel.
If menu is inactive, ignore mouse wheel events.
Fixed mouse event boundaries in menus.
Don't close menu by mouse wheel outside the menu area.
Ticket #1564: mouse wheel support for menus and listboxes.
Fixed event boundaries: menu frame is in event aria now.
Middle click is used to execute selected menu item independently
of mouse cursor position.
Minor optimization.
Indentation.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
If listing panels is operated with the mouse wheel, when window is
at top or bottom of the list, then selection "jumps" to first/last item.
Now it smoother: keep window and decrease/increase selection in
single steps.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Renamed function. Move rd_widgets from file scope to function one.
Fixed i18n stuff.
Updated RU translation.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>