diff options
author | Lucas De Marchi <lucas.demarchi@profusion.mobi> | 2010-09-08 11:23:42 +0000 |
---|---|---|
committer | Lucas De Marchi <lucas.demarchi@profusion.mobi> | 2010-09-08 11:23:42 +0000 |
commit | be1b6d32ef14022bf84ca1367e5be31817679f90 (patch) | |
tree | c4058e2b7db1ff61ec7360a049ed56d407b3410b | |
parent | 471d68222880782912a0573acae90452c17d01ca (diff) |
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
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. | |||
96 | Ecore also lets you have functions called when file descriptors become active | 96 | Ecore also lets you have functions called when file descriptors become active |
97 | for reading or writing, allowing for streamlined, non-blocking IO. | 97 | for reading or writing, allowing for streamlined, non-blocking IO. |
98 | 98 | ||
99 | Here is an exmaple of a simple program and its basic event loop flow: | 99 | Here is an example of a simple program and its basic event loop flow: |
100 | 100 | ||
101 | @image html prog_flow.png | 101 | @image html prog_flow.png |
102 | 102 | ||
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 @@ | |||
1 | dnl use: ECORE_CHECK_MODULE(Foo, default-enabled, description[, dependancy[, ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]]]) | 1 | dnl use: ECORE_CHECK_MODULE(Foo, default-enabled, description[, dependency[, ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]]]) |
2 | AC_DEFUN([ECORE_CHECK_MODULE], | 2 | AC_DEFUN([ECORE_CHECK_MODULE], |
3 | [ | 3 | [ |
4 | m4_pushdef([UP], m4_translit([[$1]], [-a-z], [_A-Z]))dnl | 4 | 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" { | |||
101 | #define ECORE_EXE_PRIORITY_INHERIT 9999 | 101 | #define ECORE_EXE_PRIORITY_INHERIT 9999 |
102 | 102 | ||
103 | EAPI extern int ECORE_EXE_EVENT_ADD; /**< A child process has been added */ | 103 | EAPI extern int ECORE_EXE_EVENT_ADD; /**< A child process has been added */ |
104 | EAPI extern int ECORE_EXE_EVENT_DEL; /**< A child process has been deleted (it exited, naming consistant with the rest of ecore). */ | 104 | EAPI extern int ECORE_EXE_EVENT_DEL; /**< A child process has been deleted (it exited, naming consistent with the rest of ecore). */ |
105 | EAPI extern int ECORE_EXE_EVENT_DATA; /**< Data from a child process. */ | 105 | EAPI extern int ECORE_EXE_EVENT_DATA; /**< Data from a child process. */ |
106 | EAPI extern int ECORE_EXE_EVENT_ERROR; /**< Errors from a child process. */ | 106 | EAPI extern int ECORE_EXE_EVENT_ERROR; /**< Errors from a child process. */ |
107 | 107 | ||
@@ -320,7 +320,7 @@ extern "C" { | |||
320 | struct _Ecore_Exe_Event_Data /** Data from a child process event */ | 320 | struct _Ecore_Exe_Event_Data /** Data from a child process event */ |
321 | { | 321 | { |
322 | Ecore_Exe *exe; /**< The handle to the process */ | 322 | Ecore_Exe *exe; /**< The handle to the process */ |
323 | void *data; /**< the raw binary data from the child process that was recieved */ | 323 | void *data; /**< the raw binary data from the child process that was received */ |
324 | int size; /**< the size of this data in bytes */ | 324 | int size; /**< the size of this data in bytes */ |
325 | 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 */ | 325 | 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 */ |
326 | }; | 326 | }; |
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) | |||
101 | * Set the animator call interval in seconds. | 101 | * Set the animator call interval in seconds. |
102 | * @param frametime The time in seconds in between animator ticks. | 102 | * @param frametime The time in seconds in between animator ticks. |
103 | * | 103 | * |
104 | * This function sets the time interval (in seconds) inbetween animator ticks. | 104 | * This function sets the time interval (in seconds) between animator ticks. |
105 | */ | 105 | */ |
106 | EAPI void | 106 | EAPI void |
107 | ecore_animator_frametime_set(double frametime) | 107 | ecore_animator_frametime_set(double frametime) |
@@ -122,7 +122,7 @@ ecore_animator_frametime_set(double frametime) | |||
122 | * Get the animator call interval in seconds. | 122 | * Get the animator call interval in seconds. |
123 | * @return The time in second in between animator ticks. | 123 | * @return The time in second in between animator ticks. |
124 | * | 124 | * |
125 | * this function retrieves the time inbetween animator ticks, in seconds. | 125 | * this function retrieves the time between animator ticks, in seconds. |
126 | */ | 126 | */ |
127 | EAPI double | 127 | EAPI double |
128 | ecore_animator_frametime_get(void) | 128 | 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 @@ | |||
34 | * state that it cannot regenerate by just killing it and starting it again. | 34 | * state that it cannot regenerate by just killing it and starting it again. |
35 | * This includes state that the user code knows about, as the respawn is | 35 | * This includes state that the user code knows about, as the respawn is |
36 | * transparent to that code. On the other hand, maybe a respawn event might | 36 | * transparent to that code. On the other hand, maybe a respawn event might |
37 | * be useful, or maybe resend the currently non existant add event. For | 37 | * be useful, or maybe resend the currently non existent add event. For |
38 | * consistancy with ecore_con, an add event is good anyway. | 38 | * consistancy with ecore_con, an add event is good anyway. |
39 | * | 39 | * |
40 | * The Ecore_exe structure is reused for respawning, so that the (opaque) | 40 | * The Ecore_exe structure is reused for respawning, so that the (opaque) |
@@ -130,7 +130,7 @@ struct _Ecore_Exe | |||
130 | * cmd = ecore_exe_comand_parameter_append(cmd, "firefox"); | 130 | * cmd = ecore_exe_comand_parameter_append(cmd, "firefox"); |
131 | * cmd = ecore_exe_comand_parameter_append(cmd, "http://www.foo.com/bar.html?baz=yes"); | 131 | * cmd = ecore_exe_comand_parameter_append(cmd, "http://www.foo.com/bar.html?baz=yes"); |
132 | * each parameter appended is one argument, and it gets escaped, quoted, and | 132 | * each parameter appended is one argument, and it gets escaped, quoted, and |
133 | * appended with a preceeding space. The first is the command off course. | 133 | * appended with a preceding space. The first is the command off course. |
134 | */ | 134 | */ |
135 | 135 | ||
136 | struct _ecore_exe_dead_exe | 136 | struct _ecore_exe_dead_exe |
@@ -519,7 +519,7 @@ ecore_exe_pipe_run(const char *exe_cmd, Ecore_Exe_Flags flags, const void *data) | |||
519 | { | 519 | { |
520 | /* Setup the status pipe. */ | 520 | /* Setup the status pipe. */ |
521 | E_NO_ERRNO(result, close(statusPipe[0]), ok); | 521 | E_NO_ERRNO(result, close(statusPipe[0]), ok); |
522 | E_IF_NO_ERRNO(result, fcntl(statusPipe[1], F_SETFD, FD_CLOEXEC), ok) /* close on exec shows sucess */ | 522 | E_IF_NO_ERRNO(result, fcntl(statusPipe[1], F_SETFD, FD_CLOEXEC), ok) /* close on exec shows success */ |
523 | { | 523 | { |
524 | /* Run the actual command. */ | 524 | /* Run the actual command. */ |
525 | _ecore_exe_exec_it(exe_cmd, flags); /* no return */ | 525 | _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) | |||
720 | } | 720 | } |
721 | 721 | ||
722 | /** | 722 | /** |
723 | * Sends data to the given child process which it recieves on stdin. | 723 | * Sends data to the given child process which it receives on stdin. |
724 | * | 724 | * |
725 | * This function writes to a child processes standard in, with unlimited | 725 | * This function writes to a child processes standard in, with unlimited |
726 | * buffering. This call will never block. It may fail if the system runs out | 726 | * 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 | |||
846 | * Spank programmer for freeing the event data if it came from the event system, as that autofrees. | 846 | * Spank programmer for freeing the event data if it came from the event system, as that autofrees. |
847 | * Spank the programmer if they try to set the limits bigger than what has been gathered & ignored already, coz they just lost data. | 847 | * Spank the programmer if they try to set the limits bigger than what has been gathered & ignored already, coz they just lost data. |
848 | * Spank onefang and raster for opening this can of worms. | 848 | * Spank onefang and raster for opening this can of worms. |
849 | * Should we have seperate out/err limits? | 849 | * Should we have separate out/err limits? |
850 | * Should we remove from the internal buffer the data that was delivered already? | 850 | * Should we remove from the internal buffer the data that was delivered already? |
851 | * If so, what to do about limits, start, and end? They could loose their meaning. | 851 | * If so, what to do about limits, start, and end? They could loose their meaning. |
852 | */ | 852 | */ |
@@ -1346,7 +1346,7 @@ _ecore_exe_is_it_alive(pid_t pid) | |||
1346 | { | 1346 | { |
1347 | Ecore_Exe *exe = NULL; | 1347 | Ecore_Exe *exe = NULL; |
1348 | 1348 | ||
1349 | /* FIXME: There is no nice, safe, OS independant way to tell if a | 1349 | /* FIXME: There is no nice, safe, OS independent way to tell if a |
1350 | * particular PID is still alive. I have written code to do so | 1350 | * particular PID is still alive. I have written code to do so |
1351 | * for my urunlevel busybox applet (http://urunlevel.sourceforge.net/), | 1351 | * for my urunlevel busybox applet (http://urunlevel.sourceforge.net/), |
1352 | * but it's for linux only, and still not guaranteed. | 1352 | * but it's for linux only, and still not guaranteed. |
@@ -1391,10 +1391,10 @@ _ecore_exe_make_sure_its_dead(void *data) | |||
1391 | if ((exe = _ecore_exe_is_it_alive(dead->pid))) | 1391 | if ((exe = _ecore_exe_is_it_alive(dead->pid))) |
1392 | { | 1392 | { |
1393 | if (dead->cmd) | 1393 | if (dead->cmd) |
1394 | INF("Sending KILL signal to alledgedly dead %s (%d).", | 1394 | INF("Sending KILL signal to allegedly dead %s (%d).", |
1395 | dead->cmd, dead->pid); | 1395 | dead->cmd, dead->pid); |
1396 | else | 1396 | else |
1397 | INF("Sending KILL signal to alledgedly dead PID %d.", | 1397 | INF("Sending KILL signal to allegedly dead PID %d.", |
1398 | dead->pid); | 1398 | dead->pid); |
1399 | exe->doomsday_clock = | 1399 | exe->doomsday_clock = |
1400 | ecore_timer_add(10.0, _ecore_exe_make_sure_its_really_dead, | 1400 | 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) | |||
1151 | /* if these calls caused any buffered events to appear - deal with them */ | 1151 | /* if these calls caused any buffered events to appear - deal with them */ |
1152 | _ecore_main_fd_handlers_buf_call(); | 1152 | _ecore_main_fd_handlers_buf_call(); |
1153 | 1153 | ||
1154 | /* if ther are any - jump to processing them */ | 1154 | /* if there are any - jump to processing them */ |
1155 | if (_ecore_event_exist()) | 1155 | if (_ecore_event_exist()) |
1156 | { | 1156 | { |
1157 | have_event = 1; | 1157 | 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) | |||
424 | else | 424 | else |
425 | { | 425 | { |
426 | ERR("An unhandled error (ret: %zd errno: %d)" | 426 | ERR("An unhandled error (ret: %zd errno: %d)" |
427 | "occured while writing to the pipe the length", | 427 | "occurred while writing to the pipe the length", |
428 | ret, errno); | 428 | ret, errno); |
429 | } | 429 | } |
430 | } | 430 | } |
@@ -458,7 +458,7 @@ ecore_pipe_write(Ecore_Pipe *p, const void *buffer, unsigned int nbytes) | |||
458 | else | 458 | else |
459 | { | 459 | { |
460 | ERR("An unhandled error (ret: %zd errno: %d)" | 460 | ERR("An unhandled error (ret: %zd errno: %d)" |
461 | "occured while writing to the pipe the length", | 461 | "occurred while writing to the pipe the length", |
462 | ret, errno); | 462 | ret, errno); |
463 | } | 463 | } |
464 | } | 464 | } |
@@ -513,7 +513,7 @@ _ecore_pipe_read(void *data, Ecore_Fd_Handler *fd_handler __UNUSED__) | |||
513 | else | 513 | else |
514 | { | 514 | { |
515 | ERR("An unhandled error (ret: %zd errno: %d)" | 515 | ERR("An unhandled error (ret: %zd errno: %d)" |
516 | "occured while reading from the pipe the length", | 516 | "occurred while reading from the pipe the length", |
517 | ret, errno); | 517 | ret, errno); |
518 | return ECORE_CALLBACK_RENEW; | 518 | return ECORE_CALLBACK_RENEW; |
519 | } | 519 | } |
@@ -569,7 +569,7 @@ _ecore_pipe_read(void *data, Ecore_Fd_Handler *fd_handler __UNUSED__) | |||
569 | else | 569 | else |
570 | { | 570 | { |
571 | ERR("An unhandled error (ret: %zd errno: %d)" | 571 | ERR("An unhandled error (ret: %zd errno: %d)" |
572 | "occured while reading from the pipe the data", | 572 | "occurred while reading from the pipe the data", |
573 | ret, errno); | 573 | ret, errno); |
574 | return ECORE_CALLBACK_RENEW; | 574 | return ECORE_CALLBACK_RENEW; |
575 | } | 575 | } |
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) | |||
409 | */ | 409 | */ |
410 | 410 | ||
411 | /** | 411 | /** |
412 | * @brief Run some blocking code in a parrallel thread to avoid locking the main loop. | 412 | * @brief Run some blocking code in a parallel thread to avoid locking the main loop. |
413 | * @param func_blocking The function that should run in another thread. | 413 | * @param func_blocking The function that should run in another thread. |
414 | * @param func_end The function that will be called in the main loop if the thread terminate correctly. | 414 | * @param func_end The function that will be called in the main loop if the thread terminate correctly. |
415 | * @param func_cancel The function that will be called in the main loop if the thread is cancelled. | 415 | * @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) | |||
419 | * ecore_thread_run provide a facility for easily managing blocking task in a | 419 | * ecore_thread_run provide a facility for easily managing blocking task in a |
420 | * parallel thread. You should provide three function. The first one, func_blocking, | 420 | * parallel thread. You should provide three function. The first one, func_blocking, |
421 | * that will do the blocking work in another thread (so you should not use the | 421 | * that will do the blocking work in another thread (so you should not use the |
422 | * EFL in it except Eina if you are carefull). The second one, func_end, | 422 | * EFL in it except Eina if you are careful). The second one, func_end, |
423 | * that will be called in Ecore main loop when func_blocking is done. So you | 423 | * that will be called in Ecore main loop when func_blocking is done. So you |
424 | * can use all the EFL inside this function. The last one, func_cancel, will | 424 | * can use all the EFL inside this function. The last one, func_cancel, will |
425 | * be called in the main loop if the thread is cancelled or could not run at all. | 425 | * 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) | |||
583 | } | 583 | } |
584 | 584 | ||
585 | /** | 585 | /** |
586 | * @brief Run some heavy code in a parrallel thread to avoid locking the main loop. | 586 | * @brief Run some heavy code in a parallel thread to avoid locking the main loop. |
587 | * @param func_heavy The function that should run in another thread. | 587 | * @param func_heavy The function that should run in another thread. |
588 | * @param func_notify The function that will receive the data send by func_heavy in the main loop. | 588 | * @param func_notify The function that will receive the data send by func_heavy in the main loop. |
589 | * @param func_end The function that will be called in the main loop if the thread terminate correctly. | 589 | * @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) | |||
595 | * ecore_long_run provide a facility for easily managing heavy task in a | 595 | * ecore_long_run provide a facility for easily managing heavy task in a |
596 | * parallel thread. You should provide four functions. The first one, func_heavy, | 596 | * parallel thread. You should provide four functions. The first one, func_heavy, |
597 | * that will do the heavy work in another thread (so you should not use the | 597 | * that will do the heavy work in another thread (so you should not use the |
598 | * EFL in it except Eina and Eet if you are carefull). The second one, func_notify, | 598 | * EFL in it except Eina and Eet if you are careful). The second one, func_notify, |
599 | * will receive the data send from the thread function (func_heavy) by ecore_thread_notify | 599 | * will receive the data send from the thread function (func_heavy) by ecore_thread_notify |
600 | * in the main loop (and so, can use all the EFL). Tje third, func_end, | 600 | * in the main loop (and so, can use all the EFL). Tje third, func_end, |
601 | * that will be called in Ecore main loop when func_heavy is done. So you | 601 | * 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) | |||
607 | * host CPU can handle. | 607 | * host CPU can handle. |
608 | * | 608 | * |
609 | * If you set try_no_queue, it will try to run outside of the thread pool, this can bring | 609 | * If you set try_no_queue, it will try to run outside of the thread pool, this can bring |
610 | * the CPU down, so be carefull with that. Of course if it can't start a new thread, it will | 610 | * the CPU down, so be careful with that. Of course if it can't start a new thread, it will |
611 | * try to use one from the pool. | 611 | * try to use one from the pool. |
612 | */ | 612 | */ |
613 | EAPI Ecore_Thread *ecore_long_run(Ecore_Thread_Heavy_Cb func_heavy, | 613 | 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) | |||
233 | } | 233 | } |
234 | 234 | ||
235 | /** | 235 | /** |
236 | * Add some delay for the next occurence of a timer. | 236 | * Add some delay for the next occurrence of a timer. |
237 | * This doesn't affect the interval of a timer. | 237 | * This doesn't affect the interval of a timer. |
238 | * | 238 | * |
239 | * @param timer The timer to change. | 239 | * @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 @@ | |||
38 | * | 38 | * |
39 | * The Ecore Connection Library ( @c Ecore_Con ) provides simple mechanisms | 39 | * The Ecore Connection Library ( @c Ecore_Con ) provides simple mechanisms |
40 | * for communications between programs using reliable sockets. It saves | 40 | * for communications between programs using reliable sockets. It saves |
41 | * the programmer from having to worry about file descripters and waiting | 41 | * the programmer from having to worry about file descriptors and waiting |
42 | * for incoming connections. | 42 | * for incoming connections. |
43 | * | 43 | * |
44 | * There are two main objects in the @c Ecore_Con library: the @c | 44 | * There are two main objects in the @c Ecore_Con library: the @c |
@@ -91,14 +91,14 @@ | |||
91 | * data within this object is transient, so it must be duplicated in order to be | 91 | * data within this object is transient, so it must be duplicated in order to be |
92 | * retained. This event will continue to occur until the client has stopped sending its | 92 | * retained. This event will continue to occur until the client has stopped sending its |
93 | * message, so a good option for storing this data is an Eina_Strbuf. Once the message has | 93 | * message, so a good option for storing this data is an Eina_Strbuf. Once the message has |
94 | * been recieved in full, the client object must be freed with @ref ecore_con_client_free. | 94 | * been received in full, the client object must be freed with @ref ecore_con_client_free. |
95 | * @li @ref ECORE_CON_EVENT_SERVER_DATA: Whenever your server object connects to its destination | 95 | * @li @ref ECORE_CON_EVENT_SERVER_DATA: Whenever your server object connects to its destination |
96 | * and receives data, an event of this type is emitted. The data will contain both | 96 | * and receives data, an event of this type is emitted. The data will contain both |
97 | * the size and contents of the message sent by the server. It should be noted that | 97 | * the size and contents of the message sent by the server. It should be noted that |
98 | * data within this object is transient, so it must be duplicated in order to be | 98 | * data within this object is transient, so it must be duplicated in order to be |
99 | * retained. This event will continue to occur until the server has stopped sending its | 99 | * retained. This event will continue to occur until the server has stopped sending its |
100 | * message, so a good option for storing this data is an Eina_Strbuf. Once the message has | 100 | * message, so a good option for storing this data is an Eina_Strbuf. Once the message has |
101 | * been recieved in full, the server object must be freed with @ref ecore_con_server_free. | 101 | * been received in full, the server object must be freed with @ref ecore_con_server_free. |
102 | * | 102 | * |
103 | */ | 103 | */ |
104 | 104 | ||
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) | |||
1788 | { | 1788 | { |
1789 | snprintf(buf, PATH_MAX, "%s/.e/config.eet", p); | 1789 | snprintf(buf, PATH_MAX, "%s/.e/config.eet", p); |
1790 | if (ecore_config_file_load(buf) != 0) { | 1790 | if (ecore_config_file_load(buf) != 0) { |
1791 | /* even if this file (system.eet) dosen't exist we can | 1791 | /* even if this file (system.eet) doesn't exist we can |
1792 | * continue without it as it isn't striclty necessary. | 1792 | * continue without it as it isn't striclty necessary. |
1793 | */ | 1793 | */ |
1794 | ecore_config_file_load(PACKAGE_DATA_DIR "/system.eet"); | 1794 | 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 | |||
55 | static IDirectFBEventBuffer *_window_event; // the main event buffer (all windows are attached to this) | 55 | static IDirectFBEventBuffer *_window_event; // the main event buffer (all windows are attached to this) |
56 | static IDirectFBEventBuffer *_input_event; // the main event buffer (all windows are attached to this) | 56 | static IDirectFBEventBuffer *_input_event; // the main event buffer (all windows are attached to this) |
57 | static IDirectFBDisplayLayer *_layer; // the main layer | 57 | static IDirectFBDisplayLayer *_layer; // the main layer |
58 | static DFBResult _err; // usefull for DFBCHECK | 58 | static DFBResult _err; // useful for DFBCHECK |
59 | 59 | ||
60 | /*******************/ | 60 | /*******************/ |
61 | /* local functions */ | 61 | /* 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__) | |||
59 | /** | 59 | /** |
60 | * Query if a particular renginering engine target has support | 60 | * Query if a particular renginering engine target has support |
61 | * @param engine The engine to check support for | 61 | * @param engine The engine to check support for |
62 | * @return 1 if the particualr engine is supported, 0 if it is not | 62 | * @return 1 if the particular engine is supported, 0 if it is not |
63 | * | 63 | * |
64 | * Query if engine @param engine is supported by ecore_evas. 1 is returned if | 64 | * Query if engine @param engine is supported by ecore_evas. 1 is returned if |
65 | * it is, and 0 is returned if it is not supported. | 65 | * 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 @@ | |||
18 | #include "Ecore_Cocoa.h" | 18 | #include "Ecore_Cocoa.h" |
19 | #include "Evas_Engine_Quartz.h" | 19 | #include "Evas_Engine_Quartz.h" |
20 | 20 | ||
21 | // FIXME: this engine has lots of problems. only 1 window at a time, drawRect looks wrong, doesnt handle resizes and more | 21 | // FIXME: this engine has lots of problems. only 1 window at a time, drawRect looks wrong, doesn't handle resizes and more |
22 | 22 | ||
23 | static int _ecore_evas_init_count = 0; | 23 | static int _ecore_evas_init_count = 0; |
24 | static Ecore_Evas *ecore_evases = NULL; | 24 | static Ecore_Evas *ecore_evases = NULL; |
@@ -411,7 +411,7 @@ ecore_evas_cocoa_new(const char* name, int w, int h) | |||
411 | 411 | ||
412 | // Create our main window, and embed an EvasView in it | 412 | // Create our main window, and embed an EvasView in it |
413 | main_window = [[NSWindow alloc] initWithContentRect:NSMakeRect(0,0,w,h) styleMask:(NSTitledWindowMask | NSClosableWindowMask | NSResizableWindowMask | NSMiniaturizableWindowMask) backing:NSBackingStoreBuffered defer:NO screen:nil]; | 413 | main_window = [[NSWindow alloc] initWithContentRect:NSMakeRect(0,0,w,h) styleMask:(NSTitledWindowMask | NSClosableWindowMask | NSResizableWindowMask | NSMiniaturizableWindowMask) backing:NSBackingStoreBuffered defer:NO screen:nil]; |
414 | /* FIXME: manage the case where main_window is NULL witht a goto free_evas; */ | 414 | /* FIXME: manage the case where main_window is NULL with a goto free_evas; */ |
415 | [main_window makeKeyAndOrderFront:NSApp]; | 415 | [main_window makeKeyAndOrderFront:NSApp]; |
416 | [main_window setTitle:[NSString stringWithUTF8String:name]]; | 416 | [main_window setTitle:[NSString stringWithUTF8String:name]]; |
417 | [main_window makeMainWindow]; | 417 | [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 | |||
723 | /* modes[e->mode], */ | 723 | /* modes[e->mode], */ |
724 | /* details[e->detail]); */ | 724 | /* details[e->detail]); */ |
725 | /* } */ | 725 | /* } */ |
726 | // disable. causes mroe problems than it fixes | 726 | // disable. causes more problems than it fixes |
727 | // if ((e->mode == ECORE_X_EVENT_MODE_GRAB) || | 727 | // if ((e->mode == ECORE_X_EVENT_MODE_GRAB) || |
728 | // (e->mode == ECORE_X_EVENT_MODE_UNGRAB)) | 728 | // (e->mode == ECORE_X_EVENT_MODE_UNGRAB)) |
729 | // return 0; | 729 | // return 0; |
@@ -2868,7 +2868,7 @@ static Ecore_Evas_Engine_Func _ecore_x_engine_func = | |||
2868 | 2868 | ||
2869 | /* | 2869 | /* |
2870 | * FIXME: there are some round trips. Especially, we can split | 2870 | * FIXME: there are some round trips. Especially, we can split |
2871 | * ecore_x_init in 2 functions and supress some round trips. | 2871 | * ecore_x_init in 2 functions and suppress some round trips. |
2872 | */ | 2872 | */ |
2873 | 2873 | ||
2874 | #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) | 2874 | #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 @@ | |||
31 | * maybe a new module? | 31 | * maybe a new module? |
32 | * - code to get battery info | 32 | * - code to get battery info |
33 | * - code to get thermal info | 33 | * - code to get thermal info |
34 | * ecore evas fb isnt good enough for weird things, like multiple fb's, same happens here. | 34 | * ecore evas fb isn't good enough for weird things, like multiple fb's, same happens here. |
35 | * backlight support using new kernel interface | 35 | * backlight support using new kernel interface |
36 | * absolute axis | 36 | * absolute axis |
37 | * joystick | 37 | * 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) | |||
87 | snprintf(buf, sizeof(buf), "/dev/tty%i", _ecore_fb_vt_current_vt); | 87 | snprintf(buf, sizeof(buf), "/dev/tty%i", _ecore_fb_vt_current_vt); |
88 | if((_ecore_fb_vt_tty_fd = open(buf, O_RDWR)) < 0) | 88 | if((_ecore_fb_vt_tty_fd = open(buf, O_RDWR)) < 0) |
89 | { | 89 | { |
90 | printf("[ecore_fb:vt_setup] cant open tty %d\n", _ecore_fb_vt_current_vt); | 90 | printf("[ecore_fb:vt_setup] can't open tty %d\n", _ecore_fb_vt_current_vt); |
91 | return 0; | 91 | return 0; |
92 | } | 92 | } |
93 | close(_ecore_fb_vt_tty0_fd); | 93 | close(_ecore_fb_vt_tty0_fd); |
@@ -103,7 +103,7 @@ _ecore_fb_vt_setup(void) | |||
103 | 103 | ||
104 | if(ioctl(_ecore_fb_vt_tty_fd, KDSETMODE, KD_GRAPHICS) < 0) | 104 | if(ioctl(_ecore_fb_vt_tty_fd, KDSETMODE, KD_GRAPHICS) < 0) |
105 | { | 105 | { |
106 | perror("[ecore_fb:vt_setup] cant set the mode to KD_GRAPHICS"); | 106 | perror("[ecore_fb:vt_setup] can't set the mode to KD_GRAPHICS"); |
107 | close(_ecore_fb_vt_tty_fd); | 107 | close(_ecore_fb_vt_tty_fd); |
108 | return 0; | 108 | return 0; |
109 | } | 109 | } |
@@ -116,7 +116,7 @@ _ecore_fb_vt_setup(void) | |||
116 | new_vtmode.acqsig = SIGUSR2; | 116 | new_vtmode.acqsig = SIGUSR2; |
117 | if(ioctl(_ecore_fb_vt_tty_fd, VT_SETMODE, &new_vtmode) < 0) | 117 | if(ioctl(_ecore_fb_vt_tty_fd, VT_SETMODE, &new_vtmode) < 0) |
118 | { | 118 | { |
119 | perror("[ecore_fb:vt_setup] cant set the tty mode"); | 119 | perror("[ecore_fb:vt_setup] can't set the tty mode"); |
120 | close(_ecore_fb_vt_tty_fd); | 120 | close(_ecore_fb_vt_tty_fd); |
121 | return 0; | 121 | return 0; |
122 | } | 122 | } |
@@ -140,7 +140,7 @@ _ecore_fb_vt_setup(void) | |||
140 | close(_ecore_fb_vt_tty_fd); | 140 | close(_ecore_fb_vt_tty_fd); |
141 | return 0; | 141 | return 0; |
142 | } | 142 | } |
143 | /* FIXME assign the fb to the tty in case isnt setup */ | 143 | /* FIXME assign the fb to the tty in case isn't setup */ |
144 | return 1; | 144 | return 1; |
145 | } | 145 | } |
146 | 146 | ||
@@ -154,13 +154,13 @@ ecore_fb_vt_init(void) | |||
154 | _ecore_fb_vt_do_switch = 1; | 154 | _ecore_fb_vt_do_switch = 1; |
155 | if((_ecore_fb_vt_tty0_fd = open("/dev/tty0", O_RDONLY)) < 0) | 155 | if((_ecore_fb_vt_tty0_fd = open("/dev/tty0", O_RDONLY)) < 0) |
156 | { | 156 | { |
157 | printf("[ecore_fb:init] cant open /dev/tty0\n"); | 157 | printf("[ecore_fb:init] can't open /dev/tty0\n"); |
158 | return 0; | 158 | return 0; |
159 | } | 159 | } |
160 | /* query current vt state */ | 160 | /* query current vt state */ |
161 | if((ioctl(_ecore_fb_vt_tty0_fd, VT_GETSTATE, &vtstat)) < 0) | 161 | if((ioctl(_ecore_fb_vt_tty0_fd, VT_GETSTATE, &vtstat)) < 0) |
162 | { | 162 | { |
163 | printf("[ecore_fb:init] cant get current tty state\n"); | 163 | printf("[ecore_fb:init] can't get current tty state\n"); |
164 | return 0; | 164 | return 0; |
165 | } | 165 | } |
166 | _ecore_fb_vt_prev_vt = vtstat.v_active; | 166 | _ecore_fb_vt_prev_vt = vtstat.v_active; |
@@ -171,7 +171,7 @@ ecore_fb_vt_init(void) | |||
171 | 171 | ||
172 | if ((ioctl(_ecore_fb_vt_tty0_fd, VT_OPENQRY, &vtno) < 0)) | 172 | if ((ioctl(_ecore_fb_vt_tty0_fd, VT_OPENQRY, &vtno) < 0)) |
173 | { | 173 | { |
174 | printf("[ecore_fb:init] cant query for a vt\n"); | 174 | printf("[ecore_fb:init] can't query for a vt\n"); |
175 | return 0; | 175 | return 0; |
176 | } | 176 | } |
177 | _ecore_fb_vt_current_vt = vtno; | 177 | _ecore_fb_vt_current_vt = vtno; |
@@ -181,7 +181,7 @@ ecore_fb_vt_init(void) | |||
181 | _ecore_fb_vt_current_vt = _ecore_fb_vt_prev_vt; | 181 | _ecore_fb_vt_current_vt = _ecore_fb_vt_prev_vt; |
182 | if(!_ecore_fb_vt_setup()) | 182 | if(!_ecore_fb_vt_setup()) |
183 | { | 183 | { |
184 | printf("[ecore_fb:init] cant setup the vt, restoring previous mode...\n"); | 184 | printf("[ecore_fb:init] can't setup the vt, restoring previous mode...\n"); |
185 | /* TODO finish this */ | 185 | /* TODO finish this */ |
186 | if(_ecore_fb_vt_do_switch) | 186 | if(_ecore_fb_vt_do_switch) |
187 | { | 187 | { |
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; | |||
29 | /** | 29 | /** |
30 | * Initialize Ecore_File and the services it will use. Call this function | 30 | * Initialize Ecore_File and the services it will use. Call this function |
31 | * once before you use any of the ecore file functions. | 31 | * once before you use any of the ecore file functions. |
32 | * @return Return the number howoften ecore_file_init() was call succesfully; | 32 | * @return Number of times ecore_file_init() was called successfully or 0 if |
33 | * 0 if it failed. | 33 | * this call failed. |
34 | */ | 34 | */ |
35 | EAPI int | 35 | EAPI int |
36 | ecore_file_init() | 36 | ecore_file_init() |
@@ -151,7 +151,7 @@ static mode_t default_mode = S_IRUSR | S_IWUSR | S_IXUSR | S_IRGRP | S_IXGRP | S | |||
151 | /** | 151 | /** |
152 | * Create a new directory | 152 | * Create a new directory |
153 | * @param dir The name of the directory to create | 153 | * @param dir The name of the directory to create |
154 | * @return EINA_TRUE on successfull creation, EINA_FALSE on failure | 154 | * @return EINA_TRUE on successful creation, EINA_FALSE on failure |
155 | * | 155 | * |
156 | * The directory is created with the mode: S_IRUSR | S_IWUSR | S_IXUSR | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH | 156 | * The directory is created with the mode: S_IRUSR | S_IWUSR | S_IXUSR | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH |
157 | */ | 157 | */ |
@@ -166,7 +166,7 @@ ecore_file_mkdir(const char *dir) | |||
166 | * Create complete directory in a batch. | 166 | * Create complete directory in a batch. |
167 | * | 167 | * |
168 | * @param dirs list of directories, null terminated. | 168 | * @param dirs list of directories, null terminated. |
169 | * @return number of successfull directories created, -1 if dirs is NULL. | 169 | * @return number of successful directories created, -1 if dirs is NULL. |
170 | * | 170 | * |
171 | * @see ecore_file_mkdir() and ecore_file_mkpaths() | 171 | * @see ecore_file_mkdir() and ecore_file_mkpaths() |
172 | */ | 172 | */ |
@@ -193,7 +193,7 @@ ecore_file_mkdirs(const char **dirs) | |||
193 | * path to that point must exists. So if creating base/a/b/c, | 193 | * path to that point must exists. So if creating base/a/b/c, |
194 | * provide subdirs with "a", "a/b" and "a/b/c" in that order! | 194 | * provide subdirs with "a", "a/b" and "a/b/c" in that order! |
195 | * | 195 | * |
196 | * @return number of successfull directories created, -1 if subdirs or | 196 | * @return number of successful directories created, -1 if subdirs or |
197 | * base is NULL or invalid. | 197 | * base is NULL or invalid. |
198 | * | 198 | * |
199 | * @see ecore_file_mkdir() and ecore_file_mkpaths() | 199 | * @see ecore_file_mkdir() and ecore_file_mkpaths() |
@@ -409,7 +409,7 @@ ecore_file_mkpath(const char *path) | |||
409 | * Create complete paths in a batch. | 409 | * Create complete paths in a batch. |
410 | * | 410 | * |
411 | * @param paths list of paths, null terminated. | 411 | * @param paths list of paths, null terminated. |
412 | * @return number of successfull paths created, -1 if paths is NULL. | 412 | * @return number of successful paths created, -1 if paths is NULL. |
413 | * | 413 | * |
414 | * @see ecore_file_mkpath() and ecore_file_mkdirs() | 414 | * @see ecore_file_mkpath() and ecore_file_mkdirs() |
415 | */ | 415 | */ |
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" { | |||
149 | Ecore_IMF_Keyboard_Modifiers modifiers; /**< The keyboard modifiers active when the event has been emitted */ | 149 | Ecore_IMF_Keyboard_Modifiers modifiers; /**< The keyboard modifiers active when the event has been emitted */ |
150 | Ecore_IMF_Keyboard_Locks locks; /**< The keyboard locks active when the event has been emitted */ | 150 | Ecore_IMF_Keyboard_Locks locks; /**< The keyboard locks active when the event has been emitted */ |
151 | Ecore_IMF_Mouse_Flags flags; /**< The flags corresponding the mouse click (single, double or triple click) */ | 151 | Ecore_IMF_Mouse_Flags flags; /**< The flags corresponding the mouse click (single, double or triple click) */ |
152 | unsigned int timestamp; /**< The timestamp when the event occured */ | 152 | unsigned int timestamp; /**< The timestamp when the event occurred */ |
153 | }; | 153 | }; |
154 | 154 | ||
155 | struct _Ecore_IMF_Event_Mouse_Up | 155 | struct _Ecore_IMF_Event_Mouse_Up |
@@ -164,7 +164,7 @@ extern "C" { | |||
164 | Ecore_IMF_Keyboard_Modifiers modifiers; /**< The keyboard modifiers active when the event has been emitted */ | 164 | Ecore_IMF_Keyboard_Modifiers modifiers; /**< The keyboard modifiers active when the event has been emitted */ |
165 | Ecore_IMF_Keyboard_Locks locks; /**< The keyboard locks active when the event has been emitted */ | 165 | Ecore_IMF_Keyboard_Locks locks; /**< The keyboard locks active when the event has been emitted */ |
166 | Ecore_IMF_Mouse_Flags flags; /**< The flags corresponding the mouse click (single, double or triple click) */ | 166 | Ecore_IMF_Mouse_Flags flags; /**< The flags corresponding the mouse click (single, double or triple click) */ |
167 | unsigned int timestamp; /**< The timestamp when the event occured */ | 167 | unsigned int timestamp; /**< The timestamp when the event occurred */ |
168 | }; | 168 | }; |
169 | 169 | ||
170 | struct _Ecore_IMF_Event_Mouse_In | 170 | struct _Ecore_IMF_Event_Mouse_In |
@@ -178,7 +178,7 @@ extern "C" { | |||
178 | } canvas; | 178 | } canvas; |
179 | Ecore_IMF_Keyboard_Modifiers modifiers; /**< The keyboard modifiers active when the event has been emitted */ | 179 | Ecore_IMF_Keyboard_Modifiers modifiers; /**< The keyboard modifiers active when the event has been emitted */ |
180 | Ecore_IMF_Keyboard_Locks locks; /**< The keyboard locks active when the event has been emitted */ | 180 | Ecore_IMF_Keyboard_Locks locks; /**< The keyboard locks active when the event has been emitted */ |
181 | unsigned int timestamp; /**< The timestamp when the event occured */ | 181 | unsigned int timestamp; /**< The timestamp when the event occurred */ |
182 | }; | 182 | }; |
183 | 183 | ||
184 | struct _Ecore_IMF_Event_Mouse_Out | 184 | struct _Ecore_IMF_Event_Mouse_Out |
@@ -192,7 +192,7 @@ extern "C" { | |||
192 | } canvas; | 192 | } canvas; |
193 | Ecore_IMF_Keyboard_Modifiers modifiers; /**< The keyboard modifiers active when the event has been emitted */ | 193 | Ecore_IMF_Keyboard_Modifiers modifiers; /**< The keyboard modifiers active when the event has been emitted */ |
194 | Ecore_IMF_Keyboard_Locks locks; /**< The keyboard locks active when the event has been emitted */ | 194 | Ecore_IMF_Keyboard_Locks locks; /**< The keyboard locks active when the event has been emitted */ |
195 | unsigned int timestamp; /**< The timestamp when the event occured */ | 195 | unsigned int timestamp; /**< The timestamp when the event occurred */ |
196 | }; | 196 | }; |
197 | 197 | ||
198 | struct _Ecore_IMF_Event_Mouse_Move | 198 | struct _Ecore_IMF_Event_Mouse_Move |
@@ -208,7 +208,7 @@ extern "C" { | |||
208 | } cur, prev; | 208 | } cur, prev; |
209 | Ecore_IMF_Keyboard_Modifiers modifiers; /**< The keyboard modifiers active when the event has been emitted */ | 209 | Ecore_IMF_Keyboard_Modifiers modifiers; /**< The keyboard modifiers active when the event has been emitted */ |
210 | Ecore_IMF_Keyboard_Locks locks; /**< The keyboard locks active when the event has been emitted */ | 210 | Ecore_IMF_Keyboard_Locks locks; /**< The keyboard locks active when the event has been emitted */ |
211 | unsigned int timestamp; /**< The timestamp when the event occured */ | 211 | unsigned int timestamp; /**< The timestamp when the event occurred */ |
212 | }; | 212 | }; |
213 | 213 | ||
214 | struct _Ecore_IMF_Event_Mouse_Wheel | 214 | struct _Ecore_IMF_Event_Mouse_Wheel |
@@ -223,7 +223,7 @@ extern "C" { | |||
223 | } canvas; | 223 | } canvas; |
224 | Ecore_IMF_Keyboard_Modifiers modifiers; /**< The keyboard modifiers active when the event has been emitted */ | 224 | Ecore_IMF_Keyboard_Modifiers modifiers; /**< The keyboard modifiers active when the event has been emitted */ |
225 | Ecore_IMF_Keyboard_Locks locks; /**< The keyboard locks active when the event has been emitted */ | 225 | Ecore_IMF_Keyboard_Locks locks; /**< The keyboard locks active when the event has been emitted */ |
226 | unsigned int timestamp; /**< The timestamp when the event occured */ | 226 | unsigned int timestamp; /**< The timestamp when the event occurred */ |
227 | }; | 227 | }; |
228 | 228 | ||
229 | struct _Ecore_IMF_Event_Key_Down | 229 | struct _Ecore_IMF_Event_Key_Down |
@@ -234,7 +234,7 @@ extern "C" { | |||
234 | const char *key; /**< The logical key : (eg shift+1 == exclamation) */ | 234 | const char *key; /**< The logical key : (eg shift+1 == exclamation) */ |
235 | const char *string; /**< A UTF8 string if this keystroke has produced a visible string to be ADDED */ | 235 | const char *string; /**< A UTF8 string if this keystroke has produced a visible string to be ADDED */ |
236 | 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 */ | 236 | 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 */ |
237 | unsigned int timestamp; /**< The timestamp when the event occured */ | 237 | unsigned int timestamp; /**< The timestamp when the event occurred */ |
238 | }; | 238 | }; |
239 | 239 | ||
240 | struct _Ecore_IMF_Event_Key_Up | 240 | struct _Ecore_IMF_Event_Key_Up |
@@ -245,7 +245,7 @@ extern "C" { | |||
245 | const char *key; /**< The logical key : (eg shift+1 == exclamation) */ | 245 | const char *key; /**< The logical key : (eg shift+1 == exclamation) */ |
246 | const char *string; /**< A UTF8 string if this keystroke has produced a visible string to be ADDED */ | 246 | const char *string; /**< A UTF8 string if this keystroke has produced a visible string to be ADDED */ |
247 | 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 */ | 247 | 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 */ |
248 | unsigned int timestamp; /**< The timestamp when the event occured */ | 248 | unsigned int timestamp; /**< The timestamp when the event occurred */ |
249 | }; | 249 | }; |
250 | 250 | ||
251 | union _Ecore_IMF_Event | 251 | 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; | |||
186 | EAPI extern Ecore_X_Atom ECORE_X_ATOM_SELECTION_PROP_SECONDARY; | 186 | EAPI extern Ecore_X_Atom ECORE_X_ATOM_SELECTION_PROP_SECONDARY; |
187 | EAPI extern Ecore_X_Atom ECORE_X_ATOM_SELECTION_PROP_CLIPBOARD; | 187 | EAPI extern Ecore_X_Atom ECORE_X_ATOM_SELECTION_PROP_CLIPBOARD; |
188 | 188 | ||
189 | /* currenly E specific virtual keyboard extension, aim to submit to netwm spec | 189 | /* currently E specific virtual keyboard extension, aim to submit to netwm spec |
190 | * later */ | 190 | * later */ |
191 | 191 | ||
192 | EAPI extern Ecore_X_Atom ECORE_X_ATOM_E_VIRTUAL_KEYBOARD; | 192 | 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, | |||
271 | } /* ecore_x_region_intersect */ | 271 | } /* ecore_x_region_intersect */ |
272 | 272 | ||
273 | /** | 273 | /** |
274 | * Make the substraction of two regions. | 274 | * Make the subtraction of two regions. |
275 | * @param dest The destination region. | 275 | * @param dest The destination region. |
276 | * @param source1 The first source region. | 276 | * @param source1 The first source region. |
277 | * @param source2 The second source region. | 277 | * @param source2 The second source region. |
278 | * | 278 | * |
279 | * Replace the contents of @p dest with the substraction of @p source1 by | 279 | * Replace the contents of @p dest with the subtraction of @p source1 by |
280 | * @p source2. | 280 | * @p source2. |
281 | * @ingroup Ecore_X_Fixes_Group | 281 | * @ingroup Ecore_X_Fixes_Group |
282 | */ | 282 | */ |
@@ -291,7 +291,7 @@ ecore_x_region_subtract(Ecore_X_Region dest, | |||
291 | } /* ecore_x_region_subtract */ | 291 | } /* ecore_x_region_subtract */ |
292 | 292 | ||
293 | /** | 293 | /** |
294 | * Make the substraction of regions by bounds. | 294 | * Make the subtraction of regions by bounds. |
295 | * @param dest The destination region. | 295 | * @param dest The destination region. |
296 | * @param bounds The bounds. | 296 | * @param bounds The bounds. |
297 | * @param source The source region. | 297 | * @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) | |||
2536 | * @return 1 on success, 0 otherwise. | 2536 | * @return 1 on success, 0 otherwise. |
2537 | * | 2537 | * |
2538 | * Retriee the opacity value of @p window and store it in | 2538 | * Retriee the opacity value of @p window and store it in |
2539 | * @p opacity. This function returns 1 on sucess, 0 otherwise. | 2539 | * @p opacity. This function returns 1 on success, 0 otherwise. |
2540 | * | 2540 | * |
2541 | * To use this function, you must call before, and in order, | 2541 | * To use this function, you must call before, and in order, |
2542 | * ecore_x_netwm_opacity_get_prefetch(), which sends the GetProperty request, | 2542 | * 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) | |||
1331 | * Retrieves the coordinates of the pointer. | 1331 | * Retrieves the coordinates of the pointer. |
1332 | * If the window used in | 1332 | * If the window used in |
1333 | * ecore_x_query_pointer_prefetch() is not on the same screen than | 1333 | * ecore_x_query_pointer_prefetch() is not on the same screen than |
1334 | * the root window or if an error occured, @p x and @p y are set | 1334 | * the root window or if an error occurred, @p x and @p y are set |
1335 | * to 0. Otherwise, they are respectively set to the X and Y | 1335 | * to 0. Otherwise, they are respectively set to the X and Y |
1336 | * coordinates of the pointer. | 1336 | * coordinates of the pointer. |
1337 | * | 1337 | * |
@@ -1400,7 +1400,7 @@ ecore_x_query_tree_fetch(void) | |||
1400 | * @return The parent window of @p window. | 1400 | * @return The parent window of @p window. |
1401 | * | 1401 | * |
1402 | * Retrieves the parent window of the given window. If | 1402 | * Retrieves the parent window of the given window. If |
1403 | * an error occured, @c 0 is returned. | 1403 | * an error occurred, @c 0 is returned. |
1404 | * | 1404 | * |
1405 | * To use this function, you must call before, and in order, | 1405 | * To use this function, you must call before, and in order, |
1406 | * ecore_x_query_tree_prefetch(), which sends the QueryTree request, | 1406 | * ecore_x_query_tree_prefetch(), which sends the QueryTree request, |
@@ -1426,7 +1426,7 @@ ecore_x_window_parent_get(Ecore_X_Window window __UNUSED__) | |||
1426 | * @return The children windows. | 1426 | * @return The children windows. |
1427 | * | 1427 | * |
1428 | * Retrieves the children windows of the given window. If | 1428 | * Retrieves the children windows of the given window. If |
1429 | * an error occured, @c 0 is returned. | 1429 | * an error occurred, @c 0 is returned. |
1430 | * | 1430 | * |
1431 | * To use this function, you must call before, and in order, | 1431 | * To use this function, you must call before, and in order, |
1432 | * ecore_x_query_tree_prefetch(), which sends the QueryTree request, | 1432 | * 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) | |||
733 | * Ecore_X_Randr_Unset (or -1) to use currently used outputs. | 733 | * Ecore_X_Randr_Unset (or -1) to use currently used outputs. |
734 | * @para mode XID of the mode to be set. If set to 0 the CRTC will be disabled. | 734 | * @para mode XID of the mode to be set. If set to 0 the CRTC will be disabled. |
735 | * If set to -1 the call will fail. | 735 | * If set to -1 the call will fail. |
736 | * @return EINA_TRUE if mode setting was successfull. Else EINA_FALSE | 736 | * @return EINA_TRUE if mode setting was successful. Else EINA_FALSE |
737 | */ | 737 | */ |
738 | EAPI Eina_Bool | 738 | EAPI Eina_Bool |
739 | ecore_x_randr_crtc_mode_set(Ecore_X_Window root, | 739 | 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, | |||
1733 | } | 1733 | } |
1734 | 1734 | ||
1735 | /* | 1735 | /* |
1736 | * @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. | 1736 | * @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. |
1737 | * @param root window which's screen's resources are used | 1737 | * @param root window which's screen's resources are used |
1738 | * @param crtcs list of CRTCs to be moved | 1738 | * @param crtcs list of CRTCs to be moved |
1739 | * @param ncrtc number of CRTCs in array | 1739 | * @param ncrtc number of CRTCs in array |