Commit Graph

970 Commits

Author SHA1 Message Date
Enrico Weigelt, metux IT service
74c5601339 Merge commit 'origin/mc-4.6' 2009-02-01 22:07:03 +01:00
Enrico Weigelt, metux IT service
6f9ef0b7be fixed unitialized var in init_chown_advanced() - patch from andrew_b 2009-02-01 20:32:11 +01:00
Enrico Weigelt, metux IT service
6c016bc781 fixed name_trunc() on NULL or empty strings - patch from andrew_b 2009-02-01 20:26:27 +01:00
Enrico Weigelt, metux IT service
e4a4f77ac2 replaced g_snprintf() by snprintf() 2009-02-01 20:03:28 +01:00
Sergei Trofimovich
df4129517b Merge branch 'mc-4.6'
* mc-4.6: (38 commits)
  mhl: mhl_shell_unescape_buf(): fixed memory array OOB.
  completion: fixed complete already escaped secuences.
  completion: added changelog entry for solved #147
  completion: fixed completion of escaped commands in commandline
  Removed unused char*.
  mhl: added mhl_strmove() function (memmove semantics)
  completion: added escapes in command line on completion
  complete: cleanup: #define to enum INPUT_COMPLETION_FLAGS
  added a new parameter for completion flags to input_new
  fish: cleanup: unboxed quoted strings when generate shell commands
  introduced new type SHELL_ESCAPED_STR for more type safety
  added mhl/types.h which defines bool enum, escape.h now using this type
  Removed unused variable
  Changes for use MHL.
  Fixed bug with renamig/copying files with backshashes in names
  Remove some testing stuff
  Temporarry commit. Fixed completion in browse by directoryes.
  Fixed some memory leaks.
  Add $ and ` for escaping and reorder it according to the ascii values
  Rewrite it to use g_string_append_c instead of some homebrew stuff
  ...
2009-02-01 14:26:54 +02:00
Enrico Weigelt, metux IT service
f235b1976e replaced GString stuff by static buffers 2009-01-31 21:55:51 +01:00
Sergei Trofimovich
ff4de3d66f Merge branch 'mc-4.6' into 147_escaping
* mc-4.6:
  replaced buggy concat_dir_and_file() by mhl_str_dir_plus_file()
  fixed out-of-tree-builds
  Updated the NEWS file for 4.6.2 and added the bugnumbers behind the items in the list.
  Update for OpenOffice and StarOffice viewer.
  changelog: added entry for python syntax
  syntax: python: keywords update (patch by NNemec) fixes #216
  AC_USE_SYSTEM_EXTENSIONS macro requires autoconf >= 2.60
  po/ru.po: In russian translation, there are some hotkey conficts in menu.
  ChangeLog/NEWS: added entry for #181 ticket (copy to deleted dir)
  Now a trailing slash will only be added in copy & move dialogs if the path itselfs
  copy/move dialog: add trailing '/' to default destination path (fix #181)
  fixed comments to /* ... */
  Not only comment it out but removing it
  Removed unneeded var to make build process a bit cleaner
  Add code snipplet by il.smind which should fix issues with putty and

Conflicts:
	ChangeLog
	mhl/string.h
	src/command.c
	src/complete.c
	src/file.c
	src/util.c
2009-01-31 22:18:19 +02:00
Sergei Trofimovich
6c84e0c6dd completion: added changelog entry for solved #147
Signed-off-by: Sergei Trofimovich <slyfox@inbox.ru>
2009-01-31 22:03:04 +02:00
Enrico Weigelt, metux IT service
a1b47185c9 manually merged 118_port_number_in_shell_link 2009-01-31 19:29:15 +01:00
Enrico Weigelt, metux IT service
a73bd631e5 added missing changelog entry 2009-01-31 19:13:48 +01:00
Enrico Weigelt, metux IT service
5f77615b35 Merge commit 'origin/mc-4.6' 2009-01-31 18:20:54 +01:00
Enrico Weigelt, metux IT service
54d6ec88dc replaced buggy concat_dir_and_file() by mhl_str_dir_plus_file() 2009-01-31 16:51:58 +01:00
Enrico Weigelt, metux IT service
b407c65b74 manually merged mc-4.6 2009-01-31 06:34:40 +01:00
Enrico Weigelt, metux IT service
f921cc40cd replaced calls to g_strdup() by mhl_str_dup() 2009-01-30 20:10:40 +01:00
Enrico Weigelt, metux IT service
15d7d47c15 replaced g_free() by mhl_mem_free() 2009-01-30 19:28:35 +01:00
Enrico Weigelt, metux IT service
d6a438dc17 added vhdl syntax 2009-01-30 18:28:26 +01:00
Enrico Weigelt, metux IT service
e3a3890a3a fixed out-of-tree-builds 2009-01-30 16:46:44 +01:00
Mikhail S. Pobolovets
19716b790a Update for OpenOffice and StarOffice viewer.
odt2txt is now used.

Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
2009-01-29 22:18:12 +02:00
Mikhail S. Pobolovets
8bc0e27a54 Update for OpenOffice and StarOffice viewer.
odt2txt is now used.

Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
2009-01-29 21:00:35 +02:00
Sergei Trofimovich
6c64add7c1 Merge branch 'mc-4.6'
* mc-4.6:
  changelog: added entry for python syntax
  syntax: python: keywords update (patch by NNemec) fixes #216
2009-01-29 20:05:03 +02:00
Sergei Trofimovich
a59ccc1016 changelog: added entry for python syntax
Signed-off-by: Sergei Trofimovich <st@anti-virus.by>
2009-01-29 20:02:09 +02:00
Mikhail S. Pobolovets
9ae2b8a518 ChangeLog: fix of forgotten changes
Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
2009-01-29 09:05:05 +02:00
Sergei Trofimovich
9175c6babd Merge branch 'mc-4.6'
* mc-4.6:
  ChangeLog/NEWS: added entry for #181 ticket (copy to deleted dir)
2009-01-29 01:34:33 +02:00
Sergei Trofimovich
1da3919eb1 ChangeLog/NEWS: added entry for #181 ticket (copy to deleted dir)
Signed-off-by: Sergei Trofimovich <slyfox@inbox.ru>
2009-01-29 01:34:17 +02:00
Enrico Weigelt, metux IT service
e34e748666 Merge commit 'origin/mc-4.6' 2009-01-27 22:53:12 +01:00
Enrico Weigelt, metux IT service
90763ba82f introduced new type SHELL_ESCAPED_STR for more type safety 2009-01-27 22:27:06 +01:00
Enrico Weigelt, metux IT service
2f6f6af425 fixed comments to /* ... */ 2009-01-27 22:04:12 +01:00
Patrick Winnertz
c63d259314 Somehow the merge duplicated Enricos Changelog entry. 2009-01-26 17:58:30 +01:00
Patrick Winnertz
bcc78efe17 Merge branch '167_locale_german' 2009-01-26 17:55:41 +01:00
Patrick Winnertz
0d35576a6d Add changelog entry about this change, as everything we do should be documented there 2009-01-26 17:54:20 +01:00
Patrick Winnertz
7abcb66aba Merge branch 'mc-4.6' 2009-01-26 16:56:24 +01:00
Patrick Winnertz
1fd3aa61d6 Merge branch '10_fish_whitespace_symlink_issue' into mc-4.6
Conflicts:
	ChangeLog
2009-01-26 16:55:52 +01:00
Patrick Winnertz
881ff40b3d Merge branch 'mc-4.6' 2009-01-26 10:30:14 +01:00
Patrick Winnertz
74dadcc258 Added rev3 of the patch attached to the bugreport 2009-01-26 00:34:50 +01:00
Patrick Winnertz
26992b5e0a Replaced 6 with & as & where meant 2009-01-25 20:23:56 +01:00
Patrick Winnertz
73813916e2 Added changelog notice about the fixed fish behaviour.
Used there the emailaddress of me and slyfox
2009-01-25 20:23:33 +01:00
Patrick Winnertz
481b0a34ea Merge branch 'mc-4.6' 2009-01-25 16:23:43 +01:00
Patrick Winnertz
da74735548 Merge branch '35_view_dir_update' into mc-4.6
Conflicts:
	ChangeLog
2009-01-25 16:23:26 +01:00
Patrick Winnertz
998cfd9f5c Merge branch 'mc-4.6' 2009-01-25 11:19:08 +01:00
Patrick Winnertz
b84f9451df Add Changelog entry about the history section name break. 2009-01-25 11:18:11 +01:00
Enrico Weigelt, metux IT service
b1d848b786 fixed #35 2009-01-24 21:06:15 +01:00
Enrico Weigelt, metux IT service
a1a873fae4 fixed changelog on mc-4.6 merge 2009-01-24 20:28:10 +01:00
Enrico Weigelt, metux IT service
7fae75c0d6 merged git 174_4.6_mandriva_pty_closeonexec 2009-01-24 20:26:40 +01:00
Enrico Weigelt, metux IT service
f072bf6d5c merged 174_4.6_mandriva_pty_closeonexec 2009-01-24 20:24:14 +01:00
Enrico Weigelt, metux IT service
5fbcb773a4 merged 162_syntax_namerle branch 2009-01-24 17:08:53 +01:00
Patrick Winnertz
d61ee8fea8 Merge branch 'mc-4.6'
Conflicts:
	ChangeLog
2009-01-24 13:22:43 +01:00
Patrick Winnertz
0db8499b56 Add changelog entry about the two minor regex fixes 2009-01-24 13:20:48 +01:00
Enrico Weigelt, metux IT service
173ca89fca merged jpelletier's patch for historic archive formats 2009-01-24 04:59:34 +01:00
Enrico Weigelt, metux IT service
5d150562aa merged 158_message_codes branch 2009-01-24 04:53:51 +01:00
Enrico Weigelt, metux IT service
8447de3d67 changelog entry added 2009-01-24 04:35:15 +01:00
Enrico Weigelt, metux IT service
5471443eea edit/syntax: added ebuild Syntax defition (taken from rhclub-tree) 2009-01-22 10:37:20 +02:00
Patrick Winnertz
0a88e1b253 Add changelog entry about this small enhancement 2009-01-19 22:17:05 +01:00
Slava Zanko
f2aba59d24 ChangeLog: removed some unneeded spaces (for future problem-less commits) 2009-01-19 14:03:26 +02:00
Patrick Winnertz
168526d242 Merge branch 'mc-4.6' 2009-01-18 23:13:25 +01:00
Patrick Winnertz
1409e47337 Merge branch '168_unused_uninitialised_vars' into mc-4.6
Conflicts:
	ChangeLog
2009-01-18 23:13:08 +01:00
Patrick Winnertz
e5a3a7cf0c Closing #168 (unused vars and functions) added Changelog entry 2009-01-18 23:09:23 +01:00
Enrico Weigelt, metux IT service
9f369abe25 added mandriva patch: subshell pty close-on-exec 2009-01-16 02:17:57 +01:00
Slava Zanko
ffd6b19279 Merge branch 'mc-4.6'
* mc-4.6:
  lib/mc.ext.in: change filemask for recognize 7z-files
2009-01-14 12:07:49 +02:00
Slava Zanko
9623a85506 lib/mc.ext.in: change filemask for recognize 7z-files
vfs/extfs/u7z:
  - change only LC_DATE global variable for correct work with arhive;
  - add sorting by filename in output of list files
2009-01-14 11:54:02 +02:00
Patrick Winnertz
2fa781eeeb Merge branch 'mc-4.6'
Conflicts:
	ChangeLog
2009-01-12 21:29:30 +01:00
Patrick Winnertz
025ab0baee Added Enrico, Slava and me as authors. 2009-01-12 21:26:53 +01:00
Enrico Weigelt, metux IT service
a871e29a3f minor changelog fixes 2009-01-11 21:59:27 +01:00
Patrick Winnertz
dab3fd8abf Merge branch 'mc-4.6'
Merge Changelog entry about pascal syntax highlighting

Conflicts:
	ChangeLog
2009-01-11 14:51:03 +01:00
Patrick Winnertz
06fe566df2 Add changelog entry about the pascal syntax highlighting. 2009-01-11 14:49:56 +01:00
Enrico Weigelt, metux IT service
ff9ff2058d Reverted accidentially committed drop-slang change ;-o 2009-01-10 20:53:19 +01:00
Enrico Weigelt, metux IT service
16130f7caa 2009-01-10 Enrico Weigelt, metux ITS <weigelt@metux.de>
* syntax/Makefile.am syntax/Syntax syntax/haskell.syntax:
    added syntax definition for Haskell (taken from rhclub-tree)
2009-01-10 14:35:31 +01:00
Enrico Weigelt, metux IT service
154feb5160 2009-01-10 Enrico Weigelt, metux ITS <weigelt@metux.de>
* edit/editcmd.c:
    * src/achown.c src/background.c src/boxes.c src/chmod.c:
    * src/chown.c src/cmd.c src/command.c src/dir.c src/execute.c:
    * src/ext.c src/file.c src/filegui.c src/find.c src/help.c:
    * src/learn.c src/main.c src/panelize.c src/screen.c:
    * src/selcodepage.c src/subshell.c src/tree.c src/user.c:
    * src/utilunix.c src/view.c:
    * vfs/cpio.c vfs/direntry.c vfs/extfs.c vfs/fish.c vfs/ftpfs.c:
    * vfs/mcfs.c vfs/sfs.c vfs/smbfs.c vfs/tar.c vfs/undelfs.c:
    * vfs/utilvfs.c vfs/vfs.c:

    Changed message type codes on calls to message(), query_dialog(),
    close_error_pipe() from numeric IDs to symbols D_ERROR, D_NORMAL
2009-01-10 14:13:56 +01:00
Enrico Weigelt, metux IT service
f30e0fe86e removed bundled slang 2009-01-07 14:24:33 +01:00
Roland Illig
bdf23438af mcedit can be invoked with the common filename:lineno syntax. 2008-12-18 12:21:23 +00:00
Pavel Roskin
c85192c705 * doc/hu/mc.1.in: Fix description for M-u and M-H. Reported by
Bozo Lajos.
2008-02-19 17:25:27 +00:00
Roland Illig
eccc4a4fec ... this closes bug #21959. 2008-01-06 12:45:38 +00:00
Roland Illig
b644f5a136 Answered the FAQ regarding the slow startup related to the Samba
configuration.
2008-01-06 12:45:03 +00:00
Pavel Tsekov
f5c8203418 * NEWS: Update for 4.6.2. 2007-10-19 12:14:46 +00:00
Pavel Tsekov
56eccaadb4 * configure.ac: Determine the size of long', long long' and
off_t.
* vfs/fish.c (fish_linear_start): Use strtol() or strtoll() to retrieve
the size of the file being retrieved.
2007-10-11 12:32:42 +00:00
Pavel Tsekov
f6a49ff8e3 * NEWS: Revert last change - it is invalid. 2007-09-26 13:55:33 +00:00
Pavel Tsekov
ad135b0727 * m4/codeset.m4: Update to serial #2.
* m4/fsusage.m4: Update to serial #23.
* m4/iconv.m4: Update to serial #AM6.
* m4/intdiv0.m4: Update from gnulib.
* m4/intmax.m4: Update to serial #3.
* m4/inttypes-pri.m4: Update to serial #4.
* m4/inttypes_h.m4: Update to serial #7.
* m4/lib-link.m4: Update to serial #13.
* m4/lib-prefix.m4: Update to serial #5.
* m4/longlong.m4: Update to serial #10.
* m4/onceonly.m4: Update to serial #4.
* m4/printf-posix.m4: Update to serial #3.
* m4/size_max.m4: Update to serial #6.
* m4/stdint_h.m4: Update to serial #6.
* m4/ulonglong.m4: Update to serial #6.
* m4/wint_t.m4: Update to serial #2.
2007-09-24 16:14:49 +00:00
Pavel Tsekov
78d356ed89 * doc/mcedit.1.in: Update the version number to 4.6.2-pre1.
* doc/mcview.1.in: Ditto.
* doc/mcserv.8.in: Ditto.
2007-09-24 12:50:36 +00:00
Pavel Tsekov
97c4582e9c * FAQ: Update MC's homepage url.
* README: Ditto.
* mc.qpg.in: Ditto.
* mc.spec.in: Ditto.
* doc/mc.1.in: Ditto.
* doc/mcedit.1.in: Ditto.
* doc/mcserv.8.in: Ditto.
* doc/mcview.1.in: Ditto.
* doc/es/mc.1.in: Ditto.
* doc/hu/mc.1.in: Ditto.
* doc/it/mc.1.in: Ditto.
* doc/pl/mc.1.in: Ditto.
* doc/ru/mc.1.in: Ditto.
* doc/sr/mc.1.in: Ditto.
* doc/sr/mcserv.8.in: Ditto.
* lib/mc.hint: Ditto.
* lib/mc.hint.cs: Ditto.
* lib/mc.hint.es: Ditto.
* lib/mc.hint.hu: Ditto.
* lib/mc.hint.it: Ditto.
* lib/mc.hint.nl: Ditto.
* lib/mc.hint.pl: Ditto.
* lib/mc.hint.ru: Ditto.
* lib/mc.hint.sr: Ditto.
* lib/mc.hint.uk: Ditto.
* lib/mc.hint.zh: Ditto.
2007-09-24 12:40:47 +00:00
Pavel Tsekov
834cbed64f * configure.ac: Update the version number to 4.6.2-pre1.
* doc/mc.1.in: Likewise.
2007-09-10 14:25:30 +00:00
Pavel Tsekov
59d63bca65 * doc/mc.1.in: Place the description of the "Swap panels" on
a paragraph of its own.
2007-01-13 16:21:17 +00:00
Pavel Tsekov
b33ded92e8 * m4/ls-mntd-fs.m4: Update to serial #26. 2006-12-30 12:20:50 +00:00
Pavel Tsekov
2e693eb196 * m4/fsusage.m4: Update to serial #22. 2006-12-30 11:57:51 +00:00
Pavel Tsekov
e356d015d2 * m4/fsusage.m4: Update to serial #18. 2006-12-30 11:49:03 +00:00
Pavel Roskin
53f963fef5 * build-glib1.sh: Fix misplaced --with-glib12. Copy
config.guess and config.sub from mc to glib sources - they are
too old in glib.
* build-glib2.sh: Update to the latest versions of glib, gettext
and pkg-config.
2006-12-28 05:28:56 +00:00
Leonard den Ottolander
0ac1df7d4f * src/subshell.c (subshell_name_quote): Bash < 2.05b (3-digit octals in
echo_e_cmd) no longer supported.
* NEWS: Comment reflecting above change.
2006-11-27 21:33:45 +00:00
Pavel Tsekov
4d56b647fa * acinclude.m4 (AC_GET_FS_INFO): Add erronously removed call to
gl_FSTYPENAME.
* m4/ls-mntd-fs.m4 (gl_LIST_MOUNTED_FILE_SYSTEMS): Add missing
include directive for sys/param.h.
2006-09-07 15:59:51 +00:00
Pavel Tsekov
d407b130f4 * m4/ls-mntd-fs.m4: Update to serial#22, which adds support
for getmntinfo() returning its result in struct statvfs.
* m4/fstypename.m4: Update to serial#6, which replaces
HAVE_F_FSTYPENAME_IN_STATFS with HAVE_STRUCT_STATFS_F_FSTYPENAME.
* src/mountlist.c: Sync with gnulib.
All uses of HAVE_F_FSTYPENAME replaced by HAVE_STRUCT_STATFS_F_FSTYPENAME.
[MOUNTED_GETMNTINFO2] Include sys/statvfs.h.
(read_file_system_list) [MOUNTED_GETMNTINFO2]: Implement.
2006-09-07 15:12:47 +00:00
Pavel Tsekov
f588181dc6 * acinclude.m4 (AC_GET_FS_INFO): Revert a failed attempt to properly detect
getmntinfo() returning its result in struct statvfs.
* src/mountlist.c: Revert a failed attempt to properly detect and use
getmntinfo() returning its result in struct statvfs.
2006-09-07 14:20:57 +00:00
Pavel Tsekov
e599536b2c * acinclude.m4 (AC_GET_FS_INFO): Check the return value of getmntinfo()
properly.
2006-06-30 07:44:18 +00:00
Pavel Tsekov
9e1dd4594d * m4/fstypename.m4: New file.
* acinclude.m4 (AC_GET_FS_INFO): Add a check to determine whether
getmntinfo() takes struct statvfs instead of struct statfs as its
first argument. Define MOUNTED_GETMNTINFO_STATVFS if it does.
Add a check to determine whether struct statvfs has a field named
f_fstypename.
Use gl_FSTYPENAME tp determine whether struct statfs has a field
named f_fstypename.
* src/mountlist.c (HAVE_F_FSTYPENAME): Define when getmntinfo() is
used and the struct which it fills has a field named f_fstypename.
(read_filesystem_list) [MOUNTED_GETMNTINFO]: Use
MOUNTED_GETMNTINFO_STATVFS to determine the type of the first
argument to getmntinfo().
2006-06-17 15:39:07 +00:00
Pavel Tsekov
e9996b613b * configure.ac: Revert last commit. 2006-06-07 12:00:10 +00:00
Roland Illig
5ecd3047c7 Documented the change to m4/lst-mntd-fs.m4. 2006-05-29 08:16:51 +00:00
Roland Illig
d647096f53 Fixed detection of the filesystem information on NetBSD 3.0. 2006-05-21 10:06:39 +00:00
Pavel Tsekov
40ef73306f * acinclude.m4 (AC_GET_FS_INFO): Make it work again - the last commit broke
it.
* m4/onceonly.m4: New file.
2006-04-18 13:03:11 +00:00
Leonard den Ottolander
b1069b32eb * doc/mc.1.in: Function key documentation update. 2006-04-13 16:06:50 +00:00
Leonard den Ottolander
9801c06027 * acinclude.m4 (AC_GET_FS_INFO): Replace old fileutils code to get
mount and file system information with m4_includes of the corresponding
	GNU coreutils-5.94 files (ls-mntd-fs.m4 (#20) and fsusage.m4 (#16)).

	* m4/fsusage.m4, m4/ls-mntd-fs.m4: Create.
2006-03-18 13:17:50 +00:00
Pavel Tsekov
264697b010 * vfs/fish.h: New file.
* vfs/fish.c (fish_directory_timeout): Define new global variable.
(FISH_DIRECTORY_TIMEOUT): Eliminate - this macro is not used
anywhere.
(fish_dir_load): Use `fish_directory_timeout' to calculate the
expiration time of a newly created directory entries.
* src/setup.c [USE_NETCODE]: Include fish.h .
(int_options) [USE_NETCODE]: Add support for user configurable
expiration timeout of FISH directory cache entries.
* doc/mc.1.in: Document `fish_directory_timeout'.
2006-02-23 15:32:18 +00:00
David Martin
25b3b37415 * doc/es/mc.1.in: Cleanup. Fix key naming. 2006-02-18 13:37:42 +00:00
Pavel Tsekov
04000dcf84 * doc/mc.1.in: Update the documentation to reflect the fact that
confirmation may be requested when deleting directory hotlist entries
based on a user configurable setting.
* src/file.h (safe_delete): Move declaration of `safe_delete'
* src/main.h: ... here.
(confirm_directory_hotlist_delete): Declare new global variable.
* src/file.c (safe_delete): Move definition of `safe_delete'
* src/main.c: ... here.
(confirm_directory_hotlist_delete): Define new global variable.
* src/hotlist.c (remove_from_hotlist): Based on a user configurable
setting, request confirmation when removing directory hotlist
entries. The confirmation dialog honours the `Safe delete'
setting.
Reorder the buttons in the hotlist group removal confirmation
dialog so that it becomes consistent with other confirmation
boxes.
* src/setup.c (int_options): Add support for user configurable
confirmation of directory hotlist entries removal.
* src/boxes.c (conf_widgets): Likewise.
(confirm_box): Likewise.
(my_directory_hotlist_delete): New module variable.
2006-01-29 20:26:05 +00:00
Pavel Tsekov
b3fa1f0a3e * src/cmd.c: When invoking external viewer, probe VIEWER environment
variable first, then PAGER, then fall back to "view".
* lib/mc.hint: Mention VIEWER environment variable.
* doc/mc.1.in: Document support for VIEWER environment variable.
2006-01-29 10:41:47 +00:00