21 Commits

Author SHA1 Message Date
Philippe Pepiot
cf652aab50 Fix memleak in confparse.c 2010-04-11 17:54:33 +02:00
Philippe Pepiot
914b9f11c9 Fix abusive use of _strdup() in get_nsec 2010-04-11 17:36:45 +02:00
Martin Duquesnoy
e9bc1590b0 Config: Fix bug with titlebar buttons. 2009-11-15 14:27:20 +01:00
Martin Duquesnoy
c37e192b4d Conf: *TEST* make parser faster. 2009-11-06 19:52:26 +01:00
Philippe Pepiot
e723c03fe3 All: Use err(x) warn(x) instead of fprintf for formated error messages
with additional information from errno.
2009-10-14 00:15:24 +02:00
Martin Duquesnoy
4c8d25ff36 Conf: Fix get_opt if there is no option value in quote 2009-09-15 17:22:31 +02:00
Philippe Pepiot
74d103a714 Confparse: Fix difference between ' and " in wmfsrc 2009-09-12 17:46:41 +02:00
Philippe Pepiot
64ad8d22a1 Confparse: Simplify get_sec()
Just find start and end section then copy it into the return string.
Prevent multiple call to _strdup.
2009-08-27 07:39:30 +02:00
Philippe Pepiot
fda24134a6 Confparse: Use MAP_FAILED instead of -1 2009-08-26 17:13:16 +02:00
Philippe Pepiot
1cfe0ce94e Confparse: prevent multiple _strdup call in file_to_str() 2009-08-26 03:03:07 +02:00
Martin Duquesnoy
e8213b2fe4 Confparse: Add warning if a = is missing 2009-08-23 14:46:08 +02:00
Martin Duquesnoy
77ead81d3f Confparse: Fix possibly segfault if there is many option on a single line and if there is a missing '='. 2009-08-23 14:34:04 +02:00
Martin Duquesnoy
6715ba034b Confparse: Remove debug pintf 2009-08-23 02:58:17 +02:00
Martin Duquesnoy
9ca98a83ff Confparse: Fix little mistake who make big bug. 2009-08-23 02:56:30 +02:00
Martin Duquesnoy
bf3038cb78 !! IMPORTANT !! NEW CONFIG FILE SYNTAX, NO LIBCONFUSE NEEDED ANYMORE. 2009-08-23 01:58:24 +02:00
Martin Duquesnoy
36c9f52296 All: Update head license in each file. 2009-08-22 22:56:41 +02:00
Martin Duquesnoy
6db79e381d Confparse: Improve section stuff: Section work like this now: [secname] option = "pwet" [/secname] 2009-08-20 14:16:59 +02:00
Martin Duquesnoy
020e2c88c7 Layout: Get the selected screen before toggle resizhint. 2009-08-19 23:16:10 +02:00
Martin Duquesnoy
5fb455840a Confparse: Improve file_to_str. 2009-08-11 00:45:53 +02:00
Martin Duquesnoy
20d247438c Confparse: Improve stuff and add wmfsrc_new, the next wmfs configuration file. 2009-08-10 23:50:18 +02:00
martin
f5fe7dda77 Confparse: Add confparse/ libconfuse soon useless. 2009-08-08 15:57:26 +02:00