kannibalox
|
4e64fbc78b
|
Properly use compare_exchange_strong
In practice, calling `network.scgi.open_port` again doesn't trigger
this function.
|
2024-12-04 19:19:53 +09:00 |
|
kannibalox
|
93b3a34f28
|
Properly lock size check, and remove overall cacheline alignment
|
2024-12-04 19:19:53 +09:00 |
|
kannibalox
|
ea1ca00f31
|
Remove cacheline alignment from atomic pointer
|
2024-12-04 19:19:53 +09:00 |
|
kannibalox
|
58b1fc4914
|
Ensure empty() is properly guarded
|
2024-12-04 19:19:53 +09:00 |
|
kannibalox
|
577818bde4
|
Remove cache alignment from atomic members
|
2024-12-04 19:19:53 +09:00 |
|
kannibalox
|
0ea7615d0a
|
Convert __sync* built-ins to std::atomic
Also converts thread_queue_hack to a simpler reserved vector
|
2024-12-04 19:19:53 +09:00 |
|
PPN-SD
|
73c1233dc0
|
Fix calls ar directly
Signed-off-by: Nicolas PARLANT <nicolas.parlant@parhuet.fr>
|
2024-11-26 01:27:39 +09:00 |
|
rakshasa
|
11ddc35d02
|
Renamed tinyxml2.cpp file.
|
2024-11-25 18:44:28 +09:00 |
|
kannibalox
|
036916fd9f
|
Fix typo in method name
|
2024-11-25 18:44:28 +09:00 |
|
kannibalox
|
b3fabd2a2b
|
Align argument name with header definition
|
2024-11-25 18:44:28 +09:00 |
|
kannibalox
|
4b7c3ffafe
|
Use empty() instead of checking size
Also use a const pointer for a child element
|
2024-11-25 18:44:28 +09:00 |
|
kannibalox
|
730d43b6c7
|
Explicitly mark narrowing conversion
|
2024-11-25 18:44:28 +09:00 |
|
kannibalox
|
af2f30c183
|
Remove unused variable
|
2024-11-25 18:44:28 +09:00 |
|
kannibalox
|
36fd837d27
|
Fix unnecessary narrowing with proper return type
|
2024-11-25 18:44:28 +09:00 |
|
kannibalox
|
8dd8d691c5
|
Explicitly check result of std::strncmp
|
2024-11-25 18:44:28 +09:00 |
|
kannibalox
|
e367b162ab
|
Share object_to_target between tinyxml2 and xmlrpc-c
|
2024-11-25 18:44:28 +09:00 |
|
kannibalox
|
49cdfee65a
|
Avoid ambiguous value_* in variable names
|
2024-11-25 18:44:28 +09:00 |
|
kannibalox
|
5680db3598
|
Parse out target param first if available
|
2024-11-25 18:44:28 +09:00 |
|
kannibalox
|
4768eb8356
|
Fix test to match case change
|
2024-11-25 18:44:28 +09:00 |
|
kannibalox
|
fa2c7d961b
|
Remove unnecessary std::string() and use lowercase for error msgs
|
2024-11-25 18:44:28 +09:00 |
|
kannibalox
|
d6dcbc4a69
|
Add size limit to XML-RPC documents, defaulting to max SCGI size
|
2024-11-25 18:44:28 +09:00 |
|
kannibalox
|
cadfcb50d2
|
Print iterator for TYPE_DICT_KEY, not object
|
2024-11-25 18:44:28 +09:00 |
|
kannibalox
|
71a39cd8a0
|
Keep as_*() outside of loops
|
2024-11-25 18:44:28 +09:00 |
|
kannibalox
|
0658486966
|
Change base64 decoder name, and add util for removing newlines
|
2024-11-25 18:44:28 +09:00 |
|
kannibalox
|
687fbbb83d
|
Formatting
|
2024-11-25 18:44:28 +09:00 |
|
kannibalox
|
e355eb561f
|
Clean up borrowed base64 code to match repo standards
|
2024-11-25 18:44:28 +09:00 |
|
kannibalox
|
902de0b258
|
Add test for empty int text
|
2024-11-25 18:44:28 +09:00 |
|
kannibalox
|
01e5df4167
|
Remove title printing from test
|
2024-11-25 18:44:28 +09:00 |
|
kannibalox
|
8d85ce5857
|
Add test case for empty integer
|
2024-11-25 18:44:28 +09:00 |
|
kannibalox
|
f9c9fa2e3b
|
Move int element converter to helper function
Also fix strncmp checks
|
2024-11-25 18:44:28 +09:00 |
|
kannibalox
|
337897784d
|
Change rpc namespace to include static consts
|
2024-11-25 18:44:28 +09:00 |
|
kannibalox
|
782b1e4ea8
|
Skip converting value_element_type to std::string
|
2024-11-25 18:44:28 +09:00 |
|
kannibalox
|
3cfc213053
|
Fix missing header
|
2024-11-25 18:44:28 +09:00 |
|
kannibalox
|
b789d83b70
|
Fix system.listMethods inclusion check
|
2024-11-25 18:44:28 +09:00 |
|
kannibalox
|
67babb65d6
|
Convert element_access to use initializer lists
Also remove uses element_access for single child accesses
|
2024-11-25 18:44:28 +09:00 |
|
kannibalox
|
e0d5c95821
|
Use correct terminology in comment
|
2024-11-25 18:44:28 +09:00 |
|
kannibalox
|
7f4c5df5ee
|
Use single namespace statement
|
2024-11-25 18:44:28 +09:00 |
|
kannibalox
|
dd45684584
|
Move vendored tinyxml2 files to rpc namespace and directory
|
2024-11-25 18:44:28 +09:00 |
|
kannibalox
|
fb8632e990
|
Change lingering camelCase to snake_case
|
2024-11-25 18:44:28 +09:00 |
|
kannibalox
|
b043b7b39e
|
Simplify iterator names
|
2024-11-25 18:44:28 +09:00 |
|
kannibalox
|
168093d256
|
Remove extra return
|
2024-11-25 18:44:28 +09:00 |
|
kannibalox
|
0c2f0b7715
|
Add test case for invalid floats
|
2024-11-25 18:44:28 +09:00 |
|
kannibalox
|
4a9d9952e1
|
Be explicit about the desired result
|
2024-11-25 18:44:28 +09:00 |
|
kannibalox
|
fd1d5dbdb2
|
Add test case for bad boolean value
|
2024-11-25 18:44:28 +09:00 |
|
kannibalox
|
dd0c62c7f7
|
Uncomment after testing
|
2024-11-25 18:44:28 +09:00 |
|
kannibalox
|
3a8e462bd3
|
Throw error if attempting to use both xmlrpc-c and tinyxml2
|
2024-11-25 18:44:28 +09:00 |
|
kannibalox
|
b360a734f1
|
Use std::strtoll instead of std::stol
|
2024-11-25 18:44:28 +09:00 |
|
kannibalox
|
c18df7a366
|
Use std::strncmp for string comparison
|
2024-11-25 18:44:28 +09:00 |
|
kannibalox
|
a269f808e1
|
Fix swapped variable names
|
2024-11-25 18:44:28 +09:00 |
|
kannibalox
|
4444df2e97
|
Change internal error to type error
|
2024-11-25 18:44:28 +09:00 |
|