Skip to content

Tags: libplctag/libplctag

Tags

v2.6.1

Toggle v2.6.1's commit message
Changed byte order padding setting to pad to 1 byte. Seems to work wi…

…th ControlLogix.

v2.6.0

Toggle v2.6.0's commit message
Setting the version back to 2.6.0 as the other changes are pretty minor.

v2.5.6

Toggle v2.5.6's commit message
Missed adding this file on the previous commit.

v2.5.5

Toggle v2.5.5's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Prerelease fix #401, fix #404, fix #405 (#406)

* Make shutdown kill tags, add debug sanitizers, fix 401 (#402)

* Bump version for next release.

* Clean up packet debug output code.

* dump out 16 bytes at a time for packet dumps.

* Make tag_id 32 bit on all platforms.

* Set the tag ID for debugging output.  This could be called from a thread where this is not set correctly.

* make plc_tag_shutdown() destroy all resources, synchronously.

* Fix reuse of rc tag handle.   Original pointer was not changed by rc_inc().

* Add shutdown test.

* Add sanitizers to debug builds.

* Remove unused variables.

* Get this compiling under Windows.

* Update and fix tag events (#403)

* Add async tests for Modbus and Logix.

* Run new async event tests.

* Fire created event outside of the timeout loop.

* Add async event callback logix test.

* refactor tag tickler to raise events directly.

* Refactoring how PLCTAG_EVENT_CREATED is handled for async tag creation.  Trying to emit CREATED event when initial read is complete.

* Suppress initial read from raising an event.

* Add checks for unexpected read events before create is finished.

* Fixed links to Go wrapper and rearranged links to promote the organization projects more.

* fix minor typos in the README

* Trying to get highlighting right for libplctag.NET project.

* Use atexit() hook to call plc_tag_shutdown() to clean up all tag resources.

* Hook Windows DLL exit function to call plc_tag_shutdown() to clean up all tag resources.

* Try to fix up link errors due to address sanitizer and ubsan.

* Clear warnings from GCC.

v2.5.4

Toggle v2.5.4's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Prerelease merge fix 356 and fix 364 (#399)

* Fix 364.  A zero node ID in a DH  path would cause the wrong connection size to be used.

* Fix 356.   Filter spaces out in paths and in keys in attributes.

v2.5.3

Toggle v2.5.3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
fix 385 and fix 393 (#395)

* Fix 385 CLI fix

* Fix 393 (#394)

* Add back support for elem_type reading.   PCCC is fully supported, but CIP needs to use the actual type from the tag.

* Add code to pull back the elem_type for PCCC.

v2.5.2

Toggle v2.5.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Fix 371, fix 378, fix 381 - string termination, extra delay, and inco…

…rrect comparison (#383)

* Add condition to fail tag creation when elem_count is a negative value. (#366)

Fixes #365

* Change CI build to use Visual Studio 17 2022.  Apparently version 16 is gone on Github?

* Add checks to prevent out-of-bounds write on tag->encoded_name (#368)

Fixes #367

* Update stable vs. unstable versions.

* Bump version for next release.

* Fix 378.   Refactor condition var signal into common exit path of state SESSION_OPEN_SOCKET_START.

* Fix 381. Incorrect comparison in loop guarding cond_wait from spurious wakeups.

* Add null terminator to tag->name string (#372)

Fixes #371

Co-authored-by: Tina Johnson <[email protected]>

v2.5.1

Toggle v2.5.1's commit message
Now change the version number.

v2.5.0

Toggle v2.5.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Release for 2.5.0 (#354). Fix #275. Fix #338. Fix #344. Fix #352.

* Don't call the tag's abort function if it doesn't have one.

* Remove refactored common request status checking code.

* Add common request status checking code.
* Fix duplicate slash in path.

* Bump version for request use-after-free fix.

* callback with user data (#345)

* add callback with user data

* add test_callback2

* rename plc_tag_register_callback2 to plc_tag_register_callback_ex

* rename test_callback2 to test_callback_ex

* refer to each other

* start fix ups of version.

Co-authored-by: Kyle Hayes <[email protected]>

* Break apart the ifdef checks as something in Intellisense is breaking and setting _WIN32 even on Linux.

* Add test_callback_ex to POSIX build.

* Rename string.c to string_standard.c to support better string documentation.

* Fix string docs and examples (#347)

* Rename string.c to string_standard.c to support better string documentation.

* Split string examples into standard and non-standard.

* Update example docs to describe new string examples.

* Add string tests for standard and UDT strings.

* Fix up extended callback code.   Type of function pointer is not castable to/from a void pointer.  Formatting. (#348)

* Synthesize create events. (#349)

* Fix version comment, version 2.5 now.

* Synthesize create events.   Needs to be reworked when event queuing is done.

* Fix event status (#350)

* Add better (?) status handling for tag events.

* Raise and fire events with new functions.

* Add status output.   Fix required version on test_callback_ex.c.

* More event fixes.   Don't synthesize created event on started events.   Missed special tag created event raise code.

* Add @Joylei's windows event test.

* Change code to use extended callback and only wake one thread instead of all threads.

* Add create callback and fix missing events and duplicate events. (#351)

* Make mutex locking recursive.

* Raise a read started event when the initial read is triggered.

* Add callback to creation args so that early events can work.

* Fix event handle to avoid duplication, drops and handle early events.

* Clean up example of simple callback.

* Add create callback (#353)

* Make mutex locking recursive.

* Raise a read started event when the initial read is triggered.

* Add callback to creation args so that early events can work.

* Fix event handle to avoid duplication, drops and handle early events.

* Clean up example of simple callback.

* Add new ignorable directory to .gitignore.

* Remove direct calls to callback function and use raise and dispatch functions.

* DS_Store again.   Where is this coming from?

* Add debugging output of status when raising an event.

* Add casts to force status to correct size.

* Yikes, caught typo of plc_tag_destroy() called instead of plc_tag_decode_error()!

* Wasn't checking for test_callback_ex to exist before running tests.

* Backout change to aid merge.

* Add missing check for test_callback_ex.

* Output status when DELETE event is raised.

* Handle tag deletion events.

Co-authored-by: joylei <[email protected]>

v2.4.12

Toggle v2.4.12's commit message
Work around git snafu. Can't really delete tags in GitHub?