Marco Ciampa
6f3e2d9b26
Updated italian translation
2005-08-23 10:44:28 +00:00
Roland Illig
55da46b128
* view.c (view_moveto_top): Simplified the code.
2005-08-22 19:19:51 +00:00
Roland Illig
de058c5488
* view.c (view_display_status): In normal display mode (that is:
...
not search progress), calculate the percentage based on dpy_end
instead of dpy_start. This avoids a sudden break to 100 % when
approaching the end of file.
2005-08-22 18:36:51 +00:00
Roland Illig
21640f491d
* view.c (struct WView): Renamed dpy_topleft to dpy_start, as it
...
does not always represent the top-left corner of the screen.
Replaced dpy_complete with dpy_end, the offset of the first byte
after the displayed region.
2005-08-22 18:31:51 +00:00
Roland Illig
5b02f5a27e
* lisp.syntax: Recognize the character sequences \" and \\ in
...
strings.
2005-08-21 15:00:57 +00:00
Roland Illig
c0f14a906d
* view.c: The search string is managed by the WView, not as
...
static variable in some functions.
2005-08-21 12:33:21 +00:00
Roland Illig
7abfd54b97
* view.c (free_change_list): Renamed to
...
view_hexedit_free_change_list.
2005-08-21 12:04:20 +00:00
Roland Illig
135ce37fef
* view.c (view_done): Reordered the statements in the
...
destructor and added paragraph comments.
2005-08-21 11:57:45 +00:00
Roland Illig
2081f5f9fa
* fileloc.h: Newly added this file, which provides a place where
...
all names of user specific configuration files are listed.
2005-08-21 04:00:43 +00:00
Roland Illig
03bdc998ca
* view.h: Rewrote it. All functions are preceded by a describing
...
comment and the "extern" keyword.
2005-08-21 03:32:17 +00:00
Roland Illig
0d4be87ff8
* view.c: Added section headers. The functions are still
...
somewhat unordered. Renamed some functions to fit into the
view_*_cmd naming convention.
2005-08-19 19:32:02 +00:00
Roland Illig
6baf73cfd9
Removed the rant from my commit message to make Pavel Tsekov happy.
2005-08-19 13:42:59 +00:00
David Martin
efba14ffa7
Update Spanish translation.
2005-08-19 09:12:41 +00:00
David Martin
e97997b2ba
Do translate dialog strings, not just mark.
2005-08-19 09:10:07 +00:00
Roland Illig
99f3df1591
* screen.c (string_file_name): Increased the buffer size to
...
MC_MAXPATHLEN + 1 bytes to avoid filename truncation.
2005-08-18 04:40:45 +00:00
Roland Illig
541c12241f
* view.c (struct WView): Renamed found_len to search_length.
2005-08-18 04:11:52 +00:00
Roland Illig
0601d83324
* view.c (view_display_text): Removed the (almost) unused
...
variable boldflag.
2005-08-18 03:50:29 +00:00
Roland Illig
b7cba56d21
* view.c (view_display_hex): Completely rewritten. Now the code
...
distinguishes several phases (state selection, color selection,
printing) and does not mix them wildly, as the previous code
did.
2005-08-18 03:33:33 +00:00
Roland Illig
ba8ba542f0
* view.c (view_move_up): Don't scroll up if it is not necessary.
...
This fixes an inconsistency noted by Andrej Zebrowski on
mc-devel.
* view.c (view_move_down): Do nothing if we're already at the
end of the file. This makes the cursor movement more consistent
with the behavior of the <End> key.
* view.c (regexp_search_cmd): Moved the code to save the changes
of the hex editor out of this function. Whoever wrote that
should be blamed for it, but the code has been there since the
beginning.
2005-08-18 02:26:39 +00:00
Roland Illig
01432587b8
Changed the return type of view_toggle_ruler() to void.
2005-08-16 09:04:29 +00:00
Roland Illig
ad29def0c4
* view.c (view_init_growbuf): Mark the first page full instead
...
of empty. This saves one condition in view_growbuf_read_until().
2005-08-16 08:59:14 +00:00
Roland Illig
03d2e06c41
Layout change for better readability.
2005-08-16 08:51:55 +00:00
Roland Illig
0deeec756e
Added some white-space for better readability. The coordinates of the
...
status line are computed like the other ones (was implicit before).
2005-08-16 08:47:15 +00:00
Roland Illig
9758c34a82
Added some white-space for better readability.
2005-08-16 08:37:05 +00:00
Roland Illig
c2564e99f6
* view.c (view_place_cursor): Made the call to widget_move()
...
look like the other calls.
2005-08-16 08:22:07 +00:00
Roland Illig
7b35eaa34d
* view.c (view_percent): Fixed coordinate computation.
2005-08-16 08:16:12 +00:00
Roland Illig
d76dc9218b
Fixed a typo in a comment.
2005-08-16 08:00:15 +00:00
Roland Illig
ae3c8a324d
Don't mix enums with ints.
2005-08-15 22:59:20 +00:00
Roland Illig
08a40c8d17
* screen.c (use_display_format): Removed unused variable.
2005-08-15 22:40:58 +00:00
Roland Illig
5c7a219b36
Don't mix enums with ints.
2005-08-15 22:36:53 +00:00
Roland Illig
4e3e810973
* complete.c: Don't mix enums with ints.
2005-08-15 22:33:20 +00:00
Roland Illig
a94e34c698
* complete.c (fetch_hosts): Removed unused variable.
2005-08-15 22:30:36 +00:00
Roland Illig
b973c398dc
* view.c (view_toggle_ruler): Don't mix enums with ints.
2005-08-15 21:59:08 +00:00
Roland Illig
d36a6c6cdb
Replaced 0 with LISTBOX_APPEND_AT_END.
2005-08-15 21:46:34 +00:00
Roland Illig
66d059bcdf
Replaced 0 with LISTBOX_APPEND_AT_END.
2005-08-15 21:46:34 +00:00
Roland Illig
7152139ad6
* wtools.h: Replaced 0 with LISTBOX_APPEND_AT_END.
2005-08-15 21:44:41 +00:00
Roland Illig
1c607a7414
Removed unused variable.
2005-08-15 21:40:34 +00:00
Roland Illig
ad8b819a48
* editdraw.c (render_edit_text): Removed unused variables.
2005-08-15 21:38:33 +00:00
Roland Illig
dee3850ee4
* editdraw.c (render_edit_text): Removed unused variable.
2005-08-15 21:37:34 +00:00
Roland Illig
3b1fcf6792
* editcmd.c (edit_completion_dialog): Code cleanup.
2005-08-15 21:35:33 +00:00
Roland Illig
b4479c533d
* direntry.c: Removed an unused variable.
2005-08-15 21:25:02 +00:00
Roland Illig
b5e201a74a
Replaced a literal 0 with a "typed" 0, namely NETRC_NONE.
2005-08-15 21:22:30 +00:00
Roland Illig
7c1b001728
* vfs-impl.h (union vfs_dirent): Using the offsetof macro
...
instead of null pointer arithmethics.
2005-08-15 21:13:53 +00:00
Roland Illig
f79711252d
The various get[ug]id functions are used, so add checks for them. Same
...
for isascii.
2005-08-15 21:02:17 +00:00
Roland Illig
2b6d96d72d
* configure.ac: The function getgrouplist() is not used anymore,
...
so there is no need to check for it.
2005-08-15 20:59:13 +00:00
Roland Illig
f9df117df1
* edit-widget.h: Changed bit fields of length 1 from signed to
...
unsigned.
2005-08-15 20:34:26 +00:00
Roland Illig
32f6020a0f
* dialog.h (struct Dlg_head): Changed the bit fields of length one
...
from signed int to unsigned int.
2005-08-15 20:30:55 +00:00
Roland Illig
ae815922de
view_init: Made the initialization order the same as the order in which the
...
fields appear in struct WView. Explicitly initialize view->marks[], as they
are used without other initialization.
2005-08-15 18:58:18 +00:00
Roland Illig
6e0a3be319
* view.c (view_ccache_lookup): Rewrote the calculation of the
...
cache entry. Also don't put entries in the cache when the
current byte is '\r'.
* view.c (view_ccache_dump): Extended the output by the offset
of the next line.
2005-08-15 11:49:30 +00:00
Roland Illig
69e4d3f825
* view.c (toggle_hex_mode): Now the hex cursor is always visible
...
after switching to hex mode.
2005-08-15 10:22:18 +00:00