summaryrefslogtreecommitdiffstats
path: root/apps/plugins/lib/configfile.c
AgeCommit message (Collapse)AuthorFilesLines
2020-08-09plugins: Make 'struct configdata' argument to the configfile helper constSolomon Peachy1-10/+10
So plugins can use const structures, possibly saving a little bit of RAM. Change-Id: I15b0ef20e7554caf5f6d1c12f6ab109ddf3c0dbd
2011-03-02RaaA: Fix write locations of pluginsThomas Jarosch1-1/+5
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29506 a1c6a512-1295-4272-9138-f99709370657
2010-05-06Make creat() posix compliant API-wise. Shouldn't affect the core as it's ↵Thomas Martitz1-1/+1
wrapped via a static inline. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25843 a1c6a512-1295-4272-9138-f99709370657
2009-07-14FS#10080Nils Wallménius1-1/+1
* Move strncpy() from core to the pluginlib * Introduce strlcpy() and use that instead in most places (use memcpy in a few) in core and some plugins * Drop strncpy() from the codec api as no codec used it * Bump codec and plugin api versions git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21863 a1c6a512-1295-4272-9138-f99709370657
2009-01-18Fix TYPE_BOOL settings format string. Boolean settings should really use ↵Jens Arnold1-1/+1
'on'/'off', but this is currently impossible due to the fixed field width requirement introduced in r15052. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19790 a1c6a512-1295-4272-9138-f99709370657
2009-01-17unify pointers to value for configfile, and add TYPE_BOOL type, used byAndrew Mahone1-7/+18
pictureflow git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19786 a1c6a512-1295-4272-9138-f99709370657
2009-01-16loader-initialized global plugin API:Andrew Mahone1-43/+36
struct plugin_api *rb is declared in PLUGIN_HEADER, and pointed to by __header.api the loader uses this pointer to initialize rb before calling entry_point entry_point is no longer passed a pointer to the plugin API all plugins, and pluginlib functions, are modified to refer to the global rb pluginlib functions which only served to copy the API pointer are removed git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19776 a1c6a512-1295-4272-9138-f99709370657
2008-06-28Updated our source code header to explicitly mention that we are GPL v2 orDaniel Stenberg1-2/+4
later. We still need to hunt down snippets used that are not. 1324 modified files... http://www.rockbox.org/mail/archive/rockbox-dev-archive-2008-06/0060.shtml git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17847 a1c6a512-1295-4272-9138-f99709370657
2008-05-13Plugin parameters should be const.Steve Bavin1-2/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17492 a1c6a512-1295-4272-9138-f99709370657
2008-05-04pluginlib: made local functions in static and made sure that source files ↵Bertrik Sikken1-1/+1
include their own header file. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17353 a1c6a512-1295-4272-9138-f99709370657
2007-10-09fix yellow and some house cleaningRobert Kukla1-38/+37
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15056 a1c6a512-1295-4272-9138-f99709370657
2007-10-09FS#7487 - mpegplayer - video start time seek with resumeRobert Kukla1-2/+73
by John S. Gwynne & Brian J. Morey This should stop the patch from breaking again and give them opportunity to improve it further. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15052 a1c6a512-1295-4272-9138-f99709370657
2007-09-10Clean up hard-coded pathsNils Wallménius1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14662 a1c6a512-1295-4272-9138-f99709370657
2007-08-06Accept FS#5464 - organise the rocks directory. Jonathan Gordon1-2/+19
If any plugins or "open with" optoins dont work please let me know... git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14214 a1c6a512-1295-4272-9138-f99709370657
2007-02-01Removed 'mode' parameter from creat(). It wasn't pure posix anyway, it was ↵Jens Arnold1-1/+1
ignored on target and mixed into 'oflags' in the simulator. * Simplified io.c a bit by defining a dummy O_BINARY for OSes which don't have that. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12179 a1c6a512-1295-4272-9138-f99709370657
2006-05-30Use correct file mode when creating files. Fixes task 5452Dan Everton1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10020 a1c6a512-1295-4272-9138-f99709370657
2005-02-22Build cleanup and general fixes. fprintf() is now fdprintf(), the separationDaniel Stenberg1-4/+4
between uisimulator files and firmware/apps files are better done. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6031 a1c6a512-1295-4272-9138-f99709370657
2004-07-22Now keeps integers within range, and saves a version number in the cfg file, ↵Linus Nielsen Feltzing1-3/+21
refusing to load too old versions git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4916 a1c6a512-1295-4272-9138-f99709370657
2004-07-21New plugin library framework for loading and saving .cfg filesLinus Nielsen Feltzing1-0/+108
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4912 a1c6a512-1295-4272-9138-f99709370657