summaryrefslogtreecommitdiff
path: root/framework/Util
AgeCommit message (Collapse)Author
2012-10-31MAJOR UPGRADE to TComponentjavalizard@gmail.com
This adds global 'fx' events, behaviors, class-wide behaviors, intra-object/behavior 'dy' events, and tweaks the raiseEvent to be more advanced (yet backward compatible). A large amount of documentation is in here too. Slight changes to the TApplication object is made to provide events with priorities. TComponent has a massive amount of test cases as well… There are now 512 assertions. Test cases have been added for testing the GetJS and SetJS and ensure functionality of these new getters and setters. The Behaviors are all tested and fully integrated into the TComponent Object. Behaviors are more transparently and widely integrated into TComponent. Class Behaviors rely on the global events to add behaviors to instanced objects. Class behaviors also allow for behaviors to be added during the instancing of new objects of the class. Dynamic events enable the object to send events directly to behaviors as intra-object events. Dynamic events can be chained as multiple behaviors may implement the event. This allows for parameter filtering. RaiseEvent allows for raising global events, capturing results, and feeding results forward into the next handlers parameters should the need arise. This is a forward thinking feature to enable new processes to be designed into the code for PRADO version 3.3 and future version 4.0. This functionality is transparent when unused. We are hoping this is fully backward compatible with the existing code base. It was designed for maximum backward compatibility while expanding the functional base exponentially. This clears the way for a new way of thinking about how objects relate.
2012-07-12removed ?> from php filesctrlaltca
2012-07-12standardize the use of unix eol; use svn properties to enforce native eolctrlaltca
2012-07-12happy new yearctrlaltca
2011-12-21TLogger: fixed filterByControl method; added timestamp parameter; added ↵ctrlaltca@gmail.com
deleteLogs() method; refs #237
2011-10-26proposed patch for #325ctrlaltca@gmail.com
2011-06-20updated year information on all framework sources where possible (Copyright ↵ctrlaltca@gmail.com
© 2005-2008 PradoSoft => Copyright © 2005-2011 PradoSoft)
2011-06-20removed useless calls to empty contructor; reverted some additional ↵ctrlaltca@gmail.com
undocumented changes; upported the "cgi workaround" to trunk/; large (fake) changeset are due to mixed cr/crlf used previously
2011-06-01fix for #327ctrlaltca@gmail.com
2011-05-25fixed last blocking error related to the build script. it completes ↵ctrlaltca@gmail.com
successfully now
2011-04-28fixed #159rojaro
2010-12-11cosmeticsrojaro
2010-09-02fixed #287rojaro
2010-06-14Reverted TLogRouter to r2765 as the changes were pretty grubby and should be ↵rojaro
rewritten from scratch
2010-05-31removed unneeded check and modified error message againrojaro
2010-05-31modified TRpcClientRequest error messagerojaro
2010-05-31eliminated warningrojaro
2010-05-31added check for correct HTTP error coderojaro
2010-05-31TRpcClient now throws a TRpcClientResponseException if the response to a ↵rojaro
request is empty
2010-04-18adds the control parameter for logging and tracing. Adds a log when logs ↵javalizard
don't init properly. This outputs converts the xml into into text entities. The TDbLogRoute now also captures the control ids as well.
2010-04-18Ensured parent::__construct calls within TRpcClient and TXmlDocumentjavalizard
2010-04-18TComponent- adds a blank __construct function to unify the constructor call ↵javalizard
path for all objects. TApplication- Adds final attribute to the parameters in the config so folder config.xml cannot override if set to true. Adds a mergeParameter function to unify parameter setting. Fixed a bug where loadParametersPhp wasn't getting the properties correctly. TControl- calls the parent::__construct, Adds render blocking. (the PRADO class using this will be added in a week or two) TParameterModule- Adds final attribute to the parameter option so folder configs cannot override if set to true. Uses the application mergeParameter function. Adds final to the php parameter loader
2010-04-14fixed the vsort, vrsort etc. functions which tried to instantiate ↵rojaro
ArraySorter instead of TArraySorter
2010-04-14changed the gmdate to just date. TLogger now captures the memory footprint ↵javalizard
and controls. TLogRouter now can specify logs that require the header with the IHeaderRoute interface. so the TFirePhpLogRoute can work. TLogRoutes can be disabled and all of the routes can be gotten. Each TLogRoute also can have a control filter, user role filter (so, for instance, if you wanted a browser log route on a production site but only for developers), a meta id is also stored for linking to other data in the system, the user id if a user is logged in, active (so routes can be turned off but not deleted), and an error should something go bad with a log route it shouldn't take down the page. Updated the docs on the category filter having to be an array instead of a string. This includes some functions for serializing the Log Router classes as xml. Also the browser route does a quartile analysis on the times and memory footprint of each log item (independently), and highlights the log lines that are memory hogs or time hogs. We can use this as a basis for a set of analysis classes? This includes some interesting functions which does array of array key index to value sorting. For instance getting all rows from a database table. eg. $arr array(array('key'=>'value1', ...), array('key'=>...), array(...)). vsort($arr, 'key'). We may want to move some of this stuff around
2010-03-27added TRpcClient and TRpcServer - fixing #180rojaro
2010-02-14Merge Branches & Trunkgodzilla80@gmx.net
/trunk:r2680,2692,2707-2736 /branches/3.1:r2682-2686,2694-2702,2705,2738-2762
2009-06-07Merging latest 3.1 changes into trunk (r2672-2677)godzilla80@gmx.net
2009-06-07Enhancement: TFirePhpLogRoute: bypass to TBrowserLogRoute if headers already ↵godzilla80@gmx.net
sent / php.ini (output_buffering=Off, implicit_flush=On)
2009-05-27Merge from 3.2 branch. Christophe.Boulain
Beginning of Prado 3.2 development
2009-05-26fixed #165eirikhm
2009-05-23add GroupLabel property to TFirePhpLogRoutegodzilla80@gmx.net
2009-05-18ENH: new log route subclass for FirePHP: TFirePhpLogRoute - FirePHP is ↵godzilla80@gmx.net
ideally suited for AJAX development where clean JSON and XML responses are required
2009-04-15TDbLogRoute::createDbTable: add AUTO_INCREMENT attribute to log_id column if ↵godzilla80@gmx.net
driver is mysql
2009-03-22TBrowserLogRoute: add table-layout:auto and explicit set column with to ↵godzilla80@gmx.net
avoid bad render behavior in table-layout:fixed environment, explicit set text color to increase readability
2009-03-16Fixed Issue#129, Issue#130Christophe.Boulain
2008-12-27Issue 83 - TParameterModulecarlgmathisen
2008-12-26tparametermodule docscarlgmathisen
2008-12-26fixed the caching bugcarlgmathisen
2008-12-07work on php style configurationcarlgmathisen
2008-12-03Merge from trunkchristophe.boulain
2008-11-11Fixed Issue #61haertl.mike
2008-10-29Fixed issue #48 (trac #941)haertl.mike
2008-10-21removed all trailing ?>qiang.xue
2008-10-13#822 - Not receiving emails from TEmailLogRoutecarl
2008-08-14fixed #908knut
2008-08-06fixed #898knut
2008-08-05fixed #897knut
2008-07-30updated copyrightknut
2008-07-30fixed #890knut
2008-07-20fixed #886knut