summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* Correct memory leakAdrián Medraño Calvo2018-10-261-0/+1
| | | | | | A future improvement would be to cache the calculated layout information together with of the strings. Examples where this would be beneficial could be the axes tick labels or the legend labels.
* Improve drawTextBBox nameAdrián Medraño Calvo2018-10-263-7/+7
|
* Coalesce duplicate codeAdrián Medraño Calvo2018-10-261-35/+18
|
* Merge pull request #20 from prs-de/log-scale-zerov3.2.12William Joye2018-10-084-87/+105
|\ | | | | Correct display of zero values with -logscale 1
| * Correct display of zero values with -logscale 1Adrián Medraño Calvo2018-10-084-87/+105
| | | | | | | | | | | | | | In order to do that, improve the clipping functionality in tkbltGrMisc.C to support infinite coordinates. It also now provides more information with regards to its processing, letting tkbltGrElemLine.C use that same routine instead of duplicade the clipping code.
* | 2 minor fixes for merger #19William Joye2018-10-081-4/+11
| |
* | Merge pull request #17 from prs-de/docfixWilliam Joye2018-10-081-1/+1
|\ \ | | | | | | Correct append docstring
| * | Correct append docstringAdrián Medraño Calvo2018-10-081-1/+1
| |/
* | Merge pull request #18 from prs-de/NaN-is-NaNWilliam Joye2018-10-081-2/+2
|\ \ | | | | | | Support NaN as not-a-number representation
| * | Support NaN as not-a-number representationAdrián Medraño Calvo2018-10-081-2/+2
| |/
* | Merge pull request #19 from prs-de/check-num-argsWilliam Joye2018-10-083-35/+146
|\ \ | | | | | | Check num args
| * | Fix memory leaks when creating and deleting markersAdrián Medraño Calvo2018-10-081-7/+20
| | |
| * | Correct element show commandAdrián Medraño Calvo2018-10-081-1/+6
| | | | | | | | | | | | The querying functionality was not implemented.
| * | Correct numargs checks and output error messageAdrián Medraño Calvo2018-10-083-28/+121
| |/ | | | | | | Many other commands not fixed in *Op.C files.
* | Merge pull request #21 from prs-de/axis-limitsWilliam Joye2018-10-081-0/+6
|\ \ | | | | | | Prevent unreasonable axis limits
| * | Prevent unreasonable axis limitsAdrián Medraño Calvo2018-10-081-0/+6
| |/
* | Merge pull request #22 from prs-de/fix-smoothing-crash-with-no-pointsWilliam Joye2018-10-081-2/+1
|\ \ | | | | | | Fix crash with step smoothing when no points were displayed
| * | Fix crash with step smoothing when no points were displayedAdrián Medraño Calvo2018-10-081-2/+1
| |/ | | | | | | Smoothing must look at the number of displayed points.
* | Draw in order: errorBars, traces, symbols, valuesAdrián Medraño Calvo2018-10-081-9/+17
|/
* Axis tick labels: zero out any extremely small numbersv3.2.11William Joye2018-09-211-0/+4
|
* Merge pull request #16 from prs-de/fix-xylowhigh-segfaultv3.2.10William Joye2018-09-191-2/+2
|\ | | | | NULL check to prevent segfault
| * NULL check to prevent segfaultAdrián Medraño Calvo2018-09-111-2/+2
| |
* | Halo distances must be absolute valuesAdrián Medraño Calvo2018-09-111-2/+2
|/
* Expand scale range to be at least DBL_EPSILONAdrián Medraño Calvo2018-07-131-8/+20
| | | | | | | | | A very small data range (from zero to a small floating point subnormal) caused nTicks to be excessively big, ending up in a request for a huge memory allocation for the axis. This commit limits the number of ticks and the scale range to values less than the floating point epsilon.
* Merge pull request #12 from prs-de/export-tkblt-initv3.2.8William Joye2017-09-061-4/+4
|\ | | | | Export Tkblt_Init and Tkblt_SafeInit symbols
| * Export Tkblt_Init and Tkblt_SafeInit symbolsAdrián Medraño Calvo2017-08-291-4/+4
| |
* | Add missing include defining NANAdrián Medraño Calvo2017-08-291-0/+1
|/ | | | | Fixes problem introduced by 95101fc9f957cb4c3eee8b56b455e8b1f883e014 (Interpret empty strings as NaN) when compiling with MSVC.
* Interpret empty strings as NaNAdrián Medraño Calvo2017-08-011-1/+10
|
* Add -tickformat axis option, rename -command option to -tickformatcommandAdrián Medraño Calvo2017-07-282-8/+18
|
* Stop checking for NULL before freeAdrián Medraño Calvo2017-07-2816-143/+74
| | | | The 'delete' operator checks whether the lvalue is NULL before freeing.
* Prevent dangling pointerAdrián Medraño Calvo2017-07-271-1/+3
| | | | | The freed pointer would dangle as a result of the early exit, causing a double-free upon next Blt::LineMarker::map invocation.
* Make sure enough arguments are passed before accessing themAdrián Medraño Calvo2017-07-271-0/+6
| | | | | | Would eventually segfault when invoking: .g inside 0;
* Update axis' margin when using itAdrián Medraño Calvo2017-07-271-0/+2
|
* Use axis' own classid to determine the typeAdrián Medraño Calvo2017-07-271-2/+6
|
* Import std namespaceAdrián Medraño Calvo2017-07-251-0/+1
|
* Correct function nameAdrián Medraño Calvo2017-07-211-1/+1
|
* Fix MSVC's C2375 "redefinition with different linkage"Adrián Medraño Calvo2017-07-213-63/+60
| | | | | | | Apply Tcl's mechanism for reusing headers as internal and public API: presence of a particular preprocessor definition (BUILD_tkblt) switches declarations from specifying symbols "to be imported" or, alternatively, "exporting".
* Add cmath and printf wrappers for WindowsAdrián Medraño Calvo2017-07-2110-4/+87
| | | | Needed for compiling with MSVC 2010.
* Fix polymorphic variant in jump tableAdrián Medraño Calvo2017-07-211-15/+15
|
* Enforce explicit downcasting of numeric valuesAdrián Medraño Calvo2017-07-2120-166/+186
| | | | | | | As part of the change, upgrade tkblt internal structures from short/float to int/double, as those are artifacts of the legacy code relying on X. Downcast to short at the latest stage: when interfacing with X.
* Use double for comparing with GraphOption's aspectAdrián Medraño Calvo2017-07-211-2/+2
|
* Upgrade BarGroup's lastY to doubleAdrián Medraño Calvo2017-07-211-1/+1
|
* Upgrade BarGroup's sum to doubleAdrián Medraño Calvo2017-07-212-2/+2
|
* Remove superfluous literal suffixesAdrián Medraño Calvo2017-07-215-9/+9
|
* Upgrade getBoundingBox angle to doubleAdrián Medraño Calvo2017-07-214-8/+8
|
* Upgrade vScale_/hScale_ to doubleAdrián Medraño Calvo2017-07-212-4/+4
|
* Place axes within their area when using multiple axis in a single marginAdrián Medraño Calvo2017-07-201-51/+51
|
* Better align with TEA's expected file layoutAdrián Medraño Calvo2017-07-1893-0/+30103
TEA is quite picky about packages placing their sources in the generic/, unix/, etc. directories. An immediate benefit of this change is support for building in a separate directory.