Roland Illig
|
9c65d36bdd
|
* edit.c: Replaced NULL with (char *) NULL. Likewise for 0, where
NULL was meant.
* editcmd.c: Likewise.
* editlock.c: Likewise.
* editwidget.c: Likewise.
* syntax.c: Likewise.
|
2004-09-24 14:57:57 +00:00 |
|
Roland Illig
|
243e84706e
|
* Code cleanup: Added const qualifier for variables and
function declarations where possible. No functional changes.
|
2004-08-29 18:45:56 +00:00 |
|
Roland Illig
|
d1b57fbf7f
|
Avoid compiler warning using gcc/Solaris8.
|
2004-08-16 04:49:08 +00:00 |
|
Pavel Roskin
|
a128188ae1
|
Warning fixes for FreeBSD 5.1.
|
2003-11-21 03:17:18 +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
|
e95373535c
|
* edit.c: Move edit_modification() before actions to provide
proper repainting if there are dialogs invoked by actions.
|
2003-04-05 01:43:58 +00:00 |
|
Pavel Roskin
|
66a823861f
|
* editlock.c: Split lock into user@host and pid and report them
separately.
|
2003-04-05 01:29:15 +00:00 |
|
Pavel Roskin
|
ebf1bcfa33
|
* edit.c (edit_load_file): Use vfs_file_is_local(), not
vfs_current_is_local().
* editlock.c (edit_lock_file): Disable locking on VFS.
|
2003-04-02 22:25:00 +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 |
|