1
0
Fork 0
Commit Graph

302 Commits

Author SHA1 Message Date
Augustin Fabre c5910d5340
Replace spurious tabs in menu with dashes (#81) 2020-08-13 23:46:20 +02:00
fosslinux c74cfb33b6
Come on 2020-06-09 14:03:20 +10:00
fosslinux f09e85be22
Fix prototype mismatch 2020-06-09 09:38:57 +10:00
fosslinux 39b4bd94fe
Cleanup makefile, do not install docs
Now that we have a manpage, it is much better for the user to
use the manpage.

The LICENSE has no need to be installed.
2020-06-08 13:13:41 +10:00
Augustin Fabre 647d9c762d
Declare function prototypes explicitly
This make it easier to manage separate compilation units (static functions and
global variables, local type definitions, etc.)

The generated header file `functions.h' caused a circular dependency problem;
it wasn't updated automatically when changes were made to the sources (e.g.
new function definition). The sources can't be in the dependency list of
`functions.h' in the Makefile, because `functions.h' is in the dependency list
of each source file. GNU make is able to ignore the circular dependency but not
BSD make.

At any rate, keeping the prototype list up-to-date is easy, because the
compiler will complain if a function is used in a compilation unit but defined
in an other one.

It also makes static analysis easier out of the box.
2020-06-08 13:10:06 +10:00
fosslinux c1c7ffe721
Tabs->spaces borked userlist on most clients 2020-04-30 20:19:44 +10:00
fosslinux 4587014a86
Move LDFLAGS after -o 2020-04-30 13:54:46 +10:00
fosslinux ca3b8a8ce4
Sort the ~ selector by date modified
When a gopherer comes in contact with a user listing, the current
order is pretty much useless (by UID). It makes much more sense
to sort by the date modified.

Closes #62
2020-04-28 15:46:49 +10:00
fosslinux e2dc5d9337
Merge pull request #76 from augfab/cosmetics
Cosmetics
2020-04-23 22:02:14 +00:00
Augustin Fabre 34bda83acb
Update .gitignore 2020-04-23 21:18:27 +02:00
Augustin Fabre 326c15c474
Remove trailing whitespace 2020-04-23 21:18:23 +02:00
fosslinux 35657bd549
Another travis dependency 2020-04-21 10:23:45 +10:00
fosslinux b49b0ef62e
Add dependencies for travisccccccldbldfvjuuhdlujehrinrfedncrherlfcbelrh 2020-04-20 12:07:43 +10:00
fosslinux ba2f265ea0
Reflect that the default has been 67 for line length
(for some time now)
2020-04-20 12:07:17 +10:00
fosslinux 55c1f634ce
travis: add make deb check 2020-04-20 08:09:13 +10:00
fosslinux e90954cf52
Merge pull request #72 from cdmnky73/patch-1
fix make deb build error from manpage rename
2020-04-19 22:05:15 +00:00
cdmnky73 df2b5a0a38
fix make deb build error from manpage rename
from #69
2020-04-19 11:10:20 -04:00
fosslinux a6df879d61
Merge pull request #69 from augfab/manpage
Rework manual page
2020-04-14 22:56:03 +00:00
Augustin Fabre e1026bae0d
Rework manual page
* Renamed gophernicus.1.man to gophernicus.1, the standard name for section 1
  manual pages.
* Added synopsis of command.
* Added markup for options, arguments, paths, authors, links.
2020-04-14 15:44:37 +02:00
fosslinux f797d7192e
Merge pull request #68 from augfab/fixes
Always close file pointer and propagate CFLAGS/LDFLAGS to recursive MAKE calls
2020-04-04 21:35:47 +00:00
Augustin Fabre 53ccff987b
Propagate FLAGS value to recursive MAKE calls 2020-04-04 12:41:08 +02:00
Augustin Fabre 5acd7854cc
Fix memory leak in gophermap parsing
FILE pointer `fp' was not closed when the gophermap parsing returned
early.
2020-04-04 12:40:15 +02:00
fosslinux 394176e222
Merge pull request #67 from augfab/disable_http_response
Add option `-nH` to disable HTTP response to HTTP GET/POST requests (#66)
2020-04-01 20:44:55 +00:00
Augustin Fabre d03d9b0930
Disable HTTP response to HTTP GET/POST requests (#66) 2020-03-31 22:38:18 +02:00
fosslinux 7b58f85a7f
Make description in die() appears everywhere
Before it only appeared in syslog. Make the error more obvious to
the admin, so that it appears on the page as well, and helps with
debugging.

Closes #32.

Yes, I am still alive, have just been busy.
2020-03-29 19:47:17 +11:00
fosslinux 8672304082
Merge pull request #61 from gophernicus/travis
Travis tests
2020-02-06 09:31:06 +00:00
fosslinux 2cc8d204cb
Fix travis "testsuite" introduced in
4340e3c55b
2020-02-06 20:26:45 +11:00
fosslinux 0dc1e45278
Merge pull request #60 from bdeshi/fork
replace backtick-enclosed cmd invocations with $(cmd)
2020-02-05 19:49:07 +00:00
fosslinux 4340e3c55b
Add super basic runtime tests to travis 2020-02-05 19:51:19 +11:00
fosslinux c17e718794
Remove old drone leftovers 2020-02-05 19:51:16 +11:00
fosslinux 0fe375350f
Change LDFLAGS so that -l works 2020-02-05 19:35:08 +11:00
fosslinux 37ac8823b0
Spaces to Tabs as per consensus in #56 2020-02-05 19:19:42 +11:00
fosslinux ee757fedcc
Remove EXTRA vars in Makefile 2020-02-05 19:18:00 +11:00
bdeshi 0014aa3355 replace `cmd` invocations with $(cmd) 2020-02-05 13:27:27 +06:00
fosslinux c86fcc1320
Merge pull request #59 from bdeshi/fork
rename: README.Gophermap -> README.gophermap
2020-02-05 06:11:33 +00:00
bdeshi a263037e94 rename: README.Gophermap -> README.gophermap 2020-02-05 10:41:44 +06:00
fosslinux 31392bd2ad
update changelog from git log 2020-01-23 11:13:10 +11:00
fosslinux d8552df187
make debian build work again 2020-01-23 11:13:08 +11:00
Yargo 87362cd316 Filetypes2 (#57)
Re-do filetypes system.

By hb9nks.
2020-01-20 22:36:02 +00:00
fosslinux e2856aadf3
.gitignore for restructure 2020-01-17 11:47:47 +11:00
fosslinux 2f13c16681
src/bin2c.c should not be executable 2020-01-17 11:07:42 +11:00
Yargo ceaf4ec196 corrected some typos in author's names (#55) 2020-01-17 00:05:13 +00:00
fosslinux 06bb6490fd
Merge pull request #54 from emilengler/2020-01-make-force-symlink
build: Force create symlink & travis build fix on macOS
2020-01-17 00:01:37 +00:00
Emil Engler d27448b954
build: macOS travis fix 2020-01-12 13:48:01 +01:00
Emil Engler b2572b16db
build: Force create symlink 2020-01-12 11:35:16 +01:00
fosslinux bc58635897
Merge pull request #52 from emilengler/2020-01-new-travis
ci: New Travis system for linux and macOS builds and installs
2020-01-12 02:33:09 +00:00
Emil Engler d8db1083f8
ci: New Travis system for linux and macOS builds and installs 2020-01-12 03:28:47 +01:00
fosslinux 2ec31d9218
Merge pull request #51 from emilengler/2020-01-refactor-hierarchy
refactor: New hierarchy and refactored Makefile
2020-01-12 02:14:46 +00:00
Emil Engler 8949d78794
refactor: New hierarchy and refactored Makefile 2020-01-11 20:41:11 +01:00
fosslinux af170fcb5c
re-add travis 2020-01-04 10:23:42 +11:00