forked from GwennaelBuchet/SceneGraph.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
changeLog.txt
190 lines (160 loc) · 8.88 KB
/
changeLog.txt
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
/**
* Copyright (c) 2012 Capgemini Technology Services (hereinafter “Capgemini”)
*
* License/Terms of Use
*
* Permission is hereby granted, free of charge and for the term of intellectual property rights on the Software, to any
* person obtaining a copy of this software and associated documentation files (the "Software"), to use, copy, modify
* and propagate free of charge, anywhere in the world, all or part of the Software subject to the following mandatory conditions:
*
* • The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
*
* Any failure to comply with the above shall automatically terminate the license and be construed as a breach of these
* Terms of Use causing significant harm to Capgemini.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
* WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON INFRINGEMENT. IN NO EVENT SHALL THE AUTHORS
* OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*
* Except as contained in this notice, the name of Capgemini shall not be used in advertising or otherwise to promote
* the use or other dealings in this Software without prior written authorization from Capgemini.
*
* These Terms of Use are subject to French law.
* */
cgSceneGraph Framework.
=====================================================================
TODO LIST:
=====================================================================
- Evolution. Caching system
- Evolution. Filter class
- Evolution. Particle system : add attractor and repulsor (already exists, but no coded :))
- Evolution. Particle system : add a getter to the rotation of a particle
- Evolution. CGSGNodeLink
- Evolution. Add a "cgsgRenderAlways" property and correctly manage the "invalidate()" method
- Example. Map
- Example. Pingoo
- Example. FallDown
- Evolution. CGSGNodeText : Add In-live text edition
- Evolution. CGSGNodeText : width can be edited (so, maxwidth = dimension.width). By default, width = metrics.width
- Evolution. Use of CSS to define the visual properties (sizes, colors, ...)
=====================================================================
HISTORY
=====================================================================
v1.3.1
CHANGES:
- Optimization. CGSGNode: Add of "needToKeepAbsoluteMatrix" property.
- Optimization. CGSGNode: not eval common properties on evalset.
---------------------------------------------------------------------
v1.3.0
CHANGES:
- Correction. CGSGNodeText : it didn't render text if only one letter
- Correction. CGSGNodeText : allow picknode with REGION mode
- Evolution. New CGSGHashmap class
- Evolution. New CGSGNodeTabMenu node
- Evolution. New cgsgFree method
- Evolution. CGSGNode.removeChild and CGSGNode.removeAll now free the node(s)
- Evolution. Allow dimension to be equal 0
- Evolution. Add "onAnimate" event on timelines
- Evolution. Add CGSGColor "rgb2hsl", "hsl2rgb", "multiplyComponent", "darkenHex" and "darkenRGB" method
- Evolution. Add CGSGNode "onMouseEnter" event
- Evolution. Add of CGSGNodeColorPicker and associated example
- Evolution. Add of CGSGNodeTabMenu and associated example
- Correction. Touch event triggered sometimes 2 touch events.
- Evolution. "onDbClick" method also manage double touch :)
- Evolution. The onDblClick method doesn't generate 2 clicks anymore
---------------------------------------------------------------------
v1.2.3
CHANGES:
- Evolution. CGSGNodeImage : reduce parameters in the initializer
- Evolution. CGSGNodeImage : add "setSlice" method
- Evolution. CGSGNodeButton : add picto
- Optimization. Better touch events handler
- Evolution. "cgsgGetCursorPosition" renamed to "cgsgGetCursorPositions" and now returns all touches
- Evolution. CGSGScene : add of "multitouch" property (NOT EFFECTIVE YET)
- Evolution. Array : add of Array.prototype.copy()
---------------------------------------------------------------------
v1.2.2
CHANGES:
- Evolution. Class creation : Use "CGSGObject.extend" instead of "Object.extend"
- Evolution. CGSGNodeWebview : preview mode
- Evolution. CGSGNodeImage : add "setURL" method
---------------------------------------------------------------------
v1.2.1
CHANGES:
- Optimization. "use strict" mode
- Correction. Better FPS computation
- Evolution. FPS : new cgsgFramerateDelay property to update the FPS average
- Evolution. Array : Add of Array.prototype.sum function
- Evolution. Array : Add of Array.prototype.average function
- Evolution. Array : Add of cgsgIsArray global method
---------------------------------------------------------------------
v1.2.0
CHANGES:
- Evolution. Particle : Change initTTL to initCTL.
- Optimization. CGSGParticle : performance improvement.
- Evolution. Traverser : Condition is now a Function.
- Optimization. Traverser is slightly faster.
- Optimization. pickNode is slightly faster.
- Evolution. CGSGNode.rotationCenter is available.
- Evolution. CGSGNodeButton.
- Optimization. cgsgClearContext is now global.
---------------------------------------------------------------------
v1.1.0
CHANGES:
- Evolution. Add CGSGNode::getAbsoluteWidth() and getAbsoluteHeight().
- Correction. Force fixed point on delay and time for animation timeline.
- Evolution. Add information on onClick and onDblClick events on Node and Scene.
- Correction. Timeline : at the end of an animation, delete all keys before calling event onAnimationEnd.
- Evolution. CGSGNode : Add getAbsoluteRegion method
- Evolution. CGSGNode : add recursive parameter to the computeAbsoluteMatrix method.
- Evolution. CGSGColor : add lerp method
- Evolution. CGSGMath : add lerp method
- Evolution. Add a "exlusionList" parameter to the CGSGScene::DeselectAll method.
- Evolution. Add 'node', 'position' and 'events' on events : onDrag, onDragEnd, onResize, onResizeEnd
- Evolution. Add a "free" method to the CGSGNode to free the memory taken by the node and its children
- Evolution. Add a first version of the Webview Node
- Evolution. Add of the cgsgCanvas global property, that is a handler to the canvas.
- Evolution. Add of the "onMouseUp" event for a node
- Evolution. Add of the "cgsgLoadExternalDoc" global method to load external web content in AJAX.
- Evolution. Add of JSDoc, based on YUIDoc (http://yui.github.com/yuidoc)
- Evolution. CGSGNodeCircle : re-design
- Evolution. Add of YUIDoc Documentation format
---------------------------------------------------------------------
v1.0.0
CHANGES:
- Evolution. Add pivotPoint to rotation of a node.
- Evolution. Add of 2 new nodes : CGSGNodeCircle and CGSGNodeEllipse
- Optimization. Particle system : more accurate.
- Evolution. Particle system : add outflow parameter
- Optimization. Images are pre-rendered, to be displayed faster each frame
---------------------------------------------------------------------
v0.9.7.3
CHANGES:
- Correction. Correct pick node on mouse over
- Evolution. Refactorization of some examples
- Correction. AnimatedSprite : don't try to render if the name of the animation passed in "play" method does not exists.
- Correction. Timeline in animation : allow to use the same animation values list for several nodes (less memory consumed)
---------------------------------------------------------------------
v0.9.7.2
CHANGES:
- Optimizization. Don't traverse the particles on the event handlers (mouse over, ...)
- Optimizization. In the particle system, the emitters and the particles' nodes are children of the particle system.
- Optimizization. CGSGParticleSystem, CGSGParticleEmitter and nodes of CGSGParticle get 'isClickable', 'isDraggable' and 'isResizable' to false by default.
- Evolution. Update the particle example.
- Optimization. OnMouseOver: check first the current _nodeMouseOver node.
- Evolution. Add Events/Events_03_StressTest example
- Evolution. Add of the attribute CGSGNode.isTraversable (true by default). If isTraversable===true, the node will be recursively check by the Traverser class and the pickNode method.
- Optimization. Optimization of the CGSGTraverser class.
- Evolution. Add of the License in header of all files in the framework
---------------------------------------------------------------------
v0.9.7.1
CHANGES:
- Evolution. New ParticlesSystem Node (first version).
- Evolution. New particle example.
- Evolution. Add of a "copy()" method on each node class.
- Evolution. Add of this changeLog.txt file.
- Evolution. New methods on the CGSGVector2D class : rotate(angle), getLength(), getSquaredLength(), normalize()
- Evolution. Detection of the explorer version.
- Evolution. Add of 2 new globals functions : cgsgDetectCurrentExplorer(), cgsgExist(object).
- Evolution. Add of new functions on the cgsgColors utility : rgb2hex(r, g, b), hex2rgb(hex), hex2R(hex), hex2G(hex), hex2B(hex)