luigi1111
1d3eba161f
Merge pull request #8963
...
294366f
depends: openssl: update to 3.0.11 (tobtoht)
2023-10-25 21:34:36 -04:00
luigi1111
cf474d55f6
Merge pull request #8933
...
ebb7671
depends: use macOS 11 SDK with libc++ headers (tobtoht)
2023-10-25 21:31:40 -04:00
luigi1111
8f0343df16
Merge pull request #8752
...
c444a7e
trezor: support v2.5.2+, add more trezor tests, fix chaingen and tests (Dusan Klinec)
056c996
fix chaingen tests (Dusan Klinec)
2023-10-25 21:30:49 -04:00
jeffro256
e191083bed
epee: remove dead code in math_helper and string_tools
2023-10-25 16:41:21 -05:00
tobtoht
ebb7671e0e
depends: use macOS 11 SDK with libc++ headers
2023-10-24 19:56:11 +02:00
selsta
9ea325777f
gitian: add riscv64 support
2023-10-21 16:02:55 +02:00
tevador
9dc10bb223
Update RandomX to 1.2.1
2023-10-20 20:46:36 +02:00
tobtoht
fe4a34ebb2
depends: zeromq: update to 4.3.5
2023-10-10 00:08:44 +02:00
Dusan Klinec
c444a7e002
trezor: support v2.5.2+, add more trezor tests, fix chaingen and tests
...
- passphrase logic: remove backward compatibility for 2.4.3, code cleanup.
- fix LibUSB cmake for static builds on OSX
- tests: all tests now work with passphrase logic enabled. Passphrase test added with different passphrase. no_passphrase test added, Trezor pin test added. Testing wallet opening with correct and incorrect passphrase. Trezor test chain revamp, cleanup. Smaller chain, chain file versioning added.
- tests: Trezor tests support TEST_MINING_ENABLED, TEST_MINING_TIMEOUT env vars to change mining-related tests behaviour.
- requires protobuf@21 on osx for now (c++14), building with unlinked protobuf: `CMAKE_PREFIX_PATH=$(find /opt/homebrew/Cellar/protobuf@21 -maxdepth 1 -type d -name "21.*" -print -quit) \
make debug-test-trezor -j8`
2023-09-30 09:01:10 +02:00
tobtoht
c8e4de13f2
depends: remove kernel version from darwin triplet
2023-09-27 07:37:01 +02:00
tobtoht
0d763a19b8
depends: move cmake system config to hosts files
2023-09-26 16:46:51 +02:00
tobtoht
b9f1e37d33
depends: unwind: do not build for linux hosts
2023-09-26 09:47:36 +02:00
tobtoht
932bba3b79
depends: remove libiconv: unused
2023-09-25 14:00:34 +02:00
selsta
9636375421
storages: change error log category to serialization
2023-09-22 19:05:55 +02:00
tobtoht
294366f8af
depends: openssl: update to 3.0.11
2023-09-19 15:54:00 +02:00
luigi1111
e3c990f03a
Merge pull request #8955
...
192d87c
remove more 'using namespace' statements from headers (jeffro256)
2023-08-17 10:25:51 -05:00
luigi1111
3b67d5fc5b
Merge pull request #8914
...
45b52de
wallet-rpc: restore from multisig seed (jeffro256)
2023-08-17 10:20:20 -05:00
luigi1111
b9fd761a25
Merge pull request #8868
...
a6ce2dc
Write interface for new serialization system (Lee *!* Clagett)
2023-08-17 10:14:17 -05:00
luigi1111
01ee1682aa
Merge pull request #8786
...
0ae5c91
http_client: reduce number of packets sent for small bodies (jeffro256)
2023-08-17 10:08:29 -05:00
Lee *!* Clagett
a6ce2dc7c5
Write interface for new serialization system
2023-08-11 16:34:27 -04:00
jeffro256
8190f2532b
KV_SERIALIZE
: remove extraneous semicolons in DSL
...
Prereq of https://github.com/monero-project/monero/pull/8867
2023-08-10 11:13:14 -05:00
jeffro256
45b52de28e
wallet-rpc: restore from multisig seed
2023-07-28 12:17:14 -05:00
jeffro256
192d87cd24
remove more 'using namespace' statements from headers
2023-07-18 22:46:43 -05:00
luigi1111
9537329962
Merge pull request #8899
...
0961c2a
Set SSL SNI even when server verification is disabled (Lee *!* Clagett)
2023-07-06 21:33:57 -05:00
luigi1111
3a72c47445
Merge pull request #8344
...
70bbd25
core_rpc_server: new file: rpc_ssl.fingerprint (Jeffrey Ryan)
2023-07-06 21:27:16 -05:00
Jeffrey Ryan
70bbd2536b
core_rpc_server: new file: rpc_ssl.fingerprint
2023-07-02 19:38:51 -05:00
luigi1111
e7dc03f99b
Merge pull request #8880
...
ec0cdc4
depends: remove icu4c (tobtoht)
2023-06-27 11:46:54 -05:00
luigi1111
e4e8edd9c9
Merge pull request #8870
...
eb94356
Add to_hex::buffer (Lee *!* Clagett)
2023-06-27 11:45:48 -05:00
luigi1111
1261f0ac09
Merge pull request #8869
...
2c98a82
Add byte_stream alue_type and data() (Lee *!* Clagett)
2023-06-27 11:45:25 -05:00
luigi1111
f80fb18e5a
Merge pull request #8860
...
c430ba9
depends: update expat to 2.5.0 (tobtoht)
2023-06-27 11:44:23 -05:00
luigi1111
02ebe9090e
Merge pull request #8792
...
04dfdb3
epee: protect base64_chars, removed dead functions, speed up compile (Jeffro256)
2023-06-27 11:32:07 -05:00
luigi1111
1723bba296
Merge pull request #8767
...
e212532
depends: upgrade OpenSSL to 3.0.9 (tobtoht)
2023-06-27 11:30:18 -05:00
luigi1111
97354d8533
Merge pull request #8731
...
6c73dc7
properly terminate interrupted TCP connection. fixes #8685 (j-berman)
2023-06-27 11:28:55 -05:00
luigi1111
d79eb9fe3e
Merge pull request #8598
...
4f3a54b
Remove invoke function in levin handler (Lee Clagett)
2023-06-27 11:23:45 -05:00
tobtoht
e212532dd1
depends: upgrade OpenSSL to 3.0.9
2023-06-26 13:35:55 +02:00
Lee *!* Clagett
0961c2abe4
Set SSL SNI even when server verification is disabled
2023-06-09 11:16:03 -04:00
tobtoht
ec0cdc4acb
depends: remove icu4c
2023-05-26 16:17:31 +02:00
Lee *!* Clagett
eb943562cb
Add to_hex::buffer
2023-05-22 13:36:05 -04:00
Lee *!* Clagett
2c98a82e75
Add byte_stream value_type
and data()
2023-05-21 13:35:18 -04:00
tobtoht
c430ba95fd
depends: update expat to 2.5.0
2023-05-15 17:18:51 +02:00
tobtoht
c32befe4f8
fix missing <cstdint> includes
2023-05-06 18:13:18 +02:00
luigi1111
63e9b47bbe
Merge pull request #8791
...
3a34c63
depends: cleanup Makefile (tobtoht)
2023-04-25 11:23:19 -04:00
luigi1111
b2d603e61f
Merge pull request #8789
...
df9aa6b
epee: remove dead code in net_helper (Jeffro256)
2023-04-25 11:22:50 -04:00
luigi1111
9bf06ea75d
Merge pull request #8698
...
5b4fea7
Copyright: Update to 2023 (mj-xmr)
2023-04-25 11:12:56 -04:00
Jeffro256
04dfdb332e
epee: protect base64_chars, removed dead functions, speed up compile
2023-03-20 16:02:48 -05:00
tobtoht
3a34c63ba9
depends: cleanup Makefile
2023-03-20 14:39:32 +01:00
jeffro256
0ae5c91e50
http_client: reduce number of packets sent for small bodies
2023-03-19 12:54:14 -05:00
Jeffro256
df9aa6bb04
epee: remove dead code in net_helper
2023-03-19 12:51:27 -05:00
tobtoht
7a44eb7901
depends: remove unused packages
2023-02-16 14:42:19 +01:00
luigi1111
c5d10a4ac4
Merge pull request #8737
...
21fb856
depends: bump openssl to 1.1.1t (tobtoht)
2023-02-15 10:46:23 -05:00
tobtoht
21fb856eda
depends: bump openssl to 1.1.1t
...
https://www.openssl.org/news/secadv/20230207.txt
Patch can be removed, it was included upstream.
2023-02-07 20:31:25 +01:00
moneromooo-monero
ac9a8978ca
Revert "epee: when loading a JSON RPC payload, ensure params is an object"
...
This reverts commit b67e931843
.
This turns out to be a bad idea, because we do have weird RPC which
do actually go counter to this
2023-02-07 12:12:02 +00:00
luigi1111
549a4b424a
Merge pull request #8713
...
eaa3aff
depends: bump hidapi/libusb (tobtoht)
2023-02-06 12:37:08 -05:00
luigi1111
3ff22aee95
Merge pull request #8699
...
f3420cb
readline_buffer: disable bracketed paste escape sequences (Jeffrey Ryan)
2023-02-06 12:34:06 -05:00
luigi1111
c12bc62306
Merge pull request #8693
...
bfd7c00
heed NO_COLOR environment variable (moneromooo-monero)
2023-02-06 12:26:02 -05:00
luigi1111
85702d70af
Merge pull request #8692
...
b67e931
epee: when loading a JSON RPC payload, ensure params is an object (moneromooo-monero)
2023-02-06 12:25:13 -05:00
j-berman
6c73dc742e
properly terminate interrupted TCP connection. fixes #8685
2023-02-04 22:03:51 +01:00
tobtoht
eaa3aff81e
depends: bump hidapi/libusb
...
fixes Trezor connectivity issues on Windows 10/11
Co-authored-by: selsta <selsta@sent.at>
2023-01-25 21:50:46 +01:00
mj-xmr
5b4fea72cf
Copyright: Update to 2023
...
Co-authored-by: plowsof <plowsof@protonmail.com>
extra files
2023-01-16 13:00:18 +01:00
luigi1111
a09b5b3c95
Merge pull request #8632
...
ab7102e
epee: remove dead HTTP code (Jeffrey Ryan)
2023-01-11 11:37:37 -05:00
Jeffrey Ryan
f3420cb750
readline_buffer: disable bracketed paste escape sequences
2023-01-04 16:04:32 -06:00
moneromooo-monero
bfd7c00ced
heed NO_COLOR environment variable
2023-01-01 10:24:46 +00:00
moneromooo-monero
b67e931843
epee: when loading a JSON RPC payload, ensure params is an object
...
this makes it easier to spot those mistakes by the caller
2023-01-01 10:10:28 +00:00
luigi1111
4a5f8a0c4d
Merge pull request #8575
...
98ce6f1
depends: remove unused file (selsta)
2022-12-01 01:02:25 -06:00
Jeffrey Ryan
ab7102e31f
epee: remove dead HTTP code
...
http_client.h
2022-11-13 20:27:21 -06:00
luigi1111
5b208f988a
Merge pull request #8569
...
b526a4b
levin_abstract_invoke: remove dead code (Jeffrey Ryan)
2022-10-28 00:49:45 -04:00
luigi1111
a43a5caefe
Merge pull request #8543
...
d21fd92
rpc: dont shrink slice when loading from binary (Jeffrey Ryan)
2022-10-28 00:48:48 -04:00
Lee Clagett
4f3a54b2a0
Remove invoke function in levin handler
2022-09-26 16:47:18 +00:00
selsta
98ce6f1864
depends: remove unused file
2022-09-20 00:55:41 +02:00
selsta
fa7622cfdc
depends: remove unused Qt package
2022-09-20 00:01:19 +02:00
Jeffrey Ryan
b526a4bf1e
levin_abstract_invoke: remove dead code
2022-09-14 20:09:29 -05:00
luigi1111
87a4b37497
Merge pull request #8547
...
e410ab7
Windows: fix unicode file path support (tobtoht)
2022-09-09 12:54:30 -05:00
luigi1111
e553884d1f
Merge pull request #8348
...
a4cb77f
epee: update 'http_server_handlers_map2.h' macros to use fully qualified names (Jeffrey Ryan)
2022-09-09 12:46:39 -05:00
tobtoht
e410ab7478
Windows: fix unicode file path support
2022-09-02 12:22:24 +02:00
Jeffrey Ryan
d21fd9242c
rpc: dont shrink slice when loading from binary
2022-08-30 19:26:39 -05:00
luigi1111
5256fdd7a1
Merge pull request #8497
...
8305a9f
depends: remove unused packages (selsta)
2022-08-22 22:52:50 -05:00
luigi1111
af8b0fb815
Merge pull request #8495
...
796513f
repo: remove ldns leftovers (selsta)
2022-08-22 22:51:55 -05:00
luigi1111
5e2c851132
Merge pull request #8442
...
ef1924a
Bump to v0.18.1.0 (Seth For Privacy)
89a2df6
Migrate VERSION variable to non-export (Seth For Privacy)
b83874e
Set version in ENV var (Seth For Privacy)
bb955d1
Bump Gitian build instructions to v0.18.0.0 (Seth For Privacy)
2022-08-22 22:46:34 -05:00
luigi1111
f0f3879ba4
Merge pull request #8419
...
8ea6c33
Fix some paths for toolchain / build (Howard Chu)
2022-08-22 22:44:34 -05:00
luigi1111
67a27fb384
Merge pull request #8352
...
552528b
Remove async_blocked_mode_client (Jeffrey Ryan)
3ee2174
string_coding: unused functions (Jeffrey Ryan)
285d9f0
http_server_handlers_map2: dead macros (Jeffrey Ryan)
2022-08-22 22:39:34 -05:00
selsta
8305a9f9ef
depends: remove unused packages
2022-08-11 18:19:54 +02:00
selsta
796513ff5f
repo: remove ldns leftovers
2022-08-11 00:21:42 +02:00
Seth For Privacy
ef1924a9cf
Bump to v0.18.1.0
2022-08-09 08:20:54 -04:00
Seth For Privacy
89a2df67cd
Migrate VERSION variable to non-export
2022-07-18 10:32:54 -04:00
Seth For Privacy
b83874e9bd
Set version in ENV var
2022-07-18 10:14:44 -04:00
Seth For Privacy
bb955d1a73
Bump Gitian build instructions to v0.18.0.0
2022-07-18 08:32:55 -04:00
luigi1111
b6a029f222
Merge pull request #8435
...
cf3be99
Template hash func to fix compiler error on < gcc-6 (j-berman)
2022-07-15 11:43:15 -04:00
luigi1111
9df069f4ce
Merge pull request #8426
...
a82fba4
address PR comments (j-berman)
3be1dbd
connection: fix implementation (anon)
724ff21
connection: add segfault and deadlocks demo (anon)
2022-07-15 11:25:11 -04:00
luigi1111
f982163fc9
Merge pull request #8425
...
fe5d1be
build: prepare v0.18.0.0 (selsta)
2022-07-15 11:23:54 -04:00
j-berman
cf3be9926f
Template hash func to fix compiler error on < gcc-6
2022-07-13 22:44:43 -07:00
selsta
fe5d1bef56
build: prepare v0.18.0.0
2022-07-13 22:07:31 +02:00
j-berman
a82fba4b7b
address PR comments
2022-07-08 15:10:03 -07:00
anon
3be1dbd096
connection: fix implementation
2022-07-05 22:33:34 -07:00
luigi1111
0f91416ab6
Merge pull request #8400
...
6f3abbe
Depends: Unbound disable getentropy()/reallocarray() (glibc < 2.26) (TheCharlatan)
2022-07-06 00:00:56 -05:00
Howard Chu
8ea6c339e4
Fix some paths for toolchain / build
2022-07-05 20:04:37 +01:00
TheCharlatan
6f3abbead5
Depends: Unbound disable getentropy()/reallocarray() (glibc < 2.26)
2022-06-22 23:39:03 +02:00
moneromooo-monero
a46b6ba25c
contrib: add more valgrind suppressions for spurious issues
2022-06-21 11:35:03 +00:00
Jeffrey Ryan
552528b0ea
Remove async_blocked_mode_client
2022-06-17 00:27:06 -05:00
mj-xmr
61d0712ed5
Gitian: refresh the stale Monero dir via --setup switch
2022-06-06 15:52:36 +02:00
luigi1111
e8252ef99b
Merge pull request #8337
...
1164874
src, epee: fix a couple compiler warnings (selsta)
2022-05-26 21:25:06 -05:00
Jeffrey Ryan
3ee2174892
string_coding: unused functions
2022-05-23 16:03:42 -05:00
Jeffrey Ryan
285d9f04d5
http_server_handlers_map2: dead macros
2022-05-23 15:31:13 -05:00
Jeffrey Ryan
a4cb77f9f3
epee: update 'http_server_handlers_map2.h' macros to use fully qualified names
...
quick patch which fixes the issue where if you use some macros from `http_server_handlers_map2.h` you have to be in the `epee` namespace or it doesn't compile. Now can remove `using namespace epee;` from header file `core_rpc_server.h`, which caused a couple of name qualifying mistakes
2022-05-23 14:46:36 -05:00
Jeffrey Ryan
026dbc89bf
Windows build: fix narrowing error for WaitForSingleObject
...
`WaitForSingleObject` returns a `DWORD`, not an int, so assign `retval` as such and it should fix the error.
2022-05-23 02:07:56 -05:00
selsta
1164874afc
src, epee: fix a couple compiler warnings
2022-05-17 00:33:10 +02:00
luigi1111
6e60919e6d
Merge pull request #8315
...
1ddb1ee
Give better error messages when missing SSL files (Jeffrey Ryan)
2022-05-16 13:53:16 -05:00
luigi1111
44c0470e1e
Merge pull request #8312
...
5c27fd8
depends: Package cleanup (Howard Chu)
c1d47eb
Update randomx: fix Mac linking error (Howard Chu)
02e6af2
Update CI for aarch64 mac build (selsta)
7ea1e21
Make Mac SDK into a regular depends package (Howard Chu)
e81ab9b
Silence some protobuf link warnings (Howard Chu)
fe5c2ae
Fix arm64 darwin package defs (Howard Chu)
fb68465
Boost 1.64 doesn't recognize arm64 darwin (Howard Chu)
617f908
more... update to clang 9.0.0 (Howard Chu)
83ae3ad
Split native_clang out of native_cctools (Howard Chu)
1008318
Update native_cctools for newer SDK support (Howard Chu)
a86c4cb
Update to MacOSX SDK 11.1, add Mac M1 (Howard Chu)
2022-05-16 13:52:33 -05:00
luigi1111
f555e3855b
Merge pull request #8266
...
ab9766e
depends: update unbound to 1.15.0 (selsta)
2022-05-16 13:50:27 -05:00
luigi1111
9e71901346
Merge pull request #8301
...
6ef945d
Doxygen: Hide anonymous namespaces from documentation by default (Jeffrey)
2022-05-10 16:55:36 -05:00
luigi1111
8480575cec
Merge pull request #8300
...
070e41d
Change Github to GitHub (Abdullah)
2022-05-10 16:53:48 -05:00
luigi1111
7cdbd25042
Merge pull request #8279
...
f7d50cb
EPEE: Remove gzip_encoding.h (Jeffrey)
2022-05-10 16:50:17 -05:00
luigi1111
3f58b8938a
Merge pull request #8278
...
63c7f8b
EPEE: Remove hmac-md5 (Jeffrey)
2022-05-10 16:49:47 -05:00
luigi1111
5e46ab53e7
Merge pull request #8226
...
002bf9c
Fix typo: SERIALIZE_TYPE_DUOBLE (Jeffrey)
2022-05-10 16:43:26 -05:00
Howard Chu
5c27fd853f
depends: Package cleanup
...
All patching should be in _preprocess_cmd. config_cmd should just run
configure and nothing else before it, otherwise $PATH is broken when it runs.
Also remove redundant settings to configure, _autoconf already sets them.
We leave explicit AR_FLAGS settings because the builtin rule uses ARFLAGS,
and so would leave AR_FLAGS unset otherwise.
2022-05-10 21:06:03 +01:00
Howard Chu
7ea1e214c5
Make Mac SDK into a regular depends package
2022-05-09 17:38:48 +01:00
Howard Chu
e81ab9bc2c
Silence some protobuf link warnings
...
4 warnings remain but it's better than before
2022-05-09 17:38:48 +01:00
Howard Chu
fe5c2aec35
Fix arm64 darwin package defs
2022-05-06 16:45:45 +01:00
Howard Chu
fb68465c61
Boost 1.64 doesn't recognize arm64 darwin
2022-05-06 16:45:45 +01:00
Howard Chu
617f9082fe
more... update to clang 9.0.0
2022-05-06 16:45:45 +01:00
Howard Chu
83ae3ad178
Split native_clang out of native_cctools
...
Needed for compiling native_libtapi
2022-05-06 16:45:45 +01:00
Howard Chu
1008318715
Update native_cctools for newer SDK support
2022-05-06 16:45:45 +01:00
Jeffrey Ryan
1ddb1ee819
Give better error messages when missing SSL files
...
While copying my data dir to another drive, I missed copying the rpc_ssl.key file b/c of the file permissions.
This change will give a much more clear, descriptive error in that scenario.
2022-05-05 21:48:19 -05:00
Howard Chu
a86c4cb75f
Update to MacOSX SDK 11.1, add Mac M1
2022-05-04 22:33:40 +01:00
Jeffrey
6ef945d9a5
Doxygen: Hide anonymous namespaces from documentation by default
...
Bonus: little doc fix for net_ssl.h
2022-04-28 19:35:49 -05:00
Abdullah
070e41d88b
Change "Github" to "GitHub"
2022-04-27 18:53:03 +01:00
luigi1111
67e5ca9ad6
Merge pull request #8275
...
9209880
add a sanity check to RPC input data size (moneromooo-monero)
2022-04-25 10:22:03 -05:00
luigi1111
4541384075
Merge pull request #8248
...
d1cb9c3
Remove serialization/enableable (Jeffrey)
2022-04-25 10:19:39 -05:00
Jeffrey
f7d50cbaa8
EPEE: Remove gzip_encoding.h
2022-04-22 14:32:56 -05:00
Jeffrey
63c7f8ba6e
EPEE: Remove hmac-md5
2022-04-22 12:28:17 -05:00
moneromooo-monero
9209880e9c
add a sanity check to RPC input data size
...
reported by m31007
2022-04-21 22:22:56 +00:00
selsta
ab9766ef17
depends: update unbound to 1.15.0
2022-04-19 00:31:03 +02:00
Jeffrey
175b4117a9
Change C-style-casts to static_cast in time_helper.h
...
At the request of @mj-xmr: https://github.com/monero-project/monero/pull/8211#discussion_r822868321
2022-04-18 09:55:21 -05:00
Jeffrey
b49ed59166
Remove the only 4 non-UTF8 characters in codebase
...
Relevant commit in old PR:
1b798a7042
2022-04-18 09:55:21 -05:00
Jeffrey
1f25aa27c5
Factor out move_it_backward from misc_language.h
...
Relevant commit from old PR:
330df2952c
2022-04-18 09:55:21 -05:00
Jeffrey
7764d69782
Move copyable_atomic into connection_context
...
Relevant commit from old PR:
bd0a511995
2022-04-18 09:55:21 -05:00
Jeffrey
801568d0c6
Refactor out to_nonconst_iterator.h
...
Relevant commit on old PR:
2499269696
2022-04-18 09:55:21 -05:00
Jeffrey
87ec36cacf
Refactor out pragma_comp_defs
...
Relevant commits on the old cleanup PR:
36933c7f5c
21e43de0f3
3c678bb1ce
2022-04-18 09:55:21 -05:00
Jeffrey
441c860738
Merge functionality of misc_os_dependent into time_helper.h
...
Actions:
1. Remove unused functions from misc_os_dependent.h
2. Move three remaining functions, get_gmt_time, get_ns_count, and get_tick_count into time_helper.h
3. Remove unused functions from time_helper.h
4. Refactor get_ns_count and get_internet_time_str and get_time_interval_string
5. Remove/add includes as needed
Relevant commits on the old PR:
a9fbe52b02
9a59b131c4
7fa9e2817d
2022-04-18 09:55:21 -05:00
Jeffrey
12b1b74d32
Trimming Fat
...
Remove unused include statements or unused definitions.
2022-04-18 09:55:20 -05:00
Jeffrey
690ce560b0
Boring Old Deletes
...
Here lies dozens of unused files. This commit is ONLY file deletions except
for the removing of a couple of #includes and removing filenames from CmakeLists
where appropriate.
2022-04-18 09:55:20 -05:00
moneromooo-monero
9f786f0550
epee: allow copying a rolling_median_t object
2022-04-10 18:13:31 +00:00
Jeffrey
d1cb9c393e
Remove serialization/enableable
...
Currently working on an EPEE [ser/de]ialization library for Rust and at first glance, EPEE seemed to have support for optional wrappers. However, after looking into it, this feature appears to be half-baked and unused. Furthermore, adding support for optional values would be better suited to implement at the storage level, in my opinion. That would make parsing DOMs easier and less error-prone. If anyone is currently using this code, please comment. Thanks!
At the time of writing, this PR has no merge conflicts with #8211
2022-04-09 22:53:46 -05:00
luigi1111
c11385591e
Merge pull request #8228
...
1ce9e9c
Remove dead code from parserse_base_utils and fix unit tests (Jeffrey)
2022-04-06 00:22:23 -04:00
luigi1111
bb093ec9a8
Merge pull request #8223
...
17772ef
Eliminate dependence on boost::interprocess #8223 (Jeffrey)
2022-04-06 00:19:59 -04:00
luigi1111
0eb1b570b6
Merge pull request #8197
...
da9aa1f
Copyright: Update to 2022 (mj-xmr)
2022-04-06 00:08:53 -04:00
Jeffrey
1ce9e9cda4
Remove dead code from parserse_base_utils and fix unit tests
...
* Remove `match_string()`, `match_number()`, and `match_word()`
* Remove `match_word_with_extrasymb()` and `match_word_til_equal_mark()`
* Adapt unit test for `match_number()` to `match_number2()`
* Adapt unit test for `match_string()` to `match_string2()`
Note: the unit tests were testing for the old version of the functions, and
the interfaces for these functions changed slightly, so I had to also edit
the tests.
As of writing, this PR has no merge conflicts with #8211
Additional changes during review:
* Explicitly set up is_[float/signed]_val to be changed before each call
* Structify the tests and fix uninitialized variables
2022-03-30 13:29:32 -05:00
Jeffrey
17772ef53e
Eliminate dependence on boost::interprocess #8223
...
In this repo, `boost::interprocess` was being used soley to make `uint32_t` operations atomic. So I replaced each instance of
`boost::interprocess::ipcdetail::atomic(...)32` with `std::atomic` methods. I replaced member declarations as applicable. For example,
when I needed to change a `volatile uint32_t` into a `std::atomic<uint32_t>`. Sometimes, a member was being used a boolean flag, so
I replaced it with `std::atomic<bool>`.
You may notice that I didn't touch `levin_client_async.h`. That is because this file is entirely unused and will be deleted in PR monero-project#8211.
Additional changes from review:
* Make some local variables const
* Change postfix operators to prefix operators where value was not need
2022-03-30 13:18:32 -05:00
Jeffrey
002bf9c4fd
Fix typo: SERIALIZE_TYPE_DUOBLE
2022-03-25 12:11:08 -05:00
mj-xmr
da9aa1f7f8
Copyright: Update to 2022
2022-03-04 06:59:20 +01:00
SChernykh
f68f92776b
Undefined behaviour fixes
...
Fixes issues reported in #8120
2022-02-19 10:17:53 +01:00