Commit Graph

154 Commits

Author SHA1 Message Date
Pavel Roskin
b25f5be791 * Make.common.in: Move all defines ...
* gnome/Makefile.in: ... here ...
* src/Makefile.in: ... and here.
2001-07-20 15:22:50 +00:00
Pavel Roskin
0116e5aea3 * gmain.c (xtoolkit_create_dialog): Don't use "layout" - abort instead.
* layout: Remove.
* Makefile: Remove all references to file `layout'.
2001-07-15 07:23:36 +00:00
Pavel Roskin
2f9f1bb380 * gfind.c: New file - copied from find.c. Reindent, remove
unneeded parts.  Rewrite find_parameters() to use GNOME dialog.
* layout: Remove usused entries.
* Makefile.in: Use gfind.c, not find.c.
2001-07-14 21:14:01 +00:00
Pavel Roskin
1da081a1d5 * Makefile.in (EXTRALIBS): Add @LIBICONV@. 2001-07-12 15:07:50 +00:00
Pavel Roskin
98938f0035 * Makefile.in: Move here gnome-specific definitions from
../Make.common.in.
2001-07-06 21:13:01 +00:00
Pavel Roskin
3c6cf84881 * gkey.c: Include the contents of xslint.c.
* Makefile.in (OOBJS): Remove xslint.o.
2001-06-26 15:01:35 +00:00
Pavel Roskin
93125ecb19 * gtree.c: Remove.
* gtree.h: Likewise.
* gmenu.h: Likewise.
* Makefile.in: Changes for the above.
(OOBJS): Remove command.o.
* glayout.c: Remove command_prompt - it's unused.
* gmain.c (non_corba_create_panels): Don't create cmdline.
2001-06-19 00:54:51 +00:00
Pavel Roskin
4b3c6a0893 * Makefile.in (OOBJS): Remove fsusage.o and mountlist.o.
* gmain.h: Remove dead declaration of x_show_info().
2001-06-18 22:26:45 +00:00
Pavel Roskin
2ff3d69aa3 * Makefile.in: Don't use terms.o.
* glayout.c: Remove unused global variables. Set command_prompt
to 0.
2001-06-06 22:01:53 +00:00
Pavel Roskin
cacd759dde * Makefile.in: Don't use hotlist.o. Remove annoying message. 2001-06-02 06:55:45 +00:00
Pavel Roskin
2802b5f19a * Makefile.in: Don't use key.o. 2001-06-02 01:18:22 +00:00
Pavel Roskin
823c83aa9e * Makefile.in: Don't use boxes.o. 2001-05-30 00:18:10 +00:00
Pavel Roskin
813a5b6d27 * Makefile.in: Don't use subshell.o. 2001-05-29 07:33:50 +00:00
Pavel Roskin
b0593ec1e2 * Make.common.in: Remove obsolete dependency tracking system.
* configure.in: Likewise.
* edit/Makefile.in: Likewise.
* gnome/Makefile.in: Likewise.
* gtkedit/Makefile.in: Likewise.
* slang/Makefile.in: Likewise.
* src/Makefile.in: Likewise.
* vfs/Make-mc.in: Likewise.
* src/depend.awk: Remove.
2001-05-27 04:34:12 +00:00
Pavel Roskin
d56cd43d22 * gcache.c: Remove.
* gcache.h: Likewise.
* gcliplabel.c: Likewise.
* gcliplabel.h: Likewise.
* ghelp.c: Likewise.
* ginfo.c: Likewise.
* gpageprop.c: Likewise.
* gpageprop.h: Likewise.
* gprop.c: Likewise.
* gprop.h: Likewise.
* Makefile.in: Adjust for the above.
* glayout.c: Don't include the above headers.
* gpopup2.c: Likewise.
* gscreen.c: Likewise.
2001-05-15 01:18:22 +00:00
Pavel Roskin
5f21d6d9f9 * directory.xpm: Remove.
* Makefile.in: Remove directory.xpm.
2001-04-30 19:12:43 +00:00
Pavel Roskin
0a90f50277 * Makefile.in: Add dependencies between gmc and static libraries
in the source tree.
2001-04-06 06:24:21 +00:00
Pavel Roskin
2558168fb9 * gnome/Makefile.in, src/Makefile.in, vfs/Make-mc.in: Required
flags moved out of CFLAGS as recommended by GNU coding
        standards.
        * configure.in: Don't add GLIB_CFLAGS to CFLAGS.
        * Make.common.in: XINC eliminated. GLIB_CFLAGS is now added to
        XCPPFLAGS.
        * INSTALL (Random notes on porting to other architectures):
        Completely rewritten. Recommended using CFLAGS instead of XINC.
2000-10-06 06:49:45 +00:00
Pavel Roskin
c69627ffdd * configure: Always include Make.common as file, otherwise
"make distclean" breaks.
        * edit/Makefile.in, gnome/Makefile.in, gtkedit/Makefile.in,
        slang/Makefile.in, src/Makefile.in, vfs/Make-mc.in: $(RMF)
        replaced with "rm -f" - the stangard says that "rm" is portable.
        Ditto $(MV). Adjusted *clean targets to match those in
        Automake. Removed "cross" target.
2000-09-23 05:14:31 +00:00
Pavel Roskin
ee345fa20d * Makefile.in: Don't use $< in explicit rules - this should fix
non-GNU makes. Removed GNOME_IDLDIR - it wasn't used.
2000-09-22 00:15:56 +00:00
Pavel Roskin
769b082e1b * Make.common.in: Added installcheck to placate "make distcheck"
* configure.in, Make.common.in, doc/Makefile.in,
        edit/Makefile.in, gnome/Makefile.in, gtkedit/Makefile.in,
        slang/Makefile.in, src/Makefile.in, vfs/Make-mc.in: Replacing
        variable MKINSTALLDIRS and builddir with Automake-compatible
        mkinstalldirs and top_builddir.
        * doc-gnome/C/Makefile.am: Only maintainers regenerate html
        files. Added uninstall-local target.
2000-09-18 04:57:29 +00:00
Pavel Roskin
7b7cb9878d * doc/Makefile.in, edit/Makefile.in, gnome/Makefile.in,
gtkedit/Makefile.in, slang/Makefile.in, src/Makefile.in,
vfs/Make-mc.in: preserve timestamp on "make distdir", otherwise
mc.pot becomes out of date in the tarball.
2000-09-15 06:05:22 +00:00
Pavel Roskin
536a5ce8d5 * Makefile.in: Compile our own mad.o. Don't link object files.
Put links to the build directory. Don't link headers, change
includes accordingly. gdialogs.o removed from OOBJS. Link
only sources we need. Obsolete comments removed or updated.
2000-09-14 19:20:50 +00:00
Pavel Roskin
3e320e6748 * Makefile.in: Don't make softlinks to the libraries 2000-09-14 17:17:46 +00:00
Pavel Roskin
91e7526108 * configure.in, Make.common.in, doc/Makefile.in,
edit/Makefile.in, gnome/Makefile.in, gtkedit/Makefile.in,
slang/Makefile.in, src/Makefile.in, vfs/Make-mc.in: rootdir
changed to top_srcdir for Automake compatability
2000-09-14 15:12:00 +00:00
Pavel Roskin
a406b17b96 * configure.in: REGEX_O variable removed - always use our regex 2000-09-14 14:28:35 +00:00
Norbert Warmuth
4651b23593 2000-08-29 Norbert Warmuth <nwarmuth@privat.circular.de>
* Makefile.in (CFLAGS): -I$(rootdir)/src removed from CFLAGS -- it
breaks compilation on glibc2.1 systems because glibc includes
src/features.h instead of it's own features.h. Run `make
cleansourcelinks; make sourcelinks' in case mc doesn't find it's
include files.
2000-08-29 12:08:50 +00:00
Pavel Roskin
95b52b597c * Make.common.in: removed hack for "make distcopy"
* doc/Makefile.in, edit/Makefile.in, gnome/Makefile.in,
gtkedit/Makefile.in, slang/Makefile.in, src/Makefile.in,
vfs/Make-mc.in: added "distdir" target. Now "make dist" works
for external builds.
* edit/Makefile.in, slang/Makefile.in: added "Makefile" target
2000-08-28 18:51:22 +00:00
Pavel Roskin
fbb0467538 * Makefile.in: don't do anything with *.inc - they are gone 2000-08-23 19:43:30 +00:00
Pavel Roskin
7e589ca66a * Makefile.in: don't use info.o, chmod.o, chown.o, achown.o,
@XCURSES@ and option.o
2000-08-22 22:10:38 +00:00
Pavel Roskin
9ae68cd8bc * Makefile.in, */Makefile.in: Fail if $(RMF) fails - it may
indicate serious problems. Fixes for uninstall.
* doc/Makefile.in: Rebuild if it is out of date.
2000-08-15 16:56:33 +00:00
Norbert Warmuth
d836e5a79a 1999-09-19 Andrew V. Samoilov <sav@bcs.zp.ua>
* src/user.c (check_patterns): char* is used instead of char [] in sizeof

* src/util.c (string_perm): prefix named pipes by 'p' and not by `s'


1999-09-19  David Martin <dmartina@usa.net>

* gtkedit/editcmd.c (edit_print_string): Use unsigned char so that
8 bit chars from strftime get displayed when inserting date.

* lib/mc.ext.in: Add entries for bzip2 compressed pages as used in
Mandrake 6.0. The generic entry for bzip2 moved to the end of the
file to avoid interferences. In this one I changed the extension check
to a type check (as used for gzip) which might give problems in some
systems.

* configure.in: Use -Tlatin1 to format man pages when available and
"view" 8 bit chars.


1999-09-19  Norbert Warmuth  <nwarmuth@privat.circular.de>

* gtkedit/edit.h: Include files reordered in order to make it compile with
--with-debug

* gtkedit/editcmd.c (menu_save_mode_cmd): calculate dialog width
dependent on lenght of translated strings to display.

* src/mad.c, mad.h, util.c, util.h: Move mad-functions from util.[ch]
to mad.[ch]

* src/option.c: Include files reordered in order to make it compile with
--with-debug

* src/mad.c (mad_init): New function. Initialize debug FILE pointer to
stderr (moved to a function because not on every system stderr is
a constant).
(mad_set_debug): added const qualifier

* src/main.c (main): call mad_init

* po/*.po: s/defination/definition/

* gnome/Makefile.in ($(MAGICDEV_GENERATED)): Make it compile with $buildir
!= $srcdir.

* vfs/ftpfs.c (ftpfs_set_debug), vfs.h: added const qualifier.

* vfs/mcserv.c: removed definition of mad_strconcat which is also
in mad.c.
1999-09-19 23:09:07 +00:00
Elliot Lee
0f17c3b554 Work with srcdir != builddir. 1999-09-19 19:48:51 +00:00
Miguel de Icaza
356209d996 1999-09-17 Federico Mena Quintero <federico@redhat.com>
* smbfs.c: #define NO_CONFIG_H before including the samba
	includes; this way it will not re=define HAVE_LIBREADLINE.  This
	situation sucks.  Should we change the names of the widget.h
	history_*() functions?

1999-09-17  Federico Mena Quintero  <federico@redhat.com>

	* gmain.c (x_init_dlg): Display a warning if the GtkTed code path
	is ever reached.
	(xtoolkit_create_dialog): Likewise.
	(x_add_widget): Likewise.
1999-09-17 20:11:53 +00:00
Owen Taylor
94323db348 1999-09-16 Owen Taylor <otaylor@redhat.com>
* Remove the magicdev autoconf test in favor of just
	including the idl file. Otherwise we have a dependency
	loop between this and magicdev.

1999-09-16  Owen Taylor  <otaylor@redhat.com>

        * gmount.c: Remove the HAVE_MAGICDEV conditional.

	* Makefile.in magicdev.idl: Add the magicdev.idl file
	here to avoid creating dependency loops.
1999-09-17 03:03:32 +00:00
Owen Taylor
d42d8d60eb 1999-09-13 Owen Taylor <otaylor@redhat.com>
* Makefile.in (MAGICDEV_OBJS): Built common/stubs
	for magicdev if we found it.

	* gmount.c (automounter_is_running): If we detected
	magicdev support at compile time, use a CORBA query
	to detect if it is running.

	* gcorba.c (WindowFactory_get_windows_by_directory): Set the
	length of the sequence we are returning.

	* gmount.c (setup_devices): is_block_device_mounted expects
	mount point, not device.
1999-09-14 05:21:39 +00:00
Miguel de Icaza
1dd842ad0b You did not expect *me* to add the file before committing, right? - Federico 1999-09-09 23:48:00 +00:00
Miguel de Icaza
e5c80d6e71 1999-09-09 Federico Mena Quintero <federico@redhat.com>
* gmc-client.c: New file.  This is a small program to which you
	can pass arguments to call the GMC CORBA interface for you.  You
	can do stuff like create a directory window, rescan the desktop,
	etc.
1999-09-09 22:46:54 +00:00
Elliot Lee
620c954fc6 Remove CORBA_GENERATED files in 'make clean'. 1999-09-09 21:23:19 +00:00
Miguel de Icaza
af568f447e 1999-08-23 Federico Mena Quintero <federico@redhat.com>
* gdesktop-prefs.[ch]: New files that handle the desktop
	preferences page.  Now we have a nice way to configure the
	position of desktop icons.

	* gprefs.c (create_prop_box): Use desktop_prefs_new() to create
	the desktop preferences page.
	(apply_page_changes): Do not update the desktop here.
	(apply_callback): Take the desktop page into account.

	* gdesktop.c (desktop_use_shaped_text): Renamed from
	desktop_use_transparent_text.

	* Makefile.in: Added gdesktop-prefs.[ch] to the list of sources.
1999-08-23 23:13:31 +00:00
Elliot Lee
0bd6d7504a Have 'make dist' work with builddir != srcdir. 1999-08-19 20:17:40 +00:00
Tuomas Kuosmanen
6e95404fae Added a nice zip-disk icon bezides the current one - having some variation
is nice.

/tig
1999-06-30 23:20:35 +00:00
Tuomas Kuosmanen
6225086f5a Added the icon to the Makefile.in also so it gets installed. /tig 1999-05-19 05:55:10 +00:00
Miguel de Icaza
cdeefae1ec 1999-04-09 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gtkflist.[ch]: New files.  This is a "file list" widget derived
	from GtkCList that does several things:

		- Overrides all mouse and keyboard event handlers.

		- Implements its own, *sane* selection behavior, unlike
		GtkCList's, which is broken.

		- Implements the same selection behavior as the desktop,
		which is a) correct, and b) consistent.

	* gscreen.c (panel_create_file_list): Use the GtkFList widget.
	(panel_widget_motion): Changed the drag thresholds to be the same
	as in gtkdnd.c.
	(start_drag): New convenience function to begin a drag operation.
	(panel_widget_motion): Use start_drag().
	(panel_clist_scrolling_is_desirable): Offsets must be with respect
	to the clist_window, not to the allocation.
	(panel_clist_drag_motion): Normalize the y coordinate of the
	motion event to the clist_window.

	* gdesktop.c (desktop_icon_info_destroy): Reset the
	last_selected_icon to NULL if it is destroyed.

	* Makefile.in: Added gtkflist to the list of files.
1999-04-09 21:13:04 +00:00
Miguel de Icaza
b3bb157ad5 These are a bunch of changes to fix CORBA and session management. They
are almost complete (i.e. to handle all nitty gritty cases), but they
seem to be working OK right now.  SM should be much more stable now.
Please tell me if you find any weird behavior - Federico

1999-03-30  Federico Mena Quintero  <federico@nuclecu.unam.mx>

	* gdesktop-icon.c (desktop_icon_realize): Remove the
	WM_CLIENT_LEADER property from icon windows so that window
	managers will not store SM information for them.

	* gnome-open-dialog.c: Added missing #includes.

	* gdesktop-init.c (desktop_init_at): Removed an unused variable.

	* gdesktop.h: Added some missing prototypes.

	* gmain.h: Added some missing prototypes.

	* Makefile.in: Added gsession.[ch] to the list of sources.

	* gmain.c (create_panels): Consider whether we have a CORBA server
	and session management.

	* gdesktop.c: #include "gdesktop-init.h"
	* gdesktop.c: Added a missing cast to GNOME_DIALOG.

	* gmain.c (create_panels): Removed the run_desktop global
	variable.

	* glayout.c (create_container): Set the wmclass of the panel to
	include its unique ID.

	* gsession.[ch]: New file with the functions that deal with
	session management.

	* glayout.c (gnome_exit): Use session_set_restart().

	* gcorba.c (corba_init): Now returns an int with an error value.
	(corba_init_server): Initialize the server properly.
	Fixed all the object implementation code.
	(corba_create_window): New function used to create a window with
	the CORBA server.

	* gmain.c (gnome_check_super_user): Now the check for running as
	root is done here.  There should be no GUI code in src/.

1999-03-30  Federico Mena Quintero  <federico@nuclecu.unam.mx>

	* dlg.c (dlg_run_done): Do not call the callback of a NULL current
	widget.

	* setup.h: Added missing prototype for setup_init().

	* filegui.c (check_progress_buttons): Added a missing return
	value.

	* dlg.c (remove_widget): Added a missing return value.

	* main.c: Removed the global directory_list variable.
	Removed the main_corba_register_server() function.

	* main.h: Removed the global run_desktop variable.

	* panel.h: Now the panel structure has a unique numerical ID used
	for session management.

	* screen.c (panel_new): Maintain a unique ID for each panel.

	* main.c (maybe_display_linksdir): Handle display of the desktop
	init dir here.
	(main): Call gnome_check_super_user().
	(init_corba_with_args): Call corba_init_server().

	* main.c (init_corba_with_args): Do CORBA initialization here.  Also
	removed the global force_activation option.

1999-03-30  Federico Mena Quintero  <federico@nuclecu.unam.mx>

	* vfs.c (vfs_add_current_stamps): Only do stamping of the panels
	if they exist.

	* mcserv.c: #include <sys/wait.h>
	(get_client): Put `#ifdef __EMX__' around an otherwise-unused
	variable.

	* utilvfs.c (vfs_split_url): Fix NULL <-> 0 confusion when
	comparing characters.

	* ftpfs.c (retrieve_dir): Removed unused variable dot_dot_found.

	* extfs.c (extfs_init): Assign `key' to c, not `&key'.
1999-03-30 06:09:56 +00:00
Timur Bakeyev
188d414612 Fri Mar 26 19:16:38 1999 Timur Bakeyev <mc@bat.ru>
* */Makefie.*: fixed several missed conversions from libdir to
	mclibdir. (Should be automake'd, really)
1999-03-26 16:18:41 +00:00
Miguel de Icaza
e0db072382 1999-03-23 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gnome-file-property-dialog.c (apply_metadata_change): Fixed
	incorrect logic when testing whether the icon changed or not.
	This makes icons change correctly again.

	* Makefile.in (GNOMEHDRS): Added gdesktop-init.h.
1999-03-23 20:39:29 +00:00
Miguel de Icaza
9207af342d COOL CODE! OH MAN! I AM GOOD!
Ok, so this time I got the stuff to auto-load desktop startup links.
This means you can ship stuff to pre-configure the desktop of the
users now.

We support program-based setup and url-links.

Details on the lib/README.desktop file
1999-03-20 18:08:52 +00:00
Miguel de Icaza
eb864a4949 1999-03-15 Federico Mena Quintero <federico@nuclecu.unam.mx>
* cmd.c (edit_symlink_cmd): Generate the title of the dialog after
	we have computed the source filename.
	(edit_symlink_cmd): Use g_strdup_printf() instead of g_strconcat()
	for better internationalization.

	* wtools.c: Removed unused function input_dialog_help_2().
	(real_input_dialog_help): Put this inside an "#ifndef HAVE_GNOME",
	because now the Gnome version implements its own pretty dialog.

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

	* gdialogs.c (real_input_dialog_help): Now we use a
	gnome_request_dialog() for generic input dialogs.  They look
	prettier and consistent now.
	(file_progress_show): Update the progress bars.  Thanks to Greg
	for noticing this!

	* Makefile.in: Removed references to gpopup.[co].
1999-03-16 00:11:32 +00:00
Miguel de Icaza
cbebd9cd27 1999-03-11 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gdesktop.c (do_mount_umount): Use g_readlink here.

	* gpopup2.c (handle_eject): Small tuning.  And use g_readlink :-).

	* gmount.c (mount_point_to_device): New function.  Mapes a mount
	point to its device.  Required since we are now using the mount
	point (as this is not ambiguous) as the key for the devices and
	the eject command needs the device name, not the mount point.

	* gdesktop.c (desktop_icon_info_open): First try to see if
	filename is mountable.  Then do the directory tests and the file
	launching tests.  Fixes mount-by-double click.

	* gmount.c (setup_devices): Use new tigert icon.
1999-03-11 07:53:26 +00:00