Commit Graph

6473 Commits

Author SHA1 Message Date
Miguel de Icaza 6981cf6275 Compilation fixes, bugs reported by DrMike -mig 1998-04-16 18:08:08 +00:00
Miguel de Icaza 8f56dbcab1 More more more more -mig 1998-04-16 04:27:44 +00:00
Miguel de Icaza 482e8af0fb My vain attempts at getting Radio Buttons working properly -mig 1998-04-16 04:22:56 +00:00
Miguel de Icaza f494ada890 Ok, most of the "Elliot Lee confidential bug report" has been dealt
with with this commit.  This also addresses a bunch of the comments
from the status.shtml from DrMike.

Miguel.

1998-04-15  Miguel de Icaza  <miguel@nuclecu.unam.mx>

	* screen.c (GT): Assign two spaces for the minimum size of the
	"type" field for the GNOME edition.  This gives some extra space
	for the icon that gets displayed.

	* dlg.c (remove_widget): New function:  used to remove a widget
	from an existing Dlg_head;
	(destroy_widget): Destroy a specific Widget.
	(add_widgetl): Extended to deal with the fact that a running
	Dlg_head can become empty.

	* panelize.c (l_call): Update the input line every time the user
	selects the entry with the mouse (pretty common in the gnome
	edition).

	* hotlist.c (add_new_group_input): Removed an extra field that was
	causing problems.

	* find.c (find_parameters): Tree button is gone for gnome until we
	get the tree function working on gnome.

	* cmd.c (save_setup_cmd): Per Elliot's suggestion, do not pop up a
	dialog box to inform the user about the saved setup.

1998-04-15  Miguel de Icaza  <miguel@nuclecu.unam.mx>

	* gcmd.c (gnome_close_panel): Implement the close-the-panel
	functionality.

	* gscreen.c (x_panel_destroy): Implement the gnome mode way of
	destroying the panel.

	* gview.c (view_status): Add cacheing of the information status,
	to avoid excessive flicker.  It would be better if GtkLabel did
	not flicker though.
	(scrollbar_moved): Scroll correctly.  We now use
	view_move_backward and view_move_forward to adjust the scrollbar
	contents.  This displays the scrollbar correctly.

	* gwidget.c (x_listbox_select_nth): This may be invoked before the
	widget has been created, work around this problem.

	* gscreen.c (show_dir): Set the title bar for the window to the
	current directoy.  Reported by both Mike and Elliot.

	* layout: Updated to the new hotlist dialog box.
1998-04-16 02:45:53 +00:00
Miguel de Icaza 506094f44a 1 line fix-mig 1998-04-15 22:38:36 +00:00
Miguel de Icaza c277a3e1e6 1998-04-15 Pavel Machek <pavel@elf.ucw.cz>
* cmd.c: Report failed chdir attempts.
1998-04-15 22:17:02 +00:00
Miguel de Icaza d47dbe9bc2 New es.po -mig 1998-04-15 20:26:21 +00:00
Miguel de Icaza c7236a4397 New ru.po from Alex 1998-04-15 20:11:12 +00:00
Miguel de Icaza 33bcad66ff Wed Apr 15 10:48:41 1998 Alex Tkachenko <alex@bcs.zp.ua>
* src/hotlist.c: changes to hotlist boxes i18n.

	* src/panelize.c: changes to panelize boxes i18n.

	* src/wtools.c (query_dialog): Take care about possible '&' in
	button names while calculating window sizes and button positions.
1998-04-15 20:09:13 +00:00
Miguel de Icaza 41eeb94d42 1998-04-15 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gtrans.c (create_transparent_text_window): Destroy the cursor
	properly.
1998-04-15 07:45:51 +00:00
Miguel de Icaza 0a36428e84 Compilation fix -mig 1998-04-15 06:15:42 +00:00
Miguel de Icaza 036af40392 1998-04-15 Miguel de Icaza <miguel@nuclecu.unam.mx>
* screen.c (string_file_nlinks): The buffer was too small and we
	were overwriting parts of it.

	* subshell.c (do_subshell_chdir): Memory leak fix.

	* find.c (do_search): Do not use undefined order of evaluation.

	* user.c: Do not use undefined order of evaluation.

	* dlg.c (init_dlg): Do init the default return value.
1998-04-15 06:05:34 +00:00
Miguel de Icaza 515e64efdc 1. Use the old artificial drag start code.
2. Load/Save desktop-icon transparent state.
3. Add arrange icons code.
4. Add snap to grid option (default now).
5. Fixed viewer crash.

Still left to do:
- Nice config dialog to set the above variables.
1998-04-15 03:16:29 +00:00
Miguel de Icaza 1ff37554b8 1998-04-14 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gdesktop.h: Added extern declarations for the
	want_transparent_icons and want_transparent_text variables.

	* gtrans.c (set_window_text): Now we use the new global variables
	want_transparent_icons and want_transparent_text to decide how to
	paint the pixmap and mask.  The want_transparent_* variables can
	thus be configured for the smartness/speed of your X server when
	using shaped windows.
1998-04-14 19:08:15 +00:00
Pavel Machek a2059d69a1 Ignore files which are created on "make dist" 1998-04-14 18:05:58 +00:00
Pavel Machek 5f8d7d3107 Cosmetic changes in makefiles 1998-04-14 18:04:01 +00:00
Miguel de Icaza 1f9fcf18e0 Andrej Borsenkow's i18n compilation fixes 1998-04-14 16:53:04 +00:00
Pavel Machek becae6c1bb PC port will be copied on "make dist" instead of OS/2 and NT ports 1998-04-14 04:05:43 +00:00
Norbert Warmuth f325bd79c0 Sun Apr 12 03:09:17 1998 Norbert Warmuth <k3190@fh-sw.de>
* cmd.c (view_other_cmd): #ifdef'd application_keypad_mode and
numeric_keypad_mode (don't include it in non text editions)
1998-04-12 01:20:01 +00:00
Norbert Warmuth fd6cdb19cc Fri Apr 12 02:40:41 1998 Norbert Warmuth <k3190@fh-sw.de>
* gwidget.c (x_create_input): return 1 if the widget has been
        initialized manually (there was no return value)

        (x_create_buttonbar): to few arguments to sprintf (button number
        was missing); return a value.

Sun Apr 12 02:48:26 1998  Norbert Warmuth  <k3190@fh-sw.de>

        * xv/xvscreen.c: removed duplicate (conflicting) definition
        of do_enter()
1998-04-12 00:52:13 +00:00
Norbert Warmuth 6495812153 Sun Apr 12 02:24:57 1998 Norbert Warmuth <k3190@fh-sw.de>
* text.c (edition_post_exec), cmd.c (view_other_cmd): Don't change
the keypad mode when we don't use the alternate plus minus. Pavel
forgot an if-clause when he replaced the escape sequences (or
another point of view: I forgot one if-clause at different place).
1998-04-12 00:40:18 +00:00
Miguel de Icaza 17c155a00f Sync again for the 4.1.31 release -mig 1998-04-11 20:51:52 +00:00
Pavel Machek 0bfe2e0f77 Escape sequences are no more used on OS2_NT 1998-04-11 17:05:48 +00:00
Miguel de Icaza 95ac574288 Sync to my tree -mig 1998-04-11 02:53:35 +00:00
Norbert Warmuth 64c711b304 This should fix Torbens problem with segfaults when copying or moving files.
Fri Apr 10 10:35:06 1998  Norbert Warmuth  <k3190@fh-sw.de>

* file.c (file_mask_dialog): When the shell patterns option
was off source_mask was freed twice.
1998-04-10 22:03:02 +00:00
Marc Ewing 1cbec6884f 1998-04-10 Marc Ewing <marc@redhat.com>
* tk/tkscreen.c: removed duplicate (conflicting) definition
        of do_enter()

        * src/panel.h: added up_b
1998-04-10 17:56:00 +00:00
Miguel de Icaza de86596546 Assorted bug fixes -mig 1998-04-09 21:59:32 +00:00
Miguel de Icaza 2f0f1be529 Nicer back/forward implementation -miguel 1998-04-09 05:05:14 +00:00
Miguel de Icaza e0c843048c A bunch of extra TODO items from DrMike have been adressed.
- Double click should work.
- Dragging to other panels shoudl work
- Scrollbar in the viewer
- Entry widgets get their text selected at startup
- Prompts for command if default action does not exist for a filename
- Updated spanish translation.

Plus some other bugs I fixed.

Miguel
1998-04-09 04:58:24 +00:00
Pavel Machek 450203f8a2 regex_comand() calls corrected in the XView edition
Generic PC port added. It is not yet added into the main makefile.
PC port should replace os2 and nt ports.
1998-04-09 02:21:49 +00:00
Pavel Machek 2ba396f80c My previous patch for subshell.h was incorrect. I'm sorry.
Minor patches for OS2_NT.
Buffer size for pattern expansion was insufficient.
1998-04-08 19:37:06 +00:00
Miguel de Icaza 76496220cc Wed Apr 8 11:15:29 1998 Alex Tkachenko <alex@bcs.zp.ua>
* src/find.c: changes to find_parameters/find_file i18n.

	* src/widget.c: new function introduced, button_scan_hotkey();
	button_new() and button_set_text() fixed to use mentioned function.

	* src/key.[ch], src/dlg.c: changes to make recognition of ESC char as
	ALT(c) possible for 8-bit chars. (By replacing 'A'/'Z' comparisons with
	call to isalpha() in the way proposed by Norbert).

	* src/boxes.c: changes to display box i18n

	* src/learn.c: changes to learn key dialog i18n
1998-04-08 18:50:24 +00:00
Marc Ewing 3d6c500f23 Added /usr/lib/mc/layout to gmc file list
-Marc Ewing <marc@redhat.com>
1998-04-08 18:31:43 +00:00
Miguel de Icaza 61850dc7db Fix: include the x.h file to get utilunix.c to compile corrctly -mig 1998-04-08 17:56:47 +00:00
Manish Vachharajani e4e57dca23 Added a missing parentheses to main.c
hmm, should utilunix.c include textconf.h for  port_shutdown_extra_fds()?
1998-04-08 01:29:30 +00:00
Miguel de Icaza ca2ffb99b6 Various fixes reported by DrMike:
- Nicer dialog destruction (no flicker)
- refresh of panels after a drop.
- Pause after run is gone in the gnome edition.
- Improved layout for options dialog box.
- Checkbox widgets are implemented, they now work.

Miguel.
1998-04-07 23:45:27 +00:00
Miguel de Icaza c019ee5a56 Layout fixes -mig 1998-04-07 22:27:47 +00:00
Pavel Machek 1a13a4f7c7 Cosmetic patches for future PC port (OS/2+NT) 1998-04-07 21:53:41 +00:00
Miguel de Icaza 5ae1ab600f Updates Russian translation from Alex 1998-04-07 19:16:04 +00:00
Miguel de Icaza 30252eccf8 Fixes, fixes, fixes, fixes, fixes.
Thanks DrMike for the detailed listing of problems.

Miguel.
1998-04-07 19:08:31 +00:00
Marc Ewing 84d507f826 Tweak %attr()
-Marc <marc@redhat.com>
1998-04-06 14:49:13 +00:00
Pavel Machek 70fabe5cd4 "make dist" works with bash 1.x again 1998-04-06 03:54:03 +00:00
Miguel de Icaza 26f6e92abf Fri Apr 3 05:23:20 1998 Alex Tkachenko <alex@bcs.zp.ua>
* configure.in: ALL_LINGUAS test added, to allow specify list
	of languages to be installed by setting env variable before
	configure. If it is empty, it defaults to full list.

	* src/menu.h menu_entry.{hot_pos, is_dupped} dropped

	* src/menu.c: consistency fixes: pull-down menu items are now
	accessible either with arrow keys or with hotkeys, denoted with &
	(and highlighted). (key combinations, placed to the right of items
	intended to be used from outside the menus). Freeing menu entries
	removed as it no longer needed

	* src/main.c, edit/editmenu.c: menubar init code is changed to conform
	above fixes.

	* edit/edit.h: use of "Cancel" in error_dialogs replaced with
	"Dismiss", to avoid collisions in translation of "Cancel" in other
	places with this case.

	* src/boxes.c: select_format() and it's support removed, as it is
	obsoleted by input line history feature. display_init()/display_callback
	fixed to suite i18n changes. sort_box() - alike.

	* src/option.c: pause_options added &'s and gettext calls to expand
	statically assigned values.

	* src/widget.c: (radio_callback) hotkey recognition is changed to
	&-notation, rather than simple uppercase.

	* src/dlg.c: (dlg_try_hotkey) plain symbol comparison replaced with
	call to isalpha(), this fixes errorneous exit from input line, when
	button hotkey is 8-bit NLS char.
1998-04-03 20:00:00 +00:00
Norbert Warmuth 551dec7a7f Fri Apr 3 12:14:08 1998 Norbert Warmuth <k3190@fh-sw.de>
* tk/tkmenu.c (menubar_arrange, destroy_menu): Added small stubs in order
to make it compile.

* tk/Makefile.in: Use tkmenu* instead of menu*

* src/TODO: Removed obsolete entries: Similar entries in tree view
are displayed correct; user specific files has been moved
to ~/.mc/
Added: Check what to do with menubar_arrange/destroy_menu stubs
in tk/tkmenu.c; the interal editor (not portet yet) adds entries
to the wrong menubar
1998-04-03 12:22:29 +00:00
Miguel de Icaza b50bdac66b Fixes for internationalization compile on some systems:
I have found the problem with all of those internationalization
problems that have been plagging us:

Using AM_whatever_GETTEXT Is not everything that is required:

we need to call this macro and the magic AC_LINK macro.  This macro
creates a link in intl from libgettext.h to libintl.h.  So, we should
be adding -I$builddir/intl and -L$builddir/lib options to the relevant
variables if USE_NLS is set to yes.

We need to propagate this to the gnome code.

Miguel.
1998-04-02 19:57:59 +00:00
Miguel de Icaza 3c6328b4de updated todo list with Mike's (msf@redhat.com) comments 1998-04-02 17:47:45 +00:00
Marc Ewing 6a7a4ed182 Tweak requires.
-Marc
1998-04-01 21:52:52 +00:00
Marc Ewing 3bbe4851e0 - added gdkprivate.h to gscreen.c
- tk Makefile tweak to use menu.* instead of tkmenu.*

(someday my commit will work!)

-Marc <marc@redhat.com>
1998-04-01 19:18:05 +00:00
Marc Ewing 8ba358df39 * tk/Makefile.in: changed some tkmenu.* references to menu.*
* spec file mangling

* header include tweak

-Marc <marc@redhat.com>
1998-04-01 17:40:17 +00:00
Miguel de Icaza 0842a5390c 1998-03-31 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gcache.c: Added an Image cache for all of the imlib-loaded
	images to avoid destroying/reloading the images.

	* gdesktop.c, gtrans.c: Use the image cache.
1998-04-01 00:52:33 +00:00