2016 Programming Bug Fixes

JIRASummaryDetails

ORG-12850

Modifying "internal.c" file in the code builder leads to crashNow changing the content of "internal.c" and overwriting the old one doesn't cause crash.

ORG-10355

Provide an option to treat zero derivative for ocmath_derivativeSolve the issue by setting deriv=0 for deriv0 * deriv1=0.

ORG-10366

Add image matrix Flip and transpose functionsAdd the new struct for matrix processing in opencv

ORG-2759

Support setting color scale using labtalkUser has access to spectrum properties.

ORG-12611

compiling fail to locate the dll file after remove/add the oc file.The dll file can be correctly located during compiling.

ORG-11813

Curve_derivative returns error when smooth factor is between 0 and 1

If dSmoothness=0.8, it will treats it as 0 (BSPLN_OFF).

change the code like: if( abs(dSmoothness) < 0.000000001 )

ORG-11706

Implement Gaussian Mixture Model Run TestGaussianMixtureModel_InitParamByObj to test the GMM agree with the result in Matlab.

ORG-12449

Breakpoint not working after restart if source file not inside exe folderBreakpoint is now still working when Origin is restarted.

ORG-12389

allow ocmath_compare_data() to compare numeric data by relative errorAdd bAbsoluteError argument in the function so that when set to false, it's comparing numeric data by relative error.

ORG-11706

Add Gaussian Mixture Model which can be used in image processing,cluster analysis, etc.Add functions like mvnpdf, mvncdf.

ORG-8618

MatirxLayer function Delete can cause Origin CrashDelete function for MatrixLayer is working properly.

ORG-12831

Improve the functions about getting plot type info.
compare_plot_types()  generate correct result. 

ORG-12746

compiling error when class method has pointer as return type.fixed

ORG-12706

Macro fails when name contains the word returnMacro with "return" in the name is allowed.

ORG-12674

Origin crash when use method of return objectCompiling doesn't crash Origin.

ORG-12632

Improve SCV calculation speedUse support function with vector arguments to improve the speed.

ORG-12591

Use OriginObject::SetName To Name A Workbook With The Same Name As Previous And Use Enumeration, Could Not Keep Complete LongName.fixed

ORG-12589

When The First Parameter Of OriginObject::GetUID Is False, The Function Still Create IDNo ID is created when the first argument of function GetUID is set to false.

ORG-13026

http_get_file() fails when URL contains port explicitlyURL with port is not a bad URL and now the function returns correctly.

ORG-13022

When a struct has an array of another struct, fails to get to the content of the arraygetting access to the element of a structure with an array of other structure is working fine.

ORG-12908

GETN_OPTION_MANUAL_RESIZE not work well. window size changed when inputting characters. Function works properly and window size maintained when the content is changed.

ORG-12560

Open A File With Just Write Mode, But ReadString() For This File Returns True.ReadString() returns correctly when file is set as write mode.

ORG-12515

When The Third Parameter Of matrixbase::Replace Is A Combination Of Three bits, It Does not Work.the Replace() function is working properly when the 3rd argument is a comb of three bits.

ORG-12466

Execute Grid::Attach twice leads to runtime error.fixed.

ORG-13234

orglab dll issue: uint32 data type in C# and VB failed to be input into Workbook column and matrix. Shows all zeros for this datatype. unit32 data type can be properly input into workbook column and matrix.

ORG-13402

Don't support Moving Correlation Coefficient function before.Add MovCoef() function to the library.

ORG-13439

vector find function support finding numbers not equal to missing values.return true if not finding a missing value NANUM.

ORG-13568

Dataset class doesn't support categorical columnnow we can access category column through CategoricalData().