Commit Graph

1482 Commits

Author SHA1 Message Date
Norbert Warmuth 2c53bb4eb5 Tue Apr 27 20:31:13 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
* src/util.c (strip_home_and_password): Don't split the path in the
middle of a directory, e.g. "/home/bofh" will not be translated to
"~h" (fixes the bug reported by Alex Fortuna <alex@rdc.ru>)
1999-04-28 04:03:30 +00:00
Miguel de Icaza 3ce320801f Handle image/png as well -mig 1999-04-27 23:43:59 +00:00
Miguel de Icaza 571e11a9c3 New smbfs from Wayne Roberts 1999-04-26 22:38:40 +00:00
Miguel de Icaza 447cdfdd37 Double patch removed 1999-04-25 20:00:05 +00:00
Miguel de Icaza d8c040ccb0 1999-04-25 Sergei Ivanov <svivanov@pdmi.ras.ru>
* find.c: The origin of the bug is in the function do_search (file
	find.c).  It limits the number of subdirectories to scan by the
	number stat.st_nlink-2, or infinite if st_nlink<2. On tar vfs,
	st_nlink is always 1, so it should be the second case.

	But before doing stat, do_search does opendir. And opendir on tar
	vfs (vfs_s_opendir in vfs/direntry.c) increases the st_nlink value
	in the stat data! So mc_stat called after mc_opendir on tar vfs
	returns st_nlink==2 instead of 1. This is interpreted as if the
	directory had no subdirs, thus subdirs are not searched in.

	Changing the order of calls to mc_stat and mc_opendir fixes the
	problem.
1999-04-25 19:57:53 +00:00
Miguel de Icaza 449bee9014 1999-04-25 Miguel de Icaza <miguel@nuclecu.unam.mx>
* extfs/uzip.in (nam): Handle new unzips.
1999-04-25 19:34:47 +00:00
Norbert Warmuth 52d700b4b0 Fri Apr 23 21:02:32 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
* vfs/ftpfs.c (retrieve_dir): If we don't get any valid directory entry
(i.e. not even "." and "..") check whether the directory is empty
or not existend (instead of failing with "ftpfs: failed").
1999-04-24 05:40:11 +00:00
Pavel Machek 58dbdc168e It is _never_ good idea to ignore errors. People than expect
everything is going ok.

Ok, I've now limited number of "could not parse" error messages to 5
per session. Lower this limit if it makes you crazy, but DO NOT REMOVE
those messages.
1999-04-23 11:32:53 +00:00
Pavel Machek bd8f6266b7 Fix for solaris using 'l' instead of 'S'. 1999-04-23 10:38:13 +00:00
Norbert Warmuth 2b862fe4f1 Wed Apr 21 21:47:15 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
* src/ext.c (exec_extension): Use tempnam instead of tmpnam (AIX doesn't
like the lattern when compiled with -mthreads).

* src/user.c (execute_menu_command): ditto.


Wed Apr 21 22:04:30 1999  Norbert Warmuth  <nwarmuth@privat.circular.de>

* gtkedit/editcmd.c (edit_save_file): MAD knows about tempnam, no
need to fool it by strdup'ing the return value of tempnam.


Wed Apr 21 21:59:50 1999  Norbert Warmuth  <nwarmuth@privat.circular.de>

* vfs/extfs.c (extfs_open): tempnam returns a malloced string, no need
to strdup it

(various places): use free instead of g_free to free string returned
by tempnam.
1999-04-22 04:36:11 +00:00
Norbert Warmuth 3fd90ce83b This patch set adds a new feature to the text edtion (off by default).
`--with-tm-x-support'
     This option enables minimal X Window support in the text edition. It
     enables MC to query the status of the modifiers CONTROL and SHIFT
     when invoked in a terminal emulation under X11. That's necessary
     to recognice key combinations like C-HOME or S-Cursor key.


Wed Apr 21 20:37:32 1999  Norbert Warmuth  <nwarmuth@privat.circular.de>

* configure.in: New option --with-tm-x-support, use MCCFLAGS and
MCLIBS for build flags which are specific to the text edition.

* INSTALL: Added documentation for --with-tm-x-support

* src/Makefile.in: use MCCFLAGS and MCLIBS


Wed Apr 21 20:19:45 1999  Norbert Warmuth  <nwarmuth@privat.circular.de>

* src/key.c (get_modifier): Query the state of the modifier keys when
running inside a terminal emulation under X11.

* src/key.c (init_textmode_x11_support, done_textmode_x11_support): new
functions, only used in the text edition. Connect to and disconnect
from the X Server when DISPLAY is set.

* src/key.h: added prototypes for the new functions

* src/main.c (main): call (init|done)_textmode_x11_support
1999-04-21 19:18:31 +00:00
Pavel Machek 27a09e8635 Roll in changes from "christian.gennerat" <christian.gennerat@vz.cit.alcatel.fr> 1999-04-21 10:55:07 +00:00
Miguel de Icaza 49061a6fc1 1999-04-20 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gdesktop.c (click_proxy_motion): Terminate rubberbanding if the
	event mask does not contain GDK_BUTTON1_MASK.  There is a race
	condition where we will not get the button release event if we
	manage to grab the server in the button_press handler before the
	window manager proxies the button release to us.
	(perform_release): New function to terminate rubberbanding; this
	used to be in click_proxy_button_release().  Also, update the drag
	selection based on the last known mouse position, not on the
	current one (which is not meaningful if the race condition
	mentioned above kicks in).
	(click_proxy_button_release): Use perform_release().
1999-04-21 00:22:30 +00:00
Vincent Renardias cfa0644c5e Update + fixes 1999-04-20 13:57:33 +00:00
Miguel de Icaza ce7f0886e4 1999-04-19 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gdialogs.c (file_op_context_create_ui): Handle the "close"
	signal from the progress dialog; do not let GnomeDialog close it
	for us.  This fixes bug #2203 in Red Hat's Bugzilla.
1999-04-19 20:38:53 +00:00
Miguel de Icaza 9a0fa9a8e7 Second fix 1999-04-19 19:06:15 +00:00
Miguel de Icaza 9cd7859448 1999-04-19 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gnome-file-property-dialog.c (perm_group_new): Small typo fix
	that fixes crash (#958)
1999-04-19 16:30:20 +00:00
Pavel Machek 66bd4c9348 New version of czech translation from David Sauer
<davids@orfinet.cz>. Czech translation should be now actually usable.
1999-04-19 12:09:09 +00:00
Tuomas J. Lukka 78c25782be Add fi.po 1999-04-19 08:46:06 +00:00
Tuomas J. Lukka 0c367a391e Add fi.po 1999-04-19 08:38:21 +00:00
Miguel de Icaza e67b78b16c 1999-04-18 Miguel de Icaza <miguel@nuclecu.unam.mx>
* extfs.c (get_path_from_entry): Fix a crash here.
1999-04-19 03:33:56 +00:00
Miguel de Icaza a7f00891d1 Updates from David Martina 1999-04-18 22:41:01 +00:00
Miguel de Icaza 800ab829b2 1999-04-18 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gnome-file-property-dialog.c (create_general_properties): Mark
	some more strings for translations.  Thanks to David Martina for
	pointing these out.

	* mc.keys.in.in: New icons from Tim Davis <davist@cs.man.ac.uk>
1999-04-18 22:35:42 +00:00
Miguel de Icaza f65689ab15 New audio/music icons from Tim Davis <davist@cs.man.ac.uk> 1999-04-18 22:22:13 +00:00
Gregory McLean af29c90797 Some specfile corrections.
-- Greg
1999-04-18 21:53:29 +00:00
csmall c185615db9 remove second glib.h (the miguel made me do it) 1999-04-18 06:57:37 +00:00
Miguel de Icaza 3b2afd14c8 Jesus, typo went away 1999-04-18 06:54:49 +00:00
Miguel de Icaza 33c650f9bf Use dvips with explicit -o option 1999-04-17 18:28:33 +00:00
Paul Sheer 9791ad56d9 eeeerm, added checks for some header files: fcntl.h sys/statfs.h utime.h - harmless 1999-04-17 11:21:20 +00:00
Norbert Warmuth e57222fe39 Sat Apr 17 13:04:19 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
* src/view.c (do_view_init): Enable viewing of files with negative
st_size (This reverts part of a patch I commited recently. Miguel
provided a better fix for this issue).
1999-04-17 11:05:17 +00:00
Miguel de Icaza 2c66e8180a 1999-04-16 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gscreen.c: Include the glib.h header file here.
1999-04-17 06:37:42 +00:00
Miguel de Icaza 936e6ef50f 1999-04-16 Miguel de Icaza <miguel@nuclecu.unam.mx>
* mc.keys.in.in: Merge the application/tex values.
1999-04-16 23:42:53 +00:00
Miguel de Icaza fc47533c5e 1999-04-16 Miguel de Icaza <miguel@nuclecu.unam.mx>
* view.c (regexp_search): Use unsigned longs for all of the
	offsets here.  Fixes crash reported on bugtraq.
1999-04-16 23:28:50 +00:00
Miguel de Icaza e3ec9338be 1999-04-16 Miguel de Icaza <miguel@nuclecu.unam.mx>
* configure.in (SHELL): Do not use grep -q, as it is not portable
	to every OS.
1999-04-16 23:10:43 +00:00
Miguel de Icaza 60f80115f3 1999-04-16 Federico Mena Quintero <federico@nuclecu.unam.mx>
* treestore.c (tree_store_save_to): Moved the functionality from
	tree_store_save() to here.
	(tree_store_save): Save the tree in the default location in an
	atomic fashion.
	(tree_store_load_from): Moved the functionality from
	tree_store_load() to here.
	(tree_store_load): Load the tree from the default location.

	* treestore.h (MC_TREE_TMP): Added a #define for the temporary
	name we'll use when saving the tree.  Moved the #defines from
	tree.h over to here.

	* main.c (main): Use tree_store_load() and tree_store_save().
	Removed the mc_tree_store_load/save() versions.

	* tree.c (load_tree): Use tree_store_load().
	(save_tree): Use tree_store_save().
1999-04-16 22:02:09 +00:00
Miguel de Icaza 1270687440 1999-04-16 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gscreen.c (panel_tree_check_auto_expand): Enabled auto-collapse
	functionality again.  Made the code a simpler by using
	gtk_dtree_is_ancestor().

	* gtkdtree.c (gtk_dtree_is_ancestor): New function to test whether
	a node is an ancestor of a child.  This does the same as
	gtk_ctree_is_ancestor(), but much more efficiently.  GtkCTree
	seems to use the pessimal algorithm for this.
	(gtk_dtree_collapse): Slight optimization: do not re-select if the
	node is already selected.
	(gtk_dtree_collapse): Do not freeze/thaw the tree while
	collapsing/selecting.

	* gmain.c: Removed crufty old SM code.
1999-04-16 18:25:00 +00:00
Matthias Warkus 00e136e22d Some German l10n 1999-04-16 11:45:10 +00:00
Norbert Warmuth 2fee0a42d2 I haven't investigated whether there are more problems with
st_size < 0 ...

Fri Apr 16 07:50:59 1999  Norbert Warmuth  <nwarmuth@privat.circular.de>

* src/view.c (do_view_init): Don't view files with negative file size.
Added some error checking (I'm not sure whether this is needed).

* src/wtools.c (message): Use g_vsnprintf instead of vsprintf.

* configure.in: Linking from $srcdir/slang is broken when configure
isn't called with an absolute path. Link from ../$srcdir/slang if
configure was invoked with a relative path.
1999-04-16 05:53:46 +00:00
Miguel de Icaza 99d97479f0 1999-04-15 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gscreen.c (panel_setup_drag_scroll): Made it not return
	anything, since scrolling is independent from any other
	prelighting actions.
	(panel_tree_drag_begin): Do not print debugging message.
	(panel_drag_data_get): Assert that we were requested a valid data
	type.
	(panel_create_tree_view): Only specify GTK_DEST_DEFAULT_DROP for
	the tree, since we want to present the correct feedback when the
	user is hovering over the blank area in the tree.
	(panel_build_selected_file_list): Made it return char *.
	(panel_tree_drag_end): Free dtree->drag_dir, not dtree->current_path.
	(tree_drag_open_directory): Use panel->drag_tree_node instead of
	the coordinates hack.

1999-04-15  Federico Mena Quintero  <federico@nuclecu.unam.mx>

	* gscreen.c (panel_setup_drag_scroll): Made it not return
	anything, since scrolling is independent from any other
	prelighting actions.
	(panel_tree_drag_begin): Do not print debugging message.
	(panel_drag_data_get): Assert that we were requested a valid data
	type.
1999-04-15 23:19:36 +00:00
Jonathan Blandford 3365e8122c 1999-04-15 <jrb@redhat.com>
(gmc_unable_to_execute_dlg): oops. forgot this.
1999-04-15 19:25:31 +00:00
Jonathan Blandford 4d2f528b3e 1999-04-15 <jrb@redhat.com>
* gaction.c (gmc_unable_to_execute_dlg): really ugly hack to set label.
1999-04-15 19:24:29 +00:00
Yukihiro Nakai 16bf5a809f Initial Japanese translation from Yasuyuki Furukawa. 1999-04-15 03:02:47 +00:00
Nuno Ferreira 33917b2476 1999-03-20 Nuno Ferreira <nmrf@rnl.ist.utl.pt>
* configure.in: Do not rm the destination file and then link, use
	ln -sf. Link from $srcdir/slang, not from ../$srcdir/slang.

This one was forgotten in my local copy.
1999-04-14 20:10:26 +00:00
Sung-Hyun Nam 8eadd2d788 updated 1999-04-14 11:58:12 +00:00
Miguel de Icaza 5daec90384 1999-04-13 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gtkdtree.c (gtk_dtree_destroy): Memory leak fix: destroy
	current_path and requested_path
1999-04-14 00:03:24 +00:00
Matthias Warkus 3b4af7d7ef Well, committing the ChangeLog. 1999-04-13 20:45:29 +00:00
Miguel de Icaza 5d2a84f00d 1999-04-13 Miguel de Icaza <miguel@nuclecu.unam.mx>
* utilunix.c (my_system): Set up default signal handlers for childs.
1999-04-13 19:37:45 +00:00
Matthias Warkus ddfdbc4138 Added/revamped/hyphenified German lines in .desktop entries;
Updated/redid de.po.

I have *not* changed all the other .po files, I've done "make
update-po", that's all. Please kill me, should I have messed up the
tree somehow.

Kill me anyway, should I have goofed with CVS somehow. This thing
scares me no end, I keep looking stuff up in the documentation, and
it's with trembling fingers that I do my commits. Luckily I can't
break any code since I don't work on any code :)
1999-04-13 19:29:16 +00:00
Norbert Warmuth f807b91600 Tue Apr 13 07:07:36 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
* slang/slutty.c (SLsys_getkey): handle EOF on stdin (return
SLANG_GETKEY_ERROR on EOF instead of returning garbage)

* slang/Makefile.in (clean): remove the symbolic link slang.h on the
distclean target and not on the clean target.


Tue Apr 13 07:14:10 1999  Norbert Warmuth  <nwarmuth@privat.circular.de>

* src/slint.c (getch): Quit MC when SLang_getkey returns an error. Looking
at the code that's only the case when we read EOF from stdin.

This fixes the problem where MC consumes a lot of cpu time while
reading EOF from stdin in a tight loop. This situation arises when the
terminal line/connection drops without MC being sent SIGHUP.


Tue Apr 13 06:07:05 1999  Norbert Warmuth  <nwarmuth@privat.circular.de>

* configure.in: Some AC_ARG_WITH macros haven't checked $withval, i.e.
--with-PACKAGE and --without-PACKAGE gave the same results.
1999-04-13 19:21:03 +00:00
Jonathan Blandford a0b4b12797 1999-04-13 Jonathan Blandford <jrb@redhat.com>
* capplets/mime-type/mime-data.c (write_mime_foreach): many many
	changes.  Now you can really add a mime-type.
1999-04-13 19:17:40 +00:00