ceeram
a67a97722a
refs #291
...
Signed-off-by: Mark Story <mark@mark-story.com>
2009-11-13 09:25:47 -05:00
jperras
6f8f4c5a05
Adding waves -> wave as irregular singularization rule. Fixes #47 .
2009-08-22 20:26:33 -04:00
mark_story
8b24d976f2
Placing uninflected check before irregular rules. Refs [8169] and #6351
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8170 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-05-08 13:25:19 +00:00
mark_story
109bda97b8
Correcting order of inflection rules in pluralize(). Places uninflected rules before irregular rules. Fixes compatibility with non-english languages. Fixes #6351
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8169 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-05-08 03:17:26 +00:00
mark_story
31cd461d22
Correcting singluarizing of taxes, faxes, waxes, and pluralization of crisis in Inflector. Tests added. Fixes #6130 , #6131
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8052 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-02-22 04:09:39 +00:00
phpnut
eb653b8cba
Closes #5792 , Inflector optimization by returning replaced values instead of assining before returning
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7940 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-12-18 01:35:27 +00:00
john
5a0ab7b220
Updating docblocks and adding @link tags.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7816 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-31 20:49:23 +00:00
AD7six
3f2fa6929b
changing tabs for spaces in comment block indentation
...
Removing address and replacing with cakefoundation url
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7805 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-30 17:30:26 +00:00
mark_story
1b456f2cf1
Applying patch from 'davidpersson' fixing code spacing. Closes #5643
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7772 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-23 00:10:44 +00:00
phpnut
47f78d13a0
Adding more optimizations for the static classes
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7736 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-12 03:52:24 +00:00
mark_story
62168bfe0f
Updating doc blocks to include access and return PHPDOC tags.
...
Removing use of e() in Debugger.
Fixing code formatting in CookieComponent
Closes #5477
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7662 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-25 16:49:56 +00:00
phpnut
2b95df3abf
Additional optimization refactoring
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7597 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-13 18:59:30 +00:00
phpnut
cb487bd6e6
More optimization refactoring.
...
Fix cache but causing object_map to be created and deleted on each request.
Replacing function and method calls with better performing code.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7596 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-12 05:11:34 +00:00
gwoo
8805173355
refactoring Inflector
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7523 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-27 12:25:40 +00:00
phpnut
80fa429785
Adding fix for undefined notice in vendors.php
...
Removed check for required file in Cache::!__loadEngine();
Fixed cache being wrote on each request from Configure::listObjects(); when data was an empty array
Removed extra call to App::getInstance(); in App::import();
Moved setting of App::!__loaded; inside of if statement.
Removed cake core install directory paths from the cached dir_map.
Changed uses('file'); to require statement in file.php
Changed uses('set'); to require statement in inflector.php
Removed check for existing inflections.php since this file has been included in 1.2 since Dev releases.
Added additional test for Helper::clean();
Fixed bug in Helper::!__clean();
Fixed random output of 1 when using MediaView;
Added csv mime type to MediaView
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7516 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-27 03:42:17 +00:00
mark_story
6086e96a61
Adding inflection rule for empty string. Fixes #5325 . Tests added.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7509 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-26 18:30:54 +00:00
mark_story
20851bd548
Added ability to singularize 'gloves', 'wolves', 'shelves' and other ves words. Added tests. Closes #5080
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7335 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-12 00:22:09 +00:00
gwoo
9661a54a13
reformatting and fixing doc comment in inflector
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7244 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-23 03:08:35 +00:00
nate
df75a06756
Fixing coding standards violations in core, and adding misc tests
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7222 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-20 20:17:23 +00:00
gwoo
1e231e9511
some cleanup, wrapping uses() in class exists
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7172 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-11 15:46:31 +00:00
nate
42da5aba81
Moving Cake folder to correct location
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7063 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-30 11:40:08 +00:00
DarkAngelBGE
e6e0d852a2
deleting cake folder from svn
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7061 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-30 10:59:16 +00:00
the_undefined
ba052c6e7e
Fixed issue where String class is not loaded in Inflector::slug
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7044 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-26 18:46:20 +00:00
the_undefined
550b85fdbb
Improved Inflector::slug, closes #4678
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6920 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-18 05:03:12 +00:00
the_undefined
9154ef1953
Foreign character support for Inflector::slug, fixes #3492
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6753 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-05 13:39:49 +00:00
phpnut
c849dd773a
"Fixing inflection of people uninflected plural.
...
Renamed PersonFixture.
Fixed ModelTest::testHabtmFinderQuery() test when prefix is used."
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6612 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-30 04:35:05 +00:00
phpnut
cb53dc61b0
"Closes #2897 , Built-in file validation.
...
Implemented Validation::extension(); and Vaidation::range();
Updated copyright notices in all files"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6296 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-01 22:18:17 +00:00
phpnut
e48e49073b
Fixes #3486 , Incorrect rule in Inflector::singularize()
...
Added additional test for Inflector
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5957 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-06 05:12:37 +00:00
phpnut
9a4d314b81
Closes #707 , added Inflector::slug() to return a string with all spaces converted to $replacement and non word characters removed.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5712 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-04 02:17:40 +00:00
phpnut
aca00e47c8
Fixed Inflector bug #2061
...
Added tests to InflectorTest
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5382 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-06 07:06:06 +00:00
phpnut
23dfd90b29
Correcting code structure to standards
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5313 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-20 06:15:35 +00:00
mariano.iglesias
d3af5f253b
Adding comments to code
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5147 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-21 19:38:39 +00:00
phpnut
201f6c934e
Adding media as an uninflected word
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5104 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-15 03:57:25 +00:00
phpnut
5d7ce86000
Adding fix for irregular inflections returning word in lowercase
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5065 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-13 00:28:03 +00:00
phpnut
6837a51f50
Adding test for #2550 .
...
Added fix for #2550 , fixes incorrect inflection of Alias
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5044 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-12 08:13:45 +00:00
phpnut
027f7838b5
Adding fix for #2435 . Fixes issues with custom inflection rules not being used before the default rules
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4919 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-29 08:41:46 +00:00
phpnut
789f1f4f3d
Adding fix for Ticket #2343
...
Corrected test case for InflectorTest:testInflectingPlurals() house, original test used wrong method from Inflector
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4756 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-04 08:01:38 +00:00
phpnut
4fb14b1506
Adding check for config/inflections.php back to Inflector
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4754 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-04 07:42:19 +00:00
phpnut
dcac88825a
Adding fix for Ticket #2339
...
Adding fix for Ticket #2335
Adding fix for Ticket #2344
Merged changes in dbo from 1.2 to 1.1
Merged changes to session handling in 1.2 to 1.1
Merged changes to Model::_ _saveMulti() in 1.2 to 1.1
Added Set::pushDiff() to append differences in array 2 to array 1
Added SessionComponent::activate() and SessionHelper::activate() to turn sessions usage on if AUTO_SESSION is set to false
Added test for Ticket #2343
Added change to AclNode to use correct table naming
Added garbage clean up to CakeSession::_ _close(); some installs, like Debian, have removed garbage clean
up and use a cron job instead. Currently this change is only supported for database session.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4752 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-04 07:25:48 +00:00
phpnut
a46e1caa9e
Adding test for Ticket #2333 .
...
Added fix for Ticket #2333
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4744 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-03 03:03:42 +00:00
phpnut
ba89ee9298
Removing debug code from Inflector
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4573 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-04 05:18:02 +00:00
phpnut
91c821ae6c
Adding fix for Ticket #2118 .
...
Removing check for inflections.php file, this file has been included in releases since v 1.0.0.2312
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4570 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-04 04:28:59 +00:00
phpnut
a324348be2
Adding fix for #2068 .
...
Renaming Translate to TranslateBehavior.
Added empty class methods to TranslateBehavior.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4533 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-18 13:10:11 +00:00
phpnut
a8a91e35be
Correcting all headers in the files
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4407 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-02 10:39:45 +00:00
gwoo
7d1e5bb30c
updating inflector rules #1939
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4371 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-01 01:01:36 +00:00
phpnut
35f479f232
Adding fix for #1853
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4356 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-31 19:39:36 +00:00
phpnut
39b580237b
Adding patch from #1973
...
This fixes issues with singular words that end in us or ss
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4355 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-31 19:33:34 +00:00
phpnut
719cd36729
Adding fix for Status singular inflection
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4353 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-31 19:03:43 +00:00
phpnut
69fc957fd3
Allowing user defined inflections to override the core
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4352 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-31 18:49:30 +00:00
phpnut
1634eefce5
Adding Inflector::variable() to create camelBacked version of a string
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3766 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-31 03:14:26 +00:00