jsxgraph 1.4.0 → 1.4.1

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