Commit Graph

8893 Commits

Author SHA1 Message Date
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
Andrew Borodin
1d42004818 Merge branch '276_show_total_size_accurately'
* 276_show_total_size_accurately:
  Ticket #276: display marked files size accurately.
2009-09-16 09:27:51 +04:00
Andrew Borodin
8f5ae1983a Ticket #276: display marked files size accurately.
Centered horizontally. Removed rubbish symbols at the end
of displayed text.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-09-16 09:27:10 +04:00
Slava Zanko
3e4c7775e5 Merge branch '1540_tarfs_for_xz'
* 1540_tarfs_for_xz:
  Some little bugfixies for xz and lzma archives:
  Ticket #1540: tarfs for xz archives
2009-09-16 02:05:43 +03:00
Slava Zanko
bd95f71a6b Some little bugfixies for xz and lzma archives:
* 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>
2009-09-16 02:05:06 +03:00
nixtrian
f5d01be72a Ticket #1540: tarfs for xz archives
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>
2009-09-16 02:05:06 +03:00
Slava Zanko
6b8d0cdc43 Merge branch '1591_viewer_segfault'
* 1591_viewer_segfault:
  Ticket #1591 (mcview segfault)
2009-09-15 13:03:28 +03:00
Ilia Maslakov
0ce25dce74 Ticket #1591 (mcview segfault)
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>
2009-09-15 12:24:33 +03:00
Andrew Borodin
3f5968604b Merge branch '1552_nonstd_button_location'
* 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.
2009-09-15 11:36:37 +04:00
Slava Zanko
f3916f085f Changes for lines length less than 100.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-09-15 11:36:09 +04:00
Andrew Borodin
41dc87ee1f Fixed button locations in 'Sort order' dialog.
Reimplemented 'Sort order' dialog using QuickDialog engine.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-09-15 11:36:09 +04:00
Andrew Borodin
6fc9cf7a88 Refactoring of src/boxes.c.
Reduce of file scope variables count.
Other those variables have been renamed.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-09-15 11:36:09 +04:00
Andrew Borodin
a4fad45319 Fixed button locations in 'Listing mode' dialog.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-09-15 11:36:09 +04:00
Andrew Borodin
dad66d278b 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>
2009-09-15 11:36:09 +04: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