Commit Graph

178 Commits

Author SHA1 Message Date
admin 8992f0dd15 patch swallow 2023-04-16 01:01:54 +01:00
NRK 348f6559ab config.mk: update to _XOPEN_SOURCE=700L
SA_NOCLDWAIT is marked as XSI in the posix spec [0] and FreeBSD and NetBSD
seems to more be strict about the feature test macro [1].

so update the macro to use _XOPEN_SOURCE=700L instead, which is equivalent to
_POSIX_C_SOURCE=200809L except that it also unlocks the X/Open System
Interfaces.

[0]: https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/signal.h.html#tag_13_42
[1]: https://lists.suckless.org/dev/2302/35111.html

Tested on:
* NetBSD 9.3 (fixed).
* FreeBSD 13 (fixed).
* Void Linux musl.
* Void Linux glibc.
* OpenBSD 7.2 (stable).
* Slackware 11.

Reported-by: beastie <pufferfish@riseup.net>
2023-02-17 15:27:34 +01:00
Hiltjo Posthuma 50ad171eea bump version to 6.4 2022-10-04 19:35:13 +02:00
Hiltjo Posthuma cd0773cee9 Makefile: add manual path for OpenBSD
Reported by fossy <fossy@dnmx.org>, thanks
2022-05-01 18:37:54 +02:00
Hiltjo Posthuma d39e2f3441 bump version to 6.3 2022-01-07 12:39:18 +01:00
Hiltjo Posthuma c82db690cc config.mk: fix POSIX_C_SOURCE macro for feature test for snprintf()
The feature test was incorrect:
_POSIX_C_SOURCE=2

"The value 2 or greater additionally exposes definitions for POSIX.2-1992."
http://man7.org/linux/man-pages/man7/feature_test_macros.7.html

A higher value is needed (atleast 1995):
https://pubs.opengroup.org/onlinepubs/9699919799/functions/snprintf.html

FreeBSD feature test macro:
on
https://github.com/freebsd/freebsd/blob/master/include/stdio.h line 297

This was already fixed in dmenu.

This fixes a warning on FreeBSD, reported by Plasmoduck on IRC, thanks.
2020-04-03 15:36:32 +02:00
Anselm R Garbe cb3f58ad06 Prepare 6.2 release. 2019-02-02 04:50:42 -08:00
Klemens Nanni 3cd4023fb3 Do not strip at link stage
Building with debug symbols is worthless unless LDFLAGS are manually
adjusted as well.
2018-06-02 16:56:10 +02:00
Quentin Rameau 4ec3a673ff Shut up glibc about _BSD_SOURCE being deprecated 2015-12-19 20:20:26 +01:00
Hiltjo Posthuma 40529e1469 config.mk: add $FREETYPELIBS and $FREETYPEINC, simpler to override (ports and *BSDs) 2015-10-20 23:01:49 +02:00
Eric Pruitt 14343e69cc Add Xft and follback-fonts support to graphics lib 2015-03-13 21:44:22 +01:00
Anselm R Garbe 1479e76f01 shut up about deprecated Xlib functions 2013-05-01 15:39:06 +02:00
anselm@garbe.us 61fe833a06 reverting to plain X11 fonts in order to implement draw.c default 2012-11-18 10:56:54 +01:00
anselm@garbe.us fd3c19bd55 incorporating Xft instead of cairo, cairo provides far too many options 2012-11-02 12:17:50 +01:00
anselm@garbe.us 1bdb393f81 keep 6.1 intact 2012-07-08 09:45:53 +02:00
anselm@garbe.us 940feed314 reverted to old updategeom() after several complains, we need to optimize the old way 2012-07-08 09:43:11 +02:00
anselm@garbe.us 20f6917910 drastically changed updategeom() handling, see comment in updategeom() for details 2012-06-23 10:12:46 +02:00
anselm@garbe.us 907db0a851 config.mk cleanup 2012-01-04 13:30:12 +01:00
anselm@garbe.us 26445a0dc9 bump version to 6.0 2011-12-19 15:38:30 +01:00
garbeam@gmail.com c99fe7dd7d changed sleep 20 into sleep 1 in example script as suggested by Snader_LB 2011-07-20 18:56:10 +00:00
garbeam@gmail.com cd8bb06af5 enabled release flags 2011-07-10 21:24:17 +01:00
anselm@garbe.us 83d10be1c1 added TODO and bumped version to 5.9 2010-08-24 13:13:20 +01:00
Anselm R Garbe ee734fae6b increased version 2010-05-30 10:03:09 +01:00
Anselm R Garbe 5c6545adf5 removing Sylvain's patch because it breaks more than it fixes unfortunately, re-issuing a bugfix release 5.8.1 2010-05-29 12:48:11 +01:00
Anselm R Garbe d6bdd03d91 it's debug season for upcoming dwm 5.8, so only use this if you really want to run experimental code or debug code 2010-03-31 23:24:22 +01:00
Anselm R Garbe 7671d03a90 removed misleading comment, thanks Romain Bertrand 2009-11-24 09:31:17 +00:00
Anselm R Garbe ac4caea921 added BUGS, next version is 5.8 2009-10-31 11:45:56 +00:00
Anselm R Garbe 210378f198 applied Ryan Zheng's patch and re-releasing 5.7.2 2009-09-27 20:20:10 +01:00
Anselm R Garbe 9e8dd3479d fixed the layout symbol bug reported by Nibble (but using a different approach as he suggested)
- optimised drawbar() and arrange() handling for multiple monitors, arrange only arranges the relevant monitors when applicable, same with drawbar
- need to release 5.7.1
2009-09-27 10:31:14 +01:00
Anselm R Garbe 91e902f7fe switching to release flags 2009-09-22 20:34:03 +01:00
Anselm R Garbe 07ad298133 implemented different version of updategeom 2009-09-21 19:51:17 +01:00
Anselm R Garbe 91fffb3f7d fixed nn declaration 2009-07-27 12:01:58 +01:00
Anselm R Garbe c13be8d620 updategeom fix for same geom screens 2009-07-21 08:57:04 +01:00
Anselm R Garbe 6877a00033 it's all nsz's hard investigation effort, hail nsz! ;) 2009-07-17 13:35:17 +01:00
Anselm R Garbe 8420fb1ced reverting to optimised compiler options, current state seems stable 2009-07-09 20:49:48 +01:00
Anselm R Garbe 1d729384d1 several bugfixes 2009-07-01 19:15:20 +01:00
Anselm R Garbe 25c1eb28f9 some minor fix if xinerama is disabled, still some odd behavior in there 2009-07-01 17:08:10 +01:00
Anselm R Garbe 54dc0d542c fixed tagmon, re-using detach/detachstack and attach/attachstack 2009-06-23 17:34:20 +01:00
Anselm R Garbe 0d8671a5ad declare buf only if XINERAMA support is used 2009-06-23 16:29:32 +01:00
Anselm R Garbe 2ce37bc69e experimental xinerama support, two new actions, Mod1-w/e and Mod1-Shift-w/e 2009-06-20 15:10:04 +01:00
Anselm R Garbe f27ccc5c60 introduction of Monitor for better Xinerama support, work in progress 2009-06-19 20:15:15 +01:00
Anselm R Garbe 7df39f3fc7 next version will be 5.6, shortened some very long lines 2009-04-20 11:03:33 +01:00
Anselm R Garbe 3632d7132f applied Marc Andre Tanners showhide patch, the removal of ntiled 2009-03-19 13:06:15 +00:00
Anselm R Garbe 1e350be229 applied Gottox' adjustborder removal patch (thanks!) 2009-02-21 19:12:46 +00:00
a@null 90687482ad fixed an issue reported by Nibble, also fixed s/2008/2009/ 2009-02-08 12:11:22 +00:00
a@null 62a491e36d re-applied Neale's spawn patch, credited Neale in LICENSE 2008-12-12 19:55:03 +00:00
Anselm R Garbe a62ea4062f fix 2008-12-06 11:22:30 +00:00
Anselm R Garbe ea8a4ca46a several changes towards 5.3, XINERAMA is disabled by default, introduced usegrab Bool for grabbing the server during mouse-based resizals/movements (disabled by default), continued debugging tile() with resizehints == True and a lot of terminals supporting resizehints, still no optimal solution, I need to think about it, considering recursive algorithm for the space optimization 2008-10-19 12:59:18 +01:00
Anselm R Garbe b279cef670 made readin a config.h variable 2008-08-02 19:12:15 +01:00
Anselm R Garbe 12ea925076 untested monocle 2008-06-19 11:38:53 +01:00