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

Update documentation toolchain so that it compiles again #480

Closed
wants to merge 831 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
831 commits
Select commit Hold shift + click to select a range
1122256
Started broadening Bits tests across varients.
mercere99 Nov 17, 2022
a49b7cd
Setup Bits to that static Bits objects don't have to default to full …
mercere99 Nov 17, 2022
423f614
Adjust Bits tests to use macros for simplicity
mercere99 Nov 18, 2022
369eda6
Added macros to test whole ranges of Bits object sizes
mercere99 Nov 20, 2022
8187ec6
Fixed typos in macros.hpp
mercere99 Nov 21, 2022
283d960
Updated Bits.cpp tests to use more systematic macros.
mercere99 Nov 21, 2022
49d034f
Setup Bits string assignment to only consider 0's and 1's
mercere99 Nov 22, 2022
a9d1dc7
Added a CountBits() that takes a string and count the '0's and 1's (i…
mercere99 Nov 23, 2022
b11988b
Improved string constructor for Bits; Use new CountBits() on strings …
mercere99 Nov 24, 2022
c85643f
Added tests for Bits constructors from std::string or std::bitstring
mercere99 Nov 25, 2022
84bf089
Added sprcialized string pop/get for char and uints in strings.
mercere99 Nov 26, 2022
646a0eb
Expanded TestBasics() in Bits tests; added randomized constructor tes…
mercere99 Nov 27, 2022
470d758
Started making Bits assigment tests more flexible.
mercere99 Nov 28, 2022
c18327e
Added an initial implementation of FormattedText.
mercere99 Nov 29, 2022
e74a99e
Added lots of formatting options for FormattedText.
mercere99 Nov 30, 2022
ab7f345
Updated old BitVector to have front(), back(), and at().
mercere99 Dec 1, 2022
03871e7
Updated new Bits to set front(), back(), and at() as nodiscard.
mercere99 Dec 1, 2022
1b10dce
Added a GetConstRef to map_utils; error if entry not in map.
mercere99 Dec 2, 2022
4b696d3
Started building HTML output for FormattedText
mercere99 Dec 4, 2022
1b5b9ae
Cleanup on FormattedText; added code as a formatting option.
mercere99 Dec 5, 2022
7b72e4a
Added lots of FormatedText options to clear formatting.
mercere99 Dec 5, 2022
af9c5ec
Finished writing initial version of AsHTML()
mercere99 Dec 6, 2022
a02494e
Added [[maybe_unused]] attribute to to functions in notify.hpp
mercere99 Dec 7, 2022
d88367a
Fixed BitVector's at(), front(), and back() to work with BitProxy; ad…
mercere99 Dec 8, 2022
2d8d6e2
Updated to Bits::SetRange() to have an optional value (rather than as…
mercere99 Dec 10, 2022
236cb21
Added is_whitespace() to string_utils.
mercere99 Dec 10, 2022
97e72bd
Added an html_map to FormmatedText to describe conversions.
mercere99 Dec 11, 2022
4db508a
Added public, generic versions of functions to set and clear style in…
mercere99 Dec 12, 2022
d976451
Simple cleanups on FormattedText.hpp
mercere99 Dec 13, 2022
45c46eb
Added std::string compatability functions to FormattedText.hpp
mercere99 Dec 14, 2022
e791033
Renammed FormattedText to just Text.
mercere99 Dec 15, 2022
41ec2a0
Added an initial declartion of TextCharRef to FormattedText.hpp
mercere99 Dec 16, 2022
12e989c
Fleshed out initial declartion of TextCharRef to FormattedText.hpp
mercere99 Dec 17, 2022
0b8d175
Initial fleshed out functions for FormattedText.
mercere99 Dec 18, 2022
cc39953
First parts of FormattedText now compiles.
mercere99 Dec 20, 2022
1efa442
Reworking TextCharRef to have an IS_CONST template option.
mercere99 Dec 21, 2022
ccd4973
Cleaned up FormattedText to the point where file will compile; still …
mercere99 Dec 21, 2022
f47f296
Moved tools/FormattedText.hpp to test/Texthpp.
mercere99 Dec 21, 2022
0ae3f5c
Added test files for emp::Text
mercere99 Dec 21, 2022
fc86bf9
Added tests for functionality that needs to be added to emp::Text
mercere99 Dec 21, 2022
5aa01b1
Added some Get and Set functionality to TextCharRef.
mercere99 Dec 21, 2022
0051a07
Added a handful of new functions to emp::Text needed for tests to work.
mercere99 Dec 22, 2022
f85ac42
Fixed a couple of errors in emp::Text tests.
mercere99 Dec 22, 2022
a5eee52
Setup Text::GetStyles() to work correctly.
mercere99 Dec 22, 2022
0e11995
Updated emp::Text to function as a base class; added a Cleanup() to r…
mercere99 Dec 22, 2022
c24ff65
Added a NOTES file for planning different Text derived classes.
mercere99 Dec 22, 2022
69f6374
Started building the HTML version of emp::Text.
mercere99 Dec 22, 2022
4dccbcb
Added a description of emp::Lexer to the top of the Lexer.hpp file.
mercere99 Dec 23, 2022
626fdfc
Pulled all HTML info out of base emp::Text
mercere99 Dec 23, 2022
06ed7d0
Fleshed out more of HTMLText.
mercere99 Dec 23, 2022
fcc147f
Replaced HTML tests for Text with specific formatting tests.
mercere99 Dec 23, 2022
7529eaa
Added tests for HTMLText.
mercere99 Dec 23, 2022
c66f897
Setup DFAs with a full set of constructors.
mercere99 Dec 23, 2022
8dafb14
Cleanup on lexers for constructors, default arguments, etc.
mercere99 Dec 23, 2022
40eec11
Changed Text::GetString() to Text::GetText()
mercere99 Dec 23, 2022
b43542d
Added lots of processing to HTMLText.
mercere99 Dec 23, 2022
60d44db
Updated emp::Text tests to use GetText()
mercere99 Dec 23, 2022
c6d8e8d
Updated emp::HTMLText to use GetText() and with HTML-input tests.
mercere99 Dec 23, 2022
752c78c
Setup styles to be correct set for newly appended text.
mercere99 Dec 24, 2022
c25d050
Fixed tag order in HTMLText test output.
mercere99 Dec 25, 2022
20dc540
Restructured emp::Text to use one or more TextEncoding objects.
mercere99 Dec 27, 2022
46a3a3e
Added attribute guide to top of Text.hpp
mercere99 Dec 27, 2022
89cdc2a
Added functions to Text.hpp AddEncoding() and SetEncoding().
mercere99 Dec 27, 2022
108e8a4
Added HasEncoding() and operator+= to emp::Text.
mercere99 Dec 27, 2022
d2bb57e
Transformed HTMLText into HTMLEncoding; need to rebuild HTMLText.
mercere99 Dec 27, 2022
129e662
Moved HTMLText.hpp to HTMLEncoding.hpp and converted it to a plug-in
mercere99 Dec 27, 2022
4793468
Added Text::GetEncoding(); improved documentation for several functions.
mercere99 Dec 27, 2022
c82c47f
Added a new HTMLText object that is simply emp::Text which uses HTMLE…
mercere99 Dec 27, 2022
6848bc9
Fixed HTMLEncoding to convert special characters in the output text.
mercere99 Dec 27, 2022
86f260a
Added tests converting regular Text to HTMLText appropriately.
mercere99 Dec 27, 2022
4d7afcf
Cleanup and simplification on Emphatic NOTES.
mercere99 Dec 28, 2022
ee611f3
Started building EmphaicEncoding.hpp
mercere99 Dec 29, 2022
a4b0db9
Added some notes on how to build a generalized markup encoding.
mercere99 Dec 30, 2022
8788a5b
Fixed emp::Text so front() and back() return proper proxy objects.
mercere99 Dec 30, 2022
42714c2
Updated text/NOTES with RegEx conversion code that I don't want to im…
mercere99 Dec 31, 2022
f798426
Added more todos on RegEx.hpp
mercere99 Dec 31, 2022
2dd19f4
More development of EmphaticEncoding.
mercere99 Dec 31, 2022
88657b4
Making HTMLEncoding more generic (soon to move to base class)
mercere99 Jan 1, 2023
8bedcc0
Separated TextEncoding into its own file a moved several helper funct…
mercere99 Jan 1, 2023
9dee1f9
Ripped functions out of HTMLEncoding that are now in the base TextEnc…
mercere99 Jan 1, 2023
e4c9305
Shifted TextEncoding to TextEncoding_Base inside of Text class.
mercere99 Jan 1, 2023
5d3dcbc
Cleaned up TextEncoding names and comments; started building AddCompl…
mercere99 Jan 2, 2023
193d769
Changed HTMLEncoding to use new helper function names.
mercere99 Jan 2, 2023
d786aa0
Removed aliases from style names; each style should have a specific n…
mercere99 Jan 2, 2023
d649460
Added initial implementation for complex tags in TextEncoding.
mercere99 Jan 2, 2023
8ca1b54
Fixed calls to AddBasicTag in HTMLEncoding
mercere99 Jan 2, 2023
96a33d6
Added Emphatic tests to Makefile.
mercere99 Jan 5, 2023
84550a1
Added find_any_of() to string_utils.hpp
mercere99 Jan 8, 2023
85e4276
Added TestError() and TestWarning() to notify.
mercere99 Jan 10, 2023
7f5dbe1
Added get_string_to() and pop_string_to() in string_utils.
mercere99 Jan 12, 2023
df4b0be
Added a slice_assign() method to build a string/string map.
mercere99 Jan 12, 2023
c3098d3
Added a GetLines() method to emp::File.
mercere99 Jan 13, 2023
186a2f2
Added a GetLinesWhile() and GetLinesUntil methods to emp::File.
mercere99 Jan 14, 2023
cc16ace
Added File::Scan class to simplify reading in a file.
mercere99 Jan 15, 2023
691573f
Added trim_whitespace in string_utils to remove beginning and ending …
mercere99 Jan 16, 2023
e6763c8
removed variable names in array to prevent unused variable errors.
mercere99 Jan 17, 2023
04af151
Setup notify::Error() to abort() when in debug mode.
mercere99 Jan 18, 2023
0b0d50a
Lots of minor fixes across several files.
mercere99 Jan 21, 2023
1fbb589
Fixes to string_utils' find_any_of() and slice_align()
mercere99 Jan 21, 2023
a29152f
Setup slice functions to keep paired parens or braces as a unit.
mercere99 Jan 24, 2023
e9545ca
Removed emp::join_on(), a limited join(); cleanup comments and add to…
mercere99 Jan 26, 2023
5c0fbcd
Changed join_on() to join()
mercere99 Jan 26, 2023
6446d38
Cleanup on File; setup apply to detect if function arg modifies strin…
mercere99 Jan 29, 2023
aed1569
Updated string_utils tests to use join() instead of join_on().
mercere99 Jan 29, 2023
8496bb8
Merge branch 'MABE_devel' of https://github.com/devosoft/Empirical in…
mercere99 Jan 29, 2023
74066d7
Added emp::find() which allows for skipping quotes.
mercere99 Jan 31, 2023
b7fc06c
File::RemoveComments now skips quotes by default.
mercere99 Jan 31, 2023
1d41cc4
Added push_back() to BitVector.
mercere99 Feb 2, 2023
9a01a9b
Allow slice_assign() to have empty settings; prevent pop_fixed() from…
mercere99 Feb 4, 2023
29efec2
Updated emp::find to take a starting position.
mercere99 Feb 9, 2023
80d26e2
Make File.hpp use updated version of find.
mercere99 Feb 9, 2023
4767d6f
Added emp::find_non_whitespace() and emp::replace_macro(), plus some …
mercere99 Feb 10, 2023
0b173c3
Added some error handling for files.
mercere99 Feb 10, 2023
cedeb74
Added PopFront() to vector_utils.hpp
mercere99 Feb 10, 2023
8ea7a50
Cleanup/fixes on find_id() and replace_macro() in string_utils.hpp
mercere99 Feb 10, 2023
15b962d
Setup a lot of string_utils functions to be able to skip braces and b…
mercere99 Feb 11, 2023
5248253
Added operator! and FindIn() to char_utils.hpp
mercere99 Feb 13, 2023
a374711
Starting a flexible emp::String class.
mercere99 Feb 13, 2023
cb606e3
Renamed StringUtils to just String; improved mode handling; added con…
mercere99 Feb 13, 2023
b921d9b
Added many std::string functions to emp::String
mercere99 Feb 14, 2023
b098268
Made String::Mode a type (for ease of type matching) and added lots o…
mercere99 Feb 15, 2023
cd8e037
Added emp::String operators and stand-alone functions.
mercere99 Feb 16, 2023
9923fea
Added ToEscapeChar() to char_utils.
mercere99 Feb 17, 2023
e25588c
Moved Make* functions out of String:: to be stand-alone.
mercere99 Feb 17, 2023
1c4aac6
Added PunctuationCharSet() to char_utils.
mercere99 Feb 18, 2023
34d0335
Added a bunch more functions to String.
mercere99 Feb 18, 2023
56562b4
Cleaned up String Pop-related functions and Join
mercere99 Feb 18, 2023
245ea05
Added String function for View, Pad, and Repeat.
mercere99 Feb 18, 2023
857b97f
Cleanup to String and addition of Slice() and SliceAssign()
mercere99 Feb 19, 2023
660e07e
Removed String.hpp comments and unused helpers; new functions.
mercere99 Feb 20, 2023
3d881bc
Added ANSI functions to String plus cleaned up remaining functions. …
mercere99 Feb 20, 2023
0b49b70
Removed ANSI formatting from String; these should stay in string_util…
mercere99 Feb 20, 2023
b6fe479
Lots of fixes to String.hpp after initial compilation attempts.
mercere99 Feb 20, 2023
92b75c8
Lots of updates and fixes to String; now compiles and passes initial …
mercere99 Feb 21, 2023
6a2e4c8
Improved CharSet constructors; added EscapeCodeCharSet()
mercere99 Feb 21, 2023
a58e739
Added String.cpp unit tests.
mercere99 Feb 21, 2023
9daa64a
Cleanup to reduce String class definition size; added lots of [[nodis…
mercere99 Feb 21, 2023
ec27fd9
Lots more String cleanup; fixed uses of Find() that didn't include st…
mercere99 Feb 21, 2023
95471a7
Added -Wextra to tools/ Makefile
mercere99 Feb 22, 2023
67a4468
Interim attmpt at setting up a generic Text encoding.
mercere99 Feb 23, 2023
c2be397
Converted Text to use emp::String instead of std::string
mercere99 Feb 24, 2023
6caeb5a
Added PopAll() to String.
mercere99 Feb 24, 2023
a000883
Listed find_match function in top comments of string_utils.hpp
mercere99 Feb 24, 2023
25de4a1
Overhaul of TextEncoding.
mercere99 Feb 24, 2023
c667cf0
Cleanup on text encoding so it should compile.
mercere99 Feb 24, 2023
73af87f
Added assign() and hash to String.
mercere99 Feb 24, 2023
3297ef2
Cleanup on HTMLEncoding to work with new encoding system.
mercere99 Feb 24, 2023
729ee13
Fixed TextEncoding and added a PrintDebug()
mercere99 Feb 25, 2023
fc39e91
Setup PrintDebug() in Text.
mercere99 Feb 25, 2023
e9fd121
Updated HTMLText tests.
mercere99 Feb 25, 2023
7ca72a4
Cleaned up Text operator= and provided more ways to manipulate encodi…
mercere99 Feb 25, 2023
3c34b66
Cleaned up text encoding to better handle special characters.
mercere99 Feb 25, 2023
669f3bf
Expanded HTMLText constructors and streamlined
mercere99 Feb 25, 2023
a9e41de
Added HTMLText test for  
mercere99 Feb 25, 2023
fe020ac
Made comparison operators const in File; cleaned up file loading from…
mercere99 Feb 26, 2023
bd676a4
Fixed some typos in sequence utils
mercere99 Feb 27, 2023
0e9c7b3
Added is_punctuation to char_utils.hpp
mercere99 Feb 27, 2023
7db913f
Merge branch 'master' into mabe-systematics
emilydolson Feb 28, 2023
576a7a0
Add span-lite back in (not sure how it got remove)
emilydolson Feb 28, 2023
f5210eb
remove span-lite again
emilydolson Feb 28, 2023
4636ce4
Fix tidy include
emilydolson Feb 28, 2023
14bff00
Get rid of extraneous bracket
emilydolson Feb 28, 2023
cc05c56
Fix boiler plate
emilydolson Feb 28, 2023
249cba7
Fix trailing whitespace
emilydolson Feb 28, 2023
b647081
Fix license
emilydolson Feb 28, 2023
47e6222
Make bitset_utils compile in clang
emilydolson Feb 28, 2023
96343e4
remove extra bracket
emilydolson Feb 28, 2023
24b4fda
Fix alphabetization
emilydolson Feb 28, 2023
d6ec8e9
Fix bits destructor
emilydolson Feb 28, 2023
b6ecd90
Fix newlines at end of files
emilydolson Feb 28, 2023
1d2e2fe
Cleanup on String.hpp
mercere99 Feb 28, 2023
939a928
Fix variable name
emilydolson Feb 28, 2023
e69a188
Maybe fix span
emilydolson Feb 28, 2023
5ba7bd4
Temporary workaround because span doesn't have a constructor for emp …
emilydolson Mar 1, 2023
0d268b8
Switch SmallFifoMap to std array
emilydolson Mar 1, 2023
18e2884
Fix trailing whitespace
emilydolson Mar 1, 2023
5fcaab8
Merge branch 'MABE_devel' into mabe-systematics
emilydolson Mar 1, 2023
70ac008
Change test to reflect changes to slice
emilydolson Mar 1, 2023
c029285
Fix bug where 1s outside part of bitstring containing numberare being…
emilydolson Mar 1, 2023
6dbeb87
Temporarily swap in std::array in a couple spots
emilydolson Mar 1, 2023
8a7e5d8
view_slices no longer includes trailing EOF
emilydolson Mar 1, 2023
7b689c1
Update web test tool chain
emilydolson Mar 1, 2023
89d27f4
CountOnes was removed, so remove tests for it
emilydolson Mar 1, 2023
fed868a
Remove make command for EmphaticText because there is no EmphaticText…
emilydolson Mar 1, 2023
930f208
Behavior has changed due to new slice implementation - commented test…
emilydolson Mar 1, 2023
9c58ba2
Update slice tests to match new behavior
emilydolson Mar 1, 2023
533519a
Fix whitespace
emilydolson Mar 1, 2023
c2a6e71
Restore original behavior of slice
emilydolson Mar 1, 2023
55390fb
Fix whitespace
emilydolson Mar 1, 2023
9f0f2da
Possibly working version?
emilydolson Mar 7, 2023
0675839
Add preliminary tests + bug fixes to phylo import
emilydolson Mar 7, 2023
d3b0ec6
Fix trailing whitespace
emilydolson Mar 7, 2023
5bb3f08
Fix tidying
emilydolson Mar 7, 2023
15321f7
Fix clang compilation error
emilydolson Mar 7, 2023
5972800
Fix trailing whitespace
emilydolson Mar 7, 2023
dbf012d
Add test ensuring file save and load are identical
rodsan0 Mar 7, 2023
de128c9
Add some assets for load/save test
rodsan0 Mar 7, 2023
8502ed8
Store tracked phenotype to file
rodsan0 Mar 7, 2023
c46e604
Comment out broken tests
rodsan0 Mar 7, 2023
fda8efe
Org info is type string
rodsan0 Mar 7, 2023
9952d31
Origination and destruction time are optional
emilydolson Mar 7, 2023
f9d6b22
Fix total offspring and depth
emilydolson Mar 7, 2023
8f65891
Merge branch 'mabe-systematics' of github.com:devosoft/Empirical into…
emilydolson Mar 7, 2023
dbd17b4
Fix trailing whitespace
emilydolson Mar 7, 2023
f0f9517
Add comments
emilydolson Mar 7, 2023
5dd3e8c
Read num_orgs and tot_orgs from file, if present
rodsan0 Mar 8, 2023
f439620
Add total_offspring tests
emilydolson Mar 8, 2023
80f2e64
Origin and destruction time are doubles
emilydolson Mar 8, 2023
258767e
Merge branch 'mabe-systematics' of github.com:devosoft/Empirical into…
emilydolson Mar 8, 2023
cbc7e16
Add degree distribution + fix loading total_offspring
emilydolson Mar 8, 2023
c49c548
Add GetAverageOriginTime
emilydolson Mar 9, 2023
e46fa2b
Fix trailing whitespace
emilydolson Mar 9, 2023
d836675
Add docstrings
emilydolson Mar 9, 2023
bb90c6c
Revert range changes that clang cant handle
emilydolson Mar 9, 2023
6ba8421
fix constness
emilydolson Mar 9, 2023
e01b3ec
remove ranges include
emilydolson Mar 9, 2023
40dc072
Temporarily swap in std library log2
emilydolson Mar 9, 2023
fe6c456
Speed up loading
emilydolson Mar 9, 2023
e770848
Remove todo; keeping a set of ancestor pointers is cheap and necessar…
emilydolson Mar 9, 2023
5222ec6
Add ability to configure total offspring; assume extant orgs have pop…
emilydolson Mar 9, 2023
82f5932
Add org_count and total_depth to load
emilydolson Mar 9, 2023
a56c167
Add evolutionary distinctiveness functions
emilydolson Mar 9, 2023
9c25c55
Fix evolutionary distinctiveness functions
emilydolson Mar 9, 2023
0dcfad4
Fix trailing whitespace
emilydolson Mar 9, 2023
77f1eed
Get rid of test for large file
emilydolson Mar 9, 2023
afb7a41
Merge branch 'mabe-systematics' of github.com:devosoft/Empirical into…
emilydolson Mar 9, 2023
8658616
Fix catch version
emilydolson Mar 9, 2023
f11e64a
Fix force-cover version
emilydolson Mar 9, 2023
6a5a496
Update doc toolchain
emilydolson Mar 10, 2023
5011167
Add heading to docs
emilydolson Mar 10, 2023
a428a97
Enable manual workflow dispatch
mmore500 Jun 10, 2023
1354361
Merge remote-tracking branch 'origin/master' into fix-docs
mmore500 Jun 10, 2023
d318583
Disable cache so pip finds available package versions
mmore500 Jun 10, 2023
3d2457d
Try upgrading pip
mmore500 Jun 10, 2023
7f7e33d
Fix Dockerfile syntax
mmore500 Jun 10, 2023
68d8801
Tidy up
mmore500 Jun 10, 2023
be762e7
Set py3.6 compatible requirements
mmore500 Jun 11, 2023
6486aa5
Revert "Set py3.6 compatible requirements"
mmore500 Jun 11, 2023
2a15a51
Try using py310 for docs build
mmore500 Jun 11, 2023
736f718
Bump Dockerfile ubuntu, use py310 for docs
mmore500 Jun 11, 2023
f559cde
Install deps on sys python, too
mmore500 Jun 11, 2023
3af4c09
Try marking python3
mmore500 Jun 11, 2023
f883b53
Mark python3
mmore500 Jun 11, 2023
bbe3247
Merge branch 'fix-docs' of github.com:devosoft/Empirical into fix-docs
emilydolson Jun 11, 2023
04c8877
Update rtd python version
emilydolson Jun 11, 2023
62a618d
Fix trailing newline
emilydolson Jun 11, 2023
3d1e2c4
Try using pypy
emilydolson Jun 11, 2023
2f88dc5
Try bumping versions for improved performance
emilydolson Jun 11, 2023
bdada3c
go back to cpython
emilydolson Jun 11, 2023
e0d4cda
Merge branch 'master' into fix-docs
mmore500 Dec 7, 2023
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
3 changes: 2 additions & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
- '**'
schedule:
- cron: '0 0 * * 0'
workflow_dispatch:
jobs:
tidy:
name: Enforce Tidyness
Expand Down Expand Up @@ -143,7 +144,7 @@ jobs:
submodules: 'recursive'
- run: |
make -C doc html coverage | ./doc/headtail.sh
python doc/parse_documentation_coverage.py doc/_build/doc-coverage.json >> doc-coverage.json
python doc/parse_documentation_coverage.py doc/_build/doc-coverage.json >> doc/doc-coverage.json
- uses: sylvanld/action-storage@v1
if: github.ref == 'refs/heads/master'
with:
Expand Down
7 changes: 3 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
*~
*.csv
*.debug
*.dSYM
*.gcov
Expand All @@ -17,16 +18,15 @@
*.dat
*.exe
*tmp.*
*-bak.*
*-bak2.*

*/env/*
*/3nv/*

.DS_Store
a.out
a.out.js
fitness.csv
population.csv
systematics.csv

incoming/
tmp/
Expand Down Expand Up @@ -88,7 +88,6 @@ examples/*/*
!examples/*/Makefile
!examples/timing/BENCHMARKS

tests/*.csv
tests/StatsConfig.cfg
tests/web/*.js
tests/web/package.json
Expand Down
4 changes: 0 additions & 4 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@
path = third-party/cereal
url = https://github.com/mmore500/cereal.git
shallow = true
[submodule "third-party/span-lite"]
path = third-party/span-lite
url = https://github.com/martinmoene/span-lite.git
shallow = true
[submodule "third-party/robin-hood-hashing"]
path = third-party/robin-hood-hashing
url = https://github.com/martinus/robin-hood-hashing.git
Expand Down
17 changes: 8 additions & 9 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,21 @@
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details

#Required
# Required
version: 2

# Set the version of Python and other tools you might need
build:
os: ubuntu-22.04
tools:
python: "3.7"
python: "3.10"


# Build documentation in the docs/ directory with Sphinx
sphinx:
configuration: doc/conf.py

# Optionally build your docs in additional formats such as PDF
formats: []
configuration: doc/conf.py

# Optionally set the version of Python and requirements required to build your docs
# Optionally declare the Python requirements required to build your docs
python:
install:
- requirements: doc/requirements.txt
install:
- requirements: doc/requirements.txt
69 changes: 45 additions & 24 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Pull base image.
FROM ubuntu:bionic-20210416
FROM ubuntu:focal-20230412

COPY . /opt/Empirical

Expand All @@ -8,6 +8,7 @@ SHELL ["/bin/bash", "-c"]
# Prevent interactive time zone config.
# adapted from https://askubuntu.com/a/1013396
ENV DEBIAN_FRONTEND=noninteractive
ENV SPHINXBUILD="python3.10 -m sphinx"

RUN \
echo 'Acquire::http::Timeout "60";' >> "/etc/apt/apt.conf.d/99timeout" \
Expand All @@ -31,22 +32,21 @@ RUN \
&& \
rm -rf /var/lib/apt/lists/* \
&& \
find /etc/apt -type f -name '*.list' -exec sed -i 's/\(^deb.*-backports.*\)/#\1/; s/\(^deb.*-updates.*\)/#\1/; s/\(^deb.*-proposed.*\)/#\1/; s/\(^deb.*-security.*\)/#\1/' {} + \
&& \
apt-get update -y \
&& \
apt-get install -y software-properties-common=0.96.24.32.1 \
apt-get install -y software-properties-common \
&& \
add-apt-repository -y ppa:ubuntu-toolchain-r/test \
&& \
add-apt-repository -y ppa:deadsnakes/ppa \
&& \
apt-get update -y \
&& \
apt-get install --no-install-recommends --allow-downgrades -y \
dpkg-dev \
libc6=2.27-3ubuntu1 \
libc6-dev \
libc6-dbg \
build-essential \
dpkg-dev \
g++-11 \
libc6 \
xvfb \
x11vnc \
x11-xkb-utils \
Expand All @@ -60,21 +60,14 @@ RUN \
libnss3 \
lsb-release \
xdg-utils \
g++-8=8-20180414-1ubuntu2 \
gcc-8-base=8-20180414-1ubuntu2 \
cpp-8=8-20180414-1ubuntu2 \
gcc-8=8-20180414-1ubuntu2 \
gcc-8-base=8-20180414-1ubuntu2 \
libgcc-8-dev \
libstdc++-8-dev \
cmake \
python-virtualenv \
python-pip-whl \
python-pip \
python-setuptools \
python3-distutils \
python3-setuptools \
python3-virtualenv \
python3-pip \
'python3\.10' \
'python3\.10-distutils' \
'python3\.10-venv' \
nodejs \
npm \
tar \
Expand All @@ -84,7 +77,7 @@ RUN \
doxygen \
curl \
perl \
perl-base=5.26.1-6 \
perl-base \
git \
htop \
man \
Expand Down Expand Up @@ -162,25 +155,47 @@ ENV DISPLAY :99
RUN echo 'kernel.unprivileged_userns_clone=1' > /etc/sysctl.d/userns.conf

RUN \
update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-8 90 \
update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-11 90 \
&& \
npm install -g n \
&& \
n 14.17 \
&& \
hash -r \
&& \
export python="/usr/bin/python3" \
&& \
npm install source-map \
&& \
echo "finalized set up dependency versions"

RUN \
pip install wheel==0.30.0 \
curl -sS https://bootstrap.pypa.io/get-pip.py | python3 \
&& \
curl -sS https://bootstrap.pypa.io/get-pip.py | python3.10 \
&& \
pip install --upgrade --force-reinstall pip virtualenv \
&& \
pip3 install --upgrade --force-reinstall pip virtualenv \
&& \
python3.10 -m pip install --upgrade --force-reinstall pip virtualenv \
&& \
pip3 install wheel==0.30.0 \
python3 -m pip install --upgrade --force-reinstall pip virtualenv \
&& \
pip install wheel==0.30.0 six==1.16.0 \
&& \
pip3 install wheel==0.30.0 six==1.16.0 \
&& \
python3.10 -m pip install wheel==0.30.0 six==1.16.0 \
&& \
python3 -m pip install wheel==0.30.0 six==1.16.0 \
&& \
pip3 install -r /opt/Empirical/doc/requirements.txt \
&& \
python3.10 -m pip install -r /opt/Empirical/doc/requirements.txt \
&& \
python3 -m pip install -r /opt/Empirical/doc/requirements.txt \
&& \
echo "installed documentation build requirements"

RUN \
Expand All @@ -190,13 +205,19 @@ RUN \
&& \
git submodule init \
&& \
git submodule update -f \
echo "nameserver 8.8.8.8" > /etc/resolv.conf \
&& \
n=0; until [ $n -ge 3 ]; do git submodule update -f && break || ((n++)); sleep 5; done; if [ $n -eq 3 ]; then echo "Update failed after 3 attempts."; else echo "Update successful!"; fi \
&& \
echo "initialized submodules"

RUN \
cd /opt/Empirical \
&& \
curl -sS https://bootstrap.pypa.io/get-pip.py | python3 \
&& \
python3 -m pip install virtualenv \
&& \
make install-test-dependencies \
&& \
echo "installed test dependencies"
Expand Down
4 changes: 2 additions & 2 deletions demos/MAP-Elites-Arm/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ PROJECT := MAP-Elites-Arm
EMP_DIR := ../../include

# Flags to use regardless of compiler
CFLAGS_all := -Wall -Wno-unused-function -std=c++17 -I$(EMP_DIR)/
CFLAGS_all := -Wall -Wno-unused-function -std=c++20 -I$(EMP_DIR)/

# Native compiler information
CXX_nat := g++
Expand All @@ -12,7 +12,7 @@ CFLAGS_nat_debug := -g -DEMP_TRACK_MEM -Wnon-virtual-dtor -Wcast-align -Woverloa

# Emscripten compiler information
CXX_web := emcc
OFLAGS_web_all := -s "EXTRA_EXPORTED_RUNTIME_METHODS=['ccall', 'cwrap']" -s TOTAL_MEMORY=67108864 --js-library $(EMP_DIR)/emp/web/library_emp.js -s EXPORTED_FUNCTIONS="['_main', '_empCppCallback']" -s DISABLE_EXCEPTION_CATCHING=1 -s NO_EXIT_RUNTIME=1 #--embed-file configs
OFLAGS_web_all := -s "EXPORTED_RUNTIME_METHODS=['ccall', 'cwrap']" -s TOTAL_MEMORY=67108864 --js-library $(EMP_DIR)/emp/web/library_emp.js -s EXPORTED_FUNCTIONS="['_main', '_empCppCallback']" -s DISABLE_EXCEPTION_CATCHING=1 -s NO_EXIT_RUNTIME=1 #--embed-file configs
OFLAGS_web := -Oz -DNDEBUG
# OFLAGS_web_debug := -g4 -Oz -pedantic -Wno-dollar-in-identifier-extension -s ASSERTIONS=2
OFLAGS_web_debug := -g4 -pedantic -Wno-dollar-in-identifier-extension -s ASSERTIONS=2
Expand Down
2 changes: 1 addition & 1 deletion demos/NK/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ PROJECT := NK
EMP_DIR := ../../include

# Flags to use regardless of compiler
CFLAGS_all := -Wall -Wno-unused-function -std=c++17 -I$(EMP_DIR)/
CFLAGS_all := -Wall -Wno-unused-function -std=c++20 -I$(EMP_DIR)/

# Native compiler information
CXX_nat := g++
Expand Down
2 changes: 1 addition & 1 deletion demos/SelectionAnalyze/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Flags to use regardless of compiler
CFLAGS_all := -Wall -Wno-unused-function -I../../include/
CFLAGS_version := -std=c++17
CFLAGS_version := -std=c++20

# Emscripten compiler information
CXX_web := emcc
Expand Down
2 changes: 1 addition & 1 deletion demos/SpatialCoop2017/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ PROJECT := SimplePDWorld
EMP_DIR := ../../include

# Flags to use regardless of compiler
CFLAGS_all := -Wall -Wno-unused-function -std=c++17 -I$(EMP_DIR)/
CFLAGS_all := -Wall -Wno-unused-function -std=c++20 -I$(EMP_DIR)/

# Native compiler information
CXX_nat := g++
Expand Down
2 changes: 1 addition & 1 deletion demos/Sudoku/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Flags to use regardless of compiler
CFLAGS_all := -std=c++17 -Wall -Wno-unused-function -I../../include/
CFLAGS_all := -std=c++20 -Wall -Wno-unused-function -I../../include/

# Emscripten compiler information
CXX_web := emcc
Expand Down
2 changes: 1 addition & 1 deletion demos/utils/graphs/web/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
CXX_web := emcc
# OFLAGS_web := -g4 -Wall
OFLAGS_web := -oz -DNDEBUG
CFLAGS_web := -std=c++17 $(OFLAGS_web) -s EXPORTED_FUNCTIONS="['_empLoadString']" -I../../../../include/
CFLAGS_web := -std=c++20 $(OFLAGS_web) -s EXPORTED_FUNCTIONS="['_empLoadString']" -I../../../../include/

default: web

Expand Down
Loading
Loading