From be1b6d32ef14022bf84ca1367e5be31817679f90 Mon Sep 17 00:00:00 2001 From: Lucas De Marchi Date: Wed, 8 Sep 2010 11:23:42 +0000 Subject: [PATCH] Fix common misspellings Following misspellings were fixed: alledgedly->allegedly cant->can't carefull->careful consistant->consistent currenly->currently dependancy->dependency descripters->descriptors doesnt->doesn't dosen't->doesn't existant->existent exmaple->example inbetween->between independant->independent isnt->isn't mroe->more neccessary->necessary occured->occurred occurence->occurrence parrallel->parallel particualr->particular preceeding->preceding recieved->received recieves->receives seperate->separate substraction->subtraction succesfully->successfully successfull->successful sucess->success supress->suppress usefull->useful witht->with SVN revision: 51986 --- legacy/ecore/doc/ecore.dox.in | 2 +- legacy/ecore/m4/ecore_check_module.m4 | 2 +- legacy/ecore/src/lib/ecore/Ecore.h | 4 ++-- legacy/ecore/src/lib/ecore/ecore_anim.c | 4 ++-- legacy/ecore/src/lib/ecore/ecore_exe.c | 16 ++++++++-------- legacy/ecore/src/lib/ecore/ecore_main.c | 2 +- legacy/ecore/src/lib/ecore/ecore_pipe.c | 8 ++++---- legacy/ecore/src/lib/ecore/ecore_thread.c | 10 +++++----- legacy/ecore/src/lib/ecore/ecore_timer.c | 2 +- legacy/ecore/src/lib/ecore_con/Ecore_Con.h | 6 +++--- legacy/ecore/src/lib/ecore_config/ecore_config.c | 2 +- .../src/lib/ecore_directfb/ecore_directfb.c | 2 +- legacy/ecore/src/lib/ecore_evas/ecore_evas.c | 2 +- .../ecore/src/lib/ecore_evas/ecore_evas_cocoa.c | 4 ++-- legacy/ecore/src/lib/ecore_evas/ecore_evas_x.c | 4 ++-- legacy/ecore/src/lib/ecore_fb/Ecore_Fb.h | 2 +- legacy/ecore/src/lib/ecore_fb/ecore_fb_vt.c | 16 ++++++++-------- legacy/ecore/src/lib/ecore_file/ecore_file.c | 12 ++++++------ legacy/ecore/src/lib/ecore_imf/Ecore_IMF.h | 16 ++++++++-------- legacy/ecore/src/lib/ecore_x/Ecore_X_Atoms.h | 2 +- .../ecore/src/lib/ecore_x/xcb/ecore_xcb_fixes.c | 6 +++--- .../ecore/src/lib/ecore_x/xcb/ecore_xcb_netwm.c | 2 +- .../ecore/src/lib/ecore_x/xcb/ecore_xcb_window.c | 6 +++--- .../src/lib/ecore_x/xlib/ecore_x_randr_12.c | 4 ++-- 24 files changed, 68 insertions(+), 68 deletions(-) diff --git a/legacy/ecore/doc/ecore.dox.in b/legacy/ecore/doc/ecore.dox.in index d75a8ee4eb..7d0f595dea 100644 --- a/legacy/ecore/doc/ecore.dox.in +++ b/legacy/ecore/doc/ecore.dox.in @@ -96,7 +96,7 @@ file descriptors etc. Ecore also lets you have functions called when file descriptors become active for reading or writing, allowing for streamlined, non-blocking IO. -Here is an exmaple of a simple program and its basic event loop flow: +Here is an example of a simple program and its basic event loop flow: @image html prog_flow.png diff --git a/legacy/ecore/m4/ecore_check_module.m4 b/legacy/ecore/m4/ecore_check_module.m4 index 3980e5b438..1679b34c77 100644 --- a/legacy/ecore/m4/ecore_check_module.m4 +++ b/legacy/ecore/m4/ecore_check_module.m4 @@ -1,4 +1,4 @@ -dnl use: ECORE_CHECK_MODULE(Foo, default-enabled, description[, dependancy[, ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]]]) +dnl use: ECORE_CHECK_MODULE(Foo, default-enabled, description[, dependency[, ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]]]) AC_DEFUN([ECORE_CHECK_MODULE], [ m4_pushdef([UP], m4_translit([[$1]], [-a-z], [_A-Z]))dnl diff --git a/legacy/ecore/src/lib/ecore/Ecore.h b/legacy/ecore/src/lib/ecore/Ecore.h index 8c71d73fcc..11385d2f4a 100644 --- a/legacy/ecore/src/lib/ecore/Ecore.h +++ b/legacy/ecore/src/lib/ecore/Ecore.h @@ -101,7 +101,7 @@ extern "C" { #define ECORE_EXE_PRIORITY_INHERIT 9999 EAPI extern int ECORE_EXE_EVENT_ADD; /**< A child process has been added */ - EAPI extern int ECORE_EXE_EVENT_DEL; /**< A child process has been deleted (it exited, naming consistant with the rest of ecore). */ + EAPI extern int ECORE_EXE_EVENT_DEL; /**< A child process has been deleted (it exited, naming consistent with the rest of ecore). */ EAPI extern int ECORE_EXE_EVENT_DATA; /**< Data from a child process. */ EAPI extern int ECORE_EXE_EVENT_ERROR; /**< Errors from a child process. */ @@ -320,7 +320,7 @@ extern "C" { struct _Ecore_Exe_Event_Data /** Data from a child process event */ { Ecore_Exe *exe; /**< The handle to the process */ - void *data; /**< the raw binary data from the child process that was recieved */ + void *data; /**< the raw binary data from the child process that was received */ int size; /**< the size of this data in bytes */ Ecore_Exe_Event_Data_Line *lines; /**< an array of line data if line buffered, the last one has it's line member set to NULL */ }; diff --git a/legacy/ecore/src/lib/ecore/ecore_anim.c b/legacy/ecore/src/lib/ecore/ecore_anim.c index 0690af1747..b5cd5edfea 100644 --- a/legacy/ecore/src/lib/ecore/ecore_anim.c +++ b/legacy/ecore/src/lib/ecore/ecore_anim.c @@ -101,7 +101,7 @@ ecore_animator_del(Ecore_Animator *animator) * Set the animator call interval in seconds. * @param frametime The time in seconds in between animator ticks. * - * This function sets the time interval (in seconds) inbetween animator ticks. + * This function sets the time interval (in seconds) between animator ticks. */ EAPI void ecore_animator_frametime_set(double frametime) @@ -122,7 +122,7 @@ ecore_animator_frametime_set(double frametime) * Get the animator call interval in seconds. * @return The time in second in between animator ticks. * - * this function retrieves the time inbetween animator ticks, in seconds. + * this function retrieves the time between animator ticks, in seconds. */ EAPI double ecore_animator_frametime_get(void) diff --git a/legacy/ecore/src/lib/ecore/ecore_exe.c b/legacy/ecore/src/lib/ecore/ecore_exe.c index e8eec95f2f..3f8eb06ee9 100644 --- a/legacy/ecore/src/lib/ecore/ecore_exe.c +++ b/legacy/ecore/src/lib/ecore/ecore_exe.c @@ -34,7 +34,7 @@ * state that it cannot regenerate by just killing it and starting it again. * This includes state that the user code knows about, as the respawn is * transparent to that code. On the other hand, maybe a respawn event might - * be useful, or maybe resend the currently non existant add event. For + * be useful, or maybe resend the currently non existent add event. For * consistancy with ecore_con, an add event is good anyway. * * The Ecore_exe structure is reused for respawning, so that the (opaque) @@ -130,7 +130,7 @@ struct _Ecore_Exe * cmd = ecore_exe_comand_parameter_append(cmd, "firefox"); * cmd = ecore_exe_comand_parameter_append(cmd, "http://www.foo.com/bar.html?baz=yes"); * each parameter appended is one argument, and it gets escaped, quoted, and - * appended with a preceeding space. The first is the command off course. + * appended with a preceding space. The first is the command off course. */ struct _ecore_exe_dead_exe @@ -519,7 +519,7 @@ ecore_exe_pipe_run(const char *exe_cmd, Ecore_Exe_Flags flags, const void *data) { /* Setup the status pipe. */ E_NO_ERRNO(result, close(statusPipe[0]), ok); - E_IF_NO_ERRNO(result, fcntl(statusPipe[1], F_SETFD, FD_CLOEXEC), ok) /* close on exec shows sucess */ + E_IF_NO_ERRNO(result, fcntl(statusPipe[1], F_SETFD, FD_CLOEXEC), ok) /* close on exec shows success */ { /* Run the actual command. */ _ecore_exe_exec_it(exe_cmd, flags); /* no return */ @@ -720,7 +720,7 @@ ecore_exe_callback_pre_free_set(Ecore_Exe *exe, Ecore_Exe_Cb func) } /** - * Sends data to the given child process which it recieves on stdin. + * Sends data to the given child process which it receives on stdin. * * This function writes to a child processes standard in, with unlimited * buffering. This call will never block. It may fail if the system runs out @@ -846,7 +846,7 @@ ecore_exe_auto_limits_set(Ecore_Exe *exe, int start_bytes, int end_bytes, int st * Spank programmer for freeing the event data if it came from the event system, as that autofrees. * Spank the programmer if they try to set the limits bigger than what has been gathered & ignored already, coz they just lost data. * Spank onefang and raster for opening this can of worms. - * Should we have seperate out/err limits? + * Should we have separate out/err limits? * Should we remove from the internal buffer the data that was delivered already? * If so, what to do about limits, start, and end? They could loose their meaning. */ @@ -1346,7 +1346,7 @@ _ecore_exe_is_it_alive(pid_t pid) { Ecore_Exe *exe = NULL; - /* FIXME: There is no nice, safe, OS independant way to tell if a + /* FIXME: There is no nice, safe, OS independent way to tell if a * particular PID is still alive. I have written code to do so * for my urunlevel busybox applet (http://urunlevel.sourceforge.net/), * but it's for linux only, and still not guaranteed. @@ -1391,10 +1391,10 @@ _ecore_exe_make_sure_its_dead(void *data) if ((exe = _ecore_exe_is_it_alive(dead->pid))) { if (dead->cmd) - INF("Sending KILL signal to alledgedly dead %s (%d).", + INF("Sending KILL signal to allegedly dead %s (%d).", dead->cmd, dead->pid); else - INF("Sending KILL signal to alledgedly dead PID %d.", + INF("Sending KILL signal to allegedly dead PID %d.", dead->pid); exe->doomsday_clock = ecore_timer_add(10.0, _ecore_exe_make_sure_its_really_dead, diff --git a/legacy/ecore/src/lib/ecore/ecore_main.c b/legacy/ecore/src/lib/ecore/ecore_main.c index 9c4838eadc..c706756b04 100644 --- a/legacy/ecore/src/lib/ecore/ecore_main.c +++ b/legacy/ecore/src/lib/ecore/ecore_main.c @@ -1151,7 +1151,7 @@ _ecore_main_loop_iterate_internal(int once_only) /* if these calls caused any buffered events to appear - deal with them */ _ecore_main_fd_handlers_buf_call(); - /* if ther are any - jump to processing them */ + /* if there are any - jump to processing them */ if (_ecore_event_exist()) { have_event = 1; diff --git a/legacy/ecore/src/lib/ecore/ecore_pipe.c b/legacy/ecore/src/lib/ecore/ecore_pipe.c index 9c26133efd..59b9805ab6 100644 --- a/legacy/ecore/src/lib/ecore/ecore_pipe.c +++ b/legacy/ecore/src/lib/ecore/ecore_pipe.c @@ -424,7 +424,7 @@ ecore_pipe_write(Ecore_Pipe *p, const void *buffer, unsigned int nbytes) else { ERR("An unhandled error (ret: %zd errno: %d)" - "occured while writing to the pipe the length", + "occurred while writing to the pipe the length", ret, errno); } } @@ -458,7 +458,7 @@ ecore_pipe_write(Ecore_Pipe *p, const void *buffer, unsigned int nbytes) else { ERR("An unhandled error (ret: %zd errno: %d)" - "occured while writing to the pipe the length", + "occurred while writing to the pipe the length", ret, errno); } } @@ -513,7 +513,7 @@ _ecore_pipe_read(void *data, Ecore_Fd_Handler *fd_handler __UNUSED__) else { ERR("An unhandled error (ret: %zd errno: %d)" - "occured while reading from the pipe the length", + "occurred while reading from the pipe the length", ret, errno); return ECORE_CALLBACK_RENEW; } @@ -569,7 +569,7 @@ _ecore_pipe_read(void *data, Ecore_Fd_Handler *fd_handler __UNUSED__) else { ERR("An unhandled error (ret: %zd errno: %d)" - "occured while reading from the pipe the data", + "occurred while reading from the pipe the data", ret, errno); return ECORE_CALLBACK_RENEW; } diff --git a/legacy/ecore/src/lib/ecore/ecore_thread.c b/legacy/ecore/src/lib/ecore/ecore_thread.c index 8509874a88..62ff7e09f7 100644 --- a/legacy/ecore/src/lib/ecore/ecore_thread.c +++ b/legacy/ecore/src/lib/ecore/ecore_thread.c @@ -409,7 +409,7 @@ _ecore_thread_shutdown(void) */ /** - * @brief Run some blocking code in a parrallel thread to avoid locking the main loop. + * @brief Run some blocking code in a parallel thread to avoid locking the main loop. * @param func_blocking The function that should run in another thread. * @param func_end The function that will be called in the main loop if the thread terminate correctly. * @param func_cancel The function that will be called in the main loop if the thread is cancelled. @@ -419,7 +419,7 @@ _ecore_thread_shutdown(void) * ecore_thread_run provide a facility for easily managing blocking task in a * parallel thread. You should provide three function. The first one, func_blocking, * that will do the blocking work in another thread (so you should not use the - * EFL in it except Eina if you are carefull). The second one, func_end, + * EFL in it except Eina if you are careful). The second one, func_end, * that will be called in Ecore main loop when func_blocking is done. So you * can use all the EFL inside this function. The last one, func_cancel, will * be called in the main loop if the thread is cancelled or could not run at all. @@ -583,7 +583,7 @@ ecore_thread_check(Ecore_Thread *thread) } /** - * @brief Run some heavy code in a parrallel thread to avoid locking the main loop. + * @brief Run some heavy code in a parallel thread to avoid locking the main loop. * @param func_heavy The function that should run in another thread. * @param func_notify The function that will receive the data send by func_heavy in the main loop. * @param func_end The function that will be called in the main loop if the thread terminate correctly. @@ -595,7 +595,7 @@ ecore_thread_check(Ecore_Thread *thread) * ecore_long_run provide a facility for easily managing heavy task in a * parallel thread. You should provide four functions. The first one, func_heavy, * that will do the heavy work in another thread (so you should not use the - * EFL in it except Eina and Eet if you are carefull). The second one, func_notify, + * EFL in it except Eina and Eet if you are careful). The second one, func_notify, * will receive the data send from the thread function (func_heavy) by ecore_thread_notify * in the main loop (and so, can use all the EFL). Tje third, func_end, * that will be called in Ecore main loop when func_heavy is done. So you @@ -607,7 +607,7 @@ ecore_thread_check(Ecore_Thread *thread) * host CPU can handle. * * If you set try_no_queue, it will try to run outside of the thread pool, this can bring - * the CPU down, so be carefull with that. Of course if it can't start a new thread, it will + * the CPU down, so be careful with that. Of course if it can't start a new thread, it will * try to use one from the pool. */ EAPI Ecore_Thread *ecore_long_run(Ecore_Thread_Heavy_Cb func_heavy, diff --git a/legacy/ecore/src/lib/ecore/ecore_timer.c b/legacy/ecore/src/lib/ecore/ecore_timer.c index 466292d93c..a14d1a2473 100644 --- a/legacy/ecore/src/lib/ecore/ecore_timer.c +++ b/legacy/ecore/src/lib/ecore/ecore_timer.c @@ -233,7 +233,7 @@ ecore_timer_interval_get(Ecore_Timer *timer) } /** - * Add some delay for the next occurence of a timer. + * Add some delay for the next occurrence of a timer. * This doesn't affect the interval of a timer. * * @param timer The timer to change. diff --git a/legacy/ecore/src/lib/ecore_con/Ecore_Con.h b/legacy/ecore/src/lib/ecore_con/Ecore_Con.h index 4a5926ce8c..8907459789 100644 --- a/legacy/ecore/src/lib/ecore_con/Ecore_Con.h +++ b/legacy/ecore/src/lib/ecore_con/Ecore_Con.h @@ -38,7 +38,7 @@ * * The Ecore Connection Library ( @c Ecore_Con ) provides simple mechanisms * for communications between programs using reliable sockets. It saves - * the programmer from having to worry about file descripters and waiting + * the programmer from having to worry about file descriptors and waiting * for incoming connections. * * There are two main objects in the @c Ecore_Con library: the @c @@ -91,14 +91,14 @@ * data within this object is transient, so it must be duplicated in order to be * retained. This event will continue to occur until the client has stopped sending its * message, so a good option for storing this data is an Eina_Strbuf. Once the message has - * been recieved in full, the client object must be freed with @ref ecore_con_client_free. + * been received in full, the client object must be freed with @ref ecore_con_client_free. * @li @ref ECORE_CON_EVENT_SERVER_DATA: Whenever your server object connects to its destination * and receives data, an event of this type is emitted. The data will contain both * the size and contents of the message sent by the server. It should be noted that * data within this object is transient, so it must be duplicated in order to be * retained. This event will continue to occur until the server has stopped sending its * message, so a good option for storing this data is an Eina_Strbuf. Once the message has - * been recieved in full, the server object must be freed with @ref ecore_con_server_free. + * been received in full, the server object must be freed with @ref ecore_con_server_free. * */ diff --git a/legacy/ecore/src/lib/ecore_config/ecore_config.c b/legacy/ecore/src/lib/ecore_config/ecore_config.c index f258a0b1d3..e00481ff46 100644 --- a/legacy/ecore/src/lib/ecore_config/ecore_config.c +++ b/legacy/ecore/src/lib/ecore_config/ecore_config.c @@ -1788,7 +1788,7 @@ _ecore_config_system_load(void) { snprintf(buf, PATH_MAX, "%s/.e/config.eet", p); if (ecore_config_file_load(buf) != 0) { - /* even if this file (system.eet) dosen't exist we can + /* even if this file (system.eet) doesn't exist we can * continue without it as it isn't striclty necessary. */ ecore_config_file_load(PACKAGE_DATA_DIR "/system.eet"); diff --git a/legacy/ecore/src/lib/ecore_directfb/ecore_directfb.c b/legacy/ecore/src/lib/ecore_directfb/ecore_directfb.c index dbcfaa1083..1b9f9d4d98 100644 --- a/legacy/ecore/src/lib/ecore_directfb/ecore_directfb.c +++ b/legacy/ecore/src/lib/ecore_directfb/ecore_directfb.c @@ -55,7 +55,7 @@ static IDirectFB *_dfb = NULL; // the main interface static IDirectFBEventBuffer *_window_event; // the main event buffer (all windows are attached to this) static IDirectFBEventBuffer *_input_event; // the main event buffer (all windows are attached to this) static IDirectFBDisplayLayer *_layer; // the main layer -static DFBResult _err; // usefull for DFBCHECK +static DFBResult _err; // useful for DFBCHECK /*******************/ /* local functions */ diff --git a/legacy/ecore/src/lib/ecore_evas/ecore_evas.c b/legacy/ecore/src/lib/ecore_evas/ecore_evas.c index ca1fdf2337..866e8e863d 100644 --- a/legacy/ecore/src/lib/ecore_evas/ecore_evas.c +++ b/legacy/ecore/src/lib/ecore_evas/ecore_evas.c @@ -59,7 +59,7 @@ _ecore_evas_idle_enter(void *data __UNUSED__) /** * Query if a particular renginering engine target has support * @param engine The engine to check support for - * @return 1 if the particualr engine is supported, 0 if it is not + * @return 1 if the particular engine is supported, 0 if it is not * * Query if engine @param engine is supported by ecore_evas. 1 is returned if * it is, and 0 is returned if it is not supported. diff --git a/legacy/ecore/src/lib/ecore_evas/ecore_evas_cocoa.c b/legacy/ecore/src/lib/ecore_evas/ecore_evas_cocoa.c index bdc7cd4bdb..4b7f9e1c7c 100644 --- a/legacy/ecore/src/lib/ecore_evas/ecore_evas_cocoa.c +++ b/legacy/ecore/src/lib/ecore_evas/ecore_evas_cocoa.c @@ -18,7 +18,7 @@ #include "Ecore_Cocoa.h" #include "Evas_Engine_Quartz.h" -// FIXME: this engine has lots of problems. only 1 window at a time, drawRect looks wrong, doesnt handle resizes and more +// FIXME: this engine has lots of problems. only 1 window at a time, drawRect looks wrong, doesn't handle resizes and more static int _ecore_evas_init_count = 0; static Ecore_Evas *ecore_evases = NULL; @@ -411,7 +411,7 @@ ecore_evas_cocoa_new(const char* name, int w, int h) // Create our main window, and embed an EvasView in it main_window = [[NSWindow alloc] initWithContentRect:NSMakeRect(0,0,w,h) styleMask:(NSTitledWindowMask | NSClosableWindowMask | NSResizableWindowMask | NSMiniaturizableWindowMask) backing:NSBackingStoreBuffered defer:NO screen:nil]; - /* FIXME: manage the case where main_window is NULL witht a goto free_evas; */ + /* FIXME: manage the case where main_window is NULL with a goto free_evas; */ [main_window makeKeyAndOrderFront:NSApp]; [main_window setTitle:[NSString stringWithUTF8String:name]]; [main_window makeMainWindow]; diff --git a/legacy/ecore/src/lib/ecore_evas/ecore_evas_x.c b/legacy/ecore/src/lib/ecore_evas/ecore_evas_x.c index f340298222..be26bbf9c5 100644 --- a/legacy/ecore/src/lib/ecore_evas/ecore_evas_x.c +++ b/legacy/ecore/src/lib/ecore_evas/ecore_evas_x.c @@ -723,7 +723,7 @@ _ecore_evas_x_event_mouse_in(void *data __UNUSED__, int type __UNUSED__, void *e /* modes[e->mode], */ /* details[e->detail]); */ /* } */ - // disable. causes mroe problems than it fixes + // disable. causes more problems than it fixes // if ((e->mode == ECORE_X_EVENT_MODE_GRAB) || // (e->mode == ECORE_X_EVENT_MODE_UNGRAB)) // return 0; @@ -2868,7 +2868,7 @@ static Ecore_Evas_Engine_Func _ecore_x_engine_func = /* * FIXME: there are some round trips. Especially, we can split - * ecore_x_init in 2 functions and supress some round trips. + * ecore_x_init in 2 functions and suppress some round trips. */ #if defined (BUILD_ECORE_EVAS_SOFTWARE_X11) || defined (BUILD_ECORE_EVAS_OPENGL_X11) || defined (BUILD_ECORE_EVAS_XRENDER_X11) || defined (BUILD_ECORE_EVAS_XRENDER_XCB) || defined (BUILD_ECORE_EVAS_SOFTWARE_16_X11) || defined (BUILD_ECORE_EVAS_SOFTWARE_8_X11) diff --git a/legacy/ecore/src/lib/ecore_fb/Ecore_Fb.h b/legacy/ecore/src/lib/ecore_fb/Ecore_Fb.h index 537481758f..e93b20a6d8 100644 --- a/legacy/ecore/src/lib/ecore_fb/Ecore_Fb.h +++ b/legacy/ecore/src/lib/ecore_fb/Ecore_Fb.h @@ -31,7 +31,7 @@ * maybe a new module? * - code to get battery info * - code to get thermal info - * ecore evas fb isnt good enough for weird things, like multiple fb's, same happens here. + * ecore evas fb isn't good enough for weird things, like multiple fb's, same happens here. * backlight support using new kernel interface * absolute axis * joystick diff --git a/legacy/ecore/src/lib/ecore_fb/ecore_fb_vt.c b/legacy/ecore/src/lib/ecore_fb/ecore_fb_vt.c index 29c6839f7a..28498999bf 100644 --- a/legacy/ecore/src/lib/ecore_fb/ecore_fb_vt.c +++ b/legacy/ecore/src/lib/ecore_fb/ecore_fb_vt.c @@ -87,7 +87,7 @@ _ecore_fb_vt_setup(void) snprintf(buf, sizeof(buf), "/dev/tty%i", _ecore_fb_vt_current_vt); if((_ecore_fb_vt_tty_fd = open(buf, O_RDWR)) < 0) { - printf("[ecore_fb:vt_setup] cant open tty %d\n", _ecore_fb_vt_current_vt); + printf("[ecore_fb:vt_setup] can't open tty %d\n", _ecore_fb_vt_current_vt); return 0; } close(_ecore_fb_vt_tty0_fd); @@ -103,7 +103,7 @@ _ecore_fb_vt_setup(void) if(ioctl(_ecore_fb_vt_tty_fd, KDSETMODE, KD_GRAPHICS) < 0) { - perror("[ecore_fb:vt_setup] cant set the mode to KD_GRAPHICS"); + perror("[ecore_fb:vt_setup] can't set the mode to KD_GRAPHICS"); close(_ecore_fb_vt_tty_fd); return 0; } @@ -116,7 +116,7 @@ _ecore_fb_vt_setup(void) new_vtmode.acqsig = SIGUSR2; if(ioctl(_ecore_fb_vt_tty_fd, VT_SETMODE, &new_vtmode) < 0) { - perror("[ecore_fb:vt_setup] cant set the tty mode"); + perror("[ecore_fb:vt_setup] can't set the tty mode"); close(_ecore_fb_vt_tty_fd); return 0; } @@ -140,7 +140,7 @@ _ecore_fb_vt_setup(void) close(_ecore_fb_vt_tty_fd); return 0; } - /* FIXME assign the fb to the tty in case isnt setup */ + /* FIXME assign the fb to the tty in case isn't setup */ return 1; } @@ -154,13 +154,13 @@ ecore_fb_vt_init(void) _ecore_fb_vt_do_switch = 1; if((_ecore_fb_vt_tty0_fd = open("/dev/tty0", O_RDONLY)) < 0) { - printf("[ecore_fb:init] cant open /dev/tty0\n"); + printf("[ecore_fb:init] can't open /dev/tty0\n"); return 0; } /* query current vt state */ if((ioctl(_ecore_fb_vt_tty0_fd, VT_GETSTATE, &vtstat)) < 0) { - printf("[ecore_fb:init] cant get current tty state\n"); + printf("[ecore_fb:init] can't get current tty state\n"); return 0; } _ecore_fb_vt_prev_vt = vtstat.v_active; @@ -171,7 +171,7 @@ ecore_fb_vt_init(void) if ((ioctl(_ecore_fb_vt_tty0_fd, VT_OPENQRY, &vtno) < 0)) { - printf("[ecore_fb:init] cant query for a vt\n"); + printf("[ecore_fb:init] can't query for a vt\n"); return 0; } _ecore_fb_vt_current_vt = vtno; @@ -181,7 +181,7 @@ ecore_fb_vt_init(void) _ecore_fb_vt_current_vt = _ecore_fb_vt_prev_vt; if(!_ecore_fb_vt_setup()) { - printf("[ecore_fb:init] cant setup the vt, restoring previous mode...\n"); + printf("[ecore_fb:init] can't setup the vt, restoring previous mode...\n"); /* TODO finish this */ if(_ecore_fb_vt_do_switch) { diff --git a/legacy/ecore/src/lib/ecore_file/ecore_file.c b/legacy/ecore/src/lib/ecore_file/ecore_file.c index ec0a1f72ba..041ad6e8b4 100644 --- a/legacy/ecore/src/lib/ecore_file/ecore_file.c +++ b/legacy/ecore/src/lib/ecore_file/ecore_file.c @@ -29,8 +29,8 @@ static int _ecore_file_init_count = 0; /** * Initialize Ecore_File and the services it will use. Call this function * once before you use any of the ecore file functions. - * @return Return the number howoften ecore_file_init() was call succesfully; - * 0 if it failed. + * @return Number of times ecore_file_init() was called successfully or 0 if + * this call failed. */ EAPI int ecore_file_init() @@ -151,7 +151,7 @@ static mode_t default_mode = S_IRUSR | S_IWUSR | S_IXUSR | S_IRGRP | S_IXGRP | S /** * Create a new directory * @param dir The name of the directory to create - * @return EINA_TRUE on successfull creation, EINA_FALSE on failure + * @return EINA_TRUE on successful creation, EINA_FALSE on failure * * The directory is created with the mode: S_IRUSR | S_IWUSR | S_IXUSR | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH */ @@ -166,7 +166,7 @@ ecore_file_mkdir(const char *dir) * Create complete directory in a batch. * * @param dirs list of directories, null terminated. - * @return number of successfull directories created, -1 if dirs is NULL. + * @return number of successful directories created, -1 if dirs is NULL. * * @see ecore_file_mkdir() and ecore_file_mkpaths() */ @@ -193,7 +193,7 @@ ecore_file_mkdirs(const char **dirs) * path to that point must exists. So if creating base/a/b/c, * provide subdirs with "a", "a/b" and "a/b/c" in that order! * - * @return number of successfull directories created, -1 if subdirs or + * @return number of successful directories created, -1 if subdirs or * base is NULL or invalid. * * @see ecore_file_mkdir() and ecore_file_mkpaths() @@ -409,7 +409,7 @@ ecore_file_mkpath(const char *path) * Create complete paths in a batch. * * @param paths list of paths, null terminated. - * @return number of successfull paths created, -1 if paths is NULL. + * @return number of successful paths created, -1 if paths is NULL. * * @see ecore_file_mkpath() and ecore_file_mkdirs() */ diff --git a/legacy/ecore/src/lib/ecore_imf/Ecore_IMF.h b/legacy/ecore/src/lib/ecore_imf/Ecore_IMF.h index fcb2838676..ca4672ddbb 100644 --- a/legacy/ecore/src/lib/ecore_imf/Ecore_IMF.h +++ b/legacy/ecore/src/lib/ecore_imf/Ecore_IMF.h @@ -149,7 +149,7 @@ extern "C" { Ecore_IMF_Keyboard_Modifiers modifiers; /**< The keyboard modifiers active when the event has been emitted */ Ecore_IMF_Keyboard_Locks locks; /**< The keyboard locks active when the event has been emitted */ Ecore_IMF_Mouse_Flags flags; /**< The flags corresponding the mouse click (single, double or triple click) */ - unsigned int timestamp; /**< The timestamp when the event occured */ + unsigned int timestamp; /**< The timestamp when the event occurred */ }; struct _Ecore_IMF_Event_Mouse_Up @@ -164,7 +164,7 @@ extern "C" { Ecore_IMF_Keyboard_Modifiers modifiers; /**< The keyboard modifiers active when the event has been emitted */ Ecore_IMF_Keyboard_Locks locks; /**< The keyboard locks active when the event has been emitted */ Ecore_IMF_Mouse_Flags flags; /**< The flags corresponding the mouse click (single, double or triple click) */ - unsigned int timestamp; /**< The timestamp when the event occured */ + unsigned int timestamp; /**< The timestamp when the event occurred */ }; struct _Ecore_IMF_Event_Mouse_In @@ -178,7 +178,7 @@ extern "C" { } canvas; Ecore_IMF_Keyboard_Modifiers modifiers; /**< The keyboard modifiers active when the event has been emitted */ Ecore_IMF_Keyboard_Locks locks; /**< The keyboard locks active when the event has been emitted */ - unsigned int timestamp; /**< The timestamp when the event occured */ + unsigned int timestamp; /**< The timestamp when the event occurred */ }; struct _Ecore_IMF_Event_Mouse_Out @@ -192,7 +192,7 @@ extern "C" { } canvas; Ecore_IMF_Keyboard_Modifiers modifiers; /**< The keyboard modifiers active when the event has been emitted */ Ecore_IMF_Keyboard_Locks locks; /**< The keyboard locks active when the event has been emitted */ - unsigned int timestamp; /**< The timestamp when the event occured */ + unsigned int timestamp; /**< The timestamp when the event occurred */ }; struct _Ecore_IMF_Event_Mouse_Move @@ -208,7 +208,7 @@ extern "C" { } cur, prev; Ecore_IMF_Keyboard_Modifiers modifiers; /**< The keyboard modifiers active when the event has been emitted */ Ecore_IMF_Keyboard_Locks locks; /**< The keyboard locks active when the event has been emitted */ - unsigned int timestamp; /**< The timestamp when the event occured */ + unsigned int timestamp; /**< The timestamp when the event occurred */ }; struct _Ecore_IMF_Event_Mouse_Wheel @@ -223,7 +223,7 @@ extern "C" { } canvas; Ecore_IMF_Keyboard_Modifiers modifiers; /**< The keyboard modifiers active when the event has been emitted */ Ecore_IMF_Keyboard_Locks locks; /**< The keyboard locks active when the event has been emitted */ - unsigned int timestamp; /**< The timestamp when the event occured */ + unsigned int timestamp; /**< The timestamp when the event occurred */ }; struct _Ecore_IMF_Event_Key_Down @@ -234,7 +234,7 @@ extern "C" { const char *key; /**< The logical key : (eg shift+1 == exclamation) */ const char *string; /**< A UTF8 string if this keystroke has produced a visible string to be ADDED */ const char *compose; /**< A UTF8 string if this keystroke has modified a string in the middle of being composed - this string replaces the previous one */ - unsigned int timestamp; /**< The timestamp when the event occured */ + unsigned int timestamp; /**< The timestamp when the event occurred */ }; struct _Ecore_IMF_Event_Key_Up @@ -245,7 +245,7 @@ extern "C" { const char *key; /**< The logical key : (eg shift+1 == exclamation) */ const char *string; /**< A UTF8 string if this keystroke has produced a visible string to be ADDED */ const char *compose; /**< A UTF8 string if this keystroke has modified a string in the middle of being composed - this string replaces the previous one */ - unsigned int timestamp; /**< The timestamp when the event occured */ + unsigned int timestamp; /**< The timestamp when the event occurred */ }; union _Ecore_IMF_Event diff --git a/legacy/ecore/src/lib/ecore_x/Ecore_X_Atoms.h b/legacy/ecore/src/lib/ecore_x/Ecore_X_Atoms.h index 5675420373..c2d5f8adb0 100644 --- a/legacy/ecore/src/lib/ecore_x/Ecore_X_Atoms.h +++ b/legacy/ecore/src/lib/ecore_x/Ecore_X_Atoms.h @@ -186,7 +186,7 @@ EAPI extern Ecore_X_Atom ECORE_X_ATOM_SELECTION_PROP_PRIMARY; EAPI extern Ecore_X_Atom ECORE_X_ATOM_SELECTION_PROP_SECONDARY; EAPI extern Ecore_X_Atom ECORE_X_ATOM_SELECTION_PROP_CLIPBOARD; -/* currenly E specific virtual keyboard extension, aim to submit to netwm spec +/* currently E specific virtual keyboard extension, aim to submit to netwm spec * later */ EAPI extern Ecore_X_Atom ECORE_X_ATOM_E_VIRTUAL_KEYBOARD; diff --git a/legacy/ecore/src/lib/ecore_x/xcb/ecore_xcb_fixes.c b/legacy/ecore/src/lib/ecore_x/xcb/ecore_xcb_fixes.c index 01d2428154..555eab892d 100644 --- a/legacy/ecore/src/lib/ecore_x/xcb/ecore_xcb_fixes.c +++ b/legacy/ecore/src/lib/ecore_x/xcb/ecore_xcb_fixes.c @@ -271,12 +271,12 @@ ecore_x_region_intersect(Ecore_X_Region dest, } /* ecore_x_region_intersect */ /** - * Make the substraction of two regions. + * Make the subtraction of two regions. * @param dest The destination region. * @param source1 The first source region. * @param source2 The second source region. * - * Replace the contents of @p dest with the substraction of @p source1 by + * Replace the contents of @p dest with the subtraction of @p source1 by * @p source2. * @ingroup Ecore_X_Fixes_Group */ @@ -291,7 +291,7 @@ ecore_x_region_subtract(Ecore_X_Region dest, } /* ecore_x_region_subtract */ /** - * Make the substraction of regions by bounds. + * Make the subtraction of regions by bounds. * @param dest The destination region. * @param bounds The bounds. * @param source The source region. diff --git a/legacy/ecore/src/lib/ecore_x/xcb/ecore_xcb_netwm.c b/legacy/ecore/src/lib/ecore_x/xcb/ecore_xcb_netwm.c index e6a14f5f59..f620c1c946 100644 --- a/legacy/ecore/src/lib/ecore_x/xcb/ecore_xcb_netwm.c +++ b/legacy/ecore/src/lib/ecore_x/xcb/ecore_xcb_netwm.c @@ -2536,7 +2536,7 @@ ecore_x_netwm_opacity_get_fetch(void) * @return 1 on success, 0 otherwise. * * Retriee the opacity value of @p window and store it in - * @p opacity. This function returns 1 on sucess, 0 otherwise. + * @p opacity. This function returns 1 on success, 0 otherwise. * * To use this function, you must call before, and in order, * ecore_x_netwm_opacity_get_prefetch(), which sends the GetProperty request, diff --git a/legacy/ecore/src/lib/ecore_x/xcb/ecore_xcb_window.c b/legacy/ecore/src/lib/ecore_x/xcb/ecore_xcb_window.c index 59d2324684..2223b0394a 100644 --- a/legacy/ecore/src/lib/ecore_x/xcb/ecore_xcb_window.c +++ b/legacy/ecore/src/lib/ecore_x/xcb/ecore_xcb_window.c @@ -1331,7 +1331,7 @@ ecore_x_pointer_xy_get_fetch(void) * Retrieves the coordinates of the pointer. * If the window used in * ecore_x_query_pointer_prefetch() is not on the same screen than - * the root window or if an error occured, @p x and @p y are set + * the root window or if an error occurred, @p x and @p y are set * to 0. Otherwise, they are respectively set to the X and Y * coordinates of the pointer. * @@ -1400,7 +1400,7 @@ ecore_x_query_tree_fetch(void) * @return The parent window of @p window. * * Retrieves the parent window of the given window. If - * an error occured, @c 0 is returned. + * an error occurred, @c 0 is returned. * * To use this function, you must call before, and in order, * ecore_x_query_tree_prefetch(), which sends the QueryTree request, @@ -1426,7 +1426,7 @@ ecore_x_window_parent_get(Ecore_X_Window window __UNUSED__) * @return The children windows. * * Retrieves the children windows of the given window. If - * an error occured, @c 0 is returned. + * an error occurred, @c 0 is returned. * * To use this function, you must call before, and in order, * ecore_x_query_tree_prefetch(), which sends the QueryTree request, diff --git a/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_randr_12.c b/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_randr_12.c index 27ef9c507a..3a769bab0a 100644 --- a/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_randr_12.c +++ b/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_randr_12.c @@ -733,7 +733,7 @@ ecore_x_randr_crtc_mode_get(Ecore_X_Window root, Ecore_X_Randr_Crtc crtc) * Ecore_X_Randr_Unset (or -1) to use currently used outputs. * @para mode XID of the mode to be set. If set to 0 the CRTC will be disabled. * If set to -1 the call will fail. - * @return EINA_TRUE if mode setting was successfull. Else EINA_FALSE + * @return EINA_TRUE if mode setting was successful. Else EINA_FALSE */ EAPI Eina_Bool ecore_x_randr_crtc_mode_set(Ecore_X_Window root, @@ -1733,7 +1733,7 @@ ecore_x_randr_move_all_crtcs_but(Ecore_X_Window root, } /* - * @Brief move given CRTCs belonging to the given root window's screen dx/dy pixels relative to their current position. The screen size will be automatically adjusted if neccessary and possible. + * @Brief move given CRTCs belonging to the given root window's screen dx/dy pixels relative to their current position. The screen size will be automatically adjusted if necessary and possible. * @param root window which's screen's resources are used * @param crtcs list of CRTCs to be moved * @param ncrtc number of CRTCs in array