Commit Graph

13078 Commits

Author SHA1 Message Date
Yury V. Zaytsev 7f29e0ac4c Merge branch '3496_unsorted' 2015-10-18 18:06:43 +02:00
Andrew Borodin 280bf87680 Ticket #3496: (dir_list_sort): do not call qsort for 'unsorted' sort order
...since qsort may shuffle first and last files in some lists.

Thanks Nicolas Rybkin for the original patch.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2015-10-18 17:57:35 +02:00
Yury V. Zaytsev 11645aadb9 maint: temporarily disable dying upon test failures
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2015-10-18 17:49:06 +02:00
Yury V. Zaytsev 838d797aa2 maint: temporarily disable -Werror=shadow
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2015-10-18 17:49:06 +02:00
Yury V. Zaytsev 86bd631061 maint: add basic .travis.yml for Travis CI
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2015-10-18 17:49:06 +02:00
Yury V. Zaytsev 652e97303d maint: import build script for continuous integration
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2015-10-18 17:49:06 +02:00
Yury V. Zaytsev 5075494e42 maint: import a tool to check source code indentation style
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2015-10-18 17:49:06 +02:00
Andrew Borodin 738a4d499a Merge branch '3525_search_whole_word'
* 3525_search_whole_word:
  Ticket #3525: fix "Whole words" search.
2015-09-19 20:28:52 +03:00
Egmont Koblinger 1f0dee6b52 Ticket #3525: fix "Whole words" search.
The "Whole words" feature of search only worked in Normal mode, not in
any of the other modes (Regex, Hex, Wildcard).

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2015-09-19 20:26:31 +03:00
Andrew Borodin 221940fb36 Merge branch '3524_highlight_whole_word'
* 3524_highlight_whole_word:
  Ticket #3524: fix highliht of search result...
2015-09-19 18:28:34 +03:00
Egmont Koblinger a0741b0a08 Ticket #3524: fix highliht of search result...
...in case of "Regular expression" and "Whole words".

The bug:
If there's no match, it's properly reported so.
If there's a match, however, the mcview's viewport is properly scrolled
vertically, but the search result is not highlighted. Plus, you can
press "Search again" once (or more times if there are multiple matches
in the line) and it won't progress to the next match.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2015-09-19 18:24:07 +03:00
Andrew Borodin b8ffa1b966 Merge branch '3502_s3_non_ascii'
* 3502_s3_non_ascii:
  extfs s3+: support for non-ASCII characters in filenames
2015-08-19 16:52:10 +03:00
Dmitry Koterov a943ac933d extfs s3+: support for non-ASCII characters in filenames
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2015-08-19 16:50:16 +03:00
Andrew Borodin 6c949566cb Merge branch '3493_user_menu_focused_button'
* 3493_user_menu_focused_button:
  Change focused button for mcedit user menu selector.
  Ticket #3493: user menu selector: make "User", not "Local", the focused button.
2015-08-17 15:51:15 +03:00
Mooffie 4a58ece618 Change focused button for mcedit user menu selector.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2015-08-15 17:52:36 +03:00
Mooffie 24cd2bae8d Ticket #3493: user menu selector: make "User", not "Local", the focused button.
On the menu selector two buttons are shown. Users are more likely to
want to edit their central user menu, so we move the focus there.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2015-08-15 17:51:58 +03:00
Andrew Borodin bb5807e01c Merge branch '3489_reload_panelize'
* 3489_reload_panelize:
  Ticket #3489: fix reloading of panelized file panel.
2015-08-15 15:47:21 +03:00
Andrew Borodin 15bf7b4bbd Ticket #3489: fix reloading of panelized file panel.
How to reproduce the bug:
1) Add something to 'Panelize'. It works with 'Find file' and 'External
   panelize' too.
2) Press C-o several (at least two) times (or run some console command).
3) Panel is now empty

  * (reload_panelized): always chdir to panel's cwd to refresh the VFS's cwd
before file list update.
  * (update_panels): change order of panel update: first update other panel,
then current one. Remove internal variable. Fix description.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2015-08-15 15:44:18 +03:00
Andrew Borodin d8c7f45c6f Merge branch '3475_find_file_memleak'
* 3475_find_file_memleak:
  (find_file): minor optimization of memory free.
  Ticket #3475: (find_file): fix memory leaks.
2015-08-14 20:55:49 +03:00
Andrew Borodin c3db552bfc (find_file): minor optimization of memory free.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2015-08-14 20:54:49 +03:00
Andrew Borodin 677b5c4f40 Ticket #3475: (find_file): fix memory leaks.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2015-08-14 20:54:49 +03:00
Andrew Borodin 2c37497f0e Merge branch '3484_pkgbuild_syntax'
* 3484_pkgbuild_syntax:
  Update PKGBUILD.syntax according to latest pacman version.
  Tickt #3484: update PKGBUILD.syntax according to latest pacman version.
2015-06-20 21:00:31 +03:00
Sergej Pupykin 8e72b1e13f Update PKGBUILD.syntax according to latest pacman version.
Add msg, debug, validpgpkeys, changelog, checkdepends, epoch, buildflags, upx
and remove force keyword according to current PKGBUILD man.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2015-06-20 20:59:48 +03:00
Sergej Pupykin 20b90cbfea Tickt #3484: update PKGBUILD.syntax according to latest pacman version.
Remove [\s]* from patterns. Assume that PKGBUILD-specific variables
must start from linestart. (Usualy they do.)

[\s]* cause conflicts on 'install' keyword for example when install
command highlighted as PKGBUILD-specific variable.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2015-06-20 20:59:32 +03:00
Mooffie 68849625cf Ticket #3471: improve Lua syntax highlighting.
* Support for "long" strings/comments.
* Fixed Syntax.in to recognize both "#!/path/to/lua"  and "#!/usr/bin/env lua".
* Fixed langauge name (it's "Lua", not "LUA").

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2015-06-18 21:17:40 +03:00
Mooffie b681f4bbef Ticket #3472: documentation for vfs/gc.c.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2015-06-18 21:13:49 +03:00
David Martin dbac04b0ad Ticket #3477: update Spanish man and help: Diff Viewer section and minor fixes.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2015-06-18 21:07:19 +03:00
Andreas Mohr c6e2b10ec7 Ticket #3476: correct email address in AUTHORS file.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2015-06-18 21:00:04 +03:00
Yury V. Zaytsev 3d74c0e4a2 Remove incomplete and unmaintained fi_FI and sv_SE translations
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2015-06-14 20:44:17 +02:00
Yury V. Zaytsev 6b5880ccc5 Synchronize LINGUAS with the current state of the repository
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2015-06-11 21:09:40 +02:00
Yury V. Zaytsev 9911d65f23 Spell LINGUAS one item per line to ease diffing
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2015-06-11 21:07:11 +02:00
Yury V. Zaytsev f31d1c3207 Ticket #3479: Fix mc.pot comment tripping up Transifex and unportable inplace sed
Transifex doesn't like it when there is no space after `#` and complains
about autogenerated `/# "Plural-Forms ...` string; fix it and remove
unportable inplace sed invocation.

Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2015-06-07 20:08:43 +02:00
Andrew Borodin 21060c8ea7 (groupbox_callback): remove unused variable.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2015-05-24 20:16:56 +03:00
Andrew Borodin 4f64bccf06 Merge branch '3468_groupbox_colors'
* 3468_groupbox_colors:
  WGroupbox: respect dialog's colors.
2015-05-24 19:10:50 +03:00
mooffie ace07e4239 WGroupbox: respect dialog's colors.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2015-05-24 19:10:12 +03:00
Andrew Borodin b918ff1499 (panel_save_setup): fix comparison between signed and unsigned.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2015-05-24 18:39:45 +03:00
Andrew Borodin df5e689bba (parse_mc_v_argument): fix unused parameter 'value'.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2015-05-24 18:34:43 +03:00
Andrew Borodin 3796e22101 Update po/*.po.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2015-05-24 18:31:14 +03:00
Andrew Borodin 25968f0931 Indentation.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2015-05-24 18:28:23 +03:00
Andrew Borodin 8e19fabb09 Merge branch '3420_cleanup'
* 3420_cleanup:
  (panel_listing_box): fix comparison between signed and unsigned.
  Ticket #3467: add -Wunreachable-code option and fix relative warnings.
  Ticket #3466: add -Wpointer-arith option and fix relative warnings.
  Ticket #3465: add -Wmissing-variable-declarations option...
  Ticket #3464: (compute_namelen): remove...
  Ticket #3463: enable -Wbad-function-cast option and fix relative warnings.
  (mc_setup_by_args): refactoring of arguments handling.
  AUTHORS: add Andreas Mohr.
  Ticket #3462: (WHLine): fix memory leak.
  Ticket #3461: (panel_operate): fix memory leak.
  Ticket #3460: (do_enter_on_file_entry): fix memory leak.
  Ticket #3459: (edit_clean): fix memory leak.
  Ticket #3458: (dir_list_reload): fix memory leak.
  Ticket #3420: code cleanup before 4.8.15 release.
2015-05-24 18:04:39 +03:00
Andrew Borodin edcae9673b (panel_listing_box): fix comparison between signed and unsigned.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2015-05-24 18:03:56 +03:00
Andreas Mohr f023a83502 Ticket #3467: add -Wunreachable-code option and fix relative warnings.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2015-05-24 17:59:19 +03:00
Andreas Mohr dd8521b92d Ticket #3466: add -Wpointer-arith option and fix relative warnings.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2015-05-24 17:59:18 +03:00
Andreas Mohr f1b73ffe6e Ticket #3465: add -Wmissing-variable-declarations option...
...and fix relative warnings.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2015-05-24 17:59:18 +03:00
Andreas Mohr 156bf097e2 Ticket #3464: (compute_namelen): remove...
...since DIRENT_LENGTH_COMPUTED is always 1.
compute_namelen() returns without functional logic.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2015-05-24 17:59:18 +03:00
Andreas Mohr d2713adbc6 Ticket #3463: enable -Wbad-function-cast option and fix relative warnings.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2015-05-24 17:59:18 +03:00
Andrew Borodin 3ba8109fe9 (mc_setup_by_args): refactoring of arguments handling.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2015-05-24 17:59:18 +03:00
Andrew Borodin bc3f049885 AUTHORS: add Andreas Mohr.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2015-05-24 17:59:18 +03:00
Andrew Borodin 040be28e1b Ticket #3462: (WHLine): fix memory leak.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2015-05-24 17:59:18 +03:00
Andreas Mohr 8566e10032 Ticket #3461: (panel_operate): fix memory leak.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2015-05-24 17:59:18 +03:00