Commit Graph

13056 Commits

Author SHA1 Message Date
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
Andreas Mohr
f379339002 Ticket #3460: (do_enter_on_file_entry): fix memory leak.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2015-05-24 17:59:18 +03:00
Andreas Mohr
216067a43c Ticket #3459: (edit_clean): fix memory leak.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2015-05-24 17:59:18 +03:00
Andreas Mohr
290978e536 Ticket #3458: (dir_list_reload): fix memory leak.
Handling dir_copy list as full copy for avoid double free situations.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2015-05-24 17:59:18 +03:00
Andrew Borodin
a382b1558b Ticket #3420: code cleanup before 4.8.15 release.
Ticket #3457: (my_systemv_flags): fix memory leak.
(my_system_make_arg_array): ret rid of string duplications."

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2015-05-24 17:59:18 +03:00
Andrew Borodin
2641b2cc11 Merge branch '3212_panel_columns'
* 3212_panel_columns:
  Set number of brief columns in the "Listing mode" dialog box.
  (quick_dialog_skip): fix location of labeled input.
  Save/load brief columns to/from panels.ini.
  WPanel: support up to 9 columns in brief mode.
  Refactoring: use panel_lines() function instead of llines macro.
  (format_file): fix potential out-of-range and NULL dereference.
  Minor refactoring of file panel draw.
  Ticket #3212: support more than 2 columns in the file panel.
2015-05-24 17:53:41 +03:00
Andrew Borodin
a33d470e08 Set number of brief columns in the "Listing mode" dialog box.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2015-05-24 17:51:39 +03:00
Andrew Borodin
93d7856f85 (quick_dialog_skip): fix location of labeled input. 2015-05-24 17:51:39 +03:00
Andrew Borodin
57e7e8f112 Save/load brief columns to/from panels.ini.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2015-05-24 17:51:39 +03:00
Andrew Borodin
fb474bc1c1 WPanel: support up to 9 columns in brief mode.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2015-05-24 17:51:39 +03:00
Andrew Borodin
b671a11388 Refactoring: use panel_lines() function instead of llines macro.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2015-05-24 17:51:39 +03:00
Andrew Borodin
3f968a50e0 (format_file): fix potential out-of-range and NULL dereference.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2015-05-24 17:51:39 +03:00
Andrew Borodin
8b5f618303 Minor refactoring of file panel draw.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2015-05-24 17:51:39 +03:00
Andrew Borodin
902246e4b8 Ticket #3212: support more than 2 columns in the file panel.
Initial commit: minor cleanup, refactoring and type accuracy in listing
format related code.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2015-05-24 17:51:39 +03:00
Andrew Borodin
4aa4b8224a Merge branch '3470_s3'
* 3470_s3:
  AUTHORS: add s3 VFS authors.
  Ticket #3470: VFS s3+ bugfixes & improvements.
2015-05-24 17:45:39 +03:00
Andrew Borodin
542cdae380 AUTHORS: add s3 VFS authors.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2015-05-24 17:45:03 +03:00
Dmitry Koterov
e09d64179e Ticket #3470: VFS s3+ bugfixes & improvements.
* Resolve "Please use  AWS4-HMAC-SHA256" error: enforce the new V4 authentication
method. It is required in many (if not all) locations nowadays.
* Now s3+ works with buckets in different regions: locations are auto-detected.
* Debug level specification support (MCVFS_EXTFS_S3_DEBUGLEVEL).

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2015-05-24 17:42:06 +03:00
Andrew Borodin
4167717e4c Merge branch '3456_sftp_segfault'
* 3456_sftp_segfault:
  Ticket #3456: SFTP VFS: fix segfault.
2015-05-24 17:34:03 +03:00
Andrew Borodin
17bbeb9791 Ticket #3456: SFTP VFS: fix segfault.
(mc_error_message): return error code for possible following use."
(sftpfs_cb_open_connection): fix dereference of null pointer.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2015-05-09 16:46:45 +03:00
Andrew Borodin
549661e50b src/diffviewer/ydiff.c: fix use of HAVE_CHARSET.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2015-05-03 20:25:34 +03:00
Andrew Borodin
6ab4643088 src/filemanager/filegui.c: fix use of STAT_STATVFS and STAT_STATVFS64.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2015-05-03 20:20:14 +03:00
Andrew Borodin
fd4d25ae27 (strip_ctrl_codes): add missing default case.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2015-05-03 20:12:18 +03:00
Andrew Borodin
c43d3420e6 Merge branch '3420_cleanup'
* 3420_cleanup: (24 commits)
  Ticket #3431: add missing default cases.
  Ticket #3440: (find_file): fix memory leak.
  Ticket #3439: (dir_list_reload): fix memory leak.
  Ticket #3438: (dir_list_load): fix memory leak.
  Ticket #3437: (custom_canonicalize_pathname): fix heap-buffer-overflow.
  (edit_find_line): use labs() instead of abs() for argument of type 'long'.
  (progress_update_one): fix variable initialization.
  (file_date): fix variable initialization.
  is_7bit_printable() is used only if support of charset selection and conversion is disabled.
  lib/strutil/strutil8bit.c: remove unused functions.
  Ticket #3435: clang compiler fixes/cleanups.
  Fixes in tests
  Ticket #3134: fix cflags check when using clang compiler.
  Add -Wundef compiler option for future compile checks.
  Use #ifdef for autoconf provided marcos (continue).
  Use #ifdef for autoconf provided marcos...
  Better use of S_IS* macros.
  Ticket #3430: introduce -Wundef check to catch macro typos.
  Ticket #3429: fix -Wstrict-prototypes compiler warnings...
  reset_hp_softkeys variable is used in S-Lang-based mc only.
  ...
2015-05-03 19:44:33 +03:00