Skip to content

Commit

Permalink
Prepare for release v1.8
Browse files Browse the repository at this point in the history
  • Loading branch information
jarun committed Mar 12, 2018
1 parent 97f5423 commit a1bb800
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 13 deletions.
25 changes: 19 additions & 6 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,13 +1,26 @@
bcal 1.7
2016-10-10
bcal v1.8
2018-03-12

What's in?
- Dependency on libquadmath dropped (`bcal` will be on Homebrew soon!)
- Option `-b` to show byte size of basic data types
- Limit unit conversions to `long double` (`__float128_t` is not portable)
- Fix test case failures on OS X
- Generate packages for many more distro versions
- Automated build and test for gcc, clang (Linux and OS X) and musl-gcc (Linux)

-------------------------------------------------------------------------------

bcal v1.7
2017-10-07

What's in?
- PackageCore integration
- Automated testing in Travis CI

-------------------------------------------------------------------------------

bcal 1.6
bcal v1.6
2017-06-30

What's in?
Expand All @@ -19,15 +32,15 @@ What's in?

-------------------------------------------------------------------------------

bcal 1.5
bcal v1.5
2017-04-10

Modifications
- Support binary and octal in CHS2LBA and LBA2CHS conversions

-------------------------------------------------------------------------------

bcal 1.4
bcal v1.4
2016-10-17

Modifications
Expand All @@ -45,7 +58,7 @@ Modifications
-------------------------------------------------------------------------------

calb v1.0
2016-09-28
2016-09-29

Initial features
- convert to IEC/SI standard data storage units
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -202,4 +202,4 @@ Due to the nature of the project, it's extremely important to test existing func

### Copyright

Copyright © 2016-2017 [Arun Prakash Jana](https://github.com/jarun)
Copyright © 2016-2018 [Arun Prakash Jana](https://github.com/jarun)
4 changes: 2 additions & 2 deletions bcal.1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.TH "BCAL" "1" "10 Oct 2017" "Version 1.7" "User Commands"
.TH "BCAL" "1" "12 Mar 2018" "Version 1.8" "User Commands"
.SH NAME
bcal \- Storage conversion and expression calculator.
.SH SYNOPSIS
Expand Down Expand Up @@ -154,7 +154,7 @@ Arun Prakash Jana <[email protected]>
.SH REPORTING BUGS
.I https://github.com/jarun/bcal/issues
.SH LICENSE
Copyright \(co 2016-2017 Arun Prakash Jana <[email protected]>
Copyright \(co 2016-2018 Arun Prakash Jana <[email protected]>
.PP
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
.br
Expand Down
4 changes: 2 additions & 2 deletions packagecore.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ packages:
builddeps:
- make
- gcc
centos7.1
centos7.1:
builddeps:
- make
- gcc
centos7.2
centos7.2:
builddeps:
- make
- gcc
Expand Down
4 changes: 2 additions & 2 deletions src/bcal.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ typedef struct {
ulong s;
} t_chs;

static char *VERSION = "1.7";
static char *VERSION = "1.8";
static char *units[] = {"b", "kib", "mib", "gib", "tib", "kb", "mb", "gb", "tb"};

static char *FAILED = "1";
Expand Down Expand Up @@ -945,7 +945,7 @@ optional arguments:\n\
-d enable debug information and logs\n\
-h show this help and exit\n\n\
Version %s\n\
Copyright © 2016-2017 Arun Prakash Jana <[email protected]>\n\
Copyright © 2016-2018 Arun Prakash Jana <[email protected]>\n\
License: GPLv3\n\
Webpage: https://github.com/jarun/bcal\n", VERSION);
}
Expand Down

11 comments on commit a1bb800

@jarun
Copy link
Owner Author

@jarun jarun commented on a1bb800 Mar 12, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@shaggytwodope @szlin bcal v1.8 is released!

@zmwangx please submit this release to Homebrew.

@eclipseo please update your Fedora submission to this version.

@eclipseo
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is ready for 1.8. I'm waiting for the final package nnn to be accepted to launch every build at the same time.

@jarun
Copy link
Owner Author

@jarun jarun commented on a1bb800 Mar 12, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome!!!

@jarun
Copy link
Owner Author

@jarun jarun commented on a1bb800 Mar 14, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@eclipseo I accepted a PR and made some changes in nnn for Fedora today and would be glad to assist with the progress any way I can. However, I think if we have the rest of the utils ready to go, we should launch the builds without waiting for this single utility.

@eclipseo
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Everything is approved, I plan to launch the builds tomorrow.

@jarun
Copy link
Owner Author

@jarun jarun commented on a1bb800 Mar 15, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's great!

@szlin
Copy link
Collaborator

@szlin szlin commented on a1bb800 Mar 16, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jarun The new version of bcal has been uploaded, I will start to investigate variadic macro issue afterwards.

@jarun
Copy link
Owner Author

@jarun jarun commented on a1bb800 Mar 16, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@eclipseo just noticed your builds are all successful! Thank you!!!

The new packages would be available on Fedora 27 and later, right?

@jarun
Copy link
Owner Author

@jarun jarun commented on a1bb800 Mar 16, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@szlin I took a look at the -pedantic issue. I think we will have to live with it if we want well-defined log levels. We can modify it to pass an extra variable line line number or even the level but that just increases the binary size and in many cases redundant info.

When the say variable args, they should be ready to accept the number 0 without complaining is what I believe.

Do you see any issue in throwing off -pedantic?

@eclipseo
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jarun Yes all builds have completed, they are now in testing phase for 8 days (for f27, f28 is in the freeze period right now).

@szlin
Copy link
Collaborator

@szlin szlin commented on a1bb800 Mar 16, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @jarun, I second that. The purpose of -pedantic is try to follow ISO C for being portable code. If bcal can achieve this goal, we don't need -pedantic.

Please sign in to comment.