Pavel Roskin
0ba019a90b
* configure.in: Use AC_CHECK_MEMBERS to check fields of struct
...
stat. Adjust all dependencies.
2003-10-29 17:36:16 +00:00
Pavel Roskin
edce41facd
* utilvfs.c (vfs_mkstemps): New function - create temporary file
...
with the name resembling the original, but safe for scripts.
* direntry.c (vfs_s_open): Use it.
(vfs_s_retrieve_file): Likewise.
* extfs.c (extfs_open): Likewise.
* sfs.c (sfs_redirect): Likewise.
2003-10-29 00:50:36 +00:00
Pavel Roskin
77bcdc8127
* vfs.c (mc_ungetlocalcopy): Free local path here, not in class
...
implementations.
* vfs.h (struct vfs_s_class): Constify "local" argument for
ungetlocalcopy. Adjust all implementations.
2003-10-28 21:52:06 +00:00
Pavel Roskin
8e3a0c9d65
* direntry.c (vfs_s_init_class): Improve interface to allow more
...
code reuse. Change all callers.
(vfs_s_getlocalcopy): New implementation. Don't use
mc_def_getlocalcopy(). Use vfs_s_open() to create local copy.
(vfs_s_ungetlocalcopy): New function.
* xdirentry.h: Add new field "flags" to struct vfs_s_subclass.
* extfs.c (extfs_ungetlocalcopy): Don't use
mc_def_ungetlocalcopy() in the dead branch.
* vfs.c (mc_def_getlocalcopy): Make static.
(mc_def_ungetlocalcopy): Likewise.
2003-10-28 07:09:39 +00:00
Pavel Roskin
7d16d65e35
* vfs.h: Constify some arguments for many functions.
...
* xdirentry.h: Likewise. Adjust all dependencies.
2003-10-28 02:10:33 +00:00
Pavel Roskin
5bc20fd294
* *.c: Rename functions that don't have an a prefix indicating
...
what file they are defined in. This simplifies debugging.
2003-10-28 00:57:02 +00:00
Pavel Roskin
520f6ddb6c
* vfs.c (mc_def_getlocalcopy): Use O_LINEAR when retrieving the
...
remote file. This avoids an extra temporary file.
2003-10-27 21:55:06 +00:00
Pavel Roskin
4ee3f26133
* cpio.c (cpio_ungetlocalcopy): Remove.
...
* tar.c (tar_ungetlocalcopy): Likewise.
* vfs.c (mc_def_ungetlocalcopy): Add support for read-only
filesystems.
2003-10-27 21:01:00 +00:00
Pavel Roskin
24384e9a89
* panel.h: Fix duplication between cpanel and current_panel in
...
favor of current_panel. Ditto opanel and other_panel.
2003-10-26 06:45:59 +00:00
Pavel Roskin
211ce16fac
* wtools.c: Merge mc_message() and message() into one background
...
safe function message(). Fix all callers.
2003-10-26 04:47:20 +00:00
Pavel Roskin
2d33b5047e
* background.c: Replace all message stubs with a new function
...
mc_message(). Protect against strlen(MSG_ERROR). Adjust all
dependencies.
2003-10-25 19:54:24 +00:00
Pavel Roskin
3b2e731d3d
* vfs.c (mc_open): Fix rare memory leak on failure.
2003-10-16 20:46:08 +00:00
Pavel Roskin
0b99804da2
* names.c: Merge ...
...
* utilvfs.c: ... here.
* names.h: Merge ...
* utilvfs.h: ... here.
* Makefile.am: Remove references to names.c and names.h.
2003-10-16 16:50:09 +00:00
Pavel Roskin
52844a3092
* vfs.h: Rename commands for mc_ctl() and mc_setctl() to make it
...
clear which function they are used with.
* vfs.c (mc_ctl): Change last argument to (void*).
(mc_set): Likewise.
Adjust all dependencies.
2003-10-16 16:12:19 +00:00
Pavel Roskin
426c1836d5
* vfs.h: Remove all references to seekdir and telldir. Adjust
...
all dependencies.
2003-10-14 22:24:26 +00:00
Pavel Roskin
600891d8d5
* vfs.c (_vfs_add_noncurrent_stamps): Fix incorrect casts.
2003-10-13 06:56:31 +00:00
Pavel Roskin
72c64a60e2
* extfs.c: Switch to self-registration.
...
* mcfs.c: Likewise.
* sfs.c: Likewise.
* smbfs.c: Likewise.
* undelfs.c: Likewise.
* vfs.s (_vfs_add_noncurrent_stamps): Temporary disable code
that uses vfs_extfs_ops.
(vfs_file_is_smb): Remove.
2003-10-12 22:25:53 +00:00
Pavel Roskin
2e524d3cad
* local.c: Switch to self-registration.
...
* vfs.c: Cache localfs class for the use in vfs_get_class().
2003-10-12 19:57:27 +00:00
Pavel Roskin
00b57fd4bf
* vfs.h: Remove typedef vfs, it's too ambiguous. Massive
...
changes to use struct vfs_class instead.
2003-10-12 00:24:00 +00:00
Pavel Roskin
4b1ec7399b
* vfs.c (vfs_setup_wd): Initialize current_vfs here, not
...
globally.
(vfs_type_from_op): Rename to vfs_prefix_to_class(), avoid using
vfs_local_fs.
(vfs_strip_suffix_from_filename): Don't use vfs_local_fs.
2003-10-11 22:17:52 +00:00
Pavel Roskin
6e6fd9b352
* vfs.c (vfs_add_noncurrent_stamps): Call vfs_rm_parents() at
...
the end. Change all callers not to call it.
(vfs_rm_parents): Make static.
2003-10-11 17:30:54 +00:00
Pavel Roskin
3fb8e46501
* direntry.c: Don't use vfs_local_fs directly, use VFSF_LOCAL.
...
* extfs.c: Likewise.
* vfs.c (vfs_addstamp): Likewise.
(vfs_init): Register vfs_local_fs like other classes.
2003-10-11 16:54:46 +00:00
Pavel Roskin
5cad1eb493
* tarfs.c: Switch to self-registration.
2003-10-11 09:55:13 +00:00
Pavel Roskin
b2486a2b71
* extfs.c: Don't include xdirentry.h.
...
* vfs.c: Likewise.
2003-10-11 09:36:29 +00:00
Pavel Roskin
c028805b33
* ftpfs.c: Switch to self-registration.
2003-10-11 09:27:37 +00:00
Pavel Roskin
1d6e00faf0
* vfs.h: Introduce new VFS flags instead of the old unused ones.
...
* vfs.c (vfs_file_class_flags): New function.
(vfs_file_is_ftp): Eliminate.
(vfs_file_is_smb): Likewise.
(vfs_file_is_local): Likewise.
(vfs_current_is_local): Use new VFSF_LOCAL flag.
2003-10-11 08:21:16 +00:00
Pavel Roskin
60bab59379
* vfs.c: Constify arguments of many functions.
2003-10-11 07:38:05 +00:00
Pavel Roskin
5659c0f5ee
* vfs.c (vfs_release_path): New function, code taken from
...
_do_panel_cd().
(vfs_ncs_getid): Make static.
2003-10-11 06:43:59 +00:00
Pavel Roskin
9d1f2aae71
* vfs.c (vfs_type): Rename to vfs_get_class(). Fix prototype to
...
avoid using internal vfs type. Adjust all dependencies.
(vfs_rosplit): Rename to _vfs_get_class().
2003-10-11 06:25:29 +00:00
Pavel Roskin
617bf6880a
* vfs.c (vfs_flags): Eliminate, it's never assigned a non-zero
...
value.
* vfs.h: Eliminate unused VFS flags.
* local.c (vfs_nil_ops): Eliminate, it's unused now.
2003-10-10 23:49:44 +00:00
Pavel Roskin
413f8cbabd
* fish.c: Convert to calling vfs_register_class().
...
* fish.h: Eliminate. Adjust all dependencies.
* direntry.c (vfs_s_init_class): Add missing vfs_s_setctl().
2003-10-10 23:38:03 +00:00
Pavel Roskin
b2edfddd7e
* vfs.h: Rename "struct _vfs" to "struct vfs_class". Allow
...
calling vfs_register() in the file defining the VFS class.
* vfs.c (vfs_init): Register cpiofs in cpio.c.
(vfs_register): Rename to vfs_register_class(), remove "static".
* direntry.c (vfs_s_init_class): New function - generic VFS
class registraction for vfs_s descendants.
* cpio.c: Register VFS class locally.
2003-10-10 23:13:09 +00:00
Pavel Roskin
9ddf2306e5
* vfs.c (vfs_type_from_op): Check if vfs->prefix is NULL before
...
calling strlen() on it.
(vfs_strip_suffix_from_filename): Likewise.
(mc_chdir): Don't panic if no chdir function is defined. This
fixes "cd #gz".
2003-09-28 20:35:08 +00:00
Pavel Roskin
525deb6fc7
* vfs.c (vfs_canon): Remove tilde expansion. mc_chdir() should
...
act like chdir() of localfs, which doesn't expand tilde.
Reported by Doncho Gunchev <mr700@globalnet.bg>
2003-09-23 05:18:50 +00:00
Pavel Roskin
cdd8f8ce86
* vfs.c (mc_get_current_wd): Use g_strlcpy() to avoid unneeded
...
padding and silence Valgrind.
2003-09-22 19:43:41 +00:00
Pavel Roskin
ab84c14503
* vfs.c: Rename mc_return_cwd() to _vfs_get_cwd(). Move
...
related functions closer to each other, add comments.
2003-06-06 00:50:22 +00:00
Pavel Roskin
6df9219f85
* extfs.c (extfs_open): Retain original filename as a suffix
...
for the temporary filename.
* vfs.c (mc_def_getlocalcopy): Likewise.
2003-02-26 17:43:18 +00:00
Andrew V. Samoilov
004ae18d9e
* vfs.c (is_localized_month): New function for locale's
...
abbreviated month name as any 3 bytes long string without digits
and control characters.
(vfs_parse_filedate): Fallback to is_localized_month() if
is_month() and is_dos_date() fail and set date to Jan 1 1970.
(vfs_parse_ls_lga): Use is_localized_month().
2003-02-19 08:38:49 +00:00
Pavel Roskin
f2c028ce46
s/can not/cannot/
2002-12-26 02:21:37 +00:00
Pavel Roskin
423849f74d
Partly revert the last change - low-level chdir actually writes to
...
the "directory" argument, so preserve it.
2002-12-25 04:38:50 +00:00
Pavel Roskin
075d359907
* vfs.c (mc_chdir): Don't change current directory until the
...
low-level chdir succeeds.
2002-12-25 04:02:34 +00:00
Pavel Roskin
3a377a802d
* vfs.c (vfs_name): Eliminate - it's unused and wrong.
2002-12-25 02:47:21 +00:00
Pavel Roskin
63faf36f15
* vfs.c (is_dos_date): Allow 4-digit years.
...
(vfs_parse_filedate): Don't limit length of the year field for
DOS dates, subtract 1900 if necessary.
2002-12-13 00:22:06 +00:00
Andrew V. Samoilov
60a725395c
* vfs.c (mc_stat): Make first argument const.
...
(mc_lstat): Likewise.
* vfs.h: Adjust declarations and remove some useless defines.
2002-12-11 09:36:50 +00:00
Pavel Roskin
b246f3c7ea
s/Could not/Cannot/
2002-12-08 01:12:18 +00:00
Pavel Roskin
5cb2ef30f3
Fix duplicate declarations.
2002-11-15 06:38:55 +00:00
Pavel Roskin
91f7a47331
* vfs.c: Leave only necessary includes from ../src.
2002-11-11 06:28:30 +00:00
Pavel Roskin
e5140f37d4
* vfs.c: Make the last argument to MC_OP non-empty in the
...
definition of MC_HANDLEOP. Needed for Mac OS X.
Reported by Wim Rijnders <wimrijnders@home.nl>
2002-11-11 02:03:35 +00:00
Andrew V. Samoilov
4e7527980a
* vfs.c (mc_get_current_wd): Make shue returned string is null terminated.
2002-11-06 18:41:34 +00:00
Pavel Roskin
3f40a2b274
* vfs.c: Remove unused code.
...
* vfs.h: Define vfs_uid and vfs_gid as 0, they never change.
2002-11-03 10:24:45 +00:00
Pavel Roskin
d3f0a2f61b
Remove spaces around "Error" and "Warning" together with their translations.
...
Also remove spaces from "Quit" and "Search", but leave alone the
translations, that already have them without spaces.
2002-10-21 04:13:49 +00:00
Pavel Roskin
da7e82d253
Global removal of RCS Id: flags.
2002-09-26 23:13:45 +00:00
Pavel Roskin
d2417f2096
* vfs.c (vfs_parse_filemode): Fix parsing for filenames that
...
begin with a number.
From Jindrich Makovicka <makovick@kmlinux.fjfi.cvut.cz>
2002-09-25 05:09:08 +00:00
Pavel Roskin
966511399b
Move fcntl.h inclusion to global.h.
2002-09-23 06:45:32 +00:00
Pavel Roskin
8568fc50d9
* Make-alone.am: Get rid of all standalone code, it has been
...
unmaintained for years.
2002-09-10 21:48:49 +00:00
Pavel Roskin
3697034770
* vfs.c (vfs_init) [!USE_NETCODE]: Don't register fish.
2002-09-06 01:27:45 +00:00
Pavel Roskin
8355430596
* vfs.c (vfs_get_password): Use INPUT_PASSWORD to request a
...
password reliably.
2002-09-03 17:38:30 +00:00
Pavel Roskin
6f0a3ef49f
* vfs.c (vfs_parse_ls_lga): Better error message, avoid empty
...
error messages.
2002-08-24 16:29:24 +00:00
Pavel Roskin
b1dbe77c5b
* vfs.c (mc_def_getlocalcopy): Preserve existing extension.
2002-08-15 22:30:05 +00:00
Pavel Roskin
c0d6dec814
* mcserv.c: Remove all references to MAD.
...
* vfs.c: Likewise.
2002-08-01 19:48:21 +00:00
Pavel Roskin
5389b39585
* vfs.c: Add protection against NULL strings to all is_*() functions.
2002-06-25 21:51:37 +00:00
Andrew V. Samoilov
baf5611b51
* vfs.c (MC_RENAMEOP): Make arguments const.
...
* vfs.h (mc_rename): Adjust declaration.
* (mc_link): Likewise.
2002-05-13 15:39:22 +00:00
Andrew V. Samoilov
bef57252f4
* vfs.c (vfs_print_stats): s/transfered/transferred/
2002-04-24 08:11:07 +00:00
Andrew V. Samoilov
a0ae265bbc
* vfs.c (vfs_init) [!WITH_MCFS]: Don't register mcfs.
2002-04-19 07:25:32 +00:00
Andrew V. Samoilov
1711c0ab8b
* direntry.c (vfs_s_retrieve_file): Use off_t for total
...
and stat_size.
* vfs.c (vfs_s_resolve_symlink): Use snprintf
instead of sprintf.
(vfs_print_stats): Use off_t for have and need. Cast
have to double to eliminate negative percent(s).
Fix print_vfs_message string formats.
* vfs.h (vfs_print_stats): Adjust declaration.
* ftpfs.c (file_store): Use off_t for total.
Fix print_vfs_message string format.
2002-02-08 09:42:38 +00:00
Andrew V. Samoilov
2d966e0364
* vfs.c (mc_return_cwd): Fix comment. Check whatever mc_stat
...
returns. Make mc_return_cwd static const char *.
Reorder if statement to eliminate unneeded mc_stat calls.
2002-01-21 11:52:25 +00:00
Andrew V. Samoilov
dd5ccea5d6
* vfs.c (mc_return_cwd): Memory leak fixed.
2001-11-02 18:18:14 +00:00
Pavel Roskin
388a2fe2bf
* vfs.c (vfs_parse_filetype): Fix fallback to fifo if sockets
...
are not supported locally. Support Solaris doors, also fall
back to fifo.
2001-10-07 09:01:17 +00:00
Pavel Roskin
534e8f432a
* vfs.c: Manually expand macros for mc_stat(), mc_lstat() and
...
mc_fstat() because they don't expand correctly on Solaris 8 with
large file support.
2001-09-17 21:29:51 +00:00
Pavel Roskin
efe396e30e
* vfs.c (vfs_parse_ls_lga): Warning fix if st_nlink is unsigned.
...
Disallow st_nlink = 0.
2001-08-19 16:11:39 +00:00
Pavel Roskin
613dc4d1ca
* vfs.c (mc_return_cwd): Use g_get_current_dir().
2001-07-18 03:44:38 +00:00
Andrew V. Samoilov
442bf424d9
* vfs.c [VFS_STANDALONE]: Undefine WITH_SMBFS, they are mutually
...
exclusive now.
(is_week): Unmade week static.
(is_month): Unmade month static.
(vfs_parse_ls_lga): Optimize memory usage.
2001-06-15 22:42:50 +00:00
Pavel Roskin
5da3b42969
* ftpfs.c: Declare functions without declarations static. Don't
...
omit `void' in declarations.
* cpio.c: Likewise.
* direntry.c: Likewise.
* extfs.c: Likewise.
* mcfs.c: Likewise.
* tar.c: Likewise.
* vfs.c: Likewise.
* vfs.h: Likewise.
* mcserv.c: Likewise. Remove unused functions.
2001-06-14 20:08:27 +00:00
Pavel Roskin
c6f85d7969
* vfs.c (vfs_canon): s/canonize/canonicalize/.
2001-06-02 06:36:00 +00:00
Pavel Roskin
038099783c
* vfs.c (vfs_split_text): Fill `columns' with zeroes before
...
writing new data into it.
2001-05-22 22:40:44 +00:00
Pavel Roskin
bea09b932d
* src/ext.c (exec_extension): Use mc_mkstemps().
...
* src/user.c (execute_menu_command): Use mc_mkstemps().
* src/util.c (mc_mkstemps): New function - safely create and
open temporary file. Return the handle and the name.
* src/util.h: Declarations for init_tmpdir() and mc_mkstemps().
Define TMPDIR_DEFAULT and SCRIPT_SUFFIX.
* vfs/direntry.c (vfs_s_open): Use mc_mkstemps. Create and close
temporary file to reserve its name on the filesystem.
(vfs_s_retrieve_file): Use mc_mkstemps().
(g_tempnam): Remove.
* vfs/extfs.c (extfs_open): Use mc_mkstemps().
* vfs/sfs.c (redirect): Likewise.
* vfs/shared_ftp_fish.c (_get_file_entry): Likewise.
(retrieve_file): Likewise.
* vfs/vfs.c (mc_def_getlocalcopy): Likewise.
* vfs/xdirentry.h: Remove declaration of g_tempnam().
2001-05-21 16:21:07 +00:00
Pavel Roskin
8a025d6efa
* vfs.c (vfs_addstamp): Rename st1 to last_stamp. Initialize it
...
with NULL to suppress compiler warning.
2001-05-18 19:04:42 +00:00
Andrew V. Samoilov
4ac1c260e9
* vfs.[ch] (vfs_parse_ls_lga, vfs_parse_filemode): p constified
...
(vfs_strip_suffix_from_filename): filename constified
(vfs_parse_ls_lga): memory leaking fixed when line can't be parsed,
chomping unified
2001-03-05 06:00:27 +00:00
Pavel Machek
7c997958f6
Error handling of ungetlocalcopy was buggy. Fixed.
2001-02-28 21:50:57 +00:00
Pavel Machek
776af93dc8
Do not ignore errors during mc_ungetlocalcopy.
2001-02-27 22:19:04 +00:00
Pavel Roskin
447597a790
* vfs.h: Include sys/timeb.h if it's present. Include time.h and
...
sys/time.h as recommended by Autoconf documentation.
* cpio.c: Remove all time-related includes - they are in vfs.h.
* extfs.c: Likewise.
* ftpfs.c: Likewise.
* mcfs.c: Likewise.
* mcserv.c: Likewise.
* tar.c: Likewise.
* util-alone.c: Likewise.
* vfs.c: Likewise. Include xdirentry.h.
2001-02-20 16:55:58 +00:00
Pavel Roskin
a18b4a09eb
* vfs.c (vfs_parse_filedate): Don't reset got_year to 0 while
...
checking for ctime() format.
From Peter Daum.
2001-02-15 01:37:43 +00:00
Pavel Machek
55e56a1426
Fixes from Roland: we may not g_free() strdup-ed text.
2000-10-31 15:43:49 +00:00
Pavel Machek
eabe77c776
Better /#a filesystem
2000-09-14 20:53:57 +00:00
Pavel Roskin
e828211662
Updated address of Free Software Foundation
2000-08-22 22:50:00 +00:00
Pavel Machek
b1185ecc73
* vfs.c (mc_[un]def_getlocalcopy): better error handling on writing
...
--------------------------------------------------------------
2000-05-25 14:47:48 +00:00
Pavel Machek
c319041ba8
2000-05-15 Andrew V. Samoilov <sav@bcs.zp.ua>
...
* tar.c (read_header): memory leaking for empty symlink's names fixed
* utilvfs.c (vfs_split_url): *host is not assigned if host is null
* ftpfs.c (login_server): new features of vfs_split_url () used,
my_get_host_and_username became macro
* vfs.c (mc_opendir, mc_chdir): unneeded calls to concat_dir_and_file
removed (vfs_canon removes trailing '/')
* sfs.c (vfmake, redirect): allocated memory realeased on errors
2000-05-16 14:59:33 +00:00
Pavel Machek
8542ae3328
Fixed problems with stating / of ftp archive; minor bugfix.
2000-05-03 19:10:52 +00:00
Pavel Machek
a1225de8b3
Fix problems with stating / of ftp server + NO_LOCALHASH to prevent
...
podfuk deadlocs
2000-04-16 19:13:00 +00:00
Timur Bakeyev
ec83d4571e
2000-04-15 Timur Bakeyev <mc@bat.ru>
...
* ftpfs.c (netrc_next): "const char * keywords" is pretty nice.
* ftpfs.c (dir_load): At last, found place, that broke handling
directories with spaces in name. Problem was in prepending "/"
to "." for current directory. Which was, obviously, wrong. Hacked
to make just "LIST -la ." instead.
* vfs.c: Changed to BUF_* constants in some places.
2000-04-14 01:14:26 +00:00
Pavel Machek
425dbd07c1
2000-03-31 Andrew V. Samoilov <sav@bcs.zp.ua>
...
* vfs.c (mc_def_getlocalcopy): free() replaced by g_free() to prevent
crushes with mad, thanks to Timur I. Bakeyev <timur@bat.ru>
* fish.c (linear_start): name wasn't freed after usage
* cpio.c (cpio_ungetlocalcopy): return type changed to int,
function return 0 now
* direntry.c (vfs_s_close, vfs_s_resolve_symlink): memory, allocated
by vfs_s_fullpath () is freed after use
* ftpfs.c (linear_start): ditto;
2000-04-05 13:08:42 +00:00
Pavel Machek
24ccfadb27
2000-03-06 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
...
Patch by Andrew V. Samoilov <sav@bcs.zp.ua>
* vfs.c (vfs_parse_ls_lga): don't hard code st_ino and st_dev to 0's,
these variables must be assigned in vfs_s_new_inode () or extfs
layer, so ftpfs subdirectories now can be copied.
2000-03-06 16:31:37 +00:00
Pavel Machek
fff243a9db
2000-02-18 Andrew V. Samoilov <sav@bcs.zp.ua>
...
* vfs.c (mc_def_getlocalcopy): tempnam() returns malloc()ed buffer,
so, free() it, not g_free();
(vfs_canon): prepend filename by cwd when tilde '~' cannot be expanded;
* vfs.[ch] (vfs_canon, mc_open, vfs_file_is_local,
mc_(un)?getlocalcopy): added const qualifier
2000-02-24 12:00:30 +00:00
Pavel Machek
5d240399be
2000-02-22 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
...
* cpio.c: added. Thanx to Jan Hudec <bulb@centrum.cz>, who wrote
it using code from tarfs.
2000-02-22 18:21:41 +00:00
Pavel Machek
0de889ce6f
Applied changes by "Andrew V. Samoilov" <sav@bcs.zp.ua>
...
Fixed files with names like "1900" (or broken them other way), minor
coding style fixes.
2000-01-05 14:13:57 +00:00
Pavel Machek
748e4c38f9
1999-12-15 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
...
* Merged changes by Andrew V. Samoilov <sav@bcs.zp.ua>. They are
mostly internationalization + fixing stupid bugs of mine
1999-12-16 12:55:16 +00:00
Pavel Machek
1139602a9b
Return value is needed for mc_[un]getlocalcopy.
1999-11-11 14:23:40 +00:00
Norbert Warmuth
6fae3e0425
1999-08-15 David Martin <dmartina@usa.net>
...
* gtkedit/edit.c: Print localized date with strftime()
* src/boxes.c: (symlink_dialog): Move dialog misaligned elements
* vfs/vfs.c (vfs_print_stats): Translate vfs stats
* vfs/shared_ftp_fish.c (s_read, s_lseek): Mark strings for translation
* vfs/fish.c: Translate messages
* src/boxes.c: (symlink_dialog): Move dialog misaligned elements
* src/cmd.c (get_random_hint): Look for localized hint files
* lib/mc.hint.es: NEW FILE. Hints in Spanish flavour.
1999-08-15 Norbert Warmuth <nwarmuth@privat.circular.de>
* src/cmd.c (guess_message_value): New function. Determine locale used
for messages
(get_random_hint): use guess_message_value
* lib/Makefile.in: added mc.hint.es to LIBFILES_CONST
1999-08-16 05:31:23 +00:00
Norbert Warmuth
fc05bf2408
1999-08-01 David Martin <dmartina@usa.net>
...
* gnome/gcmd.c (gnome_about_cmd): Change strings in gmc "about" to
static as they only translated once.
* src/menu.c (create_menu, menubar_drop_compute, menubar_paint_idx):
Discount '&' for hotkeys when checking menu widths to avoid the
extra blank space.
Moved this accounting from the drawing to the creating function.
* src/widget.c: Translate History box tittle.
* po/es.po, po/es_ES.po: added translation for history box title
1999-08-01 Norbert Warmuth <nwarmuth@privat.circular.de>
* src/vfs.c: Don't close a function definition with "};". SunCC from
2.5.1 chokes on the extra semicolon.
(mc_munmap): Don't dereference function pointer when checking for
NULL (this check is supposed to prevent a segfault instead of
causing one). This haven't got noticed up to now becaue there's no
file system with mmap but without munmap.
1999-08-01 11:37:25 +00:00
Miguel de Icaza
9f81821878
1999-06-22 Miguel de Icaza <miguel@nuclecu.unam.mx>
...
* acconfig.h: Add WITH_SMBFS
* macros/gnome-vfs.m4: Support conditional samba support.
1999-06-22 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gsession.c (create_default_panel): Use directory specified in
command line.
* gcorba.c (corba_create_window): Pass the directory we receive or
cwd if this value is NULL.
* gmain.c (non_corba_create_panels): Use parameter for startup
directory (use the this_dir external directory for this).
(create_panels): Pass this_dsir to non_corba_create_panels and
corba_create_window.
1999-06-22 21:02:08 +00:00