997 Commits

Author SHA1 Message Date
Philippe Pepiot
daeffb324e Fix possibles segfaults, dead assignment and other division by zero.
Thanks to clang build report
2010-11-19 19:55:57 +01:00
Philippe Pepiot
d75746bcf4 s/strcpy/strncpy and fix somes unused variables 2010-11-19 17:36:37 +01:00
Philippe Pepiot
82b17ea02f Improve allocating system and integrate parser
emalloc remplaced with xcalloc/xmalloc/xrealloc
and easy wrappers for strings zmalloc/zcalloc/zrealloc
 - exit on fail
 - prevent size_t overflow

Integrate parser in src/
2010-11-19 16:42:14 +01:00
Philippe Pepiot
19ecd89d89 End func_list[] with { NULL, NULL } 2010-11-19 14:44:34 +01:00
Philippe Pepiot
c7b2d98303 BuildSystem: fix XDG_CONFIG_DIR issue 2010-11-19 14:35:35 +01:00
Martin Duquesnoy
eda1bfdfec Merge branch 'master' of git.wmfs.info:wmfs 2010-11-18 19:12:35 +01:00
Martin Duquesnoy
22295948ec Ewmh: Remove _NET_WORKAREA support, Fix bug #58 signaled by Kernald. 2010-11-18 19:12:10 +01:00
Philippe Pepiot
c2664e8e85 wmfs compile with -W -Wall -Wextra (TODO: fix types !!) 2010-11-17 02:27:15 +01:00
Philippe Pepiot
b6c557a8ee Declare _POSIX_SOURCE for glib to define kill() 2010-11-17 01:30:35 +01:00
Philippe Pepiot
14f12edf25 Remove non ansi comments 2010-11-17 01:30:12 +01:00
Philippe Pepiot
3d6f8da805 Declare func_list const 2010-11-17 01:24:57 +01:00
Philippe Pepiot
40b4662ff8 Merge branch 'bacardi55' 2010-11-17 00:53:56 +01:00
Philippe Pepiot
3d3dbf589f BuildSystem: s/IMLIB2/IMLIB :> (thx to Erus) 2010-11-16 21:28:51 +01:00
Philippe Pepiot
6912599c72 BuildSystem: fix configure erase {C|LD}FLAGS 2010-11-16 19:15:39 +01:00
Philippe Pepiot
1294d7e35c BuildSystem: remove Makefile 2010-11-16 13:15:06 +01:00
Philippe Pepiot
6bd0175db0 BuildSystem: complete rewrite
Should compile properly on Linux, FreeBSD, OpenBSD and NetBSD
2010-11-16 13:09:40 +01:00
Raphael Khaiat
2d9baf78c5 Starting wmfs with an alternate wmfs was possible with wmfs -C
otherWmfsrc but only $HOME/.config/wmfsrc was read when reloading wmfs.
Now, if you start wmfs with -C and a different file, this file will be
reloaded.
2010-11-16 01:09:35 +01:00
Raphael Khaiat
b7ded56ef9 Merge branch 'master' into bacardi55 2010-11-15 20:54:17 +01:00
Raphael Khaiat
7f96a338c6 Merge branch 'master' of git://github.com/xorg62/wmfs 2010-11-15 20:53:59 +01:00
Philippe Pepiot
bfc56f8c37 BuildSystem: default {C|LD}FLAGS for OpenBSD 2010-11-14 19:32:12 +01:00
Philippe Pepiot
d8e2d54d8e BuildSystem: fix install target on OpenBSD 2010-11-14 19:23:41 +01:00
Philippe Pepiot
7096101651 Update README 2010-11-14 15:29:08 +01:00
Philippe Pepiot
103c86db03 BuildSystem: small stuffs
move VERSION to common.mk
Remove obscure {C|LD}_FLAGS
OPTIONS with optional libs and LIBS = ${REQUIRED} ${OPTIONS}
2010-11-14 15:19:36 +01:00
Philippe Pepiot
01bd4cc265 BuildSystem: set HAVE_IMLIB instead of HAVE_IMLIB 2010-11-12 18:14:31 +01:00
Philippe Pepiot
f6ad74273c BuildSystem: fix empty LD_FLAGS cause empty real arg 2010-11-11 22:36:42 +01:00
Philippe Pepiot
c3cf9d64b3 BuildSystem: CFLAGS and LDFLAGS can be customised through command line 2010-11-11 19:27:09 +01:00
Philippe Pepiot
26dde34d5c BuildSystem: create xsession directory 2010-11-11 18:51:25 +01:00
Philippe Pepiot
9ff9c81441 BuildSystem: change default MANPREFIX 2010-11-11 18:42:32 +01:00
Philippe Pepiot
66d1b9b2fb BuildSystem: install wmfsrc in XDG_CONFIG_DIR 2010-11-11 17:19:28 +01:00
Philippe Pepiot
6ac65840c0 BuildSystem: pkg-config optional 2010-11-11 17:13:34 +01:00
Philippe Pepiot
7c9e560236 BuildSystem: Improve detection of optionals libs 2010-11-11 16:33:24 +01:00
Philippe Pepiot
5a05594092 BuildSystem: add BSDMakefile 2010-11-11 16:14:26 +01:00
Philippe Pepiot
eb567d9936 BuildSystem: fix stuff on install 2010-11-09 20:07:29 +01:00
David Delassus
b055908080 Add out-of-tree building (make O=/path -C /path/to/wmfs) 2010-11-09 20:04:19 +01:00
Philippe Pepiot
2614c61657 build: all .o and wmfs depend on config.mk 2010-11-09 19:24:22 +01:00
Philippe Pepiot
52e53c7415 Remove another CMakelist.txt 2010-11-09 18:28:39 +01:00
Philippe Pepiot
e01bb5c3b0 Re use doxygen file (in fact still used /o\) 2010-11-09 18:22:02 +01:00
Philippe Pepiot
a1de32cac7 wmfsrc: Made change announced in f3c0f5492afbec288f91ea080916a92d8e94941b 2010-11-09 12:36:13 +01:00
Philippe Pepiot
57f8768228 Merge branch 'master' of git.philpep.org:wmfs into nocmake 2010-11-09 12:33:45 +01:00
Philippe Pepiot
f3c0f5492a Parser: fix unused variable 2010-11-09 12:32:48 +01:00
Philippe Pepiot
7db51713e5 Build System: remove cmake
Cmake is bloat and wmfs doesn't need a complex build system
So now wmfs compile with a Makefile using gmake and pkg-config
compilation options can be customised through confix.mk (dwm like)

Remove doxygen config files (wmfs code doesn't use it, and nobody use
doxygen with wmfs)
Replace wmfsrc.in by wmfsrc (change @WMFS_TERM@ and use shell choice
urxvt || xterm || ...)
Remove generation of Changelog file (we can git log > Changelog before
creating a dist package)
Remove README from install process (this file don't need to be included in dist
package)

What's next before merging into master ?
- provide a BSD Makefile
- discuss if we use or not pkg-config (we can document common places
  to include directory and libs in config.mk)
- compile out of tree
2010-11-09 12:15:11 +01:00
Raphael Khaiat
20756b30cd Merge remote branch 'origin/master' into bacardi55 2010-11-01 18:43:10 +01:00
Raphael Khaiat
d242ab880a Merge branch 'bacardi55' 2010-11-01 18:42:40 +01:00
Philippe Pepiot
658e26bd49 parse: detect empty file + fix memleak 2010-10-30 23:16:44 +02:00
Philippe Pepiot
464f06c5c1 parse: typo 2010-10-30 23:11:10 +02:00
Martin Duquesnoy
a0e5ddc45a Ewmh: Apply lukasg's patch for fullscreen flag (Bug #48 fixed, thanks to lukasg) 2010-10-25 13:06:48 +02:00
Martin Duquesnoy
2a9d024784 Config/Infobar: Add occupied_fg option (Requested by s__C) 2010-10-23 16:36:07 +02:00
Martin Duquesnoy
6b788edc38 Tag: Disable prevseltag saving when switching tag to the current tag (bug #57 by Erus) 2010-10-11 20:56:42 +02:00
Raphael Khaiat
8f8d47dc23 Merge branches 'master' and 'bacardi55' into bacardi55 2010-09-19 12:29:03 +02:00
Philippe Pepiot
3a021bf026 Parse: fix segfault 2010-09-05 22:08:38 +02:00