1
0
mirror of synced 2024-12-16 08:06:02 +03:00
Commit Graph

7652 Commits

Author SHA1 Message Date
Guilherme Blanco
2372a85d9f Merge pull request #594 from v3labs/master
Use inflector in EntityGenerator
2013-02-28 16:02:20 -08:00
Vladislav Veselinov
30fd22a260 Use inflector for add/remove methods 2013-02-28 21:05:41 +02:00
Benjamin Eberlei
e5779a0756 Fix versionadded for IDENTITY() 2013-02-27 12:47:02 +01:00
Benjamin Eberlei
61e4413541 Update theme 2013-02-27 12:40:39 +01:00
Benjamin Eberlei
4f46a08d65 Dont mention 2.2 version in headers anymore. 2013-02-27 12:37:26 +01:00
Benjamin Eberlei
f001c31342 Add versionadded tags to many ffeatures in the docs. 2013-02-27 12:34:10 +01:00
Benjamin Eberlei
6b85d5b5ac Clarified versionadded on EntityListeners feature. 2013-02-27 12:19:08 +01:00
Guilherme Blanco
d5dd7d6f8a Merge pull request #589 from Ocramius/hotfix/DDC-2230
Hotfix for DDC-2230
2013-02-25 21:59:04 -08:00
Guilherme Blanco
32c220497c Merge pull request #585 from Ocramius/hotfix/DDC-2306
Hotfix/DDC-2306
2013-02-25 21:55:44 -08:00
Marco Pivetta
350fa4f15b Applying fix for failing test for DDC-2230 2013-02-23 01:45:40 +01:00
Marco Pivetta
be24439e2f Adding failing test for DDC-2230
Proxies that implement the Doctrine\Common\PropertyChangedListener are getting eagerly
initialized because the UnitOfWork injects itself into them after they are created.
The test currently fails for what described above, and also verifies if the UoW
is correctly injected in the proxy during lazy loading.
2013-02-23 01:44:58 +01:00
Guilherme Blanco
97ff197198 Merge pull request #587 from stof/patch-1
Fixed the license and the added version for NewObjectExpression
2013-02-22 09:10:36 -08:00
Christophe Coevoet
16b407f535 Fixed the license and the added version 2013-02-22 17:57:50 +01:00
Benjamin Eberlei
8cfbe0c032 Merge pull request #586 from jsjohns/patch-1
Fix EntityManager doc
2013-02-21 14:56:59 -08:00
Joshua Johnson
b55d78e119 Fix EntityManager doc 2013-02-21 17:27:55 -05:00
Benjamin Eberlei
04b216426a Merge branch 'DDC-2310' 2013-02-21 19:02:37 +01:00
Benjamin Eberlei
8fce78fbfb [DDC-2310] Fix regression introduced in SQL Server lock handling. 2013-02-21 19:02:21 +01:00
Marco Pivetta
a5ece5063a Fixing DDC-2306 2013-02-21 02:24:48 +01:00
Marco Pivetta
d8dd5129e7 Failing test for DDC-2306
As of DDC-1734, proxies should have null identifier when the UnitOFWork
refreshes entities and replaces them (marking them as un-managed).
The problem here is that refreshes on entities with same identifier
but different type are still considered same, and the UnitOfWork discards
the proxy instance instead of ignoring it.
2013-02-21 02:21:06 +01:00
Benjamin Eberlei
2980d76adb Merge pull request #581 from Ocramius/hotfix/submodules-removal
Removing submodules
2013-02-15 09:41:38 -08:00
Marco Pivetta
3f16ec0d22 Removing submodules as of doctrine/doctrine2#570 2013-02-15 18:33:29 +01:00
Benjamin Eberlei
805bb5ff9f Remove mentions of PEAR installation method, remove code. 2013-02-15 01:04:29 +01:00
Benjamin Eberlei
6b928600ba Add vendor to .gitignore, add composer.lock and some weird submodule change 2013-02-15 00:49:48 +01:00
Benjamin Eberlei
19da1933a6 Fix dropping the theme folder. 2013-02-15 00:34:48 +01:00
Benjamin Eberlei
afee16e56b Merge pull request #406 from Ocramius/DCOM-96
[DCOM-96] Moving proxy generation and autoloading to common
2013-02-14 02:04:32 -08:00
Marco Pivetta
a58d4ae462 Cleaning up logic of the proxy factory by moving closure generation to own private methods 2013-02-14 10:52:13 +01:00
Marco Pivetta
271f5cf033 Adding fix and tests for DDC-1734 2013-02-14 09:57:12 +01:00
Marco Pivetta
8272ffd23f Proxy generation as of doctrine/common#168 - DCOM-96 2013-02-14 09:57:12 +01:00
Benjamin Eberlei
35fda90473 Merge pull request #570 from Ocramius/cleanup/submodules-removal
Deprecation of PEAR/GIT/TAR autoloading
2013-02-14 00:55:08 -08:00
Benjamin Eberlei
ce594fb152 [DDC-2256] Cleanup patch, move dependency on EntityManager out of ResultSetMapping and let AbstractQuery perform the translation. 2013-02-13 09:05:35 +01:00
Benjamin Eberlei
3d9cb9460a Fix test failing when memcache extension is installed, but memcache server isnt. 2013-02-13 08:46:37 +01:00
Fabio B. Silva
719031f2ef Merge pull request #569 from Ocramius/hotfix/pre-flush-event-args-params
Hotfix/pre flush event args params
2013-02-12 15:39:40 -08:00
Guilherme Blanco
39374b7235 Merge pull request #578 from BenMorel/docfix
Fix for wrong return types in documentation.
2013-02-12 09:05:13 -08:00
Benjamin Morel
cba1c8295c Fixed wrong return types in documentation. 2013-02-12 11:49:44 +00:00
Benjamin Eberlei
d08c010ae1 Merge pull request #576 from acasademont/patch-1
Update docs/en/reference/batch-processing.rst
2013-02-11 07:50:57 -08:00
Benjamin Eberlei
e86419cfa5 Merge pull request #575 from naitsirch/master
Added YAML configuration example for "Simple Derived Identity" in Docs
2013-02-11 07:50:08 -08:00
Alexander
14bc7f75be Add php 5.5 to the build matrix (travis) 2013-02-09 22:44:14 +01:00
Alexander
1a163cd48d [DDC-2019] Add support for expression in QueryBuilder#addOrderBy() 2013-02-09 22:40:34 +01:00
Alexander
9bf501dd25 Revert "allowed to pass filter objects to the configurator"
This reverts commit a9b4debe37. See the
discussion on the original PR:

https://github.com/doctrine/doctrine2/pull/434

Conflicts:
	lib/Doctrine/ORM/Configuration.php
2013-02-09 20:28:52 +01:00
Albert Casademont
4c90d0cedc Update docs/en/reference/batch-processing.rst
If you have only $batchSize - 1 rows (amongst other cases), the entities are never flushed, you need a final flush outside the loop.

In the bulk insert you should also need a final flush if the number of entities inserted is not a multiple of the $batchSize.
2013-02-08 16:32:03 +01:00
Christian Stoller
07616094d2 Added YAML configuration example for "Simple Derived Identity" in "Composite and Foreign Keys as Primary Key" Tutorial 2013-02-08 11:21:21 +01:00
Guilherme Blanco
3b0a242ab3 Merge pull request #573 from EvanK/patch-1
[Documentation] Noted prePersist event only triggers on first persist
2013-02-07 18:27:05 -08:00
Evan Kaufman
e2ac064914 Noted prePersist event only triggers on first persist
While probably obvious to a core doctrine developer, a user of doctrine would not necessarily know this without doing some digging
2013-02-07 12:59:14 -06:00
Marco Pivetta
673323fc67 Adding warnings about deprecation of GIT, TAR and PEAR autoloading 2013-02-04 23:30:02 +01:00
Marco Pivetta
a928ce48da Using composer autoloader for the test suite 2013-02-04 21:30:02 +01:00
Marco Pivetta
f281dbbf54 Fixing incorrect constructor params for PreFlushEventArgs 2013-02-04 20:46:51 +01:00
Marco Pivetta
3ebed101fd Strong typehinting to avoid incorrect constructor params 2013-02-04 20:45:58 +01:00
Guilherme Blanco
f0674ea034 Merge pull request #564 from BenMorel/f834c37f8a465ca3e23ee9ae62ef0bc4a525454c
Fix a wrong return type
2013-02-02 20:06:44 -08:00
Guilherme Blanco
114827a4b3 Merge pull request #565 from BenMorel/unusedvar
Removed an unused local variable.
2013-02-02 20:05:42 -08:00
Guilherme Blanco
d3cbdfcafa Merge pull request #566 from BenMorel/toolreturntype
Added missing return statement to AbstractCommand.
2013-02-02 20:04:30 -08:00