jsxgraph 1.3.1 → 1.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (90) hide show
  1. package/README.md +2 -2
  2. package/distrib/README.md +2 -2
  3. package/distrib/geogebra.min.js +3 -3
  4. package/distrib/geonext.min.js +3 -3
  5. package/distrib/index.d.ts +4964 -4627
  6. package/distrib/intergeo.min.js +3 -3
  7. package/distrib/jsxgraph.css +10 -15
  8. package/distrib/jsxgraphcore.js +9 -25
  9. package/distrib/jsxgraphsrc.js +28437 -25331
  10. package/distrib/sketch.min.js +3 -3
  11. package/package.json +11 -22
  12. package/src/base/board.js +555 -427
  13. package/src/base/chart.js +1 -1
  14. package/src/base/circle.js +23 -1
  15. package/src/base/composition.js +1 -1
  16. package/src/base/constants.js +33 -11
  17. package/src/base/coords.js +4 -4
  18. package/src/base/coordselement.js +47 -20
  19. package/src/base/curve.js +308 -117
  20. package/src/base/element.js +80 -51
  21. package/src/base/foreignobject.js +463 -0
  22. package/src/base/group.js +2 -2
  23. package/src/base/image.js +12 -15
  24. package/src/base/line.js +1 -1
  25. package/src/base/point.js +20 -41
  26. package/src/base/polygon.js +75 -18
  27. package/src/base/text.js +116 -63
  28. package/src/base/ticks.js +35 -12
  29. package/src/base/transformation.js +1 -1
  30. package/src/base/turtle.js +1 -1
  31. package/src/element/arc.js +1 -1
  32. package/src/element/button.js +29 -2
  33. package/src/element/checkbox.js +31 -1
  34. package/src/element/comb.js +5 -2
  35. package/src/element/composition.js +27 -6
  36. package/src/element/conic.js +46 -5
  37. package/src/element/input.js +32 -1
  38. package/src/element/locus.js +2 -2
  39. package/src/element/measure.js +9 -4
  40. package/src/element/sector.js +46 -12
  41. package/src/element/slider.js +17 -12
  42. package/src/element/slopetriangle.js +1 -1
  43. package/src/jsxgraph.js +28 -9
  44. package/src/jxg.js +4 -3
  45. package/src/loadjsxgraph.js +3 -2
  46. package/src/math/bst.js +1 -1
  47. package/src/math/clip.js +550 -345
  48. package/src/math/complex.js +1 -1
  49. package/src/math/extrapolate.js +1 -1
  50. package/src/math/geometry.js +109 -128
  51. package/src/math/ia.js +290 -21
  52. package/src/math/math.js +30 -1
  53. package/src/math/metapost.js +1 -1
  54. package/src/math/nlp.js +25 -5
  55. package/src/math/numerics.js +183 -4
  56. package/src/math/plot.js +4 -4
  57. package/src/math/poly.js +1 -1
  58. package/src/math/probfuncs.js +2 -1
  59. package/src/math/qdt.js +68 -62
  60. package/src/math/statistics.js +58 -7
  61. package/src/math/symbolic.js +1 -1
  62. package/src/options.js +393 -115
  63. package/src/parser/ca.js +1297 -1291
  64. package/src/parser/datasource.js +1 -1
  65. package/src/parser/geonext.js +6 -6
  66. package/src/parser/jessiecode.js +378 -79
  67. package/src/parser/jessiescript.js +1 -1
  68. package/src/reader/cinderella.js +1 -1
  69. package/src/reader/file.js +1 -1
  70. package/src/reader/geogebra.js +1 -1
  71. package/src/reader/geonext.js +1 -1
  72. package/src/reader/graph.js +1 -1
  73. package/src/reader/intergeo.js +1 -1
  74. package/src/reader/sketch.js +25 -17
  75. package/src/renderer/abstract.js +25 -7
  76. package/src/renderer/canvas.js +20 -15
  77. package/src/renderer/no.js +11 -4
  78. package/src/renderer/svg.js +68 -49
  79. package/src/renderer/vml.js +36 -32
  80. package/src/server/server.js +1 -1
  81. package/src/utils/base64.js +2 -2
  82. package/src/utils/color.js +147 -3
  83. package/src/utils/dump.js +20 -14
  84. package/src/utils/env.js +26 -62
  85. package/src/utils/event.js +1 -1
  86. package/src/utils/expect.js +1 -1
  87. package/src/utils/type.js +30 -19
  88. package/src/utils/xml.js +1 -1
  89. package/src/utils/zip.js +1 -1
  90. package/CHANGELOG.md +0 -1305
package/CHANGELOG.md DELETED
@@ -1,1305 +0,0 @@
1
- 1.3.1
2
- ====
3
-
4
- New features
5
- -----------
6
-
7
- - New method: JXG.Math.Geometry.affineRatio
8
-
9
- Improvements
10
- ------------
11
-
12
- - Responsiveness: more stable reaction to size changes
13
- - Improved fullscreen mode in cases where the JSXGraph div does not have fixed width or height
14
- - `isOn` method covers also polygons with `hasInnerPoints:true`
15
- - API doc
16
-
17
- Bug fixes
18
- ---------
19
-
20
- - Fixed: computation of intersection between parallel and (half-)bounded line
21
- - Fixed: Intersection points between circle and line with straights off
22
- - Fixed: handling of many (uncontrolled) simultaneous pointer events
23
- - Fixed regression: points defined as transformations of other points
24
-
25
- 1.3.0
26
- ====
27
-
28
- New features
29
- -----------
30
-
31
- - Responsiveness:
32
- - JSXGraph updates bounding box on resize events triggered by resizeObserver, also e.g. when changing from display:none.
33
- - New board attribute `moveTarget` allows to continue dragging outside of the board
34
- - New attribute `fontUnit` for texts
35
- - Accessibility: keyboard control of JSXGraph boards
36
- - New JSXGraph objects `curvedifference`, `curveintersection`, `curveunion`
37
- - New arrow head type 7
38
- - JessieCode: JessieCode tags support attribute `src`.
39
- - Angle: new attribute value `radius:'auto'`
40
- - New math functions erf, erfc, erfi, ndtr, ndtri, acosh, asinh
41
- - New math functions (comparisons and logical operators as functions): lt, gt, leq, geq, eq, neq, and, or, not, xor
42
- - New method: point.isOn(element)
43
-
44
- Improvements
45
- ------------
46
-
47
- - Arrows on curves: default arrow type 7
48
- - Smoother animations of texts: pixel position of texts is no longer rounded
49
- - Remove internal helper points if parent object is deleted (somewhat experimental)
50
- - New default: minimizeReflow:'none'
51
- - New method `coordsOnArc`
52
- - In fixed angles (set with `setAngle`) all three points now be dragged.
53
- - Intersection with arc behaves like intersection with circle
54
- - TypeScript: improve and update `index.d.ts`
55
- - API docs
56
-
57
-
58
- Bug fixes
59
- ---------
60
-
61
- - slopeTriangle: attribute `topPoint`
62
- - Snapping of glider to curve
63
- - Magnetized points on polygons
64
- - JessieCode parser
65
- - Clipping: shapes with holes
66
-
67
- 1.2.3
68
- ====
69
-
70
- Improvements
71
- ------------
72
-
73
- - `el.hideElement()`, `el.showElement()` not deprecated anymore. Same as `el.setAttribute({visible:false/true})`
74
- - Better auto positiong of labels
75
- - `board.fullUpdate()` updates size info of text elements. This is helpful for JSXGraph constructions which are initialised in a hidden parent element. When the board becomes visible, a call of board.fullUpdate() is sufficient to correct the position of the text elements. This can be triggered in an event listener (by the developer). See <https://github.com/jsxgraph/jsxgraph/issues/348>.
76
-
77
- Bug fixes
78
- ---------
79
-
80
- - Fix bugs in API doc
81
- - MathJax texts in fullscreen mode
82
- - Plot of conic sections of type parabola
83
-
84
-
85
- New features
86
- -----------
87
-
88
- - KaTex support (`useKatex:true`)
89
- - Add Typescript definition file `index.d.ts` (not yet complete). Thanks to David Holmes!!!
90
- - `el.hide()`, `el.show()`, alias for `el.hideElement()`, `el.showElement()`.
91
- - Experimental: new polygon points will be deleted if polygon is deleted. In the future, this might be done in other cases, too.
92
-
93
- 1.2.2
94
- ====
95
-
96
- Improvements
97
- ------------
98
-
99
- * Clipping: allow clipping of arcs and sectors, as well as rings, i.e. clipping of clipped paths
100
- * Update WordPress plug-in
101
- * Update MediaWiki plug-in
102
- * Improve plotting stability (v2 and v4)
103
-
104
-
105
- Bug fixes
106
- ---------
107
-
108
- * Clipping
109
- * camelCase for radiusPoint and anglePoint attributes
110
- * Arrow heads on curves
111
- * API docs
112
- * JessieCode procedure calls
113
-
114
- Experimental
115
- -----------
116
-
117
- * Add cobyla port (non-linear programming)
118
-
119
-
120
- 1.2.1
121
- ====
122
-
123
- Bug fixes
124
- ---------
125
-
126
- * board attribute `maxFrameRate`
127
- * Fix regression in interval arithemetics
128
- * Plot version 4: take prime number as number of steps
129
- * Fix disappearing glider on natural spline
130
-
131
-
132
- 1.2.0
133
- ====
134
-
135
- New Features
136
- ------------
137
-
138
- * New board attributes:
139
- - title
140
- - description
141
- - drag
142
- - showInfobox
143
- - maxFrameRate
144
- * New arrow heads
145
- * Ticks and hatches for curves
146
- * New curve type: metapost
147
- * New element: metapostspline
148
- * New math function: ratpow(base, m, n)
149
- * Chandrupatla's root finding algorithm
150
- * Interval arithmetics
151
- * New attribute: `precision` for elements for method `hasPoint`
152
- * New color function `JXG.contrast`
153
-
154
- Improvements
155
- ------------
156
-
157
- * Experimental new curve plotting algorithm
158
- * Root finding algorithm: improved bracketing
159
- * API docs
160
- * ARIA attributes
161
- * Simulate touch event property evt.scale for pointer events
162
- * Enable setAttribute for attribute `layer`
163
- * Enable centripetal cardinal splines
164
- * JXG.Math.Clip: allow coordinate arrays as input
165
- * JXG.Math.Clip: improve stability and supported cases
166
- * Scientific notation for ticks labels
167
- * Allow floating point numbers for attributes `strokeWidth` and `size`
168
- * Add methods for sequence acceleration (math/extrapolate.js)
169
- * New helper functions in JXG.type
170
-
171
- Bug fixes
172
- ---------
173
-
174
- * Inequality element
175
- * Polygon intersection
176
- * Axis ticks, arrow heads
177
- * Projective transformations of curves
178
- * `alwaysIntersect` attribute for line intersections
179
- * Sliders with visible:false
180
- * Links in API docs
181
- * generateGaussian
182
- * Dashed curves
183
- * RDP algorithm for curves with singularities
184
-
185
- 1.1.0
186
- ====
187
-
188
- New Features
189
- ------------
190
-
191
- * New JSXGraph element `polygonalchain`
192
- * New attribute `gradient` for color gradients. See API documentation for more attributes like gradient angle.
193
- * New method `JXG.Math.statistics.generateGaussian`
194
- * Slider values can be set by "up" events on the base line.
195
-
196
- Improvements
197
- ------------
198
-
199
- * Support for MathJax 3
200
- * Exact position of arrow heads for curves
201
- * Autoposition of labels
202
- * API documentation
203
- * Support for arrow heads on curves in canvas renderer
204
-
205
- Bug fixes
206
- ---------
207
-
208
- * Fix intersection of polygons with `polygon1.intersect(polygon2)`
209
- * Update build scripts
210
- * Remove unnecessary files from NPM repsository
211
-
212
-
213
- 1.00.0
214
- ====
215
-
216
- Compatibility:
217
- ------------
218
- * Safari / iOS 13 use pointer events.
219
- * Since Safari 12, `board.renderer.screenshot()` also supports texts in Safari.
220
- * JessieCode parse errors are handed over to the user and can be catched by try {} catch (e) {}
221
-
222
-
223
- New Features
224
- ------------
225
-
226
- * Polygon / curve clipping and boolean operation on curves is now enabled.
227
- Possible operations are intersection, union or difference of curves, polygones or circles.
228
- * New math functions: cot and acot, nthroot, cbrt, binomial. Available as JXG.Math.cot, ...
229
- * New method `JXG.math.norm`: Euclidean norm of a vector
230
- * Add board attributes "showFullscreen" and "fullscreen"
231
- * New board attribute `maxBoundingBox`
232
- * Faces for hatch marks and ticks (|><)
233
- * Create parabola given by a point and a pair of coordinate pairs.
234
- * Styling and highlighting of navigation bars with CSS
235
- * Add new parameter `delay` for CoordsElement.startAnimation()
236
- * Polar grids
237
- * New attribute `highlightSize` for arrow heads.
238
- * Reflection, mirroring of polygons
239
- * New attribute for labels `autoPosition: true/false` enables automatic positioning of labels.
240
-
241
- Improvements
242
- ------------
243
-
244
- * screenshot and base64 dumps include images now (dumpToURI)
245
- * API documentation contains many new examples
246
- * API documetation for Chart and Legend elements
247
- * Curve plotting: massive speed improvements and plotting precision
248
- * Multi-touch rotations are much more stable for pointer events
249
- * Pointer events use different precision when using pen, mouse or touch. New events for pen: pendrag, pendown, penmove.
250
- * Highlighting and hit event for touch and pointer events
251
- * Fire `hit` event also when dragging an element
252
- * Increased precision in JXG.Math.Numerics.Jacobi
253
- * Improved zoomElements
254
- * Enable attributes for parabola subelement line
255
- * Sketch reader: copy of polygons
256
- * Sketch reader: enable reflection of circle to be circle
257
- * Massive speed-up if many elements are deleted
258
- * Use '\u26f6' unicode symbol for fullscreen
259
- * Better compromise for `_insideCanvas()` for labels.
260
- * JessieCode handling of sliders
261
- * JessieCode: Use JSXGraph method `JXG.Math.pow` for a^b. This fixes problems like plotting of (-3)^(1/3)
262
- * JessieCode: Add all JSXGraph math functions
263
- * Work on unit tests
264
- * Refactor reflection and mirrorelement
265
- * Code refactoring
266
- * Update wordpress plug-in to use jsxgraphcore.js from jsxgraph.org
267
- * Update MediaWiki plug-in
268
- * Update package.json
269
- * Improved pan / pinch-to-zoom handling
270
-
271
- Bug fixes
272
- ---------
273
-
274
- * Glider on transformed curves
275
- * Fix call of free()
276
- * Address npm security alerts
277
- * Line rotation with pointer events on Edge
278
- * Dragging of labels
279
- * Input functions for curves failed for certain JessieCode functions
280
- * Bug fix: handling of pointer events
281
- * Speed-up by preventing multiple updates of drag element.
282
- * Precision of `hasPoint` for curves
283
- * Make all examples in API docs ready for fullscreen mode
284
- * Fix a very old bug in unzip algorithm for multi-file archives
285
- * size[] for axis labels of display='internal'
286
- * Animation of gliders on lines with slope!=0
287
- * Fix arrow head placement for type=3
288
- * Convert attributes in subobjects to lowerCase
289
- * Fix ticks for certain axes which are neither horizontal nor vertical
290
- * Firefox multi-touch pointer events
291
- * Ticks labels in canvas renderer
292
- * Better support of JSXGraph with nodejs
293
- * Manipulating ticks visibility during `board.suspendUpdate()``
294
- * Prevent flickering of text elements during creation
295
- * Stop using deprecated hide method in `changePointStyle`
296
- * Various changes in sketch reader for sketchometry
297
- * Geogebra reader: Fix argument order when mirroring across line
298
-
299
-
300
- 0.99.7
301
- ====
302
-
303
- Compatibility:
304
- ------------
305
- Option.semicirclearc.midpoint -> Option.semicirclearc.center
306
-
307
- New Features
308
- ------------
309
- * New elements: 'cardinalspline', 'comb':
310
- * New element: (numerical) derivative (experimental).
311
- * New element 'reflection': allows point, line, curve, polygon, circle, arc, sector and angle
312
- * New element 'mirrorelement': allows point, line, curve, polygon, circle, arc, sector and angle
313
- * New possibility to create element by supplying element + transformation: This is possible for point, line, curve, polygon, circle, arc, conics, sector and angle.
314
- * New method `Curve.moveTo()`
315
- * Add option`'auto'` for `anchorX` and `anchorY` attribute of labels
316
- * SVGRenderer.screenshot: Add parameter "ignoreTexts
317
- * New board attribute value for renderer: 'auto'.
318
- * Pointer events are enabled now for Chrome and Edge on Windows
319
- * New curve attributes `recursionDepthLow` and `recursionDepthHigh` allow user controlled plot quality
320
- * The inequality element takes now also the functiongraph element as input
321
- * New function `JXG.Math.lcm(a, b)`
322
- * New attribute 'sizeUnit` to enable the user to supply the point size in COORDS_BY_USER units
323
-
324
- Improvements
325
- ------------
326
-
327
- * require.js support (especially in moodle)
328
- * Documentation
329
- * Enable transformation "rotate" of type `[angle, [x,y]]`
330
- * Default position of line labels
331
- * Improved `trim()` method
332
- * Improve code quality by using suggestion from jslint
333
- * Add method `Type.isTransformationOrArray()`
334
- * New default value `selection:'auto'` for arcs and sectors
335
- * Use `<label for>` for checkbox label
336
- * Add attribute "checked" for checkboxes
337
- * Improved screenshot functionality
338
- * Cardinal spline: attribute to prevent creation of points
339
- * Improve stability of glider and intersection computations on curves
340
- * New default values for pinch / zoom: shift+wheel is true now for zoom
341
- * New attribute `isArrayOfCoordinates` for cardinalspline element
342
- * Improved output in Dump.toJavaScript()
343
- * Add attribute `hasInnerPoints` for all arc types: arc, sector, angle
344
- * Polygon reflection now creates vertex names `A'`, `B'`, ...
345
-
346
- Bug fixes
347
- ---------
348
- * HTML elements: set id and allow anchors
349
- * Glider on arcs and sectors
350
- * line.hasPoint()
351
- * hasPoint() for polar and parametric curves
352
- * Visibility of non-existing objects
353
- * slider dragging
354
- * Remove trailing commas
355
- * Mediawiki plug-in
356
- * Catch error if MathJax loading is not yet complete
357
- * Correct handling of UTF-8 characters in JSXCompressor
358
- * Intersection of line / curve with transformed curve
359
- * Update of group elements
360
- * Visibility of in cloneToBackground
361
- * Automatic detection of dependencies among elements
362
- * Fix events `hit`, `mousehit`
363
-
364
- Contributors:
365
- * Saluev: comb element
366
- * nikolas: documentation
367
- * Nik: documentation
368
-
369
- 0.99.6
370
- ====
371
-
372
- New Features
373
- ------------
374
-
375
- * new board attribute "showZoom"
376
- * new board attribute "defaultAxes"
377
- * board attributes zoom and pan: pan and zoom can be restricted to horizontal or vertical axis
378
- * board zoom and pan on touch devices: enable pan and zoom independently
379
- * allow function as value for attribute "visible"
380
- * new attribute value "visible:inherit"
381
- * allow CSS transistions for highlighting of objects: attribute "transitionDuration"
382
- * centripetal parametrization for Cardinal splines and Catmull-Rom splines
383
- * Visvalingam-Whyatt algorithm for curve simplification
384
- * new polygon method "Perimeter()"
385
- * new line attribute "lineCap"
386
- * more arrow heads and individual sizing of arrow heads.
387
- lastArrow: {type: 2, size: 8}
388
- * new attribute: "dragToTopOfLayer"
389
- * new text attribute: "cssStyle"
390
- * new input attribute: "maxlength"
391
- * screenshots for SVG renderer
392
- * symbolic differentiation in JessieCode
393
- * allow positioning of hatches and ticks, see example in doc
394
-
395
- Improvements
396
- ------------
397
-
398
- * Moodle plug-in is now a separate githup project at https://github.com/jsxgraph/moodle-jsxgraph-plugin
399
- * navigation bar can be controlled with the navbar attribute subject
400
- * Improved docs
401
- * JSXGraph is (again) working in AMD, CommonJS, and much more
402
- * Improved Cardinal splines
403
- * Allow adding of points for Cardinal splines
404
- * Improved alignment of tick labels for default axes
405
- * Speed improvements: prevent updates triggered by sub-pixel movements
406
- * Better merging of attributes for axes and default axes
407
- * More tasteful color selection for integrals
408
- * Unify handling of shift and ctrl key
409
- * Improved zoom and pan experience
410
- * Crisp lines in canvas renderer
411
- * Improved sensitivity for very thick lines
412
- * Adapt mediawiki and wordpress JSXGraph plug-ins to work with https
413
- * Initial support for arrows on curves
414
- * dumpToCanvas()
415
- * Ticks labels for sliders
416
- * Work on charts
417
- * Allow functions as values for attributes anchorX, anchorY and dragArea
418
- * Cathedes in slope triangles are now vectors
419
- * Improve evaluation of attribute values given by functions
420
- * Improved toFixed() method
421
-
422
- Bug fixes
423
- ---------
424
-
425
- * Touch support for IE
426
- * Hide context menu
427
- * JessieCode
428
- * infinte loop in parser
429
- * Axis labels which are mostly outside of the canvas are hidden
430
- * Bug fix: two finger meovement of objects
431
- * Unique Ids
432
- * hasPoint for curves
433
- * Development: update dependencies
434
- * Disable text selection in navigation bar
435
- * Refactoring
436
- * Fill correct half-plane for inequality
437
- * "Intersection" of circle and tangent
438
- * Add /remove points to polygon
439
-
440
- Contributors:
441
- * Christian Lawson-Perfect
442
- * Kaspar Peulen
443
- * Markus Henn
444
- * Martin ?
445
- * micahscopes
446
- * Ninmesara
447
-
448
-
449
-
450
- 0.99.5
451
- ====
452
-
453
- New Features
454
- ------------
455
- * Make JSXGraph available as Nodejs package
456
- * New method `JXG.Image.setSize()`
457
-
458
- Improvements
459
- ------------
460
- * Handling of touch and mouse events should work now in all browsers, even if
461
- user-scalable viewport is allowed.
462
- * Improved pinch to zoom and pan
463
- * Much improved documentation: more examples, fixed links
464
- * Better support for reveal.js
465
- * Attracting of points
466
- * Allow homogeneous screen coordinates in `setCoordinates()` and `setPositionDirectly()`
467
- * Trigger JSXGraph mousewheel events on mousewheel
468
-
469
- Bug fixes
470
- ---------
471
- * `hasPoint()` on major sector
472
- * Intersection of Bezier curves
473
- * Dump construction to JessieCode or JavaScript
474
- * `Image.updateSize()`
475
- * Highlighting of images
476
- * SVG: handling of opacity
477
- * Make JessieCode compatible to IE 6-8
478
- * Nodejs compatibility for make
479
- * Dragging of very long lines
480
- * Color of arrow heads in SVG
481
- * Display copyright in canvas renderer
482
- * Bug fix for IE (SVG) with huge lines.
483
-
484
-
485
- 0.99.4
486
- ====
487
-
488
- New Features
489
- ------------
490
- * Allow gradients for polygons
491
- * Improved dragging of images and texts
492
- * More numerical routines for integration:
493
- - Romberg
494
- - QUADPACK routines
495
- - Gauss-Legendre
496
- * Docs for transformations
497
- * New attribute `ignoredSnapToPoints`
498
- * New attribute for ticks: `useUnicodeMinus` (default true)
499
- * New board attribute `maxNameLength`: Controls the maximum number of digits of automatic labels. The default value has been reduced from 2 to 1
500
- * Allow shortened math syntax in `Text.generateTerm()` and in texts with &lt;value&rt;-tag
501
- * Better support for the method `bounds()` for curves, texts and polygons
502
- * Allow gliders on polygons
503
- * New methods `setMax()` and `setMin()` for sliders.
504
- * Extend `riemannsum` to two function graphs
505
- * Introduce Boolean attribute `disabled` for button, checkbox and input
506
- * Improved dump methods: `toJessie()` and `toJavaScript()`
507
- * New method: intersection of two convex polygons with the algorithm by Sutherland-Hodgman
508
- * Board selection mode: Allow a graph to be in a `selectionMode` by calling the function `board.startSelectionMode()`. Once in this mode, the mouse allow to draw a rectangle selection on the board. To stop selectingMode, the function board.stopSelectionMode() must be called.
509
- * First implementation of texts as `foreignObjects` in SVG with attribute `externalHTML:false`
510
- * New method `dumpToCanvas()` for the SVG renderer
511
- * New construction variant for slope triangle based on just one glider.
512
- * Introduce property margin for lines. Controls where infinite lines end.
513
- * Allow arbitrary size units in moodle plugin.
514
- * New functions JXG.Math.sign(), JXG.Math.gcd()
515
- * New function JXG.Math.relDif() computes the relative difference between two numbers
516
- * Improved function plotting. Logarithmic curves should reach to the boundary of the canvas now, i.e. improved plotting of asymptotes.
517
- * Update JessieCode parser
518
- * New board attributes: zoom.min and zoom.max. This attributes allow to limit the zoom factors.
519
- zoom.min limits zoomOut (click on -) and zoom.max limits zoomIn (click on +).
520
- zoom.min supersedes zoom.eps whis is deprecated. zoom.min defaults to 0.0001 and zooom.max to 10000.0.
521
- * Improve plot quality of low-quality-mode function plotting.
522
- * Use linear interpolation for animation. If interpolation is set to false in moveAlong() linear interpolation is used.
523
-
524
- Bug fixes
525
- ---------
526
- * IE bug with innerhtml
527
- * Intersection of curve with line
528
- * GGB reader
529
- * SnapToGrid
530
- * Bug fix: setLabel, label for integral
531
- * Improved ticks
532
- * Bug fix: X() and Y() of hyperbola
533
- * Bug fix: animation callback is not executed
534
- * Handling of frozen elements: allow frozen elements to be draggable
535
- * Bug fix: Value() method for reflexangle and nonreflexangle
536
- * Bug fix: deepCopy
537
- * Make pointer events more stable
538
- * Bug fix: signedPolygon
539
- * Improved isPoint()
540
- * Enable polygons with no vertices
541
- * Add mouse wheel support to devices which support pointer events.
542
- * Fix hatch marks
543
- * Bug fix: dragging curves on touch devices.
544
- * Bug fix font-size of input and button elements.
545
- * Bug fix: slider.setValue()
546
- * Bug fix: exclude the border-width when the reading the dimension of the canvas.
547
- * Increase precision in root finding.
548
- * fixed return value of deprecated function Board.createElement
549
- * Bug fix: glider on undefined line. If one of the defining points is undefined the glider will disappear now.
550
- * Fixed grid so that fractional upper and lower bounds of the grid (fractions of gridX and gridY) arent rounded to the nearest multiple of gridX and gridY.
551
- * Bug fix: removeObject(turtle)
552
- * Bug fix projectCoordToCurve
553
- * Bug fixes for renderer='no'
554
-
555
- Improved docs, unit tests
556
-
557
-
558
- 0.99.3
559
- ====
560
-
561
- Important Notes
562
- ---------------
563
- * The property glider.position for gliders on circular objects like arcs and circles was changed
564
- from radians to relative values between 0 and 1.
565
- This may result in a different behaviour of gliders on arcs. If you need the previous
566
- mode, you have to set isGeonext:true as attribute.
567
-
568
- New Features
569
- ------------
570
- * This release contains the first steps of unifying the handling of elements
571
- defined by one coordinate, namely
572
- points, texts and images. At this point, all these elements allow the same construction methods
573
- and allow to be bound to an anchor element.
574
- * Improved dragging of texts and images
575
- * Much more complete docs. For example, all board attributes are now documented.
576
-
577
- Bug fixes
578
- ---------
579
- * Fix visibility of texts with coordinates defined by functions, e.g. slider labels.
580
- * Gliders on arcs and circles now keep their relative position.
581
- * Allow use of user supplied board id in JXG.boards
582
- * Fix group element to prevent infinite recursion if containing a dependent element
583
- * Make ticks for sliders less obtrusive
584
- * Improved (non-)handling of frozen objects
585
- * Fix several bugs in GEONExT reader
586
-
587
-
588
- 0.99.2
589
- ====
590
-
591
- Important Notes
592
- ---------------
593
-
594
- New Features
595
- ------------
596
- * New element "checkbox" (ae3a29a1)
597
- * New element "input" (a21b20d3)
598
- * New element "button" (54b075ef)
599
- * New elements "majorsector" and "minorsector" (13eaed86)
600
- * New elements "nonreflexangle" and "reflexangle" (cae9ac35)
601
- * New attributes touchFirstPoint and touchLastPoint for lines with arrow heads (60b613f1)
602
- * New board attribute "ignoreLabels" to control when labels are chosen as drag elements (c8fb1063)
603
- * New functions sinh and cosh in JessieCode (6302869d)
604
- * New function log(x, b) in JessieCode (acc263dd)
605
- * New method for points: makeIntersection() (93f25574)
606
- * New method boundingBox() for polygons (23ee2d67)
607
- * Every element which accepts a point as parent element, now also accepts
608
- a coordinate array or a function returning a coordinate array as parent element.
609
- An invisible point having these coordiantes will be constructed. (aa9e4738)
610
- * Major speed up function graphs (a150405e, 13c3086c)
611
- * Improved automatic ticks positioning for axes and lines (4a44a516)
612
- * Enable dragging of sectors defined by three points (d00aec2b)
613
- * Groups: Allow manipulations of group by translation, rotation and scaling.
614
-
615
- New group methods setRotationCenter(), setScaleCenter(), setRotationPoints(), addRotationPoint(),
616
- removeRotationPoint(), setScalePoints(), addScalePoint(), removeScalePoint(),
617
- setTranslationPoints(), addTranslationPoint(), removeTranslationPoint() (d21cb9b6)
618
- * Add arc as a subobject to sectors (82a7002a)
619
- * Improved docs (e9eaeed7)
620
- * Axis: allow zero minorTicks (59a72325)
621
- * Update moodle plugin (750c70df)
622
- * Introduce new elementClass OBJECT_CLASS_TEXT (49638421)
623
- * New generic method addParents() for GeometryElement (152ee279)
624
- * Enable dragging of curves (152ee279)
625
-
626
-
627
- Bug fixes
628
- ---------
629
- * Rotation of parabola based on a line defined by an ideal point (f6840b0)
630
- * Subscripts in labels work again (82a7002a)
631
- * Canvas renderer ignored line width zero (71669733)
632
- * Consider corner cases for upper/lower riemannsums (bc398d2d)
633
- * IE 11: show infobox on "over" event (1f82c9f50)
634
- * setName(): slider labels are not longer overwritten (99877c0d)
635
- * SVG line-endings of paths are set to "round" (e475c5e1)
636
- * hide/show polygons having labels (519c0a7b)
637
- * All edges of a polygon disappear if one of the defining points of the polygon is not real (5d3de96936)
638
- * labels of curves, sectors, angles stayed invisible in case they were previously non existing (62eb6b94)
639
- * Set attribute "needsRegularUpdate" of axis-ticks-labels to false. This speeds up rendering (6e9ce207)
640
- * Fix typo in Board.getCoordsTopLeftCorner, which forced JSXGraph to access the DOM during DRAG mode (f5b8af8f)
641
- * SVG markers in IE 10/11 (a35a2fee)
642
- * Sector defined by two lines was visible (at the wrong position) if the lines were parallel (6acb23fe)
643
- * Geogebra reader: Search for expression if element is not found (981ccd63)
644
- * Geogebra reader: Support hidden axes (4bd103e1)
645
- * CreatePolarLine: elementClass was compared with OBJECT_TYPE_CIRCLE (bc6b4bdd)
646
- * Rotation of internal texts (0fa3fa9e)
647
- * Rotation of VML texts and images (bc58740d)
648
- * Rename the method RamenDouglasPeuker to RamenDouglasPeucker (18042970)
649
- * Attribute generateLabelValue replaced by attribute generateLabelText (d5172614)
650
- * Simplify joinTransforms() in abstractRenderer (5eb86b1f)
651
- * Labels for sectors and arcs were not draggable (b914bba0)
652
- * Type.trunc(n, p) did truncate for p=0 and round for p>0 (09331d4c)
653
- * Do not generate sub and sup tags in texts if MathJax is used (ed9d94a4)
654
- * Ignore touch move events triggered outside the board (8a7e22e8)
655
- * Intersections involving circles with NaN radius (31d2900c)
656
- * Circumcircle of colinear points has wrong intersections (0998a284)
657
-
658
- 0.99.1
659
- ====
660
-
661
- Bug fixes
662
- ---------
663
- * Typo: polepoint
664
- * Docs: JXG.Math.Numerics has been ignored
665
-
666
- 0.99
667
- ====
668
-
669
- Important Notes
670
- ---------------
671
- * This release contains a completely new plotting algorithm for function graphs and curves.
672
- If one wants to use the plotting algorithm of version 0.98, the attribute doAdvancedPlotOld:true
673
- can be supplied.
674
-
675
- New Features
676
- ------------
677
- * Add new method Value() to Arc which returns the arc length (12e64c9)
678
- * Allow jsxgraph board in a new window (opened by window.open()) (97742e7)
679
- * Enable snapToGrid for text and image elements. (bf4bd35)
680
- * New elements: polarline, polarpoint, radicalaxis (3d3154a2, 5f38b01b)
681
- * New element: stepfunction (989cb1f15)
682
- * Improved plotting algorithm (69f2f065b)
683
- * New board attribute "showClearTraces:true/false" (988a855b)
684
- * New function CardinalSpline. Catmull-Rom splines are a special case (33272063de1)
685
- * Use the MS pointer API starting with IE11
686
- * Improve the visual appearance of the navigation bar (b4cc30f08)
687
- * New method for GeometryElement: setName() (9c6009c07)
688
- * Speed improvements for text elements
689
- * Improved positioning of text elements (39c6be44)
690
-
691
-
692
- Bug fixes
693
- ---------
694
- * Fix and update documentation (9ec97a5)
695
- * Fix arrowparallel element in reader/geonext (71c8799)
696
- * Fix renderer/vml css position (#53, 149ffff)
697
- * Remove CSS .navbar class definition (c4bc15f)
698
- * Fix segment and glider on circle elements in reader/geogebra (6238190)
699
- * Fix dynamic domain for function plots in reader/geogebra (d6479b6)
700
- * Enforce the board's coordinate system for axes (#54, 25b6bc5, 8f7ff59, e4f6798)
701
- * Fix SVG arrow head positioning (2899284)
702
- * Remove pointerUpListener from document instead of the board container (bbcc73a)
703
- * Fix visibility of labels on default axes (#73, 2dd0f4b)
704
- * Fix attractors on curves with bezierDegree==3 (d8bcee9)
705
- * Fix dragging of images on touch devices (#88, 04018a6d)
706
- * Fix: angular bisector of parallel lines (#16, 2f8eb20fd)
707
- * Fix: multiple mousedown events (338c7eb2c)
708
- * Fix: VML renderer displays strokes with strokewidth==0 (565eeb9429)
709
- * Improved intersection line-curve ()2fed72fff3)
710
- * Bug fix Gauss-Bareiss determinant (a6a74c9ab)
711
- * Fix inequalities (01a06bdac5)
712
- * Fix case t=0 for cardinal splines (921a296)
713
- * Fix slopetriangle issue #79 (374a8632)
714
- * Fix visibility issue of polygon label (36a7e75f)
715
- * Fix ticks with negative distance (#82, c821364a385)
716
- * Fix visibility of polygon lines (#78, a82c50a1dc)
717
- * Bug fix: very short arrow heads (a794ef81a)
718
- * Bug fix: fill attribute for lines (5d7fc25c6f)
719
- * Bug fix: Circumvent a bug in the Safari JIT comiler on iOS which affects JSXGraph's unzip (d965574c)
720
- * Bug fix: snapToPoint, snapToGrid for linelines and circles (c1988ab5)
721
- * Fix getParents() for GeometryElement (120f536f2)
722
- * Bug fixes IE8 (eeeb0395d29)
723
- * Fix UTF8.decode() (5bb5dd66)
724
- * Fix text content parsing (ce157f194)
725
-
726
-
727
-
728
-
729
- 0.98
730
- ====
731
-
732
- Important Notes
733
- ---------------
734
- * The text element representing an element el's label was moved from el.label.content to el.label
735
- * Speed improvements for SVG updates. This is realized by removing the whole SVG tree from the DOM, updating it
736
- and then re-adding it to the DOM. Please note that during some event handlers (e.g. update) the DOM elements that
737
- belong to the board that is updated CAN NOT BE FOUND by document.getElementById(). References to these elements need
738
- to be stored before the event handler is called. Also problematic are click handlers on elements on the board, in some
739
- browsers these might be ignored. To establish full backwards compatibility, a new board attribute called 'minimizeReflow'
740
- is introduced and has to be set to 'none'. To restrict this optimization to the SVG root node set it to 'svg' (default).
741
- For best optimization use 'all'.
742
- * New Moodle plugin for Moodle 2
743
-
744
- New Features
745
- ------------
746
- * Allow the user to forbid the emitting of events in JXG.Coords (49fa92d)
747
- * New attribute "attractorUnit" for points (0a21d6e)
748
- * Moved the label of an element el from el.label.content to el.label (d60dbd7, 4aecb4a, 087f2d2, 7e9d672, e443a7a, 2467aa2, #34)
749
- * Extend board.select() (14d8188, 8a3184b, bd18995, bec25a4, e8460a1)
750
- * The grid element can be restrained to a fixed area (30bc74f)
751
- * New option "axis" for integral; value can be 'x' or 'y' with a default of 'x' (40c5585, 9d87782, 42e00cd)
752
- * Slider max and min values can now be changed by setting its properties _max and _min (cb51daa)
753
- * New element "slopetriangle" (b6a8107)
754
- * Change element selection based on what was dragged last (a994fec, c9141c5)
755
- * Sectors (incl. angles etc) can now be defined by two lines instead of three points (5d50e28, 0ba4ba1, 3714dff, 4c56a3a)
756
- * Unify Sectors and Arcs (608c4e4, 03fac4c, 36eaaa2, f2256cf)
757
- * New type for the riemannsum element (674cb34, bd0d0d0)
758
- * Allow the user to set the maximum length of a tick label and the max precision (f4b9076)
759
- * New Moodle2 plugin (6d11868, 0ba96fe, a54d8d2, 8c8f2fa, 2b76da3, 8a8625f)
760
- * Texts may now be dragged by clicking anywhere in the text (a624b6d)
761
- * Allow the user to not register mobile Safari specific gesture events (56b057a, 17a5179)
762
- * Add new board attributes offsetX/Y (f8a0262)
763
- * Points can now also be created with a coordinate array instead of 2 resp. 3 numbers (cfe4a43)
764
- * Element name changes are now automatically reflected by its label (8aa9269, e9a9cf1)
765
-
766
- Bug fixes
767
- ---------
768
- * Set the board quality to low during touch and ms-pointer events (f17ec49, c4aa38f)
769
- * Make arrow heads exact (0a39704, 939339f, f1682d3)
770
- * Make circles centers snap to points if the circle line is dragged (a80c07e)
771
- * Fix touch and ms-pointer events (16f07d8)
772
- * Speed up axis updates (997eba4)
773
- * Attracting a glider to a point fixed (801b964)
774
- * Fix missing curve update when a curve's isReal flag switches (a8e1683, 35dc2a7, 8589b8b)
775
- * Fix Canvas and SVG root node size definitions (03a47fe)
776
- * Hide the right angle indicator dot when the angle is hidden (e3f3bf3)
777
- * Improve epub handling in Sigil (69b04c1)
778
- * The integral label now considers the offset attribute (396ca30)
779
- * Fix utils/type.sanitizeHTML() (0001071)
780
- * Fix polygons (231dd4a)
781
- * Fix point constraints handling (d5da0d0)
782
- * Element highlighting in IE fixed (c8fe0be)
783
- * Improved ms pointer api event handlers (1bc85b0)
784
- * Fixed jumping html texts (01716b3, 857f2e2, fb9a1b7)
785
- * Extend math/geometry.perpendicular to handle points that are far away (5e6c3d0)
786
- * Improving automatic tick handling (8ca2380)
787
- * Bugfix traced circles (f1532b1)
788
- * Fix Board.getCoordsTopLeftCorner() (47ecb27)
789
- * Fix ticks scale attribute (4afb67c)
790
- * Reduce closures (6e06d65, fbd40ba, 6a8be48, 7c56513, e11c2a6, 7165e4a, #44)
791
- * Fix the radius attribute of the angle and sector elements (6d11868)
792
- * Fix point attraction handling (0582747)
793
- * Fix Text.hasPoint() (608e697)
794
- * Text position in WebKit browsers was broken (89a6d6a)
795
- * Work around a dashed path bug in webkit (9c5ab12)
796
- * Pie chart highlight fixed (ab75d6e)
797
- * Fixed shear transformation (e0e8140)
798
- * Element 'hash' renamed to 'hatch', 'hash' is kept as an alias (5b7ecd4)
799
- * Point.free() now also removes transformations (8baa48d)
800
- * generateLabelValue() should not be used for fixed ticks (d5f3821)
801
- * Bugfix and performance enhancement of UTF8.decode() (#50, ecbf4af, 6044803, 576efbe, 53dadce, 124d94c, 88c9b44)
802
- * Fix slider attributes and properties (11f2250, 2684070)
803
- * Fix intersection arcs with lines (cb42d77)
804
- * Fix integral start/end interval (b8365bf)
805
- * Update the glider when the user leaves the drag mode (b75ad28)
806
- * Fixed deleting an attractor (2a91eb2)
807
-
808
-
809
-
810
- 0.97
811
- ====
812
-
813
- Important Notes
814
- ---------------
815
- * Wrappers.js was removed. This includes the removal of several wrapper functions in JXG.Board. Please use their
816
- non-wrapped corresponding methods in Math, JXG.Math, JXG.Math.Geometry, and JXG.Math.Numerics (c857dc4, d8f8f6a)
817
- * angle, rad, distance: Use JXG.Math.Geometry.*
818
- * D, I, root, lagrangePolynomial, neville, riemannsum: Use JXG.Math.Numerics.*
819
- * factorial, binomial, cosh, sinh: Use JXG.Math.*
820
- * round, abs, acos, asin, atan, ceil, cos, exp, floor, log, pow, max, min, random, sin, sqrt, tan: Use Math.*
821
- * trunc: Use Math.floor
822
- * sgn: No replacement
823
- * New makefile: make.py was replaced by a GNU make Makefile. Type make core-min to build a jsxgraphcore.js and see
824
- the Makefile for other build targets (245c1e3, 8d8ed2c, 824725e, 8b5aa0e, 160964c, b8f576f, 1c2ee4a, 057e05d, df4a13a)
825
- * The GeonextParser now outputs JessieCode (https://github.com/jsxgraph/JessieCode) instead of JavaScript.
826
- * Board attributes in JXG.Options were moved from JXG.Options to JXG.Options.board (3e39b82):
827
- showCopyright, showNavigation, takeSizeFromFile, renderer, takeFirst, animationDelay, zoom, and pan.
828
- * The list of boards and the list of available elements were moved from JXG.JSXGraph to JXG (c0048e7, e202e15)
829
- * Pstricks was removed
830
- * Board.getElement was renamed to Board.select and will replace JXG.getRef(erence) in a future release (c857dc4, 92c18ac)
831
- * Reorganization of the repository: All files in src/ were renamed to all lowercase and moved into subfolders (bb301e0,
832
- 5eaf33b, fe457c9, 66ba3f2)
833
- * Intersection points now have a type value of JXG.OBJECT_TYPE_INTERSECTION (86a21fe)
834
- * The board methods intersection, intersectionFunc, and otherintersection were removed. Please use the elements
835
- 'intersection' and 'otherintersection' (b76004c)
836
- * The unused methods JXG.readOption and JXG.collectionContains were removed (f322fa6, 8879354)
837
- * JXG.JSXGraph.registerElement was moved to JXG.registerElement (e202e15)
838
- * XML parsing routines were moved from JXG.FileReader to JXG.XML (c2e25ac)
839
- * Bugfix texts in headless environments (like WebWorkers or node) (97cb102)
840
- * Export JXG namespace to WebWorker environments (f4816e1)
841
- * Fix the size definition of SVG and Canvas renderers (e202a54, c0b40cc)
842
- * Fix Tick creator function (41d97be)
843
-
844
- New features
845
- ------------
846
- * Prepared "virtual finger" (2bd4583, d71230a, 11548fd, 11548fd, 3e7d1e5, 5134b0b, 45d3d76)
847
- * Snap to grid for lines (86b2295)
848
- * Hash marks for lines (#7, f8a6723, c2179a4, 2643817, ffbd40e, b548f59)
849
- * Implemented Pointer API support (#18, 8820f3f, 4d22876, 235ee34, 97a3f6e, 24827d3, 535f871)
850
- * Take CSS transformations of type matrix, scale, and translate into consideration (a1da3b7). This ensures better
851
- combatibility with EaselJS.
852
- * New element 'tapemeasure' (f1698c2, e6bb86a, 5717f14)
853
- * JXG.Math.Numerics.regressionPolynomial now also accepts arrays of JXG.Coords (2fef545)
854
- * New linear regression algorithm TheilSenRegression in math/statistics (3fdd673)
855
- * Polygon vertices will snap to grid if the polygon is dragged (19a5a1d)
856
- * Implemented *innerPoints* attribute for ellipse (#20, 3a9180e)
857
- * Configure and use linting tools, minor refactoring (c790fcb, 5ec6a53, 9f1b6c4, 2545716, 985ea61,
858
- ee2be46, b2d95ce, 18d32e0, 479e39c, 069033a, 3e39b82, e139837, 3234de5, 20c6b43, 7f58c56, 367596a,
859
- fa4f5ec, 99da70a, b8a9ebd, 85637c9, 224a2a8, 56a9bdc, 27ba870, fe457c9, ae9f7a3, 27a03fe, 9e9f429,
860
- e5e5216, 6533125, daa2239, 5e037b3, 8250d55, 1ed9914, ae9609d, 73fdd68)
861
- * New helper function JXG.swap; Used to swap two elements in an array (bdea634)
862
- * New optional parameter for ticks: generateLabelValue (7511ee7)
863
- * New board event 'boundingbox', fired everytime the boundingbox changes (2dbeb60)
864
- * Function and number arrays are allowed as parent elements for sectors, too (74f6482)
865
- * A predefined div can now be provided to jessiecode/jessiescript tags (550dcd2)
866
- * New arrow head for the SVG renderer (9b161a9)
867
- * New tick property: tickEndings (7bfc59c)
868
- * The interpolation along an array of (x,y) coordinates in Point.moveAlong() can be overriden (2ef875c)
869
- * Implemented the AMD pattern (e1dd0fc, e202e15, e4d74e2, e2ef764, 2d76afc, c451f7c, 0aea31e, 0260f46, 14d1a1e,
870
- c53fb42, 1d13837, 3c2fa9a, 82dcf24, f707aab, 8695226)
871
- * JXG.debugLine outputs the given debug strings and the line from which it was called (9e4460f)
872
- * New build scripts using requirejs and uglifyjs (46e0237, ea12ae8, a53516a)
873
- * JXG.merge: merge one object into another one without creating a copy (99bc1bc)
874
- * New property for ticks: *anchor*, defines the position of the tick with value 0 and accepts 'left', 'middle', and
875
- 'right' (f8a6723, c2179a4, 2643817)
876
- * Enable the use of the Google caja html sanitizer function if available. The use is controlled via the 'usecaja'
877
- attribute for texts (3a9180e, 3205b13)
878
- * Don't analyze the content of a text if its new attribute 'parse' is set to false (3205b13)
879
- * Allow specific Geonext tags in texts (935df2b)
880
- * loadBoardFrom*() functions now accept a callback function which is called when the file readers are finished
881
- loading the construction (#33, 25aa537)
882
- * Expose Turtle methods and properties to JC (f11c037)
883
- * JXG.Dump preserves snapToPoint attribute (228567c)
884
- * Improved availability of element properties and methods in JessieCode(7af504a)
885
- * Polygon can be hidden independently from their borders (8e95f2c4, 3d219f4)
886
- * The label of a curve will disappear if the curve is not real (209cfc1)
887
- * Allow multiple versions of JSXGraph (arbitrary many 0.97 or higher, one 0.96 or lower) simultaneously on the same
888
- HTML page (2de1da4)
889
- * Enhanced intersection methods for curves (c0491e7, ea23470, 1301d5e, afaa691, 2d5d668, 4c53147, 6fa16e8, 9de88fb,
890
- be247fd, 4df27a3, 7ba41bf, d030108)
891
- * Preparations for a better integration of parameter normalization (d3f4ead)
892
- * New algorithm GrahamScan in math/geometry to determine the convex hull of a set of points (33a9add)
893
-
894
-
895
-
896
- Bug fixes
897
- ---------
898
- * Speed improvements in unzipping routines (b5cb640)
899
- * Enabled file reader support for node (274eb21)
900
- * Speed improvements for EventEmitter (8f05b9c)
901
- * Fixed border placement of polygons (a72c31e)
902
- * Set axis name to '' (a72c31e)
903
- * migratePoint: remove old label (e2259cb)
904
- * Handle snaptopoint/grid/attractors during creation (0f30c60)
905
- * Fixed grids in inverted bounding boxes (e26214f)
906
- * Fixed Point.Dist() in case one point is not real (8a51da4)
907
- * migratePoint() label fix (8a51da4, edcf13c, 184c66f, 285de98, 2cd6613, 4e371dd, 7dc981d)
908
- * prevent access to incomplete bezier segments (fd09f8e)
909
- * fixed gliders on points (ccf2c58)
910
- * prevent event bubbling on mouseup and touchend for navigation bar (#25, 860491c, 1694e4f)
911
- * fixed attribute frozen (146a702)
912
- * jessiecode: fixed NaN value (9ee04d8)
913
- * migratePoint: new parameter copyName to enable the transfer of the point's name (6c0234a)
914
- * Speed improvements for html texts and SVG texts (fabc54a)
915
- * triggerEventHandlers now only accepts an array of events and parameters (5f88bac, 234c136)
916
- * Bugfix conic (3a3605b)
917
- * Speed improvements coords (4633732)
918
- * bugfix JXG.Math.factorial (9f1b6c4)
919
- * bugfix line label offsets (98b6a95)
920
- * Update the glider relative position during suspended updates (3317a1e)
921
- * Fixed ticks on "skew" lines (7bfc59c)
922
- * Fixed a division by zero in the parabola element (e6c714a)
923
- * Fixed traces of curve elements (3d6813b, 8f23d84, bbee2a4)
924
- * Reverted text colors to black (1a28fc9)
925
- * Handle degenerate conics more gracefully (ffe4f7d)
926
- * Make projectCoordsToCurve() more robust for function graphs (0c0abb3, 7df9f48)
927
- * Prevent double update for gliders (f34c724)
928
- * Prevent endless loops in EventEmitter.trigger() (b751699, 9abb0d7)
929
- * Fixed groups (#11, 4ed4feb, e424c63, 11699d2)
930
- * Fixed JXG.Point.visit() (b16c713)
931
- * Elements with the attribute *highlight* set to false now will never be automatically highlighted (25d986a)
932
- * JXG.Dump lost required attribute values (4e69297)
933
- * GeonextReader: Change the background color of the board (4e69297)
934
- * Increase precision in MathNumerics.fminbr to make gliders stay constant on curves (5c8c02a)
935
- * The labels of initially hidden elements will be shown when the element is made visible (a716501)
936
- * Pass the visibility of a polygon down to its borders on creation (4b5af66)
937
- * Bugfix ellipse hasPoint method (280f018)
938
- * In case there is no label subelement in JXG.Options for a specified element the label attributes given by the
939
- user were discarded (397208b)
940
- * Bugfix tick label rounding for values close to zero (ae93bac, aeabd18)
941
- * Fixed polygon gliders (2f68165, 5745c67)
942
- * Circumcircles created with the circle creator will use circle default attributes (501e916)
943
-
944
-
945
- 0.96
946
- ====
947
-
948
- Important Notes
949
- ---------------
950
-
951
- New Features
952
- ------------
953
- * Polygons can be dragged (402b92c, 4541ce3, 6187eb0)
954
- * Introducing new GeometryElement attribute *scalable* (6187eb0)
955
- * Angles can be fixed via _setAngle()_ and freed via _free()_ (5ee106f, b9bd601, 1f25a5f, 8e1bce6, ad857bd, 8d95d75)
956
- * Image hasPoint now checks the whole image area (8d95d75, d96e6d7, a4e0bc5, a9f3f73)
957
- * JSXGraph can be used inside node.js; Rendering to PNG requires node-canvas (ab00ec3, 6106356, 8b00933)
958
- * Construction can be zoomed by dragging ticks (1215fba, bf01231, 818e013, 9ef977f, 31690db, bdf1159, b0e6f6a, cdb2ac7, 459fba6)
959
- * 'random' option for Riemann sums (d498fa2)
960
- * Documentation now lists events (a7ae116, da9b0a0, 63cc708, 66fb7a7, 13e4993,
961
- * New interface EventEmitter which implements event handling (eeffbe1)
962
- * JSXGraph can be run inside Windows 8 "Metro" Apps (1281086, b1935d8)
963
- * GeometryElements fire events when an attribute gets changed (7fb8ab6)
964
- * Introducing a .sketch file reader (08c8f02, de3c4b2, 3cf0d30, efc806d, 9febcdf, 9e19054, 8232d43)
965
- * Enable Curve.X() and Curve.Y() for curves with bezierDegree=3 (10c8c3e)
966
- * Intersection of segments (de10bc4, eef5264)
967
- * New attribute _alwaysIntersect_ for interesction points of e.g. segments to be shown even if the segments don't interesect anymore (9670c8e, 488946f)
968
- * Introduce JXG.Math.Geometry.distPointLine() (9b0bad3)
969
- * Curve-line intersection now respects property alwaysIntersect (856db81)
970
- * Improved speed of freeBoard() (3d3dc72)
971
- * The distance of ticks can be set via setAttribute/setProperty now (cb80999)
972
- * GeonextReader now uses the viewport tag if available (d06a020)
973
- * Implement boolean attribute *hasInnerPoints* for circles (84e0d58)
974
- * Curves can be dragged (a729000)
975
- * Restrict zoom with ```JXG.Options.zoom.eps``` (d63c8de)
976
- * Get current JSXGraph version with ```JXG.version``` (c46d563)
977
- * Implemented X() and Y() methods for labels (#17, 8acaa51)
978
- * Zooming and panning can now be configured (#5, f7e7799)
979
- * Segment labels are placed on 'top' (1b53f3a)
980
-
981
- Bug fixes
982
- ---------
983
- * Fixed the return value of removeObject (0aa328f)
984
- * Tick calculation with majorHeight and minorHeight equal to zero was broken (9bfcb47, e9535d2)
985
- * Texts won't jump while being dragged anymore (2ba238e)
986
- * Several documentation errors fixed (84f10ce, 917250a, 6277684, dcd0c6b, 394e149, fed7998)
987
- * Bug fix: intersection of line with curve, where curve has curveType 'plot' (c10bbeb, 7e8c358, d5500e9, 0f7cb59)
988
- * Fixed and improved groups (0145603, 5f9841b, de01c99, 7b03a70, 06bae53)
989
- * Bugfix arrow head creation (6f90382)
990
- * Arc/Arc intersections fixed (acac2e5)
991
- * radar charts fixed (8b458b6)
992
- * Added newline in Point.js (4054a7e)
993
- * Include CSS transformations in the computation of the coordinates of the top left corner of the board (13226bf, 0c19743, c9b25d8, c3fc4f5, acf844a)
994
- * Polygon labels fixed (#14, 3c4f4c5)
995
- * fontSize given as a string caused problems (e2f94b0)
996
- * bugfix createLabel() (8e5c8d1)
997
- * 0 ticks are hidden again (3419ecf)
998
- * Images now use the absolute value of the given height/width (1468387)
999
- * Fixing turtle.hideTurtle(), turtle.showTurtle() (bc549a1)
1000
- * Remove ticks only of they exist (e74a68a)
1001
- * Work around a FF17 bug regarding SVG fill attribute with value 'none' (1760350)
1002
- * Bugfix turtle (b09af0e)
1003
- * Arrows can't be set on curves with less than two datapoints (75faf54)
1004
-
1005
-
1006
- 0.95
1007
- ====
1008
-
1009
- Important Notes
1010
- ---------------
1011
- * We migrated from subversion to git. To access pre-git changesets you can use our trac system that is still online.
1012
- You can use this url and append the revision number to see the changelog http://sourceforge.net/apps/trac/jsxgraph/changeset/,
1013
- e.g. http://sourceforge.net/apps/trac/jsxgraph/changeset/1234 for revision r1234.
1014
- * Merged coordinate parameters into arrays for all setPosition, setPositionDirectly, and setPositionByTransform methods (r2825)
1015
- * Old intersection functions are now marked as deprecated, you should not rely on them being available in future releases (r2846)
1016
- * Hooks have been refactored and improved. Please use on/addEvent resp off/removeEvent now to add or remove events to the board. The addHook, removeHook and updateHooks functions have been marked as deprecated and might be dropped in a future release (r2864, r2866 & r2867)
1017
- * The behaviour of board event handlers have been changed. mousedown and touchstart events started outside a board do no longer trigger any mouseup resp. touchend events (r2886 & r2887)
1018
- * Default names for texts, angles (af4701e, 18ac2ae)
1019
- * The **offsets** property has been renamed to **offset** (5ea97f5)
1020
-
1021
- New Features
1022
- ------------
1023
- * Attributes for grid and axis can be given on initBoard (r2841)
1024
- * Scale ticks and represent the scale by appending a string to each tick label (r2842)
1025
- * JSXGraph can now be used inside WebWorkers (r2807, r2811 & r2874)
1026
- * Two finger manipulation of circles (r2896 & r2897)
1027
- * objectsList in Board holds the elements in order of creation (r2898, r2899 & r2901)
1028
- * added rgba values to RGBParser (r2912)
1029
- * Allow in Curve.hasPoint() for plots to start search at an arbitrary position (r2939)
1030
- * Animate the size of a point (r2950)
1031
- * Implemented minor and major arcs. They can be constructed by using the element type **minorarc** and **majorarc** or by using
1032
- the element type **arc** with property *type* set to *minor* or *major*.
1033
- * New input specific events (877d5ac)
1034
- * New board option *animationDelay* which controls the animation fps (d093a9e)
1035
- * New options for texts: **anchorX** 'left', 'middle', or 'right' and **anchorY** 'top', or 'bottom' (78608c0, f1aa9de, 8d7f467, bc8cbd6, bbb607b, 7e69d11)
1036
- and **rotate** (181ee73)
1037
- * Circles and lines have a new property **snapToGrid**. Whenever a line or circle is moved and this property is set, the parent points with the snapToGrid
1038
- set to true will snap to grid once the users releases the circle or line (#3, 2a774e1)
1039
- * New option **labels** for Ticks. In case of special ticks the *n* strings given in **labels** are taken as labels for the first *n* ticks (c188efe)
1040
- * New options **type**, **orthoType** and **orthoSensitivity** for *angles*. See the docs for their meaning (8f0ed8c)
1041
- * New options for infobox which shows the coordinates of a point. Beside the text options, the number of digits can be adjusted. Default css class is JXGinfobox.
1042
-
1043
- Bug fixes
1044
- ---------
1045
- * Fixed flickering of gliders on plots (r2828 - r2829 & r2876)
1046
- * Bugfix setPosition of text elements (r2833)
1047
- * Simplified creation of intersection points (r2833)
1048
- * Added error check in tangent creator (r2833)
1049
- * Offsets for ticks (r2834)
1050
- * Fixed ticks ($68, r2835, r2836, r2843, r2845, r2889, r2890 & r2925)
1051
- * Fixed JXG.Text.getSize() (r2837)
1052
- * Bug fix: createArrow, createArrowParallel: arrows are shown if strokeOpacity is a function with inital value 0 (r2849)
1053
- * Disabled and re-enabled drag highlighting devices (r2860, r2934 & r2935)
1054
- * Slowed down zooming with gestures (r2855)
1055
- * Fixed placement of labels (r2863, r2911, r2913)
1056
- * Transformation "reflect" on lines defined by ideal (infinite) points (r2872)
1057
- * Jumpy scroll wheel zooming fixed (r2873)
1058
- * Enhance sensitive area for points with non-default stroke width (r2877)
1059
- * Fixed issues with gliders on lines with at least one ideal point (r2878, r2880, r2882)
1060
- * Bugfix event handlers for elements (r2879)
1061
- * Using the **touches** property of the event object instead of **targetTouches** fixes some bugs (r2888)
1062
- * Fixed arrows (r2891)
1063
- * Enlarge the drawing region slightly to hide the small sides of thick lines (r2892)
1064
- * Rays through ideal points change their orientation (r2893)
1065
- * Fixed reflections: instead of JXG.Math.Geometry.reflection use transformations (r2894)
1066
- * Load all available renderers that could be used in the current host (r2900)
1067
- * Bug fix: Filled polygon in CanvasRenderer? in case one point does not exist (r2907)
1068
- * Use asynchronous Mathjax (r2914)
1069
- * Fixed JXG.Curve.bounds() (r2918)
1070
- * Remove deleted elements from their ancestors dependents list (r2919)
1071
- * Bugfix event handler flags (r2923)
1072
- * touchMoveHandler: Ignore slowpoke events (r2927 & r2929)
1073
- * reset board mode if no more touches are found (r2931)
1074
- * Bugfix: hide invisible grids (r2936 & r2938)
1075
- * Fixed tick heights issue in boards where unitX != unitY (r2940)
1076
- * Fixed move origin on touch devices (r2942)
1077
- * Adjust size of arrow heads at least for small stroke width values (r2948)
1078
- * Suspend update in JXG.freeBoard() to prevent dependency errors (r2949)
1079
- * Bug fix: layer for gliders (r2952)
1080
- * Bug fix: properties of gliders (r2953)
1081
- * Pass event objects to internal event handlers, if available (929cb40)
1082
- * Copy general element properties only when creating primitives (95603ef, d5f2b87, 1b54d9a, 5e0486d, 39b3e82)
1083
- * Do a full update after changing the properties of an element with needsRegularUpdate set to false (6463b8c, ff4fe3a)
1084
- * Angle texts are moving again (e9c68b1)
1085
- * Set margin to zero if the line has arrows set (6582086, bd7518a)
1086
- * Hide circles with non-real midpoints (381b287)
1087
- * Don't update ticks if board height or width equals zero (c7c2e23)
1088
- * Various fixes in GeonextReader (006c5da, 59ac4c2, 1fecf7a)
1089
- * Ticks are now deleted when their line is removed (bda7e7f)
1090
- * Text rendering speed improved (d4c0bf2, b955052, fa91ce0, 434c87b, 12b9922)
1091
- * Speed improvements for arcs and sectors (d2fdee1, e0ee6c9, 572d123, fdabf15, c6a70a4, 8acbb60)
1092
- * If no element is dragged or found, don't stop the event propagation (324f7c6)
1093
- * The radius of an *angle* can be set via *setProperty()* (bc0e21c)
1094
-
1095
-
1096
- 0.94
1097
- ====
1098
-
1099
- Important Notes
1100
- ---------------
1101
- * The property line.labelOffsets has been moved to element.label.offsets (r2765)
1102
-
1103
-
1104
- New Features
1105
- ------------
1106
- * Update build script: allow the user to choose the test server via --server (r2691)
1107
- * Implemented mathematical modulo JXG.Math.mod (r2698)
1108
- * Multitouch handling of lines in case one defining point is an ideal point and general improvement of multitouch dragging of lines (r2700, r2701)
1109
- * Make normals and parallels (to a line) through one point draggable (r2706)
1110
- * Improved gliders on lines defined by an ideal point (r2744)
1111
- * Added hex2rgb conversion (r2745 & r2746)
1112
- * Introduced the point options snapToPoints (r2758, r2759, 2760 & r2762)
1113
- * Label positioning (r2764 - r2767, r2769, r2770)
1114
- * Prevent reevaluation of a curve if neither the viewport nor the definition of the curve have changed (r2781)
1115
- * GeonextReader: visibility of labels of lines and circles (r2792)
1116
- * setProperty() called on a group sets the properties of all members of the group (r2794)
1117
- * Internal event handling system (r2795)
1118
- * Enabled transformations for data plot curves (r2799)
1119
-
1120
- Bug fixes
1121
- ---------
1122
- * Fixed vertical navigation (r2684)
1123
- * Fixed a problem with the artificial endpoints of Catmull-Rom splines (r2688)
1124
- * Fixed typos regarding integral helper points in Options.js (r2690)
1125
- * Disallow dragging of elements depending on a glider (r2693 & r2694)
1126
- * fixes for circumcircle (r2695)
1127
- * degenerated case (r2695)
1128
- * circle should be draggable if defined by free points (r2695, r2696 & r2697)
1129
- * Fixed translation of lines in case one of the defining points is an ideal point (r2699)
1130
- * Fixed problems with degenerated circles (r2702)
1131
- * Fixed a bug regarding multitouch dragging (r2704)
1132
- * Use curve.Y() instead of curve.yterm() in the integral element (r2710)
1133
- * Update text in JXG.Text.setText()
1134
- * Deactivate mouse events as soon as the first touch events occurs to fix mixed mouse/touch events on the iPad (r2715, r2748-r2753)
1135
- * Update the board after setting a new radius (r2716)
1136
- * Created points in regularpolygon now have the type JXG.OBJECT_TYPE_CAS instead of the (free) JXG.OBJECT_TYPE_POINT (r2717)
1137
- * Refactored glider update (r2719 - r2722, r2724 & r2725)
1138
- * Fixed ids and names of parallel and normal far points (r2718 & r2723)
1139
- * Fixed polygons in GeonextReader (r2726)
1140
- * Fixed angles in GeonextReader (r2727)
1141
- * Bugfix orthogonalprojection (r2730, r2731)
1142
- * Fixed of lines as parametric curves (r2736)
1143
- * Added missing board update in JXG.Text (r2737)
1144
- * Glider on polygon fixed (r2761 & r2762)
1145
- * JXG.Line.hasPoint() fixed (r2763)
1146
- * Fixed Canvas- and SVGRenderer inside divs without explicit height/width (r2780 & r2801)
1147
- * Ticks with ticksDistance set and insertTicks: false are now displayed correctly (r2782)
1148
- * Fixed "undefined is not an error" bug on iPad (r2785)
1149
-
1150
-
1151
-
1152
- 0.93
1153
- ====
1154
-
1155
- Important Notes
1156
- ---------------
1157
- * Renamed element perpendicular to perpendicularsegment. perpendicular now is a straight line instead of a segment (r2360)
1158
- * Mouse wheel zoom is disabled by default, you can enable it by setting the property zoom to true in JXG.JSXGraph.initBoard ($34 & r2369)
1159
- * Hooks 'mousedown', 'mouseup', and 'mousemove' have been renamed to 'down', 'up', 'move'. Those hooks work on mouse & touch devices. Their mouse equivalents now only work on devices controlled by a mouse. The corresponding touch versions are called 'touchstart', 'touchend', and 'touchmove' (r2514, r2515 & r2516)
1160
- * Removed obsolete method JXG.Turtle.evalCoords (r2378)
1161
- * JXG.Curve.{doAdvancedPlot,numberPointsHigh,numberPointsLow} moved to JXG.Curve.visProp. Use JXG.Curve.setProperty() to set them (r2489)
1162
- * Some of the subelements had to be renamed. Please check your constructions with this version and consult our documentation (http://jsxgraph.uni-bayreuth.de/docs/) if you're having trouble accessing any subelements. ($61 & r2623)
1163
-
1164
- New Features
1165
- ------------
1166
- * New board properties to use in initBoard: zoom (Boolean, default *false*) and pan (Boolean, default *true*) ($34 & r2369)
1167
- * Element 'perpendicularsegment' replaces 'perpendicular' which now is a straight line by default (r2360)
1168
- * Element 'tracecurve' (r2372 to 2379)
1169
- * New methods for JXG.Polygon: addPoints (attaches new vertices at the end of the vertex list), insertPoints (insert new points behind an arbitrary vertex) and removePoints (removes arbitrary set of vertices) ($39, r2398, r2400 and r2401)
1170
- * Construction alternatives for lines: Use two functions returning the point's coordinates in an array or use one function returning the line's homogeneous coordinates ($9, r2407 & r2408)
1171
- * Traces can now have different visual properties than the traced element they belong to. Use the *traceAttributes* property of the traced element just as an properties object like in setProperty ($17 & r2410)
1172
- * The new Angle attribute **type** defines the look of the angle: *sector*, if it should be a sector all the time, *square* for a square (right angle)/parallelogram (general) to indicate a right angle, and *auto* for a sector in general and square if the angle is close to a right angle ($49, r2437, r2438 & r2479)
1173
- * Parallel lines are now constructed without an invisible parallel point (r2451)
1174
- * Label properties can now be given via a subelement *label* in the properties object given in create() ($43 & r2453)
1175
- * JXG.Curve has a new attribute called *handdrawing* (r2458 & r2459)
1176
- * Magnetized points, see the new point attributes *attractor*, *attractorDistance*, and *snatchDistance* for details (r2460-r2463)
1177
- * *snapToGrid* is now an attribute of JXG.Point instead of JXG.Board. This way, it can be decided for every single point to snap onto a grid and what grid ($46, r2463 & r2487). If snapSize* is less or equal zero the axis is used (if available (r2611)
1178
- * Highlighting can now be disabled with the element attribute *highlight*. Default value is *true* ($47 & r2476)
1179
- * The radius of an angle can now be a function ($50 & r2481)
1180
- * Preparations for polynomial arithmetics (r2484)
1181
- * Preparations for a file format (r2485, r2488, r2495, r2499 - r2502, r2507, r2509)
1182
- * Segments can have a fixed length now (r2492 - r2494)
1183
- * Catmull-Rom-splines (r2510, r2512 & r2528)
1184
- * Introducing themes (r2539, r2541 & r2545)
1185
- * Angle has a new method called Value() that returns the currently displayed angle (r2548)
1186
- * Set the zoom level of a board directly with JXG.Board.setZoom (r2563)
1187
- * Attributes cssClass & highlightCssClass for texts (r2564 - r2567)
1188
- * Method free() for JXG.Point and JXG.Text, to free a bound point/text (r2572 & 2612)
1189
- * New method def() for JXG to ease default parameter handling (r2617)
1190
- * JXG.indexOf() finds elements in an array (r2629)
1191
- * New attribute for JXG.Polygon *hasInnerPoints* changes the behaviour of JXG.Polygon.hasPoint(): If true, hasPoint returns true if the user points inside the polygon (r2651 & r2652)
1192
-
1193
- Bug fixes
1194
- ---------
1195
- * Fixed freeBoard issue ($35 & r2365)
1196
- * Hide infobox on touchend (r2362)
1197
- * Updated reference card (r2363)
1198
- * Resizing the container now works with Canvas, too ($38 & r2368)
1199
- * Disabling a label via setProperty({withLabel: false}) and re-enabling it won't cause a second label to appear ($37 & r2370)
1200
- * A midpoint with complex parents could be misplaced (r2375)
1201
- * Prevent dragging of axis points (r2391)
1202
- * Fixed layer of the glider in a slider (r2397)
1203
- * Fixed width and height computation of texts (r2399)
1204
- * gradientSecondColor got lost during setProperty (r2415)
1205
- * Set property withLabel to true on an element without a label produced an error ($40 & r2416)
1206
- * Listen on the whole document for touchEnd events, not only on the board's container (r2420)
1207
- * Enable navigation controls on touch devices (r2464)
1208
- * The ids of the points used to generate a regular polygon can now be given in the attribute object ($48 & r2478)
1209
- * Dragged objects are now highlighted (r2490)
1210
- * Improved multitouch dragging of lines (r2497, r2498 & r2503)
1211
- * Traces are deleted as soon as the element's trace attribute is set to false (r2511)
1212
- * Sliders with snapWidth set to e.g. 1 not always returned an integer value (r2519 & r2520)
1213
- * Fixed an issue with major ticks with height < 0 ($55, r2517, r2518 & r2522) and improved ticks in general (r2523, r2524, r2525 & r2553)
1214
- * Fixed some bugs in Turtles ($56, r2526, r2527, r2529, r2533 & r2537)
1215
- * JXG.trim now deletes whitespaces, not 'w's (r2543)
1216
- * If a free point is converted to a glider with JXG.Point.makeGlider(), it is now located near its last position as a free point (r2544)
1217
- * JXG.Legend had no visProp (r2561)
1218
- * Constrained points were visible only after an update (r2584)
1219
- * Hide Polygon if at least one of the vertices is non-real ($59 & r2585)
1220
- * Fillcolor of a point was set to highlightStrokeColor on highlight (r2587)
1221
- * The z-Index of the board's div is now added to the z-Index for html text elements (r2598)
1222
- * Minor bug in GeometryElement fixed (r2602)
1223
- * Set infobox to fixed (r2603)
1224
- * Clear traces on object removal (r2610)
1225
- * Repaired JXG.Point.visit() (r2631)
1226
- * Fixed a bug in JXG.Polygon.remove() (r2634)
1227
- * Fixed highlighting using custom DOM events (r2637)
1228
- * Fixed a bug in JXG.addEvent() (r2638)
1229
- * Set grid dash from 2 to 0, because 2 slows down the iPad considerably (r2641)
1230
- * Fixed a bug in JXG.createGroup (r2653)
1231
- * Fixed a bug preventing the automatic labeling of Angles (r2655 & r2656)
1232
-
1233
-
1234
-
1235
- 0.92
1236
- ====
1237
-
1238
- Important Notes
1239
- ---------------
1240
- * JXG.Math.Numerics.RamenDouglesPeucker has been renamed to JXG.Math.Numerics.RamerDouglasPeucker (r2317)
1241
- * JXG.Board.getRelativeMouseCoordinates() has been renamed to JXG.Board.getCoordsTopLeftCorner (r2327 & r2329)
1242
-
1243
- New Features
1244
- ------------
1245
-
1246
- Bug fixes
1247
- ---------
1248
- * Fixed restriction to max 34 Boards on a single HTML web page and raised it to 65535 (r2313)
1249
- * Line with undefined endpoint is fixed ($15 & r2322)
1250
-
1251
-
1252
-
1253
- 0.91
1254
- ====
1255
-
1256
- Important Notes
1257
- ---------------
1258
-
1259
- JXG.Point.visit()'s parameter repeat has been replaced by the new parameter options
1260
- which can used to provide settings like a repeat value, a callback function or
1261
- speeding effects. It is however still possible to provide repeat as a third
1262
- parameter instead of an options object to support older mathlets ootb without the
1263
- author having to make readjustments. This behaviour might be dropped in future
1264
- releases, so please adjust your scripts accordingly.
1265
-
1266
- New Features
1267
- ------------
1268
- * Zoom with mouse wheel (r2188 & r2272)
1269
- * Optional dot for right angles ($18 & r2197)
1270
- * Adjust the renderer size if the board is resized (r2207, r2208 & $21)
1271
- * Callback functions for animated point movement ($25, r2211 & r2214)
1272
- * Callback functions for visprop animation ($26 & r2222)
1273
- * Point movement animations got the new option "effect" ($5, r2279)
1274
- * User defined execution context for hooks ($29 & r2220)
1275
- * New Slider attribute 'precision': manages precision of slider value displayed in its label (r2230)
1276
- * Polygons can now be removed via board.removeObject() (r2240)
1277
- * Improved zooming (r2231, r2241, r2242 & r2243)
1278
- * Improved mouse and touch events and enabled dragging lines, circles and texts (r2251, r2253-r2254, r2256-r2264, r2266-r2271)
1279
- * Max number of iterations in JXG.Math.Numerics.fminbr can be adjusted with JXG.Math.Numerics.maxIterationsMinimize (r2283 & r2288)
1280
- * Max number of iterations in JXG.Math.Numerics.fzero can be adjusted with JXG.Math.Numerics.maxIterationsRoot (r2285)
1281
- * Implemented remove() for sliders ($31 & r2296)
1282
-
1283
- Bug fixes
1284
- ---------
1285
- * Element copies from tracing sent to background ($13 & r2190)
1286
- * Traced intersections leave a copy at [0, 0] on initialization ($14 & r2191)
1287
- * General elements should not be put into the highest layer but into the lowest ($16 & r2192)
1288
- * Attribute 'withLabel' was missing in the docs (r2193)
1289
- * Suppress error message caused by empty path strings (r2194 & r2205)
1290
- * Draw segments correctly from the start (r2196)
1291
- * CanvasRenderer: Don't draw invisible points (r2196)
1292
- * Implement show/hideElement for JXG.Ticks (r2203 & $20)
1293
- * createCircumcircle does not return arrays anymore (r2204)
1294
- * Check if document.selection.empty is a function in Board.mouseDownListener (r2206)
1295
- * Perpendiculars can now be constructed as straight lines ($23 & r2213)
1296
- * Drag'n'Drop of elements bug on Android devices fixed ($27, r2215 & r2216)
1297
- * initial position of helper point in createPerpendiculer fixed ($24 & r2223)
1298
- * initial positions of axis labels fixed (r2232)
1299
- * harmonized default tick distance attributes and documented ticks (r2234 & r2235)
1300
- * fixed display of 0 with certain ticks distances (r2236 & r2237)
1301
- * fixed using HTML tables as datasource for charts (r2238)
1302
- * proper placement of axis labels ($1 & r2277)
1303
- * GeonextReader: straightLines (r2284)
1304
- * Adjusted Layers of Compositions: Polygons are now below lines (r2287)
1305
- * IntergeoReader & CinderellaReader: Compositions are working now (r2289 & r2290)