abdelrahman
|
a998f6b981
|
Standardize naming conventions (#12)
Release / release (push) Successful in 8s
## Summary
Standardize naming conventions across the entire wizapp-stdlib codebase by replacing inconsistent prefixes and snake_case with a unified `wp` prefix + CamelCase scheme.
## Changes
### Naming convention applied
| Pattern | Before | After |
|---|---|---|
| Public functions | `wapp_module_function` | `wpModuleFunction` |
| Public types | `GenericXxx`, bare `Xxx` | `WpXxx` |
| Constants / enum values | `WAPP_XXX`, `SHELL_XXX` | `WP_XXX`, `WP_SHELL_XXX` |
| Internal functions | `_module_function` | `_moduleFunction` |
| Storage-class macros | `wapp_extern`, `wapp_intern` | `wp_extern`, `wp_intern` |
### Modules affected
All 20 modules were renamed: `arena`, `array`, `dbl_list`, `queue`, `str8`, `mem_allocator`, `mem_utils`, `mem_os`, `file`, `cpath`, `log`, `shell_commander`, `shell_termcolour`, `shell_utils`, `prng/xorshift`, `uuid`, `tester`, `aliases`, `assert`, `misc_utils`, `platform` — plus their test files.
### Backward compatibility
Added `src/oldnames.h` with `#define OLD_NAME NEW_NAME` for every renamed symbol, organized by module under Constants → Types → Functions sections. Existing code that includes this file will compile without changes.
Reviewed-on: #12
Co-authored-by: Abdelrahman <said.abdelrahman89@gmail.com>
Co-committed-by: Abdelrahman <said.abdelrahman89@gmail.com>
|
2026-06-26 17:17:27 +00:00 |
|
abdelrahman
|
7ffebe7dce
|
Fix missing semi-colon
Release / release (push) Successful in 3s
|
2026-05-10 02:22:46 +01:00 |
|
abdelrahman
|
9c727950d8
|
Call UUID lambdas
Release / release (push) Successful in 3s
|
2026-05-10 02:21:38 +01:00 |
|
abdelrahman
|
c7c4f88866
|
Fix wapp_uuid_gen_uuid4 for C++
Release / release (push) Successful in 5s
|
2026-05-10 02:19:34 +01:00 |
|
abdelrahman
|
6346765e32
|
Fix UUID for C++
Release / release (push) Successful in 5s
|
2026-05-10 02:13:41 +01:00 |
|
abdelrahman
|
6b88d7e3fe
|
Add TODO for updating UUID implementation
|
2026-02-09 00:02:21 +00:00 |
|
abdelrahman
|
58dab46902
|
Revert "Update uuid C++ implementation"
This reverts commit 1cdb08a81a.
|
2026-02-08 23:57:09 +00:00 |
|
abdelrahman
|
269ee5d9ab
|
Revert "Update uuid C++ implementation"
This reverts commit 610df6869f.
|
2026-02-08 23:57:05 +00:00 |
|
abdelrahman
|
610df6869f
|
Update uuid C++ implementation
|
2026-02-08 23:53:30 +00:00 |
|
abdelrahman
|
1cdb08a81a
|
Update uuid C++ implementation
|
2026-02-08 23:48:02 +00:00 |
|
abdelrahman
|
f3ee1ee468
|
Unify struct names and tags
|
2026-01-02 14:00:00 +00:00 |
|
abdelrahman
|
7e21961943
|
Reformat uuid
|
2026-01-02 00:36:05 +00:00 |
|
abdelrahman
|
ad2de98093
|
Switch to using tabs instead of spaces (#9)
Reviewed-on: #9
|
2025-12-29 22:46:52 +00:00 |
|
abdelrahman
|
4b95a681d4
|
Restructure the library layers
|
2025-12-16 17:36:50 +00:00 |
|
abdelrahman
|
b55a3ff5d8
|
Update WUUID macros
|
2025-12-15 15:16:17 +00:00 |
|
abdelrahman
|
50b6a0b0f7
|
Change UUID to WUUID
Windows defines a UUID struct that causes clashes
|
2025-12-15 15:13:56 +00:00 |
|
abdelrahman
|
9c5b95c229
|
Change boolean size to 1 byte
|
2025-12-07 12:17:40 +00:00 |
|
abdelrahman
|
0354c7b485
|
Prefix static macros
|
2025-10-18 16:17:13 +01:00 |
|
abdelrahman
|
14bd6ce5fd
|
File utilities and datatype implementation for a C-based code generator (#5)
Co-authored-by: Abdelrahman Said <said.abdelrahman@flawlessai.com>
Reviewed-on: #5
Co-authored-by: Abdelrahman <said.abdelrahman89@gmail.com>
Co-committed-by: Abdelrahman <said.abdelrahman89@gmail.com>
|
2025-09-20 13:48:08 +00:00 |
|
abdelrahman
|
d3fccd61b5
|
Reintroduce C++ support and add usage tests for C++ (#4)
Reviewed-on: #4
Co-authored-by: Abdelrahman <said.abdelrahman89@gmail.com>
Co-committed-by: Abdelrahman <said.abdelrahman89@gmail.com>
|
2025-08-10 22:33:40 +00:00 |
|
abdelrahman
|
b8c548ee4b
|
Add static, runtime and debug assert utilities
|
2025-08-09 22:37:55 +01:00 |
|
abdelrahman
|
75be2316e0
|
Add vim encoding and folding marker
|
2025-08-09 14:35:28 +01:00 |
|
abdelrahman
|
175f627f93
|
Remove text from asserts
|
2025-05-05 19:29:44 +01:00 |
|
abdelrahman
|
be30189d15
|
Assert uuid argument isn't NULL
|
2025-05-05 19:12:13 +01:00 |
|
abdelrahman
|
98a802e3eb
|
Remove C++ pseudo support
|
2025-05-05 02:48:35 +01:00 |
|
abdelrahman
|
f444911452
|
Refactor strings and allocator to primitives
|
2025-05-04 23:25:27 +01:00 |
|
abdelrahman
|
b884d0e6a6
|
Switch to using WAPP_PLATFORM_CPP instead of __cplusplus
|
2025-04-20 19:52:33 +01:00 |
|
Abdelrahman Said
|
c83c652b37
|
Add UUIDv4 generator
|
2025-03-22 02:27:59 +00:00 |
|