Skip to content

Commit

Permalink
Fix for jar problem - V4.6
Browse files Browse the repository at this point in the history
  • Loading branch information
patrovite committed Mar 3, 2020
1 parent 7eb0856 commit 2f54280
Show file tree
Hide file tree
Showing 174 changed files with 10,430 additions and 10,946 deletions.
2 changes: 1 addition & 1 deletion .classpath
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry including="**/*.java" kind="src" output="target/classes" path="src">
<classpathentry kind="src" path="src">
<attributes>
<attribute name="optional" value="true"/>
<attribute name="maven.pomderived" value="true"/>
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Course Generator is a software which can estimate your time in road running race

![Course Generator Main window](https://imgur.com/4tM7kUR.png)

## Status : Version 4.5 (stable)
## Status : Version 4.6 (stable)

## History
I created Course Generator in 2008 for my first 100 km ultra trail. Since then, I added a lot of features and it has been used by a lot of french ultra-runner. Up to the version 3.88 it has been written in C# and now java is used in order to be cross platform (Windows, Mac OS and Linux) and multilingual.
Expand Down
Binary file modified build/course_generator.jar
Binary file not shown.
Binary file modified build/en_cg_doc_4.00.epub
Binary file not shown.
Binary file modified build/en_cg_doc_4.00.pdf
Binary file not shown.
Binary file modified build/fr_cg_doc_4.00.epub
Binary file not shown.
Binary file modified build/fr_cg_doc_4.00.pdf
Binary file not shown.
313 changes: 231 additions & 82 deletions build/help/en/en_cg_doc_4.00.html

Large diffs are not rendered by default.

320 changes: 236 additions & 84 deletions build/help/fr/fr_cg_doc_4.00.html

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions doc/en/build_epub.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,5 @@ pandoc --toc --number-sections --epub-cover-image=./images/CG40_Image.png --css

# copy files
cp -u ./$name ../../build/

echo "Done! 'epub' file generated in the local folder and copied in the 'build' folder"
3 changes: 3 additions & 0 deletions doc/en/build_html.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,6 @@ cp -Ru ./images/* ../../build/help/$lang/images
# copy files
cp -u ./$name ../../build/help/$lang
cp -u ./cg_doc.css ../../build/help/$lang


echo "Done! 'html' file generated in the local folder and files (even images) copied in the 'build/help' folder"
2 changes: 2 additions & 0 deletions doc/en/build_pdf.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,5 @@ pandoc --toc --css cg_doc.css --pdf-engine=xelatex -o $name md/00-Title.md md/01

# copy files
cp -u ./$name ../../build/

echo "Done! 'pdf' file generated in the local folder and copied in the 'build' folder"
Binary file modified doc/en/en_cg_doc_4.00.epub
Binary file not shown.
313 changes: 231 additions & 82 deletions doc/en/en_cg_doc_4.00.html

Large diffs are not rendered by default.

Binary file modified doc/en/en_cg_doc_4.00.pdf
Binary file not shown.
2 changes: 2 additions & 0 deletions doc/fr/build_epub.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,5 @@ pandoc --toc --number-sections --epub-cover-image=./images/CG40_Image.png --css

# copy files
cp -u ./$name ../../build/

echo "Done! 'epub' file generated in the local folder and copied in the 'build' folder"
2 changes: 2 additions & 0 deletions doc/fr/build_html.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,5 @@ cp -Ru ./images/* ../../build/help/$lang/images
# copy files
cp -u ./$name ../../build/help/$lang
cp -u ./cg_doc.css ../../build/help/$lang

echo "Done! 'html' file generated in the local folder and files (even images) copied in the 'build/help' folder"
1 change: 1 addition & 0 deletions doc/fr/build_pdf.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@ pandoc --toc --css cg_doc.css --pdf-engine=xelatex -o $name md/00-Title.md md/01
# copy files
cp -u ./$name ../../build/

echo "Done! 'pdf' file generated in the local folder and copied in the 'build' folder"
Binary file modified doc/fr/fr_cg_doc_4.00.epub
Binary file not shown.
320 changes: 236 additions & 84 deletions doc/fr/fr_cg_doc_4.00.html

Large diffs are not rendered by default.

Binary file modified doc/fr/fr_cg_doc_4.00.pdf
Binary file not shown.
1,590 changes: 795 additions & 795 deletions src/course_generator/Bundle.properties

Large diffs are not rendered by default.

1,589 changes: 795 additions & 794 deletions src/course_generator/Bundle_en_US.properties

Large diffs are not rendered by default.

1,597 changes: 795 additions & 802 deletions src/course_generator/Bundle_es_ES.properties

Large diffs are not rendered by default.

1,585 changes: 792 additions & 793 deletions src/course_generator/Bundle_fr_FR.properties

Large diffs are not rendered by default.

1,590 changes: 795 additions & 795 deletions src/course_generator/Bundle_pt_PT.properties

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions src/course_generator/CgCoordinate.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,11 @@ public class CgCoordinate extends Coordinate {
private static final long serialVersionUID = -4926982997021073873L;
private Color _color;


public CgCoordinate(double lat, double lon, Color color) {
super(lat, lon);
_color = color;
}


public Color getColor() {
return _color;
}
Expand Down
20 changes: 10 additions & 10 deletions src/course_generator/CgData.java
Original file line number Diff line number Diff line change
Expand Up @@ -99,17 +99,17 @@ public class CgData {
public boolean ToDelete;

public CgData(double Num, double Latitude, double Longitude, double Elevation, double ElevationNotSmoothed,
double ElevationSmoothed, double ElevationMemo, int Tag,
double Dist, double Total, double Diff, double Coeff, double Recup, double Slope, double Speed,
double dElevation, int Time, double dTime_f, int TimeLimit, DateTime Hour, int Station, String Name,
String Comment, double tmp1, double tmp2, String FmtLbMiniRoadbook, int OptionMiniRoadbook,
int VPosMiniRoadbook, String CommentMiniRoadbook, int FontSizeMiniRoadbook) {
double ElevationSmoothed, double ElevationMemo, int Tag, double Dist, double Total, double Diff,
double Coeff, double Recup, double Slope, double Speed, double dElevation, int Time, double dTime_f,
int TimeLimit, DateTime Hour, int Station, String Name, String Comment, double tmp1, double tmp2,
String FmtLbMiniRoadbook, int OptionMiniRoadbook, int VPosMiniRoadbook, String CommentMiniRoadbook,
int FontSizeMiniRoadbook) {
this.Num = Num;
this.Latitude = Latitude;
this.Longitude = Longitude;
this.Elevation = Elevation;
this.ElevationNotSmoothed = ElevationNotSmoothed;
this.ElevationSmoothed = ElevationSmoothed;
this.ElevationSmoothed = ElevationSmoothed;
this.ElevationMemo = ElevationMemo;
this.Tag = Tag;
this.Dist = Dist;
Expand Down Expand Up @@ -147,7 +147,7 @@ public CgData() {
this.Longitude = 0;
this.Elevation = 0;
this.ElevationNotSmoothed = 0;
this.ElevationSmoothed = 0;
this.ElevationSmoothed = 0;
this.ElevationMemo = 0;
this.Tag = 0;
this.Dist = 0;
Expand Down Expand Up @@ -299,7 +299,7 @@ public String getElevationNotSmoothedString(int unit, boolean withunit) {
public void setElevationNotSmoothed(double elevationNotSmoothed) {
ElevationNotSmoothed = elevationNotSmoothed;
}

// -------------------------------

public double getElevationSmoothed(int unit) {
Expand Down Expand Up @@ -342,7 +342,7 @@ public String getElevationSmoothedString(int unit, boolean withunit) {
public void setElevationSmoothed(double elevationSmoothed) {
ElevationSmoothed = elevationSmoothed;
}

// -------------------------------
public int getTag() {
return Tag;
Expand Down Expand Up @@ -685,7 +685,7 @@ public CgData CopyTo(CgData d) {
d.Longitude = Longitude;
d.Elevation = Elevation;
d.ElevationNotSmoothed = ElevationNotSmoothed;
d.ElevationSmoothed = ElevationSmoothed;
d.ElevationSmoothed = ElevationSmoothed;
d.ElevationMemo = ElevationMemo;
d.Tag = Tag;
d.Dist = Dist;
Expand Down
Loading

0 comments on commit 2f54280

Please sign in to comment.