Skip to content

Commit bf2ba98

Browse files
committed
Preparing release 2.1.0.
1 parent 8beece8 commit bf2ba98

File tree

14 files changed

+405
-34
lines changed

14 files changed

+405
-34
lines changed

bytecode-tests/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>pl.gdela</groupId>
88
<artifactId>socomo-parent</artifactId>
9-
<version>2.1-SNAPSHOT</version>
9+
<version>2.1.0</version>
1010
</parent>
1111
<artifactId>bytecode-tests</artifactId>
1212
<packaging>jar</packaging>

bytecode-tests/socomo.html

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,8 @@
44
<html lang='en'>
55
<head>
66
<title>Socomo: Bytecode Analyzer Tests</title>
7-
<link href='http://localhost:8086/index.css' rel='stylesheet'/>
8-
<script src='http://localhost:8086/index.js'></script>
9-
<script>
10-
if (typeof socomo === 'undefined') document.write(
11-
'<i>Socomo 2.1-SNAPSHOT, an in-development version, was used to generate this file. To view it ' +
12-
'you need to be running `npm --prefix socomo-view run serve` in your local clone of Socomo.</i>' +
13-
'<style>script{display:block;white-space:pre;font-family:monospace;}i{color:red;}</style>'
14-
)
15-
</script>
7+
<link href='https://cdn.jsdelivr.net/gh/gdela/[email protected]/socomo-view/dist/index.css' rel='stylesheet'/>
8+
<script src='https://cdn.jsdelivr.net/gh/gdela/[email protected]/socomo-view/dist/index.js'></script>
169
<meta http-equiv='content-type' content='text/html;charset=UTF-8'/>
1710
</head>
1811
<script>

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<groupId>pl.gdela</groupId>
77
<artifactId>socomo-parent</artifactId>
88
<packaging>pom</packaging>
9-
<version>2.1-SNAPSHOT</version>
9+
<version>2.1.0</version>
1010

1111
<name>Socomo</name>
1212
<description>

socomo-core/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>pl.gdela</groupId>
88
<artifactId>socomo-parent</artifactId>
9-
<version>2.1-SNAPSHOT</version>
9+
<version>2.1.0</version>
1010
</parent>
1111
<artifactId>socomo-core</artifactId>
1212
<packaging>jar</packaging>

socomo-core/socomo.html

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,8 @@
44
<html lang='en'>
55
<head>
66
<title>Socomo: Socomo Core</title>
7-
<link href='http://localhost:8086/index.css' rel='stylesheet'/>
8-
<script src='http://localhost:8086/index.js'></script>
9-
<script>
10-
if (typeof socomo === 'undefined') document.write(
11-
'<i>Socomo 2.1-SNAPSHOT, an in-development version, was used to generate this file. To view it ' +
12-
'you need to be running `npm --prefix socomo-view run serve` in your local clone of Socomo.</i>' +
13-
'<style>script{display:block;white-space:pre;font-family:monospace;}i{color:red;}</style>'
14-
)
15-
</script>
7+
<link href='https://cdn.jsdelivr.net/gh/gdela/[email protected]/socomo-view/dist/index.css' rel='stylesheet'/>
8+
<script src='https://cdn.jsdelivr.net/gh/gdela/[email protected]/socomo-view/dist/index.js'></script>
169
<meta http-equiv='content-type' content='text/html;charset=UTF-8'/>
1710
</head>
1811
<script>

socomo-maven/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>pl.gdela</groupId>
88
<artifactId>socomo-parent</artifactId>
9-
<version>2.1-SNAPSHOT</version>
9+
<version>2.1.0</version>
1010
</parent>
1111
<artifactId>socomo-maven</artifactId>
1212
<packaging>maven-plugin</packaging>

socomo-maven/socomo.html

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,8 @@
44
<html lang='en'>
55
<head>
66
<title>Socomo: Socomo Maven Plugin</title>
7-
<link href='http://localhost:8086/index.css' rel='stylesheet'/>
8-
<script src='http://localhost:8086/index.js'></script>
9-
<script>
10-
if (typeof socomo === 'undefined') document.write(
11-
'<i>Socomo 2.1-SNAPSHOT, an in-development version, was used to generate this file. To view it ' +
12-
'you need to be running `npm --prefix socomo-view run serve` in your local clone of Socomo.</i>' +
13-
'<style>script{display:block;white-space:pre;font-family:monospace;}i{color:red;}</style>'
14-
)
15-
</script>
7+
<link href='https://cdn.jsdelivr.net/gh/gdela/[email protected]/socomo-view/dist/index.css' rel='stylesheet'/>
8+
<script src='https://cdn.jsdelivr.net/gh/gdela/[email protected]/socomo-view/dist/index.js'></script>
169
<meta http-equiv='content-type' content='text/html;charset=UTF-8'/>
1710
</head>
1811
<script>

socomo-maven/src/main/java/pl/gdela/socomo/maven/AnalyzeMojo.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* Maven plugin to execute Socomo analysis.
1010
*/
1111
@Mojo(name = "analyze", defaultPhase = PACKAGE)
12-
class AnalyzeMojo extends SocomoMojo {
12+
public class AnalyzeMojo extends SocomoMojo {
1313

1414
@Override
1515
void beforeExecute() {

socomo-maven/src/main/java/pl/gdela/socomo/maven/DisplayMojo.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Maven plugin to execute Socomo analysis and display results in the browser.
88
*/
99
@Mojo(name = "display")
10-
class DisplayMojo extends SocomoMojo {
10+
public class DisplayMojo extends SocomoMojo {
1111

1212
private static int numberOfDisplays;
1313

socomo-view/dist/bundle.css

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
html {
2+
height: 100%;
3+
font-family: Arial, Helvetica, sans-serif; }
4+
5+
body {
6+
margin: 0;
7+
height: calc(100% - 1px);
8+
/* less 1px to avoid scrollbar due to rounding errors */
9+
display: flex;
10+
flex-direction: column; }
11+
12+
#header-container {
13+
flex: 0 0;
14+
color: #ffffff;
15+
margin: 2px;
16+
background: #a3c7c1;
17+
border-radius: 5px; }
18+
19+
#diagram-container {
20+
flex: 1 1;
21+
background: #ffffff; }
22+
23+
#diagram-container div {
24+
width: 100%;
25+
height: 100%; }
26+
27+
h1 {
28+
margin: 8px;
29+
font-size: 15px;
30+
font-family: Lato, sans-serif;
31+
font-weight: bold; }
32+
33+
code {
34+
font-family: Consolas, Inconsolata, monospace;
35+
font-weight: normal; }
36+

socomo-view/dist/bundle.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)