Pavel Roskin
3740792876
Fix hightlighting before Shift-Ins.
2002-10-13 04:54:44 +00:00
Pavel Roskin
6f85fe6f90
* lib/mc.ext.in: Redirect stderr from "links" to suppress a
...
warning if it's not found.
2002-10-12 20:07:58 +00:00
Pavel Roskin
823df274e7
Add: Crash on circular macro definitions in the editor.
2002-10-11 21:15:49 +00:00
Andrew V. Samoilov
94542548d2
Done:
...
SMB crash when not starting with the share root, but copying to the
share root.
2002-10-11 15:36:25 +00:00
Andrew V. Samoilov
f4a0b6e40b
* smbfs.c (fake_share_stat): Make sure share exists by
...
smbfs_get_path() and fill buf with realistic data
if current_share_info is NULL. Reformat function.
(smbfs_get_path): Add const qualifier to path.
2002-10-11 15:29:55 +00:00
Marco Ciampa
07dee4f111
added smbfs user option
2002-10-11 11:22:24 +00:00
Andrew V. Samoilov
e751871446
(smbfs_stat): Don't write to path.
2002-10-10 10:04:41 +00:00
Andrew V. Samoilov
ca70ee44c5
* popt.h: Adjust poptHelpOptions[] declaration.
...
* popthelp.c: Replace POPT_ with _ for visible strings.
(singleOptionHelp): Eliminate format array.
(poptHelpOptions): Make const.
(poptPrintHelp): Return width of left column.
* main.c (print_mc_usage): Use width from poptPrintHelp() for "+number".
2002-10-09 15:27:01 +00:00
Andrew V. Samoilov
b9331ba800
* doc/mc.1.in (SMB File System): Username is allowed in
...
URLs now (/#smb:[user@]machine).
* doc/ru/mc.1.in: Likewise.
2002-10-09 13:46:22 +00:00
Andrew V. Samoilov
872e77eb1d
* smbfs.c: Allow username in URL (/#smb:[user@]machine) and
...
reformat changed functions.
(smbfs_get_host_and_username): Fix comment.
(smbfs_fill_names): Add username@ before hostname.
(smbfs_open_link): Use IPC$ if share is empty.
(smbfs_get_path): Pass remote_path to smbfs_open_link().
(smbfs_stat): Copy username@ to server_url if passed.
2002-10-09 13:18:10 +00:00
Pavel Roskin
c8b0c913b7
Fix date.
2002-10-08 21:29:08 +00:00
Pavel Roskin
2127664d75
- Use the included S-Lang again, since we include a better version now.
...
This should avoid incompatibility with Red Hat 7.x.
- Add _with_glib2 option.
2002-10-08 21:23:31 +00:00
Pavel Roskin
0b37a8667a
Replace RH_VERSION with RPM_VERSION everywhere.
2002-10-08 21:13:45 +00:00
Pavel Roskin
438e723a5a
* configure.in: Rename RH_VERSION to RPM_VERSION - not every
...
rpm-based system is Red Hat. Replace all dashes, not just one.
2002-10-08 20:44:58 +00:00
Pavel Roskin
1e5c072969
Check that the script is run in the right directory.
...
Replace version with the date in configure.in.
Build from the beginning and run make distcheck.
2002-10-08 20:36:00 +00:00
Marco Ciampa
fbb4341de6
small fix...
2002-10-08 13:51:04 +00:00
Pavel Roskin
4a5073b0b7
Done:
...
Alt-P in the editor should return the viewport to the leftmost position.
2002-10-08 05:04:31 +00:00
Pavel Roskin
346e628955
* wordproc.c (format_paragraph): If formatting was successful,
...
scroll to the left to show the formatted paragraph.
2002-10-08 05:03:45 +00:00
Pavel Roskin
b79fe53f97
Remove unnecessary and incorrect declaration of edit_cursor_to_bol().
2002-10-08 04:50:20 +00:00
Pavel Roskin
d570124a7a
* acinclude.m4 (MC_WITH_MCSLANG): Check for terminfo and use
...
termcap if terminfo is missing in the known locations.
* configure.in: Remove --with-termcap processing, it is now in
acinclude.m4.
2002-10-08 04:42:10 +00:00
Pavel Roskin
a7dd92996c
* view.c: Move call to view_update_bytes_per_line() from
...
view_init(), where the number of columns is unknown yet, to
view_callback() where it's already known.
(view_adjust_size): Make static.
2002-10-07 18:50:27 +00:00
Pavel Roskin
a67eb057ec
* view.c (view_update_bytes_per_line): Don't use vertical bars
...
in the hex viewer is short of space. Fix missing space between
addresses and hexdump when framed.
(display): Likewise.
2002-10-07 18:09:50 +00:00
Pavel Roskin
604950704a
* ftpfs.c (linear_abort): Add a timeout after which a reconnect
...
is performed instead of further fetching of the remaining data.
2002-10-07 17:56:15 +00:00
Pavel Roskin
7ec962a1fb
Remove editor regression, it's a side effect of lacking UTF-8 support.
...
Rephrase problem with dates on FTP.
2002-10-07 16:01:39 +00:00
Pavel Roskin
ade4cf0bbf
* include/jdmacros.h: Define SLMEMSET and SLMEMCPY
...
unconditionally, use macros with arguments.
* include/_slang.h: Make it clear which parts are disabled
for compatibility with glib.
* include/slinclud.h: Include malloc.h only if STDC_HEADERS is
not defined.
2002-10-07 15:48:42 +00:00
Andrew V. Samoilov
0412daf338
* ru.po: Replace 0x96 with OK due to problems with xterm.
...
* uk.po: Likewise.
2002-10-07 12:51:51 +00:00
Andrew V. Samoilov
318a346055
* sldisply.c (Color_Def_Type): Make const.
...
* slsmg.c (Fake_Alt_Char_Pairs): Likewise.
* sltermin.c (Tgetstr_Map_Type): Likewise.
* slutty.c (Baud_Rate_Type): Likewise.
2002-10-07 11:08:16 +00:00
Andrew V. Samoilov
3d95a5fa29
* smbfs.c: Don't define BOOL_DEFINED to fix compilation on SunOS 5.8.
2002-10-07 10:05:36 +00:00
Andrew V. Samoilov
001f9ec607
* charsets.c (init_translation_table): Use g_snprintf() instead of sprintf().
2002-10-07 07:14:09 +00:00
Andrew V. Samoilov
886f98fafd
* boxes.c (sel_charset_button): Use g_snprintf() instead of sprintf().
2002-10-07 07:14:09 +00:00
Marco Ciampa
c228e62396
fix
2002-10-07 06:55:51 +00:00
Pavel Roskin
b7168d3ab8
This is a testsuite for GNU Midnight Commander.
...
Maintainer doing the release must ensure that this testsuite passes.
2002-10-07 06:38:58 +00:00
Marco Ciampa
b05345b27f
fixies fixies...
2002-10-07 06:20:57 +00:00
Pavel Roskin
04eb17ce0f
* selcodepage.c (select_charset): Use g_snprintf() instead
...
of non-portable snprintf().
2002-10-07 06:17:13 +00:00
Pavel Roskin
2b51be88d5
Remove installed mc.sh and mc.csh from %{_prefix}/share/mc/bin to
...
suppress a warning about installed but unpackaged files.
2002-10-07 06:04:12 +00:00
Pavel Roskin
416008fc74
* direntry.c (vfs_s_resolve_symlink): Use g_snprintf() instead
...
of non-portable snprintf().
Reported by Xu Qiang <Xu.Qiang@xssc.sgp.xerox.com>
2002-10-07 05:32:45 +00:00
Pavel Roskin
9acd93fe1e
Done:
...
When using included S-Lang, don't fill empty areas with spaces (' '),
because they are copied to the buffer when doing cut and paste.
2002-10-07 05:17:47 +00:00
Pavel Roskin
c1b2e49513
Fix path to the include directory.
2002-10-07 05:15:23 +00:00
Pavel Roskin
3222baab97
* myslang.h [!HAVE_SYSTEM_SLANG]: Update location of slang.h.
2002-10-07 04:48:32 +00:00
Pavel Roskin
ba3ccddea1
Don't mention version of the included S-Lang.
2002-10-07 04:44:47 +00:00
Pavel Roskin
f828ff10f9
Add: Included S-Lang library has been updated to version 1.4.5.
2002-10-07 04:43:06 +00:00
Pavel Roskin
b0b73df498
Update to S-Lang 1.4.5. Move include files to "include"
...
directory to avoid the need to rename slang.h.
* Makefile.am: Adjust file list. Add "-Iinclude" to the
compiler flags.
* include/jdmacros.h: Rewrite to use glib.
* slmisc.c: Trim to include only needed functions.
2002-10-07 04:41:03 +00:00
Pavel Roskin
540ffe0db3
* editdraw.c (print_to_widget): Eliminate use of floating point.
...
Change all callers.
2002-10-06 21:08:20 +00:00
Marco Ciampa
27a6f27e0b
some more little fixies...
2002-10-05 19:38:32 +00:00
Pavel Roskin
cce5ab3a78
Screen library is now selected by the option --with-screen.
...
Fixed viewing and editing files on mcfs.
2002-10-05 02:00:13 +00:00
Pavel Roskin
8c39d20a57
* mcfs.c (mcfs_lseek): Explicity cast offset to int. This fixes
...
viewing and editing files on mcfs.
2002-10-05 01:55:58 +00:00
Pavel Roskin
70faf8a7c4
Comment change.
2002-10-05 01:54:20 +00:00
Pavel Roskin
b5e7441d98
* tcputil.c: Split mcfs-specific part to
...
* mcfsutil.c: ... this.
* tcputil.h: Split mcfs-specific part to
* mcfsutil.h: ... this.
* Makefile.am: Add mcfsutil.c and mcfsutil.h.
* mcserv.c: Define own got_sigpipe, which is always 0, since
mcserv doesn't call tcp_init().
2002-10-05 01:02:07 +00:00
Pavel Roskin
51a6434b44
* Makefile.am: Don't link mcserv with glib. It's unreasonable
...
to require a glib port for embedded systems mcserv may run on.
* mcserv.c: Replace all glib calls with standard libc calls.
* tcputil.c (rpc_get): Likewise.
2002-10-05 00:31:12 +00:00
Pavel Roskin
4d7cf0f3a7
* mcserv.c (get_client): Don't try to find the address family
...
from the hostname. Always use AF_INET, because everything else
is unsupported.
2002-10-04 23:35:54 +00:00