Commit Graph

14290 Commits

Author SHA1 Message Date
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
Miguel de Icaza
60c595aa91 1998-03-30 Miguel de Icaza <miguel@nuclecu.unam.mx>
* menu.c (destroy_menu): Implement destroy_menu for all of the
	ports as a routine that frees the menu entries if
	internationalization has been enabled.

	* wtools.c (quick_dialog_skip): Do not i18n any string that is empty.

Sun Mar 29 23:02:09 1998 Alex Tkachenko <alex@bcs.zp.ua>

	* src/menu.[ch]: new member to menu_entry (hot_pos) introduced to make
	internationalized version of menu use externally defined hotkeys
	(denoted with preceding &). create_menu() fixed to load intl text of
	the entries. Some fixes around menu.c to enable usage of reloaded
	hotkeys.

	* main.c, editmenu.c: menu initialization code fixed to conform new
	menu structure. editmenu init code includes N_(..) now.

	* menu.c, layout.c, editwidget.c: bar menu items displacement is made
	dynamically upon initialization and window size changes. Mouse event
	processing is fixed accordingly.

Sat Mar 28 13:18:36 1998 Alex Tkachenko <alex@bcs.zp.ua>

	* src/screen.c: (repaint_file) last patches to format_file() in the
	same file broke appearance of panels in brief mode -- fixed.
1998-03-30 20:59:37 +00:00
Miguel de Icaza
7967178200 1998-03-30 Miguel de Icaza <miguel@nuclecu.unam.mx>
* wtools.c (quick_dialog_skip): Do not i18n any string that is empty.
1998-03-30 19:14:22 +00:00
Pavel Machek
303cd55bce Minor changes for IBM CSet.
#include <direct.h> is not needed anymore
We need #include <io.h> somewhere
1998-03-29 22:23:24 +00:00
Miguel de Icaza
2b79792d85 Move the MSG_ERROR testing to query_dlg 1998-03-29 21:07:37 +00:00
Vincent Renardias
4a56a8a197 Fix to make msgfmt happy... 1998-03-29 01:11:08 +00:00
Vincent Renardias
aa38e0b0b0 Sat, 28 Mar 1998 23:49:31 +0100 [Vincent]
* fr.po: More French translations (~70% done)
1998-03-28 22:59:37 +00:00
Vincent Renardias
4307605072 Sat, 28 Mar 1998 02:58:38 +0100 [Vincent]
* Started working on the French translation,
   Fixed a few minor typos found on the way...
1998-03-28 02:04:25 +00:00
Norbert Warmuth
02978a50bf Wed Mar 25 19:01:48 1998 Norbert Warmuth <k3190@fh-sw.de>
* extfs/hp48: Added an usage summary. The HP48 external filesystem was
contributed by Christofer Edvardsen <ce@earthling.net>.

* subshell.c (init_subshell): Added ':q' to $cwd in the precmd for
tcsh. It prevents command and filename substitution (e.g. for
a directory named "[word] words")

* view.c (view_done): Set monitor off before deleting the view
file dialog.
1998-03-26 06:05:44 +00:00
Miguel de Icaza
391f08d9e5 Initialize dentry->geometry -mig 1998-03-25 19:29:12 +00:00
Miguel de Icaza
f5670b549d gratious last time fixes to the i18n code -mig 1998-03-25 05:28:53 +00:00
Miguel de Icaza
ac70e34d02 MC goes Internationallsls./gmc Spanish translation almost complete -mig 1998-03-25 05:16:00 +00:00
Miguel de Icaza
f29db51778 cwd input line works/filter handling works/clipping label widget/flashing removed -mig 1998-03-24 05:25:56 +00:00
Miguel de Icaza
38f7b63645 1998-03-23 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gtrans.c (create_transparent_text_window): Set the window's
	cursor to the normal top-left arrow.
1998-03-24 05:03:56 +00:00
Miguel de Icaza
959885252a Pavel Machek's zoofs patch 1998-03-24 00:08:21 +00:00
Pavel Machek
89d7d62094 Minor cleanups for OS2_NT 1998-03-23 23:47:03 +00:00
Pavel Machek
b8da58830e Numerous patches for OS/2 and Windows NT. lstat detects executables
(stat is broken in Borland C). Help looks better.
1998-03-23 23:06:36 +00:00
Miguel de Icaza
ee7dc74ff8 manual pages regexp updated 1998-03-23 18:09:46 +00:00
Miguel de Icaza
92ecd7af62 nlink_t patch for some sysvr3 system by Philippe De Muyter 1998-03-23 17:49:04 +00:00
Norbert Warmuth
e06cd1968c Mon Mar 23 01:40:35 1998 Norbert Warmuth <k3190@fh-sw.de>
* gnome/gtools.c (translate_gdk_keysym_to_curses): renamed KEY_BACKTAB
to KEY_BTAB (the name ncurses uses)

* gnome/Makefile.in: Install the icon-files and the layout-file from $srcdir.

* autogen.sh: added support for builddir != srcdir

* doc/Makefile.in: The manual pages are generated files and
located in the builddir and not in the srcdir.

* src/find.c (find_file): Use the same hotkey for the panelize button
as we use with the external panelize command.

* src/myslang.h: --with-ncurses didn't compile: renamed
KEY_BACKTAB to KEY_BTAB (the name ncurses uses)

* src/dlg.c (dlg_key_event): likewise

* src/tkmain.c (x_init_dlg): added dummy function to make it
compile

* vfs/Makefile.in, extfs/extfs.ini, extfs/hp48: New external
filesystem to view and copy files to/from the HP48.

Now it should be possible to build and install gnome edition with
builddir != srcdir.
1998-03-23 07:12:13 +00:00
Pavel Machek
b9e0158fb1 Makefile for Borland C++ for OS/2 1998-03-23 05:33:10 +00:00
Pavel Machek
8665ccd219 Numerous OS/2 and NT fixes. Borland C++ for OS/2 supported 1998-03-23 05:27:15 +00:00
Miguel de Icaza
8be7ff1383 update the TODO a bit - Federico 1998-03-20 23:46:00 +00:00