head 1.3; access; symbols pkgsrc-2023Q1:1.2.0.104 pkgsrc-2023Q1-base:1.2 pkgsrc-2022Q4:1.2.0.102 pkgsrc-2022Q4-base:1.2 pkgsrc-2022Q3:1.2.0.100 pkgsrc-2022Q3-base:1.2 pkgsrc-2022Q2:1.2.0.98 pkgsrc-2022Q2-base:1.2 pkgsrc-2022Q1:1.2.0.96 pkgsrc-2022Q1-base:1.2 pkgsrc-2021Q4:1.2.0.94 pkgsrc-2021Q4-base:1.2 pkgsrc-2021Q3:1.2.0.92 pkgsrc-2021Q3-base:1.2 pkgsrc-2021Q2:1.2.0.90 pkgsrc-2021Q2-base:1.2 pkgsrc-2021Q1:1.2.0.88 pkgsrc-2021Q1-base:1.2 pkgsrc-2020Q4:1.2.0.86 pkgsrc-2020Q4-base:1.2 pkgsrc-2020Q3:1.2.0.84 pkgsrc-2020Q3-base:1.2 pkgsrc-2020Q2:1.2.0.80 pkgsrc-2020Q2-base:1.2 pkgsrc-2020Q1:1.2.0.60 pkgsrc-2020Q1-base:1.2 pkgsrc-2019Q4:1.2.0.82 pkgsrc-2019Q4-base:1.2 pkgsrc-2019Q3:1.2.0.78 pkgsrc-2019Q3-base:1.2 pkgsrc-2019Q2:1.2.0.76 pkgsrc-2019Q2-base:1.2 pkgsrc-2019Q1:1.2.0.74 pkgsrc-2019Q1-base:1.2 pkgsrc-2018Q4:1.2.0.72 pkgsrc-2018Q4-base:1.2 pkgsrc-2018Q3:1.2.0.70 pkgsrc-2018Q3-base:1.2 pkgsrc-2018Q2:1.2.0.68 pkgsrc-2018Q2-base:1.2 pkgsrc-2018Q1:1.2.0.66 pkgsrc-2018Q1-base:1.2 pkgsrc-2017Q4:1.2.0.64 pkgsrc-2017Q4-base:1.2 pkgsrc-2017Q3:1.2.0.62 pkgsrc-2017Q3-base:1.2 pkgsrc-2017Q2:1.2.0.58 pkgsrc-2017Q2-base:1.2 pkgsrc-2017Q1:1.2.0.56 pkgsrc-2017Q1-base:1.2 pkgsrc-2016Q4:1.2.0.54 pkgsrc-2016Q4-base:1.2 pkgsrc-2016Q3:1.2.0.52 pkgsrc-2016Q3-base:1.2 pkgsrc-2016Q2:1.2.0.50 pkgsrc-2016Q2-base:1.2 pkgsrc-2016Q1:1.2.0.48 pkgsrc-2016Q1-base:1.2 pkgsrc-2015Q4:1.2.0.46 pkgsrc-2015Q4-base:1.2 pkgsrc-2015Q3:1.2.0.44 pkgsrc-2015Q3-base:1.2 pkgsrc-2015Q2:1.2.0.42 pkgsrc-2015Q2-base:1.2 pkgsrc-2015Q1:1.2.0.40 pkgsrc-2015Q1-base:1.2 pkgsrc-2014Q4:1.2.0.38 pkgsrc-2014Q4-base:1.2 pkgsrc-2014Q3:1.2.0.36 pkgsrc-2014Q3-base:1.2 pkgsrc-2014Q2:1.2.0.34 pkgsrc-2014Q2-base:1.2 pkgsrc-2014Q1:1.2.0.32 pkgsrc-2014Q1-base:1.2 pkgsrc-2013Q4:1.2.0.30 pkgsrc-2013Q4-base:1.2 pkgsrc-2013Q3:1.2.0.28 pkgsrc-2013Q3-base:1.2 pkgsrc-2013Q2:1.2.0.26 pkgsrc-2013Q2-base:1.2 pkgsrc-2013Q1:1.2.0.24 pkgsrc-2013Q1-base:1.2 pkgsrc-2012Q4:1.2.0.22 pkgsrc-2012Q4-base:1.2 pkgsrc-2012Q3:1.2.0.20 pkgsrc-2012Q3-base:1.2 pkgsrc-2012Q2:1.2.0.18 pkgsrc-2012Q2-base:1.2 pkgsrc-2012Q1:1.2.0.16 pkgsrc-2012Q1-base:1.2 pkgsrc-2011Q4:1.2.0.14 pkgsrc-2011Q4-base:1.2 pkgsrc-2011Q3:1.2.0.12 pkgsrc-2011Q3-base:1.2 pkgsrc-2011Q2:1.2.0.10 pkgsrc-2011Q2-base:1.2 pkgsrc-2011Q1:1.2.0.8 pkgsrc-2011Q1-base:1.2 pkgsrc-2010Q4:1.2.0.6 pkgsrc-2010Q4-base:1.2 pkgsrc-2010Q3:1.2.0.4 pkgsrc-2010Q3-base:1.2 pkgsrc-2010Q2:1.2.0.2 pkgsrc-2010Q2-base:1.2 pkgsrc-2010Q1:1.1.1.1.0.4 pkgsrc-2010Q1-base:1.1.1.1 pkgsrc-2009Q4:1.1.1.1.0.2 pkgsrc-2009Q4-base:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.3 date 2023.06.07.07.03.43; author wiz; state dead; branches; next 1.2; commitid JK1l6rOB7AFQ3ZrE; 1.2 date 2010.05.15.07.12.00; author adam; state Exp; branches; next 1.1; 1.1 date 2009.12.11.20.44.38; author drochner; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2009.12.11.20.44.38; author drochner; state Exp; branches; next ; desc @@ 1.3 log @fityk: update to 1.3.2. User-visible changes in version 1.3.2 (2022-08-06): * SNIP background (Cristiano Fontana) * GUI: fixed layout with GTK3 * bug fixes User-visible changes in version 1.3.1 (2016-12-21): * GUI: more options in the peak-top menu * GUI: Tools > XPS KE <-> BE * added utilities F.findx(), F.extremum(), centile(N, expr), %peak.IB * bug fixes, as always User-visible changes in version 1.3.0 (2015-05-25): * support filenames with non-ascii characters * simple-variable ~NUM can be followed by domain, e.g.: %f=Linear(~3[2:5], ~8) and also default parameters can have domain (...shape=~0.5 [0:1],...), Voigt and PseudoVoigt have now shape with default domain [0:1] * if variable has a domain (example: $a = ~1.2 [-3:4]) then "$a = ~3" keeps domain of $a (also "a={$a}; $a=~{a}" preserves domain) "$a = ~3 [:]" unsets domain "$a = copy($x) - copy $x with domain * new boolean box_constraints option decides if domains are used as box constraints in fitting methods that support it (default: on) * GUI: added auto-completion to Lua script editor * xyConvert is now part of xylib (removed flag --disable-xyconvert) * command "reset" does not reset Lua VM (to allow "reset" from Lua scripts) * Lua: add Python-style formatting (e.g."%d pigs" % 3) using __mod for strings User-visible changes in version 1.2.9 (2014-04-13): * fitting: - a few optimization methods from the NLopt library have been added - MPFIT and NLopt methods support box constraints - simplifications that made using external libraries easier: - removed stopping criterium based on iterations. The max. number of WSSR evaluations can be used instead. - removed fit continuation (fit +N) * new function Sigmoid and new category of functions (S-shaped/step/sigmoidal) * GUI: added menu Session > Recent Scripts * GUI: added checkbox to Functions > Export Peak Parameters * GUI: added "decimal comma" option to Data > Load dialogs. User-visible changes in version 1.2.1 (2012-11-05): * added commands '=' and 'exec=' - shorthands 'lua return' and 'lua F:execute' * API: default dataset in a few functions changed from @@0 to the currently used * GUI: new dialog GUI > Configure > Default Directories * a few tweaks and fixes related to printing, and other bug fixes User-visible changes in version 1.2.0 (2012-05-24): * added fitting method "mpfit" -- wrapper around MINPACK-1 based MPFIT library (http://www.physics.wisc.edu/~craigm/idl/cmpfit.html) * changed public API of libfityk; now cfityk uses only public API * added C API and Ruby and Java bindings to libfityk * enhanced Python API and added Python equivalent of cfityk (samples/cfityk.py) * CLI: cfityk can be built with libedit (but it works better with readline) * in scripts, backslash (\) at the end of line means line continuation * bug fixes, as usually User-visible changes in version 1.1.1 (2011-09-28): * option exit_on_warning=0/1 was replaced with on_error=stop/exit; new option on_error=nothing allows to ignore errors in script. * current working directory can be changed using new option `cwd' * GUI: a new dialog for Model > Export Formula * minor bug fixes User-visible changes in version 1.1.0 (2011-07-18): * embedded Lua (lightweight programming language) * syntax changes and enhancements in dataset transformations (@@n = ...); example: "@@0 = @@0 - 0.23 * @@1" removes (background) @@1 with y's scaled by factor 0.23 from dataset @@0; if @@0 and @@1 have different x's, linear interpolation is used. * added calculation of Polyline derivatives, what enables weighted least squares approximation by broken lines * gzipped fit files can be read directly (extension .fit.gz or .fityk.gz) * new option max_fitting_time -- stopping criterium based on elapsed time * GUI: mouse wheel and mouse extra buttons can be used to zoom in/out * Mac GUI: added Session > New Window that opens new window (open -n Fityk.app) * GUI: added optional, configurable description in the corner of the main plot * GUI: Session > Copy to Clipboard works differently and on all platforms now * GUI: enhanced file dialogs: Data > Quick Load and Session > Save as Image * fixed all reported bugs User-visible changes in version 1.0.2 (2011-06-08): * changed Data > Load File dialog * fixed a few minor problems and a major one (GUI not working on OSX 10.5) User-visible changes in version 1.0.1 (2011-03-30): * corrected calculation of Exponentially Modified Gaussian * added calculation of confidence intervals * GUI: anti-aliasing (can be switched off in menu GUI > Anti-aliasing) * added (experimental) option guess_uses_weights that changes peak "guessing" * as usually, a few bug fixes and minor changes in the GUI User-visible changes in version 1.0.0 (2011-03-18): * fixed bugs: several bugs in the powder diffraction add-on, problem with negative simple-variables, crash when the status bar has an extra value set * GUI: several changes necessary to make the program working on OSX (>= 10.4) * GUI: new configuration dialogs for plots * GUI: all configs including the default one are now stored in .fityk/configs/ * samples are always installed, removed configure option --with-samples, added menu Help > Examples in the GUI * requires wxWidgets >= 2.9.1 User-visible changes in version 0.9.8 (2011-06-08): * several bug fixes ported from version 1.0.2 (unlike 1.x, this version can be built with wxWidgets 2.8) @ text @$NetBSD: patch-aa,v 1.2 2010/05/15 07:12:00 adam Exp $ --- src/cli/main.cpp.orig 2010-05-05 22:45:31.000000000 +0000 +++ src/cli/main.cpp @@@@ -410,7 +410,9 @@@@ RlHistoryManager::~RlHistoryManager() if (hist_file_size <= 0) hist_file_size = 500; write_history (hist_file.c_str()); +#if 0 history_truncate_file (hist_file.c_str(), hist_file_size); +#endif } } @ 1.2 log @Changes 0.9.2: * To compile fityk, Boost (only headers) and xylib must be installed first. Fityk tarball does not contain a copy of boost and xylib now. * user-defined functions: split functions can be defined in this way: SplitG(h, c, w1, w2) = x < c ? Gaussian(h, c, w1) : Gaussian(h, c, w2) * added info-numeric-format option * a couple of bug fixes Changes 0.9.1: * added cfityk to Windows installer * Unix only: fitting can be interrupted by the INT signal * changed output of "info errors", see the manual for details * GUI: "plot in @@n" changes selected datasets (useful in scripts) * many bugs fixed Changes 0.9.0: * GUI: Data > Editor dialog was replaced with two dialogs: Data > Table and Data > Edit Transformations * added Lua bindings (configure option --enable-lua) * a syntax to execute output from external program: command ! program [args...] * xyConvert (which requires wx 2.9) is built by default. Added flag --disable-xyconvert, which must be used with wx 2.8. * parsing of info command was rewritten, but functionality is almost the same * bug fixes @ text @d1 1 a1 1 $NetBSD$ @ 1.1 log @Initial revision @ text @d3 1 a3 1 --- src/cli/main.cpp.orig 2009-06-22 13:55:54.000000000 +0200 d5 1 a5 1 @@@@ -397,7 +397,9 @@@@ RlHistoryManager::~RlHistoryManager() @ 1.1.1.1 log @add fityk-0.8.9, a peak fitting program @ text @@