Skip to content

Commit 23ea6be

Browse files
authored
Ev: Remove space before fullstop, comma and brace (#4596)
1 parent bb9bfdf commit 23ea6be

File tree

125 files changed

+450
-610
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

125 files changed

+450
-610
lines changed

reference/ev/ev.xml

Lines changed: 19 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -268,8 +268,8 @@
268268
If this flag used(or the program runs setuid or setgid),
269269
<literal>libev</literal>
270270
won't look at the environment variable
271-
<varname>LIBEV_FLAGS</varname>
272-
. Otherwise(by default),
271+
<varname>LIBEV_FLAGS</varname>.
272+
Otherwise(by default),
273273
<varname>LIBEV_FLAGS</varname>
274274
will override the flags completely if it is found. Useful for
275275
performance tests and searching for bugs.
@@ -330,9 +330,8 @@
330330
<link
331331
xlink:href="&url.ev.signal;">ev_signal</link>
332332
(and
333-
<link
334-
xlink:href="&url.ev.child;">ev_child</link>
335-
) watchers. This API delivers signals synchronously, which makes it
333+
<link xlink:href="&url.ev.child;">ev_child</link>)
334+
watchers. This API delivers signals synchronously, which makes it
336335
both faster and might make it possible to get the queued signal data.
337336
It can also simplify signal handling with threads, as long as signals
338337
are properly blocked in threads.
@@ -363,8 +362,8 @@
363362
<!--}}}-->
364363
<para xml:id="ev.constants.run-flags">
365364
Flags passed to
366-
<methodname>Ev::run</methodname>
367-
, or
365+
<methodname>Ev::run</methodname>,
366+
or
368367
<methodname>EvLoop::run</methodname>
369368
<!--{{{-->
370369
<variablelist>
@@ -403,8 +402,8 @@
403402
<!--}}}-->
404403
<para xml:id="ev.constants.break-flags">
405404
Flags passed to
406-
<methodname>Ev::stop</methodname>
407-
, or
405+
<methodname>Ev::stop</methodname>,
406+
or
408407
<methodname>EvLoop::stop</methodname>
409408
<!--{{{-->
410409
<variablelist>
@@ -427,8 +426,8 @@
427426
Makes the innermost
428427
<methodname>Ev::run</methodname>
429428
(or
430-
<methodname>EvLoop::run</methodname>
431-
) call return.
429+
<methodname>EvLoop::run</methodname>)
430+
call return.
432431
</para>
433432
</listitem>
434433
</varlistentry>
@@ -441,8 +440,8 @@
441440
Makes all nested
442441
<methodname>Ev::run</methodname>
443442
(or
444-
<methodname>EvLoop::run</methodname>
445-
) calls return.
443+
<methodname>EvLoop::run</methodname>)
444+
calls return.
446445
</para>
447446
</listitem>
448447
</varlistentry>
@@ -742,10 +741,10 @@
742741
explicitly. Bitwise operators should be applied here(e.g.
743742
<constant>Ev::BACKEND_ALL</constant>
744743
&amp; ~
745-
<constant>Ev::BACKEND_KQUEUE</constant>
746-
) Use
747-
<methodname>Ev::recommendedBackends</methodname>
748-
, or don't specify any backends at all.
744+
<constant>Ev::BACKEND_KQUEUE</constant>)
745+
Use
746+
<methodname>Ev::recommendedBackends</methodname>,
747+
or don't specify any backends at all.
749748
</para>
750749
</listitem>
751750
</varlistentry>
@@ -786,14 +785,13 @@
786785
in
787786
<classname>Ev</classname>
788787
class(e.g.
789-
<methodname>Ev::iteration</methodname>
790-
,
788+
<methodname>Ev::iteration</methodname>,
791789
<methodname>Ev::depth</methodname>
792790
etc.) For
793791
<emphasis>custom loops</emphasis>
794792
(created with
795-
<methodname>EvLoop::__construct</methodname>
796-
) these values may be accessed via corresponding properties and methods
793+
<methodname>EvLoop::__construct</methodname>)
794+
these values may be accessed via corresponding properties and methods
797795
of the
798796
<classname>EvLoop</classname>
799797
class.

reference/ev/ev/backend.xml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
</methodsynopsis>
1818
<para>
1919
Returns an integer describing the backend used by
20-
<emphasis>libev</emphasis>
21-
. See
20+
<emphasis>libev</emphasis>.
21+
See
2222
<link linkend="ev.constants.watcher-backends">Backend flags</link>
2323
</para>
2424
</refsect1>
@@ -30,8 +30,7 @@
3030
&reftitle.returnvalues;
3131
<para>
3232
Returns an integer(bit mask) describing the backend used by
33-
<emphasis>libev</emphasis>
34-
.
33+
<emphasis>libev</emphasis>.
3534
</para>
3635
</refsect1>
3736
<refsect1 role="seealso">

reference/ev/ev/depth.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@
2121
was entered minus the number of times
2222
<methodname>Ev::run</methodname>
2323
was exited normally, in other words, the recursion depth. Outside
24-
<methodname>Ev::run</methodname>
25-
, this number is
26-
<literal>0</literal>
27-
. In a callback, this number is
28-
<literal>1</literal>
29-
, unless
24+
<methodname>Ev::run</methodname>,
25+
this number is
26+
<literal>0</literal>.
27+
In a callback, this number is
28+
<literal>1</literal>,
29+
unless
3030
<methodname>Ev::run</methodname>
3131
was invoked recursively (or from another thread), in which case it is
3232
higher.

reference/ev/ev/feedsignal.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525
</para>
2626
<para>
2727
Unlike
28-
<methodname>Ev::feedSignalEvent</methodname>
29-
, this works regardless of which loop has registered the signal.
28+
<methodname>Ev::feedSignalEvent</methodname>,
29+
this works regardless of which loop has registered the signal.
3030
</para>
3131
</refsect1>
3232
<refsect1 role="parameters">

reference/ev/ev/now.xml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,9 @@
2121
started. This is the time that timers(
2222
<classname>EvTimer</classname>
2323
and
24-
<classname>EvPeriodic</classname>
25-
) are based on, and referring to it is usually faster then calling
26-
<methodname>Ev::time</methodname>
27-
.
24+
<classname>EvPeriodic</classname>)
25+
are based on, and referring to it is usually faster then calling
26+
<methodname>Ev::time</methodname>.
2827
</para>
2928
</refsect1>
3029
<refsect1 role="parameters">

reference/ev/ev/nowupdate.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@
2222
<methodname>Ev::now</methodname>
2323
in the progress. This is a costly operation and is usually done
2424
automatically within
25-
<methodname>Ev::run</methodname>
26-
.
25+
<methodname>Ev::run</methodname>.
2726
</para>
2827
<para>
2928
This method is rarely useful, but when some event callback runs for a very

reference/ev/ev/recommendedbackends.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
<literal>libev</literal>
2222
and also recommended for this platform, meaning it will work for most file
2323
descriptor types. This set is often smaller than the one returned by
24-
<function>ev_supported_backends</function>
25-
, as for example
24+
<function>ev_supported_backends</function>,
25+
as for example
2626
<literal>kqueue</literal>
2727
is broken on most
2828
<literal>BSD</literal>

reference/ev/ev/resume.xml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525
All timer watchers will be delayed by the time spend between
2626
<emphasis>suspend</emphasis>
2727
and
28-
<emphasis>resume</emphasis>
29-
, and all
28+
<emphasis>resume</emphasis>,
29+
and all
3030
<emphasis>periodic</emphasis>
3131
watchers will be rescheduled(that is, they will lose any events that would
3232
have occurred while suspended).
@@ -35,12 +35,11 @@
3535
After calling
3636
<methodname>Ev::suspend</methodname>
3737
it is not allowed to call any function on the given loop other than
38-
<methodname>Ev::resume</methodname>
39-
. Also it is not allowed to call
38+
<methodname>Ev::resume</methodname>.
39+
Also it is not allowed to call
4040
<methodname>Ev::resume</methodname>
4141
without a previous call to
42-
<methodname>Ev::suspend</methodname>
43-
.
42+
<methodname>Ev::suspend</methodname>.
4443
</para>
4544
<para>
4645
Calling

reference/ev/ev/run.xml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,18 +21,16 @@
2121
</methodsynopsis>
2222
<para>
2323
Begin checking for events and calling callbacks
24-
<emphasis>for the default
25-
loop</emphasis>
26-
. Returns when a callback calls
24+
<emphasis>for the default loop</emphasis>.
25+
Returns when a callback calls
2726
<methodname>Ev::stop</methodname>
2827
method, or the flags are nonzero(in which case the return value is true) or
2928
when there are no active watchers which reference the loop(
3029
<methodname>EvWatcher::keepalive</methodname>
3130
is &true;), in which case the return value will be &false;. The return
3231
value can generally be interpreted as
3332
<emphasis>if &true;, there is more work left to
34-
do</emphasis>
35-
.
33+
do</emphasis>.
3634
</para>
3735
</refsect1>
3836
<refsect1 role="parameters">
@@ -86,8 +84,7 @@
8684
<para>
8785
See
8886
<link linkend="ev.constants.run-flags">the run flag
89-
constants</link>
90-
.
87+
constants</link>.
9188
</para>
9289
</listitem>
9390
</varlistentry>

reference/ev/ev/stop.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,7 @@
3434
One of
3535
<emphasis>Ev::BREAK_*</emphasis>
3636
<link
37-
linkend="ev.constants.break-flags">constants</link>
38-
.
37+
linkend="ev.constants.break-flags">constants</link>.
3938
</para>
4039
</listitem>
4140
</varlistentry>

0 commit comments

Comments
 (0)