alioth/magicpoint.git
4 months agoeh, make ’em volatile, this is not time-critical code anyway
mirabilos [Tue, 30 Jul 2019 14:30:56 +0000 (16:30 +0200)]
eh, make ’em volatile, this is not time-critical code anyway

but rather too complex to refactor

4 months agofix
mirabilos [Tue, 30 Jul 2019 14:26:18 +0000 (16:26 +0200)]
fix

4 months agonext round of warning cleanup, almost done
mirabilos [Tue, 30 Jul 2019 14:19:29 +0000 (16:19 +0200)]
next round of warning cleanup, almost done

4 months agopart of -Wsign-compare
mirabilos [Tue, 30 Jul 2019 13:55:25 +0000 (15:55 +0200)]
part of -Wsign-compare

4 months agonext round of fixes, and more constification
mirabilos [Tue, 30 Jul 2019 13:42:39 +0000 (15:42 +0200)]
next round of fixes, and more constification

4 months agonext round of fixes
mirabilos [Tue, 30 Jul 2019 13:23:28 +0000 (15:23 +0200)]
next round of fixes

4 months agobegin protoising
mirabilos [Tue, 30 Jul 2019 13:14:23 +0000 (15:14 +0200)]
begin protoising

4 months agojpegoptim
mirabilos [Sat, 27 Jul 2019 00:02:22 +0000 (02:02 +0200)]
jpegoptim

4 months agomake it official
mirabilos [Fri, 26 Jul 2019 23:39:43 +0000 (01:39 +0200)]
make it official

4 months agoRevert "oops, for now"
mirabilos [Fri, 26 Jul 2019 23:39:31 +0000 (01:39 +0200)]
Revert "oops, for now"

This reverts commit d144dee91569827032f946a0b5e7e87870ebbb05.

4 months agolast of MirBSD’s fixes for those areas I can fix right now
mirabilos [Fri, 26 Jul 2019 23:38:18 +0000 (23:38 +0000)]
last of MirBSD’s fixes for those areas I can fix right now

4 months agonext round of fixes on MirBSD, __CRAZY=Yes
mirabilos [Fri, 26 Jul 2019 23:05:56 +0000 (23:05 +0000)]
next round of fixes on MirBSD, __CRAZY=Yes

4 months agofirst round of fixes on MirBSD
mirabilos [Fri, 26 Jul 2019 22:41:18 +0000 (22:41 +0000)]
first round of fixes on MirBSD

4 months agooops, for now
mirabilos [Fri, 26 Jul 2019 22:15:16 +0000 (22:15 +0000)]
oops, for now

4 months agodifferentiate messages
mirabilos [Fri, 26 Jul 2019 21:30:53 +0000 (23:30 +0200)]
differentiate messages

4 months agosolicitate OS testing
mirabilos [Fri, 26 Jul 2019 21:16:14 +0000 (23:16 +0200)]
solicitate OS testing

4 months agoDebian likes if I add manpages for everything
mirabilos [Fri, 26 Jul 2019 20:30:15 +0000 (22:30 +0200)]
Debian likes if I add manpages for everything

4 months agofix .Dd syntax
mirabilos [Fri, 26 Jul 2019 19:45:45 +0000 (21:45 +0200)]
fix .Dd syntax

4 months agofix up with partial writer contributed from jupp
mirabilos [Fri, 26 Jul 2019 18:33:10 +0000 (20:33 +0200)]
fix up with partial writer contributed from jupp

4 months agoparallel gmake cannot have multiple targets:
mirabilos [Fri, 26 Jul 2019 18:18:30 +0000 (20:18 +0200)]
parallel gmake cannot have multiple targets:

– they expand to multiple rules, running the recipe multiple times
  cf. https://www.gnu.org/software/make/manual/html_node/Multiple-Targets.html
– other solutions (from StackOverflow) require gmakeisms

so replace all dependencies on y.tab.h with y.tab.c, and
ctlwords.{h,pl} with ctlwords.c (necessitated because the
.c files are used in the .o rules); possible since the
prerequisites are never expanded in the recipes

(cherry picked from commit 3100ef089c2c801a1f4be8f3a94cea7a5bffa80c)

4 months agoinsist on -Wformat, too
mirabilos [Fri, 26 Jul 2019 17:46:40 +0000 (19:46 +0200)]
insist on -Wformat, too

(cherry picked from commit 3247250834064abce171cc42680701dbd07caa9a)

4 months agofix manpage; thanks lintian
mirabilos [Fri, 26 Jul 2019 17:46:03 +0000 (19:46 +0200)]
fix manpage; thanks lintian

(cherry picked from commit 256f550618cd62cd3e049cc33186e341538afb32)

4 months agoDebian insists on -Wunused-result
mirabilos [Fri, 26 Jul 2019 17:40:47 +0000 (19:40 +0200)]
Debian insists on -Wunused-result

(cherry picked from commit 02d66d759e2c3f2ce70033d08a825934e543f870)

4 months agoplug a Debian warning, needs fixup later
mirabilos [Fri, 26 Jul 2019 17:36:23 +0000 (19:36 +0200)]
plug a Debian warning, needs fixup later

(cherry picked from commit a0fe58c8a4331686a92578ecfb50bc0d2d19374a)

4 months agobegin installation instructions
mirabilos [Fri, 26 Jul 2019 15:55:54 +0000 (17:55 +0200)]
begin installation instructions

4 months agoallow not installing to sysconfdir (e.g. for BSD ports @sample)
mirabilos [Fri, 26 Jul 2019 15:55:21 +0000 (17:55 +0200)]
allow not installing to sysconfdir (e.g. for BSD ports @sample)

4 months agoforgot to actually implement the -P option…
mirabilos [Fri, 26 Jul 2019 15:53:08 +0000 (17:53 +0200)]
forgot to actually implement the -P option…

4 months agoquick distfile builder
mirabilos [Fri, 26 Jul 2019 15:12:27 +0000 (17:12 +0200)]
quick distfile builder

4 months agoupdate LICENCE from Build.sh (contributed from MirBSD,
mirabilos [Fri, 26 Jul 2019 02:58:45 +0000 (02:58 +0000)]
update LICENCE from Build.sh (contributed from MirBSD,
under same licence as MagicPoint itself, dual-licenced)

also there’s not *only* tarent contributions but also private

4 months agolet’s do 1.2 (and if needed 1.3, …) then 2.0, 2.1, …, 2.9, 2.10, …
mirabilos [Fri, 26 Jul 2019 02:37:28 +0000 (04:37 +0200)]
let’s do 1.2 (and if needed 1.3, …) then 2.0, 2.1, …, 2.9, 2.10, …

4 months agofigure out the locale thing for 1.2
mirabilos [Fri, 26 Jul 2019 02:36:07 +0000 (04:36 +0200)]
figure out the locale thing for 1.2

4 months agoupdate a bit
mirabilos [Fri, 26 Jul 2019 02:29:09 +0000 (04:29 +0200)]
update a bit

4 months agoadd JP deprecation notice (someone should translate it)
mirabilos [Fri, 26 Jul 2019 02:25:08 +0000 (04:25 +0200)]
add JP deprecation notice (someone should translate it)

4 months agoanother hint for the source distribution, just to make sure
mirabilos [Fri, 26 Jul 2019 02:23:49 +0000 (04:23 +0200)]
another hint for the source distribution, just to make sure

4 months agorecode all files to UTF-8 except the old multilinguag sample MGPs
mirabilos [Fri, 26 Jul 2019 02:18:14 +0000 (04:18 +0200)]
recode all files to UTF-8 except the old multilinguag sample MGPs

4 months ago.c files should not have “extern”s, only .h files
mirabilos [Fri, 26 Jul 2019 02:12:19 +0000 (04:12 +0200)]
.c files should not have “extern”s, only .h files

4 months agoall definitions are now new-style; enact the flags
mirabilos [Fri, 26 Jul 2019 01:59:45 +0000 (03:59 +0200)]
all definitions are now new-style; enact the flags

declarations shall be next…

4 months agono old-style function definitions, except for image/
mirabilos [Fri, 26 Jul 2019 01:42:22 +0000 (03:42 +0200)]
no old-style function definitions, except for image/

build with: CFLAGS='-O2 -Wall -Wextra -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wno-missing-prototypes' CPPFLAGS='-DMDMBUF=0'

4 months ago-Wextra with some exceptions
mirabilos [Fri, 26 Jul 2019 00:30:10 +0000 (02:30 +0200)]
-Wextra with some exceptions

4 months agofix
mirabilos [Fri, 26 Jul 2019 00:01:30 +0000 (02:01 +0200)]
fix

4 months agonext round ;)
mirabilos [Thu, 25 Jul 2019 23:58:29 +0000 (01:58 +0200)]
next round ;)

4 months agonext round
mirabilos [Thu, 25 Jul 2019 23:40:14 +0000 (01:40 +0200)]
next round

4 months agonext round of fixes
mirabilos [Thu, 25 Jul 2019 23:25:48 +0000 (01:25 +0200)]
next round of fixes

4 months agothe old build system is no longer needed
mirabilos [Thu, 25 Jul 2019 23:16:42 +0000 (01:16 +0200)]
the old build system is no longer needed

4 months agomake it install
mirabilos [Thu, 25 Jul 2019 23:07:15 +0000 (01:07 +0200)]
make it install

4 months agomake it build
mirabilos [Thu, 25 Jul 2019 23:05:50 +0000 (01:05 +0200)]
make it build

4 months agoshuffle includes around again
mirabilos [Thu, 25 Jul 2019 22:51:55 +0000 (00:51 +0200)]
shuffle includes around again

4 months agoerk…
mirabilos [Thu, 25 Jul 2019 22:41:28 +0000 (00:41 +0200)]
erk…

4 months ago<errno.h> is a thing
mirabilos [Thu, 25 Jul 2019 22:38:43 +0000 (00:38 +0200)]
<errno.h> is a thing

4 months agostring cleaning, except sprintf
mirabilos [Thu, 25 Jul 2019 22:37:42 +0000 (00:37 +0200)]
string cleaning, except sprintf

4 months agog/c unused misspelt rule found by GNU bison
mirabilos [Thu, 25 Jul 2019 22:22:32 +0000 (00:22 +0200)]
g/c unused misspelt rule found by GNU bison

4 months agodo not use ?= as it makes us depend on <sys.mk> equivalent
mirabilos [Thu, 25 Jul 2019 22:21:37 +0000 (00:21 +0200)]
do not use ?= as it makes us depend on <sys.mk> equivalent

4 months agoadd back too much deleted
mirabilos [Thu, 25 Jul 2019 22:18:12 +0000 (00:18 +0200)]
add back too much deleted

4 months agog/c unused label
mirabilos [Thu, 25 Jul 2019 22:15:25 +0000 (00:15 +0200)]
g/c unused label

4 months agoupstream’s last release broke?
mirabilos [Thu, 25 Jul 2019 22:14:20 +0000 (00:14 +0200)]
upstream’s last release broke?

4 months agozreset is no longer pertinent
mirabilos [Thu, 25 Jul 2019 22:12:19 +0000 (00:12 +0200)]
zreset is no longer pertinent

4 months agofix the next couple of things
mirabilos [Thu, 25 Jul 2019 22:11:58 +0000 (00:11 +0200)]
fix the next couple of things

4 months agobring it to the stage where I can call make(1) on it…
mirabilos [Thu, 25 Jul 2019 21:31:37 +0000 (23:31 +0200)]
bring it to the stage where I can call make(1) on it…

… with some caveats and a big TODO

4 months agofirst cut at new build system, contributed from mksh/paxmirabilis
mirabilos [Thu, 25 Jul 2019 20:51:54 +0000 (22:51 +0200)]
first cut at new build system, contributed from mksh/paxmirabilis

4 months agosome shellology; also, make ctlwords.c into a srcfile of its own
mirabilos [Thu, 25 Jul 2019 17:10:29 +0000 (19:10 +0200)]
some shellology; also, make ctlwords.c into a srcfile of its own

4 months agomake the substitution easier to achieve portably
mirabilos [Thu, 25 Jul 2019 15:49:20 +0000 (17:49 +0200)]
make the substitution easier to achieve portably

4 months agolet’s call it a night
mirabilos [Fri, 19 Jul 2019 23:20:16 +0000 (01:20 +0200)]
let’s call it a night

4 months agodrop ~/.etc/mgprc support, it was not usable any more
mirabilos [Fri, 19 Jul 2019 23:17:24 +0000 (01:17 +0200)]
drop ~/.etc/mgprc support, it was not usable any more

4 months agotransitive .depend
mirabilos [Fri, 19 Jul 2019 23:10:32 +0000 (01:10 +0200)]
transitive .depend

4 months agocommit df0c0000f4ab6e51126e667062e1fdc10a88ca96
mirabilos [Fri, 19 Jul 2019 23:07:01 +0000 (01:07 +0200)]
commit df0c0000f4ab6e51126e667062e1fdc10a88ca96

4 months agomore on globals
mirabilos [Fri, 19 Jul 2019 23:05:35 +0000 (01:05 +0200)]
more on globals

4 months agofurther mirtoconfification and cleanup
mirabilos [Fri, 19 Jul 2019 23:02:24 +0000 (01:02 +0200)]
further mirtoconfification and cleanup

4 months agopass version in CPPFLAGS
mirabilos [Fri, 19 Jul 2019 23:01:49 +0000 (01:01 +0200)]
pass version in CPPFLAGS

4 months agoshocking
mirabilos [Fri, 19 Jul 2019 23:01:33 +0000 (01:01 +0200)]
shocking

4 months agomore removals
mirabilos [Fri, 19 Jul 2019 22:37:12 +0000 (00:37 +0200)]
more removals

4 months agowtf…
mirabilos [Fri, 19 Jul 2019 22:36:11 +0000 (00:36 +0200)]
wtf…

4 months agodrop unused code
mirabilos [Fri, 19 Jul 2019 22:33:58 +0000 (00:33 +0200)]
drop unused code

4 months agovarargs.h (pre-stdarg) considered…
mirabilos [Fri, 19 Jul 2019 22:32:14 +0000 (00:32 +0200)]
varargs.h (pre-stdarg) considered…

4 months agomore Xft2
mirabilos [Fri, 19 Jul 2019 22:30:51 +0000 (00:30 +0200)]
more Xft2

4 months agobegin tracing dependencies (.depend and mirtoconf)
mirabilos [Fri, 19 Jul 2019 22:28:47 +0000 (00:28 +0200)]
begin tracing dependencies (.depend and mirtoconf)

4 months agoremove more dead code
mirabilos [Fri, 19 Jul 2019 22:28:09 +0000 (00:28 +0200)]
remove more dead code

4 months agobegin mirtoconfification: <sys/time.h> vs <time.h>
mirabilos [Fri, 19 Jul 2019 22:15:57 +0000 (00:15 +0200)]
begin mirtoconfification: <sys/time.h> vs <time.h>

4 months agodrop some more dead code
mirabilos [Fri, 19 Jul 2019 22:14:27 +0000 (00:14 +0200)]
drop some more dead code

4 months agothis is too trivial to be a derivative work
mirabilos [Fri, 19 Jul 2019 22:13:39 +0000 (00:13 +0200)]
this is too trivial to be a derivative work

4 months agowhitespace
mirabilos [Fri, 19 Jul 2019 22:09:56 +0000 (00:09 +0200)]
whitespace

4 months agofix usage()
mirabilos [Fri, 19 Jul 2019 22:04:03 +0000 (00:04 +0200)]
fix usage()

4 months ago-v is verbose and -V is Version, not the other way round
mirabilos [Fri, 19 Jul 2019 21:55:03 +0000 (23:55 +0200)]
-v is verbose and -V is Version, not the other way round

4 months agofix more mistakes
mirabilos [Fri, 19 Jul 2019 21:53:51 +0000 (23:53 +0200)]
fix more mistakes

4 months agodrop crashing options
mirabilos [Fri, 19 Jul 2019 21:50:54 +0000 (23:50 +0200)]
drop crashing options

4 months agofix some mistakes
mirabilos [Fri, 19 Jul 2019 21:49:33 +0000 (23:49 +0200)]
fix some mistakes

4 months agopimp the mdoc pages and sort options
mirabilos [Fri, 19 Jul 2019 21:46:16 +0000 (23:46 +0200)]
pimp the mdoc pages and sort options

4 months agogive the manpages proper extensions, we don’t use imake
mirabilos [Fri, 19 Jul 2019 21:11:02 +0000 (23:11 +0200)]
give the manpages proper extensions, we don’t use imake

4 months agodrop RCS IDs
mirabilos [Fri, 19 Jul 2019 21:09:55 +0000 (23:09 +0200)]
drop RCS IDs

4 months agojust use the compiler from the environment
mirabilos [Fri, 19 Jul 2019 20:55:35 +0000 (22:55 +0200)]
just use the compiler from the environment

4 months agocollect build and install information
mirabilos [Fri, 19 Jul 2019 20:48:34 +0000 (22:48 +0200)]
collect build and install information

4 months agomerge code copies
mirabilos [Fri, 19 Jul 2019 20:19:07 +0000 (22:19 +0200)]
merge code copies

4 months agofixup commit 436dadc02830098767108fedda38bd99c81186a2
mirabilos [Fri, 19 Jul 2019 20:15:37 +0000 (22:15 +0200)]
fixup commit 436dadc02830098767108fedda38bd99c81186a2

4 months agouse ctlwords.sh output actually
mirabilos [Fri, 19 Jul 2019 20:02:12 +0000 (22:02 +0200)]
use ctlwords.sh output actually

4 months agodrop fixed stuff and stuff only used in mgpembed
mirabilos [Fri, 19 Jul 2019 19:57:38 +0000 (21:57 +0200)]
drop fixed stuff and stuff only used in mgpembed

4 months agodon’t bother renaming y.tab.h to tokdefs.h
mirabilos [Fri, 19 Jul 2019 19:54:06 +0000 (21:54 +0200)]
don’t bother renaming y.tab.h to tokdefs.h

4 months agowrite {ctl,key}words in autoconf portable shell
mirabilos [Fri, 19 Jul 2019 19:53:10 +0000 (21:53 +0200)]
write {ctl,key}words in autoconf portable shell

4 months agoupdate list of .c/.o files, sorted
mirabilos [Fri, 19 Jul 2019 18:39:01 +0000 (20:39 +0200)]
update list of .c/.o files, sorted

4 months agowhitespace
mirabilos [Fri, 19 Jul 2019 18:28:30 +0000 (20:28 +0200)]
whitespace

4 months agodrop even more image/ stuff not needed
mirabilos [Fri, 19 Jul 2019 18:25:37 +0000 (20:25 +0200)]
drop even more image/ stuff not needed

4 months agofix compile
mirabilos [Fri, 19 Jul 2019 18:10:35 +0000 (20:10 +0200)]
fix compile