Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Veres Lajos 2013-06-13 00:29:07 +01:00 committed by Andrew Borodin
parent 4b1f94e873
commit 805703523d
20 changed files with 60 additions and 60 deletions

View File

@ -699,7 +699,7 @@ Version 4.7.4
* History can be shown incorrectly due to access to the invalid pointer (#2299)
* Potential division by zero in Info panel (#2337)
* Segfault in replace confirmation in editor (#2272)
* Regexp replace only transforms the first occurence correctly (#2320)
* Regexp replace only transforms the first occurrence correctly (#2320)
* Broken manually changing syntax definition (#2324)
* MCEdit version number not centered in about dialog (#2311)
* Typo in the code and the man section describing X clipboard integration (#30)
@ -825,7 +825,7 @@ Version 4.7.2
* Incorrect cursor position after "Cursor beyond end of line" mode switched off (#2094)
* Incorrect overwrite behavior with UTF-8 codeset in editor (#2081)
* Incorrect toggling state of ruler in viewer (#2067)
* Superfluous "Search done, Continue from begining?" dialog in viewer (#2091)
* Superfluous "Search done, Continue from beginning?" dialog in viewer (#2091)
* Turning on wrap mode does not scroll left/right the file view (#2107)
* Cannot scroll wrapped long lines in viewer (#2086)
* Fixed EOL/BOL movements in plain mode (#1734)
@ -873,7 +873,7 @@ Version 4.7.1
- Viewer
* Viewer is now very fast (#1585)
* Added new confirm box for repeat search from begining of file (#1917)
* Added new confirm box for repeat search from beginning of file (#1917)
- Misc
@ -1100,7 +1100,7 @@ Version 4.7.0-pre3
- VFS
* fixed recognize of tar.xz archives
* added recognize of lzma archives by extention
* added recognize of lzma archives by extension
- Editor

View File

@ -200,7 +200,7 @@ estr_t str_vfs_convert_from (GIConv, const char *, GString *);
*/
estr_t str_vfs_convert_to (GIConv, const char *, int, GString *);
/* printf functin for str_buffer, append result of printf at the end of buffer
/* printf function for str_buffer, append result of printf at the end of buffer
*/
void str_printf (GString *, const char *, ...);

View File

@ -60,7 +60,7 @@ str_ptr_array_join (GPtrArray * str_splints)
/**
* Replace all substrings 'needle' in string 'haystack' by 'replacement'.
* If the 'needle' in the 'haystack' will be escaped by backslash,
* then this occurence isn't be replaced.
* then this occurrence isn't be replaced.
*
* @param haystack string contains substrings for replacement
* @param needle string for search

View File

@ -32,7 +32,7 @@
#include "lib/strutil.h"
/* using g_ascii function from glib
* on terminal are showed only ascii characters (lower then 0x80)
* on terminal are showed only ascii characters (lower than 0x80)
*/
static const char replch = '?';

View File

@ -58,7 +58,7 @@ static gboolean rxvt_extensions = FALSE;
/*** file scope functions ************************************************************************/
/* --------------------------------------------------------------------------------------------- */
/* my own wierd protocol base 16 - paul */
/* my own weird protocol base 16 - paul */
static int
rxvt_getc (void)
{
@ -128,7 +128,7 @@ show_rxvt_contents (int starty, unsigned char y1, unsigned char y2)
while (anything_ready ())
tty_lowlevel_getch ();
/* my own wierd protocol base 26 - paul */
/* my own weird protocol base 26 - paul */
printf (ESC_STR "CL%c%c%c%c\n", (y1 / 26) + 'A', (y1 % 26) + 'A', (y2 / 26) + 'A',
(y2 % 26) + 'A');

View File

@ -873,7 +873,7 @@ get_compression_type (int fd, const char *name)
return COMPRESSION_XZ;
str_len = strlen (name);
/* HACK: we must belive to extention of LZMA file :) ... */
/* HACK: we must belive to extension of LZMA file :) ... */
if ((str_len > 5 && strcmp (&name[str_len - 5], ".lzma") == 0) ||
(str_len > 4 && strcmp (&name[str_len - 4], ".tlz") == 0))
return COMPRESSION_LZMA;

View File

@ -22,7 +22,7 @@
# DX_???_FEATURE(ON|OFF) - control the default setting fo a Doxygen feature.
# Supported features are 'DOXYGEN' itself, 'DOT' for generating graphics,
# 'HTML' for plain HTML, 'CHM' for compressed HTML help (for MS users), 'CHI'
# for generating a seperate .chi file by the .chm file, and 'MAN', 'RTF',
# for generating a separate .chi file by the .chm file, and 'MAN', 'RTF',
# 'XML', 'PDF' and 'PS' for the appropriate output formats. The environment
# variable DOXYGEN_PAPER_SIZE may be specified to override the default 'a4wide'
# paper size.
@ -252,8 +252,8 @@ DX_ARG_ABLE(chm, [generate doxygen compressed HTML help documentation],
DX_ENV_APPEND(GENERATE_HTMLHELP, YES)],
[DX_ENV_APPEND(GENERATE_HTMLHELP, NO)])
# Seperate CHI file generation.
DX_ARG_ABLE(chi, [generate doxygen seperate compressed HTML help index file],
# Separate CHI file generation.
DX_ARG_ABLE(chi, [generate doxygen separate compressed HTML help index file],
[DX_CHECK_DEPEND(chm, 1)],
[DX_CLEAR_DEPEND(chm, 1)],
[],

View File

@ -397,7 +397,7 @@ edit_save_file (WEdit * edit, const vfs_path_t * filename_vpath)
#ifdef HAVE_ASSERT_H
assert (option_backup_ext != NULL);
#endif
/* add backup extention to the path */
/* add backup extension to the path */
tmp_vpath = vfs_path_clone (real_filename_vpath);
last_vpath_element = (vfs_path_element_t *) vfs_path_get_by_index (tmp_vpath, -1);
tmp_store_filename = last_vpath_element->path;
@ -1496,7 +1496,7 @@ edit_redraw_page_cb (void *data, void *user_data)
*
* @param edit editor object
* @param completion word for completion
* @param word_len offset from begining for insert
* @param word_len offset from beginning for insert
*/
static void
@ -1730,7 +1730,7 @@ edit_save_as_cmd (WEdit * edit)
switch (rv)
{
case 1:
/* Succesful, so unlock both files */
/* Successful, so unlock both files */
if (different_filename)
{
if (save_lock)

View File

@ -281,7 +281,7 @@ is_in_linklist (const GSList * lp, const vfs_path_t * vpath, const struct stat *
* Check and made hardlink
*
* @return FALSE if the inode wasn't found in the cache and TRUE if it was found
* and a hardlink was succesfully made
* and a hardlink was successfully made
*/
static gboolean
@ -1861,7 +1861,7 @@ copy_file_file (FileOpTotalContext * tctx, FileOpContext * ctx,
if (return_status != FILE_RETRY)
goto ret;
/* User pressed "Retry". Will the next mc_write() call be succesful?
/* User pressed "Retry". Will the next mc_write() call be successful?
* Reset error flag to be ready for that. */
write_errno_nospace = FALSE;
}

View File

@ -143,7 +143,7 @@ int ftpfs_directory_timeout = 900;
/* Proxy host */
char *ftpfs_proxy_host = NULL;
/* wether we have to use proxy by default? */
/* whether we have to use proxy by default? */
int ftpfs_always_use_proxy = 0;
int ftpfs_ignore_chattr_errors = 1;
@ -259,7 +259,7 @@ static const char *netrcp;
When the remote server is an amiga:
a) strip leading slash if necesarry
b) replace first occurance of ":/" with ":"
b) replace first occurrence of ":/" with ":"
c) strip trailing "/."
*/
@ -303,7 +303,7 @@ ftpfs_translate_path (struct vfs_class *me, struct vfs_s_super *super, const cha
ret = g_strdup (remote_path);
/* replace first occurance of ":/" with ":" */
/* replace first occurrence of ":/" with ":" */
p = strchr (ret, ':');
if ((p != NULL) && (*(p + 1) == '/'))
memmove (p + 1, p + 2, strlen (p + 2) + 1);

View File

@ -194,7 +194,7 @@ sftpfs_fill_config_entity_from_string (sftpfs_ssh_config_entity_t * config_entit
* @param config_entity config entity structure
* @param vpath_element path element with host data (hostname, port)
* @param error pointer to the error handler
* @return TRUE if config entity was filled sucessfully, FALSE otherwise
* @return TRUE if config entity was filled successfully, FALSE otherwise
*/
static gboolean

View File

@ -196,7 +196,7 @@ sftpfs_recognize_auth_types (struct vfs_s_super *super)
*
* @param super connection data
* @param error pointer to the error handler
* @return TRUE if connection was sucessfully opened, FALSE otherwise
* @return TRUE if connection was successfully opened, FALSE otherwise
*/
static gboolean
@ -249,7 +249,7 @@ sftpfs_open_connection_ssh_agent (struct vfs_s_super *super, GError ** error)
*
* @param super connection data
* @param error pointer to the error handler
* @return TRUE if connection was sucessfully opened, FALSE otherwise
* @return TRUE if connection was successfully opened, FALSE otherwise
*/
static gboolean
@ -296,7 +296,7 @@ sftpfs_open_connection_ssh_key (struct vfs_s_super *super, GError ** error)
*
* @param super connection data
* @param error pointer to the error handler
* @return TRUE if connection was sucessfully opened, FALSE otherwise
* @return TRUE if connection was successfully opened, FALSE otherwise
*/
static gboolean

View File

@ -155,7 +155,7 @@ sftpfs_readdir (void *data, GError ** error)
*
* @param data directory data handler
* @param error pointer to the error handler
* @return 0 if sucess, negative value otherwise
* @return 0 if success, negative value otherwise
*/
int
@ -178,7 +178,7 @@ sftpfs_closedir (void *data, GError ** error)
* @param vpath path directory
* @param mode mode (see man 2 open)
* @param error pointer to the error handler
* @return 0 if sucess, negative value otherwise
* @return 0 if success, negative value otherwise
*/
int
@ -234,7 +234,7 @@ sftpfs_mkdir (const vfs_path_t * vpath, mode_t mode, GError ** error)
*
* @param vpath path directory
* @param error pointer to the error handler
* @return 0 if sucess, negative value otherwise
* @return 0 if success, negative value otherwise
*/
int

View File

@ -160,7 +160,7 @@ sftpfs_open_file (vfs_file_handler_t * file_handler, int flags, mode_t mode, GEr
* @param data file data handler
* @param buf buffer for store stat-info
* @param error pointer to the error handler
* @return 0 if sucess, negative value otherwise
* @return 0 if success, negative value otherwise
*/
int
@ -225,7 +225,7 @@ sftpfs_fstat (void *data, struct stat *buf, GError ** error)
* @param count data size
* @param error pointer to the error handler
*
* @return 0 on sucess, negative value otherwise
* @return 0 on success, negative value otherwise
*/
ssize_t
@ -277,7 +277,7 @@ sftpfs_read_file (vfs_file_handler_t * file_handler, char *buffer, size_t count,
* @param count data size
* @param error pointer to the error handler
*
* @return 0 on sucess, negative value otherwise
* @return 0 on success, negative value otherwise
*/
ssize_t
@ -322,7 +322,7 @@ sftpfs_write_file (vfs_file_handler_t * file_handler, const char *buffer, size_t
* @param file_handler file data handler
* @param error pointer to the error handler
*
* @return 0 on sucess, negative value otherwise
* @return 0 on success, negative value otherwise
*/
int
@ -352,7 +352,7 @@ sftpfs_close_file (vfs_file_handler_t * file_handler, GError ** error)
* @param whence method of seek (at begin, at current, at end)
* @param error pointer to the error handler
*
* @return 0 on sucess, negative value otherwise
* @return 0 on success, negative value otherwise
*/
off_t

View File

@ -109,7 +109,7 @@ sftpfs_fix_filename (const char *file_name)
*
* @param super_data extra data for SFTP connection
* @param error unused
* @return 0 if sucess, negative value otherwise
* @return 0 if success, negative value otherwise
*/
int
@ -145,7 +145,7 @@ sftpfs_waitsocket (sftpfs_super_data_t * super_data, GError ** error)
* @param vpath path to file, directory or symbolic link
* @param buf buffer for store stat-info
* @param error pointer to error object
* @return 0 if sucess, negative value otherwise
* @return 0 if success, negative value otherwise
*/
int
@ -221,7 +221,7 @@ sftpfs_lstat (const vfs_path_t * vpath, struct stat *buf, GError ** error)
* @param vpath path to file or directory
* @param buf buffer for store stat-info
* @param error pointer to error object
* @return 0 if sucess, negative value otherwise
* @return 0 if success, negative value otherwise
*/
int
@ -300,7 +300,7 @@ sftpfs_stat (const vfs_path_t * vpath, struct stat *buf, GError ** error)
* @param buf buffer for store stat-info
* @param size buffer size
* @param error pointer to error object
* @return 0 if sucess, negative value otherwise
* @return 0 if success, negative value otherwise
*/
int
@ -355,7 +355,7 @@ sftpfs_readlink (const vfs_path_t * vpath, char *buf, size_t size, GError ** err
* @param vpath1 path to file or directory
* @param vpath2 path to symlink
* @param error pointer to error object
* @return 0 if sucess, negative value otherwise
* @return 0 if success, negative value otherwise
*/
int
@ -424,7 +424,7 @@ sftpfs_symlink (const vfs_path_t * vpath1, const vfs_path_t * vpath2, GError **
* @param vpath path to file or directory
* @param mode mode (see man 2 open)
* @param error pointer to error object
* @return 0 if sucess, negative value otherwise
* @return 0 if success, negative value otherwise
*/
int
@ -503,7 +503,7 @@ sftpfs_chmod (const vfs_path_t * vpath, mode_t mode, GError ** error)
*
* @param vpath path to file or directory
* @param error pointer to error object
* @return 0 if sucess, negative value otherwise
* @return 0 if success, negative value otherwise
*/
int
@ -560,7 +560,7 @@ sftpfs_unlink (const vfs_path_t * vpath, GError ** error)
* @param vpath1 path to source file or directory
* @param vpath2 path to destination file or directory
* @param error pointer to error object
* @return 0 if sucess, negative value otherwise
* @return 0 if success, negative value otherwise
*/
int

View File

@ -224,7 +224,7 @@ sftpfs_cb_readdir (void *data)
* Callback for closing directory.
*
* @param data directory data handler
* @return 0 if sucess, negative value otherwise
* @return 0 if success, negative value otherwise
*/
static int
@ -244,7 +244,7 @@ sftpfs_cb_closedir (void *data)
*
* @param vpath path to file or directory
* @param buf buffer for store stat-info
* @return 0 if sucess, negative value otherwise
* @return 0 if success, negative value otherwise
*/
static int
@ -264,7 +264,7 @@ sftpfs_cb_lstat (const vfs_path_t * vpath, struct stat *buf)
*
* @param vpath path to file or directory
* @param buf buffer for store stat-info
* @return 0 if sucess, negative value otherwise
* @return 0 if success, negative value otherwise
*/
static int
@ -284,7 +284,7 @@ sftpfs_cb_stat (const vfs_path_t * vpath, struct stat *buf)
*
* @param data file data handler
* @param buf buffer for store stat-info
* @return 0 if sucess, negative value otherwise
* @return 0 if success, negative value otherwise
*/
static int
@ -305,7 +305,7 @@ sftpfs_cb_fstat (void *data, struct stat *buf)
* @param vpath path to file or directory
* @param buf buffer for store stat-info
* @param size buffer size
* @return 0 if sucess, negative value otherwise
* @return 0 if success, negative value otherwise
*/
static int
@ -343,7 +343,7 @@ sftpfs_cb_utime (const vfs_path_t * vpath, struct utimbuf *times)
*
* @param vpath1 path to file or directory
* @param vpath2 path to symlink
* @return 0 if sucess, negative value otherwise
* @return 0 if success, negative value otherwise
*/
static int
@ -422,7 +422,7 @@ sftpfs_cb_chown (const vfs_path_t * vpath, uid_t owner, gid_t group)
* @param data file data handler
* @param buffer buffer for data
* @param count data size
* @return 0 if sucess, negative value otherwise
* @return 0 if success, negative value otherwise
*/
static ssize_t
@ -450,7 +450,7 @@ sftpfs_cb_read (void *data, char *buffer, size_t count)
* @param data file data handler
* @param buf buffer for data
* @param count data size
* @return 0 if sucess, negative value otherwise
* @return 0 if success, negative value otherwise
*/
static ssize_t
@ -470,7 +470,7 @@ sftpfs_cb_write (void *data, const char *buf, size_t nbyte)
* Callback for close file.
*
* @param data file data handler
* @return 0 if sucess, negative value otherwise
* @return 0 if success, negative value otherwise
*/
static int
@ -505,7 +505,7 @@ sftpfs_cb_close (void *data)
*
* @param vpath path to file or directory
* @param mode mode (see man 2 open)
* @return 0 if sucess, negative value otherwise
* @return 0 if success, negative value otherwise
*/
static int
@ -525,7 +525,7 @@ sftpfs_cb_chmod (const vfs_path_t * vpath, mode_t mode)
*
* @param vpath path directory
* @param mode mode (see man 2 open)
* @return 0 if sucess, negative value otherwise
* @return 0 if success, negative value otherwise
*/
static int
@ -544,7 +544,7 @@ sftpfs_cb_mkdir (const vfs_path_t * vpath, mode_t mode)
* Callback for rmdir VFS-function.
*
* @param vpath path directory
* @return 0 if sucess, negative value otherwise
* @return 0 if success, negative value otherwise
*/
static int
@ -565,7 +565,7 @@ sftpfs_cb_rmdir (const vfs_path_t * vpath)
* @param data file data handler
* @param offset file offset
* @param whence method of seek (at begin, at current, at end)
* @return 0 if sucess, negative value otherwise
* @return 0 if success, negative value otherwise
*/
static off_t
@ -585,7 +585,7 @@ sftpfs_cb_lseek (void *data, off_t offset, int whence)
* Callback for unlink VFS-function.
*
* @param vpath path to file or directory
* @return 0 if sucess, negative value otherwise
* @return 0 if success, negative value otherwise
*/
static int
@ -605,7 +605,7 @@ sftpfs_cb_unlink (const vfs_path_t * vpath)
*
* @param vpath1 path to source file or directory
* @param vpath2 path to destination file or directory
* @return 0 if sucess, negative value otherwise
* @return 0 if success, negative value otherwise
*/
static int

View File

@ -48,7 +48,7 @@ typedef int BOOL;
* diffferent prototype declarations), so we must do these by hand.
*/
/* I know the __attribute__ stuff is ugly, but it does ensure we get the
arguemnts to DEBUG() right. We have got them wrong too often in the
arguments to DEBUG() right. We have got them wrong too often in the
past */
#ifdef HAVE_STDARG_H
int

View File

@ -313,7 +313,7 @@ read_with_timeout (int fd, char *buf, size_t mincnt, size_t maxcnt, unsigned int
/* Most difficult - timeout read */
/* If this is ever called on a disk file and
mincnt is greater then the filesize then
mincnt is greater than the filesize then
system performance will suffer severely as
select always returns true on disk files */

View File

@ -2924,7 +2924,7 @@ cli_establish_connection (struct cli_state * cli,
/****************************************************************************
check for existance of a dir
check for existence of a dir
****************************************************************************/
BOOL
cli_chkpath (struct cli_state * cli, char *path)

View File

@ -69,7 +69,7 @@ Lexical Analysis:
Note that there are five spaces following the word 'string',
representing the one space between 'string' and '\\' in the top
line, plus the four preceeding the word 'with' in the second line.
line, plus the four preceding the word 'with' in the second line.
(Yes, I'm counting the indentation.)
Line continuation characters are ignored on blank lines and at the end