Skip to content
This repository
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 572 lines (569 sloc) 18.565 kb
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 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571
<?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" packagerversion="1.4.7" 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>yaf</name>
 <channel>pecl.php.net</channel>
 <summary>PHP Framework in PHP extension</summary>
 <description>Yaf is a PHP framework similar to zend framework, which is written in c and built as PHP extension</description>
 <lead>
  <name>Xinchen Hui</name>
  <user>laruence</user>
  <email>laruence@php.net</email>
  <active>yes</active>
 </lead>
 <date>2012-09-07</date>
 <time>16:01:47</time>
 <version>
  <release>2.2.2</release>
  <api>2.2.2</api>
 </version>
 <stability>
  <release>beta</release>
  <api>beta</api>
 </stability>
 <license uri="http://www.php.net/license">PHP</license>
 <notes>
  - Yaf_Controller's methods are not final anymore
  - Yaf_View_Simple is not final anymore
  - Memleaks fixed in various place
 </notes>
 <contents>
  <dir name="/">
   <file name="config.m4" role="src" />
   <file name="yaf_action.c" role="src" />
   <file name="yaf_action.h" role="src" />
   <file name="yaf_application.c" role="src" />
   <file name="yaf_application.h" role="src" />
   <file name="yaf_bootstrap.c" role="src" />
   <file name="yaf_bootstrap.h" role="src" />
   <file name="yaf.c" role="src" />
   <file name="yaf_config.c" role="src" />
   <file name="yaf_config.h" role="src" />
   <file name="yaf_controller.c" role="src" />
   <file name="yaf_controller.h" role="src" />
   <file name="yaf_dispatcher.c" role="src" />
   <file name="yaf_dispatcher.h" role="src" />
   <file name="yaf.dsp" role="src" />
   <file name="yaf_exception.c" role="src" />
   <file name="yaf_exception.h" role="src" />
   <file name="yaf_loader.c" role="src" />
   <file name="yaf_loader.h" role="src" />
   <file name="yaf_logo.h" role="src" />
   <file name="yaf_namespace.h" role="src" />
   <file name="yaf.php" role="src" />
   <file name="yaf_plugin.c" role="src" />
   <file name="yaf_plugin.h" role="src" />
   <file name="yaf_registry.c" role="src" />
   <file name="yaf_registry.h" role="src" />
   <file name="yaf_request.c" role="src" />
   <file name="yaf_request.h" role="src" />
   <file name="yaf_response.c" role="src" />
   <file name="yaf_response.h" role="src" />
   <file name="yaf_router.c" role="src" />
   <file name="yaf_router.h" role="src" />
   <file name="yaf_session.c" role="src" />
   <file name="yaf_session.h" role="src" />
   <file name="yaf_view.c" role="src" />
   <file name="yaf_view.h" role="src" />
   <dir name="configs">
    <file name="ini.c" role="src" />
    <file name="simple.c" role="src" />
   </dir>
   <file name="config.w32" role="src" />
   <file name="CREDITS" role="src" />
   <file name="EXPERIMENTAL" role="src" />
   <file name="php_yaf.h" role="src" />
   <dir name="requests">
    <file name="http.c" role="src" />
    <file name="simple.c" role="src" />
   </dir>
   <dir name="response">
    <file name="http.c" role="src" />
    <file name="cli.c" role="src" />
   </dir>
   <dir name="routes">
    <file name="interface.c" role="src" />
    <file name="rewrite.c" role="src" />
    <file name="supervar.c" role="src" />
    <file name="static.c" role="src" />
    <file name="simple.c" role="src" />
    <file name="regex.c" role="src" />
    <file name="map.c" role="src" />
   </dir>
   <dir name="views">
    <file name="interface.c" role="src" />
    <file name="simple.c" role="src" />
   </dir>
   <dir name="tests">
    <file name="001.phpt" role="test" />
    <file name="002.phpt" role="test" />
    <file name="003.phpt" role="test" />
    <file name="004.phpt" role="test" />
    <file name="005.phpt" role="test" />
    <file name="006.phpt" role="test" />
    <file name="007.phpt" role="test" />
    <file name="008.phpt" role="test" />
    <file name="009.phpt" role="test" />
    <file name="010.phpt" role="test" />
    <file name="011.phpt" role="test" />
    <file name="012.phpt" role="test" />
    <file name="013.phpt" role="test" />
    <file name="014.phpt" role="test" />
    <file name="015.phpt" role="test" />
    <file name="016.phpt" role="test" />
    <file name="017.phpt" role="test" />
    <file name="018.phpt" role="test" />
    <file name="019.phpt" role="test" />
    <file name="020.phpt" role="test" />
    <file name="021.phpt" role="test" />
    <file name="022.phpt" role="test" />
    <file name="023.phpt" role="test" />
    <file name="024.phpt" role="test" />
    <file name="025.phpt" role="test" />
    <file name="026.phpt" role="test" />
    <file name="027.phpt" role="test" />
    <file name="028.phpt" role="test" />
    <file name="029.phpt" role="test" />
    <file name="030.phpt" role="test" />
    <file name="031.phpt" role="test" />
    <file name="032.phpt" role="test" />
    <file name="033.phpt" role="test" />
    <file name="034.phpt" role="test" />
    <file name="035.phpt" role="test" />
    <file name="036.phpt" role="test" />
    <file name="037.phpt" role="test" />
    <file name="038.phpt" role="test" />
    <file name="039.phpt" role="test" />
    <file name="040.phpt" role="test" />
    <file name="041.phpt" role="test" />
    <file name="042.phpt" role="test" />
    <file name="043.phpt" role="test" />
    <file name="044.phpt" role="test" />
    <file name="045.phpt" role="test" />
    <file name="046.phpt" role="test" />
    <file name="047.phpt" role="test" />
    <file name="048.phpt" role="test" />
    <file name="049.phpt" role="test" />
    <file name="050.phpt" role="test" />
    <file name="build.inc" role="test" />
    <file name="bug61493.phpt" role="test" />
    <file name="simple.ini" role="test" />
    <file name="system.ini" role="test" />
   </dir>
  </dir>
 </contents>
 <dependencies>
  <required>
   <php>
    <min>5.2.0</min>
   </php>
   <pearinstaller>
    <min>1.4.0</min>
   </pearinstaller>
  </required>
 </dependencies>
 <providesextension>yaf</providesextension>
 <extsrcrelease />
 <changelog>
  <release>
   <date>2012-09-07</date>
   <version>
    <release>2.2.0</release>
    <api>2.2.0</api>
   </version>
   <stability>
    <release>beta</release>
    <api>beta</api>
   </stability>
   <license uri="http://www.php.net/license">PHP License</license>
   <notes>
    - Repackage, previous one missed one fix
   </notes>
  </release>

  <release>
   <date>2012-09-07</date>
   <version>
    <release>2.2.0</release>
    <api>2.2.0</api>
   </version>
   <stability>
    <release>beta</release>
    <api>beta</api>
   </stability>
   <license uri="http://www.php.net/license">PHP License</license>
   <notes>
    - Implemented Yaf_Response::setBody with key(which will make the layout easier to implement)
    - New method Yaf_View_Simple::eval, Yaf_View_Simple::clear
    - Support short open tag in view templates regardless of php.short_open_tag
    - Make Yaf_Autoload faster(30%)
    - Controller of default module can be autoloaded now
    - Single class can be local class now (previous is a design issue)
    - Performance improve in various place
    - Compatible with php5.5, which droped PHP logo guid
    - Fixed bug that Supervar should not respect the base_uri
    - Implemented FR #62702 (Make baseuri case-insensitive)
    - Implemented FR #62638 (Supports set yaf runtime configuration via application.ini)
   </notes>
  </release>
  <release>
   <date>2012-07-12</date>
   <version>
    <release>2.1.18</release>
    <api>2.1.18</api>
   </version>
   <stability>
    <release>stable</release>
    <api>stable</api>
   </stability>
   <license uri="http://www.php.net/license">PHP License</license>
   <notes>
    - Fixed bug that Yaf_View_Simple::eval doesn't accept short open tag
    - Fixed bug that Yaf_View_Simple::eval doesn't allow tpl be wrapped by PHP opening tag
   </notes>
  </release>
  <release>
   <date>2012-06-23</date>
   <version>
    <release>2.1.17</release>
    <api>2.1.17</api>
   </version>
   <stability>
    <release>stable</release>
    <api>stable</api>
   </stability>
   <license uri="http://www.php.net/license">PHP License</license>
   <notes>
    - Fixed bug config will not re-loaded even it was modified
    - Fixed bug segfault occurred if uncaught exception in Yaf_Controller::init
    - If action return false, dispatch loop will go on with no auto-renderring
    - Remove inline declarations (-fgnu-c89 on MacOS)
   </notes>
  </release>
  <release>
   <date>2012-05-21</date>
   <version>
    <release>2.1.16</release>
    <api>2.1.16</api>
   </version>
   <stability>
    <release>beta</release>
    <api>beta</api>
   </stability>
   <license uri="http://www.php.net/license">PHP License</license>
   <notes>
    - Fixed bug that if fatal error occurred in template, Yaf_View_Simple doesn't output the error message
    - Fixed bug that segv in Yaf_View_Simple::render if the tpl directory parameter is not a string
    - Fixed one invalid read in Yaf_Route_Static
    - Fixed bug that segv occurred while using a custom view engine
    - Fixed one memleak
   </notes>
  </release>
  <release>
   <date>2012-05-07</date>
   <version>
    <release>2.1.15</release>
    <api>2.1.15</api>
   </version>
   <stability>
    <release>beta</release>
    <api>beta</api>
   </stability>
   <license uri="http://www.php.net/license">PHP License</license>
   <notes>
    - Fixed typo variable name in static route(affect 2.1.14)
   </notes>
  </release>
  <release>
   <date>2012-05-05</date>
   <version>
    <release>2.1.14</release>
    <api>2.1.14</api>
   </version>
   <stability>
    <release>beta</release>
    <api>beta</api>
   </stability>
   <license uri="http://www.php.net/license">PHP License</license>
   <notes>
    - Fixed Bug that if no routes success router will throw exception(since 2.1.13 Yaf supports configure default route by application.ini)
    - Fixed Bug that 'foo/index' router result as c => index a => foo
   </notes>
  </release>
  <release>
   <date>2012-04-24</date>
   <version>
    <release>2.1.13</release>
    <api>2.1.13</api>
   </version>
   <stability>
    <release>beta</release>
    <api>beta</api>
   </stability>
   <license uri="http://www.php.net/license">PHP License</license>
   <notes>
    - Added Yaf_View_Simple::eval
    - Supported short_open_tag in Yaf_View_Simple
    - Fixed a potential segfault while alternately access two yaf application host in one machine
    - Improve the Yaf_Route_Static/Supervar::route logic
    - Fixed bug that 404 occurred if the request is prefix with more than one slash
    - Fixed bug that free NULL pointer in Yaf_Loader::registerLocalNameSpace
   </notes>
  </release>
  <release>
   <date>2012-04-18</date>
   <version>
    <release>2.1.12</release>
    <api>2.1.12</api>
   </version>
   <stability>
    <release>beta</release>
    <api>beta</api>
   </stability>
   <license uri="http://www.php.net/license">PHP License</license>
   <notes>
    - Fixed bug that baseUri set to wrong value (affected version: 2.1.10, 2.1.11)
    - Fixed bug Yaf_View_Simple crash while calling assign if construct it with no tpl_dir
    - Fixed bug that Yaf_View_Simple::display doesn't convert controller name
   </notes>
  </release>
  <release>
   <date>2012-04-11</date>
   <version>
    <release>2.1.11</release>
    <api>2.1.11</api>
   </version>
   <stability>
    <release>beta</release>
    <api>beta</api>
   </stability>
   <license uri="http://www.php.net/license">PHP License</license>
   <notes>
    - Improve Yaf_Config parsing performance, if the wanted section was parsed, then overpass the rest sections
    - Now catchException will failover to the default moudle error handler
    - Added Yaf_View_Simple::clear
    - Support set default route by config(appliation.dispatcher.defaultRoute)
    - Support adding Yaf_Route_Map by config
    - Allow Yaf_View_Simple::get(void)
    - Fixed Bug that Yaf_Config_Ini will take part of the section
    - Fixed bug that yaf_config_ini_deep_copy is not much deepy.
    - Fixed bug Yaf_Route_Simple dont respect application.modules configure
    - Fixed some memory leaks
   </notes>
  </release>
  <release>
   <date>2012-04-01</date>
   <version>
    <release>2.1.10</release>
    <api>2.1.10</api>
   </version>
   <stability>
    <release>beta</release>
    <api>beta</api>
   </stability>
   <license uri="http://www.php.net/license">PHP License</license>
   <notes>
    - Fixed bug #61493 (Can't remove item when using unset() with a Yaf_Config_Simple instance)
    - Support controller autoloading(Only default module)
    - Fixed bug that the controller name could be lowercase in routeShutdown hook
    - Fixed bug that segfault while attempt to free owrite_handler
    - Added Yaf_Controller::$yafAutoRender to controller render
    - Fixed some memory leaks
   </notes>
  </release>
  <release>
   <date>2012-03-20</date>
   <version>
    <release>2.1.9</release>
    <api>2.1.9</api>
   </version>
   <stability>
    <release>stable</release>
    <api>stable</api>
   </stability>
   <license uri="http://www.php.net/license">PHP License</license>
   <notes>
    - Fixed Bug that Yaf_Response::setBody cause invalid read
   </notes>
  </release>
  <release>
   <date>2012-03-12</date>
   <version>
    <release>2.1.8</release>
    <api>2.1.8</api>
   </version>
   <stability>
    <release>stable</release>
    <api>stable</api>
   </stability>
   <license uri="http://www.php.net/license">PHP License</license>
   <notes>
    - Fixed bug Yaf_Response::setBody act the same as Yaf_Response::prependBody
   </notes>
  </release>
  <release>
   <date>2012-02-05</date>
   <version>
    <release>2.1.7</release>
    <api>2.1.7</api>
   </version>
   <stability>
    <release>stable</release>
    <api>stable</api>
   </stability>
   <license uri="http://www.php.net/license">PHP License</license>
   <notes>
    - Release 2.1.7 stable
   </notes>
  </release>

  <release>
   <date>2012-01-06</date>
   <version>
    <release>2.1.6</release>
    <api>2.1.6</api>
   </version>
   <stability>
    <release>beta</release>
    <api>beta</api>
   </stability>
   <license uri="http://www.php.net/license">PHP License</license>
   <notes>
    - Fix Bug that classname with namespace can not be auto loaded
   </notes>
  </release>
  <release>
   <date>2011-12-26</date>
   <version>
    <release>2.1.5</release>
    <api>2.1.5</api>
   </version>
   <stability>
    <release>beta</release>
    <api>beta</api>
   </stability>
   <license uri="http://www.php.net/license">PHP License</license>
   <notes>
    - Fix Bug #60608
   </notes>
  </release>
  <release>
   <date>2011-12-21</date>
   <version>
    <release>2.1.4</release>
    <api>2.1.4</api>
   </version>
   <stability>
    <release>beta</release>
    <api>beta</api>
   </stability>
   <license uri="http://www.php.net/license">PHP License</license>
   <notes>
    - Improve the Yaf_Loader::getInstance, make the Yaf_Loader can be used independently
    - Implemented Yaf_View::assignRef, which didn't work as expect before.
   </notes>
  </release>
  <release>
   <date>2011-10-08</date>
   <version>
    <release>2.1.3</release>
    <api>2.1.3</api>
   </version>
   <stability>
    <release>beta</release>
    <api>beta</api>
   </stability>
   <license uri="http://www.php.net/license">PHP License</license>
   <notes>
    - Fixed Bug that Yaf still call to Yaf_View_Simple although a custom view engine was setted
   </notes>
  </release>
  <release>
   <date>2011-09-01</date>
   <version>
    <release>2.1.2</release>
    <api>2.1.2</api>
   </version>
   <stability>
    <release>beta</release>
    <api>beta</api>
   </stability>
   <license uri="http://www.php.net/license">PHP License</license>
   <notes>
    - Added Yaf_Application::getLastErrorNo
    - Added Yaf_Application::getLastErrorMsg
    - Added Yaf_Application::clearLastError
    - Changed trigger ERROR to E_RECOVERABLE_ERROR, then people can use set_error_handler to catch it
   </notes>
  </release>
  <release>
   <date>2011-08-31</date>
   <version>
    <release>2.1.1</release>
    <api>2.1.1</api>
   </version>
   <stability>
    <release>beta</release>
    <api>beta</api>
   </stability>
   <license uri="http://www.php.net/license">PHP License</license>
   <notes>
    - Fixed Yaf_View_Simple::render flush output instantly in PHP5.4
    - Fixed Yaf_Session crash in PHP5.4
   </notes>
  </release>
  <release>
   <date>2011-08-28</date>
   <version>
    <release>2.1.0</release>
    <api>2.1.0</api>
   </version>
   <stability>
    <release>beta</release>
    <api>beta</api>
   </stability>
   <license uri="http://www.php.net/license">PHP License</license>
   <notes>
    - Avoided calling to get_class_entry for higher performance
    - Added arginfo for all methods
    - Remove unnecessary stack variable initialization
    - Standardize error message
    - Add Yaf_Request::setRequstUri
    - Fixed build broken with PHP 5.4
   </notes>
  </release>
  <release>
   <date>2011-06-28</date>
   <version>
    <release>2.0.1</release>
    <api>2.0.1</api>
   </version>
   <stability>
    <release>stable</release>
    <api>stable</api>
   </stability>
   <license uri="http://www.php.net/license">PHP License</license>
   <notes>
    - Fixed Bug that when call to Yaf_Config_Ini/Yaf_Config_Simple with freaky paramters then invoke its methods cause crash (thanks to Felipe Pena)
    - Yaf_Application::execute call Zend_API call_user_func instead of call zif_call_user_func, since zif_call_user_func was not declared with dllexport
    - Built on windows with PHP-5.3.6 and PHP-5.2.15 (you can download the dll on Yaf Google Code)
    - Corrected some broken C89 statements
   </notes>
  </release>
  <release>
   <date>2011-06-24</date>
   <version>
    <release>2.0.0</release>
    <api>2.0.0</api>
   </version>
   <stability>
    <release>stable</release>
    <api>stable</api>
   </stability>
   <license uri="http://www.php.net/license">PHP License</license>
   <notes>
    - First release version
   </notes>
  </release>
 </changelog>
</package>
<!--
vim:et:ts=1:sw=1
-->
Something went wrong with that request. Please try again.