Commit Graph

15962 Commits

Author SHA1 Message Date
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
Norbert Warmuth 175f488cb8 Wed Apr 1 00:15:30 1998 Norbert Warmuth <k3190@fh-sw.de>
* key.c, key.h (numeric_keypad_mode, application_keypad_mode): New
functions which encapsulate two hardcoded escape sequences from main.c.

* main.c (main): Use the two new functions from key.c

* main.c, screen.c: Moved all file selection keys from the default
keymap to the keymap for panels in listing mode.
Changed *_selection_cmd to *_selection_cmd_panel in panel_keymap
(functions in panel_keymap get a WPanel * as first parameter,
i.e. the indirection with cpanel isn't necessary).

* main.c (midnight_callback): Keys '*' and '-' were not treated
when only_leading_plus_minus==0;
Optimized the if-clauses a little bit (i.e. removed duplicate
checks). More optimation is possible but it would make the whole
stuff completly unreadable.

* key.c (correct_key_code): KP_ADD, KP_SUBTRACT and KP_MULTIPLY
will be translated to +, - and * only if the option
alternate_plus_minus is turned off.

* learn.c (learn_keys): Turn alternate_plus_minus temporarily on
to avoid translation of KP_ADD, KP_SUBTRACT and KP_MULTIPLY in
correct_key_code/make sure keypad is in application mode (makes it
possible to learn this keys).

* cmd.c (reverse_selection_cmd_panel): New function (renamed from
reverse_selection_cmd, takes a WPanel * as parameter, references to
cpanel changed to panel/the passed parameter).
reverse_selection_cmd now simply calls this function with cpanel.
This pair was missing among the *_selection_cmd* functions.

* cmd.h: Added function prototypes.
1998-03-31 22:36:24 +00:00
Vincent Renardias 05b5ed8a99 Tue, 31 Mar 1998 19:42:14 +0200 [Vincent]
YAFTMMH... (Yet Another Fix To Make Msgfmt Happy)
1998-03-31 17:43:16 +00:00
Miguel de Icaza 4e74ed86d0 1998-03-31 Philippe De Muyter <phdm@macqel.be>
* vfs.h: compilation fix for m68k-motorola-sysv
1998-03-31 17:27:11 +00:00
Miguel de Icaza 6ac7fbc179 1998-03-31 Paul Sheer <psheer@obsidian.co.za>
* cmd.c (nice_cd): Forgot to invoke the history registration in
	one spot.
1998-03-31 16:58:54 +00:00
Miguel de Icaza 8c4cee34c3 Temporary work around for the buggy DnD implementation in Gdk:
Gdk should not be sending drag_begin_events if a drag event has not
finished.

Gdk has some wierdo way of moving the shaped window, it flashes a
*lot*.

This basically avoid leaving garbage on the desktop, but it is not
the best fix.

Miguel.
1998-03-31 07:35:38 +00:00
Miguel de Icaza 549908db83 More optimal menu free code -miguel 1998-03-31 02:33:23 +00:00
Miguel de Icaza 26eca16176 Do not free separator strings\n 1998-03-31 02:24:32 +00:00
Miguel de Icaza 54fcfb955f Updated spanish translation -miguel 1998-03-30 21:59:22 +00:00
Miguel de Icaza a424615f54 Small menu stubs, will be gone soonish -mig 1998-03-30 21:29:31 +00:00
Miguel de Icaza 54442413ee Finishing touches to new dirhist Makefiles. - mig 1998-03-30 21:26:14 +00:00
Miguel de Icaza e249fcde42 Mon Mar 30 20:02:49 1998 Paul Sheer <psheer@obsidian.co.za>
* main.c, screen.c, dirhist.c, dirhist.h, main.h, widget.c,
	main.h and others?: Directory history added. The previous
	directory history code was removed. The directory history now
	loads and saves using the same routines as the input widget. The
	keys meta-y, and meta-u are used to go backward and forward
	through the history. The buttons to the right and left of the
	current directory display on the panel can be used as well. The
	v button brings up a history, but no key is assigned to this.
	Discussion as to correct color and shape of these buttons is
	open. show_hist() in widget.c is made generic to be called for
	any widget. Help pages still needed to be added for the
	directory history.
1998-03-30 21:04:59 +00:00