Slava Zanko
d11de35343
Ticket #1716 : Adding fully featured skin
...
As David Martin proposed, this skin support all newest features
May be used as modern skin, but with some restrictions (must be UTF-8 system codepage)
Also, changed src/screen.c for demonstrate skin features :)
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-10-15 14:51:16 +03:00
Ilia Maslakov
4cd93228d4
Ticket #1683
...
add command EditToggleSyntax for toggle syntax highlight
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2009-10-10 15:50:58 +00:00
Denis Briand
91378afbfb
Ticket #1630 : add ico files support
...
This is a trivial patch to add *.ico files support into mc.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-10-09 13:34:20 +03:00
Yuri Fil
c5fd4aef8e
Ticket #1681 : extfs for .cab
...
Added ability for work with Microsoft CAB archives.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-10-07 13:14:24 +03:00
Andrey Rahmatullin
4c5edb4647
Ticket #1679 : Fails to view .tar file with a colon in name
...
Fixed incorrent handle of .tar files with a colon in name
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-10-07 11:10:54 +03:00
Slava Zanko
71642b9bdb
Ticket #1620 : File hightlighting based on extension is case sensitive.
...
Added parameter extensions_case.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-10-07 10:42:25 +03:00
Ilia Maslakov
e5abe33fc6
Ticket #1669 (autoindent not working)
...
* remove unused code;
* autoindent fixed, mcedit distinguishes CK_Enter and CK_Return commands, but terminal not.
Signed-off-by: Ilia Maslakov <il.smind@google.com>
2009-10-06 13:56:17 +00:00
Slava Zanko
08e6e1caf4
Added indicators for current sort type and sort direction.
...
Added parameters into skin-files for showing sort indicator.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-10-06 10:18:55 +03:00
Slava Zanko
9fa3347fc1
Added keymaps for some sort types.
...
* PanelSortOrderByName
* PanelSortOrderByExt
* PanelSortOrderBySize
* PanelSortOrderByMTime
Also added 'PanelReverseSort' keymap.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-10-06 10:18:54 +03:00
Slava Zanko
7896ea84f6
Added handlers for panel sort keybind actions.
...
* PanelSelectSortOrder - show 'Sort order' dialog
* PanelToggleSortOrderPrev - toggle next sort type (or reverse sort order)
* PanelToggleSortOrderNext - toggle previous sort type (or cancel reverse)
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-10-06 10:18:54 +03:00
Stan. S. Krupoderov
35ededec26
Ticket #1390 : Key binding ctrl+t and marking files
...
mc.keymap: remap select charset to M-e, and C-t to mark file
editmenu.c, main.c: change menu items to be consistent
Signed-off-by: Stan. S. Krupoderov <pashelper@gmail.com>
2009-10-05 16:02:04 +04:00
Slava Zanko
d033eb6ea0
Ticket #1655 : Unable to call 'direct' viewer (by shift+f3) key.
...
Test case:
Try to press shift+F3.
* Old behavior: call viewer in raw mode.
* New behavior: do nothing.
Fix issue:
For 'PanelViewSimple' event changed hotkey from 'shift-F3' to 'F13'
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-10-03 00:45:04 +03:00
Ilia Maslakov
e68cc4b0b0
Ticket #212
...
add keybind for SelectCodepage into [editor] section
Signed-off-by: Ilia Maslakov <il.smind@google.com>
2009-10-01 07:39:08 +00:00
Ilia Maslakov
53b0f8546d
Ticket #212
...
fixed completion in command line
add: EditToggleTabTWS,EditFindDefinition, EditLoadPrevFile, EditLoadNextFile actions into bindings list
add string bindings for f21..f24
Signed-off-by: Ilia Maslakov <il.smind@google.com>
2009-09-30 12:04:17 +00:00
Ilia Maslakov
87102cc7e8
fix: main.c keys handler
...
add more keys into mc.keymap
fix: CK_SingleDirsizeCmd event
add default keys (alt-'.', alt-'+') mc.keymap
Signed-off-by: Ilia Maslakov <il.smind@google.com>
Added alt-shift-h hotkey
Add some documentation about keymap file.
Replace some symbols into names '.' to 'dot', '?' to question, etc.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-09-29 17:42:40 +00:00
Ilia Maslakov
19bb1938f3
add alt+arrows action and descriptions into mc.keymap
...
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2009-09-29 17:42:39 +00:00
Ilia Maslakov
c893dcf1dd
fix: movement in Lynx navigation mode
...
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2009-09-29 17:42:39 +00:00
Slava Zanko
4b48da136d
Add some default hotkeys
...
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-09-29 17:42:37 +00:00
Slava Zanko
d1856a2268
Add some forgotten hotkeys.
...
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-09-29 17:42:37 +00:00
Slava Zanko
3f95f87f5e
Rename Widget* events into Input* events.
...
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-09-29 17:42:36 +00:00
Slava Zanko
df59561ab0
Show hotkeys as 'alt-s' instread of 'alt s'.
...
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-09-29 17:42:35 +00:00
Ilia Maslakov
dbdc3254c1
add more commands into mc.keymap
...
Signed-off-by: Ilia Maslakov <il.smind@google.com>
2009-09-29 17:42:35 +00:00
Ilia Maslakov
592ddbf39e
refactoring editor keybindings
...
add more keys into mc.keymap
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2009-09-29 17:42:35 +00:00
Ilia Maslakov
5a397a6b9a
* add new commands into cmddef.h
...
* add user keybind in widgets
* add widget keybindings
Signed-off-by: Ilia Maslakov <il.smind@google.com>
2009-09-29 17:42:34 +00:00
Ilia Maslakov
71b1a8bf99
Ticket #212 (User defined hotkeys)
...
created structs:
struct name_key_map_t
struct key_config_t
global_key_map_t
add lookup_action
replace editor key map struct to global_key_map_t
add main_map screen_map
replace command CK_* to src/cmddef.h
add mc.keymap
fix misc/Makefile.am
add x_keymap
add more commands
Signed-off-by: Ilia Maslakov <il.smind@google.com>
2009-09-29 17:42:32 +00:00
Slava Zanko
21d339c5be
misc/skins/Makefile.am: Add skin files into EXTRA_DIST list.
...
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-09-22 16:27:39 +03:00
Andrew Borodin
3f4b0ee311
Fixed menu colors for BW mode.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-09-22 16:27:38 +03:00
Slava Zanko
bf55805409
Added Russian and English docs for skins.
...
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-09-18 11:57:35 +03:00
Slava Zanko
bdfc9adf39
Continue development of skins
...
* Remove highlight of hidden filenames.
* Fixed colors with ncurses screen library
* Fix lines drawing with ncurses screen library.
* Fix drawing of lines in slang with non-utf codepages.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
* Code cleanup.
* Code cleanup, refactoring and optimization.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-09-18 11:56:12 +03:00
Slava Zanko
2216332c0c
continue develop of skins.
...
* 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>
2009-09-18 11:54:20 +03:00
Slava Zanko
d0457bbe9f
Add hardcoded skins.
...
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-09-18 11:49:44 +03:00
Slava Zanko
981fe001d1
Base support of skins.
...
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-09-18 11:49:44 +03:00
Stan. S. Krupoderov
edddd5f5d3
Ticket #1596 : hidden file higlighing
...
remove highlight for hidden, extend templates for higlight by ext
Signed-off-by: Stan. S. Krupoderov <pashelper@gmail.com>
2009-09-14 22:47:13 +04:00
Slava Zanko
edab903a19
Ticket #1597 : panel: restore red hilight for broken symlinks
...
Fix for restore highlighting of stale links.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-09-14 12:48:50 +03:00
karesmakro
f3663e0792
Ticket #1592 : gzup error in mc.menu
...
mc.menu: fix command name
Signed-off-by: Stan. S. Krupoderov <pashelper@gmail.com>
2009-09-09 15:57:31 +04:00
Slava Zanko
4afc04eedc
Ticket #418 : File coloring
...
Added support of filenames highlighting in panels.
Now rules of highlighting described into external file filehighlight.ini
Number of highlight rules is unlimited (in opposite to X-Stranger patch).
Highlight will made by:
* file type (directory, regular, symlink, special device etc.)
* extensions of filenames (ends of filenames)
* regular expressions
Big thanks to X-Stranger <x@linux.by> for idea
and to Alexey Kaminsky <alexeykaminsky@gmail.com> for testing.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-09-03 13:12:17 +03:00
Patrick Winnertz
c080a3e2a5
Add a xterm-256color entry to mc.lib
...
Signed-off-by: Patrick Winnertz <winnie@debian.org>
2009-08-19 19:38:44 +02:00
Andrew Borodin
9f1bb1e7ca
Ticket #1547 : convert SR user menu to UTF-8.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-08-19 15:00:41 +04:00
Sergei Trofimovich
b56f55fc83
(Ticket #1476 ) Revert * lib/mc.ext.in: Tar is missing a - as argument fix
...
This reverts commit f021c090f9
.
Signed-off-by: Sergei Trofimovich <slyfox@inbox.ru>
2009-08-07 21:45:26 +03:00
Stan. S. Krupoderov
87f3cd1cda
Ticket #1452 : handle .tbz2 extension
...
mc.ext.in: support for tbz2, patch from ijabbott
2009-08-06 15:43:45 +04:00
Denis Kostousov
394e909070
Ticket #1433 : Working with lzma-based archives has been added.
...
Signed-off-by: Denis Kostousov <denis.kostousov@gmail.com>
2009-08-04 09:57:50 +03:00
Mikhail S. Pobolovets
b384faef82
Handling of XIPH multimedia formats
...
Ticket: #328
mc.ext update in respect to the handling of XIPH multimedia formats
.ogg, oga, .ogv, etc.
http://wiki.xiph.org/index.php/MIME_Types_and_File_Extensions
Update provided by jemm
Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
2009-06-10 12:04:35 +03:00
Slava Zanko
43c99a14da
Add definitions of Shift+F3 and Shift+F4 keys into misc/mc.lib file
...
On some terminals (such as gnome-terminal and xterm) Shift+F[x] keys doesn't work. This patch will fix it.
Also, made some cleanups in 'xterm-color' section.
2009-06-01 17:53:48 +03:00
Slava Zanko
7238c35889
Fix invalid declarations of ESC-sequenses in mc.lib file
2009-06-01 11:07:21 +03:00
Slava Zanko
a462a4b3ee
Fixed saved panel state and fixed reading key definitions from config-file
...
misc/mc.lib: added escaping of all backslashes
src/mcconfig/common.c: removed forgotten debug code
src/setup.c: fixed non-saving of panels state
2009-06-01 11:06:03 +03:00
Slava Zanko
1aad5105cb
misc/mc.lib: changes in hotkeys definitions.
...
Now multiple definitions separate by ';' sign for one hotkey
2009-06-01 11:01:16 +03:00
Slava Zanko
0a1b6bfbb2
Reworked "Special dirs"->"list" parameter handle code
...
misc/mc.lib: changed ',' to ';'
src/treestore.c: use mc_config_get_string_list() function instread of strtok() function
2009-06-01 10:55:35 +03:00
Slava Zanko
acc64ecd68
Fixed saved panel state and fixed reading key definitions from config-file
...
misc/mc.lib: added escaping of all backslashes
src/mcconfig/common.c: removed forgotten debug code
src/setup.c: fixed non-saving of panels state
2009-06-01 10:55:35 +03:00
Slava Zanko
5edb3a645e
misc/mc.lib: changes in hotkeys definitions.
...
Now multiple definitions separate by ';' sign for one hotkey
2009-06-01 10:55:07 +03:00
Mikhail S. Pobolovets
9e325ad1b0
* lib/mc.ext.in: Enhancement to open and view .deba and .debd
...
Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
2009-05-27 10:35:10 +03:00
Slava Zanko
0c17219b2a
Move global config files from pkg_datadir to sysconfdir
...
* Also fixed 'make dist' command
* changed contrib/dist/redhat/mc.spec.in for builds with new dir
2009-05-21 01:01:10 +03:00
xgizzmo
24ca27fe30
Added XZ compression support. Signed-off-by: xgizzmo <xgizzmo@slackbuilds.org>
...
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-05-13 11:35:22 +03:00
Slava Zanko
f49ce170f0
Move some files from contrib into misc directory
...
Also fix error with make install action
2009-05-08 16:56:02 +03:00