Skip to content

Commit

Permalink
0.4.5: Removed dev folder; Reverted unit tests to 0.4.2 to have isola…
Browse files Browse the repository at this point in the history
…tion of versions

	modified:   .gitignore
	modified:   .travis.yml
	modified:   CHANGELOG
	modified:   README.md
	deleted:    dev/acl.c
	deleted:    dev/acl/adapter/memory.c
	deleted:    dev/acl/exception.c
	deleted:    dev/acl/resource.c
	deleted:    dev/acl/role.c
	deleted:    dev/cache/backend.c
	deleted:    dev/cache/backend/apc.c
	deleted:    dev/cache/backend/file.c
	deleted:    dev/cache/backend/memcache.c
	deleted:    dev/cache/exception.c
	deleted:    dev/cache/frontend/data.c
	deleted:    dev/cache/frontend/none.c
	deleted:    dev/cache/frontend/output.c
	deleted:    dev/cli/console.c
	deleted:    dev/cli/dispatcher.c
	deleted:    dev/cli/router.c
	deleted:    dev/cli/task.c
	deleted:    dev/config.c
	deleted:    dev/config.m4
	deleted:    dev/config.w32
	deleted:    dev/config/adapter/ini.c
	deleted:    dev/config/exception.c
	deleted:    dev/db.c
	deleted:    dev/db/adapter/pdo.c
	deleted:    dev/db/adapter/pdo.h
	deleted:    dev/db/adapter/pdo/mysql.c
	deleted:    dev/db/adapter/pdo/postgresql.c
	deleted:    dev/db/adapter/pdo/sqlite.c
	deleted:    dev/db/column.c
	deleted:    dev/db/dialect.c
	deleted:    dev/db/dialect/mysql.c
	deleted:    dev/db/dialect/postgresql.c
	deleted:    dev/db/dialect/sqlite.c
	deleted:    dev/db/exception.c
	deleted:    dev/db/index.c
	deleted:    dev/db/profiler.c
	deleted:    dev/db/profiler/item.c
	deleted:    dev/db/rawvalue.c
	deleted:    dev/db/reference.c
	deleted:    dev/db/result/mysql.c
	deleted:    dev/db/result/pdo.c
	deleted:    dev/db/result/postgresql.c
	deleted:    dev/di.c
	deleted:    dev/di/exception.c
	deleted:    dev/di/factorydefault.c
	deleted:    dev/events/event.c
	deleted:    dev/events/exception.c
	deleted:    dev/events/manager.c
	deleted:    dev/exception.c
	deleted:    dev/filter.c
	deleted:    dev/filter/exception.c
	deleted:    dev/flash.c
	deleted:    dev/flash/exception.c
	deleted:    dev/flash/session.c
	deleted:    dev/http/request.c
	deleted:    dev/http/request/exception.c
	deleted:    dev/http/request/file.c
	deleted:    dev/http/response.c
	deleted:    dev/http/response/exception.c
	deleted:    dev/http/response/headers.c
	deleted:    dev/internal/test.c
	deleted:    dev/internal/testdummy.c
	deleted:    dev/internal/testparent.c
	deleted:    dev/internal/testtemp.c
	deleted:    dev/kernel/array.c
	deleted:    dev/kernel/array.h
	deleted:    dev/kernel/assert.c
	deleted:    dev/kernel/assert.h
	deleted:    dev/kernel/concat.c
	deleted:    dev/kernel/concat.h
	deleted:    dev/kernel/debug.c
	deleted:    dev/kernel/debug.h
	deleted:    dev/kernel/exception.c
	deleted:    dev/kernel/exception.h
	deleted:    dev/kernel/fcall.c
	deleted:    dev/kernel/fcall.h
	deleted:    dev/kernel/main.c
	deleted:    dev/kernel/main.h
	deleted:    dev/kernel/memory.c
	deleted:    dev/kernel/memory.h
	deleted:    dev/kernel/object.c
	deleted:    dev/kernel/object.h
	deleted:    dev/kernel/operators.c
	deleted:    dev/kernel/operators.h
	deleted:    dev/kernel/output.c
	deleted:    dev/kernel/output.h
	deleted:    dev/kernel/require.c
	deleted:    dev/loader.c
	deleted:    dev/loader/exception.c
	deleted:    dev/logger.c
	deleted:    dev/logger/adapter/file.c
	deleted:    dev/logger/exception.c
	deleted:    dev/logger/item.c
	deleted:    dev/mvc/application.c
	deleted:    dev/mvc/application/exception.c
	deleted:    dev/mvc/controller.c
	deleted:    dev/mvc/controller/front.c
	deleted:    dev/mvc/dispatcher.c
	deleted:    dev/mvc/dispatcher/exception.c
	deleted:    dev/mvc/micro.c
	deleted:    dev/mvc/micro/exception.c
	deleted:    dev/mvc/model.c
	deleted:    dev/mvc/model/criteria.c
	deleted:    dev/mvc/model/exception.c
	deleted:    dev/mvc/model/manager.c
	deleted:    dev/mvc/model/message.c
	deleted:    dev/mvc/model/metadata.c
	deleted:    dev/mvc/model/metadata/apc.c
	deleted:    dev/mvc/model/metadata/memory.c
	deleted:    dev/mvc/model/metadata/session.c
	deleted:    dev/mvc/model/query.c
	deleted:    dev/mvc/model/query/base.c
	deleted:    dev/mvc/model/query/lang.c
	deleted:    dev/mvc/model/query/lang.h
	deleted:    dev/mvc/model/query/lemon.c
	deleted:    dev/mvc/model/query/lempar.c
	deleted:    dev/mvc/model/query/parser.c
	deleted:    dev/mvc/model/query/parser.h
	deleted:    dev/mvc/model/query/scanner.c
	deleted:    dev/mvc/model/query/scanner.h
	deleted:    dev/mvc/model/query/status.c
	deleted:    dev/mvc/model/resultset.c
	deleted:    dev/mvc/model/resultset/complex.c
	deleted:    dev/mvc/model/resultset/simple.c
	deleted:    dev/mvc/model/row.c
	deleted:    dev/mvc/model/transaction.c
	deleted:    dev/mvc/model/transaction/exception.c
	deleted:    dev/mvc/model/transaction/failed.c
	deleted:    dev/mvc/model/transaction/manager.c
	deleted:    dev/mvc/model/validator.c
	deleted:    dev/mvc/model/validator/email.c
	deleted:    dev/mvc/model/validator/exclusionin.c
	deleted:    dev/mvc/model/validator/inclusionin.c
	deleted:    dev/mvc/model/validator/numericality.c
	deleted:    dev/mvc/model/validator/regex.c
	deleted:    dev/mvc/model/validator/uniqueness.c
	deleted:    dev/mvc/router.c
	deleted:    dev/mvc/router/exception.c
	deleted:    dev/mvc/router/route.c
	deleted:    dev/mvc/url.c
	deleted:    dev/mvc/url/exception.c
	deleted:    dev/mvc/user.c
	deleted:    dev/mvc/user/component.c
	deleted:    dev/mvc/user/plugin.c
	deleted:    dev/mvc/view.c
	deleted:    dev/mvc/view/engine.c
	deleted:    dev/mvc/view/engine/php.c
	deleted:    dev/mvc/view/exception.c
	deleted:    dev/paginator/adapter/model.c
	deleted:    dev/paginator/adapter/nativearray.c
	deleted:    dev/paginator/exception.c
	deleted:    dev/phalcon.c
	deleted:    dev/phalcon.h
	deleted:    dev/php_phalcon.h
	deleted:    dev/session.c
	deleted:    dev/session/adapter/files.c
	deleted:    dev/session/bag.c
	deleted:    dev/tag.c
	deleted:    dev/tag/exception.c
	deleted:    dev/tag/select.c
	deleted:    dev/text.c
	deleted:    dev/translate.c
	deleted:    dev/translate/adapter/nativearray.c
	deleted:    dev/translate/exception.c
	deleted:    dev/version.c
	modified:   unit-tests/AclTest.php
	renamed:    dev/flash/direct.c -> unit-tests/CacheResultsetTest.php
	modified:   unit-tests/CacheTest.php
	deleted:    unit-tests/CliTest.php
	modified:   unit-tests/ConfigTest.php
	modified:   unit-tests/ControllerFrontTest.php
	modified:   unit-tests/ControllersTest.php
	modified:   unit-tests/DbBindTest.php
	modified:   unit-tests/DbDescribeTest.php
	modified:   unit-tests/DbDialectTest.php
	modified:   unit-tests/DbLoggerTest.php
	renamed:    unit-tests/MicroMvcTest.php -> unit-tests/DbPoolTest.php
	modified:   unit-tests/DbProfilerTest.php
	modified:   unit-tests/DbTest.php
	deleted:    unit-tests/DiTest.php
	modified:   unit-tests/DispatcherTest.php
	deleted:    unit-tests/EventsTest.php
	modified:   unit-tests/FilterTest.php
	modified:   unit-tests/FlashTest.php
	modified:   unit-tests/InitTest.php
	modified:   unit-tests/LoaderTest.php
	modified:   unit-tests/LoggerTest.php
	modified:   unit-tests/ModelsCalculationsTest.php
	modified:   unit-tests/ModelsForeignKeysTest.php
	renamed:    dev/test.c -> unit-tests/ModelsManagerTest.php
	modified:   unit-tests/ModelsMetadataAdaptersTest.php
	modified:   unit-tests/ModelsMetadataTest.php
	deleted:    unit-tests/ModelsQueryExecuteTest.php
	deleted:    unit-tests/ModelsQueryParsingTest.php
	new file:   unit-tests/ModelsQueryTest.php
	modified:   unit-tests/ModelsRelationsTest.php
	modified:   unit-tests/ModelsResultsetCacheTest.php
	modified:   unit-tests/ModelsResultsetTest.php
	modified:   unit-tests/ModelsTest.php
	modified:   unit-tests/ModelsValidatorsTest.php
	modified:   unit-tests/PaginatorTest.php
	modified:   unit-tests/RequestTest.php
	deleted:    unit-tests/ResponseTest.php
	renamed:    unit-tests/RouterTest.php -> unit-tests/RouterRegexTest.php
	new file:   unit-tests/RouterRewriteTest.php
	modified:   unit-tests/SessionTest.php
	modified:   unit-tests/TagTest.php
	modified:   unit-tests/TextTest.php
	renamed:    unit-tests/ModelsTransactionsTest.php -> unit-tests/TransactionsTest.php
	modified:   unit-tests/TranslateTest.php
	deleted:    unit-tests/UrlTest.php
	renamed:    dev/kernel/require.h -> unit-tests/UtilsTest.php
	deleted:    unit-tests/VersionTest.php
	modified:   unit-tests/ViewCacheTest.php
	modified:   unit-tests/ViewEnginesTest.php
	modified:   unit-tests/ViewTest.php
	modified:   unit-tests/acl/acl.data
	deleted:    unit-tests/cache/testresultset
	modified:   unit-tests/ci/run_script.sh
	modified:   unit-tests/config.db.php
	modified:   unit-tests/controllers/Test1Controller.php
	modified:   unit-tests/controllers/Test2Controller.php
	modified:   unit-tests/controllers/Test3Controller.php
	modified:   unit-tests/controllers/Test4Controller.php
	modified:   unit-tests/controllers/Test5Controller.php
	modified:   unit-tests/controllers/Test6Controller.php
	modified:   unit-tests/logs/test-db.log
	modified:   unit-tests/logs/test.log
	deleted:    unit-tests/manual-phpunit.php
	modified:   unit-tests/manual-unit.php
	modified:   unit-tests/models/Parts.php
	modified:   unit-tests/models/People.php
	modified:   unit-tests/models/Personas.php
	modified:   unit-tests/models/Personnes.php
	deleted:    unit-tests/models/Products.php
	modified:   unit-tests/models/Prueba.php
	modified:   unit-tests/models/Robots.php
	modified:   unit-tests/models/RobotsParts.php
	deleted:    unit-tests/models/Some/Products.php
	modified:   unit-tests/models/Subscriptores.php
	modified:   unit-tests/phpunit.xml
	modified:   unit-tests/schemas/postgresql/phalcon_test.sql
	deleted:    unit-tests/schemas/sqlite/phalcon_test.sql
	deleted:    unit-tests/tasks/EchoTask.php
	deleted:    unit-tests/tasks/MainTask.php
	modified:   unit-tests/views/layouts/test4.mhtml
	modified:   unit-tests/views/test5/index.phtml
	modified:   win32/README.md
	modified:   win32/cphalcon.vcproj
	deleted:    win32/scripts/create_release_src_files.bat
	deleted:    win32/scripts/create_release_src_files.js
	modified:   win32/scripts/update-project.js
  • Loading branch information
niden committed Sep 8, 2012
1 parent ddcf32d commit fead510
Show file tree
Hide file tree
Showing 257 changed files with 4,390 additions and 85,318 deletions.
29 changes: 0 additions & 29 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,33 +1,4 @@

unit-tests/engines/*
unit-tests/cache/*
release/.deps
release/.libs/
release/Makefile
release/Makefile.fragments
release/Makefile.global
release/Makefile.objects
release/acinclude.m4
release/aclocal.m4
release/build/
release/config.cache
release/config.guess
release/config.h
release/config.h.in
release/config.log
release/config.nice
release/config.status
release/config.sub
release/configure
release/configure.in
release/install
release/install-sh
release/libtool
release/ltmain.sh
release/missing
release/mkinstalldirs
release/modules/
release/phalcon.la
release/phalcon.lo
release/run-tests.php
.idea
6 changes: 1 addition & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,9 @@ language: php

php:
- 5.3
- 5.3.3

before_install:
- sudo apt-get install gdb
- sudo apt-get install memcached
- sudo apt-get install sqlite3
- wget http://pecl.php.net/get/memcache-2.2.6.tgz
- tar -xzf memcache-2.2.6.tgz
- sh -c "cd memcache-2.2.6 && phpize && ./configure --enable-memcache && make && sudo make install"
Expand All @@ -24,7 +21,7 @@ before_script:
- git clone https://github.com/bobthecow/mustache.php.git
- git clone git://github.com/fabpot/Twig.git
- cd ../..
- cd dev/
- cd release/
- export CFLAGS="-g -O2 -fno-delete-null-pointer-checks"
- sh -c "phpize && ./configure --enable-phalcon && make && sudo make install"
- echo "extension=phalcon.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"`
Expand All @@ -33,7 +30,6 @@ before_script:
- mysql -uroot phalcon_test < unit-tests/schemas/mysql/phalcon_test.sql
- psql -c 'create database phalcon_test;' -U postgres
- psql -U postgres phalcon_test -q -f unit-tests/schemas/postgresql/phalcon_test.sql
- sqlite3 /tmp/phalcon_test.sqlite < unit-tests/schemas/sqlite/phalcon_test.sql
- chmod +x unit-tests/ci/run_script.sh

script: sudo ./unit-tests/ci/run_script.sh
Expand Down
42 changes: 0 additions & 42 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,45 +1,3 @@
0.5.0a4
- Removed support for Twig and Mustache
- Added PhalconQL (PHQL), a high level query language directly engaged with the Phalcon\Mvc\Model component
- Multiples refactorizations removing unused code
- Added support to match routes on a determined individual or set of HTTP methods
- Added support for named parameters without requiring a regular expression in Phalcon\Mvc\Router
- Added Phalcon\Mvc\Router\Route to encapsulate the information of a route
- Added Phalcon\Mvc\Micro to create applications in a micro-framework style
- Added Phalcon\Di\FactoryDefault that has the Phalcon Components registered as Default

0.5.0a3
- Added Phalcon\DI as dependency injector container
- Added Phalcon\Events as events management component
- Removed Phalcon\Router\Rewrite
- Phalcon\Router\Regex moved to Phalcon\Mvc\Router
- Phalcon\Dispatcher moved to Phalcon\Mvc\Dispatcher
- Phalcon\Mvc\Dispatcher::forward now only accepts an array parameter
- Dispatcher events has been removed (beforeDispatch and afterDispatch) in favor of the new EventsManager component
- Controller look up based on controllersDir has been removed in favor of autoloaders
- Phalcon\Controller moved to Phalcon\Mvc\Controller
- Phalcon\Model moved to Phalcon\Mvc\Model
- Phalcon\Transaction moved to Phalcon\Mvc\Model\Transaction
- Removed Phalcon\Db\Pool
- ModelsManager look up based on modelsDir has been removed in favor of autoloaders
- Phalcon\Db\Pdo::describeColumns return an array of Phalcon\Db\Columns
- Removed Phalcon\Controller\Front
- Most "Factories" and "Singletons" implementations were removed
- Phalcon\Mvc\Model\Metadata adapters must be instantiated directly

0.5.0a2
- Removed memory leaks when reading class constants
- Replaced the database native adapters by PDO

0.5.0a1
- Classes are now registered as PHP namespaces.
- Improved stability running Phalcon with PHP versions lower or equal than 5.3.3
- Thousand of unnecesary intermediate variables were removed improving stability
- Phalcon now performs a reduced number of copy-on-write checks
- Added class modifiers like Abstract or Final to Phalcon classes
- Fixed memory leaks generated when throwing internal exceptions
- Removed deprecated experimental function and method calls

0.4.4
- Fixed problem with Phalcon_Session functions not registered

Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
Phalcon PHP Framework
=====================

Phalcon PHP is a web framework delivered as a C extension providing high performance and lower resource consumption.
Phalcon PHP is a web framework delivered as a C extension providing high performance and lower resource consumption

Get Started
-----------

Phalcon PHP is written in C with platform independence in mind. As a result, Phalcon PHP is available on Microsoft Windows, GNU/Linux, Mac OS X, You can either download a binary package for the system of your choice or build it from sources.
### Windows

For use phalcon on windows you only should to download a DLL library (http://phalconphp.com/download). Edit your php.ini file and then add:
For use phalcon on windows you only should to download a DLL library (http://phalconphp.com/downloads). Edit your php.ini file and then add:

extension=php_phalcon.dll

Expand All @@ -27,7 +27,7 @@ We need some packages previously installed.

Ubuntu:

sudo apt-get install php5-devel php5-mysql gcc make
sudo apt-get install php5-dev php5-mysql gcc make

Suse:

Expand All @@ -36,10 +36,10 @@ Suse:
Compilation
-----------

Follow these instructions to generate a binary extension for your platform:
Follow this instructions to generate a binrary extension for your platform:

# git clone git://github.com/phalcon/cphalcon.git
# cd cphalcon/release
# cd cphalcon/target/release
# export CFLAGS="-O2 -fno-delete-null-pointer-checks"
# phpize
# ./configure --enable-phalcon
Expand Down
117 changes: 0 additions & 117 deletions dev/acl.c

This file was deleted.

Loading

0 comments on commit fead510

Please sign in to comment.