summaryrefslogtreecommitdiffstats
path: root/system/core/Output.php
AgeCommit message (Collapse)AuthorFilesLines
2015-02-03Documentation Fixnatepizzle1-1/+1
Signed-off-by: natepizzle <natepizzle@users.noreply.github.com>
2015-01-21Remove closing blocks at end of PHP filesvlakoff1-3/+0
2015-01-20[ci skip] Change some log messages' levelAndrey Andreev1-3/+3
'Class Loaded' type of messages flood log files when log_threshold is set to 2 (debug). They're now logged as 'info' level. This is manually applying PR #1528, which was created to do the same thing, but became outdated.
2015-01-09Bulk (mostly documentation) updateAndrey Andreev1-3/+3
- Remove PHP version from license notices - Bump year number in copyright notices - Recommend PHP 5.4 or newer to be used - Tell Travis-CI to test on PHP 5.3.0 instead of the latest 5.3 version Related: #3450
2014-12-15Remove output minifierAndrey Andreev1-208/+0
This feature has proven to be problematic and it's not nearly as flexible as a dedicated minifier library like Minify (http://www.minifier.org/, https://github.com/matthiasmullie/minify). The same results in terms of saving traffic can also be achievied via gzip compression (which should also be done on the httpd level, but we also support anyway) and stuff like mod_pagespeed. Reverts PR #965 Related issues as a track record proving how problematic this has been: #2078 #1499 #2163 #2092 #2387 #2637 #2710 #2120 #2171 #2631 #2326 #2795 #2791 #2772 Additionally, the count of contributors suggesting that the only way to fix the minifier problems is to remove it, is around the same as the count of people suggesting the feature to be implemented in the first place. It was experimental anyway ... the experiment failed.
2014-12-04Add 'cache_query_string' configuration optionAndrey Andreev1-3/+14
Close #2349
2014-12-04Another correction following #3384Andrey Andreev1-2/+1
2014-12-03Some polishing following PR #3384Andrey Andreev1-5/+2
2014-12-03Fixed code style. Update changelog. #2349Stefano Mazzega1-3/+3
2014-12-03add querystring to page caching. #2349Stefano Mazzega1-3/+3
2014-12-03add querystring to page caching. #2349Stefano Mazzega1-0/+9
2014-10-27[ci skip] Switch to MIT license; close #3293Andrey Andreev1-14/+25
2014-08-27Fix #2963Andrey Andreev1-1/+1
Changed all file permissions settings throught the framework and the documentation. Also added configuration settings for CI_Log and CI_Image_lib
2014-04-25Minor fixesvlakoff1-1/+1
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