From 3241ae37e0a0ec1ecfd24bf28b7e17d9310036d4 Mon Sep 17 00:00:00 2001
From: mario4tier
Date: Sat, 21 Dec 2024 18:01:42 -0500
Subject: [PATCH] website - update installation instructions
---
CHANGELOG.md | 11 +++--
docs/api.md | 4 +-
docs/install.md | 115 +++++++++++++++++++++++++++++++++++++++++++++---
mkdocs.yml | 4 +-
4 files changed, 119 insertions(+), 15 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 87e6ea5e..d4c576be 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,21 +7,24 @@ Only notable changes are documented here. See GitHub commits for all changes.
## [0.6.0] 2024-12-24
### Added
- Packaging automation for various platforms, notably Windows 64 bits.
-- Fix for very small inputs to TA functions (floating point epsilon problem).
+
### Fixed
- Autotools and CMakeLists.txt have been modernized.
-
+- Fix for very small inputs to TA functions (floating point epsilon problem).
+-
### Changed
- Static/Shared lib file names uses hyphen instead of underscore. This was needed for some package naming convention.
In other word, look for "ta-lib" instead of "ta_lib".
- Example: when linking you now use "-lta-lib" instead of "-lta_lib".
+ Example: when linking you now specify "-lta-lib" instead of "-lta_lib".
- C/C++ headers are now under a "ta-lib" subdirectory. You may have to change your code accordingly.
- Example: `#include ` instead of `#include `
+ Best way to handle this is to add the headers path to your compiler (e.g. `-I/usr/local/include/ta-lib` for gcc).
+
+ Alternatively, you can modify your code to `#include ` instead of `#include `
This change is for namespace best-practice for when TA-Lib is installed at the system level.
diff --git a/docs/api.md b/docs/api.md
index ec0e6130..9a377203 100644
--- a/docs/api.md
+++ b/docs/api.md
@@ -447,7 +447,7 @@ function call.
TA-Lib is multi-thread safe where it matters the most for performance: When calling any TA functions (e.g. TA_SMA, TA_RSI etc... )
-One important caveat is the initialization of the "global setting" must first be all done from a single thread. That includes calls to:
+One important caveat is the initialization of the "global settings" must first be done from a single thread. That includes calls to:
- TA_Initialize
- TA_SetUnstablePeriod, TA_SetCompatibility
@@ -458,6 +458,6 @@ function call.
One exception to the rule is TA_Shutdown() which must be called single threaded (typically from the only thread remaining prior to exit your application).
-Note: TA-Lib uses C11 malloc/free which is a thread safe default on all modern platforms (Linux,Windows,Mac). Just keep that in mind if you modify the Makefile to link with a C runtime library other than the default installed on your system.
+Note: TA-Lib assumes it is link to a thread safe malloc/free runtime library, which is the default on all modern platforms (Linux,Windows,Mac). In other word, safe with any compiler supporting C11 or more recent.