Commit Graph

9606 Commits

Author SHA1 Message Date
Slava Zanko
dedb6a9a44 Merge branch '1663_save_panels_state'
* 1663_save_panels_state:
  Ticket #1663: Panels state saves and restores despite disabled 'Auto save setup'
2009-12-25 13:23:56 +02:00
Andrew Borodin
52ba225bc5 Merge branch '1876_sigint_signal_handling'
* 1876_sigint_signal_handling:
  Ticket #1876: use Ctrl-g key to generate SIGINT signal.
2009-12-25 12:01:35 +00:00
Andrew Borodin
a20ebb3818 Ticket #1876: use Ctrl-g key to generate SIGINT signal.
Ctrl-g instead of Ctrl-c is used now to generate SIGINT signal.
SIGINT signal generating for MC/NCurses library is enabled now.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-12-25 12:01:18 +00:00
Slava Zanko
4f88a84526 Ticket #1663: Panels state saves and restores despite disabled 'Auto save setup'
Added option 'auto_save_setup_panels' into [Midnight-Commander] section of ini-file.
If no specified, value of this option is equal to value of 'auto_save_setup' option.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-12-25 13:23:05 +02:00
Enrico Weigelt, metux IT service
8cfffc5bfa Merge remote branch 'mco/272_extfs_amazon_s3'
* mco/272_extfs_amazon_s3:
  Ticket #272: Extfs: added S3 backend by Jakob Kemi
2009-12-24 22:29:01 +01:00
Jakob Kemi
6908e6fc48 Ticket #272: Extfs: added S3 backend by Jakob Kemi 2009-12-24 22:26:14 +01:00
Andrew Borodin
48aaef13d8 Merge branch '1883_winput_handle_0xff_char'
* 1883_winput_handle_0xff_char:
  Ticket #1883: fixed handling of 0xff character in WInput widget.
2009-12-24 22:18:30 +03:00
Andrew Borodin
bce9bc5027 Ticket #1883: fixed handling of 0xff character in WInput widget.
The 0xff character is valid character in CP1251 codepage,
therefore the proper unsigned extension of char to int
is required in stuff() function to avoid the 0xff as -1
interpretation in handle_char() function.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-12-24 22:17:31 +03:00
Vsevolod Novikov
bd67eb857c updated python.syntax
Author: Vsevolod Novikov <nnseva@mail.ru>

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2009-12-24 14:41:00 +03:00
Slava Zanko
bc7abbecbe Merge branch '1396_with_search_engine'
* 1396_with_search_engine:
  Fixed incorrect showing name of search library in summary screen
  Ticket #1396: Fixed logic of processing '--with-search-engine' configure option.
2009-12-24 10:39:51 +02:00
Slava Zanko
f3f30e46f6 Fixed incorrect showing name of search library in summary screen
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-12-24 10:39:36 +02:00
Slava Zanko
e67965bd74 Ticket #1396: Fixed logic of processing '--with-search-engine' configure option.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-12-24 10:39:36 +02:00
Andrew Borodin
c4d3705b91 Merge branch '1892_resource_leaks'
* 1892_resource_leaks:
  Ticket #1892: fixed resource leaks.
2009-12-23 22:31:46 +03:00
Andrew Borodin
b9400e140f Ticket #1892: fixed resource leaks.
Fixed memory leak.
Fixed unclosed file descriptors.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-12-23 22:31:30 +03:00
Marcel Pol
4c3b02fe3f I have an update for the Dutch translation.
Ther eare 7 untranslated items, they need to be looked after some other time.
Some bugs were fixed and many strings were translated. Please update.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-12-23 21:27:49 +02:00
Slava Zanko
17b281a378 Merge branch '1873_archive_search_hangup'
* 1873_archive_search_hangup:
  viewer: now show warning if matches not found
  Ticket #1873: Viewer: hangup after search in archive
2009-12-23 21:16:18 +02:00
Slava Zanko
62ece7e048 viewer: now show warning if matches not found
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-12-23 21:15:50 +02:00
Slava Zanko
46f6c4d1b7 Ticket #1873: Viewer: hangup after search in archive
viewer hangup after search in archive

Test case:
 * download ftp://ftp.slackware-brasil.com.br/slackware-12.0/testing/MANIFEST.bz2 or any slackware MANIFEST.bz2 from internet
 * F3 under MANIFEST.bz2
 * F7 "fortunes-o.tar.gz"<enter>
 * hangup

Fix issue:
 * Change growbuff from owm implementation into g_ptr_array
 * Fixed calculating of search_start position
 * Search module: fixed checking for return code from update callback
 * Search module: Added return code MC_SEARCH_CB_OK for search callbacks
 * Added exit on keyboard break
 * Fixed search in last grow'ed block

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-12-23 21:15:41 +02:00
Slava Zanko
0ad310c1c6 Merge branch '1637_no_TOSTOP'
* 1637_no_TOSTOP:
  don't set TOSTOP attribute on slave terminal
2009-12-23 21:02:44 +02:00
Aliaksey Kandratsenka
233f943e87 don't set TOSTOP attribute on slave terminal
TOSTOP doesn't work well with some software. Examples known to me are:
- debugging multithreaded program with gdb (gdb job stops)
- running 'check' tests in fork mode (default) that do some output
(tests mysteriously fail due to timeout)

IMO TOSTOP adds too little value compared to compatibility problems it
creates.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-12-23 15:36:14 +02:00
Gergely Szabo
fc08c10012 Corrected Czech hints file.
English hints 16 and 31, 7 and 42 are identical, keeping just one czech for each one.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-12-23 11:24:21 +02:00
Slava Zanko
a9d87ebe20 Update Czech translation: removed deprecated strings
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-12-23 11:18:05 +02:00
Gergely Szabo
795181aa10 Final testing and polish
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-12-22 20:52:34 +02:00
Slava Zanko
204b8ac66b Merge branch '1605_incorrect_parsing_ftp_string'
* 1605_incorrect_parsing_ftp_string:
  Ticket #1605: Incorrect parsing FTP-string
2009-12-22 11:08:06 +02:00
Slava Zanko
cf8ae36637 Ticket #1605: Incorrect parsing FTP-string
ENTRY "example.net" URL "/#ftp:examplenet:5wDJP1B/y@example.net"

When I try connect to it I saw:
"ftpfs: making connection to examplenet"
off course this is failed by timeout.

Fix issue:
Now search for '@' sign.
If present - search for slash at found position
If not present - search at start of string.

Also fixed parce '@' sign into password area of URI.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-12-22 11:07:24 +02:00
Martin Zoubek
3c49c19ac0 Added complete czech translation.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-12-22 10:36:08 +02:00
SZABO Gergely
5c182c30a7 Ticket #1370 - Hungarian translation updated
Based on commit f574b9be...

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-12-22 10:28:21 +02:00
Ilia Maslakov
310e44a7df Merge branch '1884_move_to_bottom_fix'
* 1884_move_to_bottom_fix:
  Ticket #1884 (incorrect jump to the EOF)
2009-12-22 10:28:10 +03:00
Ilia Maslakov
3edfb0bc58 Ticket #1884 (incorrect jump to the EOF)
fixed edit_move_to_top for save the current cursor column position after jump to the EOF.

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2009-12-21 10:43:57 +03:00
Ilia Maslakov
87917730dc Merge branch '1877_scroll_downward_fix'
* 1877_scroll_downward_fix:
  Ticket #1877 (edit scroll down fix)
2009-12-17 17:17:32 +00:00
Ilia Maslakov
b0c58fbf4d Ticket #1877 (edit scroll down fix)
fixed edit_move_updown: cursor held, text scrolled up.

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2009-12-17 17:10:55 +00:00
Slava Zanko
40e8896bd6 Update documentation: added description of "Stable symlinks" checkbox in copy/move dialogs
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-12-17 13:59:46 +02:00
Slava Zanko
45e793199a Update Russian translate (thanks to guys from fedora@conference.jabber.ru chatroom)
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-12-17 01:11:44 +02:00
Andrew Borodin
29ecc9825f Merge branch '1876_ctrl_c_fix'
* 1876_ctrl_c_fix:
  Ticket #1876: Fix of Ctrl-c behaviour for S-Lang.
2009-12-16 17:23:48 +03:00
Andrew Borodin
c9a1c7f39e Ticket #1876: Fix of Ctrl-c behaviour for S-Lang.
Since Ctrl-C is used as common shortcut, don't use it
to generate the SIGINN signal in S-Lang library.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-12-16 17:23:29 +03:00
Slava Zanko
a958fc9136 Merge branch '1845_code_cleanup'
* 1845_code_cleanup: (30 commits)
  editcmd.c 'eval_marks': removed unused variable 'diff'
  The check result of g_new(), g_new0(), g_malloc(), g_malloc0() and g_realloc() is useless.
  Remove declaration of unused function.
  Added glib library for mcserv
  rearranging some lines in src_skin_colors.c mc_skin_color_parse_ini_file()
  missing check in src_mcconfig_get.c-mc_config_get_groups()_-2
  Unifying of g_strconcat() calls
  Types accuracy, minor optimization, removed unneeded goto and return.
  Fixed i18n of file operation dialog titles.
  added NULL check before call g_utf8_find_prev_char, g_utf8_get_char_validated for more safety.
  More usage of GLib functions.
  No need to call done_menu() at MC exit.
  Optimization of DLG_RESIZE message handling.
  doxygen: various warning fixes
  Fixed forgotten call of va_end() in mc_log().
  src/boxes.c (configure_vfs): fixed #ifdef directive.
  m4.include/mc-cflags.m4: added -fdiagnostics-show-option (exact warning option)
  configure.ac: guard $CFLAGS with "" in tests
  m4.include/mc-cflags.m4: sorted CFLAGS (no flags were added or removed)
  cflags: enable -Wformat in maintainer mode
  ...
2009-12-16 11:11:31 +02:00
Ilia Maslakov
26689fc39e editcmd.c 'eval_marks': removed unused variable 'diff'
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2009-12-16 11:10:44 +02:00
Andrew Borodin
dc604d811a The check result of g_new(), g_new0(), g_malloc(), g_malloc0() and g_realloc() is useless.
g_new(), g_new0(), g_malloc(), g_malloc0() and g_realloc() functions
never return NULL and call abort() on fail. So check result of these
functions is useless. g_try_new(), g_try_new0(), g_try_malloc(),
g_try_malloc0() and g_try_realloc() functions are used instead.

Some minor optimization and code formatting are also performed.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-12-16 11:10:43 +02:00
Andrew Borodin
1aee8632ef Remove declaration of unused function.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-12-16 11:10:43 +02:00
Slava Zanko
2a17d8460f Added glib library for mcserv
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-12-16 11:10:43 +02:00
Vit Rosin
80d474fdfa rearranging some lines in src_skin_colors.c mc_skin_color_parse_ini_file()
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-12-16 11:10:43 +02:00
Vit Rosin
a7110419a6 missing check in src_mcconfig_get.c-mc_config_get_groups()_-2
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-12-16 11:10:43 +02:00
Vit Rosin
b6875454b2 Unifying of g_strconcat() calls
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-12-16 11:10:43 +02:00
Andrew Borodin
ec5791b7af Types accuracy, minor optimization, removed unneeded goto and return.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-12-16 11:10:42 +02:00
Andrew Borodin
718c91e955 Fixed i18n of file operation dialog titles.
Also type accuracy.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-12-16 11:10:42 +02:00
Ilia Maslakov
b90825fee4 added NULL check before call g_utf8_find_prev_char, g_utf8_get_char_validated for more safety.
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2009-12-16 11:10:42 +02:00
Andrew Borodin
ec3c4c37c3 More usage of GLib functions.
Use g_snprintf instead of snprintf and g_free instaed of free.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-12-16 11:10:42 +02:00
Andrew Borodin
4ef67c33b9 No need to call done_menu() at MC exit.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-12-16 11:10:42 +02:00
Andrew Borodin
1e32a51d2d Optimization of DLG_RESIZE message handling.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-12-16 11:10:42 +02:00
Sergei Trofimovich
66371454c7 doxygen: various warning fixes
Fixes such warnings:
mc/src/viewer/mcviewer.h:1: Warning: the name `view.h' supplied as the second argument
                            in the \file statement is not an input file
mc/vfs/vfs.c:267: Warning: explicit link request to 'op' could not be resolved
mc/src/strescape.c:219: Warning: Found unknown command `\params'
mc/src/strescape.c:153: Warning: Found unknown command `\params'
mc/src/strescape.c:187: Warning: Found unknown command `\params'
mc/src/strescape.c:219: Warning: Found unknown command `\params'
mc/src/strescape.c:153: Warning: Found unknown command `\params'
mc/src/strescape.c:187: Warning: Found unknown command `\params'
mc/vfs/fish.c:33: Warning: explicit link request to 'sh' could not be resolved
mc/vfs/fish.c:33: Warning: Found unknown command `\host'
mc/vfs/ftpfs.c:43: Warning: Found unknown command `\hobit'
mc/vfs/sfs.c:26: Warning: explicit link request to 'ugz' could not be resolved
mc/vfs/vfs.c:267: Warning: explicit link request to 'op' could not be resolved
mc/vfs/vfs.c:267: Warning: explicit link request to 'op' could not be resolved

Signed-off-by: Sergei Trofimovich <slyfox@inbox.ru>
2009-12-16 11:10:42 +02:00