Fix wheel scrolling on LiveGrid content
[infodrom/rico3] / documentation / ChangesSinceRico2.txt
1 Rico has undergone some major changes in version 3.0. Goals for this version
2 included:
3
4 1) More themes of higher quality. This was achieved by making Rico compatible
5 with jQuery Themeroller. Even better, the use of Themeroller themes does not require
6 the use of jQuery. LiveGrid striping is defined for all of the Rico AND Themeroller
7 themes.
8
9 2) Break Rico's dependence on Prototype. Rico can still run with Prototype,
10 but it can also run with jQuery, MooTools, dojo, ext (core), or Glow.
11 Adaptors to each base library provide a common calling convention
12 within the Rico environment. All references to Class.create and Function.bind
13 have been removed from Rico.
14
15 3) Reduce Rico's impact on the global namespace to 2 symbols - Rico and Rico_CONFIG.
16 RicoUtil, RicoTranslate and several other namespaces have been folded into
17 the Rico namespace. Date, String, and Number prototypes have been removed.
18
19 4) More deeply integrate JSON support. All server plugins can now selectively generate
20 XML or JSON output.
21
22 5) Better LiveGrid export to Excel. LiveGrids with an SQL data source can now 
23 export directly to MS Excel on all client browsers. More style information
24 is preserved in the export.
25
26 6) When loading a LiveGrid with SQL data, support a mode where server variables 
27 are not required to process the AJAX calls.
28
29 7) Eliminate fixed point fonts, so the grid and all widgets scale with font size.
30
31
32 Methods and properties previously defined in RicoCommon.js:
33 -----------------------------------------------------------
34 RicoUtil.getDirectChildrenByTag -> Rico.getDirectChildrenByTag (now defined in each adaptor file)
35 RicoUtil.createXmlDocument -> Rico.createXmlDocument (now defined in rico.js)
36 RicoUtil.getInnerText -> Rico.getInnerText (now defined in rico.js)
37 RicoUtil.getContentAsString -> Rico.getContentAsString (now defined in rico.js)
38 RicoUtil.docElement (removed)
39 RicoUtil.windowHeight  -> Rico.windowHeight  (now defined in each adaptor file)
40 RicoUtil.windowWidth   -> Rico.windowWidth   (now defined in each adaptor file)
41 RicoUtil.docScrollLeft -> Rico.docScrollLeft (now defined in each adaptor file)
42 RicoUtil.docScrollTop  -> Rico.docScrollTop  (now defined in each adaptor file)
43 RicoUtil.nan2zero -> Rico.nan2zero (now defined in rico.js)
44 RicoUtil.eventKey -> Rico.eventKey (now defined in each adaptor file)
45 RicoUtil.getPreviosSiblingByTagName -> Rico.getPreviosSiblingByTagName (now defined in rico.js)
46 RicoUtil.getParentByTagName -> Rico.getParentByTagName (now defined in rico.js)
47 RicoUtil.wrapChildren -> Rico.wrapChildren (now defined in rico.js)
48 RicoUtil.DOMNode_insertAfter (removed)
49 RicoUtil.positionCtlOverIcon -> Rico.positionCtlOverIcon (now defined in rico.js)
50 RicoUtil.createFormField -> Rico.createFormField (now defined in rico.js)
51 RicoUtil.addSelectOption -> Rico.addSelectOption (now defined in rico.js)
52 RicoUtil.getCookie -> Rico.getCookie (now defined in rico.js)
53 RicoUtil.setCookie -> Rico.setCookie (now defined in rico.js)
54
55 RicoTranslate.thouSep    -> Rico.thouSep    (now defined in rico.js)
56 RicoTranslate.decPoint   -> Rico.decPoint   (now defined in rico.js)
57 RicoTranslate.langCode   -> Rico.langCode   (now defined in rico.js)
58 RicoTranslate.dateFmt    -> Rico.dateFmt    (now defined in rico.js)
59 RicoTranslate.timeFmt    -> Rico.timeFmt    (now defined in rico.js)
60 RicoTranslate.monthNames -> Rico.monthNames (now defined in rico.js)
61 RicoTranslate.dayNames   -> Rico.dayNames   (now defined in rico.js)
62 RicoTranslate.monthAbbr  -> Rico.monthAbbr  (now defined in rico.js)
63 RicoTranslate.dayAbbr    -> Rico.dayAbbr    (now defined in rico.js)
64 RicoTranslate.addPhrase (removed)
65 RicoTranslate.getPhrase (removed)
66 RicoTranslate.addPhraseId   -> Rico.addPhraseId   (now defined in rico.js)
67 RicoTranslate.getPhraseById -> Rico.getPhraseById (now defined in rico.js)
68
69 RicoUtil.formatPosNumber -> Rico.formatPosNumber (now defined in rico.js)
70 Date.prototype.setISO8601 -> Rico.setISO8601 (now defined in rico.js)
71 String.prototype.toISO8601Date -> Rico.setISO8601 (now defined in rico.js)
72 Date.prototype.toISO8601String -> Rico.toISO8601String (now defined in rico.js)
73 Date.prototype.formatDate -> Rico.formatDate (now defined in rico.js)
74 String.prototype.formatDate -> Rico.formatDate (now defined in rico.js)
75 Number.prototype.formatNumber -> Rico.formatNumber (now defined in rico.js)
76 String.prototype.formatNumber -> Rico.formatNumber (now defined in rico.js)
77
78 Rico.Shim -> now part of Rico.Popup (defined in ricoUI.js)
79 Rico.Shadow -> removed, Rico 3 uses the native shadow capabilities of each browser (shadow filter for IE 5-8)
80 Rico.Popup -> split into Rico.Popup and Rico.Window  (now defined in ricoUI.js)
81
82
83
84 Methods and properties previously defined in ricoMenu.js:
85 ---------------------------------------------------------
86 Rico.Menu -> no change (now defined in ricoUI.js)
87
88
89
90 Methods and properties previously defined in ricoBehaviors.js:
91 --------------------------------------------------------------
92 Rico.selectionSet -> no change (now defined in ricoUI.js)
93 Rico.HoverSet -> no change (now defined in ricoUI.js)
94 Rico.Hover (removed)
95 Rico.HoverDisplay (removed)
96 Rico.EventWrapper (removed)
97
98
99
100 Methods and properties previously defined in ricoStyles.js:
101 -----------------------------------------------------------
102 Rico.Color -> now defined in ricoUI.js, gradient methods were removed
103 Rico.Corner -> no change (now defined in ricoUI.js)
104
105
106
107 Methods and properties defined in ricoLiveGridAjax.js:
108 ------------------------------------------------------
109 Rico.Buffer.AjaxXML -> renamed to Rico.Buffer.AjaxLoadOnce (clearer name, since it can be used to load JSON or XML data)
110
111
112
113 Methods and properties defined in ricoLiveGridControls.js:
114 ----------------------------------------------------------
115 Rico.TableColumn.HighlightCell -> removed, use styles instead