feat: add news ticker with sentiment analysis and error codes to dwn.h and news.h headers
- Add DwnStatus enum with six error codes (OK, ERROR, INVALID_ARG, NO_MEMORY, NOT_FOUND, DISPLAY, IO) to include/dwn.h - Extend NewsArticle struct with NewsSentiment enum (NEUTRAL, POSITIVE, NEGATIVE) and sentiment_score float field in include/news.h - Insert DWN_ASSERT and DWN_ASSERT_MSG contract assertion macros plus assert.h include into include/util.h
This commit is contained in:
@@ -28,7 +28,7 @@
|
||||
<a href="architecture.html">Architecture</a>
|
||||
</div>
|
||||
</li>
|
||||
<li><a href="https://github.com/dwn/dwn">GitHub</a></li>
|
||||
<li><a href="https://retoor.molodetz.nl/retoor/dwn">Git</a></li>
|
||||
</ul>
|
||||
<div class="nav-toggle" onclick="toggleNav()">
|
||||
<span></span>
|
||||
@@ -496,21 +496,21 @@ model = google/gemini-2.0-flash-exp:free
|
||||
<li><a href="features.html">Features</a></li>
|
||||
<li><a href="installation.html">Installation</a></li>
|
||||
<li><a href="ai-features.html">AI Integration</a></li>
|
||||
<li><a href="https://github.com/dwn/dwn">GitHub</a></li>
|
||||
<li><a href="https://retoor.molodetz.nl/retoor/dwn">Git</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="footer-section">
|
||||
<h4>Community</h4>
|
||||
<ul>
|
||||
<li><a href="https://github.com/dwn/dwn/issues">Issue Tracker</a></li>
|
||||
<li><a href="https://github.com/dwn/dwn/discussions">Discussions</a></li>
|
||||
<li><a href="https://github.com/dwn/dwn/blob/main/CONTRIBUTING.md">Contributing</a></li>
|
||||
<li><a href="https://github.com/dwn/dwn/blob/main/LICENSE">License (MIT)</a></li>
|
||||
<li><a href="https://retoor.molodetz.nl/retoor/dwn/issues">Issue Tracker</a></li>
|
||||
<li><a href="https://retoor.molodetz.nl/retoor/dwn/discussions">Discussions</a></li>
|
||||
<li><a href="https://retoor.molodetz.nl/retoor/dwn/blob/main/CONTRIBUTING.md">Contributing</a></li>
|
||||
<li><a href="https://retoor.molodetz.nl/retoor/dwn/blob/main/LICENSE">License (MIT)</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer-bottom">
|
||||
<p>DWN Window Manager - Open Source under the MIT License</p>
|
||||
<p>DWN Window Manager by retoor <retoor@molodetz.nl> - MIT License</p>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
Reference in New Issue
Block a user