Pavel Tsekov
ca2078a6ad
* src/key.c (xterm_key_defines): Add sequences for iTerm.
2006-02-05 15:27:49 +00:00
Pavel Tsekov
bc4620da08
* po/lt.po: Updated Lithuanian translation.
2006-02-05 14:35:04 +00:00
Pavel Tsekov
115ef55682
* vfs/ftpfs.c (ftpfs_open_socket): Let the user interrupt ftpfs in
...
hostname lookup / connection state.
2006-02-05 11:18:12 +00:00
Roland Illig
c29b321563
* edit.h: Removed the leading PATH_SEP_STR from EDIT_DIR, as the
...
latter is not an absolute directory.
* edit.c: Adjusted the users of EDIT_DIR.
* editcmd.c: Likewise.
* syntax.c: Likewise.
* src/user.c: Likewise.
2006-02-04 14:41:41 +00:00
Roland Illig
249e1c43e7
* main.c (init_xterm_support): Eterm can handle mouse events, too.
2006-02-04 12:29:30 +00:00
Roland Illig
0983e2d256
Fixed a typo.
2006-02-04 11:14:04 +00:00
Roland Illig
eddbf0e2e1
* Makefile.am: ecs-test needs $(MCLIBS).
2006-02-04 11:13:30 +00:00
Roland Illig
350c958f5e
* cmd.c (mkdir_cmd): Fixed a memory leak. Instead of the
...
absolute path of the created directory, the input is passed to
update_panels().
2006-02-04 11:12:28 +00:00
Roland Illig
f84cc04e70
* find.c: Added make_fullname() to avoid code duplication.
2006-02-04 11:03:35 +00:00
Roland Illig
0780979cbc
Replaced the character comparison with string comparison, which
...
emphasizes the intention of the code. If the directory is either "." or
"./", the plain filename is chosen.
2006-02-04 00:00:47 +00:00
Roland Illig
2d6b472fb0
* find.c (find_do_view_edit): Only strip the leading "./" from a
...
directory name if the rest is not empty.
2006-02-03 23:17:45 +00:00
Roland Illig
3b1d56cb8a
Replaced the printf format with __printf__.
2006-02-03 17:07:39 +00:00
Roland Illig
f7f06c0202
* util.h (str_unconst): This function is never needed to be
...
inlined.
2006-02-03 17:04:17 +00:00
Roland Illig
9b8eb2ad78
* find.c: After the "panelize" command, always select the first
...
file from the panel, not.
2006-02-03 16:59:52 +00:00
Roland Illig
1e97649438
The location of the Savannah CVS repository has changed.
2006-02-03 15:24:32 +00:00
Roland Illig
2390300034
* fish.c: Replaced the printf-like attribute with __printf__,
...
since GNU gettext defines a macro printf on some systems.
* ftpfs.c: Likewise.
2006-02-03 14:45:44 +00:00
Roland Illig
ba9bd33681
* view.c: s/attrset/tty_setcolor/g
2006-02-03 14:42:36 +00:00
Roland Illig
bb683b54d1
* view.c: s/attrset/tty_setcolor/g
2006-02-03 14:33:19 +00:00
Roland Illig
36e8fec66c
* widget.c: Added assertions to prevent bugs like the one from
...
view.c(view_labels) from hiding that long.
2006-02-03 14:28:54 +00:00
Pavel Tsekov
90bda57809
* src/view.c (view_labels): Use `buttonbar_clear_label' to make a
...
buttonbar button inactive.
2006-02-03 12:16:38 +00:00
Roland Illig
67f8cf661a
* tty.h (tty_setcolor): Added.
...
* tty.c (tty_setcolor): Likewise.
2006-02-03 03:55:37 +00:00
Pavel Tsekov
5c1638523e
* src/dir.c: (do_sort): Remove unused variable.
2006-02-02 22:10:58 +00:00
Leonard den Ottolander
2157716489
edit/edit.c (edit_execute_cmd): Reload syntax on toggle to on.
2006-02-02 19:45:49 +00:00
Leonard den Ottolander
17108c8b2e
edit/edit.c, edit/editcmddef.h, edit/editkeys.c: Add Ctrl-S to toggle syntax
...
highlighting.
2006-02-01 17:07:11 +00:00
Leonard den Ottolander
d3ce4129e0
slang/slcommon.c (utf8_enable): Use '==' instead of '=' for comparison.
2006-02-01 16:42:43 +00:00
Pavel Tsekov
f4e0124cd2
* src/view.c (view_display_hex): Add missing bracket.
2006-02-01 15:59:21 +00:00
Roland Illig
250fd1ab8e
* view.c (view_display_hex): Prevented any screen overflow in
...
hex display mode. The number of bytes per line in hex mode is
always a multiple of four -- this makes the computation easier.
2006-01-31 14:39:30 +00:00
Roland Illig
008a1e3b7d
Shortened the code for selecting the ``boldflag'' in hex display mode.
2006-01-31 13:45:27 +00:00
Pavel Roskin
f394a912ce
Avoid using %{_prefix} where more specialized macros are available.
2006-01-30 21:53:19 +00:00
Pavel Roskin
9b774d1b7d
* Makefile.am: Rename LIBDIR to SAVERDIR to avoid confusion.
...
Change its value to match the installation path of cons.saver.
* cons.handler.c: Adjust for the above.
2006-01-30 20:08:28 +00:00
Pavel Tsekov
b0ced33741
* edit/editcmd.c: Do not set the field histname' of
QuickWidget' unless
...
the widget is of type `quick_input'.
* src/boxes.c: Likewise.
* src/filegui.c: Likewise.
* src/hotlist.c: Likewise.
2006-01-30 09:22:33 +00:00
Roland Illig
3f581584d5
* view.c (view_display_hex): Bug fix: The list iterator from the
...
bytes that have been changed in the hex editor must be advanced
even if the cursor is currently on a changed byte.
2006-01-30 03:50:51 +00:00
Pavel Tsekov
04000dcf84
* doc/mc.1.in: Update the documentation to reflect the fact that
...
confirmation may be requested when deleting directory hotlist entries
based on a user configurable setting.
* src/file.h (safe_delete): Move declaration of `safe_delete'
* src/main.h: ... here.
(confirm_directory_hotlist_delete): Declare new global variable.
* src/file.c (safe_delete): Move definition of `safe_delete'
* src/main.c: ... here.
(confirm_directory_hotlist_delete): Define new global variable.
* src/hotlist.c (remove_from_hotlist): Based on a user configurable
setting, request confirmation when removing directory hotlist
entries. The confirmation dialog honours the `Safe delete'
setting.
Reorder the buttons in the hotlist group removal confirmation
dialog so that it becomes consistent with other confirmation
boxes.
* src/setup.c (int_options): Add support for user configurable
confirmation of directory hotlist entries removal.
* src/boxes.c (conf_widgets): Likewise.
(confirm_box): Likewise.
(my_directory_hotlist_delete): New module variable.
2006-01-29 20:26:05 +00:00
Pavel Tsekov
d05ad82ea6
* dir.c (do_sort): Do not try to reorder the entries so that ".." becomes
...
the first entry.
(do_load_dir): When filling the list of directory entriesmake sure that
".." occupies the first element.
(do_reload_dir): Likewise.
2006-01-29 11:23:36 +00:00
Pavel Tsekov
b3fa1f0a3e
* src/cmd.c: When invoking external viewer, probe VIEWER environment
...
variable first, then PAGER, then fall back to "view".
* lib/mc.hint: Mention VIEWER environment variable.
* doc/mc.1.in: Document support for VIEWER environment variable.
2006-01-29 10:41:47 +00:00
Roland Illig
58c936715c
* xml.syntax: Attribute names only reach upto the next "=", not
...
further.
2006-01-29 02:46:10 +00:00
Pavel Tsekov
da3b1863ab
* direntry.c (vfs_s_open): Be less restrictive when O_LINEAR is specified
...
and `linear_start' is not implemented.
2006-01-28 15:47:02 +00:00
Roland Illig
5eca3eb99a
* sh.syntax: Only make $_ red if it appears as a whole word.
...
$_foo is a regular variable.
2006-01-28 09:44:05 +00:00
Roland Illig
28f0a4ab24
Patch provided in #10557 . Fixes #10557 .
2006-01-28 09:27:11 +00:00
Roland Illig
1a5b2ad244
Added the brief listing to the modes that can be switched to with Alt-t.
...
Corrected the order.
2006-01-28 09:26:13 +00:00
Roland Illig
cbf2c616ff
* cmd.c (toggle_listing_cmd): Included the brief listing mode in
...
the list of listing modes that can be switched through using
Alt-t.
2006-01-28 09:21:55 +00:00
Roland Illig
8f683b9789
Oops, we're already in the year 2006.
2006-01-28 00:24:57 +00:00
Roland Illig
282371e33b
Rewrote the code so that it does what I intended it to do.
2006-01-28 00:23:55 +00:00
Roland Illig
e3fb94363e
* Makefile.am, logging.h, logging.c: Added a new logging module
...
to allow easy tracing of function calls and other events. It is
only intended for debugging.
2006-01-27 23:48:49 +00:00
Roland Illig
7b9f0a4f96
* mcserv.c: Made mcserv.c work on NetBSD 3.0/i386 with GNU
...
gettext 0.14 installed.
2006-01-27 23:27:35 +00:00
Leonard den Ottolander
ba902dfa31
* syntax/Makefile.am, syntax/Syntax, syntax/css.syntax: Added css.syntax by
...
Horvath Peter Aron.
2006-01-27 22:43:38 +00:00
Leonard den Ottolander
8dfd1a2e4d
utilvfs.c: Do not parse more than 3 date elements to avoid file name parsing errors.
2006-01-27 22:20:23 +00:00
Roland Illig
d795b74525
* sh.syntax: Since $(...) isn't the same as ${...}, don't handle
...
them the same way. Instead, "$(", "(" and ")" are highlighted in
bright cyan. Fixes #6415 .
2006-01-27 22:17:12 +00:00
Leonard den Ottolander
a03c48ffa4
fish.c, xdirentry.h: Fix 2 GB file size limit for fish.
2006-01-27 22:16:45 +00:00
Roland Illig
b2e8006823
* utilvfs.c (is_year): The range of valid year numbers is
...
restricted to 1970 .. 2015 to reduce the number of parsing
errors.
2006-01-27 22:06:07 +00:00