Commit Graph

1098 Commits

Author SHA1 Message Date
Jeffrey
6d4727c714 Remove contrib/epee/tests
These tests appear to never have been used in Monero's lifetime and it would take
a Herculean effort to refactor these files to the point where they will compile.
At many points, these tests include headers which no longer exist in EPEE.
2022-03-05 23:34:58 -06:00
Jeffrey
1b798a7042 Remove the only 4 non-UTF8 characters in codebase
AFAIK these 4 hyphens in these comments in local_ip.h are the only non-UFT8 characters in the entire monero repo.
It tripped up a dependency script I was writing for this codebase, so now its personal.
2022-03-05 21:43:29 -06:00
Jeffrey
7fa9e2817d Further refactor time_helper.h
Actions:
* Remove superfluous includes to boost/date_time, iostream, and pragma_comp_defs.h
* Include cstdio for snprintf
* Include string for std::string
* Move get_gmt_time to top of module for following step
* Use thread-safe get_gmt_time instead of unsafe gm_time in function get_internet_time_str()
* In get_time_interval_string(), add explicit (int) casts to git rid of VS4996 warnings
* In get_time_interval_string(), use snprintf instead of boost::lexical_casts and string concats
* In file epee_utils.cpp, include boost/range/iterator_range.hpp for boost::make_iterator_range.
  Previously, epee_util.cpp was including some file which was including time_helper which included
  a boost header which included iterator_range.hpp at some point, which allowed epee_util.cpp to
  compile without an explicit include of iterator_range.hpp. I added it because I removed the boost
  includes in the first step which broke epee_util.cpp.
2022-03-04 13:48:12 -06:00
Jeffrey
020531a813 Remove old defs of invoke_remote_command2() and notify_remote_command2() 2022-03-02 16:13:40 -06:00
Jeffrey
5b164ed0c1 Remove gzipped_inmemstorage.h 2022-03-02 15:57:41 -06:00
Jeffrey
9a59b131c4 Merge misc_os_dependent.h into time_helper.h
Actions:
* Move get_ns_count(), get_tick_count(), and get_gmt_time() from misc_os_dependent.h to time_helper.h. I did this because all those functions are time-related and under the same namespace
* Remove misc_os_dependent.h because it is now empty
* Change all includes of misc_os_dependent.h to time_helper.h where appropriate
* Remove get_time_string*() from time_helper.h b/c its unused
* Remove get_time_t_from_ole_date() from time_helper.h b/c its unused
* Remove odbc_time_to_oledb_taime() from time_helper.h b/c its unused
* Refactor get_ns_count() to use std::chrono instead of 4 different implementation-specific hacks
2022-03-02 00:32:22 -06:00
Jeffrey
4b3d9de65b Remove levin_client_async.* 2022-03-02 00:29:52 -06:00
Jeffrey
0da8bdc2e0 Remove crypted_storage.h 2022-03-01 10:37:35 -06:00
Jeffrey
a9fbe52b02 Remove misc_os_dependent.cpp and unused functions from misc_os_dependent.h
Actions:
Remove call_sys_cmd() definition from misc_os_dependent.h b/c its unused
Remove get_thread_string_id() declaration from misc_os_dependent.h b/c its unused
Remove misc_os_dependent.cpp file b/c the only definition was get_thread_string_id()
Remove file reference to misc_os_dependent.cpp from epee/src/CMakeLists.txt b/c its now deleted
2022-03-01 10:25:55 -06:00
Jeffrey
bb136b1fd4 Remove http_client_via_api_helper.h 2022-03-01 10:05:57 -06:00
Jeffrey
f9d6504594 Remove http_server_thread_per_connect and its dependencies 2022-03-01 10:01:00 -06:00
Jeffrey
bd0a511995 Move copyable_atomic to be a sub-class of cryptonote_connection_context
epee::copyable_atomic was only be used by one struct, cryptonote_connection_context.
This should probably eventually factored out of that class, so I left the following comment:

This class was originally from the EPEE module. It is identical in function to std::atomic<uint32_t> except
that it has copy-construction and copy-assignment defined, which means that earliers devs didn't have to write
custom copy-contructors and copy-assingment operators for the outer class, cryptonote_connection_context.
cryptonote_connection_context should probably be refactored because it is both trying to be POD-like while
also (very loosely) controlling access to its atomic members.
2022-02-15 17:36:45 -06:00
Jeffrey
bc6a7b6cbe Remove abstract_tcp_server_cp.* 2022-02-14 00:10:53 -06:00
Jeffrey
3c0d1ccb10 Remove levin_server_cp* 2022-02-13 23:54:42 -06:00
Jeffrey
8f492bf65d Remove net_fwd.h and #includes of said header 2022-02-13 23:34:40 -06:00
Jeffrey
5a09e84ed0 Remove http_server_cp*.h 2022-02-13 23:29:03 -06:00
Jeffrey
642e533edb Remove protocol_switcher.h 2022-02-13 23:22:46 -06:00
Jeffrey
cd3186988b Remove rpc_method_name.h 2022-02-13 23:20:56 -06:00
Jeffrey
78f16d3299 Remove multiprotocols_server.h 2022-02-13 23:19:20 -06:00
Jeffrey
f2f9bf82de Remove munin_connection_handler.h 2022-02-13 22:12:03 -06:00
Jeffrey
0e1e01395b Remove munin_node_server.h 2022-02-13 22:09:05 -06:00
Jeffrey
2499269696 Remove to_nonconst_iterator.h and Refactor
This was mostly the same as the other commits, but there was actually one reference to
the functions in to_nonconst_iterator.h in http_protocol_handler.inl. All the other
files modified in this commit were to remove extraneous includes of to_nonconst_iterator.h.

In http_protocol_handler.inl, to_nonsonst_iterator() (misspelled?) was used to convert a
string::const_iterator to a nonconst iterator in order to use it in a call to
string::erase(). However, this in not necessary as of C++11, so I removed the conversion
altogether.
2022-02-11 15:02:45 -06:00
Jeffrey
dbf8e4a2d6 Remove soci_helper.h 2022-02-10 23:34:03 -06:00
Jeffrey
8cec449519 Remove serialize_base.h 2022-02-10 19:42:19 -06:00
Jeffrey
1018698830 Remove static_initializer.h 2022-02-10 19:31:22 -06:00
Jeffrey
d009741cd4 Remove service_impl_base.h 2022-02-10 19:27:59 -06:00
Jeffrey
f4721c0ca5 Removed reg_utils.h 2022-02-10 19:22:27 -06:00
Jeffrey
e8e46bb210 Remove global_stream_operators.h
I think my commit message goes without saying
2022-02-10 18:54:39 -06:00
Jeffrey
10c3a3af95 Removed unused functions from file_io_utils
I removed three unused functions: `get_file_time`, `set_file_time`, and `append_string_to_file`.
I have recompiled on Ubuntu 20 with no issues.
2022-02-10 18:41:29 -06:00
Jeffrey
86d554cbae Remove ado_db_helper.h
Self-explanatory
2022-02-10 18:21:46 -06:00
Jeffrey
c19f141942 Removed unused SMTP, tiny_ini, and SHA-1 files from EPEE
Combined commit of #8172, #8173, #8174
2022-02-10 11:56:47 -06:00
Seth For Privacy
6a46f8c40a
Add copy commands for compiled binaries 2021-12-02 16:54:04 +00:00
Seth For Privacy
52612e7a12
Add archive details to post-build section
Also moved the tail of in-progress logs to two distinct and precise tail commands, was a good recommendation by @hyc.
2021-12-02 16:52:32 +00:00
Seth For Privacy
03a256e076
Add git clone and cd commands for initial prep 2021-12-02 15:41:45 +00:00
Seth For Privacy
cd76011e6c
Add note on adding SSH keys for Github 2021-12-02 13:55:18 +00:00
Seth For Privacy
9d02531f0d
Update DOCKRUN.md 2021-12-01 17:44:58 +00:00
Seth For Privacy
eeb0be4905
Bump versions in DOCKRUN.md and add log commands 2021-12-01 15:33:08 +00:00
Howard Chu
6e6ad80dc4
Fix Android OpenSSL build
depends didn't have target-specific overrides for _build_env
so ANDROID_NDK_HOME wasn't being set at build time.
This fix supersedes the manual edit of Configuration/15-android.conf.
Resolves #8095
2021-11-30 04:15:48 +00:00
luigi1111
aeae337c0b
Merge pull request #7910
4571d36 Add simple script for running gitian-build (Howard Chu)
2021-11-29 00:50:01 -06:00
luigi1111
41d6db105d
Merge pull request #8055
a30928f depends: bump hidapi to 0.11.0 (selsta)
2021-11-26 22:59:27 -06:00
selsta
a30928fe1a
depends: bump hidapi to 0.11.0 2021-11-10 03:17:52 +01:00
luigi1111
eec3a6014c
Merge pull request #8021
8f21001 depends: openssl 1.1.1k -> 1.1.1l (selsta)
2021-11-04 14:02:59 -05:00
luigi1111
14e94c6918
Merge pull request #8016
b0ec9f8 epee: avoid ADL selecting C++14 std::quoted (selsta)
2021-11-01 12:28:28 -05:00
luigi1111
b328fbecc2
Merge pull request #8019
e106bdc epee: add missing header (selsta)
2021-10-25 19:02:49 -05:00
luigi1111
0bd892788d
Merge pull request #8006
69c09ad Add README to release archives (Howard Chu)
4881154 README v12 fork occurred on 2019-11-30 as expected (Howard Chu)
2021-10-25 19:00:40 -05:00
luigi1111
e161b75201
Merge pull request #8002
49441d4 depends: update zeromq package to 4.3.4 (selsta)
2021-10-25 18:58:48 -05:00
selsta
8f210011be
depends: openssl 1.1.1k -> 1.1.1l 2021-10-22 23:17:53 +02:00
selsta
e106bdc1fc
epee: add missing header 2021-10-22 04:14:25 +02:00
selsta
b0ec9f85a1
epee: avoid ADL selecting C++14 std::quoted 2021-10-20 19:30:21 +02:00
luigi1111
7f1a44679c
Merge pull request #7971
b00e21d cmake: set cpp14 standard (selsta)
2021-10-17 23:33:33 -05:00