guilhermeblanco
2739ed843b
Removed support to imbricated query added yesterday (which fixed ticket #782 ). The same thing could be easily achieved without need of Doctrine support, as mentioned in comments. Dev team decided to drop this support for now, but are considering for 1.0
2008-02-28 01:40:49 +00:00
guilhermeblanco
331548caa9
Added imbricated query support in whereIn method ( fixes #782 )
2008-02-27 03:54:17 +00:00
guilhermeblanco
139febaed6
Adjusted quoteIdentifier in update and delete when executing a SQL query (also fixes #807 )
2008-02-27 02:17:42 +00:00
guilhermeblanco
9ee6158ffc
Added float8 support in pgsql. Fixes #808
2008-02-27 01:39:51 +00:00
romanb
85cb20f6dd
made sure every caller of getIdentifier can handle an array. getIdentifier now always returns an array.
2008-02-24 20:31:49 +00:00
romanb
edcc8be207
some smaller refactorings. started to replace the term 'template' with 'behavior'.
2008-02-24 16:54:02 +00:00
romanb
c1c3f48960
validator refactorings and others
2008-02-23 22:04:39 +00:00
jwage
514e17ea70
Changed all references from phpdoctrine.com to phpdoctrine.org
2008-02-22 18:11:35 +00:00
guilhermeblanco
d674b8ead7
Added Doctrine_Pager_Range::isInRange, which checks if a given page is in the range
2008-02-21 16:06:46 +00:00
guilhermeblanco
499eaf6cb2
Merged r3868 in 0.10 and trunk
2008-02-21 15:18:30 +00:00
guilhermeblanco
ec0ebeb195
Updated manual pages and changed documentation naming convention (from process to parse) to follow the API
2008-02-21 14:54:55 +00:00
guilhermeblanco
6ea8a47773
Split of methods in _parseTemplate in 0.10 and trunk
2008-02-21 14:12:01 +00:00
guilhermeblanco
1ab785ac44
Updated pagination chapter in manual (0.10 and trunk). Merged r3870 in trunk
2008-02-21 04:33:03 +00:00
guilhermeblanco
85e26cfd7b
Fixed method getNextPage that was always returning the last page in all branches
2008-02-21 04:15:13 +00:00
adamthehutt
6ed10e06ed
Added readonly validator
2008-02-21 02:28:30 +00:00
romanb
eb02b4d002
started refactoring to final mapper structure for 1.0. different mapping strategies are factored out as separate strategy classes instead of inheritance.
2008-02-20 20:54:20 +00:00
jwage
dcc2a54e63
Reversed r3840. Broke tests.
2008-02-19 20:12:46 +00:00
jwage
d5b8a6a70b
Merged r3839 from 0.10
2008-02-19 19:51:08 +00:00
guilhermeblanco
ebdb97b969
Second parameter support in Doctrine_Pager::setCountQuery and added new method: Doctrine_Pager::getResultsInPage(), which returns the numbers of itens in current page
2008-02-19 02:37:09 +00:00
jwage
57df018c27
Merged r3834 to 0.9 and trunk. Fixed conservative model loading to actually be conservative.
2008-02-19 00:24:32 +00:00
jwage
a8c5542f8f
Merged r3830 to trunk and 0.9 branch. Bug was originally fixed in the 0.10 branch first
2008-02-17 22:52:37 +00:00
gnat
d0ee6cd14a
pre/post Up/Down methods
2008-02-17 04:53:51 +00:00
jwage
589e231494
Merged r3815 to trunk
2008-02-17 04:02:27 +00:00
romanb
e354e527d5
small refactorings
2008-02-16 19:37:51 +00:00
romanb
be5aac16fd
small refactorings
2008-02-16 19:10:16 +00:00
jwage
bea3a7c50d
Minor changes backported from 0.9 and 0.10
2008-02-15 18:42:06 +00:00
adrive
23ab5b902d
Merged 3786 (removed is_numeric check from convert boolean method, when array is passed as parameter)
2008-02-15 16:59:44 +00:00
guilhermeblanco
7fe74767d7
Small fix convertion of enum ( fixes #788 )
2008-02-15 16:57:46 +00:00
guilhermeblanco
09243b2416
Added NOT operator recognition in DQL ( fixes #496 )
2008-02-15 15:07:47 +00:00
guilhermeblanco
a3348ddaa9
Applied patch provided by ticket #788 in 0.9, 0.10 and trunk
2008-02-15 14:49:21 +00:00
meus
f5b0b6bfec
added tests for Collection. also fixed a bug with serialization in collections. added copyright header to the two new testfiles
2008-02-15 00:57:34 +00:00
romanb
081ef099d4
refactoring
2008-02-14 22:41:06 +00:00
meus
b040bbe35d
Added tests for Doctrine_Access. It uses annotations for exceptions and to mark functions as tests. Also changed some logic in access and implementing classes to make the abstraction a little bit more solid
2008-02-14 20:20:35 +00:00
guilhermeblanco
9929d5574d
Merged changeset r3758 into 0.10 and trunk (gnat missed to do it)
2008-02-14 15:56:45 +00:00
adrive
05acd91da8
Merge r3769 (fixed problem with convertBoolean in Pgsql)
2008-02-14 13:27:48 +00:00
romanb
c3f23f84e3
relaxed a comparison in the hydrator. caused buggy behavior.
2008-02-13 15:27:49 +00:00
romanb
b6a6866b9c
refactorings
2008-02-13 10:53:07 +00:00
guilhermeblanco
72316541c4
Merged r3561 into 0.10
2008-02-13 04:13:55 +00:00
guilhermeblanco
6fda95bfa7
Merged r3686 into 0.10 branch and trunk
2008-02-13 02:56:42 +00:00
romanb
eb99219068
refactorings
2008-02-12 12:31:28 +00:00
romanb
f1651489c2
more experiments with the new testsuite.
2008-02-11 22:33:47 +00:00
romanb
ade4cd2af1
cosmetics
2008-02-11 17:08:22 +00:00
pookey
04276090b5
fixes #732 - yes, it's a nasty hack, but we have a new parser on the way
2008-02-10 14:49:22 +00:00
romanb
0061bc827b
new test setup refactorings
2008-02-10 14:32:05 +00:00
romanb
ec404b46c7
merged 3708 ( Fixed #776 ) from 0.10 branch to trunk.
2008-02-07 22:27:29 +00:00
romanb
dad3137528
cleanups
2008-02-07 22:21:18 +00:00
romanb
0892647f7a
Joined strategy bugfix and cosmetics.
2008-02-07 10:40:27 +00:00
romanb
56407f785a
Merged r3518:r3700 from branch to trunk. Branch to be deleted, soon. Development continues in trunk.
2008-02-03 21:29:57 +00:00
RQuadling
e381fdde41
Ticket: 766,767
2008-02-01 16:15:34 +00:00
lsmith
fcfff27a76
- fixes #519 and #761 (patch provided by RQuadling)
2008-01-30 23:03:56 +00:00
lsmith
a2d69c5d8e
- no longer (never?) needed
2008-01-30 23:00:46 +00:00
guilhermeblanco
e1580c4095
Merged changeset #3588 into 0.9 and 0.10 branches. Fixed ws in trunk
2008-01-30 00:32:36 +00:00
guilhermeblanco
6b484334a4
Merged changeset #3621 into 0.9 and 0.10 branches. Fixed ws in trunk
2008-01-29 23:19:20 +00:00
lsmith
2d24e9add0
- lazy load the _tableFactory and record listener in order to reduce the dependencies for a to be created DBAL package
2008-01-29 09:59:37 +00:00
lsmith
3a5bd47fc1
- ws fixes
2008-01-28 13:05:11 +00:00
lsmith
e2d8a91653
- fixed class name in comments
2008-01-27 18:53:36 +00:00
pookey
ebbfcf4cad
a previous commit of mine broke method chaining
2008-01-27 15:02:45 +00:00
pookey
f7d691a0aa
fix to whereIn to prevent invalid SQL being generated when no params are passed
2008-01-26 21:20:24 +00:00
pookey
7b453f1ab1
improved exception message
2008-01-25 23:13:04 +00:00
jwage
a6b194b928
Work on migrations diff and fixes.
2008-01-25 03:18:51 +00:00
jwage
ddefc7f96d
Fixes to sandbox and added printing of params to output of dql task.
2008-01-25 02:53:24 +00:00
jwage
eb04f52cd0
Added params argument to allow you to use tokens
2008-01-23 23:27:02 +00:00
jwage
8cc89beb41
Moved Doctrine_Migration_Builder and Doctrine_Import_Builder to Doctrine_Builder_Migration and Doctrine_Builder_Record. Updated code to work with new class names.
2008-01-23 16:47:58 +00:00
guilhermeblanco
c5e60f3e5c
Adjusted ownsOne and ownsMany methods errors to be better descriptives
2008-01-23 15:21:28 +00:00
jwage
5eecd9696e
fixes #644
2008-01-23 08:25:41 +00:00
jwage
52169a4197
fixes #648
2008-01-23 08:22:42 +00:00
jwage
7a2fec88ed
Formatting fixes.
2008-01-23 08:20:38 +00:00
jwage
02c57f5977
fixes #688
2008-01-23 08:04:54 +00:00
jwage
1f18a99fd1
fixes #659
2008-01-23 07:28:04 +00:00
jwage
3018a9e977
fixes #692
2008-01-23 03:40:13 +00:00
baron314159
e44bdb8e81
fixes #689 , which details problems with the handling of MySQL native enum columns and model class generation.
2008-01-23 02:18:36 +00:00
jwage
aa1592c002
Fixed incorrect function call.
2008-01-23 01:00:45 +00:00
jwage
9ee248bfe7
Undid change to reset(), it broke the tests.
2008-01-23 00:59:30 +00:00
jwage
c8c859baec
fixes #696 function was named synchronizeWithArray but i renamed it to synchronizeFromArray because it makes more sense because all the other mades user the term "from"
2008-01-23 00:54:58 +00:00
jwage
64ead091aa
Formatting fixes.
2008-01-23 00:43:03 +00:00
jwage
ee3bf044a6
fixes #674
2008-01-23 00:39:37 +00:00
jwage
99d309feed
fixes #699
2008-01-23 00:06:27 +00:00
jwage
3e1014af17
fixes #729
2008-01-23 00:04:14 +00:00
jwage
4e522ebf6b
fixes #717
2008-01-22 23:50:32 +00:00
jwage
3a0f99f637
fixes #701
2008-01-22 23:12:29 +00:00
jwage
767172a60d
fixes #721
2008-01-22 23:10:21 +00:00
jwage
d47f4ddab4
Changed all references to http://www.phpdoctrine.com/net to http://www.phpdoctrine.org
2008-01-22 22:52:53 +00:00
jwage
24e264ac99
Fixed compiler task and made Compiler return the path compiled file was written to.
2008-01-22 22:08:08 +00:00
jwage
d5c91081e0
-
2008-01-22 21:58:03 +00:00
jwage
689a4c6f45
Connection refactoring to allow create/drop database functionality for sqlite. fixes #480
2008-01-22 21:42:17 +00:00
jwage
733eecbbc9
Added contains() method which was introduced in the 0.9 branch.
2008-01-22 17:00:48 +00:00
dbrewer
4b95d0504c
Merged r3550 from 0.9 branch to trunk.
2008-01-19 02:35:39 +00:00
guilhermeblanco
ef4798921b
Removed initial definition of setSelectedTemplate in Doctrine_Pager_layout in all branches. If no selected template is defined, the default assigned template is used. This prevent possible issue where the user defines default but not selected template (will use the defined one in class, what is wrong)
2008-01-17 20:17:44 +00:00
pookey
85846c39bd
setting default templatse for the payer layout
2008-01-17 16:00:52 +00:00
guilhermeblanco
99d026b894
Fixed _adjustOffset in order to get it working after previous change in Pager
2008-01-17 15:33:08 +00:00
guilhermeblanco
78edfd59a6
Fixed wrong call to _setExecuted in Pager
2008-01-17 15:01:07 +00:00
guilhermeblanco
e5f2aa5208
Added different counter query support for Doctrine_Pager. Now it can use 2 different queries to paginate items. Added 4 new methods: setCountQuery, getCountQuery, setCountQueryParams and getCountQueryParams. If not defined a counter Doctrine_Query, the collector one is used. If no params were defined to be used in counter query, the ones passed by execute method are used
2008-01-17 14:37:11 +00:00
guilhermeblanco
af32f80176
Added a fix in toArray method to prevent mapped Doctrine_Record values to be displayed fully
2008-01-17 13:26:31 +00:00
pookey
dca3c3b701
making a comment a little clearer
2008-01-16 23:42:54 +00:00
guilhermeblanco
b68eba074b
Fixed count bug in Doctrine_Pager that was wrong counting the total of results found. Added 3 new methods: Doctrine_Pager::getExecuted (checks if the Pager was already executed), Doctrine_Pager_Layout::execute (handy access to execute Pager query without having to access Doctrine_Pager instance) and Doctrine_Pager_Layout::processPage (processes the template of a given page and returns the parsed string)
2008-01-16 20:51:36 +00:00
zYne
f07ab595ac
2008-01-16 14:29:11 +00:00
romanb
71d1150e3f
Second merge from experimental branch to trunk.
2008-01-12 19:49:11 +00:00
wernerm
e01809d19a
Fixed returned range bug(s)
2008-01-11 14:50:34 +00:00
romanb
62860d5191
fixed joincondition tests.
2008-01-11 13:53:30 +00:00
zYne
a6e84aeed1
2008-01-10 21:39:05 +00:00
lsmith
e0dcd111fe
- implemented listTriggers and listTableTriggers()
2008-01-10 16:13:56 +00:00
lsmith
fa5ab7d2b1
- moved getIntegerDeclaration to export since we already have getDeclaration in there
2008-01-10 15:49:25 +00:00
lsmith
b1df27b1ac
- use sql standard concat syntax instead of registering concat() mysql hack
2008-01-10 15:09:30 +00:00
lsmith
658f73f045
- use same implementation as MySQL
2008-01-10 15:02:24 +00:00
lsmith
82f0e5f92c
- do not force a DEFAULT NULL on LOB fields
2008-01-10 13:19:17 +00:00
lsmith
6f5cf40352
- default to sql standard concat syntax instead of mysql's non standard variant
2008-01-10 12:23:55 +00:00
lsmith
442fb47768
- unified getDefaultFieldDeclaration(), force DEFAULT NULL when no default is set and the field allows nulls
2008-01-10 09:45:01 +00:00
lsmith
53c044fc4d
- ported concat() from MDB2
2008-01-10 08:49:13 +00:00
lsmith
f53a239334
- ported listTableForeignKeys() from MDB2
2008-01-10 08:48:15 +00:00
lsmith
ba8aae6005
- ensure that nextId() always relies in autoincrement id generation to ensure that last insert id works reliably
2008-01-10 08:47:00 +00:00
lsmith
16ef556f62
- added support for temporary tables, tweaked createSequence and enum support in getDefaultFieldDeclaration()
2008-01-10 08:44:57 +00:00
lsmith
406c57b53b
- cosmetic fixes
2008-01-10 08:29:20 +00:00
zYne
500783aa31
fixes #718
2008-01-08 21:22:37 +00:00
pookey
648f068535
reverting previous change which references and closes #712
2008-01-07 14:17:29 +00:00
pookey
89cb0ecaad
refs #712
2008-01-07 13:48:08 +00:00
romanb
bd2e0d8ec5
Reapplied changes to Doctrine.php made by jonwage.
2008-01-06 09:47:00 +00:00
romanb
d9112ad1d7
Merged current state of my experimental branch back to trunk.
2008-01-05 19:55:56 +00:00
romanb
344ab02d95
reverting the reorganization done in 3455-3456 in order to make merging my experimental branch to trunk easier.
2008-01-05 19:14:35 +00:00
Jonathan.Wage
60c921762d
A few more fixes for autoloading and locating paths to Doctrine components.
2008-01-05 07:53:24 +00:00
Jonathan.Wage
44820ec14a
Preparation for new organization of code in to sub packages. Changed autoload() to work with new structure.
2008-01-05 07:39:25 +00:00
zYne
33223b5b6c
getDatabaseName()
2008-01-04 23:37:25 +00:00
Jonathan.Wage
02a57e4ceb
Removed $aggressive param as it is not needed and was left there by mistake.
2008-01-03 20:14:50 +00:00
adamthehutt
0b78afa97d
Make Doctrine_Collection objects use Doctrine::ATTR_COLL_KEY for data array keys
2007-12-30 20:43:31 +00:00
hartym
716bcedd76
Problem on Sluggable Listener default values merging
2007-12-30 18:44:00 +00:00
romanb
b994c1a6f9
Fixed #697 .
2007-12-28 11:51:48 +00:00
guilhermeblanco
260b9ae291
Added support to params in join methods of Doctrine_Query
2007-12-26 20:52:37 +00:00
guilhermeblanco
82379e6dc3
added prevention to override page_number mask
2007-12-22 19:04:18 +00:00
Jonathan.Wage
44929d5391
Added note about deprecating methods.
2007-12-20 04:08:25 +00:00
Jonathan.Wage
b438827d90
Fixed spelling error.
2007-12-20 03:09:57 +00:00
Jonathan.Wage
7b321a215d
Formatting fixes.
2007-12-19 23:35:18 +00:00
Jonathan.Wage
2e16d60601
fixes #649
2007-12-19 23:33:31 +00:00
Jonathan.Wage
bef37c27ba
fixes #658
2007-12-19 23:02:26 +00:00
Jonathan.Wage
0e528198fb
fixes #640
2007-12-19 22:45:14 +00:00
Jonathan.Wage
d1df55e316
Refactorings for schema files and Doctrine_Record builder. More to come but got held up on some things that zYne- must fix first.
2007-12-19 22:41:11 +00:00
guilhermeblanco
132e5c969c
CHG: Changed private variable name (chunkLength to _chunkLength) in Jumping.php and Sliding.php
...
CHG: Added documentation for Doctrine_Pager and Doctrine_Pager_Range* classes
TODO: Finish pagination documentation
2007-12-19 03:07:41 +00:00
Mosh
9de41c83d1
Fixed #680 : Missing quotation of ENUM DEFAULT Statement
2007-12-18 19:40:18 +00:00
pookey
f3e9fe66a8
adding a toString method to pager layout
2007-12-18 12:00:12 +00:00
pookey
d6ec2665ec
fixing typo in exception
2007-12-18 11:54:14 +00:00
romanb
51c88e2020
Merged 3405 ( Fixed #626 ) from 1.0 branch.
2007-12-15 19:19:31 +00:00
guilhermeblanco
a95073abff
CHG: Doctrine coding standards adjustments
...
ADD: Added methods: addMaskReplacement, removeMaskReplacement and cleanMaskReplacements in Doctrine_Pager_Layout. They are responsable to make masks behavior as another masks or values on predefined situations.
2007-12-13 03:07:24 +00:00
romanb
1446447107
Fixed #673 .
2007-12-12 16:21:54 +00:00
romanb
79b79909ad
Refactored transactions. Fixed #464 .
2007-12-12 15:52:12 +00:00
romanb
467897dadb
Fixed #626 .
2007-12-12 09:54:39 +00:00
adamthehutt
13b5346a4f
Fix for #669
2007-12-11 23:03:57 +00:00
jackbravo
ab8819ca66
Related to bug #662
2007-12-11 18:25:34 +00:00
romanb
9281630ed7
Fixed #664 .
2007-12-11 15:55:45 +00:00
romanb
6a958bae47
Fixed #665 .
2007-12-11 15:46:27 +00:00
romanb
532dea0dd2
Fixed #662
2007-12-11 15:25:56 +00:00
romanb
2717408be8
Fixed #662
2007-12-11 15:25:23 +00:00
wernerm
094dab1d4f
Changed the link() method's use of getLocal() and getForeign() to getLocalFieldName() and getForeignFieldName().
2007-12-11 11:31:13 +00:00