Commit Graph

6802 Commits

Author SHA1 Message Date
Roland Illig
d2ee0985fc * dialog.c: Marked unused parameters. Now dlg_broadcast_msg_to
does what the comment above it says.
2005-02-08 18:25:31 +00:00
Roland Illig
5dbdfb07ba * editcmd.c: Explicitly declared unused variables to make gcc
quiet.
2005-02-08 17:14:34 +00:00
Roland Illig
c6a72952ac * screen.c (string_file_*): Don't use static buffers.
* screen.c (format_file): Provide a buffer for the string_file_*
	functions.
2005-02-08 12:28:17 +00:00
Roland Illig
f629c91ded * util.h: Added macro str_cmp to allow syntactically nice string
comparison.
2005-02-08 10:46:01 +00:00
Roland Illig
a580664255 * Removed transition support macros. 2005-02-08 09:58:40 +00:00
Roland Illig
0d08e8308f * Renamed define_label to buttonbar_set_label.
* Renamed define_label_data to buttonbar_set_label_data.
	* Renamed redraw_labels to buttonbar_redraw.
2005-02-08 09:53:51 +00:00
Roland Illig
e501886d58 * editdraw.c: Renamed redraw_labels to buttonbar_redraw.
* editwidget.c: Likewise. Renamed define_label_data to
	buttonbar_set_label_data.
2005-02-08 09:50:16 +00:00
Roland Illig
77391f3981 * widget.h: Renamed define_label to buttonbar_set_label. Renamed
define_label_data to buttonbar_set_label_data. Renamed
	redraw_labels to buttonbar_redraw. Provided compatibility macros
	to enable a smooth transition between the old and the new names.
	* widget.c: Likewise.
2005-02-08 09:40:52 +00:00
Roland Illig
68249252cb * template.c: Updated header inclusion section. 2005-02-08 09:06:51 +00:00
Roland Illig
8dea136109 * How to include header files properly. 2005-02-08 09:05:14 +00:00
Roland Illig
fc85bdba7e * *.c: Reordered header inclusion. 2005-02-08 09:04:03 +00:00
Andrew V. Samoilov
28fed14a03 * ext.c (regex_command): Eliminate g_string_*(). 2005-02-08 07:31:11 +00:00
Roland Illig
10451e0109 * dialog.h: Moved and reformatted #definitions.
* execute.h: Likewise.
	* mouse.h: Likewise.
2005-02-08 06:57:14 +00:00
Roland Illig
db5eec4964 * edit.h: Reformatted #definitions. 2005-02-08 06:48:54 +00:00
Roland Illig
d8e27971ae * widget.h: Moved constants to the appropriate places (just
before the variable they will be used with).
	* widget.c: HISTORY_FILE_NAME was not needed in widget.h,
	so it has been made private to this file.
2005-02-08 06:28:34 +00:00
Roland Illig
ab442fdeee * cpio.c: Added some FIXMEs about data representation. 2005-02-08 05:53:13 +00:00
Roland Illig
2dbdf6d200 * unixcompat.h: Emit warnings for the fallback case of the
major/minor/makedev macros.
2005-02-07 22:59:51 +00:00
Roland Illig
b4b0f1dbfc * view.c: Reordered #include files. 2005-02-07 22:31:30 +00:00
Roland Illig
3e7e53b1af * view.c: Changed type of view->blocks from int to size_t.
* view.c: Removed unused parameters from local functions.
2005-02-07 22:09:44 +00:00
Roland Illig
e5e3a8f87d * editcmd.c: Fixed whitespacing issues.
* editdraw.c: Likewise.
	* syntax.c: Likewise.
2005-02-07 20:32:17 +00:00
Roland Illig
15342acba1 * edit.c: Fixed some whitespacing issues. 2005-02-07 20:28:13 +00:00
Roland Illig
2a281ad18d * *.c: Removed unused parameters for static functions. Marked
unused parameters for global functions. Removed redundant
	comments.
2005-02-07 20:08:01 +00:00
Roland Illig
9004ac497f * po/ChangeLog: Applied trim_changelog.
* slang/ChangeLog: Likewise.
	* vfs/ChangeLog: Likewise.
2005-02-07 07:40:46 +00:00
Roland Illig
51156030fb * ChangeLog: Applied trim_changelog. 2005-02-07 07:33:47 +00:00
Roland Illig
05d2881a71 * *.c: Removed trailing whitespace. 2005-02-07 07:31:19 +00:00
Roland Illig
6916fd28a2 * NEWS: Added the changes between mc-4.6.1-pre3 and now. 2005-02-07 07:05:17 +00:00
Roland Illig
e8e0035587 * edit.h: Removed catstrs, as it is only used in editcmd.c.
* editcmd.c (catstrs): Changed declaration to be static.
2005-02-07 06:34:08 +00:00
Roland Illig
b49ac634f5 * editwidget.c: Don't use catstrs anymore. 2005-02-07 06:31:04 +00:00
Roland Illig
13737b1de1 * edit.c (user_menu): Don't use catstrs anymore. 2005-02-07 06:18:13 +00:00
Roland Illig
259485542a * syntax.c: Don't use catstrs anymore. 2005-02-07 06:11:15 +00:00
Roland Illig
64eed6e12b * edit.h (catstrs): Changed the return type to "const char *".
* editcmd.c (catstrs): Likewise.
	* edit.c (user_menu): Added const qualifiers.
	* editcmd.c: Likewise.
	* syntax.c: Likewise.
2005-02-07 06:02:59 +00:00
Roland Illig
a8de548480 Added a template for new C files. 2005-02-07 00:06:16 +00:00
Roland Illig
7733f432a4 * ext.c: Improved message formatting. 2005-02-07 00:01:15 +00:00
Roland Illig
c90e9d1b95 * edit.c: Improved message formatting. 2005-02-06 23:58:59 +00:00
Roland Illig
e6a4ffaba1 * widget.h: Added a new function button_get_text.
* widget.c: Likewise.
2005-02-06 23:08:02 +00:00
Roland Illig
ce99a5fc53 * achown.c: Call update_ownership instead of get_ownership. 2005-02-06 22:59:00 +00:00
Roland Illig
57c9733937 * achown.c (get_ownership): Renamed to update_ownership.
* achown.c (update_permissions): Update the permission widgets
	without accessing WButton->text directly.
	* achown.c (print_flags): Use update_permissions.
	* achown.c (chown_info_update): Likewise.
2005-02-06 22:55:37 +00:00
Roland Illig
c893d6e029 * achown.c (get_ownership): Simplified the code. Now it is
more independent of the WButton internals.
2005-02-06 21:26:05 +00:00
Roland Illig
3a40734373 * util.h (msglen): Converted from a function to a procedure.
* util.c (msglen): Changed variable names and did a speedup.
	* hotlist.c (add_new_entry_input): Using new msglen function.
	* hotlist.c (add_new_group_input): Likewise.
	* wtools.c (query_dialog): Likewise.
	* wtools.c (fg_input_dialog_help): Likewise.
2005-02-05 13:03:11 +00:00
Andrew V. Samoilov
711f268786 * utilunix.c (mc_realpath) [USE_SYSTEM_REALPATH]: Use realpath(). 2005-02-02 18:28:49 +00:00
Andrew V. Samoilov
2080aad45a * find.c: Implement non-recursive 'Find file' feature.
Original patch by Andrew Borodin <aborodin@vmail.ru> .
2005-02-02 18:27:05 +00:00
Andrew V. Samoilov
94b71a6339 * samba/include/proto.h: Adjust for the last changes.
* samba/lib/util.c: Comment out unused ra_type, in_group(),
get_numlist(), Atoic(), dns_to_netbios_name(), name_interpret(),
directory_exist(), file_size(), unix_format(), dos_format(),
close_low_fds(), name_ptr(), name_extract(), unix_do_match(),
unix_mask_match(), do_match(), mask_match(),
interpret_protocol(), readdirname(), is_in_path(),
set_namearray(), free_namearray(), fcntl_lock(), is_myname(),
set_remote_arch(), get_remote_arch(). align2(), out_ascii() and
out_data().
(reg_get_subkey): Remove.
(reg_split_key): Remove.

* samba/lib/system.c: Comment out sys_lstat(), sys_fseek(),
sys_ftell(), sys_readdir(), sys_getwd(), sys_chown(), sys_random()
and sys_srandom().

* samba/libsmb/clientgen.c (cli_qpathinfo): Comment out.
(cli_qpathinfo2): Comment out.
(cli_printjob_del): Remove.
(cli_print_queue): Remove.
(cli_dskattr): Comment out.
2005-02-02 12:52:33 +00:00
Andrew V. Samoilov
eef0551cec Add missing entry
* utilunix.c (init_groups) [HAVE_GETGROUPLIST]: Use getgrouplist().
2005-02-01 12:30:40 +00:00
Andrew V. Samoilov
172cead7fb * utilunix.c (init_groups): Use glib memory allocation functions. 2005-02-01 12:04:05 +00:00
Andrew V. Samoilov
a7a42c3d8b * samba/lib/username.c (map_username): Comment out.
(user_in_list): Ditto.
2005-02-01 12:02:34 +00:00
Roland Illig
3973e33cc2 * view.c: Eliminated two global variables and put them into the
WView structure.
2005-01-31 22:01:53 +00:00
Roland Illig
71ace6eaaf * view.c: Removed trailing whitespace and fixed a typo in a comment. 2005-01-30 21:17:29 +00:00
Roland Illig
6dc6158ff1 * edit.h: Removed NO_INLINE_GETBYTE conditional. The name was
misleading, as it really meant INLINE_GETBYTE. Furthermore,
	it has not been working since the split of edit.h into edit-widget.h.
	* edit.c: Likewise.
2005-01-30 20:34:58 +00:00
Miguel de Icaza
324f4c5644 2005-01-29 Miguel de Icaza <miguel@novell.com>
* utilunix.c (init_groups): Added support for getgrouplist patch
	from Stefan Gohmann <gohmann@univention.de>.

2005-01-29  Miguel de Icaza  <miguel@novell.com>

	* configure.ac: Check for getgrouplist API call.
2005-01-30 05:06:13 +00:00
Roland Illig
020455853d * editdraw.c (edit_status): Changed some variables from size_t to
int to avoid GCC warnings.
2005-01-28 01:34:48 +00:00