This repository has been archived by the owner on Sep 14, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 25
/
RELEASE
754 lines (406 loc) · 21.4 KB
/
RELEASE
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
////////// // // // //////
// // // // // // //
// // // // // // //////
// // // ////////// //
THE UCLA MOBILE WEB FRAMEWORK
==============================================================================
Copyright:
Copyright (c) 2010-12 UC Regents
License:
http://mwf.ucla.edu/license
==============================================================================
TABLE OF CONTENTS
Version 1.3.03 August 31, 2012
Version 1.3.02 July 12, 2012
Version 1.3.01.rc June 12, 2012
Version 1.3.00.beta April 15, 2012
Version 1.2.14 April 14, 2012
Version 1.2.13 February 29, 2012
Version 1.2.12 February 6, 2012
Version 1.2.11 February 1, 2012
Version 1.2.10 January 10, 2012
Version 1.2.09 December 14, 2011
Version 1.2.08 November 30, 2011
Version 1.2.07 November 11, 2011
Version 1.2.06 November 9, 2011
Version 1.2.05 October 26, 2011
Version 1.2.04 October 14, 2011
Version 1.2.03.rc October 10, 2011
Version 1.2.02.rc October 1, 2011
Version 1.2.01.alpha September 29, 2011
Version 1.2.00.alpha September 29, 2011
Version 1.1.07 August 31, 2011
Version 1.1.06 August 24, 2011
Version 1.1.05 August 1, 2011
Version 1.1.04.rc July 27, 2011
Version 1.1.03.alpha July 20, 2011
Version 1.1.02.alpha June 23, 2011
Version 1.1.01.alpha June 16, 2011
Version 1.1.00.alpha May 20, 2011
==============================================================================
Version 1.3.03
August 31, 2012
* Update LICENSE to BSD 3-clause [#161]
* Fix bug in custom CSS loading within the CSS Handler [#159]
* Android screen dimensions in mwf.screen always return false [#157]
* Fix left-alignment CSS definition [#156]
* Remove absolute link for customize home screen link [#153]
* Update HTTP header Content-Type for PHP-based JS script files [#154]
==============================================================================
Version 1.3.02
June 12, 2012
* Modify CSS definitions to avoid inheritance to unintended children [#151]
* Add support for ul-based menus (in addition to ol-based menus) [#146]
* Fix :hover logic to only pertain to non-mobile devices [#152]
* Fix menu item text overflow across arrow [#149]
* Rename mwf.touch.geolocation to mwf.standard.geolocation [#145]
==============================================================================
Version 1.3.01
June 12, 2012
* Add documentation to the code base
* All documentation from GitHub copied to repository
* New documentation added for Messages, Forms and other 1.3 features
* Add support for name anchors in no_server_init logic [#138]
* Fix jSwipe issue with touch transitions library [#143]
* Fix classification propagation bug [#141]
* Tweaks to user customizable home screen
* server.js refactored as an anonymous function
==============================================================================
Version 1.3.00
April 15, 2012
* Add lean CSS markup entities [Roadmap: Framework v1.3]
* Deprecate -full suffixing on entities
* Deprecate content-, menu- and button- prefixing on entities
* Add -compat.css libraries for old syntax
* Add Forms API with entities and Javascript [Roadmap: Framework v1.3]
* See https://github.com/ucla/mwf/wiki/Roadmap%3A-Framework-v1.3%3A-Forms
* Add Messages UI [Roadmap: Framework v1.3]
* See https://github.com/ucla/mwf/wiki/Roadmap-Framework-v1.3-Messages
* Add Interactivity API [Roadmap: Framework 1.3]
* Add target-trigger engine for markup-driven effects [#116]
* Add expandable/collapsible library [#116]
* See https://github.com/ucla/mwf/wiki/Roadmap%3A-Framework-v1.3%3A-JS
-Interactivity
* Add customizable home page [Roadmap: Framework v1.3]
* Add Preferences API [Roadmap: Framework v1.3]
* Add Javascript unit tests [Roadmap: Framework v1.3]
* Modifications to existing entity styles:
* Padded made the default context and .padded deprecated [#102]
* Removing padding through new entity .not-padded [#102]
* Support for proper h accessibility in menu, content and form [#101]
* Fixed bug in menu hover [#97]
* Added explicit .center and .left for alignment on menu
* Fixes to the device telemetry stack
* Fix to prevent infinite redirect loop with passthru.php [#122] [#133]
* Fix to prevent infinite refresh loop on same domain [#135]
* userAgent.getBrowserEngineVersion() fix for iOS [#114]
* userAgent.getOSVersion() fix for Symbian [#112]
* userAgent.getOSVersion() fix for Blackberry [#110]
* userAgent.getOSVersion() fix for iPad 5.1 [#130]
* Remove capability.flexbox() [#83]
* Updated Modernizr for improved capability detection [#76]
* Fixes to Geolocation API
* Remove deprecated getPosition() [#87]
* Use error object rather than error message for errback [#86]
* Refactor vars.php for testing and maintainability [#107]
==============================================================================
Version 1.2.14
April 14, 2012
* Fix to prevent infinite redirect loop with passthru.php [#122] [#133]
* Fix to prevent infinite refresh loop on same domain [#134]
* Fix to Tag_HTML_Decorator for "0" attribute [#120]
* Fix to Tag_HTML_Decorator for add_inner_front() infinite loop [#118]
* Back-merges from MWF 1.3:
* Fix to mwf.userAgent.getOSVersion() for iPad 5.1 [#130]
* Fix to mwf.userAgent.getOSVersion() for Blackberry [#110]
* Fix to mwf.userAgent.getOSVersion() for Symbian/WinMob [#112]
* Fix to mwf.userAgent.getBrowserEngineVersion() for iPhone [#114]
* Addition of E_NOTICE on raw HTML input passed to decorators [#119]
==============================================================================
Version 1.2.13
February 29, 2012
* Fix event listeners for transitions and touch transitions [#64]
* Fix htmlspecialchars() sanitization bug in Menu_Site_Decorator [#103]
* Textual updates [#100]
==============================================================================
Version 1.2.12
February 6, 2012
* Fix mwf.server refresh logic to avoid bad edge condition redirect loop [#91]
* Fix js_unset_override.php inclusion to avoid edge condition misdirection [#92]
* Add htmlspecialchars() sanitization to URLs in Menu_Site_Decorator [#95]
* More error processing added to geolocation API [#65]
==============================================================================
Version 1.2.11
February 1, 2012
* Fix device telemetry stack but with port in FQDN asset path [#77]
* Geolocation update to handle undefined errback [#65]
* Minor license text changes [#73]
==============================================================================
Version 1.2.10
January 10, 2012
* Device telemetry stack to support multiple-host configuration [#45]
* Add mwf.site.local.[root|asset.root] as relative without hostname
* Update to force mwf.site.[root|asset.root] always fully-qualified
* Redirect to passthru.php on host of js.php using mwf.site.local
* Update passthru.php to return empty page if no return parameter [#47]
* Remove bad header from appcache.php and js.php [#46]
* New version of the Mobile Web Framework license [#53]
* Update /LICENSE to reflect new license
* Update Footer_Site_Decorator for new attribution phrase
* Update MWF module to include new license
* Update passthru.php to define empty <title> element [#44]
==============================================================================
Version 1.2.09
December 14, 2011
* Fix critical typo in mwf.site.local causing DTS infinite loop [#40]
* Fix critical escaping in mwf.server/userAgent causing DTS infinite loop [#41]
* Add quirks mode logic to passthru.php to avoid capabilities flip-flop [#40]
* Fix bug in Head_Site_Decorator query string escaping logic [#42]
* Add appcache handler and extend Head_Site_Decorator to include it [#37/#39]
* Add of watchPosition and clearWatch to geolocation API [#34/#35]
==============================================================================
Version 1.2.08
November 30, 2011
* Fix for when title_text is not set [#32]
* Fix for Head_Site_Decorator when multiple JS/CSS libs included [#21]
* Remove dead cookie domain code in mwf.site [#30]
* Remove extraneous stripslashes in screen, user_agent and classification [#29]
* Remove dead error code in mwf.server [#31]
==============================================================================
Version 1.2.07
November 11, 2011
* Resolve infinite loop when protocol-less framework root [MWF-291]
* Resolve PHP 5.1 compatibility issue with image compressor [MWF-289]
* Refactor static cookie object [#22]
==============================================================================
Version 1.2.06
November 9, 2011
* Modifications to device telemetry stack to support cross-domain CPs [#6/#17]
* Rewrite of mwf.server and mwf.override with major logic changes
* Modifications to mwf.classification, mwf.userAgent, and mwf.screen
* Addition of passthru.php redirection script
* Addition of Cookie class to handle magic_quotes inconsistencies
* Modifications to image compressor
* Add safeguard to ensure GD does not consume all system memory [#16]
* Refactor and encapsulation improvements [#18]
* Fix to support spaces in image paths [MWF-281]
* Addition of JS unit test framework and limited iOS/Android cases [MWF-260]
* Add support for html[lang] [#3]
* Add support for meta[charset] [#6]
* Fix to mwf.userAgent.getBrowserEngine() [#9]
* Fix to mwf.screen for Android 2.3 OS parsing [#11]
* Portability fix for curl in Path_Validator and Path classes [#13]
* Textual fix to comment in mwf.userAgent [#10]
==============================================================================
Version 1.2.05
October 26, 2011
* Modifications to the redirect script (redirect/js.php)
* Resolve case-sensitive bug in file inclusion [MWF-227]
* Set HTTP header to not cache file [MWF-278]
* Modifications to the mwf.capability API:
* Removed mwf.capability.webgl() because indeterminable accurately [MWF-272]
* Bool cast from Modernizr result so audio() always return bool [MWF-261]
* Bool cast from Modernizr result so video() always return bool [MWF-262]
* Fix to standard classification .button-full definition [MWF-275]
* Resolve reference to deprecated class in JS dependency loader [MWF-267]
* Fixes for deprecated support in mwf.user_agent functions [MWF-268]
* Fix for deprecated support in mwf.site.frontpage() function [MWF-259]
* Minified js/core/telemetry.js [MWF-274]
* Fix to Geolocation error message text [MWF-271]
* Textual fix in config/css.php [MWF-276]
* Textual fix in js/core/classification.src.js [MWF-266]
* Textual fix in js/browser/browser.src.js [MWF-263]
* Textual fixes in js/browser/screen.src.js [MWF-264]
* Update README with new contact details [MWF-279]
==============================================================================
Version 1.2.04
October 14, 2011
* Reduce CSS and JS handler size by shortening comment block [MWF-232]
* Bug fixes due to refression from MWF-228
* Fix to support max-height/width GET param in image compressor [MWF-230]
* Fix to Screen class for height/width on false determination [MWF-231]
* Remove forum broken link from MWF pre-installed content module [MWF-33]
==============================================================================
Version 1.2.03.rc
October 10, 2011
* Fix to prevent Android 2.2-2.3 window.screen race condition [MWF-228]
* Fix to mwf.userAgent.getOSVersion() string processing [MWF-229]
* Reduce payload size of redirect/js.php by 80% [MWF-225]
* Add minification to vars.php included by JS handler [MWF-226]
==============================================================================
Version 1.2.02.rc
September 29, 2011
* No changes from 1.2.01.alpha
==============================================================================
Version 1.2.01.alpha
September 29, 2011
* Add support for HTTPS when handlers are requested via https scheme [MWF-218]
* Prevent override to more capable than actual phone capabilities [MWF-217]
* Refactor image compressor
* Encapsulate functionality of mwf.screen and mwf.browser [MWF-214]
* Update min/img.php to use screen dimensions rather than brower [MWF-214]
* Add Image class and subclasses for remote versus local images [MWF-217]
* Refactor min/img.php to use the new Image class factory [MWF-217]
* Bug fixes to existing libraries
* Fix TypeError exception in js/utility/analytics.js [MWF-185]
* Resolve early return in Path_Validator [MWF-174]
==============================================================================
Version 1.2.00.alpha
September 29, 2011
* Replace user agent parsing with Javascript capabilities probing [MWF-149]
* Add mwf.capability object for Javascript capabilities probing
* Leverage Modernizr internally where possible
* Develop special detection for AJAX, events and cookies
* Add mwf.classification object for classifying based on capabilities
* Add mwf.override object for overriding capability-based classifications
* Add js/core/server.js to write cookies to transfer telemetry server-side
* Derive classification cookie from mwf.classification
* Derive user_agent cookie from mwf.userAgent
* Derive screen cookie from mwf.screen
* Add Screen and Classification classes based on js/core/server.js
* Update User_Agent class based on js/core/server.js
* Remove WURFL PHP API and related adapters and libraries
* Refactor user agent functionality [MWF-160 & MWF-211]
* Add mwf.userAgent with internal parsing of user agent string
* Deprecate mwf.user_agent as alias to other mwf libraries
* Refactor server-side libraries
* Reorganize and update JS handler for modified core [MWF-164]
* Rewrite JS dependency loader for better maintainability [MWF-162]
* Modify redirect script for client-based determination [MWF-173]
* Resolve image quality degradation in min/img.php [MWF-213]
* Remove unnecessary installer calls [MWF-186, MWF-187, MWF-188, MWF-189]
* User interface improvements and bug fixes [MWF-200]
* Modify spacing, font size and other interface properties [MWF-200]
* Improve definitions of some element implementations [MWF-200]
* Add gradient/border support for Opera and Mozilla [MWF-196]
* Fix inconsistencies in border definitions [MWF-199]
* Fix .button-full background for basic devices [MWF-195]
* Fix IE one option div.button-full > a width bug [MWF-194]
* Bug fixes to existing libraries
* Fix warnings and obsolete include in min/img.php [MWF-205 & MWF-207]
* Fix min/img.php if it cannot identify extension [MWF-184]
* Fix min/img.php when allow_url_fopen is disabled
* Resolve urldecode bug in CSS and JS minifiers [MWF-206]
==============================================================================
Version 1.1.07
August 24, 2011
* Switch WURFL metadata download to MWF server fork [MWF-167]
==============================================================================
Version 1.1.06
August 24, 2011
* Minified statically-defined default MWF CSS [MWF-143]
* Added CSS definitions to prevent image overflow [MWF-130]
* Resolved invalid syntax in Footer decorator [MWF-126]
* Removed whitespace from decorators [MWF-124 & MWF-147]
* Updated Feed API to handle missing author field [MWF-127]
* Corrected ordering of feed items in Feed API [MWF-129]
* Added date selection capabilities to Feed API [MWF-132]
* Removed old commented out code in Feed API [MWF-132]
==============================================================================
Version 1.1.05.gm
August 1, 2011
* Replace MagpieRSS with SimplePie in Feeds API [MWF-102]
==============================================================================
Version 1.1.04.rc
July 27, 2011
* Fix to touch_transitions by resolving jQuery Swipe definition [MWF-90]
* Fix to .menu-full first and last element rounded corners [MWF-66]
* Fix to alignment of elements under .menu-full [MWF-80]
* Fix to tag decorator for void element [MWF-91]
==============================================================================
Version 1.1.03.alpha
July 20, 2011
* Removal of the WURFL PHP API from MWF repository [MWF-84]
* Addition of /install/install-wurfl-api.sh with install instructions [MWF-84]
* Renamed /aux to /auxiliary due to bug in Windows file system [MWF-62]
* Refactored core files to reflect /auxiliary directory [MWF-65]
==============================================================================
Version 1.1.02.alpha
June 23, 2011
* Add compatibility for PHP 5 < 5.3 [MWF-52, MWF-53]
* Remove __callStatic requirement for Decorator factories
* Remove __toString uses of Decorator in other Decorators and MWF content
* Fix of .menu_full:hover override of full classification border radius [MWF-51]
* Fix full width (not padded) single option button definition [MWF-56]
* Fix Head decorator for custom CSS and JS handles without GET params [MWF-55]
* Fix typo in credits [MWF-57]
* Addition of RELEASE file
==============================================================================
Version 1.1.01.alpha
June 16, 2011
* Addition of Feed API in /auxiliary/feed [MWF-41]
* Addition of redirect prompt functionality [MWF-32]
* Addition of mwf.util.importCSS function [MWF-39]
* Addition of ".menu_full li p" support for text items in menu [MWF-49]
* Fix in .menu_full for an issue with headings
* Fix in .menu_full to avoid hover change on text items [MWF-49]
* Fix an issue with mwf.standard namespace [MWF-39]
* Fix typo in README file
* Note: touch/touch_transition unchanged (mwf.webkit namespace) [MWF-37, MWF-38]
==============================================================================
Version 1.1.00.alpha
May 20, 2011
* Base directory reorganization [MWF-2, MWF-3, MWF-4, MWF-5]
* /root - Web accessible directory - deprecates /
* /config - Configuration files - deprecates /assets/config
* /install - Installation scripts - deprecates /assets/install
* /auxiliary - Auxiliary modules - deprecates /assets/ext
* Addition of LICENSE file [MWF-14]
* Addition of README file [MWF-15]
* Excision of UCLA-specific theme [MWF-6]
* CSS definitions
* Header and front page header
* Favicon and appicons
* New classification scheme [MWF-8]
* Defined as:
* Basic - XHTML MP 1.0, WCC
* Standard - HTML 4.01, CSS 2.1, JS 1.5
* Full - HTML 5, CSS 3
* GET param changes:
* standard_libs in CSS/JS handlers deprecates touch_libs.
* full_libs in CSS/JS handlers deprecates webkit_libs.
* standard in CSS/JS minifiers deprecates touch.
* full in CSS/JS minifiers deprecates webkit.
* Changes to CSS definitions and JS libraries for new classification scheme.
* Changes to preview mode.
* Additions to JS util.
* Changes to image compressor.
* Refactor CSS handler [MWF-10, MWF-11, MWF-18]
* Condense all sheets into one response rather than using @import.
* Refactor /assets/css layout for default and campus-specific directories.
* Add configuration variable to include campus-specific directories.
* Include minifier functionality (same params) to reduce HTTP requests.
* Refactor JS handler [MWF-16, MWF-19]
* Condense most sheets into one response rather than writing script tags.
* Include minifier functioality (same params) to reduce HTTP requests.
* PHP HTML decorators by including assets/lib/decorator.class.php [MWF-13]
* HTML_Decorator::tag() -> class Tag_HTML_Decorator
* HTML_Decorator::tag_open() -> class Tag_Open_HTML_Decorator
* HTML_Decorator::tag_close() -> class Tag_Close_HTML_Decorator
* HTML_Decorator::html_start() -> class HTML_Start_HTML_Decorator
* HTML_Decorator::html_end() -> class HTML_End_HTML_Decorator
* HTML_Decorator::body_start() -> class Body_Start_HTML_Decorator
* HTML_Decorator::body_end() -> class Body_End_HTML_Decorator
* PHP Site decorators by including assets/lib/decorator.class.php [MWF-13]
* Site_Decorator::content_full() -> class Content_Full_Site_Decorator
* Site_Decorator::menu_full() -> class Menu_Full_Site_Decorator
* Site_Decorator::button_full() -> class Button_Full_Site_Decorator
* Site_Decorator::head() -> class Head_Site_Decorator
* Site_Decorator::header() -> class Heaer_Site_Decorator
* Site_Decorator::default_footer() -> class Default_Footer_Site_Decorator
* Site_Decorator::footer() -> class Footer_Site_Decorator
* Add browser and device OS name and version JS accessors [MWF-9, MWF-24]
* Dynamic writing of additional BODY tag classes [MWF-9]
* body.mwf - If this functionality is run at all.
* body.mwf_mobile - If device is regarded as mobile.
* body.mwf_notmobile - If device is regarded as non-mobile.
* body.mwf_standard - If device qualifies under "standard" classification.
* body.mwf_full - If device qualifies under "full" classification.
* body.mwf_browser_{name} - Browser name.
* body.mwf_browser_{name}_{version} - Browser name and version.
* body.mwf_os_{name} - Device OS name.
* body.mwf_os_{name}_{version} - Device OS name and version.
* Configuration settings for favicon and appicon [MWF-6, MWF-22]
* Configuration setting for non-mobile redirect [MWF-20]
* Addition of base content pages for MWF content [MWF-11]
* Inline PHPDoc comments.