Commit Graph

73 Commits

Author SHA1 Message Date
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
Pavel Roskin 6394819d21 gtkedit.c [GTK]: don't include mousemark.h
gtkedit.h [GTK]: likewise
2000-08-08 13:29:33 +00:00
Pavel Roskin 2fa49b7304 mousemark.c, mousemark.h: removed
Makefile.in: don't distribute mousemark.h
gtkedit.c [MIDNIGHT]: don't include mousemark.h
gtkedit.h [MIDNIGHT]: likewise
2000-08-03 21:53:01 +00:00
Andrew V. Samoilov 090957605c 2000-07-20 Andrew V. Samoilov <sav@bcs.zp.ua>
* gtkedit/editcmd.c (edit_save_file): check fclose()s return value
	to prevent loss of data
	(edit_block_process_cmd): don't translate empty string

	* gtkedit/edit.h (edit_get_write_filter, edit_write_stream,
	edit_init_file): added declarations

	* edit.c (edit_filters): constified
	(edit_get_write_filter): filename constified
	(user_menu): don't translate empty string

	* syntax.c (syntax_text): constified
	(upgrade_syntax_file): syntax_line constified, f closed after use
2000-07-19 22:23:58 +00:00
Miguel de Icaza 892feeb26c Two bug fixes from Valery, check the ChangeLogs 2000-05-12 20:05:58 +00:00
Miguel de Icaza 2f61d8dd31 Add edit-widget.h 2000-05-10 18:00:26 +00:00
Miguel de Icaza b028900fdd 2000-05-04 Valery Kornienkov <vlk@dimavb.st.simbirsk.su>
* src/user.c: Add macro %k it is block file name
       Add macro %e it is error file name
       Add macro %i it is cursor column indent of spaces, only for edit
       Add macro %y, it is syntax of current file in editor, only for edit
       Add condition y , it is syntax pattern of current file in edit
       Add macro %x it is extension of current file
       Add macro %m it is current menu filename

2000-05-04  Valery Kornienkov  <vlk@dimavb.st.simbirsk.su>

	* gtkedit/editcmd.c: Modify External Formatter (was C indent formatter) .
	Autocreate a scripts in home, from templates /usr/lib/mc/edit.indent.rc,
	edit.ispell.rc, etc. Remove leading and trailing spaces into _(""),
	(the message of David H. Martin <dmartina@usa.net>)

2000-05-05  Valery Kornienkov  <vlk@dimavb.st.simbirsk.su>

	* src/user.c:	Add condition (x filename) into mc.menu .
			for "Open next a free console" and like.

2000-05-04  Valery Kornienkov  <vlk@dimavb.st.simbirsk.su>

	src/user.c: fix segfault in chunk_alloc of glibc, when into condition
	of .mnu we have quoted space. (~.mc/menu: + f \.\ test$).

2000-05-04  Valery Kornienkov  <vlk@dimavb.st.simbirsk.su>

	* gtkedit/edit.c:
       Add ability user edit menus: system: /usr/lib/mc/cedit.menu,
	* gtkedit/editmenu.c:        home: ~/.cedit.menu, local: .cedit.menu
	Marked block is access now from an user edit menu
	Access ~/.cedit/cooledit.block for insert to cursor place from
	user edit menu.
	Created system cedit.menu

2000-05-04  Valery Kornienkov  <vlk@dimavb.st.simbirsk.su>

    	* gtkedit/editdraw.c:
	Improved a status string of cool editor for best understand,
	and to add char,hex view.

2000-05-04 Richard Hestilow <hestgray@ionet.net>

	* gnome/gdesktop.c: Fixes snap to grid.
2000-05-09 01:18:27 +00:00
Timur Bakeyev cfc69f6769 2000-04-06 Timur bakeyev <mc@bat.ru>
* syntax.c: Wery dirty fix to allow compilation of mceditor on ncurses
	based systems. Hope, this will make FreeBSD midc maintainer to enable
	build-in editor by default. Still, syntax highlighting is disabled.
	Need to port...
2000-04-09 23:17:48 +00:00
Pavel Machek e0d1cc5c2c Changes from A. Samoilov 2000-03-17 10:31:37 +00:00
Pavel Roskin 8cfe261704 gtkedit/editcmd.c (edit_replace_prompt): fix index for the label text 2000-03-02 00:49:16 +00:00
Pavel Roskin 6521c7afbd * gtkedit/syntax.c: treat *.ads as Ada source
* syntax/ada95.syntax: escape "+" and "*"
        * syntax/diffc.syntax: removed (obsoleted by diff.syntax)
        * syntax/Makefile.in: remove diffc.syntax
2000-02-25 05:24:30 +00:00
Norbert Warmuth e37737c0c9 2000-02-23 Norbert Warmuth <nwarmuth@privat.circular.de>
* vfs/ftpfs.c: Definition of PORT changed in the middle of ftpfs.c
with unexpected side effects (only when HSC_PROXY was
defined). Introduce HSC_PROXY_PORT and FTP_COMMAND_PORT and use
where appropriate.

(dir_load): Do not hard code the directory cache timeout to 10
seconds. Instead use the setting from Options/Virtual VFS ...

* vfs/fish.c (file_store): honour changed semantics for return value
(on error -1 is expected).

* vfs/ftpfs.c (file_store): dito


* gtkedit/editcmd.c (edit_replace_prompt): fix incorrect
initialization of array of structure (gcc version 2.96 20000131
chokes on it).

* lib/mc.hint: C-y and not C-u can be used to insert text in input
lines (e. g. text which has been deleted with M-d).

* configure.in: Fix the extfs-configure-fragment-in-final-output bug

* src/main.c (parse_control_file): add missing right parentheses

* src/boxes.c: fix incorrect initialization of array of structure (gcc
version 2.96 20000131 chokes on it).
2000-02-23 07:43:14 +00:00
Paul Sheer e0e49f355c syncronise code with cooledit-3.13.0 this fixes some odds and ends.
in particular, leaking syntax.c that was chomping memory.
Also, should note the bzip2 and gzip filters and better support
for Windows CR importing - windows guys should take a look at
this if you are still out there. dunno if it works yet.
2000-02-18 11:16:06 +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
Miguel de Icaza a54f4f9ca8 Fix from Pavel Roskin 1999-09-12 00:29:20 +00:00
Elliot Lee 0bd6d7504a Have 'make dist' work with builddir != srcdir. 1999-08-19 20:17:40 +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 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
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
Paul Sheer f7bc648b90 mcedit updates to reflect cooledit-3.11.6
a large number of minor changes have been made
	those really interested can check the cooledit
	changelogs.
	in particular, on the fly spell checking has been
	added. this is not yet enabled for use, but the code
	is there.
	syntax highlighting optimisations have been made
	and various syntax rules added for some new
	languages.
	comprehensive bookmarking support has been added, but
	this requires keybindings still.
1999-07-21 20:03:23 +00:00
Norbert Warmuth c1fb49b689 David's "Hex View in GMC & some June patches" sent on June 14 (don't blame
David for the ChangeLog entries).

1999-06-22  David Martin <dmartina@usa.net>

* gnome/gnome-file-property-dialog.c (switch_metadata_box): Tag some
strings for localization.

* gnome/gnome-open-dialog.c (gnome_open_dialog_new): Don't assemble
label_string from seperate strings (makes it easier to translate).

* src/view.c (display): added view_gotoxy's in order to make hex mode
work in the gnome edition.

* gtkedit/gtkedit.c (tb_items): Mark strings for localization.

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

* gnome/gview.c (viewer_size_changed): Update internal viewer state used
in hex mode.


And some fixes to the bug reported on mc-bugs ("Two Big Bugs in
Quickview@mc").

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

* src/cmd.c (quick_view_cmd): Change panel when the file we want to
view isn't in the current panel (prevents a "file not found"
error).

* src/menu.c (menubar_execute): De-activate the menubar previous to
invoking the callback. This is needed to make change_panel in
quick_view_cmd work (the activated menubar doesn't allow unfocus,
i.e. dlg_one_down|up don't change anything).

* src/view.c (do_view_init): improved error handling w.r.t quick view
(mc used to dump core when the file to view couldn't be opened).
1999-06-22 10:29:29 +00:00
Norbert Warmuth 2b862fe4f1 Wed Apr 21 21:47:15 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
* src/ext.c (exec_extension): Use tempnam instead of tmpnam (AIX doesn't
like the lattern when compiled with -mthreads).

* src/user.c (execute_menu_command): ditto.


Wed Apr 21 22:04:30 1999  Norbert Warmuth  <nwarmuth@privat.circular.de>

* gtkedit/editcmd.c (edit_save_file): MAD knows about tempnam, no
need to fool it by strdup'ing the return value of tempnam.


Wed Apr 21 21:59:50 1999  Norbert Warmuth  <nwarmuth@privat.circular.de>

* vfs/extfs.c (extfs_open): tempnam returns a malloced string, no need
to strdup it

(various places): use free instead of g_free to free string returned
by tempnam.
1999-04-22 04:36:11 +00:00
Timur Bakeyev 1482bc0594 Mon Mar 22 03:00:15 1999 Timur Bakeyev <mc@bat.ru>
* edit/syntax.c: Remove extra "|"  in "file ..\*\\.(pp|PP|pas|PAS|)$ \
	Pascal Program" (Heh, second time :)

	* Makefile.common: Until things gets clear, keep syntax rules in
	$(prefix)/lib/mc//syntax, as this is how (LIBDIR "/syntax") expands.

	Also, $(libdir) changed to $(mclibdir), to avoid confusion with expanded
	@libdir@.
1999-03-22 00:01:53 +00:00
Paul Sheer bb36519e9f bring editor up to date with cooledit-3.9.0 - see ChangeLog for details 1999-03-21 01:56:20 +00:00
Norbert Warmuth 809247dd1c Wed Mar 10 22:05:46 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
* es.po: Updated with David Martins translation.

Wed Mar 10 21:52:55 1999  David Martin <dmartina@usa.net>
* gtkedit/editcmd.c: Added missing translation tags.

* gtkedit/editoptions.c: Added missing translation tags. Translate
radio buttons on first use.

Wed Mar 10 22:21:19 1999  David Martin <dmartina@usa.net>
* util.c (my_putenv): char* was used to store the length of a string

* info.c (info_show_info): cast st_dev and st_ino when passing
to printw.
1999-03-10 21:56:08 +00:00
Norbert Warmuth 50d9d2c006 Fri Feb 26 22:06:51 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
* gtkedit/editcmd.c (menu_save_mode_cmd): translate strings for
radio buttons on first pass.

Fri Feb 26 21:45:30 1999  David Martin <dmartina@usa.net>

* gtkedit/editcmd.c: Mark strings in the search and replace
dialogs for translation. Resized these dialogs to let the messages
fit.
1999-02-26 21:14:52 +00:00
Miguel de Icaza 3ad399edec *** empty log message *** 1999-02-22 22:58:57 +00:00
Norbert Warmuth 88a4da3fe3 Tue Feb 16 20:46:38 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
* po/es.po: Update es.po with the version sent by David Martin
<dmartina@usa.net> on Feb 14. Removed messages from editmenu.c
first (this needs fixing).

Tue Feb 16 21:18:08 1999  David Martin <dmartina@usa.net>

* src/achown.c: Make buttons fit in the (new) translated
Advanced Chown dialog.

* src/popt.c: Compilation fix: on systems without setreuid use setuid.
Tue Feb 16 21:24:43 1999  David Martin <dmartina@usa.net>

* gtkedit/gtkedit.c: Hack to get one more string defined in a macro
into the catalog file.
1999-02-16 20:58:36 +00:00
Miguel de Icaza 1370e6c166 Notice: release coming in about 90 minutes.
Miguel.

1999-02-15  Miguel de Icaza  <miguel@nuclecu.unam.mx>

	* gcmd.c (gnome_open_terminal_with_cmd): New routine, based on the
	gnome_open_terminal routine, that will allow the user to specify a
	command to execute (used internally).

	* gaction.c (gmc_edit_filename): Support for the GNOME editor
	environment properties.

	* gdesktop.c (create_desktop_dir): Support GNOME_DESKTOP_DIR
	variable to configure the desktop directory.
1999-02-15 21:19:03 +00:00
Sergey Panov 9238cba4f9 Clean menu -- made to use standart GNOME menu entries 1999-02-08 13:51:35 +00:00
Miguel de Icaza 4a6072f0b1 More internationaliztion 1999-01-30 22:57:34 +00:00
Miguel de Icaza 15581ca234 Internationalization updates 1999-01-30 22:45:53 +00:00
Timur Bakeyev 898014a521 Minor change.. 1999-01-27 01:16:45 +00:00
Miguel de Icaza 9a43865fa6 Fix my regex.h breakage 1999-01-26 23:46:11 +00:00
Timur Bakeyev 0ae23343b8 Fixed typo in new syntax ruleset. 1999-01-12 10:40:14 +00:00
Miguel de Icaza 371d2dc545 1999-01-10 Ilya Zakharevich <ilya@math.ohio-state.edu>
* gtkedit/edit.c (edit_load_file): Off-by-one error disabled editing.
1999-01-11 03:48:50 +00:00
Miguel de Icaza a7170a4f7a OS2 now uses property defines instead of OS2_NT 1999-01-10 08:55:35 +00:00
Miguel de Icaza da82aaf5fb Small compile fix 1999-01-02 07:53:00 +00:00
Miguel de Icaza 8f2327ecdb 1999-01-02 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gmetadata.c (gmeta_get_icon_pos): Fixed the memory leak here.

	* gicon.c (gicon_get_icon_for_file): Actually return a value
	here.

Editor fixes, vfs warning fixes;
1999-01-02 07:46:20 +00:00
Miguel de Icaza 42ba2c3c65 Various fixes for the 4.5.4 release 1998-12-30 19:56:51 +00:00
Paul Sheer e88c714131 editwidget.c, mousemark.c, mousemark.h all depreciated from Makefile.in 1998-12-17 08:36:25 +00:00
Paul Sheer d5cb676e0b mouse highlighting fixes. and cleanups. dropped CoolWidget mouse code in gnome version 1998-12-17 04:05:13 +00:00
Paul Sheer 99c03a1cda gmc mcedit selection now works 1998-12-16 12:35:43 +00:00
Miguel de Icaza 6bd36c55bb Just when you thought I was done 1998-12-16 05:15:45 +00:00
Miguel de Icaza 132264dd5a Sigh, wish Paul tested this 1998-12-16 05:09:30 +00:00
Paul Sheer c00a8845fd ditto previous 1998-12-10 22:08:11 +00:00
Paul Sheer cf16bf846b syntax highlighting for perl plus syntax highlighting fixes. 1998-12-10 15:43:32 +00:00
Herbert Valerio Riedel 48f8f37b97 changed occurence of 'va_list *ap' to 'va_list ap' 1998-11-26 13:52:01 +00:00
Pavel Machek 4706638b22 Big merge: fish now uses proper caching, small fixes almost
everywhere. I hope I did not break it too much.
1998-11-21 19:36:01 +00:00
Paul Sheer ad6432cdd1 added copyright notices 1998-10-27 19:53:38 +00:00