Roland Illig
727b62e229
* HACKING: added a section about where to look for bug reports
...
and patches.
2004-09-22 12:00:42 +00:00
Roland Illig
a3cf3b2d5f
* direntry.c (vfs_s_new_entry): see 2004-09-19. Additionally followed the advice
...
concerning g_strdup in /HACKING.
(vfs_s_generate_entry): Likewise.
(vfs_s_find_entry_linear): Likewise.
(vfs_s_find_inode): Likewise.
* xdirentry.h: Likewise.
2004-09-22 11:28:14 +00:00
Roland Illig
1b06b35d82
* HACKING: added advice for using g_strdup for a modifiable
...
copy of a string.
2004-09-22 11:02:20 +00:00
Andrew V. Samoilov
c524515308
* direnty.c (vfs_s_new_entry): Revert last changes.
...
(vfs_s_generate_entry): Likewise.
(vfs_s_find_entry_linear): Likewise.
(vfs_s_find_inode): Likewise.
* xdirentry.h: likewise.
2004-09-22 05:50:45 +00:00
Andrew V. Samoilov
c5fd73d92b
* filegui.c (file_mask_dialog): Expand tilde. Remove redundant
...
ifs before g_free().
2004-09-21 12:40:50 +00:00
Andrew V. Samoilov
585edf1b51
Done:Tilde not expanded in copy and move dialogs.
2004-09-21 12:40:14 +00:00
Andrew V. Samoilov
2c07096f86
Second fix typos
2004-09-20 03:18:47 +00:00
Andrew V. Samoilov
53ab2f736e
Fix typos
2004-09-20 03:16:47 +00:00
Roland Illig
3c6a792d4b
* edit/edit.h: renamed edit() to edit_file() to avoid GCC shadow
...
warnings (many variables are also called edit).
* edit/editwidget.c: likewise.
* src/cmd.c: renamed edit() to edit_file() to avoid GCC shadow
warnings (many variables are also called edit).
* src/main.c: likewise.
2004-09-19 17:46:39 +00:00
Roland Illig
9707addee8
* complete.c: Surrounded the declaration of environ by and #ifdef
...
guard to avoid a GCC warning about a redundant declaration.
2004-09-19 17:35:05 +00:00
Roland Illig
c4db0cac6a
* boxes.c: Added const qualifiers.
2004-09-19 17:33:18 +00:00
Roland Illig
6c29de339b
* editcmd.c (edit_replace_prompt): Allocate the label text
...
dynamically instead of using catstrs. Don't handle
ENABLE_CHARSET specially.
2004-09-19 17:23:52 +00:00
Roland Illig
a9f9db7b6b
* direntry.c: Added const qualifier to function declarations and
...
variables. Introduced local modifiable strings where necessary.
* xdirentry.h: likewise.
2004-09-19 16:07:17 +00:00
Roland Illig
9c334b4dd8
* achown.c: Added const qualifiers and const_cast.
...
* background.c: likewise.
* boxes.c: likewise.
* file.c: likewise.
* filegui.c: likewise.
* find.c: likewise.
* hotlist.c: likewise.
* info.c: likewise.
* layout.c: likewise.
* myslang.h: likewise.
* option.c: likewise.
* user.c: likewise.
* util.c: likewise.
* utilunix.c: likewise.
* view.c: likewise.
* widget.c: likewise.
2004-09-19 15:55:58 +00:00
Roland Illig
5418fdc3a8
* HACKING: added explanation for const_cast.
2004-09-19 15:45:54 +00:00
Roland Illig
d5f70f2ab8
* editcmd.c (edit_replace_cmd): Added const qualifier.
...
* editwidget.c (edit_my_define): likewise.
2004-09-19 15:40:09 +00:00
Roland Illig
07d52482c6
* util.c (strip_home_and_password): Fixed possible buffer overflow.
2004-09-19 12:45:43 +00:00
Roland Illig
2f059780af
* find.c: Applied patch to make the find dialog more responsive
...
while scanning through large files.
From Jindrich Makovicka <makovick kmlinux.fjfi.cvut.cz>
2004-09-19 11:32:30 +00:00
Roland Illig
fd4b2d7d35
* view.c (view_handle_key): Fixed invalid-offset-bug when handling
...
ctrl-e in hex mode.
2004-09-18 22:00:55 +00:00
Roland Illig
8335c0fab3
* smbfs.c (smbfs_init): Added a cast to avoid compiler warning.
2004-09-18 14:41:42 +00:00
Roland Illig
2994c738d0
* help.c (search_string): Fixed a warning about a const qualifier.
...
A local copy of the string is used for modifying.
* menu.h: Removed the const qualifier from Menu.name and
Menu.help_node as they are freed in destroy_menu.
* menu.c (destroy_menu): Removed the (now unnecessary) casts.
* popt.h: Removed a const qualifier to avoid compiler warnings.
* profile.c (get_profile_string): Added const qualifiers to
avoid compiler warnings. (GetSetProfile): likewise.
(GetSetProfileChar): likewise.
* profile.h (get_profile_string): likewise.
* win.c (check_movement_keys): likewise.
* win.h (check_movement_keys): likewise.
2004-09-18 14:30:58 +00:00
Andrew V. Samoilov
312da833ff
* extfs.c (extfs_open_archive): Fixes bug in extfs, which showed
...
'Inconsistent extfs archive' on small archives and diffs.
QNX 6.x (QNX Neutrino) specific
2004-09-17 11:44:43 +00:00
Andrew V. Samoilov
05cea9cabf
Typos
2004-09-17 11:43:02 +00:00
Andrew V. Samoilov
28c5119bd1
* ext.c (get_file_type_local): Fixes <zombies> in
...
QNX 6.x (QNX Neutrino) when guessing file type before
viewing file.
2004-09-17 11:40:30 +00:00
Andrew V. Samoilov
c35092fabd
* makefile.syntax.diff: adds define and ended keyrowrds
...
* perl.syntax.diff: adds break keyword
2004-09-17 09:56:47 +00:00
Andrew V. Samoilov
ed53105975
Fix const. Partially revert previous patch.
2004-09-17 08:46:53 +00:00
Andrew V. Samoilov
fade042845
Typos
2004-09-17 08:32:59 +00:00
Andrew V. Samoilov
80ad2213bb
* wtools.h (QuickWidget): Make text const.
...
* wtools.c (fg_input_dialog_help): Fix warning.
2004-09-17 03:19:21 +00:00
Andrew V. Samoilov
32cdf184ba
* editcmd.c (edit_replace_prompt) [HAVE_CHARSET]: Warning hack.
2004-09-17 03:07:37 +00:00
Andrew V. Samoilov
0b032ef66f
* hotlist.c (add_new_entry_input): Fix warnings.
2004-09-17 03:02:18 +00:00
Andrew V. Samoilov
3653343e4d
Done: Crash when opening tar archives with links on the top level pointing inside a directory.
...
Done: Hard links in cpio archives have 0 length.
2004-09-15 10:14:09 +00:00
Andrew V. Samoilov
0e7b3d6ac6
* utilunix.c (tilde_expand): Fix extra slash in result from
...
tilde_expand() for ~<user>/dir.
2004-09-14 17:39:12 +00:00
Andrew V. Samoilov
8919656440
* utilunix.c (tilde_expand): Fix extra slash in result from tilde_expand() for ~<user>/dir.
2004-09-14 17:23:16 +00:00
Andrew V. Samoilov
ee2e35afb4
* key.c (get_modifier): Recognize keyboard modifiers on Cygwin.
2004-09-14 17:18:25 +00:00
Andrew V. Samoilov
e3698948a4
* execute.c (toggle_panels): Fix error. show_output_starts_shell=1
...
is not working
* cmd.c (view_other_cmd): Likewise.
2004-09-12 10:52:17 +00:00
Andrew V. Samoilov
259bc3957b
Typos
2004-09-10 09:53:15 +00:00
Andrew V. Samoilov
7ff781db70
* view.c (get_byte): Fix avoid dying if file is too large
...
to fit into memory.
(load_view_file): Fix avoid mmaping just part of a >=4GB file
on 32-bit arches.
* setup.c (load_keys_from_section): Handle "copy".
2004-09-10 09:25:20 +00:00
Andrew V. Samoilov
b01dc1030f
* lib/mc.lib: Add gnome, rxvt and xterm-new terminals.
2004-09-10 09:23:43 +00:00
Andrew V. Samoilov
b6ad379291
* view.c (get_byte): Fix avoid dying if file is too large
...
to fit into memory.
(load_view_file): Fix avoid mmaping just part of a >=4GB file
on 32-bit arches.
2004-09-10 09:14:55 +00:00
Andrew V. Samoilov
221bb320b8
* syntax/php.syntax: Upgrade php.syntax file.
2004-09-09 21:29:51 +00:00
Andrew V. Samoilov
4d149bb08e
* fish_file_store): Call get_interrupt instead of testing
...
whether got_interrupt is non-NULL (it always is).
2004-09-09 13:26:02 +00:00
Andrew V. Samoilov
bc432cb01e
* configure.ac: grantpt is only available with -D_XOPEN_SOURCE
...
or -D_GNU_SOURCE under Linux.
2004-09-03 22:37:52 +00:00
Andrew V. Samoilov
9e27c8703a
* info.c (info_show_info): don't truncate block counts to 32 bits
...
on 64-bit platforms
* util.c (get_current_wd): We know there is just one '\0' byte
in p, at p[len - 1].
2004-09-03 22:32:41 +00:00
Andrew V. Samoilov
2e0140f5b6
* az.po: don't truncate block counts to 32 bits
...
on 64-bit platforms
* be.po: Likewise.
* bg.po: Likewise.
* ca.po: Likewise.
* cs.po: Likewise.
* da.po: Likewise.
* de.po: Likewise.
* el.po: Likewise.
* es.po: Likewise.
* eu.po: Likewise.
* fi.po: Likewise.
* fr.po: Likewise.
* hu.po: Likewise.
* it.po: Likewise.
* ja.po: Likewise.
* ko.po: Likewise.
* lt.po: Likewise.
* lv.po: Likewise.
* mn.po: Likewise.
* nl.po: Likewise.
* no.po: Likewise.
* pl.po: Likewise.
* pt.po: Likewise.
* pt_BR.po: Likewise.
* ro.po: Likewise.
* ru.po: Likewise.
* sk.po: Likewise.
* sl.po: Likewise.
* sr.po: Likewise.
* sv.po: Likewise.
* ta.po: Likewise.
* tr.po: Likewise.
* uk.po: Likewise.
* wa.po: Likewise.
* zh_CN.po: Likewise.
* zh_TW.po: Likewise.
2004-09-03 22:30:55 +00:00
Andrew V. Samoilov
ef67afe62d
* sltermin.c (): Avoid strncpy, home_ti is 1K long and
...
nobody really needs it whole cleared
2004-09-03 22:08:20 +00:00
Andrew V. Samoilov
7c9f703060
* util.c (get_current_wd): We know there is just one '\0' byte
...
in p, at p[len - 1].
2004-09-03 22:05:13 +00:00
Andrew V. Samoilov
2253379eb8
* subshell.c (exit_subshell): Prevent unwanted reuse of freed
...
pty_buffer.
* complete.c (variable_completion_function): strncpy()->memcpy()
changes are because we know there is no '\0' among the first
length bytes.
(insert_text): Likewise.
(command_completion_function): Avoid memory leaks.
(filename_completion_function): g_free handles NULL argument too,
no need for the comparison.
(try_complete): Likewise.
(command_completion_function): Likewise.
(free_completions): Likewise.
* widget.c (gauge_callback): Fix for 64-bit arches (%*s len must
be int, %3d takes int.
(copy_region): g_free handles NULL argument too, no need for
the comparison.
(kill_line): Likewise.
* find.c (do_search): Likewise.
(init_find_vars): Likewise.
(do_find): Likewise.
2004-09-03 22:00:27 +00:00
Andrew V. Samoilov
e5f21875a3
* HACKING: Add to section "Programming Tips" g_free tip.
2004-09-03 21:39:32 +00:00
Andrew V. Samoilov
c9f834b501
* vfs.c (vfs_cmp_handle): Fixing warnings on on 64-bit
...
platforms.
(vfs_op):Likewise.
(vfs_info):Likewise.
(vfs_free_handle):Likewise.
* extfs/rpm (mcrpmfs_run): Quote parameters to calls
to system/open that spawn a shell.
* direntry.c (vfs_s_find_entry_tree): Make "size"
size_t.
2004-09-03 21:23:05 +00:00
Pavel Roskin
d448a65825
Don't exclude *.po from diff. This is needed to have newly added *.po files
...
in the patch.
2004-09-03 07:16:57 +00:00