My favorites | Sign in
Project Logo
             
Details: Show all Hide all

Last 7 days

  • Dec 14, 2009
    r280 (add _primaryKey define in DbTable class) committed by gxd305   -   add _primaryKey define in DbTable class
    add _primaryKey define in DbTable class

Last 30 days

  • Dec 07, 2009
    r279 (change masterConnection to connection) committed by gxd305   -   change masterConnection to connection
    change masterConnection to connection

Earlier this year

  • Nov 11, 2009
    r278 (fix bug 50 and add errocode when throw exception) committed by gxd305   -   fix bug 50 and add errocode when throw exception
    fix bug 50 and add errocode when throw exception
  • Nov 03, 2009
    issue 55 (建议将 db 的  fields / primary key的配置放在 dbtable中处理,而不是集中处理。) commented on by TalkativeDoggy   -   集中处理是还有些bug 集中处理的初衷是想把fields, pk等信息缓存起来,以免每次都去查
    集中处理是还有些bug 集中处理的初衷是想把fields, pk等信息缓存起来,以免每次都去查
  • Aug 31, 2009
    issue 55 (建议将 db 的  fields / primary key的配置放在 dbtable中处理,而不是集中处理。) changed by gxd305   -  
    Status: New
    Owner: TalkativeDoggy
    Status: New
    Owner: TalkativeDoggy
  • Aug 31, 2009
    issue 55 (建议将 db 的  fields / primary key的配置放在 dbtable中处理,而不是集中处理。) reported by gxd305   -   建议将 db 的  fields / primary key的配置放在 dbtable中处理,而不是集中 处理。
    建议将 db 的  fields / primary key的配置放在 dbtable中处理,而不是集中 处理。
  • Aug 31, 2009
    issue 54 (当 某个 Group有多个Node的时候kiwi.php中没有setnode ) Summary changed by gxd305   -  
    Summary: 当 某个 Group有多个Node的时候kiwi.php中没有setnode
    Summary: 当 某个 Group有多个Node的时候kiwi.php中没有setnode
  • Aug 31, 2009
    issue 54 (当 某个 Group有多个N) commented on by huowang1982   -   不小心提交了。 当某个group有多个node的时候,kiwi.php在获取其字段或者primary key的 时候,没有 setnode 会导致获取不到数据。 get node 代码如下: //~ fix issue 11 if (NULL === $this->_node) { $nodeArray = array_keys(Config::$app["db_server"][$this->getGroup()]); if (1 === count($nodeArray)) { $this->_node = $nodeArray[0]; } else { DebugHelper::debug('DB_NODE_NOT_SPECIFIED', array('group' => $this->getGroup())); } } return $this->_node;
    不小心提交了。 当某个group有多个node的时候,kiwi.php在获取其字段或者primary key的 时候,没有 setnode 会导致获取不到数据。 get node 代码如下: //~ fix issue 11 if (NULL === $this->_node) { $nodeArray = array_keys(Config::$app["db_server"][$this->getGroup()]); if (1 === count($nodeArray)) { $this->_node = $nodeArray[0]; } else { DebugHelper::debug('DB_NODE_NOT_SPECIFIED', array('group' => $this->getGroup())); } } return $this->_node;
  • Aug 31, 2009
    issue 54 (当 某个 Group有多个N) reported by huowang1982   -   What steps will reproduce the problem? 1. 2. 3. What is the expected output? What do you see instead? What version of the product are you using? On what operating system? Please provide any additional information below.
    What steps will reproduce the problem? 1. 2. 3. What is the expected output? What do you see instead? What version of the product are you using? On what operating system? Please provide any additional information below.
  • Aug 30, 2009
    issue 50 (插入重复的记录,没有抛出异常) commented on by TalkativeDoggy   -   强! 从pdo代码验证你的推断,应该是可信的了
    强! 从pdo代码验证你的推断,应该是可信的了
  • Aug 29, 2009
    r277 (add errorCode to the exception when throw) committed by gxd305   -   add errorCode to the exception when throw
    add errorCode to the exception when throw
  • Aug 28, 2009
    issue 53 (Dispatcher.php 97行 clone 没有检测 $context是否为null) reported by gxd305   -   Dispatcher.php:97 第三个参数如果为 null 而 后面的代码并没有检测它是否为 null, 直接clone 。 static public function dispatchComponent($module, $component, $context = null) { $cloneOfContext = clone $context; self::_dispatch($module, $component, $cloneOfContext, "Component"); }
    Dispatcher.php:97 第三个参数如果为 null 而 后面的代码并没有检测它是否为 null, 直接clone 。 static public function dispatchComponent($module, $component, $context = null) { $cloneOfContext = clone $context; self::_dispatch($module, $component, $cloneOfContext, "Component"); }
  • Aug 28, 2009
    issue 47 (1. pgsql.php:81 _masterConnection undefined , should be _co...) Status changed by gxd305   -  
    Status: Fixed
    Status: Fixed
  • Aug 28, 2009
    issue 51 (目前 createdColumn modifiedColumn 只支持 int的,建议添加对Datetime的支持) reported by gxd305   -   1. createdColumn 和 modifiedColumn 只能定义为int的 2. 而一般意义上,如果没有特别的要求,定义为datetime是比较合理的 3. 建议添加对于datetime的支持
    1. createdColumn 和 modifiedColumn 只能定义为int的 2. 而一般意义上,如果没有特别的要求,定义为datetime是比较合理的 3. 建议添加对于datetime的支持
  • Aug 28, 2009
    issue 50 (插入重复的记录,没有抛出异常) commented on by gxd305   -   看了下 pdo ext 的代码, 的却是这么实现的。 我使用的是 php-5.3.0 。 其中pdo在setFetchMode之后会 clear error code: pdo_stmt.c:2116 PDO_STMT_CLEAR_ERR(); php_pdo_int.h:67 #define PDO_STMT_CLEAR_ERR() strcpy(stmt->error_code, PDO_ERR_NONE
    看了下 pdo ext 的代码, 的却是这么实现的。 我使用的是 php-5.3.0 。 其中pdo在setFetchMode之后会 clear error code: pdo_stmt.c:2116 PDO_STMT_CLEAR_ERR(); php_pdo_int.h:67 #define PDO_STMT_CLEAR_ERR() strcpy(stmt->error_code, PDO_ERR_NONE
  • Aug 28, 2009
    issue 50 (插入重复的记录,没有抛出异常) Status changed by gxd305   -   fixed by removing setFetchMode and add it to fetchAll method: details: $this->_statement->execute((array) $bind); - $this->_statement->setFetchMode($this->_fetchMode); + //fix bug50 http://code.google.com/p/kiwiphp/issues/detail?id=50 + //$this->_statement->setFetchMode($this->_fetchMode); if ('00000' != $this->_statement->errorCode()) { if(function_exists('onDbQueryFailed')) @@ -321,7 +322,7 @@ } } $data['row_total'] = $this->_statement->rowCount(); - $data['rows'] = $this->_statement->fetchAll(); + $data['rows'] = $this->_statement->fetchAll($this->_fetchMode); $this->_statement->closeCursor();
    Status: Fixed
    fixed by removing setFetchMode and add it to fetchAll method: details: $this->_statement->execute((array) $bind); - $this->_statement->setFetchMode($this->_fetchMode); + //fix bug50 http://code.google.com/p/kiwiphp/issues/detail?id=50 + //$this->_statement->setFetchMode($this->_fetchMode); if ('00000' != $this->_statement->errorCode()) { if(function_exists('onDbQueryFailed')) @@ -321,7 +322,7 @@ } } $data['row_total'] = $this->_statement->rowCount(); - $data['rows'] = $this->_statement->fetchAll(); + $data['rows'] = $this->_statement->fetchAll($this->_fetchMode); $this->_statement->closeCursor();
    Status: Fixed
  • Aug 28, 2009
    r276 (fix r50) committed by gxd305   -   fix r50
    fix r50
  • Aug 28, 2009
    issue 50 (插入重复的记录,没有抛出异常) reported by gxd305   -   What steps will reproduce the problem? 1. 建立一个唯一索引 2. 插入重复的记录 3. 没有抛出异常 What is the expected output? What do you see instead? 抛出异常 Please use labels and text to provide additional information. 具体的代码位置: DbAdapter.php:310 在execute之后,setFetchMode怀疑将 errorcode重置,导致获取到的错误代码为00000 $this->_statement->execute((array) $bind); $this->_statement->setFetchMode($this->_fetchMode); 在 mysql-5.0.84-percona-highperf-b18-src.tar.gz 下测试如此。
    What steps will reproduce the problem? 1. 建立一个唯一索引 2. 插入重复的记录 3. 没有抛出异常 What is the expected output? What do you see instead? 抛出异常 Please use labels and text to provide additional information. 具体的代码位置: DbAdapter.php:310 在execute之后,setFetchMode怀疑将 errorcode重置,导致获取到的错误代码为00000 $this->_statement->execute((array) $bind); $this->_statement->setFetchMode($this->_fetchMode); 在 mysql-5.0.84-percona-highperf-b18-src.tar.gz 下测试如此。
  • Aug 26, 2009
    r275 (autoload代码重构,功能无变化) committed by TalkativeDoggy   -   autoload代码重构,功能无变化
    autoload代码重构,功能无变化
  • Aug 22, 2009
    r274 (fix the build.sh) committed by gxd305   -   fix the build.sh
    fix the build.sh
  • Aug 18, 2009
    r273 ([No log message]) committed by TalkativeDoggy   -   [No log message]
    [No log message]
  • Aug 18, 2009
    kiwiphp-0.2.1.zip (kiwiphp-0.2.1) file uploaded by TalkativeDoggy   -  
    Labels: Featured
    Labels: Featured
  • Aug 18, 2009
    r272 (merged from trunk/ r271) committed by TalkativeDoggy   -   merged from trunk/ r271
    merged from trunk/ r271
  • Aug 16, 2009
    r271 (pagination change, not completed) committed by TalkativeDoggy   -   pagination change, not completed
    pagination change, not completed
  • Aug 16, 2009
    r270 (删除private __constructor) committed by TalkativeDoggy   -   删除private __constructor
    删除private __constructor
  • Aug 15, 2009
    r269 (rename runtime/extension/ConfigExpression.php) committed by TalkativeDoggy   -   rename runtime/extension/ConfigExpression.php
    rename runtime/extension/ConfigExpression.php
  • Aug 15, 2009
    r268 (code formating) committed by TalkativeDoggy   -   code formating
    code formating
  • Aug 15, 2009
    r267 (kiwi.php初始化Config时,自动build db table fields) committed by TalkativeDoggy   -   kiwi.php初始化Config时,自动build db table fields
    kiwi.php初始化Config时,自动build db table fields
  • Aug 13, 2009
    r266 (allowed symbols support) committed by TalkativeDoggy   -   allowed symbols support
    allowed symbols support
  • Aug 13, 2009
    r265 (改正code generator的bug,杜绝相对路径) committed by TalkativeDoggy   -   改正code generator的bug,杜绝相对路径
    改正code generator的bug,杜绝相对路径
  • Aug 12, 2009
    kiwiphp-0.2.0.zip (kiwiphp-0.2.0 推荐下载) file uploaded by TalkativeDoggy   -  
    Labels: Featured
    Labels: Featured
  • Aug 12, 2009
    r264 ([No log message]) committed by TalkativeDoggy   -   [No log message]
    [No log message]
  • Aug 12, 2009
    r263 (release-0.2) committed by TalkativeDoggy   -   release-0.2
    release-0.2
  • Aug 11, 2009
    r262 (remove todo comment of Action) committed by TalkativeDoggy   -   remove todo comment of Action
    remove todo comment of Action
  • Aug 10, 2009
    r261 (delete lib/component) committed by TalkativeDoggy   -   delete lib/component
    delete lib/component
  • Aug 10, 2009
    r260 (更新example/using_view) committed by TalkativeDoggy   -   更新example/using_view
    更新example/using_view
  • Aug 10, 2009
    r259 (factory方法加static) committed by TalkativeDoggy   -   factory方法加static
    factory方法加static
  • Aug 10, 2009
    r258 (允许开发者自定义View) committed by TalkativeDoggy   -   允许开发者自定义View
    允许开发者自定义View
  • Aug 09, 2009
    r257 (view机制改为factory模式,但尚有一个问题:开发者不能继承kiwi已有的View) committed by TalkativeDoggy   -   view机制改为factory模式,但尚有一个问题:开发者不能继承kiwi已有的View
    view机制改为factory模式,但尚有一个问题:开发者不能继承kiwi已有的View
  • Aug 09, 2009
    r256 (move layout,template into view->htmlConfig) committed by TalkativeDoggy   -   move layout,template into view->htmlConfig
    move layout,template into view->htmlConfig
  • Aug 09, 2009
    r255 (responseType成为View类的属性,不再通过context传,合并Action和Component类的afte...) committed by TalkativeDoggy   -   responseType成为View类的属性,不再通过context传,合并Action和Component类的afterConstruct()
    responseType成为View类的属性,不再通过context传,合并Action和Component类的afterConstruct()
  • Aug 09, 2009
    r254 (Db::, Db:: back to Config::) committed by TalkativeDoggy   -   Db::, Db:: back to Config::
    Db::, Db:: back to Config::
  • Aug 09, 2009
    r253 (deploy tool and unittest wokr fine) committed by TalkativeDoggy   -   deploy tool and unittest wokr fine
    deploy tool and unittest wokr fine
  • Aug 08, 2009
    issue 49 (关于view->renderHtml的改进建议) reported by beie...@gmail.com   -   先include template再include layout;在layout里用echo $this->layout['content']载入视图渲染结果,可以实现在template里控制layout里 的输出结果,主要可以控制head区域 如: public function renderHtml() { if (is_file($this->context->view['template_dir'] . $this->context->view['template'] . '.php')) { ob_start(); include($this->context->view['template_dir'] . $this->context->view['template'] . '.php'); $this->_layout['content'] = ob_get_clean(); if (isset($this->context->view['layout']) && strlen($this->context->view['layout'])) { include($this->context->view['layout_dir'] . $this->context->view['layout'] . '.php'); } else { echo $this->_layout['content']; } } }
    先include template再include layout;在layout里用echo $this->layout['content']载入视图渲染结果,可以实现在template里控制layout里 的输出结果,主要可以控制head区域 如: public function renderHtml() { if (is_file($this->context->view['template_dir'] . $this->context->view['template'] . '.php')) { ob_start(); include($this->context->view['template_dir'] . $this->context->view['template'] . '.php'); $this->_layout['content'] = ob_get_clean(); if (isset($this->context->view['layout']) && strlen($this->context->view['layout'])) { include($this->context->view['layout_dir'] . $this->context->view['layout'] . '.php'); } else { echo $this->_layout['content']; } } }
  • Aug 07, 2009
    r252 (判断Action class是否存在时允许autoload) committed by TalkativeDoggy   -   判断Action class是否存在时允许autoload
    判断Action class是否存在时允许autoload
  • Aug 07, 2009
    r251 (支持用户Action中自定义ACL) committed by TalkativeDoggy   -   支持用户Action中自定义ACL
    支持用户Action中自定义ACL
  • Aug 07, 2009
    r250 (autoload方法移到Kiwi class中去) committed by TalkativeDoggy   -   autoload方法移到Kiwi class中去
    autoload方法移到Kiwi class中去
  • Aug 07, 2009
    r249 ([No log message]) committed by TalkativeDoggy   -   [No log message]
    [No log message]
  • Aug 06, 2009
    r248 (rbac测试通过) committed by TalkativeDoggy   -   rbac测试通过
    rbac测试通过
  • Aug 06, 2009
    r247 (acl重构,还没调好) committed by TalkativeDoggy   -   acl重构,还没调好
    acl重构,还没调好
 
Hosted by Google Code