Pavel Roskin
c077626450
(load_file_position): don't free filename.
2002-12-08 07:02:48 +00:00
Pavel Roskin
65f23dcb15
* util.c: Add functions for saving and loading file positions.
2002-12-08 06:51:22 +00:00
Pavel Roskin
0d0ede9ec4
* file.c (is_wildcarded): Move ...
...
* filegui.c: ... here. Make static.
2002-12-08 04:23:14 +00:00
Pavel Roskin
9234b4d8ad
Remove some unneeded includes.
2002-12-08 04:16:30 +00:00
Pavel Roskin
2f2864e500
* syntax.c (edit_load_syntax): Reuse more informative error
...
message.
2002-12-08 01:57:35 +00:00
Pavel Roskin
b246f3c7ea
s/Could not/Cannot/
2002-12-08 01:12:18 +00:00
Pavel Roskin
c3cdbeb001
* edit.c (check_file_access): Use O_EXCL when opening new files.
...
Don't allow editing stale symlinks.
Reported by Max Derzhak <max@linux.zp.ua>
2002-12-08 00:55:03 +00:00
Pavel Roskin
b64955fbbd
s/Failed trying to/Cannot/
2002-12-08 00:40:11 +00:00
Pavel Roskin
7a16741def
* extfs.c (extfs_open): Don't run "copyout" if the file just has
...
been created or O_TRUNC is given in the flags.
Reported by Adam Byrtek 'alpha' <alpha@irc.pl>
2002-12-07 02:37:58 +00:00
Pavel Roskin
fd44d72c55
* extfs/uar.in: Implement "copyin" and "rm" commands.
2002-12-07 00:02:12 +00:00
Andrew V. Samoilov
4925d2cdd5
* extfs.c: Don't include ../src/profile.h.
...
(extfs_open): Remove local_filename if copyout fails.
2002-12-06 14:44:51 +00:00
Pavel Roskin
01330333b5
Add fixme.
2002-12-06 06:10:52 +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
03b1481cda
* extfs.h: Remove "extfsstat" from struct archive - it's unused
...
outside open_archive(). Adjust the dependencies.
* extfs.c: Make hstat local variable.
2002-12-06 03:14:41 +00:00
Pavel Roskin
271a2564fd
* sfs.c: Remove "uid" from struct cachedfile - it's unused now.
2002-12-06 02:18:10 +00:00
Pavel Roskin
b9c6a9b3d1
* vfs.h: Remove vfs_uid and vfs_gid. Fix all dependencies.
2002-12-06 02:14:28 +00:00
Pavel Roskin
34e6f513ed
Automake 1.7.2 released.
2002-12-06 01:16:36 +00:00
Pavel Roskin
63a3aaea7d
Remove:
...
Redirect stderr from the extfs list operation.
Let's hope it's really fixed now.
2002-12-05 17:06:08 +00:00
Pavel Roskin
a5576742c3
* extfs.c (open_archive): Use open_error_pipe before popen() and
...
close_error_pipe() if popen() fails to handle stderr.
(read_archive): Use close_error_pipe() after pclose().
2002-12-05 17:05:27 +00:00
Pavel Roskin
5746ba638b
* ftpfs.c: Define INADDR_NONE if it's not already defined.
...
Needed for Solaris 9.
Reported by Roman Dorokhin <dorokhin@cybermail.net>
2002-12-05 14:47:24 +00:00
Pavel Roskin
5802c9d115
Remove:
...
acs_map[] from ncurses is const on Cygwin - test and disable "-a".
Sorry, I was too quick to add it.
2002-12-05 08:52:36 +00:00
Pavel Roskin
49d5227104
Add:
...
acs_map[] from ncurses is const on Cygwin - test and disable "-a".
Redirect stderr from the extfs list operation.
2002-12-05 08:29:23 +00:00
Pavel Roskin
e0753ea899
Autoconf 2.57 released.
2002-12-04 14:18:12 +00:00
Pavel Roskin
dceb3b50d4
* editcmd.c: Include dialog.h.
...
Reported by Frdric L. W. Meunier <lists@pervalidus.net>
2002-12-04 07:20:19 +00:00
Pavel Roskin
b3e7c2476e
Add new test - "minimal code coverage + editor".
...
Thanks to Frdric L. W. Meunier" <lists@pervalidus.net>
2002-12-04 07:04:00 +00:00
Pavel Roskin
51c6751434
Comment fix - explain trailing colon.
2002-12-04 06:25:16 +00:00
Andrew V. Samoilov
7b75eaf984
* extfs.c (open_archive): Don't use open_error_pipe() and
...
close_error_pipe() - it gets stuck on output that exceeds 4
kilobytes.
2002-12-03 12:24:37 +00:00
Marco Ciampa
251d08f0d9
Reverting on "save file position" after ml clarification...
2002-12-03 11:31:09 +00:00
Marco Ciampa
8a10cc578f
Save cursor position string added.
2002-12-02 22:27:23 +00:00
Pavel Roskin
8f567886af
Done:
...
Don't allow stdout and stderr from extfs scripts pollute the screen.
2002-12-01 20:37:08 +00:00
Pavel Roskin
474ff43316
* extfs.c (open_archive): Use open_error_pipe() and close_error_pipe()
...
to prevent stderr from extfs scripts pollute the screen.
(extfs_cmd): New function to run extfs scripts and handle stderr in one
place.
(extfs_open): Use extfs_cmd().
(extfs_close): Likewise.
(extfs_unlink): Likewise.
(extfs_mkdir): Likewise.
(extfs_rmdir): Likewise.
2002-12-01 20:35:15 +00:00
Pavel Roskin
30503bef51
* extfs/Makefile.am: Add uzip to EXTFS_OUT.
2002-12-01 20:25:54 +00:00
Pavel Roskin
71c43fd0f2
Finish work on position saving.
2002-12-01 08:46:19 +00:00
Pavel Roskin
1573a9581f
* cmd.c (do_edit_at_line): Set line to 0 to allow the editor to
...
decide if the user cares about the initial line or not.
* main.c: Set edit_one_file_start_line to 0 initially.
2002-12-01 08:18:17 +00:00
Pavel Roskin
9fdebd7295
Update, fix some translations.
2002-12-01 06:55:30 +00:00
Pavel Roskin
2548ea0e7c
Use normal capitalization in English text in the editor menu.
2002-12-01 06:33:58 +00:00
Pavel Roskin
5c0e8be6ca
"Privatize" font-related defines.
2002-11-30 19:59:02 +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
9a4513aceb
* editcmd.c (edit_get_save_file): Remove first argument, it's
...
unused.
(edit_get_save_file): Likewise.
2002-11-30 18:49:20 +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
41fbb5099f
* edit.c: Use g_malloc() and g_free() on buffers1 and buffers2.
...
Eliminate CMalloc.
(edit_get_buffer_as_text): Remove, it's unused.
2002-11-30 17:53:12 +00:00
Pavel Roskin
29f1543919
* editcmd.c (edit_set_search_parameters): Use g_malloc().
...
(edit_complete_word_cmd): Use g_free().
2002-11-30 17:41:07 +00:00
Pavel Roskin
b628d515c0
* edit.h: Don't define HAVE_SYNTAXH.
...
* syntax.c: Syntax highlighting is no more optional.
(edit_check_spelling): Remove.
2002-11-30 02:29:43 +00:00
Pavel Roskin
c63d61600a
* editoptions.c (edit_options_dialog): Add "Save file position"
...
option, make "Syntax highlighting" unconditional.
2002-11-30 00:41:47 +00:00
Pavel Roskin
dc52e8e66a
* setup.c: Add option_save_position to the options table.
2002-11-30 00:37:14 +00:00
Pavel Roskin
527cb0c64c
* edit.c: First part of the position saving code.
...
(edit_move_to_column): New function.
2002-11-30 00:35:07 +00:00
Andrew V. Samoilov
085f43fc8d
* editoptions.c (edit_options_dialog): Use g_free() to release
...
variables allocated in quick_dialog().
2002-11-29 08:28:51 +00:00
Andrew V. Samoilov
488f984e02
Remove SWATDIR definition
2002-11-29 06:57:36 +00:00
Andrew V. Samoilov
0c8d67946b
Add configure.mc
2002-11-29 06:40:37 +00:00
Andrew V. Samoilov
241aac0cbe
* autogen.sh: Use $srcdir/configure.mc instead of $srcdir/configure
...
if first one exists and is executable.
2002-11-29 06:39:41 +00:00