Commit Graph

1722 Commits

Author SHA1 Message Date
Norbert Warmuth 3ca228c330 1999-08-20 Norbert Warmuth <nwarmuth@privat.circular.de>
* configure.in (AC_WITH_SLANG): rm -f destination before makeing
a symbolic link (ln -sf doesn't work as expected on Solaris)

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

* vfs/smbfs.c: added missing include file

(browsing_helper): use g_strdup instead of g_new + pstrcpy
(Btw. this is an example why the handholding of smblib gives a
false security feeling. pstrcpy limits the number of characters
copied and is used with a buffer which is smaler than the hard
coded limit in pstrcpy)
(loaddir_helper): ditto
(server_browsing_helper): ditto

(get_remote_stat): fixed memory leaks
(smbfs_loaddir): ditto
(get_stat_info): ditto
(smbfs_stat): ditto

(convert_path): rewritten, now it's much cleaner what it does.
This rewrite was necessary because gcc -O2 choked on glibc 2.1
systems. In that combination strncat is a macro which expands to
strlen and strcat and in vfs/samba/include/includes.h the latter is
defined to __ERROR__XX__NEVER_USE_STRCAT___;.
1999-08-20 05:42:02 +00:00
Sung-Hyun Nam f987b3e07f updated to 4.5.38 and fix shell!=NULL error 1999-08-20 05:36:11 +00:00
Elliot Lee 0bd6d7504a Have 'make dist' work with builddir != srcdir. 1999-08-19 20:17:40 +00:00
Miguel de Icaza 4a90180bd5 1999-08-19 Federico Mena Quintero <federico@redhat.com>
* doc-gnome/C/gmc.sgml: Index fixes.
1999-08-19 16:17:11 +00:00
Pablo Saratxaga 8994590550 added catalan *.po files and cataln description on various *.desktop files 1999-08-19 10:22:12 +00:00
Pablo Saratxaga 7b7e02728a updated walloon language file 1999-08-18 23:43:55 +00:00
Elliot Lee 54575e2beb * gtkedit/gtkedit.c: Make it build with gcc 2.95, by fixing the non-constant
initializers in the GnomeUIInfo structure.
1999-08-18 19:10:21 +00:00
Norbert Warmuth d988df6100 1999-08-18 Norbert Warmuth <nwarmuth@privat.circular.de>
* vfs/direntry.c (vfs_s_getlocalcopy): There's an aditional strdup
needed. In rare cases a pointer was freed twice. Pavel Machek
pointed this out a while ago but obviously it hasn't been fixed, yet.

* vfs/sfs.c (vfmake): Quote characters with a special meaning to the
shell in filenames/-pathes (Fix Bug #1931, VFS will not work if
your full path has the space character in it.).
1999-08-18 19:08:56 +00:00
Norbert Warmuth 3cf5946891 Revert last patch, it has some issues (you want to update when you already
updated your code with the broken patch).
1999-08-18 05:37:45 +00:00
Norbert Warmuth 8a7769edb3 1999-08-18 Norbert Warmuth <nwarmuth@privat.circular.de>
* vfs/sfs.c (vfmake): Quote characters with a special meaning to the
shell in filenames/-pathes (Fix Bug #1931, VFS will not work if
your full path has the space character in it.).
1999-08-18 04:53:18 +00:00
Kjartan Maraas cb009aa708 1999-08-18 Kjartan Maraas <kmaraas@online.no>
* no.po: Updated translation.
1999-08-17 22:44:54 +00:00
Kjartan Maraas dd6d56508b 1999-08-18 Kjartan Maraas <kmaraas@online.no>
* no.po: Fix typo.
1999-08-17 22:42:14 +00:00
Miguel de Icaza 14c3b99489 Getting ready for 4.5.38 - Federico 1999-08-17 18:26:36 +00:00
Norbert Warmuth 10347c3633 Forgot to add this. 1999-08-17 04:30:46 +00:00
Miguel de Icaza f433b2ae87 1999-08-16 Federico Mena Quintero <federico@redhat.com>
* gmain.c (default_edition_colors): "brightred" is not a standard
	X color; use "red" instead.
	(get_color): Take into account the result of gdk_color_parse().
1999-08-16 20:02:27 +00:00
Jonathan Blandford cb49109679 1999-08-16 Jonathan Blandford <jrb@redhat.com>
* Patch from Chyla Zbigniew <chyla@alice.ci.pwr.wroc.pl> to
	gettextize everything.  Sorry translators...
1999-08-16 15:42:30 +00:00
Norbert Warmuth 6fae3e0425 1999-08-15 David Martin <dmartina@usa.net>
* gtkedit/edit.c: Print localized date with strftime()

* src/boxes.c: (symlink_dialog): Move dialog misaligned elements

* vfs/vfs.c (vfs_print_stats): Translate vfs stats

* vfs/shared_ftp_fish.c (s_read, s_lseek): Mark strings for translation

* vfs/fish.c: Translate messages

* src/boxes.c: (symlink_dialog): Move dialog misaligned elements

* src/cmd.c (get_random_hint): Look for localized hint files

* lib/mc.hint.es: NEW FILE. Hints in Spanish flavour.


1999-08-15  Norbert Warmuth  <nwarmuth@privat.circular.de>

* src/cmd.c (guess_message_value): New function. Determine locale used
for messages

(get_random_hint): use guess_message_value

* lib/Makefile.in: added mc.hint.es to LIBFILES_CONST
1999-08-16 05:31:23 +00:00
Kjartan Maraas de9b574c35 1999-08-14 Kjartan Maraas <kmaraas@online.no>
* no.po: Updated translation.
1999-08-14 16:04:18 +00:00
Miguel de Icaza 9fee98879f Add new icon 1999-08-14 01:11:36 +00:00
Miguel de Icaza b91b989b92 Sync - Federico 1999-08-13 23:21:03 +00:00
Miguel de Icaza d80cba67cc 1999-08-08 David Martin <dmartina@usa.net>
* gtkedit/syntax.c (upgrade_syntax_file): Mark error strings for
	translation.

	* gtkedit/editmenu.c (edit_about_cmd): Mark text in "about" for
	translation as it used to be.
1999-08-13 22:45:07 +00:00
Miguel de Icaza 39a1938a5f 1999-08-13 Federico Mena Quintero <federico@redhat.com>
* gscreen.c (panel_fill_panel_list): Select or unselect the rows
	as appropriate, not just select them.  This is needed because the
	clist changes the selection under us when appending rows.
	Finally, do not call select_item() at the end; just reset the
	panel->selected value.
	(panel_fill_panel_icons): Likewise.
	(tree_drag_open_directory): Disabled the auto-collapse
	functionality yet again, since it has numerous problems.  BUGFIX:
	GNOME bug tracker #1656.

	* gcmd.c (gnome_reverse_selection_cmd_panel): Re-enabled this
	function.  The reverse selection bug was somewhere else after all.

	* glayout.c (gnome_panel_edit_menu): Re-inserted the item for
	reverse selection.  It was pointing to the wrong callback, that is
	why it never worked.
1999-08-13 19:42:32 +00:00
Pablo Saratxaga 369514dd4e updated wa file 1999-08-13 11:37:31 +00:00
Miguel de Icaza 3ba5595791 1999-08-08 David Martin <dmartina@usa.net>
* gtkedit/syntax.c (upgrade_syntax_file): Mark error strings for
	translation.

	* gtkedit/editmenu.c (edit_about_cmd): Mark text in "about" for
	translation as it used to be.
1999-08-12 23:15:03 +00:00
Jonathan Blandford 37efb6b935 updated bugs 1999-08-12 22:52:32 +00:00
Jonathan Blandford b2af161b6d 1999-08-12 Jonathan Blandford <jrb@redhat.com>
* gpopup2.c (handle_unmount): We refresh when we unmount/mount a cdrom.

	* gscreen.c (queue_reread_cmd): We refresh when we make a change.
1999-08-12 22:50:25 +00:00
Miguel de Icaza fe7d83f1d0 1999-08-12 Federico Mena Quintero <federico@redhat.com>
The two following entries are BUGFIX: GNOME bug tracker #1789.

	* gscreen.c (panel_fill_panel_list): Do not allow selection of "..".
	(panel_icon_list_select_icon): Likewise.

	* glayout.c (gnome_panel_edit_menu): Removed the Invert Selection
	command.  It is completely broken for the expected GNOME
	semantics.
1999-08-12 22:14:07 +00:00
Miguel de Icaza 5e2a2a1e40 Sync sync - Federico 1999-08-12 20:24:31 +00:00
Miguel de Icaza b072b4aab2 I am a bug's worst nightmare - Federico 1999-08-12 19:38:32 +00:00
Miguel de Icaza d087dd3350 1999-08-12 Federico Mena Quintero <federico@redhat.com>
* gnome-file-property-dialog.c (perm_group_new): If the file
	belongs to an unknown user/group, use the group's number as a
	string for the entry box.  BUGFIX: GNOME bug tracker #1414.
	(perm_owner_new): Do the same thing for the user.
1999-08-12 19:38:09 +00:00
Miguel de Icaza 5b14d415a6 1999-08-08 David Martin <dmartina@usa.net>
* gtkedit/syntax.c (upgrade_syntax_file): Mark error strings for
	translation.

	* gtkedit/editmenu.c (edit_about_cmd): Mark text in "about" for
	translation as it used to be.
1999-08-12 19:26:09 +00:00
Miguel de Icaza c7c7c0feb1 Sync sync sync - Federico 1999-08-10 22:10:36 +00:00
Miguel de Icaza c314133465 1999-08-10 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gdialogs.c (file_mask_dialog): Sigh, disabled background
	operations, since they are completely hosed.  Re-aligned the
	widgets in the dialog.
1999-08-10 21:52:06 +00:00
Miguel de Icaza d8e892cb48 1999-08-09 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gscreen.c (editing_icon_list): New function to figure out
	whether an icon in the icon list is being edited.  This is a
	FANTASTICALLY UGLY HACK, but we cannot add new functions to the
	icon list at this point as it would break forwards compatibility.
	Sigh.  BUGFIX: GNOME bug tracker #382, #1065.

	* glayout.c (gnome_panel_desktop_menu): Added some underline
	accelerators.

	* gdesktop.c (desktop_arrange_icons_items): Renamed to the desktop
	namespace.  Added underline accelerators.
	(handle_arrange_icons_name): Made static.
	(handle_arrange_icons_type): Likewise.
	(handle_arrange_icons_size): Likewise.
	(handle_arrange_icons_access): Likewise.
	(handle_arrange_icons_mod): Likewise.
	(handle_arrange_icons_change): Likewise.
	(desktop_arrange_icons): Made static.
	(strip_tearoff_menu_item): Made it return the number of items in
	the menu, not the list of children.
	(desktop_icon_info_destroy): Remove the icon from the icon hash
	table.
	(text_changed): Update the icon hash table information.

	* gdesktop.h: Cleaned up some unused prototypes.

	* gview.c (view_status): Use the correct g_snprintf() format
	argument.

	* gcmd.c (sort_get_func_from_type): Indented according to the MC
	conventions.  People, *PLEASE* follow the Gnome Programming
	Guidelines, especially when modifying existing code.

	* gdesktop.c (swap): Likewise.
	(auto_pos): Likewise.
	(get_icon_auto_pos): Likewise.
1999-08-09 22:54:02 +00:00
Richard Hestilow be51568dc6 Oops, meant to commit this with my earlier commit... 1999-08-09 22:38:44 +00:00
cwryu 5c49287e52 * capplets/mime-type/edit-window.c (initialize_main_win_vals): For
easier i18n, used g_strdup_printf() instead of g_strconcat().
1999-08-09 12:37:43 +00:00
Richard Hestilow 3d88953c11 1999-08-08 Richard Hestilow <hestgray@ionet.net>
* gcmd.[ch]
        * glayout.c
        * gprefs.c
        * gdesktop.[ch] (mostly auto_pos and desktop_arrange_icons):
        Reworking of the desktop's Arrange Icon code -- in addition to
        being able to sort by various criteria now (name, file size, etc),
        there are now 3 options (Right to Left, Bottom to Top, Rows instead
        of Columns) controlling layout positioning. (Located in the "Desktop"
        Preferences tab)
1999-08-09 03:41:39 +00:00
Norbert Warmuth ccdd7f5bce 1999-08-08 David Martin <dmartina@usa.net>
* gtkedit/syntax.c (upgrade_syntax_file): Mark error strings for
translation.

* gtkedit/editmenu.c (edit_about_cmd): Mark text in "about" for
translation as it used to be.

* po/POTFILES.in: Removed symbolic links, and outdated
gmc-window.[ch] and olddnd.c. These don't repport any new strings,
increase compile time and make po files large. Basically adds
gaction.c, g,mount, smbfs.c to the pre-previous file.

* po/es.po: Added new strings with latest editor changes. Added
strings in gaction.c. Merged with a new mc.pot after the changes
in POTFILES.in.

* gnome/gaction.c (mainly gmc_unable_to_execute_dlg): Moved g_strconcat
to g_strdup_printf, to get compact strings and make coherent
translations. Translate atomic actions (open, edit, view) when
calling this function.

* src/menu.c: (create_menu): Adjust "#ifdef ENABLE_NLS" so that menus
get the right size even when NLS is disabled.



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

* po/POTFILE.in: Removed gpopup.c as it is not compiled.
1999-08-08 12:43:32 +00:00
Sung-Hyun Nam bbae2bc97a miss version update 1999-08-08 08:26:17 +00:00
Sung-Hyun Nam 67f22b9224 updated 1999-08-08 08:25:22 +00:00
Miguel de Icaza ec78d9d5d5 Wheeee! - Federico 1999-08-06 20:11:29 +00:00
Miguel de Icaza a98d957baa 1999-08-06 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gdesktop.c (try_rename): New function to rename a desktop icon's
	file by using a file operation context.
	(text_changed): Use try_rename() instead of fiddling with the VFS
	directly.  BUGFIX: GNOME bug tracker #707.  Also, destroy the old
	icon before updating the desktop.
1999-08-06 20:10:34 +00:00
Norbert Warmuth 972271c9e2 1999-08-06 Norbert Warmuth <nwarmuth@privat.circular.de>
* gnome/gconf.h (PORT_STATIC_IN_STRING_FILE_XTIME): new port specific
feature. The Gnome edition first calls all string_file functions
and then uses the return values of these functions. Therefore additional
static buffers in string_file_[acm]time are needed.

* src/screen.c (string_file_[amc]time): These three functions use
file_date which returns a pointer to a static buffer. In the
Gnome edition this buffer has to be coppied to a static buffer
which isn't used in the other two functions (Fix Bug #1766).

* src/util.c, util.h: Moved some constants to util.h

* vfs/tar.c (read_header): Don't segfault when a symlink points to the
root directory.


1999-08-04  Norbert Warmuth  <nwarmuth@privat.circular.de>

* src/widget.c (push_history): Add SMB Link to the list of input dialogs
where urls are input without vfs prefix.

Translate the titles of these input dialogs only once.

Removed Gnome specific code because the Gnome edition doesn't use
the input history any more.

* src/util.c (strip_password): Add /#smb: to the list of urls which might
be input with password.
1999-08-06 19:24:04 +00:00
Kjartan Maraas 839faec6a2 1999-08-06 Kjartan Maraas <kmaraas@online.no>
* gmc.sgml: Updated from user-guide.
1999-08-06 12:04:30 +00:00
Miguel de Icaza 1a457020a6 Sync from Elliot - Federico 1999-08-05 22:47:55 +00:00
Elliot Lee d7e3320496 sync to federico 1999-08-05 22:45:51 +00:00
Miguel de Icaza 9fb128242c README.vfs 1999-08-05 21:58:11 +00:00
Elliot Lee 3c4de05c4f Try my cvs-commits-list procmail rule, #4 [BUGFIX] 1999-08-05 21:24:15 +00:00
Elliot Lee 2d95bb8820 Try my cvs-commits-list procmail rule, #3 [BUGFIX] 1999-08-05 21:23:03 +00:00
Elliot Lee 4f8ba6357e Try my cvs-commits-list procmail rule, #2 [BUGFIX] 1999-08-05 21:21:40 +00:00