Roland Illig
6f03d9bbd9
* edit.h: Renamed multiple inclusion guards that started with a
...
double underscore. Added #includes for dependent files.
* editcmddef.h: Likewise.
* editlock.h: Likewise.
* edit-widget.h: Likewise.
2004-12-03 17:09:27 +00:00
Pavel Roskin
8bc40b44f0
Fix includes not to rely on $(top_srcdir) being in the include path.
2003-10-29 08:54:22 +00:00
Pavel Roskin
98950838b4
* dlg.h: Merge with ...
...
* dialog.h: ... this. Adjust all dependencies.
* dlg.c: Merge with ...
* dialog.c: ... this.
* Makefile.am (SRCS): Remove dlg.h and dlg.c.
2003-10-24 23:20:30 +00:00
Pavel Roskin
ad84a71c64
* edit-widget.h (struct WEdit): Add GTree *defines field.
...
* syntax.c: Use edit->defines instead of static defines.
2003-10-23 23:23:46 +00:00
Pavel Roskin
cf9acd036e
* edit-widget.h: Resurrect "dir" field in WEdit to store
...
directory for relative filenames.
* edit.c (edit_clean): Release edit->dir.
* editcmd.c (edit_save_file): Use absolute filename.
Temporarily disable safe save and backups on remote VFS because
it doesn't work - again.
2003-07-31 16:38:07 +00:00
Pavel Roskin
5ff5f8e9d1
* edit-widget.h: Add new field loading_done.
...
* edit.c (edit_init): Set loading_done.
(edit_insert): Don't call edit_modification() before the file is
completely loaded.
2003-07-09 00:18:11 +00:00
Pavel Roskin
59593d0e1b
* edit-widget.h: Eliminate unused explicit_syntax field.
2003-07-08 23:58:36 +00:00
Pavel Roskin
729a855b29
* edit-widget.h: Stop misusing "unsigned char" for boolean.
...
Eliminate have_frame - it's unused. Adjust all dependencies.
2003-07-08 23:46:01 +00:00
Pavel Roskin
d88b75838a
* editlock.c, editlock.h: New files. Implement file locking in
...
Emacs style, as documented in JED editor sources.
* Makefile.am: Add those files to build tree.
* edit-widget.c (WEdit): New property 'locked', 0 on edit_init.
* edit.c (edit_modification): Lock buffer on modification.
* editcmd.c (edit_save_cmd, edit_save_as_cmd): Handle locking
during file save.
(edit_load_file_from_filename): Unlock. Remove 2 duplicate
lines (handled by edit_init).
(edit_quit_cmd): Unlock.
2003-04-02 19:36:10 +00:00
Pavel Roskin
d4336795e6
* edit.h: Make it easier to tweak buffer size and maximal number
...
of buffers.
2003-03-12 07:07:27 +00:00
Andrew V. Samoilov
a132b94cf9
* edit-widget.h (struct macro): Move definition ...
...
* edit.h: ... here to fix compilation on HP-UX.
2003-01-27 15:46:40 +00:00
Pavel Roskin
0454cf6eb1
* edit.c: Use edit->stack_disable instead of static variable.
2002-12-16 05:21:42 +00:00
Pavel Roskin
ceb3e9eb60
Comment fixes.
2002-12-15 02:54:00 +00:00
Pavel Roskin
f2ccab3adc
* edit-widget.h: Remove "from_here" and "to_here".
...
* edit.c (edit_purge_widget): New function - clean struct WEdit
except the Widget part.
2002-12-06 04:49:58 +00:00
Pavel Roskin
dd7f5798fa
* edit.h: Remove "dir" field in WEdit - it's always an empty
...
string. Adjust all dependencies.
2002-11-30 19:50:51 +00:00
Pavel Roskin
75fbf0b2f5
* syntax.c: Make structures key_word, context_rule and
...
_syntax_marker opaque.
2002-11-30 18:07:42 +00:00
Pavel Roskin
18de4488e3
* edit-widget.h: Move typedef WEdit and file names ...
...
* edit.h: ... here. Don't include edit-widget.h. Adjust all
dependencies.
2002-11-29 03:01:06 +00:00
Pavel Roskin
7969f851bb
* edit.h: Decentralize includes.
2002-11-14 19:38:26 +00:00
Pavel Roskin
63983758e0
* edit-widget.h: Add new field macro_depth to control depth of
...
macro recursion.
* edit.c (edit_execute_macro): Make static. Increment
macro_depth on entry, decrement on exit, don't allow it to be
too large.
2002-10-21 02:06:03 +00:00
Pavel Roskin
221c35266c
* edit-widget.h: Eliminate ERROR_FILE.
...
* edit.c: Remove all references to ERROR_FILE.
* editcmd.c (edit_block_process_cmd): Revert to using catstrs(),
those strings are freed now. Use system(), not execute() to
execute commands. Use open_error_pipe() and close_error_pipe()
to keep track of errors.
2002-08-24 17:22:15 +00:00
Andrew V. Samoilov
1e5b1bfde1
* edit-widget.h: Use PATH_SEP_STR.
2002-01-15 01:43:50 +00:00
Pavel Roskin
944cfcffe6
* edit-widget.h: Change ~/.cedit to ~/.mc/cedit to keep mcedit
...
files separate from cooledit.
2001-09-07 19:10:44 +00:00
Pavel Roskin
d1caf46603
* bookmark.c: Eliminate all code disabled for the text edition.
...
* edit-widget.h: Likewise.
* editcmd.c: Likewise.
* editdraw.c: Likewise.
* editoptions.c: Likewise.
2001-09-07 18:56:07 +00:00
Pavel Roskin
b44a4e19c6
Copy all necessary files from gtkedit.
...
* Makefile.in (EDITLINKS): Merge with EDITSRC, remove all
references.
2001-08-24 18:23:17 +00:00