Commit Graph

3616 Commits

Author SHA1 Message Date
Pavel Roskin 6eef7a34e7 * global.h: Define __attribute__ to an empty string for non-gcc
compilers so that it's safe to use.
2001-10-20 03:38:41 +00:00
Pavel Roskin 5062e120a5 * syntax/sh.syntax: Highlight reserved words inside backticks.
Use the same wholechars settings for reserved words and
commands.  Recognize more words.  Recognize function definitions
without "function" or without "()".  Use brightmagenta instead
of brightblue.
2001-10-19 07:37:49 +00:00
Pavel Roskin c932c4610a * edit.c (check_file_access): Only allow to edit regular files.
Use stat() before open() to prevent hangs on pipes, use fstat()
afterwards if stat() was unsuccessful.
2001-10-18 09:35:22 +00:00
Andrew V. Samoilov 6c1fabe920 * mc.hint.ru: Fix typo. 2001-10-18 09:34:44 +00:00
Andrew V. Samoilov 0ff4b8ae77 * samba/configure.in: Don't check readline.h, history.h and
libreadline.
2001-10-18 09:24:28 +00:00
Pavel Roskin 2503eb0342 * view.c (view_hook): Warning fix. 2001-10-18 08:42:20 +00:00
Pavel Roskin 1773a0fee0 * view.c (init_growing_view): Revert last change, it was wrong.
(view_hook): Don't check that the file is regular - it's now
done in do_view_init().  This fixes update problem in quick view
when moving cursor from a regular file to a directory.
2001-10-18 08:39:41 +00:00
Pavel Roskin 37e595b6ba * view.c (do_view_init): Only accept regular files. Use stat(),
not fstat() because open() would hang on pipes.  Avoid opening
the file twice.
(init_growing_view): Take file descriptor, not the filename.
(load_view_file): Likewise.
2001-10-18 06:23:02 +00:00
Pavel Roskin fa7b354b12 * configure.in: When checking for "nroff -mandoc" support, don't
use /dev/null as input file, use stdin.  Some versions of nroff
(e.g. groff-1.16.1) don't accept special files.
2001-10-18 04:54:42 +00:00
Pavel Roskin ddcec565ec * lib/mc.ext.in: Treat Makefile.PL as a Perl program, not as a
Makefile.  Don't allow any suffixes after "Makefile".
2001-10-16 07:30:33 +00:00
Andrew V. Samoilov b7339b590f * samba/libsmb/clientgen.c (cli_RNetShareEnum): Fix Win2k
"out of server memory" error.  From samba 2.0.7 patchset.
2001-10-16 07:02:32 +00:00
Zbigniew Chyla 67958707a3 Updated Polish translation 2001-10-14 14:56:13 +00:00
Christophe Merlet 9d212adf21 Updated French Translation. 2001-10-12 21:55:22 +00:00
Andrew V. Samoilov 6b5b42a130 * ru.po: Update. 2001-10-12 11:30:51 +00:00
Pavel Roskin fcebeec60c * lib/mc.ext.in: Add support for *.xcf files (native GIMP
format).
2001-10-12 06:32:58 +00:00
Kjartan Maraas 853c876e37 2001-10-08 Kjartan Maraas <kmaraas@gnome.org>
* no.po: Updated Norwegian (bokml) translation.
2001-10-08 20:32:36 +00:00
Christian Rose 4f8d2a0c4c 2001-10-08 Christian Rose <menthos@menthos.com>
* sv.po: Fixed some bad language problems. Thanks to
	Gran Weinholt <weinholt@linux.nu> for noticing.
2001-10-08 17:25:47 +00:00
Gediminas Paulauskas 5fee9ab3fc 2001-10-07 Artis Trops <hornet@navigators.lv>
* lv.po: Updated Latvian translation.
2001-10-07 20:02:58 +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 f30f16c588 * lib/mc.menu: Use "case" instead of non-portable "egrep -q".
Fix compress<->bzip2 conversion and conversion of tagged
archives.
2001-10-06 08:54:05 +00:00
Pavel Roskin 23bdfba2a6 * lib/mc.ext.in: Use ogginfo to view *.ogg files.
Suggested by Marcel Pol <mpol@gmx.net>
2001-10-05 22:41:33 +00:00
Pavel Roskin b3cd72c2df * lib/mc.ext.in: Use xmms to play *.mp3 under X. When viewing
*.mp3, use "verbose" option to mpg123.  Add support for *.ogg
and *.mid files.
2001-10-05 05:51:26 +00:00
Christian Rose 589dc1d146 2001-10-03 Christian Rose <menthos@menthos.com>
* sv.po: Updated Swedish translation.
2001-10-03 16:49:35 +00:00
Pavel Roskin 78982e7cc5 * sfc.c (sfs_getid): Don't use vfs_die(), return (vfsid)(-1)
instead.
2001-10-02 08:06:37 +00:00
Pablo Saratxaga 863e59949a updated Catalan file 2001-10-01 14:06:42 +00:00
Pavel Roskin 3ab6f77fee * boxes.c (tree): Rename to tree_box() to avoid confusion.
Adjust all callers and headers.
* main.c (tree_box): Rename to tree_box_cmd().
2001-10-01 06:51:15 +00:00
Pavel Roskin ea27edf4d5 * tree.c (set_navig_label): Get argument "tree".
(set_navig_label): Likewise.  Adjust all callers.  Don't cast
function tree() to (Widget *) - it's wrong and dangerous.
2001-10-01 06:42:37 +00:00
Pavel Roskin 8e085b98fd * widget.h: Use type "buttonbarfn" more consistently.
* widget.c: Likewise.
2001-10-01 06:31:40 +00:00
Pavel Roskin 958f3f49dd * setup.c [!USE_VFS]: Warning fix.
* hotlist.c [!USE_VFS]: Likewise.
2001-10-01 06:08:56 +00:00
Pavel Roskin 353e389689 * vfs.h [!USE_VFS]: Define macros with no effect to an empty
statement "do { } while (0)".
2001-10-01 06:01:13 +00:00
Pavel Roskin 87177d15db * tree.c (tree_navigation_flag): Should not be static. 2001-10-01 05:11:45 +00:00
Pavel Roskin 04392aad1d * screen.c (panel_format_modified): Use more portable cast. 2001-10-01 04:31:49 +00:00
Pavel Roskin da462709f0 * fileopctx.h: Define new type mc_stat_fn.
* filegui.c (file_mask_dialog): Cast mc_stat and mc_lstat to
mc_stat_fn to prevent warnings without VFS support.
* fileopctx.c (file_op_context_new): Likewise.
2001-10-01 04:20:23 +00:00
Pavel Roskin f95559e1c3 Remove vfs/samba/autom4te.cache too. 2001-09-30 19:51:23 +00:00
Pavel Roskin d08e77f86d * samba/acconfig.h: Only leave symbols required by Autoconf-2.52. 2001-09-30 19:50:38 +00:00
Pavel Roskin add68bf853 * configure.in: Don't check whether grep supports stdin - it's
not used anymore.
* NEWS: Mention this change.
2001-09-30 19:17:48 +00:00
Marco Ciampa 71bafed111 *** empty log message *** 2001-09-30 18:28:21 +00:00
Pablo Saratxaga 36a8857898 updated Hungarian file 2001-09-29 14:53:59 +00:00
Pablo Saratxaga f301212d85 updated Azeri and Walloon files 2001-09-27 23:45:39 +00:00
Keld Simonsen 835597a9fe Danish updates
balsa/po/da.po dia/po/da.po gedit/po/da.po
gnome-lokkit/po/da.po gnome-utils/po/da.po gtkhtml/po/da.po
Tag: gnome-1-x-branch
libgda/po/da.po
No tag
mc/po/da.po sodipodi/po/da.po
2001-09-25 22:13:24 +00:00
Pavel Roskin 2168f2fc50 * find.c: Include rx.h or regex.h
(get_line_at): New function.  Returns malloc()ed null-terminated
line from file file_fd.  Input is buffered in buf_size long
buffer.
(search_content): Don't use external egrep.
Use get_line_at and regexp.
2001-09-23 04:06:35 +00:00
Andraz Tori 716b1fb7b8 Updated Slovenian translation 2001-09-22 23:57:36 +00:00
Stanislav Visnovsky 0b36c8cbc7 2001-09-21 Stanislav Visnovsky <visnovsky@nenya.ms.mff.cuni.cz>
* sk.po: Updated Slovak translation.
2001-09-21 10:58:42 +00:00
Pavel Roskin 5e3bb68e26 * cmd.c: Change all "long" variables to "off_t" whenever they
are used to store file sizes.
* file.c: Likewise.
* file.h: Likewise.
* fileopctx.h: Likewise.
* tree.c: Likewise.
* filegui.c: Likewise.
(show_bar): Take "double" arguments.  Normalize arguments of
gauge_set_value() before converting them to "int".
2001-09-21 05:04:38 +00:00
Fatih Demir 9ce4c8d71a Updated tr.po 2001-09-20 11:37:25 +00:00
Pavel Roskin 0f1954d2ff * doc/mcedit.1.in: Fix a very long line - use double
backslashes since they are interpreted even in the .nf blocks.
2001-09-20 01:42:57 +00:00
Pavel Roskin 6f248850ea * lib/edit.spell.rc: Try aspell before resorting to ispell. 2001-09-20 01:13:29 +00:00
Pavel Roskin 419a1aa3dc * syntax/php.syntax: Replace with a better implementation by
Max Schedriviy <max@tavrida.net>
2001-09-19 04:52:47 +00:00
Pavel Roskin b4324a149b * edit.h: Don't use macro `stat' - it's already a macro on
Solaris 8 with large file support.
* editcmd.c: Replace stat() with mc_stat().
* edit.c: Likewise.
2001-09-17 21:32:47 +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