Engil Hramn
dae3019185
Fix some error in the manpage and in the information printed by the binary
2010-12-09 17:09:47 +01:00
Philippe Pepiot
6072c2d811
Set default tag params. (patch by bacardi55) fixes #51
2010-12-07 01:38:21 +01:00
Philippe Pepiot
ce3813608c
Status script not spawned if still running
2010-12-07 01:34:22 +01:00
Philippe Pepiot
6c332c9ea5
Oops. Fix signal not handled at all
2010-12-07 01:19:28 +01:00
Philippe Pepiot
87575a019d
Use SIGALRM instead of pthread for status script
2010-12-07 00:28:12 +01:00
Philippe Pepiot
6882cfb986
Only one handler for signals
2010-12-07 00:12:54 +01:00
Philippe Pepiot
9e457b3832
Remove glibc stuffs, wmfs is not ansi C that's a fact
2010-12-06 23:49:42 +01:00
Philippe Pepiot
c8a74878a1
Remove double fork for spawn and kill status with SIGTERM
2010-12-03 16:59:07 +01:00
Philippe Pepiot
d0058146dd
Remove non used function get_mouse_pos
2010-12-03 12:36:51 +01:00
Philippe Pepiot
77e458048d
Fix tag_new() tag name
...
possible overflow + random memory access
2010-12-03 11:06:33 +01:00
Philippe Pepiot
c90a5743b3
Parser: Use read() instead of mmap()
2010-11-29 22:08:01 +01:00
Philippe Pepiot
3459ed0b20
Define optarg and optind (was breaking compilation on NetBSD)
2010-11-29 21:17:04 +01:00
Martin Duquesnoy
3cf93a0961
Launcher: Add width_limit option in multi set_launcher section to limit size of launcher window (Requested by s__C)
2010-11-28 13:06:24 +01:00
Martin Duquesnoy
719654fcbc
Ewmh: Add _WMFS_FONT property for external information about font
2010-11-26 21:32:28 +01:00
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
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
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
7f96a338c6
Merge branch 'master' of git://github.com/xorg62/wmfs
2010-11-15 20:53:59 +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
52e53c7415
Remove another CMakelist.txt
2010-11-09 18:28:39 +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
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
Raphael Khaiat
1ec6d90c1e
Merge branch 'master' into bacardi55
2010-09-05 15:13:49 +02:00
Philippe Pepiot
b91db6b431
Parser: free keywords list and free files
2010-08-31 01:55:42 +02:00
Philippe Pepiot
5aeeae4198
Parse: when syntax error, fallback to default config, fixes #45
2010-08-31 00:55:51 +02:00
Philippe Pepiot
3841e55f82
Parser: Use defined Bool or create one
2010-08-30 19:50:38 +02:00
Philippe Pepiot
4a3952f54f
Parser: errors on calloc fail or buffer overflow
2010-08-30 19:37:04 +02:00
Philippe Pepiot
8816bd6753
Spawn: check write()
2010-08-28 23:47:47 +02:00
Philippe Pepiot
3366ec835f
Parser and launcher: check asprintf return
2010-08-28 23:44:49 +02:00
Radek Tříška
839ebeaf2b
Launcher: autocompletion alphabetical sort from PeVe
2010-08-28 23:26:35 +02:00
Philippe Pepiot
36aa4ce43a
Parser: when @include path can be prefixed by "~" or be relative to
...
parent file directory. refs #21
2010-08-28 21:26:42 +02:00
Philippe Pepiot
4f1742eef9
Parser: recode / independant from wmfs code / @include works, closes #21
2010-08-28 20:40:54 +02:00
Philippe Pepiot
fd9cedd695
Parser: simplification, don't abuse of macros (work in progress)
2010-08-27 03:06:30 +02:00