Skip to content
This repository has been archived by the owner on Jun 27, 2019. It is now read-only.

Releases: solettaproject/soletta

Milestone Release v1_beta3 - 08/31/15

31 Aug 22:28
Compare
Choose a tag to compare
Pre-release

Release announcement by Bruno Dilly, originally sent to soletta-dev.

For this release most of changes were fixes, mainly on build system, comms,
aio, fbp-generator and modules 'int', 'float', 'gtk', 'strings',
'random', 'wallclock'.

In node types front, many were modified to send error packets
instead of just warning about issues and a few new node types were added,
like temperature/humidity sensor and string/regexp-search.

Some changes were done in order to port Soletta to RIOT.

Duktape dependency issues were reduced making JS metatype a module and
pushing only generated duktape.[c|h] in an extra repo.

sol-iio received many improvements, including support to list and create
IIO devices on sysfs.

Extra features were added to fbp-runner in order to make simulations easier
while a lot of refactoring and fixes wre done on fbp-generator.

Issues resolved in this release (11):

#607 [P3] random: integer errors reported by -fsanitize=undefined
#576 we should separate CFLAGS, HOSTCFLAGS and TARGETCFLAGS
#562 fbp-generator issues
#561 Reduce the amount of generated code outside build/stage
#550 test
#546 some tests contained in src/test-fbp failed to run in Minnowboard
#543 tests contained in /src/test-fbp and src/samples/flow/unix-socket failed in Galileo Gen2 Plattform
#536 Convert sol-util functions to use sol-buffer
#463 warning in make output
#415 [P2] make failure /udev/udev.c:154:17: error: void value not ignored as it ought to be
#19 Completion of error handling

Open issues (14):

#663 [P2] string related tests contained in soletta/src/test-fbp/ failed to run in Galileo board G2.
#653 [P2] failed running soletta/src/test-fbp/bitwise-int.fbp in Minnowboard
#552 [P2] fbp tests contained in /src/samples/flow/unix-socket failed to run in Edison board
#551 [P2] Examples in src/flow/unix-socket failed to run in Edison board
#549 [P3] Tests in src/test-fbp failed to run in minnowboard
#548 [P2] Tests in /src/test-fbp and src/samples/flow/unix-socket failed in Galileo Gen2
#535 Convert string buffer manipulation to use sol_buffer
#528 [P2] sdk couldn't resolve type 'LCDChar' of node 'lcd' for the examples in galileo-grove-kit/lcd
#525 [P2] PWM on the galileo gen 2 is not working
#515 OpenSuse package
#513 Ubuntu Package
#512 Fedora Package
#487 build: there should be a way to config a debug build
#408 soletta building from source fails

Changes in this release (189 commits):

bf5c00d scripts/gen-release-note: support options to fetch "closed after"
9b05da1 dep-resolver: let the users overwrite project's definitions
3b5e576 build: bring back soname and generage libsoletta.so.$(MAJOR)
004aaba README: semaphoreci.com/solettaproject
33dabe3 AIO setup was never called because of incorrect ifdef check
24daf5b pin-mux: Fix missing 'hole' in Edison AIO vector
cdc1504 sanitizing the init() functions
523e5d1 generator: Fix segfault
b57aed0 runner: Fix -I option
cae6f50 Remove wrong \n terminators on error strings of error packets.
9024c4a Add string/regexp-replace node, with tests.
f8d15fe Make string/replace option to generate error on no matches.
8e3cb6f Fix sanitizer run-time error and bad node naming on sample fbp.
d97adb1 build: properly unquote CONFIG_CFLAGS and CONFIG_LDFLAGS
69f00c9 modules/gtk: set min width for labels
abd6331 build: fix requires-private
f420a84 Add -I option to sol-fbp-runner
7c7e7da flow/random: Use random_r() if available
662515a flow/random: Initialize random seed with platform-specific methods
7b6a775 flow/random: Store state as unsigned int to avoid UB in 32-bit
f842532 build: make sure we reset obj--[y,m] variables
1446f1c Fix typo
3a13473 comms: Very simplistic port of sol-socket for RIOT
e8bd3f7 comms: Identify interfaces by their controlling thread pid
1424f3e comms: Turn sol-socket into a very simple BSD sockets wrapper
cd15d1c comms: Avoid registering a CoAP observer more than once
6ac92fe comms: Portably check endianness
ef245a7 comms: Add sol_network_addr_from_str
5d89b95 comms: Adapt, again, to RIOT API name changes
0930076 comms: OIC client is not using ioctl, so don't include the header.
ecb9c9d flow: Fix building when sizeof(int) != sizeof(int32_t)
1c1402d Use the actual project's domain for the mailing list address
7832cc5 build: [linux-micro] remove module's prefix
bc62b31 build: module's id should be composed with subdir
89922d3 build: parse-mod-
should not know about $(mod)
8c3991f sol-iio: Read channel value file into a int64_t variable
dbcbae8 sol-iio: Read channel raw buffer
efc22ac sol-iio: Fix attribution
c47511f sol-util-file: Ensure no overflows when filling buffer
b37442e sol-util-file: Dead code and check function return
3283528 Cache sol_flow_packet_get_type return
6c8b4c6 modules/console: send error packet
3692259 modules/console: clean up process function
1d074ca fbp-generator: fix potentially use of unitialized variable
eefbbe4 build: Use encoding=UTF-8
0b0d12f build: turn optional the use of rpath
1069974 build: compiler options
54c5a88 Add -I option to sol-fbp-generator
31b8ab4 build: add success msg if stub generator is fine
7f384d6 stub-gen: support location packet type
5077352 flow: remove location as option
ee877f7 Remove old tests-fbp directory
719ef81 build: move test outputs to build dir
90af0e9 Fix coverage report
0167fee gpio: fix missing header
8ca68fa comms/http-client: rename sol_http_client_pending as connection
7638a44 modules: cancel pending requests on close()
235fbb3 comms/http-client: pass connection when calling request cb
d1ef142 modules/flower-power: on float read fail, mark value as NAN
240c1e1 modules/flower-power: use sensor ranges and improve documentation
987d614 modules/flower-power: properly expose measures thresholds
0208f31 modules/flower-power: drop API to handle packets passing components
4e34437 Wallclock: Add option to send initial packets.
914611e fbp-generator: fix options handling
b3401ae iio-gyroscope: Using new IIO API to find a device
e29347c sol-iio: List of commands to find/create IIO device on sysfs
6660bd3 sol-i2c[-linux]: Function to create a new i2c device on sysfs
96fffc2 sol-util-linux: sol_util_iterate_dir - a helper to iterate over dirs
329fbd1 comms: Fix unreachable code
e416a43 comms: Fix wrong function's extern signature
0ffe9ff datatypes/vector: fix memset arithmetics
446bc7e flow: make JS metatype a module
ded44e1 flow: add support for metatype modules
eb87333 flow: don't use flow internals in JS
3bd401e flow: decouple type creator functions from sol-flow-parser
ae1a3d4 flow: rename 'kind' to 'metatype'
cc8a348 test: use a table of inputs/outputs
c065eeb shared: add sol_lib_loader
63a3e93 build: function that decides mod type shouldn't rely only of prefix
d4d9f0f build: split static and shared lib build
af63bff Make it possible for the user to disable libpcre dependency lookup.
839b065 build: sol_config.h should be regenerated with .config-cache
dde57f3 platform: fix handling failures when adding a new service monitor.
e23c91b build: add Requires.private to soletta.pc
4674131 Fix make samples
7032b46 build: make sure we've kconfig/conf built
3baae03 Add a trash disposer flow application
d1832c1 sol-network-linux: Fix segfault on sol_buffer usage
f392f4e Add new string/regexp-search node, with tests.
41e7617 Fix misusage of sol_flow_send_error_packet WRT sign of error code.
62c328b Fix some format strings.
dd71220 sol-conffile: Remove quotes from strings
9674834 parsers/json: add function to drop quotes from tokens
4b44e45 sol-util-file: sol_util_fill_buffer() now works with sol_buffer
e25b1ca sol-buffer: New helper functions to work with sol_buffer
8b76538 comms:http:client: Make possible cancel a request
18a7369 tools/run-fbp-tests: support python 2 and 3
dffc771 modules: use SOL_JSON_TOKEN_STR_LITERAL_EQ on http client modules
b96bf27 modules/byte: check return value of packet_get_byte
a80200d modules: fix float and int modules regarding signedness
53192ed sol-types: add macros to initialize irange and drange
9470378 sol-http-client: add macro to check response API version
0093fb1 sol-iio: Make creation of sysfs triggers more reliable
baaf18d fbp-generator: add missing clear for args.json_files
2a49cdc fbp-generator: move conf file access check to parse_args
064c2e8 fbp-generator: associate type_description directly with node
b1f0e8b fbp-generator: use the version define inside generated code
9b5eb36 fbp-generator: reorder and cleanup includes
c36cef2 fbp-generator: use sol_buffer
bc2a920 fbp-generator: isolate the code from how we output
6a2df37 fbp-generator: better error message for unsupported DECLARE
b084198 fbp-generator: improve the -s option
46d5d7c fbp-generator: don't repeat calls to init_type()
876e24f fbp-generator: clean up the information collection
87188f5 modules/float: fix operations with more than 2 ports
d106e71 modules/int: fix operations with more than 2 ports
0eaa532 datatypes: make vector initialize memory to zero
83f7e99 datatypes: add sol_vector_append_n()
f08dcf9 datatypes: make grow accept an amount
d90e737 build: build/gen everything out of src dir
193df76 gtk: make the window scrollable
f3f390c linux-micro/network-up: depends on NETWORK.
7839df0 modules/temperature: add converter node type
db4eeb7 modules: standardize temperature ports
c6dcfe5 build: add warning message support
2a301d9 sol-missing: split IFLA_INET6_MAX and IFLA_INET6_ADDR_GEN_MODE.
7b4c771 sol-missing: automatically included.
42d3210 dependencies: relax _GNU_SOURCE check.
27dc036 http-client-curl: fix errors when using cURL's type-check.
47d7b43 log-linux: casts on pthread_t to work on musl.
a08d859 wallclock: fix comparison of signed and unsigned.
34b0178 dep-resolver: log dependency tests
15fd992 build: generate soletta.pc on build time
da5a3f3 build: don't recursively call silentoldconfig
b9a045f build: make sure we have .config before anything
b4497d4 check-license: ignore makefiles
af12e84 fbp-generator: ...

Read more

Milestone Release v1_beta1 2015-08-14

29 Aug 14:26
Compare
Choose a tag to compare
Pre-release

Release announcement by Bruno Dilly, originally sent to soletta-dev.

This is the first milestone release after project was launched, so a lot of things changed since then. We've moved to kbuild, added support to create node types using JavaScript and exposed C API to make it possible to a developer use Soletta even if flow isn't wanted.

We intend to keep milestone releases on a monthly basis, so we may provide more stable builds to be used by our QA team to test it and report more easily. It should benefit users as well.

A few days before each milestone release we'll focus on bug fixes, closing as many P1 bugs filled on Github as possible and keeping Soletta free of any issue qualified as high impact by Coverity.

Issues resolved in this release (18):

#514 ArchLinux Package (barbieri)
#473 Disabling Worker thread breaks the build (rchiossi)
#424 sol-fbp-generator fails to generate a .c file (dborquez)
#401 The workaround to set the GPIO pins for Linux Kernel version is >= 3.18 doesn't work. (dborquez)
#377 sol-fbp-runner has misleading error message and doesn't accept unexpected node metadata (davidmaxwaterman)
#335 sol-flow-static shouldn't always duplicate options. (barbieri)
#287 sol-flow-builtopts.h included from two different places break pragma once (cmarcelo)
#189 irange-buffer.fbp test failing when running with valgrind (cmarcelo)
#147 sol-pin-mux-impl.h is not C++-friendly (thiagomacieira)
#124 review dependency resolver... (dorileo)
#119 kbuild: kdbus in kconfig is misleading (lucasdemarchi)
#118 kbuild: missing auto-include of sol_config.h (lucasdemarchi)
#117 kbuild: warnings are gone (lucasdemarchi)
#97 sol-missing.h defines EBADR to silly value (thiagomacieira)
#89 Can't include both linux/i2c.h and linux/i2c-dev.h if i2c-dev is provided by i2c-tools (thiagomacieira)
#80 Failure to build with kernel headers 3.16 or older (thiagomacieira)
#79 Out-of-source build is broken (thiagomacieira)
#18 Complete build options for Pthread API (elfring)

Open issues (12):

#536 Convert sol-util functions to use sol-buffer (barbieri)
#535 Convert string buffer manipulation to use sol_buffer (barbieri)
#528 sdk couldn't resolve type 'LCDChar' of node 'lcd' for the examples in galileo-grove-kit/lcd (dborquez)
#525 PWM on the galileo gen 2 is not working (glima)
#515 OpenSuse package (barbieri)
#513 Ubuntu Package (barbieri)
#512 Fedora Package (barbieri)
#487 build: there should be a way to config a debug build (cmarcelo)
#463 warning in make output (davidmaxwaterman)
#415 make failure /udev/udev.c:154:17: error: void value not ignored as it ought to be (dborquez)
#408 soletta building from source fails (dborquez)
#19 Completion of error handling (elfring)

Changes in this release (692 commits):

59644a5 Fix coverity error report on linux-micro/console.
c1d6641 Fix wrong size on allocation.
abc7c1f scripts: add script to generate release notes
5b0ed53 Remove wrong header inclusion.
07838f3 sol-buffer: add sol_buffer_insert_printf()
7578603 sol-buffer: add sol_buffer_insert_slice()
3e395bb sol-buffer: add sol_buffer_at() and sol_buffer_at_end()
921b68d sol-buffer: add sol_buffer_get_slice_at()
5640f5a sol-buffer: check for size_t overflows.
cf6a516 sol-util: fix overflow-check return type.
0cb448a sol-buffer: add sol_buffer_get_slice()
2b9f127 sol-buffer: add sol_buffer_append_printf().
5f8b5fd buffer: allow buffers using memory that is not owned by it.
6f79a98 Fix some string formats for int32_t.
ed467a4 Move ICU helper macros into functions.
770dd6e Make sanitize depend on Linux
9ab6cc2 Exercise some utf8 chars on the string converter nodes.
d090c52 Code style fix.
45e166a Add string/replace node, with ascii and ICU variants.
23bde9c Add new sol_util_ssize_mul() overflow checking function.
44cabd3 string-icu: Memory issues
c12a596 flow: Fix memory leak in sol_flow_send_error_packet
08ee76f flow: Don't do double frees after calling sol_flow_send_packet
6fc5890 flow: packet is not deleted when send call fails
ea72c2d Fix build on RIOT
e185b20 build: Enable flow for RIOT
a84a4e6 flow: Make udev, gtk and icu also depend on Linux
3052f8d flow: Account for sizeof(int) != sizeof(int32_t)
3f1430e flow: Make sure we don't miss definitions on the ARM build
b29fad7 build: Rename FLOW option to avoid conflicts when building RIOT
3185b7e build: Ensure that node-types have their correct dependencies
b7d83dc unix-socket: Use sol_util_fill_buffer instead of read()
c109406 subprocess: Use sol_util_fill_buffer instead of read()
4679b82 stdin: Use sol_util_fill_buffer instead of read()
48d4eab keyboard: Use sol_util_fill_buffer instead of read()
8807624 evdev: Use sol_util_fill_buffer instead of read()
ef0c899 sol-uart-linux: Use sol_util_fill_buffer instead of read()
f0e2ca1 sol-network-linux.c: Use sol_util_fill_buffer instead of read()
cc838b4 sol-util-linux: Make size_read parameter of sol_util_fill_buffer optional
523cb52 Add a test for invalid shift operation
9b86558 Disable sanitize for dukttape
ab2dff3 we are dealing with unsigned numbers, not signed.
bb0426d Don't shift left negative numbers
940d7f1 Do not memcpy null
dd847f3 Valgrind : make it possible to ignore some tests
d0f2415 test: improve test-mainloop-linux
326e41f tools: fix missing space between variables
ec00782 comms/http-client: avoid leak of headers
ce963da modules/flower-power: fix token leak
8f3e242 sol-http: Fix leaking memory when the client exits
0afcb49 sol-vector: Add sol_ptr_vector_remove()
cb6a1ac Contiki: Fix undeclared SSIZE_MAX
a871bb6 Converter: Rename MIN and MAX macros
b132c9e Build fix on systems that don't have strndupa()
eb916cc Only build flow Javascript support on Linux
f4daeaa Only build flow node description and inspector when platform can build runnable programs
8f949c3 Only build keyboard node when compiling to Linux
7e4802a Add missing hardware dependency to magnetomer and max31855 nodes
c823fdf Contiki: Enable flow support
997483c io: use WORKER_THREAD symbol instead of PTHREAD
ab9bd39 modules/flower-power: make packet API more flexible
b7ed6c9 string-icu: Fix possible double-free
c8577ce sol-iio: Avoid unintented sign extension on shift operation
ff1e576 sol-iio: Initialise variables
d36eaa3 sol-iio: Resource leaking
ece20c7 Add a documentation note about the concurrency errors over SPI and UART
b8a9f4d I2C: Make API asynchronous
ae94820 I2C Linux: Improve sol_i2c_read_register_multiple()
e3cce66 I2C: Remove Linux implementation details from documentation
e28ac11 RIOT: Implement sol_i2c_read_register_multiple()
217beb8 build: add headers-m support
3a64819 iio: fix formatting of uint64_t.
afa429a test-mainloop-linux: fix build.
7730e0b Check if glibc have newer locale functions
57b6b02 Check style fix
134995d modules/flow/gtk: uses sol_glib_integration().
2b587bf mainloop: add sol-glib-integration.h
a84ddc0 dbus: use the generic mainloop event source.
a9e5800 mainloop: generic way to add an event source.
8828bfd libshared doesn't need glib anymore.
94981e7 flow-resolver-conffile: no need to include glib.h
a508baf Fix conf file options requirement.
da6d1d8 check-style: add option to replace files fixing coding style
1e3f606 Fix an error on ascii-only path.
eba2987 Separate string node implementations on own files.
bef9537 Now all string nodes are UTF-8-aware.
ab53eb3 Change sol_util_str_split()'s behavior WRT max_split argument.
dfe54e7 modules/flower-power: expose custom packet
3f7024e resolver: add more debug and warnings
c63851b fbp-generator: fix typo in data type name for direction-vector
0af59c0 node-types: IIO Gyroscope
2d8ea5e iio: Add Linux Industrial I/O support functions
db8b964 sol-util-linux: Expose sol_util_fill_buffer
17b8f09 sol-util-linux: Not hide errors on sol_util_vwrite_file
183281a flow: 'direction-vector' on options - missing include
85f9680 build: bring back -fsanitize=address|undefined flags
eb0fc42 modules/gtk: fix dependencies
ed9aa92 build: add soletta's specific help listing
a5e44f3 dep-resolver: remove python test code after completion
ee867c5 build: generate autodeps
3b0bbd5 License headers
870370d Contiki: Add missing comma
f45286e suite.py: show the failed tests output
88fc6be common: Rename 'platform name' to 'board name'
dd3e77d Fix Coverity-pointed mistake (typo).
a17dafa Document that fp numbers in FBPs must be in C locale form.
656390c modules/flower-power: Add module with 3 node types
9627932 Use RIOT's ng_net API to get interfaces information
5acb343 Fix gpio API to upstream RIOT changes
9e25041 Introduce sol_util_timespec_get_realtime()
5d104fc Implement sol_util_timespec_get_current() for RIOT
6ec937c Add missing definition of memmem()
d2dce8a Detect if we are building under RIOT-OS
d4ab45b Make features depend on what the OS supports
63b7134 Introducing feature set supported by OS
2938fb6 Use kbuild style makefiles instead of a bunch of ifs
3fed93d Remove COMMS config entry
44d8d9e Remove superfluous config entries
c1d5b0f Avoid re-definition of SOL_PLATFORM_LINUX
1c2a5f8 Don't build flow related stuff if flow is disabled
4d2a86f Remove redundant dependencies from flow modules
596dde9 Make sol-common-buildopts.h available to more users
75c9bb5 Move sol-socket to comms
e07add9 Remove unused variable
e19b2af sol-fbp-generator: fix segfault
cf45962 flow: Use sol_util_strtodn() instead of strtod().
78e6590 flow: Use sol_util_strtodn() to parse floating point options
1d111bc util: Calculate string length if negative length is passed to strtodn()
0c2af26 shared: Fix compiler warning if HAVE_STRTOD_L is not defined
3b57c40 freegeoip: Remove do { ... } while(0) in JSON_FIELD_TO_FLOW_PORT macro
df4028a flow/freegeoip: Use new JSON number parsing routines
a5f8b80 oicgen: Use new JSON number parsing routines
ac672db node: Fix spi_config initialization in max31855
2c65289 flow options: Fix null pointer dereference
5e4605f flow: Change quotation mark in freegeoip description
83c84ff samples: add more re...

Read more

First snapshot release

06 Nov 21:30
Compare
Choose a tag to compare
Version 1 beta 0

This is the first git tag of Soletta. This version is known to work on
Linux and RIOT with 'make alldefconfig', but is still under heavy
development and all APIs may change before final version 1 release.