105 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
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
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
Martin Duquesnoy
2a9d024784 Config/Infobar: Add occupied_fg option (Requested by s__C) 2010-10-23 16:36:07 +02:00
Martin Duquesnoy
5017c4ced5 Config: Apply PeVe/mseed patch: layout_button_width option in [layouts] section. Thanks to them. 2010-08-12 21:58:28 +02:00
Martin Duquesnoy
dc2e571e5e Config: Fix UGLY mistake (lenght -> length, thanks chacha) 2010-08-12 19:57:00 +02:00
Raphael Khaiat
e71f85ff26 Fix segfault when using client_ignore_tag. bug #72 reported by myself 2010-06-27 00:47:36 +02:00
Martin Duquesnoy
a0a53f3af2 Infobar: Improve selbar check if there is no sel (in current screen) 2010-05-08 21:41:53 +02:00
Martin Duquesnoy
add85a7509 Infobar: Fix toggle_autohide with whole infobar replacement 2010-04-20 18:27:49 +02:00
OldMan
236b86ff0a Infobar: Add toggle_tagautohide uicb function. 2010-04-20 20:11:59 +06:00
Martin Duquesnoy
7119d3cc25 Tag: Improve and fix some bugs in tag_delete 2010-04-19 22:32:41 +02:00
Martin Duquesnoy
129a21bada Tag: add tag_new and tag_del function *Dynamic taggin* 2010-04-18 22:25:26 +02:00
Martin Duquesnoy
0f25f75f0d Tag: Add tag_swap and uicb function: tag_swap with cmd = <tag>, tag_swap_next & tag_swap_prev 2010-04-18 18:50:08 +02:00
Martin Duquesnoy
8c0e37cb38 Infobar: Add autohide option in [tags]: Hide empty tags in tag list (Feature #24 requested by Erus) 2010-04-18 17:38:12 +02:00
Martin Duquesnoy
5875af2949 Selbar: Put ... only when sel->title lenght > max_lenght 2010-04-16 19:41:02 +02:00
Martin Duquesnoy
49b9a08fab Selbar/Conf: Add max_lenght option to cut title lenght (requested by Erus) 2010-04-16 19:31:33 +02:00
Martin Duquesnoy
55e74cd849 Selbar: Unmap selbar if there is no selected client 2010-04-15 17:59:32 +02:00
OldMan
1ddc714196 Conf: section 'selbar' in section 'bar' 2010-04-13 10:15:40 +06:00
OldMan
0bed70e52c InfoBar: taglist optimization 2010-04-11 12:47:58 +06:00
Martin Duquesnoy
b4c326ebaf Menu: Fix screen limits (bug with multi-head) 2010-04-10 13:48:12 +02:00
Martin Duquesnoy
5c439c245c Tag: Add multitag support (Feature #38 requested by Chacha^Wmarkand): button 3 click on tag to add it. (tagtransfert is now button 2 by default) 2010-04-07 00:33:00 +02:00
Martin Duquesnoy
ee13255297 Client/Event/Tag: Fix XUrgencyHint support 2010-04-04 15:42:51 +02:00
Martin Duquesnoy
9c154fd0f3 Client/Event/Tag: Add XUrgencyHint support (colorize tag where there is an urgent client) 2010-04-04 15:13:02 +02:00
Martin Duquesnoy
842bc7d3ce Infobar: Add selbar; title of selected client in infobar (Feature #31 requested by markand), conf: [bar] selbar = true/false 2010-03-24 18:03:17 +01:00
Martin Duquesnoy
56079ebdfe Infobar: Add option to move layout button before of after tags list (Feature #20 requested by Erus.) 2010-02-07 17:27:42 +01:00
Martin Duquesnoy
881ac9f68f Status: Add status.c, clean statutext fonction and add located text stuff: \s[x;y;#color;text]\. 2010-02-04 02:58:28 +01:00
Martin Duquesnoy
888b2a7467 Infobar: Set buffers size to MAXSS 2010-01-31 16:27:27 +01:00
Martin Duquesnoy
6c0a0b62b6 Infobar: Remove debug stuff ... again... 2010-01-10 16:33:56 +01:00
Martin Duquesnoy
bc94d42372 Infobar: Remove useless strncpy. 2010-01-10 16:32:49 +01:00
Martin Duquesnoy
f4d683f17f Infobar: Remove debug stuff 2010-01-10 15:07:19 +01:00
Martin Duquesnoy
d8afcfa013 Infobar: Fix strncpy mistake. 2010-01-10 15:06:37 +01:00
Martin Duquesnoy
af0d459b4c Infobar: Improve and simplify infobar_draw_statustext. 2010-01-10 03:00:48 +01:00
Martin Duquesnoy
b766375db8 Infobar: Code cosmetic. 2010-01-07 18:33:16 +01:00
Martin Duquesnoy
26498dc07b Infobar: Add bar feature in infobar_draw_statustext to make rectangle with wmfs -s -> \b[xx;yy;width;height;#color]\ *TEST* 2010-01-07 18:27:34 +01:00
Martin Duquesnoy
000a1f4c3d Infobar: Add bar feature in infobar_draw_statustext to make rectangle with wmfs -s -> \b[xx;yy;width;height;#color]\ *TEST* 2010-01-03 23:02:25 +01:00
Martin Duquesnoy
250518c2a4 Wmfsrc: Add status_timing in default conf 2010-01-02 18:31:19 +01:00
Martin Duquesnoy
7acf0139d4 Infobar/Wmfs: Fix infobar_draw_statustext, remove useless screen_count() 2010-01-02 17:38:13 +01:00
Martin Duquesnoy
e4bbe15fc4 Infobar: Fix memleak in infobar_draw_statustext by replacing pointer to array 2010-01-02 16:50:37 +01:00
Martin Duquesnoy
8362a4ab68 Infobar/Init: Improve status.sh check test and fix free mistake (segfault) in infobar_draw_statustext from philpep 2010-01-02 12:13:27 +01:00
Philippe Pepiot
7b30445d19 Fix other memleak in infobar_draw_statustext() 2009-11-16 00:51:11 +01:00
Philippe Pepiot
34b8d78e80 Infobar: Fix memleak in infobar_draw_statustext() 2009-11-14 05:56:41 +01:00
Martin Duquesnoy
b483262088 Wmfs: Add screen specification in wmfs -s -> screen -s <num> "string" 2009-10-04 17:12:47 +02:00
Martin Duquesnoy
36c9f52296 All: Update head license in each file. 2009-08-22 22:56:41 +02:00
Martin Duquesnoy
f252636744 Menu: Improve mouse event management in menu_manage_event. (Add Button{4, 5} management and quit when clicking on another window) 2009-07-29 16:17:54 +02:00
Martin Duquesnoy
139b0e9203 CMake: New version system: YearMonth (YYYYmm)-revision. 2009-07-06 00:55:47 +02:00
Martin Duquesnoy
c7a0fc9c3f Layout: Add update_layout boolean argument in arrange() function 2009-07-05 03:13:07 +02:00
martin
8f618c01df Infobar: Add screen_get_sel in uicb_infobar_togglepos, it fix a in multi-screen. 2009-07-04 03:44:36 +02:00
Martin Duquesnoy
d8f3db227a Client: Fix endless focus bug with raisefocus option. 2009-06-28 19:57:36 +02:00