mgrettondann
ebed228492
Merge pull request 'Fix #1 : Build without warnings' ( #3 ) from origin/1-compile-without-warnings into main
...
BuildTest / Build and test (push) Successful in 4m0s
Reviewed-on: http://diskstation1.local:10000/mgrettondann/nuweb/pulls/3
2024-03-15 15:39:44 +00:00
mgrettondann
59b69355ef
Update bootstrap files.
BuildTest / Build and test (pull_request) Successful in 4m8s
2024-03-15 15:31:49 +00:00
mgrettondann
b51c8f7a6e
Give all functions a formal prototype.
...
This makes the code C89 compliant, and removes all warnings on macOS.
2024-03-15 15:31:49 +00:00
mgrettondann
88f1603b2d
Move definition on Parameters earlier in global.h
...
We typedef int * to Parmeters in global.h, but not at the same time as
the other typedefs. This causes problems when we add a function
declaration for write_scrap().
This also highlights a random `1` being passed as the parameter in one
call to write_scrap(). This is obviously wrong, but the purpose of this
fix is to remove warnings - not do a deep dive into what the code is
doing.
2024-03-15 15:31:49 +00:00
mgrettondann
b993c46cce
Correct prototype of write_tex().
...
In a reverse of write_html(), write_tex() is declared with three
parameters, but only called with two.
Removing the third parameter is fine as it is unused.
2024-03-15 15:31:49 +00:00
mgrettondann
6d436f82a6
Correct calls to write_html()
...
write_html() is declared as taking two parameters, but the call to it
passes three.
We fix this by dropping the third parameter, which was labelled 'DUMMY'
anyway.
2024-03-15 15:31:49 +00:00
mgrettondann
063fdca1ca
Fix typo in pull_request workflow
...
BuildTest / Build and test (push) Successful in 3m56s
We cannot spell the word "branches"
2024-03-15 15:31:17 +00:00
mgrettondann
cead310efc
Merge pull request 'And support for Gitea workflow' ( #2 ) from workflows-demo into main
...
BuildTest / Build and test (push) Successful in 3m50s
Reviewed-on: http://diskstation1.local:10000/mgrettondann/nuweb/pulls/2
2024-03-15 15:07:41 +00:00
mgrettondann
8dd1620936
And support for Gitea workflow
...
Adds a workflow that will build and test whenever any changes are pushed
to the main branch, or a PR is opened against the main branch.
2024-03-15 15:04:57 +00:00
mgrettondann
1dcf5ae370
Output #line directives as part of nuweb tangling.
...
This makes error location easier.
2024-03-15 08:31:10 +00:00
mgrettondann
d8f33c3ce4
Add license
...
We copy the copyright header from the top of nuweb.w
2024-03-15 08:13:51 +00:00
mgrettondann
087732177f
Add initial .gitignore file.
...
We ignore all generated files, apart from the *.c files which are needed
to be able to bootstrap nuweb.
2024-03-15 08:13:02 +00:00
mgrettondann
6ba17b6389
Initial import of nuweb-1.62
...
This is just the following tarball expanded:
https://sourceforge.net/projects/nuweb/files/nuweb-1.62.tar.gz/download
2024-03-15 08:04:56 +00:00