Skip to content

Commit df2e88f

Browse files
committed
Unify feel across pages, add release for 4.3.0
1 parent 0622c5f commit df2e88f

6 files changed

Lines changed: 80 additions & 47 deletions

File tree

_includes/common.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121

2222
<style>
2323
.cs-blue {color:white; background: #31708f}
24+
.body-with-margin {margin-right: 50px; margin-left: 50px;}
2425
</style>
2526

2627

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
---
2+
title: Release 4.3.0
3+
tags: release
4+
---
5+
## [Release 4.3.0](https://github.com/ChaiScript/ChaiScript/releases/tag/Release-4.3.0 "Release 4.3.0")
6+
7+
Note: this is scheduled to be the last release that requires boost, new releases
8+
after this will require a C++11 compiler.
9+
Changes since 4.2.0
10+
11+
- Enhanced unit tests
12+
- Add continue statement, fix various use cases for for loops
13+
- Fix use of suffixed numbers in vector initialization
14+
- Code cleanups
15+
- Eliminate global data, which makes code more portable and thread safe
16+
- Fix issue #79
17+
- Merge pretty_print fixes from @mgee #82
18+
- Compiler warning fixes for latest compiler releases
19+
- Fix threading problems
20+
- Fix linking error on MacOS Mavericks #88
21+
- Allow non-const globals
22+
- Make sure user cannot name a variable with :: in it #91
23+
- Fix various string / map / vector size and count calls for compilers which have weird overloads for them. #90 #93 #95
24+
- Make module search path relative to the currently running executable
25+
- Build and work with wstring windows builds
26+
27+
28+
29+

examples.html

Lines changed: 25 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
<head>
99

10+
<title>ChaiScript - Examples.</title>
1011
{% include common.html %}
1112

1213
</head>
@@ -16,43 +17,38 @@
1617

1718
{% include header.html %}
1819

20+
<div class="well well-sm">
21+
<h3>Easy to follow complete examples.</h3>
22+
23+
For more examples, look at the unittests folder in <a href="https://github.com/ChaiScript/ChaiScript/tree/master/unittests">source control</a>. The unittests cover every feature of ChaiScript.
24+
</div>
25+
1926
{% assign posts = site.tags.example | sort: 'id' %}
2027

21-
<div class="panel panel-info">
22-
<div class="panel-heading">
23-
<h3 class="panel-title">Examples</h3>
24-
</div>
25-
<div class="panel-body">
26-
<ul>
27-
{% for post in posts %}
28-
<li>
29-
<a href="#{{ post.title | replace: ' ', '_' }}" onclick="$('#{{ post.title | replace: ' ', '_' }}').collapse('show'); window.location.hash = '#{{ post.title | replace: ' ', '_' }}';">{{ post.title }}</a>
30-
</li>
31-
{{ post.excerpt }}
32-
{% endfor %}
33-
</ul>
28+
<div class="body-with-margin">
29+
<div class="panel panel-default">
30+
<div class="panel-body">
31+
<ul>
32+
{% for post in posts %}
33+
<li>
34+
<a href="#{{ post.title | replace: ' ', '_' }}">{{ post.title }}</a>
35+
</li>
36+
{{ post.excerpt }}
37+
{% endfor %}
38+
</ul>
39+
</div>
3440
</div>
35-
</div>
3641

3742

38-
<div class="panel-group" id="accordion">
3943
{% for post in posts %}
40-
<div class="panel panel-default">
41-
<div class="panel-heading">
42-
<h4 class="panel-title">
43-
<a data-toggle="collapse" data-parent="#accordion" href="#{{ post.title | replace: ' ', '_' }}">
44-
{{ post.title }}
45-
</a>
46-
</h4>
47-
</div>
48-
<div id="{{ post.title | replace: ' ', '_' }}" class="panel-collapse collapse in">
49-
<div class="panel-body">
50-
{{ post.content}}
51-
</div>
52-
</div>
44+
<div class="panel panel-default">
45+
<div class="panel-body">
46+
<h2 id="{{ post.title | replace: ' ', '_' }}"> {{ post.title }} </h2>
47+
{{ post.content}}
5348
</div>
49+
</div>
5450
{% endfor %}
55-
</div>
5651

52+
</div>
5753

5854
</body>

index.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@
55
<!DOCTYPE HTML>
66

77
<head>
8-
8+
<title>ChaiScript - Easy to use scripting for C++.</title>
99
{% include common.html %}
1010

11+
1112
</head>
1213

1314

releases.html

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,25 +6,30 @@
66
<meta http-equiv='Content-Type' content='text/html; charset=utf-8' />
77

88
<head>
9-
9+
<title>ChaiScript - Official releases.</title>
1010
{% include common.html %}
11-
1211
</head>
1312

1413

1514
<body>
1615

1716
{% include header.html %}
1817

19-
<div class="panel panel-info">
20-
<div class="panel-heading">
21-
<h3 class="panel-title">Releases</h3>
22-
</div>
23-
<div class="panel-body">
24-
Releases are officially managed on <a href="https://github.com/ChaiScript/ChaiScript/releases">github</a>.
25-
</div>
18+
<div class="well well-sm">
19+
<h3>Releases are officially managed on <a href="https://github.com/ChaiScript/ChaiScript/releases">github</a>.</h3>
20+
21+
Github is the authoritative list, this list is provided for reference.
2622
</div>
2723

24+
<div class="body-with-margin">
25+
26+
{% assign posts = site.tags.release %}
2827

28+
{% for post in posts %}
29+
30+
{{ post.content}}
31+
32+
{% endfor %}
33+
</div>
2934

3035
</body>

support.html

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<meta http-equiv='Content-Type' content='text/html; charset=utf-8' />
77

88
<head>
9-
9+
<title>ChaiScript - Support.</title>
1010
{% include common.html %}
1111

1212
</head>
@@ -16,13 +16,14 @@
1616

1717
{% include header.html %}
1818

19-
<div class="panel panel-info">
20-
<div class="panel-heading">
21-
<h3 class="panel-title">Support</h3>
22-
</div>
23-
<div class="panel-body">
24-
Please use <a href="">github</a> or stackoverflow for <a href="http://stackoverflow.com/questions/tagged/chaiscript">support</a> questions. Please contact <a href="http://blog.emptycrate.com/contact">jason at emptycrate.com</a> for other support services.
25-
</div>
19+
<div class="well well-sm">
20+
<h3>Support tickets are handled with <a href="https://github.com/ChaiScript/ChaiScript/issues">github</a> issues.</h3>
21+
22+
For general questions, consider using <a href="http://stackoverflow.com/questions/tagged/chaiscript">stackoverflow</a>.
23+
</div>
24+
25+
<div class="alert alert-success">
26+
Please contact <a class="alert-link" href="http://blog.emptycrate.com/contact">jason at emptycrate.com</a> for other support services.
2627
</div>
2728

2829

0 commit comments

Comments
 (0)