Source

pecl-eio / package.xml

Full commit
  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
<?xml version="1.0" encoding="UTF-8"?>
<package xmlns="http://pear.php.net/dtd/package-2.0" xmlns:tasks="http://pear.php.net/dtd/tasks-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.0" xsi:schemaLocation="http://pear.php.net/dtd/tasks-1.0 http://pear.php.net/dtd/tasks-1.0.xsd http://pear.php.net/dtd/package-2.0 http://pear.php.net/dtd/package-2.0.xsd">
  <name>eio</name>
  <channel>pecl.php.net</channel>
  <summary>Provides interface to the libeio library</summary>
  <description>
    This extension provides interface to the libeio library written by Marc Lehmann
    &lt;libeio at schmorp dot de&gt;(see http://software.schmorp.de/pkg/libeio.html).

    Libeio is a an asynchronous I/O library. Features basically include
    asynchronous versions of POSIX API(read, write, open, close, stat, unlink,
    fdatasync, mknod, readdir etc.); sendfile (native on Solaris, Linux, HP-UX,
    FreeBSD); readahead. libeio itself emulates the system calls, if they are not
    available on specific(UNIX-like) platform.

    Currently this extension supports GNU/Linux and BSD platforms only. But you can
    try it on any UNIX OS.
  </description>
  <lead>
    <name>Ruslan Osmanov</name>
    <user>osmanov</user>
    <email>osmanov@php.net</email>
    <active>yes</active>
  </lead>
  <date>2014-03-14</date>
  <!--{{{ Current version -->
  <version>
    <release>1.2.4</release>
    <api>1.1.0</api>
  </version>
  <stability>
    <release>stable</release>
    <api>stable</api>
  </stability>
  <license uri="http://www.php.net/license">php</license>
  <notes>
    Fix: Bitbucket issue #1: eio_open fails when file is owned by root
  </notes>
  <!--}}}-->
  <!--{{{ contents -->
  <contents>
    <dir name="/">
      <file role="doc" name="CREDITS"/>
      <file role="doc" name="INSTALL.md"/>
      <file role="doc" name="LICENSE"/>
      <file role="doc" name="README.md"/>
      <file role="src" name="config.m4"/>
      <file role="src" name="php_eio.c"/>
      <file role="src" name="eio_fe.c"/>
      <file role="src" name="eio_fe.h"/>
      <file role="src" name="eio_priv.h"/>
      <file role="src" name="php_eio.h"/>
      <file role="doc" name="libeio/LICENSE"/>
      <file role="src" name="libeio/ecb.h"/>
      <file role="src" name="libeio/eio.c"/>
      <file role="src" name="libeio/eio.h"/>
      <file role="src" name="libeio/libeio.m4"/>
      <file role="src" name="libeio/xthread.h"/>
      <file role="test" name="tests/bug65293.phpt"/>
      <file role="test" name="tests/eio001.phpt"/>
      <file role="test" name="tests/eio_cancel_basic.phpt"/>
      <file role="test" name="tests/eio_chmod_basic.phpt"/>
      <file role="test" name="tests/eio_chown_variation.phpt"/>
      <file role="test" name="tests/eio_custom_basic.phpt"/>
      <file role="test" name="tests/eio_fallocate_basic.phpt"/>
      <file role="test" name="tests/eio_grp_add.phpt"/>
      <file role="test" name="tests/eio_link.phpt"/>
      <file role="test" name="tests/eio_mkdir_basic.phpt"/>
      <file role="test" name="tests/eio_mknod_basic.phpt"/>
      <file role="test" name="tests/eio_open_basic.phpt"/>
      <file role="test" name="tests/eio_open_error.phpt"/>
      <file role="test" name="tests/eio_read_basic.phpt"/>
      <file role="test" name="tests/eio_readdir.phpt"/>
      <file role="test" name="tests/eio_rename_basic.phpt"/>
      <file role="test" name="tests/eio_rmdir_basic.phpt"/>
      <file role="test" name="tests/eio_seek.phpt"/>
      <file role="test" name="tests/eio_sendfile_basic.phpt"/>
      <file role="test" name="tests/eio_sendfile_sockets.phpt"/>
      <file role="test" name="tests/eio_stat_basic.phpt"/>
      <file role="test" name="tests/eio_stat_error.phpt"/>
      <file role="test" name="tests/eio_sync.phpt"/>
      <file role="test" name="tests/eio_truncate_basic.phpt"/>
      <file role="test" name="tests/eio_write_variation.phpt"/>
      <file role="test" name="tests/eio_unlink_basic.phpt"/>
      <file role="test" name="tests/eio_utime_basic.phpt"/>
      <file role="test" name="tests/fork.phpt"/>
    </dir>
  </contents>
  <!--}}}-->
  <dependencies>
    <required>
      <php>
        <min>5.3.0</min>
      </php>
      <pearinstaller>
        <min>1.4.0b1</min>
      </pearinstaller>
      <os>
        <name>unix</name>
      </os>
    </required>
  </dependencies>
  <providesextension>eio</providesextension>
  <extsrcrelease>
    <configureoption default="no" name="enable-eio-debug" prompt="Enable internal debugging in Eio"/>
  </extsrcrelease>
  <!--{{{ Changelog-->
  <changelog>
    <!--{{{ 1.2.4 -->
    <release>
      <version>
        <release>1.2.4</release>
        <api>1.1.0</api>
      </version>
      <stability>
        <release>stable</release>
        <api>stable</api>
      </stability>
      <license uri="http://www.php.net/license">php</license>
      <notes>
    Fix: Bitbucket issue #1: eio_open fails when file is owned by root
  </notes>
    </release>
    <!--}}}-->
    <!--{{{ 1.2.3 -->
    <release>
      <version>
        <release>1.2.3</release>
        <api>1.1.0</api>
      </version>
      <stability>
        <release>stable</release>
        <api>stable</api>
      </stability>
      <license uri="http://www.php.net/license">php</license>
      <notes>
  Fix: bug #65293 where eio functions failed to process file descriptor equal to 0
  </notes>
    </release>
    <!--}}}-->
    <!--{{{ 1.2.2 -->
    <version>
      <release>1.2.2</release>
      <api>1.1.0</api>
    </version>
    <stability>
      <release>stable</release>
      <api>stable</api>
    </stability>
    <license uri="http://www.php.net/license">php</license>
    <notes>
  Fix: 3rd argument of eio_custom callback assigned as a resource instead of mixed
  Fix: eio_custom used incorrect way of zval-to-zval copying
  </notes>
    <!--}}}-->
    <!--{{{ 1.2.1 -->
    <version>
      <release>1.2.1</release>
      <api>1.1.0</api>
    </version>
    <stability>
      <release>stable</release>
      <api>stable</api>
    </stability>
    <license uri="http://www.php.net/license">php</license>
    <notes>
    Fix: build failed without sockets extension
    Fix: eio_write failed when buffer length was lesser than size + offset
  </notes>
    <!--}}}-->
    <!--{{{ 1.2.0 -->
    <version>
      <release>1.2.0</release>
      <api>1.1.0</api>
    </version>
    <stability>
      <release>stable</release>
      <api>stable</api>
    </stability>
    <license uri="http://www.php.net/license">php</license>
    <notes>
    Add: BSD support
    Change: internal event notification uses pipe() when eventfd() is not available.
    Del: some redundant code
    Fix: use libeio's EIO_FALLOC_FL_KEEP_SIZE instead of the system constant
  </notes>
    <!--}}}-->
    <!--{{{ 1.1.0 -->
    <version>
      <release>1.1.0</release>
      <api>1.1.0</api>
    </version>
    <stability>
      <release>stable</release>
      <api>stable</api>
    </stability>
    <license uri="http://www.php.net/license">php</license>
    <notes>
    Change: eio_init() deprecated. Will be removed in future. We use pthread_atfork() to re-init eio after a fork
    Add: phpt test for the fork support
    Fix: tsrm_ls is not initialized in php_eio_init()
    Fix: EFD_NONBLOCK and EFD_CLOEXEC used despite the flags were not available until kernel 2.6.7. For the old kernels we call fcntl.
    Refact: set FD_CLOEXEC flag for file descriptor opened with eio_open()
    Refact: no need to copy zval when passing request resource to eio_grp_*()
    Fix: eio_grp_*() didn't initialize eio automatically
  </notes>
    <!--}}}-->
    <!--{{{ 1.0.0 -->
    <version>
      <release>1.0.0</release>
      <api>1.0.0</api>
    </version>
    <stability>
      <release>stable</release>
      <api>stable</api>
    </stability>
    <license uri="http://www.php.net/license">php</license>
    <notes>
      Fix: eio_write() wrote garbage when 'str' arg passed by ref in a nested call with 'use' keyword
      Fix: eio_write() wrote garbage when 'str' arg passed by value
      Add: eio_init(). You must call eio_init() before using Eio in a forked child process.
      Change: Cut 'st_' prefix in result of eio_*stat for the sake of simplicity and better 'compatability' with stat()
      Change: Cut 'f_' prefix in result of eio_*statvfs
      Add: eio_get_last_error()
      Add: eio_req resource argument as the third optional callback argument
      Add: phpt tests for the changes since 0.5.0b
      Removed: warnings having no much sense even in debug mode
      Refact: no separation for callbacks
    </notes>
    <!--}}}-->
    <!--{{{ 0.5.0 (beta) -->
    <version>
      <release>0.5.0</release>
      <api>0.5.0</api>
    </version>
    <stability>
      <release>beta</release>
      <api>stable</api>
    </stability>
    <license uri="http://www.php.net/license">php</license>
    <notes>
      Refact: libeio upgraded
      Fix: bug #62392 where eio_*stat functions didn't return st_size
      Fix: package.xml referenced to some nonexistent files
      Fix: garbage in result arg of the callbacks in case of error
      Change: warn about failed op in cb only when compiled with debug support
      Add: test for stat on nonexistent files
      Add: sockets support(eio_sendfile, eio_readahead etc.), enabled by default
      Add: eio_seek function
      Change: numeric fd arguments are now mixed(stream, Socket, or number)
    </notes>
    <!--}}}-->
    <!--{{{ 0.4.0 (beta) -->
    <release>
      <version>
        <release>0.4.0</release>
        <api>0.4.0</api>
      </version>
      <stability>
        <release>beta</release>
        <api>beta</api>
      </stability>
      <license uri="http://www.php.net/license">php</license>
      <notes>
        Change: libeio is now embedded, no need to install it separately
        Change: functions call info and call info cache used instead of zvals
        Fix: segmentation fault on 32-bit platforms with the default 4-bit LFS
      </notes>
    </release>
    <!--}}}-->
    <!--{{{ 0.3.1 (beta) -->
    <release>
      <version>
        <release>0.3.1</release>
        <api>0.3.1</api>
      </version>
      <stability>
        <release>beta</release>
        <api>beta</api>
      </stability>
      <license uri="http://www.php.net/license">php</license>
      <notes>
        Change: eio_get_event_stream returns stream resource
        Fix: package dependencies didn't allow pecl install eio-alpha
        Fix: redundant MS/NETWARE platform checks
      </notes>
    </release>
    <!--}}}-->
    <!-- {{{ 0.3.0 (alpha) -->
    <release>
      <version>
        <release>0.3.0</release>
        <api>0.3.0</api>
      </version>
      <stability>
        <release>alpha</release>
        <api>alpha</api>
      </stability>
      <license uri="http://www.php.net/license">php</license>
      <notes>
        Change: mutex switch that used in communications with libeio replaced with
        eventfd; the same descriptor exported to userspace to bind with existing
        event loops
        Add: eio_get_eventfd function to get eventfd descriptor
        Add: header checks in configuration
        Change: libeio initialization moved to the MINIT phase, but unfinished
        requests are still handled in the RSHUTDOWN phase
        Change: simplified libeio callbacks
      </notes>
    </release>
    <!--}}}-->
    <!--{{{ 0.2.0 (alpha) -->
    <release>
      <version>
        <release>0.2.0</release>
        <api>0.2.0</api>
      </version>
      <stability>
        <release>alpha</release>
        <api>alpha</api>
      </stability>
      <license uri="http://www.php.net/license">PHP</license>
      <notes>
        Fix: heavy bulk requests damaged event loop causing much CPU consumption
        Fix: in a threaded SAPI libeio in a single process might initialize mutex multiple times
        Change: switch from semaphore to mutex
        Change: dropped --with-eio-shm* configuration options
      </notes>
    </release>
    <!--}}}-->
    <!--{{{ 0.1.1 (alpha) -->
    <release>
      <version>
        <release>0.1.1</release>
        <api>0.1.1</api>
      </version>
      <stability>
        <release>alpha</release>
        <api>alpha</api>
      </stability>
      <license uri="http://www.php.net/license">PHP</license>
      <notes>
        Fix: eio_poll had been out of sync with the IPC
        Fix: pathnames in tests
        Change: dropped preprocessor checks on non-UNIX platforms, i.e. no plans to
        support non-UNIX
      </notes>
    </release>
    <!--}}}-->
    <!--{{{ 0.1.0 (alpha) -->
    <release>
      <version>
        <release>0.1.0</release>
        <api>0.1.0</api>
      </version>
      <stability>
        <release>alpha</release>
        <api>alpha</api>
      </stability>
      <license uri="http://www.php.net/license">PHP</license>
      <notes>
        Change: refactored some tests
        Add: request types have readable values in error messages
        Add: errno replaced with the meaningful string in error messages
        Fix: eio_chown denied uid -1 value
        Fix: message about required libeio
      </notes>
    </release>
    <!--}}}-->
    <!--{{{ 0.0.1 (alpha) -->
    <release>
      <version>
        <release>0.0.1</release>
        <api>0.0.1</api>
      </version>
      <stability>
        <release>alpha</release>
        <api>alpha</api>
      </stability>
      <license uri="http://www.php.net/license">PHP</license>
      <notes>
        Change: Shared memory permissions are set to 0660 by default
        Change: Removed redundant code and comments
        Add: Tests: eio_read_basic.phpt, eio_stat_basic.phpt
        Fix: the package XML
        Fix: docs
      </notes>
    </release>
    <!--}}}-->
    <!--{{{ 0.0.1dev -->
    <release>
      <version>
        <release>0.0.1dev</release>
        <api>0.0.1dev</api>
      </version>
      <stability>
        <release>devel</release>
        <api>devel</api>
      </stability>
      <license uri="http://www.php.net/license">PHP</license>
      <notes>
        Initial development release.
      </notes>
    </release>
    <!--}}}-->
  </changelog>
  <!--}}}-->
</package>
<!--
vim: et sts=2 ts=2 sw=2 fdm=marker
-->