Commit Graph

9107 Commits

Author SHA1 Message Date
Slava Zanko
ff6cd52e53 Ticket #44: More functionally u7z.
* automatically search of 7z or 7za utility
* fixed calculate of EXFNAME file name.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-09-24 14:14:46 +03:00
Slava Zanko
cc62497780 Merge branch '1611_autoconf_enable_charset'
* 1611_autoconf_enable_charset:
  Ticket #1611: --enable-charset by default
2009-09-23 22:20:34 +03:00
Stan. S. Krupoderov
7cf0a3aa2b Ticket #1611: --enable-charset by default
configure.ac: change defaults for enable_charset

Signed-off-by: Stan. S. Krupoderov <pashelper@gmail.com>
2009-09-23 22:20:12 +03:00
Slava Zanko
b71c3ccce5 Merge branch '1377_pacman_syntax_file'
* 1377_pacman_syntax_file:
  Change color of some keywords from brightblue to brightcyan
  Ticket #1377: pacman PKGBUILD syntax file
2009-09-23 22:18:44 +03:00
Slava Zanko
df936b55d4 Change color of some keywords from brightblue to brightcyan
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-09-23 22:18:24 +03:00
Slava Zanko
91411df3e0 Ticket #1377: pacman PKGBUILD syntax file
Added syntax coloring for PKGBUILD and .install files

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-09-23 22:18:24 +03:00
Slava Zanko
1a4b2af99e Merge branch '1486_editor_completion'
* 1486_editor_completion:
  Added description of editor_wordcompletion_collect_entire_file option into man-files
  Editor: Autocomplete all words (not just English words)
  Added option for switch beetween 'collect completions before cursor'
  Ticket #1486: Editor completion is confusing
2009-09-23 16:14:03 +03:00
Slava Zanko
07dc27901d Added description of editor_wordcompletion_collect_entire_file option into man-files
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-09-23 16:13:36 +03:00
Slava Zanko
a1e3999abf Editor: Autocomplete all words (not just English words)
Also fix charset conversation for autocompleted text.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-09-23 16:13:36 +03:00
Slava Zanko
d5381e862e Added option for switch beetween 'collect completions before cursor'
and 'collect completions in entire file'

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-09-23 16:13:36 +03:00
dborca
fdbd5b8a86 Ticket #1486: Editor completion is confusing
Editor completion became really confusing in 4.7.0-pre1:

1. The list is populated with words from the entire file. This is arguably
better than the old style, which scanned only up to the cursor. But the number
of suggestions are limited, and if you have a bigger file, some words won't
make it in the list. Besides, I somehow liked the old way.

2. Suggestions do not end on a word boundary. This may or may be not useful; but
it just increases the list of suggestions, which slows the user. In the end, it
beats the purpose of completions.

3. It completes the word I am currently editing. That's smart. :)

4. The suggestions are displayed in the order in which they were found from the
beginning of the file. This is my main gripe, because when using the editor for
coding, it is better to have suggestions based on the distance to the cursor.
Closer means higher. When writing a function, I am mainly interested in the
variable names I recently used.

5. Sometimes, it does not work at all, but I haven't investigated the bug. :(

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-09-23 16:13:36 +03:00
Andrew Borodin
5d7a816fd3 Merge branch '1451_chahset_dlg_place_panel_long_list'
* 1451_chahset_dlg_place_panel_long_list:
  Ticket #1451: Incorrect charset menu location for 'Long file list' lising mode.
2009-09-23 16:57:59 +04:00
Andrew Borodin
b04d568620 Ticket #1451: Incorrect charset menu location for 'Long file list' lising mode.
In 'Long file list' the panel width is equal to the screen
width. In this case, choose charset menu is placed in the
center of the screen.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-09-23 16:57:34 +04:00
Ilia Maslakov
cd27ee24df Ticket #1595 (exceeding newline)
fix: exceeding newline on '\r\n' eol

Signed-off-by: Ilia Maslakov <il.smind@google.com>
2009-09-23 12:18:10 +00:00
Ilia Maslakov
37383d65d5 Ticket #1598 (vertical selection: Meta+PgDn)
fix: vertical selection with Meta+PgDn

Signed-off-by: Ilia Maslakov <il.smind@google.com>
2009-09-23 12:10:28 +00:00
Ilia Maslakov
559f161ebc Ticket #1599 (navigation with Ctrl+arrows besides EOL)
fix: navigation with Ctrl+arrows besides EOL
    fix: kill word left/right when cursor besides EOL

Signed-off-by: Ilia Maslakov <il.smind@google.com>
2009-09-23 12:04:25 +00:00
Andrew Borodin
7134bd49d2 Merge branch '1564_menu_mouse_drag'
* 1564_menu_mouse_drag:
  Ticket #1564: fiix segfault in menu at GPM_DRAG mouse event.
2009-09-23 09:39:22 +04:00
Andrew Borodin
95d53b08cf Ticket #1564: fiix segfault in menu at GPM_DRAG mouse event.
Ignore GPM_DRAG mouse event above or below dropped down menu.
Also fixed handling of click events.

Minor optimization.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-09-23 09:38:50 +04:00
Slava Zanko
dec8a5d26e Merge branch '380_bw_colors_and_frames'
* 380_bw_colors_and_frames:
  misc/skins/Makefile.am: Add skin files into EXTRA_DIST list.
  Trinvial refactoring: changed order of color definitions.
  Modified color of dialog hotkeys.
  Fixed menu colors for BW mode.
  Ticket #380: fix of menu colors in BW mode and pseudo-graphics symbols.
2009-09-22 16:28:10 +03: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
d2e6ca7b6e Trinvial refactoring: changed order of color definitions.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-09-22 16:27:38 +03:00
Andrew Borodin
e46e414f2a Modified color of dialog hotkeys.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-09-22 16:27:38 +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
Andrew Borodin
3bacc1cc64 Ticket #380: fix of menu colors in BW mode and pseudo-graphics symbols.
Initial step: fixed name of skin sections and items.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-09-22 16:27:38 +03:00
Slava Zanko
ef5434f391 Merge branch '1420_configure_issue_glib'
* 1420_configure_issue_glib:
  Ticket #1420: ./configure issue: Glib
2009-09-22 12:02:53 +03:00
Slava Zanko
c8e6c2ef29 Ticket #1420: ./configure issue: Glib
Added check for result of
PKG_CHECK_MODULES(GLIB, [glib-2.0 >= 2.6], [glib_found=yes], [:])

Now if glib not found or if glib have  version less than 2.6 configure script
will exit with error message.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-09-22 12:01:52 +03:00
Slava Zanko
4c68d3ae47 Merge branch '1573_yum.repo'
* 1573_yum.repo:
  Some enhancements of branch:
  Add yum repo syntax highlight file
2009-09-22 11:57:28 +03:00
Slava Zanko
097d57d6d3 Some enhancements of branch:
* rename repo.syntax into yum.repo.syntax
 * add more syntax highlight rules.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-09-22 11:57:05 +03:00
Andy Shevchenko
ddd0c12d75 Add yum repo syntax highlight file
Signed-off-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-09-22 11:57:05 +03:00
Andrew Borodin
bc704787ff Merge branch '1604_cp866'
* 1604_cp866:
  Added IBM866 locale to the list of 8-bit locales.
  Ticket #1604: add support of CP866 locale.
2009-09-21 20:56:23 +04:00
Andrew Borodin
9aceaf6418 Added IBM866 locale to the list of 8-bit locales.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-09-21 16:43:08 +04:00
Andrew Borodin
4e38a3ead0 Ticket #1604: add support of CP866 locale.
Initial step: fix MC initalization.
Check codeset after initalization of TTY layer.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-09-21 16:34:15 +04:00
Andrew Borodin
6583d74771 Merge branch '1556_find_all_i18n'
* 1556_find_all_i18n:
  Ticket #1556: full i18n support of editor 'Search' dialog.
2009-09-21 13:22:03 +04:00
Andrew Borodin
434ebd3780 Ticket #1556: full i18n support of editor 'Search' dialog.
Dialog width calcualtion is based on each dialog widget width.
Updated russian translation (for 'Find all' button).

Thanks a lot to David Martin.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-09-21 13:21:39 +04:00
Slava Zanko
b5c2386551 Merge branch '380_skins'
* 380_skins:
  Added new installed files into mc.spec.in
  Added Russian and English docs for skins.
  Add octets into array of lines instread of utf-8 string.
  Reidentation of code and changes for compile with CFLAGS="-pedantic -Wall -Wextra -Werror -Wno-long-long"
  Continue development of skins
  continue develop of skins.
  Add handle '-b' command line option.
  Box lines drawing. Now reading from skins. With ncurses don't work!
  Add hardcoded skins.
  Base support of skins.
2009-09-18 12:07:05 +03:00
Slava Zanko
e7fe016742 Added new installed files into mc.spec.in
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-09-18 11:57:45 +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
f50b7d6d15 Add octets into array of lines instread of utf-8 string.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-09-18 11:57:35 +03:00
Slava Zanko
84f502a2e1 Reidentation of code and changes for compile with CFLAGS="-pedantic -Wall -Wextra -Werror -Wno-long-long"
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
f9a7ea4c32 Add handle '-b' command line option.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-09-18 11:49:45 +03:00
Slava Zanko
da6a25afc7 Box lines drawing. Now reading from skins. With ncurses don't work!
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-09-18 11:49:44 +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
Slava Zanko
488266674e Merge branch '1591_disable_charset'
* 1591_disable_charset:
  Ticket #1591: Master don't build with --disable-charset oprion.
2009-09-18 11:41:03 +03:00
Slava Zanko
5c629cafda Ticket #1591: Master don't build with --disable-charset oprion.
* Fixed build on master.
 * Refactoring: avoid compiler warnings.
 * Remove unneeded code from mcviewer.c.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-09-18 11:40:30 +03:00
Ilia Maslakov
b44191cd02 Merge branch '1403_search_segfault'
* 1403_search_segfault:
  fix: i18n label in the search dialog
  fix: not defined cp_source after autocorrect codeset
2009-09-16 13:46:46 +00:00
Andrew Borodin
e983e9eedc fix: i18n label in the search dialog
Signed-off-by: Ilia Maslakov <il.smind@google.com>
2009-09-16 13:45:08 +00:00
Ilia Maslakov
e9a49c83a1 fix: not defined cp_source after autocorrect codeset
Signed-off-by: Ilia Maslakov <il.smind@google.com>
2009-09-16 13:45:08 +00:00