Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rocky #1

Open
wants to merge 219 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
219 commits
Select commit Hold shift + click to select a range
6678618
Example corrected
saleyn May 22, 2013
c8ec7d4
Work in progress
saleyn Oct 2, 2013
39bd4d2
Docs changed
saleyn Oct 2, 2013
aa77655
Work in progress
saleyn Oct 2, 2013
6c93189
Work in progress
saleyn Oct 2, 2013
1746487
Work in progress porting to TR1
saleyn Oct 3, 2013
fc470b6
Renamed methods in transport_msg
saleyn Oct 10, 2013
478b003
Added async_queue
saleyn Oct 11, 2013
6c28417
Work in progress
saleyn Oct 12, 2013
deafc8d
Added ASIO waitable queue
saleyn Oct 15, 2013
acd70c5
Work in progress
saleyn Oct 16, 2013
3695384
Work in progress
saleyn Oct 18, 2013
4034d57
Moved code to implementation
saleyn Nov 27, 2013
693539e
Readme reformatted
saleyn Nov 27, 2013
fe181a9
Renamed readme
saleyn Nov 27, 2013
8c1a73c
Redacted readme
saleyn Nov 27, 2013
4bdf97c
Redacted readme
saleyn Nov 27, 2013
c40b121
Redacted readme
saleyn Nov 27, 2013
37ce661
Fixed make install
saleyn Nov 28, 2013
1b43ecc
Replaced atom_table::string_t with std::string
saleyn Mar 18, 2014
caf60d3
Cleanup of atom table
saleyn Mar 21, 2014
f586b9c
Added printout of LDFLAGS
saleyn Apr 15, 2014
942f1ab
Placement of basic_rpc_server to correct location
saleyn May 8, 2014
e411b84
switching back to prefixed config.h, making it installable
x0id May 8, 2014
6a26827
eixx::eterm::encode() fix
x0id May 10, 2014
d646cd2
Added subst() function
saleyn Sep 16, 2014
3b74498
Merge branch 'master' of github.com:saleyn/eixx
saleyn Sep 16, 2014
10ccffc
Added varbind initializer list
saleyn Sep 16, 2014
17dd3f0
Added varbind initializer list
saleyn Sep 16, 2014
f4763f5
Makefile reverted
saleyn Sep 16, 2014
bae1af1
Test adjusted
saleyn Sep 16, 2014
ee90bd4
Added rpath
saleyn Sep 16, 2014
7e52873
Var string to list matching of [] lists fixed
saleyn Sep 17, 2014
6e2d415
a
saleyn Sep 17, 2014
1a483f2
Clang compilation bugfix
saleyn Oct 18, 2014
7ee899a
Allow header-only marshalling, no need for libeixx.so
erlanger Nov 7, 2014
f669de1
Merge pull request #7 from erlanger/master
saleyn Nov 8, 2014
4178879
portability enhancements, allow 32-bit platform
erlanger Nov 25, 2014
c45f917
header-only marshalling, no need for ./configure
erlanger Nov 25, 2014
d9f43f4
doc fixes - header-only marshalling
erlanger Nov 25, 2014
d39fcab
Merge pull request #10 from erlanger/master
saleyn Nov 26, 2014
191dae6
fix compilation under clang
Altren Dec 3, 2014
d9f9872
Merge pull request #11 from Altren/master
saleyn Dec 4, 2014
d5839db
Some clang compilation fixes
saleyn Dec 8, 2014
2f3f5d1
Some clang compilation fixes
saleyn Dec 8, 2014
ab21921
Added string to std::string conversion method
saleyn Dec 8, 2014
a1ba97b
Added string to std::string conversion method
saleyn Dec 8, 2014
cda3d1e
avoid using size of non-static data member (doesnt't compile with cla…
Altren Dec 19, 2014
ed54ad4
Merge pull request #12 from Altren/master
saleyn Dec 19, 2014
be849af
fix compilation of eixx itself under clang
Altren Feb 6, 2015
4a866bf
fix forward declaration inconsistency (some classes are declared as s…
Altren Feb 6, 2015
55f974e
Merge pull request #13 from Altren/master
saleyn Feb 9, 2015
5135f71
Update README.md
saleyn Apr 12, 2015
81acf9c
Update README.md
saleyn Apr 12, 2015
6fae17e
Replace boost with std
saleyn May 26, 2015
ee78a95
Merge branch 'master' of github.com:saleyn/eixx
saleyn May 26, 2015
b7f4994
Add copy assignment
saleyn May 26, 2015
3717c99
Fix CLANG compilation warning
saleyn Nov 20, 2015
fc85c6a
Assert that sizeof(eterm) platform independently
matwey Nov 27, 2015
78a3dbb
Fix test_eterm_encode for platforms with sizeof(long) < 8
matwey Nov 27, 2015
37ece8e
Reimplement bit_scan_forward using __builtin_ctzl
matwey Nov 29, 2015
27ce7e8
Merge pull request #18 from matwey/32bit
saleyn Nov 29, 2015
bd8b2bb
Handle UB in bit_scan_forward
matwey Nov 29, 2015
fbb064f
Merge pull request #20 from matwey/32bit
saleyn Nov 29, 2015
29202db
Add rpath
saleyn Dec 2, 2015
4f5c9a0
Merge branch 'master' of github.com:saleyn/eixx
saleyn Dec 2, 2015
5bda48f
Add safety guard
saleyn Dec 2, 2015
2481a2b
Remove supurfluous rpath
saleyn Dec 2, 2015
35adeef
Fix bug in atom table
saleyn Dec 2, 2015
32a082f
Install README.md and LICENSE properly
matwey Dec 6, 2015
f7e5645
Merge pull request #23 from matwey/docs
saleyn Dec 6, 2015
b0625cc
Add perf tests
saleyn Dec 7, 2015
a319247
Merge branch 'master' of github.com:saleyn/eixx
saleyn Dec 7, 2015
336e256
Add string constructor
saleyn Jan 3, 2016
e4a48df
Add badarg atom
saleyn Jan 6, 2016
ed20b86
Reformat code
saleyn Jan 7, 2016
878100a
Add binary from std::string initialization
saleyn Jan 11, 2016
bdf7be8
Fix bug in empty string comparison
saleyn Jan 12, 2016
3027f0f
Add helper methods
saleyn Jan 14, 2016
bcf9f93
Migrate build to cmake
saleyn Jan 17, 2016
52f7658
Fix build
saleyn Jan 17, 2016
75c5371
Fix build issues
saleyn Jan 17, 2016
12869ee
Remove EIXX_NAMESPACE macro
saleyn Jan 17, 2016
eff066f
Fix build issues - stable cmake build
saleyn Jan 17, 2016
4185d9f
Update README
saleyn Jan 17, 2016
b854eca
Update README
saleyn Jan 17, 2016
de28191
Bug fix in list::nth()
saleyn Jan 17, 2016
8d9c592
Add dot to travis for doxygen build
saleyn Jan 17, 2016
8c9f357
Add graphviz to Travis
saleyn Jan 17, 2016
1218075
Fix release warnings
saleyn Jan 17, 2016
34c9bf4
Fix build
saleyn Jan 17, 2016
ff5dd69
Rename implementation files
saleyn Jan 17, 2016
ae34926
Adjust Erlang cmake
saleyn Jan 17, 2016
e37c461
Move files
saleyn Jan 17, 2016
94f210d
Fix Travis OTP release version
saleyn Jan 17, 2016
b885652
Install missing *.hxx files
saleyn Jan 17, 2016
3857f66
Implement no allocation in 0-sized lists
saleyn Jan 18, 2016
d3838d6
Update README
saleyn Jan 19, 2016
c06ceaf
Change perf test to std::alloc
saleyn Jan 19, 2016
654cc27
Update perf test
saleyn Jan 20, 2016
22fdb06
Fix exporting cached variables
saleyn Jan 20, 2016
16c6a5c
Fix makefiles
saleyn Jan 21, 2016
81d8a70
Update README.md
saleyn Jan 23, 2016
b2bd88b
Add pattern match speed tests
saleyn Jan 23, 2016
fa648e3
Merge branch 'master' of github.com:saleyn/eixx
saleyn Jan 23, 2016
ae618a4
Remove whitespace
saleyn Jan 27, 2016
ee49189
Remove tabs
saleyn Feb 18, 2016
3ec814e
Add list::to_pair() function
saleyn Feb 19, 2016
708555b
Move list.to_pair() to eterm.to_pair()
saleyn Feb 19, 2016
2e9c09a
Remove dependency on BOOST branch_hints.hpp (issue #25)
saleyn Mar 17, 2016
c664c90
Consistency fix
saleyn Mar 17, 2016
1d59aa5
Add parsing of binary terms via eterm::format()
saleyn Apr 14, 2016
3816115
Remove release warning
saleyn Apr 14, 2016
a9790a8
Fix prefix argument to make
saleyn Apr 14, 2016
fdfd99c
Add make ver target
saleyn Apr 14, 2016
8a15e2b
Split library installation into a separate clause
saleyn May 10, 2016
c0ca504
Split library installation into a separate clause
saleyn May 10, 2016
af6b760
Split library installation into a separate clause
saleyn May 10, 2016
27da34d
Split library installation into a separate clause
saleyn May 10, 2016
5e1542d
Split library installation into a separate clause
saleyn May 10, 2016
6d8d506
Split library installation into a separate clause
saleyn May 10, 2016
cd24f3d
Split library installation into a separate clause
saleyn May 10, 2016
a846e99
Update README
saleyn May 13, 2016
050b01a
Fix embedded license clauses to be consistent with LICENSE file
saleyn Aug 21, 2016
146a274
Update README
saleyn Aug 21, 2016
732a2ba
Fix Travis build
saleyn Aug 21, 2016
fdd3e88
Add NOTICES file
saleyn Aug 21, 2016
232f3f2
Fix Travis cmake
saleyn Aug 21, 2016
c4fe8dd
Fix Travis cmake
saleyn Aug 21, 2016
1d8dcc4
use int for ERL_VERSION_MAGIC
trin-cz Sep 2, 2016
49c7ecf
interpret ip addresses as short and long nodename
trin-cz Sep 2, 2016
c7e3214
Merge pull request #30 from trin-cz/master
saleyn Sep 2, 2016
6652a61
TODO
saleyn Oct 12, 2016
2e6f589
Merge branch 'master' of github.com:saleyn/eixx
saleyn Oct 12, 2016
91f0adb
Fix bug - uninitialized cons node field
Jul 19, 2019
94f2598
Merge pull request #32 from x0id/upstream
saleyn Jul 20, 2019
c37ab5b
Add support for maps. Temporary disable support for a C++ erlang node.
saleyn Jun 11, 2020
1c85a30
Update Travis script
saleyn Jun 11, 2020
2d8c3d7
Update Travis script
saleyn Jun 11, 2020
773b428
Fix issue with gcc 9.3 compiler
saleyn Jun 11, 2020
79de377
Fix issue with gcc 9.3 compiler
saleyn Jun 11, 2020
8a92e0d
Update for support of GCC 10.1
saleyn Jun 27, 2020
3aff9ed
Fix endian conversion due to changes in boost
saleyn Dec 23, 2020
2846774
Fix package file
saleyn Dec 23, 2020
a3429f1
Add pattern matcher constructor with 1 argument
saleyn Dec 24, 2020
f33065e
Add test case
saleyn Dec 28, 2020
8d9182f
Add check for existing atom
saleyn Jan 11, 2021
9f305ff
Add atom::create
saleyn Jan 11, 2021
b7c6345
Update boost
saleyn Jan 11, 2021
39f6099
Update GCC
saleyn Jan 11, 2021
2b3b450
Fix errors
saleyn Jan 11, 2021
6c77f4d
Fix travis build issue
saleyn Jan 12, 2021
c42f1ea
Fix travis build
saleyn Jan 12, 2021
832e0c3
Add declaration of atom macro
saleyn Jan 25, 2021
809c4db
Add declaration of atom macro
saleyn Jan 25, 2021
d01bdb2
Add declaration of atom macro
saleyn Jan 25, 2021
9559100
Minor fixes
saleyn Feb 17, 2021
9d7359b
Fix exception
saleyn Feb 17, 2021
465cadc
Build Travis with gcc-10
saleyn Feb 17, 2021
62d5326
Add gcc repositories
saleyn Feb 17, 2021
1213d02
Fix Travis
saleyn Feb 17, 2021
f357e37
Do not rely on past guess about encoding size
x0id Mar 20, 2021
d144e93
Merge pull request #33 from saleyn/encode-size
saleyn Mar 23, 2021
32a94ac
Add g++-10 source repos
saleyn Mar 23, 2021
f071291
Add g++-10 source repos
saleyn Mar 23, 2021
c5b3d8f
Revert back the encoding of bool and double to preserve inlining
saleyn Mar 23, 2021
a4757c4
Make compilation C++20 compliant
saleyn May 4, 2021
74c3107
Revert default build to C++17
saleyn May 4, 2021
932ac43
fixes for darwin
heri16 Aug 9, 2021
ccaecf3
Merge pull request #37 from heri16/darwin-bsd
saleyn Aug 9, 2021
d31bc52
Add test case
saleyn Aug 9, 2021
c1218c9
Merge branch 'master' of github.com:saleyn/eixx
saleyn Aug 9, 2021
2253d64
Fix compilation with -Wpedantic
saleyn Aug 13, 2021
af13b9f
fix -Wshadow warning
heri16 Aug 13, 2021
d9dfd3b
Merge pull request #43 from heri16/master
saleyn Aug 13, 2021
b6ecfc3
Fix support of ATOM_UTF8_EXT, SMALL_ATOM_UTF8_EXT
saleyn Aug 16, 2021
5bb0c90
Merge branch 'master' of github.com:saleyn/eixx
saleyn Aug 16, 2021
2c8116a
Support Boost v1.66+ and OTP v20 to v22
heri16 Aug 16, 2021
66723c5
Rename atom::get_len
heri16 Aug 20, 2021
431da35
Merge pull request #45 from heri16/master
saleyn Aug 20, 2021
731c1f3
Remove dynamic exceptions deprecated in C++17
saleyn Aug 20, 2021
50be339
fix C++17 warnings
heri16 Aug 16, 2021
bc3d08e
Merge remote-tracking branch 'origin/master' into iso-cpp17
heri16 Aug 20, 2021
df27fa4
Merge pull request #47 from heri16/iso-cpp17
saleyn Aug 20, 2021
b5ddb65
Fix miscellaneous issues for connecting to OTP 24.0 node
saleyn Aug 20, 2021
5ef2189
Merge branch 'master' of github.com:saleyn/eixx
saleyn Aug 20, 2021
da5b2f0
add version 6 handshake
heri16 Aug 23, 2021
1f3bea3
enable DFLAG_HANDSHAKE_23 and DFLAG_V4_NC
heri16 Aug 23, 2021
6b39521
Merge pull request #48 from heri16/dflag-v4-nc
saleyn Aug 24, 2021
12752b6
hotfix underflow
heri16 Aug 25, 2021
279dedb
Merge pull request #49 from heri16/master
saleyn Aug 25, 2021
2edd21b
Add configurable printing of the creation flag in pid/ref/port
saleyn Aug 25, 2021
b75330b
Partial fix for failing test cases
saleyn Aug 25, 2021
5c0baa3
Fix test
saleyn Aug 25, 2021
20c300b
fix conversion warnings
heri16 Aug 24, 2021
3998054
Merge remote-tracking branch 'origin/master' into fix-conversion-warn…
heri16 Aug 25, 2021
492ce22
fix err_decode_exception usage & compiler warnings
heri16 Aug 26, 2021
95b3ef2
add -Wshadow compiler warnings
heri16 Aug 26, 2021
8b778bd
Remove inclusion of test_node.cpp from the shared/static lib
saleyn Aug 26, 2021
095e29c
fix Wsign-conversion warnings
heri16 Aug 27, 2021
8d0c247
Increase connection and atom system limits
heri16 Aug 27, 2021
8c4594d
fix warnings not caught by gcc (only by clang)
heri16 Aug 27, 2021
f3c3e69
backwards compatible with boost <=1.75
heri16 Aug 30, 2021
ca78984
reduce warnings in tests
heri16 Aug 30, 2021
cbf33d9
compile tests on non-linux
heri16 Aug 30, 2021
464824c
Fix warnings, and creation of new pid/ref
saleyn Aug 31, 2021
506b26d
fix atom api
heri16 Sep 20, 2021
e8de863
Merge remote-tracking branch 'origin/master' into fix-conversion-warn…
heri16 Sep 20, 2021
79aae2d
Merge branch 'master' into fix-conversion-warnings
saleyn Sep 20, 2021
47cd2d8
Merge pull request #50 from heri16/fix-conversion-warnings
saleyn Sep 20, 2021
20bf90b
fix warning on port and epid creation
heri16 Sep 20, 2021
cde17bf
Merge pull request #54 from heri16/fix-conversion-warnings
saleyn Sep 20, 2021
3e7f647
fix list constructor
heri16 Sep 20, 2021
10d0202
Merge pull request #55 from heri16/fix-conversion-warnings
saleyn Sep 20, 2021
d2d79d8
Fix warnings
saleyn Sep 28, 2021
d3b9d96
Add else clause
saleyn Oct 26, 2022
d164806
moving to the latest eixx version
May 21, 2024
76ce0bb
revert namespace
May 30, 2024
854320a
fixed the config.h
abhilashra Jul 9, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix warnings not caught by gcc (only by clang)
  • Loading branch information
heri16 committed Aug 27, 2021

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit 8c4594d35686258145dd67329aea95bae2c5f69e
2 changes: 1 addition & 1 deletion include/eixx/marshal/eterm_match.hpp
Original file line number Diff line number Diff line change
@@ -228,7 +228,7 @@ class eterm_pattern_action {
explicit eterm_pattern_action(const eterm<Alloc>& a_pattern)
: m_pattern(a_pattern), m_opaque(0)
{
auto fun = [](auto& pattern, auto& vars, long opaque) { return true; };
auto fun = [](auto& /*pattern*/, auto& /*vars*/, long /*opaque*/) { return true; };
m_fun = fun;
}

2 changes: 1 addition & 1 deletion include/eixx/marshal/list.hpp
Original file line number Diff line number Diff line change
@@ -163,7 +163,7 @@ class list : protected alloc_base<cons<Alloc>, Alloc> {
a.m_blob = nullptr;
}

explicit list(const cons_t* a_head, int a_len = -1, const Alloc& alloc = Alloc());
explicit list(const cons_t* a_head, size_t a_len = 0, const Alloc& alloc = Alloc());

template <size_t N>
list(const eterm<Alloc> (&items)[N], const Alloc& alloc = Alloc())
12 changes: 5 additions & 7 deletions include/eixx/marshal/list.hxx
Original file line number Diff line number Diff line change
@@ -63,20 +63,18 @@ void list<Alloc>::init(const eterm<Alloc>* items, size_t N, const Alloc& alloc)
}

template <class Alloc>
list<Alloc>::list(const cons_t* a_head, int a_len, const Alloc& alloc)
list<Alloc>::list(const cons_t* a_head, size_t a_len, const Alloc& alloc)
: base_t(alloc)
{
unsigned int alloc_size;
size_t alloc_size;

if (a_len >= 0) {
if (a_len > 0) {
alloc_size = a_len;
} else if (a_len == -1) {
a_len = 0;
} else if (a_len == 0) {
for (const cons_t* p = a_head; p; p = p->next)
a_len++;
alloc_size = a_len;
} else
throw err_bad_argument("List of negative length!");
}

// If this is an empty list - no allocation is needed
if (alloc_size == 0) {