Frederic Massart
eddc1461f8
MDL-44936 csslib: Chunking supports @media queries and commas in rules
2014-04-11 12:05:00 +08:00
Petr Škoda
31f28b6ac2
MDL-44358 inform developers that CSS handling was refactored
2014-03-03 14:19:12 +08:00
Petr Škoda
98245a84a2
MDL-44358 simplify CSS processing
...
The affected code areas are not supposed to be used in any add-ons,
the backwards compatibility should not be a concern for us.
2014-02-28 14:50:10 +08:00
Sam Hemelryk
2a1ebf25de
MDL-41057 csslib: CSS optimiser improvements.
...
This commit makes the following changes:
* Tidies up coding style.
* Tidies up phpdocs.
* Improve CSS optimiser unit tests to cover browser hacks.
* Improve backgound style consolidation.
* Improve border style consolidation.
* Fixed optimiser to handle browser hacks like *zoom.
* Improved @ rule unit tests.
* Fixed @rule breakages caused by OS specific rules.
* Added more unit tests to cover a bit more CSS3.
I am pretty sure this patch will now enable to optimsier to
work on bootstrap based themes should developers not wish
to compress thier compiled less CSS.
2013-08-16 08:57:20 +12:00
Petr Škoda
6b32d6bc93
MDL-40995 simplify minify integration and fix all known issues
2013-08-03 17:16:17 +02:00
Petr Škoda
f83037e8e7
MDL-40887 import latest minify 2.1.7
2013-07-29 09:50:20 +02:00
Petr Škoda
23ee749bfb
MDL-40569 fix empty CSS files after cache purging
2013-07-12 12:34:05 +02:00
Sam Hemelryk
1eb2b51703
MDL-39212 css: we now chunk and no longer separate
2013-06-28 16:49:02 +12:00
Matteo Scaramuccia
06eca48648
MDL-40002 Files: ETag value must be a quoted-string.
...
ETag value must be double quoted, http://tools.ietf.org/html/rfc2616#section-3.11 .
More details about potential impacts in MDL-39832: shortly, at least when using
HTTP Partial GET Requests (HTTP Status: 206) plus X-Sendfile HTTP Header.
In this commit, the impact is to be RFC2616 compliant when using the ETag Header.
2013-06-09 09:43:36 +02:00
Sam Hemelryk
e10750279d
MDL-38441 css: implemented chunking of large sheets
2013-04-19 10:09:45 +12:00
Sam Hemelryk
95cf54e1c9
MDL-38075 csslib: fixed coding error when working with an array of styles
2013-02-18 08:21:43 +13:00
Petr Škoda
9226ec1939
MDL-37666 fix comment describing IE CSS limitations
2013-01-25 20:20:04 +01:00
Petr Škoda
4549385e04
MDL-36457 remove GPL incompatible JSMin.php
...
Credit goes to Hubert Chathi, thanks!
2012-11-09 13:30:32 +01:00
Sam Hemelryk
4df3e2bedf
MDL-34014 cssoptimiser: Fixed some aweful spelling
2012-07-03 10:34:20 +12:00
Sam Hemelryk
2395a7510f
MDL-33825 css_optimiser: Fixed bug where !important was being lost for advanced background styles
2012-06-19 12:32:56 +12:00
Dan Poltawski
ed2ed3f97e
MDL-33468 - fix illegal whitespace
2012-06-15 12:17:40 +08:00
Dan Poltawski
74ef0474fc
Merge branch 'wip-MDL-33468-m23' of git://github.com/samhemelryk/moodle
2012-06-15 12:14:49 +08:00
Sam Hemelryk
1875b6fb89
MDL-33468 css_optimiser: Coding style clean up and renamed cssslib_test => csslib_test
2012-06-14 17:28:26 +12:00
Sam Hemelryk
de3a460e17
MDL-33468 css_optimiser: Fixed aggressive optimisation so that it only combines siblings and doesn't reorder
2012-06-14 17:25:19 +12:00
Sam Hemelryk
b305d623a5
MDL-33596 css_optimiser: Added an option for themes to disable the CSS optimiser
2012-06-12 14:23:15 +12:00
Sam Hemelryk
d2830cdd93
MDL-33468 css_optimiser: pre-integration clean up
2012-06-12 14:22:56 +12:00
Sam Hemelryk
f791122195
MDL-33468 css_optimiser: Fixed validation of individual background styles
2012-06-12 14:22:56 +12:00
Sam Hemelryk
ecad5058a0
MDL-33504 css_optimiser: Added support for common media-queiries
2012-06-12 14:22:56 +12:00
Sam Hemelryk
3daafb9295
MDL-33468 css_optimiser: Fixed handling of !important in shorthand notations
2012-06-12 14:22:56 +12:00
Sam Hemelryk
e3036985b2
MDL-33468 css_optimiser: Added support for multiple values for a single attribute
2012-06-12 14:22:55 +12:00
Sam Hemelryk
6a519fdcf1
MDL-33468 css_optimiser: Improved consolidation of background styles and fixed ordering issue
2012-06-12 14:22:55 +12:00
Sam Hemelryk
0663b5353c
MDL-33468 css_optimiser: Added support for prioritising reset rules
2012-06-12 14:22:55 +12:00
Sam Hemelryk
1121f79b91
MDL-33468 css_optimiser: Added support for @keyframes to the CSS optimiser
2012-06-12 14:22:55 +12:00
Sam Hemelryk
f2e8d3798c
MDL-33468 css_optimiser: Numerous fixes to the CSS optimiser and its tests
2012-06-12 14:22:55 +12:00
Petr Skoda
979d320722
MDL-32825 try to improve atomicity of cache file operations in themes and javascript
2012-05-07 18:45:13 +02:00
Petr Skoda
869b12554d
MDL-32683 minor css related refactoring
2012-05-05 18:46:00 +02:00
Petr Skoda
2c61e7cc4a
MDL-32683 fine tune theme style sheet caching
2012-05-05 17:06:58 +02:00
Petr Skoda
7070b7f261
MDL-32683 use slashargument urls for theme style sheets
2012-05-05 15:26:24 +02:00
Petr Skoda
8c672cf9f3
MDL-32683 explicitly allow more caching of static content
2012-05-05 14:09:31 +02:00
Sam Hemelryk
50e49c917d
MDL-32081 csslib: Improved handling of parentheses when processing styles
2012-03-30 10:20:59 +13:00
Petr Skoda
3c548abf1b
MDL-32094 fix E_STRICT warning caused by changing of init() parameters in css style classes
2012-03-18 18:29:46 +01:00
Petr Skoda
d1f582d99c
MDL-31079 detect js and css minimisation failures
2012-03-03 11:53:53 +01:00
Sam Hemelryk
ff8e5d47f8
MDL-29941 csslib: Improved PHPdocs and fixed up 4 and 5 char colour handling plus unittests
2012-01-20 11:05:38 +08:00
Sam Hemelryk
f37f608e75
MDL-29941 csslib: Peer-review documentation changes
2012-01-20 11:02:06 +08:00
Sam Hemelryk
6bbd4858b7
MDL-29941 csslib: Last minute cleanup before integration review
...
* Fixed reversed border styles.
* Added support for out of order background styles.
* Added more CSS tests again.
* Added better validation of CSS widths
2012-01-20 11:02:06 +08:00
Sam Hemelryk
0abd4846a0
MDL-29941 csslib: Improved PHPdocs
2012-01-20 11:02:06 +08:00
Sam Hemelryk
50836f26ca
MDL-29941 csslib: Improved unit tests and fixed bugs with background and border partial style optimisation
2012-01-20 11:02:06 +08:00
Sam Hemelryk
1d1d807ea6
MDL-29941 csslib: Made optimisation an experimental option
2012-01-20 11:02:05 +08:00
Sam Hemelryk
8589a4a52e
MDL-29941 csslib: Improved the stats generation and output
2012-01-20 11:02:05 +08:00
Sam Hemelryk
0e641c7437
MDL-29941 csslib: A CSS optimiser has been added to process our mountain of CSS
2012-01-20 11:02:05 +08:00