Commit Graph

11782 Commits

Author SHA1 Message Date
Miguel de Icaza
08dc3ad481 Only process drop events for the data types we actually know.
Should help Jaka's MDI.

Miguel
1998-05-27 00:21:32 +00:00
Miguel de Icaza
9ee743dea5 Couple of fixes to Pavel's VFS stuff.
I do think I am going to expand the VFS functions again, I do not like
this macro stuff.

Miguel.
1998-05-26 19:46:37 +00:00
Marc Ewing
37c46d866c 1998-05-26 Marc Ewing <marc@redhat.com>
* Makefile.in: use @LIBVFS@ when referring to libvfs-mc.a
1998-05-26 19:41:44 +00:00
Miguel de Icaza
eb1a6da0ef 1998-05-26 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gmain.c (session_save_state): Perform shutdown if `shutdown'
	flag is set.
1998-05-26 17:49:41 +00:00
Miguel de Icaza
6472caa9ba I forgot this one as well 1998-05-26 05:09:37 +00:00
Miguel de Icaza
6fc9e99a61 Files I had forgotten to add from Pavel's VFS split. 1998-05-26 05:08:10 +00:00
Miguel de Icaza
d31976c59c 1998-05-25 Miguel de Icaza <miguel@nuclecu.unam.mx>
* ext.h (MC_USER_EXT): New name for the per-user extension file
	(this needs redoing to concatenate this + the system stuff instead
	of the overwrite stuff we have now).  Now it is called the ~/.mc/ext-n
1998-05-26 05:03:38 +00:00
Miguel de Icaza
24116079fb *** empty log message *** 1998-05-26 05:01:24 +00:00
Miguel de Icaza
8dba03420e Update ko.po translation from Namsh and the ko@li.org team 1998-05-26 03:36:20 +00:00
Miguel de Icaza
7a7f7a3d85 Integration of Pavel Machek's vfs code split and vfs syntax change.
The VFS code can now be used by other applications (if you compile the
libvfs.a target and link against this).

Syntax has changes internally from the url-like syntax to a new syntax
that does not have ambiguities.  A default conversor for the new syntax
will be provided in the future, also dealing with the user ~/.mc/ext files
is currently in a non-optimal state.

Keep an eye on this mailing list.

Miguel.
1998-05-26 00:53:24 +00:00
Miguel de Icaza
fa9cc8e6a9 1998-05-25 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gdesktop.c (desktop_create_directory_entry): Fix, make a
	g_strdup copy of the name. Fixes bug report #78.
	(desktop_icon_context_popup): Simplified this routine as we are
	using file_popup now anyways.
1998-05-25 22:16:11 +00:00
Norbert Warmuth
5b31e4afe5 Mon May 25 23:32:35 1998 Norbert Warmuth <k3190@fh-sw.de>
* editdraw.c (print_to_widget): Ifdef'd SLang specific code in order
to make it compile with ncurses. Syntax highlighting in the
internal editor is already disabled when SLang isn't used.
1998-05-25 21:40:00 +00:00
Miguel de Icaza
0baa6ae099 Weee! First bugs fixed from the Bug tracking system:
1. Selecting text in an input line and typing a char
   now does the expected thing (Bug #17)

2. Drag and drop betwen icon view was broken (Bug #16
   (This is a bug introduced by the fact that when Icon
   View was introduced, I left the testing for the view
   mode here and there)

Extra stuff: runtime warnings fixed when creating a new window;
moved the "new window" option to the "file" menu, it makes more
sense there.  Force event flushing when I change the progress
status for vfs code.

Miguel
1998-05-24 22:21:56 +00:00
Norbert Warmuth
ac7d5df664 Sun May 24 02:45:03 1998 Norbert Warmuth <k3190@fh-sw.de>
* utilunix.c, util.h (errno_dir_not_empty): deleted

Sat May 23 22:29:57 1998  Norbert Warmuth  <k3190@fh-sw.de>

* file.c (check_dir_is_empty): New function which takes a path and
returns -1 on error, 1 if there are no entries besides "." and
".."  in the directory path points to, 0 else. This function
actually opens and reads the directory and doesn't do tricks we
used to do with rmdir.

* file.c (erase_dir, erase_dir_iff_empty): Use check_dir_is_empty
to detect non empty directories. The old code tried to remove the
directory and decided on errno whether the failure of rmdir was
caused by a non empty directory or whether there was a different
error.
Unfortunatly not every filesystem sets errno to EDIRNOTEMPTY if
you try to delete a non empty directory. Namely the linux user
space nfs server sets errno to EIO, Suns nfs server sets it to
EEXIST and the AIX nfs server sets it to ??? (Steve reported
problems on AIX so I guess AIX sets errno to a value we currently
don't check).
1998-05-24 01:29:36 +00:00
Miguel de Icaza
a416ee4f7b Cool changes:
1998-05-22  Miguel de Icaza  <miguel@nuclecu.unam.mx>

	* gwidget.c (x_create_input): Disable the use of the GNOME entries
	for now, as they are very slow.  We need to figure out what is
	wrong with this.

	With this change, dialog boxes close quickly instead of taking
	ages to close.

	* gscreen.c, gdesktop.c (file_popup_add_context, file_popup):
	Share the context menu code in gdesktop.c and gscreen.c.  The
	desktop pop up menus now include all of the stuff that would have
	appeared in the Panel.

	* gdesktop.c (desktop_icon_remove): Remove the file associated
	with this desktop entry if it is on the ~/desktop directory.
1998-05-23 00:55:03 +00:00
Pavel Machek
fa6ba53073 Redundant SGML tags removed 1998-05-22 02:20:13 +00:00
Pavel Machek
49c2a25338 "make dist" works again.
NLS should not be copied anymore.
po/stamp-cat-od should be po/stamp-cat-id
1998-05-22 01:54:25 +00:00
Miguel de Icaza
f7851d17c2 1998-05-21 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gscreen.c (load_dnd_icons): Remove the code and the icons that
	we had here privately.  Use new gnome-stock functionality
	instead.
1998-05-22 01:07:00 +00:00
Miguel de Icaza
3c06d7ee5e Do not lower on expose -mig 1998-05-21 18:52:35 +00:00
Elliot Lee
22118c031b Lower icons on expose 1998-05-21 17:21:59 +00:00
Norbert Warmuth
709a938f3a Deleted NLS file which was identical to ABOUT-NLS. 1998-05-21 15:42:40 +00:00
Miguel de Icaza
b57ee04233 Changes:
- We now provide both url:ALL and file:ALL drag types.  This
	  allows applications that are not vfs-aware (all of them
	  right now :-) to work even if the files dragged are from a
	  remote site.

	  If the files are remote, and the target only accepts
	  file:ALL, a temporary file is created (or files, if multiple
	  files are dragged) and the names of the temporary file names
	  are transfered.

	- Added ABOUT-NLS file :-)

Miguel.
1998-05-21 04:16:15 +00:00
Miguel de Icaza
477a46d49e 1998-05-20 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gtrans.c (set_window_text): Pass new justification parameter to
	gnome_icon_paint_text().
1998-05-20 23:06:52 +00:00
Norbert Warmuth
5baf384554 Thu May 21 00:09:45 1998 Norbert Warmuth <k3190@fh-sw.de>
* menu.c (menubar_event): Don't set menubar->selected to the
invalid value -1. Fix for the bug reported by root@liepa.soften.ktu.lt

* menu.c (menubar_drop_compute): removed the check for inrange
items which isn't necessary any longer.
1998-05-20 22:34:13 +00:00
Miguel de Icaza
d6e872a113 1998-05-20 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gpageprop.c (item_properties): Restore the arrow cursor for the
	desktop icon windows.

	* gdesktop.h (desktop_icon_t): Removed unused title field.
1998-05-20 22:10:06 +00:00
Miguel de Icaza
9c120a91b0 1998-05-20 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gtrans.c (set_window_text): Made it use the new
	GnomeIconTextInfo functions.

1998-05-18  Federico Mena Quintero  <federico@nuclecu.unam.mx>

	* gscreen.c (panel_create_icon_display): Set some good separator
	characters for the file icon list.
1998-05-20 19:57:32 +00:00
Norbert Warmuth
fced018e54 This bug is also in 4.1.34.
Wed May 20 16:27:56 1998  Norbert Warmuth  <k3190@fh-sw.de>

* widget.c (history_put): input line history was defunct because
there was an #ifndef where an #ifdef should be.
Btw. PORT_WIDGET_WANTS_HISTORY seems incomplete because a lot of
history code is included even when this define is undefined.
1998-05-20 14:49:12 +00:00
Miguel de Icaza
9f5523e4e9 Bug fixing from the TODO . 1998-05-20 06:49:08 +00:00
Miguel de Icaza
4de36e79d8 1998-05-20 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gpageprop.c (item_properties), gprop.c: Add executable editing
	(command, and terminal).  Save the dentry after modification

1998-05-19  Miguel de Icaza  <miguel@nuclecu.unam.mx>

	* gprop.c (change_icon): Test for gp, as the combobox emits the
	"changed" signal when shutting down.  Great.

	* gdesktop.c (desktop_reload): Missing mc_closedir
	(desktop_setup_icon): Fix memory leak.
	(get_desktop_icon): Fix memory leak.
	(desktop_create_directory_entry): Set the size of the exec
	vector.
	(desktop_create_launch_entry): Same.

	We now create launch entries instead of trying to support
	regular dropped stuff on the desktop, this makes things easier and
	more consistent.

1998-05-19  Miguel de Icaza  <miguel@nuclecu.unam.mx>

	* ext.c: Memory leak fixed.
1998-05-20 05:49:16 +00:00
Miguel de Icaza
63780b9800 Small fixes to the QNX port 1998-05-20 02:37:07 +00:00
Miguel de Icaza
0ff5c46bff Make life easier for those not having gettext, from Alexander 1998-05-20 02:26:23 +00:00
Miguel de Icaza
c457d7dd96 Pass2 of the QNX port of mc from Tamasi Gyorgy 1998-05-20 02:19:17 +00:00
Miguel de Icaza
3a3c99ed4c Pass1 of the QNX port of mc from Tamasi Gyorgy 1998-05-20 02:12:06 +00:00
Miguel de Icaza
96c55ff5bb Various memory leak fixes.
Miguel.
1998-05-19 18:37:03 +00:00
Miguel de Icaza
779a7b8865 Namsh's fixes for i18n password input 1998-05-19 17:54:24 +00:00
Norbert Warmuth
55563b21b4 Mon May 18 22:24:09 1998 Norbert Warmuth <k3190@fh-sw.de>
* lib/mc.ini.in: s/reges/regex/
1998-05-19 09:01:00 +00:00
Norbert Warmuth
321bc71bab Mon May 18 22:24:09 1998 Norbert Warmuth <k3190@fh-sw.de>
* lib/mc.ini.in: s/reges/regex/

* main.c (process_args): return void, the return value was only
used once but wrong (-h displayed help twice).
(handle_args): -h: don't display help twice
(print_usage): Don't print program name and version, that's
already done by version(0).

* menu.c (menubar_paint_idx): Highlight Hotkeys also on slow
terminals (hotkeys were not displayed at all).
1998-05-19 08:58:41 +00:00
Miguel de Icaza
0dad671321 1998-05-18 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gscreen.c (x_select_item): Test for full icon visibility instead
	of partial visibility only.
1998-05-19 04:02:33 +00:00
Miguel de Icaza
f4a5f85ecf Moved the text icon layout code from here. 1998-05-18 22:48:48 +00:00
Miguel de Icaza
c50ced7273 Range check error fix -miguel 1998-05-18 17:18:12 +00:00
Miguel de Icaza
0de03fd32d ko.po finished as of now, from namsh 1998-05-18 17:02:32 +00:00
Marc Ewing
aae913db01 Bump to 4.1.34 1998-05-17 20:44:26 +00:00
Miguel de Icaza
b74de0093a Updated ko.po translations from namsh 1998-05-17 20:34:40 +00:00
Miguel de Icaza
a6259ad448 Natali Giuliano Italian translations 1998-05-17 07:57:28 +00:00
Pavel Machek
4341f796e8 mc.hlp should not depend on man2hlp. 1998-05-17 06:23:36 +00:00
Pavel Machek
5c3a4556b9 -I statements changed for Borland and IBM 1998-05-17 03:31:18 +00:00
Pavel Machek
780910241e Even non-resizeable menus must be rearranged if layout changes 1998-05-17 03:29:25 +00:00
Pavel Machek
13de3b19a6 Useless keyword "static" removed from structure declaration 1998-05-17 03:27:53 +00:00
Tom Tromey
7c515a1b5c Sat May 16 02:29:51 1998 Tom Tromey <tromey@cygnus.com>
* gdesktop.c (url_dropped): `exec' field of desktop entry now a
        vector.
        (dentry_execute): Likewise.
        (desktop_icon_remove): Likewise.
        (get_transparent_window_for_dentry): Likewise.
        (desktop_create_directory_entry): Likewise; also initialize
        exec_length.
1998-05-16 20:54:28 +00:00
jaka
3fd39ad792 1998-05-16 Jaka Mocnik <jaka.mocnik@kiss.uni-lj.si>
* gscreen.c (create_popup_submenu): fixed bug which caused it to require
	0 instead of 1 marked files for F_SINGLE file_actions.
	* gscreen.c (file_popup): first item in the menu displays "..." when
	multiple files are selected.
1998-05-16 13:01:23 +00:00