Commit Graph

9427 Commits

Author SHA1 Message Date
Enrico Weigelt, metux IT service
9f99a8aa9a Merge branch '1901_php_syntax_optimization'
* 1901_php_syntax_optimization:
  Ticket #1901 (php.syntax optimization)
2009-12-26 22:06:13 +01:00
Ilia Maslakov
83ce7410ea Ticket #1901 (php.syntax optimization)
little otpimization of php.syntax

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2009-12-26 22:06:01 +01:00
Yury V. Zaytsev
15f7c15655 Merge branch '1904_spec_bump_epoch'
* 1904_spec_bump_epoch:
  Ticket #1904: Bump epoch because of braindead versioning scheme used.
2009-12-25 22:55:23 +01:00
Yury V. Zaytsev
81324fc2ab Ticket #1904: Bump epoch because of braindead versioning scheme used.
* Bump epoch, because otherwise users wouldn't be able to upgrade
properly from older RPMs. The versioning scheme has to be revisited.

* Add changelog entry.

* Small corrections to the changelog.
2009-12-25 22:41:41 +01:00
Slava Zanko
1dae30487e update AUTHORS file
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-12-25 20:35:38 +02:00
Slava Zanko
4986aaeb88 Update NEWS file for 4.7.0 release
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-12-25 20:26:51 +02:00
Slava Zanko
051bb3b571 Merge branch '1845_code_cleanup'
* 1845_code_cleanup:
  change type of some parameters from int to long.
2009-12-25 19:44:55 +02:00
Vit Rosin
280d7e88f9 change type of some parameters from int to long.
Changed functions:
 * edit_count_lines()
 * edit_move_forward()
 * edit_move_backward()

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-12-25 19:44:34 +02:00
Andrew Borodin
9c9bb27171 Fixed Russian translation
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-12-25 20:43:28 +03:00
Slava Zanko
a6d44494ca Update translations before release by command "make -C po update-po"
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-12-25 19:13:09 +02:00
David Martin
16b53e06c1 Final cleaup for Spanish translations
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-12-25 19:11:35 +02:00
Andrew Borodin
7b85a9292f Merge branch '1867_fish_dont_add_username'
* 1867_fish_dont_add_username:
  Ticket #1867: fish: omit '-l' parameter for userless URLs.
2009-12-25 18:57:43 +03:00
Yury V. Zaytsev
cb0d7a36ff Ticket #1867: fish: omit '-l' parameter for userless URLs.
Add the user name to the ssh command line only if it's not the same as
the local logged-in user. OpenSSH will take it as a default value
anyway, but otherwise we'll override ~/.ssh/config settings which might
be not what the user wants.

* Factored out vfs_get_local_username()
* Moved default-user detection to fish subsystem (URL_USE_ANONYMOUS)
* Slight modifications to the comments and wording
2009-12-25 18:57:27 +03:00
Sergei Trofimovich
8abe72112a vfs: ftp: fix build breakage on absent CANON_PATH_RMDBLDT
Signed-off-by: Sergei Trofimovich <slyfox@inbox.ru>
2009-12-25 17:18:50 +02:00
Mikhail S. Pobolovets
45642c5110 Cabal syntax file introduced.
Cabal is build system used in the Haskell world.
2009-12-25 16:28:44 +02:00
Slava Zanko
f780c31e56 Merge branch '1691_debian_man_patches'
* 1691_debian_man_patches:
  Fix for ticket #1691:
2009-12-25 15:56:10 +02:00
Slava Zanko
e8b41315ac Merge branch '1828_ftpfs_improved_symlink_handling'
* 1828_ftpfs_improved_symlink_handling:
  Ticket #1828: Improved symlink handling in ftpfs
2009-12-25 15:54:43 +02:00
Slava Zanko
4f36622725 Ticket #1828: Improved symlink handling in ftpfs
Originally from: http://mail.gnome.org/archives/mc-devel/2005-April/msg00035.html

The routines `vfs_s_find_entry_linear()' and `vfs_s_find_entry_tree()'
call `canonicalize_pathname()' on entry. This routine eats `..' path
components in certain cases. In case of ftpfs this is not desired -
the path should be kept as is since the code in direntry.c doesn't have
enough knowledge of the directory structure on the remote end.

Assume that
there is a path like this on the remote server

    /path1/path2/path3

The `path2' component is a symlink to some directory and `path3' is a
symlink stored in `path2' which is relative to `path2' i.e.

path2

    path3 -> ../some/other/path

Now, the code in direntry.c will determine that `path3' is a symlink and
will try to resolve (vfs_s_resolve_symlink) it by passing the following path

    /path1/path2/../some/other/path

to `vfs_s_find_entry_linear' . As I've said above this routine calls
`canonicalize_pathname' on entry which will modify the path like this:

    /path1/some/other/path

Now this is clearly wrong since `path2' is a symlink and it should be
resolved first. In the case of ftpfs the code in direntry.c doesn't have
enough knowledge about physycal directory layout on the remote filesystem
so it shouldn't try to canonicalize the path. The path should be left as
is and passed to the remote end for processing.

Fix issue:
Changed function canonicalize_pathname (as fact, renamed to custom_canonicalize_pathname)
In this function added ability to partial canonicalize of pathname.
And some functions from vfs/direntry.c calls custom_canonicalize_pathname without
removal of '..' stuff.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-12-25 15:53:48 +02:00
Yury V. Zaytsev
714a5bcdaf Fix for ticket #1691:
Set of patches that correct minor mistakes and mistypes in the man files
from Denis Briand. Thanks!

Fixes suggested by Slava Zanko and Andrew Borodin: always use
@sysconfdir@/mc instead of hardcoded /etc/mc for configuration pathes in
mans.
2009-12-25 14:33:54 +01:00
Ilia Maslakov
00b94eec5d Merge branch '1724_missmatched_macro_hotkeys'
* 1724_missmatched_macro_hotkeys:
  Ticket #1724 (mismatched hotkeys)
2009-12-25 15:11:41 +03:00
Ilia Maslakov
b03b234085 Ticket #1724 (mismatched hotkeys)
fixed mismatched hotkeys EditBeginRecordMacro, EditEndRecordMacro

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2009-12-25 15:10:23 +03:00
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