summaryrefslogtreecommitdiffstats
path: root/system/core/Output.php
AgeCommit message (Collapse)AuthorFilesLines
2014-03-13Partially revert PR #2190Andrey Andreev1-3/+3
The core shouldn't depend on constants that are not defined by itself
2014-02-26Don't use error suppression on is_dir(), file_exists()Andrey Andreev1-1/+1
2014-02-24Remove a needless check in CI_Output::append_output()Andrey Andreev1-9/+1
2014-02-24Don't use globalsAndrey Andreev1-2/+3
- Use load_class() to get objects during bootstrap process. - Change load_class() to accept a class constructor parameter instead of previously unused class name prefix. - Change CI_Router::__construct() to accept as a parameter.
2014-02-20Don't use error suppression on ini_get() eitherAndrey Andreev1-1/+1
2014-02-112013 > 2014darwinel1-1/+1
Update copyright notices from 2013 to 2014. And update one calendar example in user_guide from year 2013/2014 to 2014/2015.
2014-01-15Merge changes from developAndrey Andreev1-5/+22
2014-01-15Fix #2822: Incorrect usage of fwrite()Andrey Andreev1-13/+31
We only used to check (and not always) if the return value of fwrite() is boolean FALSE, while it is possible that the otherwise returned bytecount is less than the length of data that we're trying to write. This allowed incomplete writes over network streams and possibly a few other edge cases.
2014-01-10Use config_item() in CI_Output::__construct()Andrey Andreev1-3/+1
2014-01-10Compress output before storing it to cache, if output compression is enabledAndrey Andreev1-20/+62
Based on PR #964
2013-11-27[ci skip] Remove a few more spacesAndrey Andreev1-1/+1
2013-10-31Fix #2710Andrey Andreev1-2/+1
2013-10-31Apply trim() on the splitted code elementsAndrey Andreev1-164/+11
2013-10-30Escape PCRE delimitersAndrey Andreev1-2/+2
2013-10-28An alternative to CI_Output::_minify_script_style() using more efficient ↵Andrey Andreev1-5/+97
regexp patterns
2013-10-22Fix CSS minifierAndrey Andreev1-4/+4
2013-10-03re-fixes #2637David Cox Jr1-1/+1
delimiter used for regex bounds found in neg. lookahead causes error using @ delimiter now for this expression
2013-09-24fix #2637David Cox Jr1-1/+1
cleaned up the regex to remove extra qualifiers used character sets where possible for clarity main expression optimized
2013-09-22Fixes Issue 2637David Cox Jr1-1/+1
more elegant way to make sure that the comment is not in a js string var
2013-09-12Fixed coding stylejudge1-3/+8
2013-09-10Fixed coding stylejudge1-9/+13
2013-09-10Remove Javascript inline comments + improved detecting whether the pointer ↵judge1-4/+4
is in a string or not
2013-09-10Improved detecting whether the pointer is in a string or notjudge1-2/+22
2013-09-10Removed unnecessary parameterjudge1-1/+1
2013-09-10fixed error in finding closing tagjudge1-1/+1
2013-04-05[ci skip] Replace spaces with tabsAndrey Andreev1-6/+6
2013-04-05Fix #2387Andrey Andreev1-3/+11
2013-03-12Output Class Minify Function Changebayssmekanique1-0/+2
Added 2 additional MIME types to match against for JavaScript detection.
2013-02-21Disable autoloader call from class_exists() occurences to improve performanceAndrey Andreev1-1/+1
Note: The Driver libary tests seem to depend on that, so one occurence in CI_Loader is left until we resolve that.
2013-01-21[ci skip] Manually apply #2162, #2163Andrey Andreev1-1/+1
2013-01-19Support minify table blockPurwandi1-4/+4
2013-01-18Return spacing on var definitions.Eric Roberts1-6/+6
Signed-off-by: Eric Roberts <eric@cryode.com>
2013-01-12Improve output cache.Eric Roberts1-10/+24
2013-01-05Fix MSIE conditionals regex in minify outputMichael Dodge1-1/+1
Allows IE conditionals like the following to remain unmodified. ```html <!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]--> ``` Credit to joebert regex from http://www.sitepoint.com/forums/showthread.php?696559-Regex-pattern-to-strip-HTML-comments-but-leave-conditonals&s=3eef4ceb0a59b2fdb946fa56220fb6fd&p=4678083&viewfull=1#post4678083
2013-01-05Revert "Fix MSIE conditionals regex in minify output func"Michael Dodge1-921/+921
This reverts commit 8e12c787042396e172a7448c65bd16c3015ffb0f.
2013-01-05Fix MSIE conditionals regex in minify output funcMichael Dodge1-921/+921
Allows IE conditionals like the following to remain unmodified. <!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]--> Credit to joebert regex from http://www.sitepoint.com/forums/showthread.php?696559-Regex-pattern-to-strip-HTML-comments-but-leave-conditonals&s=3eef4ceb0a59b2fdb946fa56220fb6fd&p=4678083&viewfull=1#post4678083
2013-01-01[ci skip] Happy new yearAndrey Andreev1-1/+1
2012-12-28Minor improvements to the Output classAndrey Andreev1-10/+14
2012-12-28issue #2092 : code refinementsAndrew Podner1-6/+4
2012-12-26issue #2092 : Improve/Revise JS and CSS minify method (code refinements)Andrew Podner1-2/+2
2012-12-26issue #2092 : Improve/Revise JS and CSS minify methodAndrew Podner1-1/+1
2012-12-26issue #2092 : Improve/Revise JS and CSS minify methodAndrew Podner1-17/+12
2012-12-25issue #2092 : Improve/Revise JS and CSS minify methodAndrew Podner1-7/+64
2012-12-19[ci skip] Some micro-optimizations and style changesAndrey Andreev1-21/+11
(following PRs #2049, #2079)
2012-12-19fixes #2078: changing type variable to boolean in protected methodAndrew Podner1-6/+6
2012-12-18fixes #2078: formatting / styleguide cleanup (take2)Andrew Podner1-1/+1
2012-12-18fixes #2078: formatting / styleguide cleanupAndrew Podner1-7/+7
2012-12-18fixes #2078: refinement of the minify function for CSS and scripts.Andrew Podner1-134/+134
2012-12-18Issue #2078: refinement of the minify function for CSS and scripts.Andrew Podner1-73/+142
2012-12-17[ci skip] Fix some spacesAndrey Andreev1-1/+1