Roland Illig
13a63f21c9
* x11conn.c: Separated X11 connection handling from key.c. Added
...
error handling for X11 errors and connection errors.
* x11conn.h: The interface for x11conn.h.
* key.c: Now using the x11conn code.
* Makefile.am: Added x11conn.{h,c}.
2005-03-10 09:44:36 +00:00
Miguel de Icaza
6b14153361
2005-02-26 Miguel de Icaza <miguel@novell.com>
...
* screen.c (chdir_other_panel): Restored original functionality.
(sync_other_panel): This is now bound to the key Alt-i, and is the
functionality that was lost.
2005-02-26 16:39:31 +00:00
Roland Illig
f0f4721309
* unixcompat.h: Only include <sys/sysmacros.h> if we're on AIX,
...
as Solaris defines the macros twice---once in <sys/mkdev.h>,
and once in <sys/sysmacros.h>.
2005-02-23 23:49:30 +00:00
Roland Illig
a89e9cce8b
* tty.h: Moved the function printwstr to slint.c, because the
...
SunPro compiler does not eliminate unused inline functions.
* slint.c: printwstr has been moved to here.
2005-02-23 19:55:06 +00:00
Roland Illig
476927920b
* screen.c: Changed the return type of ilog10 to unsigned int
...
and adjusted some variables in format_device_number.
2005-02-23 19:37:43 +00:00
Roland Illig
da66509191
* unixcompat.h: Added missing parenthesis to the minor() macro.
2005-02-22 03:47:01 +00:00
Roland Illig
ffc41c1faa
* treestore.c (str_common): Added a comment that str_common shall
...
not be called with two equal strings.
2005-02-15 22:16:18 +00:00
Roland Illig
42d2ab10be
* info.c (info_show_info): Casted st_mode to unsigned to avoid
...
compiler warning on Solaris 9 (st_mode is unsigned long there).
2005-02-12 22:28:09 +00:00
Roland Illig
7d1b02caad
* unixcompat.h: Typo (show => shown).
2005-02-12 22:16:25 +00:00
Roland Illig
5d55e9b92f
* vfs.c (vfs_translate_url): Add support for smb://, sh://,
...
ssh:// and mc:// filesystem requests. Introduced separate table
for vfs aliases.
* util.c (strip_password): Modifications to take the aliases into
account while eliminating passwords.
The original patch was extended by Roland Illig.
2005-02-12 14:30:48 +00:00
Roland Illig
0a545794da
* screen.c: Reverted my changes from 2005-02-08 (except the
...
maybe_cd calls) to not confuse the upcoming UTF-8 patches.
2005-02-12 05:14:54 +00:00
Andrew V. Samoilov
663792b91a
* glibcompat.c: Add g_strlcat() declaration for glib 1.2.x
2005-02-11 23:38:26 +00:00
Roland Illig
256cce9bb5
* screen.c (string_file_name): Fixed the displaying of long file
...
names. The bug had been introduced by me on 2005-02-08.
* screen.c (string_file_nlinks): Likewise.
2005-02-11 19:43:30 +00:00
Roland Illig
6407873f69
* cons.handler.c: Marked unused parameters.
...
* dir.c: Likewise.
* find.c: Likewise.
* help.c: Likewise.
* layout.c: Likewise.
* mountlist.c: Likewise.
* popt.c: Likewise.
* poptconfig.c: Likewise.
* popthelp.c: Likewise.
* regex.c: Likewise.
* subshell.c: Likewise.
* tree.c: Likewise.
* util.c: Likewise.
* utilunix.c: Likewise.
* widget.c: Likewise.
* wtools.c: Likewise.
2005-02-08 22:33:52 +00:00
Roland Illig
f8a7930a1a
* screen.c: Marked unused parameters. Updated use of maybe_cd.
2005-02-08 20:12:30 +00:00
Roland Illig
5356ac60d5
* main.c (maybe_cd): Removed unused parameter.
...
* main.h: Likewise.
2005-02-08 20:09:36 +00:00
Roland Illig
f9d9f92370
* Removed my own experiments.
2005-02-08 19:59:45 +00:00
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
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
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
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
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
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
51156030fb
* ChangeLog: Applied trim_changelog.
2005-02-07 07:33:47 +00:00
Roland Illig
7733f432a4
* ext.c: Improved message formatting.
2005-02-07 00:01:15 +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
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
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
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
9558c7178f
* src/info.c (info_show_info): Enabled display of the device number,
...
for the case that the column in the directory listing is too
short. This had been disabled since 1994, for no obvious reason
and without any comment.
* src/screen.c (format_device_number): Added. Converts a device number
into a bounded string.
* screen.c (string_file_size): Support for larger device numbers
(and for non-Linux systems).
* vfs/cpio.c (cpio_read_crc_head): Fixed device number handling for
non-Linux systems.
* vfs/fish.c (fish_dir_load): Likewise.
* vfs/utilvfs.c (vfs_parse_ls_lga): Likewise.
2005-01-27 23:32:13 +00:00
Roland Illig
7a60de0618
* unixcompat.h: Added makedev macro.
2005-01-27 23:02:24 +00:00
Roland Illig
728951fd34
* unixcompat.h (major/minor): Added support for AIX.
2005-01-27 22:19:48 +00:00
Roland Illig
ff3ca5ecb2
* tty.h (printwstr): If LEN is not positive, ignore the request.
2005-01-27 22:01:52 +00:00
Roland Illig
ff6e206b42
* tty.h (printwstr): Added a function to print a string
...
left-aligned in a bounded box.
2005-01-27 21:44:00 +00:00
Roland Illig
0e1609c2f9
* unixcompat.h: Provides macros and functions that are missing in
...
some Unix variants.
* Makefile.am: Added unixcompat.h.
2005-01-25 22:54:41 +00:00