Commit Graph

6828 Commits

Author SHA1 Message Date
Pavel Roskin
b3bc70e73a * samba/lib/debug.c (dbghdr): Constify arguments file and func. 2005-05-11 19:54:59 +00:00
Pavel Roskin
efcd09ed48 Fix rpmbuild command line. 2005-05-11 02:46:36 +00:00
Pavel Roskin
694ed84007 Don't assume that rpmbuild has necessary permissions for the user - use
our own directory.  Don't assume i386 architecture.
2005-05-11 01:55:50 +00:00
Pavel Roskin
c90d263d2c * .c: Sanitize all calls to functions from ctype.h. Fix gcc 4.0
warnings.
2005-05-11 01:16:58 +00:00
Pavel Roskin
92fec3431c * utilvfs.c: Fix gcc 4.0 warnings. 2005-05-10 23:21:42 +00:00
Pavel Roskin
071f70d0e9 * edit-widget.h: Revert signedness fixes. We need unsigned char
for character classification.
* editcmd.c: Likewise.  Use casts to suppress warnings instead.
Thanks to Roland Illig <roland.illig@gmx.de>
2005-05-10 23:04:32 +00:00
Pavel Roskin
e56462d992 New file to look for duplicate includes. 2005-05-10 21:46:36 +00:00
Pavel Roskin
2d72a3f7b9 Clarify licensing statement. 2005-05-10 21:44:44 +00:00
Pavel Roskin
446c06ea0c * file.c: Remove unneeded WANT_WIDGETS.
* layout.c: Likewise.
* setup.c: Likewise.
* view.c: Likewise.
2005-05-10 21:38:40 +00:00
Pavel Roskin
21ea3f6740 * *.c: Remove duplicate includes. 2005-05-10 20:57:11 +00:00
Pavel Roskin
79386c0add * samba/include/includes.h: Don't include grp.h twice. 2005-05-10 20:46:40 +00:00
Roland Illig
3bcac235f5 * find.c (find_parameters): Moved around and reordered dialog
items to make their meaning clearer.
2005-05-10 19:30:22 +00:00
Pavel Roskin
0c198ddc7b Revert overriding RPM target. It can lead to broken packages.
linux32 wrapper should be used instead.
2005-05-10 17:57:02 +00:00
Pavel Roskin
762ca4381b Check diff error code.
Exclude "pc" from comparison - it has a binary file.
Specify rpm target - useful when run on x86_64 in chroot.
Move MCVERSION to a more prominent place.
2005-05-10 17:46:25 +00:00
Pavel Roskin
4adb9bfe13 * edit-widget.h: Use char instead of unsigned char to fix
warnings from gcc 4.0.
* editcmd.c: Likewise.
2005-05-03 23:40:15 +00:00
Pavel Roskin
d78556d3c5 * edit.h: Use D_ERROR for edit_error_dialog, D_NORMAL for query
dialogs.  Remove unused edit_query_dialog4.
2005-05-03 23:26:51 +00:00
Pavel Roskin
a6dd81352b * screen.c (try_to_select): Don't call display_mini_info(), it
will be called later because select_item sets panel->dirty.
This fixes the mini status appearing first after Ctrl-O.
2005-05-03 15:16:57 +00:00
Roland Illig
419025e926 * syntax/c.syntax: Added missing punctuation characters. 2005-05-01 14:21:02 +00:00
Pavel Roskin
bf7853c225 * syntax/Syntax: Don't highlight csh scripts. Allow using
"/usr/bin/env" instead of the full path.
2005-04-28 19:44:49 +00:00
Pavel Roskin
2836321b37 trimmed by trim_changelog 2005-04-28 19:42:30 +00:00
Leonard den Ottolander
8994b8bbec Added casts on 2 parameters to g_snprintf. 2005-04-27 21:02:59 +00:00
Leonard den Ottolander
2a6e12765a Added pchel and leonardjo as contributors. 2005-04-27 20:55:01 +00:00
Roland Illig
70f77a1945 * view.c: Changed use of view->text_wrap_mode to reflect its
type, being gboolean. That is, only use boolean operators and
	TRUE/FALSE for assignment. Bug reported by Jindrich Makovicka.
2005-04-27 18:39:21 +00:00
Roland Illig
413ed3236e * global.h: Define NDEBUG (used by assert() depending on
MC_ENABLE_DEBUGGING_CODE).
2005-04-26 19:42:37 +00:00
Roland Illig
957f3d180d * acinclude.m4: Renamed AS_HELP_STRING to AC_HELP_STRING for
compatibility with autoconf-2.57.
2005-04-26 17:29:58 +00:00
Roland Illig
2404c633d0 struct view_coord coord;
coord.vc_line = line;
    view_ccache_complete (view, &coord, CCACHE_OFFSET);
    return coord.offset;
2005-04-26 15:06:38 +00:00
Roland Illig
81306e3b78 * mc-test: Made the number of stderr lines that are shown
configurable.
2005-04-26 12:12:59 +00:00
Roland Illig
afc6f9b696 * mc-test: Removed the all_warnings testcase. 2005-04-26 12:08:54 +00:00
Roland Illig
ebbcf8d28a * view.c: Removed inconsistent whitespace. 2005-04-25 08:50:59 +00:00
Roland Illig
b46af7bac6 * view.c (struct WView): Replaced view->last with
view->dpy_complete. The former variable's name didn't match its
	value.
2005-04-25 08:47:22 +00:00
Roland Illig
a34e4b5dde * view.c (offset_type): Adjusted the PRI[dX] constants to be
like the ISO C99 PRI* constants.
2005-04-25 00:26:46 +00:00
Roland Illig
eaa04d2269 * view.c (init_growing_view): Renamed to
view_load_command_output(). Removed dead code. Removed unused
	parameter.
2005-04-24 23:47:27 +00:00
Roland Illig
fa7945759b * view.c (view_move_forward2): Fixed a bug related to the return
value, which had made the down and page-down keys no-ops.
2005-04-24 23:21:05 +00:00
Roland Illig
796bfbf4f0 * HACKING: Added a warning for the ?: operator. 2005-04-22 15:35:35 +00:00
Roland Illig
bbdebd492c * view.c (display): Fixed operator precedence with ?: in hex
display.
2005-04-22 15:26:25 +00:00
Roland Illig
94a7ad1a56 * view.c (view_move_forward2): Added more assertions. Rewrote
condition for breaking out of the loop when upto == 0.
2005-04-22 15:18:14 +00:00
Roland Illig
5b7339a2db * view.c (view_move_forward2): Fixed a bug discovered by
Jindrich Makovicka. The return value did not take into account
	the value of the `upto' parameter.
2005-04-22 15:01:11 +00:00
Roland Illig
4a96e50b13 * configure.ac: Using MC_ARG_ENABLE_DEVELOPER_MODE instead of
the --maintainer-mode.
2005-04-21 22:31:58 +00:00
Roland Illig
26c8b13218 * acinclude.m4: Added macro MC_ARG_ENABLE_DEVELOPER_MODE. 2005-04-21 22:28:48 +00:00
Andrew V. Samoilov
c6a4eae10c * utilvfs.c (is_localized_month): Check "month" for NULL and
forbid punctuation characters in localized month abbreviation.
2005-04-21 10:04:06 +00:00
Andrew V. Samoilov
d519f9cbe8 Add new line for standard formatting. 2005-04-21 10:02:52 +00:00
Roland Illig
92526f4b57 * view.c (display): Extracted the code for drawing the ruler into
its own function, view_display_ruler(). Rewrote it.
2005-04-19 22:33:21 +00:00
Roland Illig
2312d2ce97 * view.c: Replaced const_cast with str_unconst. 2005-04-19 22:16:25 +00:00
Roland Illig
2842c33f11 * view.c (view_move_forward2): Early return if get_byte() returns
-1.
2005-04-19 21:27:03 +00:00
Roland Illig
1c367fbab4 * view.c (view_free_growing_buffer): Renamed to
view_growbuf_free(). Simplified the code.
2005-04-19 20:54:53 +00:00
Roland Illig
f6e6c6e80d * view.c (struct WView): Renamed nib_shift to hexedit_lownibble.
Replaced 0 literals with FALSE.
2005-04-19 20:33:51 +00:00
Roland Illig
008c9ef797 * view.c (view_file_load_data): Removed the requirement for
ds_file_datasize to be a power of two.
2005-04-19 18:36:23 +00:00
Roland Illig
0972491418 * view.c: Small formatting changes. 2005-04-18 21:02:55 +00:00
Roland Illig
25cf80294b * view.c: Fixed a typo. 2005-04-18 20:18:12 +00:00
Roland Illig
26c2f7fc50 * view.c (save_edit_changes): Renamed to
view_hexedit_save_changes().
2005-04-18 20:12:18 +00:00