Skip to content

Commit 79e36d4

Browse files
committed
doc(several): use https
1 parent be18f45 commit 79e36d4

File tree

5 files changed

+20
-20
lines changed

5 files changed

+20
-20
lines changed

Diff for: INSTALL.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,8 @@ with an option to display program invocations as in:
129129
When building `beluga`, it is necessary to define several macros properly to
130130
select optional features and to pass environmental information.
131131

132-
The following macros are used by [`ocelot`](http://code.woong.org/ocelot/) that
133-
`beluga` depends on:
132+
The following macros are used by [`ocelot`](https://code.woong.org/ocelot/)
133+
that `beluga` depends on:
134134

135135
- `MEM_MAXALIGN`: specifies the maximum alignment factor of storage returned by
136136
`malloc()`. 4 or 8 is a good choice on most systems.
@@ -148,7 +148,7 @@ The macros used in common include:
148148
Macros for the preprocessor proper are:
149149

150150
- `HAVE_REALPATH`: makes the preprocessor use
151-
[`realpath()`](http://man7.org/linux/man-pages/man3/realpath.3.html) for
151+
[`realpath()`](https://man7.org/linux/man-pages/man3/realpath.3.html) for
152152
path canonicalization and include optimization;
153153
- `DIR_SEPARATOR`: a character to separate directories in paths. The
154154
default is `/` (no double quotes necessary). No need to change on Unix-like
@@ -212,7 +212,7 @@ and `LDFLAGS`:
212212
running `yum install glibc-devel.i686 libgcc.i686` on
213213
[Fedora-based distros](https://en.wikipedia.org/wiki/Fedora_%28operating_system%29)
214214
and `sudo apt-get install gcc-multilib` on
215-
[Ubuntu Linux](http://www.ubuntu.com) brings necessary components.)
215+
[Ubuntu Linux](https://www.ubuntu.com) brings necessary components.)
216216

217217
Successful build of `beluga` generates two executables, `bcc` and `beluga` in
218218
the `build/` directory.

Diff for: README.md

+9-9
Original file line numberDiff line numberDiff line change
@@ -3,23 +3,23 @@ beluga: a standard C compiler
33

44
`beluga` is a standard C compiler being developed based on an earlier version
55
of [`lcc`](https://github.com/drh/lcc). It supports C90 (to be precise,
6-
[ISO/IEC 9899:1990](http://www.iso.org/iso/iso_catalogue/catalogue_tc/catalogue_detail.htm?csnumber=17782))
6+
[ISO/IEC 9899:1990](https://www.iso.org/iso/iso_catalogue/catalogue_tc/catalogue_detail.htm?csnumber=17782))
77
as its ancestor does and is planned to extend the coverage to
8-
[C99](http://www.iso.org/iso/iso_catalogue/catalogue_tc/catalogue_detail.htm?csnumber=29237)
8+
[C99](https://www.iso.org/iso/iso_catalogue/catalogue_tc/catalogue_detail.htm?csnumber=29237)
99
(and
10-
[C11](http://www.iso.org/iso/home/store/catalogue_ics/catalogue_detail_ics.htm?csnumber=57853)
10+
[C11](https://www.iso.org/iso/home/store/catalogue_ics/catalogue_detail_ics.htm?csnumber=57853)
1111
finally).
1212

1313
Compared to its parent, `beluga` carefully implements the language standard
1414
and thus provides production-quality diagnostics including caret diagnostics,
1515
range highlighting, `typedef` preservation and macro expansion tracking:
1616

17-
![screenshot for enhanced front-end features](http://code.woong.org/common/files/compiler-20171025.png)
17+
![screenshot for enhanced front-end features](https://code.woong.org/common/files/compiler-20171025.png)
1818

1919
The generated code is not highly optimized, but satisfactory enough for daily
2020
use. (_This is a hobby project; never easy for me alone to catch up production
2121
compilers like [gcc](https://gcc.gnu.org/) and
22-
[clang+llvm](http://clang.llvm.org/)_.)
22+
[clang+llvm](https://clang.llvm.org/)_.)
2323

2424
`beluga` currently produces assembly output for
2525
[x86](https://en.wikipedia.org/wiki/X86) only (and uses an assembler from the
@@ -54,17 +54,17 @@ evaluation order of the `##` operator like this:
5454
and, due to the line mapper shared by the compiler, it pinpoints problematic
5555
spots as precisely as possible:
5656

57-
![range highlighting on sub-expression from macro expansion](http://code.woong.org/common/files/pp-20171025.png)
57+
![range highlighting on sub-expression from macro expansion](https://code.woong.org/common/files/pp-20171025.png)
5858

5959
The current version conforms to C90, but supports features like empty arguments
60-
and [variadic macros](http://en.wikipedia.org/wiki/Variadic_macro) introduced
60+
and [variadic macros](https://en.wikipedia.org/wiki/Variadic_macro) introduced
6161
in C99 and widely used now.
6262

6363

6464
#### Try it out
6565

6666
You can try them out on the `beluga`'s
67-
[web page](http://code.woong.org/beluga).
67+
[web page](https://code.woong.org/beluga).
6868

6969

7070
#### How to install
@@ -76,4 +76,4 @@ issues, see the accompanying `LICENSE.md` file.
7676
#### Contact
7777

7878
If you have a question or suggestion, do not hesitate to contact me via email
79-
(woong.jun at gmail.com) or web (http://code.woong.org/).
79+
(woong.jun at gmail.com) or web (https://code.woong.org/).

Diff for: bcc/bcc.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
#define PRGNAME "bcc"
2929
#define AUTHOR "Woong Jun"
3030
#define CONTACT "[email protected]"
31-
#define HOMEPAGE "http://code.woong.org/beluga"
31+
#define HOMEPAGE "https://code.woong.org/beluga"
3232

3333
#define NELEM(a) (sizeof(a)/sizeof(*(a))) /* # of elements in array */
3434

Diff for: etc/bweb/bweb.c

+5-5
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ static void html_header(void)
5151
assert(out);
5252

5353
fputs("<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN'\n"
54-
" 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>\n"
55-
"<html xmlns='http://www.w3.org/1999/xhtml' xml:lang='en' lang='en'>\n"
54+
" 'https://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>\n"
55+
"<html xmlns='https://www.w3.org/1999/xhtml' xml:lang='en' lang='en'>\n"
5656
"<head>\n"
5757
" <title>beluga: A C Compiler</title>\n"
5858
" <meta http-equiv='Content-Type' content='text/html; charset=utf-8' />\n"
@@ -69,7 +69,7 @@ static void html_header(void)
6969
" <p>\n"
7070
" Note that this site does not perform linking, not to mention execution of the\n"
7171
" result. If you need to see what your program results in, use\n"
72-
" <a href='https://github.com/%3Cspan%20class="x x-first x-last">http://www.codepad.org'>codepad</a> or similar services.\n"
72+
" <a href='https://github.com/%3Cspan%20class="x x-first x-last">https://www.codepad.org'>codepad</a> or similar services.\n"
7373
" </p>\n"
7474
" </div>\n\n"
7575
" <div class='result'>\n"
@@ -88,8 +88,8 @@ static void html_tail(void)
8888
" </div>\n\n"
8989
" <div id='footer'>\n"
9090
" <p>\n"
91-
" <a href='https://github.com/%3Cspan%20class="x x-first x-last">http://validator.w3.org/check?uri=referer'>"
92-
"<img src='https://github.com/%3Cspan%20class="x x-first x-last">http://www.w3.org/Icons/valid-xhtml10'\n"
91+
" <a href='https://github.com/%3Cspan%20class="x x-first x-last">https://validator.w3.org/check?uri=referer'>"
92+
"<img src='https://github.com/%3Cspan%20class="x x-first x-last">https://www.w3.org/Icons/valid-xhtml10'\n"
9393
" alt='Valid XHTML 1.0 Strict' height='31' width='88' /></a>\n"
9494
" </p>\n"
9595
" </div>\n"

Diff for: lib/main.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
#define PRGNAME "beluga"
4444
#define AUTHOR "Woong Jun"
4545
#define CONTACT "[email protected]"
46-
#define HOMEPAGE "http://code.woong.org/beluga"
46+
#define HOMEPAGE "https://code.woong.org/beluga"
4747

4848
#define DEFTARGET "null" /* default target */
4949

0 commit comments

Comments
 (0)