Commit Graph

5461 Commits

Author SHA1 Message Date
Marco Ciampa
232480e111 Just a little correction at the it.po file. 2003-04-06 14:55:18 +00:00
Pavel Roskin
e95373535c * edit.c: Move edit_modification() before actions to provide
proper repainting if there are dialogs invoked by actions.
2003-04-05 01:43:58 +00:00
Pavel Roskin
66a823861f * editlock.c: Split lock into user@host and pid and report them
separately.
2003-04-05 01:29:15 +00:00
Marco Ciampa
ba267995ff Updated italian traslation. 2003-04-04 14:05:31 +00:00
Andrew V. Samoilov
6f188101cf * smbfs.c (open_readwrite): New function to replace open_read()
and open_write().  Use cli_close() if cli_qfileinfo() or
cli_getattrE() fail.

(smbfs_open): Use open_readwrite(). Free remote_handle if
open_readwrite() fails.
2003-04-03 10:45:03 +00:00
Pavel Roskin
ebf1bcfa33 * edit.c (edit_load_file): Use vfs_file_is_local(), not
vfs_current_is_local().
* editlock.c (edit_lock_file): Disable locking on VFS.
2003-04-02 22:25:00 +00:00
Pavel Roskin
8088d4a2cc Update. 2003-04-02 19:39:22 +00:00
Pavel Roskin
368c18b15a * POTFILES.in: Add edit/editlock.c. 2003-04-02 19:38:01 +00:00
Pavel Roskin
d88b75838a * editlock.c, editlock.h: New files. Implement file locking in
Emacs style, as documented in JED editor sources.
* Makefile.am: Add those files to build tree.

* edit-widget.c (WEdit): New property 'locked', 0 on edit_init.
* edit.c (edit_modification): Lock buffer on modification.
* editcmd.c (edit_save_cmd, edit_save_as_cmd): Handle locking
during file save.
(edit_load_file_from_filename): Unlock.  Remove 2 duplicate
lines (handled by edit_init).
(edit_quit_cmd): Unlock.
2003-04-02 19:36:10 +00:00
Pavel Roskin
b190930e09 * syntax/Syntax: Highlight *.mc as a makefile.
* syntax/sql.syntax: Add more keywords for PostgreSQL.
2003-03-31 16:27:52 +00:00
Pavel Roskin
18a078cf5c Add:
Cannot spell check unsaved files in the editor.
2003-03-28 02:45:32 +00:00
Andrew V. Samoilov
8ed2f5ac10 * extfs/patchfs.in: Treat '\ No newline at end of file' line
as valid diff contents.  By Adam Byrtek <alpha@debian.org>.
2003-03-27 16:10:42 +00:00
Andrew V. Samoilov
904e4022a4 * file.c (copy_file_file): Fix data corruption if mc_write()
does not write n_read bytes at once.
(move_file_file): Eliminate retry_src_lstat label.
2003-03-26 09:59:37 +00:00
Andrew V. Samoilov
6851c22f74 * view.c (get_line_at): Set prev properly for reverse search.
Don't remove final character in the last line without newline.
(search): During regexp search: handle properly '^'
in forward search and '$' in reverse search.
Based on the patch from Adam Byrtek <alpha@debian.org>.
2003-03-24 18:52:02 +00:00
Andrew V. Samoilov
8384e94b0b * cons.handler.c (set_attr) [__FreeBSD__]: Fix compilation.
Reported by Dmitry Alexeyev <dmi_a@qnx.org.ru>.
2003-03-22 17:27:21 +00:00
Pavel Roskin
915136719d * command.c (enter): Check subshell state early and return if
inactive before clearing the command line.
* main.c (force_subshell_execution): Remove magic, unusable,
undocumented command line option "-r".
2003-03-22 05:28:08 +00:00
Pavel Roskin
022fce89cb * subshell.c: Remove dead code (SYNC_PTY_SIDES).
(init_subshell_child): Remove dead code (initfile for TCSH).
(init_subshell): Use ZSH_VERSION environment variable to detect
ZSH.  Use -g option to zsh to hide entries beginning with space
from history.  Add space before ZSH precmd to hide it.
2003-03-22 05:15:46 +00:00
Pavel Roskin
7e31c4e83c * syntax/sh.syntax: Highlight "find". Highlight whole string
after "#!".  Make unrecognized text inside `` less bright.
2003-03-22 04:38:58 +00:00
Pavel Roskin
b58ca336d5 Make dynamic loading more urgent, remove libX11 (done already). 2003-03-21 21:26:51 +00:00
Andrew V. Samoilov
9d9dd380fb * view.c (get_line_at): Return unreversed line for backward
search to restore backward regexp search feature.
(icase_search_p): Fix for the above.
Reported by Adam Byrtek <alpha@debian.org>
2003-03-21 16:01:50 +00:00
Pavel Roskin
222058978d Removed entry about navigating VFS by Enter. 2003-03-20 19:57:30 +00:00
Marco Ciampa
169cf8349c In the last italian guide update I forgot this file...ooops! 2003-03-19 23:03:19 +00:00
Andrew V. Samoilov
387dbac31c * view.c (icase_search_p): Add backward search support.
(search): Likewise.
(block_search): Likewise.
(normal_search): Add "Backwards" button.
(get_line_at): Handle view->direction properly and return
reversed string if backward search required.
2003-03-19 13:39:48 +00:00
Marco Ciampa
99598a25fb Italian manual fixies... 2003-03-17 22:58:13 +00:00
Pavel Roskin
038f29a9fd Add:
- Check if the archive was changed for extfs, tar and cpio.  Free the data
associated with the old archive.
- Use Del to remove items from history.
2003-03-16 21:10:31 +00:00
Pavel Roskin
26deaaf5a5 Typo fix. 2003-03-15 14:54:25 +00:00
Pavel Roskin
8cf02b5559 * syntax/c.syntax: Allow integer specifiers for %x and %X in C
format strings.
* syntax/cs.syntax: Likewise.
* syntax/java.syntax: Likewise.
* syntax/ml.syntax: Likewise.
* syntax/php.syntax: Likewise.
* syntax/python.syntax: Likewise.
* syntax/slang.syntax: Likewise.
* syntax/swig.syntax: Likewise.
2003-03-15 04:41:19 +00:00
Pavel Roskin
5aa3a8410a Done:
canonicalize_pathname() doesn't strip leading "./"
2003-03-14 16:53:10 +00:00
Pavel Roskin
f6b4657dcb * key.c (xterm_key_defines): Add more sequences for xterm, rxvt
and konsole.
2003-03-14 16:52:33 +00:00
Pavel Roskin
66a0f1a957 * ftpfs.c (login_server): Ask user for account if the server
asks for it.
2003-03-14 16:33:02 +00:00
Andrew V. Samoilov
e2ae450cf0 * samba/libsmb/clientgen.c (cli_session_setup): Convert
username from Unix to DOS codepage before sending.
2003-03-13 14:45:48 +00:00
Pavel Roskin
d4336795e6 * edit.h: Make it easier to tweak buffer size and maximal number
of buffers.
2003-03-12 07:07:27 +00:00
Pavel Roskin
d6d16e47ef * acinclude.m4 (MC_ASM_LABELS): New macro to work around a bug
gettext.  Define _INTL_REDIRECT_MACROS if needed.
* configure.in: Use MC_ASM_LABELS.
2003-03-12 00:10:23 +00:00
Marco Ciampa
8c7b8d313e Some small fixies. 2003-03-11 12:30:47 +00:00
Andrew V. Samoilov
0fbccef3cc * key.c: Use fputs() instead of fprintf().
(func_XOpenDisplay) [HAVE_GMODULE]: Move to init_key_x11().
(get_modifier) [__QNXNTO__]: Use g_snprintf() instead of unsafe sprintf().
2003-03-11 12:23:08 +00:00
Andrew V. Samoilov
5e267e2ab6 * extfs/patchfs.in: Minor cleanups by Adam Byrtek <alpha@debian.org>. 2003-03-11 07:14:03 +00:00
Pavel Roskin
4d548cc4b1 * extfs.c (extfs_cmd): Quote localname - it's based on the entry
name, so it can contain dangerous symbols like "&".
2003-03-11 00:01:56 +00:00
Pavel Roskin
867704615b * key.c (correct_key_code): Convert unrecognized 0177, Ctrl-h
and Ctrl-d into Delete and Backspace.  Remove all references to
those keys in other files.
2003-03-10 20:27:54 +00:00
Pavel Roskin
44aac01193 * key.c (get_modifier) [__QNXNTO__]: Remove incorrect check for
the existance of libph.so.1.
2003-03-10 14:38:12 +00:00
Pavel Roskin
1de4ce4890 * key.c (get_modifier): Add support for QNX Photon pterm. 2003-03-10 08:47:37 +00:00
Pavel Roskin
7c40371113 Add question "How do I change the key bindings" 2003-03-10 07:50:26 +00:00
Pavel Roskin
cf432c1d8a * utilunix.c (canonicalize_pathname): Clean rewrite from
scratch.  The old implementation had memory problems with "/.."
and didn't actually strip the leading "./" from path.  Remove
support for obsolete Qnet paths.
2003-03-10 06:52:57 +00:00
Pavel Roskin
7cdbc354c2 * editkeys.c (common_key_map): Delete previous word by
Alt-Backspace.  Fix Ctrl-Backspace on some terminals.
Reported by Andrew V. Samoilov <sav@bcs.zp.ua>
2003-03-07 21:47:32 +00:00
Pavel Roskin
61317cb730 Add:
Use KDGKBENT ioctl on Linux console to find the mapping.
2003-03-07 20:47:56 +00:00
Pavel Roskin
949f2c3167 * configure.in: Add --with-glib-static option. 2003-03-07 18:10:37 +00:00
Andrew V. Samoilov
6f35fce869 * syntax.c (edit_read_syntax_file): Fix segmentation violation. 2003-03-06 18:42:33 +00:00
Marco Ciampa
d25cf0011b the smallest fix! 2003-03-06 14:58:18 +00:00
Marco Ciampa
29f492accf Some small fixies... 2003-03-06 14:55:32 +00:00
Pavel Roskin
5a3d2c562e * syntax/spec.syntax: Add BuildArch. 2003-03-06 13:48:23 +00:00
Andrew V. Samoilov
30caf4ab5e (kernel_oplocks_available): Comment out.
(lp_set_kernel_oplocks): Likewise.
(lp_kernel_oplocks): Likewise.
2003-03-06 10:38:38 +00:00