Commit Graph

7033 Commits

Author SHA1 Message Date
Roland Illig
0979ed9626 Changed the name of the multiple-inclusion guard. 2005-06-14 13:14:49 +00:00
Roland Illig
3bac3bdf53 Removed misleading comment. 2005-06-14 13:07:12 +00:00
Roland Illig
6bf747eccf * widget.h (struct WButtonBar): Moved into widget.c.
* widget.c (struct WButtonBar): Moved from widget.h.
	* boxes.c: Don't dereference WButtonBar.
	* help.c: Likewise.
	* layout.c: Likewise.
	* view.c: Likewise.
2005-06-14 13:02:30 +00:00
Roland Illig
0ee0936513 * editwidget.c: Don't dereference WButtonBar. 2005-06-14 13:00:09 +00:00
Roland Illig
468ab7a3cd * widget.c: Added code to handle multiple types of functions for
commands.
	* widget.h: Likewise.
2005-06-14 12:11:38 +00:00
Roland Illig
27ef4ba453 * help.c: Use buttonbar_clear_label().
* tree.c: Likewise.
2005-06-14 11:34:28 +00:00
Roland Illig
160686b6a8 void
buttonbar_clear_label (Dlg_head *h, int idx)
{
    WButtonBar *bb = find_buttonbar (h);

    if (!bb)
	return;

    set_label_text (bb, idx, "");
    bb->labels[idx - 1].tag = BBFUNC_NONE;
}
2005-06-14 11:30:26 +00:00
Roland Illig
9d8e5504e2 * achown.c (advanced_chown_callback): Swapped the arguments of a
recursive function call -- the types didn't match.
2005-06-14 10:26:06 +00:00
Roland Illig
5e120f7f17 * mcfs.c (mcfs_get_remote_port): Shift an #endif two lines down
to avoid a warning from SunPro.
2005-06-08 00:34:54 +00:00
Roland Illig
5343037e83 * fish.c (fish_ctl): Commented out some unused code with
#if 0 ... #endif. This fixes a warning from SunPro.
2005-06-08 00:31:25 +00:00
Roland Illig
c4c1c12432 * util.h (free_after): Moved to vfs/smbfs.c, as this is the only
place where it is used. This is necessary because the SunPro
	compiler creates external references even for functions that are
	only referred to in unused inline functions.
2005-06-08 00:23:44 +00:00
Roland Illig
d99bb2db9e Update the version number in the man pages, not only the date. 2005-06-08 00:13:08 +00:00
Leonard den Ottolander
f5dabea2a6 main.c: Also match tabs as empty command. 2005-06-07 20:55:13 +00:00
Roland Illig
b01a803341 Replaced the release procedure with a new one that takes into account
that we have translators that need some time for translating, not just
three days. Also added the definition of CVS tags and branches.
2005-06-07 17:14:04 +00:00
Roland Illig
3ce4818b9b The error log files are printed to stdout instead of stderr. This makes it
easier to use a pager with mc-test.
2005-06-07 14:54:11 +00:00
Roland Illig
6edc2743db * command.c (command_callback): Fixed gcc warning about
incompatible pointer types.
2005-06-07 14:16:19 +00:00
Andrew V. Samoilov
7a0f4c45ef * subshell.c (exit_subshell): Do not blindly perform cleanup. 2005-06-07 09:05:09 +00:00
Roland Illig
b2b0d33105 * view.c (view_move_up): In text wrap mode, don't display parts
of lines that only consist of the (invisible) newline character.
	* view.c (view_move_down): Likewise.
2005-06-07 07:37:00 +00:00
Roland Illig
69879eab1e * view.c (view_ccache_lookup): Replaced the min_nroff_column
variable with a state chart, which makes the code clearer and
	fixes a bug in translating line/column pairs into offsets.
2005-06-07 07:06:48 +00:00
Marco Ciampa
be744c4ae7 Updated italian translation 2005-06-06 16:20:11 +00:00
Roland Illig
307df9c13e Added missing entry from May 31 2005. 2005-06-06 15:48:46 +00:00
Miguel de Icaza
5c8fbe00c6 Fix make distcheck 2005-06-06 09:49:32 +00:00
Roland Illig
bba40f1e93 * lib/mc.ext.in: Added ${PAGER} as fallback if neither lynx nor
links is installed.
2005-06-06 00:05:25 +00:00
Roland Illig
c9fa68695e * makefile.syntax: Added rules for BSD style Makefiles. 2005-06-05 23:48:57 +00:00
Roland Illig
bb23db86a7 Removed trailing whitespace. 2005-06-05 23:43:49 +00:00
Roland Illig
f2708e485c * NEWS: Added the differences between pre3 and HEAD. 2005-06-05 23:42:11 +00:00
Roland Illig
7d685417ca Updated NEWS to contain the differences between pre3 and HEAD. 2005-06-05 23:41:21 +00:00
Roland Illig
e11d20ba89 mcedit should provide more options when saving a file is not possible. 2005-06-01 18:09:49 +00:00
David Martin
451bf4b951 Updated Spanish translation. 2005-05-31 09:17:47 +00:00
David Martin
5c6b8862ba Localize label. 2005-05-31 09:13:41 +00:00
Andrew V. Samoilov
abe4dddc99 New file. Configuration files for Sun Solaris pkgmk(1). 2005-05-31 03:20:43 +00:00
Andrew V. Samoilov
a7434f34d8 Reformating, and add new comment 2005-05-31 02:59:05 +00:00
Andrew V. Samoilov
966f5cb430 * lib/mc.ext.in: Added support for .7z archives. 2005-05-30 08:12:17 +00:00
Leonard den Ottolander
2bba061bf0 * src/boxes.c, vfs/ftpfs.[ch]: Add checkbox to allow passive FTP
over proxy to VFS dialog.
2005-05-29 12:10:08 +00:00
Leonard den Ottolander
3be17f6657 main.c: Fix blocking of panel cd-ing when there are only spaces on the
command line.
2005-05-29 11:54:22 +00:00
Pavel Roskin
1f60f44145 Update postal address of Free Software Foundation. 2005-05-27 03:35:10 +00:00
Roland Illig
ade85a1817 Moved the hexedit functions behind the display management. 2005-05-26 10:40:10 +00:00
Roland Illig
7ee9c2b956 Moved the data source constructors and the descructor into the data
sources section. Created a new section for the growing buffer.
2005-05-26 10:17:38 +00:00
Roland Illig
f4618b1731 Provided an introducing comment to the data sources section. 2005-05-26 10:04:26 +00:00
Roland Illig
745e81ab5f Moved the view_growbuf_filesize(), view_get_filesize_with_exact() and
view_get_filesize() functions into the data sources section.
2005-05-26 09:51:03 +00:00
Roland Illig
a5abbdf9d6 Moved the prototypes of the data source functions into the data source
section. Same for the get_byte_indexed() function.
2005-05-26 09:46:48 +00:00
Roland Illig
01c1faa0f5 Moved view_growbuf_read_until() into the data source section. 2005-05-26 09:34:44 +00:00
Roland Illig
2c68774812 * view.c: Removed unnecessary prototype declarations for the cursor
movement functions.
2005-05-26 09:22:51 +00:00
Roland Illig
608e7b4970 * view.c: Completely rewrote the cursor movement code. Now all
cursor movement functions are based on two functions that
	translate file offsets into line/column pairs and vice versa.
	This change made it possible that the line/column is displayed
	in the status line. The beginning-of-line and end-of-line
	functions now work in text mode, too. Switching from non-wrap to
	wrap mode does not cause the whole file to be loaded.
2005-05-26 09:08:54 +00:00
Roland Illig
d558ddd362 * python.syntax: Added chunk from Savannah bug #7872. This
changes the color for """long strings""" from brown to green and
	adds embedded highlighting for escape sequences.
	* Syntax: Added a comment introducing the file format, based on
	the current implementation in edit/syntax.c. Changed the
	first-line regular expressions of sh, perl, python and ruby to
	also match @SH@, @PERL@, @PYTHON@ and @RUBY@.
	* Syntax: Extended the patterns for #! interpreters to match
	almost everything that looks like the interpreter.
2005-05-26 09:08:54 +00:00
Roland Illig
45355775fe Moved the view_hexview_move_to_eol() function some lines down to make the next patch apply more cleanly. 2005-05-26 09:07:40 +00:00
Roland Illig
70cb15ff0f * Syntax: Added a comment introducing the file format, based on
the current implementation in edit/syntax.c. Changed the
	first-line regular expressions of sh, perl, python and ruby to
	also match @SH@, @PERL@, @PYTHON@ and @RUBY@.
2005-05-24 23:00:36 +00:00
Roland Illig
ba0cd89c75 * samba/lib/charcnv.c: Added const qualifiers. 2005-05-24 12:16:41 +00:00
Roland Illig
a2511b792c * dirent.c (split_dir_name): Don't assign a string literal to a
char *. Use '\0' instead of 0 when operating on characters.
2005-05-24 12:09:22 +00:00
Roland Illig
0fea1df332 * widget.h: Fixed prototype of input_callback(). 2005-05-24 11:50:12 +00:00