Commit Graph

8093 Commits

Author SHA1 Message Date
Andrew Borodin
dd97220679 Fixed Russian translation. 2009-03-04 19:59:19 +03:00
Andrew Borodin
ea33f9e0e4 Updated all po/*.po files. 2009-03-02 22:41:00 +03:00
Slava Zanko
8abf76df7c edit/editcmd.c
* changed searching algorithm of 'TAGS' file
 * changed #include "etags.h" to "../edit/etags.h" for building outside of sources tree
edit/etags.c:
 * apply template from maint/template.c file
 * rename all functions with prefix etags_*
 * make function "etags_get_pos_from" in file-scope visibility
edit/etags.h:
 * added logic block "#ifndef ... #define ... #endif" for correctly processing of header file
 * remove declaration of file-scope function etags_get_pos_from (ex. get_pos_from)
2009-03-02 16:43:22 +02:00
Mikhail S. Pobolovets
ec8883dac1 src/find.c: Micro fix for 'Skip hidden' shortcut
It's now Alt+k instead of Alt+p

Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
2009-03-02 08:55:27 +02:00
Ilia Maslakov
ffca67e3cb one word bug fix 2009-02-27 22:07:01 +00:00
Ilia Maslakov
889233a7dd add canonicalize_pathname for displayed files in list, replace get curren dir from panel->cwd to g_get_current_dir() 2009-02-27 21:31:30 +00:00
Ilia Maslakov
351f42ac24 add recursive search file TAGS 2009-02-26 20:50:58 +00:00
Andrew Borodin
a9d59f9afc Fixed menu painting for NCurses screen library. 2009-02-26 19:55:10 +03:00
Andrew Borodin
2377c64233 Merge branch '284_mc-4.6-menu-ncurses' into mc-4.6 2009-02-26 19:51:31 +03:00
Ilia Maslakov
20c769b063 Add stack navigation structure. Add hotkeys A-'-' backward A-'=' forward navigation to files.
add edit/etags.c edit/etags.h
2009-02-25 21:55:35 +00:00
Andrew Borodin
210ffed4fd Fixed menu painting for NCurses screen library. 2009-02-24 22:20:21 +03:00
Mikhail S. Pobolovets
da56ed225d Backport: syntax/spec.syntax: .spec syntax update by adamw (#189)
Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
2009-02-24 21:08:02 +02:00
Mikhail S. Pobolovets
0c38f39876 syntax/spec.syntax: .spec syntax update by adamw (#189)
Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
2009-02-24 21:02:45 +02:00
Mikhail S. Pobolovets
5fd1537717 lib/mc.ext.in: command line options fix by adamw (#183)
Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
2009-02-24 11:11:58 +02:00
Mikhail S. Pobolovets
7ad845bdd7 lib/mc.ext.in: command line options fix by adamw (#183)
Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
2009-02-24 11:09:56 +02:00
Sergei Trofimovich
e2f1b4991e Merge branch 'mc-4.6'
* mc-4.6:
  added fix by cppgx (#84)
2009-02-23 22:17:17 +02:00
Enrico Weigelt, metux IT service
2d3da8a99c added fix by cppgx (#84) 2009-02-23 20:55:42 +02:00
Mikhail S. Pobolovets
97a7b214ac Merge branch '132_search_skip_hidden' 2009-02-21 17:53:26 +02:00
Mikhail S. Pobolovets
bb8c0c281c po/ru.po Fix for 'Skip hidden'-hotkey
Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
2009-02-21 17:12:59 +02:00
Mikhail S. Pobolovets
6e81dab573 src/find.c: 'Skip .hidden files and dirs' renamed to 'Skip hidden'
Check box position has been changed.

po/ru.po: translation update for 'Skip hidden'.

Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
2009-02-21 16:48:00 +02:00
Mikhail S. Pobolovets
da3b76b8d7 Merge branch '176_lzma' 2009-02-21 12:23:50 +02:00
Mikhail S. Pobolovets
dbba22eae3 src/find.c: 'Skip .hidden files and dirs' has been introduced.
An option to toggle on|off searching for|in hidden directories
and files. (#132)

Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
2009-02-21 11:53:38 +02:00
Andrew Borodin
c7987f0b1d Reimplemented displaying size of total marked files. 2009-02-20 17:21:04 +03:00
Sergei Trofimovich
15c9878d15 Merge branch 'mc-4.6'
* mc-4.6:
  backport: lt.po: update by stikonas (#274)
  backport: nl.po: update by mpol (#271)
  fixed mismerge: completion stuff
  mismerge fix: g_concat -> g_strconcat
  header guard fix
  Remove some of the SHELL_ESCAPE_STR Stuff...
  Revert "introduced new type SHELL_ESCAPED_STR for more type safety"
  Last bunch of reverts and removal of mhl/*
  fixed canonicalize_pathname() breakage: fixed str_move() function (memmove semantics) again
  Revert some functions (mhl_mem_free to g_free, etc)
  Revert "replaced buggy concat_dir_and_file() by mhl_str_dir_plus_file()"
  Revert "mhl: mhl_shell_unescape_buf(): fixed memory array OOB."
  Revert "build fix: added missing declaration of mhl_dir_plus_file (reported by andrew_b)"
  Revert "cleanup: mhl_str_dir_plus_file(): int -> size_t (suggested by Andrew Borodin)"
  Revert "fixed #240"
  Revert "Fixing a theoretical buffer overflow which was reported by Roland Illig"
  Revert "Call va_end after the iteration as we need to free the list again."
  Revert "Added enhancements from Sergei which he attached to #241."
  Revert "Resolve some issues in mhl Rollang Illig pointed us to:"

Conflicts:
	ChangeLog
	edit/edit.c
	edit/editcmd.c
	edit/editwidget.c
	edit/syntax.c
	src/command.c
	src/complete.c
	src/ext.c
	src/find.c
	src/screen.c
	src/util.c
	src/widget.c
	vfs/extfs.c
	vfs/fish.c
2009-02-20 12:35:20 +02:00
Sergei Trofimovich
d93114604e Merge commit 'origin/revert_mhl_to_glib_mc-4.6' into mc-4.6
* commit 'origin/revert_mhl_to_glib_mc-4.6':
  fixed mismerge: completion stuff
  mismerge fix: g_concat -> g_strconcat
  header guard fix
  Remove some of the SHELL_ESCAPE_STR Stuff...
  Revert "introduced new type SHELL_ESCAPED_STR for more type safety"
  Last bunch of reverts and removal of mhl/*
  fixed canonicalize_pathname() breakage: fixed str_move() function (memmove semantics) again
  Revert some functions (mhl_mem_free to g_free, etc)
  Revert "replaced buggy concat_dir_and_file() by mhl_str_dir_plus_file()"
  Revert "mhl: mhl_shell_unescape_buf(): fixed memory array OOB."
  Revert "build fix: added missing declaration of mhl_dir_plus_file (reported by andrew_b)"
  Revert "cleanup: mhl_str_dir_plus_file(): int -> size_t (suggested by Andrew Borodin)"
  Revert "fixed #240"
  Revert "Fixing a theoretical buffer overflow which was reported by Roland Illig"
  Revert "Call va_end after the iteration as we need to free the list again."
  Revert "Added enhancements from Sergei which he attached to #241."
  Revert "Resolve some issues in mhl Rollang Illig pointed us to:"

Conflicts:
	ChangeLog
2009-02-20 12:22:56 +02:00
Mikhail S. Pobolovets
bb059059d5 backport: lt.po: update by stikonas (#274)
Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
2009-02-17 20:10:14 +02:00
Mikhail S. Pobolovets
8070d8319e lt.po: update by stikonas (#274)
Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
2009-02-17 20:05:25 +02:00
Mikhail S. Pobolovets
3dad27bfe5 Fix compilation error
screen.o: In function `show_free_space':
/home/dsterba/_dev/mc-build/src/screen.c:783: undefined reference to
`mhl_mem_free'
/home/dsterba/_dev/mc-build/src/screen.c:784: undefined reference to
`mhl_str_dup'

Signed-off-by: David Sterba <dave@jikos.cz>
2009-02-17 19:41:02 +02:00
Mikhail S. Pobolovets
cc69f5d278 Subject: [PATCH] Some constants has been introduced.
*_OPTIONS_COUNT should be used from now to controll
 widgets drawing.

Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
2009-02-17 09:22:24 +02:00
Mikhail S. Pobolovets
ae07a0260e Fixed memory leak in init_my_statfs() function.
By andrew_b.

Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
2009-02-17 09:22:24 +02:00
Enrico Weigelt, metux IT service
4333bc4b60 fix for #188 2009-02-17 09:22:24 +02:00
Mikhail S. Pobolovets
81c48ced61 backport: nl.po: update by mpol (#271)
Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
2009-02-16 21:56:18 +02:00
Mikhail S. Pobolovets
1c977d254a nl.po: update by mpol (#271)
Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
2009-02-16 16:10:51 +02:00
Sergei Trofimovich
d8d26d42fd fixed mismerge: completion stuff
Signed-off-by: Sergei Trofimovich <slyfox@inbox.ru>
2009-02-15 11:57:26 +02:00
Sergei Trofimovich
5454c05b38 mismerge fix: g_concat -> g_strconcat
Signed-off-by: Sergei Trofimovich <slyfox@inbox.ru>
2009-02-15 11:53:49 +02:00
Sergei Trofimovich
ec3d3cf913 header guard fix
Signed-off-by: Sergei Trofimovich <slyfox@inbox.ru>
2009-02-15 11:52:56 +02:00
Patrick Winnertz
b10bfccfc0 Remove some of the SHELL_ESCAPE_STR Stuff...
Signed-off-by: Patrick Winnertz <winnie@debian.org>
2009-02-13 17:57:01 +01:00
Patrick Winnertz
0b0f8e6128 Revert "introduced new type SHELL_ESCAPED_STR for more type safety"
This reverts commit 90763ba82f.

Conflicts:

	ChangeLog
	mhl/escape.h
	src/complete.c
	vfs/fish.c

Signed-off-by: Patrick Winnertz <winnie@debian.org>
2009-02-10 15:08:01 +01:00
Patrick Winnertz
8b7e47d9cc Last bunch of reverts and removal of mhl/*
Signed-off-by: Patrick Winnertz <winnie@debian.org>
2009-02-10 14:11:41 +01:00
Patrick Winnertz
7d0fa9afce fixed canonicalize_pathname() breakage: fixed str_move() function (memmove semantics) again
and add shell_(un)escape again

This patch reintroduces fix firstly appeared in (and recently broken by mhl revert)
>   commit e48cb7c89f
>   Author: Sergei Trofimovich <st@anti-virus.by>
>   Date:   Fri Jan 30 09:31:28 2009 +0200
>
>        mhl: added mhl_strmove() function (memmove semantics)
...
>            Snippet of man strcpy:
>       DESCRIPTION
>               The  strcpy()  function copies the string pointed to by src, including the terminating
>               null byte ('\0'), to the buffer pointed to by dest.  ___The strings may not overlap___,
>               and the destination string dest must be  large enough to receive the copy.
>       We used strcpy to move data chunk in memory: "./foo" -> "foo", etc.
>
>       This patch introduces mhl_strmove and fixed canonicalize_pathname.

Conflicts:

	src/util.h

Signed-off-by: Patrick Winnertz <winnie@debian.org>
2009-02-10 14:02:20 +01:00
Patrick Winnertz
f237a14635 Revert some functions (mhl_mem_free to g_free, etc)
Signed-off-by: Patrick Winnertz <winnie@debian.org>
2009-02-10 13:52:53 +01:00
Patrick Winnertz
e4e135399f Revert "replaced buggy concat_dir_and_file() by mhl_str_dir_plus_file()"
This reverts commit 54d6ec88dc.

Conflicts:

	ChangeLog
	mhl/string.h
	src/command.c
	src/complete.c
	src/util.c
2009-02-10 13:29:18 +01:00
Patrick Winnertz
5bbeba0b8b Revert "mhl: mhl_shell_unescape_buf(): fixed memory array OOB."
This reverts commit 7a51b50d5c.
2009-02-10 13:24:57 +01:00
Patrick Winnertz
1f656eb6be Revert "build fix: added missing declaration of mhl_dir_plus_file (reported by andrew_b)"
This reverts commit c697fb3753.
2009-02-10 13:24:32 +01:00
Patrick Winnertz
d6da1ead5c Revert "cleanup: mhl_str_dir_plus_file(): int -> size_t (suggested by Andrew Borodin)"
This reverts commit 80a6897271.
2009-02-10 13:24:04 +01:00
Patrick Winnertz
b87a08ce1c Revert "fixed #240"
This reverts commit 1d8ef0b089.

Conflicts:

	ChangeLog
2009-02-10 13:23:28 +01:00
Patrick Winnertz
d7fa1ecdb4 Revert "Fixing a theoretical buffer overflow which was reported by Roland Illig"
This reverts commit f148fc29d2.
2009-02-10 13:21:58 +01:00
Patrick Winnertz
6d58336693 Revert "Call va_end after the iteration as we need to free the list again."
This reverts commit 51388bd012.
2009-02-10 13:21:45 +01:00
Patrick Winnertz
dd1b7941d6 Revert "Added enhancements from Sergei which he attached to #241."
This reverts commit 34fe2312b4.
2009-02-10 13:21:34 +01:00
Patrick Winnertz
428e233f37 Revert "Resolve some issues in mhl Rollang Illig pointed us to:"
This reverts commit 60f2d8d3c0.
2009-02-10 13:21:17 +01:00