Commit Graph

967 Commits

Author SHA1 Message Date
Norbert Warmuth
ffb83af112 If someone experiences strange colors in the text edition
try "make clean; make".

Tue Dec 29 15:49:45 1998  Norbert Warmuth  <nwarmuth@privat.circular.de>

* doc/mc.sgml, mc1.in (Color section): minor polishing
(Layout section): documented Highlight...

* gnome/gmain.c: According to the man page the color keyword for executable
files 	is `executable' and not `execute' -- changed.

* file.c (progress_update_one): Ignore files in subdirectories
when panel totals haven't been computed.

(erase_dir, erase_file): update progress bar (i.e. make it work
for OP_DELETE).

(panel_operate_flags): Don't compute panel totals for OP_MOVE.
When moving files on the same filesystem computing totals might
last much longer than the actual move operation.

(various places): adpations for the above changes.

* slint.c (try_alloc_color_pair): Changed hardcoded values into
defines.

* color.c, text.c: Added color "stalledlink" which is used for
stalled symbolic links. Formerly "viewunderline" was used for
this (IMO bad because function and name didn't match).
According to the man page the color keyword for executable files
is `executable' and not `execute' -- changed.

* color.c, color.h: When using SLang some color indexes are not
freely choosable (DEFAULT_COLOR clashed with A_BOLD_REVERSE).
Solved by adding holes in color_map.

* find.c (do_search): fixed possible memory leak
1998-12-29 16:52:49 +00:00
Jonathan Blandford
66558b5f73 New menu view. Not everything works yet, but that's tomorrow's job.
also, spiffy new policy dialog for copying many files.
1998-12-29 04:15:30 +00:00
Norbert Warmuth
d2b1a29c91 Fri Dec 25 21:48:51 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
* vfs/direntry.c (vfs_s_new_inode): Moved initialization of st_ino
and st_dev from vfs_s_default_stat.

(vfs_s_default_stat): initialize st_ino and st_dev to zero

* vfs/tar.c (tar_open_archive): Make a new MEDATA->rdev for every
new archive.
1998-12-28 10:27:07 +00:00
Miguel de Icaza
1b248adf08 Use gtk_label_set_text 1998-12-28 03:38:33 +00:00
Miguel de Icaza
65bb45f2a1 Use a different name for ~/.mc/ext 1998-12-28 00:47:43 +00:00
Kjartan Maraas
5c0927013b 1998-12-27 Kjartan Maraas <kmaraas@fib.hl.no>
* Updated translation
1998-12-27 12:49:21 +00:00
Norbert Warmuth
42f5f99fbb Sat Dec 26 09:53:39 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
* src/layout.c: include sys/ioctl.h to get definition of TIOCGWINSZ
(fixes problem with screen resize).
1998-12-26 22:56:01 +00:00
Norbert Warmuth
677cea13fd Fri Dec 25 20:19:57 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
* file.c (panel_operate_flags): Don't change file progress count and
size twice for every file.

(panel_compute_totals): Initialize return values to zero before
calculating anything.

(panel_operate_def, panel_operate): return a value
1998-12-25 21:31:59 +00:00
Norbert Warmuth
23cc8d469c Thu Dec 24 18:30:53 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
* configure.in: Deleted du checks

* INSTALL: Deleted --with-dusum documentation.

* doc/mc.sgml, mc.1.in: Completed documentation about the Options/
Configuration dialog. Added Advanced chown subsection. Deleted
variables from the Special settings section which are now covered
by the configuration dialog.

* gnome/layout: Adapted for the new option Compute Totals in the
Configuration dialog.

* screen.c (recalculate_panel_summary): new function which recalculates
the summary information for the mini-status.

* screen.c (panel_reload): use recalculate_panel_summary

* screen.c (do_file_mark): Honour that dirsizes computed is now a
per entry flag.

* option.c: Added Compute Totals to the configuration dialog.

* file.c (compute_dir_size): made non static

(panel_operate_flags): Don't compute directory sizes if verbose
operation are off.

* cmd.c (dirsizes_cmd): Rewritten to use compute_dir_size as suggested
by Miguel, i.e. get rid of du. Now the dirsizes_cmd honours a
selection and computes sizes only for marked directories. Possible
improvement: add a dialog (or C-C?) to abort computation.

* dir.h (file_entry), panel.h (WPanel): Made the dirsizes computed
flag a per file flag.

* dir.c, find.c, panelize.c, screen.c: Adapted to new file_entry and
WPanel structure.

* features.inc: Deleted DUSUM information

* mc.hlp: remade because of changes in doc/mc.1.in
1998-12-24 21:37:24 +00:00
Jonathan Blandford
2924e5bc78 Major query replace dialog cleanup 1998-12-22 23:38:39 +00:00
Norbert Warmuth
7f3a7ac4d7 Mon Dec 21 22:26:34 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
* mountlist.c: Define xBSD on FreeBSD.

* doc/mc.sgml, mc.1.in: Deleted obsolete information about
tar_gz_memlimit. Partially rewrote the section about the
Virtual FS.. configuration dialog.

* main.c (parse_an_arg): New function, popt callback. Option
parsing in gmc was broken. The gnome*_init_with_popt_table free
the option tables and gmc tried to use the option tables later.

* main.c (handle_args): In the Gnome edition don't parse the
options a second time.

* boxes.c (configure_vfs), setup.c: Deleted obsolete options.
tar.gz files are now always unzipped to a temporary file on disk.

* gnome/layout: Deleted obsolete widgets from the Virtual FS configuration
dialog.

* vfs/tar.c: Deleted global variable tar_gzipped_memlimit.

Mon Dec 21 14:28:55 1998  Norbert Warmuth  <nwarmuth@privat.circular.de>

* filenot.c (my_mkdir_rec): Someone broke this function completely by deleting
a line. Funny things happen if you use an already freed pointer.
Improved error handling: try to make directories recursivly until
mkdir succeeds or fails with errno != ENOENT. Now you will get the
correct error message when you don't have permission to create a
directory.

* mountlist.c: Deleted function prototypes for strdup and strstr,
they might conflict with definitions in the system header files.
1998-12-21 23:30:53 +00:00
Elliot Lee
913f34276e well, it does 'open' and 'properties' on the desktop icons, SLIGHTLY.
gmc is a big piece of junk.
1998-12-21 23:29:46 +00:00
Elliot Lee
a1d41bb385 now compiles. sorry about that. 1998-12-21 21:27:01 +00:00
Elliot Lee
f60b0b9ecc fix popt segv. 1998-12-21 21:25:48 +00:00
Herbert Valerio Riedel
5320b6f1da I must be bored... 1998-12-19 00:45:31 +00:00
Christopher Blizzard
c71bddeb43 1998-12-17 Christopher Blizzard <blizzard@appliedtheory.com>
* autogen.sh (srcdir): Honor $ACLOCAL_FLAGS when running aclocal.
1998-12-17 19:57:06 +00:00
Miguel de Icaza
67e7800efe Fix the popup table -mig 1998-12-17 08:39:16 +00:00
Paul Sheer
e88c714131 editwidget.c, mousemark.c, mousemark.h all depreciated from Makefile.in 1998-12-17 08:36:25 +00:00
Miguel de Icaza
7071b26a27 Compilation fixes + 3-button fixes 1998-12-17 08:28:05 +00:00
Miguel de Icaza
3ac4cfa567 Merge from MC_MIME_TYPE branch. It has so many bug fixes you wont
even recognize it.

1998-12-16  Miguel de Icaza  <miguel@nuclecu.unam.mx>

	* gdialogs.c (create_op_win): Remove second spurious packing.
	(create_op_win): OP_MOVE uses the same stuff OP_COPY does.  Fix
	this.
	(file_progress_show_target): More compliant to the original
	functions.
	(file_progress_show_source): More compliant to the original
	functions.

	* gdesktop.c (create_desktop_dir): Fix mem leak.

Miguel.
1998-12-17 04:51:24 +00:00
Paul Sheer
d5cb676e0b mouse highlighting fixes. and cleanups. dropped CoolWidget mouse code in gnome version 1998-12-17 04:05:13 +00:00
Miguel de Icaza
0a301c466c Use the new icons from Tiggert 1998-12-17 02:31:03 +00:00
Gregory McLean
ac610cb6fb Updates.
This is a very basic/rough outline of gmc documentation, feel free to add
and expand to it :)

-- Greg
1998-12-16 22:29:16 +00:00
Tuomas Kuosmanen
05f856f5b5 ... I guess it makes sense to update the Makefile.in too?
If not, correct me. /tigert
1998-12-16 21:43:11 +00:00
Tuomas Kuosmanen
ec66d71ede Some video/nnnn filetype-icons... /tigert 1998-12-16 21:40:58 +00:00
Paul Sheer
441cbc3aed changelog updates 1998-12-16 12:37:48 +00:00
Paul Sheer
99c03a1cda gmc mcedit selection now works 1998-12-16 12:35:43 +00:00
Miguel de Icaza
9d3578f803 Revert last commit, this should have gone into a branch 1998-12-16 06:33:55 +00:00
Miguel de Icaza
cb83d83796 Commiting the MIME-based Midnight Commander code into the MC_MIME_TYPE branch 1998-12-16 06:25:41 +00:00
Norbert Warmuth
549fecfff7 Wed Dec 16 06:47:47 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
* screen.c (Xtry_to_select): Don't select a similar file when
"name" can't be found in the panel (when deleting files the
selection jumpped from the deleted "file" to a directory which
started with the same character as "file", annoying).
Strip known vfs suffixes from "name" before trying to select
(I think Timur made this suggestion a few months ago). Know the
vfs is mature enough to do this.

* vfs/vfs.c (vfs_strip_suffix_from_filename): New function which strips
known vfs suffixes from a filename and returns a malloced string
which has to be freed. Possible improvement: strip vfs suffix from
last path component.

* vfs/extfs/*: added "umask 077" to every script.
1998-12-16 06:16:13 +00:00
Miguel de Icaza
cb78daaa9b Use gnome-moz-remote 1998-12-16 05:18:55 +00:00
Miguel de Icaza
6bd36c55bb Just when you thought I was done 1998-12-16 05:15:45 +00:00
Miguel de Icaza
132264dd5a Sigh, wish Paul tested this 1998-12-16 05:09:30 +00:00
Miguel de Icaza
5f2350b395 more makedistcheck fixes 1998-12-16 05:04:13 +00:00
Miguel de Icaza
1495a1397e typo fix 1998-12-16 05:00:17 +00:00
Miguel de Icaza
7e2618dd76 More fixes from DrMike 1998-12-16 04:55:33 +00:00
Miguel de Icaza
9d0390e20c Updated 1998-12-16 04:54:01 +00:00
Miguel de Icaza
b43cc28340 Specfile update 1998-12-16 04:19:52 +00:00
Miguel de Icaza
9c6fb197cc La de da 1998-12-16 03:50:22 +00:00
Miguel de Icaza
a7aaba4cac La de da 1998-12-16 03:48:32 +00:00
Miguel de Icaza
ba93bd26d4 Just for kicks 1998-12-16 03:47:34 +00:00
Miguel de Icaza
07d28f67ca More stuff :-) 1998-12-16 03:44:31 +00:00
Miguel de Icaza
520e129c93 More make distcheck fixes (note that these are needed, as distcheck was never implemented here before 1998-12-16 03:20:38 +00:00
Miguel de Icaza
24f8b8fb5f More make distcheck fixes 1998-12-16 03:00:34 +00:00
Miguel de Icaza
459ba9ee9e More make distcheck fixes 1998-12-16 02:59:18 +00:00
Miguel de Icaza
2651c80364 Make distcheck fixes 1998-12-16 02:52:20 +00:00
Miguel de Icaza
5f4f421c3a Mime-type action code 1998-12-16 02:51:44 +00:00
Miguel de Icaza
ddf15bfaec Bump version 1998-12-16 02:40:11 +00:00
Miguel de Icaza
228204c74c Fix this 1998-12-16 02:32:31 +00:00
Miguel de Icaza
13ebb07961 Mimetypes for RPM and DEB 1998-12-16 02:30:31 +00:00