libqalculate:master

Last commit made on 2024-07-14
Get this branch:
git clone -b master https://git.launchpad.net/libqalculate

Branch merges

Branch information

Name:
master
Repository:
lp:libqalculate

Recent commits

0b02550... by Hanna K <email address hidden>

Fix saving of percentage interpretation in qalc (issue #683)

de0e2bf... by Hanna K <email address hidden>

Fix memory leaks

48d1b6d... by Hanna K <email address hidden>

Fix memory leaks

42c5af5... by Hanna K <email address hidden>

Fix memory leaks

80c3119... by Hanna Knutsson <email address hidden>

Merge pull request #678 from markozajc/master

Fix a conditional segfault when deleting DataObject

5b8a3a8... by Hanna Knutsson <email address hidden>

Merge pull request #679 from markozajc/insecure-export-load

Add load() and export() to the DISABLE_INSECURE list

b95ecf4... by Marko Zajc <email address hidden>

Add load() and export() to the DISABLE_INSECURE list

They both interact with the filesystem, which would be unsuitable for remote
applications.

4ca6bff... by Marko Zajc <email address hidden>

Fix a potential segfault when freeing DataObject

If a DataSet is loaded (for example, by evaluating "planet(earth)"), but not
all of its properties are initialized, attempting to free Calculator results
in a segmentation fault. The following example code triggers this:

    auto* calc = new Calculator(true);
    calc->loadGlobalDefinitions();
    calc->calculate("planet(earth)");
    delete calc;

This patch adds a null check before calling MathStructure::unref() in
DataObject's destruct

de8021a... by Hanna K <email address hidden>

Show error for unrecognized command line options when expression is separated from options by "--"

b033f70... by Hanna K <email address hidden>

Improve compatibility with MSVC (including replacement of variable length arrays)